Category: Electrical Circuit

  • Relay Flyback Diode Selection: Sizing by Coil Current and Release Time

    Relay Flyback Diode Selection: Sizing by Coil Current and Release Time

    Relay Coil Driving and Counter-EMF Suppression Design Challenges

    Electromechanical relays are critical components that provide complete galvanic isolation between control circuits and high-power loads. However, the relay coil—the mechanical actuation mechanism—is a typical inductive load that induces a high voltage spike, known as inductive kickback, when current is interrupted.

    When the current flowing through the coil is abruptly interrupted, the counter-electromotive force (counter-EMF) generated by the inductance \(L\) is governed by Faraday’s law:

    \[v_L(t) = -L \frac{di}{dt}\]

    During the brief switching transition (tens to hundreds of ns) when the low-side transistor (MOSFET or BJT) turns off, \(\frac{di}{dt}\) takes on a very large negative value, creating a positive high-voltage spike of several hundred volts or more at the drain (or collector) node of the switching device. Without an adequate surge suppression circuit, this spike exceeds the breakdown voltage (\(V_{(BR)DSS}\)) of the switching device, causing permanent damage.

    The most common countermeasure is placing a single flyback diode (freewheeling diode) in anti-parallel across the coil. However, while a simple diode clamping circuit protects the drive transistor, it introduces a secondary (2nd) trade-off: it significantly delays the relay release time, leading to contact erosion and contact welding.

    Fundamental concepts of counter-EMF suppression for inductive loads have also been covered in the guides on SMPS gate driver inductive counter-EMF suppression techniques and low-side MOSFET switch selection and snubber design. This article outlines quantitative calculation methods and engineering decision criteria to size optimal flyback and clamping diodes based on relay coil current (\(I_{coil}\)) and required release time.


    Basic Parameter Selection: Sizing Coil Current (\(I_F\)) and Reverse Breakdown Voltage (\(V_{RRM}\))

    The primary (1st) electrical parameters that must be satisfied when selecting a single flyback diode are the forward current rating (\(I_F\)) and repetitive peak reverse voltage (\(V_{RRM}\)).

    Basic driver circuit schematic comprising a relay coil, low-side N-MOSFET switch, and parallel single flyback diode, showing the forward commutation current loop at turn-off
    Basic driver circuit schematic comprising a relay coil, low-side N-MOSFET switch, and parallel single flyback diode, showing the forward commutation current loop at turn-off

    1. Coil Steady-State Current (\(I_{coil}\)) and Diode Forward Rating (\(I_F, I_{FSM}\))

    When the relay is fully picked up in the ON state, the DC steady-state current \(I_{coil}\) flowing through the coil is determined by Ohm’s law from the applied coil voltage \(V_{coil}\) and the coil DC resistance \(R_{coil}\):

    \[I_{coil} = \frac{V_{coil}}{R_{coil}}\]

    The instant the switching device turns off, magnetic flux and current continuity in the inductor dictate that the entirety of \(I_{coil}\) flowing through the coil immediately commutates into the forward path of the flyback diode. Therefore, the initial peak forward current \(I_{F(peak)}\) applied when the diode turns on matches the steady-state coil current:

    \[I_{F(peak)} = I_{coil}\]
    • Average Forward Current Rating (\(I_{F(AV)}\)): In general control applications where the relay coil switching frequency is a few Hz or less, the continuous forward rating \(I_{F(AV)}\) of the diode must be equal to or greater than \(I_{coil}\) to prevent thermal breakdown.
    • Non-Repetitive Peak Surge Current (\(I_{FSM}\)): To withstand the transient peak current \(I_{F(peak)}\) immediately after turn-off, the diode’s \(I_{FSM}\) rating must sufficiently exceed \(I_{coil}\). General-purpose devices such as the 1N400x series (\(I_{F(AV)} = 1\text{A}, I_{FSM} = 30\text{A}\)) or 1N4148 (\(I_{F(AV)} = 150\sim 200\text{mA}, I_{FSM} = 1\sim 4\text{A}\)) easily satisfy the forward current requirements of typical small to medium control relays (\(I_{coil} \approx 20\text{mA} \sim 150\text{mA}\)).

    2. Diode Reverse Voltage (\(V_{RRM}\)) Margin Sizing

    When the switching device is ON, the supply voltage \(V_{CC}\) is applied in the reverse direction across the diode. Under ideal steady-state conditions, operation is possible as long as the diode reverse breakdown voltage \(V_{RRM}\) is greater than \(V_{CC}\); however, real power rails experience superimposed switching noise, parasitic wiring inductance, and power-up surges.

    Manufacturer technical guidelines (Panasonic Relay Technical Guide, Omron General-purpose Relay Precautions) specify the following \(V_{RRM}\) margin criteria:

    • General Industrial/Consumer DC Supplies (\(12\text{V}, 24\text{V}\)): To account for supply transient voltage margins, a minimum of \(V_{RRM} \ge (2 \sim 3) \times V_{CC}\) must be secured. For example, in a \(24\text{V}\) supply system, a diode rated for \(V_{RRM} \ge 72\text{V}\) or higher is selected, and in practice, general-purpose rectifier diodes rated at \(400\text{V} \sim 1000\text{V}\) (1N4004~1N4007) are used to provide ample headroom.
    • Automotive and Harsh Environments: In automotive electrical environments where load dump events and high-energy line surges are frequent, a rating of \(V_{RRM} \ge 10 \times V_{CC}\) or higher must be selected, or a dedicated TVS diode must be placed in parallel at the supply stage.

    Caution (Not Applicable to AC Coil Relays): Flyback diodes are surge suppression devices dedicated exclusively to direct current (DC) coil relays. Connecting a diode in parallel across an AC coil relay driver circuit will short the power supply every half cycle and cannot be used; AC systems require an RC snubber (CR circuit) or an MOV (Metal Oxide Varistor)/varistor.


    Single Flyback Diode Trade-Offs: Release Time Delay and Contact Welding Risks

    If only the protection of the switching device is considered, the single diode method—which clamps the coil counter-EMF to the diode forward voltage (\(V_F \approx 0.7\text{V}\)) level—is the simplest and lowest-cost approach. However, this causes critical side effects on the reliability of the relay itself.

    Comparison waveforms of gradual exponential current decay (long time constant) with a single flyback diode versus rapid linear current decay and release time with a diode + Zener clamp
    Comparison waveforms of gradual exponential current decay (long time constant) with a single flyback diode versus rapid linear current decay and release time with a diode + Zener clamp

    1. Discharge Time Constant and Release Time (\(t_{release}\)) Delay Mechanism

    When the switch turns off, the magnetic energy stored in the coil is dissipated as it circulates through the closed loop formed by the coil internal resistance \(R_{coil}\) and the diode. The Kirchhoff’s Voltage Law (KVL) equation for this closed loop is as follows:

    \[L \frac{di(t)}{dt} + i(t) R_{coil} + V_F = 0 \Rightarrow \frac{di(t)}{dt} = -\frac{V_F + i(t) R_{coil}}{L}\]

    Because the forward voltage drop \(V_F\) of the diode is very low at approximately \(0.7\text{V}\), the counter-EMF voltage loop driving the inductor current toward 0 is extremely weak. The current decay progresses gradually and exponentially according to the inherent circuit time constant \(\tau = \frac{L}{R_{coil}}\).

    According to manufacturer measurement data, the relay opening/release time (Release Time) when using a single flyback diode is delayed by approximately 2 times to more than 5 times compared to the ideal open-circuit state without surge protection.

    2. Contact Arc Discharge and Contact Welding Mechanisms

    According to studies by leading relay manufacturers TE Connectivity (Application Note 13C3264) and Panasonic, this delay in coil current decay triggers the following contact failure chain reaction:

    1. Reduced Armature Travel Speed: As the coil current slowly decreases below the must-release voltage (Must Release Voltage / Drop-out Threshold), the magnetic pull of the coil releases the return spring force only gradually.
    2. Delayed Contact Separation Velocity: The initial opening velocity when the movable contact separates from the stationary contact slows down significantly.
    3. Extended Arc Duration: The plasma arc generated as the contact gap widens during load current interruption cannot be quenched rapidly and persists for an extended duration.
    4. Contact Erosion and Material Transfer: The high-temperature arc locally melts and spatters the contact metal (silver alloys, etc.).
    5. Occurrence of Contact Welding: Degraded contact surface roughness and micro-welding during re-solidification prevent the relay from returning, resulting in permanent welded-contact failure.

    Therefore, single flyback diode topologies should be avoided in circuits switching inrush or inductive loads, such as motors, solenoids, incandescent lamps, and large capacitor banks.


    Diode + Zener Clamp Design and Timing Calculations for Fast Release and Contact Protection

    The standard engineering solution to safely protect switching devices while preserving contact opening speed is connecting a standard diode and a Zener diode back-to-back (in series opposition).

    Fast surge suppression circuit schematic with a standard diode and Zener diode connected back-to-back (in series opposing) across the relay coil, showing clamping voltage polarities
    Fast surge suppression circuit schematic with a standard diode and Zener diode connected back-to-back (in series opposing) across the relay coil, showing clamping voltage polarities

    1. Discharge Voltage Clamping and Accelerated Current Decay Principle

    When the switching device turns off, the coil counter-EMF forces the Zener diode into its breakdown region. At this point, the clamping voltage \(V_{clamp}\) formed in the discharge loop is the sum of the Zener voltage \(V_Z\) and the diode forward voltage \(V_F\):

    \[V_{clamp} = V_Z + V_F\]

    The differential equation for the loop current decay is modified as follows:

    \[\frac{di(t)}{dt} = -\frac{V_Z + V_F + i(t) R_{coil}}{L}\]

    Because the Zener voltage \(V_Z\) is significantly larger than the coil internal voltage drop (\(i \cdot R_{coil}\)), the current decay slope \(\frac{di}{dt}\) forms a steep, nearly linear slope, discharging the current rapidly.

    2. Release Time (\(t_{release}\)) Calculation Formula

    The time \(t_{decay}\) required for the coil current to decay from steady-state current \(I_{coil}\) to the drop-out current \(I_{drop}\) where the relay armature begins to release is calculated via linear approximation as follows:

    \[t_{decay} \approx \frac{L \cdot (I_{coil} – I_{drop})}{V_Z + V_F}\]
    • \(L\): Coil inductance (\(\text{H}\))
    • \(I_{coil}\): Steady-state coil current (\(\text{A}\))
    • \(I_{drop}\): Relay release current threshold (\(\text{A}\), typically \(10\% \sim 30\%\) of rated current)
    • \(V_Z\): Zener diode breakdown voltage (\(\text{V}\))
    • \(V_F\): Forward voltage of the series standard diode (\(\text{V} \approx 0.7\text{V}\))

    As \(V_Z\) increases, the denominator grows larger, resulting in a dramatic reduction in the decay time \(t_{decay}\).

    3. Zener Voltage (\(V_Z\)) Sizing Criteria

    To restore contact separation velocity to unprotected levels and maximize contact lifespan, the Panasonic Application Guide recommends sizing the Zener voltage as follows:

    \[V_Z \ge 3 \times V_{coil}\]
    • \(12\text{V}\) relay coils: \(V_Z \ge 36\text{V}\) (select standard Zener ratings such as \(36\text{V}, 39\text{V}, 43\text{V}\))
    • \(24\text{V}\) relay coils: \(V_Z \ge 72\text{V}\) (select standard Zener ratings such as \(75\text{V}, 82\text{V}\))

    Drive Switch (MOSFET) Voltage Margin and Zener Pulse Power Rating Verification

    While applying a Zener diode to increase the discharge voltage improves relay contact reliability, it inversely increases the drain-to-source voltage (\(V_{DS}\)) stress that the low-side switching device must withstand. Therefore, quantitative verification of both the switch voltage rating and Zener power dissipation is essential.

    Transient voltage waveform showing drain-to-source voltage (V_DS) clamped to V_CC + V_Z + V_F during low-side MOSFET turn-off and Safe Operating Area (SOA) margin indication
    Transient voltage waveform showing drain-to-source voltage (V_DS) clamped to V_CC + V_Z + V_F during low-side MOSFET turn-off and Safe Operating Area (SOA) margin indication

    1. Low-Side Switch Maximum Applied Voltage and Voltage Rating Margin

    At the instant of turn-off, the drain terminal voltage \(V_{DS(max)}\) of the low-side MOSFET is superimposed by the coil clamping voltage on top of the supply voltage \(V_{CC}\):

    \[V_{DS(max)} = V_{CC} + V_Z + V_F\]

    Accordingly, the breakdown voltage rating \(V_{(BR)DSS}\) of the MOSFET must be selected to include a safety margin of \(20\% \sim 30\%\) as follows:

    \[V_{(BR)DSS} \ge 1.25 \times (V_{CC} + V_Z + V_F)\]

    [Design Calculation Example]

    • Supply Voltage: \(V_{CC} = 24\text{V}\)
    • Coil Rating: \(V_{coil} = 24\text{V}, R_{coil} = 600\,\Omega \Rightarrow I_{coil} = 40\text{mA}\)
    • Zener Diode: \(V_Z = 75\text{V}\) (\(V_Z \approx 3.1 \times V_{coil}\))
    • Series Diode: \(V_F = 0.7\text{V}\)

    Peak voltage applied across the switch: \[V_{DS(max)} = 24\text{V} + 75\text{V} + 0.7\text{V} = 99.7\text{V}\]

    Required breakdown voltage with a \(1.25\) safety margin factor: \[V_{(BR)DSS} \ge 99.7\text{V} \times 1.25 \approx 124.6\text{V}\]

    Therefore, an N-channel MOSFET rated for \(150\text{V}\) or higher must be selected as the drive transistor to secure adequate Safe Operating Area (SOA) headroom. If the existing circuit switch rating is constrained to \(60\text{V}\) or \(100\text{V}\), trade-off adjustments are necessary, such as lowering \(V_Z\) (e.g., \(V_Z \approx 1 \sim 1.5 \times V_{coil}\)) or upgrading the switch to a higher-voltage device.

    2. Zener Diode Pulse Power and Energy Dissipation Verification

    The magnetic energy \(E\) stored in the coil inductance at turn-off is given by:

    \[E = \frac{1}{2} L I_{coil}^2\]

    Most of this energy is dissipated as heat in the Zener diode during the extremely brief discharge time (\(t_{decay}\)) immediately following switch turn-off.

    • Instantaneous Peak Pulse Power (\(P_{peak}\)): \[P_{peak} \approx V_Z \times I_{coil}\] In the example above, a peak power of \(P_{peak} \approx 75\text{V} \times 0.04\text{A} = 3.0\text{W}\) is applied. Verify that this provides sufficient margin compared to the non-repetitive peak pulse power (\(P_{PPM}\)) rating of the Zener diode (or unidirectional TVS diode) (typically \(400\text{W} \sim 600\text{W}\)).
    • Average Power Dissipation (\(P_{avg}\)): Where the switching operating frequency is \(f_{sw}\), the continuous power dissipation of the Zener is as follows: \[P_{avg} = E \times f_{sw} = \frac{1}{2} L I_{coil}^2 f_{sw}\] Under typical relay switching conditions (\(f_{sw} < 1\text{Hz}\)), the average power is less than a few mW; thus, standard SMD Zener diodes rated at \(500\text{mW} \sim 1\text{W}\) easily ensure thermal stability.

    Design Decision Summary: Relay Protection Circuit Topology Selection Guide

    The selection of a relay coil surge suppression circuit is a clear engineering trade-off between minimizing circuit cost and switch voltage stress versus preserving relay release speed and contact lifespan.

    1. Protection Circuit Topology Comparison Matrix

    Parameter / Feature Single Flyback Diode Diode + Zener Clamp Parallel Resistor / RC Snubber
    Discharge Loop Voltage (\(V_{clamp}\)) \(V_F \approx 0.7\text{V}\) (Extremely low voltage) \(V_Z + V_F\) (Designer configurable) \(I_{coil} R\) (Large initial voltage spike)
    Relay Release Delay (\(t_{release}\)) Very High (2~5x delay) Very Low (Restored to unprotected baseline) Moderate delay
    Contact Arc & Lifespan Impact Increased arc duration \(\rightarrow\) welding risk Rapid arc quenching \(\rightarrow\) contact lifespan preserved Moderate
    Switch Voltage Stress (\(V_{DS}\)) \(V_{CC} + 0.7\text{V}\) (Lowest stress) \(V_{CC} + V_Z + V_F\) (Higher switch voltage rating required) \(V_{CC} + I_{coil} R\)
    Component Count & Cost 1 diode (Lowest cost) 1 diode + 1 Zener (Moderate) Resistor / capacitor (Moderate)
    Recommended Applications Non-critical signal relays, light-load switching Power relays, inductive/inrush loads, high-reliability control AC relay coil control

    2. Practical Hardware Design Checklist

    1. Verify Steady-State Coil Current: After calculating \(I_{coil} = V_{coil} / R_{coil}\), confirm that the diode’s \(I_{F(AV)}\) and \(I_{FSM}\) are equal to or greater than \(I_{coil}\).
    2. Verify Reverse Voltage Margin: Ensure that \(V_{RRM}\) of the single diode or series diode meets at least \(V_{RRM} \ge 2\sim 3 \times V_{CC}\) (\(10 \times V_{CC}\) in harsh environments).
    3. Select Topology Based on Load Characteristics:
    4. When switching high-power or inductive loads such as motors, solenoids, heaters, or power rails, adopt the diode + Zener clamp topology as standard to preserve contact lifespan.
    5. Consider a single flyback diode only for simple indicators or low-power resistive loads where bill-of-materials (BOM) cost must be minimized aggressively.
    6. Align Zener Voltage and Switch Breakdown Margin:
    7. Set the Zener voltage to approximately \(V_Z \ge 3 \times V_{coil}\).
    8. Verify that the low-side MOSFET breakdown voltage satisfies \(V_{(BR)DSS} \ge 1.25 \times (V_{CC} + V_Z + V_F)\).
    9. Evaluate Zener Surge Pulse Power: Confirm that \(P_{peak} \approx V_Z \times I_{coil}\) is within the allowable non-repetitive peak pulse power rating of the Zener or TVS diode.