Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   encoder jumping between two values. please help! (http://www.chiefdelphi.com/forums/showthread.php?t=102841)

badger3.14 14-02-2012 21:22

encoder jumping between two values. please help!
 
On our robot, we are trying to use the 360 clicks per revolution encoders from us digital to regulate our speed for our shooter, but when powering up the wheels and reading the values in labview, the encoders read steadily until 20833.3 clicks per second. When going above that, the values jump from 20833.3 to 41666.7 clicks per second.

Any thoughts or answers???

Tom Line 14-02-2012 21:38

Re: encoder jumping between two values. please help!
 
You may be exceeding the capabilities of either the encoder or the cRio. Research the limitations of both with regard to data rates for the DI/O and the encoder you have chosen. Reading over 20000+ samples a second is significant overkill. Consider getting a different encoder wheel to tone that down to 100, 32, or even 16.

wireties 14-02-2012 21:46

Re: encoder jumping between two values. please help!
 
Quote:

Originally Posted by badger3.14 (Post 1126820)
On our robot, we are trying to use the 360 clicks per revolution encoders from us digital to regulate our speed for our shooter, but when powering up the wheels and reading the values in labview, the encoders read steadily until 20833.3 clicks per second. When going above that, the values jump from 20833.3 to 41666.7 clicks per second.

Any thoughts or answers???


The counting circuits in the FPGA are only good to 40000 counts per sec. How fast is your wheel turning? You had better use the k1X setting. We are going with 32 cpr encoders for this reason.

j.cole 15-02-2012 18:32

Re: encoder jumping between two values. please help!
 
Just had the same problem today. Got it fixed. The problem is the Decoding rate (at least that's what it's labeled as in LabView). If it is set to 4x the variation is huge, at 2x its smaller, and at 1x its almost nothing. Talk to the programmer and see what it's set to.

badger3.14 15-02-2012 19:30

Re: encoder jumping between two values. please help!
 
thanks for the input, our team ordered two new 32cpr encoders today. i am hoping that this will fix the problem.


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

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