You are on page 1of 9

Analog Circuits Practice Lab

Experiment-7: Circuits using Operational Amplifiers

26-09-2019
1 Differential amplifier
Thus far we have used only one of the operational amplifiers inputs to connect to the ampli-
fier, using either the inverting or the non-inverting input terminal to amplify a single input
signal with the other input being connected to ground. But as a standard operational ampli-
fier has two inputs, inverting and no-inverting, we can also connect signals to both of these
inputs at the same time producing another common type of operational amplifier circuit
called a “Differential Amplifier”. Basically all op-amps are “Differential Amplifiers” due to
their input configuration. But by connecting one voltage signal onto one input terminal and
another voltage signal onto the other input terminal the resultant output voltage will be
proportional to the “Difference” between the two input voltage signals of V1 and V2 .
Then differential amplifiers amplify the difference between two voltages making this type
of operational amplifier circuit a subtractor unlike a summing amplifier which adds or sums
together the input voltages. This type of operational amplifier circuit is commonly known
as a “Differential Amplifier” configuration and is shown Fig. 1. By connecting each input

Figure 1: Differential amplifier

in turn to 0 V ground we can use superposition to solve for the output voltage Vout . Then
the transfer function for a “Differential Amplifier” circuit is given as:
V1 − Va V2 − Vb Va − Vout
I1 = , I2 = , If = . (1)
R1 R2 R3
Summing point Va = Vb and
R4
Vb = V2 . (2)
R2 + R4
If V2 = 0, then
R3
Vout(a) = −V1 . (3)
R1

1
If V1 = 0, then
  
R4 R1 + R3
Vout(b) = V2 . (4)
R2 + R4 R1

We know that

Vout = −Vout(a) + Vout(b) , (5)

  
R3 R4 R1 + R3
Vout = −V1 + V2 . (6)
R1 R2 + R4 R1

When resistors R1 = R2 and R3 = R4 the above transfer function for the differential amplifier
can be simplified to the following expression:
R3
Vout = (V2 − V1 ). (7)
R1
If all the resistors are all of the same ohmic value, that is: R1 = R2 = R3 = R4 then the
circuit will become a “Unity Gain Differential Amplifier” and the voltage gain of the amplifier
will be exactly one or unity. Then the output expression would simply be Vout = V2 − V1 .
Also note that if input V1 is higher than input V2 the output voltage sum will be negative,
and if V2 is higher than V1 , the output voltage sum will be positive.
The Differential Amplifier circuit is a very useful op-amp circuit and by adding more
resistors in parallel with the input resistors R1 and R2 , the resultant circuit can be made to
either “Add” or “Subtract” the voltages applied to their respective inputs. One of the most
common ways of doing this is to connect a Resistive Bridge commonly called a Wheatstone
bridge to the input of the amplifier as shown Fig. 2.

Figure 2: Wheatstone bridge differential amplifier

2 Instrumentation amplifier
Instrumentation Amplifiers (in-amps) are very high gain differential amplifiers which have
a high input impedance and a single ended output. Instrumentation amplifiers are mainly

2
used to amplify very small differential signals from strain gauges, thermocouples or current
sensing devices in motor control systems.
Unlike standard operational amplifiers in which their closed-loop gain is determined by an
external resistive feedback connected between their output terminal and one input terminal,
either positive or negative, instrumentation amplifiers have an internal feedback resistor
that is effectively isolated from its input terminals as the input signal is applied across two
differential inputs, V1 and V2 .
The instrumentation amplifier also has a very good common mode rejection ratio, CMRR
(zero output when V1 = V2 ) well in excess of 100dB at DC. A typical example of a three
op-amp instrumentation amplifier with a high input impedance (Zin ) is given in Fig. 3. The

Figure 3: High input impedance instrumentation amplifier

two non-inverting amplifiers form a differential input stage acting as buffer amplifiers with
a gain of 1 + 2R2 /R1 for differential input signals and unity gain for common mode input
signals. Since amplifiers A1 and A2 are closed loop negative feedback amplifiers, we can
expect the voltage at Va to be equal to the input voltage V1 . Likewise, the voltage at Vb to
be equal to the value at V2 .
As the op-amps take no current at their input terminals (virtual earth), the same current
must flow through the three resistor network of R2 , R1 and R2 connected across the op-amp
outputs. This means then that the voltage on the upper end of R1 will be equal to V1 and
the voltage at the lower end of R1 to be equal to V2 .
This produces a voltage drop across resistor R1 which is equal to the voltage difference
between inputs V1 and V2 , the differential input voltage, because the voltage at the summing

3
junction of each amplifier, Va and Vb is equal to the voltage applied to its positive inputs.
However, if a common-mode voltage is applied to the amplifier’s inputs, the voltages on
each side of R1 will be equal, and no current will flow through this resistor. Since no current
flows through R1 (nor, therefore, through both R2 resistors, amplifiers A1 and A2 will operate
as unity-gain followers (buffers). Since the input voltage at the outputs of amplifiers A1 and
A2 appears differentially across the three resistor network, the differential gain of the circuit
can be varied by just changing the value of R1 .
The voltage output from the differential op-amp A3 acting as a subtractor, is simply the
difference between its two inputs (V2 − V1 ) and which is amplified by the gain of A3 which
may be one unity (assuming that R3 = R4 ). Then we have a general expression for overall
voltage gain of the instrumentation amplifier circuit as

1 + 2R2 /R1
Vout = (V2 − V1 ) . (8)
R4 /R3

3 Rectifiers
AC and DC are two frequent terms that you encounter while studying the flow of electrical
charge. Alternating Current (AC) has the property to change its state continuously. For
example, if we consider a sine wave, the current flows in one direction for positive half cycle
and in the opposite direction for negative half cycle. On the other hand, Direct Current
(DC) flows only in one direction.
An electronic circuit, which produces either DC signal or a pulsated DC signal, when an
AC signal is applied to it is called as a rectifier. This section discusses about op-amp based
rectifiers in detail.

3.1 Half wave rectifier


A half wave rectifier is a rectifier that produces positive half cycles at the output for one half
cycle of the input and zero output for the other half cycle of the input. The circuit diagram
of a half wave rectifier is shown in Fig. 4. Observe that the circuit diagram of a half wave
rectifier shown in Fig. 4 looks like an inverting amplifier, with two diodes D1 and D2 in
addition.
The working of the half wave rectifier circuit is explained below

• For the positive half cycle of the sinusoidal input, the output of the op-amp will be
negative. Hence, diode D1 will be forward biased.

• When diode D1 is in forward bias, output voltage of the op-amp will be -0.7 V. So,
diode D2 will be reverse biased. Hence, the output voltage of the above circuit is zero
volts.

• Therefore, there is no (zero) output of half wave rectifier for the positive half cycle of
a sinusoidal input.

• For the negative half cycle of sinusoidal input, the output of the op-amp will be positive.
Hence, the diodes D1 and D2 will be reverse biased and forward biased respectively.

4
Figure 4: Half wave rectifier using op-amp

So, the output voltage will be


Rf
V0 = − V1 . (9)
R1

Figure 5: Half wave rectifier

As you can see from Fig. 5, the half wave rectifier circuit diagram that we discussed will
produce positive half cycles for negative half cycles of sinusoidal input and zero output for
positive half cycles of sinusoidal input

3.2 Full wave rectifier


Full wave rectifier produces positive half cycles at the output for both half cycles of the
input. The circuit diagram of a full wave rectifier is shown in Fig. 6. The circuit diagram

5
Figure 6: Full wave rectifier using op-amps

consists of two op-amps, two diodes, D1 and D2 and five resistors, R1 to R5 . The working
of the full wave rectifier is explained below.

• For the positive half cycle of a sinusoidal input, the output of the first op-amp will
be negative. Hence, diodes D1 and D2 will be forward biased and reverse biased
respectively.

• Then, the output voltage of the first op-amp will be


R2
V01 = − Vi . (10)
R1

• Observe that the output of the first op-amp is connected to a resistor R4 , which is
connected to the inverting terminal of the second op-amp. The voltage present at the
non-inverting terminal of second op-amp is 0 V. So, the second op-amp with resistors,
R4 and R4 acts as an inverting amplifier.

• The output voltage of the second op-amp will be


R5
V0 = − V01 . (11)
R4

• Substituting the value of V01 in the above equation, we get


R2 R5
V0 = − Vi . (12)
R1 R4

• Therefore, the output of a full wave rectifier will be a positive half cycle for the positive
R2 R5
half cycle of a sinusoidal input. In this case, the gain of the output is . If we
R1 R4
consider R1 = R2 = R4 = R5 = R, then the gain of the output will be one.

• For the negative half cycle of a sinusoidal input, the output of the first op-amp will be
positive. Hence, diodes D1 and D2 will be reverse biased and forward biased respec-
tively.

6
• The output voltage of the first op-amp will be
R3
V01 = − Vi . (13)
R1

• The output of the first op-amp is directly connected to the non-inverting terminal
of the second op-amp. Now, the second op-amp with resistors, R4 and R5 acts as a
non-inverting amplifier.

• The output voltage of the second op-amp will be


1 + R5
V0 = V01 . (14)
R4

• Substituting the value of V01 in the above equation, we get


 
R3 1 + R5
V0 = − Vi . (15)
R1 R4

• Therefore, the output of a full wave rectifier will be a positive half cycle for the negative
half
 cycle
 of sinusoidal
 input also. In this case, the magnitude of the gain of the output
R3 1 + R5
is . If we consider R1 = 2R3 = R4 = R5 = R then the gain of the
R1 R4
output will be one.

Figure 7: Full wave rectifier

7
Work to be done in the lab
• To design and implement differential and instrumentation amplifiers using op-amps.

• To design and implement half wave and full wave rectifiers using op-amps.

Further reading
1. S. Franco, Design with Operational Amplifiers and Analog Integrated Circuits, McGraw-
Hill, 1988

2. R. Mancini, Op Amps for Everyone: Design Reference, Texas Instruments, 2002.

You might also like