0% found this document useful (0 votes)
8 views8 pages

Sudip DC 6

The report details a laboratory exercise on line coding techniques for data communication, supervised by Ashim Khadka and prepared by Sudip Shrestha. It covers various line coding schemes including Unipolar, Polar, Bipolar AMI, and Manchester, highlighting their advantages and disadvantages. The implementation was conducted using MATLAB, emphasizing the importance of these techniques for reliable data transmission.

Uploaded by

Sonu Sah
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)
8 views8 pages

Sudip DC 6

The report details a laboratory exercise on line coding techniques for data communication, supervised by Ashim Khadka and prepared by Sudip Shrestha. It covers various line coding schemes including Unipolar, Polar, Bipolar AMI, and Manchester, highlighting their advantages and disadvantages. The implementation was conducted using MATLAB, emphasizing the importance of these techniques for reliable data transmission.

Uploaded by

Sonu Sah
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/ 8

Nepal College of Information Technology

Balkumari, Lalitpur

BECE, 3rd Semester

Data Communication Laboratory Report

Supervised By: Prepared By:


Ashim Khadka Sudip Shrestha
Roll No: 44

Submission Date: JAN 19


Lab Reports Overview

S.N. Lab Topic Date Remarks


4 TDM & FDM JAN 19
5 Line Coding JAN 19

Problem Statement
Develop a program to apply line coding techniques to binary data using Unipolar, Polar NRZ,
Polar RZ, Bipolar AMI, and Manchester Coding schemes.

1
1 Conceptual Background
Data communication is the process of transmitting information over different channels. To
ensure reliable and efficient transmission, encoding the data into appropriate formats becomes
crucial. This laboratory exercise revolves around the use of line coding techniques, which
transform binary data for transmission over various media.

Types of Line Coding:


• Unipolar NRZ (Non-Return-to-Zero):
– 1: A binary ’1’ is represented by a positive voltage.
– 0: A binary ’0’ is represented by a zero voltage.
– Pros: Simple and straightforward to implement.
– Cons: It carries a DC component and has no inherent synchronization.
• Unipolar RZ (Return-to-Zero):
– 1: A binary ’1’ is represented by a high voltage, but it returns to zero in the middle
of the bit period.
– 0: A binary ’0’ is represented by zero voltage for the entire bit duration.
– Pros: Improves synchronization when compared to NRZ.
– Cons: Uses more bandwidth due to additional transitions.
• Polar NRZ (Non-Return-to-Zero):
– 1: A binary ’1’ is represented by a positive voltage.
– 0: A binary ’0’ is represented by a negative voltage.
– Pros: Eliminates the DC component, unlike Unipolar NRZ.
– Cons: Lacks synchronization between the transmitter and receiver.
• Polar RZ (Return-to-Zero):
– 1: A binary ’1’ is represented by a positive voltage that returns to zero halfway
through the bit period.
– 0: A binary ’0’ is represented by a negative voltage, returning to zero midway
through the bit period.
– Pros: Enhances synchronization over Polar NRZ.
– Cons: Requires additional bandwidth due to the return-to-zero transitions.
• Bipolar AMI (Alternate Mark Inversion):
– 0: A binary ’0’ is represented by zero voltage.
– 1: A binary ’1’ alternates between positive and negative voltages.
– Pros: Reduces DC bias and provides easier error detection.
– Additional Benefit: Prevents long periods of constant voltage due to alternating
’1’s.
• Manchester Encoding:

2
– 1: A binary ’1’ is indicated by a transition from low to high voltage during the bit
period.
– 0: A binary ’0’ is indicated by a transition from high to low voltage during the bit
period.
– Pros: Self-synchronizing, as each bit involves a transition.
– Cons: Requires double the bandwidth compared to NRZ and RZ formats.

Significance of Line Coding:


Line coding plays a vital role in ensuring that binary data is accurately transmitted over physical
media. Properly selecting the most suitable line coding scheme can:
• Ensure better synchronization between the transmitter and the receiver.
• Minimize transmission errors by maintaining signal balance.
• Efficiently utilize available bandwidth by reducing unnecessary transitions.
• Ensure that the transmission format is compatible with the underlying medium.

3
2 Implementation

4
5
The resulting graphs are displayed below:

6
3 Conclusion
In this lab, I explored different line coding techniques and implemented them using MAT-
LAB. I analyzed the behavior of various encoding schemes such as Unipolar, Polar, Bipolar
AMI, and Manchester. These coding schemes are crucial in digital communication systems for
ensuring reliable and efficient data transmission.

You might also like