Difference Amplifier Analysis Notes

Difference Amplifier Overview

  • Definition: A difference amplifier outputs the difference between two input voltages, denoted as V2 and V1.

Observations on Previous Circuits

  • Inverting and Non-Inverting Terminals: Previous op-amp circuits had sources connected directly to either the inverting or non-inverting terminals.
  • Connection Details: In this configuration:
  • V1 is connected to the inverting terminal.
  • V2 is connected to the non-inverting terminal via a resistive network, affecting the voltage at that terminal (denoted as Vp).
  • Voltage Divider Effect: Since the current into the input of the op-amp is zero, the current through R3 (from V2) also flows through R4, creating a voltage divider with:
  • Vp Calculation: Vp = V2 * (R4 / (R3 + R4)).

Virtual Short Concept

  • Virtual Short: Due to the properties of op-amps, the voltage at the inverting terminal (Vn) equals Vp, which is a scaled version of V2.
  • Gain Characteristics: In non-inverting configurations, the gain was slightly higher for the non-inverting terminal (1 + R2/R1) compared to the inverting one (-R2/R1).

Circuit Analysis Steps

  1. KCL at Inverting Terminal:
  • Sum currents leaving the inverting terminal set to zero:
    • Current through R1: (Vn - V1) / R1.
    • Feedback loop current through R2: (Vn - Vout) / R2.
  1. Abbreviated Equation for Leaving Node Currents:
  • (Vn / R1) + (Vn / R2) = (V1 / R1) + (Vout / R2).
  1. Combine Terms:
  • Rearranging gives: Vn = [(V1/R1 + Vout/R2)(R1*R2)/(R1+R2)].
  1. Output Equation:
  • Rearranging yields: Vout = Vn * (R1 + R2)/R1 - V1 * R2/R1.

Replacing Vn

  • Dependency on V2:
  • Substitute Vn with its relation to V2: Vn = V2 * (R4 / (R3 + R4)).
  • Final Output Equation: Includes both terms:
  • Vout = [(R4/(R3 + R4))*(R1 + R2)/R1 - V1 * R2/R1].

Achieving Gain Equivalence

  • Condition for Equal Gain: Gain from V2 and V1 should be equal:
  • R4/R3 must equal R2/R1, allowing them to cancel out.
  • Simplified Output: Thus, the output simplifies to:
  • Vout = (R2/R1)(V2 - V1).

Significance of the Difference Amplifier

  • Utility: This configuration is essential for obtaining a scaled difference between two input signals, making it useful in control systems and feedback loops.
  • Applications: Commonly utilized for voltage comparison in circuits, including operational control systems, enhancing the effectiveness of various electrical circuit analyses.
  • Differential Amplifier Reference: Often referred to as a differential amplifier due to its functionality of sampling and subtracting voltages from distinct points within a circuit.

Conclusion

  • The difference amplifier is a crucial op-amp configuration allowing the manipulation of two input voltage sources with varying applications in control and feedback systems.