KPI Demo

../../_images/kpidemo_sales.png

What does KPIDemo do?

The KPIDemo feature calculates a set of Key Performance Indicators (KPIs) of vibration measurements. The calculated KPIs are

  1. RMS - Estimate of vibration amplitude

  2. Peak - Maximum acceleration value

  3. Peak to peak - Difference between maximum and minimum acceleration value

  4. Variance - Variance of the vibration

  5. Crest factor - Ratio of the peak value of the waveform to its RMS value

  6. Utilization - Boolean value if vibration RMS is above a given utilization threshold, default to 0.1

  7. DC component - Estimated value for the DC bias of the signal

Use cases for the feature

  1. Determining trends in the vibration level over time. An increasing trend may indicate a developing failure.

  2. Comparing similar assets in terms of their RMS (or other KPI) value.

  3. High level visualization of vibration measurements.

How the KPIs work

Each KPI attempts to summarize some behaviour of the vibration measurement into a single number. Below are the formulas for each of the KPIs where \(x \in \mathbb{R}^n\) is the vibration measurement vector.

RMS

The most common KPI is the Root Mean Square (RMS) of the measurement.

\[\sqrt{ \frac{1}{n} \left( x_1^2 + x_2^2 + \dots + x_n^2 \right) }\]

The plot below shows a series of acceleration samples and the calculated RMS.

../../_images/rms_plot.png

Peak

The peak is the maximum value from a measurement.

\[Peak = \max(x)\]

Peak to peak

The peak to peak is the difference between the maximum and the minimum value in the measurement.

\[\max(x) - \min(x)\]

Variance

The statistical variance of the measurement values.

\[\frac{1}{n}\sum_{i=1}^{n}(x_i - \mu)^2\]

Where \(n\) is the number of samples in the measurement and \(\mu\) is the average measurement value.

Crest factor

\[\max(||x||) / \text{RMS}(x)\]

Utilization

\[\theta(\text{RMS(x)} - t)\]

Where \(t\) is the utilization threshold and \(\theta\) is the heaviside step function.

DC component

The DC bias of the signal is estimated as the mean value of the signal.

\[\frac{1}{n} \sum_{i=1}^{n}x_{i} = \frac {x_{1} + x_{2} + \dots + x_{n}}{n}\]

Using the algorithm via mvg

  1. Upload vibration time series data to a source.

  2. Request a KPIDemo analysis for the source.

  3. Read the results(see below).

Analysis Parameters

The KPIDemo feature requires no parameters apart from sourceId (sid).

Structure of the Results

The result returned by the analysis call will be a dictionary containing eight lists:

{
    'timestamps': [... list of timestamps ...],
    'rms': {"channel": [... list of floats ...]},
    'peak': {"channel": [... list of floats ...]},
    'peak2peak': {"channel": [... list of floats ...]},
    'variance': {"channel": [... list of floats ...]},
    'crest_factor': {"channel": [... list of floats ...]},
    'utilization': {"channel": [... list of ints ...]},
    'dc_component': {"channel": [... list of floats ...]},
}

Notes

  1. The feature is agnostic to the scale of the measurements, but the scale for all measurements needs to be consistent.

  2. The measurements are trimmed of DC offset.

  3. Neither of the KPIs are selective of frequency bands.