Download presentation
Presentation is loading. Please wait.
1
Data Communication and Networks Lecture 2a Data Transmission and Encoding Concepts September 15, 2005
2
Simplified Data Communications Model
3
Terminology (1) zTransmitter zReceiver zMedium yGuided medium xe.g. twisted pair, optical fiber yUnguided medium xe.g. air, water, vacuum
4
Terminology (2) zDirect link yNo intermediate devices zPoint-to-point yDirect link yOnly 2 devices share link zMulti-point yMore than two devices share the link
5
Terminology (3) zSimplex yOne direction xe.g. Television zHalf duplex yEither direction, but only one way at a time xe.g. police radio zFull duplex yBoth directions at the same time xe.g. telephone
6
Analog and Digital Data Transmission zData yEntities that convey meaning zSignals yElectric or electromagnetic representations of data zTransmission yCommunication of data by propagation and processing of signals
7
Data zAnalog yContinuous values within some interval ye.g. sound, video zDigital yDiscrete values ye.g. text, integers
8
Signals zMeans by which data are propagated zAnalog yContinuously variable yVarious media xwire, fiber optic, space ySpeech bandwidth 100Hz to 7kHz yTelephone bandwidth 300Hz to 3400Hz yVideo bandwidth 4MHz zDigital yUse two DC components
9
Data and Signals zUsually use digital signals for digital data and analog signals for analog data zCan use analog signal to carry digital data yModem zCan use digital signal to carry analog data yCompact Disc audio
10
Analog Transmission zAnalog signal transmitted without regard to content zMay be analog or digital data zAttenuated over distance zUse amplifiers to boost signal zAlso amplifies noise
11
Digital Transmission zConcerned with content zIntegrity endangered by noise, attenuation etc. zRepeaters used zRepeater receives signal zExtracts bit pattern zRetransmits zAttenuation is overcome zNoise is not amplified
12
Advantages & Disadvantages of Digital zCheaper zLess susceptible to noise zGreater attenuation yPulses become rounded and smaller yLeads to loss of information
13
Attenuation of Digital Signals
14
Interpreting Signals zNeed to know yTiming of bits - when they start and end ySignal levels zFactors affecting successful interpreting of signals ySignal to noise ratio yData rate yBandwidth
15
Encoding Schemes zNonreturn to Zero-Level (NRZ-L) zNonreturn to Zero Inverted (NRZI) zBipolar -AMI zPseudoternary zManchester zDifferential Manchester zB8ZS zHDB3
16
Nonreturn to Zero-Level (NRZ-L) zTwo different voltages for 0 and 1 bits zVoltage constant during bit interval yno transition I.e. no return to zero voltage ze.g. Absence of voltage for zero, constant positive voltage for one zMore often, negative voltage for one value and positive for the other zThis is NRZ-L
17
Nonreturn to Zero Inverted zNonreturn to zero inverted on ones zConstant voltage pulse for duration of bit zData encoded as presence or absence of signal transition at beginning of bit time zTransition (low to high or high to low) denotes a binary 1 zNo transition denotes binary 0 zAn example of differential encoding
18
NRZ
19
Differential Encoding zData represented by changes rather than levels zMore reliable detection of transition rather than level zIn complex transmission layouts it is easy to lose sense of polarity
21
NRZ pros and cons zPros yEasy to engineer yMake good use of bandwidth zCons ydc component yLack of synchronization capability zUsed for magnetic recording zNot often used for signal transmission
22
Biphase zManchester yTransition in middle of each bit period yTransition serves as clock and data yLow to high represents one yHigh to low represents zero yUsed by IEEE 802.3 zDifferential Manchester yMidbit transition is clocking only yTransition at start of a bit period represents zero yNo transition at start of a bit period represents one yNote: this is a differential encoding scheme yUsed by IEEE 802.5
23
Biphase Pros and Cons zCon yAt least one transition per bit time and possibly two yMaximum modulation rate is twice NRZ yRequires more bandwidth zPros ySynchronization on mid bit transition (self clocking) yNo dc component yError detection xAbsence of expected transition
24
Asynchronous and Synchronous Transmission zTiming problems require a mechanism to synchronize the transmitter and receiver zTwo solutions yAsynchronous ySynchronous
25
Asynchronous zData transmitted on character at a time y5 to 8 bits zTiming only needs maintaining within each character zResync with each character
26
Asynchronous (diagram)
27
Asynchronous - Behavior zIn a steady stream, interval between characters is uniform (length of stop element) zIn idle state, receiver looks for transition 1 to 0 zThen samples next seven intervals (char length) zThen looks for next 1 to 0 for next char zSimple zCheap zOverhead of 2 or 3 bits per char (~20%) zGood for data with large gaps (keyboard)
28
Synchronous - Bit Level zBlock of data transmitted without start or stop bits zClocks must be synchronized zCan use separate clock line yGood over short distances ySubject to impairments zEmbed clock signal in data yManchester encoding yCarrier frequency (analog)
29
Synchronous - Block Level zNeed to indicate start and end of block zUse preamble and postamble ye.g. series of SYN (hex 16) characters ye.g. block of 11111111 patterns ending in 11111110 zMore efficient (lower overhead) than async
30
Synchronous (diagram)
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.