Alert.png

Notice: This page contains information for the legacy Phidget21 Library.

Phidget21 is out of support. Bugfixes may be considered on a case by case basis.

Phidget21 does not support VINT Phidgets, or new USB Phidgets released after 2020. We maintain a selection of legacy devices for sale that are supported in Phidget21.

We recommend that new projects be developed against the Phidget22 Library.


Click on the 2phidget22.jpg button in the menu bar to go to the Phidget22 version of this page.

Alert.png

Solid State Relay Primer

From Phidgets Legacy Support
Revision as of 22:10, 28 November 2011 by Mparadis (talk | contribs)
SSR.jpg 3052.jpg

Introduction

Solid state relays (SSRs) are devices that can be used to turn on or turn off the power being supplied to other devices without the need of a physical switch. With relays, it is possible to control high-current devices with low-current signals, like a standard DC signal from a Digital Output.

Functionally, they are the same as Mechanical Relays, but have the following advantages:

  • SSRs produce less electromagnetic interference during operation, as opposed to mechanical relays whose internal contacts tend to spark when switching.
  • While the switch contacts of a mechanical relay will eventually wear down from sparking, an SSR will have a longer life because its internals are purely digital.
  • SSRs exhibit faster response times than mechanical relays (≈1ms compared to ≈10ms).
  • SSRs are less susceptible to electric shock and physical vibrations than mechanical relays.
  • Since the switch inside an SSR isn't a mechanical switch, it does not suffer from contact bounce, and operates silently.

Of course, since SSRs are more complex, they are more expensive to produce and will dissipate more energy in the form of heat (1-2% of the energy intended to power the load).

How it Works

The two inputs are connected internally to an optocoupler. An optocoupler is a circuit component that uses an LED and a light sensitive element to link two parts of a circuit without directly connecting them electrically. The light sensor is connected to the transistors which open and close the path that supplies the relay's load with power.

Basic Use

  • talk about basic (and not-so-basic?) uses of relays (switching, dimming?, motor control?)
  • talk about switching high power (>20W)
  • talk about high-frequency switching (and other max specs)
  • list other challenges and solutuons
  • Safety related stuff:

Since relays can switch high currents and voltages, they can be potentially quite hazardous. Make sure you never touch the terminals while the relay is powered, and use the plastic cover if the relay came with one. Even when the relay is open, there will still be a small amount of leakage current (≈1-10mA) running through the load.

Also ensure the terminal screws are tightened properly, as loose screws could cause excess heat to be generated.

Choosing an SSR

There many factors to consider when choosing an SSR, and you need to know what kind your application needs before deciding on one.

Current Type

Some SSRs are designed to switch AC current, some switch DC current, and others can switch both.

Large "Hockey Puck" type SSRs are usually built for large loads and are often AC or DC specific.

Small, versatile ones that can switch either current are designed for lower current and voltage.

Make sure you check your SSR's data sheet to ensure that it can switch the type of current your load is using.

Application Load

Be sure to choose an SSR that can handle the current and voltage requirements of the load you're switching. This is often more complicated than making sure the rated currents and voltages match, since some devices can have quick surges of current on startup. As a general rule, make sure the SSR can handle the maximum surge value of your application, not just the usual operating current.


  • Talk about transformers
  • talk about lamps
  • talk about heaters

Heat Sinks

Check your SSR's data sheet to get an idea of the amount of heat it will be generating based on your application's load. If the SSR cannot be mounted on a surface that is suitable for conducting away the heat, you should use a heatsink.

Noise Protection

Some AC relays will typically have built-in noise protection in the form of a "snubber". A snubber is a simple RC circuit that will absorb small transients and will protect against unintentional turn-on.

For large transients and highly inductive loads, additional protection is necessary. A simple way to do this is to add a Metal Oxide Varistor (MOV) across the load terminals.



Types of Solid State Relays

The main defining characteristic that separates Solid State Relays (SSRs) is the type of current they can switch. If you want to read about Mechanical Relays instead, you can visit the

Alternating Current (AC)

Schematic of an AC SSR switching a generic load. A metal oxide varistor is added across the load to protect the SSR.
  • show diagram of AC SSR
  • mention zero-cross / random


Zero-cross Turn-on vs. Random Turn-on

The above graphs depict the difference between zero-cross and random turn-on. The blue line represents the oscillating voltage of an AC load, and the shaded areas represent the sections when the relay is turned on and letting current pass through. As you can see, the random turn-on SSR immediately opens when activated, while the zero-cross turn-on SSR waits until the voltage crosses zero before opening.

AC SSRs are designed to either have have a zero-cross turn-on or a random turn-on characteristic. The type you should choose is determined by the nature of the load you're switching. If you're switching a DC load, you can ignore this section.

Zero-cross Turn-on

An SSR with this feature will only switch on when the proper voltage is applied to the input terminals and when the output voltage is near zero. This is ideal for applications with resistive loads or systems that want to avoid sharp voltage changes.

The relay will turn off when the input voltage is close to zero and the load current is near zero.

Random Turn-on

An SSR with this feature will immediately switch on when the proper voltage is applied to the input terminals, regardless of what voltage the output terminals are at. This is ideal for applications with inductive loads, since using a zero-cross turn-on SSR with an inductive load could cause the relay to stay on indefinitely.

The relay will turn off when the input voltage is close to zero and the load current is near zero.


Direct Current (DC)

Schematic of an DC SSR switching a generic load.
  • show diagram of DC SSR
  • mention zero-cross / random (only use random)


Versatile (AC/DC)

Schematic of a versatile SSR switching a generic load.
  • show diagram of AC/DC SSR
  • mention zero-cross / random


Proportional Control Relay

Conclusion

  • reiterate introduction, quickly review important features and differences of various SSRs

How to Buy

  • table of SSRs categorized with product links