


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The instructions and exercises for lab 4 in the electrical and computer engineering course ece65 at the university of california, san diego, during the spring 2006 semester. The lab focuses on opamps, specifically active filters, integrators, and differentiators. Students are required to perform circuit analysis, pspice simulations, and lab experiments to understand the concepts and gain practical experience.
Typology: Lab Reports
1 / 4
This page cannot be seen from the preview
Don't miss anything!



ECE65, Spring 2006
Lab 4, OpAmps: Active Filters, Integrators, and Differentiators
Experiment 1: 1st Order Low-Pass Active Filter:
Set up an active filter as shown. Set the input as a sinusoidal wave with an amplitude of 1 V. Set R 1 = 10 kΩ, R 2 = 20 kΩ, and C 2 = 10 nF. use ±15 V to power the OpAmp.
Circuit Analysis: Calculate (analytically) the gain and cut-off frequency of this active filter.
PSpice Simulation: Simulate the circuit with PSpice. Generate the frequency response of this amplifier for the frequency range of 10 Hz to 100 kHz. Attach the Bode plots (both amplitude and phase). Find the cut-off frequency and the gain of the filter. Do they match the analytical results?
1
i (^) o
2 2
C R R
V V
Lab Exercise: a) Set the function generator to produce a sinusoidal wave with an amplitude of 1 V and connect it to the input. Attach Scope channel A to the input and Scope channel B to the output. Vary the frequency and at various points, measure the output voltage and the phase shift between input and output (It is sufficient to scan the frequency range of 0. 1 fc to 10fc). Generate the Bode plots (both amplitude and phase) for this amplifier circuit and compare with your PSpice simulations. As you increase the frequency, look at the shape of the output signal. Stop your measurements if the shape departs from a sin wave (due to the slew rate). Report the frequency that this happens, lower the input amplitude until you have a sinusoidal output and continue with your measurements.
b) Determine the gain and cut-off frequency of this filter from your experimental data. Do they match your simulations/calculation results? You may want to measure the value of R 1 , R 2 , and C 2 and repeat your analytical calculations of gain and cut-off frequency and compare with the experimental results.
c) Compare the properties of this filter with first-order RL or RC low-pass filters. Explain when one should use this filter as opposed to a RL or RC filter.
Experiment 2: Integrator
Set up a circuit similar to Experiment 1 with R 1 = 10 kΩ, C 2 = 10nF, and R 2 = 100 kΩ.
Circuit Analysis: Write down formula for output voltage as a function of input voltage (ignore R 2 ). Compute the output voltage if input is a square wave signal with a period T and amplitude Vi (no DC offset).
PSpice Simulation 1: Use PSpice to simulate the response of this circuit (transient analysis for 10 ms) to a square wave input with a frequency of 1 kHz and amplitude of 1 V (with no DC offset). You need to use VPULSE voltage source for this analysis. Check your simulation results and show that the circuit indeed integrates the input signal and follows the analytical calculations. Note that it takes a few periods before the transients die away and you get steady-state signal.
PSpice Simulation 2: The ideal integrator discussed in the class has no R 2 in the circuit. Use PSpice to simulate the above circuit with R 2 removed. Explains what happens to the output signal. Deduce from these two simulations the function of R 2.
Lab Exercise:
a) Set up the circuit without R 2. Apply a square wave with an amplitude of 1 V (no DC offset) and frequency of 1 kHz. Look at the output waveform. Similar to PSpice simulations, the output is at one of OpAmp saturation voltages. Expand the setting of the scope channel that shows the output to 5 V/division. Next touch the two terminals of the capacitor by your fingers. Note that as long as your fingers are touching the capacitor terminals, the output does a nice integration but as soon as your remove your finger, output drifts rapidly to around ±15 V. Why does this happen?
b) Now add the R 2 resistor. Sketch your input and output traces and show that the integrator indeed integrates the input. Compare with your simulations.
c) The price we pay for adding R 2 is to make this circuit into a low-pass active filter (similar to Experiment 1). The integrator works only if the frequency of the input signal is much larger than the cut-off frequency of this active filter. Calculate the cut-off frequency. Now drop the input frequency and look at the output trace. At what frequency the integrator does not work very well. Compare that with the cut-off frequency of the filter. For what range of frequencies this integrator works well?
Experiment 4: Differentiator
Set up the circuit below with R 1 = 1 kΩ, C 1 = 10nF, and R 2 = 10 kΩ.
Circuit Analysis: Write down formula for output voltage as a function of input voltage (ignore R 1 ). Compute the output voltage if input is a triangular wave signal with a period T and amplitude Vi (no DC offset).
PSpice Simulation: Use PSpice to simulate the response of this circuit (transient analysis for 10 ms) to a triangular wave input with a frequency of 1 kHz and amplitude of 1 V (with no DC offset). You need to use VPULSE voltage source for this analysis. Check your simulation results and show that the circuit indeed differentiate the input signal. Note that it takes a few periods before the transients die away and you get steady-state signal. (alternatively, you can instruct PSpice to ignore the initial transients)
2
i
1
o
1
R
V
R
−
V
−
C
Lab Exercise:
a) Set up the circuit. Apply a triangular wave with an amplitude of 0.5 V (no DC offset) and frequency of 1 kHz. Look at the output waveform. Sketch your input and output traces and show that the differentiator indeed differentiates the input.
b) The ideal differentiator does not have R 1. This elements has been added to stabilize the circuit and get rid of the noise. To see the impact of the R 1 , remove that from your circuit. Sketch the output signal. Note the oscillations in the output due to the instability of the circuit. You can increase the frequency of the input and see that the oscillations grow (or take longer to die away). Explain why addition of R 1 stabilizes the circuit.
c) Learning the necessity of R 1 , we note that the resulting differentiator is turned into a high-pass filter (actually, it is turned into a band-pass filter because of the cut-off frequency of the OpAmp chip itself). Starting at 100 Hz, slowly increase the frequency of the input signal and observe the output. For what range of frequencies this differentiator works properly? Compare this frequency range with the cut-off frequency of the high-pass filter.
e) Setting the frequency back to 1 kHz, apply a sin wave with an amplitude of 0.5 V to the differentiator. What do you expect the output to be? Sketch your output trace and compare with your expectations. (Note: Function generators do not generate a sin wave as it is difficult to make a stable, constant amplitude sin wave over a wide range of frequencies. Rather the function generator uses a circuit with several diodes to round the corners of a triangular wave and make it look like a sin wave! The Lesson: One of the best ways to ensure that a signal is a sin wave is to differentiate it!)