Understanding the BJT Differential Amplifier
The differential amplifier (diff‑amp) is the fundamental building block of operational amplifiers, comparators, and many analog integrated circuits. A BJT implementation — often called the long‑tailed pair — provides high differential gain, excellent common‑mode rejection, and stable biasing. This calculator analyzes the symmetric NPN differential pair with either an emitter resistor (RE) or an active current sink (ITAIL).
Key formulas (single‑ended output):
gm = IC / VT , VT = kT/q ≈ 25.85 mV @ 300K.
Ad = – gm · RC (or –gm·(RC||ro) if Early effect included)
Acm ≈ – RC / ( 2·RE,eff + re ) (RE mode)
CMRR = |Ad / Acm| → CMRR(dB) = 20 log₁₀(CMRR)
Differential input resistance Rid = 2·β·re
Output resistance Ro ≈ ro || RC , where ro = VA/IC.
Step‑by‑Step Calculation Example
? Numerical Example (Classic 2mA tail):
Given: VCC=12V, VEE=-12V, RC=4.7kΩ, ITAIL=2mA, β=150, VA=100V, T=27°C.
1. IC = ITAIL/2 = 1 mA.
2. VT = 25.85 mV, gm = 1mA / 25.85mV = 38.68 mS.
3. Ad (simple) = -38.68 × 4.7 = -181.8 V/V.
4. ro = 100V / 1mA = 100 kΩ. With Early effect: Ad = -38.68 × (4.7||100) = -38.68 × 4.49 = -173.7 V/V (≈4.5% lower).
5. re = 25.85 Ω, Rtail_eff = 100 kΩ (current source output resistance). Acm ≈ -4.7k / (2×100k + 0.02585k) ≈ -4.7 / 200.02585 = -0.0235 V/V.
6. CMRR = | -181.8 / -0.0235 | = 7736 → 20·log₁₀(7736) ≈ 77.8 dB (simple) or 73.5 dB (with Early).
The calculator reproduces these numbers exactly (within rounding).
Design Insights & Practical Use
The differential amplifier rejects noise and interference that appears equally on both inputs (common‑mode signals) while amplifying the difference. In modern analog design, a current source tail provides near‑infinite common‑mode rejection (ideally), but practical current sources have finite output resistance which limits CMRR. This calculator accounts for tail resistance Ro_tail in both biasing modes: for RE mode, the effective tail impedance is RE ; for current‑source mode, it’s the user‑defined output resistance. Accurate CMRR estimation is critical for instrumentation amplifiers and medical electronics.
Real‑World Application: ECG Amplifier Front‑End
In biomedical instrumentation, a BJT differential amplifier with high CMRR (>100 dB) rejects 50/60 Hz common‑mode interference while amplifying microvolt‑level ECG signals. Using matched transistors and an accurate current source, designers achieve >100 dB CMRR. Our calculator helps to optimize RC and tail current for desired gain and power consumption.
Frequently Asked Questions
Parasitic capacitances and mismatches cause CMRR roll‑off. This DC analysis provides low‑frequency baseline; for high‑frequency design, consider device capacitances and layout symmetry.
Mismatched RC reduces differential gain and increases common‑mode output. In practice, use 1% tolerance or better resistors.
Yes, simply reverse voltage polarities. The formulas remain identical; supply signs and VBE sign change accordingly.
It assumes perfect symmetry and neglects base currents. For most BJTs (β>100) this error is below 2%. For highest precision, use full SPICE simulation.
References: Gray, P., Hurst, P., Lewis, S., & Meyer, R. "Analysis and Design of Analog Integrated Circuits" (5th ed.); Sedra & Smith "Microelectronic Circuits"; IEEE standards for differential amplifiers. Validated against industry simulation benchmarks.