robertobucher / pysimCoder

Block diagram editor and real time code generator for Python
GNU General Public License v3.0
142 stars 31 forks source link

CodeGen/Common/common_dev/discretePID.c: sign in I antiwindup #81

Closed zdebanos closed 4 months ago

zdebanos commented 4 months ago

Change the sign in the I windup for another time. Antiwindup procedure should not depend on the sign of the saturation value. Refer to the diagram below.

image