10-08-2019 07:33 AM
I’m using the pid block in lab view for controls education. I’d like to demo anti windup and with and without it. However I think it knows my mydaq isn’t +-10v so it always has antiwindup enabled. Do I need to make a home made pid block?
thanks
jason
10-08-2019 04:44 PM
Let me preface this by saying I'm not a PID expert.
But looking around the web and in the help file, the anti-windup is applied thru the output range.
Looks like you're going to need a custom PID VI.
If my understanding of this is correct, it should just be a matter of enabling/disabling the InRange and Coerce functions.
10-09-2019 12:55 AM - edited 10-09-2019 12:57 AM
Hi Jason,
However I think it knows my mydaq isn’t +-10v so it always has antiwindup enabled. Do I need to make a home made pid block?
Who is "it" and what exactly does "it" know?
What is your myRIO when it is not "±10V"?
LabVIEW comes with a plain/simple "PID" and with a "PID Advanced" function.
Which one are you using?
Which one has a problem with "enabled anti-windup"?
(I'm using mostly the PIDAdvanced and I'm very happy with it.)
@aputman:
The Anti-Windup uses the OutputRange to limit the internal integral error value, so it's not "just an InRangeAndCoerce" applied on the PID output.
10-15-2019 01:10 PM
"it" is the PID block. I'll investigate more when I get to the lab. But it seems to know that my myDAQ has a +-10volt output range so it automatically will do integrator antiwindup when the commanded output goes above 10v. I am a PID expert but what I'm not is a Labview expert and don't know always what is going on "under the hood" I'd prefer to let the integrator windup to 100v if that is what the gains and error do. But I do recognize in real practice there is no reason to do that. But I'm trying to teach a student the difference and how the actual antiwindup algorithm works. I can make my own custom block but I figured I'd ask the community who have more experience with the Labview blockset.
JAason
10-15-2019 02:12 PM
10-15-2019 02:23 PM
thanks
The VI isn't on the PC. I'm pretty sure if I set it above +-10V the VI will yell at me claiming my DAQ device cannot go above 10V (I'm trying to recall). I'd like it to set it to +-INF and let it windup, even though it cannot output greater than 10V.
Jason
10-15-2019 02:46 PM