Skip to main content

Interactive 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

RMS Delay Spread, Excess Delay Spread and Multi-path ...(with MATLAB + Simulator)

📘 Overview of Delay Spread and Multi-path 🧮 Excess Delay spread 🧮 Power delay Profile 🧮 RMS Delay Spread 📚 Further Reading 📂 Other Topics on RMS Delay Spread, Excess Delay ... 🧮 Multipath Components or MPCs 🧮 Online Simulator for Calculating RMS Delay Spread 🧮 Why is there significant multipath in the case of very high frequencies? 🧮 Why RMS Delay Spread is essential for wireless communication? 🧮 Why the Power Delay Profile is essential? 🧮 MATLAB Codes for Calculating Different Types of delay Spreads Delay Spread, Excess Delay Spread, and Multipath (MPCs) The fundamental distinction between wireless and wired connections is that in wireless connections signal reaches at receiver thru multipath signal propagation rather than directed transmission like co-axial cable. Wireless Communication has no set communication path between the transmitter and the receiver. The line...

Electromyography (EMG) Explained

  Electromyography (EMG) EMG stands for Electromyography . It is a medical test used to check how well your muscles and the nerves that control them are working. What it does EMG measures the electrical activity in your muscles. When nerves send signals to muscles, they create tiny electrical impulses—EMG records these. Why doctors use it Doctors may recommend EMG if you have symptoms like: Muscle weakness Numbness or tingling Muscle pain or cramping Suspected nerve disorders It helps diagnose conditions such as: Carpal Tunnel Syndrome Amyotrophic Lateral Sclerosis (ALS) Peripheral Neuropathy How it’s done Nerve conduction study (NCS) – small electrical pulses are applied to test nerve signals Needle EMG – a thin needle electrode is inserted into muscles to record activity Does it hurt? You might feel mild discomfort (like a quick pinch or muscle soreness) ...

MIMO Channel Matrix | Rank and Condition Number

MIMO / Massive MIMO MIMO Channel Matrix | Rank and Condition...   The channel matrix in wireless communication is a matrix that describes the impact of the channel on the transmitted signal. The channel matrix can be used to model the effects of the atmospheric or underwater environment on the signal, such as the absorption, reflection or scattering of the signal by surrounding objects. When addressing multi-antenna communication, the term "channel matrix" is used. Let's assume that only one TX and one RX are in communication and there's no surrounding object. Here, in our case, we can apply the proper threshold condition to a received signal and get the original transmitted signal at the RX side. However, in real-world situations, we see signal path blockage, reflections, etc.,  (NLOS paths [↗]) more frequently. The obstruction is typically caused by building walls, etc. Multi-antenna communication was introduced to address this issue. It makes diversity app...

Constellation Diagrams of M-ary QAM | M-ary Modulation

📘 Overview of QAM 🧮 MATLAB Code for m-ary QAM (4-QAM, 16-QAM, 32-QAM, ...) 🧮 Online Simulator for M-ary QAM Constellations 📚 Further Reading 📂 Other Topics on Constellation Diagrams of QAM configurations ... 🧮 MATLAB Code for 4-QAM 🧮 MATLAB Code for 16-QAM 🧮 MATLAB Code for m-ary QAM (4-QAM, 16-QAM, 32-QAM, ...) 🧮 Simulator for constellation diagrams of m-ary PSK 🧮 Simulator for constellation diagrams of m-ary QAM 🧮 Overview of Energy per Bit (Eb / N0) 🧮 Online Simulator for constellation diagrams of ASK, FSK, and PSK 🧮 Theory behind Constellation Diagrams of ASK, FSK, and PSK 🧮 MATLAB Codes for Constellation Diagrams of ASK, FSK, and PSK QAM Unlike M-ary PSK, where the signal is modulated with diffe...

Amplitude Demodulation Simulation

Instructions for Amplitude Modulation (AM) Step 1: Click on 'Generate Message' button to generate input message signal Step 2: Then click on 'Generate Carrier' button to generate carrier signal. The carrier frequency has to be more than the message frequency and You can change frequencies using sliders Step 3: Click on 'Generate Amplitude Modulated Signal' button to generate Amplitude Modulated Signal Step 4: Click the 'Show Frequency Spectrums' button to view the AM spectra. Here, the modulation index is defined as the ratio of the message signal amplitude to the carrier signal amplitude. You can adjust both values. 50 Hz Step 1: Generate Message 500 Hz Step 2: ...

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 ...

OFDM Symbols and Subcarriers Explained

This article explains how OFDM (Orthogonal Frequency Division Multiplexing) symbols and subcarriers work. It covers modulation, mapping symbols to subcarriers, subcarrier frequency spacing, IFFT synthesis, cyclic prefix, and transmission. Step 1: Modulation First, modulate the input bitstream. For example, with 16-QAM , each group of 4 bits maps to one QAM symbol. Suppose we generate a sequence of QAM symbols: s0, s1, s2, s3, s4, s5, …, s63 Step 2: Mapping Symbols to Subcarriers Assume N sub = 8 subcarriers. Each OFDM symbol in the frequency domain contains 8 QAM symbols (one per subcarrier): Mapping (example) OFDM symbol 1 → s0, s1, s2, s3, s4, s5, s6, s7 OFDM symbol 2 → s8, s9, s10, s11, s12, s13, s14, s15 … OFDM sym...