Journal of Modeling and Simulation in Electrical and Electronics Engineering

Journal of Modeling and Simulation in Electrical and Electronics Engineering

Real-Time Implementation and Simulation of Comparative Fuzzy-PID Controllers for a Fluid Level System

Document Type : Research Article

Author
Department of Electrical and Computer Engineering, Faculty of Electrical Engineering, Isfahan University of Technology, Isfahan, Iran.
Abstract
This paper develops and compares three control strategies for a water level process: a conventional proportional-integral-derivative (PID) controller, a PID controller embedded in a Smith Predictor structure, and a Fuzzy PID controller. Experiments are carried out on a TE3300 process trainer, where a differential pressure transmitter reports the level, and an electro-pneumatic valve sets the inlet flow. First-order plus time delay (FOPTD) and second-order plus time delay (SOPTD) models are fitted to step-response data recorded on the setup, and the second-order model serves as the common plant against which all three controllers are evaluated. The conventional controller is tuned by the internal model control (IMC) method, and the inner controller of the predictor is independently retuned for the delay-free plant, a step that keeps the comparison focused on control structure rather than on inherited tuning. The Fuzzy PID controller is built on a zero-order Sugeno inference system, and three distinct control surfaces are constructed and tested. All three controllers are subsequently deployed on the physical setup and run in real time through an Open Platform Communications (OPC) interface, which introduces a delay of approximately five seconds between the controller and the plant. The paper reports what this delay compensation is worth in practice and examines how the geometry of the fuzzy control surface balances the error accumulated during a transient against the speed of correction and the resulting valve activity.
Keywords
Subjects

[1]      D. E. Seborg, T. F. Edgar, D. A. Mellichamp, and F. J. Doyle III, Process Dynamics and Control. 3rd ed. Hoboken, NJ: Wiley, 2011.
[2]      B. W. Bequette, Process Control: Modeling, Design, and Simulation. Upper Saddle River, NJ: Prentice Hall, 2003.
[3]      K. H. Ang, G. Chong, and Y. Li, “PID control system analysis, design, and technology,” IEEE Trans. Control Syst. Technol., vol. 13, no. 4, pp. 559–576, Jul. 2005.
[4]      K. Ogata, Modern Control Engineering. 5th ed. Upper Saddle River, NJ: Prentice Hall, 2010.
[5]      K. J. Åström and T. Hägglund, PID Controllers: Theory, Design, and Tuning. 2nd ed. Research Triangle Park, NC: Instrument Society of America, 1995.
[6]      K. J. Åström and R. M. Murray, Feedback Systems: An Introduction for Scientists and Engineers. Princeton, NJ: Princeton Univ. Press, 2008.
[7]      O. J. M. Smith, “Closer control of loops with dead time,” Chem. Eng. Prog., vol. 53, no. 5, pp. 217–219, May 1957.
[8]      L. A. Zadeh, “Fuzzy sets,” Inf. Control, vol. 8, no. 3, pp. 338–353, Jun. 1965.
[9]      E. H. Mamdani and S. Assilian, “An experiment in linguistic synthesis with a fuzzy logic controller,” Int. J. Man-Mach. Stud., vol. 7, no. 1, pp. 1–13, Jan. 1975.
[10]   D. E. Rivera, M. Morari, and S. Skogestad, “Internal model control. 4. PID controller design,” Ind. Eng. Chem. Process Des. Dev., vol. 25, no. 1, pp. 252–265, Jan. 1986.
[11]   M. Morari and E. Zafiriou, Robust Process Control. Englewood Cliffs, NJ: Prentice Hall, 1989.
[12]   Q.-G. Wang, C. C. Hang, and X.-P. Yang, “Single-loop controller design via IMC principles,” Automatica, vol. 37, no. 12, pp. 2041–2048, Dec. 2001.
[13]   S. Skogestad, “Simple analytic rules for model reduction and PID controller tuning,” J. Process Control, vol. 13, no. 4, pp. 291–309, Jun. 2003.
[14]   L. Ljung, System Identification: Theory for the User. 2nd ed. Upper Saddle River, NJ: Prentice Hall, 1999.
[15]   R. Isermann and M. Münchhof, Identification of Dynamic Systems: An Introduction with Applications. Berlin, Germany: Springer, 2011.
[16]   K. J. Åström, C. C. Hang, and B. C. Lim, “A new Smith predictor for controlling a process with an integrator and long dead-time,” IEEE Trans. Autom. Control, vol. 39, no. 2, pp. 343–345, Feb. 1994.
[17]   C. C. Lee, “Fuzzy logic in control systems: Fuzzy logic controller–Part I,” IEEE Trans. Syst., Man, Cybern., vol. 20, no. 2, pp. 404–418, Mar./Apr. 1990.
[18]   C. C. Lee, “Fuzzy logic in control systems: Fuzzy logic controller–Part II,” IEEE Trans. Syst., Man, Cybern., vol. 20, no. 2, pp. 419–435, Mar./Apr. 1990.
[19]   K. M. Passino and S. Yurkovich, Fuzzy Control. Menlo Park, CA: Addison-Wesley, 1998.
[20]   T. Takagi and M. Sugeno, “Fuzzy identification of systems and its applications to modeling and control,” IEEE Trans. Syst., Man, Cybern., vol. SMC-15, no. 1, pp. 116–132, Jan./Feb. 1985.
[21]   N. K. Poulsen, B. Kouvaritakis, and M. Cannon, “Nonlinear constrained predictive control applied to a coupled-tanks apparatus,” IEE Proc. Control Theory Appl., vol. 148, no. 1, pp. 17–24, Jan. 2001.
[22]   N. B. Almutairi and M. Zribi, “Sliding mode control of coupled tanks,” Mechatronics, vol. 16, no. 7, pp. 427–441, Sep. 2006.
[23]   I.-L. Chien and P. S. Fruehauf, “Consider IMC tuning to improve controller performance,” Chem. Eng. Prog., vol. 86, no. 10, pp. 33–41, Oct. 1990.
[24]   J.-X. Xu, C. C. Hang, and C. Liu, “Parallel structure and tuning of a fuzzy PID controller,” Automatica, vol. 36, no. 5, pp. 673–684, May 2000.
[25]   J. Jantzen, “Tuning of fuzzy PID controllers,” Dept. Automation, Tech. Univ. Denmark, Lyngby, Denmark, Tech. Rep. 98-H 871, 1998.

Articles in Press, Corrected Proof
Available Online from 07 September 2026

  • Receive Date 14 June 2026
  • Revise Date 19 August 2026
  • Accept Date 23 August 2026