EEE351 PCSlect 06
EEE351 PCSlect 06
EEE351 PCSlect 06
Communication Systems
Chapter No. 6
Introduction to Digital Communications
Formatting of Digital Data
Sampling
PCM
information sink
Character Coding (Textual Information)
A textual information is a sequence of alphanumeric characters
Quantization
Convert from discrete-time continuous valued signal to discrete
continuous valued
If done properly (Nyquist theorem is satisfied), sampling does not
introduce distortion
Sampled values:
The value of the function at the sampling points
Sampling interval:
The time that separates sampling points (interval b/w samples), T
s
If the signal is slowly varying, then fewer samples per second will
Natural Sampling
Flat-Top Sampling
Ideal Sampling ( or Impulse Sampling)
1
1
Xs ( f ) X ( f )*
Ts
e jn s t
X ( f ) * e jn st
Ts
n n
1
s
X s ( f ) X ( f ) * ( f nf s ), f s
Ts n 2
1 1 n
Xs( f )
Ts
n
X ( f nf s )
Ts
n
X(f )
Ts
Ideal Sampling ( or Impulse Sampling)
This shows that the Fourier Transform of the sampled signal is the
Fourier Transform of the original signal at rate of 1/Ts
Ideal Sampling ( or Impulse Sampling)
This means that the output is simply the replication of the original
signal at discrete intervals, e.g
Ideal Sampling ( or Impulse Sampling)
As long as fs> 2fm,no overlap of repeated replicas X(f - n/Ts)
will occur in Xs(f)
Minimum Sampling Condition:
fs fm fm fs 2 fm
Sampling Theorem: A finite energy function x(t) can be completely
reconstructed from its sampled value x(nTs) with
2 f (t nTs )
sin
2Ts
x(t ) Ts x(nTs )
n (t nTs )
T s x(nTs ) sin c(2 f s (t nTs ))
1 1
n Ts
provided that => fs 2 fm
Ts is called the Nyquist interval: It is the longest time interval that can
be used for sampling a bandlimited signal and still allow
reconstruction of the signal at the receiver without distortion
Recovering the Analog Signal
One way of recovering the original signal from sampled
signal Xs(f) is to pass it through a Low Pass Filter (LPF) as
shown below
Example 2:
Consider the analog signal xa(t) given by
xa (t ) 3cos 2000 t 5sin 6000 t cos12000 t
What is the Nyquist rate for this signal?
What is the discrete time signal obtained after sampling, if
fs=5000 samples/s.
What is the analog signal x(t) that can be reconstructed from the
sampled values?
Practical Sampling Rates
Speech
- Telephone quality speech has a bandwidth of 4 kHz
(actually 300 to 3300Hz)
- Most digital telephone systems are sampled at
8000 samples/sec
Audio:
- The highest frequency the human ear can hear is
approximately 15kHz
- CD quality audio are sampled at rate of 44,000
samples/sec
Video
- The human eye requires samples at a rate of at
least 20 frames/sec to achieve smooth motion
Pulse Code Modulation (PCM)
satellite communication)
Efficient codes are readily available
Disadvantage:
Requires wider bandwidth than analog signals
2.5 Sources of Corruption in the sampled,
quantized and transmitted pulses
1 2
q/2 q/2 q/2
2 e p(e)de e 1
2
q de q e de
2
q / 2 q / 2 q / 2
1 e q /2
q 2
Nq q
3
3 q /2 12
The peak power of the analog signal (normalized to 1 Ohms ) can
be expressed as:
L2 q 2
V p2
P
1 4
Therefore the Signal to Quatization Noise Ratio is given by:
L2 q 2 / 4
SNRq 2 3L2
q /12
Nonuniform Quantization
Nonuniform quantizers have unequally spaced levels
The spacing can be chosen to optimize the Signal-to-Noise Ratio
Bandwidth requirement
Synchronization requirement
s (t ) a
n
n f (t nTb )
where f(t) is the pulse shape and Tb is the bit period (Tb=Ts/n for n
bit quantizer)
This means that each line code is described by a symbol mapping
function an and pulse shape f(t)
Details of this operation are set by the type of line code that is
being used
Summary of Major Line Codes
Categories of Line Codes
Bipolar - Send pulse or negative of pulse
Unipolar NRZ
Bipolar NRZ
RZ - Return to Zero - pulse lasts just half of bit period
Unipolar RZ
Bipolar RZ
Manchester Line Code
Modulation
Multilevel Binary: dicode, doubinary
Note:There are many other variations of line codes (see Fig. 2.22,
page 80 for more)
Commonly Used Line Codes
Bipolar line codes use the antipodal mapping
A, when X n 1
an
A, when X n 0
Bipolar NRZ uses NRZ pulse shape
Bipolar RZ uses RZ pulse shape
Bipolar NRZ
Bipolar RZ
Unipolar NRZ Line Code
Unipolar non-return-to-zero (NRZ) line code is defined by
unipolar mapping
A, when X n 1
an Where Xn is the nth data bit
In addition, the pulse 0, shape
when
for X n 0
unipolar NRZ is:
RZ-AMI
Manchester Line Codes
Manchester line codes use the antipodal mapping and the
following split-phase pulse shape:
Summary of Line Codes
Comparison of Line Codes
Self-synchronization
Manchester codes have built in timing information because they
Error probability
Bipolar codes perform better (are more energy efficient) than
bandwidth, etc.)
guarantee transitions every symbol interval to assist in symbol timing
recovery
1. Power Spectral Density of Line Codes
After line coding, the pulses may be filtered or shaped to further
components
AMI RZ and Manchester NRZ do not have DC components
Bits per PCM word and M-ary Modulation
Bits per PCM Word and Bits per Symbol
Number of L=2l Number of bits for each
quantization levels quantization level
M-ary Pulse Modulation Waveforms
M = 2k Number of bits for M-ary
L 2p
p = 0.01
1
l log 2 l log 2 (50) 6
2 p
fs 8000 Rs 48000 M 16
R 48000
R2 12000symbols / sec
log 2 ( M ) 4
Analog Transmission of
Digital Data
ASK
FSK
PSK
QPSK
QAM
Signal Constellation
Acknowledgement