Data Communication Lecture 1
Data Communication Lecture 1
Data Communication Lecture 1
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
Jitter is the variation in time delay between when a signal is transmitted and when it's
received over a network connection, measuring the variability in ping.
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.
There are several code sets, some arc used for specific applications while
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:
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 a
binary “0'' 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.