RMS 1Ch
RMS 1Ch calculates the root mean square over the input values according to the formula
The number of samples N that are included in the calculation can be configured by specifying a time interval. A cascaded output can be configured to realize a long-term RMS in a resource-saving way and to pick up intermediate results. The time interval of the configured cascade must correspond to an integer multiple of the time interval of the previous cascade.
Optionally, a Boolean signal can be selected for the Enable Execution input so that the algorithm is only active if the value of the selected signal is TRUE.
Configuration options
- Num Cascades: Number of output cascades
- Cascades: Configuration of the output cascades. The time interval of the configured cascade must correspond to an integer multiple of the time interval of the previous cascade.
- Sample Rate: Sample rate of the system to be analyzed in Hz
- Startup Behaviour:
WaitUntilFilled waits until the configured timespan of the cascade has elapsed. The RMS result and the Boolean flag "NewResult" are only set for the first time after the timespan has elapsed.
UsePreviousCascadeValue The RMS cascades whose configured timespan has not yet expired use the next smallest RMS result already set.
Output values
- RMS: Output array in which the results of the RMS calculations are stored. The dimension corresponds to the number of set cascades. The startup behavior can be set via the parameter Startup Behaviour.
Standard HMI Controls
For the RMS algorithm, the following HMI controls are available for generating an Analytics Dashboard:
1. The Table Control or Multivalue Control visualizes all output values: RMS Results.
Alternatively, customer-specific HMI controls can be mapped in the RMS algorithm using the Mapping Wizard.