module 1
module 1
Module 1
Data communication is the process of transferring data between two devices or locations, using a
transmission medium like a wire or wireless connection. It involves the use of physical
phenomena, like light or electromagnetic waves, to move information.
Data communication is essential for network communication and involves several components,
including:
Sender: The device that initiates the transmission of data
Receiver: The device that receives the data
Transmission medium: The physical connection that carries the data, such as a wire or
wireless connection
Protocols: A set of rules that govern how data is exchanged
The effectiveness of a data communication system is determined by four key characteristics:
Delivery: The data is delivered to the correct destination
Accuracy: The data is delivered accurately
Timeliness: The data is delivered in a timely manner
Jitter: The variation in the packet arrival time
Some examples of data communication include:
Connecting a laptop to a Wi-Fi network
Using optical fiber cables to carry data as light
What is Signal?
A signal is a function of one or more variables that indicate some (usually physical)
phenomenon. Signal serves as carriers of information between communication devices. They can
convey different types of information depending on the application required. These signals can
be of different forms.
Examples of Signals
Human voice and sound waves.
Voltage in electrical circuits
Room temperature controlled by a thermostat system
Position, speed, and acceleration of an aircraft
Accelerometers measured with accelerometers in mobile phones
Force measured with force sensors in robotic systems
Electromagnetic waves used to transmit information in wireless computer networks
Digital photographs
Digital Music Recording.
Types of Signals
There are different types of signals which are given below:
Analog Signals
Digital Signals
Real and Complex Signals
Deterministic and Random Signals
Periodic and Non-periodic Signals
1. Analog Signals
These signals are continuing (e.g., a real variable) and infinitely varying with time parameter or
can take any value within a given range. These signals are represented by the sine wave.
Examples of analog signals are audio signals, temperature readings, sound waves or television
waves.
The amplitude of the sine wave with frequency f is almost the same as the peak amplitude of the
composite signal. The amplitude of the sine wave with frequency 3f is one-third of that of the
first, and the amplitude of the sine wave with frequency 9f is one-ninth of the first.
The frequency of the sine wave with frequency f is the same as the frequency of the composite
signal; it is called the fundamental frequency, or first harmonic.
The sine wave with frequency 3fhas a frequency of 3 times the fundamental frequency; it is
called the third harmonic. The third sine wave with frequency 9f has a frequency of 9 times the
fundamental frequency; it is called the ninth harmonic.
Note that the frequency decomposition of the signal is discrete; it has frequencies f, 3f, and 9f
because f is an integral number, 3f and 9f are also integral numbers. There are no frequencies
such as 1.2f or 2.6f. The frequency domain of a periodic composite signal is always made of
discrete spikes.
Bandwidth
The range of frequencies contained in a composite signal is its bandwidth. The bandwidth is
normally a difference between two numbers. For example, if a composite signal contains
frequencies between 1000 and 5000, its bandwidth is 5000 - 1000, or 4000.
The bandwidth of a composite signal is the difference between the highest and the lowest
frequencies contained in that signal.
The figure depicts two composite signals, one periodic and the other nonperiodic. The bandwidth
of the periodic signal contains all integer frequencies between 1000 and 5000 (1000, 1001, 1002,
...). The bandwidth of the nonperiodic signals has the same range, but the frequencies are
continuous.
Examole 1
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.
Solution: Let fh be the highest frequency, fl the lowest frequency, and B the bandwidth. Then B
=fh - fl = 900 - 100 =800 Hz The spectrum has only five spikes, at 100, 300, 500, 700, and 900
Hz
DIGITAL SIGNALS
In addition to being represented by an analog signal, information can also be represented by a
digital signal. For example, a I 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. Figure 3.16 shows two signals, one with two levels and the other with four.
Two digital signals: one with two signal levels and the other with four signal levels
We send 1 bit per level in part a of the figure and 2 bits per level in part b of the figure. In
general, if a signal has L levels, each level needs log L bits.
Example 2
A digital signal has eight levels. How many bits are needed per level?
We calculate the number of bits from the formula
Number of bits per level = log 8 = 3
Each signal level is represented by 3 bits.
Digital Signal as a Composite Analog Signal
Based on Fourier analysis, a digital signal is a composite analog signal. The bandwidth is
infinite, as you may have guessed. We can intuitively corne up with this concept when we
consider a digital signal. A digital signal, in the time domain, comprises connected vertical and
horizontal line segments. A vertical line in the time domain means a frequency of infinity
(sudden change in time); a horizontal line in the time domain means a frequency of zero (no
change in time). Going from a frequency of zero to a frequency of infinity (and vice versa)
implies all frequencies in between are part of the domain. Fourier analysis can be used to
decompose a digital signal. If the digital signal is periodic, which is rare in data communications,
the decomposed signal has a frequency domain representation with an infinite bandwidth and
discrete frequencies. If the digital signal is nonperiodic, the decomposed signal still has an
infinite bandwidth, but the frequencies are continuous. In figure below shows a periodic and a
nonperiodic digital signal and their bandwidths.