Behavioral model of current limiter
Simscape / Electrical / Semiconductors & Converters
The Current Limiter block provides a behavioral model of a current limiter. Use it to represent current limiting as found in power supplies and motor drives, and also to represent components that are used to limit inrush current.
The current limiting acts for both positive and negative currents. For applications where limiting is required in only one direction, you can augment the Current Limiter block with a series diode (blocks any reverse current) or parallel diode (no limiting in the reverse direction).
The block implements current limiting by using a hyperbolic tangent function:
i is the current through the component.
v is the voltage drop across the component.
iLIM is the current limit.
vLIM is the approximate voltage drop across the component when the current limit becomes active.
gLIM is the rate of change of current with voltage drop when on the current limit (limit-state conductance).
When v = vLIM, then
Therefore the current is approximately equal to the limit. Choose the value for gLIM such that gLIM·v is small compared to iLIM for the maximum expected voltage drop. This term is included in the block equation to improve numerical properties during simulation.
When choosing the value of vLIM, consider that making it too small will require tight solver tolerances and small step sizes. In practice, current limiters can be implemented using a MOSFET and series source resistor, the gate-source voltage being driven by the series resistor. This implementation does not produce a sharp limit, similar to the tanh curve used in this block. You can use a datasheet plot of current against voltage to pick a suitable value for vLIM.
This block has one optional thermal port. To expose the thermal port, set the Modeling option parameter to either:
No thermal port— The block does not contain a thermal port.
Show thermal port— The block contains one thermal conserving port.
The thermal port model contains a thermal mass. The power dissipated by the current limiter, plus the heat flow into the thermal port, drives the thermal mass differential equation:
m is the thermal mass.
T is the thermal port temperature.
Ploss is the electrical loss, v·i.
QH is the heat flow from the external network into the thermal port.
+ — Positive terminal
Electrical conserving port associated with the current limiter positive terminal
- — Negative terminal
Electrical conserving port associated with the current limiter negative terminal
H — Thermal port
Thermal conserving port.
To enable this port, set Modeling option to
Show thermal port.
Modeling option — Whether to enable thermal port
No thermal port (default) |
Show thermal port
Whether to enable the thermal port of the block and model thermal parameters.
Current limit — Current limit
The maximum current magnitude.
Voltage drop when current starts to limit — Voltage drop when current starts to limit
When the voltage drop is equal to this value, then the current is limited at 0.9993 times the current limit value.
Limit-state conductance — Limit-state conductance
When the current is limited, this parameter defines the rate of change of current with voltage drop if the current is driven harder onto the limit.
To enable these parameters, set Modeling option to
Show thermal port.
Thermal mass — Thermal mass
The heat energy required to raise the temperature by one degree.
Initial temperature — Initial temperature
The temperature at the start of the simulation.
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
Introduced in R2015a