Author Topic: Eliminating earth switching noise  (Read 1035 times)

0 Members and 1 Guest are viewing this topic.

Offline lmagalhaesTopic starter

  • Contributor
  • Posts: 43
  • Country: pt
Eliminating earth switching noise
« on: October 08, 2021, 10:44:49 am »
Hi there,

I have a PCB that has relays to turn on a pump motor, some electrovalves and a heating element inside a water heater. To detect the water level inside the water heater, I have a simple AC detection circuit that I copied from another PCB:



The ground of my circuit is connected to earth because the water heater is connected to it as well. However, here's the issue: When I turn any of the electrovalves (230VAC) or the water pump, there's high frequency noise on the power rails. The microcontroller was resetting and going into some weird states on those ocasions. I tried adding some 11pF capacitors in parallel with the capacitors on the voltage regulators, which dampened the effect but the microcontroller was still going crazy sometimes. After removing the earth connection, the water level detection doesn't work but there is no more noise on the voltage rails and everything is back to normal. How do I stop this ? Does adding a ferrite bead with a roll off frequency well above the PWM frequency be enough for this ? And how do I even choose the specifics of that ferrite?
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 17167
  • Country: us
  • DavidH
Re: Eliminating earth switching noise
« Reply #1 on: October 08, 2021, 06:30:10 pm »
Can you connect the circuit ground to the same ground as the water heater?

If you have an oscilloscope, use two channels to measure the difference between the two grounds.
 

Offline lmagalhaesTopic starter

  • Contributor
  • Posts: 43
  • Country: pt
Re: Eliminating earth switching noise
« Reply #2 on: October 10, 2021, 09:30:39 pm »
The water heater ground is Earth. That's why I'm connecting the circuit ground to Earth as well, but that makes me catch the switching noise =\
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 17167
  • Country: us
  • DavidH
Re: Eliminating earth switching noise
« Reply #3 on: October 11, 2021, 12:29:10 am »
But they connect to different spots in the distribution box if they are different distribution circuits, and maybe there is a wiring error.  The usual solution when ground noise is suspected is to make sure all of the loads are operating off of the same distribution circuit with the same ground.
 

Offline gogoman

  • Regular Contributor
  • *
  • Posts: 123
Re: Eliminating earth switching noise
« Reply #4 on: October 29, 2021, 12:22:33 pm »
Hi there,

I have a PCB that has relays to turn on a pump motor, some electrovalves and a heating element inside a water heater. To detect the water level inside the water heater, I have a simple AC detection circuit that I copied from another PCB:



The ground of my circuit is connected to earth because the water heater is connected to it as well. However, here's the issue: When I turn any of the electrovalves (230VAC) or the water pump, there's high frequency noise on the power rails. The microcontroller was resetting and going into some weird states on those ocasions. I tried adding some 11pF capacitors in parallel with the capacitors on the voltage regulators, which dampened the effect but the microcontroller was still going crazy sometimes. After removing the earth connection, the water level detection doesn't work but there is no more noise on the voltage rails and everything is back to normal. How do I stop this ? Does adding a ferrite bead with a roll off frequency well above the PWM frequency be enough for this ? And how do I even choose the specifics of that ferrite?


hello Imagalhaes, would you mind providing some insight regarding how the circuit detects water level?
thanks gogoman
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf