The Toshiba Photocoupler TLP7920 of isolation amplifiers is designed for current sensing in electronic motor drives. In a typical implementation, motor currents flow through an external resistor and the resulting analog voltage drop is sensed.
Motor phase and rail current sensing Power inverter current and voltage sensing