1. Trang chủ
  2. » Kinh Doanh - Tiếp Thị

Business data communications 4e chapter 8

47 147 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 47
Dung lượng 494 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Three Components of Data Communication ✘ Data ✘ Analog: Continuous value data sound, light, temperature ✘ Digital: Discrete value text, integers, symbols ✘ Signal ✘ Analog: Continuously

Trang 2

Three Components of Data

Communication

✘ Data

✘ Analog: Continuous value data (sound, light, temperature)

✘ Digital: Discrete value (text, integers, symbols)

✘ Signal

✘ Analog: Continuously varying electromagnetic wave

✘ Digital: Series of voltage pulses (square wave)

✘ Transmission

✘ Analog: Works the same for analog or digital signals

✘ Digital: Used only with digital signals

Trang 3

Analog Data >Signal Options

✘ Analog data to analog signal

✘ Inexpensive, easy conversion (eg telephone)

✘ Data may be shifted to a different part of the

available spectrum (multiplexing)

✘ Used in traditional analog telephony

✘ Analog data to digital signal

✘ Requires a codec (en co der/ dec oder)

✘ Allows use of digital telephony, voice mail

Trang 4

Digital Data >Signal Options

✘ Digital data to analog signal

✘ Requires modem ( mo dulator/ dem odulator)

✘ Allows use of PSTN to send data

✘ Necessary when analog transmission is used

✘ Digital data to digital signal

✘ Requires CSU/DSU (channel service unit/data service unit)

✘ Less expensive when large amounts of data are involved

✘ More reliable because no conversion is involved

Trang 5

Transmission Choices

✘ Analog transmission

✘ only transmits analog signals, without regard for data content

✘ attenuation overcome with amplifiers

✘ signal is not evaluated or regenerated

✘ Digital transmission

✘ transmits analog or digital signals

✘ uses repeaters rather than amplifiers

✘ switching equipment evaluates and regenerates signal

Trang 6

Signal

Transmission System

A

D A

A

Data, Signal, and Transmission

Matrix

Trang 7

Advantages of Digital

Transmission

✘ 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

Trang 8

Why Use Analog Transmission?

✘ Already in place

✘ Significantly less expensive

✘ Lower attentuation rates

✘ Fully sufficient for transmission of voice

signals

Trang 9

Analog Encoding

of Digital Data

✘ Data encoding and decoding technique 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

Trang 10

✘ An acronym for modulator-demodulator

✘ Uses a constant-frequency signal known as a

Trang 11

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)

Trang 12

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

✘ Major disadvantage is that telephone lines are

very susceptible to variations in transmission

quality that can affect amplitude

Trang 13

1 0 0 1

ASK Illustration

Trang 14

Frequency Shift Keying (FSK)

✘ In radio transmission, known as frequency modulation

(FM)

✘ Frequency of the carrier wave varies in accordance with the signal to be sent

✘ Signal transmitted at constant amplitude

✘ More resistant to noise than ASK

✘ Less attractive because it requires more analog bandwidth than ASK

Trang 15

1 1 0 1

FSK Illustration

Trang 16

Phase Shift Keying (PSK)

✘ Also known as phase modulation (PM)

✘ Frequency and amplitude of the carrier signal are kept constant

✘ The carrier signal 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)

Trang 17

0 0 1 1

PSK Illustration

Trang 18

0 1 1

Differential Phase Shift Keying

(DPSK)

0

Trang 19

Analog Channel Capacity: BPS vs

Baud

✘ Baud=# of signal changes per second

✘ BPS=bits per second

In early modems only, baud=BPS

✘ Each signal change can represent more than one bit, through complex modulation of amplitude, frequency, and/or phase

✘ Increases information-carrying capacity of a channel

without increasing bandwidth

✘ Increased combinations also leads to increased likelihood of errors

Trang 20

Voice Grade Modems

Trang 21

Cable Modems

Trang 22

DSL Modems

Trang 23

Digital Encoding

of Analog Data

✘ Primarily used in retransmission devices

✘ The sampling theorem: If a signal is sampled at regular intervals of time and at a rate higher than twice the significant signal frequency, the

samples contain all the information of the

original signal.

✘ 8000 samples/sec sufficient for 4000hz

Trang 24

Converting Samples to Bits

✘ Quantizing

✘ Similar concept to pixelization

✘ Breaks wave into pieces, assigns a value in a

particular range

✘ 8-bit range allows for 256 possible sample levels

✘ More bits means greater detail, fewer bits means less detail

Trang 25

✘ Co der/ Dec oder

✘ Converts analog signals into a digital form and converts it back to analog signals

✘ Where do we find codecs?

✘ Sound cards

✘ Scanners

✘ Voice mail

✘ Video capture/conferencing

Trang 26

Digital Encoding

of Digital Data

✘ Most common, easiest method is different

voltage levels for the two binary digits

✘ Typically, negative=1 and positive=0

✘ Known as NRZ-L, or nonreturn-to-zero level, because signal never returns to zero, and the voltage during a bit transmission is level

Trang 28

✘ Timing is critical, because any drift results in

lack of synchronization and incorrect bit values being transmitted

Trang 29

Biphase Alternatives to NRZ

✘ Require at least one transition per bit time, and may even have two

✘ Modulation rate is greater, so bandwidth

requirements are higher

✘ Advantages

✘ Synchronization due to predictable transitions

✘ Error detection based on absence of a transition

Trang 30

Manchester Code

✘ Transition in the middle of each bit period

✘ Transition provides clocking and data

✘ Low-to-high=1 , high-to-low=0

✘ Used in Ethernet

Trang 31

Differential Manchester

✘ Midbit transition is only for clocking

✘ Transition at beginning of bit period=0

✘ Transition absent at beginning=1

✘ Has added advantage of differential encoding

✘ Used in token-ring

Trang 32

Digital Encoding Illustration

Trang 34

Generic Communications

Interface Illustration

Trang 35

DTE and DCE

Trang 36

RS-232C (EIA 232C)

✘ EIA’s “Recommended Standard” (RS)

✘ Specifies mechanical, electrical, functional, and procedural aspects of the interface

✘ Used for connections between DTEs and

voice-grade modems, and many other

applications

Trang 37

✘ new version of RS-232-C adopted in 1987

✘ improvements in grounding shield, test and loop-back signals

✘ the prevalence of RS-232-C in use made it difficult for EIA-232-D to enter into the

marketplace

Trang 38

✘ EIA standard improving on capabilities of RS-232-C

✘ provides for 37-pin connection, cable lengths up to

200 feet, and data rates up to 2 million bps

✘ covers functional/procedural portions of R-232-C

✘ electrical/mechanical specs covered by RS-422 & RS-423

Trang 39

Functional Specifications

✘ Specifies the role of the individual circuits

✘ Data circuits in both directions allow duplex communication

full-✘ Timing signals allow for synchronous

transmission (although asynchronous

transmission is more common)

Trang 40

Procedural Specifications

✘ Multiple procedures are specified

✘ Simple example: exchange of asynchronous data on

private line

✘ Provides means of attachment between computer and modem

✘ Specifies method of transmitting asynchronous data between devices

✘ Specifies method of cooperation for exchange of data

between devices

Trang 41

Mechanical Specifications

✘ 25-pin connector with a specific arrangement

of leads

✘ DTE devices usually have male DB25

connectors while DCE devices have female

✘ In practice, fewer than 25 wires are generally used in applications

Trang 42

DB-25 Female

DB-25 MaleRS-232 DB-25 Connectors

Trang 43

RS-232 DB-25 Pinouts

Trang 44

RS-232 DB-9 Connectors

✘ Limited RS-232

Trang 45

RS-422 DIN-8

✘ Found on Macs

Trang 46

✘ Rated for <20Kbps and <15M

✘ greater distances and rates are theoretically possible, but not necessarily wise

Trang 47

RS-232 Signals (Asynch)

Odd Parity

Even Parity

No Parity

Ngày đăng: 12/12/2017, 08:18

TỪ KHÓA LIÊN QUAN