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
SSR.jpg 3052.jpg

Introduction

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

They perform the same job as Mechanical Relays, but have the following advantages:

  • SSRs produce less electromagnetic interference during operation, as opposed to mechanical relays, where internal contacts spark when switching.
  • 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. Properly used, they will last for millions of cycles.
  • SSRs turn on and off faster than mechanical relays (≈1ms compared to ≈10ms).
  • SSRs are less susceptible to 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.

SSRs 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 control inputs are connected internally to an LED, which shines across an air gap to light sensors. The pairing of an LED with light sensors is called an optocoupler, and is a common technique to link two parts of a circuit without direct connection. The light sensor is connected to the transistors which open or close, supplying the relay's load with power.

Basic Use

  • 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

I need to switch AC

Most AC applications will be switching 110 to 240 Volt power coming from the grid. If that's you, [Mains Voltage (110 to 240V AC)]

We also cover low voltage AC applications - 28 VAC or less. [AC/DC SSRs]

I need to switch DC

If you don't need to switch a lot of current - 9 Amps or less, consider our cost effective (and small!) #AC/DC SSRs.

At more than 9 Amps, you need a serious [DC SSR]


Mains Voltage (110 to 240V AC)

  • Mains Voltage SSRs cannot switch DC. They will never turn off.
  • The Mains Voltage SSRs we sell are in the hockey puck physical form factor.
  • Typically, they turn the load on/off. There are dimming SSRs available - link to separate section. We don't actually sell these.
  • You will need to figure out how much current your application requires.
  • What's the maximum size of wire that can connect? How can I connect a bigger wire?
  • If you need to control your application's power gradually rather than a simple on/off, you need to use a #Proportional Control.
  • Your AC SSR from Phidgets includes a MOV (Metal oxide varistor) you should install across the terminals to protect the SSR from surges. Picture needed here.
  • AC SSRs will take 1-2% of the power.
  • To increase reliability, Phidgets sells AC relays rated to 240 volts as 120 volt SSRs. Our 240 volt relays are actually 380 volt relays. If you must operate the SSR at it's full rated voltage specification, please do not use the included MOV. (Talk about why we have derated the relays)
  • Talk about selecting SSRs based on the system voltage.
  • Talk about how to calculate the current based on wattage rating of your load
  • Talk about selecting SSRs based on the rated current of your load
    • Talk about recommended multipliers based on the type of load to avoid stressing the SSR.
  • 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.
  • Types of loads - incandescent bulbs, flourescent light fixtures, motors, transformers, heaters
  • how to classify a load as inductive/resistive?
  • Based on your knowledge of your application, do you need a heat sink?
  • 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.
  • How to tell if SSR is "too hot"?
  • causes of excess heat- too much current or too little heatsinking
  • Why do AC SSRs leak current? What is a snubber? What effect does this have on efficiency?
  • Describe what is a transient?
  • 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.
  • What do they do/When are they needed?
  • SSRs must be protected from transients (homeless/gypsies/hippies) to achieve their promise of long life, happiness and liberty.
  • Choosing a size of wire
  • What happens when an AC SSR fails? Usually it turns on permanently - make sure this doesn't cause a safety hazard. For instance, Sauna Heaters have a simple mechanical thermal shutdown to protect if control electronics fails.
  • What happens when an MOV fails?
  • Show diagram of switching 240V 1-ph load, and 240V split phase (like your stove)
  • Why do AC SSRs have a minimum current rating?

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.
  • why can't it switch DC?
  • why do they have a minimum current rating?
  • Why 240 sold as 120?


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.


Proportional Control

Proportional Control Relays (often simply called "Control Relays") are SSRs that can gradually open or close proportional to the amount of power provided to the input, rather than simply being completely open or completely closed.


Metal Oxide Varistors (MOVs)

  • How to connect an MOV

DC SSRs

  • We sell DC SSRs in the Hockey Puck form factor - great for putting on heat sinks.
  • Needs to be protected with a Diode across the load. Your SSR bought from Phidgets includes a diode.
  • Doubling the current through a DC SSR will quadruple the heat generated. They are very efficient at smaller currents.
  • important specification is the resistance - this and current set how much heat is generated.
  • Steal a bunch of information from AC SSR heat sinking / power dissipation.
  • Link to section about choosing wire thickness.
  • Show a picture of a simple load with the diode attached.
  • Describe transients in the context of DC switching.
  • Make sure it's clear which way the diode is attached.
  • What happens if you switch AC with a DC SSR?

Direct Current (DC)

Schematic of an DC SSR switching a generic load.
  • Why can't it switch AC?
  • comes with diode to protect load (diagram)


AC/DC SSRs

  • To switch low voltage, low current applications in either AC or DC, a small #Versatile (AC/DC) would be ideal.
  • Can switch AC (up to 28VAC) or DC (up to 40 VDC).
  • Doesn't need to be protected with a diode or MOV.
  • Switches up to 9 Amps.
  • Effectively is two DC SSRs built back to back, so it can block AC in either direction. This is not as cost effective for switching AC, but it's able to switch lower voltage AC.

Versatile (AC/DC)

Schematic of a versatile SSR switching a generic load.
  • how is it able to switch both AC and DC?



Selecting a heatsink

Using heatsinks with Hockey Puck SSRs

  • How do I tell if an SSR is too hot
  • Bolting the Hockey Puck SSR to the heatsink using the thermal pad and included screws.
  • SSRs will only achieve their promise of reliability and long life if they are kept cool.
  • Overtemperature is usually related to too much current and too little heatsinking. A lot of heat can also be generated by turning the relay on and off rapidly.
  • If your relay is being operated for brief periods of time, you may not need as large of a heatsink. Unless space is a concern, it's better to err on the side of caution.


Choosing a size of wire