LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

simple PI controll

Hi,

I want to make a simple PI controller in labview with an integrator anti-windup. I made a PI controll as you can see in the attached file, but i don't know how to make an integrator anti-windup. I saturated the output of controll with in range and coerce function. (if that function is ok?)

Can someone help me?

Have a nice day, 

Darko

 

0 Kudos
Message 1 of 2
(2,431 Views)

Hi Darko,

 

all you did was limiting the controller output - this isn't called "anti-windup"…

 

Did you read the comments on Wikipedia on windup? Just do what is recommended there!

Especially the part on "Preventing the integral term from accumulating above or below pre-determined bounds" might be of interest here…

 

Btw. usually the integral gain is given in seconds (or minutes) unit as is done with the PID control algorithms coming with LabVIEW. Your VI uses a plain Ki, which is (IMHO) rather uncommon…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,421 Views)