KyungHee
University
Chapter 2:
Formatting and Baseband
Modulation
교재: Digital communications, B. Sklar
전자공학과 홍 인기
ekhong@khu.ac.kr
031-201-2982, 010-5293-5203
Digital Communication 1
Chapter 2
Contents
KyungHee
University
Formatting
Sampling Theorem
Pulse Code Modulation (PCM)
Quantization
Baseband Modulation
Digital Communication 1
Chapter 2
Introduction
Digital Communication 1
KyungHee
University
Chapter 2
KyungHee
University
Introduction
Formatting
To insure that the message is compatible with digital signal
Sample : Continuous time signal Discrete time pulse signal
Quantization : Continuous amplitude Discrete amplitude
Pulse coding : Map the quantized signal to binary digits
When data compression is employed in addition to formatting, the
process is termed as a source coding.
Baseband Signaling: Pulse modulation
Convert binary digits to pulse waveforms
These waveforms can be transmitted over cable.
Digital Communication 1
Chapter 2
Baseband Systems
Digital Communication 1
KyungHee
University
Chapter 2
Formatting Textual Data
Digital Communication 1
KyungHee
University
Chapter 2
Formatting Textual Data (Cont.)
KyungHee
University
A system using a symbol set with a size of M is referred
to as an M-ary system.
For k=1, the system is termed binary.
For k=2, the system is termed quaternary or 4-ary.
The value of k or M represents an important initial choice
in the design of any digital communication system.
Digital Communication 1
Chapter 2
KyungHee
University
Formatting Analog Information
Baseband analog signal
x(t )
t
X(f )
− fm
f
fm
Continuous waveform of which the spectrum extends from dc to
some finite value (e.g. few MHz)
Analog waveform Sampled version
Sampling process ((e.g.) sample-and-hold)
PAM
Analog waveform
Low pass filtering
Digital Communication 1
Chapter 2
KyungHee
University
Sampling Theorem
Uniform sampling theorem
A bandlimited signal having no spectral components
above fm hertz can be determined uniquely by values
sampled at uniform intervals of
1
sec
TS ≤
2 fm
Digital Communication 1
Chapter 2
KyungHee
University
Nyquist Criterion
A theoretically sufficient condition to allow an analog
signal to be reconstructed completely from a set of
uniformly spaced discrete-time samples
fS ≥ 2 fm
Nyquist rate
fS = 2 fm
Digital Communication 1
Chapter 2
Impulse Sampling
KyungHee
University
In the time domain,
∞
xS (t ) = x(t ) xδ (t ) = ∑ x(nTS )δ (t − nTS )
n = −∞
∞
xδ (t ) = ∑ δ (t − nTS )
n = −∞
In the frequency domain,
1 ∞
X S ( f ) = X ( f ) ∗ Xδ ( f ) =
X ( f − nf S )
∑
TS n = −∞
1 ∞
Xδ ( f ) =
δ (t − nf S )
∑
Ts n = −∞
Digital Communication 1
Chapter 2
Impulse Sampling (Cont.)
Digital Communication 1
KyungHee
University
Chapter 2
Impulse Sampling (Cont.)
KyungHee
University
The analog waveform can theoretically be completely
recovered from the samples by the use of filtering (see
next figure).
Aliasing
If f S < 2 f m , some information will be lost.
Cf) Practical consideration
Perfectly bandlimited signals do not occur in nature.
A bandwidth can be determined beyond which the spectral
components are attenuated to a level that is considered negligible.
Digital Communication 1
Chapter 2
KyungHee
University
Impulse Sampling (Cont.)
f s < 2W
f s < 2W
f s > 2W
Digital Communication 1
Chapter 2
Aliasing
KyungHee
University
Due to undersampling
Appear in the frequency band between
( f s − f m ) and f m
Digital Communication 1
Chapter 2
Aliasing (Cont.)
KyungHee
University
Effect in the time domain
Digital Communication 1
Chapter 2
KyungHee
University
Natural Sampling
More practical method
∞
xS (t ) = x(t ) x p (t ) = x(t ) ∑ cn e j 2πnf S t
n = −∞
∞
1 / T , nTs − T / 2 ≤ t < nTs + T / 2
x p (t ) =
0, otherwise
∞
X S ( f ) = F{x(t ) ∑ cn e j 2πnf S t } = ∑ cn X ( f − nf S )
n = −∞
n = −∞
A replication of X(f), periodically repeated in frequency
every fs Hz.
Weighted by the Fourier series coefficients of the pulse
train, compared with a constant value in the impulsesampled case.
1
nT
cn = sinc( )
Ts
Ts
Digital Communication 1
Chapter 2
Natural Sampling (Cont.)
Digital Communication 1
KyungHee
University
Chapter 2
KyungHee
University
Sample-and-Hold
The simplest and most popular sampling method
∞
xS (t ) = p (t ) ∗ x(t ) xδ (t ) = p (t ) ∗ ∑ x(nTS )δ (t − nTS )
n = −∞
1 ∞
X ( f − nf S )
X S ( f ) = P( f ) X ( f ) ∗ X δ ( f ) = P( f )
∑
TS n = −∞
Significant attenuation of the higher-frequency spectral
replicates
The effect of the nonuniform spectral gain P(f) applied to
the desired baseband spectrum can be reduced by
postfiltering operation.
Digital Communication 1
Chapter 2
Sample-and-Hold
Digital Communication 1
KyungHee
University
Chapter 2
Oversampling
KyungHee
University
Oversampling is the most economic solution for the task
of transforming an analog signal to a digital signal, or the
reverse.
Signal processing performed with high performance
analog equipment is typically much more costly than
using digital signal processing equipment to perform the
same task.
Digital Communication 1
Chapter 2
KyungHee
University
Quantization
Each sample value of an analog waveform is
approximated with a quantized pulse.
The approximation will result in an error.
“Quantization noise”
L-level uniform quantizer for a signal with a peak-to-peak
range of Vpp= Vp-(-Vp) =2Vp
The quantization step
q = V pp / L
q
q
The sample value on [iq − , iq + ) is approximate to iq
2
2
The quantization error is
Digital Communication 1
−q/2≤e< q/2
Chapter 2
Quantization Errors
Digital Communication 1
KyungHee
University
Chapter 2
Quantization Errors (Cont’d)
KyungHee
University
SNR due to quantization errors
2
1
∆
[e 2 ] ∫ e 2 p (=
=
σ e 2 E=
e)de ∫ e 2 =
de
−∆ / 2
−∆ / 2
12
∆
∆/2
2
V pp L∆
=
V p2 =
2
2
V p2
S
=
=
2
N q σ
Digital Communication 1
∆/2
2
L2 ∆ 2 / 4
2
=
3
L
∆ 2 /12
Chapter 2
KyungHee
University
Pulse Code Modulation (PCM)
Each quantization level is expressed as a codeword
L-level quantizer consists of L codewords
A codeword of L-level quantizer is represented by l-bit
binary digits.
l = log 2 L
PCM
Encoding of each quantized sample into a digital word
Digital Communication 1
Chapter 2
Pulse Code Modulation (PCM)
Digital Communication 1
KyungHee
University
Chapter 2
KyungHee
University
PCM Word Size
How many bits shall we assign to each analog sample?
The choice of the number of levels, or bits per sample,
depends on how much quantization distortion we are
willing to tolerate with the PCM format.
The quantization distortion error
1
| e |≤ pV pp
l ≥ log 2
bits
2p
S
2
= 3L ≥ α
N q
Digital Communication 1
l ≥ log 2 α / 3 bits
Chapter 2
KyungHee
University
Uniform Quantization
The steps are uniform in size.
The quantization noise is the same for all signal
magnitudes.
SNR is worse for low-level signals than for high-level
signals.
Digital Communication 1
Chapter 2
Uniform Quantization (Cont.)
Digital Communication 1
KyungHee
University
Chapter 2
Nonuniform Quantization
KyungHee
University
For speech signals, many of the quantizing steps are
rarely used.
Provide fine quantization to the weak signals and coarse
quantization to the strong signals.
Quantization noise can be made proportional to signal
size.
Improve the overall SNR by reducing the noise for the
predominant weak signals, at the expense of an increase
in noise for the rarely occurring strong signals.
Digital Communication 1
Chapter 2
KyungHee
University
Nonuniform Quantization (Cont.)
Companding
Achieved by first distorting the original signal with a logarithmic
compression characteristic and then using a uniform quantizer.
At the receiver, an inverse compression characteristic, called
expansion, is applied so that the overall transmission is not
distorted.
The processing pair (compression and expansion) is usually
referred to as companding.
x(n)
x(n)’
Compression
Digital Communication 1
Quantization
Expansion
Chapter 2
Nonuniform Quantization (Cont.)
Digital Communication 1
KyungHee
University
Chapter 2
Baseband Transmission
KyungHee
University
Digits are just abstractions: a way to describe the
message information.
Need something physical that will represent or carry the digits.
Represent the binary digits with electrical pulses in order
to transmit them through a (baseband) channel.
Binary pulse modulation: PCM waveforms
Ex) RZ, NRZ, Phase-encoded, Multi-level binary
M-ary pulse modulation : M possible symbols
Ex) PAM, PPM (Pulse position modulation), PDM (pulse duration
modulation)
Digital Communication 1
Chapter 2
PCM Waveform Types
KyungHee
University
Nonreturn-to-zero (NRZ)
NRZ-L, NRZ-M (differential encoding), NRZ-S
Return-to-zero (RZ)
Unipolar-RZ, bipolar-RZ, RZ-AMI
Phase encoded
bi-φ-L (Manchester coding), bi-φ-M, bi-φ-S
Multilevel binary
Many binary waveforms use three levels, instead of two.
Digital Communication 1
Chapter 2
PCM Waveforms (Fig. 2.22)
Digital Communication 1
KyungHee
University
Chapter 2
Choosing a PCM Waveform
KyungHee
University
DC component
Magnetic recording prefers no dc (Delay, Manchester..)
Self-clocking
Manchester
Error detection
Duobinary (dicode)
Bandwidth compression
Duobinary
Differential encoding
Noise immunity
Digital Communication 1
Chapter 2
Spectral Densities of PCM Waveforms
KyungHee
University
Normalized bandwidth
Can be expressed as W/RS [Hz/(symbol/s)] or WT
Describes how efficiently the transmission bandwidth is being
utilized
Any waveform type that requires less than 1.0Hz for sending 1
symbol/s is relatively bandwidth efficient.
Bandwidth efficiency
R/W [bits/s/Hz]
Digital Communication 1
Chapter 2
Spectral Densities of PCM Waveforms
Digital Communication 1
KyungHee
University
Chapter 2
M-ary Pulse-Modulation
KyungHee
University
M=2k-level transmission concept : k data bits per symbol
Kinds of M-ary pulse modulation
Pulse-amplitude modulation (PAM)
Pulse-position modulation (PPM)
Pulse-duration modulation (PDM): called pulse-width modulation
(PWM)
M-ary versus Binary
Bandwidth and transmission delay tradeoff
Performance and complexity tradeoff
Digital Communication 1
Chapter 2
Example. Quantization Levels and
Multilevel Signaling
KyungHee
University
Analog waveform fm=3kHz, 16-ary PAM, quantization
distortion ≤ 1%
(a) Minimum number of bits/sample?
(b) Minimum required sampling rate?
(c) Symbol transmission rate?
(d) If W=12kHz, the bandwidth efficiency?
Digital Communication 1
Chapter 2