Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Frequency Response Analysis of Low Pass Filters: Lab 1 - Prof. Richard Kozick, Lab Reports of Microelectronic Circuits

The procedures for analyzing the frequency response of a low pass filter using both theoretical calculations and simulation software (pspice). Students are required to measure the filter's magnitude and phase response experimentally and compare the results with the simulated and analytical data. The document also introduces two alternative filter circuits and asks students to investigate their properties.

Typology: Lab Reports

Pre 2010

Uploaded on 08/19/2009

koofers-user-nfd
koofers-user-nfd 🇺🇸

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ELEC 226, Lab 1
Jan. 15, 2009
Prof. Rich Kozick
Laboratory 1
Frequency Response Analysis, Simulation, and Measurements
Introduction: The objective of this lab is to review measuring the frequency response (magnitude and
phase) of a low pass filter. We will relate your measured results to analysis using phasors and impedance
as well as simulation with PSpice.
Background: We will consider the following low pass filter circuit.
+
Vout
-
+
Vin
-
Ω= kR 1
FC
μ
1.0=
Figure 1
Instructions:
1. Analytically determine the frequency response of the circuit for both the amplitude gain and the phase
difference between the input and output signals at sinusoidal steady state. Express the amplitude gain
formula in decibels (dB) = 20 * log10 (amplitude gain).
2. “Build” the circuit in Figure 1 in Pspice and simulate with an “AC Sweep”. For the AC sweep, select
a start frequency of 100 Hz, an end frequency of 100 kHz and an AC sweep type of “decade”. In
Probe, plot vout/vin (try doing it in dB). This will plot the magnitude of vout/vin.
3. Copy the magnitude data to Excel by highlighting (clicking) the name of the variable at the bottom of
the plot and then copying the data using the “copy” button or “Copy” from the Edit menu. When the
data are selected the name of the variable will be highlighted in red. Open Excel. Select “Paste
Special” from the Edit menu. Select “Paste” and “as text” and then “ok”. Later in the lab, you will
plot the data along with the experimental data to be measured during this lab.
4. In Probe, delete all traces. Plot the phase angle between vin and vout. Select “Add” from the Trace
menu. On the right side of your menu will be options for different functions: ATAN (calculates the
inverse tangent in radians), IMG (takes the imaginary part of the variable selected), and R (takes the
real part of the variable selected). To plot the phase difference between vin and vout, select
ATAN(IMG(vout)/R(vout))*360/2/pi where vout is the voltage across the capacitor in your circuit.
(This assumes that you left the phase angle of vin as zero degrees when you “built” the circuit.) Copy
this phase angle data to Excel. You can also create dB and Phase markers in your schematic under the
pspice / markers / advanced menu.
5. Experimentally measure the the magnitude of vout/vin and the phase difference between vin and vout
from 100 Hz to 100 kHz using the oscilloscope. Set the function generator to sine and select an
amplitude of 1 Vpp. Record your experimental data in Excel. Be sure to measure both vin and vout
(why does vin change with frequency?).
6. In Excel, plot the Pspice data of magnitude of vout/vin as a function of frequency using a logarithmic
axis for the x axis and a scatter plot. Add the experimental data of magnitude of vout/vin as a function
of frequency to the plot as another series. Also add data based on evaluating your analytical
expression from item 1 (you can compute this data for a few frequencies using your calculator, or you
can use formulas in Excel). Is there an advantage to plotting the amplitude gain in dB?
7. In Excel, plot the Pspice data of the phase angle between vin and vout as a function of frequency using
a logarithmic axis for the x axis and a scatter plot. Add the experimental data of the phase angle
between vin and vout as a function of frequency as another series, and the analytical data.
8. How do the experimental, Pspice, and analytical data compare?
9. Can you identify the “cutoff frequency” in your plot, and compare it to the analytical value of the
cutoff frequency for the values of R and C?
1
pf2

Partial preview of the text

Download Frequency Response Analysis of Low Pass Filters: Lab 1 - Prof. Richard Kozick and more Lab Reports Microelectronic Circuits in PDF only on Docsity!

ELEC 226, Lab 1 Jan. 15, 2009 Prof. Rich Kozick

Laboratory 1

Frequency Response Analysis, Simulation, and Measurements

Introduction: The objective of this lab is to review measuring the frequency response (magnitude and phase) of a low pass filter. We will relate your measured results to analysis using phasors and impedance as well as simulation with PSpice.

Background: We will consider the following low pass filter circuit.

Vout

Vin

R = 1 k Ω

C = 0. 1 μ F

Figure 1 Instructions:

  1. Analytically determine the frequency response of the circuit for both the amplitude gain and the phase difference between the input and output signals at sinusoidal steady state. Express the amplitude gain formula in decibels (dB) = 20 * log 10 (amplitude gain).
  2. “Build” the circuit in Figure 1 in Pspice and simulate with an “AC Sweep”. For the AC sweep, select a start frequency of 100 Hz, an end frequency of 100 kHz and an AC sweep type of “decade”. In Probe, plot vout/vin (try doing it in dB). This will plot the magnitude of vout/vin.
  3. Copy the magnitude data to Excel by highlighting (clicking) the name of the variable at the bottom of the plot and then copying the data using the “copy” button or “Copy” from the Edit menu. When the data are selected the name of the variable will be highlighted in red. Open Excel. Select “Paste Special” from the Edit menu. Select “Paste” and “as text” and then “ok”. Later in the lab, you will plot the data along with the experimental data to be measured during this lab.
  4. In Probe, delete all traces. Plot the phase angle between vin and vout. Select “Add” from the Trace menu. On the right side of your menu will be options for different functions: ATAN (calculates the inverse tangent in radians), IMG (takes the imaginary part of the variable selected), and R (takes the real part of the variable selected). To plot the phase difference between vin and vout, select ATAN(IMG(vout)/R(vout))*360/2/pi where vout is the voltage across the capacitor in your circuit. (This assumes that you left the phase angle of vin as zero degrees when you “built” the circuit.) Copy this phase angle data to Excel. You can also create dB and Phase markers in your schematic under the pspice / markers / advanced menu.
  5. Experimentally measure the the magnitude of vout/vin and the phase difference between vin and vout from 100 Hz to 100 kHz using the oscilloscope. Set the function generator to sine and select an amplitude of 1 Vpp. Record your experimental data in Excel. Be sure to measure both vin and vout (why does vin change with frequency?).
  6. In Excel, plot the Pspice data of magnitude of vout/vin as a function of frequency using a logarithmic axis for the x axis and a scatter plot. Add the experimental data of magnitude of vout/vin as a function of frequency to the plot as another series. Also add data based on evaluating your analytical expression from item 1 (you can compute this data for a few frequencies using your calculator, or you can use formulas in Excel). Is there an advantage to plotting the amplitude gain in dB?
  7. In Excel, plot the Pspice data of the phase angle between vin and vout as a function of frequency using a logarithmic axis for the x axis and a scatter plot. Add the experimental data of the phase angle between vin and vout as a function of frequency as another series, and the analytical data.
  8. How do the experimental, Pspice, and analytical data compare?
  9. Can you identify the “cutoff frequency” in your plot, and compare it to the analytical value of the cutoff frequency for the values of R and C?

1

ELEC 226, Lab 1 Jan. 15, 2009 Prof. Rich Kozick

Please go as far as you can with the following activities during the lab session.

The two circuits below are proposed as alternatives to the low-pass filter above. It is

claimed that they might have better properties than the single-capacitor filter. Your problem is

to investigate these two circuits and to determine if there is, in fact, any advantage to using either

one of them instead of the original single-capacitor circuit.

Begin with an analysis of these circuits. Then continue with wiring the circuits and PSpice

simulation, as on page 1 for the single capacitor circuit.

2