Professional Documents
Culture Documents
Sample Lab Report 1
Sample Lab Report 1
Sample Lab Report 1
This process control laboratory is about to run open and closed loop process. An open loop
is run in manual mode while closed loop is run in automatic mode. In this experiment, five
closed loop analysis are involved which comprises of Level Control Process (LIC 11), Air
Flow Control (FIC 91), Air Pressure Control (PIC 92), Flow Control (FIC 21) and Liquid Flow
Process (FIC 31). By using the response curve from the loop analysis, Response Rate (RR),
Time delay (Td) and Time constant (Tc) are calculated by using Reformulated Tangent
Method. Then, Ziegler-Nichols and Cohen Coon tuning rule formula are used in order to
calculate the optimum value. By using the calculated value based on Ziegler-Nichols, open
loop test is running. The process is run in automatic mode. Three main tests have been
conducted in each of the open loop which includes tuning test, set point change test and load
disturbance test. When we increase the changing in MV value, the value of controller gain, Kc
will increase and can affect the respond of the process to become more faster and the
process become more stable. By decreasing the controller gain, Kc it also reduce the
oscillatory and make the process become more stable. The integral time, I value is
decreased and it accelerates the process to the set point
2
TABLE OF CONTENT
TITLES PAGE
1.0 Introduction 4
2.0 Theory 9
3.0 Results 18
4.0 Discussion 24
5.0 Conclusion 26
6.0 References 27
7.0 Appendices 28
3
1.0 INTRODUCTION
The industrial PID has many options, tools and parameters for dealing with the wide
spectrum of difficulties and opportunities in manufacturing plants. The PID controller is an
essential part of every control loop in the process industry (Astrom K., Hagglund T., 2006).
Studies have shown that the PID provides an optimal solution of the regulator problem
(rejection of disturbances) and with simple enhancements, provides an optimum servo
response (setpoint response) (Bohl A., McAvoy T., 1976). Test show that the PID performs
better than Model Predictive Control (MPC) for unmeasured disturbances in terms of peak
error, integrated error or robustness (McMillan G., 2004). The PID controller in the modern
Distributed Control System (DCS) has an extensive set of features and their importance for
addressing challenging applications and control objectives for common unit operation
applications in the process industry.
In the production for most new pharmaceuticals, bioreactors are used due to proteins
too complex to be produced by chemical processes. Biopharmaceutical batch processes are
predominantly batch because of the concern for the build up of the toxins and genetically
deficient cells with continuous processes and the need to get new drugs to market quickly. In
bioreactors, pH, temperature and dissolved oxygen are the important loops to be considered.
Generally, for a well designed system the allowable controller gain is extremely limited only
by the measurement noise because of the ratio of deadtime to time constant is relatively
4
small. The high controller gain in combination with the extremely slow disturbances
translates to exceptionally tight PID control (Ramon V., Antonio V., 2011). In the system, no
overshoot at the start of the batch essentially with getting to temperature setpoint as fast as
possible is being concerned. If there is no concern about batch cycle time and low
temperatures do not cause seed cell degradation, a PID structure of integral mode on error
and proportional and derivative modes on PV is used to eliminate overshoot (McMillan G.,
2010). It is usually less than ideal for the automation and bioreactor system design. In
bioreactor, pH loops and dissolved oxygen will interact whenever the piping and spurger for
the injection of oxygen or air for dissolved oxygen control and addition of carbon dioxide for
pH control are not completely separated. For this case, the interaction between pH and
dissolved oxygen loops can be reduce with the use of half decoupler and enhanced PID.
Wireless pH transmitters have been found to eliminate the spikes commonly seen in
bioreactor loops (McMillan G., Baril R., 2010). As sliding stem (globe) control stem valves are
not suitable for sanitary and sterilization-in-place (SIP), thus, most of bioreactor loops does
not use it. The alternative final control elements used may have a poor resolution or
sensitivity limit and backlash. Hence, the associated limit cycles can be extinguished with the
enhanced PID. Otherwise, enhanced PID can make sample time for a bioreactor batch that
takes 1 to 2 weeks fast enough to do closed loop control by dealing with the analyzer cycle
time and resolution limits.
Chemical reactors set the stage for the production of bulk chemicals, intermediates,
petrochemicals, polymers, pharmaceutical chemicals and speciality chemicals (Ramon V.,
Antonio V., 2011). Batch reactors are commonly used in pharmaceutical industries and in the
production of special chemicals and other products predominantly use continuous reactors.
The temperature PID is the most important controller since the reaction rate is often an
exponential function of temperature via the Arrhenius Equation (Ramon V., Antonio V.,
2011). The deadtime to time constant ratio for well mixed continuous reactors and the
deadtime to integrating process gain ratio for batch reactors are incredibly small (<0.001)
(Ramon V., Antonio V., 2011). The result is a permissible PID gain much larger than users
are accustomed to (>50) and exceptionally tight temperature control (Ramon V., Antonio V.,
2011). Since the most important task of the utility system is to satisfy the demands of the
temperature PID, the transfer of variability by the PID from the reactor temperature to its
utility system is maximised. Performance limitation is due to the accuracy of the temperature
sensor and the threshold sensitivity and resolution of the final control elements. Premium
Resistant Temperature Detectors (RTD) and sliding stem valves with digital positioners
should be used to allow the full capability of the PID to be realized [12, 13, 14].
5
The pH control of neutralizers can be particularly challenging due to the extreme
nonlinearity and sensitivity of the pH measurement as a result of the exponential relationship
between pH and hydrogen ion activity [9]. The changes in controller gain and the rangeability
and threshold sensitivity of the final element needed are extraordinary. PID gain changes of
1000 to 1 and a final element rangeability requirement of 10 000 to 1 are possible with strong
acid and base system (Ramon V., Antonio V., 2011). In order to keep waste streams in
compliance with environmental regulations, it is necessary to determine the number of
neutralization stages by precision of the final element. The limit cycle amplitude from
threshold sensitivity and resolution limits can be extremely large due to amplification by the
steep slope of the titration curve (McMillan G., 2003). The 7 pH value for a broken electrode
or wire and the failure to last value of a coated electrode are insidious (McMillan G., 2003).
Some solutions that can be considered in this case are signal linearization, adaptive tuning,
split range control, valve position control (VPC) and the enhanced PID. Controlled variable
can be translated from pH to reagent demand per the titration curve by using signal
linearization. While, changes in the titration curve and process dynamics can be corrected
with adaptive tuning. Neutralization with both acids and bases can be handled with split
ranged control. Whereas, in order to keep good throttle range for pH control, a VPC can
adjust a large (coarse) valve to keep a small (fine) valve. Otherwise, PVC can also maximize
the use of waste and low cost reagents. Portable wireless pH transmitters can eliminates
spikes from EMI as well as optimize the control location. Finally, the enhanced PID can
eliminate oscillations from split range point discontinuities and from valve backlash, threshold
sensitivity, and resolution, reduce interactions between the small and large valves, prevent
overreaction to pH electrode failures, and extend wireless battery life [11, 16].
Furthermore, liquid level control plays important role in industrial application as in food
processing industry, dairy, filtration, effluent treatment, nuclear power generation plants,
pharmaceutical industries, water purification systems, industrial chemical processing and
spray coating and boilers in all the industries. The typical actuators used in liquid level control
systems include pumps, motorized valves, on-off valves and level sensors such as
displacement float, capacitance probe and pressure sensor provide liquid level measurement
for feedback control purpose so that as per the process requirements the fluids could be
controlled (Farhad A., 2011). Basically, the objective of the controller in the level control
system is to maintain a level set point at a given value and be able to accept new set point
values dynamically. In controlling the level, commonly conventional PID is used to utilize it. A
PID gain is tune automatically by auto tuning in a Simulink model containing a PID controller
block. By tuning the PID, it allows to achieve a good balance between performance and
robustness. It will automatically compute a linear model of the plant. The plant will be
6
considered by PID tuner to be the combination of all blocks between the PID controller input
and output. Other than the controller itself, the plant includes all blocks in the control loop.
The main objectives of PID tuner are closed-loop stability (in which system output remains
bounded for bounded input), adequate performance (in which closed loop system tracks
reference changes and suppresses disturbance as rapidly as possible) and adequate
robustness (the loop design has enough gain margin and phase margin to allow for
modelling errors or variations in system dynamics (Farhad A., 2011). By adjusting response
time, design modes of PID tuner refine the controller design. This makes the closed loop
response of the controlled system slower or faster. While, by separately adjust loop
bandwidth and phase margin, an extended design mode of PID tuner refine the controller
design. The controllers will response faster to changes in the reference or disturbances in the
loop whenever the loop bandwidth is larger. The more robust the controller is against
modelling errors or variations in plant dynamics if the phase margin is larger.
The main features of PID controllers are the capacity to eliminate steady-state error of
the response to a step reference signal because of integral action and the ability to anticipate
output changes when derivative action is employed [18]. In a power plant, both active and
7
reactive power demands continually vary the rising or falling trend. Power input must
therefore be continuously regulated to match the active power demand, otherwise the
machine speed will change with consequent change in frequency, which may be highly
undesirable [18]. The excitation of generators must be continuously regulated to match the
reactive power demand with reactive generation, failing which the voltage at various system
buses may go beyond the prescribed limits [18]. It is necessary to maintain the frequency of
the power system constant. The governors adjust the input to bring the frequency with in
permissible limits [21]. PID controllers is tuned as to make the plant more general and to
achieve the minimum steady state error as well as to improve the other dynamic behaviour.
The Ziegler-Nichols step response method provides systematic means to adjust the
proportional gain in order to have no overshoot on the closed-loop step-response [18]. In the
design of plant control system, the PID controllers can be designed associated with under
damped step responses. Instead of transfer function of the system, PID constants are
strongly depends on the set point and tune controller feature that can improve the system
performance. PID controllers attributed to the controllers effectiveness in a wide range of
operation conditions, its functional simplicity, and the ease with which engineers can
implement it using current computer technology. Hence, PID control algorithms are popular
and offer many benefits such ease of use, new development help to implement other PID
controller variants and control for common industry application.
8
2.0 THEORY
PID controllers are capable stabilizing processes at any set point by utilizing a
mathematical function in the form of the control algorithm [1]. Process stability of a PID
control loop depends upon the proportional, integral and derivative constants used [1]. An
optimum proportional (P), integral (I) and derivative (D) values can be obtained using several
simple techniques performed on an open loop test. Open loop test can be done with several
steps, firstly by stabilizing the process in manual mode. Then, making step change (∆MV) of
5 to 20% to the controllers output and record the initial as well as the final MV value. Finally,
response of the process variable is recorded until the process reaches a new steady state
level. An open loop test might be in self regulating process or non self regulating process.
In open loop process identification, there are several quick and easy techniques that
can be approached. These techniques include tangent method, reformulated tangent method
and numerical method. Those methods extract most vital information about the process
dynamic, namely process dead time (Td) and the response rate (RR). This information then is
used in the tuning rules, such as Zieglar-Nichols in order to estimate the optimum P, I and D
for the controller.
In the tangent method, an optimum PB, I and D is found at the maximum slope. The
process dead time (Td) and the response rate (RR) are analyzed by drawing a tangent line to
the steepest point of the response curve. By the definition, the process dead time (T d) is a
period of time between starting point of step input and the intersection of old steady state
baseline and tangent line [2]. Figure 2.1 shows the step change made (∆MV), the drawn
tangent line and the estimated process dead time (Td).
9
Figure 2.1: A step change of ∆MV (bottom) and the self regulating process response
curve (top). (Abdul Aziz Ishak, 2011)
Where,
Td and RR are incorporated in the tuning rule for the optimum PID calculation [1].
In the reformulated tangent method, the open loop response curve is analyzed and
viewed in different perspective. This method is based on tangent method but utilized
trigonometry to estimate the gradient [2]. Figure 2.2 shows the same response curve as in
Figure 2.1 but is being analyzed in different perspective.
10
Figure 2.2: Transforming process rate into trigonometric form [1]. (Abdul Aziz Ishak, 2011)
Based on the Figure 2.2, the process response rate (RR) of equation (1) is then reformulated
by,
∆𝑃𝑉/∆𝑡 ∆𝑦/∆𝑥
= - - - - - (2)
∆𝑀𝑉 ∆𝑀𝑉
But the right-hand side and the left-hand side of the equations are dimensionally incorrect.
Thus, by balancing the units and place the appropriate scaling factors to the right hand side
of the equation, equation (2) will transforms into equation (4).
%
% 𝑙𝑒𝑛𝑔𝑡 ℎ (𝑙𝑒𝑛𝑔𝑡 ℎ )
= - - - - - (3)
𝑡𝑖𝑚𝑒 𝑙𝑒𝑛𝑔𝑡 ℎ ( 𝑡𝑖𝑚𝑒 )
𝑙𝑒𝑛𝑔𝑡 ℎ
∆𝑦 𝑎
∆𝑃𝑉/∆𝑡 ∆𝑥 𝑏
= - - - - - (4)
∆𝑀𝑉 ∆𝑀𝑉
Where,
11
∆𝑦
As = tan 𝜃 , equation (4) transforms into,
∆𝑥
∆𝑃𝑉/∆𝑡 tan 𝜃 𝑎
RR = = - - - - - (5)
∆𝑀𝑉 ∆𝑀𝑉 𝑏
Figure 2.3: Reformulated tangent method for time constant (Abdul Aziz Ishak, 2011).
PV nss − PV oss 𝑏
tan 𝜃 = ( ) - - - - - (8)
Tnss −Td 𝑎
12
Dead time formulation based on Reformulated Tangent Method [2].
Figure 2.4: Reformulated Tangent Method for dead time (Abdul Aziz Ishak, 2011)
Td = Tnss – Tc - - - - - (13)
𝑏 1 1
Td = (PVnss − PVoss) ( ){ − } - - - - - (15)
𝑎 tan 𝛽 tan 𝜃
13
Numerical analysis on openloop response data
Figure 2.5: Numerical formulation for response rate, RR (Abdul Aziz Ishak, 2011)
PV 1 −PV −1
Slope = - - - - - (16)
2∆ℎ
𝑠𝑙𝑜𝑝𝑒 PV 1 −PV −1
RR = = - - - - - (17)
∆𝑀𝑉 2∆ℎ∆𝑀𝑉
Figure 2.6: Numerical formulation for dead time, Td (Abdul Aziz Ishak, 2011)
14
Slope at (Td, PVoss) = slope at (t1, PV1)
PV 1−PV oss
Td = t1 - 2∆h [ ] - - - - - (19)
PV 1 −PV −1
Figure 2.7: Numerical formulation for time constant, Tc (Abdul Aziz Ishak, 2011)
15
Ziegler-Nichols open loop tuning rule
16
Cohen – Coons openloop tuning rule
17
3.0 RESULT
Level Control
Deadtime, Td (s) 3.75
(LIC 11)
Time Constant, Tc (s) 36.25
Liquid Flow
Deadtime, Td (s) 1.25
(FIC 21)
Time Constant, Tc (s) 2.5
18
3.2 Summary of optimum controller settings for PI controller based on Ziegler-Nichol’s
and Cohen-Coon for Reformulated Tangent Method.
Ziegler-Nichols Cohen-Coon
Table 3.2: Summary of optimum controller settings for PI controller based on Ziegler-Nichol’s
and Cohen-Coon for Reformulated Tangent Method.
19
3.3 Tuning Test, Set point Test and Load Disturbance Test
(LIC 11)
Integral Time, I (s) 12.49
(FIC 91)
Integral Time, I (s) 12.49
(FIC 21)
Integral Time, I (s) 4.16
(PIC 92)
Integral Time, I (s) 12.49
Gas Pressure Control (PIC 92) Set Point (psig) 9.8 11.0
20
Control Loop Parameters Old New
21
3.4 Numerical method for FIC 31
22
3.5 Numerical Method for TIC 91
23
4.0 DISCUSSION
Practically, this experiment has been run open loop test for Level control process (LIC
11), Air flow control (FIC 91), Air pressure control (PIC 92) and flow control (FIC 21). By
using the response curve from the loop test, Response Rate (RR), Time delay (T d) and Time
constant (Ts) are calculated by using Reformulated Tangent Method formula. Then, Ziegler-
Nichols and Cohen Coon tuning rule formula are used in order to calculate the optimum
value. As Pressure, Level and Flow is fast process, so that PI formula is used in order to
calculate the optimum value for the fast control process. From the comparison that has been
made, it’s only a small difference between the value that calculated by using Ziegler-Nichols
method and the value using Cohen Coon method. Then, values calculated using PI formula
for Ziegler-Nichols is used to running the closed loop control.
After set up and running the process control system in Auto mode, enter the value of
controller gain (Kc) and integral time (I) that has been calculated manually using Ziegler-
Nichols into the system control. During the process, the response curve is observed and
analyzed. Whenever the response curve is oscillating and active, the process is tuned until
the response curve is stable and process is closed to the set point. Tuning is the process of
setting control loop gains or other control variables to achieve optimum value and stable
performance. The value of controller gain, Kc and integral time, I are the control variables that
was considered to achieve optimum controller setting. In this experiment, there is no exact
value for the process to achieve an optimum performance. Under steady state condition,
when the graph line of set point and process (PV) variable is equal then it is considered as
optimum performance. In tuning process, whenever the response curve are oscillate very
fast, the value of the controller gain, Kc have to be reduce by divide the original value by 2 or
4 and increase the integral time, I value by multiply by 2 or 4 or with other value.
For the Level Control (LIC 11), the value of open loop test was entered at the closed
loop test. In the close loop test, the response of the graph that getting from the open loop is
oscillate. The value of Kc is divided by 4, so that the value of Kc entered now is 8.18. The
response curve now became stable. Then, set point test is made. Set point is increase from
500 to 550 and then waits until the response curve stable. Next, by performed the load
disturbance test, the value of MV is increased from 47.3 to 57.3%, and observes the
response curve as well as wait until the response curve become stable. Summary for all
control loop and all test result in table 5, 6 and 7.
24
The same method is used for Air Flow Control (FIC 91), Air Pressure Control (PIC 92)
and Flow Control (FIC 21). For Air Flow Control (FIC 91), value for controller gain, K c now is
0.134 and the value of integral time, I is 12.49s. As the response curve is fluctuation and not
stable, the Kc value is divided by 2, 0.535 and multiply the I value by 2, 16s. By decrease the
controller gain, Kc value, the process become slower and less oscillatory, but by increased
the integral time, I value, and it will accelerate the process towards the set point. The process
is waiting until it become stable. The set point test is run by increased the SP value from 25
to 27.5 kg/h and wait for the process until it became stable before proceed with the load
disturbance test. By increase the MV value from 33.2 to 43.2, it can be seen that the process
line will increase rapidly for a moment, then being decreased and become stable.
For Air Pressure Control (PIC 92), value for controller gain, Kc now is 2.71 and the
value of integral time, I is 12.49 s. The process curve is stable and reaches the set point.
Then, continue with set point test by increased the value of set point from 9.8 to 11.0 psig.
Once the process is stable, continue with load disturbance test by increase the MV value
from 69.4 to 79.4%.
For Flow Control (FIC 21), value for controller gain, Kc now is 1.075 and the value of
integral time, I 4.16 s. Due to fluctuation and the response curve is not stable, then the value
of Kc is divided by 2, 1.875 while the I value is multiply by 2, 26.70s. The response curve is
now stable and near to the set point. Then, make the set point test by increase the set point
from 3.99 to 4.39 m3/h. It can be observed the MV curve is increased rapidly before
decreased and become stable. Once the process curve is stable, continue the test with load
disturbance test by increasing the MV value from 64.6 to 74.6%.
Set point is the desired value for the operating variable. After run the steady state
experiment, the initial set point value was changed by an increment of 5%. These changes
represent the situation in which the plant operator occasionally changes the value of set point
and allows the considerable time for the control system to respond. In this experiment, all the
graphs showed that the process line has the same reaction where it moves towards the set
point and after a while it will reached stability where the process value and set point value is
almost equal.
Under load disturbance, the system will experienced disturbance that cause a large,
sustained deviation of the controlled variable from its set point. In this test, the initial load
disturbance value was also increased by 5%. Before entering the value, the system is
change in manual mode and after the value was entered, the system is quickly changed back
25
into auto mode. Through the result, it can be seen that the longer time needed for the
process line to return to the set point, the process will become more unfavourable since it
affect the process line and also the production rate. The output lines also need to be
considered because if the output line is not smooth and stable then the utilities are high.
5.0 CONCLUSION
As a conclusion, this experiment had achieved its objective which is to find the
optimum PI for Level Control Process (LIC 11), Air Flow Control (FIC 91), Air Pressure
Control (PIC 92) and Flow Control (FIC 21) by using the Reformulated Tangent Method and
by using Ziegler-Nichols tuning rules. When we increase the changing in MV value, the value
of controller gain, Kc will increase and can affect the respond of the process to become more
faster and the process become more stable. By decreasing the controller gain, Kc it also
reduce the oscillatory and make the process become more stable. The integral time, I value
is decreased and it accelerates the process to the set point.
26
6.0 References
1. Abdul Aziz Ishak & Muhammed Azlan Hussain, (2000). “Reformulation of the tangent
method for PID controller tuning”. Process Control Engineering Online, May 2013,
http://aabi.tripod.com
2. Abdul Aziz Ishak (2011), Process Control Practices note.
3. http://www.controlguru.com/pages/table.html
4. http://www.amazon.com/Principles-Practices-Automatic-Process-
Control/dp/0471431907
5. http://www.carbontrust.com/media/147554/ctv063_industrial_process_control.pdf
6. Astrom K., Hagglund T. (2006) Advanced PID Control, ISA, Research Triangle Park
(Industrial application of PID)
7. Bohl A., McAvoy T. (1976) Linear feedback vs. time optimal control. II. The regulator
problem, Ind. Eng. Chem., Process Des. Dev., Vol. 15, No. 1 (Industrial application of
PID)
8. McMillan, G. (2004) Models Unleashed, ISA, Research Triangle Park (Industrial
application of PID)
9. Ramon Vilanova, Antonio Visioli (2011), PID Control in the third Millennium: Lessons
Learned and New Approaches, Springer. (Industrial application of PID)
10. McMillan G., (Dec. 8, 2010) Exceptional opportunities in process con-trol, ISA short
course, Saint Louis
http://www.modelingandcontrol.com/2010/12/exceptional_opportunities_in_p_18.html
(Industrial application of PID)
11. McMillan G., Baril R. (Aug. 2010) pH measurement and control, Chemi-cal
Engineering (Industrial application of PID)
12. McMillan G., (Dec. 8, 2010) Exceptional opportunities in process con-trol, ISA short
course, Saint Louis
http://www.modelingandcontrol.com/2010/12/exceptional_opportunities_in_p_18.html
(Industrial application of PID)
13. McMillan G., (Dec. 9, 2010) Measurement and valve errors - Sources and impact,
Emerson website entry, Austin
http://www.modelingandcontrol.com/2010/12/measurement_and_valve_errors_-.html
(Industrial application of PID)
14. McMillan G., (Dec. 16, 2010) Star performers in minimizing life cycle costs, Emerson
website entry, Austin
27
http://www.modelingandcontrol.com/2010/12/star_performers_in_minimizing.html
(Industrial application of PID)
15. McMillan, G. (2003) Advanced pH Measurement and Control, ISA, Re-search
Triangle Park
16. McMillan G., (Aug. 2010) DeltaV v11 PID enhancements for wireless, Emerson white
paper, Austin
17. Farhad Aslam, Mohd. Zeeshan Haider (2011) An implementation and Comparative
Analysis of PID Controller and their Auto Tuning Method for Three Tank Liquid Level
Control, International Journal of Computer Applications (0975-8887), Vol. 21
18. Rajkumar Bansal, A. Patra, Vijay Bhuria (2012), Design of PID Controller for Plant
Control and Comparison with Z-N PID Controller, International Journal of Emerging
Technology and Advanced Engineering, Vol. 2, Issue 4.
19. Mr. S. S. Gade, Mr. S. B. Shendageand Mr. M. D. Uplane, ―On Line Auto Tuning of
PID Controller Using Successive Approximation Method,‖ 2010 International
Conference on Recent Trends in Information, Telecommunication and Computing,
pp. 272-280
20. Gade S.S, Kanase A B, ShendageS. B. and Uplane M. D., ―Design and
Development of Universal on Line Auto Tune PID controllers,‖ in Proc. Of Int. Conf.
on Control, Communication and Power Engineering 2010, pp. 291-295..
21. Vinay Gupta, AshisPatra, ―Design of Self-Tune PID Controller for Governor Control
to Improve Dynamic Characteristics ―International Conference (ICITM-2011) to be
held on 3rdJuly2011 at Ranchi, India
7.0 APPENDICES
28
7.0 APPENDICES
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45