Académique Documents
Professionnel Documents
Culture Documents
Chapter No:-04
DATA ENCODING AND TRANSMISSION
Introduction:-
Information must be transformed into signal before it can be
transported across a communication channel. However information which
is transformed depends on its original format and on the format used by
the communication hardware.
Types Of Conversion/Classification:-
1) Data stored in a computer are in the form of 0’s and 1’s to be carried
from one place to another data are usually converted in the digital form
(or signal).This is called as encoding digital data into digital signal .
2) Sometimes we need to convert an analog signal into digital signal for
several reasons, such as to minimize effect of noise .This is called as a
Analog –To-Digital Conversion.
3) Sometimes we want to send a digital signal coming out of a computer
through a medium designed for an analog signal. In this case signal
from computer should be converted to an analog signal. This is called
as Digital –To –Analog Conversion.
4) Analog signal is sent over long distance using analog media. However,
frequency of these media is not capable of this kind of transmission
through air medium.So,it should be carried off by a HF signal and the
process is called Analog to Analog Conversion.
Digital-To-Digital Conversion:-
Encoding:-
Encoding is a process of converting a signal into a coded form. The
different types of encoding techniques are as given below.
Encoding Techniques
Source Coding:-
These techniques are used to convert the analog data signal into
equivalent digital data. Sampling and source coding is done in every digital
transmission system.
Line Coding:-
This is the process of converting binary data into a digital data .The
data text images stored in computer memory are in format sequence of
bits. Line coding converts the sequence into digital signal.
Line coding
Definitions:-
1) Pulse Rate:-
Pulse Rate is defined as the number of pulses per second and a pulse
is defined as the minimum amount of time required to transmit a symbol.
2) Bit Rate :-
Bit Rate is defined as the number of bits per second. If one pulse
corresponds to one bit, then the pulse rate is equal to the bit rate. But if
a pulse carries more than one bit then the pulse rate is lower than bit
rate. The relation between bit rate and pulse rate is
Encoding Techniques:-
Classification of Line Codes (Encoding Techniques)
B8ZS
HDB3
1) Unipolar Codes :-
Unipolar codes use only one voltage level other than zero.So,
the encoded signal will have either +A volts value or 0 v. These codes
are very simple and primitive and are almost obsolete now days.
2) Polar codes:-
Polar codes uses two voltage levels other than zero, such as
+A/2 and –A/2 volts. This will bring the DC level for some codes to
zero which is a desired character.
3) Bipolar Codes :-
Bipolar coding uses three voltage levels i)Positive ,ii)Negative
and iii)Zero ,which is similar to polar codes .But here the zero level is
always used for representing “0” of data stream at input.
Data 0 1 1 0
A
Unipolar
RZ Signal
t
Tb
Data 1 0 1 1 0
Unipolar A +A
NRZ Signal t
are usually of this type. Due to longer pulse duration, the NRZ pulse carries
more energy than the RZ pulses. But they need synchronization at receiver
as there is no separation between pulses.
A] Polar RZ format :-
1 0 1 1
+A/2
t
Tb/2
-A/2
Tb
Data 1 0 1 1 0
Polar +A/2
NRZ Signal t
-A/2
Data 1 0 1 1
+A/2
Manchester
Signal t
-A/2
Tb
Differential Manchester
Tb/2
Data 1 0 1 1 0
+A
-A
+ve 1 BVP 1
… …
… …
. .
t
-ve 1 BPV
8 zeros
+ 0 0 0 0 0 0 0 0 Will change to
+ 0 0 0 + - 0 - +v
Possible bits
Polarity
Message bits 1 0 1 1 0 0 0 0
HDB3 coded 1 0 1 1 0 0 0 v
signal
Bipolar NRZ t
equivalent
2B1Q code uses four voltage levels. The input bits are grouped into
groups of two bits each groups of two bits each and each group is
represented by one level as shown in following fig.
Level (v)
Message Assigned
0 0 -3A
0 1 -A
1 0 +3A
1 1 +A
0 0 1 0 1 1
3A -
A–
-A -
-3A-
2) Polar Quarternary :-
0 0 -3A/2
0 1 -A/2
1 0 +A/2
1 1 +3A/2
1 1
3A/2
1 0
A/2
0 1
- A/2
-3A/2 0 0
NRZ -L
NRZ-S
In NRZ- M the w/f changes .its level when the binary digit is ‘1’. The w/f
does not change its level when the binary digit is ‘0’.
In NRZ –S level w/f changes its level when binary digit is ‘0’.The w/f
does not change its level when digit is ‘1’.
Important Definitions:-
1) Bit Interval(Tb):-
Bit interval is time required to send one single bit.
+v
Tb
2) Bit Rate:-
Bit rate is the number of bits transmitted in one second .It is
expressed in one second. It is expressed in bits per second (bps).
Relation between bit rate and bit interval:-
3) Data Rate:-
Data rate is the number of bits transmitted per second
.Increasing the number of bits per sample increases the bit rate which is
given as
D= nFs
Compiled By:- Mr. Joshi R.R. Page 15
Communication Techniques (9116)
e.g. The minimum data rate needed to transmit audio with a sampling
rate of 40 KHz and 14 bits per sample is,
D = nFs
= 14 * 40 * 10^3
Data rate = 560 kps
i/p bits 0 1 0 0 0 1 1
Tb
10 1 0
4 11
levels 01
00 0 1 0 0 0 1 T= 1 sec
5) Modulation Rate:-
The ratio of bit rate to transmission bandwidth is called ‘modulation
rate’ or ‘spectral efficiency.’
6) Channel Capacity:-
The Shannon Hartley theorem gives a formula for the capacity of
channel when its bandwidth and noise level are known.
B = Bandwidth in Hz
Frequency limits.
7) Channel Bandwidth:-
The channel bandwidth is defined as the range of signal
frequencies (say f1 to f2) over which the channel allows a distortion free
transmission. If the signal frequencies distortion while travelling over the
channel bandwidth is measured in Hz, Khz, Mhz, etc.
8) S/N Ratio:-
Signal to noise ratio is defined as the ratio of the signal power to
the noise power at the same point. Thus in S/N ratio denotes signal power
and ‘N’ denotes the noise power.