Circuit 3D

How a transformer works

A transformer changes an AC voltage up or down using two coils wound on one iron core: AC in the primary coil makes a changing magnetic field, which induces a voltage in the secondary. The voltages follow the turns ratio, so a 10:1 transformer turns 120 V into 12 V, or 230 V into 23 V.

Vs ÷ Vp = Ns ÷ Np

where Vp and Vs are the primary and secondary voltages and Np and Ns their numbers of turns.

Power in equals power out, ideally, so stepping the voltage down steps the current up.

What is a transformer?

A transformer is a component that steps an alternating voltage up or down, with two separate coils of wire wound on a shared iron core and no electrical connection between them.

The number of turns on each coil sets the change, as Figure 1 shows on 120 V and 230 V mains. Transformers carry power from power stations to homes and once sat in every plug-in adapter; they also isolate a circuit from the mains it runs on.

120 V AC 8.33 mA 12 V 83.3 mA 10:1 turns

10:1 on 120 V: Vs = 120 V × 1 ÷ 10 = 12 V, a step-down. The 1 W load draws 1 W ÷ 12 V ≈ 83.3 mA, and the primary takes 8.33 mA × 120 V ≈ 1 W: the voltage goes down, the current up, and the power stays the same.

Figure 1. An ideal transformer on 120 V mains, as in North America, or 230 V, as in most of the world, feeding a 1 W load; the ratio is primary turns to secondary turns. Real ones lose a few percent as heat.

How does a transformer change voltage?

A transformer changes voltage by passing AC through its primary coil, making a magnetic field in the core that keeps growing, shrinking and reversing, which induces a voltage in the secondary coil.

It is electromagnetic induction, the same effect that lets an inductor resist changes in current. Each turn of wire picks up the same voltage, so the secondary’s total is its turns times the volts per turn.

What is a transformer’s turns ratio?

The turns ratio is the primary’s turns to the secondary’s; the voltage changes by that ratio and the current by its inverse.

A 10:1 transformer turns 120 V into 12 V, or 230 V into 23 V; if its secondary supplies 1 A, its primary draws about 0.1 A, since an ideal transformer passes on all the power. Real ones lose a few percent to the coils’ resistance and to the core, which is why they get warm.

Why doesn’t a transformer work on DC?

A transformer doesn’t work on DC because only a changing magnetic field induces a voltage: DC makes a steady field, so after the moment it is switched on, the secondary gives nothing.

Worse, with nothing changing to hold the current back, the primary is just a long piece of wire, and a DC supply can push a damaging current through it, as Figure 2 shows. That is a big reason the grid uses AC.

in out time →

DC: only the moment of switching on changes the field, giving a brief kick; after that the field is steady, so the secondary gives nothing, while the primary, now just a coil of wire, can draw a damaging current.

Figure 2. The voltage on a transformer’s primary, and the voltage it induces in the secondary, for AC and for DC switched on.

What is the difference between step-up and step-down transformers?

A step-up transformer has more turns on its secondary and raises the voltage; a step-down has fewer and lowers it, raising the current in exchange.

Power stations step up to hundreds of kilovolts for transmission, because a smaller current wastes far less as I²R heat in the lines, then substations step it back down. Microwave ovens step mains up to about 2,000 V; doorbells step it down to 24 V or less.

What are the different types of transformer?

Transformers differ mainly in their core and frequency: laminated steel for 50 or 60 Hz mains, and ferrite for the high frequencies inside switch-mode power supplies.

Thin laminations cut the eddy currents that would heat a solid core. Running at tens of kilohertz instead lets a switch-mode charger use a transformer the size of a fingertip, as Figure 3’s kinds show.

Mains laminated steel Switch-mode ferrite Isolation laminated steel Current a toroid round the wire Audio steel or ferrite

Switch-mode transformer, ferrite core: it works at tens to hundreds of kilohertz, so a charger’s transformer can be tiny.

Figure 3. Five common kinds of transformer and their cores; every one needs a changing current to work.

How do you calculate a transformer’s voltage and current?

To calculate a transformer’s output, multiply the primary voltage by the secondary’s turns over the primary’s: 1/10 of 120 V is 12 V, and of 230 V, 23 V. For the primary’s current, divide the output power by the primary voltage.

Example 1: a secondary voltage

A transformer has 1,200 turns on its primary, on 120 V or 230 V mains, and 120 turns on its secondary. What voltage does the secondary give?

Given
1,200 primary turns on 120 V, and 120 secondary turns
Find
the secondary voltage
Solution
Vs = Vp × Ns ÷ Np = 120 V × 120 ÷ 1,200 = 12 V
Answer
12 V

Example 2: the primary’s current

An ideal 10:1 transformer steps 120 V mains down to 12 V, or 230 V down to 23 V, and its secondary supplies 50 mA. How much current does the primary draw?

Given
an ideal 10:1 transformer, 120 V to 12 V, its secondary supplying 50 mA
Find
the current the primary draws
Solution
Power out = 12 V × 50 mA = 600 mW, and power in is the sameIp = 600 mW ÷ 120 V = 5 mA
Answer
5 mA

Summary

Key equations

  • Vs = Vp × Ns ÷ Np the secondary voltage
  • Ip = Is × Ns ÷ Np the primary current
  • VpIp = VsIs ideal power balance

Key terms

Primary
The coil the supply drives.
Secondary
The coil the load takes from.
Core
Iron or ferrite linking the coils.
Step-down
Fewer secondary turns.

Practice problems

  1. A transformer has 500 primary turns and 50 secondary turns on 230 V. What is the secondary voltage?

  2. Why does a transformer not work on DC?

  3. A step-down transformer lowers the voltage 10 times. What happens to the current?

  4. Why does the grid carry power at very high voltage?

  5. A 120 V to 12 V transformer supplies 1 A. What does its primary draw, ideally?

FAQ

What is the formula for a transformer?

V_s ÷ V_p = N_s ÷ N_p for voltage, and I_s ÷ I_p = N_p ÷ N_s for current, so ideally V_p × I_p = V_s × I_s.

Does a transformer change frequency?

No: the secondary’s AC has the same frequency as the primary’s, 50 or 60 Hz on mains.

Why do transformers hum?

The changing field makes the core’s steel flex slightly twice each cycle, so they hum at 100 or 120 Hz.

Can a transformer step up DC?

No. To raise DC you need a boost converter, which chops the DC into pulses so an inductor or transformer can work on it.

Why are phone chargers so small now?

They rectify mains to DC, switch it at tens of kilohertz, and use a tiny ferrite transformer instead of a heavy 50 Hz one.

Is a transformer efficient?

Very: large grid transformers pass over 99% of their power, and small ones typically 80 to 95%.

What is an isolation transformer?

A 1:1 transformer that gives the same voltage with no direct connection to mains earth, used to make test benches safer.

What does a transformer do?

It steps an AC voltage up or down by the ratio of its coils’ turns, such as 230 V mains down to 23 V, or 120 V down to 12 V, with a 10:1 transformer, and usually keeps the two sides electrically separate.