switching ac motor from MCU

Thread Starter

mah

Joined Mar 15, 2010
393
hi
I desinged a pcb with 1000uf on regulator input and 100 nf on its output, there is also 100nf connected the MCU VCC close to it. the circuit is working fine with dc motor and ac lamp but the problem appeared when i connected small ac motor(grill motor). it disturbed the MCU code and take random actions and disturb external interrup
 

LesJones

Joined Jan 8, 2017
4,511
I suggest connecting a contact suppressor such as this across the set of contacts that switch the supply to the motor. If the motor is a series wound (Universal) type then adding a capacitor of about 100nF (X rated and a suitable voltage rating for the mains supply in your country) directly across the brushes should help.

Les.
 
Last edited:

MaxHeadRoom

Joined Jul 18, 2013
30,654
Ensure the DC power is sufficiently decoupled with capacitors and also a .1μf close to MCU power.
Do you have the frame of the motor earth grounded?
If you still get random interference after fitting snubbers, you could try earth grounding the MCU supply if operating in a country that uses this type of service.
Max.
 

LesJones

Joined Jan 8, 2017
4,511
That is an induction motor (Probably shaded pole.) so it will not have any brushes to generate interference. (So there is no need for a capacitor in parallel with it.)

Les.
 

Thread Starter

mah

Joined Mar 15, 2010
393
what will the suppressor do? and what is its alternative if i didn't find it?
how does contacts affect the MCU circuit?
 

Thread Starter

mah

Joined Mar 15, 2010
393
Ensure the DC power is sufficiently decoupled with capacitors and also a .1μf close to MCU power.
Do you have the frame of the motor earth grounded?
If you still get random interference after fitting snubbers, you could try earth grounding the MCU supply if operating in a country that uses this type of service.
Max.
0.1uf ceramic capacitor ?i already put capacitors close to MCU
i don't have earth.
 

MaxHeadRoom

Joined Jul 18, 2013
30,654
That is a AC synchronous motor and they generally are extremely quiet, electrically speaking.
Is it while the motor is running or just when switching?
Max.
 

MaxHeadRoom

Joined Jul 18, 2013
30,654
The amount of current in switching that motor should be really trivial.
Have you placed small C or RC snubbers across the relay contacts?
Max.
 

LesJones

Joined Jan 8, 2017
4,511
Switching an inductive load (The motor.) can generate radiated electrical interference which can effect the MCU. The suppressor in the link is just a 100 nF capacitor in series with a 100 ohm resistor. If you make one then the capacitor must be X rated for that sort of application.

Les.
 

MaxHeadRoom

Joined Jul 18, 2013
30,654
The WIMA MKP/FKP metalised paper are often used for snubber apps.
Voltage rating above what it will be subjected to.
Connect across the N.O. contacts.
Max.
 

Attachments

Thread Starter

mah

Joined Mar 15, 2010
393
I connected 100nf in series with 100ohm across common and NO. the problem is still existed when i connect input to the relay board
 

MaxHeadRoom

Joined Jul 18, 2013
30,654
What is the current of the motor? Probably Ma's You could look at a small SSR to do the switching.
The Opto22 modular types would be in this current range, Opto used to show the internal details for them which would enable you to build, if you so wished, If you cannot find it I can post them.
DC 5v in, AC output.
Max.
 

Thread Starter

mah

Joined Mar 15, 2010
393
i think the disturbance is little frequent may be it is the random action. i think motor current is small. Is there any other solution?
 
Top