Logarithmic resistor ladder

15,174

Circuit Image

A logarithmic resistor ladder is an electronic circuit consisting of a series of resistors and switches, designed to create attenuation from an input to an output signal, where the logarithm of the attenuation ratio corresponds to a digital code that represents the state of the switches. The logarithmic behavior of the circuit differentiates it from general digital-to-analog converters and traditional R-2R ladder networks. Logarithmic attenuation is particularly useful in scenarios requiring the management of a large dynamic range. This circuit is commonly applied in audio devices, as human perception of sound levels aligns with a logarithmic scale. Similar to digital-to-analog converters, a binary word is applied to the ladder network, with its N bits representing an integer value according to the established relationship. The example circuit consists of four stages, numbered 1 to 4, along with an additional leading source resistor (Rsource) and a trailing load resistor (Rload). Each stage i is designed to have a specific input-to-output voltage attenuation ratio. The various stages should operate independently to achieve 2^N different states with a composable behavior. To ensure that the attenuation of each stage remains unaffected by the surrounding stages, one of two design approaches must be implemented: constant input resistance or constant output resistance. The circuit can also function in reverse, which inversely alters the roles of the constant-input and constant-output resistance equations. Since the stages do not affect each other's attenuation, the order of the stages can be selected arbitrarily, although this reordering may significantly impact the input resistance of the constant output resistance attenuator and vice versa. Logarithmic digital-to-analog converters were not widely recognized until later. An initial strategy involved mapping the logarithmic code to a longer code word, which could then be utilized with the traditional (linear) R-2R based digital-to-analog converter. Extending the code word was necessary in this approach to achieve an adequate dynamic range. This method was implemented in a device by Analog Devices Inc., protected by a patent filed in 1981.

The logarithmic resistor ladder circuit operates by utilizing a carefully structured arrangement of resistors and switches, allowing for precise control over the attenuation of an input signal. Each resistor in the ladder is selected to provide a specific resistance value that contributes to the overall logarithmic response of the circuit. The switches, controlled by a binary code, determine which resistors are included in the signal path, thereby adjusting the attenuation based on the selected digital input. This configuration enables the circuit to produce a wide range of output levels while maintaining fidelity to the logarithmic perception of sound, which is crucial in audio applications.

In designing the circuit, attention must be paid to the choice of resistors and the configuration of the stages. The use of constant input or output resistance helps to isolate the stages from one another, ensuring that the performance of one stage does not adversely affect the others. This is particularly important in applications where precision and consistency are required across the entire range of operation. The reordering of stages can be strategically employed to optimize the input resistance characteristics, which can further enhance the performance of the overall circuit.

The implementation of this circuit in audio devices is significant, as it allows for a more natural representation of audio levels, aligning with the logarithmic nature of human hearing. By providing a logarithmic response, the circuit can effectively handle a wide dynamic range, making it suitable for various audio processing tasks. The development of logarithmic digital-to-analog converters has expanded the possibilities for high-performance audio applications, allowing for greater flexibility and precision in sound reproduction.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 ma in 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.

As in digital-to-analog converters, a binary word is applied to the ladder network, whose N bits are treated to represent an integer value according the relation: This example 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: 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. 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 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. 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.

Lengthening 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] 🔗 External reference