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:03, 30 November 2011 by Cora (talk | contribs) (→‎=)
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

The current drawn by your load when turned on affects how large of an SSR you need, and how hot it will be when it runs. If you know how much current, on average, your load draws, this is what we call Average Load Current. If you don't know the average current, but you know the wattage of your device, you can calculate Average Load Current by:

Average Load Current = Wattage / Operating Voltage

Next, we need to know the current drawn by your device when it is first turned on. Many devices demand a huge inrush of current, stressing electronics. If you've ever noticed the lights dimming in the house for a second when the furnace kicks in, this is the fan motor starting up. It's very difficult to measure the Surge Current itself, so we use a multiplier based on your device type. Surge Current may also be known as inrush current.

TABLE - surge current multiplier Incandescent Light Bulbs Fluorescent Light Fixtures Motors Transformers Heaters

Multiply your Average Load Current by the multiplier for your device type to calculate the Surge Current.

=

SSRs are designed to either turn on immediately (Random Turn On), or wait until the next 'alternation' of the voltage (Zero Crossing).

Zero Crossing emits less than electromagnetic energy when the load is turned on Zero Crossing might cost more money.

Zero Crossing is also known as Synchronous Random Turn on is also known as Non-Synchronous

However, inductive loads such as motors and transformers can saturate during the first half cycle after turn on and produce maximum interference when switched on as line voltage passes through zero. Zero-voltage switches should not be used.

Can we find some capacitive loads? These seem to be better for Zero Crossing.


TABLE - specify inductive / resistive Incandescent Light Bulbs Fluorescent Light Fixtures Motors Transformers Heaters


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