Professional Documents
Culture Documents
Communication Engineering II
Semester 2
2011 - 12
March 12, 2012
1
So far, we have discussed:
2
Now, we shall talk about:
Reading Material
Chapter 2
3
Digital Communication System (DCS)
4
Formatting and transmission of base-band signals
Digital info.
Textual Format
source info.
Pulse
Analog Transmit
Sample Quantize Encode modulate
info.
Pulse
Bit stream waveforms Channel
Format
Analog
info. Low-pass
Decode Demodulate/
filter Receive
Textual Detect
sink
info.
Digital info.
5
Formatting Textual Information
(Data Codes)
DATA CODES
Data CODE: A number, letter, character, symbol, or any combination thereof, used
to represent a data item. It refers to the way in which data is represented.
The sender and receiver must use the same code in order to
communicate properly.
6
International Morse Code
7
Morse Code Translator
http://morsecode.scphillips.com/jtranslator.htm
8
ASCII AND GSM CODE TABLES
9
Formatting of Analogue Signals
10
Sampling
xδ (t ) | Xδ ( f ) |
xs (t )
| Xs( f )|
11
Aliasing effect
LP filter
Nyquist rate
aliasing
12
Sampling theorem
Out
In
Average quantization noise power
Quantized
14
Encoding → PCM
15
Quantization Example
amplitude
x(t)
111 3.1867
100 0.4552
010 -1.3657
16
Quantization error
Quantization error: The difference between the input and
output of a quantizer
e(t ) = xˆ (t ) − x(t )
+
e(t ) =
xˆ (t ) − x(t )
17
Quantization error …
Quantization 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:
∞
σ = E{[ x − q( x)] } = ∫ e 2 ( x) p ( x)dx = σ Lin
2
q
2 2
+ σ Sat
2
−∞
L / 2 −1
ql2 q2
σ 2
Lin =2∑ p( xl ) ql Uniform q. σ 2
Lin =
l =0 12 12
18
Uniform and Non-uniform Quantization
Uniform (linear) quantization:
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
Simple implementation
Application of linear quantizer:
Signal processing, graphic and display applications,
process control applications
Non-uniform quantization:
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 :Widely used for quantization of
speech signals 19
Non-uniform Quantization
It is achieved by uniformly quantizing the “compressed” signal.
At the receiver, an inverse compression characteristic, called
“expansion” is employed to avoid signal distortion.
y = C ( x) x̂
x(t ) y (t ) yˆ (t ) xˆ (t )
x ŷ
Compress Qauntize Expand
Transmitter Channel Receiver
20
Statistics of speech amplitudes
Speech signals are characterized by the fact that weak signals are
more frequent than strong ones.
1.0
Probability
0.5
0.0
1.0 2.0 3.0
Normalized magnitude of speech signal
Using equal step sizes (uniform quantization) gives low for weak
S
21
Base-band Data Transmission
Line Codes
To transmit information through physical channels,
PCM sequences (in general, data words, say
pertaining to ASCII and GSM codes) are transformed
to pulse sequences or waveforms, called line codes.
22
PCM waveforms (Line Codes)
Unipolar-RZ +V Miller +V
0 -V
+V +V
Bipolar-RZ 0 Dicode NRZ 0
-V -V
0 T 2T 3T 4T 5T 0 T 2T 3T 4T 5T
23
PCM waveforms (In general, Line codes)
24
PSD of PCM waveforms (line codes)
25
Digital PAM (M-ary pulse modulation)
26
Digital PAM: Example
27