Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

switching magnetic contactors

Status
Not open for further replies.

prasad70

Member level 3
Joined
Mar 24, 2011
Messages
67
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Activity points
1,690
I am using 12F675 to switch on two magnetic contactors which are connected to two air conditioners. PIC detects the status of two inputs pins connected to remote thermostats (One is MCLR pin configured as i/p) and swich air con accordingly. I have used two NPN transistors to swich on two relays and N/O of those two relays drive the 230V contactors.

When contactors are not connected, circuit performs well but when I connect two contactors, PIC stuck when one of contcators is energized. Can some please explain possible causes for this ?


thk
 

prasad70

Member level 3
Joined
Mar 24, 2011
Messages
67
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Activity points
1,690
yes. I have put protecting diods to supress back emf of coils.
 

xxtigerxx

Advanced Member level 1
Joined
Jun 5, 2001
Messages
444
Helped
38
Reputation
76
Reaction score
32
Trophy points
1,308
Location
Greece
Activity points
2,901
you can also use tranzil at the voltage of the mcu and one coil for filtering
 

prasad70

Member level 3
Joined
Mar 24, 2011
Messages
67
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Activity points
1,690
sorry. can you pls explain it little bit.
Is there a way to switch pic to programming mode due to a voltage spike on MCLR pin and to any change of its program to happen ?

Can some please explain?
 

Wafeeq

Member level 3
Joined
Jul 26, 2010
Messages
61
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
Pakistan
Activity points
1,728
when i switch OFF magnetic contactors my LCD got noisy? why?
 

barry

Advanced Member level 5
Joined
Mar 31, 2005
Messages
5,267
Helped
1,129
Reputation
2,270
Reaction score
1,136
Trophy points
1,393
Location
California, USA
Activity points
28,829
Everything is pointing to an inductive spike causing your problem. Have you looked at your processor inputs with a scope?
 

xxtigerxx

Advanced Member level 1
Joined
Jun 5, 2001
Messages
444
Helped
38
Reputation
76
Reaction score
32
Trophy points
1,308
Location
Greece
Activity points
2,901
Check also the PCB also, if some noisy tracks goes to close to the mcu.
 

prasad70

Member level 3
Joined
Mar 24, 2011
Messages
67
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Activity points
1,690
Another observation I could make was that temperature of micro controller went up during it's operation was stuck. Once I gave a power reset, its operation became normal.
When I disconnected the magnetic contactor coils, whole operation performed well.

Can PIC microcontrllar swicth to unknown state due to a magentic field effect or due to a voltage spike on it's pins.
 

barry

Advanced Member level 5
Joined
Mar 31, 2005
Messages
5,267
Helped
1,129
Reputation
2,270
Reaction score
1,136
Trophy points
1,393
Location
California, USA
Activity points
28,829
I think something bad happened to this server, because my last post didn't make it.

Anyway, the fact that your uP is heating up is yet more evidence that you are getting an inductive spike. When CMOS circuits get a high-voltage spike, a parasitic SCR can turn on, causing a lot of current to flow, which will generate heat. When the power is removed, the SCR turns off and, hopefully, nothing has been damaged.

---------- Post added at 00:16 ---------- Previous post was at 00:16 ----------

I think something bad happened to this server, because my last post didn't make it.

Anyway, the fact that your uP is heating up is yet more evidence that you are getting an inductive spike. When CMOS circuits get a high-voltage spike, a parasitic SCR can turn on, causing a lot of current to flow, which will generate heat. When the power is removed, the SCR turns off and, hopefully, nothing has been damaged.
 

prasad70

Member level 3
Joined
Mar 24, 2011
Messages
67
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Activity points
1,690
I put a 0.1 micrF cap with a 100ohm resister across the relay contacts and problem disspeared. Thanks a lot for your explernations
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top