Presentation is loading. Please wait.

Presentation is loading. Please wait.

Jozef Goetz, 2009 1 expanded by Jozef Goetz, 2009 The McGraw-Hill Companies, Inc., 2006 expanded by Jozef Goetz, 2009 PART II.

Similar presentations


Presentation on theme: "Jozef Goetz, 2009 1 expanded by Jozef Goetz, 2009 The McGraw-Hill Companies, Inc., 2006 expanded by Jozef Goetz, 2009 PART II."— Presentation transcript:

1

2 Jozef Goetz, 2009 1 expanded by Jozef Goetz, 2009 The McGraw-Hill Companies, Inc., 2006 expanded by Jozef Goetz, 2009 PART II

3 Jozef Goetz, 2009 2 Define transmission. Define transmission. Describe the concept of frequency, spectrum, and Describe the concept of frequency, spectrum, and bandwidth. bandwidth. Define analog and digital data transmission. Define analog and digital data transmission. Describe the concept of data, signals, and Describe the concept of data, signals, and transmission. transmission. List the various impairments to effective transmission. List the various impairments to effective transmission. Describe attenuation. Describe attenuation. Describe delay distortion. Describe delay distortion. Describe the concept of noise & channel capacity. Describe the concept of noise & channel capacity.

4 Jozef Goetz, 2009 3 3-3 DIGITAL SIGNALS In addition to being represented, information can also be represented by an analog signalby an analog signal by a digital signalby a digital signal For example,For example, a 1 can be encoded as a positive voltage anda 1 can be encoded as a positive voltage and a 0 as zero voltage.a 0 as zero voltage. A digital signal can have more than 2 levels.A digital signal can have more than 2 levels. In this case, we can send more than 1 bit for each level.In this case, we can send more than 1 bit for each level.

5 Jozef Goetz, 2009 4 3-3 DIGITAL SIGNALS Bit Rate vs Bit Length Digital Signal as a Composite Analog Signal Application Layer Topics discussed in this section:

6 Jozef Goetz, 2009 5 Figure 3.16 A digital signal The bit interval (bit duration) is the time required to send 1 bit. The bit rate is the # of bit intervals per sec

7 Jozef Goetz, 2009 6 Example 6 A digital signal has a bit rate of 2000 bps. What is the duration of each bit (bit interval) Solution The bit duration (interval) is the inverse of the bit rate. Bit interval = 1/ 2000 [bps] = 0.000500 [s/bit] = 0.000500 x [10 6  s/bit] = 500 [  s/bit]

8 Jozef Goetz, 2009 7 Figure 3.16 Bit rate and bit interval 1 s The bit duration BD (interval) is the time required to send 1 bit. The bit rate BR is the # of bit intervals per sec R = 1 / D

9 Jozef Goetz, 2009 8 Bit length and bit duration p.73 and 64 The bit length BL is the distance 1 bit occupies on the transmission medium. The bit duration BD (interval) is the time required to send 1 bit. bit length = propagation speed * bit duration L = S * D Remember from your elementary school formula: D = S * T where: D –distance, S – speed, t - Time

10 Jozef Goetz, 2009 9 Figure 3.16 Two digital signals: one with two signal levels and the other with four signal levels

11 Jozef Goetz, 2009 10 Appendix C reviews information about exponential and logarithmic functions. Note Appendix C reviews information about exponential and logarithmic functions.

12 Jozef Goetz, 2009 11 A digital signal has 8 levels. How many bits are needed per level? Example 3.16 Each signal level is represented by 3 bits.

13 Jozef Goetz, 2009 12 A digital signal has 9 levels. How many bits are needed per level? We calculate the number of bits by using the formula. Each signal level is represented by 3.17 bits. However, this answer is not realistic. The number of bits sent per level needs to be an integer as well as a power of 2. For this example, 4 bits can represent one level. Example 3.17

14 Jozef Goetz, 2009 13 Assume we need to download text documents at the rate of 100 pages per seconds. What is the required bit rate of the channel? Solution A page is an average of 24 lines with 80 characters in each line. If we assume that one character requires 8 bits, the bit rate is 100 x 24 [line/sec] = 100 x 24 x 80[chr/sec] = = 100 x 24 x 80 x 8 [bit/sec] = 1, 636, 000 [bit/sec] = 1.636 Mbps Example 3.18

15 Jozef Goetz, 2009 14 A digitized voice channel, as we will see in Chapter 4, is made by digitizing a 4-kHz bandwidth analog voice signal. We need to sample the signal at twice the highest frequency (2 samples per hertz). We assume that each sample requires 8 bits. What is the required bit rate? Solution bit rate = 2 x 4000 [Hz] x 8 [bits] = 2 x 4000 [1/sec] x 8 [bits] = 64,000 [bits/sec] = 64 [kbps] Example 3.19

16 Jozef Goetz, 2009 15 What is the bit rate for high-definition TV (HDTV)? Solution HDTV uses digital signals to broadcast high quality video signals. The HDTV screen is normally a ratio of 16 : 9. There are 1920 by 1080 pixels per screen, and the screen is renewed 30 times per second = 30 [1/sec] 24 [bits] represents one color pixel: 1920 x 1080 x 30 [1/sec] x 24 [bit] = = 1,492,992,000 [bit/sec] = 1.5 Gbps Example 3.20 The TV stations reduce this rate to 20 to 40 Mbps through compression.

17 Jozef Goetz, 2009 16 Figure 3.17 The time and frequency domains of periodic and nonperiodic digital signals Based on Fourier analysis, a digital signal is a composite analog signal with an infinite bandwidth B The periodic signal has discrete frequencies The nonperiodic signal has continues frequencies

18 Jozef Goetz, 2009 17 Figure 3.18 Baseband transmission A digital signal can be transmitted by using 2 approaches: Baseband Sending a digital signal without changing to an analog signal Broadband transmission => slide 33

19 Jozef Goetz, 2009 18 Figure 3.19 Bandwidths of two low-pass channels Baseband transmission requires a low-pass channel with bandwidth that starts from 0

20 Jozef Goetz, 2009 19 Figure 3.20 Baseband transmission using a dedicated medium with a. wide-bandwidth Baseband transmission of a digital signal that preserves the shape of the digital signal is possible only if we have a low- pass channel with an infinite or very wide bandwidth.

21 Jozef Goetz, 2009 20 An example of a dedicated channel where the entire bandwidth of the medium is used as one single channel is a LAN. Almost every wired LAN today uses a dedicated channel for 2 stations communicating with each other. In a bus topology LAN with multipoint connections, only two stations can communicate with each other at each moment in time (timesharing); the other stations need to refrain from sending data. In a star topology LAN, the entire channel between each station and the hub is used for communication between these two entities. Example 3.21

22 Jozef Goetz, 2009 21 b. Low-pass channels with Limited Bandwidth Assume digital bit rate = N, the worst case, max changes happens when the signal carries. The sequence 01010101010101….or 1010101010101010. To simulate this we need an analog signal of f = N / 2. Low-pass channels with Limited Bandwidth, we approximate the digital signal with an analog signal. The level of approximation depends on the bandwidth available.

23 Jozef Goetz, 2009 22 Low-pass channels with Limited Bandwidth Figure 3.21 Rough approximation of a digital signal using the first harmonic N/2 and N/4 for worst case Where: bit rate = N 1 is represented by positive amplitude, 0 is represented by negative amplitude Here is a sequence of all 3-bit combinations: <= after analyzing, we need A channel with f = 0, N/4, N/2. p = phase

24 Jozef Goetz, 2009 23 Low-pass channels with Limited Bandwidth To make the shape of the analog signal look more like that of a digital signal, we need to add more harmonics to the first harmonics N/4, N/2.

25 Jozef Goetz, 2009 24 Figure 3.22 Simulating a digital signal with first three harmonics for all scenarios

26 Jozef Goetz, 2009 25 Digital versus analog The best case when we use a single f signal to send it Worst case: the most # of changes, Others are between 0 Hz and 3 Hz. So, to send 6 bits per sec we need a bandwidth of 3 Hz

27 Jozef Goetz, 2009 26 Relationship between the bit rates and bandwidth To send n bps (bit rate) through analog channel using the above approximation, we need bandwidth B such that B = bit rate / 2 B = n / 2 Note: B represents f = 3 Hz of a single sine ( with only one frequency which is the first harmonic) The required bandwidth is proportional to the bit rate ! Using a single sine analog signal per each pattern as a “kind of digital signal” cannot be recognized on the receiver site correctly. So we need to improve the shape of the signal by using a composite signals (i.e. adding more harmonics)

28 Jozef Goetz, 2009 27 A digital signal is a composite signal with an infinite bandwidth. Note:

29 Jozef Goetz, 2009 28 Table 3.2 Bandwidth Requirement Bit Rate Harmonic 1 Harmonics 1, 3 Harmonics 1, 3, 5 Harmonics 1, 3, 5, 7 1 Kbps500 Hz1.5 KHz2.5 KHz3.5 KHz 10 Kbps5 KHz15 KHz25 KHz35 KHz 100 Kbps50 KHz150 KHz250 KHz350 KHz How is it calculated: B = n / 2 is related to the first harmonic B = 3 n / 2 is related to the 2 nd column etc. B = 5 n / 2 is related to the 3rd column etc. So B >= n / 2 => n <= 2B Adding more odd harmonics gives us better shape of the signal

30 Jozef Goetz, 2009 29 Note In baseband transmission, the required bandwidth is proportional to the bit rate; if we need to send bits faster, we need more bandwidth. The bit rate and the bandwidth are proportional to each other and B >= n / 2 from the previous slide A typical voice signal has a bandwidth of approximately 4 kHz, so we should be able send about 8000 bps if we use a single sine (with the 1 st harmonic)

31 Jozef Goetz, 2009 30 What is the required bandwidth of a low-pass channel if we need to send 1 Mbps by using baseband transmission? Solution The answer depends on the accuracy desired. a. The minimum bandwidth, is B = bit rate /2, or 500 kHz. b. A better solution is to use the first and the third harmonics with B = 3 × 500 kHz = 1.5 MHz. c. Still a better solution is to use the first, third, and fifth harmonics with B = 5 × 500 kHz = 2.5 MHz. Example 3.22

32 Jozef Goetz, 2009 31 We have a low-pass channel with bandwidth 100 kHz. What is the maximum bit rate of this channel? Solution See note under table 3.2 From B >= bit rate / 2 => bit rate <= 2 x B The maximum bit rate can be achieved if we use the first harmonic. The bit rate is 2 times the available bandwidth, or 200 kbps. Example 3.23

33 Jozef Goetz, 2009 32 Figure 3.23 Bandwidth of a bandpass channel If the available channel is a bandpass channel, we cannot send the digital signal directly to the channel; we need to convert the digital signal to an analog signal before transmission.

34 Jozef Goetz, 2009 33 Figure 3.24 Modulation of a digital signal for transmission on a bandpass channel

35 Jozef Goetz, 2009 34 Low-pass and band-pass Used for digital bandwidth, though it can be used by analog one too Used for analog bandwidth

36 Jozef Goetz, 2009 35 The analog bandwidth of a mediumis the range of frequencies that medium can pass and it is expressed in hertz; The analog bandwidth of a medium is the range of frequencies that medium can pass and it is expressed in hertz; the digital bandwidth of a medium is the maximum bit rate that medium can pass and itis expressedin bits per second. the digital bandwidth of a medium is the maximum bit rate that medium can pass and it is expressed in bits per second. Note:

37 Jozef Goetz, 2009 36 Digital transmission needs a low-pass channel (theoretically between 0 and infinity). the upper limit can be relaxed if we lower our standards by accepting a limited # of harmonicsthe upper limit can be relaxed if we lower our standards by accepting a limited # of harmonics Note: Analog transmission can use a band- pass channel.

38 Jozef Goetz, 2009 37 analog bandwidth The analog bandwidth can always be shifted The analog bandwidth can always be shifted The bandwidth of a medium can be divided into several band-pass channel to carry several analog transmission The bandwidth of a medium can be divided into several band-pass channel to carry several analog transmission

39 Jozef Goetz, 2009 38 ANALOG AND DIGITAL DATA TRANSMISSION Speech bandwidth ~ 300 Hz - 3.4 kHz

40 Jozef Goetz, 2009 39 ANALOG AND DIGITAL DATA TRANSMISSION Data (information) can be analog or digital. The data can be transmitted using analog transmission or digital transmission. This gives us 4 possibilities: Analog Data, Analog Transmission Analog Data, Digital Transmission Digital Data, Analog Transmission Digital Data, Digital Transmission

41 Jozef Goetz, 2009 40 ANALOG AND DIGITAL DATA TRANSMISSION DATA TRANSMISSION

42 Jozef Goetz, 2009 41 ANALOG AND DIGITAL DATA TRANSMISSION DATA TRANSMISSION

43 Jozef Goetz, 2009 42 EFFECT OF BANDWIDTH ON A DIGITAL SIGNAL

44 Jozef Goetz, 2009 43 An example of broadband transmission using modulation is the sending of computer data through a telephone subscriber line, the line connecting a resident to the central telephone office. These lines are designed to carry voice with a limited bandwidth (0 – 4 kHz), so the max bit rate is only 8 kbps The channel is considered a bandpass channel. We convert the digital signal from the computer to an analog signal, and send the analog signal. We can install two converters to change the digital signal to analog and vice versa at the receiving end. The converter, in this case, is called a modem (modulator/demodulator) Example 3.24

45 Jozef Goetz, 2009 44 A second example is the digital cellular telephone. For better reception, digital cellular phones convert the analog voice signal to a digital signal (see Chapter 16). Although the bandwidth allocated to a company providing digital cellular phone service is very wide, we still cannot send the digital signal without conversion. The reason is that we only have a bandpass channel available between caller and callee. We need to convert the digitized voice to a composite analog signal before sending. Example 3.25


Download ppt "Jozef Goetz, 2009 1 expanded by Jozef Goetz, 2009 The McGraw-Hill Companies, Inc., 2006 expanded by Jozef Goetz, 2009 PART II."

Similar presentations


Ads by Google