chapter 8: data communication fundamentals
DESCRIPTION
Chapter 8: Data Communication Fundamentals. Business Data Communications, 4e. 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 - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/1.jpg)
Chapter 8:Data CommunicationFundamentalsBusiness Data Communications, 4e
![Page 2: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/2.jpg)
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
![Page 3: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/3.jpg)
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 telephonyAnalog data to digital signal Requires a codec (encoder/decoder) Allows use of digital telephony, voice mail
![Page 4: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/4.jpg)
Digital Data-->Signal OptionsDigital data to analog signal Requires modem (modulator/demodulator) 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
![Page 5: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/5.jpg)
![Page 6: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/6.jpg)
![Page 7: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/7.jpg)
Transmission ChoicesAnalog 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
![Page 8: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/8.jpg)
Data
Signal
TransmissionSystem
A
DD
DAA
Data, Signal, and Transmission Matrix
![Page 9: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/9.jpg)
Advantages of Digital Transmission
The signal is exactSignals can be checked for errorsNoise/interference are easily filtered outA variety of services can be offered over one lineHigher bandwidth is possible with data compression
![Page 10: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/10.jpg)
Why Use Analog Transmission?Already in placeSignificantly less expensiveLower attentuation ratesFully sufficient for transmission of voice signals
![Page 11: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/11.jpg)
Analog Encoding of Digital Data
Data encoding and decoding technique to represent data using the properties of analog wavesModulation: the conversion of digital signals to analog formDemodulation: the conversion of analog data signals back to digital form
![Page 12: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/12.jpg)
ModemAn acronym for modulator-demodulatorUses a constant-frequency signal known as a carrier signalConverts a series of binary voltage pulses into an analog signal by modulating the carrier signalThe receiving modem translates the analog signal back into digital data
![Page 13: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/13.jpg)
Methods of ModulationAmplitude modulation (AM) or amplitude shift keying (ASK)Frequency modulation (FM) or frequency shift keying (FSK)Phase modulation or phase shift keying (PSK)
![Page 14: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/14.jpg)
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 zerosMajor disadvantage is that telephone lines are very susceptible to variations in transmission quality that can affect amplitude
![Page 15: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/15.jpg)
1 0 0 1
ASK Illustration
![Page 16: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/16.jpg)
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 sentSignal transmitted at constant amplitudeMore resistant to noise than ASKLess attractive because it requires more analog bandwidth than ASK
![Page 17: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/17.jpg)
1 1 0 1
FSK Illustration
![Page 18: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/18.jpg)
Phase Shift Keying (PSK)Also known as phase modulation (PM)Frequency and amplitude of the carrier signal are kept constantThe carrier signal is shifted in phase according to the input data streamEach phase can have a constant value, or value can be based on whether or not phase changes (differential keying)
![Page 19: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/19.jpg)
0 0 1 1
PSK Illustration
![Page 20: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/20.jpg)
0 1 1
Differential Phase Shift Keying (DPSK)
0
![Page 21: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/21.jpg)
Analog Channel Capacity: BPS vs. Baud
Baud=# of signal changes per secondBPS=bits per secondIn early modems only, baud=BPSEach signal change can represent more than one bit, through complex modulation of amplitude, frequency, and/or phaseIncreases information-carrying capacity of a channel without increasing bandwidthIncreased combinations also leads to increased likelihood of errors
![Page 22: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/22.jpg)
Voice Grade Modems
![Page 23: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/23.jpg)
Cable Modems
![Page 24: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/24.jpg)
DSL Modems
![Page 25: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/25.jpg)
Digital Encoding of Analog DataPrimarily used in retransmission devicesThe 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
![Page 26: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/26.jpg)
Converting Samples to BitsQuantizingSimilar concept to pixelizationBreaks wave into pieces, assigns a value in a particular range8-bit range allows for 256 possible sample levelsMore bits means greater detail, fewer bits means less detail
![Page 27: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/27.jpg)
CodecCoder/DecoderConverts analog signals into a digital form and converts it back to analog signalsWhere do we find codecs? Sound cards Scanners Voice mail Video capture/conferencing
![Page 28: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/28.jpg)
Digital Encoding of Digital DataMost common, easiest method is different voltage levels for the two binary digitsTypically, negative=1 and positive=0Known as NRZ-L, or nonreturn-to-zero level, because signal never returns to zero, and the voltage during a bit transmission is level
![Page 29: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/29.jpg)
NRZ-L
![Page 30: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/30.jpg)
Differential NRZDifferential version is NRZI (NRZ, invert on ones)Change=1, no change=0Advantage of differential encoding is that it is more reliable to detect a change in polarity than it is to accurately detect a specific level
![Page 31: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/31.jpg)
NRZI
![Page 32: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/32.jpg)
Problems With NRZDifficult to determine where one bit ends and the next beginsIn NRZ-L, long strings of ones and zeroes would appear as constant voltage pulsesTiming is critical, because any drift results in lack of synchronization and incorrect bit values being transmitted
![Page 33: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/33.jpg)
Biphase Alternatives to NRZRequire at least one transition per bit time, and may even have twoModulation rate is greater, so bandwidth requirements are higherAdvantages Synchronization due to predictable
transitions Error detection based on absence of a
transition
![Page 34: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/34.jpg)
Manchester CodeTransition in the middle of each bit periodTransition provides clocking and dataLow-to-high=1 , high-to-low=0Used in Ethernet
![Page 35: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/35.jpg)
Manchester Code
![Page 36: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/36.jpg)
Differential ManchesterMidbit transition is only for clockingTransition at beginning of bit period=0Transition absent at beginning=1Has added advantage of differential encodingUsed in token-ring
![Page 37: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/37.jpg)
Differential Manchester
![Page 38: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/38.jpg)
Digital Encoding Illustration
![Page 39: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/39.jpg)
Asynchronous and Synchronous Transmission
Asynchronous Transmission Data are transmitted one character at a time. Timing (synchronization) is maintained within
each character, by the use of start elements and stop elements.
Synchronous Transmission A block of bits is transmitted in a steady
stream without start and stop codes. Synchronization
A separate clock line To embed the clocking information in the data signal
![Page 40: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/40.jpg)
Asynchronous Transmission
![Page 41: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/41.jpg)
Synchronous Transmission To determine the beginning and end of a block of bits Begins with a preamblepreamble bit pattern Ends with a postamblepostamble bit pattern
Frame = preamble + control + data +
postamble
![Page 42: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/42.jpg)
Digital InterfacesThe point at which one device connects to anotherStandards define what signals are sent, and howSome standards also define physical connector to be used
![Page 43: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/43.jpg)
Generic CommunicationsInterface Illustration
![Page 44: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/44.jpg)
DTE and DCE
DTE DTE
host com puter term ina l
in terface in terface
m odem m odem
DCE
![Page 45: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/45.jpg)
Four Characteristics of Interfaces
Mechanical: The actual physical connection of the DTE to the DCE.Electrical: Voltage levels and timing of voltage changes.Functional: The functions that are performed.Procedural: The sequence of events for transmitting data.
![Page 46: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/46.jpg)
RS-232C (EIA 232C)EIA’s “Recommended Standard” (RS)Specifies mechanical, electrical, functional, and procedural aspects of the interfaceUsed for connections between DTEs and voice-grade modems, and many other applications
![Page 47: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/47.jpg)
EIA-232-D
new version of RS-232-C adopted in 1987improvements in grounding shield, test and loop-back signalsthe prevalence of RS-232-C in use made it difficult for EIA-232-D to enter into the marketplace
![Page 48: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/48.jpg)
RS-449EIA standard improving on capabilities of RS-232-Cprovides for 37-pin connection, cable lengths up to 200 feet, and data rates up to 2 million bpscovers functional/procedural portions of R-232-C electrical/mechanical specs covered by
RS-422 & RS-423
![Page 49: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/49.jpg)
Functional SpecificationsSpecifies the role of the individual circuitsData circuits in both directions allow full-duplex communicationTiming signals allow for synchronous transmission (although asynchronous transmission is more common)
![Page 50: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/50.jpg)
Table 8.6(Page 200)
Functionalspecification
![Page 51: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/51.jpg)
Procedural SpecificationsMultiple procedures are specifiedSimple 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
![Page 52: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/52.jpg)
Mechanical Specifications25-pin connector with a specific arrangement of leadsDTE devices usually have male DB25 connectors while DCE devices have female In practice, fewer than 25 wires are generally used in applications
![Page 53: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/53.jpg)
DB-25 Female
DB-25 Male
RS-232 DB-25 Connectors
![Page 54: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/54.jpg)
RS-232 DB-25 Pinouts
![Page 55: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/55.jpg)
RS-232 DB-9 ConnectorsLimited RS-232
![Page 56: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/56.jpg)
RS-422 DIN-8Found on Macs
DIN-8 Male DIN-8 Female
![Page 57: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/57.jpg)
Electrical SpecificationsSpecifies signaling between DTE and DCEUses NRZ-L encoding Voltage < -3V = binary 1 Voltage > +3V = binary 0Rated for <20Kbps and <15M greater distances and rates are
theoretically possible, but not necessarily wise
![Page 58: Chapter 8: Data Communication Fundamentals](https://reader030.vdocuments.us/reader030/viewer/2022013122/56813029550346895d95b63a/html5/thumbnails/58.jpg)
RS-232 Signals (Asynch)
Even Parity
Odd Parity
No Parity