+ All Categories
Home > Documents > 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission Waleed Ejaz...

1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission Waleed Ejaz...

Date post: 15-Jan-2016
Category:
Upload: katelin-lenton
View: 216 times
Download: 0 times
Share this document with a friend
39
1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission http://web.uettaxila.edu.pk/CMS/coeCCNbsSp0 9/index.asp Waleed Ejaz [email protected]
Transcript
Page 1: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

1

Computer Communication & Networks

Lecture 6

Physical Layer: Digital Transmission

http://web.uettaxila.edu.pk/CMS/coeCCNbsSp09/index.asp

Waleed [email protected]

Page 2: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

2

Physical Layer

Page 3: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

3

Physical Layer Topics to CoverSignals

Digital Transmission

Analog Transmission

Multiplexing

Transmission Media

Page 4: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

4

Digital to Digital Conversion

The conversion involves three techniques: line line codingcoding, block codingblock coding, and scramblingscrambling. . Line coding is always needed; block coding and scrambling may or may not be needed.

Line CodingLine Coding Line Coding SchemesLine Coding Schemes Block CodingBlock Coding ScramblingScrambling

Page 5: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

5

Line Coding & Decoding

Page 6: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

6

Signal Levels (Elements) Vs Data Levels (Elements)

Page 7: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

7

Pulse Rate Vs Bit Rate

ExampleExample

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/ 10Pulse Rate = 1/ 10-3-3= 1000 pulses/s= 1000 pulses/s

Bit Rate = Pulse Rate x logBit Rate = Pulse Rate x log22 L = 1000 x log L = 1000 x log22 2 = 1000 bps 2 = 1000 bps

Page 8: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

8

DC Component

Page 9: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

9

Lack of Synchronization

Page 10: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

10

Example 3Example 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?

SolutionSolution

At 1 Kbps:1000 bits sent 1001 bits received1 extra bpsAt 1 Mbps: 1,000,000 bits sent 1,001,000 bits received1000 extra bps

Page 11: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

11

Line Coding Schemes

Page 12: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

12

In unipolar encoding, we use only one voltage level.

Note

Page 13: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

13

Unipolar Encoding

Page 14: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

14

In polar encoding, we use two voltage levels: positive & negative

Note

Page 15: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

15

Polar: NRZ-L and NRZ-I Encoding

Page 16: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

16

In NRZ-L the level of the voltage determines the value of the bit.

In NRZ-I the inversion or the lack of inversion

determines the value of the bit.

Note

Page 17: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

17

Polar: RZ Encoding

Page 18: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

18

Polar: Manchester Encoding

Page 19: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

19

Polar: Differential Manchester Encoding

Page 20: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

20

In Manchester and differential Manchester encoding, the transition

at the middle of the bit is used for synchronization.

Note

Page 21: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

21

In bipolar encoding, we use three levels: positive, zero, and negative.

Note

Page 22: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

22

Bipolar: AMI (Alternative Mark Inversion) Encoding

Page 23: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

23

Summary

Page 24: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

24

Sampling

Pulse Code ModulationPulse Code ModulationSampling Rate: Nyquist TheoremSampling Rate: Nyquist Theorem

Page 25: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

25

PCM

Page 26: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

26

Quantization & Encoding Samples

Page 27: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

27

According to the Nyquist theorem, the sampling rate must be

at least 2 times the highest frequency contained in the signal.

Note

Page 28: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

28

Transmission Modes

Page 29: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

29

Transmission Modes

The transmission of binary data across a link can be accomplished in either parallel or serial mode. In parallel mode, multiple bits are sent with each clock tick. In serial mode, 1 bit is sent with each clock tick. While there is only one way to send parallel data, there are two subclasses of serial transmission: asynchronous, synchronous.

Page 30: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

30

Page 31: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

31

Parallel Transmission

Page 32: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

32

Serial Transmission

Page 33: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

33

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

Page 34: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

34

Asynchronous here means “asynchronous at the byte level,”

but the bits are still synchronized; their durations are the same.

Note

Page 35: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

35

Asynchronous Transmission

Page 36: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

36

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

Page 37: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

37

Synchronous Transmission

Page 38: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

38

Readings

Chapter 4 (B.A Forouzan) Section 4.1, 4.2, 4.3

Page 39: 1 Computer Communication & Networks Lecture 6 Physical Layer: Digital Transmission  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.

39


Recommended