Re: Quadrature Counting
- Subject: Re: Quadrature Counting
- From: Jon Elson <elson-at-pico-systems.com>
- Date: Sun, 22 Dec 2002 01:16:18 -0600
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii; format=flowed
- Organization: Pico Systems
- References: <BA29E0E2.FFB%dengvall-at-charter.net>
- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
>
>
>On 12/21/02 1:43 AM, "Adam Hunt" <adam.r.hunt-at-gmx.net> wrote:
>
>
>
>>I was wondering about the logic used to count a quadrature signal
>>(encoder). It seems that I was told one time that such a signal is 2 bit
>>gray code. I would guess that a simple state machine would be used.
>>
>>
Yes, that is exactly right. A state machine with 4 states does it. You
can add a little more fancy
stuff to filter noisy signals from the encoder. A pair of signals in
quadrature is identical to
a 2-bit Gray code.
Jon
Date Index |
Thread Index |
Back to archive index |
Back to Mailing List Page
Problems or questions? Contact