Thread: Speed PID loop
View Single Post
  #1   Spotlight this post!  
Unread 05-02-2012, 17:45
cooltext cooltext is offline
Registered User
FRC #0835
 
Join Date: Jan 2012
Location: Michigan
Posts: 32
cooltext is an unknown quantity at this point
Speed PID loop

Hello,

So i am trying to program a PID control loop so my motors will reach a certain speed more accurately. How it works is on our shooter, we have two axles with wheels around them that spin and shoot the ball. These axles are spun by 2 motors coupled together on each axle. So I have in total 4 motors that need to be powered, but each pair will be powered the same.

My problem is, is I don't know alot about PID loops or how to make one to control speed. Could someone please explain in depth how to make one and if anyone has any source code they would be willing to share, it would be greatly appreciated.

Thanks
Dimitri
Reply With Quote