A transformer is a static electrical device that transfers alternating current (AC) energy between two or more circuits through electromagnetic induction, changing the voltage and current levels while keeping the frequency and total power constant.

It is the fundamental backbone of the AC power grid and nearly every industrial control system. By stepping up voltage for efficient long-distance transmission and stepping it down for safe utilization, transformers make modern electrical distribution possible. But on the workbench, in a residential panel, or inside an HVAC unit, understanding its exact behavior is critical for sizing circuits, selecting fuses, and preventing catastrophic failures.

The Working Principle: Magnetic Induction and Turns Ratios

At its core, a transformer relies on Faraday’s Law of Induction. It consists of two or more coils of insulated wire (windings) wrapped around a common laminated iron or ferrite core. When an alternating voltage is applied to the primary winding, it creates a continuously expanding and collapsing magnetic field (flux) in the core. This changing magnetic flux cuts across the secondary winding, inducing an alternating voltage in it.

The relationship between the input and output is dictated entirely by the turns ratio—the physical number of wire loops on each coil. The formula is straightforward:

V_s / V_p = N_s / N_p

Where V is voltage and N is the number of turns (subscripts s and p denote secondary and primary). If the secondary has ten times as many turns as the primary, the output voltage will be ten times higher (a step-up transformer).

What a Transformer Actually Changes (And What It Doesn't)
A transformer changes voltage and current inversely to conserve power. If it steps up the voltage by a factor of 10, the available current drops by a factor of 10. Total power (P = V × I) remains constant, minus minor efficiency losses (typically 95–98% in modern units). Crucially, a transformer does not change the frequency. A 60 Hz input will always yield a 60 Hz output. It also provides galvanic isolation, meaning there is no direct electrical connection between the primary and secondary circuits.

Worked Example: Sizing a 120V to 24V Control Transformer

Theory is useful, but sizing a transformer for a real load is where mistakes happen. Let’s look at a common scenario: powering a 24V AC HVAC control circuit from a standard 120V AC branch circuit.

The Loads:

  • Smart thermostat base: 0.20A (sealed)
  • Intermediate relay coil: 0.15A (sealed)
  • Heavy-duty compressor contactor coil: 0.80A (inrush), 0.25A (sealed)

When sizing control transformers, you must account for both the continuous sealed current and the momentary inrush current that occurs when magnetic coils first energize. If the transformer is too small, the voltage will sag during inrush, and the contactor will chatter or fail to pull in.

Calculating Sealed VA (Volt-Amps):
Total sealed current = 0.20A + 0.15A + 0.25A = 0.60A.
Sealed VA = 0.60A × 24V = 14.4 VA.

Calculating Inrush VA:
Total inrush current = 0.20A + 0.15A + 0.80A = 1.15A.
Inrush VA = 1.15A × 24V = 27.6 VA.

According to Electronics Tutorials and standard NEMA sizing practices, the transformer must handle the inrush VA without dropping the secondary voltage below 80% of nominal. A standard 40 VA transformer is the correct choice here. It provides a comfortable margin above the 27.6 VA inrush requirement.

Primary Side Sizing:
How much current will this 40 VA transformer pull from the 120V primary circuit at full load?
I_primary = VA / V_primary = 40 / 120 = 0.33A.

Even though the continuous draw is only 0.33A, you should protect the primary side with a 2A or 3A slow-blow fuse to accommodate the transformer's own magnetizing inrush current when it is first switched on, while still protecting the 14 AWG or 12 AWG feeder wire.

Where You Meet Transformers in Practice

Transformers are everywhere, but they take different physical forms depending on their application. Here is where you will encounter them in the field:

  • Distribution Transformers (Pole Pigs): The cylindrical tanks on utility poles. They step down medium-voltage distribution lines (e.g., 7,200V) to the 240V/120V split-phase power that enters your home's main service panel.
  • Control Transformers: Compact, heavily potted or varnished units found inside industrial motor control centers. They step down 480V or 240V three-phase power to a safe 120V or 24V to run PLCs, indicator lights, and relay logic.
  • Doorbell Transformers: Small, usually plug-in or junction-box mounted units that step 120V down to 16V AC or 24V AC to power low-voltage smart doorbells and chimes.
  • Isolation Transformers: These have a 1:1 turns ratio (e.g., 120V in, 120V out). They do not change voltage; instead, they break the ground reference. Electronics repair technicians use them on their workbenches to safely probe live mains circuits with an oscilloscope without creating a dead short through the scope's ground clip.

Common Confusions: Transformers vs. Power Supplies and Inverters

The most frequent mistake hobbyists and junior technicians make is confusing a transformer with a power supply. If you plug a 'wall wart' into the mains and measure the output, you might see 12V DC. That device is not just a transformer; it is a power supply.

A pure transformer can only output AC. If a device outputs DC, it contains a transformer (or a high-frequency switching equivalent) followed by a rectifier (diodes) and filter capacitors to convert the AC to DC. When troubleshooting, if you measure AC voltage at the secondary terminals of a transformer but the downstream circuit requires DC, you must look for the rectifier bridge.

Another common confusion involves inverters. An inverter does the exact opposite of a rectifier: it takes DC power (like from a 12V car battery or a solar battery bank) and uses high-speed switching MOSFETs to synthesize an AC waveform. While an inverter might contain a high-frequency transformer internally to step up the voltage, the device as a whole is an active electronic converter, not a passive transformer.

Finally, be aware of autotransformers (like a Variac). Unlike a standard two-winding transformer, an autotransformer uses a single continuous winding with a sliding tap. It can step voltage up or down efficiently, but it provides zero galvanic isolation. The input and output share a common electrical connection, which can present a severe shock hazard if used improperly on the bench.

Frequently Asked Questions

Can a transformer be used to step up or step down DC voltage?

No. A transformer relies entirely on a changing magnetic field to induce a voltage in the secondary coil. Direct Current (DC) creates a static, unchanging magnetic field. If you connect a 12V DC battery to a transformer's primary winding, the magnetic flux will only change for the split second you make or break the connection. After that, the winding will simply act as a low-resistance short circuit, drawing massive current until the wire melts or the battery fails. To change DC voltage, you must use a DC-DC buck/boost converter.

What happens if I wire a step-down transformer backward?

Electrically, most standard dual-winding transformers are reversible. If you apply 24V AC to the secondary of a 120V-to-24V step-down transformer, you will measure 120V AC on the primary terminals. However, doing this in practice is often dangerous or illegal. The original secondary winding is usually wound with thinner wire designed for higher current, and it may lack the insulation rating or physical clearance required for mains voltage. Furthermore, safety certifications (like UL or CE) are voided if the transformer is backfed. Always use a transformer specifically rated and tapped for step-up applications if that is your goal.

Why do transformers hum or buzz?

The hum is caused by a phenomenon called magnetostriction. The alternating magnetic flux in the transformer's iron core causes the microscopic magnetic domains in the metal to physically expand and contract slightly with every AC cycle. In a 60 Hz system, this happens 120 times per second (twice per cycle), creating a 120 Hz acoustic vibration. While a slight hum is normal, a loud, violent buzzing usually indicates loose core laminations, an overloaded secondary, or severe harmonic distortion on the primary line. For diagnostic techniques, Fluke's testing guidelines recommend checking for loose mechanical mounts and verifying load balance.

Does a transformer consume power when nothing is connected to the secondary?

Yes, though the amount is relatively small. This is known as no-load loss or core loss. Even with an open secondary circuit, the primary winding is still energized, drawing a small 'excitation current' to maintain the magnetic field in the iron core. This current overcomes hysteresis losses (the energy required to constantly reverse the magnetic domains in the iron) and eddy current losses (small circulating currents induced within the iron core itself, which is why cores are made of thin, insulated laminations rather than solid blocks). In large utility transformers, these no-load losses can amount to hundreds of watts of continuous heat, which is why modern amorphous metal cores are increasingly used to improve efficiency.