Professional Documents
Culture Documents
2
2
Lecture Two
1/26/2011
Today
Frequency Domain & Time Domain Analysis Spectrum of pulse train Pulse Modulation Sampling Quantization Pulse code Modulation (PCM)
1/26/2011 2
1/26/2011
1/26/2011
Fourier Series
aO 2 h (t ) ! T T
g
(a
n !1
cos [ O nt bn sin [ O nt )
h(t ) !
2 n
2 n
2
1 2
C
n !1
cos(
nt Jn )
1
C n ! (a b )
1/26/2011
bn J n ! tan an
5
1/26/2011
1/26/2011
Composite Signals
a signal made of many simple sine waves combination of simple sine waves with different frequencies, amplitudes, and phases A digital signal is a composite analog signal with an infinite bandwidth. Bandwidth = Highest Frequency Lowest Frequency
1/26/2011 8
1/26/2011
1/26/2011
11
1/26/2011
12
yBaseband transmission of a digital signal that preserves the shape of the digital signal is possible only if we have a lowpass channel with an infinite or very wide bandwidth. yIn baseband transmission, the required bandwidth is proportional to the bit rate; if we need to send bits faster, we need more bandwidth.
1/26/2011 13
2. Pulse Modulation
describes the process in which the amplitude, width or position of individual pulses in a periodic pulse train are varied with the amplitude of a baseband information g(t).
1/26/2011
14
3. Sampling:
It is the process of selecting values of a continuous function at specific (and equally spaced) times. There are 2 types of sampling: Natural sampling Flat-topped sampling
1/26/2011
15
Examples of Sampling:
1/26/2011
16
Continued
or, a continuous signal can be properly sampled, only if it does not contain frequency components above one-half of the sampling rate.
1/26/2011
18
Continued Fs u 2 fmax
Where Fs is the sampling frequency or rate.
1/26/2011
19
Examples:
4-kHz voice channel: sampling rate is 8000 times per second . A sample is taken every 125 Qsec, A 15-kHz program channel: sampling rate is 30,000 times per second An analog radar product channel 56-kHz wide: sampling rate is 112,000 times per second
1/26/2011
20
1/26/2011
21
4. Quantization:
Quantization is the process of approximating the continuous values in a signal with a finite set of values. To quantize the amplitude, the range of values is divided into parts (segments). Every quantization segment is represented by a unique digital word.
1/26/2011 22
Types of quantizers
1. Uniform Quantizer: A quantizer is uniform if the levels are equally spaced (step size (() is constant) 2. Non-uniform Quantizer: In this type the levels are not of equal size. Implementing non-uniform quantizers is difficult. Thus, they are rarely used.
1/26/2011
23
Uniform Quantizer
VM (!2 L
X N ! (
VmaxVmin (! L
( is the quantization step VM is the maximum input voltage L is the number of quantization levels n is the number of bits in the codeword N is the result of amplitude quantization X is the analog amplitude value
1/26/2011 24
Example
The following table shows an analog signal values taken at discrete time intervals Use a 4 bit quantizer to find the output codewords Time 0 1 2 3 4 5
1/26/2011
Time 6 7 8 9 10
Quantization Error
1/26/2011
26
1/26/2011
27
PCM standards
1. The North American standard, (called T1) we prefer the term DS1 PCM hierarchy. 2. E1 hierarchy, sometimes refer to as the European system. E1 was called CEPT30+2, where CEPT stood for Conference European Post and Telegraph (from the French).
1/26/2011 28
PCM Encoder
1/26/2011
29
PCM Decoder
1/26/2011
30
1/26/2011
31
1/26/2011
32
DS1 Frame
Sampling frequency 8000 Hz Output bit rate 1.544 Mbps + 50 Mbps Bits/Frame 193 Time slots/Frame 24 Signaling Eight bit of every 6th frame
1/26/2011
33
Continued
1/26/2011
34
Continued
This makes up a full sequence or frame. By definition, 8000 frames are transmitted per second, so the bit rate of DS1 is: 193 v 8000 1,544,000 bps or 1.544 Mbps
1/26/2011
35
1/26/2011
36
Continued
TS 0 1-15 16 1717 -31
1/26/2011
Continued
E1 in its primary rate format transmits 32 channels of 8-bit time slots. An E1 frame therefore has 8v32 = 256 bits. There is no framing bit. Framing alignment is carried out in TS 0. The E1 bit rate to the line is: 256v8000 = 2,048,000 bps or 2.048 Mbps.
1/26/2011
38