Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
LinkBack Thread Tools Display Modes
Old 5th April 2008, 07:54 PM   (permalink)
Default Simple relay circuit getting noise spike form AC line

I have a simple relay circuit which consists of a 12v DC coil relay switching a 110v AC motor load. The relay is controlled by a pic through a ULN2803 Darlington array and there is also a 1N1004 diode across the relay coil to snub the flyback voltage from the coil.

The problem I have is when I switch the relay the AC load causes some sort of noise or interference which travels all the way back to the Pic and locks it up. This noise can happen both when I turn the motor on and when I turn the motor off. The motors are small 20 watt motors.

So what can I do to filter or suppress or eliminate this noise? What exactly is this noise?

One more thing, when I switch the relay with no AC load it works fine, it also works fine with resistive loads such as lights.


Thanks to all.
creichard is offline  
Old 5th April 2008, 08:54 PM   (permalink)
Default

Do you have a 100nF capacitor connected across the supply pins?
__________________
I also post at the following sites:
http://www.stop-microsoft.org http://www.heated-debates.com
Screen name: Aloone_Jonez
Hero999 is offline  
Old 5th April 2008, 09:17 PM   (permalink)
Default

No I do not. Should there be a capacitor across the supply pin of the relay coil?
creichard is offline  
Old 5th April 2008, 09:19 PM   (permalink)
Default

Also a zero crossing circuit might help.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Old 5th April 2008, 11:43 PM   (permalink)
Default

Most improtant for me is if someone can help me understand what is happening in the circuit. Why does the AC load effect my DC circuit when there is no direct connection between the two. And why does it only seem to be happening on motor loads?

For crying out loud, I am just switching a relay, what is going on here???

thanks again
creichard is offline  
Old 6th April 2008, 02:07 AM   (permalink)
Default

Inductive EMF switching loads can be a very noisy affair. Proper power decoupling is a must.

PS the 0.1uf go across every digital IC power pin pair.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Old 6th April 2008, 12:30 PM   (permalink)
Default

A snubber network across the motor might also help but if you've not got a 100nF capacitor across the supply pins of the PIC then you're asking for trouble.
__________________
I also post at the following sites:
http://www.stop-microsoft.org http://www.heated-debates.com
Screen name: Aloone_Jonez

Last edited by Hero999; 6th April 2008 at 12:33 PM.
Hero999 is offline  
Old 7th April 2008, 03:37 AM   (permalink)
Default

Quote:
Originally Posted by creichard
So what can I do to filter or suppress or eliminate this noise? What exactly is this noise?
The short answer is that you need to filter out all the noise. Get rid of as much as you can at the motor and at the relay contacts. Better get as much as possible at the source. Then filter the power supply to the control electronics. Then filter some more right by the chip. Then pray that everything works.

Learn and understand differential and common mode noise and how to prevent them with differential and common mode filters. You will see these installed at the input of many electronics and you can salvage them and reuse them.
HS3 is offline  
Old 7th April 2008, 05:46 PM   (permalink)
Default

Quote:
Originally Posted by HS3
The short answer is that you need to filter out all the noise. Get rid of as much as you can at the motor and at the relay contacts. Better get as much as possible at the source. Then filter the power supply to the control electronics. Then filter some more right by the chip. Then pray that everything works.
Yes. The three magic words are filter, filter, filter. Switching an inductive motor load not only causes power line noise, but can also radiate high frequency noise into sensitive circuits.

Is the PIC decoupled to a ground plane on a circuit board? It should have a power supply decoupling capacitor with short leads right at the power pins(preferably surface mount). Also try a small decoupling capacitor (say 0.01uF) with short leads across the relay coil.

And physically separating the motor and relay from the PIC as much as possible may help.

If all else fails you can try putting the PIC in a metal box with feedthrough filters for all lines.
crutschow is online now  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Stumped on a circuit, ideas to replace relay??? fat.tony General Electronics Chat 3 31st March 2008 05:12 PM
Relay Driver circuit Deedee Electronic Projects Design/Ideas/Reviews 4 21st March 2008 01:58 AM
EFI Fuel Circuit akajee General Electronics Chat 2 17th January 2007 07:45 AM
simple Time delay relay circuit Fletcher Electronic Projects Design/Ideas/Reviews 3 14th October 2003 03:05 AM
noise canceling circuit birddog Electronic Projects Design/Ideas/Reviews 4 11th September 2003 02:37 AM



All times are GMT. The time now is 07:05 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker