Docsity

Line Code Encoder, Essays (university) of Programming for Engineers

Toggle sidebar
bg1
1
Faculty of Engineering
Electrical Engineering Department
Communication II Lab (EELE 4170)
Lab#3 Line Code Encoder
Objectives:
1- To understand the theory and applications of line code encoder.
2- To understand the encode theory and circuit structure of NRZ.
3- To understand the encode theory and circuit structure of RZ.
4- To understand the encode theory and circuit structure of Manchester.
Theory:
Line coding is a part of source coding. Before PCM signal is send to modulator, we use certain signal mode
in certain application. The considerations of selecting the digital signal modes to carry the binary data are:
1. types of modulation, 2. types of demodulation, 3. the limitation of bandwidth, and 4. Types of receiver.
Line coding can be divided into two types, which are return-to-zero (RZ) and nonreturn-to-zero (NRZ). RZ
line coding denotes for a single bit time (normally is half of a signal bit time), the waveform will return to
0 V between data pulses. The data stream is shown in figure 1(c). NRZ line coding denotes for a single bit
time, the waveform will not return to 0 V. The data stream is shown in figure 1(a).
As a result of the characteristics of signal, line coding also can be divided into two types, which are
unipolar signal and bipolar signal. Unipolar signal denotes that the signal amplitude varies between a
positive voltage level which are +V and 0 V. The only different between bipolar signal and unipolar signal
is the signal amplitude varies between a positive and a negative voltage level which are +V and -V.
Figure (1) shows different types of line code signals and we will discuss the encoding signals in next
section
pf3
pf4

Partial preview of the text

Download Line Code Encoder and more Essays (university) Programming for Engineers in PDF only on Docsity!

Faculty of Engineering Electrical Engineering Department

Communication II Lab (EELE 4170)

Lab#3 Line Code Encoder

Objectives:

1- To understand the theory and applications of line code encoder. 2- To understand the encode theory and circuit structure of NRZ. 3- To understand the encode theory and circuit structure of RZ. 4- To understand the encode theory and circuit structure of Manchester.

Theory:

Line coding is a part of source coding. Before PCM signal is send to modulator, we use certain signal mode in certain application. The considerations of selecting the digital signal modes to carry the binary data are:

  1. types of modulation, 2. types of demodulation, 3. the limitation of bandwidth, and 4. Types of receiver.

Line coding can be divided into two types, which are return-to-zero (RZ) and nonreturn-to-zero (NRZ). RZ line coding denotes for a single bit time (normally is half of a signal bit time), the waveform will return to 0 V between data pulses. The data stream is shown in figure 1(c). NRZ line coding denotes for a single bit time, the waveform will not return to 0 V. The data stream is shown in figure 1(a).

As a result of the characteristics of signal, line coding also can be divided into two types, which are unipolar signal and bipolar signal. Unipolar signal denotes that the signal amplitude varies between a positive voltage level which are +V and 0 V. The only different between bipolar signal and unipolar signal is the signal amplitude varies between a positive and a negative voltage level which are +V and -V.

Figure (1) shows different types of line code signals and we will discuss the encoding signals in next section

Figure (1) Different types of line code signal waveforms

1) Unipolar Nonreturn โ€“ to-zero Signal Encode (UNI-NRZ)

The data stream of unipolar nonreturn-to-zero (UNI-NRZ) is shown in figure 1(a). From figure 1(a), when the data bit is โ€œ1โ€, the width and the gap between bits of UNI-NRZ are equal to each others; when the data bit is โ€œ0โ€, then the pulse is represented as 0 V. The circuit diagram of UNI-NRZ encoder is shown in figure (2). As a result of the data signal and the NRZ encoder signal are similar, therefore, we only need to add a buffer in front of the circuit.

Figure (2) Circuit diagram of unipolar nonreturn-to-zero encoder.

4) Bipolar Return โ€“ to-zero Signal Encode (BIP-RZ)

The data stream of bipolar return-to-zero (BIP-RZ) is shown in figure 1(d). When the data bit is โ€œ1โ€, the signal amplitude at 1/2 bit time is positive voltage level and the other 1/2 bit time is negative voltage level. When the data bit is โ€œ0โ€, the signal amplitude of the bit time is represented as negative voltage level. Figure (5) is the circuit diagram of BIP-RZ. By comparing the data streams of RZ and BIP-RZ in figure 1-1, we only need a converter to convert the encoding signal from unipolar to bipolar; therefore, we utilize a comparator to design the converter, which can convert the RZ to BIP-RZ signal.

Figure (5) Circuit diagram of bipolar return-to-zero encoder.

5) Manchester Signal Encode.

Manchester signal is also known as split-phase signal. The data stream of Manchester signal is shown in figure 1(e). When the data bit is โ€œ1โ€, the signal amplitude at first 1/2 bit time is positive voltage level and the other 1/2 bit time is negative voltage level. When the data bit is โ€œ0โ€, the signal amplitude at first 1/ bit time is negative voltage level and the other 1/2 bit time is positive voltage level. Figure (6) is the circuit diagram of Manchester signal encoder.

Figure (6) Circuit diagram of Manchester signal encoder.

Practical parts:

Use ETEK DCS-6000-01 module to implement line coding signals (UNI-NRZ), (UNI-RZ), (BIP-RZ), (BIP-NRZ) and Manchester.