Logarithmic resistor ladder
This article, Logarithmic resistor ladder, has recently been created via the Articles for creation process. Please check to see if the reviewer has accidentally left this template after accepting the draft and take appropriate action as necessary.
Reviewer tools: Inform author |
A Logarithmic resistor ladder is an electronic circuit composed of a series of resistors and switches, designed to create an attenuation from an input to an output signal, where the logarithm of the attenuation ratio is proportional to a digital code word that represents the state of the switches.
The logarithmic behavior of the circuit is its main differentiator in comparison with digital-to-analog converters in general, and traditional R-2R Ladder networks specifically. Logarithmic attenuation is desired in situations where a large dynamic range 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 DA converters, a binary word is applied to the ladder network, whose N bits are treated to represent an integer value according the relation:
- where represents a value 0 or 1 depending on the state of the ith switch.
For a conventional DAC or R-2R network, the output signal value (its voltage) would be:
- where and are design constants and where typically is a constant reference voltage.
(DA-converters that are designed to handle a variable input voltage are termed multiplying DAC[1].)
In contrast, the logarithmic ladder network discussed in this article creates a behavior as:
- where is a variable input signal.
Circuit implementation
This circuit is composed of 4 stages, numbered 1 to 4, and an additional leading Rsource and trailing Rload. Each stage i, has a designed input-to-output voltage attenuation ratioi as:
For logarithmic scaled attenuators, it is common practice to express their attenuation in Decibels:
- for and
To show that this satisfies the overall intention:
- for and
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.
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:
With these equations, all resistor values of the circuit diagram follow easily after choosing values for N, 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:
Again, all resistor values of the circuit diagram follow easily after choosing values for N, and Rsource. (The value of Rload does not influence the logarithmic behavior)
Background
R-2R ladder networks used for Digital-to-Analog conversion are rather old. A historic description is in an 1955 patent.[2]
Multiplying DA-converters 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 DA-converter. Lenghtening the codeword is needed in that approach to achieve sufficient dynamic range. This approach was implemented in a device from Analog Devices inc.[3], protected through a 1981 patent filing.[4]
See also
- Resistor ladder: Explaining R-2R ladder networks.
- Digital-to-analog converter: Different methods to implement DA converters
- Attenuator circuits: Different circuit topologies for different purposes
References
- ^ Analog Devices inc. "Multiplying DACs, flexible building blocks", 2010
- ^ Gordon, B. M. "Signal Conversion Apparatus", US Patent 3108266, filing date 22 July 1955
- ^ LOGDAC: CMOS Logarithmic D/A Converter, "Analog Devices Inc. AD7118"
- ^ Burton, David P. "Signal-controllable attenuator employing a digital-to-analog converter", US Patent 4521764, filing date 31 December 1981
External links
- Online calculator to configure logarithmic ladder networks