1 kyung hee university prof. choong seon hong transmission of digital data : interfaces and modems

55
1 Kyung Hee Univers ity Prof. Choong Seon HONG Transmission of Digital Transmission of Digital DATA : DATA : Interfaces and Modems Interfaces and Modems

Upload: claud-neil-singleton

Post on 19-Jan-2016

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

11

Kyung Hee University

Prof. Choong Seon HONG

Transmission of Digital DATA :Transmission of Digital DATA :Interfaces and ModemsInterfaces and Modems

Page 2: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

22

Kyung Hee University

66 장장 Transmission of Digital Data:Transmission of Digital Data:Interfaces and MODEMsInterfaces and MODEMs

6.1 Digital Data Transmission

6.2 DTE-DCE Interface

6.3 Other Interface Standards

6.4 모뎀 (MODEM)

Page 3: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

33

Kyung Hee University

6.1 Digital Data Transmission6.1 Digital Data Transmission

Primary concern when considering the transmission of data

from one device to another is the wiring

Page 4: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

44

Kyung Hee University

Digital Data Transmission(cont’d)Digital Data Transmission(cont’d)

Parallel Transmission

By grouping, we can send data n bits at a time instead of one

장점 : 속도 (speed)

단점 : 고가 (expansive)

전송거리 (short distance): 최대 25 feets

Page 5: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

55

Kyung Hee University

Digital Data Transmission(cont’d)Digital Data Transmission(cont’d)

Parallel transmission

Page 6: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

66

Kyung Hee University

Digital Data Transmission(cont’d)Digital Data Transmission(cont’d)

Serial Transmission

one bit follows another

장점 : 단일 channel, 저가

단점 : require interface converter

Page 7: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

77

Kyung Hee University

Digital Data Transmission(cont’d)Digital Data Transmission(cont’d)

Serial Transmission

Page 8: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

88

Kyung Hee University

Digital Data Transmission(cont’d)Digital Data Transmission(cont’d)비동기 전송 (Asynchronous Transmission)

send one start bit(0) at the beginning and one or more stop bits(1) at the end of each byte

ex) the connection of a terminal to a computer

장점 : cheap and effective

Page 9: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

99

Kyung Hee University

Digital Data TransmissionDigital Data Transmission

동기전송 (synchronous transmission)

Sending bits one after another without start/stop bits or gaps. It is the responsibility of the receiver to group the bits

The receiver counts the bits as they arrive and groups them in eight-bit units

장점 : 속도 (speed)

Page 10: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

1010

Kyung Hee University

6.2 DTE-DCE Interface6.2 DTE-DCE Interface

DTE(Data Terminal equipment) : 데이터 단말장치

DCE(Data Circuit-terminating Equipment) : 데이터 회선 종단 장치

Page 11: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

1111

Kyung Hee University

DTE-DCE Interface(cont’d)DTE-DCE Interface(cont’d)

DTE(Data Terminal Equipment)

~ is any device that is a source of destination for binary digital data

terminal

Personal computer

printer

fax machine and so on

Page 12: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

1212

Kyung Hee University

DTE-DCE Interface(cont’d)DTE-DCE Interface(cont’d)

DCE (Data Circuit-Terminating Equipment)

~ is any device (functional unit) that transmits or receives data in the form of an analog or digital signal through a network

Modulator/demodulator

Page 13: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

1313

Kyung Hee University

DTE-DCE Interface(cont’d)DTE-DCE Interface(cont’d)

표준안 (Standards)

defining the connection between a DTE and DCE

Page 14: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

1414

Kyung Hee University

DTE-DCE Interface(cont’d)DTE-DCE Interface(cont’d)

Standards

EIA (Electronic Industries Association)

EIA-232 EIA-442 EIA-449

ITU-T (International Telecommunications Union-Telecommunications Sector)

V series ( 전화망에 관한 데이터 통신 ) X series ( 데이터 통신망에 대한 데이터통신 )

Page 15: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

1515

Kyung Hee University

DTE-DCE Interface(cont’d)DTE-DCE Interface(cont’d)

EIA-232(RS-232)

defining the mechanical, electrical and functional characteristics

기계적인 규격 (mechanical specification)

defining the interface as a 25-wire cable with a male (plug) and a female (receptacle) DB-25 pin connector

length may not exceed 15m(50 feet)

전자적인 규격 (electrical specification)

define voltage levels and the type of signal( 예 : NRZ-L)

Page 16: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

1616

Kyung Hee University

DTE-DCE Interface(cont’d)DTE-DCE Interface(cont’d)

Sending the data

To be recognized as data, the amplitude of a signal must fall between 3 and 15 volts or between –3 and –15 volts

Page 17: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

1717

Kyung Hee University

DTE-DCE Interface(cont’d)DTE-DCE Interface(cont’d)Control and Timing

Only 4 wires out of 25 available in an EIA-232 interface are used for data functions

Signals must be sent using OFF less than –3 volts and ON greater than +3 volts

Page 18: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

1818

Kyung Hee University

DTE-DCE Interface(cont’d)DTE-DCE Interface(cont’d)

기능 규격 (Functional Specification)

Page 19: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

1919

Kyung Hee University

DTE-DCE Interface(cont’d)DTE-DCE Interface(cont’d)

Functions of Pins in EIA-232, DB-9

Page 20: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

2020

Kyung Hee University

DTE-DCE Interface(cont’d)DTE-DCE Interface(cont’d)

예 : synchronous full-duplex transmission

Step1 :preparation

Step2 : Readiness

Step3 : Set up

Step1 :preparation

Step2 : Readiness

Step3 : Set up

Page 21: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

2121

Kyung Hee University

DTE-DCE Interface(cont’d)DTE-DCE Interface(cont’d)

Step4:Data Transfer

Step 5 : Clearing

Step4:Data Transfer

Step 5 : Clearing

Page 22: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

2222

Kyung Hee University

DTE-DCE Interface(cont’d)DTE-DCE Interface(cont’d)Null Modem

not needed to connect two compatible digital devices directly

Ex) connecting two DTEs in the same building

Using regular data pin connections with and without DCEs

Page 23: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

2323

Kyung Hee University

DTE-DCE Interface(cont’d)DTE-DCE Interface(cont’d)Crossing Connections

Null modem pin connection

Page 24: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

2424

Kyung Hee University

6.3 Other Interface Standards6.3 Other Interface Standards

needs more speed and/or distance

EIA-449

EIA-530

X.21

Page 25: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

2525

Kyung Hee University

Other Interface Standards(cont’d)Other Interface Standards(cont’d)

EIA-449

DB-37 pin

DB-9 pin

DB-37 and DB-9 connections

Page 26: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

2626

Kyung Hee University

Other Interface Standards(cont’d)Other Interface Standards(cont’d)

Pin Functions

category I pins

~ are compatible with those of EIA-232

category II pins

~ have no equivalent in EIA-232

Page 27: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

2727

Kyung Hee University

Other Interface Standards (cont’d)Other Interface Standards (cont’d)

DB-37 pins

Pin Functions Category Pin Functions Category123456789

10111213141516171819

ShieldSignal rate indicatorUnassignedSend dataSend timingReceive dataRequest to sendReceive timingClear to sendLocal loopbackData modeTerminal readyReceive readyRemote loopbackIncoming callSelect frequencyTerminal timingTest modeSignal ground

202122232425262728293031323334353637

Receive CommonUnassignedSend dataSend timingReceive dataRequest to sendReceive timingClear to sendTerminal in serviceData modeTerminal readyReceive readySelect readySignal qualityNew signalTerminal timingStandby indicatorSend common

IIIIIIIIIIIII

IIIII

IIIIIIIIIIIIIIII

IIIIIII

Page 28: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

2828

Kyung Hee University

Other Interface Standards(cont’d)Other Interface Standards(cont’d)

DB-9 pins

Pin Function EIA-232 Equivalent

123456789

ShieldSecondary receive readySecondary send dataSecondary receive dataSignal groundReceive commonSecondary request to sendSecondary clear to sendSend common

1

14167

121913

Page 29: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

2929

Kyung Hee University

Other Interface Standards(cont’d)Other Interface Standards(cont’d)

Electrical specification : RS-423 and RS-422

EIA-449 uses two other standards to define its electrical specification

RS-423 (unbalanced circuits)

RS-422 (balanced circuits)

Page 30: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

3030

Kyung Hee University

Other Interface Standards(cont’d)Other Interface Standards(cont’d)

RS-423 : Unbalanced Mode

Page 31: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

3131

Kyung Hee University

Other Interface Standards(cont’d)Other Interface Standards(cont’d)

RS-422 : Balanced Mode

Page 32: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

3232

Kyung Hee University

Other Interface Standards(cont’d)Other Interface Standards(cont’d)

Canceling of noise in balanced mode

Page 33: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

3333

Kyung Hee University

Other Interface Standards(cont’d)Other Interface Standards(cont’d)

EIA-530

is a new version of EIA-449 that uses DB-25 pins

Page 34: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

3434

Kyung Hee University

Other Interface Standards(cont’d)Other Interface Standards(cont’d)X.21

~ is an interface designed by the ITU-T to address many of the problems existing in the EIA

eliminating most of the control circuits of the EIA standards

DB-15 connector

Byte timing (pins 7 and 14) : byte synchronization

Control and indication

– Pin 3 : equivalent of request to send (control)– Pin 5 : equivalent of clear to send (indication)

Page 35: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

3535

Kyung Hee University

Other Interface StandardsOther Interface Standards

DB-15 pins

Pin Function

12345678

Pin

9101112131415

Function

ShieldTransmit data or controlControlReceive data or controlIndicationSignal element timingBye timingSignal ground

Transmit data or controlControlReceive data or controlIndicationSignal element timingByte timingReserved

Page 36: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

3636

Kyung Hee University

6.4 MODEMs6.4 MODEMs

The most familiar type of DCE

Page 37: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

3737

Kyung Hee University

MODEMs(cont’d)MODEMs(cont’d)

MODEM

stands for modulator/demodulator

Modulator : converts a digital signal to an analog signal

using the digital-to-analog mechanism of ASK, FSK, PSK, and QAM

Demodulator : converts an analog signal to a digital signal

Page 38: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

3838

Kyung Hee University

MODEMs(cont’d)MODEMs(cont’d)

Transmission Rate

Bandwidth

Each line has an upper limit and a lower limit on the frequencies of the signals it can carry. This limited range is called the bandwidth

Page 39: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

3939

Kyung Hee University

MODEMs(cont’d)MODEMs(cont’d) Telephone line bandwidth

A telephone line has bandwidth of almost 3000 Hz

Page 40: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

4040

Kyung Hee University

MODEMs(cont’d)MODEMs(cont’d)

Modem speed

The bandwidth required for ASK transmission is equal to baud rate of signal

in half-duplex ASK, because the effective bandwidth of a telephone line is 2400Hz, the maximum bit rate is also 2400.

Page 41: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

4141

Kyung Hee University

MODEMs(cont’d)MODEMs(cont’d)

Baud rate in full-duplex ASK

Although ASK has a good bit rate, it is not used today because of noise

Page 42: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

4242

Kyung Hee University

MODEMs(cont’d)MODEMs(cont’d)

FSK(Frequency Shift Keying)

Baud rate in half-duplex FSK

Baud rate in full-duplex FSK

Max baud rate = Max bit rate = [2400 – (fc1 – fc0)]/2

Page 43: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

4343

Kyung Hee University

MODEMs(cont’d)MODEMs(cont’d)

Baud Rate in Full-Duplex FSK

Page 44: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

4444

Kyung Hee University

MODEMs(cont’d)MODEMs(cont’d)

PSK and QAM( 비교 )

Encoding Half-Duplex Full-Duplex

ASK, FSK, 2-PSK4-PSK, 4-QAM8-PSK, 8-QAM16-QAM32-QAM64-QAM128-QAM

256-QAM

2400480072009600

12,00014,40016,800

1200240036004800600072008400

19,200 9600

Theoretical bit rates for modemsTheoretical bit rates for modems

Page 45: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

4545

Kyung Hee University

MODEMs(cont’d)MODEMs(cont’d)

Modem Standards

Bell modem

The first commercial modems in the early 1970s

ITU-T modem

Page 46: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

4646

Kyung Hee University

MODEMs(cont’d)MODEMs(cont’d)

Bell Modems(cont’d)

For flow control or error control

Page 47: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

4747

Kyung Hee University

MODEMs(cont’d)MODEMs(cont’d)

Bell Modems

212 --> 201 : Same technology, data rate double

Page 48: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

4848

Kyung Hee University

MODEMs(cont’d)MODEMs(cont’d)

ITU-T Modem Standards(cont’d)

Page 49: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

4949

Kyung Hee University

MODEMs(cont’d)MODEMs(cont’d)

ITU-T Modem Standards

Page 50: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

5050

Kyung Hee University

MODEMs(cont’d)MODEMs(cont’d)

ITU-T/Bell Compatibility

ITU-T Bell Baud Rate Bit Rate Modulation

V.21

V.22

V.23

V.26

V.27

V.29

103

212

202

201

208

209

300

600

1200

1200

1600

2400

300

1200

1200

2400

4800

9600

FSK

4-PSK

FSK

4-PSK

8-PSK

16-QAM

Page 51: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

5151

Kyung Hee University

MODEMs(cont’d)MODEMs(cont’d)

Intelligent Modems

~ contain software to support a number of additional function, such as automatic answering and dialing

AT Command[parameter] command[parameter]…

Ex) ATDT4088648902

Page 52: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

5252

Kyung Hee University

MODEMs(cont’d)MODEMs(cont’d)

AT commands

Command Meaning Parameters

ABDEHLPT

Put modem in answer modeUse V.22bis at 1200 bpsDial the numberEnable/disable echo printingPut modem on/off hookAdjust speaker volumeUse pulse dialingUse tone dialing

The number to dial0 or 10 or 1n

Page 53: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

5353

Kyung Hee University

MODEMs(cont’d)MODEMs(cont’d) Traditional Modems

Page 54: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

5454

Kyung Hee University

MODEMs(cont’d)MODEMs(cont’d)

56K Modem

Page 55: 1 Kyung Hee University Prof. Choong Seon HONG Transmission of Digital DATA : Interfaces and Modems

5555

Kyung Hee University

MODEMs(cont’d)MODEMs(cont’d)

Cable Modem