본문 바로가기
Microelectronics

[Post #33/38] Analog Filter Basics: First- and Second-Order Passive Filter Design

by WiseTech_Owl 2026. 5. 25.
반응형
Analog Filter Basics: First- and Second-Order Passive Filter Design banner

CONTENT_START [HERO_HERE: A stylized Bode plot showing magnitude and phase transitioning through the cutoff frequency ωc]

📘 Microelectronic Circuits Series — Post #33/38 — 15.1-15.3 (Theory)

Filters are the essential "gatekeepers" of the frequency domain. Without them, our wireless communication systems would be indistinguishable noise, and our audio systems would suffer from uncontrolled aliasing and harmonic interference; this installment bridges the gap between passive components and system-level signal processing.

1. Overview & Background — Why this matters

Imagine standing in a crowded, noisy room at a party: your brain naturally acts as a band-pass filter, ignoring the low-frequency rumble of the HVAC system and the high-frequency screech of dropped silverware, while tuning in to the specific, mid-range frequency spectrum of human speech. Filters do exactly this in electronics—they selectively pass desired signals while attenuating unwanted interference.

First-order RC LPF vs HPF circuit comparison
Figure 1. First-order RC LPF vs HPF circuit comparison

Historically, the study of filters began with telegraphy, where engineers needed to isolate carrier frequencies on shared copper lines. Today, whether you are designing a high-fidelity DAC output stage or a signal-conditioning front-end for a sensor, you are essentially defining the mathematical boundaries of what "noise" is versus what "information" is.

Filters are classified by their transmission characteristics: Low-Pass (LPF) permits frequencies below a cutoff; High-Pass (HPF) permits frequencies above; Band-Pass (BPF) allows a specific window; and Band-Stop (BRF/Notch) eliminates a precise interference frequency, such as 60 Hz hum from power lines.

[DIAGRAM_1_HERE: Schematic of a basic RC LPF on the left and an RLC LPF on the right]

2. How it Works (Physical & Circuit Principles)

The first-order RC filter functions like a shock absorber in a car. A capacitor stores energy (voltage), but it cannot change that voltage instantaneously; it requires a finite amount of time defined by the resistor (the "throttle"). At low frequencies, the capacitor looks like an open circuit, passing the signal; at high frequencies, the capacitor acts like a short to ground, effectively "draining" the signal away.

The second-order RLC filter introduces an inductor, which acts like a physical mass in a mechanical system. While the capacitor prevents voltage steps, the inductor prevents current steps. This combination creates a "resonance" where energy sloshes back and forth between the magnetic field of the inductor and the electric field of the capacitor, allowing for much sharper (steeper) filtering than a simple RC network.

H(s) = \frac{V_o(s)}{V_i(s)} = \frac{1}{1 + sRC}

where H(s) is the transfer function in the Laplace domain, s is the complex frequency (), and RC defines the time constant of the system. This describes a single-pole LPF where the gain drops by 20 dB per decade.

💡 Intuition: Q is the "dampener" of the swing. In an RLC circuit, a high Q means the circuit "rings" like a bell at the resonant frequency, while a low Q means it reaches steady state sluggishly.

3. Key Design Equations

For a first-order RC LPF:

Second-order RLC filter Bode plot for various Q values
Figure 2. Second-order RLC filter Bode plot for various Q values
\omega_c = \frac{1}{RC}

where ωc is the -3 dB corner frequency in rad/s, the point where the signal power is halved.

For a second-order RLC LPF:

H(s) = \frac{\omega_0^2}{s^2 + (\frac{\omega_0}{Q})s + \omega_0^2}

where ω0 is the undamped natural frequency and Q is the quality factor determining the resonance peak.

Q = \frac{1}{R}\sqrt{\frac{L}{C}}

where R, L, and C are the series resistance, inductance, and capacitance; Q > 0.5 is underdamped (ringing), and Q ≤ 0.5 is overdamped (no ringing).

4. Worked Numerical Example — Calculate it yourself

Design a second-order LPF with a natural frequency of f0 = 10 kHz (ω0 = 2π × 104) and a Q of 1.0 (slight peaking for a fast, responsive filter).

Assume we have an available capacitor C = 10 nF.

  1. Calculate Inductance L: Since ω0 = 1/√(LC), then L = 1 / (ω02C).
  2. L = 1 / ((6.28 × 104)2 × 10-8) ≈ 25.3 mH.
  3. Calculate Resistance R: Using Q = (1/R)√(L/C), we get R = (1/Q)√(L/C).
  4. R = (1/1.0) × √(0.0253 / 10-8) ≈ 1.59 kΩ.

By picking these values, we ensure our filter centers its transition precisely at 10 kHz with a controlled Q-factor response.

[DIAGRAM_2_HERE: Plot showing three curves for Q=0.5, 0.707, and 2.0]

5. Design Considerations & Trade-offs

  • Component Tolerance: Passive RLC filters are sensitive to the 5-10% tolerance of commercial inductors and capacitors, which shifts the cutoff frequency ωc unexpectedly.
  • Insertion Loss: Passive filters lack gain, so they inherently reduce signal amplitude (attenuation), which must be accounted for in the following gain stage.
  • Physical Footprint: At low frequencies (e.g., 100 Hz), inductors become physically massive and expensive, leading engineers to use Active Filter topologies (op-amps) to synthesize "inductor-like" behavior.
  • Q-Factor Peaking: While higher Q provides a sharper cutoff, it creates gain peaking at the corner frequency, which can cause instability or signal clipping if not properly managed.

6. Where it Shows Up in Practice

These principles appear in the input anti-aliasing filters of the TI ADS127L01 precision ADC, where precise RLC filtering prevents high-frequency noise from folding into the signal band. Similarly, passive LC low-pass filters are standard at the output of Class-D audio amplifiers (like those in consumer smart speakers) to remove high-frequency PWM switching carrier signals before they reach the speaker.

7. Common Pitfalls & Debugging Tips

  • ⚠️ The Loading Effect: Connecting a low-impedance load to a passive filter shifts its ωc. Always buffer your filter output with an op-amp voltage follower if the next stage impedance is not significantly higher than your filter's output impedance.
  • ⚠️ Inductor Parasitics: Real-world inductors have significant series resistance (DCR) and self-resonant frequencies (SRF). A 25 mH inductor might look like a short at high frequency due to winding capacitance; always check the datasheet "Self-Resonant Frequency" before finalizing your design.

8. Exam & Interview Hot Spots

  • 💡 "Define the Butterworth response: it is the maximally flat passband response where Q = 0.707."
  • 💡 "How does the phase shift change at ωc? In a first-order LPF, it is exactly −45 degrees at the cutoff."
  • 💡 "What is the difference between active and passive filters? Active filters can provide gain and buffer the signal, but they are limited by the op-amp's Gain-Bandwidth Product (GBW)."

9. Key Takeaways

  • RC circuits are first-order (20 dB/dec roll-off), while RLC circuits are second-order (40 dB/dec roll-off).
  • The cutoff frequency ωc is defined by the energy-storage time constant.
  • The Q-factor dictates the "sharpness" and presence of peaking at resonance.
  • Passive filters require high-impedance loads to maintain their designed frequency response.
  • Phase response is equally important as magnitude, especially in time-sensitive control loops.

Educational content only. Always verify with datasheets and SPICE simulation before production design.

반응형