A Versatile ± 25-A Shunt-Based Current Sensor With ± 0.25% Gain Error From − 40 ∘ C to 85 ∘ C