« Tech Support: Reading back a program | Main | Upgraded CC has analog »

Tech Support: Motor speed

Karl queried:

I'm working on a project where I need to control a motor, based on the feedback from an quadrature encoder.

I'm trying to do on the fly speed calculations of the encoder but can't get my head around how to do speed calculations as I need to know the time constant between pulse readings.

Any suggestions ?

A quadrature encoder is intended to determining distance and direction rather than speed. For speed use a regular counting input (OBCA or OBCB depending on frequency) and read the number of pulses on A or B over 100mS or 1S.

Corollary: For speed (only) you only need a simple single channel incremental encoder (or tacho encoder), though I think that these days most incremental encoders do have quadrature outputs.

TrackBack

TrackBack URL for this entry:
http://www.splatco.com/cgi-sys/cgiwrap/microcon/managed-mt/mt-tb.cgi/87

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)


About

This page contains a single entry from the blog posted on March 1, 2008 12:19 PM.

The previous post in this blog was Tech Support: Reading back a program.

The next post in this blog is Upgraded CC has analog.

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by
Movable Type 3.33