Line Code Decoder
Line Code Decoder
Line Code Decoder
2.
3.
4.
5.
Line code signal has the advantage of sufficient timing information, which can make the bit
synchronizer catches the timing or pulse signal accurately to achieve selfsynchronization.
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).
The communication system has the ability of error detection or correction by adding the
channel encoding and decoding to the line code signal.
(4) Transparency
By setting the line code signal and data protocol, we can receive any data sequence
accurately.
Figure 2-1 shows different types of line code signal waveforms and we will discuss the
decoding signals in next section.
Figure 2-2 shows the circuit diagram of unipolar nonreturn-to-zero (UNI-NRZ) decoder.
From figure 2-1, we notice that the waveforms between UNI-NRZ signal and data 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.
passing through a differentiator which is comprised by C 2 and R2, the output will be transformed
to pulse wave which is used for "R" terminal of RS flip-flop as shown in TP1 and TP3 of figure
2-5. UNI-RZ signal will pass through a capacitor to the "S" terminal of RS flip-flop, as shown in
TP2 of figure 2-5. Finally by sending both UNI-RZ and clock signals into the RS flip-flop, we
can recover the original input data signal.
4.
5.
Using the UNI-NRZ encode circuit as shown in figure 19-2 of chapter 19 or refer to figure
DCT 1-1 on GOTT DCT-6000-01 module to produce the UNI-NRZ signal.
2.
To implement a UNI-NRZ decode circuit as shown in figure 2-2 or refer to figure DCT2-1
on GOTT DCT-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 DCT1-1. Then connect the UNI-NRZ 0/P of figure DCT11 to the
UNI-NRZ I/P of figure DCT2-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.
Using the BIP-NRZ encode circuit as shown in figure 19-3 of chapter 19 or refer to figure DCT11 on GOTT DCT-6000-01 module to produce the BIP-NRZ signal.
2.
To implement a BIP-NRZ decode circuit as shown in figure 2-3 or refer to figure DCT2-1 on
GOTT DCT-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 DCT1-1. Then connect the B1P-NRZ O/P of figure DCT1-1 to the BIP-NRZ I/P
of figure DCT2-1. Next observe on the output waveform by using oscilloscope and record the
measured results in table 2-2.
4.
According to the input signals in table 2-2, repeat step 3 and record the measured results in table
2-2.
CLK I/P of figure DCT 1-2, as well as CLK at the left bottom and CLK I/P of figure DCT2-2.
After that connect the Data O/P at the left bottom to the Data
I/P in figure DCT1-2. Then connect the UNI-RZ O/P of figure DCT 1-2 to the UNI-RZ I/P of
figure DCT2-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.
5. Setting the frequency of function generator to 2 kHz TTL signal and connect this signal to the
CLK I/P in figure DCT1-2. Then setting another frequency of function generator to 1 kHz TTL
signal and connect this signal to the Data I/P in figure DCT1-2. Next connect the UNI-RZ O/P of
DCT1-2 to UNI-RZ I/P of DCT2-2. Then observe the waveforms of UNI-RZ O/P, TP1, TP2, TP3,
TP4 and Data I/P by using oscilloscope, then record the measured results in table 2-4.
6.
According to the input signals in table 2-4, repeat step 5 and record the measured results in table 2-4.
Experiment 2-2: Bipolar RZ signal decode
1.
Using the BIP-RZ encode circuit as shown in figure 19-5 of chapter 19 or refer to
figure DCT1-2 on GOTT DCT-6000-01 module to produce the BIP-RZ signal.
2.
3.
Setting the frequency of function generator to 2 kHz TTL signal, then connect this
signal to the CLK I/P of figure DCT 1-2, as well as CLK at the left bottom and CLK
I/P of figure DCT2-2. After that connect the Data O/P at the left bottom to the Data I/P
in figure DCT 1-2. Then connect the BIP-RZ O/P of figure DCT1-2 to the BIP-RZ I/P
of figure DCT2-2. Next observe on the waveforms of BIP-RZ I/P, TP1, TP2, TP3, TP4
and Data O/P by using oscilloscope. Finally record the measured results in table 2-5.
4.
According to the input signals in table 2-5, repeat step 3 and record the measured
results in table 2-5.
5.
Setting the frequency of function generator to 2 kHz TTL signal and connect this
signal to the CLK I/P in figure DCT1-2. Then setting another frequency of function
generator to 1 kHz TTL signal and connect this signal to the Data I/P in figure DCT12. Next connect the BIP-RZ O/P of DCT 1-2 to BIP-RZ I/P of DCT2-2. Then observe
on the waveforms of BIP-RZ I/P, TP1, TP2, TP3, TP4 and Data O/P by using
oscilloscope, then record the measured results in table 2-6.
6.
According to the input signals in table 2-6, repeat step 5 and record the measured
results in table 2-6.
CLK I/P of figure DCT 1-3, as well as CLK at the left bottom and CLK I/P of figure DCT2-3.
After that connect the Data O/P at the left bottom to the Data I/P in figure DCT1-3. Then connect
the AMI O/P of figure DCT1-3 to the AMI I/P of figure DCT2-3. Next observe on the waveforms
of AMI I/P, TP1, TP2, TP3, TP4, TP5, TP6 and Data O/P by using oscilloscope. Finally record the
measured results in table 2-7.
4. According to the input signals in table 2-7, repeat step 3 and record the measured results in table
2-7.
5. Setting the frequency of function generator to 2 kHz TTL signal and connect this signal to the
CLK I/P in figure DCT1-3. Then setting another frequency of function generator to 1 kHz TTL
signal and connect this signal to the Data I/P in figure DCT1-3. Next connect the AMI O/P of
DCT1-3 to AMI I/P of DCT2-3. Then observe on the waveforms of AMI I/P, TP1, TP2, TP3, TP4,
TP5, TP6 and Data O/P by using oscilloscope, then record the measured results in table 2-8.
6. According to the input signals in table 2-8, repeat step 5 and record the measured results in table
2-8.
figure DCT 1-4 on GOTT DCT-6000-01 module to produce the Manchester signal.
2. To implement a Manchester decode circuit as shown in figure 2-7 or refer to figure DCT2-
the CLK I/P of figure DCT1-4, as well as CLK at the left bottom and CLK I/P of figure
DCT2-4. After that connect the Data O/P at the left bottom to the Data I/P in figure DCT14. Then connect the Manchester O/P of figure DCT 1-4 to the Manchester I/P of figure
DCT2-4. Next observe on the waveforms of Manchester I/P, TP1 and Data O/P by using
oscilloscope. Finally record the measured results in table 2-9.
4. According to the input signals in table 2-9, repeat step 3 and record the measured results in
table 2-9.
5. Setting the frequency of function generator to 2 kHz TTL signal and connect this signal to
the CLK I/P in figure DCT1-4. Then setting another frequency of function generator to 1
kHz TTL signal and connect this signal to the Data I/P in figure DCT1-4. Next connect the
Manchester O/P of DCT1-4 to Manchester I/P of DCT2-4. Then observe the waveforms of
Manchester I/P, TP1 and Data O/P by using oscilloscope, then record the measured results
in table 2-10.
6. According to the input signals in table 2-10, repeat step 5 and record the measured results
in table 2-10.
UNI-NRZ I/P
(Data I/P)
1 kHz
2 kHz
4 kHz
Data O/P
Input
Signal
Frequencie
s
BIP-NRZ I/P
Data O/P
(Data I/P)
1 kHz
2 kHz
4 kHz
TEST
POINT
OUTPUT
WAVEFORMS
TEST
POINT
OUTPUT
WAVEFORMS
UNI-RZ
I/P
TP1
TP2
TP3
TP4
Data O/P
TEST
POINT
OUTPUT
WAVEFORMS
TEST
POINT
OUTPUT
WAVEFORMS
UNI-RZ
I/P
TP1
TP2
TP3
TP4
Data O/P
TEST
POINT
UNI-RZ
OUTPUT
WAVEFORMS
TEST
POINT
fCLK = 2 kHz )
OUTPUT
WAVEFORMS
I/P
TP1
TP2
TP3
TP4
Data O/P
Table 2-
OUTPUT
WAVEFORMS
fCLK = 3 kHz )
TEST
POINT
UNI-RZ
I/P
TP1
TP2
TP3
OUTPUT
WAVEFORMS
Table 2-
TP4
Data O/P
OUTPUT
WAVEFORMS
TEST
POINT
BIP-RZ
I/P
TP1
OUTPUT
WAVEFORMS
Table 2-
TP2
TP3
TP4
Data O/P
BIP-RZ
OUTPUT
WAVEFORMS
TEST
POINT
OUTPUT
WAVEFORMS
Table 2-
I/P
TP1
TP2
TP3
TP4
Data O/P
OUTPUT
WAVEFORMS
TEST
POINT
OUTPUT
WAVEFORMS
Table 2-
BIP-RZ
I/P
TP1
TP2
TP3
TP4
Data O/P
Table 2-
TEST
POINT
OUTPUT
WAVEFORMS
TEST
POINT
BIP-RZ
I/P
TP1
TP2
TP3
TP4
Data O/P
-7
OUTPUT
WAVEFORMS
Table 2-
( fCLK = 100 Hz )
TEST
POINT
AMI I/P
TP2
OUTPUT
WAVEFORMS
TEST
POINT
TP1
TP3
OUTPUT
WAVEFORMS
Table 2-
TP4
Data O/P
-7
( fCLK = 500 Hz )
TEST
POINT
AMI I/P
OUTPUT
WAVEFORMS
TEST
POINT
TP1
OUTPUT
WAVEFORMS
Table 2-
TP2
TP3
TP4
Data O/P
-8
( fCLK = 1 kHz
TEST
POINT
OUTPUT
WAVEFORMS
fCLK = 2 kHz )
TEST
POINT
OUTPUT
WAVEFORMS
Table 2-
AMI I/P
TP1
TP2
TP3
TP4
Data O/P
-8
( fCLK = 1.5 kHz
fCLK = 3 kHz )
Table 2-
TEST
POINT
AMI I/P
OUTPUT
WAVEFORMS
TEST
POINT
TP1
TP2
TP3
TP4
Data O/P
OUTPUT
WAVEFORMS
Table 2-
-9 Measured results of
Manchester signal
decode.
Input
Signal
Frequencie
s
(CLK I/P)
2 kHz
5 kHz
TP1
Data
O/P
Table 2-
7 kHz
CLK
Data
Manchester
I/P
I/P
I/P
2 kHz
1 kHz
TP1
Data O/P
Table 2-
3 kHz
1.5
kHz
8 kHz
4 kHz
Table 2-