Basically, an electrical filter is a circuit that can be designed to modify, reshape or reject all unwanted frequencies of an electrical signal and accept or pass only those signals wanted by the circuits designer.

In other words they “filter-out” unwanted signals and an ideal filter will separate and pass sinusoidal input signals based upon their frequency. In low frequency applications (up to 100kHz), passive filters are generally constructed using simple RC (Resistor-Capacitor) networks, while higher frequency filters (above 100kHz) are usually made from RLC (Resistor-Inductor-Capacitor) components.

Passive filters are made up of passive components such as resistors, capacitors and inductors and have no amplifying elements (transistors, op-amps, etc) so have no signal gain, therefore their output level is always less than the input.

Filters are so named according to the frequency range of signals that they allow to pass through them, while blocking or “attenuating” the rest. The most commonly used filter designs are the:

- The Low Pass Filter – the low pass filter only allows low frequency signals from 0Hz to its cut-off frequency, ƒc point to pass while blocking those any higher.
- The High Pass Filter – the high pass filter only allows high frequency signals from its cut-off frequency, ƒc point and higher to infinity to pass through while blocking those any lower.
- The Band Pass Filter – the band pass filter allows signals falling within a certain frequency band setup between two points to pass through while blocking both the lower and higher frequencies either side of this frequency band.

Simple First-order passive filters (1st order) can be made by connecting together a single resistor and a single capacitor in series across an input signal, ( Vin ) with the output of the filter, ( Vout ) taken from the junction of these two components. Depending on which way around we connect the resistor and the capacitor with regards to the output signal determines the type of filter construction resulting in either a **Low Pass Filter** or a **High Pass Filter**.

As the function of any filter is to allow signals of a given band of frequencies to pass unaltered while attenuating or weakening all others that are not wanted, we can define the amplitude response characteristics of an ideal filter by using an ideal frequency response curve of the four basic filter types as shown.

Filters can be divided into two distinct types: active filters and passive filters. Active filters contain amplifying devices to increase signal strength while passive do not contain amplifying devices to strengthen the signal. As there are two passive components within a passive filter design the output signal has a smaller amplitude than its corresponding input signal, therefore passive RC filters attenuate the signal and have a gain of less than one, (unity).

A Low Pass Filter can be a combination of capacitance, inductance or resistance intended to produce high attenuation above a specified frequency and little or no attenuation below that frequency. The frequency at which the transition occurs is called the “cut-off” or “corner” frequency. The simplest low pass filters consist of a resistor and capacitor but more sophisticated low pass filters have a combination of series inductors and parallel capacitors. In this tutorial we will look at the simplest type, a passive two component RC low pass filter.

A simple passive **RC Low Pass Filter** or **LPF**, can be easily made by connecting together in series a single Resistor with a single Capacitor as shown below. In this type of filter arrangement the input signal ( Vin ) is applied to the series combination (both the Resistor and Capacitor together) but the output signal ( Vout ) is taken across the capacitor only. This type of filter is known generally as a “first-order filter” or “one-pole filter”, why first-order or single-pole?, because it has only “one” reactive component, the capacitor, in the circuit.

As mentioned previously in the Capacitive Reactance tutorial, the reactance of a capacitor varies inversely with frequency, while the value of the resistor remains constant as the frequency changes. At low frequencies the capacitive reactance, ( Xc< ) of the capacitor will be very large compared to the resistive value of the resistor, R.

This means that the voltage potential, Vc across the capacitor will be much larger than the voltage drop, Vr developed across the resistor. At high frequencies the reverse is true with Vc being small and Vr being large due to the change in the capacitive reactance value.

While the circuit above is that of an RC Low Pass Filter circuit, it can also be thought of as a frequency dependant variable potential divider circuit similar to the one we looked at in the Resistors tutorial. In that tutorial we used the following equation to calculate the output voltage for two single resistors connected in series.

We also know that the capacitive reactance of a capacitor in an AC circuit is given as:

Opposition to current flow in an AC circuit is called **impedance**, symbol Z and for a series circuit consisting of a single resistor in series with a single capacitor, the circuit impedance is calculated as:

Then by substituting our equation for impedance above into the resistive potential divider equation gives us:

So, by using the potential divider equation of two resistors in series and substituting for impedance we can calculate the output voltage of an RC Filter for any given frequency.

A **Low Pass Filter** circuit consisting of a resistor of 4k7Ω in series with a capacitor of 47nF is connected across a 10v sinusoidal supply. Calculate the output voltage ( Vout ) at a frequency of 100Hz and again at frequency of 10,000Hz or 10kHz.

We can see from the results above, that as the frequency applied to the RC network increases from 100Hz to 10kHz, the voltage dropped across the capacitor and therefore the output voltage ( Vout ) from the circuit decreases from 9.9v to 0.718v.

By plotting the networks output voltage against different values of input frequency, the **Frequency Response Curve** or **Bode Plot** function of the low pass filter circuit can be found, as shown below.

The Bode Plot shows the **Frequency Response** of the filter to be nearly flat for low frequencies and all of the input signal is passed directly to the output, resulting in a gain of nearly 1, called unity, until it reaches its **Cut-off Frequency** point ( ƒc ). This is because the reactance of the capacitor is high at low frequencies and blocks any current flow through the capacitor.

After this cut-off frequency point the response of the circuit decreases to zero at a slope of -20dB/ Decade or (-6dB/Octave) “roll-off”. Note that the angle of the slope, this -20dB/ Decade roll-off will always be the same for any RC combination.

Any high frequency signals applied to the low pass filter circuit above this cut-off frequency point will become greatly attenuated, that is they rapidly decrease. This happens because at very high frequencies the reactance of the capacitor becomes so low that it gives the effect of a short circuit condition on the output terminals resulting in zero output.

Then by carefully selecting the correct resistor-capacitor combination, we can create a RC circuit that allows a range of frequencies below a certain value to pass through the circuit unaffected while any frequencies applied to the circuit above this cut-off point to be attenuated, creating what is commonly called a **Low Pass Filter**.

For this type of “Low Pass Filter” circuit, all the frequencies below this cut-off, ƒc point that are unaltered with little or no attenuation and are said to be in the filters **Pass band** zone. This pass band zone also represents the **Bandwidth** of the filter. Any signal frequencies above this point cut-off point are generally said to be in the filters **Stop band** zone and they will be greatly attenuated.

This “Cut-off”, “Corner” or “Breakpoint” frequency is defined as being the frequency point where the capacitive reactance and resistance are equal, R = Xc = 4k7Ω. When this occurs the output signal is attenuated to 70.7% of the input signal value or **-3dB** (20 log (Vout/Vin)) of the input. Although R = Xc, the output is **not** half of the input signal. This is because it is equal to the vector sum of the two and is therefore 0.707 of the input.

As the filter contains a capacitor, the Phase Angle ( Φ ) of the output signal **LAGS** behind that of the input and at the -3dB cut-off frequency ( ƒc ) is -45^{o} out of phase. This is due to the time taken to charge the plates of the capacitor as the input voltage changes, resulting in the output voltage (the voltage across the capacitor) “lagging” behind that of the input signal. The higher the input frequency applied to the filter the more the capacitor lags and the circuit becomes more and more “out of phase”.

The cut-off frequency point and phase shift angle can be found by using the following equation:

Then for our simple example of a “**Low Pass Filter**” circuit above, the cut-off frequency (ƒc) is given as 720Hz with an output voltage of 70.7% of the input voltage value and a phase shift angle of -45^{o}.

Thus far we have seen that simple first-order RC low pass filters can be made by connecting a single resistor in series with a single capacitor. This single-pole arrangement gives us a roll-off slope of -20dB/decade attenuation of frequencies above the cut-off point at ƒ_{-3dB} . However, sometimes in filter circuits this -20dB/decade (-6dB/octave) angle of the slope may not be enough to remove an unwanted signal then two stages of filtering can be used as shown.

The above circuit uses two passive first-order low pass filters connected or “cascaded” together to form a second-order or two-pole filter network. Therefore we can see that a first-order low pass filter can be converted into a second-order type by simply adding an additional RC network to it and the more RC stages we add the higher becomes the order of the filter. If a number ( n ) of such RC stages are cascaded together, the resulting RC filter circuit would be known as an “n^{th}-order” filter with a roll-off slope of “n x -20dB/decade”.

So for example, a second-order filter would have a slope of -40dB/decade (-12dB/octave), a fourth-order filter would have a slope of -80dB/decade (-24dB/octave) and so on. This means that, as the order of the filter is increased, the roll-off slope becomes steeper and the actual stop band response of the filter approaches its ideal stop band characteristics.

Second-order filters are important and widely used in filter designs because when combined with first-order filters any higher-order n^{th}-value filters can be designed using them. For example, a third order low-pass filter is formed by connecting in series or cascading together a first and a second-order low pass filter.

But there is a downside too cascading together RC filter stages. Although there is no limit to the order of the filter that can be formed, as the order increases, the gain and accuracy of the final filter declines.

When identical RC filter stages are cascaded together, the output gain at the required cut-off frequency ( ƒc ) is reduced (attenuated) by an amount in relation to the number of filter stages used as the roll-off slope increases. We can define the amount of attenuation at the selected cut-off frequency using the following formula.

where "n" is the number of filter stages.

So for a second-order passive low pass filter the gain at the corner frequency ƒc will be equal to 0.7071 x 0.7071 = 0.5Vin (-6dB), a third-order passive low pass filter will be equal to 0.353Vin (-9dB), fourth-order will be 0.25Vin (-12dB) and so on. The corner frequency, ƒc for a second-order passive low pass filter is determined by the resistor/capacitor (RC) combination and is given as.

In reality as the filter stage and therefore its roll-off slope increases, the low pass filters -3dB corner frequency point and therefore its pass band frequency changes from its original calculated value above by an amount determined by the following equation.

where ƒc is the calculated cut-off frequency, n is the filter order and ƒ_{-3dB} is the new -3dB pass band frequency as a result in the increase of the filters order.

Then the frequency response (bode plot) for a second-order low pass filter assuming the same -3dB cut-off point would look like:

In practice, cascading passive filters together to produce larger-order filters is difficult to implement accurately as the dynamic impedance of each filter order affects its neighbouring network. However, to reduce the loading effect we can make the impedance of each following stage 10x the previous stage, so R2 = 10 x R1 and C2 = 1/10th C1. Second-order and above filter networks are generally used in the feedback circuits of op-amps, making what are commonly known as Active Filters or as a phase-shift network in RC Oscillator circuits.

So to summarize, the **Low Pass Filter** has a constant output voltage from D.C. (0Hz), up to a specified Cut-off frequency, ( ƒc ) point. This cut-off frequency point is 0.707 or **-3dB** ( dB = -20log Vout/Vin ) of the voltage gain allowed to pass.

The frequency range “below” this cut-off point ƒc is generally known as the **Pass Band** as the input signal is allowed to pass through the filter. The frequency range “above” this cut-off point is generally known as the **Stop Band** as the input signal is blocked or stopped from passing through.

A simple 1st order low pass filter can be made using a single resistor in series with a single non-polarized capacitor (or any single reactive component) across an input signal Vin, whilst the output signal Vout is taken from across the capacitor.

The cut-off frequency or -3dB point, can be found using the standard formula, ƒc = 1/(2πRC). The phase angle of the output signal at ƒc and is -45^{o} for a Low Pass Filter.

The gain of the filter or any filter for that matter, is generally expressed in **Decibels** and is a function of the output value divided by its corresponding input value and is given as:

Applications of passive Low Pass Filters are in audio amplifiers and speaker systems to direct the lower frequency bass signals to the larger bass speakers or to reduce any high frequency noise or “hiss” type distortion. When used like this in audio applications the low pass filter is sometimes called a “high-cut”, or “treble cut” filter.

If we were to reverse the positions of the resistor and capacitor in the circuit so that the output voltage is now taken from across the resistor, we would have a circuit that produces an output frequency response curve similar to that of a High Pass Filter, and this is discussed in the next tutorial.

Until now we have been interested in the frequency response of a low pass filter when subjected to sinusoidal waveform. We have also seen that the filters cut-off frequency ( ƒc ) is the product of the resistance ( R ) and the capacitance ( C ) in the circuit with respect to some specified frequency point and that by altering any one of the two components alters this cut-off frequency point by either increasing it or decreasing it.

We also know that the phase shift of the circuit lags behind that of the input signal due to the time required to charge and then discharge the capacitor as the sine wave changes. This combination of R and C produces a charging and discharging effect on the capacitor known as its **Time Constant** ( τ ) of the circuit as seen in the RC Circuit tutorials giving the filter a response in the time domain.

The time constant, **tau** ( τ ), is related to the cut-off frequency ƒc as.

or expressed in terms of the cut-off frequency, ƒc as.

The output voltage, Vout depends upon the time constant and the frequency of the input signal. With a sinusoidal signal that changes smoothly over time, the circuit behaves as a simple 1st order low pass filter as we have seen above.

But what if we were to change the input signal to that of a “square wave” shaped “ON/OFF” type signal that has an almost vertical step input, what would happen to our filter circuit now. The output response of the circuit would change dramatically and produce another type of circuit known commonly as an **Integrator**.

The **Integrator** is basically a low pass filter circuit operating in the time domain that converts a square wave “step” response input signal into a triangular shaped waveform output as the capacitor charges and discharges. A **Triangular** waveform consists of alternate but equal, positive and negative ramps. As seen below, if the RC time constant is long compared to the time period of the input waveform the resultant output waveform will be triangular in shape and the higher the input frequency the lower will be the output amplitude compared to that of the input.

This then makes this type of circuit ideal for converting one type of electronic signal to another for use in wave-generating or wave-shaping circuits.

Related products: EMI/RFI Suppression | EMI Filter

Error! Please fill all fields.

Hello,

to begin with, I shall thank you for the useful information on your website. But one thing I cant find an answer for is who is the author for each document? I am wondering that because I want to refer to your website, and for that I have to know the author. Is it “Electronics”?

Thanks in advance

You can reference as Electronics Tutorials

Does using bigger capacitors and smaller resistors (getting the same RC constant) reduce the voltage loss (unwanted attenuation of wanted frequencies)

In theory, any combination of R and C to give you the require attenuation and corner frequency will do. However, larger capacitive value capacitors are slower to respond to transients so would smooth out unwanted signals.

very awesome post. you make Physics so sweet

Thanks for the interesting explanation,i enjoyed reading the information .

Hi, thanks for the explanation. Really helpful. I was wondering if there is a cut-off freq. formula for n number of filters.

I am looking for a 3rd order right now, and I do not understand how to calculate it. thanks.

Best explanation ever thank you very much for your time

Wow !!your explain so deep and clear understandable ,that arise me to put me question.. THANKS!!

You have told that,”We also know that the phase shift of the circuit lags behind that of the input signal due to the time required to charge and then discharge the capacitor as the sine wave changes. This combination of R and C produces a charging and discharging effect on the capacitor known as its Time Constant ( τ ) of the circuit as seen in the RC Circuit tutorials giving the filter a response in the time domain.”

My question that if “time constant”increase as “frequency” decrease ,then voltage on capacitor takes time on charging which means it should be more behind”lag” on input current, but as the phase shift formula is on another ways.

Please guide me on it..waiting..

As a sinewave is a pure waveform with no harmonics, when fed into a RC filter there is no change to its shape. However, when a square wave (step input) is fed through a filter it does change shape. Resistance remains constant as frequency changes, but reactance of the capacitor does not as it varies inversely with frequency. The time it takes for a capacitor to exponentially charge or discharge through the resistor is known as the time constant.

If the time constant, the product of R and C, is short compared to the waveforms periodic time then the capacitor will become full charged before the end of the input cycle. Likewise, if the RC time constant is longer than the periodic time, the capacitor charges proportional. At the cut-off frequency, the RC time constant matches that of the waveforms periodic time exactly.

The use and effect of square or triangular waveforms on a simple RC filter has nothing to to with leading or lagging or the phasor relationships between a voltage and a current. This topic is discussed more in the AC Theory section.

it was so good! thanks a lot…

i am so enfrese whith the tutorials

the Low Pass Filter has a constant output voltage from D.C. (0Hz), up to a specified Cut-off frequency, ( ƒc ) point. What does this mean??

If some non zero DC voltage is to RC low pass circuit then the

DC voltage in the output contains

As explained in the tutorial above, a Low Pass Filter (LPF) passes all input frequencies from 0Hz to its predefined -3dB cut-off point, as given by the formula: 1/(2piRC)