Presentation is loading. Please wait.

Presentation is loading. Please wait.

Pulse Code Modulation (PCM)

Similar presentations


Presentation on theme: "Pulse Code Modulation (PCM)"— Presentation transcript:

1 Pulse Code Modulation (PCM)

2 Example

3 Solution In the previous example we have 8-quantization levels (to encode with 3-bits) from code number 0 to 7 (from binary code 000 to 111) Sample value: Nearest level: Code number: Binary code:

4

5

6 PCM Transmitter Block Diagram
r=nfs

7 n:

8 PCM transmitter n

9

10 PCM transmission path

11 The most important feature of PCM systems is the ability to control the effects of distortion and noise. A PCM signal may be reconstructed from the distorted and noisy input by means of regenerative repeaters placed sufficiently close to each other along the transmission route

12 Transmission Bandwidth of a PCM Wave
Each encoded message sample is represented by a n-digit code word. Consequently, the signal bit rate (r) becomes r = n fs fs ≥ 2 W, Where: W= The message B.W. , fs= Sampling rate The transmission bandwidth (BT) required by the PCM wave is:

13 Main feature of pulse-code modulation
If the regenerators are well placed then they cancel the effect of channel distortion and noise. In this case the only source of distortion and noise is the quantization error

14 Time-Division Multiplexing (TDM)

15 We multiplex two signals g1(t), and g2(t)
For example We multiplex two signals g1(t), and g2(t) Ts Tx

16

17 TDM: - Multiple data streams are sent in different time in single data link/medium - Data rate of the link must be larger than a sum of the multiple streams - Data streams take turn to transmit in a short interval - widely used in digital communication networks A B C M U X D E … A1 B1 C1 A2 B2 C2 …

18 TDM: Concept of Framing and Synchronization

19

20 Define Ts = sampling interval (period) fs = sampling frequency (rate) Tx = time spacing between adjacent samples in the TDM signal waveform Consider two cases: Equally sampled ( N of input signals ) Tx = Ts / N N : number of samples Non equally sampled Signals have non equal bandwidths

21 Minimum Bandwidth The resultant signal could be considered as a new one sampled with fx . To get the B.W. of the TDM-PAM signal: The used system must have a minimum B.W. equals to fx / 2 in order to pass the TDM-PAM signal. The B.W = K fx (½) < K < 1

22 Equally sampled signals
Example-2 Two signals each band-limited to W = 3 KHz N = 2 signals Ts = 1 / ( 2W) = ( 6000)-1 = μ sec. Tx = Ts / 2 = 83.3 μ sec. B ≥ ( 1 / 2Tx ) ≥ 6 KHz N.B. PAM is as efficient in conserving bandwidth as SSB when all the signals have the same bandwidth.

23 Example-3 If we have 20 signals each band-limited to 3.3 KHz sampled with rate 8 KHz and PAM-TDM is used. Find the min. clock freq. and min. B.W. Solution: Clock frequency fx=8K20=160 KHz Min. B.W.=fx/2 =80 KHz If PCM-TDM is used using 3-bits/sample: The bit rate = 8K 203 = 480 Kb/s

24 Non-equally sampled signals
For signals having non equal bandwidths we do non equal sampling To conserve B.W. PAM time multiplexed systems usually group input signals of comparable bandwidths

25 fs Example three signals band limited to W , W and 2W Equally Sampled:
fs = 4 W Ts = 1 / 4 W Tx = 1 / 12 W fx = 12 W B = fx/2 = 6 W > SSB B.W. 3 1 2 number Of samples fs B.W Signal 1 2W W S1 S2 4W S3

26 Non equally sampled Ts = 1 / 2W N = 4 Tx = 1/(8W) B = 4W = SSB B.W.
3 2 number of samples fs B.W Signal 1 2W W S1 S2 2 4W S3

27 Example of non equally sampling T1– Digital System
PCM Mux 1 2 24 M12 4 6.312 Mb/s T2 M23 7 M34 6 Mb/s 1.544Mb/s T1 Mb/s T3 T4 Example of non equally sampling T1– Digital System North American Digital Hierarchy

28 Multiplexing PCM signals
24 – analog signals each band-limited to 3.3 K sampled at a rate of 8 K. Frame time=125 s At 6000 ft, repeaters are used Each sample is encoded by 8-bits No. of levels = 256 level No. of bits /frame = (24  8) + 1F bit = 193 bits Where: 1F is one frame synchronization bit Bit rate for T1 channel =(193  8K)=1.544 Mb/s

29 T1 TDM format for one frame.

30 Multiplexing T1-Lines 4-T1 lines are multiplexed to generate one T2 line. M12 multiplexer adds 17 bits for synch. Number of bits/frame = (193  4) + 17 = 789 bits/frame Bit rate for T2 =789  8K = Mb/s

31 Multiplexing T2-Lines 7-T2 lines are multiplexed to generate one T3 line. M23 multiplexer adds 69 bits for synch. Number of bits/frame = (789  7) + 69 = 5592 bits/frame Bit rate for T3 = 5592  8K = Mb/s

32 Multiplexing T3-Lines 6-T3 lines are multiplexed to generate one T4 line. M34 multiplexer adds 720 bits for synch. Number of bits/frame = (5592  6) + 720 = bits/frame Bit rate for T4 =  8K = Mb/s

33 Line Coding How to represent the ‘1’ and ‘0’
Each line code has its advantage and disadvantage A good line code should have the following requirements:

34 Requirements of line code:
Transmission bandwidth : as small as possible Error detection and correction Avoid D.C. ( due to the A.C. coupling used at the repeaters Adequate timing content: It should be possible to extract timing or clock information from the signal (long sequence of zeroes could cause errors in timing extraction for certain line codes)

35 Line Codes 1 1 1 1

36

37 Examples On/Off (unipolar) Polar (bipolar) “1” send p(t), “0” nothing
Return to zero (RZ) Non-Return to Zero (NRZ) Polar (bipolar) “1” send p(t), “0” send -p(t) Bipolar (RZ) Bipolar (NRZ)

38 Bipolar Alternate Mark Inversion (AMI):
“0” has no pulse “1” changes the sign of the waveform p(t)

39 Bi-phase Codes (Manchester)
More complex waveforms can “split” the phase of the two signals


Download ppt "Pulse Code Modulation (PCM)"

Similar presentations


Ads by Google