Unit-1-Data-Communication
Unit-1-Data-Communication
Data refers to the raw facts that are collected while information
refers to processed data that enables us to take decisions.
Ex. When result of a particular test is declared it contains dataof all
students, when you find the marks you have scored you have the
information that lets you know whether you have passed or failed.
The word data refers to any information which is presented in a form
that is agreed and accepted upon by is creators and users.
DATA COMMUNICATION
1. Message
• Message is the information to be communicated by the sender
tothe receiver.
2. Sender
• The sender is any device that is capable of sending the data
(message).
3. Receiver
• The receiver is a device that the sender wants to communicate
thedata (message).
4. Transmission Medium
• It is the path by which the message travels from sender to
receiver.
• It can be wired or wireless and many subtypes in both.
5. Protocol
• It is an agreed upon set or rules used by the sender and receiver
to communicate data.
• A protocol is a set of rules that governs data communication.
• A Protocol is a necessity in data communications without which
the communicating entities are like two persons trying to talk to
each other in a different language without know the other
language.
DATA REPRESENTATION
1. Text
Text includes combination of alphabets in small case as wellas
upper case.
It is stored as a pattern of bits. Prevalent encoding system :
ASCII, Unicode
2. Numbers
• Numbers include combination of digits from 0 to 9.
• It is stored as a pattern of bits. Prevalent encoding system: ASCII, Unicode
3. Images
• An image is worth a thousand words‖ is a very famous saying.
• In computers images are digitally stored.
• A Pixel is the smallest element of an image. To put it in simple terms, a picture or
image is a matrix of pixel elements.
4. Audio
Data can also be in the form of sound which can be recorded and
broadcasted. Example: What we hear on the radio is a source of
data or information.
Audio data is continuous, not discrete.
5. Video
Video refers to broadcasting of data in form of picture or movie
DATA FLOW (Modes of Communication)
Simplex
Half Duplex
In half duplex both the stations can transmit as well as receivebut not
at the same time.
When one device is sending other can only receive and vice-versa
(as shown in figure above.)
Example: A walkie-talkie.
Full Duplex
Or
Examples of analog signals are electrical signals, light signals, speech signals, etc. Radio signals
are also categorized as analog signals.
For example,
• An analog signal that repeats over a period of time is known as the periodic signal, such
as sine wave and cosine wave.
• The cosine wave is shown below:
Aperiodic signals
• An analog signal that does not repeat over a period of time is known as an Aperiodic
signal, such as noise signals.
Digital Signal
• Digital signals are the signal that represents the data in the form of discrete values.
• It takes only two values 0 and 1, which is known as bits. The data is transmitted in the
form of these bits.
• For example,
01000110
Example:
• The average marks of the 30 students in a classroom in five subjects can be considered
as an example of a digital signal.
• The graph is shown below:
• A digital signal that repeats over a period of time is known as periodic signals, such as
square wave.
• The square wave is shown below:
Aperiodic signals
• A digital signal that does not repeat over a period of time is known as an Aperiodic
signal.
• It is also a discrete signal, but not of repeated pattern.
• A common example of the Aperiodic digital signal is shown below:
Difference Between Analog and Digital Signal.
Definition It uses analog signals for It uses digital signals for transmitting data from transmitter
transmitting data from to the receiver.
transmitter to the receiver.
Signal The analog signal is a Digital signal uses two bits for transmission of level 0
continuous time varying (LOW) and 1 (HIGH).
signal.
Signal The analog signals are The digital signals are represented by a square wave.
representation represented by a sine wave or
cosine wave.
Applications Radar. Telephony, etc. Digital watches, Compact Disks, computers, etc.
Analog Communication System
• The analog communication system refers to a model that helps the data to transmit from
one end to the other. It combines elements that work together to establish a network
between the sender and receiver.
• It consists of transducers, transmitter, channel, and receiver.
• The function of transducers is to convert one form of energy to the other.
• The channel acts as a medium to transmit electrical information from the transmitter to the
receiver.
OR
• The elements of basic analog communication system are input signal or information, input
transducer, transmitter, channel, Noise, Receiver, Output transducer.
• The receiver always converts the modulated signal into original signal which consist of
Amplifier, Oscillator, Mixer.
7.Output transducer:
• Output transducer converts electrical signal into the original form i.e. sound or TV pictures
etc.
• E.g. Loudspeaker, data and image convertor.
Digital Communication System
Elements of Digital Communication
The elements which form a digital communication system is represented by the following block
diagram for the ease of understanding.
Input Transducer
• This is a transducer which takes a physical input and converts it to an electrical signal
(Example: microphone).
• This block also consists of an analog to digital converter where a digital signal is needed
for further processes. A digital signal is generally represented by a binary sequence.
Source Encoder
• The source encoder compresses the data into minimum number of bits.
• This process helps in effective utilization of the bandwidth.
• It removes the redundant bits unnecessary excess bits, i.e., zeroes
Channel Encoder
• The channel encoder, does the coding for error correction.
• During the transmission of the signal, due to the noise in the channel, the signal may get
altered and hence to avoid this, the channel encoder adds some redundant bits to the
transmitted data. These are the error correcting bits.
Digital Modulator
• The signal to be transmitted is modulated here by a carrier.
• The signal is also converted to analog from the digital sequence, in order to make it travel
through the channel or medium.
Channel
• The channel or a medium, allows the analog signal to transmit from the transmitter end to
the receiver end.
Digital Demodulator
• This is the first step at the receiver end.
• The received signal is demodulated as well as converted again from analog to digital.
The signal gets reconstructed here.
Channel Decoder
• The channel decoder, after detecting the sequence, does some error corrections.
• The distortions which might occur during the transmission, are corrected by adding some
redundant bits. This addition of bits helps in the complete recovery of the original signal.
Source Decoder
• The resultant signal is once again digitized by sampling and quantizing so that the pure
digital output is obtained without the loss of information. The source decoder recreates
the source output.
Output Transducer
• This is the last block which converts the signal into the original physical form, which
was at the input of the transmitter.
• It converts the electrical signal into physical output (Example: loud speaker).
Output Signal
• This is the output which is produced after the whole process.
• Example − The sound signal received.
• This unit has dealt with the introduction, the digitization of signals, the advantages and the
elements of digital communications.
Digital Transmission
Digital-to-Digital Conversion
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.
• It uses two different voltage levels to represent binary values. Generally, positive
voltage represents 1 and negative value represents 0.
• It is also NRZ because there is no rest condition.
• NRZ scheme has two variants: NRZ-L and NRZ-I.
NRZ-L changes voltage level at when a different bit is encountered whereas NRZ-I
changes voltage when a 1 is encountered.
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
Bipolar Encoding
• Bipolar encoding uses three voltage levels, positive, negative and zero. Zero voltage
represents binary 0 and bit 1 is represented by altering positive and negative
voltages.
Data communication terminologies
Data Channel:
Bandwidth (B/W):
• It determines the rate of speed at which the data is transferred from one point to
another.
• Its measurement unit is bits per second (bps), Bytes per second (Bps), or baud.
• In computer, data transfer is mainly measured in Bytes per second.
• Data transfer between devices such as Hard disk and CD-ROM is usually
measured in milliseconds.
Concept of Standard
Examples of Forums
1. ATM Forum (Asynchronous Transfer Mode)
2. MPLS Forum (Multiprotocol Label Switching)
3. Frame Relay Forum