Data and Signals
Data and Signals
3.1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
ANALOG AND DIGITAL
3.2
Data can be analog or digital. The term analog data refers to information that is continuous; digital data refers to
information that has discrete states. Analog data take on continuous values. Digital data take on discrete values.
In data communications, we commonly use periodic analog signals and non-periodic digital signals.
PERIODIC ANALOG SIGNALS
3.3
Periodic analog signals can be classified as simple or composite. A simple periodic analog signal, a sine wave, cannot be decomposed into
simpler signals. A composite periodic analog signal is composed of multiple sine waves.
Sine Wave:
• The Most fundamental form of a periodic analogue wave.
• A simple oscillating curve.
Wave Length:
• Wavelength is the distance a simple signal can travel in one period.
PERIODIC ANALOG SIGNALS
3.4
Composite Signals:
• A Composite signal is a combination of simple sine waves with different frequencies, amplitudes and Phases.
• In data communication we need to send a composite signal not a single sine wave (buzzer sound is ok for simple sine wave)
• If the composite signal is periodic, the decomposition gives a series of signals with discrete frequencies;
• If the composite signal is non-periodic, the decomposition gives a combination of sine waves with continuous frequencies.
Example:
The frequency domain is more compact and useful when we are dealing with more than one sine wave. For example, Figure shows three
sine waves, each with different amplitude and frequency. All can be represented by three spikes in the frequency domain.
A Non-Periodic Composite Signal
3.7
Figure shows a non-periodic composite signal. It can be the signal created by a microphone or a telephone set when a word or two is
pronounced. In this case, the composite signal cannot be periodic, because that implies that we are repeating the same word or words
4KHZ.
Bandwidth
3.8
The bandwidth of a composite signal is the difference between the highest and the lowest frequencies contained in that signal.
Periodic Signal
Non-Periodic Signal
Amplitude, Frequency and Phase
3.9
Is it Phase , frequency or
amplitude?
Examples: 1,2,3,and 4
3.11
Q3: A sine wave is offset 1/6 cycle with respect to time 0. What is its phase in degrees and radians?
Q4: 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.
Answers:
3.12
−3
Ans 2: First we change 100 ms to seconds, and then we calculate the frequency from the period (1 Hz = 10 kHz).
Ans 3: We know that 1 complete cycle is 360°. Therefore, 1/6 cycle is:
Ans 4: Let fh be the highest frequency, fl the lowest frequency, and B the bandwidth. Then
Example 5
3.13
Q5: A non-periodic composite signal has a bandwidth of 200 kHz, with a middle frequency of 140 kHz and peak
amplitude of 20 V. The two extreme frequencies have an amplitude of 0. Draw the frequency domain of the signal.
Solution
The lowest frequency must be at 40 kHz and the highest at 240 kHz.
DIGITAL SIGNALS
3.14
digital signal. For example, a 1 can be encoded as a positive voltage and a 0 as zero voltage. A
digital signal can have more than two levels. In this case, we can send more than 1 bit for each
level.
Bit Rate:
Baseband transmission of a digital signal that preserves the shape of the digital signal is possible only if
Baseband Transmission means sending a digital signal over a channel without changing a
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.
Example 6
3.20
What is the required bandwidth of a low-pass channel if we need to send 1 Mbps by using baseband
transmission?
Solution
Q7:A digital signal has eight levels. How many bits are needed per level?
Q8: A digital signal has nine levels. How many bits are needed per level? We calculate the number of bits by using
the formula.
Q9: Assume we need to download text documents at the rate of 100 pages per minute. What is the required bit rate
of the channel?
Example: 7,8 & 9
3.22
Ans 7: 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
Ans 8: A page is an average of 24 lines with 80 characters in each line. If we assume that one character requires 8
Power Ratio
• = Signal Energy Per Bit
• If is the time required to send 1 bit then data rate R(bit
rate)=1/. Assume S is the signal power
A digitized voice channel 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
Solution
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
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. Three causes of impairment
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 signal travels through an amplifier, and its power is increased 10 times. This means that P2 =
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 a signal travels from point 1 to point 4. In this case, the
Sometimes the decibel is used to measure signal power in milliwatts. In this case, it is referred to
as dBm and is calculated as dBm = 10 log10 Pm , where Pm is the power in milliwatts. Calculate
Solution
The loss in a cable is usually defined in decibels per kilometer (dB/km). If the signal at the
beginning of a cable with −0.3 dB/km has a power of 2 mW, what is the power of the signal at 5
km?
Solution
The loss in the cable in decibels is 5 × (−0.3) = −1.5 dB. We can calculate the power as
Distortion
3.35
Noise
3.36
Example 17
3.37
The power of a signal is 10 mW and the power of the noise is 1 μW; what are the values of SNR
and SNRdB ?
Solution
A very important consideration in data communications is how fast we can send data, in bits per
Bandwidth
Level Of Signal
Noise
3.41
Consider a noiseless channel with a bandwidth of 3000 Hz transmitting a signal with two signal
Consider the same noiseless channel transmitting a signal with four signal levels (for each level,
We need to send 265 kbps over a noiseless channel with a bandwidth of 20 kHz. How many signal
levels do we need?
Solution
Since this result is not a power of 2, we need to either increase the number of levels or reduce the
bit rate. If we have 128 levels, the bit rate is 280 kbps. If we have 64 levels, the bit rate is 240 kbps.
Example 21
3.44
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 C is
calculated as
This means that the capacity of this channel is zero regardless of the bandwidth. In other words,
We can calculate the theoretical highest bit rate of a regular telephone line. A telephone line
normally has a bandwidth of 3000. The signal-to-noise ratio is usually 3162. For this channel the
capacity is calculated as
This means that the highest bit rate for a telephone line is 34.860 kbps. If we want to send data
faster than this, we can either increase the bandwidth of the line or improve the signal-to-noise
ratio.
Example 27
3.46
We have a channel with a 1-MHz bandwidth. The SNR for this channel is 63. What are the
Solution
One important issue in networking is the performance of the network—how good is it?
BANDWIDTH:
• The first, bandwidth in hertz, refers to the range of frequencies in a composite signal or the range of frequencies that a channel can
pass.
• The second, bandwidth in bits per second, refers to the speed of bit transmission in a channel or link.
THROUGHPUT:
• Actually how fast we can send data through a network
BANDWIDTH-DELAY Product:
• The bandwidth-delay product defines the number of bits that can fill the link.
Example 28
3.49
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
What is the propagation time if the distance between the two points is 12,000 km? Assume the
Solution
The example shows that a bit can go over the Atlantic Ocean in only 50 ms if there is a direct
What are the propagation time and the transmission time for a 2.5-kbyte message (an e-mail) if
the bandwidth of the network is 1 Gbps? Assume that the distance between the sender and the
Solution
We can calculate the propagation and transmission time as shown on the next slide:
Example 30 (continued)
3.52
Note that in this case, because the message is short and the bandwidth is high, the dominant
factor is the propagation time, not the transmission time. The transmission time can be ignored.
Example 31
3.53
What are the propagation time and the transmission time for a 5-Mbyte message (an image) if the
bandwidth of the network is 1 Mbps? Assume that the distance between the sender and the
8
receiver is 12,000 km and that light travels at 2.4 × 10 m/s.
Solution
We can calculate the propagation and transmission times as shown on the next slide.
Example 31 (continued)
3.54
Note that in this case, because the message is very long and the bandwidth is not very high, the
dominant factor is the transmission time, not the propagation time. The propagation time can be
ignored.
Example 32
3.55
We can think about the link between two points as a pipe. The cross section of the pipe represents
the bandwidth, and the length of the pipe represents the delay. We can say the volume of the pipe
Power Ratio
• = Signal Energy Per Bit
• If is the time required to send 1 bit then data rate R(bit
rate)=1/. Assume S is the signal power