Current sensors are a challenge due to noise as you need to grab PWM signals. I am doing 2 things here: I am grabbing both current sensing and ground from the same place. directly on each side of the shunt. The EDA I use will try to include this in a ground plane, so I…