03 Module2 Sampling and Quantizing
03 Module2 Sampling and Quantizing
Learning aim
• To study the transmission process and transmission principle
of voice signal in digital baseband and digital broadband
transmission system, the concept of digital communication
system is established.
2020/2/27 3
Digital baseband communication system
2020/2/27 4
Learning aim
You should be able to
2020/2/27 6
2.1 Digital baseband transmission system
2020/2/27 7
Phone Signal Signal
Interface 1 multiplexing demultiplexing
Baseband
transmission channel
line line
voice encoding decoding voice Phone
codec codec Interface 2
Fig 2-1 digital baseband communication system block diagram
2020/2/27 8
Explain terms
2020/2/27 9
Explain terms
2020/2/27 10
2.1.1 脉冲编码调制 PCM
2020/2/27 11
2.1.1 脉冲编码调制 PCM
Analog T t Digital
information Communication Low-pass
source system filter
模拟信 抽 量 编 数字通 译 低
息源 样 化 码 信系统 码 通
x̂t
sampling quantization encoding decoding
x(t) xs t xq t s
k ŝ
k
xˆ q t
模拟随机信号
Analog
random signal A/D模数转换 D/A数模转换
A/D conversion
图6-1 模拟信号的数字传输 D/A conversion
time
fs 2 fH
2020/2/27 14
Sampling theorem
Ts
fs(=1/Ts) fs 2 fH
Analog signal by receiver
terminal rebuilt x′(t)
图2-7 抽样定理示意图
2020/2/27 Fig 2-7 sampling theorem diagram 15
Spectrum waveform when the signal is sampled by transmit terminal
fs 2 fH
2020/2/27 17
2.脉冲振幅调制(PAM)
• pulse amplitude modulation
xt
基带信号
Baseband signal
0 t
PAM
PAM signal
0 t
PDM
t S
s t
Ts Principle of PAM :
PAM is a modulation
t mode 2, that
4 H
the
X 4
x s t
S
amplitude of pulse
t carrier changes
5 withthe
H H
baseband signal.
Fig 2-6 principle of PAM diagram
3. Quantization of analog signals
2020/2/27 20
Actual value of signal
quantization error
Quantized value of signal
2020/2/27 22
Basic terms
• Quantization range: the range of the signal sampling value, usually defined
by the difference between the maximum and minimum of the signal
amplitude.
2020/2/27 23
Problem 2
2020/2/27
The lack of uniform quantization
• In the reality, the method is not suitable for small signal. Because
of the uniform quantization scale is fixed, it has nothing to do with
the input sample values , whether it is large or small.
• For large signals, the SNR is more than enough; while for small
signals, the SNR is inadequate, uniform quantization is detrimental
to small signals.
2020/2/27 25
The lack of uniform quantization
2020/2/27 26
Non-uniform quantization
• ∆ change its size varies with the size of the signal, it is not a
constant. When input signal is small signal then ∆ is small ,
and input signal become large , it turn large . So almost the
same SNR is obtained and the total quantization levels if less
then of uniform quantization.
2020/2/27 27
Signal compressor
2020/2/27 28
Signal compressor
non-uniform quantization
channel
expand
compress
input output
The large
The small signal
signal
2020/2/27 Fig 2-8 non-uniform quantization diagram 29
A compression law 13 polygonal lines
• The signal is normalized at first.
• The X axis(input) and the y axis(output) are divided in two different ways.
• The X axis is unevenly divided into 8 segments within the 0~1 (normalized)
range. The rule: the next segment is 1/2 of the last segment.
NO. 1 2 3 4 5 6 7 8
range 0- 1/128- 1/64- 1/32- 1/16- 1/8- 1/4- 1/2-1
1/128 1/64 1/32 1/16 1/8 1/4 1/2
slope 16 16 8 4 2 1 1/2 1/4
• The Y axis is evenly divided into 8 segments within the 0~1 (normalized) range,
any segments is 1/8.
2020/2/27 30
slope
1-16
2-16
3-8
4-4
5-2
6-1
7-1/2
8-1/4
• As shown in Fig 2-9, first of the 2 sections have the same slopes (16), so they can be considered as
a straight line segment, so there are only 7 different polygonal lines with different slopes.
• Because the voice signal is bipolar signal, so there are a group of polygonal lines in the negative
direction, there are 7, which is close to the zero point of 1,2 segments slope are equal to 16, and
in the positive direction 1,2 segments have the same slope, so the four segments can be combined
into one, therefore, total 2 x (8-1) -1=13, so it was called 13 polygonal.
• In quantitative analysis the rule still is executed that there are 8 segments respectively in positive
and negative direction.
2020/2/27 32
Brief summary
2020/2/27 33
HOMEWORK
2020/2/27 34