A TRIAC (Triode for Alternating Current) is a three-terminal semiconductor device that controls and conducts current in both directions of an AC waveform when triggered by a gate signal. When you need to switch a DC load, you reach for a MOSFET. But when you need to switch, dim, or regulate a 120V or 240V AC load directly from the mains, the TRIAC is the undisputed workhorse of power electronics. It fundamentally changes how an AC circuit behaves by enabling phase-angle control—allowing you to chop the AC sine wave to deliver partial power, rather than just slamming the circuit fully on or fully off like a mechanical relay.
Think of a standard mechanical relay as a heavy ball valve that is either fully open or fully closed. A TRIAC acts like a precision needle valve that can open for just a fraction of a millisecond during every single pump stroke of the water system, regulating the exact volume of flow.
How a TRIAC Changes AC Circuit Behavior and Common Confusions
To understand what a TRIAC changes in a real installation, you have to look at the AC sine wave. A standard 60Hz AC waveform crosses zero volts 120 times per second. A TRIAC is a bistable switch: it remains completely non-conductive until a small current pulse is applied to its Gate terminal. Once triggered, it latches 'on' and conducts main current between its Main Terminal 1 (MT1) and Main Terminal 2 (MT2) until the main current naturally drops to zero at the end of the half-cycle.
By delaying the gate trigger pulse by a few microseconds after the zero-crossing, you 'chop' the leading edge of the sine wave. This is called phase-angle control. The later you trigger the gate, the less power reaches the load. This is how a $15 wall dimmer smoothly fades a 60W incandescent bulb from full brightness down to a dim glow without wasting power as heat in a rheostat.
What People Commonly Confuse With a TRIAC
- SCR (Silicon Controlled Rectifier): An SCR is a unidirectional thyristor. It only conducts current in one direction (half the AC wave). To control a full AC wave with SCRs, you must wire two of them in inverse-parallel. A TRIAC is essentially two SCRs integrated into a single silicon die with a shared gate, making it bidirectional.
- Solid State Relay (SSR): Many hobbyists confuse a bare TRIAC with an SSR. An SSR panel-mount block (like a Fotek SSR-25DA) actually contains a TRIAC inside, but it packages it with an internal opto-isolator, a zero-crossing detection circuit, and an RC snubber. A bare TRIAC requires you to design those protection circuits yourself.
- AC MOSFET: While back-to-back MOSFETs can switch AC, they are generally used for high-frequency PWM or trailing-edge dimming. TRIACs are vastly cheaper and more robust for high-current, low-frequency leading-edge AC switching.
TRIAC vs. SCR vs. Relay: Spec Sheet Comparison
Choosing the right switching component depends on your load type, switching speed requirements, and budget. The table below compares a standard TRIAC against alternative AC switching methods based on real-world component specifications.
| Component Type | Example Part | Bidirectional AC? | Switching Speed | Typical Max Current | Zero-Crossing Capable? | Approx. Cost (2026) |
|---|---|---|---|---|---|---|
| TRIAC | STMicro BTA16-600B | Yes | Fast (µs range) | 16A RMS | Requires external ZC circuit | $0.85 |
| SCR (Thyristor) | Littelfuse S6025RTP | No (Half-wave only) | Fast (µs range) | 25A RMS | Requires external ZC circuit | $1.20 (x2 needed for AC) |
| Electromechanical Relay | Omron G2R-1-E | Yes | Slow (ms range, mechanical bounce) | 16A | N/A (Always full-wave) | $3.50 |
| Solid State Relay (SSR) | Fotek SSR-25DA | Yes | Fast (Internal ZC) | 25A | Yes (Built-in) | $6.00 |
| Back-to-Back MOSFET | Infineon BSC080N10NS | Yes (with drive circuit) | Very Fast (ns range) | Depends on Rds(on) & heatsink | N/A | $2.50+ (complex drive) |
Sources: Component specifications and pricing aggregated from STMicroelectronics BTA16 Datasheet and standard distributor catalogs.
Where You Meet This in Practice
If you open up household appliances or commercial lighting controls, TRIACs are everywhere. Here are the most common real-world applications where you will encounter them on the bench:
1. Leading-Edge Light Dimmers
Standard wall dimmers for incandescent, halogen, and magnetic low-voltage lighting use TRIACs. They chop the leading edge of the sine wave. Note: Many modern dimmable LED drivers struggle with leading-edge TRIAC dimmers because the chopped waveform interrupts the LED driver's internal power supply, causing flicker. For LEDs, trailing-edge (MOSFET) dimmers are often preferred.
2. Universal Motor Speed Controls
Power tools like corded drills, routers, and shop vacuums use universal motors (series-wound AC/DC motors). TRIAC phase-angle control is the standard method for providing variable speed triggers on these tools, allowing smooth ramp-up from zero to full RPM.
3. Resistive Heating Elements
In 3D printers, reflow ovens, and sous-vide cookers, TRIACs are used to pulse AC power to heating cartridges. Because heating elements have high thermal mass, the rapid AC cycling (burst-fire or phase-angle) averages out to incredibly precise temperature control via PID loops.
4. Microcontroller Interfacing (The MOC3021)
You cannot connect an ESP32 or Arduino GPIO (3.3V/5V) directly to a TRIAC gate tied to 120V AC. In practice, we use an opto-isolator with a built-in TRIAC driver, most commonly the MOC3021 (random-phase) or MOC3041 (zero-crossing). The MOC3041 waits for the AC wave to hit 0V before firing the main TRIAC, which eliminates inrush current spikes and reduces electromagnetic interference (EMI).
Worked Example: Sizing and Snubbing a TRIAC for a 120V AC Motor
Let's design a safe, reliable TRIAC switching circuit for a 120V AC, 4A universal motor in a shop vacuum, controlled by an ESP32 via a MOC3021 opto-isolator.
Step 1: Calculate Current and Voltage Requirements
The motor draws 4A RMS. However, AC peaks are higher than RMS, and motors have massive inrush currents when starting.
- Peak AC Voltage: 120V RMS × 1.414 = 169V Peak.
- Motor Inrush Current: Universal motors can draw 6x to 8x their running current on startup. 4A × 8 = 32A Peak Inrush.
Step 2: Select the TRIAC
We need a part that blocks at least 169V (plus a safety margin for line transients, so 400V or 600V is standard) and can handle the 32A inrush surge.
We select the BTA16-600B from STMicroelectronics. According to the BTA16 datasheet:
- $V_{DRM}$ (Repetitive peak off-state voltage): 600V (Safely exceeds 169V peak + transients).
- $I_{T(RMS)}$ (On-state RMS current): 16A (Safely exceeds 4A running current).
- $I_{TSM}$ (Non-repetitive surge current): 160A for one 60Hz half-cycle. This easily absorbs our 32A motor inrush without destroying the silicon die.
Step 3: Design the Snubber Network
This is where most hobbyists fail. Motors are highly inductive loads. When the TRIAC turns off at the zero-crossing, the collapsing magnetic field in the motor windings causes a rapid voltage spike ($dv/dt$). If the voltage rises faster than the TRIAC's rated commutating $dv/dt$, the TRIAC will falsely trigger itself back 'on', causing the motor to run out of control even when the gate signal is removed.
To suppress this, we place an RC snubber network in parallel with the TRIAC's MT1 and MT2 terminals. Based on standard thyristor application notes for inductive loads:
- Resistor (R): 39 Ω, 1/2W metal film. This limits the discharge current from the capacitor when the TRIAC turns on.
- Capacitor (C): 0.01 µF (10 nF), 250VAC X2 safety rated. This absorbs the rapid $dv/dt$ voltage spike. Never use a standard DC-rated ceramic capacitor here; it will explode across the AC line.
Step 4: Gate Resistor Sizing
The BTA16-600B is a 'B' sensitivity gate, requiring a maximum gate trigger current ($I_{GT}$) of 50mA. The MOC3021 opto-isolator can handle up to 1A peak repetitive surge. A standard 180 Ω, 1W resistor placed between the MOC3021 output and the TRIAC gate limits the peak gate current to a safe ~150mA, ensuring rapid, clean turn-on without overstressing the opto-isolator's internal LED junction.
By understanding the bidirectional nature of the TRIAC, respecting the inductive kickback of motor loads, and properly sizing the $dv/dt$ snubber, you can build AC switching circuits that are just as robust and reliable as commercial off-the-shelf motor controllers.






