Electronic – Relay voltage spikes

relaysurge-protection

I'm using a 5V relay to control wall AC socket to power up whatever AC appliance I could think of. But for the sake of testing I'm using 45W fan. For that purpose an AC/AC transformer (240VAC to 6VAC and later rectified and regulated to 5VDC) and wall socket are fed from the same mains socket.

The problem is that when the relays are engaged or disengaged it causes a voltage spike which can be heard through speakers attached to the same mains socket. What can I do to suppress these spikes, considering that in an extreme situation I might plug-in a 240VAC at 16A appliance going through the relay?

Best Answer

There are 2 devices that can generate spikes.

  1. The relay coils. The diodes in anti-parallel will help suppress the spikes when the relays are turned off (The stored energy in the magnetic field is converted back into voltage/current causing a spike that may be inductively and capacitively coupled back in to the mains). Assuming these are DC relays, feed by DC this could be a good solution But may still need filtering.

  2. The motor of the fan and the contacts of the relays. Here the motor can be switched on at any point in the mains cycle. If the relays close or open when the maximum current is being drawn you have a similar situation as turning off the relay coils. (The stored energy in the magnetic field is converted back into voltage/current causing a spike that is conductively and may be inductively and capacitively coupled back in to the mains) The solution is to switch at the zero point in the mains cycle. +1 @Brain Drummond comment for devices to search for that can use Zero Point Crossing ( zero crossing switch, or zero crossing SSR (Solid State Relay) )

Keeping the current loops as small as possible and moving cables away from noisy circuits can also help depending on how sensitive the audio equipment is.

After that it is inductors ,resistors and capacitors to construct filters to damp any spikes left.