CSR - Current sensor

The CSR block is a simulation model included in the Imperix Power library. It implements the model of the imperix current sensor CSR-25-HBW and DIN50A in Simulink and PLECS simulation.

For more information regarding the Imperix Power library, please read Getting started with Imperix Power library.

Modeling of CSR

The CSR model has two modeling levels:

  • (A) Simple
  • (B) Detailed

A generic sensor can be approximately modeled by an ideal sensor in series with an optional first-order Low-Pass Filter (LPF). The relationship between sensor’s bandwidth \(f_{BW}\) and the time constant \(\tau\) of the LPF follows \(\tau = \frac{1}{2\pi f_{BW}}\).

ideal sensor model
Ideal model
1st-order LPF sensor model
1st-order LPF model

A sensor is modeled as a first-order LPF only if its bandwidth lies within the frequency range of a given modeling level. Otherwise, it is modeled as an ideal sensor. The following table summarizes the information on all the current sensors in the Imperix Power library.

SensorBandwidth [kHz](A) Simple(B) Detailed
CSR-25-HBW1500 / 150IdealIdeal
DIN50A200IdealIdeal
Modeling of the current sensors

Simulink CSR block

Port specification

  • The output i is the measured current through the two electrical ports.
DIN50A Simulink block

Parameters

  • Use global configurations is ticked when the block receives global configurations from the Config block.
  • Modeling level selects the modeling level of the current sensor.
  • Current sensor selects the type of the current sensor.
CSR Simulink mask

PLECS CSR block

Port specification

  • The output i is the measured current through the two electrical ports.
DIN50A PLECS block

Parameters

  • Modeling level selects the modeling level of the current sensor.
  • Current sensor selects the type of the current sensor.
CSR PLECS mask

Probe signals

The following signals can be monitored by a Probe block in PLECS.

  • True value [A] monitors the true value of the measured current through the two electrical ports in Volt.
  • Sensor output [V] monitors the physical output of the current sensor in Volt.
CSR PLECS probe