411 REFERENCE · Wikipedia
ग्रे कोड
Reference material by Wikipedia contributors. This retains its source identity and is not 411 news reporting.
2-bit Gray code
00
01
11
10 3-bit Gray code
000
001
011
010
110
111
101
100 4-bit Gray code
0000
0001
0011
0010
0110
0111
0101
0100
1100
1101
1111
1110
1010
1011
1001
1000
ग्रे कोड संख्याओं को बाइनरी में कोड करने की एक प्रणाली है। इसका नाम फ्रैंक ग्रे के नाम पर रखा गया है। इसे 'रिफ्लेक्टेड बाइनरी कोड' भी कहते हैं।
इसकी विशेषता है कि दो क्रमिक संख्याओं के ग्रे-कोड में केवल एक बिट भिन्न होगी (शेष सभी बिट दोनों क्रमिक संख्याओं में समान होंगे।)
ऐसी कोडिंग का लाभ इस उदहारण से समझा जायेगा माना की ऑब्जेक्ट ट्रक पर मूव कर रहा है तथा एक से दूसरे पर मूव कर रहा है
बाहरी कड़ियाँ
"Gray Code" demonstration by Michael Schreiber, Wolfram Demonstrations Project (with Mathematica implementation). 2007.
NIST Dictionary of Algorithms and Data Structures: Gray code
Hitch Hiker's Guide to Evolutionary Computation, Q21: What are Gray codes, and why are they used?, including C code to convert between binary and BRGC
Subsets or Combinations Can generate BRGC strings
"The Structure of Single-Track Gray Codes" by Moshe Schwartz, Tuvi Etzion
Single-Track Circuit Codes by Hiltgen, Alain P.; Paterson, Kenneth G.
Dragos A. Harabor uses http://www.ugcs.caltech.edu/~dragos/3DP/coord.html Gray codes in a 3D digitizer 20151122120754.
single-track gray codes, binary chain codes (Lancaster 1994), and linear feedback shift registers are all useful in finding one's absolute position on a single-track rotary encoder (or other position sensor).
Computing Binary Combinatorial Gray Codes Via Exhaustive Search With SAT Solvers by Zinovik, I.; Kroening, D.; Chebiryak, Y.
A Gray code implementation in Python
A very fast gray code implementation in C
AMS Column: Gray codes
Optical Encoder Wheel Generator
ProtoTalk.net - Understanding Quadrature Encoding - Covers quadrature encoding in more detail with a focus on robotic applications
श्रेणी:डेटा प्रेषण
श्रेणी:कोडन