On/Off Delay
(To be removed) Implement switch-on or switch-off delay
The Specialized Power Systems library will be removed in R2026a. Use the Simscape™ Electrical™ blocks and functions instead. For more information on updating your models, see Upgrade Specialized Power System Models to use Simscape Electrical Blocks.
Libraries:
Simscape /
Electrical /
Control /
General Control
Description
The On/Off Delay block implements the following logic when the Select
type parameter is set to On delay:
When the input becomes true, the output becomes true after a preset time delay. The output remains true as long as the input is true.
When the input is false or becomes false, the output becomes false with no delay.
When the Initial condition of previous input parameter is set to
1, and the input is true at t = 0, the output is true with no delay.
The On/Off Delay block implements the following logic when the Select
type parameter is set to Off delay:
When the input becomes false, the output becomes false after a preset time delay. The output remains false as long as the input is false.
When the input is true or becomes true, the output is true with no delay.
When the Initial condition of previous input parameter is set to
0, and the input is false at t = 0, the output is false with no delay.
Characteristics
| Direct Feedthrough | Yes |
| Sample Time | Specified in the Sample Time parameter |
| Scalar Expansion | Yes, of parameters |
| Dimensionalized | Yes |
| Zero-Crossing Detection | No |
Ports
Input
Output
Parameters
Extended Capabilities
Version History
Introduced in R2013a