Fault
Electrical fault with temporal, behavioral, or external trigger
Libraries:
Simscape /
Electrical /
Utilities
Description
The Fault block allows you to represent an electrical fault as an instantaneous change in resistance. You can use it to replicate both open-circuit and short-circuit fault behaviors. The block can trigger fault events:
At a specific time. The block can also stop imposing a temporal fault after a specified time duration.
When a predefined voltage range or current range is exceeded
When an external trigger signal goes high or low
Optionally, the external trigger option also permits the fault to reset when the trigger signal reverts. You can enable or disable all three trigger mechanisms separately. If more than one trigger mechanism is required in a simulation, you can use them together.
When no fault is triggered, the resistance between the two electrical ports is defined
by the Unfaulted resistance parameter value. The default value for
this parameter is inf
ohms, that is the ports are open-circuit. When
a fault is triggered, the block changes the resistance between the two electrical ports
to the Faulted resistance value. The default value for this
parameter is 1e-3
ohms, that is the ports are short-circuited.
You can choose whether to issue an assertion when a fault occurs, by using the Reporting when a fault occurs parameter. The assertion can take the form of a warning or an error. By default, the block does not issue an assertion.
The physical output X represents the fault state; if the block is
faulted, the output is 1
, otherwise, it is 0
. The
physical signal input F is the external fault trigger signal and is
used only if Enable external fault trigger is set to
Yes
.
Examples
Ports
Input
Output
Conserving
Parameters
Extended Capabilities
Version History
Introduced in R2015b