Order analysis needs a speed reference. When a measurement was recorded without a tachometer — or the tacho channel is missing, noisy or unusable — the RPM Generator reconstructs the speed curve from the sound or vibration signal itself, by tracking a dominant order ridge across the spectrogram. The synthesized curve is written into a new HDF file as an extra channel alongside the original data, ready to drive Order Spectrum, Order Cuts and Campbell diagrams.
The tool keeps its file, its settings and its detected curve for the rest of the session, so you can navigate elsewhere and come back.
| Area | Contents |
|---|---|
| Toolbar (top) | Open HDF file, Run RPM detection, Save RPM curve to HDF, Reset parameters to defaults, Draw mode, Undo last hand-drawn correction. A progress bar and a status message appear at the right. |
| Left panel | Six sections stacked vertically: Source File, Spectrogram display, Prominent orders, Detection Area, Estimation, Smoothing and Output. |
| Upper plot | Spectrogram of the selected channel. This is the working surface: you place guidance picks on it and, in draw mode, correct the tracked ridge on it. |
| Lower plot | The detected speed curve against time. |
Both plots have a small reset-zoom button in their lower-right corner.
.hdf
recording.Loading a file (or switching channel) automatically sets the detection time range to the whole recording and the upper detection frequency to half the sample rate, then builds the spectrogram.
The spectrogram settings only affect what you see; they do not change the detection result. Adjust them until the order ridge you want to track is clearly visible.
| Setting | Section | Choices | Default | Effect |
|---|---|---|---|---|
| Spectrum size | Source File | 128 … 32768 | 2048 | FFT length. Larger values give finer frequency resolution and thinner, better separated order ridges, but blur fast speed changes. |
| Overlap | Spectrogram display | 2, 4, 8 | 4 | Overlap between successive spectra. Higher values give a smoother picture along the time axis. |
| Log f-axis | Spectrogram display | on / off | on | Logarithmic frequency axis. Recommended, because low orders and their harmonics stay visible together. |
A machine spectrogram normally contains many parallel ridges — the fundamental, its harmonics, and orders of other shafts. To tell the tracker which one to follow, place prominent order picks directly on the ridge.
1; for a 23-tooth gear mesh it is 23; for a 4-blade
fan it is 4.Use Add to insert a row manually and Remove to delete the selected row.
RPM = frequency / Order × 60. Tracking a gear-mesh ridge but leaving Order at 1
gives a curve that is 23 times too high. Changing Order updates every existing pick, so set it
before you interpret the result.
| Field | Section | Unit | Default | Meaning |
|---|---|---|---|---|
| Time… (start – end) | Detection Area | s | whole file | Time range analysed. Restrict it to exclude idling or shutdown at the ends of the recording. |
| Frequ… (start – end) | Detection Area | Hz | 10 – half the sample rate | Frequency band searched for the ridge. Narrowing this band around the ridge is the single most effective way to prevent the tracker from jumping to a neighbouring order. |
| Δt [ms] | Estimation | ms | 200 | Block length. One speed estimate is produced per block, so smaller values give higher time resolution but coarser frequency resolution per estimate. |
| σ [%] | Estimation | % | 15 | The largest frequency change expected between adjacent blocks, as a percentage of the previous estimate. Small values keep the tracker locked on but make it slow to follow a fast ramp; large values let it follow anything — including the wrong ridge. |
| Cache | Estimation | blocks | 5 | How many previous estimates are averaged to predict where the ridge should be next. Larger values give a steadier, more inert tracker. |
| Enable moving median | Smoothing | — | off | Applies a moving median to the finished curve, removing isolated outliers without rounding off the ramp. |
| Length [ms] | Smoothing | ms | 500 | Width of the median window. Only effective when the smoothing checkbox is ticked. |
Reset parameters to defaults in the toolbar restores all of these; the time and frequency ranges are reset to fit the currently loaded signal.
Done — 312 points, 820 – 6015 rpm.Always check the lime overlay on the spectrogram, not just the curve in the lower plot. A curve that looks smooth and plausible can still be following the wrong ridge; only the overlay shows you whether the tracker stayed on the ridge you picked.
If the tracker slipped onto a neighbouring order over part of the recording, you do not have to re-run the whole detection — you can redraw that section:
The Output section controls how the curve is written:
| Field | Default | Meaning |
|---|---|---|
| Channel | RPM | Name of the new channel in the output file. |
| Fs [Hz] | 1000 | Desired sample rate of the speed channel. The value is snapped to a rate that is compatible with the sample rates already present in the file; the status message tells you if it was adjusted. |
| Quantity | RPM | The physical form of the output: RPM (rev/min),
Frequency (Hz) (rev/s) or Angular velocity (rad/s). |
_RPM.
The output file contains all the original channels unchanged, at their original sample
rates, plus the new speed channel. Nothing is written back into the source file. The
status text confirms what was written, for example
Saved 8 original + 1 RPM channel to: Run01_RPM.hdf (RPM rate 1000 Hz).
| Symptom | Cause and remedy |
|---|---|
| The curve jumps between two levels. | The tracker is switching between neighbouring orders. Narrow the detection frequency band, add more prominent-order picks along the correct ridge, or reduce σ. |
| The curve lags behind a fast ramp and cuts corners. | The prior is too inert. Increase σ, reduce the Cache size, and shorten Δt. |
| The curve is noisy and spiky. | The ridge is weak relative to the background. Increase Δt for more frequency resolution per estimate, increase the Cache, and enable the moving median. |
| The whole curve is a constant multiple of the expected speed. | The Order value does not match the ridge you tracked. Set it correctly and run again. |
| The tracker loses the ridge during idle at the start or end. | There is no ridge to follow there. Restrict the detection time range to the ramp. |
.hdf file, and the output is written in the
same format.© 2026 Deepsona. All Rights Reserved.