Switching off relays is fun
! Especially with inductive loads. All sorts of funny business can occur.
Including but not limited to:
1. Dips when turning on the coil.
2. Spikes when turning off the coil.
3. Noise when closing high current path.
4. Spikes when opening inductive current path (like a motor or compressor "hint hint")
5. Spikes from 2 or 4 coupled onto nearby wires or boards.
6. Physical shock due to relay triggering a faulty solder joint.
7. Physical shock of compressor rattling the relay contacts.
Think of anything,
relays are evil.
For 1. you must spice up you supply.
For 2. you can add snubbers on the coil. DC relays have diodes for this. If you have proper diodes (not from eBay) you'll probably be fine.
For 3, yeah... inrush current limiters or shielding perhaps. I'm not sure.
For 4, fit surge supressors on the load.
For 5, shielding shielding shielding. If all else fails, add a low impedance path to ground with some Y-caps somewhere. So that the spike does not have to go
all the way over your board to the supply of the board.
For 6 and 7, relays are evil.