RC Low and High Pass Filters First Order Low Pass RC Filter The diagram illustrates a First Order Low Pass RC Filter. As previously mentioned a low pass filter passes low frequency AC signals (this refers to the pass band region of the filter) and attenuates high frequency signals (in the stop band region). There is also a phase shift between the input and output signals in the stop band area. The corner, cut-off or critical frequency of the filter fC provides a boundary between the pass band and stop band. The frequency response for the voltage gain is illustrated. The filter is called a first order filter because of the presence of a single reactive component C. Higher order filters have more than 1 reactive component (L or C). The order of a filter specifies the shape of the pass band response, the roll-off rate and phase shift in the stop band. Corner Frequency The corner frequency of the filter is defined as the frequency where the voltage gain has dropped to 0.707 (linear value) or -3 dB (log value) of what the gain was at zero frequency. 1 The corner frequency is found as: ππΆ = First Order Low Pass RC Filter Analysis 1 π»π§ ππ ππ 2ππ πΆ The capacitive reactance of C is expressed as XC and is given as The voltage gain AV of the filter is derived using Voltage Divider. π΄π From ππΆ = 1 π πΆ π΄π = ππΆ = 1 π πΆ πππ/π ππ 1 ππΆ = −πππΆ = πππΆ 1 1 ππππ ππΆ 1 πππΆ πππΆ = = = = = 1 πππΆπ + 1 1 + πππΆπ ππΌπ π + ππΆ π + πππΆ πππΆ we can get π πΆ = 1 1 ππΆ Substitute this into the expression for voltage gain π πππ π‘βππ πππ ππ πππ π ππ₯ππππ π ππ ππ 1 + π οΏ½πποΏ½ π΄π = 1 1+ποΏ½ π οΏ½ ππ This expression for voltage gain is a complex number and has a magnitude and phase angle that can be found for its real and imaginary parts. For simplicity use a substitution of A = f/fC and then rationalize the denominator of the resulting expression to create real and imaginary parts of the complex number. π΄π = 1 1 − ππ΄ 1 − ππ΄ 1 π΄ π₯ = = − π 1 + ππ΄ 1 − ππ΄ (1 − (π 2 )π΄2 ) 1 + π΄2 1 + π΄2 This is now a complex number expressed in rectangular form as: c = a + jb The magnitude of the voltage gain is: |AV| = οΏ½οΏ½ 1 2 π΄ 2 1 οΏ½ + οΏ½1+π΄2 οΏ½ = οΏ½(1+π΄2 )2 + 1+π΄2 Substitute A = f/fC Gain of the filter (π΄2 ) (1+π΄2 )2 (1+π΄2 ) 1 = οΏ½ (1+π΄2)2 = οΏ½ (1+π΄2) back into the equation. This gives an expression for the Linear Voltage π΄π = οΏ½ 1 π (1 + ( )2 ) ππΆ 2 = 1 2 οΏ½(1 + οΏ½ π οΏ½ ) ππΆ This is the Linear Voltage Gain as a function of frequency Logarithmic Voltage Gain The voltage gain of the circuit expressed using dBs is found by taking the quantity 20 Log(Linear Voltage gain). π΄π = 20 πππ 1 οΏ½(1+οΏ½ π οΏ½ ππΆ 2 ) The phase angle of the filter circuit is given as Bode Plots π 2 = −10 log οΏ½1 + οΏ½πποΏ½ οΏ½ π π = − tan−1 ( ). ππΆ Bode plots are specifically named graphs of Voltage Gain (Bode magnitude plot) vs frequency and Phase Angle (Bode phase plot) vs frequency. These are shown below. 3 Calculations The voltage gain (linear and log) values and phase angle are calculated at a variety of frequencies that are multiples of f/fc using the equations for voltage gain and phase angle derived above. Frequency Av (dB) Phase Angle (°) f/fc = 0.1 -0.04 -5.7 f/fc = 1.0 -3.03 -45 f/fc = 10 -20 -84 f/fc = 100 -40 -89 f/fc = 1000 -60 -89.9 The data from this table can be plotted in two graphs – one for voltage gain and one for phase angle. The voltage gain of the filter at low frequency is essentially 0 dB (linear gain = 1). The phase angle for the filter is 0 degrees at low frequency and asymptotically approaches -90 ° at high frequency. The phase angle is -45 ° at the corner frequency. If plotted these graphs would be essentially the same as those shown above. Roll Off Rates in Stop Band The slope of the frequency response graph in the Stop Band is called the Roll-Off Rate of the filter. For a first order filter the Roll-Off rate is -20dB/Decade where a decade is a change in frequency of a factor of 10 or - 6dB/Octave where an octave is a change in frequency of a factor of 2 Examples 1. A first order RC filter has a voltage gain of -9.3 dB at 20 kHz. What is the voltage gain at 40 kHz and 200 kHz? A frequency of 40 kHz is one octave higher than 20 kHz. The voltage gain will then decrease by 6 dB to – 15.3 dB. 4 A frequency of 200 kHz is one decade higher than 20 kHz. The voltage gain will then decrease by 20 dB to – 29.3 dB. Higher Order Filters The order of a filter is determined by the number of reactive components (L and C) in the filter. For example a second order filter can be constructed using an Inductor and a Capacitor as shown. The analysis and design of second and higher order filters is complex process that uses the concept of families of filters ( Bessel, Butterworth and Chebyshev) with different response characteristics being introduced. Roll-Off Rates of Higher Order Filters Each increase in order of a filter adds an additional 20 dB/decade (or 6 dB/octave) to the roll-off rate. Filter Order Roll-Off rate (dB/decade) Roll-Off rate (dB/octave) Second order 40 dB/decade 12 dB/octave Third order 60 dB/decade 18 dB/octave Forth order 80 dB/decade 24 dB/octave These increasing roll-off rates are shown in the diagram. 5 First Order High Pass RC Filter The diagram illustrates a First Order High Pass RC Filter. As previously mentioned a high pass filter passes high frequency AC signals (this refers to the pass band region of the filter) and attenuates low frequency signals (in the stop band region). There is also a phase shift between the input and output signals in the stop band area. The corner, cut-off or critical frequency of the filter fC again provides a boundary between the pass band and stop band. Corner Frequency The corner frequency of the filter is defined as the frequency where the voltage gain has dropped to 0.707 (linear value) or -3 dB (log value) of what the gain was at high frequency. The corner frequency is found as: ππΆ = First Order High Pass RC Filter Analysis 1 2ππ πΆ π»π§ ππ ππ The capacitive reactance of C is expressed as XC and is given as The voltage gain AV of the filter is derived using Voltage Divider. 6 1 ππΆ = π πΆ πππ/π ππ ππΆ = −πππΆ = 1 πππΆ π΄π = From ππΆ = 1 π πΆ arranging gives ππππ π π π πππΆπ = = = = 1 πππΆπ + 1 π + ππΆ 1 + πππΆπ ππΌπ π + πππΆ πππΆ we can get π πΆ = 1 π΄π = π 1 + π οΏ½ ππΆ οΏ½ 1 ππΆ Substitute this into the expression for voltage gain and re- πππ πππ ππ πππ π ππ₯ππππ π ππ ππ π΄π = 1 π 1 + π οΏ½ πΆοΏ½ π This expression for voltage gain is a complex number and has a magnitude and phase angle that can be found for its real and imaginary parts. For simplicity use a substitution of A = fC/f and then rationalize the denominator of the resulting expression to create real and imaginary parts of the complex number of the form c = a + jb π΄π = 1 1 − ππ΄ 1 − ππ΄ 1 π΄ π₯ = = − π 1 + ππ΄ 1 − ππ΄ (1 − (π 2 )π΄2 ) 1 + π΄2 1 + π΄2 This is now a complex number expressed in rectangular form The magnitude of the voltage gain is: |AV| = οΏ½οΏ½ 1 2 π΄ 2 1 οΏ½ + οΏ½1+π΄2 οΏ½ = οΏ½(1+π΄2 )2 + 1+π΄2 Substitute A = fC/f Gain of the filter (π΄2 ) (1+π΄2 )2 (1+π΄2 ) 1 = οΏ½ (1+π΄2)2 = οΏ½ (1+π΄2)2 back into the equation. This gives an expression for the Linear Voltage π΄π = οΏ½ 1 2 π οΏ½1 + οΏ½ π οΏ½ οΏ½ π = 1 2 π οΏ½(1 + οΏ½ πΆ οΏ½ ) π This is the Linear Voltage Gain as a function of frequency. Notice the similarities and differences this expression and the equivalent expression for the Low Pass filter. Logarithmic Voltage Gain The voltage gain of the circuit expressed using dBs is found by taking the quantity 20 Log(Linear Voltage gain). 7 π΄π (ππ΅) = 20 πππ 1 οΏ½ οΏ½1+οΏ½πποΏ½2οΏ½ π The phase angle of the high pass filter circuit is given as Bode Plots π π π = tan−1( ππΆ ). The Bode Plots for the First Order High Pass are shown below. 8 2 = −10 log οΏ½1 + οΏ½ ππΆ οΏ½ οΏ½ Calculations The voltage gain (linear and log) values and phase angle are calculated at a variety of frequencies that are multiples of fC/f using the equations for voltage gain and phase angle derived above. Frequency Av (dB) Phase Angle (°) fC/f = 1000 -60 +89.9 fC/f = 100 -40 +89 fC/f = 10 -20 +84 fC/f = 1.0 -3.03 +45 fC/f = 0.1 -0.04 +5.7 Question: Does fC/f = 0.1 represent a low or high frequency? The data from this table can be plotted in two graphs – one for voltage gain and one for phase angle. The voltage gain of the filter at high frequency is essentially 0 dB (linear gain = 1). The phase angle for the filter is+90 degrees at low frequency and asymptotically approaches 0 ° at high frequency. The phase angle is +45 ° at the corner frequency. If plotted these graphs would be essentially the same as those shown above. Roll Off Rates in Stop Band As with the low pass filter the slope of the frequency response graph in the Stop Band is called the RollOff Rate of the filter. For a first order filter the Roll-Off rate is -20dB/Decade where a decade is a change in frequency of a factor of 10 or - 6dB/Octave where an octave is a change in frequency of a factor of 2 Application Note Written by David Lloyd Computer Engineering Program Humber College 9