Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Description of grey code and folded binary code

Status
Not open for further replies.

rizwanspirit

Member level 4
Joined
Feb 22, 2008
Messages
74
Helped
4
Reputation
8
Reaction score
1
Trophy points
1,288
Activity points
1,791
any one please give me a short discription of "grey code" and "folded binary code"
with their table
 

Re: codes

in gray code:
one bit changes from one entry to the next:

Gray codes are particularly useful in mechanical encoders since a slight change in position only affects one bit. Using a typical binary code, up to n bits could change, and slight misalignments between reading elements could cause wildly incorrect readings.

below is 4 bit grey code.. you can notice only one bit is changing..from 0 to 1 or vice versa

0000
0001
0011
0010
0110
0111
0101
0100
1100
1101
1111
1110
1010
1011
1001
1000

for more info you can go through this link

https://en.wikipedia.org/wiki/Gray_code
 

    rizwanspirit

    Points: 2
    Helpful Answer Positive Rating
Re: codes

thanks, can you please give me information about folded binary code likewise.
 

Re: codes

For different codes there is difference only in one bit
 

Re: codes

folded binary code is also called
Symmetrical code and reflected binary code
in this code most significant bit gives polarity information

below fig compares all three code..
natural
folded
gray
11_1205143561.jpg


In folded u can upper half is exactly mirror of lower half
thats why its called
folded binary code
Symmetrical code
or
Reflected binary code
 

    rizwanspirit

    Points: 2
    Helpful Answer Positive Rating
Re: codes

Thanks nikhilele
The figure is also informative can u post its code, like u have posted for gray code
 

codes

you can make code by ur own replace crossed box by zeros and empty box by 1...
in folded binary code picture..
 

Re: codes

hi
as you know in gray code every value differs from the next only in one bit.
for example a binery value must change from 0111 to 1000.if one bit changes slower than the others a middle-value 1001 is created which may be undesireable.this problem may not accure when gray codes are using because only one bit have to change.

Added after 7 minutes:

hi
as you know in gray code every value differs from the next only in one bit.
for example a binery value must change from 0111 to 1000.if one bit changes slower than the others a middle-value 1001 is created which may be undesireable.this problem may not accure when gray codes are using because only one bit have to change.
 

    rizwanspirit

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top