09-05-2007 09:53 PM
09-07-2007 10:45 AM
Hi,
I was looking into Controller.vi, and wasn't able to see where you are using the data to control the heaters. I see you send the data using notifiers, but in this VI I don't see anything that is receiving the notification. What VI do you use to control the heaters? Is there a difference in the two .zip files you attached?
Here and here are resources that discuss PID tuning. These documents discuss tuning for NI-Motion, but are a really good resource for PID tuning techniques and theory. I hope this helps!
Regards,
09-07-2007 12:21 PM
09-07-2007 03:13 PM
09-07-2007 04:34 PM
No suggestions about your code, you may check it your self to optimize or fix any bugs if exist.
About you PID:
- you use 10ms delay in while loop, but with dt in PID control algorithm unconnected, double check the default value (1ms?).
- your PID output limit (0.1, 0), double check this range with you control output device, make sure it is not saturated.
- PID actual you use PI control, check you error range and Kp, Ki. If it is like what you said, try Z-N or other tuning method, LV provide relay tuning method, you may try on.
09-08-2007 05:33 AM
09-08-2007 05:43 AM
09-08-2007 05:45 AM
09-09-2007 11:52 AM