EMJ22204-Chapter 3 - Active Filters
EMJ22204-Chapter 3 - Active Filters
Analog Electronics
Active Filters
(Pt.1,2 & 3)
Dr. Afif Nazib
➢ INTRODUCTION
➢ TYPES OF FILTERS
EMJ22204-Analog Electronics 2
Learning Outcomes
EMJ22204-Analog Electronics 3
Introduction
What’s a filter?
• A frequency-selective circuit that passes a specified
band of frequencies and blocks or attenuates signals
of frequencies outside this band.
• Signals are usually voltages.
EMJ22204-Analog Electronics 4
Advantages of Active Filters
• Flexibility of gain and frequency adjustment:
Input signal in active filters is not attenuated as it is in passive filters
due to the voltage gain provided by the op-amps. Tuning and
adjustments is easier in active filters.
• Cost and size:
Active filters are less expensive than passive filters because of the
availability of low-cost op-amps and the absence of inductors.
• Gain:
An active filter can provide gain, whereas a passive filter often exhibits a
significant loss.
• Parasitics:
Parasitics are reduced in active filters because of their smaller size.
• Filtering functions:
Active filters can realize a wider range of filtering functions than passive
filters.
EMJ22204-Analog Electronics 5
Active Filter Applications
Active filters are best suited for sophisticated
electronics systems.
• Biomedical equipments
• Television
• Radar
• Telephone
• Spectrum Analyzer
EMJ22204-Analog Electronics 6
Types of Filters
• There are 4 basic categories of filters:
Type of Filters Ideal Responses
Low-pass filter
0 f
fL fH
High-pass filter
0 f
fL fH
Gain
Band-pass filter
0 f
fL fH
Band-stop filter
0 f
fL fH
Each of these filters can be built by using op-amp (active) or with RC, RL or
RLC circuit (passive).
EMJ22204-Analog Electronics 7
Active Low-Pass Filter Response
A low-pass filter is a filter that passes frequencies from 0Hz to critical
frequency, fc and significantly attenuates all other frequencies.
0 f
fL fH
Bandwidth
R2
Frequency
fc
EMJ22204-Analog Electronics 8
Active Low-Pass Filter Response
1 Gain
1 2
Passband of a filter is the range of
Passband Stop band
frequencies that are allowed to pass
through the filter with minimum 0dB -3dB
attenuation (usually defined as less
than -3 dB of attenuation). 4
Bandwidth
2
Stop band is the range of
frequencies that have the Frequency
fc
most attenuation 3
3
Critical frequency, fc, (also called the cutoff frequency) defines the end of the
passband and normally specified at the point where the response drops -3dB
(70.7%) from the passband response.
4
Transition region shows the area where the fall-off occurs.
EMJ22204-Analog Electronics 9
Active Low-Pass Filter Response
Gain
• At low frequencies, XC
Passband Stop band
is very high and the 0dB -3dB R
capacitor circuit can be
considered as open
Vin C Vout
circuit. Under this Bandwidth
EMJ22204-Analog Electronics 10
Active Low-Pass Filter Response
R
Gain
Vin
Vout Passband Stop band
0dB -3dB
C R1
Bandwidth
R2
Frequency
fc
R
Vin R
Vout
C R1
Vin C Vout
R2
R = XC 0dB -3dB
1
1 1 fc =
R= = 2 RC
Bandwidth
cC 2 f cC Frequency
fc
EMJ22204-Analog Electronics 12
Active High-Pass Filter Response
A high-pass filter is a filter that significantly attenuates or rejects all
frequencies below fc and passes all frequencies above f c.
0 f
fL fH
Bandwidth
R2
Frequency
fc
EMJ22204-Analog Electronics 13
Active High-Pass Filter Response
Gain
• At low frequencies, XC
is very high and the Stop band Passband
C
capacitor circuit can be 0dB
-3dB
considered as open R
Vin Vout
circuit. Under this Bandwidth
condition,
Vout /Vin <Gain fc
Frequency
Gain
• At very high
frequencies, XC is very Stop band Passband R
0dB
low and can be treated -3dB
or Gain =1 (unity).
Frequency
fc
EMJ22204-Analog Electronics 14
Active High-Pass Filter Response
• To derive the critical frequency fc, consider the basic RC circuit of a
high-pass filter: (Derivation is similar to LPF)
C
Vin C
Vout
R R1
Vin R Vout
R2
R = XC
Stop band Passband
0dB
-3dB
1
1 1 fc =
R= = 2 RC Bandwidth
cC 2 f cC Frequency
fc
EMJ22204-Analog Electronics 15
Active Band-Pass Filter Response
A band-pass filter passes all signals lying within a band between a
lower-frequency limit and upper-frequency limit and essentially rejects
all other frequencies that are outside this specified band.
Filter Schematic Frequency Response
Passive Gain Ideal
C R Band-pass filter
Vin R C Vout
STOP PASS STOP
0 f
fL fH
Active Actual
C Gain
R
Vin
Vout
Stop band Passband Stop band
R R1
C R 0dB
-3dB
R2
R
Bandwidth
Frequency
fc1 fo fc2
EMJ22204-Analog Electronics 16
Active Band-Pass Filter Response
Wide Band-Pass Filter Narrow Band-Pass Filter
R
C R Passive Passive
Vin L C Vout
Vin R C Vout
C2 Active
C
R
Active
Vin R2
Vout
R R1 R1 C1
C R Vin
Vout
R2
R
Gain Gain
Bandwidth
BW
Frequency Frequency
fc1 fo fc2 fc1 fo fc2
EMJ22204-Analog Electronics 17
Active Band-Pass Filter Response
Gain
1
Bandwidth is defined as the
difference between the upper Stop band PB Stop band
0dB
critical frequency (fc2) and the
lower critical frequency (fc1). -3dB
BW = f c 2 − f c1
1
BW
2
The frequency about which
Frequency
the pass band is centered is fc1 fo fc2
called the center frequency, 2
fo and defined as the R
geometric mean of the
critical frequencies.
Vin L C Vout
fo = f c1 f c 2
EMJ22204-Analog Electronics 18
Active Band-Pass Filter Response
Gain
1
The quality factor (Q) of a
band-pass filter is the ratio of
the center frequency to the
1
bandwidth.
Q Factor
fo
Q=
BW Frequency
fo
EMJ22204-Analog Electronics 19
Active Band-Stop Filter Response
Band-stop filter is a filter which its operation is opposite to that of the
band-pass filter because the frequencies within the bandwidth are
rejected, and the frequencies above fc1 and fc2 are passed.
Filter Schematic Frequency Response
Passive Ideal
R C Band-stop filter
0 f
fL fH
Active Actual
R Gain
Vin C
Vout Stop band
PB PB
C R1
R R 0dB
-3dB
Bandwidth
R2
R
Frequency
fc1 fo fc2
EMJ22204-Analog Electronics 20
Active Band-Stop Filter Response
Wide Band-Stop Filter Narrow Band-Stop Filter
R
R Passive Passive
C
L
R Active C2 Active
Vin C
Vout R3
C R1
R R R1 C1
R2
R
R2
R4
Gain Gain
Frequency Frequency
fc1 fo fc2 fc1 fo fc2
EMJ22204-Analog Electronics 21
How The Filter Works
EMJ22204-Analog Electronics 22
Filter Response Characteristics
Av
There are 3 characteristics of
filter response : Butterworth
Chebyshev
Bessel
• Butterworth characteristic
• Chebyshev characteristic
• Bessel characteristic.
Frequency
Comparative plots of three types of filter
response characteristics
EMJ22204-Analog Electronics 23
Filter Response Characteristics
Butterworth Characteristics
Av
Butterworth
• Filter response is characterized Chebyshev
by flat amplitude response in Bessel
the passband.
• Filters with the Butterworth response are normally used when all
frequencies in the passband must have the same gain.
EMJ22204-Analog Electronics 24
Filter Response Characteristics
Chebyshev Characteristics
Av
• Filter response is characterized
Butterworth
by overshoot or ripples in the Chebyshev
passband. Bessel
Frequency
• Provides a roll-off rate greater
than -20 dB/decade/pole.
• Filters with the Chebyshev response can be implemented with fewer poles
and less complex circuitry for a given roll-off rate.
EMJ22204-Analog Electronics 25
Filter Response Characteristics
Bessel Characteristics
Av
Butterworth
• Filter response is characterized Chebyshev
Bessel
by a linear characteristic,
meaning that the phase shift
increases linearly with
frequency.
EMJ22204-Analog Electronics 26
Filter Response Characteristics
Frequency Scaling Factor
EMJ22204-Analog Electronics 27
Filter Response Characteristics
EMJ22204-Analog Electronics 28
Filter Response Characteristics
EMJ22204-Analog Electronics 29
Filter Response Characteristics
Relationship between quality (Q) factor and damping factor (DF)
1
Q=
DF
Applicable to all filter design
EMJ22204-Analog Electronics 30
Filter Response Characteristics
Critical frequency and roll-off rate
Single-pole low-pass circuit
• The critical frequency, fc is R
determined by the values Vin
of R and C in the Vout
frequency-selective RC C R1
circuit.
• Greater roll-off rates can be achieved One pole (first-order) low-pass filter
with more poles.
EMJ22204-Analog Electronics 31
Filter Response Characteristics
Critical frequency and roll-off rate
EMJ22204-Analog Electronics 32
Filter Response Characteristics
Cascaded Filters
To obtain a filter with three poles, cascade three (3) one-pole filters.
R
R
Vin R
C R1 Vout
C R3
C R5
R2
R4
R6
EMJ22204-Analog Electronics 33
34
EMJ22204-Analog Electronics 34
35
C R1
Gain
Bandwidth
Frequency
fc
EMJ22204-Analog Electronics 35
36
Bandwidth
Frequency
fc
• In high pass filters, the roles of the capacitor and resistor are
reversed in the RC circuits.
• The negative feedback circuit is the same as for the low pass filters.
EMJ22204-Analog Electronics 36
37
R C
Vin Vin
Vout Vout
C R1 R R1
R2 R2
0dB Q=3
RA RB Q=1
Vin Q=0.707
Vout
CB R1
R2
Frequency
fc
EMJ22204-Analog Electronics 38
39
• The position of the resistors and capacitors in the frequency selective circuit
are opposite in low pass configuration.
• There are two set of RCs that provide a roll off of -40 dB/decade above fc
(assuming a Butterworth characteristics,refer pg. 24).
• One RC circuit consists of RA and CA , and the second circuit consists of RB
and CB.
Two-pole high-pass circuit
RA
Gain
R2
Frequency
fc
EMJ22204-Analog Electronics 39
40
RA RB CA CB
Vin Vin
Vout Vout
CB R1 RB R1
R2 R2
EMJ22204-Analog Electronics 41
42
1
fc =
2 RC
# Drawback???
- Design gain is limited by selected Q value.
# Independent Q and fc.
EMJ22204-Analog Electronics 42
43
RA RB
Vin
Vout
CB R1
R2
EMJ22204-Analog Electronics 43
44
RA = RB = 1.0k
EMJ22204-Analog Electronics 44
45
EMJ22204-Analog Electronics 45
46
: https://www.ti.com/lit/an/sloa049b/sloa049b.pdf
EMJ22204-Analog Electronics 46
47
CA
RA RB
Vin
Vout
CB
EMJ22204-Analog Electronics 47
48
1
fc =
2 RC mn
mn mn
QLP = QHP =
1+ m 1+ n
# Drawback???
- Design gain is unity.
-Non-independent design.
EMJ22204-Analog Electronics 48
49
CA
RA RB
Vin
Vout
CB
EMJ22204-Analog Electronics 49
50
CB
Given fc =7.23kHz, m = 5. We can then find
n:
From Table 1, Q for 2nd
mn order Butterworth
QLP = = 0.7071 response is 0.7071.
1+ m Real values for RC circuit:
n= = = 3.6 • RA =R = 235.84Ω
m 5
• RB = mR =5 X 235.84 =1.18k Ω
Given fc =7.23kHz, C=22nF. We can find R:
• CB = C =22nF
1
fc = = 7.23kHz • CA = nC = 3.6 X 22n = 79.2nF
2 RC mn
1 1
R= = = 235.84
2 Cf c mn 2 22n 7.23k 5 3.6
EMJ22204-Analog Electronics 50
51
RA RB
Vin
Vout
CB R1
R2
EMJ22204-Analog Electronics 51
52
1
fc =
2 RC m
m m
QLP = QHP =
2 + m − Acl ( NI ) 2 + m (1 − Acl ( NI ) )
EMJ22204-Analog Electronics 52
53
RA RB
Vin
Vout
CB R1
R2
EMJ22204-Analog Electronics 53
54
CB R1
1
fc = = 7.23kHz Real values for RC circuit:
2 RC m
1 1
R= = = 707.53 • RA =R = 707.53Ω
2 Cf c m 2 22n 7.23k 2
• RB = mR =2 X 235.84 =1.42k Ω
• CB = C =22nF
EMJ22204-Analog Electronics 54
55
: https://www.ti.com/lit/an/sloa049b/sloa049b.pdf
EMJ22204-Analog Electronics 55
56
R2
EMJ22204-Analog Electronics 56
57
EMJ22204-Analog Electronics 57
58
Cascading Filter
• A three-pole filter is done by cascading a two-pole filter with single pole filter
or cascading 3 single pole filter.
R2
R4
Cascading Filter
• Same case with the low pass filter, first order and second order high pass
filters can be cascaded to provide three or more poles leading to faster roll off
rates.
CA1 CB1
CA2 CB2
Vin CA3 CB3
RB1 R1 Vout
RB2 R3
RB3 R5
R2
R4
R6
-20dB/decade -20dB/decade -20dB/decade
EMJ22204-Analog Electronics 59
60
Cascading Filter
Two-pole low-pass circuit
Two-pole low-pass circuit
CA1
CA2
RA1 RB1
Vin RA2 RB2
Vout
CB1 R1
CB2 R3
R2
R4
EMJ22204-Analog Electronics 60
61
Cascading Filter
Example 4:
Determine all the required values to produce a Butterworth response with a
critical frequency, fc of 2680 Hz if all resistors in RC low pass circuit is
1.8kΩ. Assume equal value of capacitor and both stages must have the same
fc. Two-pole low-pass circuit
Two-pole low-pass circuit
CA1
CA2
RA1 RB1
Vin RA2 RB2
Vout
CB1 R1
CB2 R3
R2
R4
EMJ22204-Analog Electronics 61
62
Cascading Filter
Solution:
: https://www.ti.com/lit/an/sloa049b/sloa049b.pdf
EMJ22204-Analog Electronics 62
63
Cascading Filter
Solution:
Step 1: Solve for RC circuit.
CB2 R3
1
C=
2 Rf c R2
R4
1
= = 0.033 F
2 1.8k 2.68k
C A1 = CB1 = C A2 = CB 2 = 0.033 F
EMJ22204-Analog Electronics 63
64
Cascading Filter
Solution:
Step 2: Find negative feedback circuit value, R1 and R2
1
= 3− = 1.1523 R2
R4
0.5412
R
Acl ( NI ) = 1 + 1 = 1.1523
R2
3 Assume R2 =10kΩ
2 Non-inverting feedback resistor ratio
R1
R1 = 0.1523
1+ = 1.1523 R2
R2
R1 = 0.1523R2 = 0.1523 10k
R1
= 1.1523 − 1 = 0.1523 = 1523 1.5k
R2
EMJ22204-Analog Electronics 64
65
Cascading Filter
Solution:
Step 3: Find negative feedback circuit value, R3 and R4
1
= 3− = 2.2346 R2
R4
1.3065
R
Acl ( NI ) = 1 + 3 = 2.2346
R4
3 Assume R4 =10kΩ
2 Non-inverting feedback resistor ratio
R3
R3 = 1.2346
1+ = 2.2346 R4
R4
R3 = 1.2346 R4 = 1.2346 10k
R3
= 2.2346 − 1 = 1.2346 = 12346 ~ 12k
R4
EMJ22204-Analog Electronics 65
66
CA1 CB1
Vin RA2 RB2
Vout
RB1 R1
CB2 R3
R2 R4
EMJ22204-Analog Electronics 66
67
-3dB
BW
Frequency
fc1 fo fc2
• The lower frequency fc1 of the passband is the critical frequency of the
high-pass filter.
• The upper frequency fc2 of the passband is the critical frequency of the
low-pass filter.
EMJ22204-Analog Electronics 67
68
-3dB
1
f c1 =
2 RA1RB1C A1CB1
BW
1
fc 2 = Frequency
2 RA 2 RB 2C A 2CB 2
fc1 fo fc2
1
fo =
2 RC
EMJ22204-Analog Electronics 68
69
CA1 CB1
Vin RA2 RB2
Vout
RB1 R1
CB2 R3
R2 R4
EMJ22204-Analog Electronics 69
70
1
= = 87.61kHz R2 R4
2 100 pF 33k 10k
1 1
f c1 = = = 48.23kHz
2 R1C 2 (33k )(100 p)
87.61kHz
fc 2 =
1
=
1
= 159.15kHz Q = = 0.79
2 R2C 2 (10k )(100 p) 110.92kHz
BW = f c 2 − f c1 = 159.15k − 48.23k = 110.92kHz
EMJ22204-Analog Electronics 70
71
1
fo =
2 ( R1 R2 ) R2C1C2
BW
Frequency
fc1 fo fc2
EMJ22204-Analog Electronics 71
72
R2
Q Q Q
R1 = R2 = R3 =
2 f oCAo f oC 2 f oC (2Q 2 − Ao )
• The maximum gain, Ao occurs at the center frequency
R2
Ao =
2 R1
EMJ22204-Analog Electronics 72
73
EMJ22204-Analog Electronics 73
74
R1 C2
Assume C1=C2=C=0.01µF Vin
Vout
f 25k
Q= o = = 50 R3
BW 500
EMJ22204-Analog Electronics 74
75
-3dB BW
R3
R4
Frequency
fc1 fo fc2
EMJ22204-Analog Electronics 75
76
Recap
EMJ22204-Analog Electronics 76