Sub topic 12
Transformers
This chapter assumes you know Faraday's law, Lenz's law, mutual inductance and self-inductance from the earlier chapters. It also assumes you can work with sinusoidal AC quantities, including rms values. A transformer applies all of these ideas together. It changes an AC voltage from one size to another, with almost no loss of power.
Two coils, one flux
A transformer has two coils wound on a shared iron core. The primary coil has Np turns and connects to the AC source. The secondary coil has Ns turns and connects to the load. The core is a loop of high-permeability iron that guides the magnetic flux, so nearly all of it passes through both coils.
The primary current creates a flux Φ in the core. Because the source is alternating, Φ changes with time. Faraday's law then gives an emf in every turn of both coils.
The ideal-transformer model makes four assumptions:
- All flux links every turn of both coils (no leakage).
- The windings have zero resistance.
- The core has no energy loss.
- The core permeability is so high that the current needed to magnetize it is negligible.
The voltage ratio
Each turn of wire sees the same flux, so each turn has the same emf, -dΦ/dt. A coil of N turns has N times that emf. Taking magnitudes:
- Primary: vp = Np dΦ/dt
- Secondary: vs = Ns dΦ/dt
Dividing the two equations gives the transformer equation:
vs / vp = Ns / Np
If Ns > Np, the transformer is a step-up transformer. If Ns < Np, it is a step-down transformer.
For a sinusoidal flux Φ = Φmax sin(ωt), the peak emf of an N-turn coil is NωΦmax. The rms value is this peak divided by √2, so
Vrms = (2π/√2) f N Φmax ≈ 4.44 f N Φ_max
This formula links the primary voltage to the peak core flux, and so to the peak field Bmax = Φmax/A in a core of cross-section A. The primary voltage fixes the core flux, whatever load is connected.
Why DC does not work
A steady current gives a constant flux, so dΦ/dt = 0 and the secondary emf is zero. A DC source on the primary also produces no opposing back emf. The current is then limited only by the small winding resistance, and the coil can overheat.
Current ratio and energy conservation
An ideal transformer dissipates nothing, so power in equals power out:
Vp Ip = Vs Is
Combining this with the voltage ratio gives
Ip / Is = Ns / Np
A step-up transformer raises the voltage and lowers the current by the same factor. It does not create power.
Lenz's law inside the core
Lenz's law explains why the primary current rises when you connect a load.
- The primary voltage sets the core flux through V ≈ N_p dΦ/dt.
- A load current in the secondary produces its own flux. By Lenz's law, this flux opposes the change in the core flux.
- The core flux would shrink if nothing else happened. But the primary voltage holds it fixed, so the primary draws extra current to cancel the secondary's effect.
The two currents cancel exactly in the core when Np Ip = Ns Is. This is the same current ratio as above, now derived from the field picture. The source "feels" the load because Lenz's law forces the primary current to respond.
Impedance reflection
Suppose a resistor RL is the load. The secondary current is Is = Vs/RL. The source sees the primary voltage divided by the primary current:
Rin = Vp / Ip = (Np/Ns Vs) / (Ns/Np Is) = (Np/Ns)² RL
The source therefore behaves as if it drove a resistance (Np/Ns)² times larger than the real load. Engineers use this to match a load to a source, for example a loudspeaker to an amplifier.
A worked example
A step-down transformer connects a 230 V rms, 50 Hz mains supply to a 4.0 Ω load. It has Np = 1150 turns and Ns = 60 turns. The core has a cross-section of 20 cm². The program below builds the flux from the 4.44 f N Φ_max relation, finds both emfs numerically from -dΦ/dt, and then applies the current ratio and impedance reflection.
import numpy as np
f = 50.0 # Hz
Np, Ns = 1150, 60 # turns
Vp_rms = 230.0 # V
R_load = 4.0 # ohm
area = 2.0e-3 # core cross-section, m^2
omega = 2 * np.pi * f
phi_max = Vp_rms * np.sqrt(2) / (Np * omega) # peak flux, Wb
B_max = phi_max / area
# two full periods, sampled without repeating the endpoint
t = np.linspace(0, 0.04, 4000, endpoint=False)
phi = phi_max * np.sin(omega * t)
dphi_dt = np.gradient(phi, t)
v_p = Np * dphi_dt
v_s = Ns * dphi_dt
Vp_check = np.sqrt(np.mean(v_p**2)) # rms of primary emf
Vs = np.sqrt(np.mean(v_s**2)) # rms of secondary emf
Is = Vs / R_load
P_out = Vs * Is
Ip = P_out / Vp_check # ideal: power in = power out
R_in = Vp_check / Ip
print(f"peak flux = {phi_max*1e3:.3f} mWb, peak field = {B_max:.2f} T")
print(f"primary emf = {Vp_check:.2f} V, secondary voltage = {Vs:.2f} V")
print(f"secondary current = {Is:.2f} A, output power = {P_out:.1f} W")
print(f"primary current = {Ip:.4f} A")
print(f"reflected resistance = {R_in:.1f} ohm "
f"(formula: {(Np/Ns)**2 * R_load:.1f} ohm)")The program prints a secondary voltage of 12.00 V and a secondary current of 3.00 A. The output power is 36.0 W and the primary current is about 0.157 A. The reflected resistance is about 1469 Ω, which matches (1150/60)² × 4. The peak field is about 0.45 T, which is below the saturation level of typical transformer steel.
Real transformers and their losses
A real transformer is close to ideal, with efficiencies of 95% to 99% for large units. Each loss has its own cause and its own remedy.
| Loss | Cause | Usual remedy |
|---|---|---|
| Copper loss | Winding resistance gives I²R heating | Thicker wire, lower current density |
| Eddy-current loss | Induced currents circulate in the conducting core | Thin laminations insulated from each other |
| Hysteresis loss | Energy is spent re-magnetizing the core every cycle | Soft magnetic steel with a narrow hysteresis loop |
| Flux leakage | Some flux links only one coil | Winding the coils close together on the same core |
| Magnetizing current | Finite permeability needs some current to set up the flux | Higher-permeability core material |
The eddy-current row connects to the previous chapter. Slicing the core into thin insulated sheets breaks up the loops in which eddy currents would flow, which cuts their heating.
Saturation
The ideal model assumes the core can carry any flux. In reality the iron saturates at roughly 1.5 to 2 T. Past that point the flux no longer follows the voltage, and the primary current rises sharply with a distorted waveform. Since Bmax = Vrms√2/(2π f N A), lowering the frequency or the turns count raises B_max for the same voltage. This is why a transformer designed for 60 Hz can saturate on a 50 Hz supply at the same voltage.
Why power grids use transformers
Power lines lose energy as I²R heat. For a given power P = VI, a higher voltage means a lower current. Consider delivering 1.0 MW over a line of total resistance 5.0 Ω:
- At 10 kV, I = 100 A and the line loss is 100² × 5 = 50 kW, which is 5% of the power.
- At 100 kV, I = 10 A and the line loss is 10² × 5 = 500 W, which is 0.05% of the power.
Step-up transformers at the power station and step-down transformers near homes make this possible.
Common errors
- Applying the transformer equation to a DC source.
- Inverting the ratio: using Np/Ns for the secondary voltage.
- Treating a step-up transformer as a source of extra power.
- Forgetting that the load, not the transformer, determines the secondary current.
- Using peak values on one side of an equation and rms values on the other.
Exercise
A step-up transformer has 200 primary turns and 3000 secondary turns. The primary is connected to 120 V rms. A 450 Ω resistor is the load. Find the secondary voltage, the secondary current, the primary current, and the resistance seen by the source. Assume an ideal transformer.
Show answer
The turns ratio is Ns/Np = 3000/200 = 15. The secondary voltage is 120 × 15 = 1800 V. The secondary current is 1800/450 = 4.0 A. The output power is 1800 × 4.0 = 7200 W, so the primary current is 7200/120 = 60 A, which is also 4.0 × 15. The resistance seen by the source is (Np/Ns)² R_L = 450/225 = 2.0 Ω, which agrees with 120 V / 60 A = 2.0 Ω.
Exercise
A transformer is designed for 230 V at 50 Hz with a peak core field of 1.2 T. It is connected to 230 V at 25 Hz instead. If nothing else changes, what is the new peak field, and why is this a problem?
Show answer
Since Vrms = (2π/√2) f N A Bmax, the peak field is inversely proportional to frequency when V, N and A are fixed. Halving the frequency doubles B_max to 2.4 T. This is above the saturation level of typical transformer steel (about 1.5 to 2 T), so the core saturates. The primary then draws a large, distorted current and overheats.