Thread: CAN Talon PID
View Single Post
  #6   Spotlight this post!  
Unread 21-01-2017, 00:02
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is online now
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,749
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: CAN Talon PID

Quote:
Originally Posted by CurlyFries View Post
I wish I had found that thread when I was searching earlier. I'm doing a velocity closed control loop. If I understand correctly now, the FF needs to be adjusted until the encoder velocity matches the desired velocity, and then the other values (it seems mostly P and D) need to be adjusted to respond to changes in load, velocity, etc.
That's the gist. Paul Copioli suggests adding I to improve acceleration and reduce steady-state error as well. Enough I would reduce the need for FF. But for starters, FF, add P and D, add some I if you're not spinning up as fast as you want.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote