← About PHYS 252

PHYS 252 · Electronics

Lecture 02 · Thévenin's theorem & impedance matching

1 Where Lab 2 Sits

Lab 1 ended with a surprise: seen from its output, a voltage divider behaves like a source with a resistance inside. Lab 2 shows that every network of sources and resistors does the same. You reduce a network to one source and one resistor, then find that resistor on the bench in three ways. Last, you measure the resistance inside the function generator and learn to trigger on square waves that sit above 0 V.

Lab 2 in four rows. Network analysis: Task 1, build the network and find V_th and the node voltages. Impedance matching: Task 2, the matched-load method with a pot to find R_th, then Task 3, four loads and a plot of power against load resistance. Function generator: Task 4, ten loads and a regression to find R_s. Triggering: Task 5, offset square waves, trigger level and cursors.
Figure 1. Lab 2 in four rows: network analysis (Task 1), impedance matching (Tasks 2 and 3), the function generator (Task 4) and triggering (Task 5).

1.1 Task map

Lab 2 taskWhat you doConcept & section
1Build a network; find VthV_{\text{th}} and the node voltagesThévenin's theorem (§2), Kirchhoff's laws (§5)
2Find RthR_{\text{th}} with a 10 kΩ potThe matched-load method (§4.5)
3Four loads; plot power against RLR_LMaximum power transfer (§4)
4Ten loads on the generator; find RsR_s by regressionImpedance (§3), regression (§6)
5Trigger on three square waves; read them with cursorsTriggering on offset waves (§7)

Every task needs an error analysis. Section 8 collects the main error sources for each kind of measurement.

2 Thévenin's Theorem

2.1 One source and one resistor

Pick two terminals, A and B, in any circuit made of DC sources and linear resistors. Thévenin's theorem says that, seen from A and B, the whole circuit acts like one ideal source VthV_{\text{th}} in series with one resistor RthR_{\text{th}}. A load connected to A and B gets the same voltage and the same current from the real circuit as from the equivalent. The load cannot tell them apart.

Left: a dashed box labeled DC sources and linear resistors, with terminals A and B connected to a load resistor R_L. An arrow points right to the equivalent: inside a dashed box, a source V_th in series with a resistor R_th, connected through terminals A and B to the same load R_L.
Figure 2. Left: a network of DC sources and linear resistors driving a load RLR_L from terminals A and B. Right: its Thévenin equivalent, VthV_{\text{th}} in series with RthR_{\text{th}}, driving the same load.

"Linear" matters. A resistor's current is proportional to its voltage, so every voltage in the network is a weighted sum of the sources, and the equivalent holds for every load. A diode or a transistor breaks this, and Lectures 04 and later deal with them.

The first number is easy to measure. Remove the load and measure the voltage across A and B. With no load there is no current through RthR_{\text{th}}, so nothing drops across it, and the voltmeter reads VthV_{\text{th}}:

Vth=VOLV_{\text{th}} = V_{\text{OL}}, the voltage across the load terminals with the load open(1)
A dashed box labeled DC sources and linear resistors, with terminals A and B. A voltmeter is connected across A and B and nothing else. Beside it: V_AB equals V_th; no load, no current.
Figure 3. VthV_{\text{th}} is the voltage across A and B with no load. A DMM draws almost no current, so it reads VthV_{\text{th}} directly.

2.2 Zeroing sources and finding Rth

RthR_{\text{th}} is the resistance you see looking into A and B when every source in the network is turned off. "Turned off" means set to zero, and the two kinds of source zero differently:

Zeroing a source

A voltage source set to 0 V keeps both ends at the same voltage for any current. That is a wire: replace it with a short.

A current source set to 0 A lets no current through for any voltage. That is a break: replace it with an open.

Two rules side by side. Left: a voltage source V between two terminals, then an arrow, then a plain wire: replace a voltage source with a short. Right: a current source I between two terminals, then an arrow, then two unconnected terminals: replace a current source with an open.
Figure 4. Zeroing sources: a voltage source becomes a short, and a current source becomes an open.

With the sources zeroed and the load removed, combine the resistors seen from A and B in series and parallel. The result is Rth=ROLR_{\text{th}} = R_{\text{OL}}, the resistance between the load terminals with the load open. On the bench you cannot always zero a source, so Section 4 shows ways to find RthR_{\text{th}} with the sources on.

2.3 A worked example

Figure 5 is the example from the lecture: a 9 V source, R1R_1 = 1 kΩ in series, R2R_2 = 2 kΩ to ground, and R3R_3 = 3 kΩ to terminal A. The load is RLR_L = 4 kΩ. We want RthR_{\text{th}}, VthV_{\text{th}} and the load current ILI_L.

The worked example circuit. A 9 V source V_0 feeds R_1 of 1 kilohm in series. From the node after R_1, R_2 of 2 kilohms goes to ground, and R_3 of 3 kilohms leads to terminal A. A load R_L of 4 kilohms connects terminal A to terminal B on the ground wire.
Figure 5. The worked example: V0V_0 = 9 V, R1R_1 = 1 kΩ, R2R_2 = 2 kΩ, R3R_3 = 3 kΩ, and a load RLR_L = 4 kΩ between A and B.
Worked example: the Thévenin resistance

Remove the load and replace the 9 V source with a short (Figure 6). Looking in from A, you see R3R_3 in series with whatever is behind it. Behind it, R1R_1 now runs from the node to ground through the short, so R1R_1 and R2R_2 are in parallel:

Rth=R1∥R2+R3=1×21+2 kΩ+3 kΩ=0.667 kΩ+3 kΩ=113 kΩ=3.667 kΩR_{\text{th}} = R_1 \parallel R_2 + R_3 = \frac{1 \times 2}{1 + 2}\kohm + 3\kohm = 0.667\kohm + 3\kohm = \frac{11}{3}\kohm = 3.667\kohm
The worked example with the 9 V source replaced by a wire and the load removed. A dashed box around R_1 and R_2 notes that they are now in parallel: R_1 parallel R_2 = 0.667 kilohms. R_3 of 3 kilohms leads to terminal A. An arrow pointing into terminals A and B is labeled R_th.
Figure 6. Finding RthR_{\text{th}}: the 9 V source is shorted and the load removed. R1R_1 and R2R_2 are in parallel (0.667 kΩ), in series with R3R_3.
Worked example: the Thévenin voltage

Put the source back and leave A and B open (Figure 7). No current flows into A, so none flows in R3R_3 and nothing drops across it. VthV_{\text{th}} equals the voltage across R2R_2, which is the output of a divider:

Vth=V0 R2R1+R2=9 V×2 kΩ1 kΩ+2 kΩ=6 VV_{\text{th}} = V_0\,\frac{R_2}{R_1 + R_2} = 9\V \times \frac{2\kohm}{1\kohm + 2\kohm} = 6\V
The worked example with the load removed. The 9 V source drives R_1 of 1 kilohm and R_2 of 2 kilohms; R_3 of 3 kilohms leads to open terminal A and is marked I_3 = 0. The open-circuit voltage between A and B is labeled V_th, with plus at A.
Figure 7. Finding VthV_{\text{th}}: with A and B open, I3I_3 = 0, so VthV_{\text{th}} is the voltage across R2R_2.
Worked example: the 4 kΩ load

Connect the load to the equivalent (Figure 8). It is now a single loop, a divider of RthR_{\text{th}} and RLR_L:

VL=Vth RLRth+RL=6 V×43.667+4=3.130 VIL=VLRL=3.130 V4 kΩ=0.783 mAV_L = V_{\text{th}}\,\frac{R_L}{R_{\text{th}} + R_L} = 6\V \times \frac{4}{3.667 + 4} = 3.130\V \qquad I_L = \frac{V_L}{R_L} = \frac{3.130\V}{4\kohm} = 0.783\mA

Check it on the full circuit. The 9 V source sees R1R_1 in series with R2∥(R3+RL)R_2 \parallel (R_3 + R_L) = 2 kΩ ∥ 7 kΩ = 1.556 kΩ, so I1I_1 = 9 V/2.556 kΩ = 3.522 mA. The node between R1R_1 and R2R_2 sits at 9 − 3.522 = 5.478 V, and the current through R3R_3 and RLR_L is 5.478 V/7 kΩ = 0.783 mA. Same answer.

The Thévenin equivalent of the worked example: a 6 V source V_th in series with R_th of 3.667 kilohms, connected through terminals A and B to a 4 kilohm load R_L. The load current I_L flows from A into R_L, and the load voltage V_L is marked across A and B.
Figure 8. The Thévenin equivalent of the example, 6 V behind 3.667 kΩ, driving the 4 kΩ load: VLV_L = 3.130 V and ILI_L = 0.783 mA.

2.4 One equivalent, every load

The work of finding VthV_{\text{th}} and RthR_{\text{th}} is done once. After that, any load is a one-line divider. Figure 9 sweeps the load from 100 Ω to 20 kΩ. The curves come from the equivalent; the circles come from an ngspice simulation of the full four-resistor circuit with RLR_L swept. They agree at every point. As RLR_L grows, VLV_L climbs toward VthV_{\text{th}} = 6 V and ILI_L falls toward zero. With RLR_L = 0 (a short), IL=Vth/RthI_L = V_{\text{th}}/R_{\text{th}} = 1.64 mA, the short-circuit current.

Two plots against load resistance from 0 to 20 kilohms for the worked example. Left: the load voltage V_L rises from near 0 toward the dashed V_th line at 6 V, passing 3.13 V at 4 kilohms. Right: the load current falls from about 1.6 mA, passing 0.783 mA at 4 kilohms. In both, open circles from an ngspice simulation of the full four-resistor circuit sit on the curve drawn from the Thévenin equivalent.
Figure 9. Load voltage and current for the example against RLR_L. Lines: the Thévenin equivalent. Circles: ngspice, full circuit (simulated). At 4 kΩ, 3.13 V and 0.783 mA.

2.5 Ladders: reduce one stage at a time

A ladder alternates series and shunt resistors. You could write equations for every node, but Thévenin's theorem lets you walk along it. Cut the ladder after the first shunt resistor, replace everything to the left with its equivalent, and repeat.

Worked example: a two-stage ladder

The ladder in Figure 10 runs from 10 V with RaR_a = 1 kΩ in series, RbR_b = 2 kΩ shunt, RcR_c = 1 kΩ series, RdR_d = 2 kΩ shunt and ReR_e = 1 kΩ series to A.

Stage 1 (VinV_{\text{in}}, RaR_a, RbR_b) is a divider: 10×2/310 \times 2/3 = 6.667 V behind Ra∥RbR_a \parallel R_b = 0.667 kΩ.

Stage 2 is that source, then RcR_c in series and RdR_d as the shunt. Its open voltage is 6.667×2/(0.667+1+2)6.667 \times 2/(0.667 + 1 + 2) = 3.636 V, and its resistance is (0.667+1)∥2(0.667 + 1) \parallel 2 = 0.909 kΩ.

ReR_e adds in series: VthV_{\text{th}} = 3.636 V and RthR_{\text{th}} = 0.909 + 1 = 1.909 kΩ.

A two-stage ladder and its step-by-step reduction. Top: a 10 V source, series R_a of 1 kilohm, shunt R_b of 2 kilohms, series R_c of 1 kilohm, shunt R_d of 2 kilohms and series R_e of 1 kilohm to terminals A and B; the source, R_a and R_b are boxed as stage 1. Bottom left: stage 1 replaced by 6.667 V behind 0.667 kilohms, followed by R_c, R_d and R_e; the part up to R_d is boxed as stage 2. Bottom right: the whole ladder as 3.636 V behind 1.909 kilohms.
Figure 10. A two-stage ladder and its reduction. Stage 1 becomes 6.667 V behind 0.667 kΩ; stage 2 and ReR_e then give 3.636 V behind 1.909 kΩ.
Practice 2

(a) A 12 V source feeds R1R_1 = 4.7 kΩ in series, R2R_2 = 10 kΩ to ground, and R3R_3 = 2.2 kΩ to terminal A (the shape of Figure 5). Find VthV_{\text{th}} and RthR_{\text{th}}, then VLV_L and ILI_L for a 6.8 kΩ load.

(b) A 2 mA current source sits in parallel with a 3 kΩ resistor, and A and B are across both. Find VthV_{\text{th}} and RthR_{\text{th}}.

(c) Reduce a ladder of five 2.2 kΩ resistors (series, shunt, series, shunt, series) from 15 V. Which node voltages could you check with a DMM on the bench?

3 Impedance, Input and Output

3.1 Impedance extends resistance

Resistance is the ratio of voltage to current for a resistor. Capacitors and inductors also limit current, but their current is shifted in time against their voltage. Impedance ZZ keeps track of both the size and the shift by using a complex number:

Z=R+jXZ = R + jX(2)

RR is the resistance, the real part, and XX is the reactance, the imaginary part. Both are in ohms. Engineers write jj for −1\sqrt{-1}, because ii is taken by current. A resistor has XX = 0. A capacitor has Z=1/(jωC)=−j/(ωC)Z = 1/(j\omega C) = -j/(\omega C), and an inductor has Z=jωLZ = j\omega L, with ω=2πf\omega = 2\pi f.

The complex impedance plane, real part (resistance) across and imaginary part (reactance) up, in kilohms. For 1 kilohm in series with 100 nF at 1 kHz, an arrow from the origin ends at Z = 1 minus j1.59 kilohms, with dashed lines to R = 1 kilohm on the real axis and X = minus 1.59 kilohms on the imaginary axis. The magnitude is 1.88 kilohms at minus 57.9 degrees.
Figure 11. A 1 kΩ resistor in series with 100 nF at 1 kHz on the complex plane: ZZ = 1 − j1.59 kΩ, ∣Z∣|Z| = 1.88 kΩ at −57.9°.

Series impedances add, as resistances do. In Figure 11 the capacitor's reactance at 1 kHz is −1/(2π×1000×100 nF)-1/(2\pi \times 1000 \times 100\ \text{nF}) = −1.59 kΩ, so the pair has ZZ = 1 − j1.59 kΩ. Its size is ∣Z∣=12+1.592|Z| = \sqrt{1^2 + 1.59^2} = 1.88 kΩ, the ratio of the voltage amplitude to the current amplitude.

A source V drives a current I(t) through a resistor R and a capacitor C in series to ground. The capacitor voltage V_C(t) is marked across C.
Figure 12. A source driving RR and CC in series. With a capacitor, VV and II change with time; Lecture 03 works this circuit.

With a capacitor in the circuit, voltages and currents change with time, and Lecture 03 treats them properly. For this lecture one idea is enough: every source and every load has an impedance, and the divider rule works for impedances as it does for resistors.

3.2 Output impedance meets input impedance

Electronics is built from stages. A sensor drives an amplifier, the amplifier drives a filter, the filter drives a scope. Each stage's output is a source, and Thévenin's theorem says it looks like VsV_s behind an output impedance ZoutZ_{\text{out}}. Each stage's input is a load with an input impedance ZinZ_{\text{in}}. Where they meet, they form a divider:

Vin=Vs ZinZout+ZinV_{\text{in}} = V_s\,\dfrac{Z_{\text{in}}}{Z_{\text{out}} + Z_{\text{in}}}(3)
Two stages. Stage 1, a source, in a dashed box: an AC source V_s in series with an output impedance Z_out. Its output terminals connect to stage 2, the load, in a second dashed box: an input impedance Z_in, with the input voltage V_in marked across its terminals.
Figure 13. Stage 1, a source with output impedance ZoutZ_{\text{out}}, drives stage 2, a load with input impedance ZinZ_{\text{in}}.

In the lecture's drawing, you are the load. Whatever you connect to a source, a DMM, a scope or the next stage, takes its share of VsV_s, and the rest is lost across ZsZ_s:

Vout=Vs RLZs+RLV_{\text{out}} = V_s\,\dfrac{R_L}{Z_s + R_L}(4)
An AC source V_s in series with a source impedance Z_s drives a load resistor R_L. The voltage V_out is taken at the top of R_L. A dashed box around R_L is labeled You.
Figure 14. You are the load: VsV_s behind ZsZ_s drives RLR_L, and VoutV_{\text{out}} is what you get.

3.3 Bridging

When the goal is to pass a voltage along, make ZinZ_{\text{in}} large compared with ZoutZ_{\text{out}}. This is called bridging. The rule of thumb is the firm rule from Lecture 01: with Zin≥10 ZoutZ_{\text{in}} \ge 10\,Z_{\text{out}}, the load gets at least 10/1110/11 = 91 % of VsV_s.

Worked example: a 50 Ω generator and three loads

A generator with a 50 Ω output impedance is set for 4 Vpp open circuit.

Into a 1 MΩ scope input: 4×106/(106+50)4 \times 10^6/(10^6 + 50) = 3.9998 Vpp. Bridged; the scope sees the full voltage.

Into 50 Ω: 4×50/1004 \times 50/100 = 2.00 Vpp. Matched; exactly half.

Into an 8 Ω speaker: 4×8/584 \times 8/58 = 0.552 Vpp, which is 0.1951 Vrms and 0.19512/80.1951^2/8 = 4.76 mW. A generator is a poor speaker driver.

V_out over V_s against R_L over Z_s on a log axis from 0.01 to 100000, for a 50 ohm generator set to 4 V peak to peak open circuit. The S-shaped curve passes 0.138 for an 8 ohm speaker (0.552 V peak to peak), 0.5 for a matched 50 ohm load (2.00 V peak to peak) and nearly 1 for 1 megohm (4.000 V peak to peak). The region R_L at least 10 Z_s is shaded as bridged: at least 91 percent.
Figure 15. Vout/VsV_{\text{out}}/V_s against RL/ZsR_L/Z_s for a 50 Ω generator at 4 Vpp open circuit, with the three loads of the worked example. Loads at least ten times ZsZ_s are shaded as bridged.
Practice 3

(a) A source with ZsZ_s = 600 Ω gives 1.0 Vpp open circuit. What does it give into 10 kΩ, 600 Ω and 60 Ω? Which loads are bridged?

(b) A sensor has an output impedance of 2 kΩ. Is it bridged by a scope's 1 MΩ input? By an amplifier with ZinZ_{\text{in}} = 10 kΩ? What fraction of its voltage reaches each?

(c) Find the real part, the imaginary part and ∣Z∣|Z| for 2.2 kΩ in series with 47 nF at 2 kHz.

4 Maximum Power Transfer

4.1 Power in the load

The power a load takes is the product of its current and its voltage, P=IVP = IV. With Ohm's law it has two more forms:

PL=ILVL=VL2RL=IL2RLP_L = I_L V_L = \dfrac{V_L^2}{R_L} = I_L^2 R_L(5)

For the example of §2.3 with the 4 kΩ load (Figure 8), PLP_L = 0.783 mA × 3.130 V = 2.45 mW. That is far below the 0.4 W rating of the metal film resistors in Lecture 01's datasheet, so nothing warms up. The question the lecture asks next: is there a load that gets more?

4.2 Power peaks at RL = Rth

A small load takes a large current but has little voltage across it. A large load has nearly all of VthV_{\text{th}} but takes little current. Somewhere between, the product peaks. Write the power with the divider of §2.3:

P=IL2RL=Vth2 RL(Rth+RL)2P = I_L^2 R_L = \dfrac{V_{\text{th}}^2\,R_L}{(R_{\text{th}} + R_L)^2}(6)

Set its derivative to zero:

dPdRL=Vth2 (Rth+RL)2−2RL(Rth+RL)(Rth+RL)4=Vth2 Rth−RL(Rth+RL)3=0\frac{dP}{dR_L} = V_{\text{th}}^2\,\frac{(R_{\text{th}} + R_L)^2 - 2R_L(R_{\text{th}} + R_L)}{(R_{\text{th}} + R_L)^4} = V_{\text{th}}^2\,\frac{R_{\text{th}} - R_L}{(R_{\text{th}} + R_L)^3} = 0

The derivative is positive below RthR_{\text{th}} and negative above it, so the peak is at RL=RthR_L = R_{\text{th}}. Put that back into Equation (6):

Pmax⁡=Vth24RthP_{\max} = \dfrac{V_{\text{th}}^2}{4R_{\text{th}}} at RL=RthR_L = R_{\text{th}}(7)

This is the maximum power transfer theorem, and a load with RL=RthR_L = R_{\text{th}} is matched.

Worked example: the power curve of the 9 V example

Pmax⁡=62/(4×3667)P_{\max} = 6^2/(4 \times 3667) = 2.455 mW at 3.667 kΩ, with VLV_L = 3.00 V. Seven standard values around it give:

RLR_L1.5 kΩ2.7 kΩ3.3 kΩ3.9 kΩ5.6 kΩ8.2 kΩ20 kΩ
VLV_L (V)1.7422.5452.8423.0933.6264.1465.070
PLP_L (mW)2.0232.3982.4482.4522.3482.0961.285

The peak is flat: 3.3 kΩ and 3.9 kΩ both get within 0.3 % of the maximum.

Power in the load against load resistance from 0 to 21 kilohms for the worked example, V_th = 6 V and R_th = 3.667 kilohms. The curve rises steeply, peaks at 2.455 mW where R_L equals R_th (dashed line), then falls slowly to 1.29 mW at 20 kilohms. Open circles mark 1.5, 2.7, 3.3, 3.9, 5.6, 8.2 and 20 kilohms.
Figure 16. Power in the load against RLR_L for the 9 V example. The peak, 2.455 mW, is at RL=RthR_L = R_{\text{th}} = 3.667 kΩ. Circles: the seven loads of the worked example.

4.3 Matched is not efficient

At the match, half of the power the equivalent source makes goes to the load and half heats RthR_{\text{th}}. The equivalent's efficiency, RL/(Rth+RL)R_L/(R_{\text{th}} + R_L), is 50 %. Equivalent source power is VthILV_{\text{th}} I_L = 6 V × 0.818 mA = 4.91 mW.

The real circuit does worse. With the 3.667 kΩ load in Figure 5, the 9 V source supplies 3.545 mA, which is 31.91 mW. The load still gets 2.455 mW, only 7.7 %. Most of the rest heats R1R_1 (12.57 mW) and R2R_2 (14.88 mW), and 2.01 mW heats R3R_3.

The equivalent holds only at the terminals

VthV_{\text{th}} and RthR_{\text{th}} give the right voltage and current for the load. They say nothing about the power inside the network. Use the real circuit to find the power the source supplies.

Efficiency in percent against load resistance from 300 ohms to 100 kilohms on a log axis. The Thévenin-equivalent efficiency R_L over (R_th + R_L) rises from about 8 to 96 percent and is 50 percent at the match, R_L = R_th = 3.667 kilohms (dashed line). The real 9 V circuit's efficiency, load power over the power the 9 V source supplies, stays below 8 percent and is 7.7 percent at the match.
Figure 17. Efficiency against RLR_L for the 9 V example. The equivalent reaches 50 % at the match; the real circuit delivers only 7.7 % of the 9 V source's power there.

4.4 Match or bridge?

Matching gives the most power to the load; bridging passes the voltage along and wastes less. Which one a design wants depends on the job.

WhereChoiceWhy
RF circuits, antennas, 50 Ω coaxMatchedSignals are weak, so every bit of power counts, and a matched line sends no reflections back
Audio amplifier to speakerBridgedThe amplifier's output impedance is far below the speaker's 8 Ω, so little power heats the amplifier
Power gridBridgedA matched grid would waste half of all the power it makes
Scope and DMM inputsBridgedAn instrument should read the voltage, not change it
Front view of a round midrange loudspeaker driver with a dark cone and dust cap, mounted with four screws in a black cabinet.
Figure 18. A midrange loudspeaker driver. A speaker coil's impedance is a few ohms, typically 4 or 8 Ω. Photo: Pittigrilli, CC BY-SA 4.0.

4.5 The matched-load method

At the match, RL=RthR_L = R_{\text{th}}, so the load voltage is exactly half of VthV_{\text{th}}. That gives a way to find RthR_{\text{th}} with the sources on:

  1. Measure VthV_{\text{th}} with nothing connected to A and B.
  2. Connect a potentiometer as RLR_L, wired as a variable resistor (the wiper and one end).
  3. Turn it until the DMM across it reads Vth/2V_{\text{th}}/2.
  4. Disconnect the pot without touching the knob, and measure its resistance with the DMM, unpowered. That reading is RthR_{\text{th}}.
A dashed box labeled your network, with terminals A and B. A variable resistor R_L is connected across A and B, with a voltmeter reading V_L across it. Beside it: turn until V_L equals V_th over 2.
Figure 19. The matched-load method: a pot as RLR_L across A and B, turned until the DMM reads Vth/2V_{\text{th}}/2.

For the 9 V example you stop at 3.00 V, and the pot is then at 3.667 kΩ. The pot's own range must include RthR_{\text{th}}.

Twelve small board-mounted trimmer potentiometers of different shapes and sizes, single-turn and multi-turn, most in blue plastic.
Figure 20. Board-mounted trimmer potentiometers, single-turn and multi-turn. A multi-turn pot makes fine settings easier. Photo: Junkyardsparkle, CC0.

How exact is the match? Write x=RL/Rthx = R_L/R_{\text{th}}, so VL/Vth=x/(1+x)V_L/V_{\text{th}} = x/(1 + x). Suppose you stop where the meter reads a fraction ε\varepsilon high, VL/Vth=(1+ε)/2V_L/V_{\text{th}} = (1 + \varepsilon)/2. Solving for xx:

RLRth=1+ε1−ε≈1+2ε\dfrac{R_L}{R_{\text{th}}} = \dfrac{1 + \varepsilon}{1 - \varepsilon} \approx 1 + 2\varepsilon(8)
Worked example: a 1 % voltage error

With ε\varepsilon = 1 %, RL/RthR_L/R_{\text{th}} = 1.01/0.99 = 1.020, a 2 % error. For the 9 V example, readings from 2.97 to 3.03 V put the pot anywhere from 3.594 to 3.741 kΩ.

Load voltage against pot setting from 2.4 to 5.4 kilohms for the worked example. A horizontal band marks 3.00 V plus or minus 1 percent, 2.97 to 3.03 V. Where the curve crosses that band, a vertical band marks the pot settings that give it: 3.594 to 3.741 kilohms, minus 2.0 to plus 2.0 percent around R_th = 3.667 kilohms.
Figure 21. Near the match, a ±1 % band in VLV_L (2.97 to 3.03 V) maps to a ±2 % band in the pot setting (3.594 to 3.741 kΩ).

The slope of VLV_L against RLR_L is small at the match, so the voltage error doubles in the resistance. That is the price of a method that needs no current measurement.

4.6 The known-load method

You do not need a pot. Any known resistor works: measure VthV_{\text{th}} open, connect a known RLR_L, and measure VLV_L. The divider VL=VthRL/(Rth+RL)V_L = V_{\text{th}} R_L/(R_{\text{th}} + R_L) solves for RthR_{\text{th}}:

Rth=RL(VthVL−1)R_{\text{th}} = R_L\left(\dfrac{V_{\text{th}}}{V_L} - 1\right)(9)
Worked example: an 8.2 kΩ load

On the 9 V example, an 8.2 kΩ load gives VLV_L = 4.146 V. Then Rth=8.2 kΩ×(6/4.146−1)R_{\text{th}} = 8.2\kohm \times (6/4.146 - 1) = 3.667 kΩ.

Inside a dashed box, a source V_th of 6 V in series with an unknown R_th marked with a question mark. A known load R_L of 8.2 kilohms is connected across the output, with a voltmeter reading 4.146 V.
Figure 22. The known-load method: an 8.2 kΩ load across the unknown equivalent reads 4.146 V.

The same error rule holds here: a load near RthR_{\text{th}} gives the best result, because there VLV_L changes most for a change in RthR_{\text{th}}.

Practice 4

(a) A network has VthV_{\text{th}} = 4 V and RthR_{\text{th}} = 1.2 kΩ. Find Pmax⁡P_{\max}. Find the power in 820 Ω and in 1.8 kΩ loads.

(b) For the network in (a), find the equivalent's efficiency at the match and at RL=3RthR_L = 3R_{\text{th}}. How much power does each load get?

(c) In a matched-load measurement you stop where the meter reads 2 % above Vth/2V_{\text{th}}/2. How far is the pot from RthR_{\text{th}}?

(d) A network reads 4.20 V open and 3.50 V with a 10 kΩ load. Find RthR_{\text{th}}. If each reading is uncertain by ±0.01 V, roughly how uncertain is RthR_{\text{th}}?

5 Kirchhoff's Laws and a Matrix

Thévenin's theorem answers questions about one pair of terminals. To find every current in a network at once, write Kirchhoff's laws and solve them together.

Kirchhoff's current law (KCL): the currents into a node add up to the currents out of it. Charge does not pile up in a wire.

Kirchhoff's voltage law (KVL): the voltage changes around any closed loop add up to zero.

The worked example circuit with currents and loops. A 9 V source V_0, R_1 of 1 kilohm in series, R_2 of 2 kilohms as a shunt, then R_3 of 3 kilohms and R_L of 4 kilohms. Arrows mark I_1 into the top node through R_1, I_2 down through R_2 and I_3 out through R_3. Clockwise arrows mark loop 1 through the source, R_1 and R_2, and loop 2 through R_2, R_3 and R_L.
Figure 23. The example circuit with the branch currents I1I_1, I2I_2, I3I_3 at the top node, and the two loops used in the equations.

For the example circuit with the 4 kΩ load, take I1I_1 through R1R_1, I2I_2 down R2R_2 and I3I_3 through R3R_3 and RLR_L. One KCL equation at the top node and one KVL equation around each loop give three equations:

I1=I2+I39 V=R1I1+R2I20=−R2I2+(R3+RL)I3I_1 = I_2 + I_3 \qquad 9\V = R_1 I_1 + R_2 I_2 \qquad 0 = -R_2 I_2 + (R_3 + R_L) I_3

Move every unknown to the left and write them as a matrix equation R I=V\mathbf{R}\,\mathbf{I} = \mathbf{V}:

[1−1−1R1R200−R2R3+RL][I1I2I3]=[09 V0]\begin{bmatrix} 1 & -1 & -1 \\ R_1 & R_2 & 0 \\ 0 & -R_2 & R_3 + R_L \end{bmatrix} \begin{bmatrix} I_1 \\ I_2 \\ I_3 \end{bmatrix} = \begin{bmatrix} 0 \\ 9\V \\ 0 \end{bmatrix}(10)

numpy solves it in one call:

kcl_example.py
import numpy as np
R = np.array([[1,    -1,   -1],
              [1e3,  2e3,  0],
              [0,   -2e3,  7e3]])
V = np.array([0, 9, 0])
I = np.linalg.solve(R, V)
print(I * 1e3)          # in mA

Example only. Do not copy this code as it is: read it, learn from it, then write your own.

[3.52173913 2.73913043 0.7826087 ]

I1I_1 = 3.522 mA, I2I_2 = 2.739 mA and I3I_3 = 0.783 mA, the same load current as the Thévenin equivalent in §2.3. KCL checks: 2.739 + 0.783 = 3.522.

The loops give a smaller system. Let a mesh current IaI_a circle loop 1 and IbI_b circle loop 2, both clockwise. R2R_2 carries Ia−IbI_a - I_b. KVL around each loop gives

[R1+R2−R2−R2R2+R3+RL][IaIb]=[3 kΩ−2 kΩ−2 kΩ9 kΩ][IaIb]=[9 V0]\begin{bmatrix} R_1 + R_2 & -R_2 \\ -R_2 & R_2 + R_3 + R_L \end{bmatrix} \begin{bmatrix} I_a \\ I_b \end{bmatrix} = \begin{bmatrix} 3\kohm & -2\kohm \\ -2\kohm & 9\kohm \end{bmatrix} \begin{bmatrix} I_a \\ I_b \end{bmatrix} = \begin{bmatrix} 9\V \\ 0 \end{bmatrix}

and np.linalg.solve returns IaI_a = 3.522 mA and IbI_b = 0.783 mA, which are I1I_1 and I3I_3. Two unknowns instead of three: mesh currents satisfy KCL by construction.

The matrix method and Thévenin's theorem answer different questions. The matrix gives every current for one load. The equivalent gives the load current for every load. For a network like Lab 2's, with many nodes to record, the matrix (or a SPICE simulation, which solves the same equations) is a good check on your hand calculation.

Practice 5

(a) For a 12 V source with R1R_1 = 2.2 kΩ, R2R_2 = 4.7 kΩ, R3R_3 = 1 kΩ and RLR_L = 3.3 kΩ in the shape of Figure 23, write the 3 × 3 matrix equation and the 2 × 2 mesh equation. Solve both with numpy.

(b) Find VthV_{\text{th}} and RthR_{\text{th}} for the same circuit and check that the equivalent gives the same I3I_3.

(c) What changes in the matrix if RLR_L is removed (an open)? What if it is shorted?

6 Measuring a Source's Resistance

6.1 Many loads, one line

A function generator is a source with a resistance inside (Lecture 01, §4.4). To measure that resistance, RsR_s, connect a load, read VLV_L on the scope, and repeat with other loads. Each reading obeys the divider:

VL=Voc RLRs+RLV_L = V_{\text{oc}}\,\dfrac{R_L}{R_s + R_L}(11)
A function generator in a dashed box, modeled as an AC source V_oc in series with R_s. Its output drives a load resistor R_L, and a scope is connected across the load. The load voltage V_L is marked between them.
Figure 24. Measuring a generator: VocV_{\text{oc}} behind RsR_s, driving a load RLR_L, with the scope across the load.

A plot of VLV_L against RLR_L is a curve (Figure 25, left), and a straight-line fit through it means nothing. Rewrite Equation (11) with the load current IL=VL/RLI_L = V_L/R_L and it becomes a line:

VL=Voc−RsILV_L = V_{\text{oc}} - R_s I_L(12)

Plot VLV_L against ILI_L. The slope is −Rs-R_s and the intercept is VocV_{\text{oc}}. A second way: take the reciprocal of Equation (11), 1/VL=1/Voc+(Rs/Voc)(1/RL)1/V_L = 1/V_{\text{oc}} + (R_s/V_{\text{oc}})(1/R_L), and fit 1/VL1/V_L against 1/RL1/R_L.

Worked example: simulated readings

A simulated source has VocV_{\text{oc}} = 3.00 Vpp and RsR_s = 100 Ω. Ten loads from 22 to 680 Ω give these readings, rounded to 10 mV as a scope might:

RLR_L (Ω)22334768100150220330470680
VLV_L (Vpp)0.540.740.961.211.501.802.062.302.472.62

A least-squares line through (ILI_L, VLV_L) gives a slope of −100.4 ± 0.3 Ω and an intercept of 3.002 Vpp, so RsR_s = 100.4 ± 0.3 Ω. Fitting 1/VL1/V_L against 1/RL1/R_L gives the same 100.4 Ω and 3.002 Vpp. The 0.4 Ω offset from the true 100 Ω comes from the rounding.

Two plots of the same simulated readings from a 3.00 V peak-to-peak source behind 100 ohms, rounded to 10 mV. Left: V_L against R_L from 22 to 680 ohms, a curve rising from 0.54 to 2.62 V. Right: V_L against I_L = V_L over R_L, the points fall on a straight line; the fit has slope minus 100.4 plus or minus 0.3 ohms, so R_s = 100.4 ohms, and intercept V_oc = 3.002 V peak to peak.
Figure 25. Simulated readings from a 3.00 Vpp source behind 100 Ω. Left: VLV_L against RLR_L is a curve. Right: VLV_L against ILI_L is a line with slope −Rs-R_s and intercept VocV_{\text{oc}}.

In numpy, p, cov = np.polyfit(I, V, 1, cov=True) returns the slope in p[0] and its variance in cov[0, 0]; the square root is the slope's standard error. Report RsR_s with that uncertainty.

6.2 Choosing the loads

Which loads tell you the most? Use one load to see it. From Equation (11), Rs=RL(Voc/VL−1)R_s = R_L(V_{\text{oc}}/V_L - 1). If VLV_L reads 1 % high, the estimate is off by about (Rs+RL)/Rs(R_s + R_L)/R_s percent.

Worked example: one reading 1 % high

For the simulated source above: with a 22 Ω load, the estimate is 98.8 Ω (−1.2 %). With 100 Ω, 98.0 Ω (−2.0 %). With 680 Ω, 92.3 Ω (−7.7 %).

Percent error in R_s, computed from a single load as R_L(V_oc over V_L minus 1), when V_L reads 1 percent high and the true R_s is 100 ohms, against the load on a log axis from 10 to 2000 ohms. The error is minus 1.2 percent at 22 ohms (98.8 ohms), minus 2.0 percent at 100 ohms (98.0 ohms), minus 7.7 percent at 680 ohms (92.3 ohms) and grows quickly above that. A dashed line marks R_L = R_s.
Figure 26. Error in RsR_s from one load when VLV_L reads 1 % high, for a true RsR_s of 100 Ω. Loads far above RsR_s amplify the error.

A load far above RsR_s barely pulls the voltage down, so the small drop across RsR_s is lost in the reading error. Loads near RsR_s and below it tell you the most. The smallest loads have their own problem: VLV_L gets small, and a fixed reading error of the scope is then a larger fraction of it. Spread the loads around RsR_s, as the ten values above do around 100 Ω.

6.3 Check the generator's output setting

Many generators have an output-load setting, 50 Ω or High-Z, that changes only what the display shows (Lecture 01, §4.4). It does not change RsR_s, but it changes the open-circuit voltage you get for the amplitude you set. Write down which setting you used. The fit gives VocV_{\text{oc}}, and you can check it against a reading with no load at all.

Practice 6

(a) A source reads 2.06 Vpp into 150 Ω and 1.57 Vpp into 47 Ω. Find VocV_{\text{oc}} and RsR_s from these two readings.

(b) Why would ten loads between 10 kΩ and 100 kΩ be a poor choice for a source with RsR_s near 50 Ω?

(c) A generator is set to 0.6 Vpp in 50 Ω mode. What open-circuit voltage should the fit return?

7 Triggering on Offset Square Waves

7.1 Offset moves the wave

A function generator's offset adds a DC voltage to the wave. The shape and the peak-to-peak value stay the same; the whole wave moves up or down:

Vmax⁡=Voffset+12VppVmin⁡=Voffset−12VppV_{\max} = V_{\text{offset}} + \tfrac{1}{2}V_{pp} \qquad V_{\min} = V_{\text{offset}} - \tfrac{1}{2}V_{pp}(13)
Worked example: 500 Hz, 3 Vpp at three offsets

Offset 0: from −1.5 to +1.5 V, middle 0 V.
Offset +1.5 V: from 0 to +3.0 V, middle +1.5 V. The minimum sits at 0 V.
Offset +2.5 V: from +1.0 to +4.0 V, middle +2.5 V. The whole wave is above 0 V.

Three panels of a 500 Hz, 3 V peak-to-peak square wave against time from 0 to 4 ms. Offset 0 V: from minus 1.5 to plus 1.5 V, middle 0 V. Offset plus 1.5 V: from 0 to plus 3.0 V, middle plus 1.5 V. Offset plus 2.5 V: from plus 1.0 to plus 4.0 V, middle plus 2.5 V. The shape is the same in all three; only the middle moves.
Figure 27. A 500 Hz, 3 Vpp square wave at offsets of 0, +1.5 and +2.5 V. Only the middle moves.

7.2 The trigger level and the coupling

The trigger starts each sweep when the signal crosses the trigger level (Lecture 01, §7.2). The level must lie between the minimum and the maximum, or the signal never crosses it. On a square wave the safest level is the middle, half way up the edge, where noise on the flat tops cannot cause a false trigger.

The input coupling decides what the scope sees. DC coupling shows the signal as it is, offset included. AC coupling puts a capacitor in series with the input, which blocks the average (DC) part: an offset square wave is shown centered on 0 V.

Two scope screens at 1 V per division and 500 microseconds per division. Left, DC coupling: the plus 2.5 V offset square wave runs from 1.0 to 4.0 V above a ground marker two divisions below center; the trigger marker sits at 2.5 V, and a dotted 0 V line is labeled a 0 V level is never crossed. Right, AC coupling: the same wave centered on 0 V, from minus 1.5 to plus 1.5 V, with the trigger at 0 V.
Figure 28. The +2.5 V offset wave at 1 V/div. Left, DC coupling: it runs from 1.0 to 4.0 V, so the trigger goes at 2.5 V; a 0 V level is never crossed. Right, AC coupling: the same wave is centered on 0 V and a 0 V level works.

With DC coupling, the level must move with the offset. A level left at 0 V triggers on the first wave of the worked example, sits on the bottom edge of the second, and is never crossed by the third. In Auto mode the scope then draws untriggered sweeps, and the trace drifts. Use DC coupling when you need the real maximum and minimum, since AC coupling hides the offset. The ground marker at the left edge shows where 0 V is on the screen; move it down to make room for a wave above 0 V.

7.3 Cursors

Horizontal cursors are two lines you place on the screen; the scope prints the voltage of each and the difference between them. Put Y1 on the top of the wave and Y2 on the bottom. Then Y1 is the maximum, Y2 the minimum, and ΔY the peak-to-peak voltage.

A scope screen at 1 V per division and 500 microseconds per division showing the plus 2.5 V offset square wave in DC coupling, ground marker two divisions below center. Horizontal cursor Y1 lies on the top of the wave and Y2 on the bottom. A readout box shows Y1 = 4.00 V, Y2 = 1.00 V, delta Y = 3.00 V.
Figure 29. Horizontal cursors on the +2.5 V offset wave in DC coupling: Y1 = 4.00 V, Y2 = 1.00 V, ΔY = 3.00 V.

Cursor readings depend on the vertical scale. Choose a V/div that makes the wave fill most of the screen, and place each cursor in the middle of the trace's thickness. Some scopes also have automatic max, min and peak-to-peak measurements. Say in your report which you used.

Practice 7

(a) A 2 kHz square wave of 4 Vpp has a +3 V offset. Find its maximum, minimum and middle. Which trigger levels work in DC coupling?

(b) The same wave is viewed in AC coupling. Where are its top and bottom on the screen, and what trigger level works?

(c) You set a −0.5 V offset on a 1 Vpp square wave. What happens if you trigger at +0.2 V in DC coupling?

8 Error Analysis

Every task in this course needs an error analysis. For each value you report, state its uncertainty, name the main sources of error, and compare it with the value you expected, simulated or took from a datasheet.

ResultMain error sources
ResistancesDMM specification for the range; lead resistance for small values
VthV_{\text{th}} and node voltagesResistor tolerance; the supply's set voltage; DMM accuracy
RthR_{\text{th}}, matched loadReading Vth/2V_{\text{th}}/2, which doubles in RR (§4.5); measuring the pot afterwards
Power against RLR_LThe errors of VLV_L and RLR_L
RsR_s by regressionThe slope's standard error; scope reading; the choice of loads (§6.2); tolerance of the load resistors
Max, min, VppV_{pp}Cursor placement; trace thickness and noise; the scope's vertical accuracy; coupling

Comparing VthV_{\text{th}} with your calculation. Recompute VthV_{\text{th}} with the measured resistor values, not the nominal ones. A difference that remains is then due to the supply, the meter or the wiring, not the tolerance.

Power. P=VL2/RLP = V_L^2/R_L uses VLV_L twice, so its relative error counts twice. For independent errors,

δPP=(2 δVLVL)2+(δRLRL)2\dfrac{\delta P}{P} = \sqrt{\left(2\,\dfrac{\delta V_L}{V_L}\right)^2 + \left(\dfrac{\delta R_L}{R_L}\right)^2}(14)

With 1 % in VLV_L and 1 % in RLR_L, δP/P=22+12\delta P/P = \sqrt{2^2 + 1^2} % = 2.2 %. For the 4 kΩ load of §2.3, PLP_L = 2.45 ± 0.05 mW.

Matched-load and known-load results. Use Equation (8): a fractional error ε\varepsilon in the voltage at the match gives about 2ε2\varepsilon in RthR_{\text{th}}. Add the DMM's uncertainty for the pot reading.

Regression. Report the slope's standard error from the fit, and look at the residuals: points that curve away from the line point to a wrong load value or a reading error.

Cursor readings. Each cursor is placed to a fraction of a division. With ±0.1 division per cursor at 1 V/div, each of max and min is ±0.1 V, and VppV_{pp} is ±2×0.1\pm\sqrt{2} \times 0.1 = ±0.14 V.

A difference between measured and expected is only meaningful when it is larger than the uncertainty. When it is, say which source most likely explains it, and check that the size fits.

← All course materials