PPT 02 Digital to Digital Conversion Line Coding Concept Full MTH
PPT 02 Digital to Digital Conversion Line Coding Concept Full MTH
Alternate Mark
NRZ RZ NRZ RZ Biphase Inversion (AMI)
Pseudo Ternary
Only one voltage
level other than 0 NRZ-L NRZ-I Manchester DM
(0 to +A)
Two voltage level other than zero Three voltage level other
𝑨 𝑨 than zero: Pos, Neg, Zero
( to 0 and − to 0)
𝟐 𝟐
ETE 3215: Digital Communication Prepared By: M. T. Hassan 5
Digital to Digital Conversion
Line Coding
But before learning difference between first three schemes we should first know the
characteristic of these line coding techniques:
• There should be self-synchronizing i.e., both receiver and sender clock should be
synchronized.
• There should have some error-detecting capability.
• There should be immunity to noise and interference.
• There should be less complexity.
• There should be no low frequency component (DC-component) as long-distance transfer is
not feasible for low frequency component signal.
• There should be less base line wandering.
• Unipolar scheme – In this scheme, all the signal levels are either above or below the axis.
In Unipolar line coding all the signal levels are either above or below the axis. It has only one
voltage level other than zero. The symbols 0 & 1 in digital system can represented in various
formats with different levels and wave forms.
The selection of particular format for common pulse depends on the systems band width,
system’s ability to pass DC level information, error checking facility, case of clock
regeneration & synchronization at receiver, complexity & cost etc.
It has two voltage level other than zero. The symbols 0 & 1 in digital system can represented
in various formats with different levels and wave forms.
The selection of particular format for common pulse depends on the systems band width,
system’s ability to pass DC level information, error checking facility, case of clock
regeneration & synchronization at receiver, complexity & cost etc.
Note – 1. The logic we are using here to represent data using Manchester is that for bit 1 there
is transition form -V to +V volts in the middle of the bit and for bit 0 there is transition from
+V to -V volts in the middle of the bit. 2
ETE 3215: Digital Communication Prepared By: M. T. Hassan 13
Digital to Digital Conversion
Polar (Manchester – Dr. Thomas & D M) Line Coding
Dr. Thomas:
For 1: Positive to Negative
For 0: Negative to Positive
𝑇𝑏
Duration:
2
IEEE:
For 0: Positive to Negative
For 1: Negative to Positive
𝑇𝑏
Duration:
2
Pseudo ternary: Bit 1 is encoded as a zero voltage and the bit 0 is encoded as alternating
positive and negative voltages i.e., opposite of AMI scheme. Example: Data = 010010.
Problem 01: Consider the following bit stream 101100101. Using the following line coding
techniques, convert the above mentioned bit stream into digital signal.
(i) Unipolar RZ, (ii) Bipolar RZ, (iii) Split Phase Manchester, and (iv) Polar Quaternary.
Problem 02: Consider the binary data stream of 1011010. Draw the resulting waveforms for
the following line coding schemes:
(i) ON-OFF, (ii) Manchester, (iii) Bipolar RZ, and (iv) Differential Manchester
Problem 03: If a binary data stream is 100110101. Draw the resulting waveforms for the
following schemes:
(i) Unipolar NRZ, (ii) Unipolar RZ, (iii) Polar RZ, (iv) AMI-RZ, and (v) Manchester.
Problem 01: Draw the following data formats for the bit stream 1100110;
(i) Polar NRZ, (ii) Unipolar RZ, (iii) AMI, and (iv) Manchester.
Problem 02: Given that the bit sequence given below is to be transmitted bit sequence =
10110010. Draw the resulting waveforms, if the sequence is transmitted using:
(i) Polar NRZ, (ii) Unipolar RZ, (iii) AMI, (iv) Split Phase Manchester, and (v) Polar
Quaternary.
Problem 03: Which are the desirable properties of Digital waveform? To transmit a bit
sequence of 10011011. Draw the resulting waveforms:
(i) Unipolar NRZ, (ii) Unipolar RZ, (iii) Polar RZ, (iv) AMI-RZ, and (v) Manchester.
DC Components: When the voltage level in a digital signal is constant for a while, the
spectrum creates very low frequencies (results of Fourier analysis). These frequencies around
zero, called DC (direct-current) components, present problems for a system that cannot pass
low frequencies or a system that uses electrical coupling (via a transformer). For example, a
telephone line cannot pass frequencies below 200 Hz. Also a long-distance link may use one or
more transformers to isolate different parts of the line electrically. For these systems, we need a
scheme with no DC component.
The signal rate is the number of signal elements sent in Is. The unit is the baud. There are
several common terminologies used in the literature. The signal rate is sometimes called the
pulse rate, the modulation rate, or the baud rate.
One goal in data communications is to increase the data rate while decreasing the signal rate.
Increasing the data rate increases the speed of transmission; decreasing the signal rate
decreases the bandwidth requirement. In our vehicle-people analogy, we need to carry more
people in fewer vehicles to prevent traffic jams. We have a limited bandwidth in our
transportation system.
𝟏
𝑺=𝒄×𝑵× baud…………………………….(1)
𝒓
Where:
N = data rate (bps)
c = case factor which varies for each case
S = Number of signal elements
r = data elements [need to understand better]
Problem 01: A signal is carrying data in which one data element is encoded as one signal
element (r = 1). If the bit rate is 100 kbps, what is the average value of the baud rate if c is
between 0 and l?
Hints:
Problem 02: “Although the actual bandwidth of a digital signal is infinite, the effective
bandwidth is finite” Justify the statement with your own opinion.
We can say that the baud rate, not the bit rate, determines the required bandwidth for a digital
signal. For the moment, we can say that the bandwidth (range of frequencies) is proportional
to the signal rate (baud rate). The minimum bandwidth can be given as:
𝟏
𝑩𝒎𝒊𝒏 = 𝒄 × 𝑵 × baud…………………………….(2)
𝒓
We can solve for the maximum data rate if the bandwidth of the channel is given.
𝟏
𝑵𝒎𝒂𝒙 = × 𝑩 × 𝒓 …………………………….(3)
𝒄
Problem 03: The maximum data rate of a channel is 𝑁𝑚𝑎𝑥 = 2 × 𝐵 × log 2 (𝐿) (defined by
the Nyquist formula). Does this agree with the previous formula for 𝑁𝑚𝑎𝑥 ?
Hints:
Problem 04: A system is using NRZ-I to transfer 10-Mbps data. What are the average signal
rate and minimum bandwidth?
Hints:
𝟏
𝑺=𝒄×𝑵× baud…………………………….(2)
𝒓
𝟏
𝑩𝒎𝒊𝒏 = × 𝑩 × 𝒓 …………………………………….(3)
𝒄