Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / System Validation and Replacement

How Decimation Can Turn a 130 Hz Vibration Signal Into 30 Hz | Crystal & Oscillator Handbook

A vibration monitor shows a new low-frequency peak after upload, but the original record does not contain it. Compare spectra at different output data rates and check filtering before downsampling. Then decide whether there is evidence to investigate the reference clock.

Consider a low-voltage sensor bench for industrial motor condition monitoring. The example uses reproducible synthetic vibration data and a separate acquisition board. It does not involve operating industrial machinery or using these calculations to determine machine safety. Edge systems often retain high-rate data locally and produce a downsampled trend series. Poor processing can introduce a frequency absent from the original low-frequency band.

Sensor sample rate and the rate retained by software are different

A sensor may produce acceleration readings at its own cadence. After reading them over the interface, the controller can filter, decimate or compress the data. The first series has an input sample rate and the second an output rate. Before reading a waveform or spectrum, check which rate defines its horizontal axis. If the values change but the sample-rate metadata does not, software can mislabel the entire frequency axis. The resulting peak positions have a different explanation from aliasing.

True aliasing is another possibility. When the output sample rate falls, a high-frequency component can appear at a lower frequency. If the pipeline keeps every tenth value without filtering for the new output bandwidth beforehand, the resulting low-rate series cannot reliably distinguish a true low-frequency component from one folded down from above. Arbitrary digital filtering of the low-rate data cannot recover the two components once they occupy the same frequency.

Vibration sensors can have internal sampling, digital filtering and output data rates. Their usable bandwidth may vary by configuration even if the host performs no further downsampling. Record the actual chip and operating mode. The controller crystal's nominal value cannot determine the whole sensor bandwidth. This example is limited to downsampling previously saved high-rate digital data.

Worked example: why does a 130 Hz test signal appear at 30 Hz?

Suppose synthetic data is generated at 1,000 samples per second with only a 130 Hz sine. Keep the same test source and retain one of every ten samples without first suppressing frequencies above the new bandwidth. The resulting series has 100 samples per second. In its sample grid, frequencies separated by 100 Hz produce the same discrete samples, so the 130 Hz component appears at 30 Hz. The source frequency and crystal are unchanged.

In a second run, apply an approved low-pass process to the same original data to suppress components the new rate should not retain, then decimate to 100 samples per second. If the spurious low-frequency peak changes substantially while the original 1,000-sample-per-second trace still shows a steady 130 Hz, investigate the processing chain first. If the original record also contains 30 Hz, check the analog input, acquisition front end and actual signal source. Software does not necessarily account for every low-frequency peak.

The 100 Hz figure is the output rate. For ideal uniform sampling it gives a 50 Hz Nyquist boundary. A practical low-pass filter still needs a transition band, so the boundary cannot be treated as usable flat bandwidth. Engineering and purchasing need the target frequency band and allowable error as well as the sample rate.

Trace which stage uses the 8 MHz crystal

If a custom controller needs an 8 MHz passive reference, evaluate the 8 MHz configuration of Japan's KDS DSX321G. The manufacturer's example specifies an 8 pF wide-temperature variant. Confirm the full order code, drive, maximum resistance and circuit compatibility before selection. The series name alone cannot establish them. This is a board design candidate, without a supply commitment for a commercial vibration monitor or a direct conversion from 8 MHz to an output rate of 100 samples per second.

Many digital sensors generate samples from their own reference, while the host uses its clock for readout, timestamping and processing. Other designs use an external synchronization input. If the rates appear out of sync, use hardware documentation and measurements to establish the sensor and controller clocks before checking crystal error. When software only changes the decimation factor, tighter crystal tolerance cannot substitute for missing filtering.

Save the original sequences for each test as well as the spectra

First, use traceable data and save the sequence, sample rate, observation duration and timestamps on both sides of the downsampler. Check frequency-axis scaling, windowing and record length before comparing spectra. Equal sample counts at different rates yield different time windows, so explain the conditions before comparing peak heights.

Next, keep the same input and components and compare original samples, simple unfiltered decimation and decimation after approved prefiltering. Save the three results separately. Do not change operating conditions on real equipment just to induce variation. If board samples were already decimated before export, identify the earliest accessible point. The exported series may be downstream of the raw sensor.

Only then evaluate components. On the same sensor and configuration, check the timebase, oscillator startup and actual sample output. If the anomaly follows a filter mode, retain the configuration and avoid rejecting unrelated lots. If a component change actually changes the sample period, recheck the other clock domains and the software's interpretation of the sample rate, then rerun the comparisons.

CheckEngineering recordsPurchasing and quality records
Input dataNormal band, controlled test components and actual sample intervalSensor or acquisition board revision
DecimationPrefilter, output rate and frequency-axis scalingFirmware, parameter and report versions
Reference partActual controller and sensor clock sources and electrical conditionsExact frequency, load and lot
ComparisonOriginal, decimated and filtered results with limits on conclusionsAcceptance covers only verified bands

Include a genuine low-frequency component in the comparison. For example, use synthetic data with 20 Hz that the project should keep and 130 Hz that it should reject. Check whether the filter preserves the wanted band in addition to suppressing the spurious peak. Compare the 20 Hz amplitude before and after processing, the processing delay and the reporting time. If the wanted component is also strongly attenuated, the filter may remove the false peak while degrading required measurement behavior.

When the sensor model changes, confirm where internal filtering occurs relative to interface readout and what band the actual mode covers. For event-triggered or nonuniform sampling, check whether the algorithm assumes equal intervals. Simple uniform-sampling folding formulas do not apply to records with extensive missing samples. In sample comparisons, record which data was averaged before capture and which retains the original timestamps.

Run the same synthetic set at different output rates as an additional check. If the low-frequency peak moves and the original high-frequency component stays put, processing may account for the low-frequency component. Still check whether the filter or observation window changed at the same time.

Frequently asked questions

Does a lower reporting rate mean a lower sensor sample rate? It may only reduce uploads or application frames while leaving sensor production unchanged. Check the order of the processing steps.

Can a better oscillator remove a false low-frequency peak? If the peak comes from downsampling aliasing, a replacement will not remove it. Compare the same test data before and after decimation to determine whether clock components are relevant.

WeChat

MERLIN · TIMING COMPONENTS

Scan with WeChat to contact Sales

Add our WeCom contacts from your usual WeChat app.

On desktop, scan with your phone. On mobile, save the QR image and select it from your album in WeChat Scan.