modelVariablePulse
Validation model for producing boolean pulse output
Information
Validation test for the block IDEAS.Controls.OBC.CDL.Logical.VariablePulse.
-
The instance
falhas the constant0input. It gives constantfalseoutput. -
The instance
truhas the constant1input. It gives constanttrueoutput. -
The instance
conTruhas the constant0.75input. It gives the pulse output, with the width (75%). -
The instance
truFalhas the input changing from0.65to0. It outputs a pulse (with the width of 65%) and then changes to constantfalse. -
The instance
falTruhas the input changing from0to0.65and then back to0. It firstly outputs the constantfalse, then a pulse (with the width of 65%) and finally back tofalse. -
The instance
falTru1has the input changing from0.3to0.8and then back to0.3. It firstly outputs a pulse with the width of 30%, then a pulse with the width of 80%, and finally a pulse with the width of 30% again. When the input changes, it gives a new pulse immediately. -
The instance
conChaWidhas a ramp input. It gives constanttrueoutput when the input is ramping up.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| IDEAS.Controls.OBC.CDL.Logical.VariablePulse | conTru | Variable pulse with constant pulse width | |
| IDEAS.Controls.OBC.CDL.Logical.VariablePulse | fal | Variable pulse with the zero width input | |
| IDEAS.Controls.OBC.CDL.Logical.VariablePulse | truFal | Variable pulse with width input changing from positive value to zero | |
| IDEAS.Controls.OBC.CDL.Logical.VariablePulse | falTru | Variable pulse with width input changing from zero to positive value | |
| IDEAS.Controls.OBC.CDL.Logical.VariablePulse | tru | Variable pulse with the constant width input | |
| IDEAS.Controls.OBC.CDL.Logical.VariablePulse | falTru1 | Variable pulse with width input changing between different positive values | |
| IDEAS.Controls.OBC.CDL.Reals.Sources.Pulse | conPul | Continuous pulse signal | |
| IDEAS.Controls.OBC.CDL.Reals.Sources.Constant | con | Constant | |
| IDEAS.Controls.OBC.CDL.Reals.Sources.Constant | con1 | Constant value | |
| IDEAS.Controls.OBC.CDL.Reals.Sources.Pulse | conPul1 | Continuous pulse signal | |
| IDEAS.Controls.OBC.CDL.Reals.Sources.Constant | con2 | Constant value | |
| IDEAS.Controls.OBC.CDL.Reals.Sources.Pulse | conPul2 | Continuous pulse signal | |
| IDEAS.Controls.OBC.CDL.Logical.VariablePulse | conChaWid | Variable pulse with constantly changing pulse width | |
| IDEAS.Controls.OBC.CDL.Reals.Sources.Ramp | ram | Ramp input |
Revisions
-
August 11, 2022, by Jianjun Hu:
First implementation.