Top Banner
Pulse Code Modulation (PCM) 1 EE322 A. Al-Sanie
16

Pulse Code Modulation (PCM) 1 EE322 A. Al-Sanie. Encode Transmit Pulse modulate SampleQuantize Demodulate/ Detect Channel Receive Low-pass filter Decode.

Dec 21, 2015

Download

Documents

Melina Chapman
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Pulse Code Modulation (PCM) 1 EE322 A. Al-Sanie. Encode Transmit Pulse modulate SampleQuantize Demodulate/ Detect Channel Receive Low-pass filter Decode.

EE322 A. Al-Sanie 1

Pulse Code Modulation (PCM)

Page 2: Pulse Code Modulation (PCM) 1 EE322 A. Al-Sanie. Encode Transmit Pulse modulate SampleQuantize Demodulate/ Detect Channel Receive Low-pass filter Decode.

EE322 A. Al-Sanie 2

EncodeTransmit

PulsemodulateSample Quantize

Demodulate/Detect

Channel

ReceiveLow-pass

filter Decode

PulsewaveformsBit stream

Format

Format

Digital info.

Textual info.

Analog info.

Textual info.

Analog info.

Digital info.

source

sink

Formatting and transmission of baseband signal

Page 3: Pulse Code Modulation (PCM) 1 EE322 A. Al-Sanie. Encode Transmit Pulse modulate SampleQuantize Demodulate/ Detect Channel Receive Low-pass filter Decode.

Formatting and transmission of baseband signal

– Information (data) rate:– Symbol rate :

• For real time transmission:

Sampling at rate

(sampling time=Ts)

Quantizing each sampled value to one of the L levels in quantizer.

Encoding each q. value to bits

(Data bit duration Tb=Ts/l)

EncodePulse

modulateSample Quantize

Pulse waveforms(baseband signals)

Bit stream(Data bits)

Format

Digital info.

Textual info.

Analog info.

source

Mapping every data bits to a symbol out of M symbols and transmitting

a baseband waveform with duration T

ss Tf /1 Ll 2log

Mm 2log

[bits/sec] /1 bb TR ec][symbols/s /1 TR

mRRb

Page 4: Pulse Code Modulation (PCM) 1 EE322 A. Al-Sanie. Encode Transmit Pulse modulate SampleQuantize Demodulate/ Detect Channel Receive Low-pass filter Decode.

EE322 A. Al-Sanie 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. Sampling2. Quantization and encoding3. Baseband transmission

Page 5: Pulse Code Modulation (PCM) 1 EE322 A. Al-Sanie. Encode Transmit Pulse modulate SampleQuantize Demodulate/ Detect Channel Receive Low-pass filter Decode.

EE322 A. Al-Sanie 5

Sampling

Time domain Frequency domain)()()( txtxtxs )()()( fXfXfX s

|)(| fX)(tx

|)(| fX

|)(| fX s

)(txs

)(tx

Page 6: Pulse Code Modulation (PCM) 1 EE322 A. Al-Sanie. Encode Transmit Pulse modulate SampleQuantize Demodulate/ Detect Channel Receive Low-pass filter Decode.

EE322 A. Al-Sanie 6

Aliasing effect

LP filter

Nyquist rate

aliasing

Page 7: Pulse Code Modulation (PCM) 1 EE322 A. Al-Sanie. Encode Transmit Pulse modulate SampleQuantize Demodulate/ Detect Channel Receive Low-pass filter Decode.

EE322 A. Al-Sanie 7

Sampling theorem

• Sampling theorem: A bandlimited signal with no spectral components beyond , can be uniquely determined by values sampled at uniform intervals of

– The sampling rate, is called Nyquist rate.

Sampling process

Analog signal

Pulse amplitudemodulated (PAM) signal

Page 8: Pulse Code Modulation (PCM) 1 EE322 A. Al-Sanie. Encode Transmit Pulse modulate SampleQuantize Demodulate/ Detect Channel Receive Low-pass filter Decode.

EE322 A. Al-Sanie 8

Quantization

• Amplitude quantizing: Mapping samples of a continuous amplitude waveform to a finite set of amplitudes.

In

Out

Qua

ntize

dva

lues

Average quantization noise power

Signal peak power

Signal power to average quantization noise power

Page 9: Pulse Code Modulation (PCM) 1 EE322 A. Al-Sanie. Encode Transmit Pulse modulate SampleQuantize Demodulate/ Detect Channel Receive Low-pass filter Decode.

EE322 A. Al-Sanie 9

Encoding (PCM)

• A uniform linear quantizer is called Pulse Code Modulation (PCM).

• Pulse code modulation (PCM): Encoding the quantized signals into a digital word (PCM word or codeword).– Each quantized sample is digitally encoded into an l bits codeword

where L in the number of quantization levels and

Page 10: Pulse Code Modulation (PCM) 1 EE322 A. Al-Sanie. Encode Transmit Pulse modulate SampleQuantize Demodulate/ Detect Channel Receive Low-pass filter Decode.

EE322 A. Al-Sanie 10

Example: Quantization

Page 11: Pulse Code Modulation (PCM) 1 EE322 A. Al-Sanie. Encode Transmit Pulse modulate SampleQuantize Demodulate/ Detect Channel Receive Low-pass filter Decode.

EE322 A. Al-Sanie 11

Quantization error• Quantizing error: The difference between the input and output of

a quantizer )()(ˆ)( txtxte

+

)(tx )(ˆ tx

)()(ˆ

)(

txtx

te

AGC

x

)(xqy Qauntizer

Process of quantizing noise

)(tx )(ˆ tx

)(te

Model of quantizing noise

Page 12: Pulse Code Modulation (PCM) 1 EE322 A. Al-Sanie. Encode Transmit Pulse modulate SampleQuantize Demodulate/ Detect Channel Receive Low-pass filter Decode.

EE322 A. Al-Sanie 12

PCM waveforms

• PCM waveforms category: Phase encoded Multilevel binary

Nonreturn-to-zero (NRZ) Return-to-zero (RZ)

1 0 1 1 0

0 T 2T 3T 4T 5T

+V-V

+V0+V0-V

1 0 1 1 0

0 T 2T 3T 4T 5T

+V-V

+V-V

+V0-V

NRZ-L

Unipolar-RZ

Bipolar-RZ

Manchester

Miller

Dicode NRZ

Page 13: Pulse Code Modulation (PCM) 1 EE322 A. Al-Sanie. Encode Transmit Pulse modulate SampleQuantize Demodulate/ Detect Channel Receive Low-pass filter Decode.

EE322 A. Al-Sanie 13

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

Page 14: Pulse Code Modulation (PCM) 1 EE322 A. Al-Sanie. Encode Transmit Pulse modulate SampleQuantize Demodulate/ Detect Channel Receive Low-pass filter Decode.

EE322 A. Al-Sanie 14

Baseband transmission

• To transmit information through physical channels, PCM sequences (codewords) are transformed to pulses (waveforms).– Each waveform carries a symbol from a set of size M.– Each transmit symbol represents bits

of the PCM words.– PCM waveforms (line codes) are used for binary

symbols (M=2).– M-ary pulse modulation are used for non-binary

symbols (M>2).

Mk 2log

Page 15: Pulse Code Modulation (PCM) 1 EE322 A. Al-Sanie. Encode Transmit Pulse modulate SampleQuantize Demodulate/ Detect Channel Receive Low-pass filter Decode.

EE322 A. Al-Sanie 15

Example: 4-PAM

𝑇= 𝑇𝑏 log2 𝑀

𝑇= 𝑇𝑏 log2 𝑀

For M-PAM: For 4-PAM:

T=2Tb

Rs=Rb/2Rs is the symbol rate

Page 16: Pulse Code Modulation (PCM) 1 EE322 A. Al-Sanie. Encode Transmit Pulse modulate SampleQuantize Demodulate/ Detect Channel Receive Low-pass filter Decode.

EE322 A. Al-Sanie 16

𝑅𝑠 = 1𝑇= 1𝑇𝑏 log2 𝑀= 𝑅𝑏log2 𝑀