DCCN_Chapter 1
DCCN_Chapter 1
2. Accuracy. The system must deliver the data accurately. Data that have been
altered in transmission and left uncorrected are unusable.
3. 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.
Cont..
4. 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 3D ms.
If some of the packets arrive with 3D-ms delay and others with 4D-ms delay, an
uneven quality in the video is the result.
Components
A data communications system components
1. Message. The message is the information (data) to be communicated. Popular forms of information
2. Sender. The sender is the device that sends the data message. It can be a computer, workstation,
3. Receiver. The receiver is the device that receives the message. It can be a computer, workstation,
4. Transmission medium. The transmission medium is the physical path by which a message travels from
Text
In data communications, text is represented as a bit pattern, a sequence of bits (0’s or 1’s).
Different sets of bit patterns have been designed to represent text symbols.
Each set is called a code, and the process of representing symbols is called coding.
Today, the prevalent coding system is called Unicode, which uses 32 bits to represent a
symbol or character used in any language in the world.
Cont..
Numbers
Numbers are also represented by bit patterns. However, a code such as ASCII is not used to represent
numbers; the number is directly converted to a binary number to simplify mathematical
operations.
Images
Images are also represented by bit patterns. In its simplest form, an image is composed of a matrix of
pixels (picture elements), where each pixel is a small dot. The size of the pixel depends on the
resolution. For example, an image can be divided into 1000 pixels or 10,000 pixels. In the second case,
there is a better representation of the image (better resolution), but more memory is needed to store
the image.
Cont..
After an image is divided into pixels, each pixel is assigned a bit
pattern.
The size and the value of the pattern depend on the image.
For an image made of only black and- white dots (e.g., a
chessboard), a 1-bit pattern is enough to represent a pixel.
Cont..
Audio
Audio refers to the recording or broadcasting of sound or music.
Audio is by nature different from text, numbers, or images.
It is continuous, not discrete.
Even when we use a microphone to change voice or music to an electric signal, we
create a continuous signal.
In Chapters 4 and 5, we learn how to change sound or music to a digital or an analog
signal.
Cont..
Video
Video refers to the recording or broadcasting of a picture or
movie.
Video can either be produced as a continuous entity (e.g., by a
TV camera), or it can be a combination of images, each a
discrete entity, arranged to convey the idea of motion.
Again we can change video to a digital or an analog signal.
Data Transmission Signals
When data is sent over physical medium, it needs to be first
converted into electromagnetic signals.
Data itself can be analog such as human voice, or digital such
as file on the disk.
Both analog and digital data can be represented in digital or
analog signals.
Cont..
1. Digital Signals
Digital signals are discrete in nature and represent sequence of voltage
pulses. Digital signals are used within the circuitry of a computer system.
2. Analog Signals
Analog signals are in continuous wave form in nature and represented by
continuous electromagnetic waves.
Digital Transmission
Data or information can be stored in two ways, analog and digital.
For a computer to use the data, it must be in discrete digital form.
Similar to data, signals can also be in analog and digital form.
To transmit data digitally, it needs to be first converted to digital
form.
Cont..
Digital-to-Digital Conversion
This section explains how to convert digital data into digital signals. It can be done
in two ways, line coding and block coding. For all communications, line coding is
necessary whereas block coding is optional.
Line Coding
The process for converting digital data into digital signal is said to be Line Coding.
Digital data is found in binary format. It is represented (stored) internally as series
of 1s and 0s.
Cont..
Cont..
Digital signal is denoted by discreet signal, which represents digital
data.
At the sender side digital data are encoded into a digital signal and at
the receiver side the digital data are recreated by decoding the digital
signal.
There are three types of line coding schemes available:
Line Coding
Uni-Polar
Polar
BiPolar
Cont..
1. Unipolar Encoding
Unipolar encoding schemes use single voltage level to represent data.
In this case, to represent binary 1, high voltage is transmitted and to represent 0, no
voltage is transmitted.
It is also called Unipolar-Non-return-to-zero, because there is no rest condition i.e. it
either represents 1 or 0.
Cont..
2. Polar Encoding
Polar encoding scheme uses multiple voltage levels to represent binary values.
Polar encodings is available in four types:
Polar Non Return to Zero (Polar NRZ) It uses two different voltage levels to represent
binary values. Generally, positive voltage represents 1 and negative value represents 0.
Return to Zero (RZ): Problem with NRZ is that the receiver cannot conclude when a bit
ended and when the next bit is started, in case when sender and receiver’s clock are not
synchronized.
Manchester: This encoding scheme is a combination of RZ and NRZ-L. Bit time is divided into two
halves. It transits in the middle of the bit and changes phase when a different bit is encountered.
Differential Manchester: This encoding scheme is a combination of RZ and NRZ-I. It also transits at
the middle of the bit but changes phase only when 1 is encountered.
Transmission Impairment
When signals travel through the medium, they tend to deteriorate. This may have
many reasons as given:
Attenuation
For the receiver to interpret the data accurately, the signal must be sufficiently strong.
When the signal passes through the medium, it tends to get weaker. As it covers
distance, it loses strength.
Dispersion
As signal travels through the media, it tends to spread and overlaps. The amount of
dispersion depends upon the frequency used.
Cont..
Delay distortion
Signals are sent over media with pre-defined speed and frequency. If the
signal speed and frequency do not match, there are possibilities that
signal reaches destination in arbitrary fashion. In digital media, this is
very critical that some bits reach earlier than the previously sent ones.
Noise
Random disturbance or fluctuation in analog or digital signal is said to be
Noise in signal, which may distort the actual information being carried.
Noise can be characterized in one of the following class:
Cont..
Thermal Noise
Heat agitates the electronic conductors of a medium which may introduce
noise in the media. Up to a certain level, thermal noise is unavoidable.
Intermodulation
When multiple frequencies share a medium, their interference can cause noise in the
medium. Intermodulation noise occurs if two different frequencies are sharing a
medium and one of them has excessive strength or the component itself is not
functioning properly, then the resultant frequency may not be delivered as expected.
Cont..
Crosstalk
This sort of noise happens when a foreign signal enters into the media.
This is because signal in one medium affects the signal of second
medium.
Impulse
This noise is introduced because of irregular disturbances such as
lightening, electricity, short-circuit, or faulty components. Digital data is
mostly affected by this sort of noise.
Modes of Data transmission
It Shows direction of signal/data flow. Communication between
two devices can be simplex, half- duplex, or full-duplex.
Cont..
Simplex
In simplex mode, the communication is unidirectional, as on a one-way street. Only one of the two
devices on a link can transmit; the other can only receive.
Keyboards and traditional monitors are examples of simplex devices.
The keyboard can only introduce input; the monitor can only accept output.
The simplex mode can use the entire capacity of the channel to send data in one direction.
Other example is TV transmission.
Half-Duplex
In half-duplex mode, each station can both transmit and receive, but not at the same time.
When one device is sending, the other can only receive, and vice versa.
The half-duplex mode is like a one-lane road with traffic allowed in both directions.
When cars are traveling in one direction, cars going the other way must wait.
In a half-duplex transmission, the entire capacity of a channel is taken over by whichever of the two
devices is transmitting at the time. Eg. Military personnel Radio
The half-duplex mode is used in cases where there is no need for communication in both directions at the
same time; the entire capacity of the channel can be utilized for each direction.
Multiplexing
Multiplexing is a technique by which different analog and digital streams of
transmission can be simultaneously processed over a shared link. Multiplexing
divides the high capacity medium into low capacity logical medium which is then
shared by different streams.
Communication is possible over the air (radio frequency), using a physical media
(cable), and light (optical fiber). All mediums are capable of multiplexing.
When multiple senders try to send over a single medium, a device called
Multiplexer divides the physical channel and allocates one to each. On the other
end of communication, a De-multiplexer receives data from a single medium,
identifies each, and sends to different receivers.
Frequency Division Multiplexing
When the carrier is frequency, FDM is used.
FDM is an analog technology.
FDM divides the spectrum or carrier bandwidth in logical
channels and allocates one user to each channel.
Each user can use the channel frequency independently and has
exclusive access of it.
All channels are divided in such a way that they do not overlap
with each other.
Channels are separated by guard bands. Guard band is a
frequency which is not used by either channel.
Cont..
Time Division Multiplexing
TDM is applied primarily on digital signals but can be applied
on analog signals as well.
In TDM the shared channel is divided among its user by means
of time slot.
Each user can transmit data within the provided time slot only.
Digital signals are divided in frames, equivalent to time slot
i.e. frame of an optimal size which can be transmitted in given
time slot.
TDM works in synchronized mode. Both ends, i.e. Multiplexer
and De-multiplexer are timely synchronized, and both switch to
next channel simultaneously.
Cont..
Wavelength Division Multiplexing
Light has different wavelength (colors).
In fiber optic mode, multiple optical carrier signals are
multiplexed into an optical fiber by using different wavelengths.
This is an analog multiplexing technique and is done
conceptually in the same manner as FDM but uses light as
signals.
Further, on each wavelength time division multiplexing can be
incorporated to accommodate more data signals.
Code Division Multiplexing
Multiple data signals can be transmitted over a single frequency
by using Code Division Multiplexing.
FDM divides the frequency in smaller channels but CDM allows
its users to full bandwidth and transmit signals all the time
using a unique code.
CDM uses orthogonal codes to spread signals.
Each station is assigned with a unique code, called chip.
Signals travel with these codes independently, inside the whole
bandwidth. The receiver knows in advance the chip code signal
it has to receive.
Switching
Switching is a mechanism by which data/information sent from
source towards destination which are not directly connected.