Circuit 3D

Thyristor and triac

A thyristor, or SCR, is a semiconductor switch that turns on with a pulse on its gate and then stays on by itself until its current stops; a triac works the same way in both directions, so it can switch AC. Fired halfway into each half-cycle, at 90°, a triac sends a resistive load half its full power.

P ÷ Pfull = 1 − α ÷ π + sin 2α ÷ 2π

where α is the firing angle in radians, from 0 for full power to π for none.

That is how a light dimmer works.

What is a thyristor?

A thyristor is a four-layer semiconductor switch, P-N-P-N, that blocks current until a pulse on its gate turns it on, and then stays on without the gate.

The most common, the silicon-controlled rectifier or SCR, has three leads: anode, cathode and gate. Figure 1 steps through its whole cycle. Thyristors handle large currents and voltages cheaply, from a few amps in a dimmer to thousands in power grids.

12 V switch lamp gate SCR

Gate released: the SCR stays on. It has latched: its own current holds it on as long as that current stays above its holding current.

Figure 1. An SCR switching a 12 V lamp. Step through: off, a gate pulse, the gate released, then the current interrupted.

How does an SCR latch on?

An SCR behaves like a PNP and an NPN transistor wired so each feeds the other’s base: once a gate pulse starts one conducting, they keep each other on.

It stays on while its current is above its holding current, often a few milliamps for small parts. To turn it off, that current must stop, which on DC means breaking the circuit and on AC happens by itself every time the current passes through zero.

What is a triac?

A triac is a thyristor that conducts in both directions, like two SCRs back to back sharing one gate, so it can switch alternating current.

Its leads are MT1, MT2 and the gate, and a gate pulse of either polarity can fire it. An SCR on AC passes only one half-cycle; a triac passes both, as Figure 2 shows. Parts like the BT136, rated 4 A at 600 V, switch lamps, heaters and small motors.

two mains cycles, fired at 60° each half

Triac: it acts like two SCRs back to back with one gate, so it fires in both half-cycles, which suits AC loads such as lamps, heaters and motors.

Figure 2. The AC voltage across a resistive load, shaded where the thyristor conducts, when its gate fires 60° into each half-cycle.

How does a triac light dimmer work?

A light dimmer delays firing its triac each half-cycle: the later it fires, the less of the mains wave reaches the lamp, and the dimmer it glows.

This is phase control. In a simple dimmer a resistor-capacitor network and a diac, a trigger that breaks over at about 30 V, set the firing angle, adjusted by a knob. Figure 3 shows the power falling as the angle grows; the chopped wave is also why cheap dimmers can buzz and upset LED bulbs not made for them.

50% power two mains cycles

Fired at 90°: each half-cycle, the triac waits 90° before turning on, so P = 1 − 90° ÷ 180° + sin 180° ÷ 2π ≈ 50% of full power: half, since each half-cycle’s two halves carry equal energy.

Figure 3. A triac dimmer on a resistive load such as a heater: the later in each half-cycle it fires, the less power gets through.

What is the difference between a thyristor and a transistor?

A transistor can be turned on and off by its control signal at any moment; a thyristor can only be turned on, and turns off when its current stops.

That makes thyristors simple, rugged switches for AC, where the current stops by itself 100 or 120 times a second. For DC and fast switching, MOSFETs are the usual choice, since they switch off on command.

How do you control a triac safely?

To control a triac safely, drive its gate through an opto-triac such as a MOC3021, so the low-voltage side never touches mains, or use a ready-made solid-state relay module.

A zero-cross opto-triac such as the MOC3041 switches only near zero volts, which cuts interference for on-off loads. An RC snubber across the triac stops it firing falsely with motors. Mains can kill: work on it only if you are qualified, in an enclosure, with the power off.

How do you work out a dimmer’s power and firing delay?

To work out a dimmer’s power, put the firing angle into P ÷ Pfull = 1 − α ÷ 180° + sin 2α ÷ 2π, so 90° gives half. For the delay, divide the angle by 360° and multiply by the cycle time.

Example 1: a dimmer’s power

A triac dimmer fires a 100 W heater at 60° into each half-cycle. How much power does the heater get?

Given
a 100 W heater on a triac fired at 60°
Find
the power it gets
Solution
Share = 1 − 60 ÷ 180 + sin 120° ÷ 2π = 0.6667 + 0.1378 = 0.8045P = 0.8045 × 100 W = 80.4 W
Answer
80.4 W

Example 2: a firing delay

A microcontroller dims a lamp by firing a triac at 90° on 50 Hz mains. How long after each zero crossing should it pulse the gate?

Given
a firing angle of 90° on 50 Hz mains
Find
how long after each zero crossing to pulse the gate
Solution
One cycle is 1 ÷ 50 Hz = 20 ms, which is 360°t = 90° ÷ 360° × 20 ms = 5 ms
Answer
5 ms

Summary

Key equations

  • P ÷ Pfull = 1 − α ÷ π + sin 2α ÷ 2π phase control, resistive load
  • t = α ÷ 360° × 1 ÷ f firing delay

Key terms

Gate
The terminal that fires it.
Latching
Staying on with no gate signal.
Holding current
The least that keeps it on.
Firing angle
When in the half-cycle it fires.

Practice problems

  1. An SCR has been fired. What happens when the gate signal is removed?

  2. How does an SCR on DC turn off?

  3. Why does a triac suit AC loads?

  4. A triac dimmer fires a heater at 90°. What share of full power does it get?

  5. On 50 Hz mains, how long after each zero crossing is a 90° firing angle?

FAQ

Is a thyristor the same as an SCR?

An SCR is the most common thyristor, and the names are often used for each other. Triacs, diacs and GTOs are other members of the family.

Can a triac switch DC?

It can turn DC on, but not off: with no zero crossing, it stays latched until the current is broken some other way.

What is a diac?

A two-lead trigger that conducts both ways once its voltage passes about 30 V, giving a triac’s gate a sharp pulse in simple dimmers.

Why does my dimmer make LED bulbs flicker?

Phase-control dimmers chop the mains wave, and LED bulbs not rated as dimmable can’t follow it smoothly.

What is holding current?

The smallest current that keeps a fired thyristor on. Below it, the thyristor switches off.

Can I control a triac with an Arduino?

Yes, through an opto-triac or a solid-state relay, which keeps the Arduino isolated from mains. Never connect its pins to mains directly.

What does SCR stand for?

Silicon-controlled rectifier: a rectifier, conducting one way, whose turn-on is controlled by its gate.