Electronic – Protecting digital electronics from nearby high voltage sparks

coronaelectrostaticemi-filteringhigh voltagemicrocontroller

I am controlling a high voltage power supply to generate corona discharge. To switch it on and off I am using an AC relay controlled by a microcontroller as shown in the figure.

enter image description here
The controller switches the power supply on for one minute and than shuts it down for 10 seconds.

Now the problem which I am facing is that sometimes during corona discharge there are sparks and when ever it sparks the microcontroller restarts(I know this because when it boots the LEDs blink on the board) and the HV power supply turns off before that one minute duration.

I tried putting the micro and the relay inside a Faraday shield and grounded everything but it does not seems to work. Also, other thing I noticed is that whenever I removed the relay and drive the HV power supply without the microcontroller the sparks have no effect on the controller.

Any suggestions on how to use the HV power supply with the microcontroller and protect it from the sparks?

Best Answer

It looks like your problem is the wire that runs relay to HVPSU. That wire conducts the interference straight in to the supposedly screened region.

If you must have a galvanic connection through the Faraday screen, then take it in through a feedthrough filter.

It's not clear from your diagram what the relay is doing to the HVPSU. It has only a single wire drawn. Where does the return current flow, and is it amps, to power the PSU, or mA, to trigger it? If you want the Faraday screen to work, then it should flow back to the screen at the filter, in a small loop that doesn't magnetically couple to the MCU.

You might be better off simply coupling the MCU to the relay with an opto-coupler. That might be sufficient. If it's not, then reinstate the Faraday screen, with the hole in it bridged by the opto.