SignalAnalysis package

Requirements.SignalAnalysis  ยท source

Icon of SignalAnalysis

Library of signal analysis blocks to compute properties from Real signals

Extends Modelica.Icons.Package

This library provides blocks that compute properties of Real (and Boolean) signals, such as derivatives, integrals, averages, durations and step-response metrics. They do not decide a requirement themselves; their outputs are inputs to the check blocks of the library (for example of ChecksInFixedWindow or ChecksInSlidingWindow), or are used to formulate the condition of a requirement directly.

Examples are in Examples.Elementary.SignalAnalysis.

Contents

NameKindDescription
ExactDerivativeblockOutput is the analytic derivative of the input (= exact derivative)
ApproximateDerivativeWithFilterblockOutput is the filtered derivative of the input (= approximate derivative)
ApproximateDerivativeWithWindowblockOutput is the finite difference quotient of the input (= approximate derivative)
TriggeredIntegratorblockOutput is the integral over the input, as long as the Boolean input active is true (for a rising edge of active the integrator state is reset to 0)
MovingAverageblockOutput is the continuous moving average of the input
TimeMonitoringblockOutput is the time duration where the Boolean input was true
CrossingMonitoringblockOutput is true for a positive threshold crossing of the input and false for a negative threshold crossing
StepResponseblockRunning step-response metrics of u after a step of r, sampled: the peak, the level crossings, the last exit from the settling band, the extrema