A5 · Lesson 22 · Sensitivity
How much does the output move when a part drifts?
Every resistor and capacitor is a little off its marked value, and drifts further as it warms and ages. A designer has to know which parts matter: if a resistor is 1% high, does the filter's corner move by 1%, by 0.1%, or by 10%? The derivative answers this, in a form engineers call sensitivity: the percentage change in the output for each percent change in a part.
- The curve is a voltage divider's output fraction, , as varies with fixed, on log axes.
- On log axes a percentage change is a fixed distance, so the slope of the curve is the sensitivity: percent out per percent in.
- and the marked are in kΩ. Move them: where the curve is flat, hardly matters; where it's steep, it matters fully.
Predict
An RC low-pass has its corner at . If is 5% high and is 2% low, about how far does the corner move?
Down about 3%. The corner goes as , so each part's sensitivity is : a 5% rise in lowers it 5%, and a 2% fall in raises it 2%. Together, about . The exact answer, , is close because the changes are small.
Name it
Sensitivity
The sensitivity of to a part is the relative change in per relative change in :
So for small changes, . A sensitivity of 1 passes a part's error straight through; halves it; flips its sign.
Rules that save work
- Powers: if , then . So a corner has sensitivity to both and , and a resonance has to each.
- Products and quotients add: and .
- Several parts at once: .
Worst case and typical case
The worst case pushes every part to the end of its tolerance in the direction that hurts: for tolerances . If the errors are independent and random, they rarely all line up, and a root-sum-square estimate, , is more typical.
Where it matters
A divider has sensitivities to and to , both less than 1. An op amp with feedback, gain , has a sensitivity of only to its open-loop gain : that's why feedback makes amplifiers predictable even though varies wildly between chips.
Worked example
An RC low-pass uses 10 kΩ and 10 nF. comes out 5% high and 2% low. Where is the corner?
Show the solution
- Nominal corner.
- Linear estimate. Both sensitivities are , so the corner moves by about to 1544 Hz.
- Exact value. a change of .
- Compare. The linear estimate is off by about 0.2%, the size of the second-order terms it leaves out:
Answer the corner lands at 1546.7 Hz, 2.8% low; the linear estimate gives 1544 Hz.
Worked example
A divider uses = 10 kΩ on top and = 4.7 kΩ below, both 1%. What are its sensitivities, and its worst-case error?
Show the solution
- Sensitivities. so and .
- Worst case. high and low (or the reverse):
- Root-sum-square.
- Compare. Either way, the output is less sensitive than the 2% you might fear from two 1% parts.
Answer the sensitivities are to and to ; the worst-case error is 1.36% and the root-sum-square error is 0.96%.
Worked example
An amplifier has open-loop gain and feedback . Its drops 20% as it warms. How much does the closed-loop gain change?
Show the solution
- Sensitivity to . For it is
- Change in gain.
- What the feedback does. A 20% swing in the transistors becomes a 0.02% swing in the gain: the feedback divides it by , about 1000.
Answer the closed-loop gain changes by only about .
Check
A quantity goes as . What is its sensitivity to ?
Check
An RC filter's changes by 3% and its by −2%. By about what percentage does its corner change?
Check
An LC circuit's rises 2% and its changes by 2%. By about what percentage does its resonance move?
Check
A divider has = 10 kΩ on top and = 4.7 kΩ below. What is the sensitivity of its output fraction to ?
Check
An amplifier has open-loop gain 1000 and feedback fraction 0.01. What is the sensitivity of its closed-loop gain to ?
Check
An amplifier's gain depends on three resistors, with sensitivities to , to and to . Their tolerances are 1%, 1% and 5%.
(a)
What is the worst-case error in , in percent?
(b)
What is the root-sum-square estimate?
Check
Derive the sensitivity of a divider's output to .
Step 1
Find .
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
Multiply by to get the sensitivity.
Explain why
Why is sensitivity, a relative measure, more useful to a designer than the plain derivative ?
Part errors are specified as percentages: a 1% resistor, a 5% capacitor. A plain derivative mixes units (hertz per ohm, volts per farad) and changes with the part's value, so it can't be compared between parts or reused when values change. Sensitivity divides out the units, so it answers the question the tolerance poses: a 1% change in this part moves the output by percent. Sensitivities of different parts can be compared directly to find which ones need tight tolerances, they add simply for products and quotients, and for the power laws common in circuits they're just the exponents. That makes worst-case and statistical tolerance estimates a matter of a short sum.
Practice
Keep practicing
8 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.