Académique Documents
Professionnel Documents
Culture Documents
Topics:
Introduction
Conversion form Time to
Frequency Domain
Typical Spectrum
Examples
The Fourier Transform
Discrete Fourier
Transform
Digitization
Spacing of Lines
Resolution
Sampling and Digitization
Problems of Sampling
Signal Analysis:
Cepstrum
Enveloping, HFRT
Effect of Undersampling
How to take care of
Aliasing
Anti-Alias Filter
Windowing
Averaging
Real Time Bandwidth
Coherence
Correlation Coefficient
Auto Correlation
Cross Correlation
Transfer Function
Advanced Signal Processing
Wavelet Transform
Hilbert-Huang Spectrum 1
Virtual Instrumentation
Introduction
Digital Signals:
Sampling, Digitizing, ADC, Multiplexer
Fourier Transform, FFT
Aliasing
Leakage
Windowing
Averaging
Coherence
Correlation
2
i t
x
(
t
)
e
dt
it
X
(
)
e
d
continuous
Sx ( f ) =
N 1
x(t )e
j 2ft
dt
T
Sx(mf ) =
N
x(nt )e
n =0
N 1
x(t ) =
S x ( f )e j 2ft d
x ( n) =
F ( k )e
2nk
N
k =0
where, m = 0, 1, 2, 3,.
2mn
N
Digitization
N2 Multipln
Vs N log2 N
FT / FFT requires digitized samples of the input for its digital calculations
f max =
N
1
*
2 Period
of Time Record
1
Period of Time Record
= f
fs
fi = i
N
where,
i=0,1,2,,N/2
Digitizing
Processing
FFT
Software
Processor
(eg. LabView)
Display
ADC:
High Resolution
and Linearity
For 70dB
dynamic range,
12 bit resolution
required
Resolution
10
ADC
Multiplexer (MUX)
Input
Analog
Signal
Programmable
Gain Amplifier
(PGA)
Sample
ADC
Conversion
& Hold
Circuitry Output
Circuitry
Digital
Signal
Problems of Sampling
Effect of Undersampling
13
14
Anti-Alias Filter
15
16
Time Record
17
Time Record
18
Windowing
19
Problem:
Improper Time Record
Effect: Leakage
Solution: Windowing
20
Uniform Window
Weighs all of the time
record uniformly
Used for transient signals
Flattop Window
To take care of rounded
top of the Hanning window
Used where accurate
amplitude is essential
But at the cost of
frequency resolution
21
22
Averaging
In practice, signals are mix of deterministic
component and noise component
Desired signal is to be separated/extracted from
significant level of noise
Averaging: RMS Averaging, Linear Averaging
RMS Averaging:
T
x RMS
1 2
=
x (t )dt
T 0
23
Linear Averaging
Synchronizing signal reqd.
Several time records
added to reduce noise
effects
The more averages we
take,
the closer the noise
comes to zero and we
keep improving
the signal to noise ratio
24
Recall that
Time Record 2
Time Record 3
FFT 1
FFT 2
f max
N
1
= *
2 Period of Time Record
The frequency span where the time record is equal to the FFT
computation time is called Real Time Bandwidth
25
Coherence
Measure of Linearity
(f)=
2
xy
Gxy ( f )
Gxx ( f )G yy ( f )
26 of x
Extraneous uncorrelated noise in measurements
and/or y cause coherence to approach 0
Correlation Coefficient
27
Correlation
Correlation is a measure of the similarity between two
quantities (vibration waveforms/signals)
correlation coefficient is a normalized measure of the strength of the linear
Autocorrelation: similarity between a
relationship between two variables.
signal and time-shifted version of itself
1
T T
Rxx ( ) = Lim
f x (t ) f x (t + )dt
Rxx ( ) = F 1 S x ( f ) S x* ( f )
Here, Sx(f) is Fourier Transform of fx(t)
28
Auto Correlation
29
Correlation
Detection of periodicity (mostly desired signal) buried in Noise.
Noise
Sine Wave
Cross Correlation
Cross Correlation Function
To determine to what extent a signal measured at one point originates
from a particular source, and with what time delay.
To detect the existence of a signal (not necessarily periodic) buried in
extraneous noise
T
1
Rxy ( ) = Lim f x (t ) f y (t + )dt
T T
0
Gxy ( f ) = F ( Rxy ( ) ) = S x ( f ) S *y ( f )
31
Cross Correlation
Measure of similarity between two different
non-identical signals is cross correlation
function
The cross correlation can be used to detect
the presence of one signal in another signal.
If the same signal is buried in both the
waveforms, it will be reinforced in the cross
correlation function, whereas the noise
which is uncorrelated will be reduced
Practical Examples: Radar, Active Sonar,
Room Acoustics, Transmission Path Delays,
in which input stimulus can be measured
and used to remove contaminating noise
from the response by cross correlation
The frequency transform of the cross
correlation function is Cross Power
Spectrum
32
Cross Correlation
33
Transfer Function
Impulse Response
h(t ) = F
[ H ( f )]
34
1.0
Amplitude
0.8
0.6
0.4
0.2
0.0
0
10
20
30
40
50
60
Frequency (Hz)
35
Fourier Analysis
36
Fourier Analysis
1
F (k ) =
N
N 1
n =0
2nk
j
( n )e N
37
Cepstrum Analysis
Cepstrum is defined as inverse Fourier
transform of the logarithm of the power spectrum
c( ) = F 1{log S X ( )}
If one or more periodic structures appear in a
spectrum, each one appear as a distinct peak in
cepstrum
38
Cepstrum of gear
box vibration signal
39
40
41
42
MFRT utilizes the fact that much of the energy resulting from a
defect impact manifests itself in the higher resonant frequencies of
the system. Defect frequency if periodic, presents in the spectra of
the enveloped signal. ALE enhances the spectrum of enveloped43
signal by reducing broadband noise
44
Wavelet Analysis
45
1
0.8
0.6
0.2
0
0.7
-0.2
0.6
-0.4
-0.6
0.5
-0.8
-1
0
0.1
0.2
0.3
0.4
0.5
0.6
Time (Sec)
0.7
0.8
0.9
Amplitude
Amplitude
0.4
0.4
0.3
0.2
0.1
0
0
50
100
150
350
400
450
46
500
1
0.8
0.6
0.2
0
-0.2
0.05
-0.4
-0.6
0.04
-0.8
0.03
-1
0.02
0
0.1
0.2
0.3
0.4
0.5
0.6
Time (Sec)
0.7
0.8
0.9
0.01
Amplitude
Amplitude
0.4
0
-0.01
-0.02
-0.03
-0.04
-0.05
0.2
0.4
0.6
0.8
Time (sec)
1.247
1.4
0.5
-0.5
0.7
-1
0.6
-1.5
0.5
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
Amplitude
0.4
0.3
0.2
Perturbations/minute
changes localised in
time are not revealed
in FDS
0.1
0
0
50
100
150
350
400
45048500
49
NEED?
Wavelet Transform
Fourier Transform
signal broken into sinusoids
that are global functions
Wavelet Transform
signal broken into a series of
local basis functions
called wavelets, which are
scaled and shifted versions of
the original (or Mother) wavelet
53
Comparison of
Transforms
Event (time)
information lost
Frequency
information not
available
Simultaneous
High resolution
in both Time &
Freq. domains
NOT possible
Short data window of time T B/W
of each spectral coeff is 1/T - wide
54
Wavelet
Sine waves basis functions for Fourier Analysis extends from
+ to -
Wavelets have limited duration that has an average value of
zero
Sinusoids are smooth & predictable, Wavelets tend to be
irregular & asymmetric
55
Wavelet
Morlet Wavelet
(t ) = e t cos
2
2
t
ln 2
Scaling &
shifting
Mother Wavelet
| (t ) | 2 dt <
Son/daughter wavelets
56
Wavelets
Signals with sharp sudden changes could be better
analyzed with an irregular wavelet than with a
smooth sinusoid
In other words, local features can be better captured
with wavelets which have local extent
57
Scaling
58
Scaling
59
Shifting
60
50Hz
20Hz
62
Process of CWT
Sweep over the
entire span of the
signal
63
Experimental Results
NO RUB
RUB
65
RUB
66
PARTIAL/INTERMITTENT RUB
NO RUB
Partial
RUB
67
68
69
70
WAVELET TRANSFORM
Wavelet Transform is an excellent tool for
detection of non-stationary vibration
signals
Features that are obscured during Fourier
Transformation are revealed with better
clarity
Time information is preserved
72
Acoustic
Emission
Technique
AE is the phenomena of transient elastic wave
generation due to a rapid release of strain energy
caused by a structural alteration in a solid material
under mechanical or thermal stresses. The most
commonly measured AE parameters are peak
amplitude, counts and events of the signal.
Some studies indicate that Acoustic emission
measurements are better than vibration
measurements and can detect a defect even before
it appears in vibration acceleration.
73
74
75
76
Step 2:
h1
h3
is not an IMF
After nine
shifting, an IMF
is obtained.
IMF
Step 3:
If h1 is not an
is
IMF,
h1
treated as the
original signal
and
above
procedure is
repeated. After
repeated
shifting, i.e. up
to k times, h1k
becomes an
IMF (c1).
Contd
79
Empirical Mode
Decomposition
- Procedure
81
zi (t ) = ci (t ) + jH [ci (t )]= ai (t )e jf i (t )
Where,
ai (t ) =
ci2 (t ) + H 2 [ci (t ) ],
H [ci (t ) ]
f i (t ) = arctan
ci (t )
Instantaneous frequency
df i (t )
wi (t ) =
.
dt
Contd
82
83
Contd
84
f = fs*fc/a
fc = 0.8125Hz
fs = 200Hz
f = 200*0.02
= 4Hz
f = fs*norm. freq
fs = 200Hz
f = 200*0.01
= 2Hz
85
Contd
Theoretical estimated
frequency = 263-267Hz
VIRTUAL INSTRUMENTATION
87
9Historical Perspective
9Introduction to Virtual Instrumentation
9Capabilities and functionalities
9Case studies
88
COMPUTERS IN INTRUMENTATION
89
Advancements in Hardware:
Mainframes Miniframes Personal Computer (desktop)
Bus based computer architecture
PC and AT buses like VESA & EISA
In 1993, Intel came up with a standard called
Peripheral Components Interconnect (PCI)
most commonly used even today
PCs came with Interrupt (IRQ) and Direct Memory Access (DMA)
structure permitting fast data transfers with peripherals
90
91
SOFTWARE
Earliest operating systems such as VAX-VMS dominated the control
applications
UNIX and its variants HPUX control applications
Microsoft:
DOS: Integration of device drivers in OS big
Advantage
Windows: S/W for additional user hardware
integrated into the overall system
through drivers developed for specific devices.
GUI based OS:
1990.
93
INTERFACES
Different types of devices require interfaces of different
capabilities
Led to development of various buses and interfaces for
different purposes coexisting in the same system
In computer interfacing Internal computer buses and
interface standard play a role
Internal bus: used to integrate add-on h/w into PC and act as
platform for standardized h/w.
3 Buses are extended to cater to instrumentation
VME extended to VXI (VEM extension for instrumentation)
PCI extended to PXI (PCI extension for instrumentation)
SCSI bus for peripherals SCXI standard
94
INTERFACE STANDARDS
To connect external devices to the computer
Serial Connection: Sequential transfer of data
Recommend Standard No. 232 (RS232C),
Universal Serial Bus (USB), Firewire, etc.
GPIB Connection: separate line for each bit,
transfer is fast
95
CRUX OF THE VI
Progressively moving the intelligence of the instrument
into software
H/w reduced to
actual sensors (thermocouples, accelerometers, etc.) and
actuators (switches, motors, valves, etc)
96
PC Based,
All major OS
VI Compatible Instrument
Any instrument with computer interface (most commonly
RS232C or GPIB)
VI Based Instruments
required computer to operate & their operating capabilities
are built around host computer
98
99
PROCESS
Physical
Parameters
Signal Conditioning
Signal Manipulation
Data Display
Data
Record/storage
Example:
100
Thermocouple CRO or
Accelerometer Charge Amplifier CRO or Vibration Meter
STAGE II:
Continuous Record: Data Logger / Data Recorder
Data logging on a hardcopy devices such as paper tape
Permanent Record
Primarily for checking anomalies, keeping track
(trending)
STAGE III:
102
STAGE IV:
Digital Processing of the signal comes on the scene
Microprocessor based instruments
Signal manipulation and display on display devices
Dedicated microprocessor in the instrument
103
STAGE V:
Digital instrument interfaces with the computer
The Microprocessor in the instrument - controlled by the computer
Display could be on instrument screen
Microprocessor design could include
Remote Control
Accept predefined control commands
Remote functionality gets enhanced with time
The original instrument is gradually robbed of processing power.
104
STAGE VI:
Computer processor replaces the instrument microprocessor
Computer screen replaces instrument display
Instrument control panel is translated to screen controls
Only bare minimum primary
signal conditioning
(if required) is done
outside the computer
The result of this is
software is the instrument
(VIRTUAL INSTRUMENT)
105
SOFTWARES FOR VI
LabView LabWindows from National Instruments
HP-VEE From Hewlett Packard (now Agilent)
DasyLab from Advantech
Genie etc.
106
LabVIEW
Laboratory Virtual Instrument Engineering Workbench
National Instruments, Austin, Texas, USA
1986- interpreted package on Apple Mac
1990- compiled package improved performance
1993- LabVIEW3 for Mac, Sun-Sparc & PC
1999- LabVIEW on Linux platform
Version 5- networking support on smaller systems
Version 6- Highly network oriented (LabVIEW 6i)
Version 7- Expanded and simpler, use of Express utilities,
Assistants, supports embedded systems, PDA, etc.
107
108
ADD ON TOOLS
Very popular for specific needs of the user
IMAGE PROCESSING
JOINT TIME FREQUENCY ANALYSIS
OCTAVE ANALYSIS
PID CONTROL, FUZZY LOGIC CONTROL
NUMBER OF OTHER TOOLBOXES
Control & Simulation, Sound & Vibration, Machine Vision
& Motion Control, Signal Processing
Latest version of s/w can develop stand alone executables
110
Allied Products
LabVIEW RT
For real time applications
Stable timing performance
BridgeVIEW
Industrial Control Applications
support for multi-level security, passwords,
optimised for large number of sensors &
transducers
111
LIMITATIONS
Inherent limitations of Digital Signal Processing
Not 100% real time
Sampling delays are present
Computation delays limits the Max. Freq.(control purposes)
Information between samples is lost.
112
113
DIFFERENT ROUTES
9Computer based Instruments
9Communication with Instruments Through GPIB
9Use Data Acquisition Cards
114
Program Window
Panel Window
115
Virtual CRO
Virtual Multimeter
Removes Obsolescence
Low Cost
Reusability
Reconfigurability
116
Signal Generation:
Arbitrary Wave
Amplitude and Phase Spectrum
White Noise
117
Integral
118
References
www.ni.com
Measurement and Automation: Catalogue 2005 National
Instruments
HP application Notes
Matlab User manual