Solid State Relay or Solid State Switch
Solid State Relay or Solid State Switch
Unlike electro-mechanical relays (EMR) which use coils, magnetic elds, springs and mechanical
contacts to operate and switch a supply, the solid state relay, or SSR, has no moving parts but
instead uses the electrical and optical properties of solid state semiconductors to perform its input
to output isolation and switching functions.
Just like a normal electro-mechanical relay, SSR’s provide complete electrical isolation between
their input and output contacts with its output acting like a conventional electrical switch in that it
has very high, almost in nite resistance when nonconducting (open), and a very low resistance
when conducting (closed). Solid state relays can be designed to switch both AC or DC currents by
using an SCR, TRIAC, or switching transistor output instead of the usual mechanical normally-open
(NO) contacts.
While the solid state relay and electro-mechanical relay are fundamentally similar in that their low
voltage input is electrically isolated from the output that switches and controls a load, electro-
mechanical relays have a limited contact life cycle, can take up a lot of room and have slower switch
speeds, especially large power relays and contactors. Solid state relays have no such limitations.
Thus the main advantages solid state relays have over conventional
electro-mechanical relays is that they have no moving parts to wear
out, and therefore no contact bounce issues, are able to switch both
“ON” and “OFF” much faster than a mechanical relays armature can
move, as well as zero voltage turn-on and zero current turn-off
eliminating electrical noise and transients.
Similar to an electro-mechanical relay, a small input voltage, typically 3 to 32 volts DC, can be used
to control a much large output voltage, or current. For example 240V, 10Amps. This makes them
ideal for microcontroller, PIC and Arduino interfacing as a low-current, 5-volt signal from say a
micro-controller or logic gate can be used to control a particular circuit load, and this is achieved
with the use of opto-isolators.
The LED light source is connected to the SSR’s input drive section and provides optical coupling
through a gap to an adjacent photo sensitive transistor, darlington pair or triac. When a current
passes through the LED, it illuminates and its light is focused across the gap to a photo-
transistor/photo-triac.
Thus the output of an opto-coupled SSR is turned “ON” by energising this LED, usually with low-
voltage signal. As the only connection between the input and output is a beam of light, high voltage
isolation (usually several thousand volts) is achieved by means of this internal opto-isolation.
Not only does the opto-isolator provide a higher degree of input/output isolation, it can also
transmit dc and low-frequency signals. Also, the LED and photo-sensitive device could be totally
separate from each other and optically coupled by means of an optical bre.
The input circuitry of an SSR may consist of just a single current limiting resistor in series with the
LED of the opto-isolator, or of a more complex circuit with recti cation, current regulation, reverse
polarity protection, ltering, etc.
To activate or turn “ON” a sold state relay into conduction, a voltage greater than its minimum
value (usually 3 volts DC) must be applied to its input terminals (equivalent to the electro-
mechanical relay coil). This DC signal may be derived from a mechanical switch, a logic gate or
micro-controller, as shown.
When using mechanical contacts, switches, push-buttons, other relay contacts, etc, as the
activating signal, the supply voltage used can be equal to the SSR’s minimum input voltage value,
whereas when using solid state devices such as transistors, gates and micro-controllers, the
minimum supply voltage needs to be one or two volts above the SSR’s turn-on voltage to account
for the switching devices internal voltage drop.
But as well as using a DC voltage, either sinking or sourcing, to switch the solid state relay into
conduction, we can also use a sinusoidal waveform as well by adding a bridge recti er for full-wave
recti cation and a lter circuit to the DC input as shown.
To overcome this erratic ring of the output, we can smooth out the recti ed ripples by using a
smoothing capacitor, (C1) on the output of the bridge recti er. The charging and discharging effect
of the capacitor will raise the the DC component of the recti ed signal above the maximum turn-on
voltage value of the solid state relays input. Then even though a constantly changing sinusoidal
voltage waveform is used, the input of the SSR see’s a constant DC voltage.
The values of the voltage dropping resistor, R1 and the smoothing capacitor, C1 are chosen to suit
the supply voltage, 120 volts AC or 240 volts AC as well as the input impedance of the solid state
relay. But something around 40kΩ and 10uF would do.
Then with this bridge recti er and smoothing capacitor circuit added, a standard DC solid state
relay can be controlled using either an AC or non-polarised DC supply. Of course, manufacturers
produce and sell AC input solid state relays (usually 90 to 280 volts AC) already.
For most DC SSR’s the solid state switching device commonly used are power transistors,
Darlington’s and MOSFETs, whereas for an AC SSR, the switching device is either a triac or back-
to-back thyristors. Thyristors are preferred due to their high voltage and current capabilities. A
single thyristor can also be used within a bridge recti er circuit as shown.
One of the biggest advantages of solid state relays over an electromechanical relay is its ability to
switch “OFF” AC loads at the point of zero load current, thereby completely eliminating the arcing,
electrical noise and contact bounce associated with conventional mechanical relays and inductive
loads.
This is because AC switching solid state relays use SCR’s and TRIAC’s as their output switching
device which continues conducting, once the input signal is removed, until the AC current owing
through the device falls below its threshold or holding current value. Then the output of an SSR can
never switch OFF in the middle of a sine wave peak.
Zero current turn-off is a major advantage for using a solid state relay as it reduces electrical noise
and the back-emf associated with the switching of inductive loads as seen as arcing by the contacts
of an electro-mechanical relay. Consider the output waveform diagram below of a typical AC solid
state relay.
As the supply voltage increases in either a positive or negative direction, it reaches the minimum
value required to turn the output thyristors or triac fully ON (usually less than about 15 volts). The
voltage drop across the SSR’s output terminals is that of the switching devices on-state voltage
drop, VT (usually less than 2 volts). Thus any high inrush currents associated with reactive or lamp
loads are greatly reduced.
When the DC input voltage signal is removed, the output does not suddenly turn-off as once
triggered into conduction, the thyristor or triac used as the switching device stays ON for the
remainder of the half cycle until the load currents drops below the devices holding current, at
which point it switches OFF. Thus the high dv/dt back emf’s associated with switching inductive
loads in the middle of a sine wave is greatly reduced.
Then the main advantages of the AC solid state relay over the electro-mechanical relay are its zero
crossing function which turns ON the SSR when the AC load voltage is close to zero volts, thus
suppressing any high inrush currents as the load current will always start from a point close to 0V,
and the inherent zero current turn-off characteristic of the thyristor or triac. Therefore there is a
maximum possible turn-off delay (between the removal of the input signal and the removal of load
current) of one half cycle.
While this allows for the phase control of the load waveform, the main problem random turn-on
SSR’s is that the initial load surge current at the instant the relay turns-on, may be high due to the
SSR switching power when the supply voltage is close to its peak value (90o). When the input signal
is removed, it stops conducting when the load current falls below the thyristors or triacs holding
current as shown. Obviously for a DC SSR, the ON-OFF switching action is instant.
The solid state relay is ideal for a wide range of ON/OFF switching applications as they have no
moving parts or contacts unlike an electro-mechanical relay (EMR). There are many different
commercial types to choose from for both AC and DC input control signals as well as AC and DC
output switching as they employ semiconductor switching elements, such as thyristors, triacs and
transistors.
But by using a combination of a good opto-isolator and a triac, we can make our own inexpensive
and simple solid state relay to control an AC load such as a heater, lamp or solenoid. As an opto-
isolator only needs a small amount of input/control power to operate, the control signal could be
from a PIC, Arduino, Raspberry PI, or any other such micro-controller.
The LED needs about 10mA to shine reasonably brightly up to its maximum value of 50mA.
However the digital output port of the micro-controller can only supply a maximum of 30mA. Then
the value of current required lies somewhere between 10 and 30 milli-amperes. Therefore:
Thus a series current limiting resistor with a value between 126 and 380Ω’s can be used. As the
digital output port always switches +5 volts and to reduce the power dissipation through the opto-
couplers LED, we will choose a preferred resistive value of 240Ω’s. This gives an LED forward
current of less than 16mA. In this example, any preferred resistor value between 150Ω and 330Ω’s
would do.
The heating element load is 600 watts resistive. Using a 120V AC supply would give us a load
current of 5 amperes (I = P/V). As we want to control this load current in both half cycles (all 4
quadrants) of the AC waveform, we would require a mains switching triac.
The BTA06 is a 6 amps (IT(RMS)) 600 volt triac suitable for general purpose ON/OFF switching of AC
loads, but any similar 6 to 8 amp rated triac would do. Also this switching triac requires only 50mA
of gate drive to start conduction which is far less than the 1 amp maximum rating of the MOC 3020
opto-isolator.
Consider that the output triac of the opto-isolator has switched ON at the peak value (90o) of the
120VRMS AC supply voltage. This peak voltage has a value of: 120 x 1.414 = 170Vpk. If the opto-
triacs maximum current (ITSM) is 1 ampere peak, then the minimum value of series resistance
require is 170/1 = 170Ω’s, or 180Ω’s to the nearest preferred value. This value of 180Ω’s will
protect the opto-coupler output triac, as well as the gate of the BTA06 triac on a 120VAC supply.
If the triac of the opto-isolator switches ON at the zero crossover value (0o) of the 120VRMS AC
supply voltage, then the minimum voltage required to supply the required 50mA gate drive current
forcing the switching triac into conduction will be: 180Ω x 50mA = 9.0 volts. Then the triac res
into conduction when the sinusoidal Gate-to-MT1 voltage is greater than 9 volts.
Thus the minimum voltage required after the zero crossover point of the AC waveform would be 9
volts peak with the power dissipation in this series gate resistor being very small so a 180Ω, 0.5
watt rated resistor could safely be used. Consider the circuit below.
This type of optocoupler con guration forms the basis of a very simple solid state relay application
which can be used to control any AC mains powered load such as lamps and motors. Here we have
used the MOC 3020 which is a random switching isolator. The MOC 3041 opto-triac isolator has
the same characteristics but with built-in zero-crossing detection allowing the load to receive full
power without the heavy inrush currents when switching inductive loads.
Diode D1 prevents damage due to reverse connection of the input voltage, while the 56 ohm
resistor (R3) shunts any di/dt currents when the triac is OFF eliminating false triggering. It also ties
the gate terminal to MT1 ensuring the triac turns-off fully.
If used with a pulse width modulated, PWM input signal, the ON/OFF switching frequency should
be set to less than 10Hz maximum for an AC load otherwise the output switching of this solid state
relay circuit may not be able to keep up.
92 Comments
Your Name