A transformer is a passive electrical device that transfers electrical energy between two or more circuits through electromagnetic induction, changing AC voltage and current levels while keeping total power (ideally) constant. In a real circuit or installation, a transformer changes the amplitude of the voltage and current to match load requirements or minimize transmission losses, but it does not change the frequency of the AC supply. Beginners and even some intermediate DIYers commonly confuse standalone transformers with switch-mode power supplies (SMPS) or AC/DC converters; while a transformer is strictly an AC-to-AC magnetic component, an SMPS includes rectification, high-frequency switching, and DC filtering to output direct current.

The Core Mechanism: Electromagnetic Induction in Action

The fundamental transformer definition relies entirely on Faraday’s Law of Induction. When an alternating current flows through the primary winding, it generates a continuously expanding and collapsing magnetic field. In a practical transformer, this magnetic flux is channeled through a high-permeability core—typically made of grain-oriented silicon steel laminations—to the secondary winding.

As the alternating magnetic flux cuts across the turns of the secondary coil, it induces an electromotive force (EMF). The ratio of the induced voltage to the primary voltage is strictly determined by the turns ratio ($N_s / N_p$). If the secondary has more turns than the primary, it is a step-up transformer; if it has fewer, it is a step-down transformer.

Bench Note on Core Losses: Real transformers suffer from hysteresis loss (energy lost reversing the magnetic domains in the steel) and eddy current loss (circulating currents within the core itself). This is why transformer cores are not solid blocks of metal, but rather thin, insulated laminations (often 0.3mm to 0.5mm thick) stacked together to interrupt the path of eddy currents and keep the unit from overheating at 50/60 Hz.

Worked Numeric Example: Sizing a Control Transformer

To ground the theory, let us look at a standard HVAC control transformer, such as the ubiquitous Honeywell AT40VA. This is a step-down transformer used to power 24VAC control boards, relays, and smart thermostats from a 120VAC mains line.

  • Primary Voltage ($V_p$): 120V AC
  • Secondary Voltage ($V_s$): 24V AC
  • Apparent Power Rating ($S$): 40 VA (Volt-Amps)

1. Calculate Secondary Current Capacity:
The maximum continuous current the secondary can deliver is found by dividing the VA rating by the secondary voltage.
$I_s = S / V_s = 40 / 24 = 1.67 Amps$

2. Calculate Primary Current Draw:
Assuming an ideal scenario (ignoring minor efficiency losses for this baseline calculation), the primary current drawn from the 120V mains under full secondary load is:
$I_p = S / V_p = 40 / 120 = 0.33 Amps$

3. Determine the Turns Ratio:
$Ratio = V_p / V_s = 120 / 24 = 5:1$. The primary winding has exactly five times as many turns of wire as the secondary.

Warning: Inrush Current. When you first energize a 40VA transformer, the magnetic core can saturate depending on the exact point in the AC sine wave where the contacts close. This causes an inrush current that can be 10 to 15 times the nominal primary current (up to 5 Amps for a few milliseconds). If you are sizing a fuse for the primary side of this transformer, do not use a fast-blow 0.5A fuse; it will nuisance-trip on startup. Use a time-delay (slow-blow) fuse or a breaker with an appropriate magnetic trip curve.

Where You Meet Transformers in Practice

You will encounter magnetic transformers in several distinct areas of electrical and electronics work:

  1. Low-Voltage Control Circuits: Doorbell transformers (usually 16VAC, 10VA to 30VA) and HVAC control transformers (24VAC, 40VA to 75VA). These provide isolated, safe low-voltage AC for relays and contactor coils.
  2. Audio and Tube Amplifiers: Output transformers match the high-impedance, high-voltage plates of vacuum tubes to the low-impedance voice coils of 4-ohm or 8-ohm speakers. Mains isolation transformers are also used in tube amps to step 120VAC up to 300V+ DC (after rectification) for the B+ rail.
  3. Maker and ESP32 Linear Power Supplies: If you are building a low-noise linear power supply for sensitive analog sensors or audio ADCs connected to an ESP32, you will start with an AC-AC wall transformer (e.g., 120VAC to 12VAC), feed it into a bridge rectifier, and smooth it with large electrolytic capacitors before a linear regulator like the LM7805.
  4. Grid Distribution: The massive oil-filled units on utility poles are step-down transformers reducing 7,200V distribution lines to the 120/240V split-phase power that enters your home's main service panel.

Transformer vs. Switch-Mode Power Supply (SMPS)

A major point of confusion in modern electronics is the difference between a traditional magnetic transformer and a modern switch-mode power supply (like the USB-C brick charging your phone). While both change voltage, their underlying physics and definitions are entirely different.

Feature Traditional Magnetic Transformer Switch-Mode Power Supply (SMPS)
Core Definition Passive AC-to-AC magnetic induction device. Active AC-to-DC (or DC-to-DC) electronic converter.
Operating Frequency Line frequency (50 Hz or 60 Hz). High frequency (typically 50 kHz to 2 MHz).
Weight & Size Heavy and bulky (requires large iron core for low freq). Lightweight and compact (tiny ferrite core due to high freq).
Output Type AC (requires external rectification for DC). Regulated DC (built-in rectification and feedback loop).
Efficiency 85% - 95% (high at full load, poor at no-load). 80% - 96% (maintains high efficiency across wide load ranges).

For a deeper dive into the mathematical modeling of these components, the Electronics Tutorials transformer guide provides excellent phasor diagrams and equivalent circuit models.

Frequently Asked Questions

What is the difference between an ideal and real transformer definition?

In textbook theory, an 'ideal' transformer assumes zero winding resistance, infinite core permeability, and perfect magnetic coupling (no leakage flux). In reality, a physical transformer has copper losses ($I^2R$ heating in the windings), core losses (hysteresis and eddy currents), and leakage inductance (magnetic flux that escapes the core and fails to link both windings). These real-world factors cause voltage drop under load and limit the maximum efficiency. When sizing transformers for continuous industrial loads, the All About Circuits practical transformer chapter details how to account for these voltage regulation drops.

Can a transformer work with DC voltage?

No. By definition, a transformer requires a changing magnetic field to induce a voltage in the secondary winding. If you apply a steady DC voltage to a primary winding, the magnetic flux will build up once and stop changing. Because the DC resistance of the primary winding is usually very low, applying DC will result in a massive current draw, leading to rapid thermal runaway and melted windings. To step up or step down DC voltages, engineers use DC-DC converters (like boost/buck or flyback topologies) which use high-speed MOSFETs to 'chop' the DC into high-frequency AC, pass it through a tiny transformer, and rectify it back to DC.

Why is transformer capacity rated in VA instead of Watts?

Transformers are rated in Volt-Amps (VA) or kilovolt-Amps (kVA) rather than Watts because the manufacturer does not know the power factor of the load you will connect to it. The heating of the transformer's copper windings is determined strictly by the current (Amps), while the saturation of the magnetic core is determined by the voltage (Volts). If you connect a highly inductive load (like a large motor with a 0.6 power factor), the transformer might be pushing its maximum safe current limit (Amps) while only delivering 60% of that value in real work (Watts). Rating in VA protects the hardware by defining the absolute thermal limits of the V and A independently of the load's phase angle.