Home Blog Blog Details

Comparison of Solenoid and Relay: What's the Difference?

June 06 2024
Ersa

In this blog, we will dive deep into the functionalities, applications, and comparisons between solenoids and relays, empowering you to understand their unique roles.

What is a Solenoid?

Solenoid

A Solenoid is an electromechanical device that converts electrical energy into linear mechanical motion. It is made out of a wire coil encircling a ferrous (containing iron) core. A plunger or metal rod inside the core is drawn when an electric current flows through the coil, creating a magnetic field. Numerous mechanical operations can be carried out using this linear movement.

 

What Does a Solenoid Do?

A solenoid's main job is to transform electrical signals into mechanical force. There are numerous applications for this force, such as:

Linear actuation: A straight line can be drawn or pushed by using solenoids. Applications such as pinball machines, door locks, and valves frequently use this.

Engine starting: To engage the flywheel with the engine and crank it to start combustion, starter motors in cars use solenoids.

Fuel injection: In contemporary fuel injection systems, solenoid valves control fuel flow. 

 

What is a Relay?

 Relay

A Relay is another electromechanical device, but it functions differently from a solenoid. A relay regulates a group of electrical contacts with the help of an electromagnet. By creating a magnetic field that opens or shuts these contacts, the relay coil functions as a remote-controlled switch when current passes through it.

 

What Does a Relay Do?

The primary function of relays is to turn on and off electrical circuits in response to a low-current control signal. The following are some important applications:

Circuit isolation: Relays increase safety and lessen wear on control switches by enabling low-power control circuits to activate high-power circuits without a direct connection.

Logic control: Relays are a useful tool for building straightforward logic circuits that carry out fundamental control operations depending on input signals.

Signal amplification: The relay can be triggered by a tiny control current, which will switch a much bigger current in a different circuit. 

 

Video related to Solenoid vs Relay

 

Solenoid vs Relay

Relays and solenoids are both electromechanical devices, however,  they have quite different fundamental functions. Below is a summary of the main differences:

Output: Relays regulate the flow of electricity by opening or closing contacts, whereas solenoids offer linear mechanical action.

Current handling: Relays are more suited for control circuits with lower currents than solenoids, which are usually made to handle larger currents.

Complexity: Relays can feature several sets of contacts and more intricate switching configurations than solenoids, which have a comparatively simpler construction.

 

Here's a table summarizing the key distinctions:

Feature

Solenoid

Relay

Function

Generates linear mechanical motion

Acts as an electrically controlled switch

Output

Plunger movement

Opens or closes contacts in a separate circuit

Current Handling

High current capacity

Controls high currents with low-power signal

Applications

Door locks, car starters, valves, fuel injectors

Circuit isolation, current amplification, logic control

Working with solenoids and relays often means reading real-world voltages and currents safely and accurately. If you need to turn those analog signals into usable digital data for firmware or logging, start with our analog-to-digital converter hub (sampling, ENOB, interfaces).

 

How Does a Solenoid Work?

A solenoid's operating concept is quite simple to understand:

Electrical current: A magnetic field is created around the center of the coil when electricity passes through it.

Magnetic force: The plunger, which is made of ferromagnetic material and is placed inside the core, is subject to this magnetic field's force.

Linear movement: The force attracts the plunger, causing it to be pulled into the coil.

Spring action (optional): In some solenoids, a spring opposes the magnetic pull. When the current is turned off, the spring pushes the plunger back to its original position.

 

How Does a Relay Work?

Relays function according to the following principles:

Control circuit: The relay coil receives an application of low current.

Magnetic field generation: The coil's internal magnetic field is produced by the current.

Contact movement: An armature, or lever, that holds the electrical connections is drawn to the magnetic field.

Contact switching: Depending on the relay's design (normally open or normally closed), the armature's movement opens or shuts the contacts.

High-current circuit control: Whether the high-power circuit is connected or unplugged depends on the status of the contacts (open or closed). 

 

How to Test a Solenoid?

Checking for power and free movement of the plunger are two aspects of testing a solenoid. This is a fundamental method:

Visual inspection: Inspect the wire or the solenoid housing for any visible physical damage.

Power check: While the solenoid is being turned on by a switch or control circuit, use a multimeter to measure the voltage at its terminals. 

After basic multimeter checks, the next step in many projects is continuous sampling and digital processing. Learn how to size the front end, reference, and sample rate in How an ADC works & the complete ADC guide .

 

How to Test a Relay with a Multimeter?

It is necessary to confirm the coil resistance and make sure the contacts switch correctly before testing a relay. This is how a multimeter is used:

Identify terminals: Find the contact terminals (common, normally open [NO], normally closed [NC]), and the coil terminals (typically labeled with numbers like 85 and 86). The datasheet for the relay will include exact terminal designations.

Coil resistance: To measure the resistance between the coil terminals, set the multimeter to the ohms mode. The reading ought to fall between a few ohms and a few hundred ohms, which is the range specified by the manufacturer. A malfunctioning coil is indicated by an open circuit (infinite resistance) or a very low value (near zero).

Contact continuity: Select the continuity mode on the multimeter. Touch one probe to the common (COM) terminal and the other to the normally closed (NC) terminal when the relay is deactivated. Beeping on the meter indicates continuity. Connect voltage to the coil terminals of the relay to turn it on now. The continuity check between COM and NO should now beep to indicate that the switching was successful, and the beep should stop.

 

How to Tell if Solenoid is Bad?

A failed solenoid may exhibit several symptoms:

No movement: When the plunger is activated, it either stays still or becomes sluggish.

Burning smell: A jammed plunger or an excessive current draw may be the source of the solenoid's overheating and burning smell.

Clicking but no movement: When turned on, the solenoid clicks but does not initiate the desired mechanical movement. This might be the result of a mechanical problem with the plunger or a weak magnetic field brought on by a malfunctioning coil. 

 

How to Tell if a Relay is Bad?

There are a few ways to identify a faulty relay:

No switching: Even in the presence of a control signal, the relay does not turn the circuit on or off. This could be the result of an armature mechanical problem, a burned-out coil, or damaged connections.

Chattering: Unpredictable circuit behavior results from the relay's fast on/off switching of the contacts. Weakened connections or a loose armature could be the cause of this.

Stuck contacts: Regardless of the control signal, the contacts become locked in either the open or closed position. This frequently happens as a result of arcing or high-current welding contacts together. 

 

Can Solenoid be Repaired?

A solenoid's capacity to be repaired is based on the degree of the damage. Sometimes it's possible to fix a minor wiring problem or clean a jammed plunger. Replace the entire solenoid, however, as it is usually more economical for more serious issues like a burned-out coil or a damaged core.

 

Can Relay be Repaired?

Relays, like solenoids, may have limited repair options. Certain situations may allow for the replacement of a loose spring or the cleaning of burned contacts. On the other hand, a full relay replacement is typically advised in the event of a malfunctioning coil, damaged armature, or worn-out contacts.

 

Where Solenoid is Used?

Because solenoids can translate electrical information into linear motion, they are used in many different sectors. These are a few typical examples:

Automotive: Fuel injection systems, transmission control solenoids, door locks, and starter motors

Industrial automation: Robotic arms, material handling systems, and valve actuation

Appliance control: Controls for appliances include thermostats, refrigerator ice dispensers, and washing machine water valves

Medical equipment: Medical supplies include medicine delivery pumps, dental chairs, and blood pressure monitors

Related: From signals to software

Need to digitize sensor voltages, debounce contact signals, or stream data into an MCU/SoC? See our end-to-end overview of sampling, ENOB, anti-aliasing, and interfaces in the Analog-to-Digital Converter (ADC) Hub .

 

Where is Relay Used?

Relays are essential for managing electrical circuits in a variety of applications. Among the well-known instances are:

Automotive: Anti-lock braking systems (ABS), turn signal systems, horn activation, and headlight control

Building automation: Thermostats, irrigation systems, security systems, and lighting

Industrial control: Process control systems, conveyor belt operation, motor starters, and other industrial controls

Electronic devices: speaker selection in audio systems, overload protection, and timer circuits 

 

Conclusion

Solenoids and relays are both electromechanical devices, however, they serve different purposes. For appropriate selection and use, it is essential to comprehend the fundamental distinctions between electrical switching and linear movement. You may use relays and solenoids more efficiently in your electrical projects if you understand their distinct advantages.

 

FAQs

What are the two main uses of solenoids?

There are two main ways solenoids are used:

Linear movement: They can exert pushing or pulling force using electrical energy. They are therefore perfect for turning on valves that regulate air pressure or fluid flow.

Electromagnetic actuation: This method of controlling the motion of a metal object works similarly to an electromagnet. Applications such as switches and door locks can benefit from this.

 

What is a relay used for?

Relays function similarly to electrically operated switches. To turn on or off a much bigger electrical current, it employs a smaller electrical current. This makes them useful for the following two purposes:

Controlling high power with low power: A little control circuit can activate a relay, turning on a large machine. This shields sensitive electronics from direct exposure to high currents.

Isolation: Relays serve as an isolation device between the high-power circuit and the control circuit. By doing this, electrical noise or problems with one circuit won't impact the other. 

 

Are a solenoid and relay the same?

Although relays and solenoids are both electro-mechanical devices, their purposes differ significantly:

Solenoid: Transforms electrical energy into linear motion for mechanical applications, such as pushing or pulling. It has direct control over tangible items like locks and valves.

Relay: Serves as a switch that is electrically operated. It regulates a different circuit with a far higher current using a tiny amount of current. Movement is not directly caused by it. 

 

Ersa

Ava is a embedded microcontroller engineer. She is familiar with the PCB design, circuit design, and microcontroller programming. She is passionate about knowing some cut-edge technology and writing some technical articles related to MCU, FPGA, DSP, CPLD, and so on.