Main Content

Current Sensor

Current sensor in electrical systems

  • Current Sensor block

Libraries:
Simscape / Foundation Library / Electrical / Electrical Sensors
Simscape / Electrical / Sensors & Transducers

Description

The Current Sensor block represents an ideal current sensor, that is, a device that converts current measured in any electrical branch into a physical signal proportional to the current.

Use the + and - ports to connect the sensor in series with the other blocks in the branch where you want to measure the current. Port I outputs the measurement result as a physical signal. Use a PS-Simulink Converter block to connect this port to Simulink® blocks, such as Scope or Display.

Examples

Ports

Output

expand all

Physical signal output port for the electrical current measurement.

Conserving

expand all

Electrical conserving port associated with the sensor positive terminal.

Electrical conserving port associated with the sensor negative terminal.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2007a