Fft Basics 2008
Transcript of Fft Basics 2008
![Page 1: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/1.jpg)
www.bksv.com
Brüel & Kjær Sound & Vibration Measurement A/S.
Copyright © 2009. All Rights Reserved.
Baron Jean Baptiste Joseph Fourier
![Page 2: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/2.jpg)
www.bksv.com, 3
FFT Analysis 101
� Introduction
� Practical Set Up of FFT Analysers
� Pitfalls of an FFT Analyser
� Real-time Analysis
� Time Weighting
� Overlap Analysis
� Signal Types and Spectrum Units
� FFT Summary
![Page 3: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/3.jpg)
www.bksv.com, 4
The Measurement Chain
Transducer Preamplifier Detector/
AveragerFilter(s) Display/
Output
RMS
![Page 4: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/4.jpg)
www.bksv.com, 5
Sources of Machine Vibration
The moving parts of machines create vibration at different frequencies.
Frequency, Hz
Vibrationlevel
Vibration at the rotational frequency (1st order) of the main shaft, caused by unbalance
Harmonics of speed of main shaft caused by misalignment
Misalignment of the shaft causes vibration at lower harmonics = orders
(rotational frequency × 1, 2, 3,<)
2nd 3rd 4th 5th 6th 7th 8th 9th1st
(Frequency, Hz)Order
Extra high level of 6th harmonic/order due to imperfect fan with 6 blades
Vibration (suborders at 42-48% of RPM) caused by oil film whirl or whip in journal bearing
Vibrations at 50 or 60 Hz (incl. harmonics) caused by electromagnetic forces or electric
noise picked up from power cablesVibration caused by worn gear
12th
Vibration amplified by structural resonances in the machine structure
Many different vibrations compose a single frequency spectrum
![Page 5: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/5.jpg)
www.bksv.com, 6
Easier Than This&
Imagine trying to determine all of the previous from just this!
![Page 6: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/6.jpg)
www.bksv.com, 7
The Fourier Transform
( ) ( ) dtetgfG tf2j π−∞+
∞−∫=
( ) ( ) dfefGtg tf2j π∞+
∞−∫=
![Page 7: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/7.jpg)
www.bksv.com, 8
“All Complex Waves&”
All Complex Waves are the Sum of Many Sine and Cosine Waves
∑
![Page 8: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/8.jpg)
www.bksv.com, 9
Fourier Transform is a Mathematical Filter!
=Π∗ ttF 2sin)( Large #
=Π∗ ttF 4sin)( Med.#
=Π∗ ttF 8sin)( Small.#
![Page 9: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/9.jpg)
www.bksv.com, 10
Types of Signals
Deterministic Random Continuous Transient
Non-stationary signalsStationary signals
Time Time
Frequency FrequencyFrequency Frequency
Time TimeTimeTime
![Page 10: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/10.jpg)
www.bksv.com, 11
Types of Signals
TimeFrequency
Sine wave
Time Frequency
Square
wave
Time
Frequency
Transient
Time
Frequency
Ideal
Impulse
Infinite duration
in Time
Finite bandwidth
in Frequency
Finite duration in
Time
Infinite bandwidth
in Frequency
![Page 11: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/11.jpg)
www.bksv.com, 12
FFT Analysis 101
� Introduction
� Practical Set Up of FFT Analysers
� Pitfalls of an FFT Analyser
� Real-time Analysis
� Time Weighting
� Overlap Analysis
� Signal Types and Spectrum Units
� FFT Summary
![Page 12: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/12.jpg)
www.bksv.com, 13
Filter Types
B = x Hz
B = 31,6 Hz
B = 10 Hz
B = 3,16 Hz
B = 1 octave
B = 1/3 octave
B = 3%
Constant Bandwidth Constant Percentage Bandwidth (CPB)or Relative Bandwidth
B = y% =y × f0100
0 40 8020 60 20010050 70 150LinearFrequency
LogarithmicFrequency
![Page 13: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/13.jpg)
www.bksv.com, 14
What is the Fast Fourier Transform?
� An algorithm for increasing the speed of the computer
calculation of the Discrete Fourier transform.
– Reduces the number of multiplications from N2 to
(N/2)log2N
– Computation speed increased by a factor of 372 for an
800 line FFT
� Block analysis of time data samples to provide
equivalent frequency domain description
� Analysis with constant bandwidth filters
� “Rediscovered” in 1962 by Bell Lab scientists Cooley
and Tukey
![Page 14: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/14.jpg)
www.bksv.com, 15
FFT Analyzer
Display/
Output
TransducerPreamplifier
A/DTime
Weighting
Memory
1
Memory
2
200 400 600 800 1k 1,2k 1,4k 1,6k 1,8k 2k HzLinearFrequency0
Amplitude
FFT Analysis
Squaring/
Averaging
GAAFFT
Auto-
spectrum
Fourier
Spectrum
![Page 15: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/15.jpg)
www.bksv.com, 16
FFT Time Assumption
Rectangular or Uniform weighting
Hanning weighting
� Input signal
� Analysed signal
![Page 16: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/16.jpg)
www.bksv.com, 17
FFT Fundamentals
dt = 488.3 µs
df = 1 Hz
Frequency (Hz)
Time
T = 1 s
Freq. Span
� Lines = resolution
� Span = upper freq. range
� df = Span/Lines
� T = 1/df
� dt = 1/(Span * 2.56)
![Page 17: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/17.jpg)
www.bksv.com, 18
Most important Law in Frequency Analysis
B = bandwidth
T = measurement time
B ×××× T ≥≥≥≥ 1
![Page 18: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/18.jpg)
www.bksv.com, 19
Uncertainty Principle Example
If the FFT
Analyzer is:
Then the lowest
freq. is 1 Hz
1 Hz 800 Hz
T = 1 s
To satisfy BT ≥≥≥≥ 1,
then 1 Hz / 1 = 1s
![Page 19: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/19.jpg)
www.bksv.com, 20
Uncertainty Principle – Stationary Signals
If BT = 1 then we are ‘Certain’<but then accuracy is not very high. If we obtain more cycles then accuracy will improve greatly.
G(f)g(t)
Time
Freq.
Time
Freq.
G(f)g(t)
Time
Freq.
G(f)g(t)
![Page 20: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/20.jpg)
www.bksv.com, 21
Uncertainty Principle – Non Stationary Signals
∆t
G(f) ∆f = 1/∆tg(t)
Time
Freq.
h(t) H(f) 2/τ
Time
τ Freq.
H(f)h(t)
Time
2/τ
Freq.τ
With transients things get more complicated. More resolution is not always the best<
![Page 21: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/21.jpg)
www.bksv.com, 22
Are You Certain About Uncertainty (1)?
![Page 22: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/22.jpg)
www.bksv.com, 23
Are You Certain About Uncertainty (2)?
![Page 23: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/23.jpg)
www.bksv.com, 24
Are You Certain About Uncertainty (3)?
![Page 24: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/24.jpg)
www.bksv.com, 25
What Happened? Which Is Correct?
Whichever best fit the time block!
![Page 25: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/25.jpg)
www.bksv.com, 26
Ensuring Repeatable Measurements
� Think about the signal
you are measuring
– Stationary
– Transient
– Combination<
� Always report:
– Lines
– Span
– Window used
– Overlap
– Averaging Type
– # of Averages
– Start Trigger?
![Page 26: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/26.jpg)
www.bksv.com, 27
FFT Analysis 101
� Introduction
� Practical Set Up of FFT Analysers
� Pitfalls of an FFT Analyser
� Real-time Analysis
� Time Weighting
� Overlap Analysis
� Signal Types and Spectrum Units
� FFT Summary
![Page 27: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/27.jpg)
www.bksv.com, 28
Pitfalls in DFT
Time Frequency
Sampling Aliasinggives
Time limitation Leakagegives
Periodic repetition Picket Fence Effectgives
![Page 28: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/28.jpg)
www.bksv.com, 29
ALIASING
� Insufficient sampling allows a high frequency signal to masquerade
under a low frequency “alias”
![Page 29: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/29.jpg)
www.bksv.com, 30
Aliasing
Time
x Hz
Freq.
x Hz
0 Hz
0 Hz
fs + x Hz
fs
Time
Freq.
Time
Freq.
Time
Freq.
?
?
fs
fs
![Page 30: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/30.jpg)
www.bksv.com, 31
Anti-aliasing
filter On
Input
12
Anti-aliasing Filter
Input
Anti-aliasing
filter Off
A/D
0
2
1
Sampling Frequency
fspan fsfs/2Frequencyf1 f2 f3
f1 f2f3
f1
fspan = 2.56
fs
Example:
fs= 65 536 kHz ⇒ fspan = 25.6 kHz
![Page 31: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/31.jpg)
www.bksv.com, 32
Leakage
Freq.Freq.
Freq.Freq.
TimeTime
Signal periodic with record length
Signal not periodic with record length
T T
Rectangularweighting
(no weighting)
Hanning weighting
π−
T
t2cos1
a(t) b(t)
A(f) B(f)
A(f) B(f)
![Page 32: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/32.jpg)
www.bksv.com, 33
“Picket Fence” Effect
Frequency
![Page 33: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/33.jpg)
www.bksv.com, 34
How to Avoid the Pitfalls of DFT
Solution:
2. Leakage:
Caused by sampling in frequency
1. Aliasing: Caused by sampling in time
Solutions:
Caused by time limitation
3. Picket fence effect:
� Use correct weighting (signals)
� Increase the frequency resolution (systems)
� Use anti-aliasing filter (fc) and
sampling rate fs>2 fc
Solutions: � Use correct weighting (signals)
� Increase the frequency resolution (systems)
![Page 34: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/34.jpg)
www.bksv.com, 35
FFT Analysis 101
� Introduction
� Practical Set Up of FFT Analysers
� Pitfalls of an FFT Analyser
� Real-time Analysis
� Time Weighting
� Overlap Analysis
� Signal Types and Spectrum Units
� FFT Summary
![Page 35: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/35.jpg)
www.bksv.com, 36
Discontinuities in the Time Record
![Page 36: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/36.jpg)
www.bksv.com, 37
Windows “smooth” the discontinuity
![Page 37: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/37.jpg)
www.bksv.com, 38
Windows
![Page 38: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/38.jpg)
www.bksv.com, 39
Use of Weighting Functions in Signal Analysis
Transients:
Continuous signals:
� General purpose, RTA
� Two-tone separation
� Calibration
� Pseudo random
� General purpose
� Short transient
� Long decaying transients
� Very long transients
Flat
TopTransientHanning
Rect-angular
Weighting
Expo-nential
Kaiser-
Bessel
+ overlap
+ overlap
![Page 39: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/39.jpg)
www.bksv.com, 40
FFT Analysis 101
� Introduction
� Practical Set Up of FFT Analysers
� Pitfalls of an FFT Analyser
� Real-time Analysis
� Time Weighting
� Overlap Analysis
� Signal Types and Spectrum Units
� FFT Summary
![Page 40: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/40.jpg)
www.bksv.com, 41
Overlap Analysis with Hanning Weighting (1)
� No
overlap
Time
� 50% overlap
W(t)
Time
W(t)
� 662/3% overlap
Time
� 75% overlap
W(t)
Time
W(t)
![Page 41: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/41.jpg)
www.bksv.com, 42
Overlap Analysis with Hanning Weighting (2)
� No overlap
W(t)
Time
Time
Time
Time
W(t)
W(t)
W(t)
� 662/3% overlap
(1 -cosx)2 = 1 - 2cosx + cos2x 1/3 [ (1 -cosx)2 + (1 - cos(x -
� 50% overlap
1/2 [(1 -cosx)2 = (1 + cosx)2 ] 1 = cos2x
32π
))2
+ (1 -cos(x -34π
))2 ] = 1.5
� 75% overlap
1/4 [ (1 -cosx)2 + (1 - sinx)2 + cosx)2
+ (1 -cos(x + sinx)2 ] = 1.5
![Page 42: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/42.jpg)
www.bksv.com, 43
Window Summary
Window NoiseBandwidth
Ripple HighestSidelobe
Rectangle 1.0 ∆F 3.92 dB -13 dB
Hanning 1.5∆F 1.42 dB -31 dB
Kaiser-Bessel 1.8∆F 0.98 dB -68 dB
Flat Top 3.8∆F 0.009 dB -93 dB
![Page 43: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/43.jpg)
www.bksv.com, 44
FFT Analysis 101
� Introduction
� Practical Set Up of FFT Analysers
� Pitfalls of an FFT Analyser
� Real-time Analysis
� Time Weighting
� Overlap Analysis
� Signal Types and Spectrum Units
� FFT Summary
![Page 44: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/44.jpg)
www.bksv.com, 45
Random Signal
Signal Types and Spectrum Units
Correct use of Units
Time Frequency
Determistic,
Periodic SignalU
Time
U
Time
Time
Transient
U
U2/Hz
U2s/Hz
Freq.B
Freq.
Freq.B
Root Mean Square
RMS
Power Spectral Density
PSD
Energy Spectral Density
ESDU
T
![Page 45: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/45.jpg)
www.bksv.com, 46
FFT - Summary
� The DFT has properties very similar to the integral Fourier Transform
� The DFT has certain pitfalls: aliasing, leakage and picket fence effect
� Recording time, sampling interval, sampling frequency, frequency span and
frequency resolution are all related
The Discrete Fourier Transform:
� Many different weightings exist for different purposes
� Use of the proper weighting can reduce leakage and picket fence effect errors
� Weightings can be regarded as filters
Weighting functions, leakage and picket fence effect:
� Condition for real-time analysis: T ≥ Tcalc.
� Other weightings than rectangular may require overlap analysis to avoid loss of
data or to get a flat overall weighting function
� Many different trigger functions exist for different purposes
Real-time Analysis, Overlap Analysis and Triggering:
![Page 46: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/46.jpg)
www.bksv.com, 47
CPB Advantages & Disadvantages
Higher Processor DemandsResults are consistent
Not as common as FFT in
North America
Internationally standardized
Optimized , but limited freq.
resolution
Stereotyped as an acoustics
analyzer
Can measure ‘peak’, ‘RMS’
Limited, but optimized freq.
resolution (1/1,1/3,1/12,1/24)
Excellent response time
ConsPros
![Page 47: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/47.jpg)
www.bksv.com, 48
FFT Advantages & Disadvantages
“Ambiguous” resultsLower Processor Demands
No true ‘peak’ detectionGreat for ‘exact’ freq.
determinations
Not standardized
WindowsVery common
LeakageConstant bandwidth filters,
make harmonic patterns
obvious
Block time analysisWide selection of averaging
types
Poor response timeHigh freq. resolution !ZOOM!
ConsPros
![Page 48: Fft Basics 2008](https://reader033.fdocuments.in/reader033/viewer/2022050905/55268b1a5503468e6e8b4dbf/html5/thumbnails/48.jpg)
www.bksv.com, 49
Literature for Further Reading
� Frequency Analysis by R.B.Randall
(Brüel & Kjær Theory and Application Handbook BT 0007-11)
� The Fast Fourier Transform by E. Oran Brigham
(Prentice-Hall, Inc. Englewood Cliffs, New Jersey)
� The Discrete Fourier Transform and FFT Analyzers by N. Thrane
(Brüel & Kjær Technical Review No. 1, 1979)
� Zoom-FFT by N. Thrane
(Brüel & Kjær Technical Review No. 2, 1980)
� Dual Channel FFT Analysis by H. Herlufsen
(Brüel & Kjær Technical Review No. 1 & 2, 1984)
� Windows to FFT Analysis by S. Gade, H. Herlufsen
(Brüel & Kjær Technical Review No. 3 & 4, 1987)
� Who is Fourier?
(Transnational College of LEX, April 1995)