Computer Communication Networks Notes
Computer Communication Networks Notes
Signals can be analog or digital. Analog signals can have an infinite number of values in a range; digital signals
can have only a limited number of values.
In data communications, we commonly use periodic analog signals and no periodic digital signals.
A sine wave
Example
The power in your house can be represented by a sine wave with a peak amplitude of 155 to 170 V. However, it
is common knowledge that the voltage of the power in U.S. homes is 110 to 120 V. This discrepancy is due to
the fact that these are root mean square (rms) values. The signal is squared and then the average amplitude is
calculated. The peak value is equal to 2½ × rms value.
Two signals with the same phase and frequency,but different amplitudes
Example
The voltage of a battery is a constant; this constant value can be considered a sine wave, as we will see later. For
example, the peak value of an AA battery is normally
1.5 V.
Two signals with the same amplitude and phase, but different frequencies
Example
The power we use at home has a frequency of 60 Hz. The period of this sine wave can be determined as
follows:
Example
Express a period of 100 ms in microseconds.
Example
The period of a signal is 100 ms.What is its frequency in kilohertz?
Note:
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.
If a signal does not change at all, its frequency is zero.
If a signal changes instantaneously, its frequency is infinite.
Three sine waves with the same amplitude and frequency, but different phases
Example
A sine wave is offset 1/6 cycle with respect to time 0. What is its phase in degrees and radians?
The time-domain and frequency-domain plots of a sine wave
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 single-frequency sine wave is not useful in data communications; we need to send a composite signal,
a signal made of many simple sine waves.
If the composite signal is periodic, the decomposition gives a series of signals with discrete frequencies;
if the composite signal is nonperiodic, the decomposition gives a combination of sine waves with
continuous frequencies.
Example
A periodic composite signal with frequency f. This type of signal is not typical of those found in data
communications. We can consider it to be three alarm systems, each with a different frequency. The analysis of
this signal can give us a good understanding of how to decompose signals.
Example
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 with exactly the same tone.
Example
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.
DIGITAL SIGNALS
In addition to being represented by an analog signal, information
can also be represented by a 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.
Two digital signals: one with two signal levels and the other
with four signal levels
Example
A digital signal has eight levels. How many bits are needed per
level? We calculate the number of bits from the formula
The time and frequency domains of periodic and non-periodic digital signals
Modulation
Modulation is a process through which audio, video, image or text information is added to an electrical or
optical carrier signal to be transmitted over a telecommunication or electronic medium. Modulation enables the
transfer of information on an electrical signal to a receiving device that demodulates the signal to extract the
blended information. Modulation is primarily used in telecommunication technologies that require the
transmission of data via electrical signals. It is considered the backbone of data communication because it
enables the use of electrical and optical signals as information carriers. It is achieved by altering the periodic
waveform or the carrier. A modem is a common example/implementation of a modulation technique in which
the data is modulated with electrical signals and transmitted over telephone lines. It is later demodulated to
receive the data. Modulation techniques are divided into two categories
• Analog Modulation
• Digital Modulation
Analog Modulation
This includes carrying its amplitude, frequency and phase. Modulation has three different types:
• Amplitude Shift Keying (ASK): Amplitude of the carrier is modulated.
• Frequency Shift Keying (FSK): Frequency of the carrier is modulated.
• Phase Shift Keying (PSK): Phase of the carrier is modulated.