Multi-band RMS

The sample illustrates a calculation implementation for several frequency band-limited RMS values of a signal with the function block FB_CMA_MultiBandRMS.

The sample is available for download from here:
MultiBandRMS_Sample.zip

Block diagram

Multi-band RMS 1:

Program parameters

The table below shows a list of important parameters for the configuration of the function block for calculating several frequency band-limited RMS values of a signal

Size of the FFT

2048

Window size

1600

Sampling rate

10000

Frequency bands

2

Channels

1

Window type

eCM_HannWindow

Conversion to decibels

FALSE

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4016.12

PC or CX (x86, x64)

Tc3_CM, Tc3_CM_Base, Tc3_MultiArray