Unit 2 Analog-To-Digital Conversion
Unit 2 Analog-To-Digital Conversion
TRƯỜNG OF SCIENCE
ĐẠI HỌC ANDHÀ
BÁCH KHOA TECHNOLOGY
NỘI
SCHOOL OF INFORMATION AND COMMUNITCATION TECHNOLOGY
UNIT 2
ANALOG-TO-DIGITAL CONVERSION
1. Analog-to-digital conversion
3. Quantization
After completing this lesson, you will have grasped the following topics:
▪ The sampling method of signals and the basic parameters of the sampling
process.
2𝜋𝐹𝑛
= 𝐴. 𝑐𝑜𝑠 +𝜃
𝐹𝑠
𝐹
𝑓= (3)
𝐹𝑠
1 𝜏 2 1 𝜏 2
𝑃𝑞 = න 𝑒𝑞 𝑡 𝑑𝑡 = න 𝑒𝑞 𝑡 𝑑𝑡
2𝜏 −𝜏 𝜏 0
𝜏 2 2
1 ∆ ∆ 𝐴2 /3
𝑃𝑞 = න 𝑡 2 𝑑𝑡 = 𝑃𝑞 = 2𝑏
𝜏 0 2𝜏 12 2
IT 4172 Signal processing Chapter 1. Signal and system 15
Signal-to-quantization noise ratio SQNR
● Quantization noise power of a signal xa(t)
1 𝑇𝑝 𝐴2
𝑃𝑥 = න 𝐴𝑠𝑖𝑛Ω0 𝑡 2 𝑑𝑡 =
𝑇𝑝 0 2
17
4. Summary
● The process of converting analog signals into
digital signals consists of two main steps:
sampling and quantization.
𝑥𝑎 𝑡 = 3𝑐𝑜𝑠100𝜋𝑡
(a) Determine the minimum sampling frequency to avoid aliasing.
(b) Assuming the signal is sampled with Fs = 200Hz, determine the corresponding discrete
signal?
(c) Assuming the signal is sampled with Fs = 75Hz. determine the corresponding discrete
signal?
(d) Determine the frequency Fa such that 0 < Fa < Fs/2 so that the samples will match the
result in part (c) ?
𝑥1 𝑡 = 𝑐𝑜𝑠2𝜋 10 𝑡
𝑥2 𝑡 = 𝑐𝑜𝑠2𝜋 50 𝑡
a. For f0 = 1/50 and N = 200, write a quantization program for the signal x(n) using the rounding
quantization method with quantization levels of 64, 128, and 256. For each case, plot the signals
x(n), xq(n), e(n), and calculate the corresponding signal-to-quantization-noise ratio (SQNR)
b. Compare and comment on the SQNR results in part (a) with the theoretical formula.
References:
• Nguyễn Quốc Trung (2008), Xử lý tín hiệu và lọc số, Tập 1, Nhà xuất bản Khoa học và Kỹ
thuật, Chương 1 Tín hiệu và hệ thống rời rạc.
• J.G. Proakis, D.G. Manolakis (2007), Digital Signal Processing, Principles, Algorithms, and
Applications, 4th Ed, Prentice Hall, Chapter 1 Introduction.