Table of Contents

ToggleA **difference amplifier** is a circuit in which the output voltage is proportional to the difference between the input voltages.

Difference amplifier using op-amp can be obtained by connecting voltages to both input terminals of op-amp.

Difference amplifier is also known as **Differential amplifier or Subtractor **(with few changes)**.**

## Circuit Diagram

In difference amplifier one of the Input V_{1} is given to non-inverting terminal and the other input V_{2} to the inverting terminal of op-amp.

Following circuit diagram shows the difference amplifier using op-amp. The feedback resistor R_{f} is connected from output to input.

## Derivation for Output Voltage

As one source is applied to each input terminal, let’s use Superposition Theorem to calculate output voltage.

To obtain output V_{o}, we determine output V_{O}’ due to Input V_{1} alone and V_{o}” due to Input V_{2} alone.

Assume V_{1} to be short circuited i.e. connected to ground.

The difference amplifier circuit then reduced to an inverting amplifier with output V_{O}’’ due to V_{2 }aloneas shown in following figure.

This is an inverting amplifier hence output voltage is given by,

…(1)

Where, -R_{f}/R_{i }is the gain of inverting amplifier.

Now, assume V_{2} to be short circuited i.e. connected to ground.

The difference amplifier circuit then reduced to a non-inverting amplifier with output V_{O}’ due to V_{1 }alone as shown in following figure.

By potential divider rule, voltage at the point A,

…(2)

For a non–inverting op-amp the output voltage is given by,

…(3)

From equation (2) and (3),

…(4)

If R_{2}=R_{1},R_{3}=R_{f},

Therefore equation (4) becomes,

…(5)

By Superposition theorem,

Putting values of and in above expression [from equation (1) and (5)] we get,

…(6)

Thus, output is proportional to difference between the inputs. Hence this circuit is known as difference amplifier.

## Subtractor

In the equation (6) if we substitute if R_{f}=R_{1}=R then the expression of output voltage is given by,

Thus, the difference amplifier gets transformed into a subtractor.

The subtractor circuit is shown in the following figure. It is same as difference amplifier except values of resistances.

Note that, all the resistances are having same value (R). The gain of subtractor is 1.

## Formula

The output voltage of a difference amplifier is given by,

.

Where,

R_{f} is feedback resistance.

R_{1} is input resistance (at inverting terminal).

V_{1} is the voltage applied at non-inverting terminal and

V_{2} is the voltage applied at inverting terminal.

If R_{f}=R_{1} then

This is the output voltage expression for subtractor.

## Video Tutorial on Difference Amplifier Using Op-Amp

## Recent posts

### Related posts:

- Introduction to Op-amp
- Parameters of Op-amp
- Configuration of Op-Amp
- Open Loop Configuration of Op-Amp
- Closed Loop Configuration of Op-Amp
- Virtual Short and Virtual Ground Concept
- Summing Amplifier Using Op-Amp | Adder Using Op-Amp
- Integrator Using Op-Amp
- Differentiator Using Op-Amp
- Comparator Using Op-Amp
- Zero Crossing Detector (ZCD)