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

Blinker Oscillator Line Coding Experiment

The document outlines an experiment on line coding in data communication, focusing on converting binary sequences into various line codes. It details the objectives, required equipment, theoretical background, and procedures for conducting the experiment using specific modules. Various line codes such as NRZ, RZ, and Manchester are explained, along with their characteristics and applications.

Uploaded by

forduap
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 views3 pages

Blinker Oscillator Line Coding Experiment

The document outlines an experiment on line coding in data communication, focusing on converting binary sequences into various line codes. It details the objectives, required equipment, theoretical background, and procedures for conducting the experiment using specific modules. Various line codes such as NRZ, RZ, and Manchester are explained, along with their characteristics and applications.

Uploaded by

forduap
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

Department of Electronics & Computer Engineering Data Communication

Institute of Engineering EXPERIMENT 3


(Central Campus, Pulchowk)
Line Coding
!
1) Objective

To convert a given Binary Sequence into various forms of Line Codes

2) Equipment Required

1) ED – 2970 A: Data Source Module (1 piece)


2) ED – 2970 B: Data Format Module (1 piece)
3) ED – 2970 M: Power Supply Module (1 piece)
4) Oscilloscope

3) Theory

Information sources that provide digital data deliver numbers that are not suitable for
transmission. The data must be formatted in a proper way to make them suitable for
transmission through a communication channel. Line coding is the process of
converting binary data (a sequence of bits) into voltage pulses that represent the
information. When a pulse is used to represent each bit it is called binary
communication. If a pulse is used to represent multiple bits it is called m-ary
communication.

Desirable properties of a line code:

(a) Error detection capability: The receiver needs to be able to distinguish the
waveform associated with a “high” from the waveform associated with a “low”,
even if there is a considerable amount of noise and distortion in the channel.

(b) DC content: Many telecom channels are AC coupled (DC blocking), so it is


desirable to have zero DC in the waveform produced by a given line code. If a
signal with significant DC content is used in AC coupled lines, it will cause DC
wander (received signal baseline will vary with time). Furthermore, it is not
possible to pass DC through transformers and DC blocking capacitors.

(c) Power Spectrum & Bandwidth: The power spectrum and bandwidth of the
transmitted signal should be matched to the frequency response of the channel to
avoid significant distortion. The bandwidth should be minimized as much as
possible to improve efficiency.

(d) Self-synchronization: The waveform produced by the line code should contain
enough timing information such that the receiver can synchronize with the
transmitter and decode the received signal properly. This can be achieved if there
are transitions in the signal that alert the receiver to the beginning, middle, or end
of the pulse.

Prepared by: Dinesh Baniya Kshatri 1


Lecturer, IoE, Central Campus, Pulchowk!
Department of Electronics & Computer Engineering Data Communication
Institute of Engineering EXPERIMENT 3
(Central Campus, Pulchowk)
Line Coding
!
The following line codes are provided in the Data Format (ED – 2970 B) module:

(1) Non Return to Zero (NRZ)

Bit 1 = Positive voltage for the whole bit interval

Bit 0 = Zero voltage for the whole bit interval

(2) Return to Zero (RZ)

Bit 1 = Positive voltage for 1st half of bit interval, then returns to zero voltage for
2nd half of bit interval

Bit 0 = Zero voltage

(3) Bi-phase (Manchester) – (According to G.E. Thomas)

Bit 1 = High to low transition in the middle of the bit interval

Bit 0 = Low to high transition in the middle of the bit interval

(4) Bipolar NRZ – (As per ED – 2970 B Module)

Bit 1 = Positive voltage for the whole bit interval

Bit 0 = Negative voltage for the whole bit interval

(5) Bipolar RZ – (As per ED – 2970 B Module)

Bit 1 = Positive voltage for 1st half of bit interval, then returns to zero voltage for
2nd half of bit interval

Bit 0 = Negative voltage for 1st half of bit interval, then returns to zero voltage for
2nd half of bit interval

(6) Ternary – (As per ED – 2970 B Module)

Bit 1 = Consecutive ones are represented by an alternating positive and negative


voltage for 1st half of bit interval, then returns to zero voltage for 2nd half of bit
interval

Bit 0 = Zero voltage

Prepared by: Dinesh Baniya Kshatri 2


Lecturer, IoE, Central Campus, Pulchowk!
Department of Electronics & Computer Engineering Data Communication
Institute of Engineering EXPERIMENT 3
(Central Campus, Pulchowk)
Line Coding
!
4) Procedure

(1) Provide power supply to all modules

(2) On the Data Source Module (ED – 2970 A) make the following connections:

(2.1) Connect the 160 KHz output to the “Clock In” socket
(2.2) Place the switch on the “Data Source” position
(2.3) Provide a “Ground” connection

(a) Observe and sketch the bit clock pattern on the oscilloscope. Calculate the bit
interval (Tb) and the transmission rate (Rb) in bits per second (bps). Calculate
the frequency of the bit clock pattern.

(b) Observe and sketch the word clock pattern on the oscilloscope. Calculate the
frequency of the word clock pattern. How is the word clock pattern related to
the bit clock pattern?

(3) Connect the Data Source Module (ED – 2970 A) and the Data Format Module
(ED – 2970 B) together as follows:

(3.1) Connect the “Bit Clock” of ED – 2970A to the “Bit Clock” of ED –


2970B
(3.2) Connect the “Word Clock” of ED – 2970A to the “Word Clock” of ED –
2970B
(3.3) Connect the “NRZ Data” of ED – 2970A to the “NRZ Data” of ED –
2970B
(3.4) Connect the “Ground” of ED – 2970A to the “Ground” of ED – 2970B

(4) Provide the following binary sequence from the Data Source Module (ED – 2970
A) and observe the output of the Bit Clock and the following Line Codes on the
oscilloscope.

Make sketches in your notebook for each case.

Binary Bit NRZ RZ Bi-phase Bipolar Bipolar Ternary


Sequence Clock NRZ RZ
10011001
11100111
10101010
10000001
11111111

Prepared by: Dinesh Baniya Kshatri 3


Lecturer, IoE, Central Campus, Pulchowk!

Common questions

Powered by AI

NRZ line coding represents bit 1 with positive voltage and bit 0 with zero voltage over the entire bit interval. In contrast, Bipolar NRZ assigns positive voltage for bit 1 and negative voltage for bit 0 throughout the bit interval. This bipolar scheme naturally reduces the DC content as the positive and negative voltages offset each other, unlike the unipolar NRZ that could result in DC content, especially with sequences of identical bits .

Different line codes address DC content and synchronization uniquely. For DC content: techniques like the Bipolar codes (Bipolar NRZ, Bipolar RZ) utilize positive, negative, and zero voltages to inherently cancel out DC, whereas RZ and NRZ codes might require additional measures to minimize DC content. For synchronization: Bi-phase (Manchester) inherently includes synchronization as each bit interval has a transition, helping in distinguishing the start and end of a bit. NRZ lacks synchronization transitions within bit intervals and may result in synchronization difficulties, especially with long sequences of 0s or 1s .

The key properties of an efficient line code include error detection capability, minimized DC content, a power spectrum and bandwidth well-matched to the channel, and self-synchronization features. These characteristics ensure reliable and effective data transmission by minimizing the probability of errors, reducing signal baseline variability, maintaining efficient use of bandwidth, and allowing the receiver to accurately decode the signal by synchronizing with the transmitter .

Bipolar RZ line coding helps in error detection through its alternating voltage pattern, which makes it easier to recognize bit errors; a single alteration from positive to negative or vice versa indicates an error. Synchronization is facilitated as each bit interval contains a return to zero voltage, providing consistent timing information, which assists the receiver in distinguishing signal transitions accurately, thus aiding in synchronization with the transmitted signal .

In line coding, bandwidth efficiency is crucial, as a reduced bandwidth minimizes the transmission cost by allowing more data to be transmitted over a given frequency range. The power spectrum of a signal should ideally be matched to the channel's frequency response to prevent distortion. Line coding schemes that can confine their power within the channel’s bandwidth while also minimizing excess DC and noise components optimize the efficiency of the transmission system by maximizing data rates within available bandwidth limits .

Self-synchronization in line codes ensures that enough timing information is embedded in the signal transitions, allowing the receiver to align its clock with the transmitter's signal accurately. This alignment is crucial for the proper demarcation of bit intervals, which in turn helps the receiver decode the signal precisely as intended. Techniques like Manchester coding, which involves transitions in the middle of each bit interval, provide consistent synchronization points, enhancing the receiver's ability to process data efficiently without additional sync signals .

AC coupling in transmission systems blocks DC content, causing signals with significant DC components to experience baseline drift (DC wander), leading to distortion and reduced signal integrity. Line coding strategies like Bipolar (NRZ, RZ) prevent DC content by using positive, negative, and zero voltages to offset DC components. Meanwhile, techniques such as Manchester coding incorporate regular transitions that help in periodic signal reset, promoting self-synchronization and mitigating DC offset issues, thus maintaining signal integrity across AC coupled channels .

The choice of line coding directly impacts how well the signal's power spectrum aligns with the channel's frequency response. A good match ensures that the signal undergoes minimal distortion as it passes through the channel. If the line coding introduces frequencies that the channel cannot effectively handle, it can lead to significant signal degradation. Furthermore, a mismatch may exacerbate synchronization issues and increase the error rate. Thus, selecting line coding that carefully manages both the DC content and bandwidth ensures robust signal quality and reliable communication over the channel .

Line coding serves to convert binary data into voltage pulses suitable for transmission through a communication channel. It ensures that digital data, which is typically in a non-transmission-friendly format, is effectively formatted for communication. The process achieves this by representing binary digits as specific voltage levels, with line codes minimizing issues such as DC content and ensuring synchronization .

Ternary coding typically has a more limited power spectrum as it employs three different signal levels, allowing it to modulate power distribution more gradually. This modulation can limit high-frequency content and thereby reduce bandwidth utilization. In contrast, Manchester coding, with its required mid-bit transitions, results in a broader power spectrum with more energy concentrated at higher frequencies due to these constant transitions. Therefore, Ternary is typically better suited for channels with limited bandwidth, whereas Manchester might require more bandwidth due to its higher frequency components but offers superior synchronization capabilities .

You might also like