Hi everyone,
I’m testing a custom STM32-based control board that reads a pressure sensor through the ADC. The readings are stable until a relay energizes, then the ADC value shifts noticeably for a few milliseconds before settling again.
The relay coil is powered from the same 12V input, and the MCU uses a 3.3V regulator. I already added software averaging, but it only hides the symptom.
My questions:
I’m testing a custom STM32-based control board that reads a pressure sensor through the ADC. The readings are stable until a relay energizes, then the ADC value shifts noticeably for a few milliseconds before settling again.
The relay coil is powered from the same 12V input, and the MCU uses a 3.3V regulator. I already added software averaging, but it only hides the symptom.
My questions:
- Would this be caused by supply dip, ground bounce, or EMI from the relay coil?
- Is adding more local decoupling near the MCU ADC pins usually enough?
- On the PCB side, should relay current return paths be completely isolated from analog ground areas?