react
react
org © 2022 IJCRT | Volume 10, Issue 7 July 2022 | ISSN: 2320-2882
Abstract: The continuous stirred tank reactor (CSTR) is a batch reactor equipped with an impeller or other mixing device to
ensure efficient mixing. The article aims to provide steps and successful implementation of a Single input- Single output (SISO)
strategy for modelling of CSTR on DeltaV DCS system. We have implemented batch and continuous strategy for CSTR using
PID and Model Predictive Control (MPC). The results obtained by both techniques are compared further. By implementing this
loop, we will be able to understand continuous and batch processes better. The results achieved through MPC works better than
PID. Multiple input-Multiple output (MIMO) systems handling and constraints handling capacity of MPC is reliable than PID due
to advanced algorithms and modelling of the plant.
Index Terms – CSTR, MPC, Emerson DeltaV, DCS, modelling, chemical engineering.
I. INTRODUCTION
This project aims to design and control the Continuous Stirred Tank Reactor (CSTR) loop based on an
advanced control strategy that is needed in process and chemical industries. Since every industry has adopted
advanced techniques for control of nonlinear processes, the CSTR is considered the most nonlinear system,
with critical process parameters like temperature, level, and flow. CSTR are reaction vessels in which reagents,
reactants, and often solvents are added while the product(s) of the reaction is simultaneously removed. Tank
reactors are powerful tools for continuous chemical processing in this manner. In this project we have
interfaced a pilot plant like industrial CSTR, to Emerson DeltaV DCS system. Using DCS we have
implemented Model Predictive Control strategy to control pressure parameter and to understand the working
interacting parameters and loops in the nonlinear system.
CSTR is specifically considered a non-linear system, which exhibits highly dynamic behavior
[1,2,3,4]. CSTR has led to design of different control mechanisms for handling temperature and concentration
effectively. CSTR has various transfer function nonlinear mode equations which may carried out exothermic
or isothermal process, thus CSTR is treated as crucial system and exhibits dynamic behavior [5,6,7,8,9]. In
chemical industries, the CSTR is most widely used chemical reactor. To have more exposure towards control
of nonlinear systems, many advanced control strategies have been introduced in process industries
[1,2,3,4,10,11]. CSTR is a main element in the chemical industries. CSTR is backbone of all process control
industries, it performs an important role in controlling the temperature of the reaction for the design purpose
[5,12]. CSTR shows highly nonlinear properties and because of linear modelling and controlling is difficult
in the case of CSTR [13,14].
PID and MPC are the most widely used control strategies in chemical industries [1,2,3]. The article
[4] focuses on a PID type control strategy with Feedback, Feed-Forward, and Cascade type configurations
implemented on temperature loop in CSTR. CSTR has led to the design of different control mechanisms for
handling temperature and concentration thus, a control mechanism that would make accurate changes, hence
PID controller is a correct controller to be used to control such process in a large scale [6]. The optimized GA-
PID controller shows good transient response compared to that of the conventional PID controller [6]. The
article [4] propose feedback type PID configuration to control temperature in CSTR.
IJCRT2207496 International Journal of Creative Research Thoughts (IJCRT) www.ijcrt.org d731
www.ijcrt.org © 2022 IJCRT | Volume 10, Issue 7 July 2022 | ISSN: 2320-2882
The implementation of nonlinear PID using local linear state-space models of a nonlinear system was
introduced in [2]. The article [6] focuses on implementation of PID using GA which results in good
optimization and advanced control over system. In article [9] proposed method of designing PID using
SOPTDZ. Thus, the time domain parameters of CSTR with GA optimized PID controller are analyzed. It is
observed that the designed controller provides a better response to the CSTR plant. The article [2] proposed
design method for nonlinear PID using local PID controllers on the support of local state space models
representing nonlinear system. The overall output of local PID controllers is put together to take global output
and give it to nonlinear PID [2].
The article [4] proposed simulations-based temperature control loops of CSTR using DCS. The
purpose of the DCS is to provide easy optimization, and advance control over the system. In DCS, advance
features like MPC, Fuzzy Logic are implementable and easily handled due to storage optimization. Using
DCS, designing of the model predictive technique for level control of a system has been done in [15]. In article
[16], the experiment suggests implementation of control technique on a nonlinear process using DeltaV DCS.
The salt mixing setup used in this experiment exhibits MIMO and dynamic behavior which is perfect system
to practice advance control strategies.
The article [1] presents sets of the model applied to the model predictive controller (MPC) for
advanced control on CSTR. Using multiple sets of models based on MPC can make the process switch
smoothly over the multiple operating safe points, making the process more efficient. MPC with a quite
acceptable operating point can handle a nonlinear CSTR system smoothly [1,2]. Rather than traditional linear
MPC, a non-linear MPC has always shown exceptional results and excellent performances [1], [3,11]. The
article [1] suggests MPC control on the base of mixture distribution i.e., series of parallel models, to CSTR.
The article [3] presents a NMPC algorithm based on stochastic differential equations (SDE) can trace desirable
temperature setpoint during operation while attains stability. MPC has adaptive ability to handle outputs and
varying inputs due to it optimization, disturbance handling [11].
MPC algorithm provides more reliability and fast adaptivity with comparable computation complexity
to control CSTR process over a linear MPC [1]. The computation complexity is reduced in F-NMPC based
model introduced in [2] compared to A-NMPC. A Nonlinear Model Predictive Control (N-MPC) introduced
in [3] demonstrates absolute control over temperature parameter in CSTR. The Distributed Control System
(DCS) can help in easy monitoring and optimize computation of MPC [4]. MPC performance can be enhanced
along with more disturbance predictions [11]. The article [5,12,17] presents traditional way for modelling and
controlling of CSTR, but as time passed away many advance control strategies comes into the picture like
MPC to have a smooth and efficient command on CSTR.
The article [10] has designed a model-based controller using PDC technique via T-S fuzzy bilinear
model. This model is most trendy in process industries for implementation of nonlinear MPC due to its fuzzy
rules. The parameters that can be controlled under fuzzy control are Fuzzification, Knowledge Base, Fuzzy
reasoning, Defuzzification [5]. Fuzzy adaptive controllers are designed with the unique backstepping method
for the nonlinear MIMO ambiguous system, which resulted effectively on CSTR system with less lag in output
[8]. The article [7] proposed two control strategies, optimization through ICA and gain scheduling through
fuzzy logic. SSE and IAE criteria help in better outcome by which fuzzy structure implemented get more
flexibility and enhanced behavior. The fuzzy based study concluded that all fuzzy observers correctly traced
the fault, despite disturbances [13]. Therefore, monitoring algorithms need to identify faults quickly and
accurately to implement necessary correction actions to return the system to desired handling conditions
[5,12,13].
In chemical and process industries, CSTRs are considered nonlinear systems because of their highly interacting parameters and fast
dynamics. A CSTR is a reactor that incorporates an impeller or agitator for mixing purposes. Using CSTR, two or more reactants
can be mixed so that their temperatures are isothermal throughout the reactor. By creating a temperature-controlled environment,
the CSTR improves the quality of the final product. CSTR is useful batch as well as continuous processing of products.
III. METHODOLOGY
3.1 Interfacing of CSTR plant with DeltaV DCS:
In DeltaV DCS, the logic development and FBD designing is done on Control Studio. The Figure. 5 shows the batch process
created for CSTR to run for required amount of time. In this program manual override for all pumps is provided in case if needed.
The yellow box contains the master start/stop button for batch-run and manual override switches for pumps. The red box contains
the interlocks and timer blocks used for running the pumps for specified time. The blue box contains the discrete outputs i.e., pumps
and agitator. The detailed information of blocks in Fig. 5 is shown in Table 2. below.
Table 2. Batch Program FBD blocks detail.
The manual override for pumps has been provided an effective interlock where the operator must first switch from auto to manual
mode through button MANU_SWITCH_A & then it gives access for making motor start/stop through button R_PUMP_A_MANU.
When in manual mode the operator won’t be able to run the auto batch process due to interlocks assigned in the middle section using
AND OR & NOT blocks.
3.1.4 PID control on CSTR:
KP (Gain) 1
KI (Reset) 500
KD (Rate) 0.02
1. Go back to Control Studio and open the program containing MPC block. Click on save and download the program. After
that click on ‘Online’.
2. Now the program is online, select MPC block and click on ‘MPC Operate’ visible on the right corner of window.
3. On MPC operate we have multiple tools and settings available to operate the MPC block. The main screen contains trends
showcasing all parameters i.e., setpoint, process variable, controlled variable, and sliders to change the values as well.
4. Choose the ‘Setpoint’ parameter and change the value to ‘xyz’ and observe the trends.
The Figure. 11 displays the response achieved by MPC on pressure loop of CSTR. In the graph above the red and green lines
describe the behaviour of MNPLT1 (Pressure) VS CNTRL1 (Control Valve 2). The blue line indicates the setpoint given to the
MPC. The X-axis and Y-axis of the shows the time and percentage scale, respectively. The light green colour section in the graph
is the future trajectory or predicted response calculated by the model.
V. RESULTS
After comparing the PID and MPC responses in terms of their graphs plotted against the same parameters in Figure. 7 & Figure.
11 respectively, MPC control action is more dependable and does a quick action than PID. In PID action, if a setpoint is adjusted,
tuning of parameters is required again. The system will take time to achieve different values which is not the case in MPC action.
As illustrated in Figure. 11, the setpoint is changed several times, and the time taken by the controller to achieve the desired response
is noticeably short. The main advantage of MPC action is that it represents future readings or rather tells how the system will respond.
The setpoint tracking is another advantage of MPC over PID that can be seen in Figure. 11 which is represented in the green colour
section. The setpoints given in both the cases are the same but due to mathematically modelling, the MPC has an advantage over
SP = 25 SP = 25
From the Table 4. it can be observed MPC is more reliable than PID for nonlinear system. The setpoints given for both the controllers
are same yet PID takes more time to achieve desired response as compared to MPC. Because as soon as the setpoint is changed in
the PID, appropriate tuning of parameters is required. That’s not the case in MPC because of modelling it is easy to handle the
multiple setpoint changes.
VI. CONCLUSION
VII. This paper concludes that the nonlinear systems in industries require advanced control techniques like MPC to manage the
parameters and constraints. In MPC, after the setpoint is changed the process variable immediately controls the controlled variable
to achieve desired response in less time. The MPC can also increase productivity due to fast response and runs the system efficiently
i.e., total utilization of the system is done. For MIMO systems, the disturbances are managed very well by MPC whereas in the case
of PID strategy, cascading of controllers is done which is complicated for tuning as well as designing. Theoretically, several PID
actions have been introduced to control the MIMO systems efficiently, but it is implementable to all systems.
VIII. ACKNOWLEDGEMENT
In order to complete this research and project, we would like to express our sincere appreciation to AISSMS's Institute of
Information Technology and the Emerson Centre of Excellence Laboratory for providing us with infrastructural facilities.
REFERENCES
[1] J. Pekaf and V. Havlena, “CONTROL OF CSTR USING MODEL PREDICTIVE CONTROLLER BASED ON
MIXTURE DISTRIBUTION,” 2004. [Online]. Available: www.elsevier.comllocate/lfac
[2] J. Prakash and K. Srinivasan, “Design of nonlinear PID controller and nonlinear model predictive controller for a
continuous stirred tank reactor,” ISA Transactions, vol. 48, no. 3, pp. 273–282, 2009, doi: 10.1016/j.isatra.2009.02.001.
[3] M. R. Wahlgreen et al., “Nonlinear model predictive control for an exothermic reaction in an adiabatic CSTR,” in IFAC-
PapersOnLine, 2020, vol. 53, no. 1, pp. 500–505. doi: 10.1016/j.ifacol.2020.06.084.
[4] M. Ponni Bala, E. B. Priyanka, K. Prabhu, P. Bharathi Priya, T. Bhuvana, and V. Cibi Raja, “Real-time performance
analysis of temperature process using continuous stirred tank reactor,” in 2021 International Conference on Emerging
Smart Computing and Informatics, ESCI 2021, Mar. 2021, pp. 647–650. doi: 10.1109/ESCI50559.2021.9396877.
[5] M. Nazar Ismael, A. T. Nawaf, and M. A. Abdullah, “Continuous Stirred Tank Reactor using the Dual/Valve Position-
Cascade Control System,” 2020.
[6] Prabhu K, “Pid Controller Design For Cstr Plant Using Genetic Algorithm Based Pid Controller”, [Online]. Available:
www.ijstr.org
[7] M. F. ad Rahmat, A. M. Yazdani, M. A. Movahed, and S. Mahmoudzadeh, “Temperature control of a continuous stirred
tank reactor by means of two different intelligent strategies,” International Journal on Smart Sensing and Intelligent
Systems, vol. 4, no. 2, pp. 244–267, 2011, doi: 10.21307/ijssis-2017-438.
[8] L. P. Xin, B. Yu, L. Zhao, and J. Yu, “Adaptive fuzzy backstepping control for a two continuous stirred tank reactors
process based on dynamic surface control approach,” Applied Mathematics and Computation, vol. 377, Jul. 2020, doi:
10.1016/j.amc.2020.125138.
[9] D. Krishna, K. Suryanarayana, G. Aparna, and R. Padma Sree, “Tuning of PID Controllers for Continuous Stirred Tank
Reactors,” Indian Chemical Engineer, vol. 54, no. 3, pp. 157–179, 2012, doi: 10.1080/00194506.2012.766005.
[10] M. Hamdy and I. Hamdan, “Robust fuzzy output feedback controller for affine nonlinear systems via T-S fuzzy bilinear
model: CSTR benchmark,” ISA Transactions, vol. 57, pp. 85–92, 2015, doi: 10.1016/j.isatra.2014.11.012.
[11] M. Pervez and T. Kamal, “Comparative Study of Modern Control Techniques for Optimal Dynamic Nonlinear Process
Control,” Nov. 2020. doi: 10.1109/INMIC50486.2020.9318161.
[12] V. and R. O. P. and K. V. Kumar Utsav and Sharma, “MPC-Based Temperature Control of CSTR Process and Its
Comparison with PID,” in Advances in Electrical and Computer Technologies, 2020, pp. 1109–1115.
[13] M. Delbari, K. Salahshoor, and B. Moshiri, “Adaptive generalized predictive control and model reference adaptive control
for CSTR Reactor,” in 2010 International Conference on Intelligent Control and Information Processing, 2010, pp. 165–
169. doi: 10.1109/ICICIP.2010.5565238.
[14] H. Ballesteros-Moncada, E. J. Herrera-López, and J. Anzurez-Marín, “Fuzzy model-based observers for fault detection
in CSTR,” ISA Transactions, vol. 59, pp. 325–333, 2015, doi: https://doi.org/10.1016/j.isatra.2015.10.006.
[15] C. A. Rietz and D. K. Rollins, “Implementation of a predictive modeling technique on a DCS,” in Proceedings of the
1998 American Control Conference. ACC (IEEE Cat. No.98CH36207), 1998, vol. 5, pp. 2951–2955 vol.5. doi:
10.1109/ACC.1998.688399.