Top Banner
Introduction to Computers CS1029 Lecture 7 Instructor: Ibrahim Tariq
24

Introduction to Computers CS1029 Lecture 7

Feb 22, 2016

Download

Documents

purity

Introduction to Computers CS1029 Lecture 7. Instructor: Ibrahim Tariq. Physical Layer Topics to Cover. Signals. Digital Transmission. Analog Transmission. Multiplexing. Transmission Media. 4-1 DIGITAL-TO-DIGITAL CONVERSION. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Introduction to Computers CS1029 Lecture 7

Introduction to ComputersCS1029

Lecture 7

Instructor: Ibrahim Tariq

Page 2: Introduction to Computers CS1029 Lecture 7

Data Communication & Networks, Summer 2009

2

Physical Layer Topics to Cover

Signals

Digital TransmissionAnalog Transmission

Multiplexing

Transmission Media

Page 3: Introduction to Computers CS1029 Lecture 7

4.3

4-1 DIGITAL-TO-DIGITAL CONVERSION

In this section, we see how we can represent digital data by using digital signals. The conversion involves three techniques: line coding, block coding, and scrambling. Line coding is always needed; block coding and scrambling may or may not be needed.

Line CodingLine Coding SchemesBlock CodingScrambling

Topics discussed in this section:

Page 4: Introduction to Computers CS1029 Lecture 7

Data Communication & Networks, Summer 2009

4

Digital to Digital Conversion

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

• Line Coding• Line Coding Schemes• Block Coding• Scrambling

Page 5: Introduction to Computers CS1029 Lecture 7

Data Communication & Networks, Summer 2009

5

Line Coding & Decoding

Page 6: Introduction to Computers CS1029 Lecture 7

Data Communication & Networks, Summer 2009

6

Signal Levels (Elements) Vs Data Levels (Elements)

Page 7: Introduction to Computers CS1029 Lecture 7

4.7

A signal is carrying data in which one data element is encoded as one signal element ( r = 1). If the bit rate is 100 kbps, what is the average value of the baud rate if c is between 0 and 1?

SolutionWe assume that the average value of c is 1/2 . The baud rate is then

Example 4.1

Page 8: Introduction to Computers CS1029 Lecture 7

8

Bit rate is the number of bits per second. Baud rate is the number of signal

elements per second.

In the analog transmission of digital data, the baud rate is less than

or equal to the bit rate.

Note

Page 9: Introduction to Computers CS1029 Lecture 7

9

An analog signal carries 4 bits per signal element. If 1000 signal elements are sent per second, find the bit rate.

SolutionIn this case, r = 4, S = 1000, and N is unknown. We can find the value of N from

Example

Page 10: Introduction to Computers CS1029 Lecture 7

10

Example

An analog signal has a bit rate of 8000 bps and a baud rate of 1000 baud. How many data elements are carried by each signal element? How many signal elements do we need?

SolutionIn this example, S = 1000, N = 8000, and r and L are unknown. We find first the value of r and then the value of L.

Page 11: Introduction to Computers CS1029 Lecture 7

4.11

Figure 4.3 Effect of lack of synchronization

Page 12: Introduction to Computers CS1029 Lecture 7

4.12

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?SolutionAt 1 kbps, the receiver receives 1001 bps instead of 1000 bps.

Example 4.3

At 1 Mbps, the receiver receives 1,001,000 bps instead of 1,000,000 bps.

Page 13: Introduction to Computers CS1029 Lecture 7

Data Communication & Networks, Summer 2009

13

DC Component

Page 14: Introduction to Computers CS1029 Lecture 7

Data Communication & Networks, Summer 2009

14

Line Coding Schemes

Page 15: Introduction to Computers CS1029 Lecture 7

Data Communication & Networks, Summer 2009

15

In unipolar encoding, we use only one voltage level.

Note

Page 16: Introduction to Computers CS1029 Lecture 7

Data Communication & Networks, Summer 2009

16

Unipolar Encoding

Page 17: Introduction to Computers CS1029 Lecture 7

Data Communication & Networks, Summer 2009

17

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

Note

Page 18: Introduction to Computers CS1029 Lecture 7

Data Communication & Networks, Summer 2009

18

Polar: NRZ-L and NRZ-I Encoding

Page 19: Introduction to Computers CS1029 Lecture 7

Data Communication & Networks, Summer 2009

19

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 20: Introduction to Computers CS1029 Lecture 7

Data Communication & Networks, Summer 2009

20

Polar: RZ Encoding

Page 21: Introduction to Computers CS1029 Lecture 7

Data Communication & Networks, Summer 2009

21

Polar: Manchester Encoding

Page 22: Introduction to Computers CS1029 Lecture 7

Data Communication & Networks, Summer 2009

22

Polar: Differential Manchester Encoding

Page 23: Introduction to Computers CS1029 Lecture 7

Data Communication & Networks, Summer 2009

23

In Manchester and differential Manchester encoding, the transition

at the middle of the bit is used for synchronization.

Note

Page 24: Introduction to Computers CS1029 Lecture 7

Data Communication & Networks, Summer 2009

24

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

Note