The transformer is what turns 220 V into a lower, safer voltage, such as 12 or 9 V. It's in traditional power supplies, welding machines and older chargers, and in power stations at enormous sizes. And its idea is one of the most elegant in electricity: there's no electrical connection between the input and the output, and the energy crosses without a wire.
How it's built
- A core made of iron laminations.
- A primary winding: connected to the 220 V.
- A secondary winding: where the new voltage comes out.
The core is made of thin sheets insulated from each other, not a single block of iron, because the changing field induces eddy currents inside the iron itself, which heat it and waste energy. Cutting it into sheets breaks the path of those currents. There are two common shapes: EI (the traditional rectangular one) and toroidal (round like a doughnut), which is lighter, quieter and leaks less field, but costs more.
How does it work?
The AC in the primary creates a changing magnetic field in the core, and that field induces a voltage in the other winding. The energy is transferred magnetically, not through a wire. It's the same idea as the inductor, but with two windings on the same core.
The turns ratio
Vout ÷ Vin = secondary turns ÷ primary turns
If the secondary has fewer turns → the voltage goes down (step-down). If more → it goes up (step-up).
Example: a 220 V to 12 V transformer has a ratio of 220 ÷ 12 ≈ 18.3. So if the primary has 1830 turns, the secondary has about 100 (in reality a few extra turns are added to the secondary to compensate for losses under load).
Power: what goes in comes out
A transformer doesn't create energy. If it steps the voltage down, the available current goes up by roughly the same ratio (minus losses). A 220 V to 12 V transformer rated 24 VA can supply about 2 A at 12 V. At the same time, the primary current drawn from the mains = 24 ÷ 220 ≈ 0.11 A only. That's why the input wire is thin and the output wire thick, and why the input fuse is small.
The rating is given in VA (volts × amps), not watts, because with some loads the current and voltage aren't in phase, so the real power is less than the product.
Choosing a transformer for a power supply
If a bridge and filter capacitor follow the transformer, the capacitor draws current as short, high pulses at the peak of each wave, not a smooth current. Those pulses heat the windings more than a steady current with the same average. The practical rule: transformer rating ≈ 1.6–1.8 × the DC power you'll draw. So a 12 V DC 1 A supply (12 W) needs a transformer of about 20 VA. The full calculation with the capacitor and regulator is in the filter capacitor article and the transformer power supply design calculator.
The centre-tapped transformer
Many transformers are labelled 12-0-12: the secondary has an extra terminal in its middle. That gives you two things:
- Full-wave rectification with just two diodes instead of a four-diode bridge, with each half of the winding working on one half of the wave.
- A ±12 V supply for op-amp circuits: the middle point is ground, and the two ends give positive and negative after rectification.
Details are in the rectifier and bridge article.
Why doesn't it work with DC?
A transformer needs a changing magnetic field to induce a voltage in the other winding. DC creates a steady field, so no voltage appears, and the primary becomes just a wire with low resistance: it draws a large current and heats up. If the difference isn't clear, review AC and DC.
A transformer is also designed for a specific frequency: a 50 Hz transformer works fine at 60 Hz, but a 60 Hz transformer at 50 Hz may run hotter because the core gets closer to saturation.
The voltage you'll measure
- The figure on the transformer (say 12V) is the RMS value at full load. With no load you'll measure a bit more, and on small transformers the difference can reach 10–20%.
- After rectification and filtering, the DC reaches the peak of the wave: about 12 × 1.414 minus the diode drops ≈ 15.6 V. Details are in the filter capacitor article.
Identifying and testing the windings
If you have a transformer without clear markings, use a multimeter in resistance mode (with the transformer disconnected):
- The primary (220 V): thin wire and many turns, so a higher resistance, usually tens to hundreds of ohms on small transformers.
- The secondary (low voltage): thicker wire and fewer turns, so a lower resistance, usually an ohm or a few ohms.
- OL on a winding = broken. Small transformers sometimes have a thermal fuse inside the primary that opens if the transformer overheats, so the transformer looks "dead" while the winding itself is fine.
- There should be no connection between any winding and another, or between the windings and the iron core.
Then confirm by powering it: connect the primary (with a fuse) and measure the secondary in V~ mode. How to measure is in the multimeter article.
Iron-core transformers and modern chargers
50 Hz transformers are heavy and large. Modern chargers rectify the 220 V first, then chop it at a very high frequency (tens of kilohertz), so they can use a very small ferrite transformer. That's why a phone charger is light even though it delivers decent power. The higher the frequency, the smaller the core needed. That's the same reason buck and boost converters have small inductors.
The hum
A transformer makes a faint 100 Hz hum from the laminations vibrating with the field. That's normal. If the noise is very loud, or the transformer gets hot with no load, there's a shorted turn or it's on a higher voltage than its rating.
Safety
The primary carries 220 V. Make sure its terminals are well insulated, and put a fuse on the input, as explained in the fuse article. And step-up transformers (such as a microwave oven transformer) are extremely dangerous and not a toy. Read mains safety.
FAQ
The transformer isolates, so is the output safe to touch? The low-voltage output (12 V) is practically safe. But that isolation is no substitute for care with the primary, and cheap transformers don't always guarantee their insulation.
Can I run a transformer backwards to step voltage up? In theory yes, but the winding that becomes the primary isn't always designed for that voltage, and the result on the other side is a dangerous high voltage. Don't do it without experience.