View Single Post
  #18   Spotlight this post!  
Unread 21-10-2007, 13:07
Qbranch Qbranch is offline
wow college goes fast.
AKA: Alex
FRC #1024 (Kil-A-Bytes)
Team Role: Alumni
 
Join Date: Apr 2006
Rookie Year: 2006
Location: Indianapolis
Posts: 1,174
Qbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond repute
Re: Reading battery voltage in software

I have, in the past, used the main battery voltage to formulaicly modify the multiplier on the P term in the PID for the wheel motors (rate control). Worked great!

Also have used it to make power limits on non-servo systems vary to have the same power output (mechanical) regardless of lower battery voltage.

I.e., 25% power limits that stay constant regardless of battery voltage.

-q
__________________
Electrical Engineer Illini
1024 | Programmer '06, '07, '08 | Driver '08