Chapter 2-Data Communications
Chapter 2-Data Communications
Communications
Chapter 2
What is data communication?
• When we communicate, we
are sharing information. This
sharing can be local or remote.
Between individuals, local
communication usually occurs
face to face, while remote
communication takes place
over distance.
• The term telecommunication, which
includes telephony, telegraphy, and
television, means communication at a
distance (tele is Greek for “far”).
• The word data refers to information
presented in whatever form is agreed
upon by the parties creating and using
the data.
• Data communications are the exchange of data between two devices via some
form of transmission medium such as a wire cable.
• For data communications to occur, the communicating devices must be part of
a communication system made up of a combination of hardware (physical
equipment) and software (programs).
• The effectiveness of a data communications system depends on four
fundamental characteristics: delivery, accuracy, timeliness, and jitter.
• Delivery.
• The system must deliver data to the correct destination.
• Data must be received by the intended device or user and only by that
device or user.
• Accuracy.
• The system must deliver the data accurately.
• Data that have been altered in transmission and left uncorrected are
unusable.
• Timeliness.
• The system must deliver data in a timely manner.
• Data delivered late are useless.
• In the case of video and audio, timely delivery means delivering data as
they are produced, in the same order that they are produced, and without
significant delay.
• This kind of delivery is called real-time transmission.
• Jitter.
• Jitter refers to the variation in the packet arrival time.
• It is the uneven delay in the delivery of audio or video packets.
• For example, let us assume that video packets are sent every 30
ms.
• If some of the packets arrive with 30-ms delay and others with
40-ms delay, an uneven quality in the video is the result.
Components of data communication
Message. - The message is the information (data) to be communicated. Popular forms of information include text,
numbers, pictures, audio, and video.
Sender. - It can be a computer, workstation, telephone handset, video camera, and so on.
Receiver. - The receiver is the device that receives the message. It can be a computer, workstation, telephone handset,
television, and so on.
Transmission medium. - The transmission medium is the physical path by which a message travels from sender to receiver.
Some examples of transmission media include twisted-pair wire, coaxial cable, fiber-optic cable, and radio waves.
Protocol. - A protocol is a set of rules that govern data communications. It represents an agreement between the
communicating devices. Without a protocol, two devices may be connected but not communicating, just as a person
speaking French cannot be understood by a person who speaks only Japanese.
Data Flow
Analog and Digital Data Transmission
• The term analog data refers to information that is continuous; digital data refers
to information that has discrete states.
• For example, an analog clock that has hour, minute, and second hands gives
information in a continuous form; the movements of the hands are
continuous.
• On the other hand, a digital clock that reports the hours and the minutes will
change suddenly from one state to another.
• Analog data, such as the sounds made by a human voice, take on continuous
values. When someone speaks, an analog wave is created in the air.
• This can be captured by a microphone and converted to an analog signal or
sampled and converted to a digital signal.
• Digital data take on discrete values. For example, data are stored in
computer memory in the form of 0s and 1s.
Periodic and non-periodic
• Both analog and digital signals can take one of two forms: periodic or non-
periodic.
• A periodic signal completes a pattern within a measurable time frame, called a
period, and repeats that pattern over subsequent identical periods.
• The completion of one full pattern is called a cycle.
• A non-periodic signal changes without exhibiting a pattern or cycle that repeats
over time. Both analog and digital signals can be periodic or non-periodic.
• In data communications, we commonly use periodic analog signals and non-
periodic digital signals.
• 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.
• The sine wave is the most fundamental form of a periodic analog signal.
• When we visualize it as a simple oscillating curve, its change over the course of
a cycle is smooth and consistent, a continuous, rolling flow.
• Each cycle consists of a single arc above the time axis followed by a single arc
below it.
• A sine wave can be represented by three parameters: the peak amplitude,
the frequency, and the phase.
• Peak Amplitude
• The peak amplitude of a signal is the absolute value of its highest intensity,
proportional to the energy it carries.
• For electric signals, peak amplitude is normally measured in volts.
• Period and Frequency
• Period refers to the amount of time, in seconds, a signal needs to complete 1 cycle.
• Frequency refers to the number of periods in 1 s.
• Note that period and frequency are just one characteristic defined in two ways.
• Period is the inverse of frequency, and frequency is the inverse of period, as the following
formulas show.
• f=1/T T=1/f
• Period is formally expressed in seconds. Frequency is formally expressed in Hertz (Hz),
which is cycle per second.
• Wavelength
• The wavelength is the distance a simple signal can travel in one period.
𝑐
λ=
• Bandwidth 𝑓
• The range of frequencies contained in a composite signal is its bandwidth.
• The bandwidth of a composite signal is the difference between the highest and
the lowest frequencies contained in that signal.
• Example
• If a periodic signal is decomposed into five sine waves with frequencies of 100, 300, 500, 700,
and 900 Hz, what is its bandwidth?
• Solution
• Let fh be the highest frequency, fl the lowest frequency, and B the bandwidth. Then:
• B = fh - fl = 900 - 100 = 800 Hz
Transmission impairment