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 474 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…
Parents
  • 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
  • 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
Reply
  • 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
Children
  • 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
  • KennyMillar
    0 KennyMillar over 15 years ago in reply to Catwell

    Well, yes, thats a whole load of theory there.

     

    In practice, one needs to find a balance between cost and complexity - and find a solution which is cost effective, whilst at the same time providing a measured approach to protection.

     

    I'm not denying that the research in these docs is valid and true, but one needs to design to a level which provides an acceptable level of protection, not necessarily FULL protection.

    • 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,

     

    Thanks for the articles, they were really informative. I do think some clarification is in order, as you can see the oscilloscope plots look nothing like the one you obtained so like enrico mentioned it's likely your probes were picking up some sort of interference.

     

    As you can see in the oscilloscope plots and the articles provided both the reverse rectifier diode and reverse rectfier diode with zener suppress the transient voltage spike successfully. The disadvantage of using just the single diode is that it takes a long time for the CONTACTS not the coil to de-latch which can cause the tack soldering effect. The addition of the Zener diode forces the coil inductance to build up a greater voltage that wil increase the current flow once the diodes breakdown. This translates to a faster response from the contacts hence no welding effect.

     

    I think the zener/rectifier solution is still a pretty cheap solution so I don't think it would be a big issue to use it as the standard suppresion method.

     

    Thanks again for the articles.

     

    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

    A friend of mine had a problem with relays a long time ago, and it was all due to the coil discharging. Adding a single diode helps, but only block half of the wave form. Since it ocillates in both the positive and negative. I am thinking this zener solution might at least clamp the issue.

     

    Or just go with a transorb. The bidirectional one acts as two opposing zener diodes and block current in both directions. Where the text book solution of one diode only block one direction.

    Picking a transorb with a low breakdown voltage might do the trick best.

     

     

    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