1 / 45

Data and Computer Communications

Data and Computer Communications. Chapter 3 – Data Transmission . Transmission Terminology. data transmission occurs between a transmitter & receiver via some medium guided medium e.g. twisted pair, coaxial cable, optical fiber unguided / wireless medium e.g. air, water, vacuum.

dalton
Download Presentation

Data and Computer Communications

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Data and Computer Communications Chapter 3 – Data Transmission

  2. TransmissionTerminology • data transmission occurs between a transmitter & receiver via some medium • guided medium • e.g. twisted pair, coaxial cable, optical fiber • unguided / wireless medium • e.g. air, water, vacuum

  3. TransmissionTerminology • direct link (guided & unguided) • no intermediate devices • point-to-point (guided) • direct link • only 2 devices share link • multi-point • more than two devices share the link

  4. TransmissionTerminology • simplex • one direction • eg. television • half duplex • either direction, but only one way at a time • eg. police radio • full duplex • both directions at the same time • eg. telephone

  5. Frequency, Spectrum and Bandwidth • time domain concepts • analog signal • varies in a smooth way over time • digital signal (discrete) • maintains a constant level then changes to another constant level • periodic signal • pattern repeated over time • aperiodic signal • pattern not repeated over time

  6. Analogue & Digital Signals

  7. PeriodicSignals

  8. Sine Wave • peak amplitude (A) • maximum strength of signal • volts • frequency (f) • rate of change of signal • Hertz (Hz) or cycles per second • period = time for one repetition (T) • T = 1/f • phase () • relative position in time

  9. Varying Sine Wavess(t) = A sin(2ft +)

  10. Wavelength () • is distance occupied by one cycle • between two points of corresponding phase in two consecutive cycles • assuming signal velocity v, we have  = vT • or equivalently f = v • especially when v=c • c = 3*108 ms-1 (speed of light in free space)

  11. Problem # In a multipoint configuration, a central control may be used that enables only one device to transmit. What is the merit and demerit of such control as compared to distributed control?

  12. Note According to Fourier analysis, any composite signal is a combination of simple sine waves with different frequencies, amplitudes, and phases.

  13. Frequency Domain Concepts • Signal is made up of many frequencies • components are sine waves • Fourier analysis can show that any signal is made up of component sine waves • can plot frequency domain functions

  14. Addition of FrequencyComponents(T=1/f) • c is sum of f & 3f (with different amplitudes)

  15. FrequencyDomainRepresentations • freq domain function of Fig 3.4c • freq domain function of single square pulse • -veamplitude signify?

  16. A composite periodic signal

  17. Decomposition of a composite periodic signal in the time and frequency domains

  18. Spectrum & Bandwidth • spectrum • range of frequencies contained in signal • absolute bandwidth • width of spectrum • effective bandwidth • often just bandwidth • narrow band of frequencies containing most energy • DC Component • component of zero frequency

  19. Data Rate and Bandwidth • any transmission system can accommodate a limited band of frequencies • this limits the data rate that can be carried • Square wave: infinite components and hence infinite bandwidth • but most energy is in first few components • limited bandwidth increases distortion • has a direct relationship between data rate & bandwidth

  20. Data Rate-Bandwidth Relation • Square Wave transmission • Case 1: Three sinusoidal frequency components – f, 3f, 5f => Bandwidth = (5-1) f = 4f. Let f = 1 MHz, Bandwidth = 4 MHz, • T = 1µs => 1 bit needs 0.5 µs • Data rate = 2 MBPS

  21. Data Rate-Bandwidth Relation • Square Wave transmission • Case 2: Three sinusoidal frequency components – f, 3f, 5f => Bandwidth = (5-1) f = 4f. Let f = 2 MHz, Bandwidth = 8 MHz, • T = 0.5µs => 1 bit needs 0.25 µs • Data rate = 4 MBPS

  22. Data Rate-Bandwidth Relation • Square Wave transmission • Case 3: Two sinusoidal frequency components – f, 3f only => Bandwidth = (3-1) f = 2f. Let f = 2 MHz, Bandwidth = 4MHz, • T = 0.5µs => 1 bit needs 0.25 µs • Data rate = 4 MBPS • Shape of signal?

  23. Analog and Digital Data Transmission • data • entities that convey meaning / information • signals & signaling • electric or electromagnetic representations of data, physically propagates along medium • Transmission • propagation and processing of signals

  24. Acoustic Spectrum (Analog)

  25. Audio Signals • freq range 20Hz-20kHz (speech 100Hz-7kHz) • easily converted into electromagnetic signals • varying volume converted to varying voltage • can limit frequency range for voice channel to 300-3400Hz with acceptable reproduction

  26. Video Signals - Bandwidth • 525 lines x 30 scans = 15750 lines per sec • => 63.5s per line • 11s for horizontal retrace, so 52.5 s per video line • max frequency if line alternates black and white • 483 lines per frame • USA has 525 lines but 42 lost during vertical retrace • horizontal resolution is about 450 lines giving 225 cycles of wave in 52.5 s • max frequency of 4.2MHz

  27. Digital Data • as generated by computers etc. • has two dc components • bandwidth depends on sequence of 1s & 0s

  28. Analog Signals

  29. Digital Signals

  30. Advantages & Disadvantages of Digital Signals • cheaper • less susceptible to noise • but greater attenuation • digital now preferred choice

  31. Preferred Method • Digital, because: • - Technology support of VLSI • - Security (Encryption) • - Integration (data, audio, video)

  32. Transmission Impairments • signal received may differ from signal transmitted causing: • analog - degradation of signal quality • digital - bit errors (‘1’ as ‘0’ or vice-versa) • most significant impairments are • attenuation • delay distortion • noise

  33. Attenuation • where signal strength falls off with distance • depends on medium • received signal strength must be: • strong enough to be detected • sufficiently higher than noise to receive without error • so increase strength using amplifiers/repeaters • is also an increasing function of frequency • so equalize attenuation across band of frequencies used • e.g. using loading coils (voice grade) or amplifiers

  34. Problem # A signal has passed through three cascaded amplifiers, each with a 4 dB gain. What is the total gain in dB? How much is the signal amplified? What does a negative dB value signify?

  35. Delay Distortion • only occurs in guided media • propagation velocity varies with frequency • hence various frequency components arrive at different times • particularly critical for digital data • since parts of one bit spill over into others • causing inter-symbol interference

  36. Noise • additional signals inserted between transmitter and receiver • thermal • due to thermal agitation of electrons • uniformly distributed across typical bandwidth • white noise • Inter-modulation • signals that are the sum and difference (or multiples) of original frequencies sharing a medium

  37. Noise • crosstalk • a signal from one path / line is picked up by another • impulse • irregular pulses or spikes • e.g. external electromagnetic interference • short duration • high amplitude • a minor annoyance for analog signals • but a major source of error in digital data • a noise spike could corrupt many bits

  38. Channel Capacity • maximum possible data rate on a communication channel • data rate - in bits per second • bandwidth - in cycles per second or Hertz • noise - on communication link • error rate - of corrupted bits • limitations due to physical properties • want most efficient use of capacity

  39. Nyquist Bandwidth • considers noise free channels • if rate of signal transmission is 2B then it can carry signal with frequencies no greater than B • i.e. given bandwidth B, highest data rate is 2B • for binary signals, 2B bps needs bandwidth B Hz • can increase rate by using M signal levels • Nyquist Formula is: C = 2B log2M • so increase rate by increasing signal levels • at the cost of receiver complexity • limited by noise & other impairments

  40. Shannon Capacity Formula • considers relation of data rate, noise & error rate • faster data rate shortens each bit so bursts of noise affects more bits • given noise level, higher signal strength means lower errors • Shannon developed formula relating these to signal to noise ratio (in decibels) • SNRdb=10 log10 (signal/noise) • Capacity C=B log2(1+SNR) • theoretical maximumcapacity • get lower in practice

  41. Summary • looked at data transmission issues • frequency, spectrum & bandwidth • analog vs digital signals • transmission impairments

  42. Problems • Q1. For a video signal, what increase in horizontal resolution is possible if a bandwidth of 5 MHz is used? • Q2. For a digitized TV picture matrix of 480×500 pixels, where each pixel can take one of 48 intensity values, assume 30 pictures are sent per second. Find the source rate (bps).

  43. Problems • Q3. For the above problem, use Shannon’s formula to calculate the channel capacity if BW used is 4.5 MHz and SNR is 35 dB. • Q4. A multi level signaling system operates at 9600 bps. A signal element encodes a 4-bit word. Find the minimum BW required of the channel.

  44. Problems • Q5. A telephone line has 4 KHz BW. When signal is 10V, the noise is 5 mV. Find the maximum data rate supported by this line.

  45. Problems • Q6. Consider square wave transmission that involves the fundamental frequency and all odd frequenciesupto the 9th harmonic. If f = 2MHz, then find the bandwidth required and the data rate achieved. If only the fundamental frequency and the 3rd harmonic are transmitted, find the bandwidth required and the data rate achieved in this case. Comment about the receiver requirements for both the cases.

More Related