Bandwidth, speed and noise
لم يُترجم بعد؛ يُعرض باللغة الإنجليزية
عن هذا الدرس
A feedback loop follows slow signals and ignores fast ones. The frequency where that changes is its bandwidth. Read it off the open-loop crossover, see why doubling it halves the rise time, and watch the same wide bandwidth let sensor noise straight through to the output.
A loop with a noisy sensor
A unity-feedback loop. Controller and plant together are L(s) = 4/(s(s+2)). The output y should follow the reference r, but the sensor that measures y adds a little noise n. With the loop closed, y = T·r, where T = L/(1 + L).
open loop L(s) = 4 / (s(s + 2))
closed loop T(s) = L / (1 + L)
= 4 / (s² + 2s + 4)
ωn = 2 rad/s, ζ = 0.5
the sensor reports y + n, so the error is
e = r − (y + n)
and y = T·r − T·n
T(0) = 1: L has a 1/s (an integrator),
so a slow r is followed exactly.اقرأ الدرس خطوة بخطوة
A loop with a noisy sensor
A unity-feedback loop. Controller and plant together are L(s) = 4/(s(s+2)). The output y should follow the reference r, but the sensor that measures y adds a little noise n. With the loop closed, y = T·r, where T = L/(1 + L).
open loop L(s) = 4 / (s(s + 2)) closed loop T(s) = L / (1 + L) = 4 / (s² + 2s + 4) ωn = 2 rad/s, ζ = 0.5 the sensor reports y + n, so the error is e = r − (y + n) and y = T·r − T·n T(0) = 1: L has a 1/s (an integrator), so a slow r is followed exactly.Shake the reference
Sweep the sine r upward in frequency. Slow sines pass full size: |T| = 0 dB (×1). Fast ones come out small, late. The closed-loop Bode plot draws itself (gain in dB against log ω; see the Circuits lesson on transfer functions and Bode plots).
# decibels: dB = 20·log10(gain) # 0 dB = ×1, −3 dB = ×0.708, −20 dB = ×0.1 # |T(jω)| of the closed loop, pure Python import math def T(w): return 4 / (4 - w*w + 2j*w) for w in [0.1, 1, 2, 4, 10, 40]: print(w, round(20*math.log10(abs(T(w))), 1)) ω (rad/s) |T| (dB) 0.1 0.0 1 0.9 2 0.0 4 −11.1 10 −27.8 40 −52.0 peak 1.155 (a small bump) near 1.41 rad/sBandwidth: where tracking fades
The closed-loop bandwidth ωBW is the frequency where |T| has fallen 3 dB below its low-frequency value, to about 0.71 of it. Here ωBW = 2.54 rad/s, and y swings only about 0.71 as far as r. Above it, y shrinks fast.
bandwidth: first ω where |T(jω)| is 3 dB below |T(0)| −3 dB = ×0.708 (the half-power point 1/√2 = 0.707 is −3.01 dB: same ωBW to 0.1 %) for T = ωn²/(s² + 2ζωn s + ωn²): ωBW = ωn·√((1 − 2ζ²) + √(4ζ⁴ − 4ζ² + 2)) = 2·√(0.5 + √1.25) = 2.54 rad/s r = sin(2.54 t) → y = 0.71·sin(…, later)Read it off the open loop
You can estimate ωBW without T. On the open-loop Bode plot, |L| crosses 0 dB at ωc = 1.57 rad/s. As a rule, ωBW lies between ωc and 2ωc; here it is 1.62·ωc. A higher crossover frequency means a wider bandwidth.
crossover ωc: |L(jω)| = 1 (0 dB) 4 / (ω·√(ω² + 4)) = 1 ω⁴ + 4ω² − 16 = 0 ω² = −2 + √20 → ωc = 1.57 rad/s phase margin = 180° − 90° − atan(ωc/2) = 51.8° ωBW / ωc = 2.54 / 1.57 = 1.62 rule: ωc ≤ ωBW ≤ 2ωcBandwidth sets speed
Now step r from 0 to 1. y climbs from 10 % to 90 % in tr = 0.82 s and overshoots 16.3 %. Rise time and bandwidth are tied: for this shape of loop, ωBW × tr ≈ 2.1. Wider bandwidth, faster rise.
unit step, design 1 (ωn = 2, ζ = 0.5) y(t) = 1 − e^(−t)·(cos 1.73t + 0.577·sin 1.73t) 10–90 % rise time tr = 0.82 s overshoot 16.3 % ωBW · tr = 2.54 × 0.82 ≈ 2.1 same ζ, double ωBW → half the rise timeTwice the bandwidth, twice the speed
Swap in L(s) = 16/(s(s+4)). Crossover doubles to 3.14 rad/s and ωBW to 5.08 rad/s. The step keeps its shape: phase margin 51.8° and 16.3 % overshoot, as in From phase margin to overshoot. It just runs twice as fast: tr = 0.41 s.
design 2 L2(s) = 16 / (s(s + 4)) = L1(s/2) T2(s) = 16 / (s² + 4s + 16) ωn = 4 rad/s, ζ = 0.5 (same) design 1 design 2 ωc 1.57 3.14 rad/s ωBW 2.54 5.08 rad/s tr 0.82 s 0.41 s overshoot 16.3 % 16.3 % phase m. 51.8° 51.8°The loop obeys its sensor
The loop only sees y + n. It cannot tell noise from a real error, so it steers against the noise too. Noise reaches the output through the same T: y = T·r − T·n. Whatever T passes from r, it passes from n.
e = r − (y + n) y = L·e = L·r − L·y − L·n y·(1 + L) = L·(r − n) y = T·r − T·n low ω: |T| ≈ 1, the noise goes straight to y high ω: |T| small, the noise is blocked sensor hum here: n(t) = 0.3·sin(8t)Wide bandwidth lets noise in
The sensor hums at 8 rad/s with amplitude 0.3. Design 1 passes |T| = 0.064 of it: a ripple of ±0.019 on y. Design 2, with twice the bandwidth, passes 0.277: a ripple of ±0.083, 4.3 times bigger.
def T(w, a): return 4*a*a / (4*a*a - w*w + 2j*a*w) for a in (1, 2): print(a, round(0.3 * abs(T(8, a)), 3)) design 1: |T(j8)| = 0.064 (−23.8 dB) → ±0.019 design 2: |T(j8)| = 0.277 (−11.1 dB) → ±0.083 faster loop, noisier outputChoose the bandwidth
So bandwidth is a trade. Make ωBW high enough to follow the signals you care about and to respond quickly, but keep it well below the frequencies where sensor noise lives. In python-control, control.bandwidth(T) finds it.
# find the -3 dB bandwidth by bisection import math def gain(w, a): return abs(4*a*a / (4*a*a - w*w + 2j*a*w)) def bandwidth(a): lo, hi = 0.0, 100.0 for _ in range(60): mid = (lo + hi) / 2 if gain(mid, a) > 10 ** (-3 / 20): lo = mid else: hi = mid return lo print(round(bandwidth(1), 2)) # 2.54 print(round(bandwidth(2), 2)) # 5.08 # python-control: control.bandwidth(T)
أسئلة سريعة: 5
اختر إجابة واحدة لكل سؤال. يمكنك تغيير اختياراتك قبل التحقق منها.
01What is the closed-loop bandwidth ωBW?
Bandwidth is a closed-loop idea: the −3 dB point of T, about 0.71 of the low-frequency gain. The frequency where |L| = 1 is the open-loop crossover ωc, which is used to estimate it.
02A loop's open-loop |L| crosses 0 dB at ωc = 10 rad/s and it is well damped. Roughly where is its closed-loop bandwidth?
The rule of thumb is ωc ≤ ωBW ≤ 2ωc. In the lesson's loop, ωBW = 2.54 rad/s and ωc = 1.57 rad/s: a ratio of 1.62.
03Design 1 has ωBW = 2.54 rad/s and a rise time of 0.82 s. A second design with the same damping has twice the bandwidth. What is its rise time?
Same damping means the same response shape. Doubling every frequency squeezes the response into half the time, so the rise time halves.
04The sensor adds noise n to the measured output. How does n reach the output y?
The loop acts on y + n, so it cannot tell noise from a real error. Solving the loop gives y = T·(r − n): wherever |T| ≈ 1 the noise goes straight through.
05Sensor hum at 8 rad/s, amplitude 0.3. Design 2 passes |T(j8)| = 0.277. How big is the ripple on y?
In steady state a sine of amplitude 0.3 comes out 0.277 times as big: 0.3 × 0.277 ≈ 0.083.
المسرد
- Bandwidth (ωBW)
- The first frequency where the closed-loop gain |T(jω)| falls 3 dB (to about 0.71) below its low-frequency value. Below it the loop follows the reference.
- Crossover frequency (ωc)
- The frequency where the open-loop gain |L(jω)| equals 1 (0 dB). It is a quick estimate of the bandwidth: ωc ≤ ωBW ≤ 2ωc for well-damped loops.
- Decibel (dB)
- 20·log10 of a gain ratio; 0 dB = ×1, −20 dB = ×0.1. Bode plots draw gain in dB against log ω (see the Circuits lesson on transfer functions and Bode plots).
- −3 dB
- A gain of 10^(−3/20) ≈ 0.708. The half-power point 1/√2 ≈ 0.707 is −3.01 dB; the two are used interchangeably.
- Complementary sensitivity T
- The closed-loop transfer function L/(1 + L) of a unity-feedback loop. It carries the reference to the output, and the sensor noise too.
- Rise time (tr)
- The time the step response takes to go from 10 % to 90 % of its final value.
- Sensor noise
- Unwanted signal added by the measurement. The loop cannot tell it from a real error, so it reacts to it.
- Open loop L(s)
- Controller times plant: what the signal goes through once round the loop, with the loop cut.
الملاحظات والمصادر
- Both loops are L(s) = 4a²/(s(s + 2a)) with unity feedback: a = 1 for design 1 and a = 2 for design 2. Every curve and number is computed from them: the Bode plots from L(jω) and T(jω), the step responses in closed form, the noisy runs by numerical integration from rest.
- Bandwidth here is the closed-loop −3 dB bandwidth: the first frequency where |T(jω)| is 3 dB below its zero-frequency value (×0.708; the half-power point 1/√2 = 0.707 gives the same ωBW to 0.1 %). python-control's control.bandwidth uses the same definition, with dbdrop = −3 by default.
- The rule ωc ≤ ωBW ≤ 2ωc is a guide for well-damped loops, not a law. For the standard second-order loop the ratio ωBW/ωc stays between 1 and 2 for every damping ratio from 0.1 to 1; for this lesson's loops it is 1.62.
- Real sensor noise is spread over many frequencies, not one hum. The lesson uses a single sine so the effect can be measured; the same |T(jω)| applies to each frequency in the noise.
- The Python on each step is plain Python 3 (math and complex numbers). It reproduces the numbers in the figure to the digits shown.
- N. S. Nise, Control Systems Engineering, 8th ed., Wiley (ch. 10: frequency response techniques, closed-loop bandwidth of a second-order system)
- K. Ogata, Modern Control Engineering, 5th ed., Pearson (ch. 7: control systems analysis and design by the frequency-response method, cutoff frequency and bandwidth)
- G. F. Franklin, J. D. Powell, A. Emami-Naeini, Feedback Control of Dynamic Systems, 8th ed., Pearson (ch. 6: the frequency-response design method, bandwidth and crossover)
- MIT OpenCourseWare 16.06 Principles of Automatic Control (S. Hall), lecture 9 (effect of noise) and lectures 16–24 (frequency-response design)
- MIT OpenCourseWare 6.302 Feedback Systems (Roberge, Dawson, Lundberg)
- K. J. Åström and R. M. Murray, Feedback Systems: An Introduction for Scientists and Engineers, 2nd ed. (free PDF)
- python-control documentation: control.bandwidth (first frequency where the gain drops 3 dB below the DC gain)
اختبار يتاح بعد الخطوة الأخيرة.