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 20:56, 30 November 2011 by 192.168.3.178 (talk)
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

Controlling an SSR is no more complicated than driving an LED. There are many ways of accomplishing this with Phidgets -

The ability of an SSR to switch a load is very similar to a relay or simple switch. In practice however, there is no one SSR perfect for all applications. To choose an SSR for your application, please follow #Choosing an SSR

Safety

Relays can switch high currents and voltages, and standard precautions apply. Make sure you never touch the terminals while the relay is powered, and if your SSR came with a plastic cover, use it. Even when the SSR is switched off, a very small amount of current will flow.

When an SSR fails, they most often fail permanently closed - leaving your load powered, and possibly creating a fire or safety hazard.

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 SSRs


Mains Voltage (110 to 240V AC)

Identify your voltage

We sell AC SSRs for 120 VAC or 240 VAC operation. Look for this on the SSR Product pages under the Maximum Load Voltage specification. If you are unsure what voltages you could be switching in the future, the 240 VAC relays can be used to switch 120 VAC. Please note we are very conservative in how we rate relays - our 120 VAC relays are rated by the manufacturer for 240 VAC, and the 240 VAC for 380 VAC - but we strongly recommend against using them to the manufacturer rated voltage. To understand why, read the #AC SSR Protection section.

Identify your current

1) estimate the current required by your load during normal operation. 1a) If you know the wattage, but not the current, calculate here. 1b) We call this average load current. 2) Classify the load you are switching according to how much it can surge when it's turned on.

  • Types of loads - incandescent bulbs, flourescent light fixtures, motors, transformers, heaters

2a) We call this surge current. 3) Classify the load you are switching according to inductive / resistive, and choose random turn on/zero crossing. 4) Create a short list of relays whose Maximum Load Voltage are >= your operating voltage, and Maximum Load Current are >= your surge current, and whose Turn On Type matches what you chose for random turn on/zero crossing. 5) If your average load current is greater than the Load With No Heatsink specification of the SSR, you have to choose a heatsink, or a SSR with a higher Load With No Heatsink specification. For picking a heatsink, please go to #Picking a heatsink


78) If you are running more than 15 Amps through your SSR, you'll want to check out #Hooking up wires to the Hockey Puck SSR section 81) Instead of simply turning the load on/off, do you want to dim it? SSRs that are able to reduce the average power to the load are called Proportional Control SSRs. Read about them here

Proportional Control SSR

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.

AC SSR Protection

Using the circular disc with legs (MOV) that came with your Phidget

  • 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.

If you must operate the SSR at it's full rated voltage specification, please do not use the included MOV.

  • 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.
  • What happens when an MOV fails?


Hooking up wires to the Hockey Puck SSR

  • What's the maximum size of wire that can connect? How can I connect a bigger wire?
  • Choosing a size of wire


Example circuits with AC SSRs

  • Show diagram of switching 240V 1-ph load, and 240V split phase (like your stove)
Schematic of an AC SSR switching a generic load. A metal oxide varistor is added across the load to protect the SSR.

Did you know?

Mains Voltage SSRs cannot switch DC. They will never turn off.

  • Why do AC SSRs leak current? What is a snubber? What effect does this have on efficiency?
  • 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.
  • Why do AC SSRs have a minimum current rating?
  • AC SSRs will take 1-2% of the power.

Home for potentially useless 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.


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.
  • These small SSRs can be used to isolate the digital input on a Phidget, protecting them from interference and harmful transients.
  • Link digital input sections

Versatile (AC/DC)

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



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.
  • Also ensure the terminal screws are tightened properly, as loose screws could cause excess heat to be generated.


  • 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

During the discussion of the generation of heat, we can introduce the hockey puck physical form factor, and how that is relevant to heat sinks.

Choosing a size of wire