ITS323/CSS331 PCM Example Pulse Code Modulation Example ITS323: Introduction to Data Communications CSS331: Fundamentals of Data Communications Sirindhorn International Institute of Technology Thammasat University Prepared by Steven Gordon on 4 August 2015 ITS323Y15S1H08, Steve/Courses/2015/s1/its323/lectures/pulse-code-modulation-example.tex, r3926
ITS323/CSS331 Input Analog Data PCM Example
ITS323/CSS331 Input Analog Data PCM Example amplitude time [ms] 0 2 4 6 8 10 12 14 16 18
ITS323/CSS331 Case 1: 4ms Sampling Interval; 8 Levels PCM Example amplitude 7 6 5 4 3 2 1 0 time [ms] 0 2 4 6 8 10 12 14 16 18
ITS323/CSS331 Case 1: 4ms Sampling Interval; 8 Levels PCM Example amplitude 7 6 5 4 3 2 1 0 time [ms] 0 2 4 6 8 10 12 14 16 18 001
ITS323/CSS331 Case 1: 4ms Sampling Interval; 8 Levels PCM Example amplitude 7 6 5 4 3 2 1 0 time [ms] 0 2 4 6 8 10 12 14 16 18 001 110
ITS323/CSS331 Case 1: 4ms Sampling Interval; 8 Levels PCM Example amplitude 7 6 5 4 3 2 1 0 time [ms] 0 2 4 6 8 10 12 14 16 18 001 110 011 001 010
ITS323/CSS331 Case 1: Transmitting the Data PCM Example Input data Output data Transmitted bits ...010100110011100 Transmitter Receiver What Data Rate Is Required? ◮ 1 sample every 4ms ◮ 3 bits per sample ◮ 3 bits per 4ms = 750 bps
ITS323/CSS331 Case 1: Reproduced Data at Destination PCM Example amplitude 7 6 5 4 3 2 1 0 time [ms] 0 2 4 6 8 10 12 14 16 18 001 110 011 001 010
ITS323/CSS331 Case 1: Comparing Source and Destination Data PCM Example amplitude 7 6 5 4 3 2 1 0 time [ms] 0 2 4 6 8 10 12 14 16 18 001 110 011 001 010
ITS323/CSS331 Case 2: 2ms Sampling Interval; 8 Levels PCM Example amplitude 7 6 5 4 3 2 1 0 time [ms] 0 2 4 6 8 10 12 14 16 18 001 011 110 110 011 010 001 001 010 100
ITS323/CSS331 Case 2: Reproduced Data at Destination PCM Example amplitude 7 6 5 4 3 2 1 0 time [ms] 0 2 4 6 8 10 12 14 16 18 001 011 110 110 011 010 001 001 010 100
ITS323/CSS331 Case 2: Comparing Source and Destination Data PCM Example amplitude 7 6 5 4 3 2 1 0 time [ms] 0 2 4 6 8 10 12 14 16 18 001 011 110 110 011 010 001 001 010 100
ITS323/CSS331 Case 3: 2ms Sampling Interval; 16 Levels PCM Example amplitude 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 time [ms] 0 2 4 6 8 10 12 14 16 18 0010 0110 1100 1100 0110 0101 0011 0010 0101 1000
ITS323/CSS331 Case 3: Reproduced Data at Destination PCM Example amplitude 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 time [ms] 0 2 4 6 8 10 12 14 16 18 0010 0110 1100 1100 0110 0101 0011 0010 0101 1000
ITS323/CSS331 Case 3: Comparing Source and Destination Data PCM Example amplitude 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 time [ms] 0 2 4 6 8 10 12 14 16 18 0010 0110 1100 1100 0110 0101 0011 0010 0101 1000
ITS323/CSS331 Case 4: 1ms Sampling Interval; 16 Levels PCM Example amplitude 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 time [ms] 0 2 4 6 8 10 12 14 16 18 0010 0110 1100 1100 0110 0101 0011 0010 0101 1000 0011 1001 1101 1000 0110 0100 0010 0011 0110
ITS323/CSS331 Case 4: Reproduced Data at Destination PCM Example amplitude 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 time [ms] 0 2 4 6 8 10 12 14 16 18 0010 0110 1100 1100 0110 0101 0011 0010 0101 1000 0011 1001 1101 1000 0110 0100 0010 0011 0110
ITS323/CSS331 Case 4: Comparing Source and Destination Data PCM Example amplitude 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 time [ms] 0 2 4 6 8 10 12 14 16 18 0010 0110 1100 1100 0110 0101 0011 0010 0101 1000 0011 1001 1101 1000 0110 0100 0010 0011 0110
ITS323/CSS331 Comparing All Cases PCM Example amplitude amplitude 15 14 Case 2 13 12 11 10 Case 3 9 8 7 Case 4 6 5 4 3 Case 1 2 1 0 time [ms] time [ms] 0 0 2 2 4 4 6 6 8 8 10 10 12 12 14 14 16 16 18 18
ITS323/CSS331 Tradeoffs PCM Example Accuracy of Reproduced Data at Receiver ◮ Increasing sampling and/or levels; increased accuracy ◮ Case 4 is most accurate representation of original data ◮ Case 3 (and 2) are ok, Case 1 not so good Transmission Data Rate Requirements ◮ Increasing sampling and/or levels; increased data rate required to transmit bits ◮ Case 1: 750 b/s required ◮ Case 2: 1500 b/s required ◮ Case 3: 2000 b/s required ◮ Case 4: 4000 b/s required
Recommend
More recommend