Update Time:2026-08-12

How to Correctly Select and Size a Flyback Diode for Relays

Master flyback diode design by sizing peak reverse voltage to 1.5–2x supply voltage and matching forward current to coil draw to prevent voltage spikes.

Components & Parts

How to Correctly Select and Size a Flyback Diode for Relays

Flyback Diode Design

You size a relay flyback diode using simple baseline rules. Set peak reverse voltage to 1.5 to 2 times supply voltage. Choose continuous forward current equal to steady-state coil current. Proper flyback diode selection stops destructive voltage spikes.

Relay coils act as inductive loads. When you turn off current, rapid decay generates an inductive back-EMF voltage spike following V = L * di/dt. Interrupting 100 mA in a 500 mH coil in 50 microseconds creates a 1,000 volt pulse that breaks transistors.

Protecting switching devices and preventing microcontroller damage are main uses of flyback diodes. This working function of a flyback diode offers crucial protection, but basic flyback diode design delays contact release.

Key Takeaways

  • Flyback diodes protect power switches by catching harmful voltage jumps from relay coils.

  • Pick a diode reverse voltage rating that is double your power supply voltage.

  • Choose a continuous forward current rating that is equal to or greater than the coil current.

  • Put the diode within three millimeters of the driver switch to lower electronic noise.

  • Put a Zener diode in the flyback loop to help the relay contacts open much faster.

Quick Rules for Flyback Diode Selection in Relay Circuits

Immediate Sizing Formulas for Voltage and Current

Picking the right flyback diode for your relay requires two simple formulas. First, find the peak reverse voltage rating by multiplying your main DC supply voltage by 1.5 to 2.0. This extra safety buffer protects the diode from sudden voltage surges on your power lines. Second, pick a diode with a forward current rating that matches or exceeds the coil's steady DC current.

Different relay coils use specific amounts of electrical current during normal use. You can easily compare these typical coil numbers against a common driver chip like the ULN2003A driver:

Relay Coil SpecificationCoil Current @ Rated VoltageRelation to ULN2003A Continuous Rating (500 mA per channel)Suitability Verdict
12 V / 80 Ω (Automotive)150 mAAt or near the per-channel limitMarginal — requires derating
12 V / 100-120 Ω (Automotive)100-120 mAAt the continuous-current limitRecommended range
24 V / 240 Ω (Automotive)100 mAWell within the ratingRecommended if 24V supply is used
5 V / 50 Ω (Signal Relay)100 mAWithin the ratingAcceptable, but contact rating may be low for power loads

Using these standard tips on choosing the right flyback diode helps your circuit run safely without overheating.

Reverse Polarity Connection Basics

Attach the protective diode across the relay coil terminals using backward orientation. Hook the cathode end to the positive power supply and place the anode on the switch side. Setting up this reverse polarity prevents electricity from flowing through the diode while the relay runs normally.

Learning the working function of a flyback diode means looking at how the circuit shuts down:

  1. The driving transistor turns off, stopping electrical power from entering the relay coil.

  2. The coil pushes back against this sudden stop, flipping the voltage direction across its pins.

  3. The forward-biased diode turns on, letting the trapped magnetic energy safely loop around.

  4. The system holds the sharp voltage jump down to roughly 0.7V for standard silicon parts.

  5. Understanding these advantages of using flyback diodes keeps the driver chips in your relay safe.

Core Parameters for Flyback Diode Design

Sizing Peak Reverse Voltage for a Flyback Diode

You must review basic specs when planning your flyback diode setup. Inductive parts like relay coils store magnetic energy during routine circuit operation. Electric power flows through the coil to flip internal switch contacts. Meanwhile, the reverse-biased diode blocks all current from crossing its junction. Opening your switch causes the coil's magnetic field to crash down fast. This crash reverses wire polarity and causes dangerous, sharp voltage surges. Selecting a component with a proper voltage safety margin builds strong surge protection. Choose a reverse voltage rating two or three times higher than your main power supply. For example, a 24V circuit needs a diode rated for 50V or more. Follow this simple guide to pick the right voltage limit for your board:

  1. Identify the highest supply voltage: 24V circuits peak near ~30V, while 48V circuits peak near ~60V.

  2. Pick a reverse stand-off voltage above maximum system power: select 33V for 24V systems or 64V for 48V systems.

  3. Check that the diode clamping voltage stays below the safe limit of your surrounding board parts.

Engineers sometimes place Zener diodes alongside standard rectifier parts in advanced protective designs. Surrounding board specs shift depending on your active supply lines:

Relay System VoltageZener Diode RatingMaximum Clamping Voltage
12V DC24V60.7V
24V DC36V60.7V
48V DC56V104.7V

Your board must absorb random voltage spikes created by electrical interference in industrial control boxes. Standard parts like the 1N4002–1N4007 series offer strong ratings from 100V up to 1000V. Using these robust components increases device reliability near heavy factory machinery.

Managing Continuous and Surge Forward Current

Relay coils release all their stored power the moment power shuts off. Higher internal inductance and rapid switching times trigger bigger energy spikes. Voltage across an inductor follows the basic law of magnetic induction:

V_L = -dΦ_B/dt = -L dI/dt

Take a standard 24 VDC industrial coil with 2 H inductance carrying 100 mA. If you cut power in 1 ms, that sudden shift generates a 200 V surge. Your flyback loop needs to absorb this huge burst of leftover energy safely. Therefore, review both steady-state and peak surge current values before picking your part.

RatingDefinitionKey Condition
Continuous Forward Current (IF(AV))Maximum non-stop power the component handles without suffering physical damageNever exceed this limit during routine operation; keep it ≥ total coil current
Non-repetitive Peak Forward Current (IFSM)Maximum short-term pulse current the component survives without failingTested under precise short timing conditions; keep it ≥ 3-5 × coil current

Your component choice must match the original coil current entering the protective loop. During conduction, current loops through coil resistance and the diode's forward voltage drop. This endless loop safely transforms stored magnetic power into harmless heat energy. Coils drawing 200-500mA need a diode rated for 1A continuous current, like the 1N4004. The 1N4004 easily supports a 25-30A surge during short 8.3ms power pulses. Because coil surge events usually wrap up within 1 ms, this high surge rating handles sudden power bursts easily. Smart part choices strengthen your complete flyback diode setup over time. Correct diode selection guarantees that your board components last much longer. Good diode sizing keeps driver chips from blowing out unexpectedly.

Choosing Diode Types for a Relay Switch

Standard Rectifiers vs Ultra-Fast and Schottky Diodes

You must review specific diode types when planning your circuit. Different parts handle trapped magnetic power at different operating speeds. Reverse recovery time tracks how fast a diode turns off when power flips direction. Engineers track this important timing speed using nanoseconds or microseconds. Basic standard rectifiers like the 1N4001 turn off in about 2 microseconds. Faster switching options like the 1N4148 clear power in just 4 nanoseconds.

Industry rules group normal rectifiers above 500 nanoseconds, fast parts from 100 to 500 nanoseconds, and ultrafast options below 100 nanoseconds.

Diode TypeReverse Recovery Time
Standard Rectifier1 to 5 µs
Fast Recovery200 to 500 ns
Ultrafast RecoveryBelow 100 ns
SchottkyNegligible

Normal rectifiers suit simple DC systems that flip on and off slowly. These general parts handle heavy electrical loads safely with high current limits. However, sluggish response times cause small delays during rapid switching cycles. Slow power turn-off allows brief backward current flow, creating minor electronic noise. Ultrafast options drain power fast, while Schottky parts remove turn-off delays completely. Picking high-speed diodes shields your driver chips whenever control systems switch continuously.

Impact of Forward Voltage Drop on Drop-out Delay

The forward voltage drop directly changes how fast the coil clears leftover power. A normal silicon flyback diode holds a voltage drop around 0.7V. This bigger voltage drop forces faster power loss through the return path. Because of this, trapped magnetic forces collapse rapidly inside the coil loops. Swift magnetic collapse helps the relay switch open with very little delay.

On the other hand, a Schottky flyback diode drops lower voltage near 0.3V. This smaller voltage wall offers weaker push against looping coil currents. As a result, power drains away much slower inside the loop circuit. The magnetic field stays strong longer, keeping your switch contacts connected together. Choosing a Schottky diode delays contact release, adding 10 to 20 extra milliseconds.

Diode TypeForward Voltage DropEffect on Magnetic Field CollapseRelative Drop-out Time
Silicon~0.7VSlower energy decay than bare wire, faster than SchottkyShorter baseline
Schottky~0.3VSlowest decay due to lower clamping voltageSignificantly longer

When switching off, electricity flows in circles through inner coil resistance and the diode junction. This continuous loop turns magnetic power into heat using circuit resistance and voltage drops. Lower total loop resistance keeps electricity flowing for a longer time.

You must weigh device protection against slow contact opening speeds while designing circuits. Longer release times lead to sluggish mechanical separation between switch contacts. Slow physical movement generates hot electric sparks across the opening gap. These sparks wear down physical contacts over long periods of routine use. A basic silicon flyback diode delivers solid surge control for standard systems. You protect driver parts well while keeping switch opening speeds fast enough. Smart diode choices balance rapid switching, device safety, and long contact life.

Advanced Suppressors for Fast Relay Release

Series Zener and TVS Diode Combinations

Standard flyback diodes drain magnetic power slowly, delaying physical contact release. Placing a TVS diode alongside accelerates magnetic energy decay. This arrangement clears coil power faster while keeping voltage spikes at safe levels.

Engineers regularly choose a TVS diode to handle sharp voltage jumps from inductive components.

When designing boards for inductive relay loads, inexpensive TVS diodes like the SMBJ line serve as standard surge protection. The diode clamps coil voltage, suppressing peak voltage spikes during switching cycles. Proper design requires one quick check: multiply steady coil current by clamping voltage to ensure total power stays within component limits.

You should review critical TVS parameters before choosing your protective parts:

  1. Reverse Standoff Voltage (VR): Pick VR right at or slightly above main supply voltage VCC. A 24V DC circuit needs VR >= 26V to stop unintended current flow.

  2. Clamping Voltage (VC): Set VC under maximum switch ratings. A 24V DC board needs VC <= 48V to cap maximum coil voltage.

  3. Polarity Selection: Dual-direction TVS diodes block temporary surges in both directions, making board placement completely foolproof.

Snubber TypePeak Coil Voltage During De-energization
Freewheeling DiodeSupply Voltage (VCC) + 0.7 Volts
Bidirectional TVS DiodeClamping Voltage (Vclamp) - fixed value
Back-to-back Zener DiodesSupply Voltage (VCC) + Zener Voltage (VZ)
ResistorInitial Current (I0) × Resistor Value (RS)

Resistor-Diode Suppression Networks

Wiring a simple resistor next to your flyback diode provides another effective suppression approach. Adding resistance drains leftover coil energy much faster without adding expensive components.

FeatureUnidirectional TVSBidirectional TVS
Orientation requirementCorrect orientation requiredWorks regardless of orientation
Clamping behaviorPrecise clamping in one directionConducts in either direction when exceeding Vc
Leakage currentLowerSlightly higher
Clamping voltageLowerSlightly higher
Suitability for DC coilsUse for fixed polarity circuitsAcceptable for DC coils

This simple resistor network boosts total system dependability. The design balances fast contact release against peak voltage surges, shielding your driver switches during power shutoff. Correct flyback diode selection always depends on careful circuit testing.

PCB Layout for the Flyback Diode

You must pay close attention to physical board layout when designing switching circuits. Keep trace lines short to shrink the loop path connecting the coil and driver switch. PCB traces add roughly 20nH of inductance for every inch, so short paths cut extra inductance. Sudden power drops generate high voltage spikes across long trace lines when the coil shuts down. These sudden spikes create bad electromagnetic noise that spreads to surrounding board parts. Where you put the flyback diode changes how large this fast-moving power loop becomes. Careful part placement closes open trace loops and stops ground bounce when switching fast.

Automotive rules from Robert Bosch GmbH state that protective diodes must sit within 2-3 mm of main power switches.

Sticking to this tight spacing rule makes the electrical current loop much smaller. You should place the protective diode right next to the driver switch or coil pins. Placing flyback diodes correctly keeps harmful voltage jumps from leaking into sensitive sensor lines. Diodes placed far away act like antennas that broadcast unwanted electronic noise into nearby circuits. Packed board designs need tight loop paths to keep rapid current changes isolated.

A solid ground layer directly under main switching lines creates a smooth path for returning power. Running traces over split ground gaps turns simple power noise into broad system interference. Common mode noise travels across board grounds easily and leaks right into connected power lines. Placing a flyback diode directly over a solid ground layer cuts down radio noise.

Shrinking the trace loop prevents sudden ground spikes from damaging fragile microcontroller pins. Tight component placement makes your board tougher, ensuring high reliability in rough factory setups. Every power circuit needs tiny trace lengths and solid ground layers beneath active parts. Smart trace paths protect every driver switch and heavy relay on your board for years.

Proper flyback diode selection protects your relay drivers from dangerous spikes while maintaining board reliability. You set reverse voltage limits above supply levels and match forward current to coil draw. Standard rectifiers like the 1N4007 lower cost, but Zener networks accelerate coil release to reduce relay contact wear. Follow these tips on choosing the right flyback diode during your selection process:

  1. Connect an oscilloscope probe across the diode with the ground clip on the cathode.

  2. Power the system under full load.

  3. Measure the peak voltage during shutdown.

  4. Confirm a 20% safety margin against the component rating to finalize your flyback diode design.

 

 

 

 


 

AiCHiPLiNK Logo

Written by Jack Elliott from AIChipLink.

 

AIChipLink, one of the fastest-growing global independent electronic   components distributors in the world, offers millions of products from thousands of manufacturers, and many of our in-stock parts is available to ship same day.

 

We mainly source and distribute integrated circuit (IC) products of brands such as Broadcom, Microchip, Texas Instruments, Infineon, NXP, Analog Devices, Qualcomm, Intel, etc., which are widely used in communication & network, telecom, industrial control, new energy and automotive electronics. 

 

Empowered by AI, Linked to the Future. Get started on AIChipLink and submit your RFQ online today! 

 

 

Frequently Asked Questions

What is the main job of a flyback diode in a relay circuit?

A flyback diode connects across coil components to redirect electrical current whenever the switch opens. This vital step absorbs high voltage surges safely, which stops driver parts from blowing out right away.

What happens if you skip flyback diode selection for your board?

Forgetting to pick the right part leaves your driver switch wide open to giant voltage spikes. The diode works by soaking up magnetic discharge, protecting delicate control parts every time power shuts down.

Where should you place a relay flyback diode on your printed circuit board?

Place your protective diode within two or three millimeters of the main driver switch for best results. Keeping the diode close shrinks loop size, lowers electronic noise, and stops unwanted ground voltage jumps.

Can a standard flyback loop slow down relay opening time?

Yes, a basic loop makes the relay open more slowly as trapped power drains off gradually. You can place a extra Zener diode in line to speed up energy decay while keeping voltage spikes low.