Skip to main content

Sallen-Key filter Simulation (2nd order LPF)

 

Sallen-Key Filter Explained: Why It’s the Most Popular Second-Order Low-Pass Filter

Sallen-Key Filter Explained: Why It’s the Most Popular Second-Order Low-Pass Filter (With Math)

If you're learning analog electronics, active filters, or preparing for engineering interviews and exams, you've probably come across the Sallen-Key filter. But what exactly is it, and why do engineers prefer it over simply cascading RC low-pass filters?

Live Interactive Simulator

Adjust the component values to see the real-time frequency response (Bode Plot).

Cutoff (f₀): 1.59 kHz
Quality Factor (Q): 0.50

Note: Comparison RC filter uses same R1/C1 values.

In this article, you'll learn:

  • What a Sallen-Key filter is
  • How it works
  • Mathematical derivation of its transfer function
  • Comparison with a first-order low-pass filter
  • Why it is one of the simplest second-order filter designs
  • Practical design example

What Is a Sallen-Key Filter?

A Sallen-Key filter is an active filter topology that uses an operational amplifier (op-amp), resistors, and capacitors to create a second-order filter response.

It was developed by R. P. Sallen and E. L. Key and remains one of the most widely used active filter architectures in electronics.

The most common implementation is the Sallen-Key Low-Pass Filter, which allows low-frequency signals to pass while attenuating high-frequency signals much more effectively than a simple RC filter.

Basic Sallen-Key Low-Pass Configuration

Vin R1 R2 C2 + Vout C1 Ideal Op-Amp

The op-amp acts as a buffer, providing a high input impedance and low output impedance, which prevents loading effects and simplifies filter design.


Understanding a First-Order Low-Pass Filter

Before diving into Sallen-Key filters, let's review the simplest low-pass filter.

RC Low-Pass Filter Circuit

Vin ──R───o── Vout | C | GND

Transfer Function

\[ H(s)=\frac{V_{out}}{V_{in}} =\frac{1}{1+sRC} \]

Cutoff Frequency

\[ f_c=\frac{1}{2\pi RC} \]

Key Characteristics

  • Single pole system
  • Roll-off rate of −20 dB/decade
  • Phase shift approaches −90° at high frequencies
  • Extremely simple design

What Makes the Sallen-Key Filter Different?

The Sallen-Key topology introduces an additional RC network and uses the op-amp to provide positive feedback through the first capacitor. This "bootstrapping" allows the filter to achieve a second-order response without the need for an inductor.

This means the filter has two poles, providing much sharper attenuation (roll-off) than a first-order filter.

Basic Unity-Gain Sallen-Key Low-Pass Configuration

┌─────── C1 ───────┐ │ │ Vin ──R1───o────R2────┬──(+)──┴── Vout │ Op-Amp C2 (─)──┐ │ │ │ GND └───┘

Transfer Function of a Unity-Gain Sallen-Key Filter

\[ H(s)= \frac{1} {s^2R_1R_2C_1C_2 +s\left[(R_1+R_2)C_2+R_1C_1(1-K)\right] +1} \]
(Note: For Unity Gain, K=1, so the term \(R_1C_1(1-K)\) becomes zero.)

This simplifies to the standard second-order form:

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

Natural Frequency (\(\omega_0\))

\[ \omega_0= \frac{1} {\sqrt{R_1R_2C_1C_2}} \]

Quality Factor (Q)

\[ Q= \frac{\sqrt{R_1R_2C_1C_2}} {(R_1+R_2)C_2} \]
(When K=1, the damping is controlled purely by the ratio of the resistors and capacitors.)

Why Is the Sallen-Key Filter So Popular?

A first-order RC low-pass filter remains the simplest topology, but its attenuation is often too weak for modern applications.

The Loading Problem

If you simply connect two RC filters in a row:

Vin → [R1, C1] → [R2, C2] → Vout

The second stage loads the first stage. This causes the poles to interact and shift, making the math complex and the filter performance unpredictable.

The Sallen-Key filter solves this by using the op-amp as a buffer. The op-amp drives the feedback capacitor ($C_1$), effectively isolating the stages and allowing for a precise, predictable second-order response with just one active component.


Mathematical Comparison: First-Order vs Sallen-Key

Feature 1st-Order RC 2nd-Order Sallen-Key
Roll-off Rate -20 dB/decade -40 dB/decade
Number of Poles 1 2
Complexity Very Low Low (Requires Op-Amp)

Practical Sallen-Key Filter Design Example

Assume a Butterworth response ($Q = 0.707$) is desired:

\[ R_1=R_2=10k\Omega, \quad C_1=14.14nF, \quad C_2=7.07nF \]

The cutoff frequency remains:

\[ f_0= \frac{1}{2\pi \sqrt{R_1R_2C_1C_2}} \approx 1.59kHz \]

By choosing different ratios of $C_1$ and $C_2$, engineers can tune the "sharpness" (Q) of the filter without changing the cutoff frequency.

📂 Try Other Interactive Online Simulations

Contact Us

Name

Email *

Message *

Popular Posts

Constellation Diagram of FSK in Detail

📘 Overview 🧮 Simulator for constellation diagram of FSK 🧮 Theory 🧮 MATLAB Code 📚 Further Reading 📚 BER vs SNR from Constellation   Binary bits '0' and '1' can be mapped to 'j' and '1' to '1', respectively, for Baseband Binary Frequency Shift Keying (BFSK) . Signals are in phase here. These bits can be mapped into baseband representation for a number of uses, including power spectral density (PSD) calculations. For passband BFSK transmission, we can modulate signal 'j' with a lower carrier frequency and signal '1' with a higher carrier frequency while transmitting over a wireless channel. Let's assume we are transmitting carrier signal fc1 for the transmission of binary bit '1' and carrier signal fc2 for the transmission of binary bit '0'. Simulator for 2-FSK Constellation Diagram Simulator for 2-FSK Constellation Diagram ...

UGC NET Electronic Science Previous Year Question Papers with Solutions

Home / Engineering & Other Exams / UGC NET 2026 PYQ ⬇️ Download Papers and Solutions 📋 Exam Pattern 💡 Preparation Tips ❓ FAQs 📊 Exam Highlights: Electronic Science (88) Feature Details Junior Research Fellowship (JRF) ₹37,000 + HRA per month Eligibility M.Sc/M.Tech in Electronics (55%) Validity of Certificate JRF (3 Years) | Lectureship (Lifetime) 📥 Download UGC NET Electronics PDFs Complete collection of previous year question papers, answer keys and explanations for Subject Code 88. Start Downloading 📂 View All Question Papers June 2025 - Question Paper Download PDF June 2025 - Solved Paper + Explanation ...

BER vs SNR for M-ary QAM, M-ary PSK, QPSK, BPSK, ...(MATLAB Code + Simulator)

Bit Error Rate (BER) & SNR Guide Analyze communication system performance with our interactive simulators and MATLAB tools. 📘 Theory 🧮 Simulators 💻 MATLAB Code 📚 Resources BER Definition SNR Formula BER Calculator MATLAB Comparison 📂 Explore M-ary QAM, PSK, and QPSK Topics ▼ 🧮 Constellation Simulator: M-ary QAM 🧮 Constellation Simulator: M-ary PSK 🧮 BER calculation for ASK, FSK, and PSK 🧮 Approaches to BER vs SNR What is Bit Error Rate (BER)? The BER indicates how many corrupted bits are received compared to the total number of bits sent. It is the primary figure of merit f...

FM Bandwidth and FM Band Explained

FM radio uses the frequency band from 88 MHz to 108 MHz , which is a 20 MHz-wide spectrum . This is the range of carrier frequencies available to stations. 108 MHz − 88 MHz = 20 MHz However, a single FM station occupies only about 200 kHz . This is the bandwidth of the modulated FM signal. 1. Why One FM Station Needs ~200 kHz FM uses frequency modulation . The bandwidth depends on how far the carrier swings. Carson's Rule gives the approximate FM bandwidth: B = 2 ( Δf + f m ) ...

What is Frequency Resolution?

  Formula for Frequency Resolution (in general) The frequency resolution is the smallest frequency difference between two adjacent frequency points in your sampling range. It is determined by the total frequency range and the number of frequency samples  N . The formula for the frequency resolution (or step size)  Δf  is: Δf = (f max  - f min ) / (N - 1) Where: f min  is the minimum frequency in the range (in this case, -50 Hz). f max  is the maximum frequency in the range (in this case, 50 Hz). N  is the number of frequency points / frequency bins. Using the Given Values: From the function: f min  = -50 Hz f max  = 50 Hz N  = 1000 The frequency resolution is: Δf = (50 - (-50)) / (1000 - 1) = 100 / 999 ≈ 0.1001 Hz   Understanding Frequency Resolution in Signal Processing Alternative Formula Using Time Duration Another common way to define frequency resolution, especially in time-domain signal processing, is: Δf = 1 / T W...

Ph.D. admissions in IITs without a GATE score

PhD Admission in IITs With Low CGPA approximately 6.5 – 7.0 / 10 No valid GATE score Willing to strengthen research proposal, contact faculty, apply to multiple institutes Expanded List of IITs: Eligibility & Links IIT Eligibility & Notes PhD Info Link IIT Gandhinagar Minimum: 60% marks or 6.0 CGPA (General) or 55%/5.5 (SC/ST/PD) in qualifying degree.  GATE/NET may be waived in certain cases; but short‑listing criteria likely higher. iitgn.ac.in/admissions/phd IIT Kharagpur Minimum eligibility: 60% marks or 6.5 CGPA in qualifying exam for many branches.  However brochure notes “for test & interview this minimum must be met and higher cut‑offs may apply”. iitkgp.ac.in/phd_brochure.pdf IIT Bhubaneswar Minimum: Engineering Schools – M.Tech/ME with minimum 60% marks or 6.5 CGPA....

BER performance of QPSK with BPSK, 4-QAM, 16-QAM, 64-QAM, 256-QAM, etc (MATLAB + Simulator)

📘 Overview 📚 QPSK vs BPSK and QAM: A Comparison of Modulation Schemes in Wireless Communication 📚 Real-World Example 🧮 MATLAB Code 📚 Further Reading   QPSK provides twice the data rate compared to BPSK. However, the bit error rate (BER) is approximately the same as BPSK at low SNR values when gray coding is used. On the other hand, QPSK exhibits similar spectral efficiency to 4-QAM and 16-QAM under low SNR conditions. In very noisy channels, QPSK can sometimes achieve better spectral efficiency than 4-QAM or 16-QAM. In practical wireless communication scenarios, QPSK is commonly used along with QAM techniques, especially where adaptive modulation is applied. Modulation Bits/Symbol Points in Constellation Usage Notes BPSK 1 2 Very robust, used in weak signals QPSK 2 4 Balanced speed & reliability 4-QAM ...