Ideal, Practical and Dependent Sources
A battery pack reads while it powers a small motor drawing , and when the motor stalls and draws . Which number is "the battery voltage"? Neither: the pack behaves like an ideal source behind 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 whatever current flows; the current is set by the rest of the circuit. An ideal current source drives whatever voltage that needs; the voltage is set by the circuit. On a – 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:
which is exactly an ideal source in series with a resistance (the Thevenin model). Equivalently, an ideal current source in parallel with (the Norton model); Source Transformation shows they are interchangeable. A good voltage source has small ; a good current source has large . Two load points fix the line: the open-circuit voltage and the short-circuit current are its intercepts (the second one is computed, not measured, for anything that stores energy).
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 | voltage | , V/V | op-amp model (open-loop gain) |
| VCCS | current | voltage | , S (transconductance) | MOSFET and BJT small-signal models |
| CCVS | voltage | current | , (transresistance) | transimpedance amplifier model |
| CCCS | current | current | , A/A | BJT model, |
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: at and at .
Find: , , the computed short-circuit current, and the terminal voltage into and into .
Solve:
Check: the case reproduces the second measurement. With the terminal voltage is half of , 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 signal behind , an input resistance of , a feedback resistor from output to input, and a load. The VCCS adds to row "out", column "in" of the nodal matrix, and nowhere else.
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 the gain from the input node would be ; the feedback resistor and the source resistance reduce it.
Interactive: the practical source and the VCCS stage
The power lab draws the battery pack: , and a load.
It reads and a terminal voltage of (it writes ). Lower to and the terminal voltage halves.
The netlist lab solves the VCCS stage; G1 out 0 in 0 40m is a current flowing from out through the source to ground.
At it shows and .
Guided lab: measure a source's internal resistance
Hand calculation. A PP3 alkaline battery has an internal resistance of the order of to 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 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 (about ; use a 2 W resistor) and then (about ; 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; 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 directly.
Hazards and safe setup: only an alkaline battery or a current-limited bench supply. Never short-circuit a cell to "measure" 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 ( in at 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
- A bench supply set to reads at . What is its output resistance?
- A VCVS with is controlled by and drives a load. Find the load current.
- A CCCS with is controlled by and drives a resistor to ground. What voltage appears across it?
Answer
- (including the leads).
- , so .
- , so .
Test yourself
Which connection is a contradiction for ideal sources?
- two equal ideal voltage sources in series
- a 5 V and a 3 V ideal voltage source in parallel
- an ideal current source in parallel with a resistor
- an ideal voltage source in series with a resistor
The gain of a voltage-controlled current source has the unit…
- V/V
- A/A
- siemens
- ohm
A source reads open-circuit and at . Its internal resistance is…
When finding the Thevenin resistance of a circuit with a dependent source, the dependent source is…
- replaced by a short
- replaced by an open
- left in place
- doubled