LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Question about a PID controller

Solved!
Go to solution

Everyone, I am fairly new to LabView programming. I have created a program that gathers and sends data to a PXI system. I have a VFD controller that drives a blower motor based on the mA output (4-20mA). I have a PID controller that works great when I am using the CFM input; however, when I switch and use the static pressure input instead (some tests will use CFM and some will use static) there will be an issue. The response for static pressure is different than CFM so I am not sure how to modify the code. With CFM, an increase in output will result in an increase in the CFM reading, while with static pressure, an increase in output will result in a decrease in static pressure. I know that this can be done through a reverse acting PID; however, I am not sure how to implement this in LabView. Any help that you can give would be greatly appreciated.

0 Kudos
Message 1 of 3
(1,742 Views)

I'd try to reverse the output range. Output high = -100, Output low = 100, or similar.

 

Not sure how well that will work, or if it's the proper way to do it, but worth a try.

0 Kudos
Message 2 of 3
(1,693 Views)
Solution
Accepted by topic author chensley1975

Can you use a negative gain factor?

0 Kudos
Message 3 of 3
(1,670 Views)