ECET-462: (Laboratory 7)
ECET-462: (Laboratory 7)
Page 1 of 5
[LABORATORY 7]
Develop a Continuous Control Process of a Flow Control System using PI Controller
Page 2 of 5
Develop a Continuous Control Process of a Flow Control System using PI Controller LAB 7
Objective: To demonstrate the use of PI controller using LabVIEW. Software required: LabVIEW Program: The overall block diagram and the front panel are given below:
Page 3 of 5
Page 4 of 5
Subsystem
Page 5 of 5
1) Double click on the subsystem intergrator and select terminal for initial condition 2) To create subsystem go to Edit Create simulation subsystem 3) Double click the saturation block (in subsystem) to change the :Lower limit: -6, Upper limit : 5 ; For both of them change the parameter source to Terminal 4) Double click the gains ( ) to select Terminal 5) Double click on Kc and Ki to change the values 0.0015 and 0.01 respectively. Change the parameter sources to terminal for both of them. 6) Double click on integrator (in the main program block diagram, not in the subsystem) to change the reset type to either and set the reset parameter sources to Terminal. 7) Double click on saturation (in the main program block diagram, not in the subsystem) to change the lower limit to 0 and upper limit to 0.011 8) Boolean to (0,1) ; Expression node 9) Cast unit bases [MathematicsNumericConversion] 10) Equation to be written in the subsystem: dhdt = ((qi-Cv*sqrt(h))/L)/(2*sqrt((D-h)*h)); 11) In the subsystem change the parameter source of the integrator to terminal. 12) Change the simulation loop configuration to final time inf and ODE solver to Runge Kutta-4 13) Uncheck Autoscale Y and set the upper limit to 3 in Y axis in the graph. 14) Put the values of Diameter Cv and Max height and then run the program 15) For making the valve, Lines and other symbols use Decorations from Modrrn. Discussion: 1) Discuss what is going on in the LabVIEW program. 2) Explain the plots obtained after running the program. 3) Discuss effects of changing Kc and KI parameters on the system response.