Lab Report - ECE
Lab Report - ECE
Aidan Murray
1. Introduction
The purpose of this project was to combine the students knowledge of active filters, operational
amplifiers, and LED systems. Each of these aspects contributed to the final goal of designing and
constructing a functioning filter system that produces sound when musical signals are passed through
2. Background Information
2.1 Filters
Two separate types of active filter were applied through this lab. Active filters are systems that control
output signals based on the frequency of the signal input, and the filter is able to provide an output based
on the average power of the circuit. This allows the filter to provide a gain greater than 1.
One type of filter is the Low-pass filter, which means that lower values of input frequency are able to pass
the filter without interference while high frequency values are limited by the filter. High-pass filters, the
other type used in the lab, act in the opposite way by allowing high frequency values to pass while
controlling low frequency values. The cutoff frequency for each type of filter is based on the values of the
components used to construct the circuit. [1]
!" =
1
! !
Equation 2.1 Cutoff Frequency Equation for Low-Pass Filter; Rf = Feedback Resistor Value, CL = Capacitance
!" =
1
! !
Equation 2.2 Cutoff Frequency Equation for High-Pass Filter; Rf = Feedback Resistor Value, CH = Capacitance
It is possible to connect multiple filters in series (called cascading filters) to create a Band-Pass filter,
which has both a low frequency and high frequency cutoff, allowing a bandwidth of frequency through the
filter.
Final Experiment
Aidan Murray
Page 2 of 16
Bandwidth is defined as the width of frequencies that will pass through a band-pass filter, and is
calculated by subtracting the lower cutoff frequency from the higher cutoff frequency. This can be
visualized below.
Final Experiment
Aidan Murray
Page 3 of 16
The LM741 is a general purpose Operational Amplifier, while the LM386 is a power amplifier used for
sound applications.
2.3 LED Display
The LED display is set up as a voltage ladder with a comparator circuit. One input of the comparator is
the signal from the music, and the other is a voltage source, and when the music signal is greater than
the voltage signal, the appropriate LED will turn on. Four comparator circuits were used in parallel with a
voltage ladder to ensure that the LED Bar lit up.
PE =
NV MV
NV
*100
Equation 2.3 Percentage Error (PE) Equation, Nominal Value (NV), Measured Value (MV)
!"#
!"
= 20!"
!"#
!"
Equation 2.5 Decibel Cutoff Value Equation in terms of VOUT and VIN
Final Experiment
Aidan Murray
Page 4 of 16
Final Experiment
Aidan Murray
Page 5 of 16
Description
(1) Breadboard
Prototype Breadboard
BNC Cable
Component
Value
Notation
(10) Resistor
Varying*
R1 R10
(8) Capacitor
Varying*
C1 C8
10k
P 1, P 2
--
LED
LM741
LM741
LM386
LM386
6 / 18W
--
(2) Potentiometer
(2) LED Bar
(2) Speaker
* Values can be found on diagram for Circuit 2.3 & Circuit 2.4
4. Experimental Procedures
4.1 Prelab 11
Students calculated values necessary for each component value in order to achieve the appropriate
output signal from the various filters. Each filter type (Low pass, High pass, and Band Pass) had separate
calculations necessary. The researchers then performed a Multisim Analysis of each filter type to serve
as a comparison for the experimental results.
4.2 Prelab 12
The students repeated the procedure for Prelab 11, but this time considering the values necessary to
output for the treble system of the circuit. Then, the students used Multisim analysis to calculate
necessary values for the LED Bar.
Final Experiment
Aidan Murray
Page 6 of 16
Table 5.1.1 Low Pass filter Output Characteristics with 1k Resistor Load
Final Experiment
Aidan Murray
Page 7 of 16
Magnitude (mV)
300
250
200
V_in Simulated
150
V_in Measured
V_out Simulated
100
V_out Measured
50
0
0
1000
2000
3000
4000
5000
6000
7000
Frequency (Hz)
Figure 5.1.1 Visualization of Low Pass Filter Characteristics
Final Experiment
Aidan Murray
Page 8 of 16
Equation 2.1 Percent Error (PE); Nominal Value (NV); Measured Value (MV)
5.1835 5
= 3.54%
5.1835
Table 5.2.1 - High Pass filter Output Characteristics with 1k Resistor Load
Final Experiment
Aidan Murray
Page 9 of 16
Magnitude (mV)
300
250
200
V_in Simulated
V_in Measured
150
V_out Simulated
100
V_out Measured
50
0
0
1000
2000
3000
4000
5000
6000
7000
Frequency (Hz)
Figure 5.2.1 Visualization of High Pass Filter Characterization
Final Experiment
Aidan Murray
Page 10 of 16
Table 5.3.1 - Band Pass filter Output Characteristics with 1k Resistor Load
Magnitude (V)
3
2.5
2
V_in Simulated
1.5
V_in Measured
V_out Simulated
0.5
V_out Measured
0
0
1000
2000
3000
4000
5000
6000
7000
Frequency (Hz)
Figure 5.3.1 Visualization of Band Pass Filter Characterization
Final Experiment
Aidan Murray
Page 11 of 16
Bass Circuit
Final Experiment
Aidan Murray
Page 12 of 16
5.4.2
Treble Circuit
Page 13 of 16
it was measured. Otherwise, the error throughout the lab stayed around 5% 8%, which is well within
the limitation where it can be attributed to the tolerance of each component.
Another source of error that could significantly contribute to the 39% error described above is the fact that
the researchers were forced to make substitutions on the resistor values because the lab did not have
exact values for the resistors. In most cases, the resistor values were rounded to the nearest 100, which
is very significant when working with 3183 resistor values, but less significant when working with resistor
values that are in excess of 58k.
A final source of potential error could be the additional capacitors used between the VCC and ground for
the LM741 Op amps. The nature of capacitors is that they charge up over time, eventually becoming an
open circuit when fully charged because no current can flow through the capacitor. This should not be of
concern because there was a sinusoidal input signal, but if the magnitude of the sinusoid surpasses the
value of VCC then the capacitors would start charging. If this pattern was constantly occurring, the
Capacitors could theoretically reach a full charge and eventually open the circuit, which would cause
there to be a lack of voltage supply to the active filters.
The Final result of all the simulations only confirms the expectations for the lab, as each circuit
successfully created a band pass frequency of the desired bandwidth. One small inconsideration that
caused slight error in the band-pass frequency set was the fact that the researchers did not consider that
there would be overlap in the frequency sets of the treble and bass filters, so the cutoff frequency used to
calculate the component values for the treble was 5kHz, instead of the 4kHz intended for use in the
circuit. This error proved unimportant because both circuits still amplified the appropriate signals and
provided sound that was clear and in the correct sound register.
Now to address some of the analysis questions:
1. Why was the LM741 incapable of driving a 6 load?
a. The LM741 is incapable of driving the 6 load because its output short circuit current
limit is between 10mA and 40mA, both of which are below the output current when there
is a 6 resistor in the load. Leaving a 6 load as the output for the LM741 resistors could
potentially blow the Op Amp, leaving the circuit inoperable.
2. Why is the LM386 capable of driving the 6 load?
a. The LM386 is a power Op Amp, and therefore is capable of dealing with higher output
currents than 40mA. This means that it is capable of delivering the current to the 6
Speaker used in the experiment
Final Experiment
Aidan Murray
Page 14 of 16
GWU SEAS ECE Department. " Experiment #11: Final Project Preparation Lab 1 Active Filter
Design." The ECE 2110 Course Website, Summer 2015.
http://www.seas.gwu.edu/~ece11/summer15/labs/labs/ECE_2110_Experiment_11.pdf
[2]
GWU SEAS ECE Department. " Experiment #12: Final Project Preparation Lab 2 Active Filter
and LED Display Design." The ECE 2110 Course Website, Summer 2015.
Final Experiment
Aidan Murray
Page 15 of 16
http://www.seas.gwu.edu/~ece11/summer15/labs/labs/ECE_2110_Experiment_12.pdf
[3]
GWU SEAS ECE Department. "Experiment #8: Operational Amplifiers and Applications." The
ECE 2110 Course Website, Summer 2015.
http://www.seas.gwu.edu/~ece11/summer15/labs/labs/ECE_2110_Experiment_8.pdf
[4]
Thomas, Roland E., Albert J. Rosa, and Gregory J. Toussaint. The Analysis and Design of Linear
th
Circuits. 7 ed. Hoboken, NJ: Wiley, 2012.
9. Appendices
9.1 Operational Amplifier Setup
Final Experiment
Aidan Murray
Page 16 of 16