Return to the Home Page

FFT Analyzer

A tool that converts an acceleration time history into the frequency domain using the FFT (Fast Fourier Transform).
It draws the single-sided amplitude spectrum in G and finds the dominant frequencies automatically.
It can be used to check the natural frequencies of equipment and the frequency content of seismic inputs.

Download

Calculation Steps

01

See Details

Input Check
(Sampling Data)

Reads time [s] and acceleration [G] pasted from Excel.
Counts the data points and calculates the time step dt and the sampling frequency Fs automatically.
Fs decides the highest frequency that can be analyzed (Fs/2).

02

See Details

FFT
(Fast Fourier Transform)

Converts the time history x[n] into complex frequency components X[k].
Uses the Cooley-Tukey algorithm (NumPy FFT), so N log N operations instead of N².
Frequency resolution is Δf = Fs/N.

03

See Details

Amplitude Spectrum
(Single-Sided)

Divides |X[k]| by N and doubles the positive frequencies.
The result is the real amplitude of each frequency in G, from 0 Hz to Fs/2.

04

See Details

Peak Detection
(Dominant Frequencies)

Finds local maxima of the spectrum above 0.05 G, at least 10 frequency bins apart.
Peaks are sorted by amplitude and marked on the graph one by one with the Add Peak button.

How to Use it?

01

Copy the time [s] and acceleration [G] columns from Excel, click the table and press Ctrl+V. (Only two numeric columns can be pasted.)

02

Check the Status box. The signal length, sampling frequency (Fs) and time step (dt) are calculated automatically.

03

Click the "Start" button. The FFT is performed, the amplitude spectrum is drawn and the number of detected peaks (0.05 G or more) is shown.

04

Click "Add Peak" to mark the peaks one by one from the largest amplitude, and "Remove Peak" to remove the last one. Use the graph toolbar to zoom, pan or save the graph.

05

Click the "Copy to Clipboard" button. The frequency [Hz] and amplitude [G] of the whole spectrum are copied and can be pasted into Excel.

06

Click the "Reset" button to return the program to its initial state