Unit 1
Unit 1
Ref: Data and Computer Communications, Pearson Education, William Stalling, Eighth Edition
Module-1 Data Communication Techniques
Basic Concepts
Communications system fundamental role is to exchange data between source and
destination.
Source generates data to be transmitted (examples are telephones, personal
computers….).
Transmitter transforms and encodes the information in such a way as to produce
electromagnetic signals that can be transmitted across transmission system. (Modem
takes a digital bit stream from a personal computer and transforms that bit stream
into an analog signal that can be handled by the telephone network.)
Transmission System can be a single transmission line or a complex network
connecting source and destination.
Receiver accepts signal from the transmission system and converts it into a form
that can be handled by the destination device. (Modem will accept an analog signal
coming from a network or transmission line and convert it into a digital bit stream).
Destination takes the incoming data from the receiver.
SOURCE TRANSMITTER TRANSMISSION RECEIVER DESTINATION
SYSTEM
Interfacing
It refers to device communicating with the transmission system.
Communication uses electromagnetic signals which are propagated over a
transmission medium.
Synchronization
Transmitter and receiver needs to be synchronized.
The receiver must be able to determine when a signal begins to arrive and
when it ends.
It must also know the duration of each signal element.
Flow control
It is required to assure that the source does not overwhelm the destination
by sending data faster than they can be processed and absorbed.
Addressing
When a transmission facility is shared by more than two devices a source
system must indicate the identity of the intended destination.
The transmission system must assure that the destination system only
receives the data.
Ref: Data and Computer Communications, William Stalling
Module-1 Data Communication Techniques
Routing
The transmission system may itself be a network through which various
paths may be taken.
A specific route through this network must be chosen.
Recovery
These techniques are needed in situations in which an information
exchange (database transaction or file transfer) is interrupted due to a
fault in the system.
The objective is either to be able to resume activity at the point of
interruption or at least to restore the state of the systems involved to the
condition prior to the beginning of the exchange.
Message formatting
It has to do with an agreement between two parties as to the form of the
data to be exchanged or transmitted.
For example both sides must use the same binary code for characters.
It is not concerned with the content of the signal (The signals may
represent analog data or digital data).
Amplifiers are used for longer distances to boost the energy in the signal.
Attenuation
The strength of a signal falls off with distance over any transmission
medium.
For guided media attenuation is logarithmic and is typically expressed as a
constant number of decibels per unit distance.
For unguided media, attenuation is a more complex function of distance
and of the make up of the atmosphere.
Data rate
It is the rate at which data can be communicated. It is measured in bits per second.
Bandwidth
Bandwidth of the transmitted signal is constrained by transmitter and by nature of
transmission medium.
It is expressed in cycles per second or hertz.
Noise
It is the average level of noise over the communications path.
Error rate
It is the rate at which errors occur. (An error is the reception of a 1 when a 0 was
transmitted or the reception of a 0 when a 1 was transmitted).
Ref: Data and Computer Communications, William Stalling
Importance of channel capacity
Communications facilities are expensive (greater the
bandwidth greater the cost).
All transmission channels of any practical interest are of
limited bandwidth.
The limitations arise from the physical properties of the
transmission medium or from limitations at the transmitter on
the bandwidth to prevent interference from other sources.
Task is to make efficient use of a given bandwidth.
For digital data this means high data rate at a particular limit
of error rate for a given bandwidth.
The main constraint on achieving this efficiency is noise.
Let us consider the case of a channel that is noise-free. In this
environment the limitation on data rate is simply the
bandwidth of the signal.
Ref: Data and Computer Communications, William Stalling
Importance of channel capacity
For a given level of noise greater signal strength will improve
the ability to correctly receive data in the presence of noise.
The key parameter involved is signal-to-noise ratio (S/N),
which is the ratio of the power in a signal to the power
contained in the noise that is present at a particular point in
the transmission.
S/N ratio is measured at receiver. A high S/N will mean a high-
quality signal and a low number of required intermediate
repeaters.
The signal-to-noise ratio is important in the transmission of
digital data because it sets the upper bound on the achievable
data rate.
Shannon's Theorem of channel capacity is given by C = B log2 (
1 + S/N ), where C is the capacity of the channel in bits per
second and B is the bandwidth of the channel in hertz.
Ref: Data and Computer Communications, William Stalling
Guided Transmission Media
Transmission capacity in terms of either data rate or bandwidth for guided
transmission media depends critically on the distance and on whether the
medium is point-to-point or multipoint.
The three guided media commonly used for data transmission are
1. Twisted pair
2. Coaxial cable and
3. Optical fiber
Twisted Pair
It is the least-expensive and most widely-used.
It can be used to transmit both analog and digital signals.
It require amplifiers every 5 to 6 km for analog signals and repeaters every
2 to3 km for digital signals.
It is limited in distance, bandwidth and data rate.
CODEC
Bipolar AMI
0 = no line signal
1 = positive or negative level alternating for successive ones
Differential Manchester
Always a transition in middle of interval
0 = transition at beginning of interval
1 = no transition at beginning of interval
Three basic
encoding
techniques for
transforming
digital data into
analog signals
are:
1. Amplitude-
shift keying
(ASK)
2. Frequency-
shift keying
(FSK)
3. Phase-shift
keying
(PSK)
This is a process of converting analog data into digital data. The process is
known as digitization. (Ex. PCM, DM)
Once analog data is converted to digital data it can be transmitted using analog
signal or digital signal.
Different modulation
techniques are
1. Amplitude
Modulation
(AM)
2. Angle
Modulation
(FM, PM)
1. Asynchronous
2. Synchronous
Ref: Data and Computer Communications, William Stalling
Asynchronous transmission
Data are transmitted one character at a time where each
character is eight bits in length.
Timing or synchronization is maintained within each character.
The receiver has the opportunity to resynchronize at the
beginning of each new character.
When no character is being transmitted the line between
transmitter and receiver is in idle state.
The beginning of a character is signaled by a start-bit with a
value of binary 0.
This is followed by eight bits that actually make up the
character.
The bits of the character are transmitted beginning with the
least significant bit.
Three parity bits together check the entire seven bit code
word.
Parity bits are positioned at 1,2,4,8.
In general bit positions 1,2,4,8,….. Of the code words are
reserved for parity bits. Other positions are for data bits. MSB
of the data word is on left hand side. LSB is transmitted first.
Bit Positions 1 2 3 4 5 6 7 8 9 10 11
Code Word P1 P2 D P4 D D D P8 D D D
The reason for the different schemes for the two different
primary rates is simply historical, neither has a particular
advantage.