Go to Post If you look at where you have come from you can often tell where you are going. - Turtlecoach [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 22-08-2013, 06:06
Peleg2230's Avatar
Peleg2230 Peleg2230 is offline
Registered User
FRC #2230 (General Angels)
 
Join Date: Jul 2013
Rookie Year: 2012
Location: Israel
Posts: 26
Peleg2230 is an unknown quantity at this point
Encoder problems

During the preperations for our off season competition I encounterd a problem with our shooter encoder.
At the competition we worked with the E4P optic encoder but when I checked the data after the competition I discoverd it isn't right, the encoder was mounted directly on the miniCIM's shaft that was connected directly to the wheel that spins the shooting belt, at low RPM (to measure RPM I enterd at the BEGIN.vi 1/6 to the distance) the data was good but as we got into bigger range (3000+) the input from the encoder went crazy, sometimes there was a 1000+ differnce between two continous readings.
I decided to change the encoder because I was sure that the problem is hardware, we changed it into a AS5145B Magnetic Encoder, we connected the encoder just like the manual and WPI (http://wpilib.screenstepslive.com/s/...control-system) said. I changed the BEGIN again to match it to the example (encoding with 4X mode) but the same problem reacured.
I placed the reading from the encoder in the Timedtasks.vi at a different loop with a 100ms delay.
Added here is the graph of the rate that I got from the encoder when I gave the motor full power.
Attached Thumbnails
Click image for larger version

Name:	Encoder.JPG
Views:	56
Size:	41.9 KB
ID:	15163  
Reply With Quote
 


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


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

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