Documente Academic
Documente Profesional
Documente Cultură
□ Quantization
□ Quantization Error
□ Companding
□ Block diagram & function of TDM-PCM
communication system
1
Basic scheme of PCM system
□ The most common technique for using
digital signals to encode analog data is
PCM.
□ Example: To transfer analog voice signals
off a local loop to digital end office within
the phone system, one uses a codec.
2
Cont’d...
□ Because voice data limited to frequencies
below 4000 Hz, a codec makes 8000
samples/sec. (i.e., 125 microsecond/sample).
3
PCM Block Diagram
4
4 Steps Process
5
Cont’d…
□ Analog signal is sampled.
□ Converted to discrete-time continuous-amplitude signal
(Pulse Amplitude Modulation)
6
PCM Example
7
Quantization
□ A process of converting an infinite number of possibilities to a
finite number of conditions (rounding off the amplitudes of
flat-top samples to a manageable number of levels).
8
Cont’d...
Sample pulse
PAM signal
PCM code 9
Cont’d…
The quantization interval @ quantum
= the magnitude difference between adjacent steps.
10
QUANTIZATION ERROR
11
Types of Quantization
Midtread Midrise
12
Types of Quantizer
1. Uniform type : The levels of the quantized amplitude are uniformly spaced.
2. Non-uniform type : The levels are not uniform.
13
Dynamic Range (DR)
Vmax Vmax
DR
Vmin resolution
DR 2n 1
DR (dB) 20 log( DR )
□ Where
□ DR = absolute value of dynamic range
□ Vmax = the maximum voltage magnitude
□ Vmin = the quantum value (resolution)
□ n = number of bits in the PCM code
14
Example 1
1. Calculate the dynamic range for a
linear PCM system using 16-bit
quantizing.
2. Calculate the number of bits in PCM
code if the DR = 192.6 dB
15
Coding Efficiency
□ A numerical indication of how
efficiently a PCM code is utilized.
□ The ratio of the minimum number of
bits required to achieve a certain
dynamic range to the actual number
of PCM bits used.
Coding Efficiency = Minimum number of bits x 100
16
Signal to Quantization Noise Ratio (SQR)
18
Effect of Non-Linear Coding
19
Nonlinear Encoding
20
Companding
• The process of compressing and then expanding.
• The higher amplitude analog signals are compressed
prior to transmission and then expanded in receiver.
• Improving the DR of a communication system.
21
Companding Functions
22
Method of Companding
□ For the compression, two laws are adopted: the -law in US
and Japan and the A-law in Europe.
□ -law
Vmax ln( 1 Vin Vmax ) Vmax= Max uncompressed
Vout analog input voltage
□ ln( 1 ) Vin= amplitude of the input
signal at a particular of
instant time
A Vin Vmax Vin 1
□ A-law Vmax 0 Vout= compressed output
1 ln A Vout A amplitude
Vout
1 ln( A Vin
Vmax ) 1 Vin A, = parameter define the
1
1 ln A A Vout
amount of compression
24
Cont’d...
μ-law A-law
25
PCM Line Speed
□ The data rate at which serial PCM bits are clocked out of the
PCM encoder onto the transmission line.
samples bits
line speed X
second sample
□ Where
□ Line speed = the transmission rate in bits per second
□ Sample/second = sample rate, fs
□ Bits/sample = no of bits in the compressed PCM code
26
Example 4
□ For a single PCM system with a sample
rate fs = 6000 samples per second and
a 7 bits compressed PCM code,
calculate the line speed.
27
Virtues & Limitation of PCM
29
□ Information capacity, Bits & Bit Rate
□ Represents the number of independent
symbols that can be carried through a
system in a given unit of time.
□ Basic digital symbol is the binary digit or
bit.
□ Express the information capacity as a bit
rate.
30
Hartley’s Law
I Bt
Where
I = information capacity (bps)
B = bandwidth (Hz)
t = transmission time (s)
Where
I = information capacity (bps)
B = bandwidth (Hz)
S = signal to noise power ratio (unitless)
N
33
Nyquist Sampling Rate
fs >= 2fm
34
Example 3
Determine the Nyquist sample rate for
a maximum analog input frequency
7.5 kHz.
35
M-ary Encoding
□ It is often advantageous to encode at a level
higher than binary where there are more then two
conditions possible.
□ The number of bits necessary to produce a given
number of conditions is expressed mathematically
as
N log 2 M
Where N = number of bits necessary
M = number of conditions, level or combinations
possible with N bits. 36
Cont’d…
□ Each symbol represents n bits, and has
M signal states, where M = 2N.
37
Example 4
Find the number of voltage levels
which can represent an analog
signal with
a. 8 bits per sample
b. 12 bits per sample
38
Baud & Minimum BW
□ Baud refers to the rate of change of a signal on
the transmission medium after encoding and
modulation have occurred.
1
baud
ts
Where
baud = symbol rate (symbol per second)
ts = time of one signaling element @ symbol
(seconds)
39
Cont’d…
□ Minimum Bandwidth
□ Using multilevel signaling, the Nyquist formulation for
channel capacity
f b 2 B log 2 M
40
Cont’d…
fb fb
B
log M
N baud
2
41
□ Converting standard logic level to a form
more suitable to telephone line transmission.
43
Why Digital Signaling?
□ Low cost digital circuits
44
Digital Modulation
□ Using Digital Signals to Transmit Digital Data
□ Bits must be changed to digital signal for transmission
□ Unipolar encoding
□ Positive or negative pulse used for zero or one
□ Polar encoding
□ Uses two voltage levels (+ and - ) for zero or one
□ Bipolar encoding
□ +, -, and zero voltage levels are used
45
Non-Return to Zero-Level (NRZ-L)
□ Two different voltages for 0 and 1 bits.
□ Voltage constant during bit interval.
□ no transition, no return to zero voltage
□ More often, negative voltage for one value and positive for the
other.
46
Non-Return to Zero Inverted (NRZ-I)
□ Nonreturn to zero inverted on ones
□ Constant voltage pulse for duration of bit
□ Data encoded as presence or absence of signal
transition at beginning of bit time
□ Transition (low to high or high to low) denotes a binary 1
□ No transition denotes binary 0
□ An example of differential encoding
47
Multilevel Binary(Bipolar-AMI)
• zero represented by no line signal
• one represented by positive or negative pulse
• one pulses alternate in polarity
• No loss of sync if a long string of ones (zeros still a
problem)
• No net dc component
• Lower bandwidth
• Easy error detection
0 1 0 0 1 1 0 0 0 1 1
48
Pseudoternary
□ One represented by absence of line signal
□ Zero represented by alternating positive and negative
□ No advantage or disadvantage over bipolar-AMI
0 1 0 0 1 1 0 0 0 1 1
49
Manchester
□ There is always a mid-bit transition {which is used as a
clocking mechanism}.
□ 1 low-to-high transition
□ 0 high-to-low transition
50
51
Differential Manchester
□ mid-bit transition is ONLY for clocking.
54
55
Forms of Digital Modulation
56
Cont’d…
□ If the phase, θ of the carrier is varied proportional to the
information signal, a digital modulated signal is called
Phase Shift Keying (PSK)
57
Cont’d...
58
Block Diagram
59
Cont’d…
□ Precoder performs level conversion &
encodes incoming data into group of bits
that modulate an analog carrier.
61
Amplitude Shift Keying (ASK)
□ A binary information signal directly modulates the amplitude
of an analog carrier.
□ Sometimes called Digital Amplitude Modulation (DAM)
vask (t ) [1 vm (t )] cos(ct ) A
2
fm fs
f ,
2
where
f frequency deviation (Hz)
f m f s absolute difference between mark & space frequency (Hz)
65
B ( f s fb ) ( f m fb ) f s f m 2 fb 2(f fb )
66
Cont’d...
0 Space (fs)
1 Mark (fm)
67
Phase Shift Keying (PSK)
70
EXAMPLE ASK,FSK & PSK
71
EXAMPLE ASK,FSK & PSK
72
Exercise 4.1
For the digital message 1011 0100
1010, sketch the waveform for the
following:
a. ASK
b. FSK
c. PSK
73
APPLICATIONS OF ASK,FSK & PSK
75