Go to Post Someone wake me up the day of Kickoff. - Andrew Schreiber [more]
Home
Go Back   Chief Delphi > Technical > Motors
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
  #28   Spotlight this post!  
Unread 09-02-2017, 15:25
kprzewodek's Avatar
kprzewodek kprzewodek is offline
Registered User
AKA: Kevin Przewodek
FRC #0862 (Lightning robotics)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2000
Location: Michigan
Posts: 62
kprzewodek is on a distinguished road
Re: 2017 Bosch Seat Motor

Quote:
Originally Posted by chesterm View Post
We have noticed the loss of counts also. In our case it appears to do well when speed is at 50% or less. Going above that led to increasing loss of counts. We are planning on a home switch to re-zero counts every time our tilt returns to the up position. Haven't tested it yet, but I expect it to work out ok.
I wonder if the frequency of checking might be the problem. 20 RPM free speed is 1/3 rev/s with 175 pulses per rev = ~60 pulses per second. If your frequency of checking is any less than that you'll probably miss counts. Not sure how your program is checking but if you have other calculations happening at the same time it might be part of the problem. Keep in mind I don't have much knowledge of FRC code. Best solution in that case is just the mentioned zero each cycle or count separately on an Arduino or the like.
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 19:52.

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