View Single Post
  #12   Spotlight this post!  
Unread 10-03-2016, 01:57
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 800
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: PID with encoder

Quote:
Originally Posted by cpapplefamily View Post
Do you have any suggestions on how to software limit the acceleration?
You could run a current loop on the talon and limit the current.

My favorite method is to limit the voltage difference from the BEMF voltage. That will limit the current, which will limit the torque. You won't be able to do that with the standard PID controller, but it isn't very hard to write a new one.