Relay noise resets microcontroller

Status
Not open for further replies.
it happenss
you need to put an MOV across the contact . say , if you are using it for 230V, then MOV could be 250V . otherwise and R-C series network acoss the contact would act like spark quench.with R at 1K 1 watt and C at 0.047/600V
 
Hello sarma

I tried putting an MOV but it doesnt solve the problme.
The RC snubber I used is 10 ohms and 33nf/630V.
Other RC values were useless.
 
As an experiment, can you run your relay circuit on a separate supply?

Yes I did that and it runs fine..
I also tried using a TRIAC driven by an MOC3021...i used RC snubbers across the TRIAC,but this too created the same problem.
The MCU will take a long time to detect an IR waveform (which is what i am doing).

On a pure DC it works fine
 
You have proved that running seperate supplies solves your problem, so it would then make sense that you know where your trouble is. Zener diodes do not make good regulators, Perhaps if you had a myriad of capacitors on your zener you may solve your woes. A regulator will eliminate all your problems I think. Yes LDO is expensive, but how much is your time worth?
 
You didn't just swap the diodes for the zener did you? Cause it's not going to regulate properly setup like that.
 
You didn't just swap the diodes for the zener did you? Cause it's not going to regulate properly setup like that.

Oh no

5V __/\/\/\/\____________ 3.3V
|
-----
/\
---
|
|
-----
--- GND
-

theres also a capacitor acros the zener

(the zenere is after the resistor)
 
Last edited:
ick, eek, ack, gadzooks. I told ya how to solve your problem, if you want to try a cheap way out, then I give up...
 
Ok Now I rechecked the whole thing on a 12V Battery generated DC.

When I connect a SMPS load (non linear) to the relay...it behaves erratically (as was the case with the unisolated PSU ,i had mixed things in my mind and apology for that )

So its not the problem with the PSU.

The ckt detects an IR wave from a remote ,decodes it and takes appropriate action on successfull compare..

When a Lamp load is put on the relay,it works flawlessly...The problem arises on non linear loads..The ckt takes number of key presses for a succesfull compare..

I am really confused

Please help guys
 

Have you ignored everything I posted? I guess it is not what you want to hear, but it you want to do it right, follow my advice, else, keep searching for a band aid solution. I am sure there is one, but I never was forced to design with minimal cost. What you need is a low cost alternative to an LDO, and sadly I do know what that is.

Good luck.
 

Hello and thanks for being patient on this with me

I will check with an LDO..I have an MCP1700 with my component supplier..

Thanks again
 
Hello I just have this doubt again.Please bear with me..

If there was a problem with the 3.3V supply,then why is the problem not sustained on a lamp load and why is it visible with non-linear loads?

If it was the sag on the Vcc then it should occur on No-Load condition too,when the relay switches!

I am only having a hard time understand this
 
Hello

After adding an LDO...the problems didn't seem to go away so I played around with the RC snubber across the relay contact (that seemed to be the problem)

I found that a larger time constant supresses noise substantially on the neutral path...

I have reached a value of 680ohms/3W and 2 capacitors effectively 66pf/630V at which theres NO problem at all..
 
Well, congrats on fixing your problem. I suspect you had a few problems, and you fixed them both. A good test would be to keep your current configuration and revert back to the diode regulator, if that works then you can yell at me for getting you to fork over the cash for an LDO...
 

Currently I am using the Zener Diode after testing it with the LDO and am happy with that..

I can never yell at you though

All help appreciated!!!!!!

Lets hope I dont run into more problems henceforth
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…