02-27-2015 02:37 AM
I am working on a proportional valve control program. We have four gas lines and it is desired to send four different gases through a combustion chamber sequentially. The close time for each valve is determined by the pressure measurement inside the combustion chamber. For instance, firstly, we let the nitrogen gas flows to the chamber, and the pressure inside the of it reaches 5 bars, we closed the nitrogen valve, and open the argon gas valve, and hold it opened until the pressure is reached at 15 bars inside the chamber and so on.
I was thinking on utilizing PID for control of these valves, however, one author from my institute said that you can not do this with a PID program, you can do that with a first order control system. Because in the system, it is not allowable to gases exceed their set points (set pressure values). PID controls the system with osilations around set point and after it provides the set value, but in this case, we are not allowed to exceed the set point (we may reach the set point slowly and asymptotically, but never exceed it).
I have not background on controlling hence I need your help. Could I do that with Labview? Is there a first order system control module in Control & Simulation Toolkit? And also where can I find examples, tutorials, etc. -if there are- about first order system controlling? Thanks in advance.
02-27-2015 02:47 AM
02-27-2015 10:37 AM
what you are trying to do can be done with PID, but you would need to tune it to avoid overshot. But, most importantly, the use of the closed-loop PID will guarantee that your system will follow the setpoint, which can be a ramp going from the 0 to 100 % of the valve. The ramp on setpoint is a typical control technique to avoid overshoot of the system.
Now, if you look in the PID palette under Control and Simulation, you will see the function called "Lead-Lag". This function is a 'first order' system and you can define a pole and a zero for your system. If your objective is just make the change smooth, you can make the Lead-Lag to work as a "Lag" (make the lead zero) and apply to your system. here is an example:
C:\Program Files (x86)\National Instruments\LabVIEW 2014\examples\control\PID\Simulation - Lead-Lag.vi
If you need something more complicated than Lead-Lag, than I would you advice to use the LabVIEW Control Design and Simulation Module. There you can really develop more advanced controllers, like higher order filters or Model Predictive Control. But this also requires you to have a better knowledge of control theory...
02-27-2015 03:12 PM - edited 02-27-2015 03:12 PM
Hello Barp, I will look into "Lead-Lag" vi into labview 2012 and Control and Simulation Toolkit.
As I said overshot is not allowed for this implementation, that's why I can not apply PID. However, if I can control overshot in PID, it can be applied to the system that we work on.
I will check the example you wrote for labview 2014 for 2012, and I will let you whether I have it or not. See you soon.
03-06-2015 06:09 AM - edited 03-06-2015 06:12 AM
Hi Barp,
Today, I showed Lead-Lag example to my advisor, adn said that we could control the proportional valves with the help of this program. He liked the program and the approach of the process variable to the set point. The only thing the rest is to calibrate the lead and lag coefficient according to our system or set point. We have not installed our experimental setup yet, so I could not try the program on proportional valves. Most probably, I will have an installed experimental setup late on May. At this stage, I want to simulate the real system and check the control program that I will code.
I have installed control design and simulation toolkit on Labview 2012 SP1. Where can I start to do this? I am open to all suggestions about simulation and control program. Thanks in advance.
( Can I simulate proportional valves on labview or do I have to use other programs? I have "LMS-Amesim" 1D simulation & analyses program installed on my PC. Could I use it for simulation and labview for control? What do you advise?)
03-09-2015 04:07 PM
Hi Egemen,
I've included a few links below that should help you get started with the LabVIEW Control Design and Simulation Module.
Controls Tutorials for LabVIEW
Closed Loop Control with LabVIEW and a DC Motor
Using Control Design & Simulation to Create a PID Controller with Generic Plant
03-10-2015 01:41 AM
Thank you Kelly. I will look into them.