Introduction To Data Communication: Dept. of Computer Engineering Faculty of Engineering
Introduction To Data Communication: Dept. of Computer Engineering Faculty of Engineering
Introduction To Data Communication: Dept. of Computer Engineering Faculty of Engineering
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:
1. delivery
2. accuracy
3. timeliness and
4. jitter
Key Elements of Data Communication
Suppose that the input device and transmitter are components of a personal
computer. The user of the PC wishes to send a message m to another user.
1. The user activates the electronic mail package on the PC and enters the
message via the keyboard (input device).
2. The character string is briefly buffered in main memory, which can be view as
a sequence of bits (g) in memory.
3. The personal computer is connected to some transmission medium, such as a
local network or a telephone line, by an I/O device (transmitter), such as a
local network transceiver or a modem.
4. The input data are transferred to the transmitter as a sequence of voltage
shifts [g(t)].
5. The transmitter is connected directly to the medium and converts the
incoming stream [g(t)] into a signal [s(t)] suitable for transmission.
6. The transmitted signal s(t) presented to the medium is subject to a number of impairments,
before it reaches the receiver.
8. The receiver will attempt to estimate the original s(t), based on r(t) and its knowledge of
the medium, producing a sequence of bits g’(t).
9. These bits are sent to the output personal computer (as a block of bits)
10.The destination system will attempt to determine if an error has occurred and, if so,
cooperate with the source system to eventually obtain a complete, error-free block of data.
11.These data are then presented to the user via an output device, such as a printer or screen.
The message (m’) as viewed by the user will usually be an exact copy of the original
message (m)
Figure: A Data Communications Model
Data Representation
A binary digit or bit has only two states, “0" and "I" and can represent only two
symbols, but even the simplest form of communication between computers
requires a much larger set of symbols, e.g.
1. 52 capital and small letters,
2. 10 numerals from 0 to 9
3. punctuation marks and other special symbols, and
4. terminal control characters-Carriage Return (CR), Lane Feed (Lr).
Therefore,
a group of bits is used as a code to represent a symbol. The
code is usually 5 to 8 bits long. . 5-bit code can have combinations and
can, therefore, represent 32 symbols.
There are several code sets, some arc used for specific applications white
others are the proprietary code sets of computer manufacturers. The
following two code sets arc very common:
It is, 7 bit code and all the possible 128 codes have defined
meaning. The code set consists of following symbols:
Solution:
Data Transmission
Bytes: Byte is a group or bits which is considered as a single unit during
processing. It is usually eight bits long though its length may be different . A
character code, e.g., 1001011 of ASCII, is a byte having a defined meaning "K",
but it should be noted that there may be bytes which are not elements of any
standard code set.
There is always need to exchange data, commands and other control information
between a computer and its terminals or between two computers. This
information is in the form of bits.
Data transmission refers to movement of the bits over some physical medium
connecting two or more digital devices. There are two options of transmitting the
bits, namely,
1. Parallel transmission
2. Serial transmission.
parallel transmission: Here all the bits of a byte are
transmitted simultaneously on separate wires and
multiple circuits interconnecting the two devices are,
therefore, required. It is practical only if the two
devices, e.g., a computer and its associated printer are
close to each other.
Serial transmission: Here bits are transmitted serially
one after the other . The least significant bit (LSB) is
usually transmitted first. Note that as compared to
parallel transmission, serial transmission requires
only one circuit interconnecting the two devices.
Therefore. Serial transmission is suitable for
transmission over long distance.
Serial Transmission Example- Write the bit
transmission sequence of the message “3p.bat”.
Solution:
3 p . b a t
11001100 00001010 01110100 01000110 10000110 00101110
Bipolar Signal - Bits are transmitted as electrical signals over
the interconnecting wires. The two binary states “1” and “0”
are represented by two voltage levels. If one of these states
is assigned 0 volt level, the transmission is termed unipolar
and if we choose to represent a binary "1" by , say, a positive
voltage +V volts and n binary “o'' by a negative voltage -V
volts, the transmission is said to be bipolar.
The following figure shows the bipolar waveform of the
character "K". Bipolar transmission is preferred because the
signal does not have any DC component. The transmission
media usually do not allow the DC signals to pass through.
Mode of Serial transmission
2. Send one start bit (0) at beginning of the byte and one or
two stop bits (1) at end of each byte.
Bit
rate is simply the number of bits which can be transmitted in a
second. If is the duration of a bit, the bit rate R will be 1/ . It must
be noted that bit duration is not necessarily the pulse duration. For
example, the first pulse is of two-bit duration . Later, we will come
across signal format in which the pulse duration is only half the bit
duration.
Types of Networks
Books