Quote:
Originally Posted by Tom Line
When doing velocity control with the talon srx's, the velocity you get from your feed-forward term is going to be affected by battery voltage. Has anyone experimented or used a battery offset term to correct for this? Is it worth it?
|
Quote:
Originally Posted by Paul Copioli
Tom,
The I gain is for things like that. We use I and P for velocity control and as long as you design your gearbox / motor combo with enough headroom then the I and P can compensate...
|
I totally agree with Paul.
And yet... we just added a form of battery compensation in the last CTRE installer. Check out section 10.8 in the latest Talon SRX Software Reference Manual. When enabled, the output of PIDF represents a portion of a specified voltage, which is compared against the measured battery voltage, yielding a voltage-compensated duty cycle.