Spectrum Quantiles 3Ph

The Spectrum Quantiles module calculates the magnitude spectra of the current and voltage values in the same way as the Spectrum module. In addition, p-quantiles of the spectrum distribution can be calculated.
In the Beckhoff Information System you will find the documentation of the corresponding PLC function block FB_PMA_Spectrum_Quantiles_3Ph.
In the Beckhoff Information System you will find the documentation of the TF3650 TwinCAT 3 Power Monitoring function with descriptions of the corresponding PLC library.
Configuration parameters
- FFT Length: Length of the FFT. It must be greater than one and an integral power of two.
- Window Length: Length of the analysis window in samples. The length must be greater than one and an even number. It must not be greater than FFT Length.
- Sample Rate [Hz]: Sample rate (samples per second) of the input signal.
- Scaling Type: Enables selection of the scaling used if absolute scaling is required. See: E_PMA_ScalingType
- Window Type: Defines the window function used. The window type HannWindow is a good default value. The windowing can be switched off by the use of the window type RectangularWindow. See: E_PMA_WindowType
- Transform To Decibel (optional): Boolean value indicating whether the result of the FFT should be transformed to the decibel scale, corresponding to the transformation x → 20 * log10(x).
- Decibel Threshold (optional): Very small floating-point value greater than zero. Values smaller than this number are replaced with this value before any transformation to the decibel scale, since the logarithm of zero is not defined mathematically. The smallest possible value is 3.75e-324.
- Min Binned Voltage: Lower limit value for which the output data of the spectrum calculation of the voltage are counted in the regular histogram bins.
- Max Binned Voltage: Upper limit value for which the output data of the spectrum calculation of the voltage are counted in the regular histogram bins. Max Binned Voltage must be greater than Min Binned Voltage.
- Min Binned Current: Lower limit value for which the output data of the spectrum calculation of the current are counted in the regular histogram bins.
- Max Binned Current: Upper limit value for which the output data of the spectrum calculation of the current are counted in the regular histogram bins. Max Binned Current must be greater than Min Binned Current.
- Num Bins: Number of bins in a histogram. The minimum number is 1. In many cases, values between ten and twenty are a sensible choice. The two special bins for values below Min Binned and above Max Binned are not included in this value.
- Quantile: Indicates the quantile limit. It must be between 0.0 and 1.0. For example, 0.2 corresponds to the 20% quantile.
Input values
- Input Voltage 1 .. Input Voltage 3: Input values of the voltage.
- Input Current 1 .. Input Current 3: Input values of the current.
- Reset Statistics (optional):
TRUE
resets the min. and max. values of the outputs.
Output values
- Spectrum Voltage 1 .. Spectrum Voltage 3: Magnitude spectrum of the voltage values.
- Spectrum Current 1 ... Spectrum Current 3: Magnitude spectrum of the current values
- Spectrum Quantiles Voltage 1 ... Spectrum Quantiles Voltage 3: P-quantiles of the distribution of Spectrum Voltage
- Spectrum Quantiles Current 1 ... Spectrum Quantiles Current 3: P-Quantiles of the distribution of Spectrum Current