
Relay jitter is a common problem that can drive you crazy. It's also called relay shaking. This issue happens in electronic circuits all the time.
When relays start jittering, bad things happen. Your system might fail completely. Components wear out too fast. You'll spend hours trying to figure out what's wrong.
This guide will show you how to fix relay jitter for good. We'll start with finding the problem. Then we'll cover basic fixes. Finally, we'll explore advanced techniques that prevent jitter from happening in the first place.
What is Relay Jitter?
Relay jitter happens when a relay's contacts shake rapidly. The contacts should switch cleanly from open to closed. Instead, they chatter or buzz around the switching point.
This creates electrical noise. It also causes arcing that damages the relay. Your circuit won't work reliably. A motor might stutter. A computer system could lose data.
The Quick Answer
To avoid relay shaking, you need a step-by-step approach. Here are the main solutions we'll cover:
Find the Root Cause: The problem usually comes from unstable voltage, not enough drive current, or worn-out parts.
Apply Basic Fixes: Stabilize your power supply. Make sure your driver circuit provides enough current. Pick the right relay for your job. Keep everything clean and maintained.
Use Advanced Solutions: For bulletproof circuits, add conditioning components like diodes, capacitors, and Schmitt triggers.
This guide walks you through each step. You'll learn to diagnose and solve relay problems quickly.
Understanding Relay Jitter
To avoid relay shaking effectively, you need to understand what causes it. Three main things create relay jitter: power supply problems, weak driver circuits, and physical wear.
Unstable Supply Voltage
Every relay datasheet lists two key voltages. The "pull-in" voltage is the minimum needed to close the contacts. The "drop-out" voltage is where the relay releases.
Relay jitter happens when your supply voltage hovers near the pull-in threshold. The coil gets enough energy to start closing. But then the voltage drops, and the relay releases. This cycle repeats fast, creating chatter.
Common causes include long wire runs that drop voltage under load. Your power supply might be overloaded. AC ripple on DC supplies can also dip voltage below what you need.
Here's a rule of thumb: Most datasheets specify pull-in voltage at 75-80% of nominal. Drop-out voltage is usually 10-20% of nominal. A 24VDC relay might pull in at 18V but will chatter if voltage fluctuates around this point.
Insufficient Driving Current
Voltage is only half the story. A relay's coil needs specific current to create a strong enough magnetic field. This field must close the contacts firmly.
If your driver circuit can't provide this current, the magnetic field stays weak. The relay might buzz without closing. Or it might close weakly and open from small vibrations or voltage dips.
This often happens with poorly designed drivers. A transistor might not have enough gain. The base resistor might be too large, starving the transistor of current.
Think of it like trying to latch a heavy door with one finger. You might move it, but it won't engage properly.
Mechanical Fatigue and Wear
Relays are mechanical devices. They wear out over time.
An aging spring can lose tension. This changes the precise pull-in and drop-out characteristics. The gap between these thresholds gets smaller, making jitter more likely.
Dirt is another major problem. In unsealed relays, dust builds up in the mechanism. This physically blocks smooth armature movement.
Every time a relay switches a load, small arcs can occur. This is especially true with inductive loads. Over thousands of cycles, arcing pits and corrodes the contact surfaces. This leads to poor connections and unstable seating.
|
Symptom |
Likely Electrical Cause |
Likely Mechanical Cause |
|
Jitter occurs during power fluctuations |
Unstable Voltage |
Less Likely |
|
Relay "buzzes" but never fully closes |
Insufficient Current |
Possible, but less common |
|
Jitter is erratic and inconsistent |
Possible AC ripple |
Worn parts, debris |
|
Relay fails to switch at all sometimes |
Insufficient Voltage/Current |
Sticking or welded contacts |
Fundamental Jitter Solutions
Now that you understand the causes, let's apply targeted solutions. These steps fix the most common issues and create a solid foundation for reliable relay circuits.
Guarantee a Stable Power Source
Power supply stability is critical. Unstable voltage is the top cause of relay shaking.
First, measure voltage directly at the relay's coil terminals while the circuit is loaded. Measure during the switching moment too. Don't just measure at the power supply - wire resistance can fool you.
If you see significant voltage drop, use thicker wires for your power runs. Ohm's law tells us that lower resistance means smaller voltage drops for the same current.
A great local fix is adding a decoupling capacitor across the relay coil. Use 10μF to 100μF electrolytic, placed as close to the relay as possible. This capacitor acts like a small battery, supplying current during brief voltage sags.
For very noisy power supplies, consider a dedicated voltage regulator. This is especially useful when sharing power with large motors or variable-frequency drives.
Design a Proper Driver Circuit
Your relay is only as good as the circuit driving it. The driver must provide enough current to fully energize the relay's coil.
When using transistors, always check the datasheet. Make sure it can handle the relay's coil current with plenty of safety margin - 50% or more is good.
For NPN transistor drivers, calculating the base resistor is critical. The transistor must turn on hard to provide full coil current.
Here's how to calculate the base resistor for a 12V relay controlled by a 5V microcontroller:
Find the relay's coil current. A 12V relay with 240Ω coil draws: I_c = 12V / 240Ω = 50mA.
Find the transistor's gain (hFE) from the datasheet. Use a conservative value like hFE = 100.
Calculate required base current: I_b = I_c / hFE = 50mA / 100 = 0.5mA.
Add a safety factor of 5 for saturation: I_b_sat = 0.5mA × 5 = 2.5mA.
Calculate the base resistor. Voltage across it is control voltage minus 0.7V: R_b = (5V - 0.7V) / 2.5mA = 1720Ω. Use a standard 1.5kΩ resistor.
Logic-level MOSFETs are often simpler and more robust. They're voltage-controlled and need almost no input current.
Select the Right Relay
Prevention starts with choosing the right component. Using the wrong relay is a common mistake.
Read the relay datasheet carefully. Match its specifications to your circuit's needs.
Check the nominal coil voltage. It must match your supply voltage. A 24V relay won't work reliably with 12V supply.
Verify coil resistance or current requirements. Your driver circuit must handle the required current.
Look at contact ratings. Contacts must handle your load's voltage and current. Undersized contacts fail quickly.
Consider "sensitive" relays for power-limited applications. These need less coil power to operate reliably.
Implement Routine Maintenance
Physical maintenance can save field systems. This is especially important for unsealed relays in dusty environments.
For unsealed relays, cleaning can restore performance. After disconnecting power, use compressed air to remove loose dust. Electronic contact cleaner works for stubborn grime. Never use sandpaper - it destroys contact plating.
Know when to clean versus replace. We once spent an hour trying to fix a chattering relay with visibly pitted contacts. A 5-minute replacement solved the problem permanently.
For critical applications or aged relays, replacement is always more reliable than repair. A new relay costs far less than system downtime.
Advanced Circuit-Level Fixes
When basic fixes aren't enough, circuit-level solutions can eliminate jitter completely. These techniques work especially well in new designs where maximum reliability is needed.
Taming Inductive Kickback
When a relay coil turns off, the collapsing magnetic field creates a large voltage spike. This is inductive kickback.
This spike can destroy your driver transistor. It also creates electromagnetic interference that can disrupt nearby circuits and contribute to jitter in other relays.
The solution is a simple flyback diode. A 1N400x series diode works for most small relays. Connect it across the relay coil with the cathode (striped end) to the positive supply side.
This orientation reverse-biases the diode during normal operation. When the coil turns off, kickback voltage forward-biases the diode, providing a safe path for current to circulate and dissipate.
+VCC | | ----- | | Relay Coil | | ----- |-----------o Switching Transistor | --- | |<| Diode (Flyback) --- | GND
Smoothing with Hysteresis
This is the most robust solution for jitter caused by slow or noisy control signals. Hysteresis creates a "dead zone" in switching logic.
Instead of one voltage threshold, hysteresis circuits have two: a higher threshold to turn ON, and a lower threshold to turn OFF.
Say your relay's pull-in voltage is 18V. If a noisy signal hovers around 18V, it will chatter. With hysteresis, the circuit might turn ON only above 19V, but not turn OFF until below 17V. Now noise between 17V and 19V has no effect.
This is usually implemented with Schmitt trigger ICs or comparator circuits with positive feedback. The positive feedback creates the two separate thresholds. This definitively prevents relay shaking from analog or noisy inputs.
Vin --(+)-. | \ | ) Comparator Vref--(-)-'----o-- Output to Driver | | | | '--R2--' | R1 | GND (Conceptual Hysteresis Circuit)
Implementing a Soft-Start
Soft-start circuits reduce large inrush currents when devices first power on. While not primarily for jitter prevention, they contribute to overall system stability.
By gradually ramping voltage or current to the relay coil, soft-start reduces sudden load demands on the power supply. This helps prevent voltage sags that might cause other components to malfunction.
A simple soft-start uses a small RC network at the driver transistor's base. The capacitor takes time to charge through the resistor, making the transistor turn on gradually.
This technique is more common for larger relays or contactors where inrush current is significant. But it's another tool for designing quiet, stable circuits.
A Troubleshooting Walkthrough
Theory is essential, but real-world application builds expertise. Let's walk through a common troubleshooting scenario.
The Scenario
We're called to look at a custom industrial control panel. A 24V DC relay controlling a small conveyor motor has started chattering intermittently. This makes the motor stutter, disrupting the production line.
Step 1: Observe and Gather Data
Always observe first without touching anything. When does the problem happen? Is it random or linked to other events?
After a few minutes, we notice the relay jitter is worst when a large Variable Frequency Drive (VFD) on the same panel accelerates a bigger motor. This is a critical clue. The problem isn't random - it's linked to a high-current event.
Step 2: The Health Check
Now we use the multimeter. Our hypothesis is that the VFD is causing power supply problems.
Measure PSU Voltage: We first measure the main 24V DC power supply output. It reads steady 24.1V, even when the VFD runs. This seems fine but can be misleading.
Measure Voltage at the Coil: The crucial step. We connect meter probes directly to the chattering relay's coil terminals. We set the meter to capture Min/Max readings.
Trigger the Event: Someone starts the large motor via the VFD. As the VFD spools up, we see voltage at the relay coil momentarily dip to 17.5V.
Check the Datasheet: We look up the relay part number. The datasheet confirms it's a 24V nominal relay with "must-operate" voltage of 75% nominal, which is 18V.
The finding is clear: the 17.5V dip is below the relay's minimum holding voltage, causing it to drop out. As VFD inrush current subsides, voltage recovers, the relay tries to pull in again, and chattering begins.
Step 3: Diagnose and Fix
We've identified the root cause: transient voltage drop at the relay coil, caused by VFD inrush current and wiring resistance.
The solution is two-fold:
The Immediate Fix: We add a 220μF, 35V electrolytic capacitor directly across the chattering relay's coil terminals. This capacitor acts as local energy storage. During brief voltage sags, it supplies necessary current to keep the coil energized above the 18V dropout threshold. Chattering stops immediately.
The Long-Term Recommendation: For robust, permanent reliability, we recommend panel modification. A separate, heavier-gauge power line should run from the main supply specifically for sensitive control logic, isolating it from "dirty" power feeding high-current devices.
This systematic process - from observation to precise measurement to targeted solutions - resolves the problem efficiently and reliably.
Troubleshooting Flowchart
Start -> Is relay chattering? | '-> Yes -> Observe: Is it random or event-driven? | '-> Measure voltage AT THE COIL during event. | '-> Does voltage dip below "must-operate" spec? | '-> Yes -> Cause: Unstable Voltage. | '-> Fix: Add decoupling capacitor. Improve wiring. | '-> No -> Measure current available from driver. | '-> Is current below coil spec? | '-> Yes -> Cause: Insufficient Drive. | '-> Fix: Redesign driver (check resistor, transistor). | '-> No -> Inspect relay for physical wear/dirt. | '-> Is it old or dirty? | '-> Yes -> Cause: Mechanical Failure. | '-> Fix: Replace the relay. End
Achieving Long-Term Reliability
Relay jitter is a solvable engineering challenge. By moving beyond guesswork and using systematic approaches, you can ensure your circuits are stable and dependable.
Your Jitter Checklist
To avoid relay shaking, always run through this checklist during design or troubleshooting:
Start by diagnosing: Check voltage at the coil, verify drive current, and inspect the relay's physical condition.
Ensure rock-solid power supply. It's the foundation of all reliable electronic systems.
Drive relays decisively. A properly designed driver circuit with adequate current isn't optional.
Select the right component for the job and respect datasheet specifications.
For ultimate stability against noisy signals or supplies, implement advanced techniques like hysteresis.
Final Thoughts
Relay jitter is a symptom of underlying issues in your circuit's electrical or mechanical health. By applying these systematic checks and solutions, you can move from diagnosing problems to designing robust, reliable systems that perform flawlessly for years.
How to Choose the Right Housing and Terminal for Solid-State Relays
Factors to Consider When Choosing a Solid-State Relay Manufacturer
Which types of loads are not suitable for using solid-state relays?
What are the common causes of solid-state relay burnout?
