ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help with PID VI

Solved!
Go to solution

Hi All

I'm waiting for the hardware so I can't test this but I'd like to know if this approach will work. As part of a test procedure I have to control 3 pressure regulators with a 0-5 volt signal. The regulators will have the same set point and gains but I need the PID to control each regulator separately. I have an array for "load" which is the set point and an array "mbar" which is the feedback from the 3 pressure sensors. My question, which hopefully I can word this so it makes sense, is - if wired this way will the PID VI send a different signal to each regulator or will it just send the same signal to all three?

Also does anyone have a suggestion as to what PID gains to start with? PID is something new to me.

Capture.PNG

 

0 Kudos
Message 1 of 3
(3,070 Views)
Solution
Accepted by topic author GDthomas

Hi rtpumps,

 

the array version of the PID (as you used) will send a different output value to each actuator.

 

Also does anyone have a suggestion as to what PID gains to start with? PID is something new to me.

Wikipedia explains the most common PID gain rules

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(3,067 Views)

Thanks GerdW,

Wikipedia also says for manual tune of PID "Requires experienced personnel" and that ain't me. Smiley Happy

0 Kudos
Message 3 of 3
(3,049 Views)