ENع
→Bode plots
الدرس 37 · AC power, frequency response and op-amp circuits

Transfer functions and Bode plots

لم يُترجم بعد؛ يُعرض باللغة الإنجليزية

16 دقيقة11 خطوة5 أسئلةAdvanced
عن هذا الدرس

A transfer function H = Vo/Vi says, for every frequency, how much of a sine wave gets through a circuit and how far it is shifted. Follow one circuit, a 1 V sine generator driving R = 1 kΩ in series with C = 100 nF, and derive H = 1/(1 + jωRC) from a voltage divider. Test it at 1 000, 10 000 and 100 000 rad/s, convert the gains to decibels, and draw the Bode magnitude and phase plots with their straight-line approximations. Finally, see how the pole at s = −10 000 s⁻¹ sets the corner. It builds on the Hardware lessons on resistors and capacitors and on op-amps, and on the course lessons on phasors and impedance.

ستتعلّم

حدّد ما تشعر بأنك أتقنته. هذا التقييم الذاتي لا يؤثر في درجة الدرس.

شكل 37 · تفاعلي
01 / 11

The circuit under test

A signal generator makes a 1 V sine wave at any frequency we choose. It drives R = 1 kΩ in series with C = 100 nF. The output vo is the voltage across C, read by an ideal voltmeter.

vi   1 V peak sine, frequency set by us
R    1 kΩ
C    100 nF
vo   voltage across C (output)

angular frequency  ω = 2πf  (rad/s)
ideal voltmeter: draws no current, so
R and C carry the same current.
جارٍ تحميل الرسم…
أو ← →
اقرأ الدرس خطوة بخطوة
  1. The circuit under test

    A signal generator makes a 1 V sine wave at any frequency we choose. It drives R = 1 kΩ in series with C = 100 nF. The output vo is the voltage across C, read by an ideal voltmeter.

    vi   1 V peak sine, frequency set by us
    R    1 kΩ
    C    100 nF
    vo   voltage across C (output)
    
    angular frequency  ω = 2πf  (rad/s)
    ideal voltmeter: draws no current, so
    R and C carry the same current.
  2. Output over input

    A transfer function H is the output phasor divided by the input phasor: H = Vo/Vi. It is a complex number. Its size |H| is the amplitude ratio, and its angle is how far the output wave is shifted.

    H(ω) = Vo / Vi
    
    |H|   = (output amplitude) / (input amplitude)
    ∠H    = (output phase) − (input phase)
    
    At ω = 10 000 rad/s the plot shows
    vo = 0.707 × vi, shifted −45.0°:
    H = 0.707∠−45.0°
  3. H from a voltage divider

    The capacitor's impedance is ZC = 1/(jωC). It shrinks as frequency rises. R and C form a voltage divider, so H = ZC/(R + ZC) = 1/(1 + jωRC). Here RC = 0.1 ms, so ωRC = ω/10 000.

    ZC = 1/(jωC) = −j/(ωC)
    
    voltage divider with impedances:
      H = ZC / (R + ZC)
        = 1 / (1 + jωRC)     (× jωC top and bottom)
    
    RC = 1 kΩ × 100 nF = 0.1 ms
    ωRC = ω / 10 000 rad/s
  4. Low frequency: almost all passes

    At ω = 1 000 rad/s (159 Hz), ZC = −j10 kΩ, ten times R. H = 1/(1 + j0.1) = 0.995∠−5.7°. The output is 0.995 V, nearly the whole input, and only slightly late.

    ω = 1 000 rad/s   f = ω/2π = 159 Hz
    ZC = −j/(ωC) = −j10 kΩ
    
    H = 1/(1 + j0.1)
    |H| = 1/√(1 + 0.01) = 0.995
    ∠H  = −atan(0.1)    = −5.7°
    
    vo = 0.995 V peak, −5.7° behind vi
  5. The corner frequency

    At ω = 1/RC = 10 000 rad/s (1.59 kHz), |ZC| equals R. H = 1/(1 + j1) = 0.707∠−45.0°. The output amplitude is 0.707 V, so the power it could deliver is halved.

    ωc = 1/RC = 10 000 rad/s
    fc = ωc/2π = 1.59 kHz
    |ZC| = 1/(ωc C) = 1 kΩ = R
    
    H = 1/(1 + j1)
    |H| = 1/√2 = 0.707
    ∠H  = −45°
    power ∝ |H|² = 0.5: the half-power point
  6. High frequency: mostly blocked

    At ω = 100 000 rad/s (15.9 kHz), ZC is only −j100 Ω. H = 1/(1 + j10) = 0.0995∠−84.3°. Just 0.0995 V reaches the output, lagging the input by almost a quarter cycle.

    ω = 100 000 rad/s   f = 15.9 kHz
    ZC = −j100 Ω, a tenth of R
    
    H = 1/(1 + j10)
    |H| = 1/√101 = 0.0995
    ∠H  = −atan(10) = −84.3°
    
    C nearly shorts the output.
  7. Gains in decibels

    Engineers quote |H| in decibels: HdB = 20 log10|H|. So 0.995 is −0.04 dB, 0.707 is −3.01 dB and 0.0995 is −20.04 dB. Each factor of 10 in amplitude is 20 dB, and gains that multiply simply add.

    HdB = 20 log10 |H|     (20 because power ∝ V²)
    
    |H| 0.995    → −0.04 dB
    |H| 0.707    → −3.01 dB  (half power)
    |H| 0.0995   → −20.04 dB
    
    ×10 = +20 dB   ×0.1 = −20 dB
    H1·H2 → H1dB + H2dB
  8. The Bode magnitude plot

    A Bode plot draws HdB against frequency on a log axis: each decade gets equal width. Two straight lines approximate it: flat at 0 dB below 10 000 rad/s, then falling 20 dB per decade. The worst error, 3.01 dB, is at the corner.

    x axis  ω on a log scale (decades)
    y axis  HdB
    
    straight lines (asymptotes)
      ω < ωc   0 dB              (|H| → 1)
      ω > ωc   −20 log10(ω/ωc)   (−20 dB/decade)
    
    at ωc: lines 0 dB, exact −3.01 dB
    error 3.01 dB, smaller everywhere else
  9. The Bode phase plot

    The phase plot shows the angle of H. It starts near 0°, passes −45° at the corner and approaches −90°. Its straight-line version is 0° below 1 000 rad/s, falls 45° per decade, and is −90° above 100 000 rad/s.

    ∠H = −atan(ω/ωc)
    
    straight lines
      ω < ωc/10        0°
      ωc/10 … 10ωc     −45° per decade
      ω > 10ωc         −90°
    
    at ωc both give −45°
    at ωc/10: exact −5.7°, error 5.7°
  10. A pole sets the corner

    Write s for jω: H(s) = 1/(1 + s/10 000). The denominator is zero at s = −10 000 s⁻¹, called a pole. The pole's size sets the corner, and each such pole bends the magnitude down by 20 dB per decade.

    s = jω
    H(s) = 1/(1 + sRC) = 1/(1 + s/ωc)
    
    pole: 1 + s/ωc = 0  →  s = −ωc = −10 000 s⁻¹
    left half-plane → stable
    
    standard form: K · (zeros) / (poles)
    In dB the factors add, so a Bode plot
    is the sum of each factor's lines.
  11. Sweep the frequency

    Now sweep ω from 100 to 1 000 000 rad/s. The meter, the waves and both markers move together. Mains at 50 Hz passes almost untouched (|H| = 0.9995), while 159 kHz is cut to 0.01, which is −40 dB.

    ω (rad/s)    |H|       HdB       ∠H
    314.2        0.9995    −0.004    −1.8°   (50 Hz)
    1 000        0.995     −0.04     −5.7°
    10 000       0.707     −3.01     −45.0°
    100 000      0.0995    −20.04    −84.3°
    1 000 000    0.01      −40       −89.4°

اختبار يتاح بعد الخطوة الأخيرة.