answersLogoWhite

0


Best Answer

Gray Code is known as reflected binary code (RBC) because Frank Gray's 1947 patent application contained the following paragraph:

The binary code with which the present invention deal may take various forms, all of which have the property that the symbol (or pulse group) representing each number (or signal amplitude) differs from the ones representing the next lower or next higher number (or signal amplitude) in only one digit (or pulse position). Because this code in its primary form may be built up from the conventional binary code by a sort of reflection process and because other forms may in turn be built up from the primary form in similar fashion, the code in question, which has as yet no recognized name, is designated in this specification and in the claims as the "reflective binary code."

What he meant by this "reflection process" is that any n-bit RBC sequence could be generated recursively by reflecting the n-1 RBC sequence for all n>0. The minimum RBC sequence is n=1:

0, 1

To generate the n=2 sequence, we reflect the n=1 sequence which simply reverses it:

1, 0

We then prefix the original n=1 sequence with a 0 bit and prefix the reflected sequence with a 1 bit:

00, 01 11,10

Finally, we concatenate these two sequences to produce the n=2 sequence:

00, 01, 11, 10

Note that this sequence represents the decimal sequence 0, 1, 2, 3, and not 0, 1, 3, 2 as per conventional binary notation.

Repeating the process with the n=2 sequence we can produce the n=3 sequence, then the n=4 sequence, and so on, for as many bits as we require.

Note that the sequence is cyclic. The final binary value for any given sequence differs from the first by only one digit (as is common throughout the sequence), thus when we reach the end of an RBC sequence we can simply start over again. This led to RBC becoming known as a "cyclic permutation code" in a 1953 patent. Other names for RBC include "minimum error code" and "the Bell Telephone Gray Code", a reference to Frank Gray's research work at Bell Labs. Today, the term Gray Code almost always refers to Reflected Binary Gray Code, or RBGC, as per Gray's original patent.

We can easily convert any conventional binary value to its RBGC equivalent such that:

rbgc(n) = n ^ (n >> 1)

>> is bitwise right shift and ^ is bitwise exclusive or.

For the decimal value 40 (binary 101000) we find:

101000 ^ (101000 >> 1) = 101000 ^ 010100 = 111100

Thus RBGC (101000) is 111100.

RBGC is typically used wherever we have a sequence of consecutive values and need to represent them in such a way that when we access a value mid-transition, we know that any read error can only be one value up or down from what it should be. For instance, without RGBC, the transition from 3 to 4 would result in 3 bits changing simultaneously (011 to 100), however with mechanical representations, there may be a small but significant delay in the bit transitions so we might read 000, 001, 010, 011, 100, 101, 110 or 110, depending on which bit changes first and at what stage in the transition we read the value. The more bits that change, the greater the range of errors we might encounter. But with RBGC, we guarantee that during the transition phase from 3 to 4 we either read a 3 or we read a 4 because only 1 bit can ever be in transition.

User Avatar

Wiki User

βˆ™ 8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why the gray code is also known as the reflected binary code?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What are Reflected codes?

a modified binary code in which sequential binary numbers are represented by expressions that differ only in one bit, to minimize errors.


What is the difference between binary code and extendible binary code?

There is no such thing as extendible (sic) binary code. However, there are two known variants: eXtendable Binary (XB) is a universal file format used for serialising binary trees. Extended Binary Coded Decimal Interchange Code (EBCDIC) was an 8-bit character encoding used by IBM in the 1960's. It's a non-standard encoding that was used by IBM prior to them switching to ASCII peripherals.


Gray code of 111 is?

Gray code is a 'reflected code', why is it named so will be illustrated soon. The advantage of Gray code over binary code is that only one bit in the code group changes when going from one number to the next. By, Ashish Kumar (Roh, Nawada, Bihar)


What is the decimal binary code for 30?

Decimal 30 = binary 11110. The decimal binary code (BCD), however, is 11 0000.


What is 356 in binary code?

356 in binary is101100100

Related questions

What is binary cyclic code?

The reflected binary code, also known as Gray codeafter Frank Gray, is a binary numeral system where two successive values differ in only one bit.Here is an example of a 4-bit Gray code:0000000100110010011001110101010011001101111111101010101110011000


What is the other name for binary code?

it is also known as machine code


Machine language is also known as?

Machine code.


What are Reflected codes?

a modified binary code in which sequential binary numbers are represented by expressions that differ only in one bit, to minimize errors.


What is a computer word known as?

Binary code


What is the binary code for 01001011?

That IS the binary code.


How is data inputted into the tablet?

The electricity pulse represent a binary code which can be read by the tablet. Also the binary code can be transmitted by wireless signals.


What is the name of the system of zeros and ones that computer use to communicate?

It is known as the binary code.


Who created the binary code?

Gottfried Leibniz created the binary code in 1679. Leibniz contributed greatly to both mathematics and philosophy. He also discovered calculus.


What is -33 in binary code?

00100001 is the binary code for 33


What is the difference between binary code and extendible binary code?

There is no such thing as extendible (sic) binary code. However, there are two known variants: eXtendable Binary (XB) is a universal file format used for serialising binary trees. Extended Binary Coded Decimal Interchange Code (EBCDIC) was an 8-bit character encoding used by IBM in the 1960's. It's a non-standard encoding that was used by IBM prior to them switching to ASCII peripherals.


What is binary language?

Binary is made up of 0's and 1's. Binary can also be called Machine Code. Binary is the 'language' that the computer understands.