0% found this document useful (0 votes)
9 views18 pages

Unit 2

Line coding schemes convert binary data into digital signals by mapping bits to different pulse patterns. Common line coding schemes discussed in the document include unipolar NRZ, polar NRZ, polar RZ, NRZI, Manchester, and differential Manchester coding. Each scheme maps 0s and 1s to distinct signal levels or transitions to represent the data as a digital waveform for transmission.

Uploaded by

Jox Gulla
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views18 pages

Unit 2

Line coding schemes convert binary data into digital signals by mapping bits to different pulse patterns. Common line coding schemes discussed in the document include unipolar NRZ, polar NRZ, polar RZ, NRZI, Manchester, and differential Manchester coding. Each scheme maps 0s and 1s to distinct signal levels or transitions to represent the data as a digital waveform for transmission.

Uploaded by

Jox Gulla
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

Line Coding Schemes

Line coding is the process of converting binary data, a


sequence of bits to a digital signal.
Definitions of the components/Keywords:

1 Binary data can be transmitted using a number of different


types of pulses. The choice of a particular pair of pulses to
2
represent the symbols 1 and 0 is called Line Coding.

5
Master Layout
1
Input 0 1 1 0 1 1 1 0 1 0 1
Data
2

3
Digital
Signal

5
1 Step 1: unipolar NRZ (Non Return to Zero)

Representation of 0 Representation of 1

3 Instruction for the animator

• The first fig should appear then the


second fig should appear.
Text to be displayed in the working area (DT)

• Bit 0 is mapped to amplitude close to zero


• Bit 1 is mapped to a positive amplitude
• In parallel to the figures the text
should be displayed. • A DC component is present

5
1 Step 2: Polar NRZ (Non Return to Zero)

Representation of 0 Representation of 1

3 Instruction for the animator

• The first fig should appear then the


second fig should appear.
Text to be displayed in the working area (DT)

• Bit 0 is mapped to a negative amplitude


• Bit 1 is mapped to a positive amplitude
• In parallel to the figures the text
should be displayed. • A DC component is present

5
1 Step 3: Polar RZ (Return to Zero)

Representation of 0 Representation of 1

3 Instruction for the animator

• The first fig should appear then the


second fig should appear.
Text to be displayed in the working area (DT)

•A bit 0 is mapped to a negative amplitude −A for the first half of the


symbol duration followed by a zero amplitude for the second half of
• In parallel to the figures the text the symbol duration.
should be displayed.
A bit 1 is mapped to a positive amplitude +A for the first half of the
4 bit duration followed by a zero amplitude for the second half of the bit
duration.

5
1 Step 4: NRZI (Non Return to Zero Inverted)

Representation of 0 Representation of 1

Fig. A Fig. B Fig. C Fig. D

3 Instruction for the animator

• The first fig should appear then the


second fig should appear.
Text to be displayed in the working area (DT)

• Bit 0 mapped to no signal level transition


• Bit 1 is mapped to signal level transition at the beginning of the bit
• In parallel to the figures the text interval
should be displayed. Assumption:

4 • The signal level to the left of the bit is high– Fig. A and Fig. C

• The signal level to the left of the bit is low – Fig. B and Fig. D

5
1 Step 5: Manchester coding

Representation of 0 Representation of 1

3 Instruction for the animator

• The first fig should appear then the


second fig should appear.
Text to be displayed in the working area (DT)

Bit 0 is sent by having a mid-bit transition from high to low.

• In parallel to the figures the text •Bit 1 is sent by having a mid-bit transition from low to high.
should be displayed.

5
1 Step 6: Differential Manchester coding

Representation of 0 Representation of 1

2
Fig. A Fig. B Fig. C Fig. D

3 Instruction for the animator

• The first fig should appear then the


second fig should appear.
Text to be displayed in the working area (DT)

Bit 0 is mapped to signal level transition at the beginning of the bit


interval.
• In parallel to the figures the text
should be displayed. Bit 1 is mapped to absence of signal level transition at the beginning
of the bit interval.
4 Assumption:

• The signal level to the left of the bit is high – Fig. A and Fig. C

• The signal level to the left of the bit is low – Fig. B and Fig. D

5
The corresponding waveforms should be shown in the demo part when a
particular line code is selected.
Illustration of different line coding schemes
Assumption: The signal level to the left of the bit is high

Line coding Representation Representation


Scheme of 0 of 1

Unipolar NRZ

Polar NRZ

Polar RZ
Line coding Representation Representation
Scheme of 0 of 1

NRZI

Manchester

Differential
Manchester
Slide Slide Slide Slide Slide
1 3 14,15 17 16
Test your understanding Want to know more…
Introduction Definitions Analogy Lets Sum up (summary)
(questionnaire) (Further Reading)

Interactivity:
Input Try it yourself
Data

 Select the coding scheme


• Uni polar NRZ
• Polar NRZ
• Polar RZ
• NRZI
• Manchester
• Differential Manchester
Digital
Signal
 Enter 11 bit input data
1 Questionnaire
1. What is the Differential Manchester waveform corresponding to
the bit string 1101101
Note: The signal level before the first bit is assumed to be high
2 Answers:
a)

b)

4
5
Questionnaire
1
2. What is the Differential Manchester waveform for the bit string 11100
Note: The signal level to the left of the first bit in the string is low
Answers:
2 1 1 1 0 0
a)

3
b)

4
5
Links for further reading

Reference websites:

Books: “Communication Systems” by Simon Haykin, fourth Edition


“Data and Computer Communications” by William Stallings, eighth Edition

Research papers:
Summary
• Binary data can be transmitted using a number of different types of pulses.
The choice of a particular pair of pulses to represent the symbols 1 and 0 is
called Line Coding.

• Line coding is the process of converting binary data, a sequence of bits to a


digital signal.

You might also like