| Introduction to Computer Control: Relays and Computer Controlled Switching
If you are new to the idea of computer controlled switching, then this introduction to relays and relay controllers will teach you all you need to know!
A relay is best defined as a switch that is operated by an electromagnet. A relay controller is a device that is used to control a bank of switches. A relay controller works by turning on and off magnetic coils under logic control. A computer controlled relay driver allows your computer to send simple commands to activate a switch or a group of switches.
Relays are ideally suited for controlling everything from lights and motors to telecommunication, audio, and video signals. Some relays can be used for switching radio frequency signals. Relays come in many sizes and ratings. There are literally tens of thousands of relay varieties on the market.
NCD relay controllers allow you to switch electrical equipment from a computer via RS232, USB, or Wireless communications. There are many advantages to using a computer controlled relay controller. When the controlling computer is connected to the internet, relays can be controlled from anywhere in the world.
Internet controlled relay switching allows a local computer or a remote computer to activate a relay. Wireless relays have one additional advantage: wireless sensors can be used to automatically activate a relay without computer intervention.
Relays typically have two or three connections: Common, Normally Open, and Normally Closed. The Common is the part of the relay that actually makes a mechanical movement. By default, many relays have their common (COM) lead connected to the normally closed lead (NC). When the electromagnet is energized, the COM disconnects from the NC and reconnects to the Normally Open lead (NO). When the relay is deactivated, the COM reconnects to the NC (see diagrams at right).
Relays often have two ratings: AC and DC. These rating indicate how much power can be switched through the relays. This does not necessarily tell you what the limits of the relay are. For instance, a 5 Amp relay rated at 125VAC can also switch 2.5 Amps at 250VAC. Similarly, a 5 Amp relay rated at 24VDC can switch 2.5 Amps at 48VDC, or even 10 Amps at 12VDC.
An easy way to determine the limit of a relay is to multiply the rated Volts times the rated Amps. This will give you the total watts a relay can switch. Every relay will have two ratings: AC and DC. You should determine the AC watts and the DC watts, and never exceed these ratings.
|
AC Volts x AC Amps = AC Watts |
DC Volts x DC Amps = DC Watts
|
|
Example: A 5 Amp Relay is Rated at 250 Volts AC. 5x250 = 1,250 AC Watts |
Example: A 5 Amp Relay is Rated at 24 Volts DC. 5x24 = 120 DC Watts |
|
If you are switching AC Devices, Make Sure the AC Watts of the Device you are Switching DOES NOT Exceed 1,250 when using a 5A Relay. |
If you are switching DC Devices, Make Sure the DC Watts of the Device you are Switching DOES NOT Exceed 120 when using a 5A Relay. |
Relays are often rated for switching resistive loads. Inductive loads can be very hard on the contacts of a relay. A resistive load is a device that stays electrically quiet when powered up, such as an incandescent light bulb. An inductive load typically has a violent startup voltage or amperage requirement, such as a motor or a transformer.
Inductive loads typically require 2-3 times the runtime voltage or amperage when power is first applied to the device. For instance, a motor rate at 5 Amps, 125 VAC will often require 10-15 amps just to get the shaft of the motor in motion. Once in motion, the the motor may consume no more than 5 amps. When driving these types of loads, choose a relay that exceeds the initial requirement of the motor. In this case, a 20-30 Amp relay should be used for best relay life.
|
| Relays Come in Many Varieties, the most Common Relay Varieties Include: |
|
 |
SPST Single Pole Single Throw Relays simply connect two wires together. The COMMON is the moving part of the relay that comes in contact with the Normally Open when the coil to the relay is energized. This kind of relay is often available in a normally closed configuration if needed.. |
|
SPDT Single Pole Double Throw Relays have three connections. Common, Normally Open, and Normally Closed. When the relay is off, the common is connected to the normally closed connection of the relay. When the relay coil is energized, the Common swings over to the Normally Open Connection of the Relay. |
 |
|
 |
DPST Double Pole Single Throw Relays have two separate switches, activated by a single coil. By default, the Common connections are not connected to anything. When the relay coil is energized, both Common Arms move to the Normally Open Connections.
This kind of relay is often available in a normally closed configuration if needed. |
|
DPDT Double Pole Double Throw Relays have a single coil with two arms that move at the same time. There are two completely separate SPDT switch mechanisms inside a DPDT relay. DPDT relays are most commonly used for signal switching applications, but can be found in high power switching applications. |
 |
|