Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Data Transmission Lesson 3 NETS2150/2850. 2 Lesson Outline Understand the properties a signal Explain the difference of Data vs Signal Understand the.

Similar presentations


Presentation on theme: "1 Data Transmission Lesson 3 NETS2150/2850. 2 Lesson Outline Understand the properties a signal Explain the difference of Data vs Signal Understand the."— Presentation transcript:

1 1 Data Transmission Lesson 3 NETS2150/2850

2 2 Lesson Outline Understand the properties a signal Explain the difference of Data vs Signal Understand the influence of attenuation, delay distortion and noise on signal propagation Appreciation of unit of decibel

3 3 Position of the physical layer McGraw-Hill © The McGraw-Hill Companies, Inc., 2004

4 4 To be transmitted, data must be transformed to electromagnetic signals Signals can be analogue or digital. Analogue signals can have an infinite number of values in a range; Digital signals can have only a limited number of values. McGraw-Hill © The McGraw-Hill Companies, Inc., 2004

5 5 Signals Analogue signal Varies in a smooth way over time Digital signal Maintains a constant level then changes to another constant level Periodic signal Pattern repeated over time Aperiodic signal Pattern not repeated over time

6 6 Analogue & Digital Signals

7 7 Periodic Signals

8 8 In data communication, we commonly use periodic analogue signals and aperiodic digital signals. McGraw-Hill © The McGraw-Hill Companies, Inc., 2004

9 9 A Sine Wave s(t) = A sin(2  ft +  ) McGraw-Hill © The McGraw-Hill Companies, Inc., 2004

10 10 Sine Wave Peak Amplitude - A maximum strength of signal In volts (V) Frequency - f Rate of change of signal Hertz (Hz) or cycles per second Period = time for one repetition (T) T = 1/f Phase -  (in degree or radian) the position of the waveform relative to time zero How far from origin when voltage change from -ve to +ve

11 11 Amplitude McGraw-Hill © The McGraw-Hill Companies, Inc., 2004

12 12 Frequency is the rate of change with respect to time. Change in a short span of time means high frequency. Change over a long span of time means low frequency.

13 13 Period and frequency McGraw-Hill © The McGraw-Hill Companies, Inc., 2004

14 14 Frequency and period are inverses of each other

15 15 Table 3.1 Units of periods and frequencies UnitEquivalentUnitEquivalent Seconds (s)1 shertz (Hz)1 Hz Milliseconds (ms)10 –3 skilohertz (KHz)10 3 Hz Microseconds (  s) 10 –6 smegahertz (MHz)10 6 Hz Nanoseconds (ns)10 –9 sgigahertz (GHz)10 9 Hz Picoseconds (ps)10 –12 sterahertz (THz)10 12 Hz McGraw-Hill © The McGraw-Hill Companies, Inc., 2004

16 16 Example Express a period of 100 ms in microseconds, and express the corresponding frequency in kilohertz Solution We make the following substitutions: 100 ms = 100  s = 100   10   s = 10 5  s Now we use the inverse relationship to find the frequency, changing hertz to kilohertz 100 ms = s f = 1/10 -1 Hz = 10 Hz = 10  KHz = KHz

17 17 If a signal does not change at all, its frequency is zero If a signal changes instantaneously, its frequency is infinite McGraw-Hill © The McGraw-Hill Companies, Inc., 2004

18 18 Relationships between different phases McGraw-Hill © The McGraw-Hill Companies, Inc., 2004

19 19 Example A sine wave is offset one-sixth of a cycle with respect to time zero. What is its phase in degrees and radians? Solution We know that one complete cycle is 360 degrees. Therefore, 1/6 cycle is (1/6) 360 = 60 degrees = 60 x 2  /360 rad = rad McGraw-Hill © The McGraw-Hill Companies, Inc., 2004

20 20 Sine wave examples McGraw-Hill © The McGraw-Hill Companies, Inc., 2004

21 21 Sine wave examples (continued) McGraw-Hill © The McGraw-Hill Companies, Inc., 2004

22 22 Wavelength Distance occupied by one cycle (in meters) Assuming signal velocity v = vT f = v c = 3*10 8 ms -1 (speed of light in free space)

23 23 An analogue signal is best represented in the frequency domain McGraw-Hill © The McGraw-Hill Companies, Inc., 2004

24 24 Time and frequency domains McGraw-Hill © The McGraw-Hill Companies, Inc., 2004

25 25 A single-frequency sine wave is not useful in data communications; we need to change one or more of its characteristics to make it useful. McGraw-Hill © The McGraw-Hill Companies, Inc., 2004 When we change one or more characteristics of a single-frequency signal, it becomes a composite signal made of many frequencies.

26 26 According to Fourier analysis, any composite signal can be represented as a combination of simple sine waves with different frequencies, phases, and amplitudes. McGraw-Hill © The McGraw-Hill Companies, Inc., 2004

27 27 Three odd harmonics

28 28 Adding first three harmonics

29 29 Frequency spectrum comparison

30 30 Analogue and Digital Data Transmission Data Entities that convey meaning Signals Electric or electromagnetic (EM) representations of data Transmission Communication of data by propagation and processing of signals

31 31 Analogue and Digital Data Analogue Continuous values within some interval e.g. sound Digital Discrete values e.g. text, integers

32 32 Analogue and Digital Signals Means by which data are propagated Analogue Continuously variable Speech range 100Hz to 7kHz Telephone range 300Hz to 3400Hz Video bandwidth 4MHz Digital Use two DC components

33 33 Advantages & Disadvantages of Digital Pro: Cheaper Less susceptible to noise Con: Greater attenuation Pulses become rounded and smaller Leads to loss of information

34 34 Attenuation of Digital Signals

35 35 Data vs Signal Analogue

36 36 Analogue Transmission Analogue signal transmitted without regard to content May be analogue or digital data Attenuated over distance Use amplifiers to boost signal But this also amplifies noise

37 37 Digital Transmission Concerned with content Integrity endangered by noise, attenuation etc. Repeaters used Repeater extracts bit pattern from received signal and retransmits Attenuation is overcome Noise is not amplified

38 38 Advantages of Digital Transmission Digital technology Low cost LSI/VLSI technology (smaller) Data integrity Longer distances over lower quality lines Capacity utilization High bandwidth links economical High degree of multiplexing easier with digital techniques Security & Privacy Encryption

39 39 Transmission Impairments Signal received may differ from signal transmitted Analogue - degradation of signal quality Digital - bit errors Caused by Attenuation and attenuation distortion Delay distortion Noise

40 40 Attenuation and Dispersion (Delay Distortion)

41 41 Attenuation Signal strength falls off with distance Depends on type of medium Received signal strength: must be enough to be detected must be sufficiently higher than noise to be received without error Attenuation is an increasing function of frequency

42 42 Signal corruption McGraw-Hill © The McGraw-Hill Companies, Inc., 2004

43 43 Delay Distortion Propagation velocity varies with frequency Different signal component travel at different rate resulting in distortion

44 44 Noise Additional unwanted signals inserted between transmitter and receiver e.g. thermal noise, crosstalk etc.

45 45 Spectrum & Bandwidth Spectrum range of frequencies contained in signal Bandwidth width of spectrum band of frequencies containing most of the energy

46 46 Bandwidth McGraw-Hill © The McGraw-Hill Companies, Inc., 2004

47 47 Example If a periodic signal is decomposed into five sine waves with frequencies of 100, 300, 500, 700, and 900 Hz, what is the bandwidth? Draw the spectrum, assuming all components have a maximum amplitude of 10 V. Solution B = f h  f l = 900  100 = 800 Hz The spectrum has only five spikes, at 100, 300, 500, 700, and 900 McGraw-Hill © The McGraw-Hill Companies, Inc., 2004

48 48 McGraw-Hill © The McGraw-Hill Companies, Inc., 2004

49 49 Example A signal has a bandwidth of 20 Hz. The highest frequency is 60 Hz. What is the lowest frequency? Solution B = f h  f l 20 = 60  f l f l = 60  20 = 40 Hz McGraw-Hill © The McGraw-Hill Companies, Inc., 2004

50 50 Example A signal has a spectrum with frequencies between 1000 and 2000 Hz (bandwidth of 1000 Hz). A medium can pass frequencies from 3000 to 4000 Hz (a bandwidth of 1000 Hz). Can this signal faithfully pass through this medium? Solution The answer is definitely no. Although the signal can have the same bandwidth (1000 Hz), the range does not overlap. The medium can only pass the frequencies between 3000 and 4000 Hz; the signal is totally lost. McGraw-Hill © The McGraw-Hill Companies, Inc., 2004

51 51 A digital signal

52 52 Figure 3.17 Bit rate and bit interval

53 53 Example A digital signal has a bit rate of 2000 bps. What is the duration of each bit (bit interval) Solution The bit interval is the inverse of the bit rate. Bit interval = 1/ 2000 s = s = x 10 6  s = 500  s McGraw-Hill © The McGraw-Hill Companies, Inc., 2004

54 54 A digital signal is a composite signal with an infinite bandwidth McGraw-Hill © The McGraw-Hill Companies, Inc., 2004

55 55 Baud rate and bit-rate bit rate is the number of bits transmitted per second baud rate is the number of signal units per second required to represent bits An important measure in data transmission Represents how efficiently we move data from place to place Equals bit rate divided by the number of bits represented by each signal shift

56 56 Baud rate and bit-rate (2) VS One signal element conveys 1 bit 2-level signal One signal element conveys 2 bit Multilevel signal

57 57 Channel capacity and Nyquist Bandwidth Given bandwidth B Hz, highest signal rate is 2B For binary signal, data rate supported by B Hz is 2B bps in a noiseless channel Can be increased by using M signal levels C = 2B log 2 M

58 58 Example Assume voice channel (range Hz) Thus, bandwidth is 3100 Hz (i.e. B) This translates to capacity of 2B = 6200 bps If M = 8 signal levels (3-bit word), capacity becomes 18,600 bps (2Blog 2 M)

59 59 Decibels (dB) A measure of ratio between two signal levels Gain is given by: G dB = 10 log 10 P out dB P in When gain is – ve, this means loss or attenuation Example 1: P in = 100mW, P out =1 mW Gain = 10 log 10 (1/100) = -20 dB implies attenuation is 20 dB

60 60 Shannon Capacity Formula This considers data rate, noise and error rate in the channel Faster data rate shortens each bit so burst of noise affects more bits At given noise level, high data rate means higher error rate Signal to noise ratio (SNR) Thus, Shannon ’ s formula is: C = B log 2 (1+SNR) Represents theoretical max capacity!

61 61 Example Assume spectrum of a channel is between 3 MHz and 4 MHz and the SNR is 24 dB B = 4 – 3 = 1 MHz SNR dB = 24 dB = 10log 10 (SNR)  SNR = 251 Thus, C = B log 2 (1+SNR) = 10 6  log 2 (1+251)  8  10 6 = 8 Mbps

62 62 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 log 2 (1 + SNR) = B log 2 (1 + 0) = B log 2 (1) = B  0 = 0 McGraw-Hill © The McGraw-Hill Companies, Inc., 2004

63 63 Example We can calculate the theoretical highest bit rate of a regular telephone line. A telephone line normally has a bandwidth of 3000 Hz (300 Hz to 3300 Hz). The signal- to-noise ratio is usually For this channel the capacity is calculated as C = B log 2 (1 + SNR) = 3000 log 2 ( ) = 3000 log 2 (3163) C = 3000  = 34,860 bps McGraw-Hill © The McGraw-Hill Companies, Inc., 2004

64 64 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? Then we use the Nyquist formula to find the number of signal levels. 6 Mbps = 2  1 MHz  log 2 L  L = 8 Solution C = B log 2 (1 + SNR) = 10 6 log 2 (1 + 63) = 10 6 log 2 (64) = 6 Mbps First, we use the Shannon formula to find our upper limit. McGraw-Hill © The McGraw-Hill Companies, Inc., 2004

65 65 Summary Analogue vs Digital Transmission Transmission Impairments of a signal Nyquist Formula to estimate channel capacity in a noiseless environment Shannon Capacity Formula estimates the upper limit of capacity with noise effect Next: Transmission Media


Download ppt "1 Data Transmission Lesson 3 NETS2150/2850. 2 Lesson Outline Understand the properties a signal Explain the difference of Data vs Signal Understand the."

Similar presentations


Ads by Google