For any electrical control system, input signals of both voltage and current are critical for the system to operate according to the intended design and in a safe manner. In power supplies and motor drives, for example, current is measured for control (like peak-current mode or average-current mode control in power converters), protection (like short-circuit overcurrent protection), and data-logging purposes.