View Single Post
  #4   Spotlight this post!  
Unread 15-02-2013, 13:18
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,044
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: PID + Battery Voltage + Talon=??????

Quote:
Originally Posted by tomy View Post
My teams problem is that when we fire our shooter its accurate but when the compressor activates and the voltage drop so does the speed of the shooter. That is why we wanted to create a PID Loop with the battery voltage if possible
You have at least 2 choices:

1) Measure the battery voltage and compensate for that by adjusting your motor command. This does not require PID. Adjusting the motor command based on voltage will help, but may not be as accurate as the 2nd solution:

2) Put a speed sensor on your shooter wheel, and use that as the process variable in a feedback controller. You can use PID control for this, or you can use bang-bang.



Last edited by Ether : 15-02-2013 at 13:22.
Reply With Quote