Go to Post Everyone has regrets in robotics- it's how you learn from them that makes all the difference. - Kevin Leonard [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 12-03-2009, 00:34
Steve Compton Steve Compton is offline
Project Manager, Mentor
FRC #1391
 
Join Date: Feb 2004
Rookie Year: 2001
Location: Philadelphia PA
Posts: 75
Steve Compton is a splendid one to beholdSteve Compton is a splendid one to beholdSteve Compton is a splendid one to beholdSteve Compton is a splendid one to beholdSteve Compton is a splendid one to beholdSteve Compton is a splendid one to behold
Problem with quadrature encoder

I just got his from one of my programmers who is playing with encoders. Can anyone provide some guidance after reading the description below?

Gotta problem... We have used encoders for various things this year.
In each of these cases we have used the encoders to measure position. Just the angle of something.
The encoders also have a "rate" pin on them. It tells us how fast something
is spinning which is what we need for traction control.

We have noted that that the encoder, when measuring "rate", measures
zero after a short time of working correctly. In other words, we spin
the wheel, the rate pin shows a velocity, and then after a short
distance, the rate pin no longer measures velocity (it shows zero).
Then once we stop the wheel, and start spinning it again, the rate will
be measured correctly again for a short distance before falling to zero.

We found a usfirst thread on this that is a month or so old. It says
that an encoder in quadrature (4x) mode (which is what we have), will do
this but if you use the "averaging option" of 1x or 2x it will be fine.
We don't see this. It breaks reliably no mater what averaging we use.
It also says this will be fixed in the next cRIO update. It's not.

Thanks in advance!
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Programming a Quadrature Encoder programmr Programming 17 20-06-2008 10:40
Quadrature shaft encoder source billbo911 Kit & Additional Hardware 7 06-01-2008 19:52
Encoder Problem DustinB_3 Programming 22 03-01-2007 20:42
Turning a gear-tooth sensor into a quadrature output encoder Jared Russell Programming 4 18-01-2006 22:19
Strange Encoder Problem AIBob Electrical 3 20-02-2005 22:20


All times are GMT -5. The time now is 09:48.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi