Sub topic 7
The AC generator: a rotating coil
This chapter assumes you know magnetic flux, Faraday's law and Lenz's law from the earlier chapters. It also assumes basic trigonometric derivatives. Here you apply those laws to a coil turned at constant speed in a steady magnetic field. That setup is the working core of an alternator, and it produces a sinusoidal emf.
The setup
A flat coil of N turns, each with area A, rotates about a fixed axis at constant angular speed ω. The axis is perpendicular to a uniform field of magnitude B. Slip rings and brushes connect the coil's ends to an external circuit.
Let θ be the angle between the coil's normal vector and the field. If the normal points along B at t = 0, then θ = ωt. Each turn has flux
Φ₁ = B A cos θ = B A cos(ωt)
The coil's flux linkage is NΦ₁, so Faraday's law gives
emf = −d(NΦ₁)/dt = N B A ω sin(ωt)
The peak value is ε₀ = N B A ω, so we can also write emf = ε₀ sin(ωt). Three consequences follow:
- The emf is sinusoidal because the flux is sinusoidal. The emf is the derivative of the flux, so it is a quarter-cycle out of phase with it.
- The emf is zero when the flux is at its maximum or minimum. At those instants the flux is momentarily constant.
- The emf is largest when the flux is zero. At that instant the coil plane is parallel to B and the flux is changing fastest.
| Angle ωt | Coil plane relative to B | Flux per turn | Emf |
|---|---|---|---|
| 0° | Perpendicular | +BA (maximum) | 0 |
| 90° | Parallel | 0 | +NBAω (maximum) |
| 180° | Perpendicular | −BA | 0 |
| 270° | Parallel | 0 | −NBAω |
The emf changes sign twice per revolution. The output frequency therefore equals the rotation frequency f = ω/2π, so a 50 Hz generator makes 50 revolutions per second.
Check it numerically
The first script uses one turn with B = 0.50 T, A = 0.020 m² and f = 50 Hz. It differentiates the flux numerically and compares the result with the formula.
import numpy as np
B = 0.50 # tesla
A = 0.020 # loop area, m^2
f = 50.0 # rotation frequency, Hz
omega = 2 * np.pi * f # angular speed, rad/s
t = np.linspace(0, 0.04, 4001)
flux = B * A * np.cos(omega * t) # Phi = B A cos(omega t)
emf_numeric = -np.gradient(flux, t) # emf = -dPhi/dt
emf_exact = B * A * omega * np.sin(omega * t)
print(f"peak emf (formula): {B * A * omega:.2f} V")
print(f"peak emf (numeric): {emf_numeric.max():.2f} V")
print(f"max difference: {np.max(np.abs(emf_numeric - emf_exact)):.4f} V")The peak emf is about 3.14 V. The small remaining difference comes from the one-sided differences np.gradient uses at the two endpoints, and it is a few thousandths of a volt.
What sets the peak emf
The peak emf ε₀ = N B A ω is a product of four factors, and you can raise it with any of them:
- More turns N. This is the usual design lever, because it needs no extra field or speed.
- A stronger field B, for example with a stronger magnet or an iron core that concentrates the flux.
- A larger coil area A.
- A higher angular speed ω. This also raises the frequency, so a generator tied to a 50 or 60 Hz grid cannot change its speed freely.
The shape of the coil does not matter as long as it is flat and the field is uniform. Only the area and the orientation enter the flux.
If the coil starts at a different angle, the angle is θ = ωt + φ. The emf becomes ε₀ sin(ωt + φ), and φ is only a phase shift. The peak value and the frequency do not change.
Direction and energy: Lenz's law at work
The emf is not free. Suppose the coil is connected to a load of resistance R, so a current i = emf/R flows. The coil now has a magnetic moment of magnitude m = N i A, and the field exerts a torque on it:
τ = m B sin θ = N i A B sin(ωt)
Lenz's law fixes the sign of this torque. It always opposes the rotation, because the induced current acts to resist the change in flux that created it. The agent turning the shaft must therefore supply an equal and opposite torque to keep ω constant, and the mechanical power it supplies is τω.
Substituting the torque gives
Pmech = τ ω = N i A B ω sin(ωt) = emf × i = Pelec
The mechanical power in equals the electrical power out at every instant. With no load (i = 0) the torque is zero and the shaft turns freely, even though the open-circuit emf is still there. This is why a loaded generator is harder to turn than an unloaded one.
import numpy as np
N = 100 # turns
B = 0.50 # tesla
A = 0.020 # m^2 per turn
f = 50.0 # Hz
R = 50.0 # total circuit resistance, ohm
omega = 2 * np.pi * f
t = np.linspace(0, 1 / f, 100000, endpoint=False) # exactly one period
emf = N * B * A * omega * np.sin(omega * t)
i = emf / R
torque = N * i * A * B * np.sin(omega * t) # magnitude of m x B
p_mech = torque * omega
p_elec = emf * i
peak = N * B * A * omega
rms_numeric = np.sqrt(np.mean(emf**2))
print(f"peak emf = {peak:.1f} V")
print(f"rms emf (numeric) = {rms_numeric:.1f} V, peak/sqrt(2) = {peak / np.sqrt(2):.1f} V")
print(f"max |P_mech - P_elec| = {np.max(np.abs(p_mech - p_elec)):.2e} W")
print(f"mean power = {np.mean(p_elec):.1f} W, Vrms^2/R = {rms_numeric**2 / R:.1f} W")The script prints a peak emf of about 314.2 V and an rms emf of about 222.1 V. The two power curves agree to rounding error, and the mean power matches V_rms²/R.
RMS values
A sinusoidal emf averages to zero over a cycle, so the average tells you nothing about the power delivered. What matters is the mean of the squared signal. The root-mean-square value of a sine is
ε_rms = ε₀ / √2 ≈ 0.707 ε₀
The mean power in a resistor is ε_rms² / R. This is the number a mains rating refers to: a "230 V" supply has a peak of about 325 V.
From the ideal model to real machines
The ideal rotating coil leaves out several things you will meet in practice.
- Slip rings and commutators. Slip rings are continuous conducting rings that keep each coil end connected to one terminal, so the output stays alternating. A split-ring commutator swaps the connections every half turn, which makes the output pulsating DC (|sin ωt|). It does not make the emf constant.
- Rotating field instead of rotating coil. Large alternators usually spin the magnet (the rotor) inside fixed coils (the stator). The flux linkage changes in the same way, and the output wiring does not need to carry large currents through sliding contacts.
- Self-inductance. The coil's own inductance L opposes changes in current. The terminal voltage is then lower than the emf and lags it in phase. The simple relation i = emf/R holds only when ωL is small compared with R.
- Non-uniform fields. If B varies over the coil, the flux is no longer B A cos θ. The emf is still −dΦ/dt, but it can contain harmonics, so it is no longer a pure sine.
- Losses. Resistance of the windings and eddy currents in the iron convert some mechanical energy to heat, so the electrical output is less than the mechanical input.
Common errors
- Using flux instead of its rate of change. The emf is largest when the flux is zero. Students often place the maximum emf at the position of maximum flux.
- Forgetting N. The formula for one turn is multiplied by the number of turns, because the same flux passes through every turn.
- Mixing f and ω. Use ω = 2πf in the emf formula. Using f directly gives an answer too small by a factor of 6.28.
- Peak versus rms. A quoted voltage for mains or a meter is normally rms. Use the peak value only when the question asks for the maximum.
- Treating the emf as independent of the load. The open-circuit emf does not depend on the load, but the torque and the mechanical power do.
Exercise
A generator coil has N = 200 turns, each of area 0.010 m². It rotates at 60 Hz in a uniform field of 0.20 T. Find the peak emf and the rms emf. Then state the angle between the coil's normal and the field when the emf is at its peak.
Show answer
ω = 2π × 60 ≈ 377 rad/s. Peak emf = N B A ω = 200 × 0.20 × 0.010 × 377 ≈ 151 V. The rms emf is 151/√2 ≈ 107 V. The emf is at its peak when the flux is zero and changing fastest, so the normal is at 90° to the field (the coil plane is parallel to the field).
Exercise
The generator in the previous exercise is connected to a resistive load so that the total circuit resistance is 20 Ω. Find the mean electrical power, and state the average mechanical power the shaft must supply if losses are ignored.
Show answer
Mean power = εrms² / R = (106.6 V)² / 20 Ω ≈ 568 W, which is the same as ε₀² / (2R) = 151² / 40 ≈ 568 W. With no losses, the average mechanical power supplied equals the average electrical power, about 568 W, as shown by Pmech = τω = emf × i at each instant.