Presentation is loading. Please wait.

Presentation is loading. Please wait.

Computer Networks1 Chapter 4 Digital Transmission.

Similar presentations


Presentation on theme: "Computer Networks1 Chapter 4 Digital Transmission."— Presentation transcript:

1 Computer Networks1 Chapter 4 Digital Transmission

2 Computer Networks2 Example 1 A signal has two data levels with a pulse duration of 1 ms. We calculate the pulse rate and bit rate as follows: Pulse Rate = 1/ 10 -3 = 1000 pulses/s Bit Rate = Pulse Rate x log 2 L = 1000 x log 2 2 = 1000 bps

3 Computer Networks3 Example 2 A signal has four data levels with a pulse duration of 1 ms. We calculate the pulse rate and bit rate as follows: Pulse Rate = = 1000 pulses/s Bit Rate = PulseRate x log 2 L = 1000 x log 2 4 = 2000 bps

4 Computer Networks4 Figure 4.3 DC component

5 Computer Networks5 Figure 4.4 Lack of synchronization

6 Computer Networks6 Example 3 In a digital transmission, the receiver clock is 0.1 percent faster than the sender clock. How many extra bits per second does the receiver receive if the data rate is 1 Kbps? How many if the data rate is 1 Mbps? Solution At 1 Kbps: 1000 bits sent  1001 bits received  1 extra bps At 1 Mbps: 1,000,000 bits sent  1,001,000 bits received  1000 extra bps

7 Computer Networks7 Figure 4.4 Lack of synchronization

8 Computer Networks8 Example 3 In a digital transmission, the receiver clock is 0.1 percent faster than the sender clock. How many extra bits per second does the receiver receive if the data rate is 1 Kbps? How many if the data rate is 1 Mbps? Solution At 1 Kbps: 1000 bits sent  1001 bits received  1 extra bps At 1 Mbps: 1,000,000 bits sent  1,001,000 bits received  1000 extra bps

9 Computer Networks9 Figure 4.5 Line coding schemes

10 Computer Networks10 Unipolar encoding uses only one voltage level. Note:

11 Computer Networks11 Figure 4.6 Unipolar encoding

12 Computer Networks12 Polar encoding uses two voltage levels (positive and negative). Note:

13 Computer Networks13 Figure 4.7 Types of polar encoding

14 Computer Networks14 In NRZ-L the level of the signal is dependent upon the state of the bit. Note:

15 Computer Networks15 In NRZ-I the signal is inverted if a 1 is encountered. Note:

16 Computer Networks16 Figure 4.8 NRZ-L and NRZ-I encoding

17 Computer Networks17 Figure 4.9 RZ encoding

18 Computer Networks18 A good encoded digital signal must contain a provision for synchronization. Note:

19 Computer Networks19 Figure 4.10 Manchester encoding

20 Computer Networks20 In Manchester encoding, the transition at the middle of the bit is used for both synchronization and bit representation. Note:

21 Computer Networks21 Figure 4.11 Differential Manchester encoding

22 Computer Networks22 In differential Manchester encoding, the transition at the middle of the bit is used only for synchronization. The bit representation is defined by the inversion or noninversion at the beginning of the bit. Note:

23 Computer Networks23 In bipolar encoding, we use three levels: positive, zero, and negative. Note:

24 Computer Networks24 Figure 4.12 Bipolar AMI encoding

25 Computer Networks25 Figure 4.31 Data transmission and modes

26 Computer Networks26 Figure 4.32 Parallel transmission

27 Computer Networks27 Figure 4.33 Serial transmission

28 Computer Networks28 In asynchronous transmission, we send 1 start bit (0) at the beginning and 1 or more stop bits (1s) at the end of each byte. There may be a gap between each byte. Note

29 Computer Networks29 Asynchronous here means “asynchronous at the byte level,” but the bits are still synchronized; their durations are the same. Note

30 Computer Networks30 Figure 4.34 Asynchronous transmission

31 Computer Networks31 In synchronous transmission, we send bits one after another without start or stop bits or gaps. It is the responsibility of the receiver to group the bits. Note

32 Computer Networks32 Figure 4.35 Synchronous transmission

33 Computer Networks33 Exempel på asynkron serie-kommunikation: RS232C (”com-porten”)


Download ppt "Computer Networks1 Chapter 4 Digital Transmission."

Similar presentations


Ads by Google