Line Code Decoder
Line Code Decoder
Experiment # (2)
Experiment Objectives:
1. 2. 3. 4. 5. To understand the theory and applications of line code decoder. To understand the decode theory and circuit structure of NRZ. To understand the decode theory and circuit structure of RZ. To understand the decode theory and circuit structure of AMI. To understand the decode theory and circuit structure of Manchester.
Experiment theory:
For digital transmission system, the advantages of the applications of line codes are as follow: Self-synchronization: Line code signal has the advantage of sufficient timing information, which can make the bit synchronizer catches the timing or pulses signal accurately to achieve self-synchronization. Low bit error rate: Digital signal can be recovered by comparator, which can reduce the interference of noise and bit error rate. Besides we can also add a suitable device such as match filter at the receiver to reduce the affection of intersymbol interference (ISI). Error detection capability The communication system has the ability of error detection ot correction by adding the channel encoding and decoding to the line code signal. Transparency By setting the line code signal and data protocol, we can receive any data sequence accurately. In this experiment, we will discuss the decoding signals for the different types of line code signal waveforms taken before.
signal are similar to each other. Therefore, we only need to add a buffer in front of the decoder circuit, which can recover the original input data signal.
Experiment items:
Experiment 1: Unipolar and bipolar NRZ signal decode Experiment 1-1: Unipolar NRZ signal decode
1. Refer to figure DCS1-1 on ETEK DCS-6000-01 module to produce the UNI-NRZ signal. 2. To implement a unipolar NRZ decode circuit as shown in figure 2-1 or refer to figure DCS2-1 on ETEK DCS-6000-01 module. 3. Setting the frequency of function generator to 1 kHz TTL signal and connect this signal to the Data I/P of figure DCS1-1. Then connect the UNI-NRZ O/P of figure DCS1-1 to the UNI-NRZ I/P of figure DCS2-1. Next observe on the output waveform by using oscilloscope and record the measured results in table 2-1. 4. According to the input signals in table 2-1, repeat step 3 and record the measured results in table 2-1.
Experiment 2: Unipolar and bipolar RZ signal decode Experiment 2-1: Unipolar RZ signal decode
1. Refer to figure DCS1-2 on ETEK DCS-6000-01 module to produce the UNI-RZ signal. 2. To implement a unipolar RZ signal decode circuit as shown in figure 2-3 or refer to figure DCS2-2 on ETEK DCS-6000-01 module. 3. Setting the frequency of function generator to 1 kHz TTL signal and connect this signal to the CLK I/P of figure DCS1-2, as well as CLK at the left bottom and CLK I/P of figure DCS2-2. After that connect the data O/P at the left bottom to the data I/P in figure DCS1-2. Then connect the UNI-RZ O/P of figure DCS1-2 to the UNI-RZ I/P of figure DCS2-2. Next observe on the waveforms of UNI-RZ I/P, TP1, TP2, TP3, TP4 and Data O/P by using oscilloscope, finally record the measured results in table 2-3. 4. According to the input signals in table 2-3, repeat step 3 and record the measured results in table 2-3.
Measured results:
Table 2-1 measured results of UNI-NRZ signal decode Input Signal Frequencies (Data I/P) Output signal waveforms UNI-NRZ I/P Data O/P
1 kHz
2 kHz
Table 2-2 Measured results of BIP-NRZ signal decode Input Signal Frequencies (Data I/P) Output signal waveforms BIP-NRZ I/P Data O/P
1 kHz
2 kHz
Table 2-3 Measured results of UNI-RZ signal decode (fCLK = 1 kHz) Test Point Output waveforms Test Point Output waveforms
UNI-RZ I/P
TP1
TP2
TP3
TP4
Data O/P
Table 2-4 Measured results of BIP-RZ signal decode (fCLK = 2 kHz) Test Point Output waveforms Test Point Output waveforms
BIP-RZ I/P
TP1
TP2
TP3
TP4
Data O/P
Table 2-5 Measured results of AMI signal decode (fCLK = 100 Hz) Test Point Output waveforms Test Point Output waveforms
AMI I/P
TP1
TP2
TP3
TP4
TP5
TP6
Data O/P
10
Table 2-6 Measured results of Manchester signal decode Input Signal Frequencies (CLK I/P) Output signal waveforms Manchester I/P TP1 Data O/P
2 kHz
5 kHz
11