A TRIAC is a three-terminal semiconductor device that conducts alternating current (AC) in both directions once triggered by a small gate signal. If you are building an AC dimmer, a motor speed controller, or a solid-state relay, this component is the solid-state workhorse that replaces bulky mechanical contactors and wasteful rheostats. Understanding how it behaves on the bench—and where it fails—is the difference between a reliable DIY smart home project and a melted breadboard.
The Core Triac Definition and Circuit Impact
To understand what a TRIAC (Triode for Alternating Current) changes in a real circuit, you have to look at how we traditionally control AC power. If you want to dim a 100W incandescent bulb using a variable resistor (rheostat), you are burning off the excess energy as heat. It is wildly inefficient.
A triac changes this by enabling phase-angle control. Instead of resisting the current, the triac acts like a high-speed electronic gate. It blocks the AC sine wave for a portion of every half-cycle, then snaps open to let the rest of the wave through to the load. By adjusting the exact microsecond the gate is triggered, you control the average power delivered to the load without dissipating the unused power as heat.
Where You Meet This in Practice
You will rarely see a raw triac in modern consumer appliances; instead, you will see them integrated into modules or acting as the switching element inside larger assemblies. Here is where they live in the wild:
- Leading-Edge Dimmer Switches: The classic Lutron or Leviton wall dimmers use a triac (often a MAC15 or modern equivalent) to chop the front edge of the AC sine wave, dimming incandescent and compatible LED bulbs.
- Solid State Relays (SSRs): Panel-mount AC SSRs, like the widely used Fotek SSR-25VA, contain an optically isolated triac inside an epoxy puck. You feed it 3-32V DC on the control side, and it switches up to 25A of 24-380V AC on the load side.
- Universal Motor Controls: Washing machines, hand drills, and vacuum cleaners use triacs to vary motor speed by adjusting the RMS voltage applied to the armature.
For bench-level DIY projects, the BTA16-600B (a 16A, 600V triac in a TO-220 package) and the BT136 (4A, 600V) are the most common bare components you will solder into your circuits.
Worked Numeric Example: Heatsink and Snubber Sizing
Let us say you are designing a circuit to switch a 120V AC, 8A resistive water heater element using a BTA16-600B triac. You cannot just wire it up and walk away; you must calculate thermal dissipation and commutation protection.
Step 1: Heatsink Sizing
Load Current ($I_{RMS}$): 8A
Power Dissipation ($P_d$): 1.2V × 8A = 9.6W
A bare TO-220 package has a junction-to-ambient thermal resistance ($R_{th(j-a)}$) of about 60°C/W. Without a heatsink, the temperature rise would be $9.6W \times 60 = 576°C$ above ambient. The silicon will melt and fail short-circuit almost instantly.
We need to keep the junction temperature ($T_j$) below 110°C in a 25°C room. That gives us a maximum allowable temperature rise ($\Delta T$) of 85°C.
- Calculate required total thermal resistance: $R_{th(total)} = 85°C / 9.6W = 8.85°C/W$.
- Subtract the triac's internal junction-to-case resistance ($R_{th(j-c)}$), which is typically 2.0°C/W, plus ~0.5°C/W for thermal paste.
- Required heatsink rating: $8.85 - 2.0 - 0.5 = 6.35°C/W$.
The Fix: You must mount the BTA16 to an extruded aluminum heatsink rated for 5°C/W or better, and ensure it has adequate airflow.
Step 2: Snubber Network for Inductive Loads
If that 8A load were an inductive motor instead of a resistive heater, the current and voltage waveforms would be out of phase. When the triac turns off at the zero-current crossing, the voltage across it snaps back to the peak AC line voltage almost instantly. This high $dv/dt$ (rate of voltage rise) can trick the triac into turning back on without a gate signal, a phenomenon known as commutation failure.
According to Littelfuse application notes on RC snubber design, a standard empirical starting point for 120V AC 60Hz lines is a 0.1µF capacitor in series with a 100Ω resistor. This limits the $dv/dt$ to a safe value for the BTA16's internal silicon junctions.
Real-World Scenario: The Melted Smart Plug
Theory is clean; the workbench is not. Here is a walkthrough of a common DIY disaster involving a triac.
- Setup: A maker builds an ESP32-based smart plug to control a 1500W portable space heater (120V nominal). They use a BTA16-600B triac driven by an MOC3021 random-phase optocoupler, controlled directly by an ESP32 GPIO pin.
- Numbers: The heater draws 12.5A RMS ($1500W / 120V$). The peak current is $12.5 \times 1.414 = 17.6A$.
- Outcome: When the ESP32 commands the heater on, the microcontroller instantly reboots. After a few tries, the triac fails in a short-circuit state, leaving the heater permanently on until the user trips the breaker manually.
- What Went Wrong: Two fatal errors occurred here. First, the MOC3021 is a random-phase optocoupler. Triggering it mid-cycle on a heavy 1500W resistive load causes a massive $di/dt$ (current surge) and generates severe Electromagnetic Interference (EMI). This EMI coupled into the ESP32's unshielded traces, causing a brownout and reset. Second, the BTA16 was run at 12.5A without a massive heatsink, leading to thermal runaway and the eventual short-circuit failure.
Common Confusions: Triacs vs. SCRs vs. MOSFETs
People frequently confuse triacs with other power semiconductors. As detailed in the All About Circuits semiconductor guide, choosing the wrong switch for your waveform will result in a non-functional or dangerous circuit.
| Feature | TRIAC | SCR (Thyristor) | Power MOSFET |
|---|---|---|---|
| Current Direction | Bidirectional (AC) | Unidirectional (DC/Pulsed) | Unidirectional (DC) |
| Turn-Off Mechanism | Current drops to zero | Current drops to zero | Gate voltage removed |
| Switching Speed | Slow (Line frequency) | Slow (Line frequency) | Very Fast (kHz to MHz) |
| Best Application | AC Dimming, Motor Control | High-power DC, Half-wave AC | DC Motor PWM, Buck Converters |
Troubleshooting FAQ
Why won't my triac turn off when I remove the gate signal?
A triac is a latching device. Once the gate triggers the internal silicon layers into conduction, the gate loses all control. The triac will only turn off when the main load current drops below the 'holding current' threshold (typically a few milliamps). In an AC circuit, this happens naturally 120 times a second at the zero-crossings. If you try to use a triac to switch a DC load, it will turn on and stay on forever until you physically cut the power.
My triac gets incredibly hot even with a heatsink. Is this normal?
Unlike a mechanical relay which has near-zero voltage drop across closed contacts, a triac always drops about 1.0V to 1.5V across its main terminals (MT1 and MT2) when conducting. At 10A, that is 10 to 15 watts of pure heat generated inside the silicon die. If your heatsink is too small, or if the thermal interface material is applied poorly, the junction temperature will exceed the 125°C limit and the device will destroy itself.
Can I put two triacs in parallel to double my current capacity?
No. Unlike power resistors, triacs do not share current equally due to slight manufacturing differences in their forward voltage drops and gate trigger thresholds. One triac will inevitably hog the majority of the current, overheat, and fail, shifting the entire burden to the second triac, which will then fail in a cascading thermal runaway. If you need 30A, buy a single 40A triac (like the BTA41-600B).






