Professional Documents
Culture Documents
MKT2802 Logic Circuits: Mechatronics Engineering Department
MKT2802 Logic Circuits: Mechatronics Engineering Department
Spring : 2021
Digital systems operate at very fast speeds and respond to changes that
occur in the digital inputs. Just as in life, when multiple input conditions are
changing at the same time, the situation can be misinterpreted and cause
an erroneous reaction.
In order to reduce the likelihood of a digital circuit misinterpreting a
changing input, the Gray code has been developed as a way to represent
a sequence of numbers.
The unique aspect of the Gray code is that only one bit ever changes
between two successive numbers in the sequence.
SAME 0
DIFFERENT 1
SAME 0
DIFFERENT 1
In excess-3 coding, digit codes is obtained from their binary equivalent after adding 3.
Thus the code of a decimal 0 is 0011, that of 6 is 1001, etc
0 0000 0011
1 0001 0100
2 0010 0101
3 0011 0110
4 0100 0111
5 0101 1000
6 0110 1001
7 0111 1010
8 1000 1011
9 1001 1100
When this code is received, the parity check circuitry determines that there is only a
single 1 (odd number), when there should be an even number of 1s. Because an
even number of 1s does not appear in the code when it is received, an error is
indicated.
There are some other codes to check whether the transmitted is off error-free;
Hamming code
…