TExcelTAD
Home › Circuit Theory & Network Analysis › Ideal, Practical and Dependent Sources

Ideal, Practical and Dependent Sources

A battery pack reads 9.30 V9.30\ \text{V} while it powers a small motor drawing 0.1 A0.1\ \text{A}, and 8.50 V8.50\ \text{V} when the motor stalls and draws 0.5 A0.5\ \text{A}. Which number is "the battery voltage"? Neither: the pack behaves like an ideal 9.5 V9.5\ \text{V} source behind 2 Ω2\ \Omega of internal resistance, and two measurements are enough to find both. This lesson defines the sources that circuit analysis uses, ideal and practical, and the dependent sources that model amplifiers and transistors. The components themselves (cells, supplies, fuses) are in Sources, Switches and Fuses.

Ideal independent sources

An ideal voltage source holds its terminal voltage at vs(t)v_s(t) whatever current flows; the current is set by the rest of the circuit. An ideal current source drives is(t)i_s(t) whatever voltage that needs; the voltage is set by the circuit. On a vv–ii graph they are a horizontal and a vertical line.

Some connections are therefore contradictions, and a simulator reports a singular matrix for them:

  • two ideal voltage sources of different value in parallel, or an ideal voltage source shorted;
  • two ideal current sources of different value in series, or an ideal current source left open.

Real hardware does not fail with an error message: it supplies a large current until something limits it, which is why bench supplies have current limits and cells have fuses.

Practical sources

A real source sags under load. To first order its terminal voltage falls linearly with current:

v=Vs−Rs iv = V_s - R_s\,i

which is exactly an ideal source VsV_s in series with a resistance RsR_s (the Thevenin model). Equivalently, an ideal current source Is=Vs/RsI_s = V_s/R_s in parallel with RsR_s (the Norton model); Source Transformation shows they are interchangeable. A good voltage source has small RsR_s; a good current source has large RsR_s. Two load points fix the line: the open-circuit voltage voc=Vsv_{oc} = V_s and the short-circuit current isc=Vs/Rsi_{sc} = V_s/R_s are its intercepts (the second one is computed, not measured, for anything that stores energy).

battery pack (model) + - Vs 9.5 V Rs 2 Ohm a b RL load + - v i

Dependent (controlled) sources

A dependent source has a value set by a voltage or current somewhere else in the circuit. It is drawn as a diamond, with +/−+/- for a voltage output or an arrow for a current output. There are four kinds:

Source Output Controlled by Gain and its unit Typical use
VCVS voltage μvx\mu v_x voltage vxv_x μ\mu, V/V op-amp model (open-loop gain)
VCCS current gmvxg_m v_x voltage vxv_x gmg_m, S (transconductance) MOSFET and BJT small-signal models
CCVS voltage rmixr_m i_x current ixi_x rmr_m, Ω\Omega (transresistance) transimpedance amplifier model
CCCS current βix\beta i_x current ixi_x β\beta, A/A BJT model, iC=βiBi_C = \beta i_B
+ - mu vx VCVS, mu in V/V gm vx VCCS, gm in S + - rm ix CCVS, rm in ohm beta ix CCCS, beta in A/A

Dependent sources are linear elements (their output is proportional to the control variable), so every method in this course applies to circuits that contain them, with two adjustments: you must add the controlling variable to the equations, and you may not set a dependent source to zero the way you do independent sources in superposition or when finding a Thevenin resistance. They are also what make circuits non-reciprocal and their nodal matrices non-symmetric, as the code below shows.

Worked example: characterise the battery pack

Given: v=9.30 Vv = 9.30\ \text{V} at i=0.10 Ai = 0.10\ \text{A} and v=8.50 Vv = 8.50\ \text{V} at i=0.50 Ai = 0.50\ \text{A}.

Find: VsV_s, RsR_s, the computed short-circuit current, and the terminal voltage into 17 Ω17\ \Omega and into 2 Ω2\ \Omega.

Solve:

Rs=−ΔvΔi=−8.50−9.300.50−0.10 VA=2.0 Ω,Vs=9.30 V+0.10 A⋅2.0 Ω=9.50 Visc=VsRs=4.75 ARL=17 Ω:i=9.519=0.50 A,v=8.50 V;RL=2 Ω:i=9.54=2.375 A,v=4.75 V\begin{aligned} R_s &= -\frac{\Delta v}{\Delta i} = -\frac{8.50 - 9.30}{0.50 - 0.10}\ \frac{\text{V}}{\text{A}} = 2.0\ \Omega, \qquad V_s = 9.30\ \text{V} + 0.10\ \text{A} \cdot 2.0\ \Omega = 9.50\ \text{V} \\ i_{sc} &= \frac{V_s}{R_s} = 4.75\ \text{A} \\ R_L = 17\ \Omega:&\quad i = \frac{9.5}{19} = 0.50\ \text{A}, \quad v = 8.50\ \text{V}; \qquad R_L = 2\ \Omega:\quad i = \frac{9.5}{4} = 2.375\ \text{A}, \quad v = 4.75\ \text{V} \end{aligned}

Check: the 17 Ω17\ \Omega case reproduces the second measurement. With RL=RsR_L = R_s the terminal voltage is half of VsV_s, the condition for maximum power transfer; the pack then wastes as much power inside as it delivers.

In Python

The first part fits the source line; the second solves a one-transistor-like stage modelled by a VCCS: a 0.1 V0.1\ \text{V} signal behind 1 kΩ1\ \text{k}\Omega, an input resistance of 10 kΩ10\ \text{k}\Omega, a 100 kΩ100\ \text{k}\Omega feedback resistor from output to input, gm=40 mSg_m = 40\ \text{mS} and a 2 kΩ2\ \text{k}\Omega load. The VCCS adds gmg_m to row "out", column "in" of the nodal matrix, and nowhere else.

python · try it yourself
import numpy as np

# 1) a practical source from two load points: v = Vs - Rs*i
i_pts = np.array([0.1, 0.5])       # A
v_pts = np.array([9.30, 8.50])     # V
Rs = -(v_pts[1] - v_pts[0]) / (i_pts[1] - i_pts[0])
Vs = v_pts[0] + Rs * i_pts[0]
print(f"Vs = {Vs:.2f} V, Rs = {Rs:.2f} ohm, Isc = Vs/Rs = {Vs/Rs:.2f} A (never short a real cell)")
for RL in [100.0, 17.0, 2.0]:
    i = Vs / (Rs + RL)
    print(f"RL = {RL:5.1f} ohm: I = {i:.4f} A, terminal V = {Vs - Rs*i:.3f} V")

# 2) a VCCS amplifier stage by nodal analysis (unknowns v_in, v_out)
vs, Rsig, Rin, Rf, RL, gm = 0.1, 1e3, 10e3, 100e3, 2e3, 40e-3
G = np.array([[1/Rsig + 1/Rin + 1/Rf, -1/Rf],
              [-1/Rf + gm,            1/Rf + 1/RL]])   # gm*v_in leaves node out
b = np.array([vs / Rsig, 0.0])
vin, vout = np.linalg.solve(G, b)
print(f"v_in = {vin*1e3:.3f} mV, v_out = {vout:.4f} V, gain v_out/vs = {vout/vs:.2f}")
print("matrix symmetric?", np.allclose(G, G.T))
Vs = 9.50 V, Rs = 2.00 ohm, Isc = Vs/Rs = 4.75 A (never short a real cell)
RL = 100.0 ohm: I = 0.0931 A, terminal V = 9.314 V
RL =  17.0 ohm: I = 0.5000 A, terminal V = 8.500 V
RL =   2.0 ohm: I = 2.3750 A, terminal V = 4.750 V
v_in = 52.795 mV, v_out = -4.1398 V, gain v_out/vs = -41.40
matrix symmetric? False

The stage inverts and amplifies by about 41. Without RfR_f the gain from the input node would be −gmRL=−80-g_mR_L = -80; the feedback resistor and the source resistance reduce it.

Interactive: the practical source and the VCCS stage

The power lab draws the battery pack: E=9.5 V\mathcal{E} = 9.5\ \text{V}, r=2 Ωr = 2\ \Omega and a 17 Ω17\ \Omega load.

+−ℰ = 9.5 Vr = 2.0 Ωreal cellVU = 8.50 VR = 17.0 ΩAI = 0.50 AI05101520R (Ω)PR (W)max 11.3 W at R = r4.3in 10.0 s: 43 J into R, 5 J wasted in the cell

It reads I=0.500 AI = 0.500\ \text{A} and a terminal voltage of 8.50 V8.50\ \text{V} (it writes UU). Lower RR to 2 Ω2\ \Omega and the terminal voltage halves.

The netlist lab solves the VCCS stage; G1 out 0 in 0 40m is a current 40 mS⋅vin40\ \text{mS} \cdot v_\text{in} flowing from out through the source to ground.

node voltages (to ground 0)s100.0 mVin52.80 mVout-4.140 VnetlistV1 s 0 DC 0.1Rsig s in 1kRin in 0 10kRf in out 100kG1 out 0 in 0 40mRL out 0 2kelement currents (node 1 to node 2 through it)V1s>0-47.2 uARsigs>in47.2 uARinin>05.28 uARfin>out41.9 uAG1out>02.11 mARLout>0-2.07 mA

At gm=40 mSg_m = 40\ \text{mS} it shows vin=52.80 mVv_\text{in} = 52.80\ \text{mV} and vout=−4.140 Vv_\text{out} = -4.140\ \text{V}.

Guided lab: measure a source's internal resistance

Hand calculation. A 9 V9\ \text{V} PP3 alkaline battery has an internal resistance of the order of 11 to 2 Ω2\ \Omega when fresh (an order-of-magnitude figure, not a datasheet value: the battery is six small cells in series, and Energizer gives about 150 to 300 mΩ\Omega for one fresh alkaline cylindrical cell; it rises steeply as the cells discharge and in the cold).

Simulation. The two-point fit above.

What you would measure. Load the battery with 100 Ω100\ \Omega (about 90 mA90\ \text{mA}; use a 2 W resistor) and then 47 Ω47\ \Omega (about 190 mA190\ \text{mA}; 2 W), each for only a few seconds, and read the terminal voltage each time with a DMM directly at the battery clips. Expect a difference of a few tenths of a volt; Rs=−Δv/ΔiR_s = -\Delta v/\Delta i comes out to an ohm or two. The uncertainty is dominated by the cell recovering between readings: take each reading at the same time after connecting (say 2 s) and repeat three times. Measure the actual load resistances too; their 5 % tolerance enters Δi\Delta i directly.

Hazards and safe setup: only an alkaline battery or a current-limited bench supply. Never short-circuit a cell to "measure" isci_{sc} and never use lithium cells for this exercise: their short-circuit current is large enough to overheat wiring and the cell. The load resistors get warm (0.8 W0.8\ \text{W} in 100 Ω100\ \Omega at 9 V9\ \text{V} would be the steady value), so keep the tests short.

Pitfalls

  • Zeroing a dependent source. In superposition and Thevenin resistance calculations, only independent sources are set to zero.
  • Forgetting the control equation. A dependent source adds an unknown unless its control variable is already a node voltage or a known current.
  • Mixing up the arrow and the polarity. A diamond with an arrow is a current source; with +/−+/- a voltage source.
  • Believing the open-circuit voltage. A battery near the end of its life can read almost full voltage open-circuit and collapse under load: always test under load.

Practice

  1. A bench supply set to 5.00 V5.00\ \text{V} reads 4.98 V4.98\ \text{V} at 1.0 A1.0\ \text{A}. What is its output resistance?
  2. A VCVS with μ=100\mu = 100 is controlled by vx=25 mVv_x = 25\ \text{mV} and drives a 1 kΩ1\ \text{k}\Omega load. Find the load current.
  3. A CCCS with β=150\beta = 150 is controlled by ix=20 μAi_x = 20\ \mu\text{A} and drives a 2.2 kΩ2.2\ \text{k}\Omega resistor to ground. What voltage appears across it?
Answer
  1. Rs=0.02 V/1.0 A=20 mΩR_s = 0.02\ \text{V}/1.0\ \text{A} = 20\ \text{m}\Omega (including the leads).
  2. v=100⋅25 mV=2.5 Vv = 100 \cdot 25\ \text{mV} = 2.5\ \text{V}, so i=2.5 mAi = 2.5\ \text{mA}.
  3. i=150⋅20 μA=3 mAi = 150 \cdot 20\ \mu\text{A} = 3\ \text{mA}, so v=3 mA⋅2.2 kΩ=6.6 Vv = 3\ \text{mA} \cdot 2.2\ \text{k}\Omega = 6.6\ \text{V}.

Test yourself

Which connection is a contradiction for ideal sources?

  1. two equal ideal voltage sources in series
  2. a 5 V and a 3 V ideal voltage source in parallel
  3. an ideal current source in parallel with a resistor
  4. an ideal voltage source in series with a resistor

The gain of a voltage-controlled current source has the unit…

  1. V/V
  2. A/A
  3. siemens
  4. ohm

A source reads 12.0 V12.0\ \text{V} open-circuit and 11.0 V11.0\ \text{V} at 2 A2\ \text{A}. Its internal resistance is…

  1. 0.5 Ω0.5\ \Omega
  2. 5.5 Ω5.5\ \Omega
  3. 6 Ω6\ \Omega
  4. 2 Ω2\ \Omega

When finding the Thevenin resistance of a circuit with a dependent source, the dependent source is…

  1. replaced by a short
  2. replaced by an open
  3. left in place
  4. doubled