Professional Documents
Culture Documents
Sampling of Analog Signals
Sampling of Analog Signals
Lesson 6: Sampling
Analog Signals
ET 438b Sequential Control and Data Acquisition
Department of Technology
Lesson 6_et438b.pptx 1
Learning Objectives
Lesson 6_et438b.pptx 2
1
4/25/2016
Sampled Signals
Sampling Process
Data Acquisition Card
Signal
Sensor
Conditioner
Physical
parameter Amplify
Multiplexer
Filter
Linearize Sample &
ADC
Hold
Other analog
Input channels To computer
Data bus
Lesson 6_et438b.pptx 3
Sampled Signals-Representation of
Signal
Analog Signal - defined at every point of independent variable
For most physical signals independent variable is time
Sampled Example
s(n) 5 sin(2 250 Ts n 60 ) 2 cos(2 500 Ts n 120 )
n=sample number
Lesson 6_et438b.pptx 4
2
4/25/2016
Representation of
analog signal
Ts
Representation of sampled
analog signal
Lesson 6_et438b.pptx 5
3
4/25/2016
10
10
5
Amplitude
s( t )
0
a( t )
10 10
0 2 4 6 8 10
0 t 10
Time
Sampled Signal
Analog Signal
Lesson 6_et438b.pptx 8
4
4/25/2016
Frequency Spectrum
Sampling is modulation. Shifts all signal frequency components
and generates harmonics
fc=1000 Hz fI1=50 Hz fI2=25 Hz
Carrier Information
Lesson 6_et438b.pptx 9
Frequency Spectrum
Frequency Components
fh1= fc±fI1 =1000 Hz ± 50 Hz = 1050 Hz and 950 Hz
fh2= fc±fI1 =1000 Hz ± 25 Hz = 1025 Hz and 975 Hz
0.5
Lesson 6_et438b.pptx 10
5
4/25/2016
Frequency Spectrum
Complex signals usually have a frequency spectrum that is wider. Can be
visualized with continuous f plot and found with an Fast Fourier Transform
(FFT)
|v|
highest
frequency in signal
dc f=0
Frequency
fs(min) = 2fh
6
4/25/2016
Amplitude
Sampling at less than 2fh causes aliasing and folding of sampled signals.
Folded
Amplitude
Frequencies
Example: Given the following signal, determine the minimum sampling rate (Nyquist
frequency)
Find the highest frequency component: 100 Hz, 250 Hz, 500 Hz, 400 Hz
Lesson 6_et438b.pptx 14
7
4/25/2016
fs(min) = 2fh
Lesson 6_et438b.pptx 15
Aliased Frequencies
Sampling analog signal below 2fh produces false frequencies.
Aliased frequencies determined by:
f alias f I n f s
0 f alias f nyquist
fs
f nyquist
2
Where: fI = sampled information signal with fI>fnyquist
fs = sampling frequency (Hz)
n = sampling harmonic number
falias = aliased frequency
fnyquist = one-half sampling frequency
Lesson 6_et438b.pptx 16
8
4/25/2016
f s TI
Ns
f I Ts
f s f I and TI Ts
Lesson 6_et438b.pptx 17
Sampling/Aliasing Examples
Example 1: A fs=1000 Hz sampling frequency samples an information
signal of fI=100 Hz . Determine samples/period, the resulting recovered
signal ,and aliased frequencies if present
1000 Hz 0.01 S
Ns 10 samples/period Above Nyquist rate of 2
100 Hz 0.001 S
f s 1000 Hz Signals below 500 Hz
f nyquist 500 Hz
2 2 reproduced without aliasing
Lesson 6_et438b.pptx 18
9
4/25/2016
Sampling/Aliasing Examples
Frequency Spectrum 500 Hz
100 Hz
Nyquist
Recovered
Limit
100
1.5
Amplitude
0.5
0
0 100 200 300 400 500 600
Frequency
Frequency Spectrum
Lesson 6_et438b.pptx 19
Sampling/Aliasing Examples
Example 2: A fs=60 Hz sampling frequency samples an information signal
of fI=100 Hz . Determine samples/period, the resulting recovered signal
,and aliased frequencies if present
60 Hz 0.01 S
Ns 0.6 samples/period Below Nyquist rate of 2
100 Hz 0.001666 S
Aliased signals will occur due to low sampling rate
f s 60 Hz Signals below 30 Hz
f nyquist 30 Hz
2 2 reproduced without aliasing
10
4/25/2016
Sampling/Aliasing Examples
Alias frequencies for 1st harmonic of sampling f (n=1)
f alias 100 Hz 2 60 Hz 20 Hz
The falias in range 0-30 Hz, 20 Hz
recovered signal
Lesson 6_et438b.pptx 21
Sampling/Aliasing Examples
30 Hz
Frequency Spectrum Nyquist
3
Limit
20 Hz
2.5
Alias f
2
Amplitude
1.5
0.5
0
0 5 10 15 20 25 30 35
Frequency
Frequency Spectrum
Lesson 6_et438b.pptx 22
11
4/25/2016
Sampling/Aliasing Examples
Example 3: A fs=80 Hz sampling frequency samples an information signal
of fI=100 Hz . Determine samples/period, the resulting recovered signal
,and aliased frequencies if present
80 Hz 0.01 S
Ns 0.8 samples/period Below Nyquist rate of 2
100 Hz 0.00125 S
Aliased signals will occur due to low sampling rate
f s 80 Hz Signals below 40 Hz
f nyquist 40 Hz
2 2 reproduced without aliasing
Lesson 6_et438b.pptx 23
Sampling/Aliasing Examples
Alias frequencies for 1st harmonic of sampling f (n=1)
f alias 100 Hz 2 80 Hz 60 Hz
The falias outside range 0-40 Hz, No
recovered signal
Lesson 6_et438b.pptx 24
12
4/25/2016
Sampling/Aliasing Examples
40 Hz
Frequency Spectrum Nyquist
Limit
20 Hz 3
Alias f
2.5
2
Amplitude
1.5
0.5
0
0 10 20 30 40 50
Frequency
Frequency Spectrum
Lesson 6_et438b.pptx 25
Sampling/Aliasing Examples
Example 4: A fs=100 Hz sampling frequency samples an information
signal of fI=100 Hz . Determine samples/period, the resulting recovered
signal ,and aliased frequencies if present
100 Hz 0.01 S
Ns 1 samples/period Below Nyquist rate of 2
100 Hz 0.01 S
Aliased signals will occur due to low sampling rate
Lesson 6_et438b.pptx 26
13
4/25/2016
Lesson 6_et438b.pptx 27
0
3
1 2.5
2
2
0 0.02 0.04 0.06 0.08 0.1
Amplitude
Time 1.5
Sampled Signal
Information 1
0 Hz (dc) 0.5
Alias f
0
0 10 20 30 40 50 60
Frequency
Frequency Spectrum
Lesson 6_et438b.pptx 28
14
4/25/2016
125 Hz 0.01 S
Ns 1.25 samples/period Below Nyquist rate of 2
100 Hz 0.008 S
Lesson 6_et438b.pptx 30
15
4/25/2016
2
Amplitude
1.5
0.5
0
0 10 20 30 40 50 60 70
Frequency
Frequency Spectrum
Lesson 6_et438b.pptx 31
Department of Technology
Lesson 6_et438b.pptx 32
16