PS Switch
Single-pole double-throw switch controlled by external physical signal
Libraries:
Simscape /
Foundation Library /
Physical Signals /
Nonlinear Operators
Description
The PS Switch block compares the value of the physical signal presented at the second (middle) input port to the threshold value:
If the control input value is greater than or equal to the threshold, the output is connected to the first input. This is the default connection shown in the block icon.
If the control input value is less than the threshold, the output is connected to the third input.
The second (middle) input port is the control port and it never connects to the output.
All the inputs and the output are physical signals. Untyped physical ports facilitate unit propagation. Physical signals at the first and third input ports must have commensurate units. The unit at the output port is determined by unit propagation rules. For more information, see Physical Signal Unit Propagation.