SECTION 2 First Order Filters
SECTION 2 First Order Filters
FIRST-ORDER FILTERS
ENGR 202 – Electrical Fundamentals II
2 Introduction
Filter
Frequency spectrum
An amplitude vs. frequency plot
X-axis is frequency – not time
Y-axis is amplitude
Time-domain Frequency-domain
White noise:
Time-domain Frequency-domain
Fourier transform
Transforms a time-domain representation to a frequency spectrum
∞
𝑉𝑉 𝜔𝜔 = � 𝑣𝑣 𝑡𝑡 𝑒𝑒 −𝑗𝑗𝑗𝑗𝑗𝑗 𝑑𝑑𝑑𝑑
−∞
1 ∞
𝑣𝑣 𝑡𝑡 = � 𝑉𝑉 𝜔𝜔 𝑒𝑒 𝑗𝑗𝑗𝑗𝑗𝑗 𝑑𝑑𝑑𝑑
2𝜋𝜋 −∞
A mathematical transform
Two different ways of looking at the same signal
A change in perspective not a change of the signal itself
Frequency response
Description of system behavior as a function of
frequency
Gain and phase
Units of
magnitude
are dB
Magnitude
plot on top
Gain plotted in dB
Two resonant peaks
clearly visible
Linear frequency
axis
Lower resonant
frequency is unclear
Bode plots tell you the gain and phase shift at all frequencies:
choose a frequency, read gain and phase values from the plot
For a 10MHz
For a 10KHz sinusoidal
sinusoidal input, the
input, the gain is -32dB
gain is 0dB (1) (0.025), and
and the phase the phase
shift is 0°. shift is -176°.
pass stop
band band
stop band stop band pass band pass band
pass band
stop band
Now consider a circuit whose resistances have been replaced with impedances :
𝐕𝐕𝑜𝑜 𝑍𝑍2
𝐻𝐻 𝜔𝜔 = =
𝐕𝐕𝑠𝑠 𝑍𝑍1 + 𝑍𝑍2
Frequency response is now a complex function of
frequency
Gain and phase vary as a function of frequency
Basis for the design of first-order filters
K. Webb ENGR 202
37 RC Low Pass Filter
1
𝐻𝐻 𝜔𝜔 =
1 + 𝑗𝑗𝑗𝑗𝑗𝑗𝑗𝑗
Recall from ENGR 201 that the transient response of this same circuit is
characterized by its time constant, 𝜏𝜏 = 𝑅𝑅𝑅𝑅
In the frequency domain, this is the corner frequency or break frequency
1 1 1
𝜔𝜔𝑐𝑐 = = and 𝑓𝑓𝑐𝑐 =
𝜏𝜏 𝑅𝑅𝑅𝑅 2𝜋𝜋𝜋𝜋𝜋𝜋
As 𝑓𝑓 → ∞
Capacitor → short circuit
𝑣𝑣𝑜𝑜 shorted to ground
Gain → zero
K. Webb ENGR 202
RC Low Pass Filter – Bode Plot
40
Low-frequency
asymptote
at 0dB
Response rolls off at
-20dB/decade, or
Gain is -3 dB at 𝑓𝑓𝑐𝑐 , the -6dB/octave above 𝑓𝑓𝑐𝑐
bandwidth of the
filter
𝑓𝑓𝑐𝑐 = 200 𝑘𝑘𝑘𝑘𝑘𝑘
Low-frequency
asymptote One decade below 𝑓𝑓𝑐𝑐
at 0°
High-frequency
asymptote
One decade above 𝑓𝑓𝑐𝑐 at -90°
𝐻𝐻 7𝑀𝑀𝑀𝑀𝑀𝑀 = −30.9𝑑𝑑𝑑𝑑
Filter
RC LPF design
Need to select R and C to set the
corner frequency
1
𝑓𝑓𝑐𝑐 = = 10 𝑘𝑘𝑘𝑘𝑘𝑘
2𝜋𝜋𝜋𝜋𝜋𝜋
As 𝑓𝑓 → ∞
Capacitor → short circuit
𝑣𝑣𝑜𝑜 shorted to 𝑣𝑣𝑠𝑠
Gain → unity
K. Webb ENGR 202
RC High Pass Filter – Bode Plot
58
High-frequency
asymptote
at 0 dB
Gain is -3dB at 𝑓𝑓𝑐𝑐
𝑓𝑓𝑐𝑐 = 1 𝑘𝑘𝑘𝑘𝑘𝑘
DAQ system
Datasheet says 𝑅𝑅𝑖𝑖𝑖𝑖 = 10 𝑀𝑀Ω
Let 𝑅𝑅𝑖𝑖𝑖𝑖 be the filter resistance
Calculate C to get desired 𝑓𝑓𝑐𝑐
1 1
𝐶𝐶 = =
2𝜋𝜋𝑓𝑓𝑐𝑐 𝑅𝑅 2𝜋𝜋 ⋅ 10𝐻𝐻𝐻𝐻 ⋅ 10𝑀𝑀Ω
𝐶𝐶 = 15.9 𝑛𝑛𝑛𝑛
Or anything in that neighborhood
Not critical – just want to block DC
K. Webb ENGR 202
RC HP Filter – Application Example
64
High-impedance
scope front-end:
Configured for
DC coupling:
Configured for
AC coupling:
Can also use inductors to make RL low pass and high pass filters
Capacitors are usually preferable for simple first-order filters
Smaller
Cheaper
Draw no DC current
𝑅𝑅 𝑅𝑅
Corner frequency: 𝑓𝑓𝑐𝑐 = Corner frequency: 𝑓𝑓𝑐𝑐 =
2𝜋𝜋𝜋𝜋 2𝜋𝜋𝜋𝜋
As 𝑓𝑓 → ∞
Inductor → open circuit
𝑖𝑖 𝑡𝑡 → 0
𝑣𝑣𝑜𝑜 → 0
Gain → zero
𝑗𝑗𝑗𝑗𝑗𝑗
𝐻𝐻 𝜔𝜔 =
𝑅𝑅 + 𝑗𝑗𝑗𝑗𝐿𝐿
1 𝑅𝑅 𝑅𝑅
𝜔𝜔𝑐𝑐 = = and 𝑓𝑓𝑐𝑐 =
𝜏𝜏 𝐿𝐿 2𝜋𝜋𝜋𝜋
As 𝑓𝑓 → ∞
Inductor → open circuit
𝑖𝑖 𝑡𝑡 → 0
𝑣𝑣𝑜𝑜 → 𝑣𝑣𝑠𝑠
Gain → unity
K. Webb ENGR 202
74 Audio Filter Demo
2-chan. Scope
14-bit, 100MSa/s
5MHz bandwidth
2-chan. function generator
14-bit, 100MSa/s
5MHz bandwidth
2-chan. spectrum analyzer
Network analyzer
Voltmeter
±5V power supplies
16-chan. logic analyzer
16-chan. digital pattern
generator
USB connectivity