A TRIAC (Triode for Alternating Current) is a three-terminal semiconductor switch that can conduct current in both directions across an AC load when triggered by a small gate current. Unlike a mechanical relay that simply clunks on and off at the zero-crossing, a TRIAC changes a circuit by enabling phase-angle control—allowing a 3.3V microcontroller to fire the gate at precise microsecond delays within the AC sine wave to smoothly dim lights or control universal motor speeds. Beginners commonly confuse TRIACs with SCRs (Silicon Controlled Rectifiers), but while an SCR only conducts in one direction (acting like a controlled diode), a TRIAC conducts in both. They are also frequently confused with MOSFETs; however, standard MOSFETs are optimized for DC switching, making the TRIAC the undisputed solid-state king for high-voltage AC mains control.
The Core Specs: Choosing the Right TRIAC
Selecting a TRIAC is not just about matching the voltage and current of your load. You must also consider the gate trigger current (I_GT) and the device's quadrant sensitivity. If you are driving the gate directly from a microcontroller GPIO pin, you need a logic-level or sensitive-gate TRIAC. If you are using an optocoupler like the MOC3021, a standard-gate TRIAC is appropriate and offers better noise immunity.
| Part Number | V_DRM (Max Off-State Voltage) | I_T(RMS) (Max On-State Current) | I_GT (Max Gate Trigger Current) | Quadrant Sensitivity | Typical Use Case |
|---|---|---|---|---|---|
| BTA16-600B | 600V | 16A | 50mA | Standard (Q1-Q4) | Heavy AC loads, SSRs, motor control via optocoupler |
| BT136-600E | 600V | 4A | 10mA | Sensitive Gate | Low-power lighting dimmers, small appliance control |
| MAC15NG | 800V | 15A | 35mA | Standard (Q1-Q4) | 240VAC mains switching, high-surge industrial loads |
| Z0607MG | 600V | 0.8A | 5mA | Logic Level | Direct GPIO drive from ESP32/Arduino (no optocoupler) |
Phase-Angle Control: A Worked Numeric Design
To understand what a TRIAC actually does in a circuit, let us design a phase-angle dimmer for a 120VAC, 60Hz incandescent load using an ESP32 (3.3V logic) and a MOC3021M optocoupler to drive a BTA16-600B TRIAC.
Step 1: Sizing the ESP32 to Optocoupler Resistor
The MOC3021M contains an internal infrared LED. According to the Littelfuse and ON Semi datasheets, the LED forward voltage (V_F) is typically 1.2V, and it requires a forward current (I_F) of 15mA to reliably trigger the internal photodiode.
R_LED = (3.3V - 1.2V) / 0.015A = 140Ω
We select the nearest standard E12 resistor value: 150Ω. This safely limits the current while guaranteeing the optocoupler fires.
Step 2: Sizing the Optocoupler to TRIAC Gate Resistor
The MOC3021M acts as a switch connecting the AC line to the BTA16 gate. The BTA16-600B requires up to 50mA of gate current (I_GT) to trigger in Quadrant III (MT2 negative, Gate negative). The peak AC voltage (V_peak) of a 120VAC line is 120 * √2 = 169.7V.
We must limit the peak surge current through the MOC3021's internal triac to its maximum rating of 1A, while still providing the 50mA needed for the BTA16.
R_gate_actual = V_peak / I_GT_required = 169.7V / 0.050A = 3394Ω
Any resistor between 170Ω and 3.3kΩ will theoretically work. However, standard application notes from STMicroelectronics recommend a 360Ω resistor for 115VAC circuits. This provides roughly 471mA of peak gate current—well under the 1A surge limit, but more than enough to instantly and reliably latch the BTA16 gate even with cold-filament inrush currents.
Where You Meet This in Practice
You interact with TRIACs constantly in both consumer and industrial environments, often without realizing it. Here is where they dominate the hardware landscape:
- Leading-Edge Dimmer Switches: The classic rotary or slide wall dimmers for incandescent and halogen lights use a TRIAC (often a MAC15 or similar) paired with a DIAC and a potentiometer-capacitor timing network to chop the leading edge of the AC sine wave.
- Solid State Relays (SSRs):strong> If you open up an AC-output SSR like the Crydom D2425, you will not find a mechanical coil. You will find an optocoupler and a high-power TRIAC potted in a block of thermally conductive epoxy. The SSR is simply a packaged, isolated TRIAC circuit.
- Universal Motor Speed Control: Power tools like corded drills, routers, and shop vacuums use universal motors (which run on both AC and DC). TRIAC-based phase control is used in the trigger switches to ramp the motor speed smoothly from zero to full RPM.
- White Goods Heating Elements: Modern coffee makers, toaster ovens, and 3D printer heated beds use TRIACs to pulse high-wattage resistive heating elements, maintaining precise temperatures via PID control loops without the clicking wear-and-tear of mechanical contactors.
Failure Modes and Snubber Requirements
TRIACs are rugged, but they have specific physical limitations that will destroy your circuit if ignored. The most common bench and jobsite failures stem from three phenomena:
1. False Triggering from dv/dt
A TRIAC can spontaneously turn on if the voltage across its main terminals (MT1 and MT2) rises too quickly, even if the gate current is zero. This is known as the static dv/dt rating. Long wires to a resistive load or switching highly inductive loads can cause voltage spikes that exceed this rating. The Fix: Always place an RC snubber network (typically a 39Ω resistor in series with a 10nF to 47nF X2-rated film capacitor) directly across MT1 and MT2 to slow the voltage rise time.
2. Commutating dv/dt (The Inductive Load Killer)
When a TRIAC switches off an inductive load (like a motor or transformer), the current and voltage are out of phase. The current drops to zero (turning the TRIAC off), but the voltage immediately snaps back to a high value. This rapid voltage reappearance (commutating dv/dt) can force the TRIAC back into conduction, causing the load to run at full power uncontrollably. The Fix: Use an 'Alternistor' (a high-commutation TRIAC like the Littelfuse Q-Series) or increase the snubber capacitor value.
3. Thermal Runaway
Semiconductors are not perfect switches. A BTA16 has a maximum on-state voltage drop (V_TM) of about 1.55V. If you run 10A RMS through it, the power dissipation is roughly P = 1.2V * 10A = 12W. A bare TO-220 package has a junction-to-ambient thermal resistance of about 60°C/W.
Frequently Asked Questions
Can I use a TRIAC to switch a DC load?
No. A TRIAC requires the current to drop below its 'holding current' threshold (usually near zero) to turn off. In a DC circuit, the current never crosses zero, meaning once you trigger the gate, the TRIAC will latch ON permanently until you physically disconnect the power supply. Use a MOSFET for DC switching.
Why do I need a zero-crossing detector if I am just turning a heater on and off?
If you are doing simple on/off control (burst firing) rather than phase-angle dimming, triggering the TRIAC exactly when the AC sine wave crosses 0V prevents massive inrush current spikes and reduces electromagnetic interference (EMI). For resistive heaters, zero-crossing SSRs are vastly superior to phase-angle TRIAC circuits.






