Difference between revisions of "Passive Filters"

From Mech
Jump to navigationJump to search
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
__TOC__
__TOC__
We can build some very simple filters out of a capacitor and a resistor. A filter will block some frequencies, while admitting others.
We can build some very simple filters out of a capacitor and a resistor. A filter blocks some frequencies, while admitting others.

Better filters can be made out of op-amps.


==Low-Pass Filters (LPF)==
==Low-Pass Filters (LPF)==
A low pass filter will admit lower frequencies and block out high ones. This can help us smooth out our signals and get rid of high frequency noise.
A low-pass filter admits lower frequencies and blocks out high ones. This can help us smooth out our signals and get rid of high frequency noise.


We can make one by hooking up our capacitor and resistor like this:
We can make one by hooking up our capacitor and resistor like this:


[[Image:RC_LPF_schematic.jpg]]
[[Image:RC_LPF_schematic.gif]]


When set R=500 &Omega; and C=2nF, and hook up an AC voltage source, the voltage we see at <math>V_out</math> depends on the frequency of our source. Here is a plot of the frequency response of the filter, on a logarithmic scale from 10Hz to 10MHz:
When set R=500&Omega; and C=2nF, and hook up an AC voltage source, the voltage we see at <math>V_out</math> depends on the frequency of our source. Here is a plot of the magnitude response of the filter, on a logarithmic scale from 10Hz to 10MHz:


[[Image:RC_LPF_frequncy_response.jpg]]
[[Image:RC_LPF_magnitude_response.gif]]


Here are plots comparing the input and output voltages for two different frequencies:
As we can see, the filter blocks the higher frequncies.


[[Image:RC_LPF_freq_compare.gif]]
Since a square wave is made out of a superposition of many sine waves, the low-pass filter will block the sine waves with higher frequencies. Our input and output will look like:


As we can see, the filter blocks the higher frequencies.
[[Image:RC_LPF_square_wave.jpg]](C=200uF, R=500&Omega;)


A square wave is made out of a superposition of many sine waves, the low-pass filter blocks out the sine waves with higher frequencies. Our input and output looks like:
==High Pass Filter (HPF>--

A high pass filter will block out lower frequencies while letting high frequencies through. The output will respond more strongly to changes in the input signal, such as that coming from a motion detector.
[[Image:RC_LPF_square_wave.gif]](C=200uF, R=500&Omega;)

==High-Pass Filter (HPF)==
A high-pass filter blocks out lower frequencies while letting high frequencies through. The output signal responds more strongly to changes in the input signal, such as that coming from a motion detector.


We can make a simple high-pass filter by hooking up our capacitor and resistor like this:
We can make a simple high-pass filter by hooking up our capacitor and resistor like this:


[[Image:RC_HPF_schematic.jpg]]
[[Image:RC_HPF_schematic.gif]]


The frequncy of a filter with R=500&Omega; and C=2nF looks like this:
The magnitude response of a filter with R=500&Omega; and C=2nF looks like this:


[[Image:RC_HPF_frequency_Response.jpg]]
[[Image:RC_HPF_magnitude_Response.gif]]

Here are some plots comparing the input and output voltages for two different frequencies:

[[Image:RC_HPF_freq_compare.gif]]


This time, the filter blocks the lower frequencies.
This time, the filter blocks the lower frequencies.
Line 34: Line 44:
When we put a square wave though the filter, the resulting waveform looks like this:
When we put a square wave though the filter, the resulting waveform looks like this:


[[Image:RC_HPF_square_wave.jpg]](C=200uF, R=500&Omega;)
[[Image:RC_HPF_square_wave.gif]](C=200uF, R=500&Omega;)


Notice that when the input voltage drops to zero, the output voltage becomes negative. This is because the capacitor is discharging, and forcing the current backwards.
Notice that when the input voltage drops to zero, the output voltage becomes negative. This is because the capacitor is discharging, and forcing the current backwards.

==References==
Hayt, William H. Jr., Jack E. Kemmerly, and Steven M. Durbin. <u>Engineering Circuit Analysis</u>. 6th ed. New York:McGraw-Hill, 2002.

Latest revision as of 15:45, 6 July 2006

We can build some very simple filters out of a capacitor and a resistor. A filter blocks some frequencies, while admitting others.

Better filters can be made out of op-amps.

Low-Pass Filters (LPF)

A low-pass filter admits lower frequencies and blocks out high ones. This can help us smooth out our signals and get rid of high frequency noise.

We can make one by hooking up our capacitor and resistor like this:

RC LPF schematic.gif

When set R=500Ω and C=2nF, and hook up an AC voltage source, the voltage we see at depends on the frequency of our source. Here is a plot of the magnitude response of the filter, on a logarithmic scale from 10Hz to 10MHz:

RC LPF magnitude response.gif

Here are plots comparing the input and output voltages for two different frequencies:

RC LPF freq compare.gif

As we can see, the filter blocks the higher frequencies.

A square wave is made out of a superposition of many sine waves, the low-pass filter blocks out the sine waves with higher frequencies. Our input and output looks like:

RC LPF square wave.gif(C=200uF, R=500Ω)

High-Pass Filter (HPF)

A high-pass filter blocks out lower frequencies while letting high frequencies through. The output signal responds more strongly to changes in the input signal, such as that coming from a motion detector.

We can make a simple high-pass filter by hooking up our capacitor and resistor like this:

RC HPF schematic.gif

The magnitude response of a filter with R=500Ω and C=2nF looks like this:

RC HPF magnitude Response.gif

Here are some plots comparing the input and output voltages for two different frequencies:

RC HPF freq compare.gif

This time, the filter blocks the lower frequencies.

When we put a square wave though the filter, the resulting waveform looks like this:

RC HPF square wave.gif(C=200uF, R=500Ω)

Notice that when the input voltage drops to zero, the output voltage becomes negative. This is because the capacitor is discharging, and forcing the current backwards.

References

Hayt, William H. Jr., Jack E. Kemmerly, and Steven M. Durbin. Engineering Circuit Analysis. 6th ed. New York:McGraw-Hill, 2002.