answersLogoWhite

0


Best Answer

Due to grey code it is less chance to clamp Wrong....

if something is wrong then due to color code it is identified,,

Presuming the question is about Gray Codes, aka reflected binary code, the primary benefit is that it requires only a single binary digit to change when incrementing or decrementing a binary number.

That is, the Grey Code representation of X (base 10) has N binary digits in it. The Grey Code representation of either X-1 or X+1 requires only a single binary digit to change, out of the N digits which make up the number. Normal binary code can require up to all N digits to change when adding or subtracting a single increment.

The advantage here is cleanliness, in particular for mechanical and electrical circuits. Since it is impossible to absolutely synchronize change of digits, in a normal binary representation of a number, incrementing or decrementing it can leave the number in a variety of intermediary states, of which an outside observer cannot tell which is correct. This can cause all sorts of problems when constructing working devices, that otherwise appear to be perfectly designed in the abstract.

For a better explanation of the mechanics and usefulness of Gray Code, look at the Wikipedia article below.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

9y ago

Gray codes are commonly found in analog to digital conversion processors. As a simple example, consider the stadiometer typically found in doctor's surgeries to measure a patient's height while standing. The analog version (typically) consists of a vertical scale with 1 mm incremental markings from 20 cm to 220 cm, with a slider that can move up and down the scale. When the doctor measures your height, he moves the slider down until it touches your head and takes a reading from the scale. The slider will probably land somewhere between two increment marks but that's good enough for the purpose of measuring one's standing height to within a 1 mm tolerance. Indeed, with an imperial scale, half-an-inch tolerance would be considered more than adequate.

With the digital version, however, the slider contains a photo-sensor that can read incremental bit patterns directly off the scale, thus converting the analog data (the height of the slider from the ground) into digital data (a binary value). The digital readout needs to update in real time, thus every time a change occurs in our binary value we want that change immediately reflected in our readout.

The problem is that most of the time the photo-sensor will be reading two bit patterns simultaneously. Very rarely will it land precisely on a single mark so our binary value will be in a transitional state most of the time. To make matters worse, we also cannot guarantee that all the bits in our binary value will be updated simultaneously. During a transition from one pattern to the next, we might only get a partial update, leading to an erroneous readout.

While we could resolve the problem simply by throwing money at it (more accurate sensors, smaller increments, precision engineering, and so on), do keep in mind that we're attempting to fix something that was never actually broken to begin with. Analog stadiometers are perfectly adequate for measuring one's height.

The solution, of course, is to use Gray codes rather than natural binary values in our bit patterns. With Gray codes, we can guarantee that during a transition in either direction, only 1 bit will change. In this way we can keep the digital readout in perfect sync with the analog height, to within a tolerance of 1 mm.

Analog to digital conversion is really just an example of two domains running at different frequencies thus you will find Gray code cropping up wherever clocks or counters need to be reliably passed between two such domains, or where "off-by-one-bit" is an acceptable tolerance. This also includes error detection where Gray codes can be combined with forward error detection algorithms to resolve single bit errors. Gray codes can also be used to solve sequential mechanical problems (like tower of Hannoy) and for implementing mechanical position encoders.

. Error correction is another Modern computers are full of devices running at different clock rates and Gray codes are one of the simplest methods of ensuring that a value that crosses clock domains is not in a transitional state or to provide a means of error correction where "off-by-one-bit" is an acceptable tolerance. Gray codes can also be used to solve

This answer is:
User Avatar

User Avatar

Wiki User

10y ago

The reflected binary code, also known as Gray code after Frank Gray, is a binary numeral system where two successive values differ in only one bit (binary digit). The reflected binary code was originally designed to prevent spurious output from electro mechanical switches. Today, Gray codes are widely used to facilitate error correction in digital communications such as digital terrestrial television and some cable TV systems.

This answer is:
User Avatar

User Avatar

Wiki User

7y ago

There is no disadvantage as such, unless you happen to be using Gray code for an application where Gray code is not a requirement in which case the conversion to or from Gray code would have a negative impact upon overall performance.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the characteristics of gray code?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the disadvantages of Gray code?

Gray Code is Reflective Binary code. One of the main disadvantages of Gray code is that it is very difficult to come up with an arithmetic logic unit to support Gray code.


What is the most important characteristic of Gray code Prepare a table showing the 4 bit Gray code Explain the rule for conversion of Binary number to Gray code?

characteristic of Gray code


Does special gray code property have any value?

The Gray Code is a type of binary code developed by a programmer named Frank Gray. Gray code is a binary numeral system that differ than normal binary code, and is used widely to detect errors in software.


What is the airport code for Gray Army Airfield?

The airport code for Gray Army Airfield is GRF.


When was The Code of Marcia Gray created?

The Code of Marcia Gray was created on 1916-03-16.


Which is the minimal error code in computers?

Gray code


How do you convert excess-3 to gray code?

help PLA use convert excess-3 to gray code


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 gray matter code?

qghq


What are the release dates for The Code of Marcia Gray - 1916?

The Code of Marcia Gray - 1916 was released on: USA: 16 March 1916


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 are the physical characteristics of the wolf?

they can be black to white to gray hahahaha treated