Presentation is loading. Please wait.

Presentation is loading. Please wait.

William Stallings Data and Computer Communications Chapter 3 Data Transmission.

Similar presentations


Presentation on theme: "William Stallings Data and Computer Communications Chapter 3 Data Transmission."— Presentation transcript:

1 William Stallings Data and Computer Communications Chapter 3 Data Transmission

2 Terminology (1) zTransmitter zReceiver zMedium yGuided medium xe.g. twisted pair, optical fiber yUnguided medium xe.g. air, water, vacuum

3 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

4 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

5 Frequency, Spectrum and Bandwidth zTime domain concepts yContinuous signal xVarious in a smooth way over time yDiscrete signal xMaintains a constant level then changes to another constant level yPeriodic signal xPattern repeated over time yAperiodic signal xPattern not repeated over time

6 Continuous & Discrete Signals

7 Periodic Signals

8 Sine Wave zPeak Amplitude (A) ymaximum strength of signal yvolts zFrequency (f) yRate of change of signal yHertz (Hz) or cycles per second yPeriod = time for one repetition (T) yT = 1/f zPhase (  ) yRelative position in time

9 Varying Sine Waves

10 Wavelength zDistance occupied by one cycle zDistance between two points of corresponding phase in two consecutive cycles z zAssuming signal velocity v y = vT y f = v yc = 3*10 8 ms -1 (speed of light in free space)

11 Frequency Domain Concepts zSignal usually made up of many frequencies zComponents are sine waves zCan be shown (Fourier analysis) that any signal is made up of component sine waves zCan plot frequency domain functions

12 Addition of Frequency Components Fundamental frequency: All others are a multiple of this

13 Frequency Domain

14 Spectrum & Bandwidth zSpectrum yrange of frequencies contained in signal zAbsolute bandwidth ywidth of spectrum zEffective bandwidth yOften just bandwidth yNarrow band of frequencies containing most of the energy zDC Component yComponent of zero frequency

15 Signal with DC Component

16

17

18 Data Rate and Bandwidth (1) zAny transmission system has a limited band of frequencies zThis limits the data rate that can be carried zConsider a square wave with frequency f, positive pulse is binary 1 and negative pulse is binary 0. yDuration of each bit is 1/2f yData rate is 2f bits per second (bps)

19 zFrequency components zExample 1 (f+3f+5f): yf = 1MHz, Signal bandwidth = (5-1) = 4MHz, T = 1/10 6 = 1  s, data rate = 2Mbps zExample 2 (f+3f+5f): yf = 2MHz, Signal bandwidth = (5x2)-2 = 8MHz, T = 0.5  s, data rate = 4Mbps zExample 3 (f+3f): yf = 2MHz, Signal bandwidth = (3x2) –2 = 4MHz, T = 0.5  s, data rate = 4Mbps Data Rate and Bandwidth (2)

20

21 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

22 Data zAnalog yContinuous values within some interval ye.g. sound, video zDigital yDiscrete values ye.g. text, integers

23 Acoustic Spectrum (Analog)

24 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

25 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

26 Analog Signals Carrying Analog and Digital Data

27 Digital Signals Carrying Analog and Digital Data

28 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

29 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

30 Advantages of Digital Transmission zDigital technology yLow cost LSI/VLSI technology zData integrity yLonger distances over lower quality lines zCapacity utilization yHigh bandwidth links economical yHigh degree of multiplexing easier with digital techniques zSecurity & Privacy yEncryption zIntegration yCan treat analog and digital data similarly

31 Transmission Impairments zSignal received may differ from signal transmitted zAnalog - degradation of signal quality zDigital - bit errors zCaused by yAttenuation and attenuation distortion yDelay distortion yNoise

32 Attenuation (1) zSignal strength falls off with distance zDepends on medium zReceived signal strength: ymust be enough to be detected ymust be sufficiently higher than noise to be received without error zAttenuation is an increasing function of frequency

33 Attenuation (2)

34 Delay Distortion (1) zOnly in guided media zPropagation velocity varies with frequency

35 Delay Distortion (2)

36 Noise (1) zAdditional signals inserted between transmitter and receiver zThermal yDue to thermal agitation of electrons yUniformly distributed yWhite noise zIntermodulation ySignals that are the sum and difference of original frequencies sharing a medium

37 Noise (2) zCrosstalk yA signal from one line is picked up by another zImpulse yIrregular pulses or spikes ye.g. External electromagnetic interference yShort duration yHigh amplitude

38 Noise (3)

39 Channel Capacity (1) zData rate yIn bits per second yRate at which data can be communicated zBandwidth yIn cycles per second of Hertz yConstrained by transmitter and medium zNoise yAverage level of noise over the communications path zError rate yRate at which error occur

40 Channel Capacity (2) zNyquist Bandwidth yIf rate of signal transmission is 2B, frequency required is  B yGiven a bandwidth of B, the highest signal rate that can be carried is 2B zShannon Capacity Formula yDoubling bandwidth double data rate yThe higher the data rate, the higher the error rate y yMaximum (error-free) channel capacity

41 Required Reading zStallings chapter 3


Download ppt "William Stallings Data and Computer Communications Chapter 3 Data Transmission."

Similar presentations


Ads by Google