Professional Documents
Culture Documents
Sampling: Introduction To Digital Data Acquisition
Sampling: Introduction To Digital Data Acquisition
Sampling
CSE466 1
A little background
Frequency
CSE466 2
Frequency of a Waveform
Frequency of a Waveform
n Examples:
frequency = 10 Hz
period = .1 (1/10) seconds
frequency = 100 Hz
period = .01 (1/100) seconds
CSE466 3
Waveform Sampling
n To represent waveforms in digital systems, we
need to digitize or sample the waveform.
Sampling Rate
CSE466 4
Sampling Rate
CSE466 5
Analog-to-Digital Conversion
0.5
Voltage
-0.5
-1
-1.5
0 1 2 3 4 5 6 7 8 9
Time
Analog-to-Digital Conversion
• ADC calibration
Integer
Code 7
6
5
4
Calibration
Curve 3
( 3 bit ADC) 2
1
0 Analog
Voltage
0 0.5 1.0 1.5 2.0 2.5 3.0 3.5
CSE466 6
Analog-to-Digital Conversion
VADCMAX
time
-VADCMAX
Analog-to-Digital Conversion
3 3
2 2
1 1
0 Analog 0 Analog
Voltage Voltage
0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 -2 -1.5 -1.0 -.5 0.0 0.5 1.0 1.5
CSE466 7
Analog-to-Digital Conversion
Code: 0 2n-1
-2n-1 2n-1-1
Positive Coding: Positive and Negative Coding:
⎡ V − VADC min ⎤ ⎡ V ⎤
Code = Round ⎢ IN ⎥ Code = Round ⎢ IN ⎥
⎣ Q ⎦ ⎣ Q ⎦
Why A/D-conversion?
Analog Analog
Analog signal ADC DAC signal Analog
input processing Processing output
CSE466 8
Nyquist–Shannon sampling theorem
q Example:
CD: SR=44,100 Hz
Nyquist Frequency = SR/2 = 22,050 Hz
q Example:
SR=22,050 Hz
Nyquist Frequency = SR/2 = 11,025 Hz
CSE466 17