![]() |
Re: Jaguar Speed Control Only Reaches 50% of Setpoint
Quote:
Quote:
Quote:
Quote:
Quote:
|
Re: Jaguar Speed Control Only Reaches 50% of Setpoint
Quote:
Quote:
Quote:
Quote:
|
Re: Jaguar Speed Control Only Reaches 50% of Setpoint
I humbly ask that you re-read your posts. The effectiveness of your communication is impaired by the passion of your posts, and as such I am finding them rather unhelpful. I have great respect for the people who have responded in this thread, and they deserve your patience.
As others have stated, the Jaguar implements a very vanilla PID loop with an internal rate of 1kHz. |
Re: Jaguar Speed Control Only Reaches 50% of Setpoint
The parameter I'm looking for is described here:
http://www.jashaw.com/pid/tutorial/pid3.html Look for the part that starts with: "Units used to set integral or reset" The only way to get this with a schematic would be simulation that I doubt would be worth the effort once you consider all the spurious issues created by the high gate resistance, the high gate capacitance and a host of other issues you'd have to Monte Carlo to even try to simulate. |
Re: Jaguar Speed Control Only Reaches 50% of Setpoint
Quote:
Quote:
It seems to me that the time it takes to go full scale depends on the error and on the gain parameters. The gains are fully under your control, but the error is an arbitrary number. But the range of control isn't really related to time, is it? Full range is full range, whether it takes one millisecond, or a thousand, to reach it. I suspect there's a mismatch in terminology that's keeping us talking past one another. Quote:
Quote:
There's clearly some idea which you think is obvious but which you are not succeeding in getting across to us. I still do not understand the distinction you apparently are maintaining between the implementation of the controller and the controller itself. |
Re: Jaguar Speed Control Only Reaches 50% of Setpoint
Quote:
I have not, at any point, clearly disputed that the Jaguar has a software timed iteration of the PID loop at 1ms intervals. The parameter I seek is clearly defined at the link I presented several times. It is not an instantaneous parameter for a iteration around the Jaguar's loop. The Jaguar will not continue to integrate forever in 1ms steps. It can't. |
Re: Jaguar Speed Control Only Reaches 50% of Setpoint
Quote:
|
Re: Jaguar Speed Control Only Reaches 50% of Setpoint
Quote:
I promised my last post would be my last post, but this thread has gotten out of hand. Regardless. We've gotten the PID working with some limitations. We've worked around them, and have an ADEQUATELY workable closed control loop. I would love to have more, but we are given six weeks for a reason... and trust me, the best use of those 6 weeks is NOT spent on arguing the specifics of the Jag's I implementation. Say your piece, then let's all move on. |
Re: Jaguar Speed Control Only Reaches 50% of Setpoint
Quote:
If I told you my computer runs at 1GHz could you tell me how long it would take to crunch the first 20 digits of PI? No you really couldn't. You couldn't because even if it's a RISC CPU and did one instruction per second, you don't know how many instructions it might take in whatever form the code was written to do the calculation or how long it would take to reach the display device whatever that is. Quote:
Quote:
Quote:
Quote:
http://www.jashaw.com/pid/tutorial/pid3.html Quote:
|
Re: Jaguar Speed Control Only Reaches 50% of Setpoint
Quote:
This link I provided is quite specific. The error starts out at 0. The error is shifted to stimulate a response (which will take some number of 1ms cycles because of the discrete time design of the Jaguar). The gain is apparent and noted. The integrator gets started. There's a measurement in time shown at the bottom, it's the repeat time. That'll be measured in repeats per minute. |
Re: Jaguar Speed Control Only Reaches 50% of Setpoint
Quote:
It is not clear to me whether you are speaking of the jaguar in isolation, or the jaguar + motor + mechanics as a total package. In isolation, the best available model of the jaguar is a 1kHz vanilla PID loop with an output that saturates at +/- 100% of the bus voltage. Further levels of detail are available, but the additional accuracy those details provide would be swamped. If you require a fancier or different control algorithm, you will need to implement it on the cRIO. If this proves to be too great a burden, I ask that you write a proposal whitepaper for the feature and submit it for the 2012 season. |
Re: Jaguar Speed Control Only Reaches 50% of Setpoint
The question reduces to "How may times per minute does the I repeat the action of the P?"
I really don't see what the confusion is :confused: |
Re: Jaguar Speed Control Only Reaches 50% of Setpoint
Quote:
http://www.jashaw.com/ I can provide additional links if desired in which the parameters I seek factor predominantly. http://www.scribd.com/doc/6929817/Ba...Dr-Hung-Nguyen (search for 'repeats per minute') http://dexautomation.com/pid.php (search for 'repeats per minute') http://www.automation.siemens.com/WW...&Language=e n (search for 'repeats per minute') It's possible I'm not communicating in a way that is apparent if you focus down on the intimate loop details but I'm sure what I'm asking is a parameter I can get for virtually every single PID loop that controls motion in my shop full of servos and servo controllers. This includes IAI and Mistubishi. Quote:
Quote:
Quote:
This was about obtaining the parameters to perform tuning such as this: http://www.learncontrol.com/tutorial/pid6.html I can provide you a several tuning examples such as this, that will produce tuning that in some cases is pretty close to what you'd get with professional PID tuning software, a very complicated simulation and a major headache. |
Re: Jaguar Speed Control Only Reaches 50% of Setpoint
Quote:
You are basing your demand for "repeat time" and "derivative time" values on the specific PID implementation described at http://www.jashaw.com/pid/tutorial/pid3.html: Out = G(e + R+ D ) The Jaguar does not implement that PID form. As David posted: Output = P*Error + I*Integrator + D*(Error - Previous Error) They can be transformed into one another if necessary, but you will find that the "repeat time" is essentially determined by the P and I constants, and the "derivative time" is essentially determined by the P and D constants. I think that if you continue to study the description you are showing us as the basis for your understanding of PID, you will also find that the repeat time and the derivative time are not characteristics of a controller that get measured. They are parameters that must be set in order to tune the controller. |
Re: Jaguar Speed Control Only Reaches 50% of Setpoint
Alan posted while I was doing research, but here's my explanation
Quote:
The Jaguar implements Kp + Ki/s The equations are equivalent, if you consider that Ki can be described as Kp/Ti. By controlling Ki and Kp, you can make Ti whatever value you want. LabVIEW implements the form you are familiar with. |
| 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