HOME

TheInfoList



OR:

A logarithmic resistor ladder is an
electronic circuit An electronic circuit is composed of individual electronic components, such as resistors, transistors, capacitors, inductors and diodes, connected by conductive wires or Conductive trace, traces through which electric current can flow. It is a t ...
, composed of a series of
resistor A resistor is a passive two-terminal electronic component that implements electrical resistance as a circuit element. In electronic circuits, resistors are used to reduce current flow, adjust signal levels, to divide voltages, bias active e ...
s and
switch In electrical engineering, a switch is an electrical component that can disconnect or connect the conducting path in an electrical circuit, interrupting the electric current or diverting it from one conductor to another. The most common type o ...
es, designed to create an
attenuation In physics, attenuation (in some contexts, extinction) is the gradual loss of flux intensity through a Transmission medium, medium. For instance, dark glasses attenuate sunlight, lead attenuates X-rays, and water and air attenuate both light and ...
from an input to an output signal, where the
logarithm In mathematics, the logarithm of a number is the exponent by which another fixed value, the base, must be raised to produce that number. For example, the logarithm of to base is , because is to the rd power: . More generally, if , the ...
of the attenuation ratio is proportional to a
binary number A binary number is a number expressed in the Radix, base-2 numeral system or binary numeral system, a method for representing numbers that uses only two symbols for the natural numbers: typically "0" (zero) and "1" (one). A ''binary number'' may ...
that represents the state of the switches. The logarithmic behavior of the circuit is its main differentiator in comparison with
digital-to-analog converter In electronics, a digital-to-analog converter (DAC, D/A, D2A, or D-to-A) is a system that converts a digital signal into an analog signal. An analog-to-digital converter (ADC) performs the reverse function. DACs are commonly used in musi ...
s (DACs) in general, and traditional R-2R Ladder networks specifically. Logarithmic attenuation is desired in situations where a large
dynamic range Dynamics (from Greek δυναμικός ''dynamikos'' "powerful", from δύναμις ''dynamis'' " power") or dynamic may refer to: Physics and engineering * Dynamics (mechanics), the study of forces and their effect on motion Brands and ent ...
needs to be handled. The circuit described in this article is applied in audio devices, since human perception of sound level is properly expressed on a logarithmic scale.


Logarithmic input/output behavior

As in
digital-to-analog converter In electronics, a digital-to-analog converter (DAC, D/A, D2A, or D-to-A) is a system that converts a digital signal into an analog signal. An analog-to-digital converter (ADC) performs the reverse function. DACs are commonly used in musi ...
s, a binary number is applied to the ladder network, whose ''N'' bits are treated as representing an integer value: :\mathrm = \sum_^N s_i \cdot 2^ where s_i is 0 or 1 depending on the state of the ''ith'' switch. For comparison, recall a conventional linear DAC or R-2R network produces an output voltage signal of: :V_ = V_ \cdot c \cdot (\mathrm + d ) where c and d are design constants and where V_ typically is a constant reference voltage (or is a variable input voltage for a multiplying DAC.) In contrast, the logarithmic ladder network discussed in this article creates a behavior as: :\log (V_ / V_) = c \cdot \mathrm which can also be expressed as V_ multiplied by some base \alpha raised to the power of the code value: :V_ = V_ \cdot \alpha ^ \mathrm where c = \log(\alpha) \, .


Circuit implementation

This example circuit is composed of 4 stages, numbered 1 to 4, and includes a
source resistance In electrical engineering, the output impedance of an electrical network is the measure of the opposition to Electric current, current flow (Electrical impedance, impedance), both static (Electrical resistance and conductance, resistance) and dyn ...
Rsource and load resistance Rload. Each stage ''i'' has a designed input-to-output voltage attenuation ''Ratioi'' as: :Ratio_i = \text\; sw_i \;\text\; \alpha^ \;\text\; 1 For logarithmic scaled attenuators, it is common practice to equivalently express their attenuation in
decibel The decibel (symbol: dB) is a relative unit of measurement equal to one tenth of a bel (B). It expresses the ratio of two values of a Power, root-power, and field quantities, power or root-power quantity on a logarithmic scale. Two signals whos ...
s: :dB(Ratio_i) = 20 \log_ \alpha^ = 2^ \cdot 20 \cdot \log_ \alpha for i = 1 .. N and sw_i = 1 This reveals a basic property: dB(Ratio_) = 2 \cdot dB(Ratio_i) To show that this Ratio_i satisfies the overall intention: :\log (V_/V_) = \log (\prod_^N Ratio_i) = \sum_^N \log (Ratio_i) = \log (\alpha) \cdot CodeValue = c \cdot CodeValue The different stages 1 .. N should function independently of each other, as to obtain 2N different states with a composable behavior. To achieve an attenuation of each stage that is independent of its surrounding stages, either one of two design choices is to be implemented: constant input resistance or constant output resistance. Because the stages operate independently, they can be inserted in the chain in any order.


Constant input resistance

The input resistance of any stage shall be independent of its on/off switch position, and must be equal to Rload. This leads to: :\begin R_ = (R_ \cdot R_) / (R_ + R_) \\ R_ + R_ = R_ \\ R_ / (R_ + R_) = Ratio_i \end With these equations, all resistor values of the circuit diagram follow easily after choosing values for N, \alpha and Rload. (The value of Rsource does not influence the logarithmic behavior)


Constant output resistance

The output resistance of any stage shall be independent of its on/off switch position, and must be equal to Rsource. This leads to: :\begin R_ = R_ + R_ \\ R_ \cdot R_ / (R_ + R_) = R_ \\ R_ / (R_ + R_) = Ratio_i \end Again, all resistor values of the circuit diagram follow easily after choosing values for N, \alpha and Rsource. (The value of Rload does not influence the logarithmic behavior). For example, with a Rload of 1 kΩ, and 1 dB attenuation, the resistor values would be: Ra = 108.7 Ω, Rb = 8195.5 Ω. The next step (2 dB) would use: Ra = 369.0 Ω, Rb = 1709.7 Ω.


Circuit variations

* The circuit as depicted above, can also be applied in reverse direction. That correspondingly reverses the role of constant-input and constant-output resistance equations. * Since the stages do not significantly influence each other's attenuation, the stage order can be chosen arbitrarily. Such reordering can have a significant effect on the ''input'' resistance of the ''constant output resistance'' attenuator and vice versa.


Background

R-2R ladder networks used for ''linear'' digital-to-analog conversion are old ( mentions a 1953 article and a 1955 patent). Multiplying DACs with logarithmic behavior were not known for a long time after that. An initial approach was to map the logarithmic code to a much longer code word, which could be applied to the classical (linear) R-2R based DAC. Lengthening the codeword is needed in that approach to achieve sufficient dynamic range. This approach was implemented in a device from Analog Devices Inc., protected through a 1981 patent filing.


See also

*
Resistor ladder A resistor ladder is an electrical circuit made from repeating units of resistors, in specific configurations. An R–2R ladder configuration is a simple and inexpensive way to perform Digital-to-analog converter, digital-to-analog conversion (DAC ...
*
Digital-to-analog converter In electronics, a digital-to-analog converter (DAC, D/A, D2A, or D-to-A) is a system that converts a digital signal into an analog signal. An analog-to-digital converter (ADC) performs the reverse function. DACs are commonly used in musi ...
* Attenuator circuits


References

{{reflist


External links


Online calculator
to configure logarithmic ladder networks Analog circuits