ENع
→Filters
الدرس 38 · AC power, frequency response and op-amp circuits

Passive and active filters

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

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

A filter lets some frequencies through and blocks others. Follow one circuit: a temperature sensor's 1.0 V signal arrives with 0.5 V of 50 Hz mains hum. A 10 kΩ, 10 µF RC low-pass has its corner at 1.59 Hz and cuts the hum to −29.9 dB. A load spoils the passive filter; an op-amp stage fixes it and adds gain. Transfer functions and Bode plots come from "Transfer functions and Bode plots"; the op-amp basics come from the Hardware lesson "Op-amps"; capacitors from "Resistors and capacitors".

ستتعلّم

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

شكل 38 · تفاعلي
01 / 10

A noisy sensor wire

An air-conditioner's temperature sensor gives a slow 1.0 V signal. Mains wiring beside its cable adds 0.5 V of 50 Hz hum. A filter passes some frequencies and blocks others: keep the slow signal, drop the hum.

input   vin(t) = 1.0 + 0.5·sin(2π·50·t)  V
        signal 1.0 V (slow, almost 0 Hz)
        hum    0.5 V peak at 50 Hz

Kuwait mains: 240/415 V, 50 Hz.
The hum is 50 % of the signal.
جارٍ تحميل الرسم…
أو ← →
اقرأ الدرس خطوة بخطوة
  1. A noisy sensor wire

    An air-conditioner's temperature sensor gives a slow 1.0 V signal. Mains wiring beside its cable adds 0.5 V of 50 Hz hum. A filter passes some frequencies and blocks others: keep the slow signal, drop the hum.

    input   vin(t) = 1.0 + 0.5·sin(2π·50·t)  V
            signal 1.0 V (slow, almost 0 Hz)
            hum    0.5 V peak at 50 Hz
    
    Kuwait mains: 240/415 V, 50 Hz.
    The hum is 50 % of the signal.
  2. A resistor and a capacitor

    The simplest filter is a passive RC low-pass: a 10 kΩ resistor in series and a 10 µF capacitor to ground. The output is the capacitor's voltage. Passive means it needs no power supply; an RC filter's gain never goes above 1.

    passive RC low-pass
      R = 10 kΩ   in series
      C = 10 µF   from the output node to ground
      vout = voltage across C
    
    low-pass: low frequencies pass,
    high frequencies are blocked.
    (Capacitors: see "Resistors and capacitors".)
  3. The capacitor's impedance

    A capacitor's impedance is ZC = 1/(jωC), with ω = 2πf. At 0 Hz it is an open circuit, so the signal stays. At 50 Hz, |ZC| = 318 Ω, far below 10 kΩ, so the hum current takes the capacitor to ground.

    ZC = 1/(jωC),  ω = 2πf  (rad/s)
    |ZC| = 1/(2πfC)
    
    f = 0 Hz    |ZC| → ∞     open circuit
    f = 50 Hz   |ZC| = 1/(2π·50·10µ)
                = 318 Ω   (R = 10 kΩ)
    
    The dots show the hum current
    swinging through R and C.
  4. A divider with impedances

    R and C form a voltage divider. The transfer function is the output phasor over the input phasor: H = ZC/(R + ZC) = 1/(1 + jωRC). Here RC = 0.1 s, the time constant. The Bode plot shows |H| in decibels.

    H(jω) = Vout/Vin = ZC / (R + ZC)
          = 1 / (1 + jωRC)
    
    RC = 10 kΩ × 10 µF = 0.1 s  (τ)
    
    |H| = 1/√(1 + (ωRC)²)
    |H| in dB = 20·log10|H|
    (Bode plots: "Transfer functions and Bode plots")
  5. The corner frequency

    The corner, or cutoff, is where ωRC = 1: fc = 1/(2πRC) = 1.59 Hz. There |H| = 1/√2 = 0.707, which is −3.01 dB, and the output lags by 45°. The output power is half.

    fc = 1/(2πRC) = 1/(2π × 0.1) = 1.59 Hz
    
    at fc:  H = 1/(1 + j)
            |H| = 1/√2 = 0.707
            20·log10(0.707) = −3.01 dB
            ∠H = −45°
    
    |H|² = 1/2: half power, the "−3 dB point"
  6. −20 dB per decade

    Above fc, each tenfold rise in frequency cuts |H| tenfold: −20 dB per decade. At 50 Hz, |H| = 1/√(1 + (50/1.59)²) = 0.0318, or −29.9 dB. The hum shrinks about 31 times and lags 88.2°.

    |H(f)| = 1/√(1 + (f/fc)²)
    
    f = 50 Hz:  f/fc = 31.4
      |H| = 0.0318  = −29.9 dB
      ∠H  = −atan(31.4) = −88.2°
    
    far above fc: |H| ≈ fc/f
    100 Hz → 1 kHz: −20 dB per decade
  7. A load spoils it

    Now hang a 10 kΩ load straight across C. It draws current, so the divider changes: the gain falls to 0.5 (−6.02 dB) and the corner moves to 3.18 Hz. A passive filter's response depends on what it drives.

    load RL = 10 kΩ across C
    Thevenin seen by C:
      VTh = Vin·RL/(R + RL) = 0.5·Vin
      RTh = R‖RL = 5 kΩ
    
    H = 0.5 / (1 + jω·RTh·C)
      gain   0.5  (−6.02 dB)
      corner 1/(2π·5k·10µ) = 3.18 Hz
  8. Add an op-amp

    An active filter adds an amplifier, here an op-amp, which needs a power supply. Its + input draws no current, so the RC sees no load and keeps fc = 1.59 Hz. Its output drives the load without sagging.

    ideal op-amp
      input current   0 A   -> RC unloaded
      output          low impedance
      v− = v+         (negative feedback)
    
    The RC keeps   fc = 1.59 Hz
    The load hangs on the op-amp output.
    (Op-amp basics: "Op-amps", Hardware.)
  9. Gain from two resistors

    Rf and Rg set a non-inverting gain K = 1 + Rf/Rg = 1 + 10k/10k = 2, which is +6.02 dB. So H = 2/(1 + jf/fc). The curve moves up 6 dB, and the corner stays at 1.59 Hz.

    v− = v+ ,  no current into −
    Rg and Rf divide vout:  v− = vout·Rg/(Rf + Rg)
    => vout = (1 + Rf/Rg)·v+ = 2·v+
    
    H = K / (1 + jf/fc)
      K  = 2   (+6.02 dB)
      fc = 1.59 Hz   (unchanged)
      at fc: 2/√2 = 1.414
  10. A clean output

    The output holds the signal, ×2: 2.00 V. The hum is 0.5 × 0.0318 × 2 = 0.0318 V. It was 50 % of the signal and is now 1.6 %. For more cut, use a second-order filter.

    steady state
      signal  1.0 V × 2            = 2.00 V
      hum     0.5 V × 0.0318 × 2 = 0.0318 V
              lag −88.2°
    
    hum / signal
      in   0.5/1.0  = 50 %
      out  0.0318/2.00 = 1.6 %
    
    second order: −40 dB per decade

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