View Single Post
  #2   Spotlight this post!  
Unread 12-01-2012, 13:49
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,506
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: Pitching Machine Control - PID Needed?

If you're familiar with what each constant does, PID should be somewhat simple to just throw on and test on the final shooter.

The combination of your two ideas is actually better, do some testing and record battery voltage, victor output and wheel rpm. Develop a rough correlation between voltage, victor output and rpm.

Use this, it'll get you pretty close to a constant speed. Now, Throw a control loop on as well. The control loop now just deals with the slight difference between the predicted and actual speed, and will also cause the wheel to spinup faster.

I know a LOT of teams in 2006 actually went to full bang-bang control on spinup (literal full speed), as a flywheel takes a while to respond.

A flywheel is a somewhat forgiving device to control because it has a LOT of momentum ideally.