Shape Factor
The algorithm Shape Factor calculates the signal feature of the same name from the input values. The output value is calculated from the ratio of the root mean square (RMS) of the input signal to the mean of the absolute values of the input signal.
The number of input data to be included in the calculation and the type of calculation can be configured.
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 Channels: Configuration of the number of independent input and output channels.
- Window Mode: Used window mode. Influences the number of input data that are included in the calculation as well as the time of the calculations.
Continuous: All input values since the start of the algorithm are included in the calculation. The calculation is cyclic.
Fix Window: Only the last N input values are included in the calculation. The calculation is performed every N calls.
Sliding Window: Only the last N input values are included in the calculation. The calculation is performed cyclically. - Window Size: Depending on the window mode used, you can configure the number of values N that will be included in the calculation. In the window mode Continuous this parameter is ignored.
Output values
- Shape Factor 00..n: Shape factor of the input channels.
Standard HMI Controls
For the Shape Factor algorithm, the following HMI controls are available for generating an Analytics Dashboard:
1. The Table Control and Multivalue Control visualize all output values.
Alternatively, customer-specific HMI controls can be mapped using the Mapping Wizard.