TExcelTAD
Home › Circuit Theory & Network Analysis › Thevenin Equivalents with Dependent Sources and from Measurements

Thevenin Equivalents with Dependent Sources and from Measurements

The output of an amplifier, a regulator or a sensor interface is a network full of transistors, which in a linear model are dependent sources. Shorting the supplies and combining resistors gives the wrong output resistance for such a network, sometimes wildly wrong, because the dependent sources react to whatever you connect. And often you cannot see inside at all: a battery, a module or a lab instrument is a black box. This lesson finds Thevenin equivalents in both situations: with a test source when you have the schematic, and from two load measurements when you only have terminals.

Why source deactivation fails

Thevenin and Norton Equivalents found RThR_\text{Th} by turning off the independent sources and reducing resistors. A dependent source cannot be turned off: it is part of the network's behaviour. When you push a current into the terminals, its control variable changes and it pushes back, which changes the resistance you see. Two methods always work:

  • RTh=Voc/IscR_\text{Th} = V_\text{oc}/I_\text{sc}, from the open-circuit voltage and short-circuit current with all sources active;
  • the test source: set the independent sources to zero, apply vtv_t at the terminals, compute the current iti_t it delivers, RTh=vt/itR_\text{Th} = v_t/i_t. If the network has no independent sources, VTh=0V_\text{Th} = 0 and this is the only way.
+ - VS 12 V R1 3 kOhm R2 6 kOhm R3 1 kOhm gm vx gm = 0.25 mS a b + - vt x dashed: test source for R_Th (VS set to 0)

Worked example: a network with a VCCS

Given: VS=12 VV_S = 12\ \text{V}, R1=3 kΩR_1 = 3\ \text{k}\Omega, R2=6 kΩR_2 = 6\ \text{k}\Omega, R3=1 kΩR_3 = 1\ \text{k}\Omega, and a VCCS that draws gmvxg_m v_x from terminal a to ground, gm=0.25 mSg_m = 0.25\ \text{mS}, where vxv_x is the voltage of node x.

Find: VThV_\text{Th} and RThR_\text{Th} at a-b, by the test source, and check with IscI_\text{sc}.

Solve (units kΩ\text{k}\Omega, mA, V, mS). Open circuit: the only path for the VCCS current is through R3R_3, so R3R_3 carries gmvxg_m v_x from x to a. KCL at x:

vx−123+vx6+0.25 vx=0  ⇒  0.75 vx=4  ⇒  vx=5.333 VVTh=va=vx−R3⋅0.25 vx=0.75⋅5.333=4.0 V\begin{aligned} \frac{v_x - 12}{3} + \frac{v_x}{6} + 0.25\, v_x &= 0 \;\Rightarrow\; 0.75\, v_x = 4 \;\Rightarrow\; v_x = 5.333\ \text{V} \\ V_\text{Th} = v_a &= v_x - R_3 \cdot 0.25\, v_x = 0.75 \cdot 5.333 = 4.0\ \text{V} \end{aligned}

Test source, VS=0V_S = 0: KCL at x gives vx/3+vx/6+(vx−vt)/1=0v_x/3 + v_x/6 + (v_x - v_t)/1 = 0, so vx=23vtv_x = \tfrac{2}{3} v_t. The test source delivers the current through R3R_3 plus the VCCS current:

it=vt−vx1+0.25 vx=vt3+vt6=vt2⇒RTh=vtit=2.0 kΩi_t = \frac{v_t - v_x}{1} + 0.25\, v_x = \frac{v_t}{3} + \frac{v_t}{6} = \frac{v_t}{2} \quad\Rightarrow\quad R_\text{Th} = \frac{v_t}{i_t} = 2.0\ \text{k}\Omega

Check: short circuit, va=0v_a = 0: vx(1/3+1/6+1)=4v_x (1/3 + 1/6 + 1) = 4 gives vx=2.667 Vv_x = 2.667\ \text{V}, so Isc=2.667/1−0.25⋅2.667=2.0 mAI_\text{sc} = 2.667/1 - 0.25 \cdot 2.667 = 2.0\ \text{mA} and Voc/Isc=4/2=2 kΩV_\text{oc}/I_\text{sc} = 4/2 = 2\ \text{k}\Omega. Naive deactivation (ignoring the VCCS) would have given R3+R1∥R2=3 kΩR_3 + R_1 \parallel R_2 = 3\ \text{k}\Omega: 50 % too high.

In Python: both routes with SymPy

SymPy solves the KCL equations symbolically, so the result shows how RThR_\text{Th} depends on gmg_m.

python · try it yourself
import sympy as sp

vx, va, vt, gm = sp.symbols("v_x v_a v_t g_m")
R1, R2, R3, VS = 3, 6, 1, 12                    # kOhm, V

# open circuit: KCL at x and at a (R3 current x->a equals the VCCS current a->0)
sol = sp.solve([(vx - VS)/R1 + vx/R2 + (vx - va)/R3,
                (va - vx)/R3 + gm*vx], [vx, va], dict=True)[0]
Voc = sp.simplify(sol[va])

# test source with VS = 0: v_a = v_t, find the current it delivers
vx_t = sp.solve(vx/R1 + vx/R2 + (vx - vt)/R3, vx)[0]
it = (vt - vx_t)/R3 + gm*vx_t
Rth = sp.simplify(vt/it)

print("V_Th(gm) =", Voc)
print("R_Th(gm) =", Rth)
g = sp.Rational(1, 4)
print("at gm = 0.25 mS: V_Th =", Voc.subs(gm, g), "V, R_Th =", Rth.subs(gm, g), "kOhm")
print("at gm = 0 (no dependent source): R_Th =", Rth.subs(gm, 0), "kOhm")
V_Th(gm) = 8*(1 - g_m)/(2*g_m + 1)
R_Th(gm) = 3/(2*g_m + 1)
at gm = 0.25 mS: V_Th = 4 V, R_Th = 2 kOhm
at gm = 0 (no dependent source): R_Th = 3 kOhm

With gm=0g_m = 0 the formulas fall back to the passive network (8 V8\ \text{V} from the divider, 3 kΩ3\ \text{k}\Omega). As gmg_m grows, the VCCS pulls harder on terminal a for every volt at x and RTh=3/(1+2gm)R_\text{Th} = 3/(1 + 2 g_m) shrinks: a dependent source can make an output stiffer than its resistors suggest, which is how feedback lowers an amplifier's output resistance.

Cross-check with SPICE

A 1 V1\ \text{V} test source at a with VS=0V_S = 0 measures iti_t directly; then the same deck without the VCCS.

bash · try it yourself
cat > rth.cir <<'EOF'
* Test source at terminal a, VS set to 0
VS s 0 DC 0
R1 s x 3k
R2 x 0 6k
R3 x a 1k
G1 a 0 x 0 0.25m
Vt a 0 DC 1
.control
op
print i(Vt)
.endc
.end
EOF
ngspice -b rth.cir 2>&1 | grep -E '^i\('
sed '/^G1/d' rth.cir > rth0.cir
ngspice -b rth0.cir 2>&1 | grep -E '^i\('
i(vt) = -5.00000e-04
i(vt) = -3.33333e-04

With the VCCS, 1 V1\ \text{V} drives 0.5 mA0.5\ \text{mA} out of the test source (negative in SPICE's convention): RTh=2 kΩR_\text{Th} = 2\ \text{k}\Omega. Without it, 0.333 mA0.333\ \text{mA}: 3 kΩ3\ \text{k}\Omega. G1 a 0 x 0 0.25m is ngspice's VCCS: 0.25 mS⋅vx0.25\ \text{mS} \cdot v_x flows from a through the source to ground.

Thevenin from two load measurements

For a black box, connect two known loads RL1R_{L1} and RL2R_{L2} and measure the terminal voltage each time, V1V_1 and V2V_2; the currents are Ik=Vk/RLkI_k = V_k / R_{Lk}. Both points lie on the line v=VTh−RThiv = V_\text{Th} - R_\text{Th} i:

RTh=V2−V1I1−I2,VTh=V1+I1RThR_\text{Th} = \frac{V_2 - V_1}{I_1 - I_2}, \qquad V_\text{Th} = V_1 + I_1 R_\text{Th}

This needs no short circuit, so it is safe for batteries and supplies. The result is most accurate when the two currents differ a lot, because RThR_\text{Th} comes from a difference of two nearly equal voltages. With more than two loads, fit the line by least squares (Least Squares).

python · try it yourself
import numpy as np

# Two-load method on the network above (V_Th = 4 V, R_Th = 2 kOhm), with ideal readings
RL1, RL2 = 1.0, 6.0                                  # kOhm
V1, V2 = 4 * RL1 / (2 + RL1), 4 * RL2 / (2 + RL2)     # V
I1, I2 = V1 / RL1, V2 / RL2                           # mA
Rth = (V2 - V1) / (I1 - I2)
print(f"V1 = {V1:.4f} V at {I1:.4f} mA, V2 = {V2:.4f} V at {I2:.4f} mA")
print(f"R_Th = {Rth:.4f} kOhm, V_Th = {V1 + I1 * Rth:.4f} V")

# An assumed 4xAA pack (6.20 V, 0.80 ohm) read with +-1 mV meter noise
rng = np.random.default_rng(7)
Vth_true, Rth_true = 6.20, 0.80
loads = np.array([1000, 220, 100, 68, 47, 33.0])      # ohm
v = Vth_true * loads / (Rth_true + loads) + rng.normal(0, 0.001, loads.size)
i = v / loads
r2 = (v[-1] - v[0]) / (i[0] - i[-1])
A = np.column_stack([np.ones_like(i), -i])
(vt_fit, rt_fit), *_ = np.linalg.lstsq(A, v, rcond=None)
print(f"two loads (1000 and 33 ohm): R_Th = {r2:.3f} ohm, V_Th = {v[0] + i[0] * r2:.4f} V")
print(f"least squares, six loads:   R_Th = {rt_fit:.3f} ohm, V_Th = {vt_fit:.4f} V")
V1 = 1.3333 V at 1.3333 mA, V2 = 3.0000 V at 0.5000 mA
R_Th = 2.0000 kOhm, V_Th = 4.0000 V
two loads (1000 and 33 ohm): R_Th = 0.806 ohm, V_Th = 6.2000 V
least squares, six loads:   R_Th = 0.806 ohm, V_Th = 6.2001 V

With ideal readings the two-load method returns the network's 2 kΩ2\ \text{k}\Omega and 4 V4\ \text{V} exactly. With 1 mV1\ \text{mV} of noise on the battery readings, the widely spaced loads still land within about 1 % of the assumed 0.80 Ω0.80\ \Omega; the least-squares fit uses all six readings and is less exposed to one bad point.

Interactive: load the dependent network

Slide RLR_L. At RL=2 kΩ=RThR_L = 2\ \text{k}\Omega = R_\text{Th} the lab reads va=2 Vv_a = 2\ \text{V}, half of VThV_\text{Th}; at RL=6 kΩR_L = 6\ \text{k}\Omega, 3 V3\ \text{V}. Then slide the gain of G1 toward zero and watch the readings move toward those of the passive network (8 V8\ \text{V} behind 3 kΩ3\ \text{k}\Omega).

node voltages (to ground 0)s12.00 Vx4.000 Va2.000 VnetlistVS s 0 DC 12R1 s x 3kR2 x 0 6kR3 x a 1kG1 a 0 x 0 0.25mRL a 0 2kelement currents (node 1 to node 2 through it)VSs>0-2.67 mAR1s>x2.67 mAR2x>0667 uAR3x>a2.00 mAG1a>01.00 mARLa>01.00 mA

Guided lab: the internal resistance of a battery pack

Hand calculation. Four fresh AA alkaline cells in series read roughly 6.26.2 to 6.4 V6.4\ \text{V} open-circuit, with a total internal resistance of roughly 0.60.6 to 1.2 Ω1.2\ \Omega (Energizer's technical bulletin on internal resistance gives about 150 to 300 mΩ\Omega for a fresh alkaline cylindrical cell, measured with a 100 ms pulse; the value depends on brand, temperature and state of charge). With RTh=0.8 ΩR_\text{Th} = 0.8\ \Omega, a 33 Ω33\ \Omega load drops the terminal voltage by about 6.2⋅0.8/33.8=147 mV6.2 \cdot 0.8/33.8 = 147\ \text{mV}.

Simulation. The Python fit above, with your own load values.

What you would measure. Read the open-circuit voltage, then the voltage with a 100 Ω100\ \Omega (1 W) and a 33 Ω33\ \Omega (2 W or more) load connected briefly (a few seconds each, so the cells do not warm up and recover). Use a meter with at least 1 mV resolution on the 6 V range, measuring at the battery terminals with the load wired separately (four-wire style), so lead resistance is not counted. Expect a difference of about 100 mV100\ \text{mV} between the two loaded readings, so ±1 mV\pm 1\ \text{mV} per reading alone gives an RThR_\text{Th} uncertainty of a few percent; drift as the cells recover usually adds more, and the answer changes with load current and time. Repeat each reading three times.

Hazards and safe setup. Low voltage, but a battery pack can deliver amps into a short: never short it to measure IscI_\text{sc}. Check the load resistors' power: 33 Ω33\ \Omega at 6.2 V6.2\ \text{V} is 1.2 W1.2\ \text{W}. Do not use lithium cells for this experiment. Disconnect loads between readings.

Pitfalls

  • Deactivating dependent sources. Never; only independent sources are set to zero.
  • A network with only dependent sources has VTh=0V_\text{Th} = 0 and still a non-trivial RThR_\text{Th}; it needs a test source.
  • Negative RThR_\text{Th}. Possible with dependent sources (the network can deliver power when pushed), and a sign that a load could make the circuit unstable.
  • Two loads that are too similar. RThR_\text{Th} then comes from the difference of two almost equal readings and the error explodes.
  • Batteries are not linear. Their internal resistance changes with current, charge and temperature; a Thevenin model holds near the operating point where it was measured.

Practice

  1. Repeat the worked example with gm=0.5 mSg_m = 0.5\ \text{mS}: find VThV_\text{Th} and RThR_\text{Th}.
  2. A module reads 4.80 V4.80\ \text{V} with 1 kΩ1\ \text{k}\Omega and 4.00 V4.00\ \text{V} with 200 Ω200\ \Omega. Find its Thevenin equivalent.
  3. A network contains only resistors and a CCVS. What is its VThV_\text{Th}, and how do you find RThR_\text{Th}?
Answer
  1. VTh=8(1−0.5)/(1+1)=2 VV_\text{Th} = 8(1 - 0.5)/(1 + 1) = 2\ \text{V}, RTh=3/2=1.5 kΩR_\text{Th} = 3/2 = 1.5\ \text{k}\Omega.
  2. I1=4.8 mAI_1 = 4.8\ \text{mA}, I2=20 mAI_2 = 20\ \text{mA}; RTh=(4.80−4.00) V/(20−4.8) mA=52.6 ΩR_\text{Th} = (4.80 - 4.00)\ \text{V}/(20 - 4.8)\ \text{mA} = 52.6\ \Omega; VTh=4.80+4.8 mA⋅52.6 Ω=5.05 VV_\text{Th} = 4.80 + 4.8\ \text{mA} \cdot 52.6\ \Omega = 5.05\ \text{V}.
  3. VTh=0V_\text{Th} = 0 (no independent source). Apply a test voltage vtv_t, compute iti_t, RTh=vt/itR_\text{Th} = v_t/i_t.

Test yourself

To find RThR_\text{Th} of a network with a dependent source using a test source, you…

  1. deactivate all sources including the dependent one
  2. set independent sources to zero, keep the dependent source, apply vtv_t and compute vt/itv_t/i_t
  3. short the output and measure the current
  4. add the resistances in series

In the example, naive deactivation gives 3 kΩ3\ \text{k}\Omega and the test source 2 kΩ2\ \text{k}\Omega. Which is right?

  1. 3 kΩ3\ \text{k}\Omega
  2. 2 kΩ2\ \text{k}\Omega
  3. both, at different loads
  4. neither

A source reads 9.0 V with a 900 ohm load and 8.0 V with a 400 ohm load. Its Thevenin resistance is…

  1. 100 Ω100\ \Omega
  2. 50 Ω50\ \Omega
  3. 200 Ω200\ \Omega
  4. 500 Ω500\ \Omega

Why is the two-load method preferred to a short-circuit test for a battery?

  1. it is more accurate
  2. a short circuit can deliver a dangerous current and heat the battery
  3. batteries have no Thevenin equivalent
  4. the short-circuit current is always zero