csci 465 data communications and networks lecture 7 martin van bommel csci 465 data communications...

24
CSCI 465 Data Communications and Networks Lecture 7 Martin van Bommel CSCI 465 Data Communications and Networks 1

Upload: ross-george

Post on 03-Jan-2016

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CSCI 465 Data Communications and Networks Lecture 7 Martin van Bommel CSCI 465 Data Communications and Networks 1

CSCI 465Data Communications and Networks

Lecture 7

Martin van Bommel

CSCI 465Data Communications and Networks

1

Page 2: CSCI 465 Data Communications and Networks Lecture 7 Martin van Bommel CSCI 465 Data Communications and Networks 1

Data Communication Basics• Analog or Digital• Three Components

– Data– Signal– Transmission

CSCI 465Data Communications and Networks

2

Page 3: CSCI 465 Data Communications and Networks Lecture 7 Martin van Bommel CSCI 465 Data Communications and Networks 1

Analog Data Choices

3

Codec

Codec: coder and decoder

telephone

analog voice

analog line

digital line

analog voice

0 1 1 0 1 0 0 0 1 1 0

digitized voice

CSCI 465Data Communications and Networks

Page 4: CSCI 465 Data Communications and Networks Lecture 7 Martin van Bommel CSCI 465 Data Communications and Networks 1

Digital Data Choices

4

DSU

DSU: data service unit

analog line

digital line

moduated data

0 1 1 0 1 0 0 0 1 1 0

data

data

modem

CSCI 465Data Communications and Networks

Page 5: CSCI 465 Data Communications and Networks Lecture 7 Martin van Bommel CSCI 465 Data Communications and Networks 1

Transmission Choices

• Analog transmission– only transmits analog signals, without regard for

data content– attenuation overcome with amplifiers

• Digital transmission– transmits analog or digital signals– uses repeaters rather than amplifiers

5CSCI 465

Data Communications and Networks

Page 6: CSCI 465 Data Communications and Networks Lecture 7 Martin van Bommel CSCI 465 Data Communications and Networks 1

Data, Signals, and TransmissionData, Signals, and Transmission

6

DataData

SignalSignal

TransmissionTransmissionSystemSystem

AA

DDDD

DDAA

AA

CSCI 465Data Communications and Networks

Page 7: CSCI 465 Data Communications and Networks Lecture 7 Martin van Bommel CSCI 465 Data Communications and Networks 1

Digital Transmission Advantages• The signal is exact• Signals can be checked for errors• Noise/interference are easily filtered out• A variety of services can be offered over one

line• Higher bandwidth is possible with data

compression

7CSCI 465

Data Communications and Networks

Page 8: CSCI 465 Data Communications and Networks Lecture 7 Martin van Bommel CSCI 465 Data Communications and Networks 1

Analog Encoding of Digital Data

• data encoding and decoding to represent data using the properties of analog waves

• modulation: the conversion of digital signals to analog form

• demodulation: the conversion of analog data signals back to digital form

8CSCI 465

Data Communications and Networks

Page 9: CSCI 465 Data Communications and Networks Lecture 7 Martin van Bommel CSCI 465 Data Communications and Networks 1

Modem

• an acronym for modulator-demodulator• uses a constant-frequency signal known as

a carrier signal• converts a series of binary voltage pulses

into an analog signal by modulating the carrier signal

• the receiving modem translates the analog signal back into digital data

9CSCI 465

Data Communications and Networks

Page 10: CSCI 465 Data Communications and Networks Lecture 7 Martin van Bommel CSCI 465 Data Communications and Networks 1

Methods of Modulation

• amplitude modulation (AM) or amplitude shift keying (ASK)

• frequency modulation (FM) or frequency shift keying (FSK)

• phase modulation or phase shift keying (PSK)

10CSCI 465

Data Communications and Networks

Page 11: CSCI 465 Data Communications and Networks Lecture 7 Martin van Bommel CSCI 465 Data Communications and Networks 1

Amplitude Shift Keying (ASK)

• In radio transmission, known as amplitude modulation (AM)

• the amplitude (or height) of the sine wave varies to transmit the ones and zeros

• Up to 1200 bps over voice-grade lines• major disadvantage

– telephone lines are very susceptible to variations in transmission quality that affect amplitude

11CSCI 465

Data Communications and Networks

Page 12: CSCI 465 Data Communications and Networks Lecture 7 Martin van Bommel CSCI 465 Data Communications and Networks 1

ASK Illustration

12

1 0 0 1

CSCI 465Data Communications and Networks

Page 13: CSCI 465 Data Communications and Networks Lecture 7 Martin van Bommel CSCI 465 Data Communications and Networks 1

Frequency Shift Keying (FSK)

• in radio transmission, known as frequency modulation (FM)

• the frequency of the carrier wave varies in accordance with the signal to be sent

• signal is transmitted at constant amplitude• more immune to noise than ASK• requires more analog bandwidth than ASK• still up to 1200 bps on voice-grade lines

13CSCI 465

Data Communications and Networks

Page 14: CSCI 465 Data Communications and Networks Lecture 7 Martin van Bommel CSCI 465 Data Communications and Networks 1

FSK Illustration

14

1 1 0 1

CSCI 465Data Communications and Networks

Page 15: CSCI 465 Data Communications and Networks Lecture 7 Martin van Bommel CSCI 465 Data Communications and Networks 1

Full-Duplex FSK

CS/IS 465: Data Communications and Networks

15

Page 16: CSCI 465 Data Communications and Networks Lecture 7 Martin van Bommel CSCI 465 Data Communications and Networks 1

Phase Shift Keying (PSK)

• also known as phase modulation (PM)• frequency and amplitude of the carrier signal

are kept constant• the carrier is shifted in phase according to the

input data stream• each phase can have a constant value, or

value can be based on whether or not phase changes (differential keying)

16CSCI 465

Data Communications and Networks

Page 17: CSCI 465 Data Communications and Networks Lecture 7 Martin van Bommel CSCI 465 Data Communications and Networks 1

PSK Illustration

17

0 0 1 1

CSCI 465Data Communications and Networks

0 1 1 0

Two-level PSK

Differential-level PSK

Page 18: CSCI 465 Data Communications and Networks Lecture 7 Martin van Bommel CSCI 465 Data Communications and Networks 1

18

Complex Modulations

• Combining modulation techniques allows us to transmit multiple bit values per signal change (baud)

• Increases information-carrying capacity of a channel without increasing bandwidth

• Increased combinations also leads to increased likelihood of errors

• Typically, combine amplitude and phase

CSCI 465Data Communications and Networks

Page 19: CSCI 465 Data Communications and Networks Lecture 7 Martin van Bommel CSCI 465 Data Communications and Networks 1

Multilevel PSK

• Can extend levels beyond one bit at a time• 9600 bps modem

– 12 different phase angles– 4 of them use two different amplitude values (ASK)– 16 different signal types – 4 bits per signal type– 9600 bps modem / 4 bits per signal type– 2400 baud modem (signaling speed)

CSCI 465Data Communications and Networks

19

Page 20: CSCI 465 Data Communications and Networks Lecture 7 Martin van Bommel CSCI 465 Data Communications and Networks 1

20

Quadrature Amplitude Modulation (QAM)

• the most common method for quadbit transfer

• combination of 8 different angles in phase modulation and two amplitudes of signal

• provides 16 different signals, each of which can represent 4 bits

CSCI 465Data Communications and Networks

Page 21: CSCI 465 Data Communications and Networks Lecture 7 Martin van Bommel CSCI 465 Data Communications and Networks 1

21

Quadrature Amplitude Modulation (QAM)

• the most common method for quadbit transfer

• combination of 8 different angles in phase modulation and two amplitudes of signal

• provides 16 different signals, each of which can represent 4 bits

CSCI 465Data Communications and Networks

Page 22: CSCI 465 Data Communications and Networks Lecture 7 Martin van Bommel CSCI 465 Data Communications and Networks 1

22

90

45

0

135

180

225

270

315

amplitude 1

amplitude 2

QAM Illustration

Page 23: CSCI 465 Data Communications and Networks Lecture 7 Martin van Bommel CSCI 465 Data Communications and Networks 1

23

QAM Uses

• CCITT V.22 bis modem– the "bis" is French for "duo" or "twice" – supports transmission of full-duplex 2400 bps

synchronous or asynchronous data over a switched, 2-Wire, voice circuit

– the modulation rate is 600 baud, with each baud representing four data bits

(CCITT – Consultative Committee International for Telephony and Telegraphy)

CSCI 465Data Communications and Networks

Page 24: CSCI 465 Data Communications and Networks Lecture 7 Martin van Bommel CSCI 465 Data Communications and Networks 1

24

56kbps Modems

• asymmetrical; can download at 56 kbps but upload at 33.6 kbps only

• requires digital T-1 or ISDN PRI connection at central site or ISP

• ITU Standard V.90 (Feb. 1998) • early examples

– U.S. Robotics (56K x2)– Rockwell (56K flex)

CSCI 465Data Communications and Networks