How Do Relays Work in Electronic Circuits?


A relay is an electrically operated switching device used to control one circuit with another. Relays are widely used in industrial equipment, power supplies, control panels, automotive systems and many other electronic products.

The basic idea is simple: an electrical signal energizes a coil or other switching mechanism, which changes the state of one or more contacts. This allows a relatively low-power control circuit to operate a separate load.

Although the principle is straightforward, relays come in many different forms. Choosing one requires more than checking the coil voltage. Contact ratings, switching configuration, response time, isolation, mounting method and operating environment can all affect the suitability of a relay.

The Basic Working Principle of a Relay

A conventional electromechanical relay contains a coil, an iron core, a movable armature and electrical contacts.

When voltage is applied to the coil, current flows through the winding and creates a magnetic field. The magnetic field attracts the armature, causing the contacts to change position.

When the coil is de-energized, the magnetic force disappears and a spring or other mechanism returns the armature to its original position.

This simple operation allows the control side of the relay to be electrically separated from the circuit being switched.

For example, a control circuit operating at a relatively low voltage can use a relay to switch a higher-voltage load, provided that the relay's contact ratings and insulation specifications are suitable for the application.

Normally Open and Normally Closed Contacts

Relay contacts are commonly described as normally open or normally closed.

A normally open contact, often abbreviated NO, remains open when the relay coil is not energized. When the coil is energized, the contact closes and allows current to flow through the switched circuit.

A normally closed contact, abbreviated NC, behaves in the opposite way. It remains closed when the relay is not energized and opens when the relay operates.

Some relays provide both NO and NC contacts. This arrangement allows one relay to control different parts of a circuit depending on whether the coil is energized.

Understanding the contact configuration is essential when replacing a relay or designing a new control circuit.

Common Relay Configurations

Relay specifications often use terms such as SPST, SPDT, DPST and DPDT.

SPST means single-pole, single-throw. It provides a basic switching function and can be configured as normally open or normally closed.

SPDT means single-pole, double-throw. It has a common contact that switches between two outputs.

DPST and DPDT provide two switching poles and are useful when multiple circuits need to be controlled together.

The required configuration depends on how many circuits need to be switched and how the contacts must behave during operation.

Electromechanical Relays

Electromechanical relays are among the most widely recognized relay types.

They use a physical mechanism to move electrical contacts. One advantage is that the control circuit can be electrically isolated from the switched circuit.

They can also handle a wide range of loads depending on the contact design and rating.

However, because the contacts physically move, electromechanical relays have mechanical wear. They can also produce audible clicking during operation and generally switch more slowly than semiconductor-based alternatives.

For applications where switching occurs relatively infrequently and electrical isolation is important, electromechanical relays can be a practical solution.

Solid State Relays

Solid state relays use semiconductor devices instead of mechanical contacts.

Because there are no moving contacts, solid state relays do not have the same type of mechanical wear found in conventional relays. They can also provide fast switching and silent operation.

Their characteristics are different, however. Solid state relays can have an on-state voltage drop and generate heat during operation. Leakage current when the relay is off may also be higher than with a mechanical contact.

For applications involving frequent switching, silent operation or long switching life, solid state relays may be considered.

Coil Voltage and Coil Power

For an electromechanical relay, coil specifications are among the first parameters to check.

Common coil voltages include values such as 5 V, 12 V and 24 V DC, as well as various AC coil voltages.

The coil voltage must match the control circuit. Applying an unsuitable voltage can prevent reliable operation or damage the relay.

Coil power or coil resistance is also relevant. The control circuit must be capable of supplying the required coil current.

In battery-powered or energy-sensitive equipment, a lower-power relay coil may be preferable if it still provides the required operating characteristics.

Contact Ratings Matter

The contact rating determines what type of load the relay can safely switch under specified conditions.

Important parameters can include maximum switching voltage, switching current, contact load type and electrical life.

A relay rated for a particular current under resistive DC conditions should not automatically be assumed to have the same capability when switching an inductive motor, solenoid or other reactive load.

Inductive loads can produce voltage spikes when switched, increasing stress on the contacts.

The relay datasheet should therefore be checked for the actual load being controlled.

AC and DC Loads Are Not Always Equivalent

A relay's AC and DC switching ratings can be different.

When switching AC, the current naturally passes through zero during each cycle, which can help reduce the energy of an electrical arc when contacts open.

DC does not have the same natural current-zero point. As a result, interrupting a DC load can be more demanding for the contacts.

This is one reason a relay may have separate AC and DC contact ratings.

When selecting a relay, the actual voltage, current and load type should be compared with the manufacturer's specified conditions.

Switching Speed and Bounce

Mechanical relays do not switch instantaneously.

The armature takes a certain amount of time to move, and the contacts may briefly make and break several times before settling. This behavior is known as contact bounce.

For simple power switching, contact bounce may not be important. In digital or timing-sensitive circuits, however, it can cause unwanted transitions.

The relay datasheet may specify operate time, release time and bounce time. These values should be considered when the relay is part of a control or signal-processing system.

Electrical Isolation

One of the useful characteristics of many relays is the electrical isolation between the coil and contacts.

The isolation specification indicates how much voltage the relay is designed to withstand between different electrical sections under defined test conditions.

This can be particularly important when a low-voltage control circuit operates a higher-voltage load.

Isolation requirements depend on the equipment design and applicable safety standards, so the relay's insulation and dielectric-strength specifications should be reviewed rather than relying only on the nominal voltage ratings.

Relay Life

Relay life is generally divided into mechanical life and electrical life.

Mechanical life refers to the number of operations the relay mechanism can perform under specified conditions without switching an electrical load.

Electrical life is usually lower because the contacts experience electrical stress during switching.

The actual life depends heavily on the type of load, switching voltage, current and operating frequency.

A relay used to switch a small resistive signal may experience very different contact stress from one used to control a motor or other inductive load.

Consider the Application Environment

Environmental conditions can affect relay performance.

Temperature, humidity, vibration and contamination may all influence reliability. Industrial equipment may require a relay with a wider operating-temperature range or stronger mechanical construction.

For automotive applications, vibration and temperature cycling can be particularly important.

The relay's mounting method and enclosure can also affect its suitability. PCB-mounted relays are convenient for circuit boards, while larger plug-in or panel-mounted relays may be more appropriate for control cabinets and industrial systems.

How to Choose a Relay

A practical relay selection process starts with the control circuit and the load.

First determine the coil type and coil voltage. Then identify the required contact configuration, such as SPST or SPDT.

Next, check the switching voltage and current under the actual load conditions. If the load is inductive, capacitive or otherwise difficult to switch, pay particular attention to the manufacturer's load specifications.

Operating temperature, switching frequency, expected lifetime, isolation requirements and physical dimensions should then be checked.

Finally, make sure the relay is compatible with the PCB footprint, socket, wiring or mounting arrangement used in the equipment.

Final Considerations

Relays provide a simple and reliable way to control electrical loads and separate control circuits from switched circuits. Their applications range from small electronic devices to industrial control systems and power equipment.

The most important specifications depend on the application, but coil voltage, contact configuration, switching ratings, load type, isolation, operating environment and expected life are common starting points.

Selecting a relay based only on coil voltage or physical size can lead to compatibility problems. Looking at the complete datasheet and matching the relay to the actual electrical load provides a much more reliable basis for component selection.


Related Articles

Explore related electronics articles and guides.

Sep 27, 2026

How Do Transformers Work in Electronic Equipment?

Transformers transfer electrical energy between circuits while changing voltage or providing isolation. Learn how electronic transformers work and where they ar...

Sep 27, 2026

How Does a Voltage Regulator Work in an Electronic Circuit?

A voltage regulator keeps the supply voltage within a required range. Learn how linear and switching regulators work and what to consider when choosing one.

Sep 27, 2026

What Is EMI and How Can Electronic Circuits Reduce It?

EMI can affect electronic circuits through unwanted electromagnetic noise. Learn where EMI comes from and how filtering, shielding and PCB design can reduce int...

Sep 27, 2026

How to Choose the Right Inductor for a Power Supply?

Learn how to choose the right inductor for a power supply by checking inductance, saturation current, DCR, ripple current, frequency and thermal performance.

Sep 27, 2026

What Is a MOSFET and How Is It Used in Electronic Circuits?

Learn what a MOSFET is, how it works, the main MOSFET types and the key specifications to consider when selecting one for an electronic circuit.

Sep 27, 2026

How to Choose the Right Diode for an Electronic Circuit?

Learn how to choose the right diode for an electronic circuit by checking forward voltage, reverse voltage, current rating, switching speed and other key specif...

Sep 27, 2026

How Do Sensors Work in Electronic Devices?

Learn how sensors work in electronic devices, including common sensor types, output signals, key specifications and factors to consider when choosing a sensor.

Sep 27, 2026

What Is an Integrated Circuit and How Is It Used?

Learn what an integrated circuit is, how ICs work, the main types of ICs and how integrated circuits are used in modern electronic devices.

Sep 27, 2026

What Does PCB Trace Width Mean and Why Does It Matter?

PCB trace width affects current capacity, temperature rise and signal performance. Learn how trace width is selected for power and signal circuits.

Sep 27, 2026

How to Choose the Right Power Supply for Electronic Equipment?

Learn how to choose the right power supply for electronic equipment by checking voltage, current, power, efficiency, regulation, protection and operating condit...

Sep 27, 2026

How Do Relays Work in Electronic Circuits?

Learn how relays work in electronic circuits, including relay contacts, coil operation, common relay types and the key specifications for selecting a relay.

Sep 27, 2026

How to Choose the Right Connector for an Electronic Device?

Choosing the right connector depends on current, voltage, size, mating cycles, environment and mounting requirements. Learn the key factors for connector select...