Professional Documents
Culture Documents
An op-amp amplifier is a very high gain amplifier having very high input impedance (a few MΩ)
and a low output impedance (< 100Ω). For the sake of this course, we will not be considering the
implementation of op-amps using transistors, though such an understanding helps in better
appreciation. However, this is not a pre-requisite as the operational amplifiers can be effectively
considered to be black boxes and with knowledge of its properties, circuits can be designed
around them.
Op-amps are used in several modes that fit a wide range of applications ranging from sensor
interfacing where the op-amps are used as amplifiers to comparator, converter, filter and Schmitt
trigger circuits among others. We shall consider such interesting concepts one by one and the
corresponding application. Grasping the principles and characteristics of these modes is essential
to understanding their use in systems and for their correct design.
As discussed before for diodes, the concept of an ideal component simplifies analysis and then
understanding the differences from the ideal and real components allows catering for the
divergence of the real component from ideality. We’ll start the analysis of op-amps in this way.
The +Vs and –Vs terminals represent the power supply to the op-amp and are sometimes omitted
from circuit diagrams for clarity. The V+ and V- terminals are the input terminals for applying
voltages/signals and are respectively called the inverting and non-inverting input terminals.
Finally, the output voltage appears at the output terminal Vout.
Vout can only be within the range [-Vs, Vs] since ultimately it is derived from the power supply.
Since A is very large, the slightest difference between V+ and V- saturates the op-amp positively
or negatively depending on whether V+ > V- or V+ < V-. Saturation relates to the state of the op-
amp where the output takes extreme values.
So the op-amp input terminals V+ and V- should be virtually at the same potential to ensure the
op-amp does not saturate. On the other hand, saturation is a desired effect in certain applications
as we shall see later. The following graph shows the gain characteristics for an ideal op-amp.
Understanding this ideal op-amp, we now consider the deviations observed for a real op-amp.
Properties of the real op-amp:
• Very high input impedance but not infinite; hence it consumes little power.
• Small output impedance.
• Very high gain but not infinite.
• Frequency response is not uniform; that is it does not amplify all frequencies by the same
gain.
• The maximum value taken by the output is not equal to the supply voltage. This is mainly
due to the barrier voltage present in transistors. Typically, it is taken as 1V less than the
voltage supply. Thus for a ±12V supply voltage to the op-amp, the maximum output can
be taken as ±11V.
So in the equation Vout = Ao*(V+ - V-), Ao has a very high value. For this gain the difference in
V+ - V- that causes saturation can be computed and hence the maximum value V+ - V- can take to
be still in the linear region (see graph below) can be determined. The gain characteristics curve
for such a real op-amp is shown below:
Example:
An op-amp has an open-loop gain of 1x105. The output voltage can swing from +12V to -12V.
Draw the gain characteristics showing the threshold values for the x-axis for transition into
saturation.
Ao = 1x105
Vm = 12V ⇒ V+ - V- = 12/1x105 = 120 µV
NOTE: Gradient of graph in the linear region gives the open-loop gain.
Such a circuit can effectively be used as a comparator, for which only positively and negatively
saturated outputs are required with the result that the output is a square wave. The rising edge of
the waveform is not exactly vertical due to the finite value of the op-amp gain and the slew rate
of the op-amp. The latter is the maximum rate of change of output permitted by the op-amp. We
shall see the effect of the slew rate on the op-amp operation later.
We start with analysing the op-amp applications with the comparator.
Comparator
The circuit diagram for a comparator simply uses the op-amp alone, though reference levels can
be set for the inverting or non-inverting inputs using potential divider circuits.
The behaviour of the comparator can be described using the following sets of mathematical
conditions: When V+ > V-, Vout saturates positively and hence equals Vm.
When V- > V+, Vout saturates negatively and hence equals –Vm.
Examples: (a)
Assuming an ideal op-amp, sketch the output waveform for the following input waveforms
applied at V+.
A potential divider circuit is used to set the inverting input voltage at +2V. Show how this can be
achieved and sketch the corresponding output waveform for the sinusoidal wave.
(b)
The input signal at the non-inverting terminal is a saw-tooth waveform as shown below:
The reference voltage applied across the inverting terminal is variable by adjusting a
potentiometer. Sketch the output waveform for the following values of Vref: (a) 4V (b) 1V (c) 5V
(d) -3V.
Q. What happens when the reference voltage is changed? Give your answer in terms of the ON
time and frequency of the output waveform.
Lecture 17
Feedback
Like in any system, the use of negative feedback is used to bring about stability. The use of
feedback from the output voltage brings about a controllable gain between the input and the
output, dependant on the values of the components used to bring about the feedback. Another
possibility for feedback is positive feedback and its main application is to keep the op-amp in
saturation always and this principle is made use of in Schmitt trigger, which we’ll analyse further
in this section.
Coming back to negative feedback, based on the terminal to which the input signal is applied, the
circuit is known as inverting or non-inverting amplifier. It is also possible to apply input signals
to both input terminals.
The negative value of the closed loop gain is the reason for the inverting nature of this op-amp
configuration. Using appropriate values of Rf and Rin, the gain can be set.
Example:
Using the voltage divider equation for the two series resistors gives:
VAG = VA – VG = VA = R1*Vout/(R1+Rf)
⇒ Vout/VA = (R1 + Rf)/R1
Now V- = VA
For the op-amp to operate in the active region (non-saturated),
V+ ≈ V-
But V+ = Vin
Hence V- = Vin
∴ V- = VA = V+ = Vin
The gain is always positive and hence does not invert the phase of the input signal (non-inverting
amplifier).
Example:
The following input signal is applied to the V+ terminal of the op-amp. Sketch the output voltage.
Voltage Follower
The voltage follower provides unity gain between the input and output with no phase change; the
output follows the input. One might speculate on the use of such a device which does not provide
amplification, but it does offer many desirable properties namely high input impedance and low
output impedance. Examples further should make the importance of these properties clearer.
First let’s consider the circuit for such a voltage follower.
The closed loop gain for this non-inverting circuit was shown to be 1 + Rf/R1
If Rf is made zero and R1 infinity, that is, Rf = 0, R1 → ∞
The expression becomes, Ac = Vout/Vin = 1 + 0/∞ = 1
Zero resistance is simply a short-circuit and infinite resistance is open circuit.
Hence the circuit for the voltage follower is:
Vout/Vin = 1
To show the functionality of a voltage follower, consider the following simple voltage divider
circuit.
Now a load of resistance RL is connected across R2. The voltage divider circuit is used to feed
the load. Hence the voltage divider acts as an input to the load.
Q. Calculate Vout for the following values of RL (a) 100Ω (b) 10KΩ (c) 10MΩ
The aim of the circuit was to supply 2.5V to the load but the above calculations shows the
loading effect of a load; the effect of the resistance of load on the output voltage.
Q. What can you conclude about the desirable connected load impedance?
Let’s consider the voltage divider circuit from a different perspective now.
R1 and R2 are now variable but they are always equal so as to supply a voltage of 2.5V still. The
load resistance is now fixed at 10KΩ. Calculate Vout for R1 = R2 = (a) 100Ω (b) 1KΩ (c) 10KΩ
(d) 10MΩ.
Now these calculations show the desirable properties of the output impedance of a circuit.
The first series of calculations was treating the connected load RL as receiving power from the
voltage divider circuit and it was found that high impedance is desirable.
The second series of calculations treated the voltage divider as feeding the load RL and it was
found that low output impedance was desirable.
In summary, it is desirable to possess a high input impedance and a low output impedance. The
voltage follower being built from an op-amp provides these desirable properties without any
amplification or phase inversion. Let’s consider an application for the voltage follower:
Example:
An old battery of emf 10V is required to supply a load of 100Ω. Due to ageing, the internal
resistance of the battery has a poor value of 25Ω. Calculate the voltage appearing across the load.
Summing amplifier
The summing amplifier is similar to the inverting amplifier save it has more than one input. A
four-input summing amplifier is shown below:
To derive the expression modelling the behaviour of the op-amp, the virtual earth approximation
is used.
Since V+ = 0, V- ≈ 0
Hence VE = 0
Using Ohm’s law,
I1 = (V1-0)/R1, I2 = (V2-0)/R2, I3 = (V3 – 0)/R3, I4 = (V4 – 0)/R4
Using the Kirchhoff’s current law,
If = I1 + I2 + I3 + I4
Also If = (0 – Vout)/Rf
⇒ -Vout/Rf = V1/R1 + V2/R2 + V3/R3 + V4/R4
⇒ Vout = -Rf*( V1/R1 + V2/R2 + V3/R3 + V4/R4)
So the output is a weighted sum of the input voltages as determined by the resistances.
If R1 = R2 = R3 = R4 = Rf = R,
Vout = -(V1+V2+V3+V4)
The summing amplifier can also serve as a D/A converter. The purpose of a D/A converter is to
convert a digital value formed by a combination of 1’s and 0’s into an analogue value.
Let’s see how we can achieve that. Consider the following circuit:
As we studied in our digital lectures, the high logic state ‘1’ may be represented as a high voltage
and the low logic state ‘0’ as a low voltage. Usually 5V represents logic state ‘1’ and 0V
represents logic state ‘0’. Hence say for the 4-bit binary number 11112, all the voltages V1, V2,
V3 and V4 are 5V. Similarly, the following binary numbers give the following inputs to the
summing amplifier: 1001: V1 = 5V, V2 = V3 = 0V, V4 = 5V
0111: V1 = 0V, V2 = V3 = V4 = 5V
1011: V1 = 5V, V2 = 0V, V3 = V4 = 5V
The equation for the summing amplifier circuit becomes:
Vout = -R(V1/2R + V2/4R + V3/8R + V4/16R)
= -(V1/2 + V2/4 + V3/8 + V4/16) = -5*(B3/2 + B2/4 + B1/8 + B0/16)
Where B0 is the LSB and B3 is the MSB.
Hence 11112 has an analogue equivalent:
Vout = 5*(1/2 + 1/4 + 1/8 + 1/16) = 4.6875V considering magnitudes only. The 16 possible
combinations and their analogue equivalent voltages are shown in the following table:
Binary Numbers Analogue Equivalent
0 0 0 0 0
0 0 0 1 0.3125
0 0 1 0 0.625
0 0 1 1 0.9375
0 1 0 0 1.25
0 1 0 1 1.5625
0 1 1 0 1.875
0 1 1 1 2.1875
1 0 0 0 2.5
1 0 0 1 2.8125
1 0 1 0 3.125
1 0 1 1 3.4375
1 1 0 0 3.75
1 1 0 1 4.0625
1 1 1 0 4.375
1 1 1 1 4.6875
Using this circuit, binary numbers can be mapped onto analogue voltages. Usually we have 8-bit
D/A converters and the circuit can be expanded to cater for 8 inputs.
Assignment/Discussion: Build the circuit for an 8-bit D/A converter. Derive the equation relating
bits to analogue voltages and hence compute the analogue equivalence for the following binary
numbers: (a) 110011002 (b) 111111112 (c) 000000002
Lecture 18
Gain-Bandwidth characteristics
To stabilise op-amps, they are in-built with compensation circuitry. This has the side effect of
reducing the open-loop gain with increasing frequency. The gain versus frequency plot is as
shown:
The frequency f1 produces unity gain and it is called the unity gain bandwidth. The cut-off
frequency, fc, is the frequency at which the gain is reduced by √2. The relationship between f1
and fc is f1 = Avd*fc
Slew Rate, SR
The slew rate, specified for op-amps by manufacturers, is the maximum rate at which the op-amp
output can change in volts per microsecond. If the signal applied to the op-amp has a voltage
change much smaller than the slew rate, the op-amp can change the output at the input rate, but
should the output be required to change at a rate of voltage greater than the slew rate, the output
would not be able to change fast enough resulting in signal clipping or distortion. The following
diagrams show the effect of slew rate.
Assume op-amp SR = 1V/µs.
Consider applying these two square waves to an op-amp circuit with closed-loop gain of 5.
Clearly, the output waveform depends on the slew rate of the op-amp, gain and input rate of
change of voltage.
Example:
An op-amp has a slew rate of 2V/µs. The input signal changes by 0.4V in 10µs. What is the
maximum closed loop gain for the op-amp.
Input voltage rate of change = 0.4/10 = 0.04 V/µs.
Permitted slew rate = 2V/µs.
The maximum frequency should also be less than the unity gain bandwidth.
NOTE: Usually op-amps are not operated in open-loop mode but are used in closed-loop mode.
The reduction in gain results in several benefits:
The amplifier voltage gain is more stable.
Input impedance is increased.
Output impedance is reduced.
Frequency response of the circuit is increased.
Multi-stage gains
Consider the following frequency response.
If a gain Areq is required at a frequency of freq, then from the Bandwidth-Gain characteristics, it is
seen that for such an op-amp, the desired gain cannot be obtained at the input signal frequency.
However operating two op-amps in series with Areq1 and Areq2 being the gains for each stage
respectively such that Areq = Areq1*Areq2 can be a solution. Operating the op-amp at lower gains
of Areq1 and Areq2 improves the frequency response and makes it possible to get the desired
specifications.
As discussed above, a number of amplifier circuits can be connected in series to bring about a
larger gain. Using more stages than just one circuit makes the circuits more stable as discussed.
A1 = 1 + Rf/R1; A2 = -Rf2/R2
Vout = A1 x A2 = (1 + Rf1/R1)*-Rf2/R2
Example:
Calculate the output for the first stage, Vout1 and the final output Vout2 if V1 = 25mV, V2 = 75mV
and V3 = 125mV.
Principle of Superposition for analysing circuits with two sources
To analyse circuits with two sources applied to the op-amp circuit, the principle of superposition
is used. This principle considers the effect of each source individually on the op-amp and finally
the actual response to the sources is due to the addition of the separate impetuses.
Let’s work out an example:
VA = R3*V1/(R1 + R3) = V-
VB = R2*Vout1/(R2 + R4) = V+
V- = V+
:. R3*V1/(R1 + R3) = R2*Vout1/(R2 + R4)
⇒ Vout1 = (R2 + R4)/R2 * R3/(R1 + R3) * V1
VB = 0 = V-
VAC = R2*(Vout2 – VC)/(R2 + R4)
VC is at a potential of V2
⇒ VA – V2 = R2*(Vout2 – V2)/(R2+R4)
⇒ VA = R2*(Vout2 – V2)/(R2 + R4) + V2 = V+
V+ = V- = 0
Vout R f + Rg
Hence = at cut-off frequency.
Vs 2Rg
Show the cut-off point on the magnitude response graph.
Implementing an integrator using op-amp
The following circuit can be used to perform integration on a signal.
i1 = i 2
Vin dV
= −C f * out
R dt
1 t
Vout = * ∫ Vin dt
RC f 0
The hysteresis can be used to advantage in circuits to prevent erroneous transitions that a normal
comparator will cause. The following diagrams depict this benefit provided by the Schmitt
trigger.
The voltage levels for these two thresholds can be set using the voltage Vb and the resistance
values. Knowing the noise level, these threshold limits can be set to prevent noise transitions
causing output transitions.