CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.
-
Upload
beatrice-carter -
Category
Documents
-
view
242 -
download
5
Transcript of CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.
![Page 1: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/1.jpg)
CSE4214 Digital Communications
Chapter 2
Formatting and Baseband Modulation
![Page 2: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/2.jpg)
CSE4214 Digital Communications
Formatting
![Page 3: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/3.jpg)
Formatting & Baseband
3
![Page 4: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/4.jpg)
Formatting and Baseband
4
![Page 5: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/5.jpg)
What is Formatting?
5
Information can take either of the three forms:
1. Textual information
2. Analog signals
3. Digital data Before the signals are transmitted over a digital
communication channel, an information bearing signal must be converted to digital symbols (Formatting).
The resulting digital symbols are then represented by baseband waveforms (Pulse Modulation or Line Coding).
![Page 6: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/6.jpg)
Block Diagram
6
Block diagram representing formatting and transmission of baseband signals.
![Page 7: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/7.jpg)
Textual Data (1)
7
American Standard Code for Information Interchange (ASCII) for encoding alphanumerics
7
![Page 8: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/8.jpg)
Textual Data (2)Extended Binary Coded Decimal Interchange Information (EBCDIC) for encoding alphanumerics
8
![Page 9: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/9.jpg)
Message and Symbol Textual message comprises a sequence of
alphanumeric characters. Example: Hello, how are you.
Textual message is converted into a sequence of bits, i.e. bit stream or baseband signal.
Symbols are formed by a group of k bits from a finite symbol set of M=2k such symbols.
A system using a symbol set size of M is referred to as an M-ary system.
9
![Page 10: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/10.jpg)
Message and Symbol: Example
10
![Page 11: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/11.jpg)
CSE4214 Digital Communications
Formatting Analog Information
![Page 12: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/12.jpg)
Periodic Sampling
Typically, discrete-time signals are formed by periodically sampling a continuous-time signal : x(n)=xa(nTs)
The sampling interval Ts is the sampling period, and fs=1/Ts is the sampling frequency in samples per second.
The sampling process:
fs=1/Ts
Sa(t)
xs(t)xa(t) Convert impulses into samples
x(n)
12
![Page 13: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/13.jpg)
nsa nTtts )()(
0 Ts 2Ts 3Ts 4Ts 5Ts 6Ts 7Ts 8Ts 9Ts 10Ts 11Ts
)()()()()()()(
nssa
nsaaas nTtnTxnTttxtstxtx
0 Ts 2Ts 3Ts 4Ts 5Ts 6Ts 7Ts 8Ts 9Ts 10Ts 11Ts
)(txa
0 Ts 2Ts 3Ts 4Ts 5Ts 6Ts 7Ts 8Ts 9Ts 10Ts 11Ts
13
![Page 14: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/14.jpg)
Illustration of Ideal Sampling
14
![Page 15: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/15.jpg)
Fourier Transform of a CT Sampled Signal
Fourier transform pair:
Fourier transform of sampled signal :
deXtx
dtetxX
tj
tj
)(2
1)(
)()(
s
sn
sa
s
s TnX
TX
2 , )(
1)(
15
![Page 16: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/16.jpg)
The Fourier transform of the continuous-time sampled signal is a periodic function of consisting of a superposition of shifted replicas of , scaled by 1/Ts .
Bs
)(sX
0 s
n=1n=0 n=2n=-1n=-2
s
1/Ts
Bs
)(sX
0 s
n=1n=0 n=2n=-1n=-2
s
1/Ts
)(aX
0B
B
B 2For s B 2For s
s
sn
sa
s
s TnX
TX
2 , )(
1)(
)(sX
)(aX
The overlap of the Fourier transform of each of the
terms of the sampled signal is called aliasing
16
![Page 17: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/17.jpg)
Sampling Theorem :
A bandlimited continuous-time signal, with highest frequency(bandwidth) B Hz, can be uniquely recovered from its samples provided that the sampling rate Fs 2B samples per second.
The frequency Fs = 2B is called the Nyquist sampling frequency.
If the signal is sampled at less than the Nyquist rate, then the aliasing occurs.
17
![Page 18: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/18.jpg)
Example
18
![Page 19: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/19.jpg)
Natural Sampling Replace impulse train in ideal sampling with a
pulse train p(t) (also know as the gating waveform).
The pulse train
where The pulse train can be implemented by an on/off
switch.19
![Page 20: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/20.jpg)
Illustration of Natural Sampling
20
![Page 21: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/21.jpg)
Analog-to-Digital Conversion
Components : anti-aliasing filter, sample and hold, analog-to-digital converter (quantization).
Anti-Aliasing
Filter
Sampleand
Hold
Analogto
Digital
Block Diagram of an ADC
21
![Page 22: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/22.jpg)
Anti-aliasing Filter The role of anti-aliasing filter is to cut off the
frequency components that is higher than the half of sampling frequency.
Ideally, the anti-aliasing filter should have a lowpass frequency response,
Such a “brickwall” filter can’t be realized using practical analog circuit, hence, must be approximated.
2 ,0
2 ,1)(
/ΩΩ
/ΩΩjH
T
Ta
22
![Page 23: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/23.jpg)
Anti-aliasing Filter’s Effect on Signal Band
1
1/A0
2T
p
pT 0 T
)( jX a
)( jH a
Spectrumof aliased
componentof input
23
![Page 24: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/24.jpg)
Anti-Aliasing Filter Design Requirement :
1. Approximate linear phase in passband
2. Passband edge > highest frequency in signal
3. Stopband edge < half of sampling frequency Four types of analog filter
1. Butterworth filter : good passband, slow roll-off
2. Chebyshev filter : good roll-off and linear phase
3. Elliptic filter : fast roll-off, non-linear phase
4. Bessel filter : close to linear phase, wide transitionband Design can be done in Matlab
24
![Page 25: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/25.jpg)
Frequency Response of 4 Types of Filter
25
![Page 26: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/26.jpg)
Sample and Hold Sample and hold is the most popular sampling
method. Involves two operations:
Sample and hold
26
![Page 27: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/27.jpg)
Sample and Hold Circuit Samples the analog signal at uniform intervals
and holds the sampled value after each sampling operation for sufficient time for accurate conversion by the A/D converter.
HoldSample
Clock
InputOutput+
-
27
![Page 28: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/28.jpg)
Analog-to-Digital Converter
Converts an analog signal into a binary coded digital signal.
Types of A/D converter1. Integrating converter2. Successive approximation converter3. Flash converter4. Folding A/D converter5. Pipelined A/D converter
28
![Page 29: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/29.jpg)
CSE4214 Digital Communications
Quantization
![Page 30: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/30.jpg)
A/D Conversion Uniform quantizer
Peak signal power to average quantization noise power is:
SNR increases as a function of the number of quantization level squared.
30
23LN
S
q
![Page 31: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/31.jpg)
Examples of Sampling
31
Original analog waveform Natural-sampled data
Quantized samples Sample and Hold
![Page 32: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/32.jpg)
Pulse Code Modulation (PCM) In pulse modulation, some parameter of a pulse train is
varied in accordance with the sample values of a message signal.
Pulse-amplitude modulation (PAM) Amplitudes of regularly spaced pulses are varied.
Pulse-width modulation (PWM) Widths of the individual pulses are varied.
Pulse-position modulation (PPM) Position of a pulse relative to its original of occurrence is varied.
Pulse modulation techniques are still analog modulation. For digital communications of an analog source, quantization of sampled values is needed.
32
![Page 33: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/33.jpg)
PCM
A PCM signal is obtained from the quantized PAM signal by encoding each quantized sample to a digital codeword
In binary PCM each quantized sample is digitally encoded into an R-bit binary codeword.
Binary digits of a PCM signal can be transmitted using many efficient modulation schemes.
33
![Page 34: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/34.jpg)
PCM - Example
34
![Page 35: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/35.jpg)
PCM Waveform Example
PCM sequence
Pulse representation
Pules waveform 35
![Page 36: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/36.jpg)
Uniform Quantization (1)
36
For most voice communications, very low speech volumes predominate.
Large amplitudes are very rare while low amplitudes are more often
![Page 37: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/37.jpg)
Uniform Quantization (2)
37
— Using a uniform quantizer for speech signals provides coarse quantization at low amplitudes
![Page 38: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/38.jpg)
Nonuniform Quantization (1)
38
Nonuniform quantizers are used for speech signals, which provide coarse quantization at high amplitudes and fine quantization at low amplitudes.
Nonuniform quantization is achieved by the process of companding followed by uniform quantization.
![Page 39: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/39.jpg)
Nonuniform Quantization (2)
39
Two commonly used companders are:
1||1
)sgn(log1
)/|(|log1
1||0)sgn(
log1
)/|(|
)sgn(1log
)/|(|1log
compander law compander lawμ
max
maxmax
max
maxmax
maxmax
x
x
Ax
A
xxAy
Ax
xx
A
xxAy
yxxx
yy
A
e
e
e
e
e
![Page 40: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/40.jpg)
CSE4214 Digital Communications
Baseband Transmission
![Page 41: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/41.jpg)
PCM Waveform Types Nonreturn-to-zero (NRZ)
NRZ is most commonly used PCM waveform NRZ-L (L for level) NRZ-M (M for mark) NRZ-S (S for space)
Return-to-zero (RZ) Unipolar-RZ, bipolar-RZ, RZ-AMI(alternate mark
inversion) Phase encoded Multilevel binary
41
![Page 42: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/42.jpg)
PCM Coding (1)
42
1 = 1 voltage level,
0=another voltage level
1 (mark)=change in level,
0 (space) = no change in level
A complement of NRZ-M
1=half-bit-wide pulse,
0=no pulse
1 and 0 by opposite-level pulses
1=equal amplitude alternating pulse
0=no pulse
![Page 43: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/43.jpg)
PCM Coding (2)
43
![Page 44: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/44.jpg)
Bits per PCM Word and Bits per Symbol
PCM word size How many bits shall we assign to each analog
sample?
e: quantization error,
Vpp peak-to-peak voltage
q: quantization level
44
![Page 45: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/45.jpg)
M-ary Pulse-Modulation Multilevel signaling - a group of k-bit is
transmitted by M=2k level pulse.
45
![Page 46: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/46.jpg)
Activity 1
The information in an analog waveform, with maximum frequency fm=3kHz, is to be transmitted over an M-ary PAM system, where the number of pulse levels is M=16. The quantization error is specified not to exceed (+/-)1% of the peak-to-peak analog signal.
(a)What is the minimum number of bits/samples, or PCM word size that should be used in digitizing the analog waveform?
(b)What is the minimum required sampling rate, and what is the resulting bit transmission rate?
(c)What is the PAM pulse or symbol transmit rate?
(d)If the transmission bandwidth equals 12 kHz, determine the bandwidth efficiency for this system.
46
![Page 47: CSE4214 Digital Communications Chapter 2 Formatting and Baseband Modulation.](https://reader034.fdocuments.in/reader034/viewer/2022050805/56649de55503460f94addaa0/html5/thumbnails/47.jpg)
Activity 11. According to bits per PCM word equation, we have
So it requires 6 bits.
2. The sampling rate is determined by Nyquist sampling rate, i.e. fs=2fm=6000 samples/second. Since each sample has 6 bits, so the bit transmission rate is:
3. Since M=16=2k, k=4, the symbol transmission rate:
4. Bandwidth efficiency is described by data throughput per Hz, i.e. R/W