Re: [Emc-developers] pid bug

2011-02-04 Thread Dave
I usually see anti-windup schemes for PID loops based on the output limits. When the output hits 100%, don't allow the error to increase the I value since the output is limited to 100% anyway. That eliminates windup. The car analogy is: If your foot is already on the floor what is the point

Re: [Emc-developers] pid bug

2011-02-04 Thread Peter C. Wallace
On Fri, 4 Feb 2011, Dave wrote: Date: Fri, 04 Feb 2011 11:48:17 -0500 From: Dave e...@dc9.tzo.com Reply-To: EMC developers emc-developers@lists.sourceforge.net To: EMC developers emc-developers@lists.sourceforge.net Subject: Re: [Emc-developers] pid bug I usually see anti-windup schemes

Re: [Emc-developers] pid bug

2011-02-04 Thread Dave
current PID behaviour doesn't allow the I term to _change_ when the output is limited. Yikes, that won't work! :-) Sounds like a pretty easy fix though. Dave On 2/4/2011 12:19 PM, Peter C. Wallace wrote: On Fri, 4 Feb 2011, Dave wrote: Date: Fri, 04 Feb 2011 11:48:17 -0500 From: