K kvrajasekar New Member Nov 4, 2008 #1 Hi all, I am trying to implement PID algorithm.I dont know how to limit the P,I,D values.I tried when the I,D values exits the maximum value, IF(I>max) I=max But my confusion is,what is the next cycle value?I am getting the limited value all time after the above step. Please help me on this.
Hi all, I am trying to implement PID algorithm.I dont know how to limit the P,I,D values.I tried when the I,D values exits the maximum value, IF(I>max) I=max But my confusion is,what is the next cycle value?I am getting the limited value all time after the above step. Please help me on this.
P Pommie Well-Known Member Most Helpful Member Nov 5, 2008 #2 The integral term will always reach max if an error is present, it is there to get rid of the minutest errors and causes problems due to wind up. Are you sure you need the integral term as most systems work just as well with just P & D. Mike.
The integral term will always reach max if an error is present, it is there to get rid of the minutest errors and causes problems due to wind up. Are you sure you need the integral term as most systems work just as well with just P & D. Mike.
O oymyakon New Member Nov 12, 2008 #3 pid code Is there any chance of sharing your pid code as i am a newbie and looking to do pid.
P Pommie Well-Known Member Most Helpful Member Nov 12, 2008 #4 If you want to understand PID then **broken link removed** could be useful. You will get an advert first, just click the skip advert link. Mike.
If you want to understand PID then **broken link removed** could be useful. You will get an advert first, just click the skip advert link. Mike.