Data Communication and NetworksSimplified Data Communications ModelTerminology (1)Terminology (2)Terminology (3)Analog and Digital Data TransmissionDataSignalsData and SignalsAnalog TransmissionDigital TransmissionAdvantages & Disadvantages of DigitalAttenuation of Digital SignalsInterpreting SignalsEncoding SchemesNonreturn to Zero-Level (NRZ-L)Nonreturn to Zero InvertedNRZDifferential EncodingSlide 20NRZ pros and consBiphaseBiphase Pros and ConsAsynchronous and Synchronous TransmissionAsynchronousAsynchronous (diagram)Asynchronous - BehaviorSynchronous - Bit LevelSynchronous - Block LevelSynchronous (diagram)Data Communication and NetworksLecture 2aData Transmission and Encoding ConceptsSeptember 15, 2005Simplified Data Communications ModelTerminology (1)TransmitterReceiverMediumGuided mediume.g. twisted pair, optical fiberUnguided mediume.g. air, water, vacuumTerminology (2)Direct linkNo intermediate devicesPoint-to-pointDirect link Only 2 devices share linkMulti-pointMore than two devices share the linkTerminology (3)SimplexOne directione.g. TelevisionHalf duplexEither direction, but only one way at a timee.g. police radioFull duplexBoth directions at the same timee.g. telephoneAnalog and Digital Data TransmissionData Entities that convey meaningSignalsElectric or electromagnetic representations of dataTransmissionCommunication of data by propagation and processing of signalsDataAnalogContinuous values within some intervale.g. sound, videoDigitalDiscrete valuese.g. text, integersSignalsMeans by which data are propagatedAnalogContinuously variableVarious mediawire, fiber optic, spaceSpeech bandwidth 100Hz to 7kHzTelephone bandwidth 300Hz to 3400HzVideo bandwidth 4MHzDigitalUse two DC componentsData and SignalsUsually use digital signals for digital data and analog signals for analog dataCan use analog signal to carry digital dataModemCan use digital signal to carry analog data Compact Disc audioAnalog TransmissionAnalog signal transmitted without regard to contentMay be analog or digital dataAttenuated over distance Use amplifiers to boost signalAlso amplifies noiseDigital TransmissionConcerned with contentIntegrity endangered by noise, attenuation etc.Repeaters usedRepeater receives signalExtracts bit patternRetransmitsAttenuation is overcomeNoise is not amplifiedAdvantages & Disadvantages of DigitalCheaperLess susceptible to noiseGreater attenuationPulses become rounded and smallerLeads to loss of informationAttenuation of Digital SignalsInterpreting SignalsNeed to knowTiming of bits - when they start and endSignal levelsFactors affecting successful interpreting of signalsSignal to noise ratioData rateBandwidthEncoding SchemesNonreturn to Zero-Level (NRZ-L)Nonreturn to Zero Inverted (NRZI)Bipolar -AMIPseudoternaryManchesterDifferential ManchesterB8ZSHDB3Nonreturn to Zero-Level (NRZ-L)Two different voltages for 0 and 1 bitsVoltage constant during bit intervalno transition I.e. no return to zero voltagee.g. Absence of voltage for zero, constant positive voltage for oneMore often, negative voltage for one value and positive for the otherThis is NRZ-LNonreturn to Zero InvertedNonreturn to zero inverted on onesConstant voltage pulse for duration of bitData encoded as presence or absence of signal transition at beginning of bit timeTransition (low to high or high to low) denotes a binary 1No transition denotes binary 0An example of differential encodingNRZDifferential EncodingData represented by changes rather than levelsMore reliable detection of transition rather than levelIn complex transmission layouts it is easy to lose sense of polarityNRZ pros and consProsEasy to engineerMake good use of bandwidthConsdc componentLack of synchronization capabilityUsed for magnetic recordingNot often used for signal transmissionBiphaseManchesterTransition in middle of each bit periodTransition serves as clock and dataLow to high represents oneHigh to low represents zeroUsed by IEEE 802.3Differential ManchesterMidbit transition is clocking onlyTransition at start of a bit period represents zeroNo transition at start of a bit period represents oneNote: this is a differential encoding schemeUsed by IEEE 802.5Biphase Pros and ConsConAt least one transition per bit time and possibly twoMaximum modulation rate is twice NRZRequires more bandwidthProsSynchronization on mid bit transition (self clocking)No dc componentError detectionAbsence of expected transitionAsynchronous and Synchronous TransmissionTiming problems require a mechanism to synchronize the transmitter and receiverTwo solutionsAsynchronousSynchronousAsynchronousData transmitted on character at a time5 to 8 bitsTiming only needs maintaining within each characterResync with each characterAsynchronous (diagram)Asynchronous - BehaviorIn a steady stream, interval between characters is uniform (length of stop element)In idle state, receiver looks for transition 1 to 0Then samples next seven intervals (char length)Then looks for next 1 to 0 for next charSimpleCheapOverhead of 2 or 3 bits per char (~20%)Good for data with large gaps (keyboard)Synchronous - Bit LevelBlock of data transmitted without start or stop bitsClocks must be synchronizedCan use separate clock lineGood over short distancesSubject to impairmentsEmbed clock signal in dataManchester encodingCarrier frequency (analog)Synchronous - Block LevelNeed to indicate start and end of blockUse preamble and postamblee.g. series of SYN (hex 16) characterse.g. block of 11111111 patterns ending in 11111110More efficient (lower overhead) than asyncSynchronous
View Full Document