Shunt resistor stabilises AC, DC sensing