Professional Documents
Culture Documents
Laboratory Guide For Electronics 3 Opera
Laboratory Guide For Electronics 3 Opera
Electronics III
Operational Amplifiers
Prepared by
Version 1.1
November , 2003
Electronics III
6: AC / DC Millivoltmeter {EL3-F}
i
Preface
ii
ELECTRONICS III EL3-1
Op-Amp Fundamentals
Equipment: Module EL3-A, EL3 Power-source, two multimeters, connectors
Electronics II presented two circuits which are basic to our present work.
EL2-2 Cascade Amplifiers used two transistors in series to increase overall gain, and
EL2-7 Differential Amplifiers used two transistors in parallel to provide an output
proportional to the difference between two inputs. The operational amplifier (Op-Amp)
considered here is a single integrated circuit combining the features of both circuits
mentioned above, namely, an extremely high gain output, proportional to the difference
between two input signals. Output impedance is low, typically 50 ohms, while input
impedance is high, typically several megohms. This experiment investigates op-amp
basic properties.
Different types of IC’s have different supply
voltage requirements, for instance, TTL
(Transistor-Transistor-Logic) integrated circuits
require a +5.0 supply voltage, and CMOS
(Complementary Metal-Oxide-Semiconductor)
chips operate with a supply voltage from +3 to +15
volts. In the case of op-amps a dual supply
voltage is required, typically 10 to 15 volts above
and below ground potential. Although this causes
some inconvenience in circuit design, it provides the capability of having a positive or
negative input and output voltage signals. In the diagram, two terminals are marked (+)
and (–). Voltages at the supply terminals are held constant, whereas voltages at the
inputs may vary.
Although the input terminals are marked (+) and (–), the input voltage at either
terminal may be positive, negative or zero with respect to ground potential . If the (+)
input voltage is greater than the (–) input voltage, the output goes positive. This is so,
even if both inputs happen to be negative, provided the (–) input is more negative than
the (+) input. And if the (+) input voltage is less than the (–) input voltage the
output goes negative. The (+) input is also known as the non-inverting input, the (–)
input as the inverting input.
1
1: Op-Amp Fundamentals
Obtaining small voltages To measure this small input offset voltage
an accurate voltage source in the micro-volt range
( ≈ 10-6 volts) is needed. The side-bar box at the
left presents a method of obtaining such voltages.
In the activity that follows, you will measure the
Input Offset Voltage using the voltage divider
provided on the left side of Module EL3-1.
NOTE:
A voltage divider is
To give you a short description of Module EL3-
often useful to obtain a known A, the left side of the module is a voltage divider
fraction of a larger voltage. If network designed to give small voltages which the
there is no output current the power supply cannot provide. If you notice the
expression shown above is links at every node, they give you the capability to
valid. It is convenient to select transfer from different levels. If you need smaller
the ratio R1/(R1+R2) to be values, just go down the scale or if you need
some power of 10. For larger values but too small for the supply voltage
example, if we connect in to provide, you go up the scale. Also, with
series between Vin and regards to the supply voltage of the op-amp itself,
ground 990kΩ, 9.00kΩ, 900Ω you need to place a link between the V+ terminal
, 90.0Ω and 10.0 Ω resistors and the one labeled 7. The same thing should be
done with V– terminal. Lastly, all ground terminals
and take R2 as the sum of are internally connected.
resistors to
ACTIVITY 1-1
1. Apply power to the module. The two LEDs
should light up.
2. Place links between V+ and 7, as well as V–
and 4. Do not remove this until Activity #8.
3. Apply a variable external voltage, VDC on the
voltage divider network and monitor this with a
voltmeter.
4. Monitor the output, Vo with an oscilloscope set
the right of the junction marked to 5 V/div, DC mode.
10-4 and take R1 as the sum of 5. Ground the (–) terminal and use the terminal
resistors to the left, then R2 = labeled 10–3 or 10-4 as an input to the (+)
100 and R1+R2 = 1,000,000 so terminal.
the ratio is just 10-4, which is 6. Adjust the applied voltage VS until VO becomes
the label at the junction. By zero (the trace may be shaky; this is due to
adjusting Vin to a value the induced voltages in the environment).
between 1 and 10, and When this condition is reached, multiply VS by
10-4 and record this in the Data Sheet as Input
selecting the appropriate
Offset Voltage. However if the trace makes no
junction as output, voltages response, repeat step 6 but this time reverse
down to 10 microvolts are the polarity; ground the (+) terminal and use
easy to obtain. the (-) as input.
7. Disconnect the input links.
Null-offset
2
1: Op-Amp Fundamentals
Activity 1-1 simply verifies that to have a zero output, there should be a small voltage
difference at the input. It’s quite ironic, right? So to counter this required offset voltage,
a number of op-amps have two additional pins (in the LM741 these are #1 and #5) to
provide a null-offset, an adjustment that sets to reduce the input offset voltage to zero.
ACTIVITY 1-2
However there is a limit to what the null-offset can do. If the offset voltage is too
large, either positive or negative the output cannot be brought to zero; the wiper arm is
at the extreme of the potentiometer. The acceptable range of values, from positive to
negative, is defined as the offset voltage adjust range.
3
1: Op-Amp Fundamentals
Large Signal Differential Voltage Amplification
The ratio of a change in output voltage to a change in input voltage difference
is defined as the large signal differential voltage amplification, or open loop gain, often
expressed in units of volts / millivolts . High gain and stray wiring capacitance make it
difficult to obtain Vout=0 with the null offset . Do the following measurement procedure:
ACTIVITY 1-4
1. Ground the inverting input. Apply a metered adjustable voltage (set to minimum) through the
voltage divider and use the 10-4 terminal as input to the non-inverting input. Measure Vout
with an oscilloscope (vertical DC gain set to 5.0 volts per square).
2. If the op-amp has a positive offset voltage, adjust the Null Offset so that the trace is just
about to reach its lower limit (around –10 volts), otherwise, adjust for the upper limit (10
-4
volts) . Record the input voltage (remember you are in the 10 range).
3. Slowly increase the input voltage until the Vout would just get to the other extreme end and
record the input voltage. (make use of the fine control to obtain more accuracy)
Repeat steps 2 and 3 several times to get an average value of Vin+ and Vin–. ΔVout = 20
volts; ΔVin = (Vin+ – Vin–). Compute open loop gain = ΔVout / ΔVin then record it on
4.
ACTIVITY 1-5
1. To measure this common mode voltage gain, use the same method as for open-loop
gain (Activity 1-4), but instead of grounding the (–) input, connect it to the (+) input.
NOTE: in adjusting the input voltage, you may not need the voltage divider.
2. Compute for the CMRR as stated below.
4
1: Op-Amp Fundamentals
The common mode rejection ratio, (CMRR) is defined as
CMRR = differential mode voltage gain / common mode voltage gain
It is desirable to have a minimal common mode voltage ratio, therefore, the higher the
CMRR the better. This quantity is sometimes expressed in decibel units:
CMRR (log) = 20 log1 0 CMRR .
ACTIVITY 1-6
1. To measure the RM of the voltmeter, a separate multimeter is needed. Set first the
voltmeter to the 400 mV range. Using the other meter, measure the resistance
between its + and – terminals. For a reasonably good digital voltmeter R M may be
107 ohms.
2. Measure the voltage at the + input terminal with the – input terminal grounded.
3. Compute IB+ using ohm’s law, Ib= VM / RM . Record it in the Data Sheet.
4. Repeat steps 2 and 3 for IB- . This time the + input terminal is grounded.
5. Compute for the bias current and offset current using the formulae shown below.
Disconnect links.
Input bias current is defined as the average of these two input currents:
-
Input bias current = IIB = (IIB+ + IIB ) / 2
5
1: Op-Amp Fundamentals
A knowledge of input current can be important if an input is grounded through a resistor
because even a small current can significantly affect the input potential if the resistor is
large.
Another quantity of interest, input offset current IO , is defined as the absolute
value of the difference in input current at the two inputs:
-
Input offset current = IIO = | IIB+ - IIB |
Input impedance
When a voltage is applied to either input of an op-amp, the resulting current is
extremely small, indicating a very high input impedance, typically of the order of several
megohms. Such current measurements will be considered after feedback has been
discussed.
Output Impedance
The op-amp output is always
connected to something, and so its output
impedance is important. In the model
shown at right, the output is driven by an
ideal voltage source, V, controlled by the
input voltage, Vi , in series with the output
resistance, Ro . If there is no load
(RL = ∞) the output voltage. Vo , equals the source voltage, V. If the load is set equal
to the output impedance, Ro = RL , then the same voltage drop occurs across both
resistors, and Vo = ½ V . This suggests an easy way to measure the output
resistance, Ro . The technique shown in the next activity is another application of a
voltage divider action.
ACTIVITY 1-7
1. Ground the (–) input terminal and apply variable input voltage through the voltage
divider on the (+) input terminal of the op-amp (use 10-4).
2. With no load, monitor the output voltage. Slowly increase the input until the output
gets to its maximum. Record the maximum voltage as V.
3. Next, attach a load resistor RL (set to maximum) to the output. Then slowly
decrease this load until the output voltage equals V/2. When this condition is
reached, RL equals the output impedance.
4. Disconnect links.
6
1: Op-Amp Fundamentals
making these measurements. Vary the null-offset to make measurements when Vout
has extreme + and – values. Calculate power in each case ( e.g., P = VCC ICC )
+ + +
Activity 1-8
1. Ground the (–) and (+) inputs. Monitor Vout with an oscilloscope set to 5
Volts/div, DC mode.
2. With a voltmeter, measure V+ and V–.
3. Remove the link between V+ and 7 and insert a milliammeter.
4. Adjust the Null Offset to set Vout to maximum. Record the corresponding
current.
5. Adjust the Null Offset for minimum Vout . Record the corresponding current.
6. Compute and record power for both currents (P=IV).
7. Repeat steps 3 – 6 for the V– terminal.
8. Disconnect all links and supply voltages.
7
1: Op-Amp Fundamentals
Data Sheet Experiment EL3-1
Op-Amp Fundamentals
Name: ________________________________Date:______
Activity 1-1:
input offset voltage___________
Activity 1-4:
large signal differential voltage amplification
__________
Activity 1-5:
common mode voltage amplification __________
CMRR ____________ CMRR(log) __________
Activity 1-6:
-
IIB+ _____ IIB _____ IIB _____ IIO _____
Activity 1-7:
Output Resistance ___________
Activity 1-8:
+ –
VCC _______ VCC ________
+ – – + –
ICC+ P ICC P P +P
Max Vo
Min Vo
8
1: Op-Amp Fundamentals
ELECTRONICS III EL3-2
Op-Amp: Practical Circuits
Equipment: Module EL3-B, EL3 Power source, Two multimeters, connectors
Let A represent the gain of the output mentioned in the box at the left may be
amplifier alone, and Vout/ Vin easily obtained by a voltage divider, formed by the
9
feedback? For positive feedback, use the non-inverting (+) input; for negative
feedback use the inverting (–). Practical op-amps use both; positive for oscillators,
negative for amplifiers.
Positive Feedback
In positive feedback configuration, the output has two stable states, Vmax or
Vmin, these are actually the extreme values the output voltage can have which is within
a volt or two of the positive or negative supply voltages. The first activity to perform
illustrates this behavior of positive feed back.
ACTIVITY 2-1
1. On module board EL3-B set up the positive feedback configuration shown in
the previous diagram with RF = 50 k and R1 = 50 k
2. Monitor the output with an oscilloscope and set to 5 ms/div and 5 volts/div DC.
3. Unground the (–) input, touch it with your hand. The input impedance at either
op-amp input is quite high, so the 60 hertz induced voltage on your body
alternately drives the (–) input above and below the (+) input.
4. Sketch the output on the data sheet.
NOTE: The fact that we use the voltage induced in our body as our input signal only
shows that leaving a terminal open does not mean a zero input!
While positive feedback has two stable states, in negative feedback, there is a
single stable state Vout = 0. A more thorough discussion of positive feedback will be
dealt with in later experiments.
Negative feedback
For an ideal op-amp with negative feedback, if the (+) input is at ground
potential, the (–) input should also be at ground potential. But because of non-zero
input currents, this is not always true for real op-amps.
ACTIVITY 2-2
1. Set up the negative feed back configuration with RF = R1 and ground
the (+) input.
2. With multimeter set to 400 mV (DC) to monitor the output, first adjust the null-
offset to set Vout = 0 then measure the potential at (–) input. It may not be zero!
3. Next use the null-offset to set (–) input to zero and measure Vout . It, too, may
not be zero.
4. Check for possible oscillations at the output with an oscilloscope. You may
have to decrease the Volts/div and Time /div to have a clear output.
10
With negative feedback, the portion of the output signal is always returned to the
(–) input. As shown above, the external signal may be applied to either, or both, inputs.
To avoid distortion, the output signal can never range outside the supply voltages, V+ or
V–. Since the gain of the op-amp can be 100,000 or more, to avoid distortion the
difference between the + and – inputs must be less than V+ / 100,000 .
In practice assume the (+) an (–) inputs are at the same potential
Non-inverting amplifier
In the diagram above, resistors RF and R1 act as a voltage divider for the voltage
at the (–) input, which is Vout R1 / (R1 + RF). Since it is assumed that the + and –
inputs must be at the same potential, then:
The sign of the output voltage , Vout , is always the same as that of the input, V1;
hence the name non-inverting. Since the input current to an op-amp is of the order of
nano-amperes, the input impedance for this configuration, V1 / Iinput , is very large
atleast in the meg-ohm range. However if R1 or RF are quite large, even a tiny current
change through them produces a voltage drop, so Eq. (1) is then slightly in error.
ACTIVITY 2-3
1. In the data sheet, a table is provided for you to complete. Configure a negative
feedback non-inverting amplifier (just the follow the diagram shown above), but
use the values of the resistors indicated in the table, with the corresponding V1.
2. Connect VA to the (+) input.
3. Measure Vout and Vin with a meter and compute the actual gain (Vout/Vin) and the
theoretical gain (1+RF/R1).
4. Record the results in the data sheet.
11
If we set Rf = 0 (short circuit) and let R1 approach infinity (open circuit) as shown in
the diagram below, Eq. (1) shows unity gain ( Vout = Vin). This circuit, a voltage
follower, is used as an impedance transformer, or current booster. Recall the input
current at either op-amp input is very small in the order of 1 microampere while the
output current can run as high as 25 milliamperes. No change in voltage, tremendous
change in current.
ACTIVITY 2-4
1. To verify the voltage follower gain, connect VB
directly to the (+) input as VIN, and VO to the (-) input.
Apply different values of Vin as indicated in the data
sheet and record Vout. Disconnect all links.
Inverting amplifier
Looking back at the diagram of an inverting amplifier in the previous page, the
voltage at the grounded (+) input , v+, is zero, it follows that the voltage at the ( –) input,
v– , must also be zero. By Kirchoff’s Current Law and neglecting the very small amount
of current going into the op-amp, the same current should pass through R1 and RF, so
by applying Ohm’s law to each:
Notice the negative sign in the expression for Vout . If V1 is above ground, the
output, Vout, should be below ground, so that the (–) input is at the same potential as
the (+) input, although in reality, the inverting (–) input should be just a tiny bit above
the (+) input to cause Vout become negative.
12
ACTIVITY 2-5
1: Connect the module as an inverting amplifier, with RF = 100 k , R1 = 50 k and use VA
as input. Vary VA from –4.00 v to + 4.00 v in one-volt steps. Graph the results ( VA on x-axis
and Vout on y-axis) on the data sheet. Scale the horizontal from –4 to 4 in one-volt step and
the vertical from –10 to 10 in two-volt step.
2: Repeat step 1 above, with RF = 50 k , R1 = 20 k. Compare the steepness of both
graph.
3: Set R1 = RF = 50 k Verify the results with the VA values shown on the data sheet.
The values of RF and R1 in step 3 in Activity 2-5 gives a voltage gain of –1, that is Vout=
–VIN. Such a circuit is a simple voltage inverter.
13
ACTIVITY 2-6
1. Set up the module as shown in the diagram above for a summing amplifier. Use
RF=50 K, RA=10 K K and RB= 10 K K.
2. Use an external voltage supply for VB.
3. Fill out the table in the data sheet for the different values of VA and VB as indicated in
the table.
4. Record the measured VOUT and the computed output .(Refer to the equation in the
diagram).
5. Repeat steps 1 to 4 for RA=50 K K and RB= 20 K K.
ACTIVITY 2-7
1. Set up the circuit shown in the diagram above with RF = 50 K.
2. Use VA as input and adjust it to obtain the current indicated in the data sheet.
3. Record the corresponding output voltage and its expected value (Vout= –IINRF).
4. Repeat Step 2 and 3 for the remaining values of IIN.
14
ACTIVITY 2-8
1. Set up the circuit shown in the diagram above with R1 = 10 K.
2. Adjust VA to obtain the input voltage indicated in the data sheet.
3. Record the measured current for both the minimum load (fully CCW) and
maximum load (fully CW) and its expected value (VA/R1).
4. Repeat Step 2 and 3 for the remaining values of VA.
Difference Amplifier
In the configurations already considered, one of
the inputs is always at ground potential. For the
difference amplifier neither input need be at ground
potential. Basically, the difference amplifier is a
superposition of an inverting and a non-inverting
configuration . The key to the analysis is the
superposition principle and the requirement,
RF / R 1 = R4 / R3 .
Let Vout be the sum of Vo1 (output, if input V2 = 0) and Vo2 (output, if input V1 =
0). If V2 = 0, then the (+) input, at the junction of R3 and R4 , is grounded. This
circuit is inverting so use Eq. (2) to obtain
Vo1 = – V1 (RF / R1). (3)
Next, let V1 = 0. Here the circuit is non-inverting, although the full amount of V2 is
not applied to the (+) input. Resistors R3 and R4 form a voltage divider so the voltage
at the (+) input is V2 R4/(R3 + R4) which can also be written as V2(R4/R3)/(1 +
R4/R3). Use the non-inverting Eq. (1) to obtain:
In words this says that the output of the difference amplifier equals the difference
between the two inputs, multiplied by the familiar gain factor ( RF/R1).
15
ACTIVITY 2-9
1. Set the circuit as shown in the diagram above. Use RF = 100K, R1 = 50K,
R3 = 10K R4 = 20 K.
2. Use VA as V1 and VB as V2.
3. Set both input voltage to the values indicated in the data sheet (Suggestion:
Set V2 before V1).
4. Record the measured VOUT and its expected value (RF/R1)(V2 – V1).
5. Repeat steps 3 and 4 for all other values.
ACTIVITY 2-10
1. Connect the circuit in negative feedback configuration with the (+) input grounded
as shown above, use RF = 50 K and R1=10 K.
2. Set the Null Offset knob fully CCW and record V out. with a the multimeter in the
mV range. Do the same with the knob fully CW.
3. Divide the difference of these two outputs by the gain (VO1 – VO2)/(RF/R1).
16
Input Offset Current, revisited…
In Experiment EL3-1 input offset current was also
examined. The bias currents at either input were
measured directly and their difference gave IIO, the
input offset current. With feedback the measurement
is simpler. As shown in the diagram, identical
resistors, R1 , are connected directly to each op-amp
input. The input bias currents through either
effectively apply a voltage to each input, IIB RF,
which appears at the output, multiplied by the op-amp gain. Using the superposition
principle to obtain Vout as the sum of two outputs Vo+ and Vo– :
ACTIVITY 2-11
1. Set the circuit as shown in the diagram above. Use R1= 10 K and RF=100 K.
2. Measure VO+ and VO– with a multimeter in the mV range; from these compute
IIB+ and IIB– and also IIO
17
Data Sheet Experiment # EL3-2
Op-Amp Practical Circuits
Name: ________________________________Date:______
period ______
Vpeak-to-peak _____
Activity 2-3:
18
Data Sheet Experiment # EL3-2 (continued)
Activity 2-4:
Vin – 4.00 – 2.00 0.00 2.00 4.00
Vout
V10k _________ Iin ________ Iout _______ Current gain ______
Activity 2-5:
RF = 100k , R1= 50k RF = 50k = R1 RF =50k, R1 = 20k
VA Vout
–3.00
–2.00
–1.00
0
1.00
2.00
3.00
Activity 2-6:
RF = 50k
RA = 10k RB = 10k RA = 50k RB = 20k
VA VB Vout VA VB Vout
measured expected measured expected
0.50 0.50 3.00 2.00
1.00 0.50 2.00 2.00
-0.50 1.00 -2.00 2.00
19
Data Sheet Experiment # EL3-2 (continued)
Activity 2-8:
R1 = 10 k
VA Iin milliamperes
With minimum RL With maximum RL Expected
– 4.00
– 2.00
0.00
2.00
4.00
Activity 2-9:
RF = 100 k R1 = 50 k R4 = 20 k R3 = 10 k
V1 V2 Vout
Measured Expected
3.00 6.00
2.00 5.00
1.00 4.00
0 3.00
– 1.00 2.00
– 2.00 1.00
– 3.00 0
20
ELECTRONICS III EL3-3
Op-Amp Frequency Response
Equipment: Module EL3-C, EL3 Power-source, multimeter, connectors
In prior experiments, the op-amp input signal was constant with time. With
constant inputs various circuits inverted or did not invert the output. Here time varying
inputs are considered. The diagram below shows different Op-Amp configurations with
time varying input. Since, by Fourier analysis, any periodic signal may be represented
in terms of sines or cosines, attention is focused on sinusoidal input. Recall that
inverting a sine or cosine wave is the same as a phase shift of +/– 180o.
sin ( ± 180o) = –sin cos ( ± 180o) = –cos
The amplitude of the output is expected to the different from the input, but it is
desirable to maintain the basic shape. Different factors may cause this change in
output shape, or distortion:
1. Clipping: The output signal cannot exceed the supply voltage and is
usually one or two volts less. If the system gain is too high, the tops
and bottoms of the output wave are clipped off.
2. Slew rate: Even apart from clipping, a sinusoidal output of an op-
amp shows distortion if the product of the wave frequency and
amplitude exceeds a certain critical value, thus, to avoid distortion at
higher frequencies the output amplitude must be reduced. The limit to
how quickly the output voltage can change, called slew rate, is usually
measured in volts per microsecond.
3. Frequency dependent gain and phase shift: By Fourier
analysis, any periodic wave may be represented by a set of sines or
cosines , each with a frequency of some multiple of the fundamental
frequency, and fixed amplitude and phase angle. An op-amp
introduces in the output a change in amplitude and phase which
depends on input frequency. Therefore a periodic wave formed from
more than one Fourier component will be distorted by the op-amp,
since the op-amp has different response for every unique frequency,
although for a single frequency wave (monochromatic), phase and
amplitude changes will not affect the basic shape.
decreases with increasing frequency. As for the phase angle, the action lies between
The diagram above shows that the RC filter behaves such that the gain
–5o and –85o, where the tangent changes from 1/10 to 10. However, the interval for
is by the thousands and in many cases we would be interested small values of in
ACTIVITY 3-1
1. Measure R and C for the voltage divider on module EL3-C . Calculate and record
fC=1/2RC .
2. Monitor Vout with an oscilloscope set to 5 Volts/div, AC mode. Adjust the time/div
to have a convenient view of the trace.
3. Apply as large as possible a 100 Hz input without causing distortion. Record its
peak-to-peak value as Vin.
4. Monitor Vin with a multimeter.
5. Apply input with the frequencies indicated in the Data Sheet and record the
corresponding peak values (VP) of Vout. VP=VP-P/2.
Activity 3-1 simply verifies the effect of an R–C filter on an applied signal.
Observe the output measured voltages; the amplitude is attenuated as the frequency
increases. And as frequency approached the critical frequency, fC , the output is close
to half the input voltage.
What does all this R-C business have to do with real op-amps ? Everything!
This equivalent R–C circuit explains the frequency response of the op-amp and is
deliberately included by the manufacturer, to prevent self oscillations at high
frequencies. Even though we cannot get inside the op-amp to measure directly R and
C, still we can determine their product by indirect means.
Slew rate
When charging or discharging a capacitor through a
resistor there is a maximum rate of change of the capacitor
voltage, dV/dt = Vo /RC, as shown in the derivation in the
diagram at the left. So, the internal equivalent R–C network
of the op-amp works in just the same way.
Suppose an op-amp output is a sine wave, Vo sin t.
called the slew rate. Any signal with a voltage rise rate
greater than this will be distorted. The following activities
shows two methods to determine the slew rate.
ACTIVITY 3-3
1. With the same set-up with Activity 3-2, apply a square
wave input.
2. Adjust the oscilloscope vertical gain and sweep speed
as well as the input frequency and amplitude to produce
a trace similar to the diagram at the right. You may have
to continuously adjust the HOLDOFF knob of the
oscilloscope to have a clear output.
3. The slope of the screen trace, in volts per microsecond,
is the op-amp slew rate.
Activities 3-2 and 3-3 presented two different methods of obtaining the slew rate
and they should be close, if not equal. However the important thing here is to
understand how the slew rate limits the performance of the Op-Amp: increasing the
voltage level of the signal decreases the bandwidth. The reason for this will be
shown later, just remember that in the proceeding activities, try to keep a low input.
the closed loop configuration. Only constant input, =0 , was considered . The loop
In Experiment El-3-2, the circuit surrounding the op-amp was also considered,
gain with feedback, Af, could be adjusted by selecting values for the surrounding
elements.
In this experiment open loop gain, A(), and closed loop gain, Af(), are again
consider but now for time varying sinusoidally input with; ≠0.
/c
and so
A(0) = (4)
A() = /
log A()
A() =
and The final result is
(5)
constant, the unity gain or bandwidth, Note that A() is not the amplitude of the
In words, this states that the gain at any frequency multiplied by that frequency is a
output but rather the gain of the op-amp. Activities 3-4 and 3-5 will verify this equation.
ACTIVITY 3-4
1. Set up the circuit shown in the diagram above. Set RFA to infinity ().
2. Set channel 1 in the to 10 mV volts/div, channel 2 to 5 Volts/div,and MODE to
dual. Also adjust the sweep rate for a clear output.
3. Apply a 200 Hz, 20 mVp-p input signal (Use external voltage divider). If the
output is clipped, try adjusting the Null Offset so that the peaks of the output is
no longer clipped. If it doesn’t work, increase the frequency a little then adjust
the Null Offset. Keep doing this until you obtain a sinusoidal output shape.
4. Notice that the ratio of Volts/div settings of the oscilloscope will give us the
gain if the input and output waveforms would have the same height on the
trace. We shall take advantage of that to compute for our gain.
5. Slowly increase the frequency until both waveforms have the same height (in
the case of a 20 mVp-p input, a span of two squares). When the condition is met,
record the gain and the frequency. For each frequency adjustment recheck
input amplitude.
6. Reduce the volts/div of channel 2 to the next lower range. Repeat step 5.
7. Repeat steps 5 and 6 until the volts/div of channel 2 is just the same with
channel 1 (unity gain) or when the function generator is already at its
maximum.
concepts. To obtain Af() , the op-amp gain with feedback at frequency insert the
notion of feedback. The next logical step is to blend together these two different
expression for A() of Equation (7) in place of Ao of Equation (6). Details are shown in
the shaded box. The result is:
f (8)
Activity 3-5
1. Set the circuit as shown in the diagram above. Measure the exact values of R1
for each op-amp. Monitor the input and output with an oscilloscope.
2. Set the input frequency to 200 Hz. Set RFA to 2 K. Apply a 100 mVP-P input
voltage and determine the corresponding output. Also compute the 70% of the
output then record all the values considered.
3. Slowly, increase the frequency until the output gets down to 70 % of its original
1 by the formula 2fc(Rf/R1). [Note: this step is also used in the next activity.]
value. Record the frequency when the condition is met. Compute and record
4. Repeat steps 2 and 3 for several values of RFA. Be sure to set the frequency
back to 200 Hz before setting the input voltage.
Note that there is limit of accuracy of a few percent when reading from the
oscilloscope screen. It is not practical to use a digital multimeter on the AC VOLTS
range, since most multimeters have a poor AC response above 20 kHz.
Cascading
For op-amps, the greater the gain set by feedback, the less the corner frequency,
fc or bandwidth. Consider an op-amp with a unit-gain frequency, f1, of 720 kHz. With
feedback the gain may be set to 16 but the resulting bandwidth, f, from Equation (5) is
A(f) f = f1 or 16 f = 720 so f = 45 khz. However if we settled for a gain of only 4,
the bandwidth goes up to 180 kHz. In the case of cascading, connecting two or more
op-amps in series, higher gain may be obtained without sacrificing bandwith. Each op-
amp retains the bandwidth proper to its own gain setting. Since the output of one is the
input to the other, the total gain is the product of the individual gain values. Cascading
two of the op-amps cited above, each configured for a gain of 4 (with corresponding
180 kHz bandwidth) the total gain is 4 x 4 = 16 while still retaining the 180 kHz
bandwidth.
ACTIVITY 3-6
1. With the same configuration as in Activity 3-5, set RFA to 16 kΩ. Then with the same
procedure as in Step 3 of Activity 3-5, obtain the corner frequency.
2. Set RFA to 4 kΩ then obtain the corner frequency.
3. Obtain the corner frequency of Op-Amp B.
4. Connect both Op-Amp in cascade by connecting the output of A to input of B.
Measure and record the gain and corner frequency of the combination.
APPENDED TOPIC:
Bode plots
2 1/2
The equation Vout = Vin / [1+(/c) ] may be expressed in logarithmic form as
log Vout = log Vin – ½ log [1+(/c) ] . the diagram above is a Bode plot of this
2
equation.
that the two straight line approximations intersect at Vo and C and the oblique line
The X indicate the actual values, the straight lines are the approximation. Note
has a slope of –1. The subscript C stands for corner frequency; for the R–C plot
C = 1/RC . Notice how the Bode plot presents a more detailed picture at the low-
frequency as well as a much broader view in the high frequency region. Quite often the
vertical axis is expanded by a factor of 20, so that decibel units may be used (the value
of V in dB is 20 log V) . With this notation, the value of V changes by – 20 dB as the
frequency increases by a factor of 10.
Activity 3- 7
1. Using the logarithmic value obtained in Activity 3-2, plot them on a log-log graph, or
use the application program BODEPLOT.EXE if it is available.
On a log-log graph, the origin [0,0] is at [log 1,log 1]. Thus, the Y intercept
is at point [log 1, log Y0]. This point satisfies both linear equations, although at
x=1, the true and approximated values differ only by P log 2 or (0.301)P. In our
present application, N = 2 and P = –1/2. For a later treatment of active filters, N =
2, 4,6… .
Activity 3-2:
VP-P f at first distortion VO x 2f
2
3
6
8
10
12
Average
rise (V/cm) _____ run (s/cm)_____ slew rate (V/ s) ______
Activity 3-3:
Activity 3-6:
Op-Amp A, gain = 16 fcA-16 __________
Op-Amp A, gain = 4 fcA-4 __________
Op-Amp B, gain = 4 fcB-4 __________
op-amps cascaded :
gain _______________
fc _________________
The decrease of op-amp gain with frequency is due to a built in R-C circuit
configured as a Low-pass filter, as was considered in detail in the preceding
experiment. Even apart from op-amps a simple R-C circuit can serve either as a Low-
pass or High-pass filter. Below is a diagram of a low-pass and high-pass and along
with it is a mathematical analysis and their corresponding bode plots.
4: Active Filters 13
deliver an output current, the filter can be coupled to the non-inverting input of an op-
amp which can provide the current (with optional gain). Of course the bandwidth of the
op-amp alone must be greater than the filter frequencies of interest. Such a filter op-
amp pair is an active filter. It is called active since it is coupled to an active device
which can provide amplification to the filtered signal. One filter configuration is shown.
Two or more active filters, with the same or different values of c, may be
connected either in series by cascading, or in parallel, feeding a common summing
amplifier. Two common filter of such arrangements are band pass and band stop.
For band pass the Low and High-pass filters may be cascaded, in any order; for band
stop the filters must be in parallel
Activity 4-1
1. On module EL3-D, with no power supplied, measure C2A, R2A, C2B, R2B with a
multimeter and compute fc = 1/2RC for each op-amp.
2. Configure each op-amp for unity gain by directly connecting output to the ( – ) input.
3. Apply a 0.80 VP-P sine wave; minimum function output frequency, to the input side of
C2A and R2B (just connect them in parallel).
4. Set both channels to 0.2 Volts/div and use channel 1 to monitor the output of Op-Amp A
and channel 2 for B. Adjust the vertical position of channel 1 and set its ground level to
two squares above the middle and channel 2 two squares below then set mode to dual;
that way, we can observe both outputs simultaneously.
5. Notice that every division of the oscilloscope screen is subdivided into five smaller parts,
let’s denote that one small part 1 unit. Gradually increase frequency until either or both
of the two output signals change by 1 unit ( one decreases while the other increases).
Then record that frequency.
6. Repeat step 4 for different signal levels at one unit interval until one reaches the
maximum and the other the minimum. Observe how one signal is allowed to pass while
suppressing the other as we change frequencies.
7. Use the program BODEPLOT.EXE to plot the data. Indicate the values of fc and slope.
4: Active Filters 14
NOTE: A decibel is a logarithmic ratio measure of signal, A, to reference signal, Aref.
decibels = 20 log A/Aref
Decibel value, dB, is positive for A > Aref , negative for 0 < A < Aref.
Butterworth analysis
The generic Butterworth second order configuration is set for unity gain (R1 = ∞,
Rf = 0) and uses two resistors, and two capacitors. The diagram indicates the
4: Active Filters 15
admittance, Y, of the components (admittance is the reciprocal of impedance). Notice
that for a low-pass filter, YA is the resistive element and YB is the capacitive while the
reverse is true for a high-pass filter. Both the inverting and non-inverting inputs are at
the output potential, Vo. The symbol, T, is introduced as a convenient abbreviation. We
seek an expression for the filter output, Vo, in terms of the input signal, Vi. At the node
marked V’, and at the non-inverting input apply Kirchoff’s current law, which states that
the current entering a node must equal the current leaving. Recall that the current
through any circuit element is the product of the voltage across the element and the
element’s admittance, Y. For the V’ node:
(Vi.–V’) YA = (V’–Vo)(YA+2YB) or Vi YA= V’ 2(YA+YB) – Vo(YA+2YB)
which may be expressed in terms of T as
Vi = V’ 2(1+jT) – Vo(1+j2T) (1)
For the node at the non-inverting input :
Finally take the absolute value of the complex expression (the square root of the sum of
squares of the real and imaginary terms)
|Vi| = |Vo|[ (1–2T2)2 + (2T)2]1/2 or |Vi| =|Vo| [ 1 + 4T4 ]1/2 (4)
This may be expressed in a form suitable for a Bode plot:
In this form we recognize the corner frequency, at which [1 + 4T4] = 2. At much lower
4
frequencies 4T <<1, the ½ log term is effectively zero ( log 1 = 0) and at much higher
4
frequencies 4T >>1, it is effectively – 2 log T√2 . Just at the corner frequency, T =
1/√2 , so from the definitions of either Butterworth configuration:
= √2/(RC)
(1/RC)
High-pass : = 1.414 (1/RC)
Comparing the Butterworth second order filter with a first order filter, the Low-pass
corner frequency is lowered, the High-pass corner frequency is raised, and the slope
of the oblique portion of the approximation line is doubled (40 dB per decade).
4: Active Filters 16
Activity 4-2:
1. With no power supplied, measure C2A, R2A, C3A, R3A, C2B, R2B C3B, R3B, use
Equations (6) to compute for the corner frequency for each op-amp. Record the
values.
2. Link C2A to the top of R3A and R2B to the top of C3B. Follow steps 2 through 7 of
Activity 4-1 but apply the inputs to C3A and R3B.
Play it by Ear
Thus far we have considered filters acting on a single frequency. But music and
human speech involve a wide spread of frequencies ranging from near 15 Hz to some
30,000 Hz, from deep bass through mid-band and up to very high pitched treble
sounds. Filters treat each range in a different manner. Sound characteristics, are
perhaps better described by words rather than numbers. Module EL3-D contains a FM
radio receiver and small amplifier for exploring filter action on music.
Activity 4-3:
1. Set the Amplifier Gain to minimum. Connect the FM Receiver OUT terminal to
terminal AB of the AMPLIFIER, and adjust the amplifier gain to a level just
enough for you to hear the FM radio. Tune the FM Receiver to a music station of
your choice. Make a mental note of the sound quality with no filters in use.
2. First order high pass filter: Remove prior connections. Connect the FM OUT
to C2A and configure OP-AMP A for unity gain and connect output to terminal AB
of the amplifier. Describe the sound quality by placing a checkmark in the
appropriate box in the Data Sheet.
3. First order low pass filter: Remove prior connections. Connect the FM OUT to
R2b and configure OP-AMP B for unity gain and connect output to terminal AB of
the amplifier. Describe the sound quality.
4. Second order low pass and high pass filters: Remove prior connections.
Configure both Op-Amps to their second order filter configuration with unity gain.
Connect the FM OUT to the left terminal of C3A and R3B. Connect the output of
Op-Amp A and Op-Amp B to terminals A and B of the Amplifier. Describe the
sound quality.
5. After doing all these, change the gain to a variable one by connect the ( – ) input
to RFA. Try different levels and observe they affect the sound quality. Also try
different combination of filters; set one for second order and the other for first
order. Observe what happens. You may also monitor terminal AB with an
oscilloscope so you can see the waveform of the music you hear.
6. Even the simplest radio or sound system has a volume and tone control. By
means of a block diagram suggest a possible relation between these controls and
the filters described above.
4: Active Filters 17
Data Sheet Experiment # EL3-4
Active Filters
Name: ________________________________Date:______
Activity 4-1:
C2A ____ R2A ____ fcA____ C2B ____ R2B ____ fcA____
Low Pass High Pass
Frequency (Hz) No. of units Frequency (Hz) No. of units
decrement increment
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 10
Activity 4-2:
C3A ____ R3A ____ fcA____ C4B ____ R4B ____ fcA____
Low Pass High Pass
Frequency (Hz) No. of units Frequency (Hz) No. of units
decrement increment
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 10
4: Active Filters 18
Data Sheet Experiment # EL3-4 (continued)
Activity 4-3
2: First order high pass filter: Rate the relative sound qualities:
Bass: ٱSoft ٱMedium ٱLoud
Mid range ٱSoft ٱMedium ٱLoud
Treble ٱSoft ٱMedium ٱLoud
3: First order low pass filter: Rate the relative sound qualities:
Bass: ٱSoft ٱMedium ٱLoud
Mid range ٱSoft ٱMedium ٱLoud
Treble ٱSoft ٱMedium ٱLoud
4: Second order high and low pass filters : Rate the relative sound qualities:
Bass: ٱSoft ٱMedium ٱLoud
Mid range ٱSoft ٱMedium ٱLoud
Treble ٱSoft ٱMedium ٱLoud
5: Volume and tone controls:
4: Active Filters 19
ELECTRONICS III EL3-5
Instrumentation Amplifier
Equipment: Module EL3-E, EL3 Power-source, multimeter, connectors
Instrumentation amplifier
The instrumentation amplifier circuit
provides dual high impedance differential inputs with
continuously variable gain. Op-amp D is a
conventional difference amplifier, with Vin applied
either at the primed or double-primed resistors, R1
and R3, providing a fixed gain. The dual inputs, V1
and V2 enter the non-inverting terminals of op-amps
A and B; this provides the high input impedance of
5: Instrumentation Amplifier 20
the circuit. The variable resistor, RP, changes the gain of the A, B pair.
Since the + and – op-amp input voltages are effectively equal, the difference of
potential across RP is V2 – V1 . Also since no current enters the op-amp inputs, the
same current, I, flows through RP as through each R. Therefore,
I = (V2–V1)/RP = Vin/(2R+RP)
or
Vin = (V2–V1)(1 + 2R/RP). (2)
Since Vin is the input to the difference amplifier, the overall gain of the instrumentation
amplifier is
Vout = (V2–V1)(1 + 2R/RP) (Rf / R1) (3)
where R1 represents either R’1 or R”1 . If the adjustable resistor, RP, is set to 2R, the
variable gain is two; decreasing RP increases the variable gain. Fixed gain is adjusted
by selecting the primed or double-primed pairs.
A limitation
Notice that in all the op-amp configurations already considered, one or other
input is connected to ground either directly or through a resistor. This is not the case for
op-amps A and B of the instrumentation amplifier. In the circuit shown, the small but
finite input offset currents have no place to go. This introduces instability in Vout. A
solution is to add a path to ground ( direct or through a 250 k resistor) at either input.
Any current produced by the source, E, will not flow through this path to ground but will
return to the source. If Rint is quite large, it may be necessary to provide a path to
ground at both inputs so the input offset currents do not flow through Rint.
Remember also in Experiment 1 Op-Amp Fundamentals there is something
about Common Mode Rejection Ratio. The last part of the activity touches on CMRR
since we are putting together different Op-Amps and the effect of their combined CMRR
should also be considered.
5: Instrumentation Amplifier 21
Activity 5-1
1. With no power supplied, measure R’1 , R”1 , Rf , R’3 , R”3 , R4. After measuring,
power up the module.
2. Use the double-primed inputs (R”1 and R”3) and compute the gain RF/R1 of op-amp
D. Use any convenient DC voltage as Vin (but not too high) then measure actual gain
Vout / Vin.
3. Repeat step 2 using the single-primed inputs (R’1 and R’3).
4. With no power supplied, measure R and the maximum and minimum values of RP then
put back the power. Use equation (2) to calculate the maximum and minimum values of
the gain and Vin/(V2–V1) for the actual gain. Remember that for maximum gain, Rp
should be minimum and vice versa.
5. Connect point A to R’3 and B to R’1 . Connect a external 1.5 V or 3.0 V battery in
series with the external voltage (which acts as Voffset) as shown in the diagram below.
Connect terminals e to V2 , f to V1 and g to ground. Record Vout for different values
of Voffset as indicated in the Data Sheet.
5: Instrumentation Amplifier 22
Data Sheet Experiment # EL3-5
Instrumentation Amplifier
Name: ________________________________Date:______
6:
Voffset 0 0.5 1.0 1.5 2.0 2.5
Vout
5: Instrumentation Amplifier 23
ELECTRONICS III EL3-6
AC/DC Millivoltmeter
Equipment: Module EL3-F, EL3 Power-source, multimeter, connectors
An ideal voltmeter should have infinite input impedance (no current enters its
terminals); an ideal ammeter should have zero input impedance (no voltage drop
appears across its terminals). Almost-ideal meters are available but are quite
expensive. Low-priced analog (moving pointer type) meters contain a meter movement
of the moving-coil type. A pivoted coil attached to a pointer is mounted within a
permanent magnetic field: any current passing through the coil experiences a force
which moves the pointer proportional to the current. Such meters are not ideal, for the
coil has neither infinite nor zero impedance .
A low-priced bare analog meter movement, (for example, the small meter on
Module EL3-F) has a typical coil resistance of some 200 and requires about 1 mA for
full scale deflection, the so-called full scale deflection current. The voltage needed for
full scale deflection, by Ohm’s law is (0.001 A)( 200 ) = 0.20 volts or 200 millivolts. By
adding a series resistor the full scale voltage reading may be increased (add 19,800 in
series to obtain 20-volt full scale deflection). By adding a shunt resistor in parallel with
the meter, the full scale current reading may be increased (place a 1.00 resistor in
parallel to obtain a 200 milliampere full scale deflection).
6: AC/DC Millivoltmeter 24
DC Millivoltmeter
The circuit shown here is basically an op-amp
using negative feedback and input applied to the non-
inverting (+) input terminal, providing a voltage gain of
(1 + RF / R1). Since op-amp input bias current is quite
small the input impedance seen by Vin is very high. The
voltage. Vb, at point b equals the input voltage
multiplied by the op-amp gain, Vin (1 + RF / R1). By
Ohm’s law the current through resistor RS is given by
Vb/RS. The feedback path resistance, RF+R1 ,is
normally many thousand times RS, so, effectively, the
entire op-amp output current, Im, passes through both the meter movement and the
resistor, RS:
Im = Vin (1 + RF/R1)/RS (1)
As an example, suppose the gain expression, (1 + RF / R1). is 10 and RS =
10 Then an input voltage, Vin, of 1 millivolt produces a current through the meter
movement, Im, of one milliampere, a typical full scale deflection current. We then have
a sensitive millivoltmeter with a high input impedance.
1: Without any power supplied, measure RDC, RF and RS. Take R1=RDC and calculate the gain
factor, (1 + RF/R1) / RS.. Apply power to the module.
2: Connect the circuit shown above for a millivoltmeter, with R1 as RDC on the module. Make
sure that point a is connected to the + side of the meter and point b to the – side.
3: To provide an input voltage in the millivolt range, apply a variable voltage supply through the
100 K and 10 to the + terminal. The voltage divider is set such that it will convert a 10 V
voltage divider provided at the left side of the module. Then connect the junction between the
6: AC/DC Millivoltmeter 25
AC Millivoltmeter
Op-amps respond to DC as well as AC. However an alternating voltage applied to the
meter coil could cause the needle to swing back and forth. Therefore to make our circuit
respond to AC, the meter movement is inserted within a full-wave diode bridge is placed
around
The meter coil is actually driven by the average current driven through it. For full-
wave rectification Iaverate = (2/) Ipeak . Also AC meters normally display root-mean-
square (RMS) rather than either peak or average values: V RMS = (2–1/2) Vpeak . Of
course Eq (1) holds at every instant, so it is also true for the moment of peak values:
Ipeak = Vpeak (1 + RF/R1)/RS (1)
and substituting for peak values we obtain
Iaverage (/2) = VRMS (21/2) (1 + RF/R1)/RS
Iaverage = VRMS (23/2 / ) (1 + RF/R1)/RS
(2)
(3)
The factor (23/2 / )=0.90 so the AC gain is only 90% that of the DC gain (1+RF/R1)/RS .
To increase the AC gain we might either increase RF or decrease RS or R1 . In the
module only R1 is decreased for AC operation.
6: AC/DC Millivoltmeter 26
Data Sheet Experiment # EL3-6
Millivoltmeter
Name: ________________________________Date:______
(1 + Rf/R1) / RS ______________
(1 + Rf/R1) / RS ______________
6: AC/DC Millivoltmeter 27
ELECTRONICS III EL3-7
Digital to Analog Converter
Equipment: Module EL3-G, EL3 Power-source, multimeter, connectors
Such a ladder network really has effectively only two terminals, IN and the
common Gnd. A current, I0, entering at IN must leave the network and enter ground,
but the amount of current leaving through the various Gnd terminal will differ.
Notice that the relationship between currents across each segment is the same
as that of a binary number, the weight of each binary bit is half the weight of the
proceeding bit and twice the weight of the bit following. In a ladder network, the Most
Significant Bit , MSB is represented by the segment with the largest current (IO/2 at
segment A) and the Least Significant Bit, LSB, by the least current (IO/64 at segment
F). Therefore to evaluate a binary expression, let each bit control a two-way switch at
nodes, A’, B’, C’, … If the bit is 0 the current goes directly to ground; if the bit is 1, the
current is sent to the virtual ground input of a summing op-amp as shown in the
diagram below.
Since both input terminals of an op-amp, configured for negative feedback, are
always at the same potential and here the (+) terminal is grounded, the (–) terminal is
also at ground potential, the virtual ground. Also no current enters the inverting (–) op-
amp input, so the entire current from the ladder network passes through the feedback
resistor, R, and equals the op-amp output voltage divided by R. This current is
determined by the individual bit switch settings, so we have a digital to analog converter
So the analog output never quite equals the reference input . If the digital value
to be converted has N bits (in our case N = 6), the maximum output voltage, VMAX is
In previous negative feedback analysis we often used the principle that both inputs are
at the same potential, and were careful that Vout never reached the negative or positive supply
voltages, V+ or V– . It is different with no feedback or positive feedback.
negative feedback
+ and – inputs always equal + and – inputs never equal
V– < Vout < V+ Vout = V– or V+
input offset current ≈ 0
With positive feedback we move from analog circuits ( signal may vary continuously
over a given voltage range ), and enter the world of digital circuits ( signal may assume only
one of two discrete levels, high or low ).
Negative Feedback
Before taking a closer look at positive feedback, it may be helpful to summarize what
has already been seen regarding negative feedback.
8: Positive Feedback 32
The levels for the saturation voltage, Vsat are normally a volt or two less than the
corresponding positive and negative supply voltages and their absolute values may not be
exactly the same. The output, Vout, can never exceed Vsat .
No Feedback
8: Positive Feedback 33
Positive Feedback
Vref = 0
In many positive
feedback configurations the
feedback resistor, Rf, is
connected between the op-amp
output, Vout, and the non-
inverting (+) input. Since Vout
equals either +Vsat or –Vsat , it
follows that the voltage at the
have two different values, ± V, as shown above ( Rf and R1 form a simple voltage
non-inverting input, V(+), can
divider between Vout and ground). If Vin increases starting from a large negative value,
then Vout = +Vsat and the output transition to -Vsat occurs at +V. If, however, Vin
decreases, starting from a large positive value, then Vout = –Vsat and the output
transition back to +Vsat occurs at –V.
colors for each graph line). On the same graph draw vertical lines at ± V.
corresponding values for Vout . Plot both sets of values on the same graph (use different
Positive Feedback
Vref ≠ 0
If a reference voltage, positive
or negative, Vref, is applied to R1 the
pattern is shifted right or left. As
always, if V(–) < V(+) then Vout =
+Vsat. Use the principle of
superposition to verify the expression
for V(+) the shown in the diagram.
8: Positive Feedback 34
Activity 8-4 POSITIVE Feedback Vref ≠ 0
1: Use op-amp A . Use RA2 as R1 and RFA1 as Rf . Measure RA2 and RFA1.
2: Connect RA2 between the non-inverting input, (+), and Vref.
Connect RFA1 between the non-inverting input, (+), and Vout .
Connect the inverting input, (–), to Vin.
3: Set Vref = 3.00 volts. Measure +Vsat and –Vsat, and calculate +V and –V and VR
.
4: Vary Vin from –8.00 volts to +8.00 volts in 1.00 V steps (Maintain Vref = 3.00 volts) and
measure corresponding values for Vout. Note that Vout may remain unchanged over
several input steps. Next vary Vin from +8.00 volts to –8.00 volts in –1.00 V steps and
± V
measure corresponding values for Vout . Plot both sets of values on the same graph (use
different colors for each graph line). On the same graph draw vertical lines at and
VR.
8: Positive Feedback 35
Activity 8-5 R-S FlipFlop
1: Using Op-Amp A, Connect the circuit shown above for the RS Flip Flop, where RF is the
series combination of RFA1 and RFA2, R1 is RA2 and R’1 is RA1. Take the Set input as V(+)
and the Reset input as V(–).
2: Set VIN = +10 V and VREF = –10 V and use these as High and Low inputs respectively.
3: Apply High and Low inputs to the Set and Reset terminals of op-amp A, as indicated in
the Data Sheet.
4: Apply High and Low inputs to the Set and Reset terminals of the R-S Flip-Flop diagram
on the module, as indicated in the Data Sheet.
R-C Circuits
For the R-S Flip-Flop, changing the Reset input between High and Low changes
the output in the opposite direction. If the output were fed back into the input , perhaps
with some fixed delay, would it be possible for the output to continuously switch
between high and low levels? A capacitor charging and discharging through a series
resistor might provide the fixed delay. Consider two different ways of charging /
discharging the pair.
The square-wave source provides a constant voltage that reverses each half
cycle. In both circuits shown above, the same current flows through C and R. The
magnitude of the voltage across the R-C combination is constant for the constant
voltage circuit: As the voltage across R increase, that across C decreases to maintain a
constant sum. The capacitor charges and discharges exponentially.
In the constant current circuit with negative feedback, the voltage at the (–)
input is effectively zero, so the magnitude of the voltage across R and the current
through R are constant; the capacitor charges and discharges linearly. These two
different approaches will be used in the basic clock circuit and basic ramp circuit.
8: Positive Feedback 36
Activity 8-6 R-C Circuits
Constant voltage
1: Measure and record the value of the capacitor, C.
Connect the variable resistor, R, between the function generator ( frequency = 500 Hz ) and
the capacitor, C.
Connect the free sides of the function generator and the capacitor to ground.
2: Adjust the square wave amplitude to 8.0 volts, peak-to-peak, as measured by an
oscilloscope.
3: Connect the oscilloscope across the capacitor to display VC. Adjust R to maximum
resistance. Record the oscilloscope display.
4: Describe how the display changes as R is varied.
Constant current
5: Connect the variable resistor, R, between the function generator ( frequency = 500 Hz )
and the (–) input of op-amp A. Connect the free sides of the function generator and the op-
amp (+) input to ground. Connect the capacitor, C, between Vout and the (–) input of op-
amp A. .
6: Repeat steps 2 to 4
Basic Clock
The basic clock circuit uses both positive and negative feedback. The positive
feedback makes Vout = ±Vsat and
V(+) = ±VsatR1/(R1 + Rf). The
negative feedback circuit alternately
charges and discharges C through R.
In the diagram VM represents the
maximum voltage the capacitor can
attain.
8: Positive Feedback 37
VT and while discharging VM = VT –(–Vsat) = Vsat + VT. The charge and discharge
cycles have the same VM (assume the positive and negative saturation voltages have
the same magnitude). Again referring to the diagram, the charging / discharging
continues until the capacitor voltage has changed by 2 VT. Represent this time for this
change by the symbol H, one-half the basic period of the clock. We seek an
expression for T ( =2H), the basic clock period.
H/RC
Basic Ramp
The constant current configuration of Activity
#6 illustrates a triangular wave generator. The
period was controlled by the square wave input
signal. Such a triangular waveform may be viewed
as a sequence of ascending and descending
ramps. The basic ramp circuit is shown. The
feedback mode is negative.
8: Positive Feedback 38
If Vref < 0 the output voltage, Vout , increases while the (–) op-amp input
remains at ground potential. A positive Vref causes Vout to decrease. Of course as
Vout reaches ±Vsat there is no further charging / discharging of capacitor, C. The
charge / discharge rate (volts / second ) is linear since the op-amp is in a constant
current configuration, with I = Vref / R.
Let Q represent the change in capacitor charge during the time interval, t.
Q = I t. = (–Vref / R) t
The capacitor voltage, VC, ( = Vout ) is Q / C so Vout = Q/C . Combine these to get
Vout / t = – Vref / RC and dVout/dt = – Vref / RC
8: Positive Feedback 39
Activity #8 Triangular wave
1: Measure and record RB1, RFB2, RFB3, C.
2: Configure the circuit for the triangular wave generator shown above where R
is the variable resistor R, RB1 as R1, RFB2 as Rf. Use Op-Amp A, Op-Amp B
and the potentiometer provided below Op-Amp B on the module.( Vout-B to P,
Q to free end of R) Monitor with an oscilloscope VOUT-A.
3: Vary Vf by adjusting the potentiometer and describe the amplitude and
period change in the ramp signal at VOUT-A.
4: Vary R and describe amplitude and period change in ramp signal.
5: Test #1 Set Vf = Vsat (in this case k=1.0) Set R to maximum resistance
(remember: always isolate R to measure resistance with a multimeter). Measure
period by using the frequency range of the multimeter and also compute
theoretical value.
6: Test #2 Set Vf = ½ Vsat or k = 0.5 and repeat Test #1
7: Test #3 Repeat Test #1 with Rf = RFB2 + RFB3.
8: On which variables does the signal amplitude depend?
8: Positive Feedback 40
Data Sheet Experiment # EL3-8
Positive feedback
Name: ________________________________Date:______
Activity 8-1 Negative Feedback
R1_____ Rf.______ + Vsat ______ – Vsat ______
Vin -8.0 -7.0 -6.0 -5.0 -4.0 -3.0 -2.0 -1.0
Vout
Vin 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0
Vout
[1+Rf/R1] ____ Slope____ Vref[Rf/R1] ____ Intercept _____
If Rf = 0________________________________________________
8: Positive Feedback 41
Activity 8-4 POSITIVE Feedback Vref ≠ 0
R1____ Rf.____ + Vsat ____ – Vsat ____ + V____ – V_____ VR______
Vin -8.0 -7.0 -6.0 -5.0 -4.0 -3.0 -2.0 -1.0
Vout
Vin 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0
Vout
Vin 8.0 7.0 6.0 5.0 4.0 3.0 2.0 1.0
Vout
Vin –1.0 –2.0 –3.0 –4.0 –5.0 –6.0 –7.0 –8.0
Vout
Time: Time:
msec/cm____ msec/cm___
8: Positive Feedback 42
Data Sheet Experiment # EL3-8 (continued)
8: Positive Feedback 43
ELECTRONICS III EL3-9
Analog to Digital Converters: Part I
Equipment: Module EL3-I, EL3 Power-source, multimeter, connectors
Real world measurements, apart from counting, are mainly analog . Various forms of
transducers express a measured quantity as a voltage continuously variable over some
given range, which may be displayed as the angular deflection of an analog meter pointer or
the pen position of a chart recorder. But microprocessors communicate in binary digital (0 or
1) not analog, form; also newer hand-held multimeters display results in decimal digital (0…9)
forms. This is the field for A/D or Analog to Digital converters.
In the block diagram above, the selected number and the unknown are represented by
the output of the comparison voltage generator and the external voltage, respectively. The
equality of the selected and unknown values is determined by the comparator: low if equal
and high if otherwise. A high output tells the counter to generate a new value; a low ends
the process.
The Counter
The counter used with the ladder network is a 74LS390 with (dual sets of) four digital
outputs, “weighted” as 8, 4,2 and 1. A high output voltage level (close to 4 volts) represents a
binary one, a low level (less than 1 volt) represents a binary zero. Two inputs of interest are
clock and clear; the clock input is negative edge-triggered,
that is, the action is performed only when the signal goes from
a high to low level. A clock input advances the binary count by
one unit. After a count of nine, 1001, the next count is back to
zero, 0000. The clear input is level sensitive, active high, that
is, as long as the input is high, all counting ceases, and all four
digital outputs are set low.
The four counter outputs, either high or low, are displayed by individual LEDs (Light
Emitting Diode). The output is also fed to a 74LS47 , which controls the 7-segment decimal
digit display.
Ladder Networks
A previous experiment on
D/A converters explained the
basic ladder network formed
by one or more segments
and a terminator, each or
resistance R. The input
resistance to a terminated
ladder network with any
number of segments is R . A
current entering any segment
divides equally, half to ground, half continuing to the next segment (or the terminator).
Referring to the diagram above, Node E, viewed from the left, presents a terminated
ladder network. Likewise the views from the left for nodes D, C and B also present
terminated ladder networks. And because the network is completely symmetric, the same is
true for nodes B, C, D and E as viewed from the right.
If A’ is disconnected from ground, its resistance through the network to ground is 3R,
the series combination of two R resistors (between A’ and A, and between A and B) and a
terminated ladder network as viewed at B. Likewise if B’ is disconnected from ground, its
resistance through the network to ground is also 3R. Looking left from B there is the series
combination of two R resistors; looking right from B there is the series combination of R and
a terminated ladder network. The parallel combination of these two 2R branches gives a
resistance of R, which added to the 2R between B’ and B gives a total of 3R resistance
between B’ and ground. Similar results follow for all other nodes C’, … , F’.
Neatly divided voltages are available at node B, depending on where the 3V constant
voltage is applied.
3 V applied at voltage at B
B’ V
C’ ½V
D’ ¼V
E’ 1/8 V
F’ 1/16 V
Notice the difference between the ladder networks here and in the prior experiment. There
the lower end of every 2R resistor was grounded (real or virtual) and a constant current
entered the un-terminated end of the ladder. Here a constant voltage is applied to one (or
more) of the un-grounded 2R resistors.
Recall the superposition theorem considered in experiment EL1-8.
Apply this to our present case and the table-data shown. For example, if 3V is applied
to both C’ and F’, the voltage at B is (½ + 1/16) V; if 3V is applied at the same time to C’,
D’, E’, and F’, the total voltage at B is (15/16) V. This modified ladder network is actually
a digital to analog converter, in which a four-bit binary number determines to which nodes
the 3V is applied..
Pressing clear sets B’, C’, D’ and E’ to zero, so the voltages at B and the
comparator inverting input, (–), are also zero. If V’ is greater than zero (assuming there is an
input) the comparator output is high (LED lamp lights). The pulse produced by pressing and
releasing the count button can pass through the AND gate since inputs at a and b are both
high, as indicated by the adjacent LED; The trailing edge of this pulse, entering the binary
counter, increases the counter total to 0001, and the decimal digit is changed to 1. The
voltage at E’ goes to 3 volts, at E to 1 volt, and at B to 1/8 volt. If this is less than V’, the
comparator’s output is still high, so pressing again the count button repeats the process and
the binary counter advances to 0010 and the decimal display to 2. The process continues until
the voltage at B is greater than V’. The comparator’s output then goes low, which closes the
AND gate; pulses from the count button can no longer reach the counter. The final binary and
decimal display is the converted Vinput .
1: Connect B to the (–) input. Connect B’, C’, D’ and E’ to QD, QC, QB, QA respectively.
Connect A’ and F’ to ground. Apply approximately 9 volts at VIN . Monitor node B with a
multimeter. Switch to manual.
2: Press clear to clear the counter (it should display a zero), then with the count button step
through the full counting range. As you keep counting measure and record voltage levels at
node B.
3: Press clear. Set VIN to some value less than 9 V, say 5 V, and press clear. In this
condition the comparator’s (+) input is greater that the (–) input so the comparator output is
high. Press count repeatedly until further pressing of count has no effect. In this condition
the (–) input is greater than (+) input so the comparator output is low.
Switching to AUTO (connecting b to VCC), makes the AND gate always open to the
comparator’s output. As you slowly increase Vinput, at a certain point the (+) comparator input
just exceedes the (–) input and the comparator output switches high. Since the AND gate is
kept open, the transition in voltage triggers the counter to advance. However the comparator
output remains high for a very short time; the counter advance also changes the ladder
network inputs, increasing the level at B and (–). Once again (–) exceeds (+) so the
comparator output goes low. As Vinput is further increased, the process a repeated again and
again and the display steps through 3, 4, and so on.
Successive Approximation
As mentioned above, another approach is that of successive approximation. The
ADC0804 is an Analog to Digital Converter chip, manufactured by National Semiconductor,
that uses such approach. Its specification sheet and functional description is available at
http://www.national.com. This chip is used in the present module. VREF is used to vary the
dynamic range of the analog input. Ideally, setting VREF to 2.56 V will give a resolution of 0.02
V, that is, for every increment of 0.02 V the binary counter increments by 1. Likewise, setting
VREF to 1.28 will give a resolution of 0.01 V.
1
Data sheets for the 74LS390 and 74LS47 may be obtained at http://www.fairchildsemi.com .
Data sheets for the ADC0804 may be obtained from http://www.national.com
Single Slope
The block diagram above shows the simplified “slow motion” single slope
converter used in this experiment . An voltage source ( 0 to 10.0 volts) is applied at Vin
and the reset button is pressed. As long as reset is pressed the counter display is held
at 00 and the capacitor within the ramp generator is discharged through a transistor.
The clock speed is variable. It should be adjusted so that the time for Vramp to
rise from 0 to 10.0 volts is just 100 clock pulses. To make this adjustment, apply a
constant 9.00 volts to Vin , press and release reset . If the display stops before reaching
90, increase clock speed (turn knob slightly in the F direction); if the display goes beyond
90 decrease clock speed (turn knob slightly in the S direction). After this clock
adjustment, the display should give the correct numerical value of any voltage applied to
Vin within the range from 0 to 10.0 volts
Dual Slope
For a capacitor with constant charging current, I, the charge, Q, is given by Q = I t
, where t is the time for the charge to change from zero to the final value Q. In the ramp
configuration this constant charging current, I, , is I = Vref / R . For the capacitor, Vcap
= Vramp = Q / C . Combining these we have
Vcap = Q / C = I t / C = Vref t / RC = Vramp
10: Analog to Digital Converters II 55
For the dual slope configuration the ramp values of C and R are the clock period
fixed while Vref and t vary. During the first (charge) cycle the capacitor, C, is charged
from zero by Vref = Vcharge = Vin for exactly 100 time units as generated by the fixed
clock. During the second (discharge) cycle C discharges back to zero by the adjustable
Vref = Vdischarge taking a measured t time units.
Vin 1.00 2.00 3.00 4.00 5.00 6.00 7.00 8.00 9.00 10.00
Display
Vdischarge _____________
Vin 1.00 2.00 3.00 4.00 5.00 6.00 7.00 8.00 9.00 10.00
Display
In previous experiments we
viewed various timing circuits. A single
integrated circuit, the 555 timer,
combines several components into a
single useful timing device. The heart of
the device is a pair of voltage
comparators (op-amps without
feedback) feeding an R-S data latch.
The chip requires a voltage Vcc
between 5 and 15 volts (pin #8 is Vcc,
pin #1 is ground). A series combination
of three identical resistors forms a
precision voltage divider. The inverting
input (–) or the upper comparator is
held at 2/3 Vcc; The non-inverting (+)
input of the lower comparator is held
at 1/3 Vcc . Notice that the 1/3 and 2/3
ratios are maintained, independent of
the actual value of Vcc.
In operation sensing voltages are applied to the free inputs of the two
comparators. If pin #6, the (+) input of the upper comparator, rises above 2/3 Vcc the
R-S latch is reset, and Q-bar goes high and remains high until pin #2, the (–) input of
the lower comparator, drops below 1/3 Vcc and Q goes high (recall that Q and Q-bar
are always opposite each other).
Whenever Q-bar is high the output and dump transistors conduct, which brings
low the output, pin #3, and provides a short circuit between dump, pin #7, and ground.
Also a low on reset . pin #4, lets the PNP transistor conduct , resetting the R-S latch
and therefore short circuiting to ground the dump pin #7.
t ≈ 1.1 RC
Recall for the R-S latch, a high input at S makes Q high, and Q will remain high
until a high input is applied to R (which makes Q low and Q-bar high). Observe the
wave shapes at points R and Q-bar of the R-S latch. R remains high for only a brief
moment, until the capacitor is discharged; Q-bar remains high until the next trigger
pulse is applied at pin # 2.
The module contains a real 555 timer chip and also an equivalent circuit
configuration of comparators and transistors to illustrate the chip functions.
5: For R = Rmax view and record the wave forms at pins #7 and #3 (oscilloscope
settings: horizontal = 1 msec/cm, vertical = 2 v/cm)
6: Repeat step 5 for R = Rmin.
7: Ground briefly pin #4, reset, and note the oscilloscope pattern
8: Repeat the above steps using the real 555 chip (no need to record results)
R = Rmin
V/cm___ __ ___V/cm
mS/cm____ms/ ___mS/cm
Pin #7 Pin # 3
R = Rmax
Pin #7 Pin # 3
Ra _______ Rb _________
Rb = Rmin ___________
Rb = Rmax ___________
The voltage controlled oscillator, VCO, is almost the same as the triangular wave
generator considered in Experiment EL3-8.
The diagrams from there are repeated here.
The same current, I, through R charges or
discharges the capacitor C, for the inverting
input of op-amp A has approximately infinite
impedance. It is at ground potential. Also I =
Vf / R. The voltage, VC, across the capacitor
is given as the ratio of charge to
capacitance, Q/C. The rate of change of this
capacitor voltage, dVC/dt is:
dVC/dt = (VT+ – VT–) / (T/2) (2) The same positive control voltage, Vctrl, is
applied to the inverting and the non-inverting
The oscillator frequency, f = 1/T , follows inputs of the two op-amps. Each has a gain of
by combining Eqs. 1 & 2 : two but of opposite sign. Output from the
upper, non-inverting, op-amp is positive so the
f = {kVcontrol/(VT+–VT–)}(1/2RC) (3) NPN transistor conducts when Vctrl is high,
making Vf positive. Output from the lower,
Module EL3-L contains a model inverting, op-amp is negative so the PNP
VC composed of discrete components to transistor conducts when Vctrl is low, making
illustrate the action of a commercial Vf negative. Both op-amps have a gain of 2
integrated circuit (IC) chip. Because the
model uses op-amps with a finite slew rate there is a time delay between the op-amps
input and output signal. For this reason the model VCO is accurate only at frequencies
below a few thousand hertz. However the model permits direct measurement at key
points in the circuit. Both our model and a commercial IC permit the user to select the R
and C components and adjust the control voltage, Vctrl.
VCO Parameters
For any ready made VCO, the user normally determines Vctrl , R and C while
the k, VT+ and VT– of Eq. (3) are determined by the manufacturer. There is a
practical range of values for Vctrl which may include positive or negative values.
Normally some mid-range value is selected as a reference value for Vctrl. The
corresponding center frequency, f0, depends on the values of R and C alone. It is
convenient to rewrite Eq. (3) as
f = Ko f0 Vctrl (4)
Here Ko depends on the circuit construction and is expressed in units of reciprocal
volts.
df/dVctrl = Ko f0 (5)
Recall that 1 hertz = 2 radians/second . Due to capacitive effects there are also
The term df/dVctrl may be expressed in units of hertz / volt or (radian/sec) / volt.
The switches at points (2),(3) and (4),(5) permit four different R/C combinations,
corresponding to four different center frequency values, f0. The selected capacitor
charges / discharges at a constant rate, producing at (7) a triangular voltage swinging
between VT+ and VT–. Op-amp B is an LM393 comparator rather than a LM741, to
give faster switching time. Its output at (9) switches between +Vsat and –Vsat as its
non-inverting input (8) passes through zero. Since the same current , I, flows in Rf and
R1, at the moment of switching I = VT+/R1 = +Vsat / Rf or VT+ = +Vsat (R1 /
Rf). For real op-amps the positive and negative values of Vsat are slightly different, so
VT+ and VT– must be measured individually.
Wave shaping
An op-amp output ranges between the positive and negative supply voltages,
typically ±12 volts. The input voltage for a TTL integrated circuit is limited to 0 to +5
volts. As shown in the diagram, a zener diode can be used to transform the 20 Vp-p
square wave output of the model VCO (A) to an acceptable TTL level (B). A simple R-
C circuit differentiates the square wave, providing a series of positive and negative
spikes (C). Either the
positive or negative spikes
may be removed with a
standard diode (D), which
may then be shaped with
a TTL buffer (E) and
turned upside down by a
TTL inverter (F).
Real diodes, either zener of standard, are not ideal. Unlike the precise response
of a op-amp comparator, they do not start conducting exactly at forward bias, nor stop
conducting with reverse bias. The simple circuits of this module lets you view the actual
response.
1: Connect the VCO output (9) to the first shaper input (A). Use the Ra - Cb combination and
set Vctrl to 2.50 volts.
2: Connect successively an oscilloscope to points (A) to (F). Record the oscilloscope display,
indicating the gain V/cm and time mSec/cm setting for each axis.
amplitude of the triangular wave should be / 2 times that of the sine wave.
maintain a constant infinite impedance for the output of the shaping circuit. Ideally the
4:
Vctrl Ra Ca Δf Ra Cb Δf Rb Ca Δf Rb Cb Δf
1.00 --- --- --- ---
1.50
2.00
2.50
3.00
3.50
4.00
--- --- --- ---
Ra Ca Ra Cb Rb Ca Rb Cb
Avg. Δf
Δf/ ΔVctrl
Ko
f from Eq.3
The present experiment deals with phase-lock loops which find a number of
applications in electronic communication systems. The basic phase-lock loop contains
three elements: a voltage-controlled oscillator (VCO), an RC filter and a phase
detector. The first two of these elements have already been considered in some detail.
Here we first examine the notion of phase and the properties of several phase
detectors. Only then may we connect together all three elements into a phase-lock loop
and examine its properties
itself whenever its argument is changed by 2 radians or 360 ; sine (θ ± 2) = sine (θ). For
difference is T/4 rather than 3T/4. Mathematically a sinusoidal (sine or cosine) function repeats
o
radians or degrees. A phase difference of one-quarter period, T/4, is equivalent to /2 radians
this reason phase differences, even for non-sinusoidal waves, are normally expressed in
or 90o . A dual-trace oscilloscope is useful for illustrating phase shifts. However if the two
waves are produced by separate function generators it would be difficult to maintain the
frequencies exactly equal. For this reason a phase shifter is placed on this module.
= 2 arctan 2 fRC
R, C and f
The circuit is basically an R-C voltage divider with output fed to the non-inverting
input of a unit-gain op-amp. The details are shown in the box above. It is interesting to
recall that a simple R-C divider can vary the output phase from 0o to 90o, while the
phase shifter shown can vary the phase from 0 o to 180o. The arctan A approaches 900
as A approaches infinity. Therefore to use this phase shifter at quite low frequencies the
product RC must be large if measurements close to 180o are to be made.
This circuit operates only on sinusoidal waves, since waves of other shapes
behave as a superposition of a set of sinusoidal waves with frequencies an integral
multiple of some fundamental value so each frequency component would be shifted by
a different amount. The output waveform would be quite distorted.
C: Trigonometry
The trigonometric formula for the sum of two angles, α and β , is given as
sin α + sin β = 2 sin (α + β)/2 cos (α – β )/2
Now let α = ωt and β = ωt + φ . We then obtain in terms of wave behavior
sin(ωt) + sin(ωt + φ) = {2 cos φ/2} sin(ωt + φ/2)
The left side of this equation represents two sine waves of equal amplitude and
frequency with a phase difference φ. The right side represents a single wave of the
same frequency but with amplitude 2 cos φ/2. For φ = 0 , the cosine term equals
o
1.00 so the resulting wave amplitude is 2.00 units, the maximum possible value. At
the other extreme, for φ = 180 the cosine term is zero, so the resulting wave
o
o
amplitude is zero. Represent the amplitude of the sum by A; then A(0 ) = 2 units
and
For TTL logic gates a high level, H, is above 3 volts and a low, L, is below one
volt. For the AND and XOR (eXclusive OR) the output, C, depends of the present levels
of inputs A and B. For the R-S, the output levels depend on the transition in input levels
at R and S, and remain until a new input transition occurs
The high output level for TTL gates is slightly less than four volts. At zero phase
difference the AND gate is high for one half of each period so its filtered output voltage
is just 50% of the high level. At zero phase difference the XOR gate is low for the entire
cycle so its filtered output voltage is zero.
For the AND and XOR gates there are two phase shift values corresponding to a
given output voltage . This is because these gates give the phase difference,
irrespective of which input is leading or lagging (interchanging the two input terminals
causes no change in output). However the RS gate output depends not only on the
phase difference but also if the S input signal leads or lags the R input, so for a given
filtered output voltage there is one and only one phase difference. For the AND and
The slope of the graph lines shown above is defined as the phase detector
sensitivity, KD, in units of volts per radian or volts per degree (1 radian = 57.3o) .
The Filter
The voltage pattern from the phase detector ( AND, XOR or RS ), repeated every
cycle, is smoothed by the filter circuit to a constant output voltage, directly proportional
to the phase difference of the input signals. If the input signal’s phase difference
changes, the filter output likewise changes.
(t) = 2(2
Now a uniformly changing phase is equivalent to a change in frequency.
Suppose the phase changes at a uniform rate of 720o each second, or
The signal just before the filter, viewed on an oscilloscope, is the slowly changing XOR
pattern. Viewed after the filter, it is a DC signal slowly changing between the low and
high TTL levels, in accord with the diagrams of filtered voltage output against phase
difference, shown above. When the input signals differ by just 2 hertz, the filter output
will vary at two cycles per second. If the input signals differ by 20 hertz, the filter output
appears as a sine wave with a frequency of 20 hertz . (Adjust the horizontal sweep
speed speed to view this more conveniently).
But recall that the filter resistor-capacitor circuit is actually a low pass filter, so
the greater the input frequency, the more the output amplitude is attenuated. As the
difference in the two frequencies increases, the filter output sine wave increases in
frequency but its amplitude decreases. It is this particular behavior of the phase detector
- filter combination that makes the phase-lock loop practical.
f = ( Vctrl / RC ) / Vtriangle
The peak-to-peak value of Vsquare is fixed at approximately 20 volts, which can be
reduced to TTL levels by the sine-to-square shapers.
How could you set the VCO output to 2.00 kHz ? Of the four quantities which
determine f, you are free to choose two, namely R and Vctrl, while C and Vtriangle were
fixed when the module was made. Suppose your measurements give C = 100 nf =
1.00 x 10–7 farads and Vtriangle = 2.0 volts. (Since Vtriangle is measured from the
oscilloscope screen, it is the least accurate). This gives us
Vctrl / R = f C Vtriangle = (2.00x 103)(2.0)(1.00x10–7) = 4.0x10–4
You next select any convenient R and Vctrl combination. A few possibilities are shown:
for f = 2.0 kHz
R Vctrl
2.0 k 0.80 volts
4.0k 1.60 volts
8.0 k 3.20 volts
Suppose the initial phase difference with an XOR had been somewhere between
180o and 360o ? Then an initial slight frequency increase in A would cause a slight
decrease in B, so the phase difference increases and the frequency difference between
A and B grows without bounds. The frequencies are no longer locked .
2: Use the AND detector. Determine the lowest and highest possible frequencies for lock
(actual lock range} . Also determine the actual capture range.
Frequency Multiplication
One application of phase-lock loops is frequency multiplication; the loop output
frequency is an integral multiple of the input frequency. Digital circuits can readily divide
frequency, but cannot directly multiply it. The filtered phase detector output is constant if
its two inputs have identical frequency. The VCO output depends on Vctrl as well as on
RC. For a fixed value of Vctrl the VCO output can be made to vary widely simply by
changing R or C.
Voltage controlled oscillators (VCO) and phase-locked loops (PLL) are used in
an information transmitting system called frequency shift keying, FSK. Digital data
conveys information through a time series of high and low voltages. If such digital data
is sent through wireless by amplitude modulation, fading and random noise often
produce errors. Frequency shift keying converts the input high and low voltage levels
to a carrier whose frequency shifts between two values, corresponding to the high and
low input voltages. Amplitude changes in the received signal then have no relevance.
On the transmit side a VCO changes the two voltage levels of the input signal to
two separate frequencies normally rather close together, suitable for wireless
transmission. On the receive side, the phase-lock system has a capture range that
includes the two transmitted frequencies. The VCO output frequency changes to lock
with the current input frequency. The output signal is not the VCO output but rather the
Vctrl voltage input to the VCO which reproduces the original input signal.
AND
min flock ____ max flock ____ lock range _____
min fcapture ____ max fcapture ____ capture range ______
XOR
min flock ____ max flock ____ lock range _____
min fcapture ____ max fcapture ____ capture range ______
RS
min flock ____ max flock ____ lock range _____
min fcapture ____ max fcapture ____ capture range ______
Communications I: AM and FM
Industrial Electronics
91