Documente Academic
Documente Profesional
Documente Cultură
BJ Furman
02NOV02
1
Static and Dynamic Signal Components, cont.
∫ y ( t ) dt
y
y= t1
t 2 − t1
time
RMS value is a measure of the magnitude of
fluctuations about the average of signal
t2
∫ y(t ) dt
2
y RMS = t1
t 2 − t1
∞ 2 T /2 2π nt
T ∫− T / 2
y (t ) = A0 + ∑ ( An cos(nω t ) + Bn sin( nω t )) An = y (t ) cos( )dt
n =1
T
2 T /2 2π nt
Bn = ∫ y (t )sin( )dt
T −T / 2 T
T (=2π/ω) is the period of the signal
BJ Furman SJSU MAE
2
Example
Square Wave
1
-1
T=2π/ω
3
Discrete Fourier Transform
Signals
are sampled by data acquisition
hardware
❖ Over a finite period of time (not ±∞)
t1 t2
Next Page
f s = sampling frequency
N = total number of samples (note the effect on ∆f )
∆t=time increment between samples
4
FFT for a Square Wave Signal
❖ Clipping 5V
• Ex. 0 – 5 V range setting on
A/D
Sampling frequency
Time
❖ Aliasing
• The sampling frequency must be at least 2x the highest
frequency component contained in the signal to be
measured, or else aliasing will occur
Aliasing is a “folding back” of actual frequencies
Ex. Aliasing.vi
5
Calculation of Aliased Frequencies
frequency rules for signal frequency f and
Alias
sampling frequency fs:
❖ f < 1/2fs
• No aliasing
❖ f > 1/2fs
• Aliasing will occur
Alias frequency:
f alias = f − nf s
where nf s is the closest integer multiple of the sampling frequency
Aliasing Example
Suppose a signal has frequency components at
25, 70, 160, and 510 Hz and is sampled at 100
Hz. What will the aliased frequencies be?
6
Low-Pass Filtering to Avoid Aliasing
http://zone.ni.com/devzone/conceptd.nsf/webmain/071CE6EC33E4377A8625686600580F22?opendocument
http://ni.techonline.com/scripts/tol.exe?CONFIG,ni.txt&SID,11585.19559.20021109&TEMPLATE,pc_main.ops&AREA,8&COURSE,1164
7
Frequency Band Limiting, cont.
Windowing
❖ To reduce the effects of spectral leakage (“noise” in
the frequency domain), apply a “window” to the
sampled data before taking the FFT.
• A “window” is a scaling factor applied to each data point that
has the result of minimizing the effects of discontinuities in
the periodic extension of the sampled waveform
• Types (not exhaustive)
Rectangle
Hanning
Hamming
Flat top
Windowing Example
8
Frequency Resolution
N −1
Y ( f k ) = ∑ y ( n∆t )e − i (2π k ∆f )( n∆ t ) for k=0, 1, 2..., N-1
n =0
f k = k ∆f
fs 1 1 1
∆f = = = =
N N ∆t T sampling period
= frequency resolution of the DFT (like the ω for the Fourier Series)
f s = sampling frequency
N = total number of samples (note the effect on ∆f )
∆t=time increment between samples
References
Figliola, R. S., Beasley, D. E., Theory and Design for Mechanical
Measurements, 3rd ed., J. Wiley & Sons, New York, 2000.
National Instruments, “The Fundamentals of FFT-Based Signal
Analysis and Measurement in LabVIEW and LabWindows,
http://zone.ni.com/devzone/conceptd.nsf/webmain/C045A8907513
03A6862568650061EA98?OpenDocument, November 9, 2002.
Digital Signal Processing Tutorial,
http://www.dsptutor.freeuk.com/aliasing/AliasFrq.htm, November
9, 2002.
ME 82 - Mechanical Engineering Measurements,
http://www.me.psu.edu/me82/, November 9, 2002.