Calculate the minimum number of lines required on the encoder disk if an optical incremental encoder is to be used?

 comp.robotics.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Calculate the minimum number of lines required on the encoder disk if an optical incremental encoder is to be used? RsK 11-06-2006
Posted by RsK on November 6, 2006, 5:48 pm
Please log in for more thread options
A robot control system requires a shaft velocity measurement in the
range 60-3600 rev/min with a resolution of 10%. The handshaking
protocol allows communication to the computer only every 10 ms. I have
to calculate the minimum number of lines required on the encoder disk
if an optical incremental encoder is to be used? Please tell me how to
do? & if you would be able to tell me and flow diagram as well to
understand the system?


Posted by Curt Welch on November 6, 2006, 11:35 pm
Please log in for more thread options
> A robot control system requires a shaft velocity measurement in the
> range 60-3600 rev/min with a resolution of 10%. The handshaking
> protocol allows communication to the computer only every 10 ms. I have
> to calculate the minimum number of lines required on the encoder disk
> if an optical incremental encoder is to be used? Please tell me how to
> do? & if you would be able to tell me and flow diagram as well to
> understand the system?

I can't tell what needs to be done based on what you have written.

The minimum number of lines is 1 which gives you one pulse per revolution
unless there are hidden requirements not made clear to me by what you
wrote.

What is the 10 ms limit for example? Is that how often the system can
check the encoder pulse output? Or, maybe are you building an encoder
which will count pulses and send a report of the number of pulses once
every 10 ms.

If the shaft velocity is to be calculated based on the number of pulses
reported each 10 ms and you need 10% accuracy then that could be used to
determine the minimum number of lines needed. Since the error in the count
is +- 1 pulse per count you would need at least 10 pulses for each 10 ms
window to produce that accuracy. Which means you would need 1000 pulses
per second when the shaft was turning at it's slowest speed. The slow
speed is 1 revolution per second (60 rpm) so you would need a minimum of
1000 lines on the encoder to produce 1 pulse per ms.

Or, you could argue that the average error was +- 1/2 pulse, making the
needed count 500 lines to produce an average error of 10%.

But, if you were producing a device to accurately measure the time between
each encoder pulse, you could calculate a new velocity with each pulse. If
you wanted to be able to produce a new updated shaft velocity value each 10
ms, then you need 100 pulses per second or 100 lines on the encoder wheel.

But if the lines to non-line spacing on the encoder is 50%/50% then you
don't need 100 lines, you only need 50 lines which would give you 100 state
changes.

In short, you didn't tell me enough to know what it is you are really
asking. The answer could be somewhere from 1 to 1000 lines.

--
Curt Welch http://CurtWelch.Com/
curt@kcwc.com http://NewsReader.Com/

Similar ThreadsPosted
Optical shaft encoder question August 30, 2005, 12:17 am
Q: Motor w/optical rotary encoder from an inkjet August 17, 2008, 6:48 am
Algorithm for counting number of lines travelled over December 22, 2005, 8:44 am
Re: The number of Earth revolutions required before a day passes for LORD Almighty GOD. September 17, 2007, 12:08 am
joystick/encoder November 19, 2005, 11:37 pm
Mounting encoder June 19, 2006, 1:55 pm
Encoder suggestion January 29, 2007, 2:20 pm
Rotory encoder chip ? March 10, 2006, 7:35 pm
encoder link might be usefull August 1, 2006, 11:21 am
Motor Encoder emulation February 14, 2007, 3:56 am

The site map in XML format XML site map
other useful resources:
Official Robosapien Website
Lego Mindstorms Website

Contact Us | Privacy Policy