Skip to main content

Documentation for ScryLab v0.7.1

Changelogs

Filters

The lowpass, highpass and bandpass are Butterworth filters that run over the signal forwards and backwards. The result is not delayed against the input, and the edge is twice as steep as the filter order alone suggests. A higher order sharpens the edge further but rings more at steps and at both ends of the signal.

A cutoff must lie below half the sample rate. Missing samples are filled in for the calculation and removed again afterwards, so a gap stays a gap.

To choose a cutoff, look at a PSD of the signal. The metric Energy BW gives the frequency below which 95 % of the signal energy lies.

Bandpass Filter

Keeps only the frequencies between the two cutoffs (Butterworth, zero-phase: no time shift). Isolates one band, e.g. a resonance or an order, before measuring its level. Both cutoffs must lie below half the sample rate.

Added as a step to the workflow of the signal it is applied to. Needs a time axis.

SettingDescriptionDefault
Low Cutoff FrequencyLower bound of the passband. Frequencies below this are attenuated.1 Hz
High Cutoff FrequencyUpper bound of the passband. Frequencies above this are attenuated.50 Hz
Filter OrderHigher values result in a sharper cutoff.4 (1–10)

Envelope

Demodulates the signal: the magnitude of the analytic signal (Hilbert), optionally after a bandpass around an excited resonance. The spectrum of the envelope reveals modulation frequencies – e.g. bearing fault frequencies (Envelope Spectrum).

Creates a new signal from each selected signal. Needs a time axis.

SettingDescriptionDefault
Band lowLower edge of the demodulation band (around the excited resonance). Empty together with ‘Band high’ = no band filter.–
Band highUpper edge of the demodulation band.–

Reading the result

The envelope follows the amplitude of an oscillation over time. It has the same time axis and unit as the signal.

For bearing and gear diagnosis, set Band low and Band high around the resonance that the fault excites; a PSD or STFT of the signal shows where it is. Then apply FFT to the envelope. The fault frequencies and their harmonics appear as lines in that spectrum. The Envelope Spectrum preset does these steps at once.

Good to know

  • Give both band limits or none. The band filter is a Butterworth bandpass that causes no time shift.
  • Missing samples are filled in for the calculation and removed again afterwards.

Highpass Filter

Removes offset and slow drift below the cutoff and keeps the fast variation (Butterworth, zero-phase: no time shift). Use it to center a signal around zero or to isolate vibration from a slowly changing load.

Added as a step to the workflow of the signal it is applied to. Needs a time axis.

SettingDescriptionDefault
Cutoff FrequencyFrequencies below this will be attenuated.10 Hz
Filter OrderHigher values result in a sharper cutoff.4 (1–10)

Lowpass Filter

Removes content above the cutoff frequency (Butterworth, zero-phase: no time shift). The cutoff is where attenuation begins; a higher order makes the edge steeper. Smooth noisy channels before measuring or differentiating them.

Added as a step to the workflow of the signal it is applied to. Needs a time axis.

SettingDescriptionDefault
Cutoff FrequencyFrequencies above this will be attenuated.10 Hz
Filter OrderHigher values result in a smoother signal.4 (1–10)

Moving Average

Replaces each sample by the mean of a window of samples around it – a simple smoother. The window is in samples, not seconds, so it has no defined cutoff frequency.

Added as a step to the workflow of the signal it is applied to.

SettingDescriptionDefault
Window sizeHigher values result in a smoother signal.5 (1–1000)

More under Advanced: Edge Handling.

Moving RMS

Effective value over a sliding window – the level of a vibration or current over time instead of one number. The window is in samples.

Added as a step to the workflow of the signal it is applied to.

SettingDescriptionDefault
Window sizeHigher values result in a smoother RMS signal.5 (1–1000)

More under Advanced: Edge Handling.