TRIAC (triac)
A bidirectional thyristor: a gate current fires it either way, and it stays on until its current falls below the holding current.
Group: Switches · Kind: {"kind":"triac"}
When to use it
Use it for AC phase control (lamp dimmers, soft starters, fan speed) and for switching AC loads in whole cycles (heaters). Use Thyristor for one direction only, and two antiparallel thyristors for large currents.
Pins
| Pin | Domain | Meaning |
|---|---|---|
mt2 |
electrical | Main terminal 2; positive current flows from mt2 to mt1 |
mt1 |
electrical | Main terminal 1; the gate is referred to it |
gate |
signal | Signal input read as the gate current into the gate, in amperes; its sign is the current's direction |
Common parameters
igt: Gate signal that fires it; read as the gate current, so a logic 1 fires it too (Default: 50m)ih: Holding current: below it the part turns off (Default: 50m)quadrants: Gate quadrants that fire it: 1234 for a standard part, 123 for a three-quadrant one (Default: 1234)vf: Voltage lost while it conducts (Default: 0.85)ron: Resistance when it is on (Default: 25m)
Parameters
| Key | Unit | Default | Typical range | Description |
|---|---|---|---|---|
ron |
Ω | 25m | Resistance when it is on | |
roff |
Ω | 120meg | Resistance when it is off | |
vf |
V | 0.85 | Voltage lost while it conducts | |
device |
— | optional (off) | Device name used to look up losses | |
thermal |
— | optional (off) | Where the lost heat goes | |
eon |
J | 0 | Energy lost each time it turns on | |
eoff |
J | 0 | Energy lost each time it turns off | |
err |
J | 0 | Energy lost when the diode recovers | |
vref |
V | 0 | Voltage used to measure those energies | |
iref |
A | 0 | Current used to measure those energies | |
tc |
1/K | 0 | How on-resistance changes with heat | |
tj |
°C | 25 | Junction temperature for the loss tables | |
nParallel |
— | 1 | Identical devices this one switch stands for: the current is shared, the losses add up, each device keeps its own junction | |
tjMax |
°C | optional (off) | Highest junction temperature allowed; overrides the device's rating | |
ls |
H | 0 | 500p – 50n H | Unwanted inductance in series with it |
coss |
F | 0 | 10p – 5n F | Capacitance across the device |
cj |
F | 0 | 5p – 2n F | Extra capacitance across the junction |
tdon |
s | 0 | 1n – 500n s | Delay before it turns on |
tdoff |
s | 0 | 1n – 500n s | Delay before it turns off |
qrr |
C | 0 | 1n – 5u C | Charge released as the diode recovers |
trr |
s | 100n | 10n – 1u s | How long the diode takes to recover |
qrrTemp |
— | optional (off) | Junction temperature (°C) and factor pairs that scale qrr, from the datasheet's curve | |
part |
— | optional (off) | Part number; the catalogue part number, such as BSC070N10NS5, written on the schematic; information only, not simulated | |
vRating |
V | optional (off) | Voltage rating; the largest blocking voltage of the data sheet's maximum ratings (VDS, VCES, VRRM), written on the schematic; information only, not simulated | |
iRating |
A | optional (off) | Current rating; the continuous current of the data sheet's maximum ratings (ID, IC, IF), written on the schematic; information only, not simulated | |
igt |
A | 50m | Gate signal that fires it; read as the gate current, so a logic 1 fires it too | |
ih |
A | 50m | Holding current: below it the part turns off | |
quadrants |
— | 1234 | Gate quadrants that fire it: 1234 for a standard part, 123 for a three-quadrant one |
Parameter descriptions are in English in both languages.
Use for: Lamp dimmers · Soft starters · Fan speed control · Heater switching
Not for: One-direction phase control → thyristor · Breakover trigger devices → diac
Formulas
| Formula | Equation | Source |
|---|---|---|
| Load RMS voltage | Vo = Vs·√((π − α + sin(2α)/2)/π) | Rashid, Power Electronics, 4th ed. (2014), ch. 11 (AC voltage controllers, single-phase full-wave) |
| Load RMS current | Io = Vo/R | Rashid, Power Electronics, 4th ed. (2014), ch. 11 |
| Conduction loss | P = vf·(√2·Vs/(π·R))·(1 + cos α) + ron·Io² | IEC 60747-6:2016 (threshold voltage and on-state slope resistance) |
Quick check
Inputs:
vs: Supply RMS voltage = 230 Valpha: Firing angle in degrees = 90 —rload: Load resistance = 100 Ωvf: Threshold voltage = 850m V,vfron: Slope resistance = 25m Ω,ron
Outputs:
vrms: Load RMS voltage =vs*sqrt((pi - alpha*pi/180 + sin(alpha*pi/90)/2)/pi)Virms: Load RMS current =vrms/rloadAploss: Conduction loss =vf*sqrt(2)*vs/(pi*rload)*(1 + cos(alpha*pi/180)) + ron*irms^2W
Model logic
- The gate signal is read as a current: it fires when abs(gate) exceeds igt in an allowed quadrant and abs(v(mt2) - v(mt1)) exceeds vf.
- The quadrant comes from the signs of v(mt2) - v(mt1) and of the gate; quadrants 123 ignores a positive gate while mt2 is negative.
- It then conducts i = (v - vf)/ron or i = (v + vf)/ron and stays on until abs(i) falls below ih, or past it while the gate still fires it.
- Off is roff, 120 Mohm by default; latching current, turn-on time, dv/dt firing and commutating dv/dt are not modelled.
Model
The TRIAC fires when |gate| exceeds igt in a quadrant it allows: quadrant I is mt2 positive with a positive gate, II mt2 positive with a negative gate, III mt2 negative with a negative gate, IV mt2 negative with a positive gate. It must also have |v(mt2) - v(mt1)| above vf. It then conducts i = (v - vf) / ron forward or i = (v + vf) / ron backwards, and stays on, gate or not, until |i| falls below ih. While the gate still fires it, it stays on below ih. Blocking is through roff. The latching current, turn-on time and false firing by dv/dt are not modelled.
Common mistakes
- A three-quadrant part (quadrants = 123, the Snubberless and logic-level types) does not fire from a positive gate while mt2 is negative. A positive-only gate pulse then fires it in the positive half cycle only. Drive the gate negative, or with the sign of the line voltage.
- The gate is read in amperes. A logic signal of 1 fires a part with igt below 1, but a gate signal from a current meter must exceed igt, so put the meter in the gate branch of the trigger circuit. In quadrant IV the BTA16-600B needs twice the trigger current (100 mA), so set igt for the quadrant you use.
- With an inductive load the current lags, so the TRIAC turns off after the voltage zero and the voltage across it jumps at once. The data sheet's commutating limit, (dV/dt)c = 10 V/us at (dI/dt)c = 7 A/ms for the BTA16-600B, and its static dV/dt of 400 V/us are not checked: a real part may fire falsely or fail to turn off where the model does. Read v(mt2) - v(mt1) after turn-off and add an RC snubber if it rises faster.
Datasheet and sources
The defaults are the STMicroelectronics BTA16-600B (data sheet DS2114 Rev 11, May 2018). vf is VT0 = 0.85 V and ron is RD = 25 mOhm (Table 2, 125 C max). roff is VDRM / IDRM = 600 V / 5 uA (Table 2, 25 C). igt is IGT = 50 mA in quadrants I to III and ih is IH = 50 mA (Table 3, B version max). quadrants is 1234 because the B and C versions are four-quadrant parts (Table 3), while BW, CW and SW are three-quadrant parts (Table 4). For your part, take VT0 and RD from the on-state table, IGT for your quadrants and IH.
Example
Open the example with the command file.openExample and the name demo:triac.
Generated by cargo xtask reference from the usage texts and parameter specs. Do not edit by hand.