If it’s DC, the easiest way is to use a shunt resistor and measure the voltage across it, and for AC you could use a current transformer. But the advent of the Hall-effect sensor has provided us ...
high-bandwidth current sensors that don’t require any external isolation components. The company’s NSM211x series is designed for applications ranging from onboard-charger/DC-DC converters ...