SlideShare a Scribd company logo
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
Volume:02/Issue:04/April-2020 www.irjmets.com
www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science
[133]
COMPARISON OF PID AND MPC CONTROLLERS FOR CONTINUOUS STIRRED
TANK REACTOR (CSTR) CONCENTRATION CONTROL
Mustefa Jibril*1
, Messay Tadese*2
, Eliyas Alemayehu Tadese*3
*1,2
Msc, School of Electrical & Computer Engineering, Dire Dawa Institute of Technology, Dire Dawa, Ethiopia
*3
Msc, Faculty of Electrical & Computer Engineering, Jimma Institute of Technology, Jimma, Ethiopia
ABSTRACT
Continuous Stirred Tank Reactor (CSTR) is amajorarea in process, chemical and control engineering. In this paper, PID
and MPC controllers are designed for CSTR in order to analyze the output concentration of the system by comparing
the two proposed systems using Matlab/Simulink. Comparison have been made using two desired concentration input
(Random reference and step) signals with and without input side disturbance (Flow rate error). The simulation result
shows that the continuous stirred tank reactor with MPC controller have better response in minimizing the overshoot
and tracking the desired concentration for the system without input disturbance and with the effect of the disturbance
makes the continuous stirred tank reactor with MPC controller output with small fluctuations and still better than the
continuous stirred tank reactor with PID controller. Finally the comparative analysis and simulation results prove the
effectiveness of the continuous stirred tank reactor with MPC controller.
Keywords: Continuous Stirred Tank Reactor (CSTR), PID controller, MPC controller
I. INTRODUCTION
A Continuous Stirred Tank Reactor (CSTR) a highly nonlinear system and is an essential system in many industrial
processes that require continuous addition and removing of reactants and products. In order to maximize the industrial
productivity in process plants, these reactors are maintained at very high precision rates. A CSTR sometimes be an
opposite of an idealized well-stirred batch reactor. The series of operating points should exhibit a stable steady estate
dealing under the demeanor of disturbance as well. Linear controllers designed for such tendency fail to deliver optimal
achievement outside the linear operating range.
1. Continuous Stirred Tank Reactor Description Model
In this paper, we've adopted a nonlinear model of a CSTR under the idea that contents are properly mixed and for this
reason, concentration is equal anywhere inside the reaction vessel. A diagram of the system is shown in Figure 1 below.
Figure 1: Continuous stirred tank reactor system
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
Volume:02/Issue:04/April-2020 www.irjmets.com
www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science
[134]
The dynamic model of the system is
 
       1 2 0.2 1
dh t
w t w t h t
dt
         
 
  
 
 
  
 
 
 
  
 1 2 1
1 2 2
2
2
1
b b
b b b b
b
dC t w t w t k C t
C C t C C t
dt h t h t k C t
           

Where
h (t) Liquid level,
 bC t Product concentration at the output of the process,
 1w t Flow rate of the concentrated feed 1bC , and
 2w t Flow rate of the diluted feed 2bC .
2. The Proposed Controllers
2.1 PID Control
A proportional–integral–derivative control is a control closed-loop feedback system which is widely used in control
systems. A PID controller achieves to maintain the error between a measured variable and a desired set point by
adjusting and outputting an exact action that can maintain the process fatly and accurately, to keep the error minimal.
The PID controller involves three separate parameters; the proportional, the integral and derivative values. The
proportional value determines the response to the contemporary error, the integral value determines the response
primarily based at the sum of latest error, and the derivative value determines the response primarily based at the rate at
which the error has been changing.
Figure 2: Block Diagram of PID Controller
A PID controller may be referred to as a PI, PD, P or I controller inside the absence of the respective manage
movements. PI controllers are specifically common, considering that derivative action may be very touchy to size noise,
and the absence of an integral value can also save you the device from accomplishing its target value because of the
manage action. In this paper, we have use automatic tuning of PID controller. Table 1 shows the PID parameter values.
Table 1: PID parameters
No Parameters Value
1
PK 2.88847879306232
2
IK 0.9787824154907306
3
DK -0.0884151983707181
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
Volume:02/Issue:04/April-2020 www.irjmets.com
www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science
[135]
2.2 Model Predictive Control
The overall objectives of an MPC controller are
1. Prevent violations of input and output constraints.
2. Drive some output variables to their most desirable set points, even as retaining different outputs inside exact tiers
3. Prevent immoderate movement of the input variables.
4. Control as many process variables as feasible when a sensor or actuator isn't always available.
Figure 3: Block diagram for model predictive control.
A block diagram of a model predictive manipulate system is shown in Figure 3. A system model is used to expect the
modern values of the output variables. The residuals, the differences among the actual and anticipated outputs, serve as
the feedback sign to a Prediction block. The predictions are used in two forms of MPC calculations that are done at each
sampling immediately: set-factor calculations and manage calculations. Inequality constraints on the input and output
variables, inclusive of higher and decrease limits, can be protected in both kind of calculation.
II. RESULT AND DISCUSSION
In this section the simulation of a continuous stirred tank reactor with PID and MPC controller’s output concentration
using desired output concentration signals (Random reference input and step input) for with and without input
disturbance is done. In this paper, the input concentrations are set to Cb1 = 24.9 and Cb2 = 0.1. The constants associated
with the rate of consumption are K1 = 1 and K2 = 1. The objective of the controller is to maintain the product
concentration by adjusting the flow W1(t). To simplify the Simulink model, we choose to set W2(t)= 0.1. The level of
the tank h(t) is not controlled for this paper.
Comparison of continuous stirred tank reactor with PID and MPC controller without Input Disturbance
The Simulink model for a continuous stirred tank reactor with PID and MPC controllers for a Random reference input
and step input signals without input disturbance is shown in Figure 4 and Figure 5 respectively.
Figure 4: Simulink model for a continuous stirred tank reactor with PID and MPC controllers for a Random reference
input without input disturbance
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
Volume:02/Issue:04/April-2020 www.irjmets.com
www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science
[136]
Figure 5: Simulink model for a continuous stirred tank reactor with PID and MPC controllers for a Step input without
input disturbance
The simulation result of a continuous stirred tank reactor with PID and MPC controllers for a Random reference input
and step input signals without input disturbance is shown in Figure 6 and Figure 7 respectively.
Figure 6: Random reference response of output concentration without input disturbance
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
Volume:02/Issue:04/April-2020 www.irjmets.com
www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science
[137]
Figure 7: Step input response of output concentration without input disturbance
As the result shown from Figure 6 and Figure 7, the continuous stirred tank reactor with MPC controller have better
response in minimizing the overshoot and tracking the desired concentration better than the continuous stirred tank
reactor with PID controller.
Comparison of continuous stirred tank reactor with PID and MPC controller with Input Disturbance
The Simulink model for a continuous stirred tank reactor with PID and MPC controllers for a Random reference input
and step input signals with input disturbance is shown in Figure 8 and Figure 9 respectively.
Figure 8: Simulink model for a continuous stirred tank reactor with PID and MPC controllers for a Random reference
input with input disturbance
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
Volume:02/Issue:04/April-2020 www.irjmets.com
www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science
[138]
Figure 9: Simulink model for a continuous stirred tank reactor with PID and MPC controllers for a Step input with
input disturbance
The simulation result of a continuous stirred tank reactor with PID and MPC controllers for a Random reference input
and step input signals with input disturbance is shown in Figure 10 and Figure 11 respectively.
Figure 10: Random reference response of output concentration with input disturbance
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
Volume:02/Issue:04/April-2020 www.irjmets.com
www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science
[139]
Figure 11: Step input response of output concentration with input disturbance
As the result shown from Figure 10 and Figure 11, the continuous stirred tank reactor with MPC controller have better
response in minimizing the overshoot and tracking the desired concentration with the effect of the disturbance makes
the output with small fluctuations and it is better than the continuous stirred tank reactor with PID controller.
III. CONCLUSION
The modeling description and design of continuous stirred tank reactor with the proposed controllers have been done
successfully. The performance investigation of the systems including comparisons of the proposed controllers for the
output concentration control purpose analysis is done using Matlab/Simulink. The simulation results of continuous
stirred tank reactor without input disturbance shows that the continuous stirred tank reactor with MPC controller almost
exactly follow the desired concentration efficiently in both the random reference and step input signals. The simulation
results of continuous stirred tank reactor with input disturbance shows that the continuous stirred tank reactor with MPC
controller shows a small effect of the disturbance vibration and follows the desired concentration in both the random
reference and step inputs. Finally the comparative simulation results proved the effectiveness of the continuous stirred
tank reactor with MPC controller.
IV. REFERENCE
[1] KC Cheng et al. “Model of Hyper branched Polymers Prepared via Polymerization of AB2 and Core C3 Monomers
in a Continuous Stirred Tank Reactor” Journal of chemical Engineering Research and Design (Elsevier), 2020.
[2] Neha K. et al. “Control System Design and Performance Analysis of PID and IMC Controllers for Continuous
Stirred Tank Reactor (CSTR)” Journal of Control and Instrumentation, Vol. 10, No. 1, 2019.
[3] DD Mohite et al. “Performance Optimization of Anaerobic Continuous Stirred Tank Reactor Operating on
Distillery Spent Wash” Journal of Environmental Engineering, 2019.
[4] Z Ye et al. “Disturbance Observer Based Adaptive Sliding Mode Control for Continuous Stirred Tank Reactor”
Chinese Control Conference (CCC), 2019.
[5] GB S. et al. “Fuzzy Based Nonlinear PID Controller and its Application to CSTR” Korean Journal of Chemical
Engineering, 2018.
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
Volume:02/Issue:04/April-2020 www.irjmets.com
www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science
[140]
[6] A Sinha et al.”Control of a Nonlinear Continuous Stirred Tank Reactor via Event Triggered Sliding Modes”
Journal of Chemical Engineering Science (Elsevier), 2018.
[7] Matusu et al. ”Robust Stabilization of a Continuous Stirred Tank Reactor Model” Annals of DAAAM and
Proceedings, Vol.27, pp. 147-150, 2016.
[8] Lee J. et al.” Temperature Control of a CSTR using a Nonlinear PID Controller” Journal of Institute of Control,
Robotics and Systems, Vol. 21, Issue. 5, pp. 482-489, 2015.

More Related Content

PDF
IRJET - Liquid Level Control Strategy using Fractional Order PID Controlle...
PDF
At4201308314
PDF
IRJET- Speed Control of DC Motor using PID Controller - A Review
PDF
Tuning of PID controllers for integrating systems using direct synthesis method
PDF
Fuzzy controlled mine drainage system based on embedded system
PDF
Speed control of dc motor using relay feedback tuned pi
PDF
IRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy Controller
PDF
Pa3426282645
IRJET - Liquid Level Control Strategy using Fractional Order PID Controlle...
At4201308314
IRJET- Speed Control of DC Motor using PID Controller - A Review
Tuning of PID controllers for integrating systems using direct synthesis method
Fuzzy controlled mine drainage system based on embedded system
Speed control of dc motor using relay feedback tuned pi
IRJET- Speed Control of Induction Motor using Hybrid PID Fuzzy Controller
Pa3426282645

What's hot (19)

PDF
IRJET- Analysis of 3-Phase Induction Motor with High Step-Up PWM DC-DC Conver...
PDF
Real-Time Monitoring of Industrial Environmental Temperature using LabVIEW
PDF
PID Controller based DC Motor Speed Control
PDF
10.1.1.1039.4745
PDF
Real-time monitoring and control of flow rate in transportation pipelines usi...
PDF
PLC Projects list in Chennai
PDF
Bj4301341344
PDF
Tank liquid level control using narma l2 and mpc controllers
PDF
IRJET- Automation Framework to Validate Interface Gateway Data Dictionary usi...
DOC
Plc projects
PDF
Comparison Analysis of Model Predictive Controller with Classical PID Control...
PDF
To Perform SIL And PIL Testing on Fast Dynamic System using Economical AVR Co...
PDF
Development of Software for Estimation of Structural Dynamic Characteristics ...
PDF
EHR ATTRIBUTE-BASED ACCESS CONTROL (ABAC) FOR FOG COMPUTING ENVIRONMENT
PDF
Design of a discrete PID controller based on identification data for a simsca...
PDF
Plc based pid implementation in process control of temperature flow and level
PDF
Fractional order-pid-controller design
PDF
Pid controllers Interview Questions
PDF
Tuning of IMC-based PID controllers for integrating systems with time delay
IRJET- Analysis of 3-Phase Induction Motor with High Step-Up PWM DC-DC Conver...
Real-Time Monitoring of Industrial Environmental Temperature using LabVIEW
PID Controller based DC Motor Speed Control
10.1.1.1039.4745
Real-time monitoring and control of flow rate in transportation pipelines usi...
PLC Projects list in Chennai
Bj4301341344
Tank liquid level control using narma l2 and mpc controllers
IRJET- Automation Framework to Validate Interface Gateway Data Dictionary usi...
Plc projects
Comparison Analysis of Model Predictive Controller with Classical PID Control...
To Perform SIL And PIL Testing on Fast Dynamic System using Economical AVR Co...
Development of Software for Estimation of Structural Dynamic Characteristics ...
EHR ATTRIBUTE-BASED ACCESS CONTROL (ABAC) FOR FOG COMPUTING ENVIRONMENT
Design of a discrete PID controller based on identification data for a simsca...
Plc based pid implementation in process control of temperature flow and level
Fractional order-pid-controller design
Pid controllers Interview Questions
Tuning of IMC-based PID controllers for integrating systems with time delay
Ad

Similar to Comparison of pid and mpc controllers for continuous stirred tank reactor (cstr) concentration control (20)

PDF
Iaetsd design and implementation of intelligent
PDF
Top Read Articles in Information & Technology : July 2021
PDF
Experimental evaluation of control performance of MPC as a regulatory controller
PDF
Control of an unstable batch chemical reactor
PDF
Controller Tuning Method for Non-Linear Conical Tank System
PDF
0520 th m10.4
PDF
Brain emotional learning based intelligent controller and its application to ...
PDF
Design of a new PID controller using predictive functional control optimizati...
PDF
PID - Copy
PDF
Design of Controllers for Continuous Stirred Tank Reactor
PDF
3 gain adaptive control applied to a heat exchanger process
DOCX
--Liquid level in a tank.docx ddd dddddds
PDF
PLC BASED PID IMPLEMENTATION IN PROCESS CONTROL OF TEMPERATURE FLOW AND LEVEL
PDF
FUZZY LOGIC Control of CONTINUOUS STIRRED TANK REACTOR
PDF
Process Dynamics and Control
PPT
Lecture01.ppt
PDF
Controller Tuning for Integrator Plus Delay Processes.
PDF
Comparing the effect of PI and I controllers on a four tank process
PDF
J044046467
PDF
Analysis of Different Controllers used for Boiler Drum Level Control by using...
Iaetsd design and implementation of intelligent
Top Read Articles in Information & Technology : July 2021
Experimental evaluation of control performance of MPC as a regulatory controller
Control of an unstable batch chemical reactor
Controller Tuning Method for Non-Linear Conical Tank System
0520 th m10.4
Brain emotional learning based intelligent controller and its application to ...
Design of a new PID controller using predictive functional control optimizati...
PID - Copy
Design of Controllers for Continuous Stirred Tank Reactor
3 gain adaptive control applied to a heat exchanger process
--Liquid level in a tank.docx ddd dddddds
PLC BASED PID IMPLEMENTATION IN PROCESS CONTROL OF TEMPERATURE FLOW AND LEVEL
FUZZY LOGIC Control of CONTINUOUS STIRRED TANK REACTOR
Process Dynamics and Control
Lecture01.ppt
Controller Tuning for Integrator Plus Delay Processes.
Comparing the effect of PI and I controllers on a four tank process
J044046467
Analysis of Different Controllers used for Boiler Drum Level Control by using...
Ad

More from Mustefa Jibril (20)

PDF
Design and simulation of a steam turbine generator using observer based and l...
PDF
Modelling design and control of an electromechanical mass lifting system usin...
PDF
Design and simulation of voltage amplidyne system using robust control technique
PDF
Design & control of vehicle boom barrier gate system using augmented h 2 ...
PDF
Mechanically actuated capacitor microphone control using mpc and narma l2 con...
PDF
Modeling and simulation of vehicle windshield wiper system using h infinity l...
PDF
Design and performance investigation of a low cost portable ventilator for co...
PDF
Metal cutting tool position control using static output feedback and full sta...
PDF
Design and simulation of a steam turbine generator using observer based and l...
PDF
Speed control of ward leonard layout system using h infinity optimal control
PDF
Tank liquid level control using narma l2 and mpc controllers
PDF
Performance investigation of hydraulic actuator based mass lift system using ...
PDF
Modelling design and control of an electromechanical mass lifting system usin...
PDF
Comparison of a triple inverted pendulum stabilization using optimal control ...
PDF
Design and simulation of a steam turbine generator using observer based and l...
PDF
Design and control of steam flow in cement production process using neural ne...
PDF
Body travel performance improvement of space vehicle electromagnetic suspensi...
PDF
Quarter car active suspension systemdesign using optimal and robust control m...
PDF
Comparison of active and semi active suspension systems using robust controller
PDF
Optimal and robust controllers based design of quarter car active suspension ...
Design and simulation of a steam turbine generator using observer based and l...
Modelling design and control of an electromechanical mass lifting system usin...
Design and simulation of voltage amplidyne system using robust control technique
Design & control of vehicle boom barrier gate system using augmented h 2 ...
Mechanically actuated capacitor microphone control using mpc and narma l2 con...
Modeling and simulation of vehicle windshield wiper system using h infinity l...
Design and performance investigation of a low cost portable ventilator for co...
Metal cutting tool position control using static output feedback and full sta...
Design and simulation of a steam turbine generator using observer based and l...
Speed control of ward leonard layout system using h infinity optimal control
Tank liquid level control using narma l2 and mpc controllers
Performance investigation of hydraulic actuator based mass lift system using ...
Modelling design and control of an electromechanical mass lifting system usin...
Comparison of a triple inverted pendulum stabilization using optimal control ...
Design and simulation of a steam turbine generator using observer based and l...
Design and control of steam flow in cement production process using neural ne...
Body travel performance improvement of space vehicle electromagnetic suspensi...
Quarter car active suspension systemdesign using optimal and robust control m...
Comparison of active and semi active suspension systems using robust controller
Optimal and robust controllers based design of quarter car active suspension ...

Recently uploaded (20)

PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
composite construction of structures.pdf
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
Welding lecture in detail for understanding
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
Construction Project Organization Group 2.pptx
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
PPT on Performance Review to get promotions
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
composite construction of structures.pdf
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
OOP with Java - Java Introduction (Basics)
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Welding lecture in detail for understanding
CH1 Production IntroductoryConcepts.pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
bas. eng. economics group 4 presentation 1.pptx
Construction Project Organization Group 2.pptx
R24 SURVEYING LAB MANUAL for civil enggi
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPT on Performance Review to get promotions
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd

Comparison of pid and mpc controllers for continuous stirred tank reactor (cstr) concentration control

  • 1. e-ISSN: 2582-5208 International Research Journal of Modernization in Engineering Technology and Science Volume:02/Issue:04/April-2020 www.irjmets.com www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science [133] COMPARISON OF PID AND MPC CONTROLLERS FOR CONTINUOUS STIRRED TANK REACTOR (CSTR) CONCENTRATION CONTROL Mustefa Jibril*1 , Messay Tadese*2 , Eliyas Alemayehu Tadese*3 *1,2 Msc, School of Electrical & Computer Engineering, Dire Dawa Institute of Technology, Dire Dawa, Ethiopia *3 Msc, Faculty of Electrical & Computer Engineering, Jimma Institute of Technology, Jimma, Ethiopia ABSTRACT Continuous Stirred Tank Reactor (CSTR) is amajorarea in process, chemical and control engineering. In this paper, PID and MPC controllers are designed for CSTR in order to analyze the output concentration of the system by comparing the two proposed systems using Matlab/Simulink. Comparison have been made using two desired concentration input (Random reference and step) signals with and without input side disturbance (Flow rate error). The simulation result shows that the continuous stirred tank reactor with MPC controller have better response in minimizing the overshoot and tracking the desired concentration for the system without input disturbance and with the effect of the disturbance makes the continuous stirred tank reactor with MPC controller output with small fluctuations and still better than the continuous stirred tank reactor with PID controller. Finally the comparative analysis and simulation results prove the effectiveness of the continuous stirred tank reactor with MPC controller. Keywords: Continuous Stirred Tank Reactor (CSTR), PID controller, MPC controller I. INTRODUCTION A Continuous Stirred Tank Reactor (CSTR) a highly nonlinear system and is an essential system in many industrial processes that require continuous addition and removing of reactants and products. In order to maximize the industrial productivity in process plants, these reactors are maintained at very high precision rates. A CSTR sometimes be an opposite of an idealized well-stirred batch reactor. The series of operating points should exhibit a stable steady estate dealing under the demeanor of disturbance as well. Linear controllers designed for such tendency fail to deliver optimal achievement outside the linear operating range. 1. Continuous Stirred Tank Reactor Description Model In this paper, we've adopted a nonlinear model of a CSTR under the idea that contents are properly mixed and for this reason, concentration is equal anywhere inside the reaction vessel. A diagram of the system is shown in Figure 1 below. Figure 1: Continuous stirred tank reactor system
  • 2. e-ISSN: 2582-5208 International Research Journal of Modernization in Engineering Technology and Science Volume:02/Issue:04/April-2020 www.irjmets.com www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science [134] The dynamic model of the system is          1 2 0.2 1 dh t w t w t h t dt                                 1 2 1 1 2 2 2 2 1 b b b b b b b dC t w t w t k C t C C t C C t dt h t h t k C t              Where h (t) Liquid level,  bC t Product concentration at the output of the process,  1w t Flow rate of the concentrated feed 1bC , and  2w t Flow rate of the diluted feed 2bC . 2. The Proposed Controllers 2.1 PID Control A proportional–integral–derivative control is a control closed-loop feedback system which is widely used in control systems. A PID controller achieves to maintain the error between a measured variable and a desired set point by adjusting and outputting an exact action that can maintain the process fatly and accurately, to keep the error minimal. The PID controller involves three separate parameters; the proportional, the integral and derivative values. The proportional value determines the response to the contemporary error, the integral value determines the response primarily based at the sum of latest error, and the derivative value determines the response primarily based at the rate at which the error has been changing. Figure 2: Block Diagram of PID Controller A PID controller may be referred to as a PI, PD, P or I controller inside the absence of the respective manage movements. PI controllers are specifically common, considering that derivative action may be very touchy to size noise, and the absence of an integral value can also save you the device from accomplishing its target value because of the manage action. In this paper, we have use automatic tuning of PID controller. Table 1 shows the PID parameter values. Table 1: PID parameters No Parameters Value 1 PK 2.88847879306232 2 IK 0.9787824154907306 3 DK -0.0884151983707181
  • 3. e-ISSN: 2582-5208 International Research Journal of Modernization in Engineering Technology and Science Volume:02/Issue:04/April-2020 www.irjmets.com www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science [135] 2.2 Model Predictive Control The overall objectives of an MPC controller are 1. Prevent violations of input and output constraints. 2. Drive some output variables to their most desirable set points, even as retaining different outputs inside exact tiers 3. Prevent immoderate movement of the input variables. 4. Control as many process variables as feasible when a sensor or actuator isn't always available. Figure 3: Block diagram for model predictive control. A block diagram of a model predictive manipulate system is shown in Figure 3. A system model is used to expect the modern values of the output variables. The residuals, the differences among the actual and anticipated outputs, serve as the feedback sign to a Prediction block. The predictions are used in two forms of MPC calculations that are done at each sampling immediately: set-factor calculations and manage calculations. Inequality constraints on the input and output variables, inclusive of higher and decrease limits, can be protected in both kind of calculation. II. RESULT AND DISCUSSION In this section the simulation of a continuous stirred tank reactor with PID and MPC controller’s output concentration using desired output concentration signals (Random reference input and step input) for with and without input disturbance is done. In this paper, the input concentrations are set to Cb1 = 24.9 and Cb2 = 0.1. The constants associated with the rate of consumption are K1 = 1 and K2 = 1. The objective of the controller is to maintain the product concentration by adjusting the flow W1(t). To simplify the Simulink model, we choose to set W2(t)= 0.1. The level of the tank h(t) is not controlled for this paper. Comparison of continuous stirred tank reactor with PID and MPC controller without Input Disturbance The Simulink model for a continuous stirred tank reactor with PID and MPC controllers for a Random reference input and step input signals without input disturbance is shown in Figure 4 and Figure 5 respectively. Figure 4: Simulink model for a continuous stirred tank reactor with PID and MPC controllers for a Random reference input without input disturbance
  • 4. e-ISSN: 2582-5208 International Research Journal of Modernization in Engineering Technology and Science Volume:02/Issue:04/April-2020 www.irjmets.com www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science [136] Figure 5: Simulink model for a continuous stirred tank reactor with PID and MPC controllers for a Step input without input disturbance The simulation result of a continuous stirred tank reactor with PID and MPC controllers for a Random reference input and step input signals without input disturbance is shown in Figure 6 and Figure 7 respectively. Figure 6: Random reference response of output concentration without input disturbance
  • 5. e-ISSN: 2582-5208 International Research Journal of Modernization in Engineering Technology and Science Volume:02/Issue:04/April-2020 www.irjmets.com www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science [137] Figure 7: Step input response of output concentration without input disturbance As the result shown from Figure 6 and Figure 7, the continuous stirred tank reactor with MPC controller have better response in minimizing the overshoot and tracking the desired concentration better than the continuous stirred tank reactor with PID controller. Comparison of continuous stirred tank reactor with PID and MPC controller with Input Disturbance The Simulink model for a continuous stirred tank reactor with PID and MPC controllers for a Random reference input and step input signals with input disturbance is shown in Figure 8 and Figure 9 respectively. Figure 8: Simulink model for a continuous stirred tank reactor with PID and MPC controllers for a Random reference input with input disturbance
  • 6. e-ISSN: 2582-5208 International Research Journal of Modernization in Engineering Technology and Science Volume:02/Issue:04/April-2020 www.irjmets.com www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science [138] Figure 9: Simulink model for a continuous stirred tank reactor with PID and MPC controllers for a Step input with input disturbance The simulation result of a continuous stirred tank reactor with PID and MPC controllers for a Random reference input and step input signals with input disturbance is shown in Figure 10 and Figure 11 respectively. Figure 10: Random reference response of output concentration with input disturbance
  • 7. e-ISSN: 2582-5208 International Research Journal of Modernization in Engineering Technology and Science Volume:02/Issue:04/April-2020 www.irjmets.com www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science [139] Figure 11: Step input response of output concentration with input disturbance As the result shown from Figure 10 and Figure 11, the continuous stirred tank reactor with MPC controller have better response in minimizing the overshoot and tracking the desired concentration with the effect of the disturbance makes the output with small fluctuations and it is better than the continuous stirred tank reactor with PID controller. III. CONCLUSION The modeling description and design of continuous stirred tank reactor with the proposed controllers have been done successfully. The performance investigation of the systems including comparisons of the proposed controllers for the output concentration control purpose analysis is done using Matlab/Simulink. The simulation results of continuous stirred tank reactor without input disturbance shows that the continuous stirred tank reactor with MPC controller almost exactly follow the desired concentration efficiently in both the random reference and step input signals. The simulation results of continuous stirred tank reactor with input disturbance shows that the continuous stirred tank reactor with MPC controller shows a small effect of the disturbance vibration and follows the desired concentration in both the random reference and step inputs. Finally the comparative simulation results proved the effectiveness of the continuous stirred tank reactor with MPC controller. IV. REFERENCE [1] KC Cheng et al. “Model of Hyper branched Polymers Prepared via Polymerization of AB2 and Core C3 Monomers in a Continuous Stirred Tank Reactor” Journal of chemical Engineering Research and Design (Elsevier), 2020. [2] Neha K. et al. “Control System Design and Performance Analysis of PID and IMC Controllers for Continuous Stirred Tank Reactor (CSTR)” Journal of Control and Instrumentation, Vol. 10, No. 1, 2019. [3] DD Mohite et al. “Performance Optimization of Anaerobic Continuous Stirred Tank Reactor Operating on Distillery Spent Wash” Journal of Environmental Engineering, 2019. [4] Z Ye et al. “Disturbance Observer Based Adaptive Sliding Mode Control for Continuous Stirred Tank Reactor” Chinese Control Conference (CCC), 2019. [5] GB S. et al. “Fuzzy Based Nonlinear PID Controller and its Application to CSTR” Korean Journal of Chemical Engineering, 2018.
  • 8. e-ISSN: 2582-5208 International Research Journal of Modernization in Engineering Technology and Science Volume:02/Issue:04/April-2020 www.irjmets.com www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science [140] [6] A Sinha et al.”Control of a Nonlinear Continuous Stirred Tank Reactor via Event Triggered Sliding Modes” Journal of Chemical Engineering Science (Elsevier), 2018. [7] Matusu et al. ”Robust Stabilization of a Continuous Stirred Tank Reactor Model” Annals of DAAAM and Proceedings, Vol.27, pp. 147-150, 2016. [8] Lee J. et al.” Temperature Control of a CSTR using a Nonlinear PID Controller” Journal of Institute of Control, Robotics and Systems, Vol. 21, Issue. 5, pp. 482-489, 2015.