View Single Post
  #2   Spotlight this post!  
Unread 10-02-2013, 19:40
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: bang-bang control with Talon

We did it. But it's not going to be on our competition robot.

We put a strip chart on the Dashboard to display the RPM as measured by the encoder. Our programming students decided they weren't satisfied by the amount of overshoot it showed, and implemented a simple PID controller. A few minutes of tuning later (plus some tweaking of the algorithm to limit integral windup), it works great.

The continual loud snaps and clicks from the gearbox when using bang-bang were rather disturbing to most people hearing them. The simple PID sounds smooth as silk, appears to bring the motor up to speed just as fast, and recovers quickly from a brief additional load without problem.
Reply With Quote