Lecture 2
Lecture 2
Lecture 2
Last time, we talked about:
Lecture 2 2
Today, we are going to talk about:
Lecture 2 3
Formatting and transmission of baseband signal
Digital info.
Textual Format
Pulse
Bit stream waveforms Channel
Format
Analog
info. Low-pass
Decode Demodulate/
filter Receive
Textual Detect
sink
info.
Digital info.
Lecture 2 4
Format analog signals
To transform an analog waveform into a form
that is compatible with a digital
communication system, the following steps
are taken:
1. Sampling
2. Quantization and encoding
3. Baseband transmission
Lecture 2 5
Sampling
x | X ( f )
(t) |
xs (t)
| X s( f )
|
Lecture 2 6
Aliasing effect
LP filter
Nyquist rate
aliasing
Lecture 2 7
Sampling theorem
Analog
Sampling Pulse amplitude
process m
signal o dulated (PAM)
signal
Sampling theorem: A bandlimited
signal
with no spectral components beyond ,
can be uniquely determined by values
sampled at
uniform intervals ofrate,
The sampling is
called Nyquist rate.
Lecture 2 8
Quantization
Amplitude quantizing: Mapping samples of a continuous
amplitude waveform to a finite set of amplitudes.
Out
In
Average quantization noise power
Lecture 2 9
Encoding (PCM)
Lecture 2 10
Quantization example
amplitude
x(t)
111 3.1867
110 2.2762
Quant. levels
101 1.3657
100 0.4552
011 -0.4552
boundaries
010 -1.3657
+
e(t)
xˆ (t)
x(t)
Lecture 2 12
Quantization error …
Quantizing error:
Granular or linear errors happen for inputs within the dynamic
range of quantizer
Saturation errors happen for inputs outside the dynamic
range of quantizer
Saturation errors are larger than linear errors
Saturation errors can be avoided by proper tuning of AGC
Quantization noise variance:
2
E{[x
q e 2 (x)p(x)dx 2
Lin
2
Sat
q(x)]2 } L / 2 2 2
2 1 ql 2
p(xl )q l Uniform q
Lin
2
12
q. Lin 12
l0
Lecture 2 13
Uniform and non-uniform quant.
Uniform (linear) quantizing:
No assumption about amplitude statistics and correlation
properties of the input.
Not using the user-related specifications
Robust to small changes in input statistic by not finely tuned to a
specific set of input parameters
Simple implementation
Application of linear quantizer:
Signal processing, graphic and display applications, process
control applications
Non-uniform quantizing:
Using the input statistics to tune quantizer parameters
Larger SNR than uniform quantizing with same number of levels
Non-uniform intervals in the dynamic range with same quantization
noise variance
Application of non-uniform quantizer:
Commonly used for speech
Lecture 2 14
Non-uniform quantization
It is achieved by uniformly quantizing the “compressed”
signal.
At the receiver, an inverse compression characteristic,
called “expansion” is employed to avoid signal distortion.
compression+expansion companding
y
C(x)
x(t) x
y(t) yˆ (t xˆ (t
ˆ
) )
x
y
Compress Qauntize Expand
Channel
ˆ
Transmitter Receiver
Lecture 2 15
Statistics of speech amplitudes
In speech, weak signals are more frequent than strong
ones.
Probability density function 1.0
0.5
0.0
1.0 2.0 3.0
Normalized magnitude of speech signal
S
Using equal step sizes (uniform quantizer) gives
for weak
signals
low and high S for strong N
N q q
signals.
Adjusting the step size of the quantizer by taking into account the speech statistics
improves the SNR for the input range.
Lecture 2 16
Baseband transmission
Lecture 2 17
PCM waveforms
T
Lecture 2 18
PCM waveforms …
Criteria for comparing and selecting PCM
waveforms:
Spectral characteristics (power spectral density and
bandwidth efficiency)
Bit synchronization capability
Error detection capability
Interference and noise immunity
Implementation cost and
complexity
Lecture 2 19
Spectra of PCM waveforms
Lecture 2 20
M-ary pulse modulation
Lecture 2 21
PAM example
Lecture 2 22