


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



Faculty of Engineering Electrical Engineering Department
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.
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:
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
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.
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.
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.
Use ETEK DCS-6000-01 module to implement line coding signals (UNI-NRZ), (UNI-RZ), (BIP-RZ), (BIP-NRZ) and Manchester.