An electronic current transformer (ECT) is a solid-state or air-core sensor that measures AC or DC line current and outputs a proportional low-voltage signal, eliminating the heavy iron cores and dangerous high-current secondaries of traditional magnetic instrument transformers. By outputting millivolt or low-voltage analog signals (typically 0–5V) instead of standard 1A or 5A secondary currents, ECTs change the architecture of modern panel monitoring: they allow direct, safe interfacing with 3.3V microcontroller ADCs without external burden resistors, and they remove the lethal open-circuit high-voltage hazard inherent to conventional iron-core CTs. Hobbyists frequently confuse ECTs (which use Hall-effect, Rogowski, or fluxgate principles) with conventional split-core magnetic CTs (which rely on iron saturation and require a burden resistor) or non-isolated shunt resistors (which share a ground reference with mains voltage and pose a severe shock risk).
How Electronic Current Transformers Actually Work
Unlike conventional CTs governed by the older sections of IEC 60044, modern ECTs fall under the IEC 61869-6 standard for Low Power Instrument Transformers (LPITs). They achieve galvanic isolation and current measurement without relying on magnetic saturation of an iron core. The two most common topologies you will encounter on the bench are Hall-effect and Rogowski.
A primary conductor passes through a magnetic concentrator ring. The magnetic field generated by the current is perpendicular to a Hall-effect semiconductor element. The sensor outputs a voltage proportional to the magnetic flux. Because it measures the absolute magnetic field, it can measure both AC and DC currents, and it outputs a ratiometric analog voltage centered around a quiescent baseline (usually Vcc/2).
Rogowski coils, the other major ECT variant, use an air-cored helical coil wrapped around the conductor. They measure the rate of change of current (di/dt) and require an active electronic integrator circuit to output a voltage proportional to the actual current. They are completely immune to DC saturation and are the standard for measuring massive, asymmetric fault currents in industrial switchgear, though they are less common in low-voltage DIY solar builds due to the complexity of the integrator op-amp circuit.
Worked Example: Scaling an ECT for an ESP32 Solar Monitor
Let us design a measurement circuit for a 240V solar inverter branch protected by a 40A breaker. We need to measure the AC current and feed it into the ADC of an ESP32 DevKit v1. The ESP32 ADC operates from 0V to 3.3V, but it is notoriously non-linear below 0.2V and above 3.1V. We must keep our AC waveform strictly inside this linear window.
Step 1: Sensor Selection and Peak Math
A 40A RMS circuit has a peak current of 56.5A (40 × 1.414). If we use a 50A sensor, the peaks will clip, destroying our RMS calculations. We select the Allegro ACS758LCB-100B (100A bidirectional Hall-effect ECT). According to the Allegro ACS758 datasheet, this sensor runs at 5V, has a quiescent output of 2.5V, and a sensitivity of 20 mV/A.
- Quiescent Voltage (0A): 2.50V
- Positive Peak (+56.5A): 2.5V + (56.5 × 0.020) = 3.63V
- Negative Peak (-56.5A): 2.5V - (56.5 × 0.020) = 1.37V
Step 2: Level Shifting for the ESP32
The 3.63V positive peak will fry the ESP32's 3.3V ADC pin over time and clip the waveform. We must scale the 0–5V sensor output down to the 0–3.3V range using a simple voltage divider. Using a 10kΩ resistor (R1, high side) and a 20kΩ resistor (R2, low side to ground) gives us a division ratio of 0.666.
- Mapped Quiescent: 2.50V × 0.666 = 1.66V
- Mapped Positive Peak: 3.63V × 0.666 = 2.42V
- Mapped Negative Peak: 1.37V × 0.666 = 0.91V
This perfectly centers the AC waveform between 0.91V and 2.42V, safely inside the ESP32’s linear ADC zone. In your firmware, you subtract the 1.66V DC offset from every sample, then divide by the scaled sensitivity (0.020 V/A × 0.666 = 0.01332 V/A) to get instantaneous amps, and finally calculate the RMS over one full 50/60Hz cycle.
Where You Meet This in Practice
You will rarely see true IEC-rated LPITs inside a standard residential load center; utility metering still heavily favors traditional iron-core CTs for their decades-long stability and zero-power passive operation. However, ECTs dominate the adjacent ecosystem:
- EV Charger Load Shedding: Wall connectors use internal Hall-effect ECTs to monitor the feeder line and dynamically throttle charging current if the main service panel approaches its 200A limit.
- Smart Home Energy Monitors: Devices like Sense or Emporia Vue use arrays of compact magnetic and electronic sensors to sample high-frequency current signatures, allowing their algorithms to disaggregate individual appliance loads (e.g., identifying a toaster vs. a microwave).
- Solar Inverter Anti-Islanding: Grid-tied inverters use high-precision ECTs to detect micro-shifts in grid impedance and current flow, ensuring they shut down within milliseconds if the grid drops.
Decision Tree: Picking the Right Sensor for Your Build
Choosing between an ECT, a conventional CT, and a shunt depends entirely on your isolation requirements, current magnitude, and microcontroller architecture. Use this decision matrix to terminate your part selection.
| If Your Application Requires... | Then You Need This Topology | Concrete Part Pick |
|---|---|---|
| Measuring AC only, <50A, lowest possible cost, and you don't mind adding a burden resistor and DC bias circuit. | Voltage-Output Magnetic CT | YHDC SCT-013-000 (Split-core, 1V output at 50A) |
| Measuring AC or DC, >50A, requiring true galvanic isolation and direct analog output for an ESP32/Arduino. | Hall-Effect ECT | Allegro ACS758LCB-100B (Through-hole, 100A, 5V supply) |
| Measuring massive AC fault currents (up to 3000A), flexible installation around busbars, no DC component. | Rogowski Coil ECT | PEM CWT Mini (Requires external integrator module) |
| Low-side DC current sensing on a 12V/24V battery bank where mains isolation is not required. | Shunt Resistor + Amplifier | INA219 (I2C digital output, max 3.2A) or 75mV 100A Shunt |
Installation Mistakes and ADC Gotchas
Why is my RMS reading drifting wildly on the ESP32?
The ESP32’s SAR ADC is highly sensitive to noise and has a non-linear response near the rails. If your DC bias (quiescent voltage) is drifting because you are using the ESP32's internal 3.3V pin as your voltage divider reference, your RMS math will collapse. Always derive your sensor Vcc and your voltage divider reference from a dedicated, low-noise external 3.3V or 5.0V LDO regulator (like the AMS1117-3.3), never directly from the ESP32's USB VBUS line.
What sampling rate do I need for accurate 60Hz RMS?
Nyquist dictates you need at least 120Hz, but that will give you garbage RMS data because you will miss the peaks. For accurate real-power (Watts) and apparent-power (VA) calculations, you must sample at a minimum of 1,000 Hz (preferably 2,000 Hz) to capture the exact shape of the sine wave and properly account for phase shift between your voltage and current sensors. Use hardware timers in your ESP32 firmware to enforce strict, jitter-free sampling intervals.
Can I put a Hall-effect ECT inside a metal enclosure?
Yes, but you must be aware of magnetic interference. Hall-effect ECTs like the ACS758 measure absolute magnetic flux. If you mount the sensor within 2 inches of a large steel transformer, a high-current busbar, or a neodymium magnet, the external magnetic field will add an offset to your quiescent voltage, resulting in a phantom current reading. Keep solid-state ECTs at least 3 inches away from unshielded magnetic sources, or use a mu-metal shield.






