ArticleslgStudy

engineering

Logarithmic resistor ladder

Logarithmic resistor ladder is a engineering topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Logarithmic resistor ladder rather than just read about it. In short: 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 binary number that represents the state of the switches. The logarithmic behavior of the circuit is its main differentiator in comparison with digital-to-analog converters (DACs) i…

Logarithmic resistor ladder — main illustration
Logarithmic resistor ladder — illustration

Key takeaways

  • Logarithmic resistor ladder belongs to engineering; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Logarithmic resistor ladder to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Logarithmic resistor ladder from memory before moving on to harder problems.

Reference excerpt

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 binary number that represents the state of the switches. The logarithmic behavior of the circuit is its main differentiator in comparison with digital-to-analog converters (DACs) 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 humans perceive sound on a logarithmic scale.

Logarithmic input/output behavior As in digital-to-analog converters, a binary number is applied to the ladder network, whose N bits are treated as representing an integer value:

CodeValue=∑i=1Nsi⋅2i−1 where si 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:

Vout=Vin⋅c⋅(CodeValue+d) where c and d are design constants and where Vin 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⁡(Vout/Vin)=c⋅CodeValue which can also be expressed as Vin multiplied by some base α raised to the power of the code value:

Vout=Vin⋅αCodeValue where c=log⁡(α).

Circuit implementation

This example circuit is composed of 4 stages, numbered 1 to 4, and includes a source resistance Rsource and load resistance Rload. Each stage i has a designed input-to-output voltage attenuation Ratioi as:

Ratioi=ifswithenα2i−1else1 For logarithmic scaled attenuators, it is common practice to equivalently express their attenuation in decibels:

dB(Ratioi)=20log10α2i−1=2i−1⋅20⋅log10α for i=1..N and swi=1 This reveals a basic property: dB(Ratioi+1)=2⋅dB(Ratioi) To show that this Ratioi satisfies the overall intention:

log⁡(Vout/Vin)=log⁡(∏i=1NRatioi)=∑i=1Nlog⁡(Ratioi)=log⁡(α)⋅CodeValue=c⋅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:

{Ri,parr=(Ri,b⋅Rload)/(Ri,b+Rload)Ri,a+Ri,parr=RloadRi,parr/(Ri,a+Ri,parr)=Ratioi 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:

{Ri,ser=Ri,a+RsourceRi,ser⋅Ri,b/(Ri,ser+Ri,b)=RsourceRi,b/(Ri,ser+Ri,b)=Ratioi 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). 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 (Resistor ladder § History 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 Digital-to-analog converter Attenuator circuits

References

External links Online calculator to configure logarithmic ladder networks

Worked examples

Example 1 — a first encounter with Logarithmic resistor ladder

Start with the simplest possible case. Write down what Logarithmic resistor ladder claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In engineering, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Logarithmic resistor ladder before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Logarithmic resistor ladder ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Logarithmic resistor ladder

In research
Logarithmic resistor ladder appears in engineering research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Logarithmic resistor ladder in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Logarithmic resistor ladder is common in secondary-school and first-year university syllabi. It links to neighbouring topics Analog circuits, so understanding it makes those chapters shorter.
In everyday life
Look for Logarithmic resistor ladder outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Logarithmic resistor ladder” →

How to study Logarithmic resistor ladder in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Logarithmic resistor ladder means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Logarithmic resistor ladder out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Logarithmic resistor ladder in simple terms?

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 binary number that represents the state of the switches. The…

Why does Logarithmic resistor ladder matter?

Because it connects several engineering ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Logarithmic resistor ladder?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Logarithmic resistor ladder.

Tags

  • Analog circuits

Keep exploring