Back to Articles

What is a Spectrogram?

Analysis

Author Jade Vande Kamp

A spectrogram is a graph that displays the strength of a signal over time for a given frequency range. Using a color spectrum, it points to the frequencies where the signal’s energy is highest and shows the energy variation over time.

For a vibration signal, a spectrogram’s color scale identifies the frequencies of a waveform’s amplitude peaks over time. Unlike a time or frequency graph, a spectrogram correlates peak values to time and frequency. Vibration test engineers use spectrograms to analyze the frequency content of a continuous waveform, locating strong signals and determining how the vibration behavior changes over time.

A time spectrogram graph with a time range of 0 to 230 seconds and a frequency range of 0 to 500 hertz.

A time spectrogram graph of a vibration signal.

Generating a Spectrogram

To generate a spectrogram, a signal analysis software program divides a time-domain signal into segments of equal length. Then, it applies the fast Fourier transform (FFT) to each segment, transforming the data from the time domain to the frequency domain. The spectrogram is a plot of each segment’s FFT. The Frame Count parameter determines the number of FFTs the program uses to create the spectrogram and, as a result, the amount of the overall time signal that it splits into independent FFTs.

spectrogram with horizontal cross section and vertical cursor

For instance, it is possible to define a spectrogram that covers 10 hours with only 10 FFT frames. However, there would be many gaps between the FFT analyses. Conversely, a 1-minute spectrogram with 1,000 FFTs would cover all time samples with some overlap between the analyses.

The spectrograms below are from the same data set, but the frame count is reduced from 500 to 50. The result is a jagged spectrogram with many gaps in the data.

500 frame count time spectrogram

500 frame count

50 frame count time spectrogram

50 frame count

Comparing the Spectrogram to Other Signal Analyses

A time-domain analysis can point out a defect in a device under test (DUT) but does not specify its location or nature. As the spectrogram is a collection of time-frequency analyses, engineers can use it to identify characteristics of nonstationary or nonlinear signals, such as transient excitation, intermittent vibration, or dynamic changes in the system’s vibration patterns. A spectrogram is a helpful tool for analyzing real-world data with various frequency components and/or mechanical and electrical noise.

A spectrogram is most helpful for vibration analysis in a changing environment because it helps define the dynamic behavior of the system. It illustrates the patterns of energy change, such as varying operating conditions, load changes, or time-varying excitation that may not be visible in an FFT or PSD. A spectrogram provides more information about the time-varying nature of vibration, while frequency domain analyses provide information at a specific moment or as an average over time.

In a spectrogram, there are many indicators of damage, and they can be complex. Still, atypical bands can offer information regarding potential damage. Characteristics such as frequency shifts and changes in energy distribution can point to potential damage mechanisms.

Order Analysis and Spectrograms

Spectrograms can also help identify and analyze orders. Orders are frequency measurements (Hz) that correspond to a reference RPM and its harmonics. Order analysis is a powerful signal analysis tool for machines with rotational or reciprocating components. It helps differentiate the rotational sources of vibration from random vibration. Engineers use a spectrogram to visualize order lines, allowing them to assess the performance of rotating machinery.

tachometer-based spectrogram

A 3D tachometer-based spectrogram. The red lines correspond to orders.

Spectrogram Analysis in ObserVIEW

The ObserVIEW analysis software has time spectrogram and tachometer spectrogram graph options. Spectrograms can be viewed as a three-dimensional plot for an interactive display.

 

ObserVIEW has several graph options that are useful for analysis. These options can be found under Spectrogram Graph Options.

  • The mouse cursor displays the X, Y, and Z values of the data under the cursor
  • The horizontal cross-section displays a graph under the spectrogram with the data for a horizontal slice across the spectrogram. The slice can be moved by dragging the horizontal crossbar up and down on the spectrogram.
  • The vertical cross-section displays a graph to the right of the spectrogram with the data for a vertical slice down the spectrogram. Again, the slice can be moved by dragging the vertical crossbar left and right across the spectrogram. The vertical cross-section can be rotated.

Both the horizontal and vertical cross-sections can be used to examine a slice of all data at a specific time or frequency. In addition to these options, the tach spectrogram includes the option to enable an order cross-section graph.

Conclusion

The spectrogram is another tool for device maintenance and detection of errors. To learn more, visit our ObserVIEW analysis software page or download a free demo of the software.

Download ObserVIEW Demo

Last updated: July 19, 2023

References

[1] Griffaton, Julien, José Picheral, and Arthur Tenenhaus. 2014. “Enhanced visual analysis of aircraft engines based on spectrograms.” Paper presented at ISMA2014, Leuven, Belgium, September 2014, 2809-2822.

[2] “What Is A Spectrogram?” Pacific Northwest Seismic Network. pnsn.org/spectrograms/what-is-a-spectrogram.

[3] Yan, Ruqiang and Robert X. Gao. “Multi-scale enveloping spectrogram for vibration analysis in bearing defect diagnosis.” Tribology International 42, no. 2 (February 2009): 293-302. doi.org/10.1016/j.triboint.2008.06.013.

How Can We Help You?

Contact Us