PHY1002 · Week 14 · Kirchhoff`s Rules, RC Circuits. charging a capacitor, discharging a capacitor, the galvanometer, the ammeter, the voltmeter.

Kirchhoff's rules, RC circuits, ammeter and voltmeter

Solving circuits that cannot be reduced with the junction and loop rules, the charging and discharging curves of a capacitor, and making an ammeter and a voltmeter from a galvanometer. The topic worth the most points at the end of the semester.

Kirchhoff's junction ruleKirchhoff's loop rulebranch currentRC circuittime constantcharging a capacitordischarging a capacitorsteady stategalvanometerammetervoltmetershunt resistor

The last topic of the semester and the heaviest part of the final exam. The circuits you solved last week by series and parallel reduction only go so far: a circuit with two batteries in different branches cannot be reduced. For this there are Kirchhoff’s two rules. After that a capacitor enters the circuit and the current now changes with time. Expect three question types on the exam: a branch current in a two-loop circuit, the charge or voltage at a given moment in an RC circuit, and the design of an ammeter/voltmeter.

Golden rules:

  1. At a junction, current in = current out. Charge does not accumulate.
  2. Around a closed path the potential changes sum to zero. When you return to the point you started from, you are at the same potential.
  3. Choose the current directions arbitrarily at the start. If a result comes out negative, the real direction is opposite; your equations are still right.
  4. τ=RC\tau = RC. After one τ\tau, a charging capacitor has reached 63% of its final charge and a discharging one has 37% of its initial charge left.
  5. An ammeter is in series and has a small resistance, a voltmeter is in parallel and has a large resistance.

Kirchhoff’s rules

Junction rule. At any junction (a point where three or more wires meet):

∑Iin=∑Iout\sum I_{\text{in}} = \sum I_{\text{out}}

Loop rule. Along any closed path:

∑loopΔV=0\sum_{\text{loop}} \Delta V = 0

When applying the loop rule, decide whether the potential rises or falls at each element using this table:

ElementDirection of traversalΔV\Delta V
Resistoralong the current−IR-IR
Resistoragainst the current+IR+IR
Batteryfrom the negative terminal to the positive+ε+\varepsilon
Batteryfrom the positive terminal to the negative−ε-\varepsilon

PITFALL · the sign of a battery does not depend on the current. For a battery, the only thing that sets the sign is your direction of traversal: if you go from negative to positive it is +ε+\varepsilon. The direction the current passes through the battery is irrelevant. For a resistor, the current direction sets the sign.

Method

  1. Assign a current (I1,I2,…I_1, I_2, \ldots) and a direction to each branch. Series elements are in the same branch and carry the same current.
  2. Write the junction rule (number of junctions − 1) times.
  3. Write the remaining equations from independent loops (usually as many as the number of “windows” in the circuit).
  4. Solve the system of equations. A current that comes out negative actually flows the other way.
  5. Check: the sum of the powers supplied by the batteries = the power dissipated in the resistors.

Worked example: a circuit with two batteries

The circuit: there is a node a at the top and a node b at the bottom, with three parallel branches between them.

  • Left branch: ε1=12\varepsilon_1 = 12 V (positive terminal facing a) and R1=2.0 ΩR_1 = 2.0\ \Omega in series.
  • Middle branch: only R2=4.0 ΩR_2 = 4.0\ \Omega.
  • Right branch: ε2=6.0\varepsilon_2 = 6.0 V (positive terminal facing a) and R3=3.0 ΩR_3 = 3.0\ \Omega in series.

Currents: I1I_1 in the left branch from b to a, I3I_3 in the right branch from b to a, I2I_2 in the middle branch from a to b.

Node a: I1+I3=I2I_1 + I_3 = I_2

Left loop (start at b, go up the left branch, down the middle branch): in the battery from negative to positive +12+12, in R1R_1 along the current −2.0I1-2.0I_1, in R2R_2 along the current −4.0I2-4.0I_2:

12−2.0I1−4.0I2=012 - 2.0I_1 - 4.0I_2 = 0

Right loop (start at b, go up the right branch, down the middle branch):

6.0−3.0I3−4.0I2=06.0 - 3.0I_3 - 4.0I_2 = 0

Solution: from the first two loop equations I1=6.0−2.0I2I_1 = 6.0 - 2.0I_2 and I3=2.0−43I2I_3 = 2.0 - \frac{4}{3}I_2. Put into the node equation:

6.0 − 2.0 I2 + 2.0 − 1.333 I2 = I2
8.0 = 4.333 I2   →   I2 = 1.85 A
I1 = 6.0 − 2(1.85) = 2.31 A
I3 = 2.0 − 1.333(1.85) = −0.46 A

I3I_3 came out negative: in the right branch the current actually flows from a to b, that is, into the positive terminal of the 6.0 V battery. The big battery is charging the small one.

Power check:

Battery 1 supplies:    12 × 2.31  = 27.7 W
Battery 2 absorbs:     6.0 × 0.46 =  2.8 W   (being charged)
Net:                   24.9 W
Resistors:             2(2.31)² + 4(1.85)² + 3(0.46)² = 10.7 + 13.6 + 0.6 = 24.9 W

TIP · node potential shortcut. If there are only two nodes, take b as 0 V, call the potential of a VV, and write a single equation: the current in each branch is (ε−V)/R(\varepsilon - V)/R. In this example 12−V2+6−V3=V4\frac{12 - V}{2} + \frac{6 - V}{3} = \frac{V}{4} immediately gives V=7.38V = 7.38 V. One equation instead of a system of three unknowns.

RC circuits

In a circuit where a resistor and a capacitor are in series, the current is not constant. As the capacitor charges, the voltage q/Cq/C across it grows, the voltage left for the resistor shrinks, and the current falls.

Charging a capacitor

An initially empty capacitor, a battery with emf ε\varepsilon and a resistor RR in series. The switch closes at t=0t = 0. Loop rule:

ε−iR−qC=0,i=dqdt\varepsilon - iR - \frac{q}{C} = 0, \qquad i = \frac{dq}{dt}

The solution of this differential equation is:

q(t)=Cε(1−e−t/RC),i(t)=εRe−t/RCq(t) = C\varepsilon\left(1 - e^{-t/RC}\right), \qquad i(t) = \frac{\varepsilon}{R}e^{-t/RC}

τ=RC\tau = RC is the time constant, in seconds. The important points:

MomentChargeCurrentThe capacitor acts like
t=0t = 000ε/R\varepsilon/R (maximum)a wire (short circuit)
t=τt = \tau0.632 Cε0.632\,C\varepsilon0.368 ε/R0.368\,\varepsilon/R
t=5τt = 5\tau≈0.993 Cε\approx 0.993\,C\varepsilon≈0\approx 0
t→∞t \to \inftyCεC\varepsilon00an open circuit

Example. R=50R = 50 kΩ, C=20 μC = 20\ \muF, ε=10\varepsilon = 10 V.

τ = RC = (50e3)(20e-6) = 1.0 s
i(0) = ε/R = 10 / 50e3 = 0.20 mA
Q_final = Cε = 20 μF × 10 V = 200 μC
t = 2.0 s:  ΔV_C = 10 (1 − e^−2) = 8.6 V
90% charged:  e^(−t/τ) = 0.10  →  t = τ ln 10 = 2.3 s

Discharging a capacitor

A capacitor with charge QQ discharges through RR with no battery:

q(t)=Q e−t/RC,i(t)=−QRCe−t/RCq(t) = Q\,e^{-t/RC}, \qquad i(t) = -\frac{Q}{RC}e^{-t/RC}

The minus sign says that the current reduces the charge of the capacitor. The time for the charge to halve is t1/2=τln⁡2=0.693 τt_{1/2} = \tau\ln 2 = 0.693\,\tau.

PITFALL · energy does not fall at the same rate as charge. Since U=q2/2CU = q^2/2C, U∝e−2t/τU \propto e^{-2t/\tau}. It takes τln⁡2/2\tau\ln2/2 for the energy to halve, half the time it takes for the charge to halve. On the exam both options are present.

Steady-state questions

If a circuit with a capacitor has waited a very long time (steady state), no current flows in the capacitor branch. First “disconnect” the capacitor from the circuit, solve the remaining resistor circuit, find the voltage between the two points the capacitor is connected to, and compute Q=CΔVQ = C\Delta V. If the switch has just closed (t=0+t = 0^+), think of an empty capacitor as a wire.

Example. An ideal 12 V battery, R1=4.0 ΩR_1 = 4.0\ \Omega and R2=2.0 ΩR_2 = 2.0\ \Omega in series; C=3.0 μC = 3.0\ \muF connected directly across R2R_2.

t = 0:   C is a short circuit, bridging R2   → I = 12/4.0 = 3.0 A
t → ∞:   no current in the C branch          → I = 12/6.0 = 2.0 A
         ΔV_C = ΔV_R2 = 2.0 × 2.0 = 4.0 V
         Q = 3.0 μF × 4.0 V = 12 μC

Galvanometer, ammeter, voltmeter

A galvanometer is a sensitive instrument whose needle deflects with a small current through it. It is defined by two things: the coil resistance RgR_g and the full-scale deflection current IgI_g (typically of the order of mA).

An ammeter measures current and is connected in series with the branch it measures. Its resistance must be very small so that it does not disturb the circuit. A small shunt resistor is connected in parallel with the galvanometer; the excess current passes through the shunt:

IgRg=(I−Ig)Rsh⇒Rsh=IgRgI−IgI_gR_g = (I - I_g)R_{sh} \quad\Rightarrow\quad R_{sh} = \frac{I_gR_g}{I - I_g}

A voltmeter measures a potential difference and is connected in parallel with the element it measures. Its resistance must be very large so that it does not steal current from the circuit. A large resistor is added in series with the galvanometer:

V=Ig(Rg+Rs)⇒Rs=VIg−RgV = I_g(R_g + R_s) \quad\Rightarrow\quad R_s = \frac{V}{I_g} - R_g

AmmeterVoltmeter
Connectionseriesparallel
Ideal resistance00∞\infty
Added to the galvanometersmall shunt in parallellarge resistor in series
If connected wronglyan ammeter connected in parallel short-circuitsa voltmeter connected in series almost cuts off the current

Loading effect. Real instruments are not ideal. If you connect a 0.50 Ω ammeter in series in a circuit with a 6.0 V battery and a 3.0 Ω resistor, you read 6.0/3.5=1.76.0/3.5 = 1.7 A instead of 2.0 A. Similarly, if you connect a 10 kΩ voltmeter across one of two 10 kΩ resistors, that part drops to 5.0 kΩ and you read 4.0 V instead of 6.0 V. This effect grows when the resistance of the instrument is comparable to the resistances in the circuit you measure.

Common mistakes

Wrong ideaThe truth
I chose the wrong current direction, I must start overA negative result just shows the opposite direction
The sign of a battery is set by the current directionBy the direction of traversal: negative to positive is +ε+\varepsilon
Write a junction equation for every junction(junctions − 1) of them are independent
A battery always supplies currentIt is charged if a larger emf works against it
At t=τt = \tau the capacitor is half charged63% charged; half charged at τln⁡2\tau \ln 2
Energy falls at the same rate as chargeU∝q2U \propto q^2: twice as fast, t1/2,U=τln⁡2/2t_{1/2,U} = \tau\ln2/2
After a long time C charges to the emf of the batteryTo the voltage between the two points C is connected to
An ammeter is connected in parallelIn series; connected in parallel it short-circuits the element
A voltmeter should have a small resistanceIt should be large, otherwise it loads the circuit

Test yourself

Exam-style questions. Solve them on paper first, then reveal the answer.

Question 1easy

At a junction in a circuit, currents of 3 A and 5 A flow in, and a current of 2 A flows out through a third wire. What current flows in the fourth wire, and in which direction?

  1. 10 A into the junction
  2. 6 A out of the junction
  3. 6 A into the junction
  4. 0 A
  5. 4 A out of the junction
Show answer
B) 6 A out of the junction

Junction rule: in = out. 3+5=2+I⇒I=63 + 5 = 2 + I \Rightarrow I = 6 A, flowing out of the junction.
This rule comes from conservation of charge: charge does not accumulate at a junction.

Question 2easy

When applying Kirchhoff's loop rule, you traverse a resistor RR in the same direction as the current II through it, and then traverse a battery from its positive terminal to its negative terminal. What potential changes do you write?

  1. +IR, then +ε
  2. −IR, then −ε
  3. −IR, then +ε
  4. +IR, then −ε
Show answer
B) −IR, then −ε

Current flows from high potential to low potential; going through a resistor in the direction of the current, the potential drops: −IR-IR.
Going from the positive terminal of a battery to the negative terminal also lowers the potential: −ε-\varepsilon.
If you went from negative to positive it would be +ε+\varepsilon.

Question 3hard

Three branches connect node a (top) to node b (bottom). Left branch: a 12 V battery (positive terminal toward a) in series with R1=2.0 ΩR_1 = 2.0\ \Omega. Middle branch: R2=4.0 ΩR_2 = 4.0\ \Omega only. Right branch: a 6.0 V battery (positive terminal toward a) in series with R3=3.0 ΩR_3 = 3.0\ \Omega. Batteries are ideal. What is the current in R1R_1?

  1. 6.0 A
  2. 2.3 A
  3. 1.8 A
  4. 3.0 A
  5. 0.46 A
Show answer
B) 2.3 A

Take b as zero, the potential of a is VV. KCL at node a (in = out):12−V2.0+6.0−V3.0=V4.0\dfrac{12 - V}{2.0} + \dfrac{6.0 - V}{3.0} = \dfrac{V}{4.0}Multiply by 12: 72−6V+24−4V=3V⇒V=96/13=7.3872 - 6V + 24 - 4V = 3V \Rightarrow V = 96/13 = 7.38 V.I1=(12−7.38)/2.0=2.3I_1 = (12 - 7.38)/2.0 = 2.3 A (in the left branch from b to a). I2=7.38/4.0=1.8I_2 = 7.38/4.0 = 1.8 A.
6.0 A comes from ignoring the other branches and writing 12/212/2.

Question 4hard

In the same circuit as the previous question, what is the current in the 6.0 V battery's branch?

  1. 2.0 A, out of its positive terminal
  2. 0.46 A, into its positive terminal (the battery is being charged)
  3. 0.46 A, out of its positive terminal
  4. 1.8 A, into its positive terminal
  5. Zero
Show answer
B) 0.46 A, into its positive terminal (the battery is being charged)

I3=(6.0−7.38)/3.0=−0.46I_3 = (6.0 - 7.38)/3.0 = -0.46 A. The minus sign: it flows from a to b, not from b to a.
a is connected to the positive terminal of the battery, so the current enters the positive terminal of the 6.0 V battery: the battery is being charged.
Power check: 12(2.31)−6.0(0.46)=24.912(2.31) - 6.0(0.46) = 24.9 W =∑I2R= \sum I^2R.

Question 5easy

A 50 kΩ resistor and a 20 μF capacitor are connected in series to a battery. What is the time constant of the circuit?

  1. 1.0 ms
  2. 1.0 s
  3. 2.5 s
  4. 0.40 s
  5. 1.0 × 10³ s
Show answer
B) 1.0 s

τ=RC=(50×103 Ω)(20×10−6 F)=1.0\tau = RC = (50\times10^{3}\ \Omega)(20\times10^{-6}\ \text{F}) = 1.0 s.
Unit: Ω⋅F=(V/A)(C/V)=C/A=s\Omega\cdot\text{F} = (\text{V/A})(\text{C/V}) = \text{C/A} = \text{s}.

Question 6medium

In the circuit of the previous question (τ=1.0\tau = 1.0 s), the battery emf is 10 V and the capacitor is initially uncharged. What is the voltage across the capacitor 2.0 s after the switch is closed?

  1. 1.4 V
  2. 6.3 V
  3. 8.6 V
  4. 10 V
  5. 20 V
Show answer
C) 8.6 V

Charging: ΔVC=ε (1−e−t/τ)=10 (1−e−2.0)=10×0.865=8.6\Delta V_C = \varepsilon\,(1 - e^{-t/\tau}) = 10\,(1 - e^{-2.0}) = 10 \times 0.865 = 8.6 V.
1.4 V comes from forgetting the e−2e^{-2} part and using the discharging formula; 6.3 V is the value for t=τt = \tau.

Question 7medium

How long after the switch is closed does the capacitor in the previous question reach 90 % of its final charge? Give your answer in seconds.

Show answer
2.3 s

1−e−t/τ=0.90⇒e−t/τ=0.101 - e^{-t/\tau} = 0.90 \Rightarrow e^{-t/\tau} = 0.10.t=τln⁡10=(1.0)(2.30)=2.3t = \tau \ln 10 = (1.0)(2.30) = 2.3 s.

Question 8hard

A 5.0 μF capacitor charged to 100 V is discharged through a 200 kΩ resistor. How long does it take for the energy stored in the capacitor to fall to half its initial value?

  1. 0.69 s
  2. 0.35 s
  3. 0.50 s
  4. 1.0 s
  5. 1.4 s
Show answer
B) 0.35 s

τ=RC=1.0\tau = RC = 1.0 s. The charge is q=Qe−t/τq = Q e^{-t/\tau}, the energy U=q2/2C∝e−2t/τU = q^2/2C \propto e^{-2t/\tau}.e−2t/τ=1/2⇒t=τln⁡22=0.35e^{-2t/\tau} = 1/2 \Rightarrow t = \dfrac{\tau \ln 2}{2} = 0.35 s.
0.69 s is the time for the charge to halve; because energy goes as the square of the charge, it falls twice as fast.

Question 9hard

A 12 V ideal battery is connected in series with R1=4.0 ΩR_1 = 4.0\ \Omega and R2=2.0 ΩR_2 = 2.0\ \Omega. A 3.0 μF capacitor, initially uncharged, is connected directly across R2R_2. What is the battery current just after the circuit is connected, and the capacitor's charge after a long time?

  1. 2.0 A and 36 μC
  2. 3.0 A and 12 μC
  3. 2.0 A and 12 μC
  4. 3.0 A and 36 μC
  5. 0 A and 12 μC
Show answer
B) 3.0 A and 12 μC

t=0t = 0: the empty capacitor acts like a short circuit, bridging R2R_2. I=12/4.0=3.0I = 12/4.0 = 3.0 A.t→∞t \to \infty: no current flows in the capacitor branch (open circuit). I=12/6.0=2.0I = 12/6.0 = 2.0 A, ΔVC=ΔVR2=4.0\Delta V_C = \Delta V_{R_2} = 4.0 V.Q=CΔV=(3.0 μF)(4.0 V)=12 μQ = C\Delta V = (3.0\ \mu\text{F})(4.0\ \text{V}) = 12\ \muC. 36 μC comes from thinking the capacitor charges to 12 V.

Question 10medium

A galvanometer has a coil resistance of 50 Ω and gives full-scale deflection at 1.0 mA. What shunt resistance is needed to convert it into an ammeter with a full-scale reading of 2.0 A, and how is it connected?

  1. 0.025 Ω in parallel with the galvanometer
  2. 0.025 Ω in series with the galvanometer
  3. 2000 Ω in series with the galvanometer
  4. 25 Ω in parallel with the galvanometer
Show answer
A) 0.025 Ω in parallel with the galvanometer

The shunt is in parallel with the galvanometer: both have the same voltage.IgRg=(I−Ig)Rsh⇒Rsh=(1.0×10−3)(50)2.0−0.001=0.025 ΩI_g R_g = (I - I_g) R_{sh} \Rightarrow R_{sh} = \dfrac{(1.0\times10^{-3})(50)}{2.0 - 0.001} = 0.025\ \Omega.
The excess current (1.999 A) passes through the shunt; the total resistance of the ammeter becomes very small.

Question 11medium

The same galvanometer (50 Ω, 1.0 mA full scale) is to be used as a voltmeter with a full-scale reading of 10 V. What resistance must be placed in series with it? Give your answer in ohms.

Show answer
9950 Ω (9.95 kΩ)

At full deflection the total resistance: 10 V/1.0 mA=10 000 Ω10\ \text{V}/1.0\ \text{mA} = 10\,000\ \Omega.
Series resistance: Rs=10 000−50=9950 ΩR_s = 10\,000 - 50 = 9950\ \Omega.
A voltmeter must have a large resistance so that it draws little current from the circuit it measures.

Question 12hard

Two 10 kΩ resistors are in series across an ideal 12 V battery. A voltmeter with an internal resistance of 10 kΩ is connected across one of the resistors. What does it read?

  1. 6.0 V
  2. 4.0 V
  3. 8.0 V
  4. 12 V
  5. 3.0 V
Show answer
B) 4.0 V

The voltmeter is in parallel with the resistor it measures: 10∥10=5.010 \parallel 10 = 5.0 kΩ.
Voltage divider: 12×5.05.0+10=4.012 \times \dfrac{5.0}{5.0 + 10} = 4.0 V.
An ideal voltmeter (RV→∞R_V \to \infty) would read 6.0 V. When the resistance of the voltmeter is comparable to the resistance being measured, it changes the circuit (loading effect).

Verification: All numerical answers were computed with node (verify/PHY1002/14.mjs, solver verify/PHY1002/solve.mjs): the two-loop circuit was solved both with the branch-current equations and with nodal analysis using Gaussian elimination, and the check source power = dissipated power was made; the RC results with the exponential formula and also with an RK4/Euler time-step simulation, the meter questions with circuit calculations.

Review card

JUNCTION: Σ I in = Σ I out (conservation of charge) LOOP: Σ ΔV = 0 around a closed path (conservation of energy) Resistor, along the current: −IR against the current: +IR Battery, going − → +: +ε going + → −: −ε Choose current directions arbitrarily; if one comes out negative the real direction is opposite (the calculation is not spoiled) Number of equations: (junctions − 1) KCL + the remaining independent loops RC charging: q = Cε(1 − e^(−t/RC)) i = (ε/R)e^(−t/RC) RC discharging: q = Q e^(−t/RC) i = −(Q/RC)e^(−t/RC) τ = RC: at t = τ charging is 63% done, discharging has 37% left t½ = τ ln2 Energy ∝ q²: energy halves in τ ln2 / 2 t = 0: empty C = short circuit (wire) t → ∞: C = open circuit (current 0) Ammeter: SERIES, very small resistance, shunt in parallel: Rsh = Ig Rg/(I − Ig) Voltmeter: PARALLEL, very large resistance, series R: Rs = V/Ig − Rg