Research Article | | Peer-Reviewed

Genetic Algorithm-Based PID Optimization for Ethyl Acetate Saponification in a Continuous Stirred Tank Reactor

Received: 5 November 2024     Accepted: 20 December 2024     Published: 31 December 2024
Views:       Downloads:
Abstract

Effective temperature control in continuous stirred-tank reactors (CSTRs) is essential for maintaining product quality and process stability in nonlinear chemical systems. Traditional PID controllers, tuned via Ziegler-Nichols (ZN) methods, often struggle to manage the nonlinearities of such systems, leading to high overshoot, prolonged settling times, and suboptimal disturbance rejection. This study introduces a genetic algorithm (GA)-based approach for optimizing PID controller parameters to enhance the performance of temperature control during the saponification of ethyl acetate in a CSTR, a mildly exothermic reaction characterized by second-order kinetics. The proposed method employs the integral of time-weighted absolute error (ITAE) as a fitness function to iteratively minimize system error and optimize controller gains. Comparative analysis with the ZN-tuned PID controller reveals substantial improvements using the GA-tuned PID controller, including a reduction in overshoot from 61.4% to 38.1%, and decreases in rise, peak, and settling times by 29.7%, 35.3%, and 72.02%, respectively. Additionally, the GA-PID controller demonstrates superior set-point tracking and robust disturbance rejection, achieving a system error reduction of 68.1% compared to the ZN-PID controller. These results underscore the efficacy of genetic algorithms in overcoming the limitations of conventional tuning methods for nonlinear systems. The GA-based tuning approach not only enhances control accuracy and stability but also offers a scalable solution for optimizing complex industrial processes, paving the way for advancements in chemical reactor control and broader applications in process engineering.

Published in American Journal of Chemical Engineering (Volume 12, Issue 6)
DOI 10.11648/j.ajche.20241206.11
Page(s) 123-131
Creative Commons

This is an Open Access article, distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution and reproduction in any medium or format, provided the original work is properly cited.

Copyright

Copyright © The Author(s), 2024. Published by Science Publishing Group

Keywords

PID Controller, CSTR, Ziegler-Nichols, Genetic Algorithm, Tuning, Optimization

References
[1] M. Kumar and R. Singh, Comparison of non-linear, linearized 2nd order and reduced to FOPDT models of CSTR using different tuning methods, Resource-Efficient Technologies, 2016, 2(1), pp. S71-S75.
[2] F. Wallam and A. Y. Memon, A robust control scheme for nonlinear non-isothermal uncertain jacketed continuous stirred tank reactor, Journal of Process Control, 2017, 51(1), pp. 55-67.
[3] B. Tandon, S. Narayan, and J. Kumar, Nonlinear disturbance observer based robust control for continuous stirred tank reactor, ICIC Express Letters, 2018, 12(1), pp. 1-7.
[4] G.-B. So and G.-G. Jin, Fuzzy-based nonlinear PID controller and its application to CSTR, Korean Journal of Chemical Engineering, 2018, 35(4), pp. 819-25.
[5] L. Suo, J. Ren, Z. Zhao, and C. Zhai, Study on the nonlinear dynamics of the continuous stirred tank reactors, Processes, 2020, 8(11), pp. 1436.
[6] M. Manimozhi and R. Meenakshi, Multiloop IMC-based PID controller for CSTR process, in Proceedings of the International Conference on Soft Computing Systems: ICSCS 2015, Volume 1, 2016, pp. 615-25.
[7] A. Ambroziak and A. Chojecki, The PID controller optimisation module using Fuzzy Self-Tuning PSO for Air Handling Unit in continuous operation, Engineering Applications of Artificial Intelligence, 2023, 117(105485), pp. 1-14.
[8] S. Benameur, S. Tadrist, M. A. Mellal, and E. J. Williams, Optimization of PID controller: A brief overview, in Trends, Paradigms, and Advances in Mechatronics Engineering, IGI Global, 2023, pp. 1-16.
[9] W. Wu, Nonlinear bounded control of a nonisothermal CSTR, Industrial & engineering chemistry research, 2000, 39(10), pp. 3789-98.
[10] V. Dubey, H. Goud, and P. C. Sharma, Role of PID control techniques in process control system: a review, presented at the Data Engineering for Smart Systems: Proceedings of SSIC 2021, 2022, pp. 659-70.
[11] D. E. Seborg, T. F. Edgar, D. A. Mellichamp, and F. J. Doyle III, Process dynamics and control, fourth ed., John Wiley & Sons, USA, 2017.
[12] J. G. Ziegler and N. B. Nichols, Optimum settings for automatic controllers, Transactions of the American society of mechanical engineers, 1942, 64(8), pp. 759-65.
[13] B. G. Liptak, Instrument Engineers' Handbook, Vol. Two: Process Control and Optimization, CRC Press, 2018.
[14] R. S. Esfandiari and B. Lu, Modeling and analysis of dynamic systems, CRC Press, 2018.
[15] X. Shi, H. Zhao, and Z. Fan, Parameter optimization of nonlinear PID controller using RBF neural network for continuous stirred tank reactor, Measurement and Control, 2023, 56(9-10), pp. 1835-43.
[16] X. Sun, N. Liu, R. Shen, K. Wang, Z. Zhao, and X. Sheng, Nonlinear PID controller parameters optimization using improved particle swarm optimization algorithm for the CNC system, Applied Sciences, 2022, 12(20), pp. 10269.
[17] E. Joseph and O. Olaiya, Cohen-coon PID tuning method; A better option to Ziegler Nichols-PID tuning method, ENginerring Research, 2017, 2(11), pp. 141-45.
[18] M. Chidambaram and N. Saxena, Relay tuning of pid controllers for unstable MIMO processes, Springer Nature, Singapore, 2018.
[19] K. Saadaoui, A. Moussa, and M. Benrejeb, PID controller design for time delay systems using genetic algorithms, The Mediterranean Journal of Measurement and Control, 2009, 5(1), pp. 31-36.
[20] M. H. H. Deifalla, G. A. Gasmelseed, and A. A. Mohammed, Transfer function identification and control of ethyl acetate hydrolysis in a cstr using ASPEN HYSYS and MATLAB, International Journal of Engineering Applied Sciences and Technology (IJEAST), 2024, 8(12), pp. 44-56.
[21] M. H. H. Deifalla, G. A. Gasmelseed, and A. A. Mohammed, Simulation of ethyl acetate hydrolysis in a CSTR using Aspen HYSYS software, International Journal of Engineering Applied Sciences and Technology (IJEAST), 2024, 8(12), pp. 57-63.
[22] R. Vilanova and A. Visioli, PID control in the third millennium vol. 75, Springer, 2012.
[23] F. G. Martins, Tuning PID controllers using the ITAE criterion, International Journal of Engineering Education, 2005, 21(5), pp. 867.
[24] D. F. Ahmed and M. N. Esmaeel, Fuzzy logic control of continuous stirred tank reactor, Tikrit Journal of Engineering Sciences, 2013, 20(2), pp. 70-80.
[25] K. M. Mousa and Z. E. Dawood, Study on control of CSTR using intelligent strategies, Al-Nahrain University, College of Engineering Journal (NUCEJ), 2015, 18(2), pp. 294-303.
[26] V. Sujatha and R. C. Panda, Time domain modeling and control of complex non-linear chemical processes using relay feedback test, Transactions of the Institute of Measurement and Control, 2020, 42(15), pp. 2885-907. https://doi.org/10.1177/0142331220931968
[27] M. H. H. Deifalla, Simulation and control of CSTR for ethyl acetate hydrolysis using Aspen HYSYS and MATLAB, M.Sc thesis, University of Science and Technology, Khartoum, 2020.
[28] G. A. Gasemseed, A textbook of chemical engineering process control, 3rd ed., G-Town Center, Khartoum, Sudan, 2016, pp. 66-164.
[29] C. S. Rao and S. Santosh, Tuning optimal PID controllers for open loop unstable first order plus time delay systems by minimizing ITAE criterion, IFAC-PapersOnLine, 2020, 53(1), pp. 123-28.
[30] S. Mirjalili, Generic Algoritm. In Evolutionary algorithms and neural networks: Theory and applications, vol 780, 2019, pp. 43–55.
[31] R. R. Gawde, S. P. Jadhav, and B. A. Garg, Design and implementation of soft computing-based robust PID controller for CSTR, in Proceedings of International Conference on Computational Intelligence and Emerging Power System: ICCIPS 2021, 2022, pp. 301-17.
[32] H. Goud and P. Swarnkar, Analysis and simulation of the continuous stirred tank reactor system using genetic algorithm, in Harmony Search and Nature Inspired Optimization Algorithms: Theory and Applications, ICHSA 2018, 2019, pp. 1141-51.
[33] M. Pietrala, Sliding mode control with minimization of ITAE and the input signal limitation, in Conference on Automation, 2021, pp. 75-84.
Cite This Article
  • APA Style

    Deifalla, M. H. H., Gasmelseed, G. A. (2024). Genetic Algorithm-Based PID Optimization for Ethyl Acetate Saponification in a Continuous Stirred Tank Reactor. American Journal of Chemical Engineering, 12(6), 123-131. https://doi.org/10.11648/j.ajche.20241206.11

    Copy | Download

    ACS Style

    Deifalla, M. H. H.; Gasmelseed, G. A. Genetic Algorithm-Based PID Optimization for Ethyl Acetate Saponification in a Continuous Stirred Tank Reactor. Am. J. Chem. Eng. 2024, 12(6), 123-131. doi: 10.11648/j.ajche.20241206.11

    Copy | Download

    AMA Style

    Deifalla MHH, Gasmelseed GA. Genetic Algorithm-Based PID Optimization for Ethyl Acetate Saponification in a Continuous Stirred Tank Reactor. Am J Chem Eng. 2024;12(6):123-131. doi: 10.11648/j.ajche.20241206.11

    Copy | Download

  • @article{10.11648/j.ajche.20241206.11,
      author = {Mohamad Hassan Hamadelnil Deifalla and Gurashi Abdalla Gasmelseed},
      title = {Genetic Algorithm-Based PID Optimization for Ethyl Acetate Saponification in a Continuous Stirred Tank Reactor
    },
      journal = {American Journal of Chemical Engineering},
      volume = {12},
      number = {6},
      pages = {123-131},
      doi = {10.11648/j.ajche.20241206.11},
      url = {https://doi.org/10.11648/j.ajche.20241206.11},
      eprint = {https://article.sciencepublishinggroup.com/pdf/10.11648.j.ajche.20241206.11},
      abstract = {Effective temperature control in continuous stirred-tank reactors (CSTRs) is essential for maintaining product quality and process stability in nonlinear chemical systems. Traditional PID controllers, tuned via Ziegler-Nichols (ZN) methods, often struggle to manage the nonlinearities of such systems, leading to high overshoot, prolonged settling times, and suboptimal disturbance rejection. This study introduces a genetic algorithm (GA)-based approach for optimizing PID controller parameters to enhance the performance of temperature control during the saponification of ethyl acetate in a CSTR, a mildly exothermic reaction characterized by second-order kinetics. The proposed method employs the integral of time-weighted absolute error (ITAE) as a fitness function to iteratively minimize system error and optimize controller gains. Comparative analysis with the ZN-tuned PID controller reveals substantial improvements using the GA-tuned PID controller, including a reduction in overshoot from 61.4% to 38.1%, and decreases in rise, peak, and settling times by 29.7%, 35.3%, and 72.02%, respectively. Additionally, the GA-PID controller demonstrates superior set-point tracking and robust disturbance rejection, achieving a system error reduction of 68.1% compared to the ZN-PID controller. These results underscore the efficacy of genetic algorithms in overcoming the limitations of conventional tuning methods for nonlinear systems. The GA-based tuning approach not only enhances control accuracy and stability but also offers a scalable solution for optimizing complex industrial processes, paving the way for advancements in chemical reactor control and broader applications in process engineering.
    },
     year = {2024}
    }
    

    Copy | Download

  • TY  - JOUR
    T1  - Genetic Algorithm-Based PID Optimization for Ethyl Acetate Saponification in a Continuous Stirred Tank Reactor
    
    AU  - Mohamad Hassan Hamadelnil Deifalla
    AU  - Gurashi Abdalla Gasmelseed
    Y1  - 2024/12/31
    PY  - 2024
    N1  - https://doi.org/10.11648/j.ajche.20241206.11
    DO  - 10.11648/j.ajche.20241206.11
    T2  - American Journal of Chemical Engineering
    JF  - American Journal of Chemical Engineering
    JO  - American Journal of Chemical Engineering
    SP  - 123
    EP  - 131
    PB  - Science Publishing Group
    SN  - 2330-8613
    UR  - https://doi.org/10.11648/j.ajche.20241206.11
    AB  - Effective temperature control in continuous stirred-tank reactors (CSTRs) is essential for maintaining product quality and process stability in nonlinear chemical systems. Traditional PID controllers, tuned via Ziegler-Nichols (ZN) methods, often struggle to manage the nonlinearities of such systems, leading to high overshoot, prolonged settling times, and suboptimal disturbance rejection. This study introduces a genetic algorithm (GA)-based approach for optimizing PID controller parameters to enhance the performance of temperature control during the saponification of ethyl acetate in a CSTR, a mildly exothermic reaction characterized by second-order kinetics. The proposed method employs the integral of time-weighted absolute error (ITAE) as a fitness function to iteratively minimize system error and optimize controller gains. Comparative analysis with the ZN-tuned PID controller reveals substantial improvements using the GA-tuned PID controller, including a reduction in overshoot from 61.4% to 38.1%, and decreases in rise, peak, and settling times by 29.7%, 35.3%, and 72.02%, respectively. Additionally, the GA-PID controller demonstrates superior set-point tracking and robust disturbance rejection, achieving a system error reduction of 68.1% compared to the ZN-PID controller. These results underscore the efficacy of genetic algorithms in overcoming the limitations of conventional tuning methods for nonlinear systems. The GA-based tuning approach not only enhances control accuracy and stability but also offers a scalable solution for optimizing complex industrial processes, paving the way for advancements in chemical reactor control and broader applications in process engineering.
    
    VL  - 12
    IS  - 6
    ER  - 

    Copy | Download

Author Information
  • Sections