Subtractor/Difference Amplifier

The subtraction of the two input voltages is possible with the help of subtractor. The subtractor using op-amp is shown in figure below. It is also called as difference amplifier.

subtractor1

The input signals applied are V1 and V2.
Let us assume that the non-inverting terminal is at potential ‘V’. Due to virtual ground concept, the inverting terminal appears to be at the same potential ‘V’ as shown in the circuit diagram.

Let the current flowing through resistance R1 and R2 are I1 and I2 respectively. Since input current to the op-amp is zero, the two currents flows through the resistance Rf as shown in circuit diagram above. The current I2 is given as

subtractor2

From the above equation voltage ‘V’ can be calculated as
subtractor3
The current I1 is given as
subtractor4
Simplify the equation,
subtractor5
Substituting the voltage ‘V’ from the  equation we get,

subtractor6
If R1=R2

subtractor7

If R1=R2=Rf
subtractor8
Thus at the output we get subtraction of the two input voltages.
The subtractor circuits are used to solve various mathematical equations.

All About Basic Electronics