5.1.104. Slew rate check (put_SlewRateCheck)

Set the outport slew_fault if the rate of change of inport u is too great.

5.1.104.1. Supported targets

All targets

5.1.104.2. Required license

None (Main library). (See Section 2.3, “Licensed Features”.)

5.1.104.3. Description

Compares the value of inport u between the current and previous model iterations and determines if the absolute difference exceeds the slew rate limit.

5.1.104.4. Inports

  • u

    Value to slew check.

5.1.104.5. Outports

  • slew_fault

    Set to 1 if the absolute difference between inport u at this model iteration and the previous model iterate is greater than the parameter Absolute raw slew rate limit, 0 otherwise. On the first model iteration, the block outputs 0.

    Range: 0 or 1

5.1.104.6. Mask parameters

  • Absolute raw slew rate limit

    Maximum absolute rate of change of input calculated over one model iteration before input considered faulty.

    Range: [-inf, inf] /sec

    Value type:Real
  • Sample time

    The periodicity of the block execution.

    Range: [0.001, 3600] seconds

    Value type:Real
    Calibratable:No

5.1.104.7. Notes

None.