A522 of 56
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

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, H=R2R1+R2, as R2 varies with R1 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.
  • R1 and the marked R2 are in kΩ. Move them: where the curve is flat, R2 hardly matters; where it's steep, it matters fully.

Predict

An RC low-pass has its corner at 1/(2πRC). If R is 5% high and C is 2% low, about how far does the corner move?

Name it

Sensitivity

The sensitivity of y to a part x is the relative change in y per relative change in x:

Sxy=xydydx=dln⁡ydln⁡x

So for small changes, Δyy≈SxyΔxx. A sensitivity of 1 passes a part's error straight through; 12 halves it; −1 flips its sign.

Rules that save work

  • Powers: if y=kxn, then Sxy=n. So a corner 1/(2πRC) has sensitivity −1 to both R and C, and a resonance 1/(2πLC) has −12 to each.
  • Products and quotients add: Sxuv=Sxu+Sxv and Sxu/v=Sxu−Sxv.
  • Several parts at once: Δyy≈∑iSxiyΔxixi.

Worst case and typical case

The worst case pushes every part to the end of its tolerance in the direction that hurts: |Δyy|≤∑i|Si|ti for tolerances ti. If the errors are independent and random, they rarely all line up, and a root-sum-square estimate, ∑i(Siti)2, is more typical.

Where it matters

A divider R2R1+R2 has sensitivities R1R1+R2 to R2 and −R1R1+R2 to R1, both less than 1. An op amp with feedback, gain A1+Aβ, has a sensitivity of only 11+Aβ to its open-loop gain A: that's why feedback makes amplifiers predictable even though A varies wildly between chips.

Worked example

An RC low-pass uses 10 kΩ and 10 nF. R comes out 5% high and C 2% low. Where is the corner?

Show the solution
  1. Nominal corner. fc=12π×104×10−8=1591.5Hz
  2. Linear estimate. Both sensitivities are −1, so the corner moves by about −5%−(−2%)=−3% to 1544 Hz.
  3. Exact value. fc=1591.51.05×0.98=1546.7Hz a change of −2.8%.
  4. Compare. The linear estimate is off by about 0.2%, the size of the second-order terms it leaves out: 0.052−0.05×0.02+0.022=0.0019

Answer the corner lands at 1546.7 Hz, 2.8% low; the linear estimate gives 1544 Hz.

Worked example

A divider uses R1 = 10 kΩ on top and R2 = 4.7 kΩ below, both 1%. What are its sensitivities, and its worst-case error?

Show the solution
  1. Sensitivities. R1R1+R2=1014.7=0.680 so SR2=0.680 and SR1=−0.680.
  2. Worst case. R2 high and R1 low (or the reverse): 0.680×1%+0.680×1%=1.36%
  3. Root-sum-square. 0.6802=0.96%
  4. Compare. Either way, the output is less sensitive than the 2% you might fear from two 1% parts.

Answer the sensitivities are 0.680 to R2 and −0.680 to R1; the worst-case error is 1.36% and the root-sum-square error is 0.96%.

Worked example

An amplifier has open-loop gain A=105 and feedback β=0.01. Its A drops 20% as it warms. How much does the closed-loop gain change?

Show the solution
  1. Sensitivity to A. For G=A1+Aβ it is SA=11+Aβ=11001=0.000999
  2. Change in gain. ΔGG≈0.000999×(−20%)=−0.02%
  3. What the feedback does. A 20% swing in the transistors becomes a 0.02% swing in the gain: the feedback divides it by 1+Aβ, about 1000.

Answer the closed-loop gain changes by only about −0.02%.

Check

A quantity goes as y=kx−1. What is its sensitivity to x?

Check

An RC filter's R changes by 3% and its C by −2%. By about what percentage does its corner 1/(2πRC) change?

Check

An LC circuit's L rises 2% and its C changes by 2%. By about what percentage does its resonance 1/(2πLC) move?

Check

A divider has R1 = 10 kΩ on top and R2 = 4.7 kΩ below. What is the sensitivity of its output fraction to R2?

Check

An amplifier has open-loop gain 1000 and feedback fraction 0.01. What is the sensitivity of its closed-loop gain A1+Aβ to A?

Check

An amplifier's gain depends on three resistors, with sensitivities −1 to R1, 1 to R2 and 0.25 to R3. Their tolerances are 1%, 1% and 5%.

(a)

What is the worst-case error in G, in percent?

(b)

What is the root-sum-square estimate?

Check

Derive the sensitivity of a divider's output H=R2R1+R2 to R2.

Step 1

Find dH/dR2.

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°.

Explain why

Why is sensitivity, a relative measure, more useful to a designer than the plain derivative dy/dx?

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.