A CT (current) transformer is an instrument transformer that steps down high AC line currents into a safely isolated, proportionally smaller secondary current for measurement and protection. In a real circuit, it changes a dangerous 200A busbar current into a safe, low-voltage signal that a microcontroller or panel meter can read without destroying your electronics or electrocuting you. Hobbyists and junior technicians commonly confuse CTs with potential transformers (PTs, which step down voltage) or Hall-effect sensors (which can measure DC but lack the same high-current isolation and precision for AC mains).

The Physics and Math: Sizing the Burden Resistor

A CT transformer operates on the principle of magnetic induction, much like a standard power transformer, but it is designed to act as a current source rather than a voltage source. The primary 'winding' is often just the single thick wire passing through the center of the toroidal core. The secondary winding consists of thousands of turns of fine magnet wire.

The fundamental relationship is dictated by the turns ratio: I_primary × N_primary = I_secondary × N_secondary. Because the primary is usually just one pass through the window (N=1), a CT with 2,000 secondary turns will step the current down by a factor of 2,000.

Worked Numeric Example: Interfacing with an ESP32

Let's say you are building an energy monitor using an ESP32 (which has a 3.3V logic level and a 12-bit ADC) and a generic 100A:50mA CT. You want to measure up to 100A RMS.

  • Secondary Current (I_sec): At 100A primary, the secondary outputs 50mA (0.05A) RMS.
  • ADC Constraints: The ESP32 ADC reads 0V to 3.3V. To measure AC, we bias the signal to the midpoint: 1.65V. This means our maximum peak voltage swing is 1.65V.
  • Maximum RMS Voltage: V_rms = V_peak / √2 = 1.65V / 1.414 = 1.167V RMS.
  • Burden Resistor Calculation: Using Ohm's Law (R = V / I), the ideal burden resistor is 1.167V / 0.05A = 23.34 Ω.

The nearest standard E24 resistor value is 22 Ω or 24 Ω. Choosing 22 Ω gives you a max RMS voltage of 1.10V, keeping you safely within the ESP32's ADC limits while maximizing resolution.

Without a burden resistor, the CT has nowhere to push its secondary current, which leads to catastrophic failure (more on that in the safety section). If you don't want to calculate and solder your own burden resistor and DC bias circuit, you can buy CTs with these components built-in, which outputs a straight 0-1V AC signal.

Where You Meet CTs in Practice

You will encounter current transformers in almost every commercial and residential electrical installation that requires monitoring or protection. Here is where they show up on the jobsite and the bench:

  • Residential Solar & Net Metering: Utility meters and solar inverters (like SMA or SolarEdge) use split-core CTs clamped around the main service feeder to measure grid export/import and throttle inverter output to comply with zero-export rules.
  • Whole-Home Energy Monitors: Systems like Sense or Emporia Vue rely on an array of small CTs placed on individual branch circuit breakers to disaggregate appliance loads via machine learning.
  • Motor Overload Protection: Industrial motor starter contactors use CTs paired with overload relays. If a 50HP motor draws locked-rotor current, the CT signals the relay to trip the contactor before the windings melt.
  • Ground Fault Protection: In a 4-wire system, all phase and neutral conductors pass through a single large 'zero-sequence' CT window. Under normal conditions, the magnetic fields cancel out to zero. If current leaks to ground (a fault), the imbalance induces a secondary current that trips the main breaker.

The CT Transformer Decision Tree

Choosing the right sensor depends entirely on your measurement target, environment, and the input requirements of your reading device. Use this decision matrix to select the correct hardware.

Measurement Target Environment / Application Required Output Signal Recommended Hardware Pick
DC Current (e.g., Battery banks, Solar DC) Low voltage DC bus (12V-48V) Analog voltage or I2C digital Hall-Effect Sensor (Allegro ACS712 or INA219)
AC Mains (Panel Metering) Commercial switchgear, 333mV standard meters 333mV AC RMS at full scale AccuEnergy AcuCT-414-A (Split-core, 400A)
AC Mains (DIY / Microcontroller) ESP32/Arduino custom energy monitors 0-1V AC (Built-in burden & bias) YHDC SCT-013-000 (Split-core, 100A)
High Current Protection Industrial relays, 5A secondary standard 5A AC (Requires shorting block) Schneider Electric / Square D solid-core 5A CTs
The Default Pick for Makers: If you are building an AC energy monitor with an ESP32, Arduino, or Raspberry Pi Pico, stop searching and buy the YHDC SCT-013-000. It is a 100A split-core CT with a built-in burden resistor that outputs a 0-1V AC signal. It requires no external resistors, no dangerous mains splicing, and clamps directly over insulated wire. For detailed calibration code, refer to the OpenEnergyMonitor calibration guide.

Critical Safety: The Open-Circuit Hazard

If you take away only one safety rule from this article, let it be this: Never open-circuit the secondary of a live CT transformer.

In a standard voltage transformer, if you disconnect the secondary load, the primary simply draws less current. A CT transformer is the opposite. It is driven by the primary current, which is dictated by the external load on the mains circuit, not by the CT itself. The secondary current creates a magnetic flux (Magnetomotive Force, or MMF) that directly opposes the primary flux. This keeps the core's net magnetic flux at a very low, safe level.

If you disconnect the burden resistor or open the secondary wires while primary current is flowing, the opposing secondary MMF drops to zero. The entire primary current now acts as pure magnetizing current, driving the core into deep magnetic saturation. The extreme rate of change of flux (dΦ/dt) induces massive voltage spikes on the secondary terminals—often reaching several thousand volts.

This will result in:

  1. Lethal shock hazard to anyone touching the secondary terminals.
  2. Insulation breakdown and arcing inside the CT winding.
  3. Core overheating due to extreme eddy currents and hysteresis losses, potentially melting the plastic housing and starting a fire.

When working with 5A secondary industrial CTs, always use a shorting terminal block. This allows you to short the secondary terminals together before removing the meter or relay for maintenance. For DIY hobbyist CTs (like the SCT-013-000), the built-in burden resistor acts as your permanent short, making them inherently safer to plug and unplug, provided the primary wire is insulated.

FAQ: Clearing Up Common CT Confusion

Does the direction (polarity) of the CT matter?

If you are only measuring RMS current (Amps) to see if a motor is running, polarity does not matter. However, if you are measuring Real Power (Watts) or calculating power factor, polarity is critical. The CT must be installed with the 'P1' or source-side marking facing the power source, and the secondary leads must be wired to your ADC with the correct phase relationship to the voltage signal. If you get it backwards, your energy monitor will read negative watts (exporting instead of consuming).

What is the difference between a CT and a PT (Potential Transformer)?

A CT steps down current and is wired in series with the load (the wire passes through it). A PT steps down voltage and is wired in parallel with the line (connected line-to-line or line-to-neutral). A PT behaves like a standard power transformer; a CT behaves like a current source. For a deeper dive into transformer theory, the All About Circuits textbook chapter on instrument transformers provides excellent schematic comparisons.

Can I use a CT transformer to measure DC current from a battery bank?

No. CT transformers rely on Faraday's Law of Induction, which requires a changing magnetic field to induce a secondary current. DC current creates a static magnetic field, which induces exactly zero voltage on the secondary winding. To measure DC, you must use a shunt resistor (for low currents) or a Hall-effect sensor (like the Allegro ACS712 or a dedicated BMS shunt), which measures the static magnetic field generated by DC flow.

Why is my ESP32 reading noisy or drifting when the CT is unplugged?

The ESP32 ADC is notoriously noisy and susceptible to floating inputs. If your CT is unplugged, the ADC pin is floating, picking up ambient 50/60Hz electromagnetic interference from the room. Always use a 10kΩ pull-down resistor on the ADC input to ground, and ensure your DC bias circuit (usually two 470kΩ voltage divider resistors and a 10µF decoupling capacitor) is properly stabilizing the 1.65V midpoint.