Data and Signals
-
Upload
rockinravivit -
Category
Documents
-
view
307 -
download
3
Transcript of Data and Signals
![Page 1: Data and Signals](https://reader034.fdocuments.in/reader034/viewer/2022042613/546b347eaf795985298b4a9a/html5/thumbnails/1.jpg)
11
IT209IT209
Data and SignalsData and Signals
Winter 2010Winter 2010
M.SudhaM.SudhaVITVIT UniversityUniversity--Vellore IndiaVellore India
![Page 2: Data and Signals](https://reader034.fdocuments.in/reader034/viewer/2022042613/546b347eaf795985298b4a9a/html5/thumbnails/2.jpg)
22
Topics:Topics:•• Analog and digital signalAnalog and digital signal•• Bandwidth of a signalBandwidth of a signal•• Transmission of digital signalTransmission of digital signal
Baseband transmissionBaseband transmission•• LowLow--pass channel with wide bandwidthpass channel with wide bandwidth•• LowLow--pass channel with limited bandwidthpass channel with limited bandwidth
Broadband transmissionBroadband transmission
•• Data rate limitsData rate limitsNoiseless Channel: Nyquist bit rateNoiseless Channel: Nyquist bit rateNoisy Channel: Shannon capacityNoisy Channel: Shannon capacity
•• PerformancePerformanceBandwidth, throughput, delayBandwidth, throughput, delay
![Page 3: Data and Signals](https://reader034.fdocuments.in/reader034/viewer/2022042613/546b347eaf795985298b4a9a/html5/thumbnails/3.jpg)
33
Figure 3.1 Comparison of analog and digital signals
From Figure 3.1 of Data Communications and Networking by Forouzan, 4th
3.1 Analog and Digital3.1 Analog and Digital
![Page 4: Data and Signals](https://reader034.fdocuments.in/reader034/viewer/2022042613/546b347eaf795985298b4a9a/html5/thumbnails/4.jpg)
44
3.2 Periodic Analog Signals3.2 Periodic Analog SignalsSine WaveSine Wave•• S(t) =A*sin(2S(t) =A*sin(2ππft + ft + θθ
))•• Peak Amplitude (A)Peak Amplitude (A)•• Period/Frequency (f)Period/Frequency (f)•• Phase (Phase (θθ
))ExamplesExamples•• S(t) = 5 sin(2S(t) = 5 sin(2ππ4000t + 0)4000t + 0)•• S(t) = 10sin(2S(t) = 10sin(2ππ8000t + 0)8000t + 0)•• S(t) = 5 sin(2S(t) = 5 sin(2ππ2000t + 2000t + ππ/4)/4)
From Figure 3.2 of Data Communications and Networking by Forouzan, 4th
A sine wave
![Page 5: Data and Signals](https://reader034.fdocuments.in/reader034/viewer/2022042613/546b347eaf795985298b4a9a/html5/thumbnails/5.jpg)
55
3.2 Periodic Analog Signals 3.2 Periodic Analog Signals (cont.)(cont.)
Time and Frequency DomainsTime and Frequency Domains•• Time Domain PlotTime Domain Plot•• Frequency DomainFrequency Domain
PlotPlot
From Figure 3.7 of Data Communications and Networking by Forouzan, 4th
![Page 6: Data and Signals](https://reader034.fdocuments.in/reader034/viewer/2022042613/546b347eaf795985298b4a9a/html5/thumbnails/6.jpg)
66
Composite SignalsComposite Signals•• A combination of many sine A combination of many sine
waves with different waves with different frequencies, amplitudes, frequencies, amplitudes, and phasesand phases
Fourier AnalysisFourier Analysiss(ts(t) = A) = A11
sin(2sin(2ππff11
++θθ11
) + ) + AA22
sin(2sin(2ππff22
++θθ22
) + ) + AA33
sin(2sin(2ππff33
++θθ33
) + ) + ……
3.2 Periodic Analog Signals 3.2 Periodic Analog Signals (cont.)(cont.)
From Figure 3.9 of Data Communications and Networking by Forouzan, 4th
![Page 7: Data and Signals](https://reader034.fdocuments.in/reader034/viewer/2022042613/546b347eaf795985298b4a9a/html5/thumbnails/7.jpg)
77
3.2 Periodic Analog Signals3.2 Periodic Analog Signals
For a For a periodicperiodic composite signalcomposite signal•• The decomposition gives a series of signals with The decomposition gives a series of signals with
discretediscrete
frequenciesfrequenciesFor a For a nonperiodicnonperiodic composite signalcomposite signal•• The decomposition gives a combination of sine The decomposition gives a combination of sine
waves with waves with continuouscontinuous
frequenciesfrequenciesBandwidth of a composite signalBandwidth of a composite signal•• The difference between the highest and the lowest The difference between the highest and the lowest
frequencies contained in that signalfrequencies contained in that signal
![Page 8: Data and Signals](https://reader034.fdocuments.in/reader034/viewer/2022042613/546b347eaf795985298b4a9a/html5/thumbnails/8.jpg)
88
Figure 3.10 Decomposition of a composite periodic signal in the time and frequency domains
From Figure 3.10 of Data Communications and Networking by Forouzan, 4th
![Page 9: Data and Signals](https://reader034.fdocuments.in/reader034/viewer/2022042613/546b347eaf795985298b4a9a/html5/thumbnails/9.jpg)
99
Figure 3.11 The time and frequency domains of a nonperiodic signal
From Figure 3.11 of Data Communications and Networking by Forouzan, 4th
![Page 10: Data and Signals](https://reader034.fdocuments.in/reader034/viewer/2022042613/546b347eaf795985298b4a9a/html5/thumbnails/10.jpg)
1010
Figure 3.12 The bandwidth of periodic and nonperiodic composite signals
From Figure 3.12 of Data Communications and Networking by Forouzan, 4th
![Page 11: Data and Signals](https://reader034.fdocuments.in/reader034/viewer/2022042613/546b347eaf795985298b4a9a/html5/thumbnails/11.jpg)
1111
If a periodic signal is decomposed into five sine waves with frequencies of 100, 300, 500, 700, and 900 Hz, what is its bandwidth? Draw the spectrum, assuming all components have a maximum amplitude of 10 V.
Example 3.10
A periodic signal has a bandwidth of 20 Hz. The highest frequency is 60 Hz. What is the lowest frequency? Draw the spectrum if the signal contains all frequencies of the same amplitude.
Example 3.11
![Page 12: Data and Signals](https://reader034.fdocuments.in/reader034/viewer/2022042613/546b347eaf795985298b4a9a/html5/thumbnails/12.jpg)
1212
Two digital signals: one with two signal levels and the other with four signal leve�ɠ
3.3 Digital Signals3.3 Digital Signals
From Figure 3.16 of Data Communications and Networking by Forouzan, 4th
![Page 13: Data and Signals](https://reader034.fdocuments.in/reader034/viewer/2022042613/546b347eaf795985298b4a9a/html5/thumbnails/13.jpg)
1313
3.3 Digital Signals3.3 Digital Signals
Example:1) A digital signal has eight levels. How
many bits are needed per level? We calculate the number of bits from the formula
2) A digital signal has nine levels. How many bits are needed per level?
In general, if a signal has L levels, each level needs log2 L bits.
![Page 14: Data and Signals](https://reader034.fdocuments.in/reader034/viewer/2022042613/546b347eaf795985298b4a9a/html5/thumbnails/14.jpg)
1414
3.3 Digital Signals3.3 Digital Signals
Bit Rate Bit Rate –– number of bits sent in 1s, bpsnumber of bits sent in 1s, bpsDigital SignalDigital Signal•• A composite signal having an A composite signal having an infiniteinfinite
number number
of frequencies or harmonicsof frequencies or harmonics•• Bandwidth (Bandwidth (∞∞))•• PeriodicPeriodic
digital signal digital signal ––
discretediscrete
frequenciesfrequencies
•• NonperiodicNonperiodic
digital signal digital signal ––
continuouscontinuous frequenciesfrequencies
![Page 15: Data and Signals](https://reader034.fdocuments.in/reader034/viewer/2022042613/546b347eaf795985298b4a9a/html5/thumbnails/15.jpg)
1515
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 (two samples per hertz). We assume that each sample requires 8 bits. What is the required bit rate?
Example 3.19
![Page 16: Data and Signals](https://reader034.fdocuments.in/reader034/viewer/2022042613/546b347eaf795985298b4a9a/html5/thumbnails/16.jpg)
1616
The time and frequency domains of periodic and nonperiodic digital signals
From Figure 3.17 of Data Communications and Networking by Forouzan, 4th
![Page 17: Data and Signals](https://reader034.fdocuments.in/reader034/viewer/2022042613/546b347eaf795985298b4a9a/html5/thumbnails/17.jpg)
1717
3.3 Digital Signals 3.3 Digital Signals (cont.)(cont.)
Transmission of Digital SignalsTransmission of Digital Signals•• A digital signal is a composite analog signal A digital signal is a composite analog signal
with an infinite bandwidth.with an infinite bandwidth.•• Baseband Transmission Baseband Transmission ––
lowlow--pass channelpass channel
From Figure 3.18 of Data Communications and Networking by Forouzan, 4th
![Page 18: Data and Signals](https://reader034.fdocuments.in/reader034/viewer/2022042613/546b347eaf795985298b4a9a/html5/thumbnails/18.jpg)
1818
Bandwidths of two low-pass channels
From Figure 3.19 of Data Communications and Networking by Forouzan, 4th
![Page 19: Data and Signals](https://reader034.fdocuments.in/reader034/viewer/2022042613/546b347eaf795985298b4a9a/html5/thumbnails/19.jpg)
1919
Baseband transmission using a dedicated medium
From Figure 3.20 of Data Communications and Networking by Forouzan, 4th
Case 1: Low-Pass Channel with Wide Bandwidth
Baseband transmission of a digital signal that preserves the shape of the digital signal is possible only if we have a low-passChannel with an infinite or very wide bandwidth.
• Example: dedicated links in LAN
![Page 20: Data and Signals](https://reader034.fdocuments.in/reader034/viewer/2022042613/546b347eaf795985298b4a9a/html5/thumbnails/20.jpg)
2020
Case 2: Low-Pass Channel with Limited BandwidthRough approximation of a digital signal using the first harmonic
for worst case – Required bandwidth = N/2 – 0 = N/2
From Figure 3.21 of Data Communications and Networking by Forouzan, 4th
![Page 21: Data and Signals](https://reader034.fdocuments.in/reader034/viewer/2022042613/546b347eaf795985298b4a9a/html5/thumbnails/21.jpg)
2121
Simulating a digital signal with first three harmonics
From Figure 3.22 of Data Communications and Networking by Forouzan, 4th
![Page 22: Data and Signals](https://reader034.fdocuments.in/reader034/viewer/2022042613/546b347eaf795985298b4a9a/html5/thumbnails/22.jpg)
2222
In baseband transmission, the required bandwidth is proportional to the bit rates; if we need to send bits faster, we need more bandwidth.
Bandwidth Requirements
![Page 23: Data and Signals](https://reader034.fdocuments.in/reader034/viewer/2022042613/546b347eaf795985298b4a9a/html5/thumbnails/23.jpg)
2323
Example:What is the required bandwidth of a low-pass channel if we need to send 1 Mbps by using baseband transmission?
SolutionThe 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.
![Page 24: Data and Signals](https://reader034.fdocuments.in/reader034/viewer/2022042613/546b347eaf795985298b4a9a/html5/thumbnails/24.jpg)
2424
3.3 Digital Signals 3.3 Digital Signals (cont.)(cont.)
Transmission of Digital SignalsTransmission of Digital Signals•• Broadband Transmission (using modulation) Broadband Transmission (using modulation) –– bandpassbandpass
channelchannel•• BandpassBandpass channel channel –– a channel with a bandwidth that a channel with a bandwidth that
does not start from zero.does not start from zero.Bandwidth of a Bandwidth of a bandpassbandpass
channelchannel
From Figure 3.23 of Data Communications and Networking by Forouzan, 4th
![Page 25: Data and Signals](https://reader034.fdocuments.in/reader034/viewer/2022042613/546b347eaf795985298b4a9a/html5/thumbnails/25.jpg)
2525
3.3 Digital Signals 3.3 Digital Signals (cont.)(cont.)
Transmission of Digital SignalsTransmission of Digital Signals•• Broadband Transmission (using modulation) Broadband Transmission (using modulation) –– bandpassbandpass
channelchannelBandpassBandpass channel is more available than a lowchannel is more available than a low--pass channelpass channelDigital signal can not be directly sent by Digital signal can not be directly sent by bandpassbandpass channel. channel. Digital signal needs to be changed to an analog signal before Digital signal needs to be changed to an analog signal before transmission using transmission using bandpassbandpass channel channel -- modulationmodulation..
![Page 26: Data and Signals](https://reader034.fdocuments.in/reader034/viewer/2022042613/546b347eaf795985298b4a9a/html5/thumbnails/26.jpg)
2626
Modulation of a digital signal for transmission on a bandpass channel
From Figure 3.24 of Data Communications and Networking by Forouzan, 4th