View unanswered posts | View active topics It is currently Wed Oct 21, 2020 1:39 am

Reply to topic  [ 2 posts ] 
How to maintain motor RPM 
Author Message

Joined: Mon Sep 14, 2015 1:55 pm
Posts: 1
Post How to maintain motor RPM
okay, so I am having some trouble here with my bot. first, when a ball is fired from the launcher we have created that works by spinning two columns of stacked wheels at high-speeds using a gear ratio, the wheels are slowed greatly and there is a brief refractory period in which the launcher will not fire its full distance as the wheels are spinning back up. is there any way to counteract this? secondly, powering a launcher like ours throughout a match, we experience a great amount of voltage drop and thus the ball is not fired as far. is there a way to write code that specifically maintains motors at a set RPM despite the voltage drop of the battery? thank you in advance.

Mon Sep 14, 2015 2:02 pm

Joined: Tue May 19, 2015 3:07 pm
Posts: 91
Post Re: How to maintain motor RPM
So to start of trying to maintain RPM the first thing you have to do is actually calculate the RPM.


Using the change in the encoder per tenth of a second you should be able to calculate the RPM based off of your gearing setup and where you locate the encoder on the system. The next step is actually how to maintain that RPM. Some sort of control loop is required to keep increasing power until the RPM is reached rather than just setting a constant power level. James Pearman has a really nice post explaining a few types of velocity control loops here on the vexforum.

Fri Sep 18, 2015 1:19 pm
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.