1 / 75

Data Communication

Data Communication. Lecture # 04 Course Instructor: Engr. Sana Ziafat. Transmission Impairments. Transmission Imapairments.

Télécharger la présentation

Data Communication

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 Communication Lecture # 04 Course Instructor: Engr. Sana Ziafat

  2. Transmission Impairments

  3. Transmission Imapairments • Signals travel through transmission media, which are not perfect. The imperfection causes signal impairment. This means that the signal at the beginning of the medium is not the same as the signal at the end of the medium. What is sent is not what is received.

  4. Transmission Impairments • Attenuation- loss of energy • Distortion – Change of shape • Noise – several types of noise thermal noise, induced noise, Crosstalk, impulse noise

  5. Attenuation Distortion Noise

  6. Signal Distortion

  7. Decibel (dB) • Term used to show signal has lost or gained strength. • It measure the relative strength of two signals or strength of two signals at different points dB= 10 log P2/P1

  8. Example Suppose a signal travels through a transmission medium and its power is reduced to one-half. This means that P2 is (1/2)P1. In this case, the attenuation (loss of power) can be calculated as A loss of 3 dB (–3 dB) is equivalent to losing one-half the power.

  9. Example A signal travels through an amplifier, and its power is increased 10 times. This means that P2 = 10P1 . In this case, the amplification (gain of power) can be calculated as

  10. Example One reason that engineers use the decibel to measure the changes in the strength of a signal is that decibel numbers can be added (or subtracted) when we are measuring several points (cascading) instead of just two. In Figure 3.27 a signal travels from point 1 to point 4. In this case, the decibel value can be calculated as

  11. Signal-to–Noise Ratio

  12. Data Rate Limits

  13. Data Rate Limits • A very important consideration in data communications is how fast we can send data, in bits per second, over a channel. Data rate depends on three factors: 1. The bandwidth available 2. The level of the signals we use 3. The quality of the channel (the level of noise)

  14. Noiseless Channel: Nyquist Bit Rate • Defines theoretical maximum bit rate for Noiseless Channel: • Bit Rate=2 X Bandwidth X log2L

  15. Example Consider a noiseless channel with a bandwidth of 3000 Hz transmitting a signal with two signal levels. The maximum bit rate can be calculated as BitRate = 2  3000  log2 2 = 6000 bps

  16. Example 8 Consider the same noiseless channel, transmitting a signal with four signal levels (for each level, we send two bits). The maximum bit rate can be calculated as: Bit Rate = 2 x 3000 x log2 4 = 12,000 bps

  17. Note Increasing the levels of a signal may reduce the reliability of the system.

  18. Noisy Channel: Shannon Capacity • Defines theoretical maximum bit rate for Noisy Channel: • Capacity=Bandwidth X log2(1+SNR)

  19. Example Consider an extremely noisy channel in which the value of the signal-to-noise ratio is almost zero. In other words, the noise is so strong that the signal is faint. For this channel the capacity is calculated as C = B log2 (1 + SNR) = B log2 (1 + 0)= B log2 (1) = B  0 = 0

  20. Example We can calculate the theoretical highest bit rate of a regular telephone line. A telephone line normally has a bandwidth of 4KHz. The signal-to-noise ratio is usually 3162. For this channel the capacity is calculated as C = B log2 (1 + SNR) = 3000 log2 (1 + 3162) = 3000 log2 (3163) C = 3000  11.62 = 34,860 bps

  21. Example We have a channel with a 1 MHz bandwidth. The SNR for this channel is 63; what is the appropriate bit rate and signal level? Solution First, we use the Shannon formula to find our upper limit. C = B log2 (1 + SNR) = 106 log2 (1 + 63) = 106 log2 (64) = 6 Mbps Then we use the Nyquist formula to find the number of signal levels. 6 Mbps = 2  1 MHz  log2L L = 8

  22. Note The Shannon capacity gives us the upper limit; the Nyquist formula tells us how many signal levels we need.

  23. From Nyquist: From Shannon: Equating: or SNR is the S/N ratio needed tosupport the M signal levels M is the number of levelsneeded to meet Shannon Limit Shannon meets Nyquist Example: To support 16 levels (4 bits), we need a SNR of 255 (24 dB) Example: To achieve Shannon limit with SNR of 30dB, we need 32 levels

  24. Performance • One important issue in networking is the performance of the network—how good is it? • Bandwidth • Throughput • Latency (Delay) • Bandwidth-Delay Product

  25. In networking, we use the term bandwidth in two contexts • The first, bandwidth in hertz, refers tothe range of frequencies in acomposite signal or the range offrequencies that a channel can pass. • The second, bandwidth in bits persecond, refers to the speed of bittransmission in a channel or link.

  26. Example The bandwidth of a subscriber line is 4 kHz for voice or data. The bandwidth of this line for data transmission can be up to 56,000 bps using a sophisticated modem to change the digital signal to analog.

  27. Throughput • Throughput is actually how fast we can send the data.

  28. Example A network with bandwidth of 10 Mbps can pass only an average of 12,000 frames per minute with each frame carrying an average of 10,000 bits. What is the throughput of this network? Solution We can calculate the throughput as The throughput is almost one-fifth of the bandwidth in this case.

  29. Latency (Delay) • How long it take for an entire message to reach the destination. • Latency = propagation time+ transmission time + queuing time + processing delay

  30. Propagation Time

  31. Example What is the propagation time if the distance between the two points is 12,000 km? Assume the propagation speed to be 2.4 × 108 m/s in cable. Solution We can calculate the propagation time as

  32. Transmission Time • Transmission time = Message Size/ bandwidth

  33. Note The bandwidth-delay product defines the number of bits that can fill the link.

  34. Bandwidth Delay Product

  35. Transmission Modes

  36. Transmission Modes • The transmission of binary data across a link can be accomplished in either parallel or serial mode. In parallel mode, multiple bits are sent with each clock tick. In serial mode, 1 bit is sent with each clock tick. While there is only one way to send parallel data, there are two subclasses of serial transmission: asynchronous, synchronous.

  37. Parallel Transmission

  38. Serial Transmission

  39. Note In asynchronous transmission, we send 1 start bit (0) at the beginning and 1 or more stop bits (1s) at the end of each byte. There may be a gap between each byte.

  40. Note Asynchronous here means “asynchronous at the byte level,” but the bits are still synchronized; their durations are the same.

  41. Asynchronous Transmission

  42. Note In synchronous transmission, we send bits one after another without start or stop bits or gaps. It is the responsibility of the receiver to group the bits.

  43. Synchronous Transmission

  44. Transmission of digital signals

  45. Transmission of digital signals • We can transmit digital signal using on eof the two approaches: • Baseband Transmission • Broadband Transmission

  46. Base Band Transmission • Sending a digital signal without changing to analog signal.

  47. Figure Bandwidths of two low-pass channels

More Related