Subject:
|
Gray code vs. Binary
|
Newsgroups:
|
lugnet.technic
|
Date:
|
Thu, 20 Oct 2005 18:26:39 GMT
|
Viewed:
|
3719 times
|
| |
| |
To all those pneumatic gurus.....
The classic pneumatic timing circuit made with one switch per piston changes
state following gray code (i.e. only one piston changes at a time). This means
that a two piston timer goes through these states:
00-10-11-10 vs. a binary sequence of:
00-01-10-11
For three pistons we get
000-100-110-111-011-001 a sequence length of 6 vs. binary that gets this:
000-001-010-011-100-101-110-111 a seqeunce of length 8.
To get a gray code of length 8 takes four pistons:
0000-1000-1100-1110-1111-0111-0011-0001
Has anyone spent time creating a binary sequencer for two or more pistons? I
have not, and could use one if it was cheaper than gray code, either in time or
in parts.
Kevin
|
|
Message has 1 Reply: | | Re: Gray code vs. Binary
|
| (...) Hi Kev, I think the cheapest way to do 3 or 4-bit binary with pneumatics would be to use gray code and convert it. Gray code always changes the least significant bit possible in order to achieve a change to a new state, so there will always be (...) (19 years ago, 20-Oct-05, to lugnet.technic)
|
4 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|