Lab 4
Lab 4
PRE-LAB IV
OPERATIONAL AMPLIFIERS
NAME___Sekar Prasetya________ LAB MEETING TIME_______8AM-10:50AM_______
OBJECTIVES
To use function generator, oscilloscope, and OpAmp; to investigate the OpAmp characteristic and to
build inverting amplifier circuit and rain sensor based on voltage comparator circuit
DECIBEL SCALE
1. Bode plots are a tool engineers use to describe frequency response of a circuit. They are defined
for sinusoidal inputs to a circuit. The x-axis of a Bode plot represents frequency of the sinusoidal
wave that is being fed into the circuit and the y-axis shows gain (in dB) and phase shift (in deg or
rad) between the output and input signals.
Thus, a gain of 0 represents the output being equal to the input and a gain of 20 represents a ratio
of output and input signals of 10. All negative values represent the output being smaller than the
input.
ga = ___20______
gb = ___80______
gc = ___-20______
The gain may be calculated using ratio of output and input powers (not voltages):
(Eq.2)
Calculate ratios of output and input powers (eq.2) and voltages (Eq.1) in a circuit whose gain is:
d) g = 3 dB e) g = -3 dB
Page 1 of 8
ECE 202 – Experiment 4 – Lab Report
What do you expect this will mean for the output of your inverter circuit as you increase the
frequency of its input? --- The gain will increase
OPAMP PARAMETERS
2. Find the non-ideal characteristics of OP37 OpAmp in its technical datasheet and compare it to an
ideal OpAmp.
OP37 Datasheet link: http://www.analog.com/media/en/technical-documentation/data-
sheets/OP37.pdf (use model: OP37A/E; Assume Typical condition (Typ), Vs = ±15V, RL ≥ 2kΩ,
and Temp = 25C.)
Use any resource to find the meaning of each parameter and summarize them in a sentence:
3. a) For the inverting amplifier shown below, find the closed-loop gain ACL=v0/vin, assuming the
Op Amp is ideal. Show your work here:
200 kΩ
+5V
20 kΩ
-
vo
vin
+
-5V
Page 3 of 8
ECE 202 – Experiment 4 – Lab Report
LAB IV
OPERATIONAL AMPLIFIERS
NAME_____Sekar Prasetya_________ LAB MEETING TIME___8 AM-10:50 AM_________
OBJECTIVES
To use function generator, oscilloscope, and OpAmp; to investigate the OpAmp characteristic and to
build inverting amplifier circuit and rain sensor based on voltage comparator circuit
In these experiments, you will be using the same OpAmp as previous lab, OP37.
Vos TRIM is being used for OpAmp performance tuning for high accuracy application, you do not
need this for now. NC stands for No Connection.
INVERTING AMPLIFIER
200 kΩ
+5V
20 kΩ
vn -
vo
vin
+
-5V
Page 4 of 8
ECE 202 – Experiment 4 – Lab Report
vin [V] vo [V] vin [V] vo [V] vin [V] vo [V] vin [V] vo [V]
-1.0 4.371 -0.5 4.374 0.1 -0.989 0.6 -4.227
-0.9 4.373 -0.4 3.727 0.2 -1.985 0.7 -4.227
-0.8 4.374 -0.3 2.977 0.3 -2.976 0.8 -4.227
-0.7 4.374 -0.2 1.987 0.4 -3.971 0.9 -4.227
-0.6 4.374 -0.1 0.990 0.5 -4.229 1.0 -4.227
This input voltage range should put the Op Amp into saturation part of the time. Explain why
output reaches saturation.
The output reaches saturation because the Op Amp can only output a voltage that is smaller than
the max and greater than the smallest value that it is being inputted through the Op Amp
(compared to the rest of the circuit which has a voltage input which is separate to the Op Amp)
Page 5 of 8
ECE 202 – Experiment 4 – Lab Report
3) In the space below, compare your measured data to the predictions of the PreLab homework. Use
the slope of your measured curve to obtain measured value of the closed loop gain ACL.
vin [V] vn [V] vin [V] vn [V] vin [V] vn [V] vin [V] vn [V]
-1.0 -0.499 -0.5 -0.060 0.1 -0.007 0.6 0.99
-0.9 -0.414 -0.4 -0.032 0.2 -0.008 0.7 0.105
-0.8 -0.325 -0.3 -0.009 0.3 -0.008 0.8 0.110
-0.7 -0.236 -0.2 -0.009 0.4 -0.008 0.9 0.113
-0.6 -0.147 -0.1 -0.009 0.5 -0.55 1.0 0.117
5) In the analysis of the inverting amplifier circuit that you did in the PreLab homework, you
assumed that vn = 0. However, your measurements show that it is not always zero. Explain this
discrepancy from the ideal OpAmp model in five or more sentences.
There is a discrepancy of the vn that is assumed in the Prelab because it is not an ideal OpAmp that
we are using. The ideal OpAmp is only a guide to how the real OpAmp will behave. The values are
also different because of the resistors that are used. Resistors are also not exact in value and that is
why there is room for error on the circuit as a whole to have Vn not equal to zero. What the graph
shows is that it is close to zero but not zero completely.
Page 6 of 8
ECE 202 – Experiment 4 – Lab Report
Include printout of measurement results in your lab report. Include both vin and vo on the same
graph.
Page 7 of 8
ECE 202 – Experiment 4 – Lab Report
Set magnitude of the AC input signal vin to 1 V (Vpp = 2 V). Increase frequency of the sine wave input
from 1Hz to 10 MHz and observe magnitude of vout.
Record all eight points of frequency in logarithmic scale.
Use MATLAB to graph your measurements. If possible, try graphing log-normal curve (using
semilogx function), where 2 is on the vertical axis and frequency in log scale is on
the horizontal.
Is this the general trend you expected from the frequency information in the pre-lab or the
OpAmp technical datasheet?
This is the general trend that was expected from the information provided from the pre-lab.
Page 8 of 8