Solid State Relay
Solid State Relays are semiconductor equivalents of the electromechanical relay and can be used to control electrical loads without the use of moving partsJust 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 infinite 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.
Solid state relays can be bought in standard off-the-shelf packages ranging from just a few volts or amperes to many hundreds of volts and amperes of output switching capability. However, solid state relays with very high current ratings (150A plus) are still too expensive to buy due to their power semiconductor and heat sinking requirements, and as such, cheaper electro-mechanical contactors are still used.
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.
Solid State Relay Input
One of the main components of a solid state relay (SSR) is an opto-isolator (also called an optocoupler) which contains one (or more) infra-red light-emitting diode, or LED light source, and a photo sensitive device within a single case. The opto-isolator isolates the input from the output.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 fibre.
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 rectification, current regulation, reverse polarity protection, filtering, 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.
Solid State Relay DC Input Circuit
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 rectifier for full-wave rectification and a filter circuit to the DC input as shown.
Solid State Relay AC Input Circuit
To overcome this erratic firing of the output, we can smooth out the rectified ripples by using a smoothing capacitor, (C1) on the output of the bridge rectifier. The charging and discharging effect of the capacitor will raise the the DC component of the rectified 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 rectifier 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.
Solid State Relay Output
The output switching capabilities of a solid state relay can be either AC or DC similar to its input voltage requirements. The output circuit of most standard solid state relays are configured to perform only one type of switching action giving the equivalent of a normally-open, single-pole, single-throw (SPST-NO) operation of an electro-mechanical relay.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 rectifier circuit as shown.
Solid State Relay Output Circuit
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 flowing 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.
Solid State Relay Output Waveform
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.
Phase Dimming Solid State Relay
While solid state relays can perform straight forward zero-crossing switching of a load, they can also perform much more complicated functions by means of digital logic circuits, microprocessors and memories. Another excellent application of a solid state relay is in lamp dimming applications, whether in the home or for a show or concert.Non-zero (instant-on) switching solid state relays turn-on immediately after the application of the input control signal as opposed to the zero crossing SSR above which waits until the next zero-crossing point of the AC sine-wave. This random-fire switching is used in resistive applications such as lamp dimming and applications that require the load only to be energised for a small portion of the AC cycle.
Random Switching Output Waveform
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.
Solid State Relay Example No1
Lets assume we want a micro-controller with a digital output port signal of only +5 volts to control a 120V AC, 600 watt heating element. For this we could use the MOC 3020 opto-triac isolator, but the internal triac can only pass a maximum current (ITSM) of 1 Amps peak at the peak of a 120V AC supply so an additional switching triac must also be used.First lets consider the input characteristics of the MOC 3020 opto-isolator (other opto-triacs are available). The opto-isolators datasheet tells us that the forward voltage, (VF) drop of the input light emitting diode is 1.2 volts and the maximum forward current, (IF) is 50mA.
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 fires 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.
AC Solid State Relay Circuit
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.