Active and Passive Filters
Active and Passive Filters
Assistant Professor
Department of Electrical Engineering
The Yardi School of Artificial Intelligence
The Bharti School of Telecommunication Technology and Management
Indian Institute of Technology Delhi
Outline
1 Introduction
2 Transfer Function
3 Passive Filters
4 Active Filters
1/42
Introduction
I The frequency response of a circuit is the variation in its behaviour with change in
signal frequency.
2/42
Outline
1 Introduction
2 Transfer Function
3 Passive Filters
4 Active Filters
3/42
Transfer Function
I
Y(!)
H(!) =
X(!)
4/42
Possible transfer functions:
5/42
Transfer Function
I The transfer function H(!) can be expressed in terms of its numerator polynomial
N (!) and denominator polynomial D(!) as
I
N(!)
H(!) =
D(!)
I A zero, as a root of the numerator polynomial, is a value that results in a zero value
of the function. A pole, as a root of the denominator polynomial, is a value for which
the function is infinite.
6/42
Transfer Function of RC Circuit
I For the RC circuit, obtain the transfer function Vo /Vs and its frequency response.
Solution:
where !0 = 1/RC.
7/42
I To plot H and for 0 < ! < 1, we obtain their values at some critical points and
then sketch.
At ! = 0, H = 1pand = 0. At ! = 1, H = 0 and = 90 . Also, at
! = !0 , H = 1/ 2 and = 45 , we find that the frequency response
c-
8/42
Outline
1 Introduction
2 Transfer Function
3 Passive Filters
4 Active Filters
9/42
Passive Filters
I A filter is a circuit that is designed to pass signals with desired frequencies and reject
or attenuate others.
1. A lowpass filter passes low frequencies and stops high frequencies.
2. A highpass filter passes high frequencies and rejects low frequencies.
3. A bandpass filter passes frequencies within a frequency band and blocks or attenuates
frequencies outside the band.
4. A bandstop filter passes frequencies outside a frequency band and blocks or attenuates
frequencies within the band.
0¥
"
I o I
①
↳ f o
10%0
10/42
Characteristics Ideal Filters
11/42
Low Pass Filter
I A typical lowpass filter is formed when the output of an RC circuit is taken off the
capacitor as shown in Figure.
Vo 1/j!C
H(!) = =
Vi R + 1/j!C
1
H(!) =
1 + j!RC
12/42
I Note that H(0) = 1, H(1) = 0. Figure shows the plot of |H(!)|, along with the
ideal characteristic. The half-power frequency, which is equivalent to the corner
frequency on the Bode plots but in the context of filters is usually knownpas the cutoff
frequency !c , is obtained by setting the magnitude of H(!) equal to 1/ 2, thus,
1 1
H (!c ) = p = p
1 + !c2 R2 C 2 2
or
1
!c =
RC
I The cutoff frequency is also called the rolloff frequency.
I A lowpass filter is designed to pass only frequencies from dc up to the cutoff
frequency !c .
I A lowpass filter can also be formed when the output of an RL circuit is taken off the
resistor. Of course, there are many other circuits for lowpass filters.
13/42
Highpass Filter
I A highpass filter is formed when the output of an RC circuit is taken off the resistor
as shown in Figure.
Vo R
H(!) = =
Vi R + 1/j!C
j!RC
H(!) =
1 + j!RC
14/42
I Note that H(0) = 0, H(1) = 1. Figure shows the plot of |H(!)|. Again, the corner
or cutoff frequency is
1
!c =
RC
I A highpass filter is designed to pass all frequencies above its cutoff frequency !c .
I A highpass filter can also be formed when the output of an RL circuit is taken off the
inductor.
15/42
Bandpass Filter
* ⇐
I The RLC series resonant circuit provides a bandpass filter when the output is taken
off the resistor as shown in Figure. The transfer function is
Vo R
H(!) = =
Vi R + j(!L 1/!C)
i%w÷%o ,
16/42
I We observe that H(0) = 0, H(1) = 0. Figure shows the plot of |H(!)|. The
bandpass filter passes a band of frequencies (!1 < ! < !2 ) centered on !0 , the
center frequency, which is given by
1
!0 = p
LC
A bandpass filter is designed to pass all frequencies within a band of frequencies,
!1 < ! < ! 2 .
The bandpass filter in Fig. is a series resonant circuit. A bandpass filter can also be
formed by cascading the lowpass filter (where !2 = !c ) with the high pass
filter(where !1 = !c ). The cutoff frequency is the frequency at which the transfer
function H drops in magnitude to 70.71% of its maximum value. It is also regarded as
the frequency at which the power dissipated in a circuit is half of its maximum value.
17/42
17.*
¥
-1€
Bandstop Filter
I A filter that prevents a band of frequencies between two designated values (!1 and
!2 ) from passing is variably known as a bandstop, bandreject, or notch filter. A
bandstop filter is formed when the output RLC series resonant circuit is taken off the
LC series combination as shown in Figure. The transfer function is
Vo j(!L 1/!C)
H(!) = =
Vi R + j(!L 1/!C)
-
18/42
I Notice that H(0) = 1, H(1) = 1. Figure shows the plot of |H(!)|. Again, the
center frequency is given by
1
!0 = p
LC
Here, !0 is called the frequency of rejection, while the corresponding bandwidth
(B = !2 !1 ) is known as the bandwidth of rejection.
I A bandstop filter is designed to stop or eliminate all frequencies within a band of
frequencies, !1 < ! < !2 .
19/42
Question
I Determine what type of filter is shown in Figure. Calculate the corner or cutoff
frequency. Take R = 2k⌦, L = 2H, and C = 2µF.
20/42
Solution
Vo Rk1/sC
H(s) = = , s = j!
Vi sL + Rk1/sC
But
1 R/sC R
Rk = =
sC R + 1/sC 1 + sRC
Substituting this into Eq. gives
R/(1 + sRC) R
H(s) = = 2 , s = j!
sL + R/(1 + sRC) s RLC + sL + R
21/42
I
R
H(!) =
! 2 RLC + j!L + R
Since H(0) = 1 and H(1) = 0, we conclude that the circuit is a second-order
lowpass filter. The magnitude of H is
R
H= q
(R ! 2 RLC)2 + ! 2 L2
The corner frequency
p is the same as the half-power frequency, i.e., where H is reduced
by a factor of 1/ 2. Since the dc value of H(!) is 1 , at the corner frequency,
1 R2
H2 = =
2 (R !c2 RLC)2 + !c2 L2
or
✓ ◆2
2 !c L
2= 1 !c2 LC +
R
22/42
I ✓ ◆2
2 !c L
2= 1 !c2 LC +
R
Substituting the values of R, L, and C, we obtain
6 2 3 2
2= 1 !c2 4 ⇥ 10 + !c 10
Assuming that !c is in krad/s,
2
2= 1 4!c2 + !c2 or 16!c4 7!c2 1=0
Solving the quadratic equation in !c2 , we get !c2 = 0.5509 and -0.1134 . Since !c is
real,
!c = 0.742krad/s = 742rad/s
23/42
Outline
1 Introduction
2 Transfer Function
3 Passive Filters
4 Active Filters
24/42
Active Filters
I Active filters consist of combinations of resistors, capacitors, and op amps. They offer
- - -
some advantages over passive RLC filters.
I First, they are often smaller and less expensive, because they do not require
inductors. This makes feasible the integrated circuit realizations of filters.
I Second, they can provide amplifier gain in addition to providing the same frequency
response as RLC filters.
I Third, active filters can be combined with buffer amplifiers (voltage followers) to
isolate each stage of the filter from source and load impedance effects. This isolation
allows designing the stages independently and then cascading them to realize the
desired transfer function.
25/42
Active Filter
26/42
First-Order Lowpass Filter
Vo Zf
H(!) = =
Vi Zi
where Zi = Ri and
1 Rf /j!Cf Rf
Zf = R f k = =
j!Cf Rf + 1/j!Cf 1 + j!Cf Rf
27/42
First-Order Lowpass Filter
I Therefore,
Rf 1
H(!) =
Ri 1 + j!Cf Rf
Low frequency (! ! 0) gain or dc gain of Rf /Ri . Also, the corner frequency is
1
!c =
Rf Cf
which does not depend on Ri . This means that several inputs with different Ri could
be summed if required, and the corner frequency would remain the same for each
input
28/42
First-Order Highpass Filter
00
I Figure shows a typical highpass filter. As before,
Vo Zf
H(!) = =
Vi Zi
where Zi = Ri + 1/j!Ci and Zf = Rf so that
Rf j!Ci Rf
H(!) = =
Ri + 1/j!Ci 1 + j!Ci Ri
High frequencies (! ! 1), the gain tends to Rf /Ri . The corner frequency is
1
!c =
Ri Ci 29/42
Bandpass Filter
I Bandpass filter that will have a gain K over the required range of frequencies. By
cascading a unity-gain lowpass filter, a unity-gain highpass filter, and an inverter with
gain Rf /Ri , as shown in the block diagram, we can construct a bandpass filter
whose frequency response.
30/42
Bandpass Filter
31/42
Bandpass Filter
Rf j!/!1 Rf j!!2
H(!) = =
Ri (1 + j!/!1 ) (1 + j!/!2 ) Ri (!1 + j!) (!2 + j!)
p
At the center frequency !0 = !1 !2 , the magnitude of the transfer function is
Rf j!0 !2 Rf !2
|H (!0 )| = =
Ri (!1 + j!0 ) (!2 + j!0 ) R i !1 + !2
Thus, the passband gain is
Rf !2
K=
R i !1 + !2
33/42
Bandreject (or Notch) Filter
34/42
Bandreject (or Notch) Filter
35/42
Bandreject (or Notch) Filter
I To determine the passband gain K of the filter, we can write above Eq. in terms of
the upper and lower corner frequencies as
✓ ◆
Rf 1 j!/!1
H(!) = +
Ri 1 + j!/!2 1 + j!/!1
2
Rf 1 + j2!/!1 + (j!) /!1 !1
=
Ri (1 + j!/!2 ) (1 + j!/!1 )
Comparing this with the standard form indicates that in the two passbands (! ! 0
and ! ! 1) the gain is
Rf
K=
Ri
We can also find the gain at the center frequency by finding the magnitude of the
p
transfer function at !0 = !1 !2 , writing
2
Rf 1 + j2!0 /!1 + (j!0 ) /!1 !1
H (!0 ) =
Ri (1 + j!0 /!2 ) (1 + j!0 /!1 )
Rf 2!1
=
R i !1 + !2
36/42
Question
I Design a bandpass filter to pass frequencies between 250 Hz and 3, 000 Hz and with
K = 10. Select R = 20k⌦.
37/42
Solution
1. Define. The problem is clearly stated and the circuit to be used in the design is
specified.
2. Present. We are asked to use the op amp circuit specified to design a bandpass filter.
We are given the value of R to use (20k⌦). In addition, the frequency range of the
signals to be passed is 250 Hz to 3kHz.
3. Alternative. We will use the equations developed to obtain a solution. We will then
use the resulting transfer function to validate the answer.
4. Attempt. Since !1 = 1/RC2 , we obtain
38/42
I
1 1 1
C2 = = = = 31.83nF
R!1 2⇡f1 R 2⇡ ⇥ 250 ⇥ 20 ⇥ 103
Similarly, since !2 = 1/RC1 ,
1 1 1
C1 = = = = 2.65nF
R!2 2⇡f2 R 2⇡ ⇥ 3, 000 ⇥ 20 ⇥ 103
Therfore,
Rf !1 + !2 f1 + f2 10(3, 250)
=K =K = = 10.83
Ri !2 f2 3, 000
If we select Ri = 10k⌦, then Rf = 10.83Ri ' 108.3k⌦.
39/42
I 5. Evaluate. The output of the first op amp is given by
Vi 0 V1 0 s2.65 ⇥ 10 9 (V1 0)
+ +
20k⌦ 20k⌦ 1
Vi
= 0 ! V1 =
1 + 5.3 ⇥ 10 5 s
The output of the second op amp is given by
V1 0 V2 0
1 + =0!
20k⌦ + s31.83nF
20k⌦
6.366 ⇥ 10 4 sV1
V2 =
1 + 6.366 ⇥ 10 4 s
6.366 ⇥ 10 4 sVi
=
(1 + 6.366 ⇥ 10 4 s) (1 + 5.3 ⇥ 10 5 s)
40/42
I The output of the third op amp is given by
V2 0 Vo 0
+ = 0 ! Vo = 10.83V2 ! j2⇡ ⇥ 25
10k⌦ 108.3k⌦
6.894 ⇥ 10 3 sVi
Vo =
(1 + 6.366 ⇥ 10 4 s) (1 + 5.3 ⇥ 10 5 s)
Clearly this is the upper corner frequency and the answer checks.
41/42
REFERENCES
I Alexander,CharlesK."Fundamentalsofelectriccircuits".McGraw-Hill,2013.
42/42