AIR UNIVERSITY
DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING
EXPERIMENT NO 1
Lab Title: 2nd Order Active Low Pass & High Pass Filter
Student Name: Reg. No:
Objective: 1st and 2nd order Passive and Active Filters
LAB ASSESSMENT:
Excellent Good Average Satisfactory Unsatisfactory
Attributes
(5) (4) (3) (2) (1)
Ability to Conduct
Experiment
Ability to assimilate the
results
Effective use of lab
equipment and follows the
lab safety rules
Total Marks: Obtained Marks:
LAB REPORT ASSESSMENT:
Excellent Good Average Satisfactory Unsatisfactory
Attributes
(5) (4) (3) (2) (1)
Data presentation
Experimental results
Conclusion
Total Marks: Obtained Marks:
Date: Signature:
EXPERIMENT NO 1
2ND ORDER ACTIVE LOW PASS & HIGH PASS FILTER
Objectives:
To design and construct active low-pass & high-pass Butterworth filters using operational
amplifiers.
Equipment required:
Oscilloscope
Function Generator
Trainer
Operational Amplifier (LM-741)
Resistors
Capacitors
Filters and Signals:
A filter is a circuit that is designed to pass a specified band of frequencies while attenuating all
signals outside this band. Filter networks may be either active or passive. Passive filter networks
contain only resistors, inductors, and capacitors. Active filters, which are the only type covered
in this text, employ operational amplifiers (op-amps) and resistors and capacitors. The output
from most biological measuring systems is generally separable into signal and noise. The signal
is that part of the data in which the observer is interested; the rest may be noise. This noise
includes unwanted biological data and no biological interference picked up by or generated in the
measuring equipment. Ideally, we would like to remove it while retaining the signal, and often
this is possible by suitable filtration. If the spectra of signal and noise occupy completely
separate frequency ranges, then a filter may be used to suppress the noise (Figure 1.1). As filters
are defined by their frequency-domain effects on signals, it makes sense that the most useful
analytical and graphical descriptions of filters also fall under the frequency domain. Thus, curves
of gain versus frequency and phase versus frequency are commonly used to illustrate filter
characteristics, and most widely used mathematical tools are based on the frequency domain. The
frequency-domain behavior of a filter is described mathematically in terms of its transfer
function or network function. This is the ratio of the Laplace transforms of its output and input
signals. The voltage transfer function of a filter can therefore be written as
where s is the complex frequency variable, the Laplace transform approach to the filter analysis
allows the designer to work with algebraic equations in the frequency domain. These are
relatively easy to interpret by observation. In contrast, a time-domain approach to filter
mathematics results in complex differential equations that are usually far more difficult to
manipulate and interpret.
The transfer function defines the filter’s response to any arbitrary input signals, but we are most
often concerned with its effect on continuous sine waves, especially the magnitude of the transfer
function to signals at various frequencies. Knowing the transfer function magnitude (or gain) at
each frequency allows us to determine how well the filter can distinguish between signals at
different frequencies.
Figure-1.1 filter reduce the effect of an undesired signal.
The transfer function magnitude versus frequency is called the amplitude response or sometimes,
especially in audio applications, the frequency response.
The first type is the low-pass filter (LPF). As might be expected, an LPF passes low-frequency
signals, and rejects signals at frequencies above the filter’s cutoff frequency (Figure 1.2.). The
ideal filter has a rectangular shape, indicating that the boundary between the passband and the
stopband is abrupt and that the rolloff slope is infinitely steep. This type of response is ideal
because it allows us to completely separate signals at different frequencies from one another.
Unfortunately, such an amplitude response curve is not physically realizable. We will have to
settle for the approximation that will still meet our requirements for a given application.
Figure 1.2 Filter Response
Deciding on the best approximation involves making a compromise between various properties
of the filter’s transfer function. The important properties are the following.
Filter order: The order of a filter has several effects. It is directly related to the number of
components in the filter and, therefore, to its price and the complexity of the design task.
Therefore, higher-order filters are more expensive, take up more space, and are more difficult to
design. The primary advantage of higher-order filters is that they will have steeper rolloff slopes
than similar lower-order filters.
Figure 1.3 Number of poles and Roll off rate
Roll off rate: Usually expressed as the amount of attenuation in dB for a given ratio of
frequencies. The most common units are “dB/decade” or “dB/octave.”
Amax is the maximum allowable change in gain within the passband. This quantity is also often
called the maximum passband ripple.
Amin is the minimum allowable attenuation (referred to the maximum passband gain) within the
stopband.
f1 is the cut-off frequency or passband limit.
fs is the frequency at which the stopband begins.
These four parameters define the order of the filter.
The inverse of the low-pass is the high-pass filter, which rejects signals below its frequency.
Butterworth Filters:
The first, and probably best-known, filter is the Butterworth or maximally flat response. It
exhibits a nearly flat passband. The cut-off frequency is the frequency at which the voltage gains
drops by 3dB from the voltage gain in the pass band. Above this frequency, the input signal is
attenuated at a rate of -12 dB/octave, at a rate that is equivalent to -40 dB/decade for such a 2nd
order filter. A Butterworth low-pass is often used as an anti-aliasing filter in data converter
applications where precise signal levels are required across the entire pass band.
Calculations
A 2nd order transfer function that realizes a LPF characteristic is:
The transfer function of this filter is given by:
Equating the coefficients of the denominators in Equations (1.1) and (1.2) gives
and
As a design procedure, let R1 = R2 and C1 = C2. Equation (2.4) then reduces to
For Butterworth response, 1 Q 2 hence, we obtain,
The gain of the op-amp can be set to give
Thus, typical values of R & can be chosen to yield this ratio.
3
R4
Low Pass Filter Circuit Diagram:
High Pass Filter Circuit Diagram:
Procedure for Low Pass Filter Circuit:
Design and construct a 2nd order active LPF having Butterworth characteristics and a
cutoff frequency of your choice (e.g. 20 kHz).
With VI adjusted to produce a 2 Vp-p sine wave at 100 Hz, measure and record the peak
value of Vo. Since 100 Hz is within the pass band of this filter, these values can be used
to determine the pass band voltage gain Avo.
Now increase the frequency of the signal generator until the output voltage V o (and
therefore the voltage gain) equals 3dB less than the peak value. The frequency where this
occurs is the cut off frequency fc of the filter.
Note the vales in the given table for different values of input frequency.
Plot the frequency response of the filter clearly mentioning the cut-off frequency.
Procedure for High Pass Filter Circuit:
Design and construct a 2nd order active HPF having Butterworth characteristics and a
cutoff frequency of your choice (e.g. 40 kHz).
With VI adjusted to produce a 2 Vp-p sine wave at 100 Hz, measure and record the peak
value of Vo.
Now increase the frequency of the function generator and record the peak value of Vo.
Note the vales in the given table for different values of input frequency.
Note the frequency at which the output voltage VO equals 3dB less than the peak value.
This is the cut off frequency fc of the filter.
Plot the frequency response of the filter clearly mentioning the cut-off frequency.
2nd order Passive Low Pass Filter
Components:
R1 = 500ohms
R2 = 500ohms
C1 = 0.01nF
C2 = 0.01nF
Cut-off Frequency fc = 10k
Voltage peak-peak = 4V
Circuit Diagram:
Proteus:
Observation:
No.of Obs. fi Vo Vo Vi 20log(Vo Vi )
Gain in dB
1 1k 4V 1 0
2 2k 3.90V 0.975 -0.219
3 4k 3.70V 0.925 -0.677
4 6k 3.40V 0.85 -1.412
5 8k 3.10V 0.775 -2.214
6 10k 2.80V 0.7 -3.0
Output:
Frequency Response:
2nd order Passive High Pass Filter
Components:
R1 = 500ohms
R2 = 500ohms
C1 = 0.01nF
C2 = 0.01nF
Cut-off Frequency fc = 10k
Voltage peak-peak = 4V
Circuit Diagram:
Proteus:
Output:
Observation:
No.of fi Vo Vo Vi 20log(Vo Vi )
Obs.
Gain in dB
1 1k 300mV 1 0
2 2k 800mV 0.975 -0.219
3 4k 1.70V 0.925 -0.677
4 6k 2.30V 0.85 -1.412
5 10k 2.80V 0.7 -3.0
Frequency Response:
Home Task:
1. Design a 1st order Active Low Pass & High Pass filter at critical frequency fc = 10 kHz
on Proteus and plot the response curve.
2. Design a 1st order Passive Low Pass & High Pass filter at critical frequency fc = 10
kHz on Proteus and plot the response curve.
3. Compare the results obtained in (1) and (2).
Question 1 solution:
1st order Active Low Pass Filter:
Calculations:
Here cut-off frequency is given which is fc = 10kHz.
I choose a value of the capacitor to be C = 0.1uF.
The formula for first-order cut-off frequency is fc = 1 / 2piRC. Here we have the value of the cut-off
frequency and capacitor so we can get the value of resistor “R” by rearranging the formula of cut-off
frequency.
fc = 1 / 2piRC
10kHz = 1 / 2piR x 0.1uF
R = 1 / 2pi x 10k x 0.1uF
R = 159 ohms
To calculate gain or adjust gain according to requirement. The formula is given below:
Ao = 1 + (Rf / R1) for non-inverting amplifier
I assumed a gain of Ao = 2, Now I can predict the value of Rf and R1.
Let R1 = 10k. Formula becomes 2 = 1+ (Rf/10k)
Rf = (2-1) x 10k = 10kohms
Components Values Predicted:
C = 0.1uF
R = 159 ohms
R1 = 10k
Rf = 10k
Circuit Diagram on proteus:
Observations for Low Pass Filter:
Input peak-to-peak voltage, Vi = 4V Cut-off frequency, fc = 10kHz
At Frequency = 1kHz, Vin = 4V, Vout = 8
No.of Obs. fi Vo Vo Vi 20log(Vo Vi )
Gain in dB
1 1k 8V 2 6.02
2 2k 7.80V 1.95 5.8
3 4k 7.40V 1.85 5.343
4 6k 6.80V 1.7 4.61
5 8k 6.20V 1.55 3.81
6 10k 5.60V 1.4 2.922
7 12k 5.10V 1.275 2.11
8 14k 4.60V 1.15 1.214
9 16k 4.20V 1.05 0.424
10 18k 3.80V 0.95 -0.445
Frequency Responses:
1st order Active High Pass Filter:
Calculations:
Here cut-off frequency is given which is fc = 10kHz.
I choose a value of the capacitor to be C = 0.1uF.
The formula for first-order cut-off frequency is fc = 1 / 2piRC. Here we have the value of the cut-off
frequency and capacitor so we can get the value of resistor “R” by rearranging the formula of cut-off
frequency.
fc = 1 / 2piRC
10kHz = 1 / 2piR x 0.1uF
R = 1 / 2pi x 10k x 0.1uF
R = 159 ohms
To calculate gain or adjust gain according to requirement. The formula is given below:
Ao = 1 + (Rf / R1) for non-inverting amplifier
I assumed a gain of Ao = 2, Now I can predict the value of Rf and R1.
Let R1 = 10k. Formula becomes 2 = 1+ (Rf/10k)
Rf = (2-1) x 10k = 10kohms
Components Values Predicted:
C = 0.1uF
R = 159 ohms
R1 = 10k
Rf = 10k
Circuit Diagram on proteus:
Question 2 solution:
1st order Passive Low Pass Filter:
Here cut-off frequency is given which is fc = 10kHz.
I choose a value of the capacitor to be C = 0.1uF.
The formula for first-order cut-off frequency is fc = 1 / 2piRC. Here we have the value of the cut-off
frequency and capacitor so we can get the value of resistor “R” by rearranging the formula of cut-off
frequency.
fc = 1 / 2piRC
10kHz = 1 / 2piR x 0.1uF
R = 1 / 2pi x 10k x 0.1uF
R = 159 ohms
Components Values Predicted:
C = 0.1uF
R = 159 ohms
Circuit Diagram on proteus:
Observations for Low Pass Filter:
Input peak-to-peak voltage, Vi = 4V Cut-off frequency, fc = 10kHz
At Frequency = 1kHz, Vin = 4V, Vout = 4V
No.of Obs. fi Vo Vo Vi 20log(Vo Vi )
Gain in dB
1 1k 4V 1 0
2 2k 3.90V 0.975 -0.219
3 4k 3.70V 0.925 -0.677
4 6k 3.40V 0.85 -1.412
5 8k 3V 0.75 -2.499
6 10k 2.80V 0.7 -3.09
7 12k 2.50V 0.625 -4.08
8 14k 2.30V 0.575 -4.81
9 16k 2.10V 0.525 -5.597
10 18k 1.90V 0.475 -6.466
Frequency Responses:
Question 2 solution:
1st order Passive High Pass Filter:
Here cut-off frequency is given which is fc = 10kHz.
I choose a value of the capacitor to be C = 0.1uF.
The formula for first-order cut-off frequency is fc = 1 / 2piRC. Here we have the value of the cut-off
frequency and capacitor so we can get the value of resistor “R” by rearranging the formula of cut-off
frequency.
fc = 1 / 2piRC
10kHz = 1 / 2piR x 0.1uF
R = 1 / 2pi x 10k x 0.1uF
R = 159 ohms
Components Values Predicted:
C = 0.1uF
R = 159 ohms
Circuit Diagram on proteus:
Observations for Low Pass Filter:
Input peak-to-peak voltage, Vi = 4V Cut-off frequency, fc = 10kHz
At Frequency = 1kHz, Vin = 4V, Vout = 400mV
No.of Obs. fi Vo Vo Vi 20log(Vo Vi )
Gain in dB
1 1k 400mV 0.1 -20
2 2k 800mV 0.2 -13.979
3 4k 1.5V 0.375 -8.519
4 6k 2.10V 0.525 -5.597
5 8k 2.50V 0.625 -4.082
6 10k 2.80V 0.7 -3.09
7 12k 3.10V 0.775 -2.214
8 14k 3.30V 0.825 -1.671
9 16k 3.40V 0.85 -1.412
10 18k 3.50V 0.875 -1.159
Frequency Responses:
Compare the results obtained in (1) and (2):
In first order low or high pass filter signal have same frequency initially when I increase the
frequency until signal reach cut-off. In low pass signal decreases and after cut-off signal
approximately equal to 0. I get -3dB at 10kHz. Similarly, when I contract high pass filter signal is
going to increase when I increase the frequency and cut-off frequency is at 10kHz. In Passive filter
signal is going to just increase or decrease but in active filter signal is more than input signal due to
gain. Active filter has more precise and controlled frequency response than passive filters.
Conclusion:
In conclusion, we understand the concept of active and passive filters and how to design these filters
in lab to analyze their different behaviors. Active filters showed off their capacity for complex
frequency response shaping and signal amplification by utilizing operational amplifiers and active
components along with passive components such as resistors and capacitors. On the other hand
passive filters are very easy to design but their frequency response shaping is not ideal just like
active filters.