![]() |
Re: Jaguar Speed Control Only Reaches 50% of Setpoint
Looks like the Jag PID limits integrator wind-up:
Code:
//From this old thread it looks like the Jaguar's onboard firmware source code was once available - at least the old TI/Luminary micro version (I understand that the FRC version was not). Is there anywhere to obtain this source code today? Our students are attempting position-based PID control onboard the jaguar using an encoder, and having some difficulty. Being able to point to exactly what the jaguar is doing with their parameters may be a useful teaching opportunity. thanks, Steve |
Re: Jaguar Speed Control Only Reaches 50% of Setpoint
Quote:
There is a software download that should include the non-FRC version, which should include all of the PID algorithms. |
Re: Jaguar Speed Control Only Reaches 50% of Setpoint
Quote:
Also, for benefit of anyone reading this and not recognizing the distinction, you can stably hit a position set point with a P-only control loop. (Well, actually you need some D, but this doesn't need to be in software - a bit of friction will often do the job nicely.) As to a P-only loop only reaching 50% speed, that makes sense if you don't have a feed-forward. Thought experiment: what happens if you start at the setpoint speed, or equivalently read the current speed, and make it the setpoint? Answer: the difference is zero, so zero voltage is applied to the motor. It slows down. As it slows down, D increases and voltage is again applied, but never enough to get back up to the set point. |
Re: Jaguar Speed Control Only Reaches 50% of Setpoint
This thread is about speed control using the Jag firmware PID, which does not have a feedforward term. |
| All times are GMT -5. The time now is 02:41. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi