Subject:
|
Re: Gray code vs. Binary
|
Newsgroups:
|
lugnet.technic
|
Date:
|
Thu, 20 Oct 2005 22:00:23 GMT
|
Viewed:
|
3732 times
|
| |
| |
In lugnet.technic, Mark Bellis wrote:
> In lugnet.technic, Kevin L. Clague wrote:
> > 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
>
> 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
> 2^n states, just like binary.
Hi Mark,
You are right. I've had the wrong term in my head all this time. Gray code
is not what I was thinking about I guess...... I'll have to go study Gray code
better, and then study your descriptions. Man I wish you had a scanner and
could share drawings.
I hate perceiving circuits through netlists :^)
I'm going to see if I can make my problem work with Gray and skip the binary
part. I was looking for a mechanism of using three piston to get 8 states,
instead of six. Interesting ponderance.
Thanks!
Kev
|
|
Message has 1 Reply: | | Re: Gray code vs. Binary
|
| (...) Haha! I've found a better way to do it, and a better drawing :-) Take my Pick and Place robot circuit: (URL) out the Elbow pistons and switch and connect the Elbow piston inputs to the Wrist piston instead (effectively draw the horozontal (...) (19 years ago, 20-Oct-05, to lugnet.technic)
|
Message is in Reply To:
| | 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
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|