modulation, demodulation and coding course period 3 - 2005 sorour falahati lecture 2
TRANSCRIPT
![Page 1: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/1.jpg)
Modulation, Demodulation and Coding Course
Period 3 - 2005Sorour Falahati
Lecture 2
![Page 2: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/2.jpg)
2004-01-24 Lecture 2 2
Last time, we talked about:
Important features of digital communication systems
Some basic concepts and definitions as signal classification, spectral density, random process, linear systems and signal bandwidth.
![Page 3: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/3.jpg)
2004-01-24 Lecture 2 3
Today, we are going to talk about:
The first important step in any DCS:
Transforming the information source to a form compatible with a digital system
![Page 4: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/4.jpg)
2004-01-24 Lecture 2 4
Formatting and transmission of baseband signal
EncodeTransmit
PulsemodulateSample Quantize
Demodulate/Detect
Channel
ReceiveLow-pass
filterDecode
PulsewaveformsBit stream
Format
Format
Digital info.
Textual info.
Analog info.
Textual info.
Analog info.
Digital info.
source
sink
![Page 5: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/5.jpg)
2004-01-24 Lecture 2 5
Format analog signals
To transform an analog waveform into a form that is compatible with a digital communication, the following steps are taken:
1. Sampling2. Quantization and encoding3. Baseband transmission
![Page 6: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/6.jpg)
2004-01-24 Lecture 2 6
Sampling
Time domain Frequency domain
)()()( txtxtxs )()()( fXfXfX s
|)(| fX)(tx
|)(| fX
|)(| fX s
)(txs
)(tx
![Page 7: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/7.jpg)
2004-01-24 Lecture 2 7
Aliasing effect
LP filter
Nyquist rate
aliasing
![Page 8: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/8.jpg)
2004-01-24 Lecture 2 8
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 9: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/9.jpg)
2004-01-24 Lecture 2 9
Sampling demo.(Speech properties and aliasing)
Voiced signal
Unvoiced signal
![Page 10: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/10.jpg)
2004-01-24 Lecture 2 10
Unvoiced segment of speech signal
(demo.)
![Page 11: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/11.jpg)
2004-01-24 Lecture 2 11
Short time unvoiced signal (demo.)
![Page 12: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/12.jpg)
2004-01-24 Lecture 2 12
Voiced segment of speech signal
(demo.)
![Page 13: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/13.jpg)
2004-01-24 Lecture 2 13
Short time voiced signal (demo.)
![Page 14: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/14.jpg)
2004-01-24 Lecture 2 14
Spectrum of a speech signal (demo.)
Fs/2=22.05 kHz
Fs/8=5.5125 kHz
![Page 15: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/15.jpg)
2004-01-24 Lecture 2 15
Sampling (demo.)
Low pass filtered signal (SSB=Fs/4=44.1 kHz)
Sampled signal at Fs/4(new Fs=11.25 kHz)
Original signal(Fs=44.1 kHz)
![Page 16: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/16.jpg)
2004-01-24 Lecture 2 16
Quantization
Amplitude quantizing: Mapping samples of a continuous amplitude waveform to a finite set of amplitudes.
In
Out
Qu
anti
zed
valu
es
Average quantization noise power
Signal peak power
Signal power to average quantization noise power
![Page 17: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/17.jpg)
2004-01-24 Lecture 2 17
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 18: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/18.jpg)
2004-01-24 Lecture 2 18
Qunatization example
t
Ts: sampling time
x(nTs): sampled valuesxq(nTs): quantized values
boundaries
Quant. levels
111 3.1867
110 2.2762
101 1.3657
100 0.4552
011 -0.4552
010 -1.3657
001 -2.2762
000 -3.1867
PCMcodeword 110 110 111 110 100 010 011 100 100 011 PCM sequence
amplitudex(t)
![Page 19: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/19.jpg)
2004-01-24 Lecture 2 19
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 20: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/20.jpg)
2004-01-24 Lecture 2 20
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:2Sat
2Lin
222 )()(})]({[
dxxpxexqxq E
ll
L
l
l qxpq
)(12
212/
0
22Lin
Uniform q.12
22Lin
q
![Page 21: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/21.jpg)
2004-01-24 Lecture 2 21
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 Simply implemented
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
![Page 22: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/22.jpg)
2004-01-24 Lecture 2 22
Non-uniform quantization
It is done by uniformly quantizing the “compressed” signal.
At the receiver, an inverse compression characteristic, called “expansion” is employed to avoid signal distortion. compression+expansion companding
)(ty)(tx )(ˆ ty )(ˆ tx
x
)(xCy x
yCompress Qauntize
ChannelExpand
Transmitter Receiver
![Page 23: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/23.jpg)
2004-01-24 Lecture 2 23
Statistical of speech amplitudes
In speech, weak signals are more frequent than strong ones.
Using equal step sizes (uniform quantizer) gives low for weak signals and high for strong signals.
Adjusting the step size of the quantizer by taking into account the speech statistics improves the SNR for the input range.
0.0
1.0
0.5
1.0 2.0 3.0Normalized magnitude of speech signalP
roba
bili
ty d
ensi
ty f
unct
ion
qN
S
qN
S
![Page 24: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/24.jpg)
2004-01-24 Lecture 2 24
Quantization demo.
Uniform Quantizer
1-bit Q.
2-bits Q.
3-bits Q.
4-bits Q.
Non-Uniform Quantizer
1-bit Q.
2-bits Q.
3-bits Q.
4-bits Q.
![Page 25: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/25.jpg)
2004-01-24 Lecture 2 25
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 26: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/26.jpg)
2004-01-24 Lecture 2 26
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 27: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/27.jpg)
2004-01-24 Lecture 2 27
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 28: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/28.jpg)
2004-01-24 Lecture 2 28
Spectra of PCM waveforms
![Page 29: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/29.jpg)
2004-01-24 Lecture 2 29
M-ary pulse modulation
M-ary pulse modulations category: M-ary pulse-amplitude modulation (PAM) M-ary pulse-position modulation (PPM) M-ary pulse-duration modulation (PDM)
M-ary PAM is a multi-level signaling where each symbol takes one of the M allowable amplitude levels, each representing bits of PCM words.
For a given data rate, M-ary PAM (M>2) requires less bandwidth than binary PCM.
For a given average pulse power, binary PCM is easier to detect than M-ary PAM (M>2).
Mk 2log
![Page 30: Modulation, Demodulation and Coding Course Period 3 - 2005 Sorour Falahati Lecture 2](https://reader031.vdocument.in/reader031/viewer/2022032203/56649de55503460f94addb5c/html5/thumbnails/30.jpg)
2004-01-24 Lecture 2 30
PAM example