Docsity

Active Filter Design - Laboratory Experiment 12 | ECE 225, Lab Reports of Electrical Circuit Analysis

Toggle sidebar
bg1
Boise State University
Department of Electrical and Computer Engineering
ECE225L – Circuit Analysis and Design Lab
Experiment #12: Active Filter Design
1 Objectives
The objectives of this laboratory experiment are to design a second-order active Sallen and Key
bandpass filter and to investigate its filtering characteristics.
2 Theory
Filters perform different roles in many types of electronic equipment. In power supplies, they are
frequently used to attenuate undesirable ripple. In audio circuits, they are used for bass and treble
control. In signal processing applications, they are sometimes used to band limit a signal before
sampling it.
There are four basic types of filters: the low-pass, the high-pass, the bandpass, and the bandstop
(or bandreject or notch). Analog filters are classified as either passive or active. Passive filters are
designed using only passive components (resistors, inductors, and capacitors). Active filters, on
the other hand, are built using passive elements along with active devices such as transistors and
op-amps. A circuit derived by amplifying the output of a passive filter using an op-amp cannot
be called an active filter! The op-amp must be part of the resonant circuit or feedback loop. Op-
amps are generally preferred over transistors in active filters because of their high performance
characteristics and low cost.
RF
RI
C1
+
−
+
−
v (t)
iv (t)
o
+
−
R2
+
−
v (t)
3
R3
2
R1
C
Figure 1: Second-Order Sallen and Key Bandpass Filter
1
pf3
pf4
pf5
pf8

Partial preview of the text

Download Active Filter Design - Laboratory Experiment 12 | ECE 225 and more Lab Reports Electrical Circuit Analysis in PDF only on Docsity!

Boise State University Department of Electrical and Computer Engineering ECE225L – Circuit Analysis and Design Lab

Experiment #12: Active Filter Design

1 Objectives

The objectives of this laboratory experiment are to design a second-order active Sallen and Key bandpass filter and to investigate its filtering characteristics.

2 Theory

Filters perform different roles in many types of electronic equipment. In power supplies, they are frequently used to attenuate undesirable ripple. In audio circuits, they are used for bass and treble control. In signal processing applications, they are sometimes used to band limit a signal before sampling it.

There are four basic types of filters: the low-pass, the high-pass, the bandpass, and the bandstop (or bandreject or notch). Analog filters are classified as either passive or active. Passive filters are designed using only passive components (resistors, inductors, and capacitors). Active filters, on the other hand, are built using passive elements along with active devices such as transistors and op-amps. A circuit derived by amplifying the output of a passive filter using an op-amp cannot be called an active filter! The op-amp must be part of the resonant circuit or feedback loop. Op- amps are generally preferred over transistors in active filters because of their high performance characteristics and low cost.

RF

RI

C 1

v (t)i vo (t)

R 2

R 3 v 3 (t)

R 1 C 2

Figure 1: Second-Order Sallen and Key Bandpass Filter

Typically, an active filter uses combinations of op-amps, resistors, and capacitors to obtain a re- sponse equal to or better than that of a passive filter. For example, in order to obtain a sharp response using a passive filter, several passive stages may have to be cascaded. Each stage would tend to load down the previous stage attenuating not only the undesirable frequencies but also the wanted frequency part of the signal to be filtered. This problem is referred to as insertion loss. Active filters practically eliminate insertion loss due to the high input impedance and low output impedance of an op-amp. Furthermore, with active filtering, we can attenuate unwanted frequencies while amplifying desired ones. Two other advantages of active filters include simplicity of design and ease of tuning. Additionally, active filters usually do not use inductors which are bulky, expensive, and depart substantially from the ideal than capacitors.

In this experiment, we will investigate the performance characteristics of a bandpass filter using an active Sallen and Key filter. First, let us review some important parameters of a bandpass filter. Refer to Figure 2 for the physical description of each term.

Center Frequency: The center or resonant frequency, fo is the frequency at which the maximum gain of the filter occurs.

Maximum Gain: The maximum gain Ho is the ratio of the output amplitude Vo,pp to the input amplitude Vi,pp at the center or resonant frequency fo:

Ho =

Vo,pp Vi,pp

Lower and Upper Cutoff Frequencies: The lower and upper cutoff frequencies (also called half- power frequencies) fL and fH are, respectively, the frequencies below and above the resonant frequency where the filter gain drops to 1/

2 of its maximum value Ho. These frequencies are also called the 3-dB frequencies because their gain is 3 dB lower than the maximum gain Ho in dB. Thus,

H 1 = H 2 = Ho √ 2

or (2)

20 log 10 H 1 (dB) = 20 log 10 H 2 (dB) = 20 log 10 Ho − 3 (dB) (3)

Theoretically, the resonant frequency fo is the geometric mean of the half-power frequencies fL and fH , that is

fo =

√ fLfH (4)

Passband: The passband is the frequency range for the part of the signal that is not attenuated (i.e., the gain is still within 3 dB of the maximum gain). Hence, the frequency range for the passband lies between the lower and upper cutoff frequencies, fL and fH.

Bandwidth: The bandwidth, given by β, is closely related to the passband. The bandwidth is essentially a measure of how wide the passband is. That is, the bandwidth is the difference between the upper and lower cutoff frequencies

β = fH − fL (5)

Quality Factor: The quality factor of a filter is denoted Q. This is a dimensionless quantity expressed as the ratio of the center frequency to the bandwidth

Q = fo β

Usually, a second-order bandpass transfer function is written in the following standard form

H(s) =

Ho

( ωo Q

) s s^2 +

( ωo Q

) s + ω o^2

Comparing the coefficients in Equations (11) and (12), we see that:

ωo =

RC

Q =

3 − K

Ho =

K

3 − K

where ωo, Q, and Ho have been defined previously. From Equations (14) and (15), we notice that Q and Ho are not independent. They are both determined from K.

In order to ensure the stability of the filter, we must make sure that the poles of the transfer function are in the left half of the s-plane. The poles of the transfer function given in Equation (12) are given by

s 1 , 2 = −

3 − K

2 RC

√( 3 − K 2 RC

) 2 −

( 1 RC

) 2 (16)

Therefore, the filter will be stable as long as Re(s 1 , 2 ) < 0. Thus, we must ensure that the gain of the amplification stage is less than 3 (i.e., K < 3).

3 Equipment

  • HP/Agilent 54810A Infinium Oscilloscope
  • HP/Agilent 33120A Function/Arbitrary Waveform Generator
  • HP/Agilent 4263B RLC Meter (Shared)

4 Procedure

Part A: Fourier Series

0 T 2

T 3T 2

2T 5T 2 −2.

−5.

v(t) (V)

t (s)

Figure 3: Test Periodic Waveform

  1. Program the periodic waveform shown in Figure 3 using the arbitrary function generator and the instructions on pages 103-108. Use N = 12 points and enter the following:

Start Point Value End Point Value 00000 0.5000 00001 0. 00002 1.0000 00003 1. 00004 0.5000 00005 0. 00006 -0.5000 00007 -0. 00008 -1.0000 00009 -1. 00010 -0.5000 00011 -0.

  1. Set the frequency of the trapezoidal waveform at 1 kHz and display about 40 complete cycles on the scope. Run an FFT magnitude on this waveform. Use the markers to measure the harmonics present. The frequency scale should be at 1 kHz per division. Save a plot of the harmonic spectrum. (What harmonics of the fundamental frequency are either missing or attenuated?)

Part B: Transfer Function of an Active Bandpass Filter

  1. Select R 1 = R 2 = RI = 3 .3 kΩ, R 3 = 2 × 3 .3 kΩ, and C 1 = C 2 = 0. 047 μF for the Sallen and Key bandpass filter shown in Figure 1. For RF , use a 10-kΩ potentiometer. Connect a function generator (sine wave, 5-V peak-to-peak, zero offset) to the input and adjust the frequency and the feedback resistor RF until you obtain an output waveform that is 5-V peak-to-peak and in phase with the input waveform. (Use the Lissajous or X-Y feature of the scope.)
  2. Apply the arbitrary waveform shown in Figure 3 to the input of the Sallen and Key filter. Adjust the amplitude to 5 V peak-to-peak, the frequency to the resonant frequency fo found above. Submit a plot of this input waveform as well as the output waveform superimposed on each other.

5 Report Questions

  1. What harmonics of the fundamental frequency are either missing or are attenuated in Part A?
  2. Comment on the output of the active filter in Part B.2.
  3. Plot the normalized magnitude H/Ho of the frequency response from your results in Part C.2. (Submit two plots: One plot with a linear frequency axis and a linear gain axis, and another plot with a logarithmic frequency axis and a gain axis in decibels (dB). Comment on the shapes of both plots.)
  4. Measure the following parameters directly from the plot and compare them to the nominal ones as well as those predicted using the exact measured values in Equations (13) and (15).

fo (Hz) fL (Hz) fH (Hz) β = fH − fL (Hz) Ho Q K Nominal 1000 - - 500 5 2 5/ Measured

  1. Comment on the output of the active filter in Part C.3.

Boise State University Department of Electrical and Computer Engineering ECE225L – Circuit Analysis and Design Lab

Experiment #12: Fourier Series and Active Filters

Date:

Data Sheet Recorded by:

Equipment BSU Tag Number or Serial Number HP/Agilent 54810A Infinium Oscilloscope HP/Agilent 33120A Function/Arbitrary Waveform Generator HP/Agilent E3631A Triple Output Power Supply

Part C: Active Filter Design

f (Hz) Vo,pp (V) Vi,pp (V) H = Vo/Vi 7.50 5. 10.00 5. 12.50 5. 15.00 5. 17.50 5. 20.00 5. 22.50 5. 25.00 5. 22.50 5. 20.00 5. 17.50 5. 15.00 5. 12.50 5. 10.00 5. 7.50 5.

R 1 (kΩ) R 2 (kΩ) R 3 (kΩ) RI (kΩ) RF (kΩ) C 1 (μF) C 2 (μF) Nominal 3.3k 3.3k 2x3.3k 3.3k 4.95k 0. 047 μ 0. 047 μ Measured