element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Embedded Forum Design Challenge : relay spike protection
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 15 replies
  • Answers 1 answer
  • Subscribers 475 subscribers
  • Views 5250 views
  • Users 0 members are here
  • embedded
  • development
  • relay
Related

Design Challenge : relay spike protection

Catwell
Catwell over 15 years ago
This is a common problem with relays. The relay coil acts like an inductor when power is removed, and it sends a spike of power back into your circuit. And let's say you are originally putting 5V through the coil. When the power is removed, in some cases, the coil could send a spike of any level, even in the range of 400V, back into your circuit. And the problems cause by that are many, from burning out circuitry to tremendous electromagnetic interference.
 
 
I have seen spikes that oscillate between hundreds of volts positive and negative. Like below:
 
image
The challenge is to eliminate the problem in the cheapest way, with as few components as possible. Let's just say space and money are scarce for this project. And the relay is connected to very sensitive circuitry.
 
 
Use the relay drawing here to draw your ideas.
image
The relay drawing here has NC & NO contacts.
 
Cabe
Attachments:
image
  • Sign in to reply
  • Cancel

Top Replies

  • Catwell
    Catwell over 15 years ago +1
    Besides feedback and EMI, not suppressing transient spikes in relays reduces the life of the contacts significantly. Like welding, metal is deposited from one contact to another. In extreme cases, the…
  • Zad
    0 Zad over 15 years ago
    Am I missing something here? The usual way is to put a 1N4001 or similar diode reverse biased across the relay coil.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • akaka
    0 akaka over 15 years ago

    Yes yes yes!!!

    Mike you are right! Some times there isn't 1N4001 diode and there is mostly 1N4007 diode in trade!

    I forgot to emphasize the reverse polarity!!!

     

    Chris

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Catwell
    0 Catwell over 15 years ago in reply to Zad

    Mike,

     

    The problem with just a diode is you only suppress half of the transient wave form.

     

    I have tested relays that were diode protected, and I still get intense interference. In fact, the signals were so strong that it would disconnect my mouse from the computer it was connected to.

     

    Cabe

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Jorge_Garcia
    0 Jorge_Garcia over 15 years ago in reply to Catwell

    Hi Cabe,

     

    Could you give us more details as to how you are actuating this relay? Mike's diode recomendation is the textbook way to handle this problem and it's usually not serious you just have to make sure the diode can handle the current of the coil.

     

    Perhaps, there is some detail that we are not aware that would make this solution fail, how are you measuring the waveform? Is the relay AC or DC actuated?

     

    If you let us know we may be able to figure this out.

     

    Best Regards,

     

    Jorge Garcia

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Catwell
    0 Catwell over 15 years ago in reply to Jorge_Garcia

    For the sake of example, I'll use the one I noticed this problem on:

     

    24 VDC control voltage

     

    I watched the transient wave form on an oscilloscope.

     

    Cabe

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Jorge_Garcia
    0 Jorge_Garcia over 15 years ago in reply to Catwell

    Hi Cabe,

     

    This is interesting. The textbook solution to this problem is to place a diode reverse parallel just like Mike mentioned and I know it works because I've used it myself. The waveform used has to be taken with a grain of salt for a few reasons. If you place a diode like mike has mentioned you won't get any ringing(maybe a little but nothing like the waveforms your seeing) because the diode will provide a path for the inductor current to dissipate hence the inductor voltage isn't going to sky rocket trying to maintain current flow.

     

    I can't think of a way to test it, but I think that the waveforms your obtaining have something to do with your scope. Nothing inherently broken with your scope but just thinking about the front end of the scope. We generally model an ADC as a parallel resistor capacitor combination, when you connect this in parallel with the inductor you effectively obtain a resonant circuit which I think accounts for the waveforms your seeing.

     

    I've included a PDF which I think should clear things up a bit, however the only way to know is to test the hypothesis and I can't think of any way to do that.

     

    For sure, the solution to your problem is a diode in the arrangement previously mentioned it does work, none of your components will overheat or suffer any un due stress.  We just need to find a way to explain the results your getting.

     

    hth,

     

    Best Regards,

    Jorge Garcia

    Attachments:
    imageResponse for Cabe.pdf
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Zad
    0 Zad over 15 years ago in reply to Jorge_Garcia
    Dave Jones has a blog with a good example of ringing generated in the oscilloscope probe: http://www.youtube.com/watch?v=sUG_sjS67K4
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • KennyMillar
    0 KennyMillar over 15 years ago in reply to Catwell

    One possible solution would be to alter the drive you are using to power the relay coil.

    I can't see why the 'industry solution' of the reverse diode protection doesn't work for you, but hey ho.

     

    I know you've seen the voltage oscillation on the oscilloscope, and i think that the diode will protect against the reverse current and the forward current will be so small (current, not voltage) as to be a non issue.

     

    However, you could drive the relay using something like a ULN2003 (for more than one relay) or a darlington plus reverse diode for single relays - the darlington will sniff it's nose at any risidual current.

     

    Finally, make sure you are not exceeding the rating of the diode switch contacts, and therefore setting up more current, and therefore a bigger magnetic field, than the relay is designed for.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Catwell
    0 Catwell over 15 years ago
    Besides feedback and EMI, not suppressing transient spikes in relays reduces the life of the contacts significantly. Like welding, metal is deposited from one contact to another. In extreme cases, the contacts completely fuse together. Using a single diode suppressor, text book answer, will still let this effect occur.


    This is an excerpt from a Tyco Electronics technical support document:
    Many engineers use a rectifier diode alone to provide the transient
    suppression for relay coils. While this is cost effective and fully eliminates
    the transient voltage, its impact on relay performance can be devastating.
    Problems of unexplained, random "tack welding" frequently occur in these
    systems. In some applications, this problem is merely a minor nuisance
    or inconvenience and the controller or operator will cycle the relay until
    the proper response is obtained. In many applications; however, the first
    occurrence may cause a complete system failure or even present a
    hazardous situation. It is important that these systems be designed with
    another method of relay suppression.
     
    image
    In the above figure you can see the current ripple after the deenergizing of the coil. This is the result of the magnetic restraining force fighting against the relay's spring opening force, or the slow decay of magnetic flux in the relay contacts. This shows the momentary welding effect.
     
     
    The Tyco document continues:
    The use of a reversed-biased rectifier diode in series with a zener diode
    will provide the best solution when the relay can be polarized. This
    suppression is often recommended by Siemens Electromechanical
    Components (SEC) for use in automotive circuits. The impact on release
    dynamics is minimal and poses no loss of reliability. This is normally a
    low-cost method and the only design precaution is to select a zener with
    an appropriate breakdown voltage and impulse power specifications
    adequate for the relay in its application. In printed circuit board applications
    with transistors used as relay drivers, the zener diode can be placed "across"
    the transistor; that is, for a common emitter circuit, cathode connected to
    collector and anode connected to the emitter (the series rectifier diode is
    not used in this type of circuit).
     
    image
    Adding a zener diode limits the relay coil's switch voltage closer to the switch rating. So one can effectively suppress enormous voltage spikes and avoid contact welding with little money and added complexity. See above


    I am adding the documents I found on the subject explaining in detail all the issues with relays. I recommend reading all of them and make all the practices, there in, standard in your designs.


    Cabe
    Attachments:
    imageslac-tn-65-052.pdf
    image125.pdf
    image13c3311.pdf
    image13c3264.pdf
    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Catwell
    0 Catwell over 15 years ago in reply to KennyMillar

    Kenny,

     

    When you disengage the relay, no matter what you drive it with, the coil deenergizes causing a massive spike larger than anything you planned for it. See the reply post I did on the subject. The documents attached explain everything.

     

    Cabe

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube