expert_vision
Junior Member level 3
- Joined
- Dec 5, 2012
- Messages
- 26
- Helped
- 3
- Reputation
- 6
- Reaction score
- 3
- Trophy points
- 1,283
- Activity points
- 1,506
Noise due to ground coupling
I am trying to measure the current in the mains trough a shunt resistor by amplifying the voltage across it with an op amp and feed it into a microcontroller's ADC, like in the schematics below.
If I connect a high impedance load in the mains everything is OK, but if I connect a low impedance one, the uC resets due to huge spikes in the ground, no matter how much I try to stabilize the Vcc at the uC.
How to filter this huge spikes coming through the ground from the mains when a load is connected?
I am trying to measure the current in the mains trough a shunt resistor by amplifying the voltage across it with an op amp and feed it into a microcontroller's ADC, like in the schematics below.
If I connect a high impedance load in the mains everything is OK, but if I connect a low impedance one, the uC resets due to huge spikes in the ground, no matter how much I try to stabilize the Vcc at the uC.
How to filter this huge spikes coming through the ground from the mains when a load is connected?