I am preparing to layout a PCB. I have an ACS723, that I want to use to sense the current going through a relay. In addition to the relay I have a Meanwell IRM-12-20 to supply ac to dc voltage to the board.
According to the ACS app note:
The ACS723 works by sensing the magnetic field created by the current flowing through the package. However, the sensor cannot differentiate between fields created by the current flow and external magnetic fields. This means that external magnetic fields can cause errors in the output of the sensor.
Since the ACS will be detecting mains voltages, and that I want to have enough spacing between the high and low voltage sides of the circuit, the layout I had in mind restricts the placement of the ACS.
Overall, I am curious as to whether or not close physical proximity to either the AC/DC converter or relay will cause enough interference wrt the ACS readings?
Here is a partial of what I have come up with to give you an idea of the current layout.