modelProof

Validation model for the Proof block

Information

Validation test for the block AixLib.Controls.OBC.CDL.Logical.Proof. The following tests are implemented:

  • The instance pro tests the case in which both boolean inputs change simultaneously, and hence both outputs will be false.
  • The instances pro2 and pro3 use a different value for feedbackDelay. They test the case in which both the inputs change from true to false. However, after the input u_m changes, the input u_s remains true for a time that is longer than feedbackDelay. The output yLocFal will be true.
  • The instances pro1 and pro4 use a different value for feedbackDelay. They test the case in which both the inputs change from true to false. However, after the input u_s changes, the input u_m remains true for a time that is longer than feedbackDelay. The output yLocTru will be true.
  • The instance pro5 tests the case in which the measured input u_m does not stabilize during the debounce time, and hence both outputs will be true.

Components

TypeNameDefaultDescription
AixLib.Controls.OBC.CDL.Logical.ProofproBoth inputs change at the same time
AixLib.Controls.OBC.CDL.Logical.Proofpro1Commanded input changes from true to false earlier than measured input
AixLib.Controls.OBC.CDL.Logical.Proofpro2Measured input changes from true to false earlier than commanded input
AixLib.Controls.OBC.CDL.Logical.Proofpro3Shorter delay to valid input
AixLib.Controls.OBC.CDL.Logical.Proofpro4Shorter delay to valid input
AixLib.Controls.OBC.CDL.Logical.Proofpro5Both inputs change at the same time
AixLib.Controls.OBC.CDL.Logical.Sources.PulselatInpBlock that outputs cyclic on and off
AixLib.Controls.OBC.CDL.Logical.Sources.PulselatInp1Block that outputs cyclic on and off
AixLib.Controls.OBC.CDL.Logical.Sources.PulselatInp2Block that outputs cyclic on and off
AixLib.Controls.OBC.CDL.Logical.Sources.PulselatInp3Block that outputs cyclic on and off
AixLib.Controls.OBC.CDL.Logical.Sources.PulselatInp4Block that outputs cyclic on and off

Revisions

  • March 27, 2023, by Jianjun Hu:
    First implementation.