Crest Factor Plus
Calculates the crest factor for each channel for single and multi-channel time series.
The documentation of the corresponding PLC function block can be found here: FB_CMA_CrestFactorPlus
The documentation of the TwinCAT 3 Condition Monitoring PLC library can be found here: Overview.
Configuration options
- Number of Channels: defines the number of independent channels. This must be greater than zero.
- Buffer Length: is the number of input values per channel held in the internal buffer.
- Transform to Decibel: is a Boolean value that indicates whether the result of the FFT is to be transformed to the decibel scale, according to transformation x -> 20 * log10(x).
- Config: [c1, c2, c3]: configurable weights of the maximum amplitude (c1), the RMS value (c2) and the crest factor (c3).
- Decibel Threshold: is a very small floating point value greater than zero. Values that are less than this number are replaced with this value before any transformation to the decibel scale. (The purpose is the avoidance of value range errors. The logarithm of zero is not defined and strives infinitely towards minus for the limit value of small arguments. The same applies to the argument of the number zero, arg(0). The smallest possible value is 2.3e-308)