© 2021 IIETA. This article is published by IIETA and is licensed under the CC BY 4.0 license (http://creativecommons.org/licenses/by/4.0/).
OPEN ACCESS
This article explains the design of fuzzy logic controllers (FLCs) for level processes which is generally used in numerous control operations. The main purpose of the proposed design is to maintain the liquid level in the tank at the desired level. In this paper, the fuzzy logic controller is chosen as the controller for the level process because of its fault tolerance, knowledge representation, expertise, non-linearity, uncertainty, and real-time manipulation. Fuzzy logic controllers have been developed and compared in the Mamdani version. Performance on proportional derivatives (PD) and proportional-integral-derivatives (PID) controllers. Whereas traditional PD and PID controllers are simple, dependable and eliminate steady-state errors, fuzzy logic controllers are rule-based systems that are a logical model of human behavior in processes of the proposed design. The response is provided as follows: The LabVIEW software has been validated. It is used to simulate the proposed system. Comparing error indicators such as PD controller, PID controller, fuzzy logic controller integral absolute error, integral quadratic error, time and absolute error integral, time and quadratic error integral, fuzzy logic controller is observed from the simulation results. increase. It offers better performance than other controllers.
Fuzzy Logic Controllers, Mamdani, Proportional derivative, Proportional integral derivative
Liquid level monitoring is frequently used in many industrial processes and applications such as water purification, food and beverage processing, impure water management systems, petrochemical processes and others. Controlling these processes requires expertise and in-depth knowledge of the fundamentals and advanced techniques of process control design. Inadequate understanding of the concepts by students who are hired into executive, control engineer, process engineer and management positions in turn can lead to loss of life and property. Commercial application of Proportional Derivative (PD), proportional-integral-derivatives (PID) and Fuzzy Logic Controllers for industrial operations has been going on for several decades. To better understand this work, we give a brief description of PD, PID and FLC as follows. The PD controller is used to increase the stability of the system. The PD controller is capable of predicting future error. of the response, which improves system control. To avoid the effect of abrupt changes in the value of the error signal, the derivative is taken from the output response of the system variable instead of the error signal. Therefore, the "D" mode in the PD is designed to be proportional to the change of the output variable to prevent sudden changes from occurring in the control output due to the sudden change of the error signal. In addition, “D” directly amplifies the process noise. In PD controller there is no feedback, so PID controller is the most widely applied feedback control formula/algorithm. The PID controller has three parameters that must be set. The proportional term (Kp), the integral term (Ti) and the differential term (Td). Figure 1 below shows the effect of the Kp and Ti changes.
In addition, many different controllers have been proposed in different fields [1], but due to the non-linearity of the system components and substitutions, these evolved feedback controllers are not can effectively control the liquid level and is quite slow on the output feedbacks. . In addition, traditional computer logic is based on two values, one (true) and zero (false), and is not suitable for human decision-making. Therefore, it is often desirable to have a system that behaves like a human. Fuzzy logic uses the entire interval from 0 to 1 and can therefore be used to closely mimic human inference. Fuzzy control is the most suitable system to obtain promising results in case of correct selection of membership and rules [2]. The process of designing a fuzzy logic system can be divided into three stages, namely, fuzzification, fuzzy inference engine and defuzzification. converting crisp value into fuzzy value is called Fuzzification process. Knowledge bases include databases and rule bases used to represent human knowledge, in the form of natural language expressions. Fuzzy inference engine is a way to map input space with output space using fuzzy logic. Defuzzification is the block that converts a fuzzy quantity into a crisp quantity.
Figure 1. Effects of varying Kp and Ti
Figure 2. Representation of Fuzzy Logic Controller by block diagram
The organization of this paper are as follows: Section 2 presents the existing works in liquid level controller. Proposed process description is discussed in Section 3. Experimental results are evaluated and discussed in Section 4.
Literature survey of many studies contain process optimization and control applications have proposed for various industrial areas. Some of these studies are listed in the Table 1 as follows;
Table 1. Existing works
Authors |
Proposed Work |
Kwok et.al., (200) |
constrained predictive control algorithm based on feedback linearization [3] |
Poulsen et.al., (2001) |
second-order nonlinear system by variable structure controller[4] |
Sbarbaro and Ortega (2007) |
To control the multi-tanks systems [5] |
Almutairi et al. (2007) |
Diagrams of sliding mode control for the coupled tanks [6] |
Lee and Shin (2009) |
Conventional PI (proportional-integral) controller based constrained control to liquid level system using [7] |
Zhang et al. (2011) |
non-linear based predictive control [8] |
Noel and Pandian (2014) |
nonlinear liquid level system control by artificial neural network based reinforcement learning method [9] |
Sadeghi etal. (2014) |
Takagi-Sugeno model for a liquid level system by parallel distributed compensation via fuzzy [10] |
Singh et al. (2014) |
reduced flow rate fluctuation for tank in series with PI controller [11] |
Zhang et al. (2014) |
liquid level in a coke fractionation tower PI controller based on predictive functional control system [8], [12] |
Tao et al. (2014) |
genetic algorithm for chamber pressure in coke furnace by predictive control based PID design [13] |
Zhang and Yang (2014) |
EGG-data-based estimation of operator functional state by incremental-PID- controlled particle swarm optimization algorithm [14] |
Sahu et al. (2015) |
fuzzy-PID controller for automatic generation control of multi-area power system [15] |
Gizi et al. (2015) |
an integrated approach programmable logic controller-fuzzy PID methodology to determine optimal PID parameter in automatic voltage regulator [16] |
To design the proposed fuzzy logic controller (FLC), the variable that can represent the dynamic performance of the controlled setting must be selected as the input of the controller. The fuzzy logic controller has two input variables, i.e. error (e) and error rate of change (de), which generates a control signal (cs)..
Figure 3. Mamdani fuzzy inference
Table 2. Rule base Tabulation
|
BP |
SP |
AZ |
SN |
BN |
BP |
BP |
BP |
BP |
SP |
AZ |
SP |
BP |
SP |
SP |
AZ |
SN |
AZ |
BP |
SP |
AZ |
SN |
BN |
SN |
SP |
AZ |
SN |
SN |
BN |
BN |
AZ |
SN |
NB |
BN |
BN |
In the test setup, the process with the load variable should be a constant constant value and the setpoint value a variable with variable values. A closed loop response for a nonlinear liquid level bath is achieved, for the change of setpoint value, using the proposed Mamdani fuzzy logic controller and PD and PID controllers. To work, the Fuzzy Logic controller with a height of 20 cm from 0 to 500 s and furthermore the height is increased by 10 cm from 500 to 1000 s. To measure performance, error metrics such as integral absolute error (IAE), integral squared error (ISE), integral of time and absolute error (ITAE) and integral of time and squared error (ITSE) are taken into account for consideration..
The procedure of the experimental work can be expressed as follows:
The level of water versus time were recorded and plotted for the values of the errors (ISE, ITSE, IAE, ITAE).
Fuzzy Logic controller is designed to be compared with PD and PID controllers for liquid level process in Servo- Regulatory operation, Servo Operation and Regulatory Operation. The performance of the controller is evaluated by the error reduction performance index values.
Table 3. Comparison of the Performance index values of the Proposed Fuzzy Logic Controller with PD and PID in Servo Operation
Performance index values |
Servo Operation |
||
Fuzzy Logic Controller |
PID Controller |
PD Controller |
|
ISE |
1518 |
1585 |
1690 |
ITSE |
13165 |
13962 |
14670 |
ITAE |
4366 |
4572 |
4724 |
IAE |
235.28 |
243.2 |
256.2 |
Operation of the servo for the fuzzy logic controller, PID controller and PD controller operate at a height of 50cm from 0 to 1000s and the height is increased by 50cm from 1000 to 2000s. During this servo operation, the above controller performance index values such as ISE, ITSE, IAE and ITAE are collected and tabulated in Table 3. From this table, it can be seen that the Logic controller fuzzy Product has better performance value than PID and PD Controller and the percentage of performance improvement is shown in Table 4.
Table 4. Percentage of performance improvement by FLC in Servo Operation
Performa nce index values |
% of improvement by FLC over PID controller |
% of improvement by FLC over PD controller |
ISE |
4.413702 |
11.3307 |
ITSE |
6.053931 |
11.43183 |
ITAE |
4.718278 |
8.199725 |
IAE |
3.366202 |
8.891533 |
In Figure 4 it shown that it is concluded that, the Fuzzy Logic Controller can produce faster settling response and the same is given.
Figure 4. Graphical Representation of Servo operation Errors
Table 5. Comparison of the Performance index values of the Proposed Fuzzy Logic Controller with PD and PID in Regulatory Operation
Performance index values |
Regulatory Operation |
||
Fuzzy Logic Controller |
PID Controller |
PD Controller |
|
ISE |
1965 |
2062 |
2160 |
ITSE |
17632 |
17958 |
18715 |
ITAE |
5877.3 |
5982.5 |
6238.3 |
IAE |
332.3 |
340.2 |
352.5 |
In the regulatory process, the Fuzzy Logic controller and the PI Neuro Tuned controller operate at a height of 60cm from 0 to 3000 s with a load change of +20% after 1000 s. During the throttling operation, the above controller performance index values such as ISE, ITSE, IAE and ITAE are collected and tabulated in Table 5. From the table, it can be seen that the Fuzzy Logic controller generates The performance values are better than that of the PID and PD controller and the performance improvement ratio is shown in Table 6.
Table 6. Percentage of performance improvement by FLC in Regulatory Operation
Performance index values |
% of improvement by FLC over PID controller |
% of improvement by FLC over PD controller |
ISE |
4.936387 |
9.923664 |
ITSE |
1.848911 |
6.142241 |
ITAE |
1.789938 |
6.142276 |
IAE |
2.37737 |
6.078844 |
In Figure 5 it shown that it is concluded that, the Fuzzy Logic Controller can produce faster settling response and the same is given.
Figure 5 Graphical Representation of Regulatory operation Errors
Table 7 Comparison of the Performance index values of the Proposed Fuzzy Logic Controller with PD and PID in Servo– regulatory Operation
Performance index values |
Servo - Regulatory Operation |
||
Fuzzy Logic Controller |
PID Controller |
PD Controller |
|
ISE |
1318 |
1372 |
1418 |
ITSE |
9165 |
9665 |
10165 |
ITAE |
4566 |
4866 |
5366 |
IAE |
155.28 |
185.42 |
205.28 |
Likewise, in servo regulator operation, the Fuzzy Logic controller and the PI Neuro Tuned controller operate at a height of 50 cm from 0 to 1000 s and a height increase of 50 cm from 1000 s to 2000 s with +20 %load changes every 1000 seconds. During servo operation, the above controller performance index values such as ISE, ITSE, IAE and ITAE are collected and tabulated in Table 7. From this table, it can be seen that Fuzzy Logic controller produces better performance values when compared for PID and PD controllers and the performance improvement ratio is shown in Table 8.
Table 8. Percentage of performance improvement by FLC in Servo Regulatory Operation
Perform ance index values |
% of improvement by FLC over PID controller |
% of improvement by FLC over PD controller |
ISE |
4.097117 |
7.587253 |
ITSE |
5.455537 |
10.91107 |
ITAE |
6.570302 |
17.52081 |
IAE |
19.4101 |
32.1999 |
From this, it is concluded that the Fuzzy Logic Controller can produce faster settling response in the servo- regulatory operation and the same is given in Figure 6 .
Figure 6 Graphical Representation of Servo Regulatory operation Errors
It is seen that the Fuzzy Logic Controller is capable to produce faster response with minimal error, and is also desirable for the liquid level process by the servo, regulatory and servo-regulatory process.
From this study based experimental process it is determined that the Mamdani Fuzzy Logic Controller for the liquid level process provide better performance between the PD and PID controller.The PID controller is better than PD. Thus,the simulation outputs are obtained for this controller by aligning the set point changes, load changes and change in set point with load changes. It clearly shows that the errors for servo, regulatory and servo-regulatory are attenuated substantially.
[1] Zhou, Feng, Hui Peng, Yemei Qin, Xiaoyong Zeng, Wenbiao Xie, and Jun Wu. "RBF-ARX model-based MPC strategies with application to a water tank system." Journal of Process Control 34 (2015): 97-116. https://doi.org/10.1016/j.jprocont.2015.07.010
[2] Bevrani, Hassan and Pourya Ranjbar Daneshmand "Fuzzy logic-based load-frequency control concerning high penetration of wind turbines."IEEE systems journal 6, no. 1 (2011): 173-180. https://doi.org/10.1109/JSYST.2011.2163028.
[3] Kwok, K. Ezra, Michael Chong Ping, and Ping Li. "A model-based augmented PID algorithm." Journal of Process Control 10, no. 1 (2000): 9-18. https://doi.org/10.1016/S0959-1524(99)00046-3
[4] Poulsen, Niels Kjølstad, Basil Kouvaritakis, and Mark Cannon. "Nonlinear constrained predictive control applied to a coupled-tanks apparatus." IEE Proceedings-Control Theory and Applications 148, no. 1 (2001): 17-24. https://doi.org/10.1049/ip-cta:20010231
[5] Sbarbaro, Daniel, and Romeo Ortega. "Averaging level control of multiple tanks: A passivity based approach." In Proceedings of the 44th IEEE Conference on Decision and Control, pp. 7384-7389. IEEE, 2005. https://doi.org/ 10.1109/CDC.2005.1583353.
[6] Almutairi, Naif B., and Mohamed Zribi. "Sliding mode control of coupled tanks." Mechatronics 16, no. 7 (2006): 427-441. https://doi.org/10.1016/j.mechatronics.2006.03.001 [7] Lee, Moonyong, and Joonho Shin. "Constrained optimal control of liquid level loop using a conventional proportional-integral controller." Chemical Engineering Communications 196, no. 6 (2009): 729-745. https://doi.org/10.1080/00986440802557393
[8] Zhang, Ridong, Sheng Wu, and Furong Gao. "Improved PI controller based on predictive functional control for liquid level regulation in a coke fractionation tower." Journal of Process Control 24, no. 3 (2014): 125-132. https://doi.org/10.1016/j.jprocont.2014.01.004. [9] Noel, Mathew Mithra, and B. Jaganatha Pandian. "Control of a nonlinear liquid level system using a new artificial neural network based reinforcement learning approach." Applied Soft Computing 23 (2014): 444-451. https://doi.org/10.1016/j.asoc.2014.06.037
[10] Sadeghi, Mokhtar Sha, Behrouz Safarinejadian, and Amir Farughian. "Parallel distributed compensator design of tank level control based on fuzzy Takagi–Sugeno model." Applied soft computing 21 (2014): 280-285. https://doi.org/10.1016/j.asoc.2014.03.024
[11] Singh, Ajay Pratap, Samrat Mukherjee, and Michael Nikolaou. "Debottlenecking level control for tanks in series." Journal of Process Control 24, no. 3 (2014): 158-171. https://doi.org/10.1016/j.jprocont.2013.12.002
[12] Zhang, Ridong, Sheng Wu, Renquan Lu, and Furong Gao. "Predictive control optimization based PID control for temperature in an industrial surfactant reactor." Chemometrics and Intelligent Laboratory Systems 135 (2014): 48-62. https://doi.org/10.1016/j.chemolab.2014.03.021
[13] Tao, Jili, Zaihe Yu, and Yong Zhu. "PFC based PID design using genetic algorithm for chamber pressure in a coke furnace." Chemometrics and Intelligent Laboratory Systems 137 (2014): 155-161. https://doi.org/10.1016/j.chemolab.2014.07.003.
[14] Zhang, Jianhua, and Shaozeng Yang. "An incremental-PID-controlled particle swarm optimization algorithm for EEG-data-based estimation of operator functional state." Biomedical Signal Processing and Control 14 (2014): 272-284. https://doi.org/10.1016/j.bspc.2014.08.005
[15] Sahu, Binod Kumar, Swagat Pati, Pradeep Kumar Mohanty, and Sidhartha Panda. "Teaching–learning based optimization algorithm based fuzzy-PID controller for automatic generation control of multi-area power system." Applied Soft Computing 27 (2015): 240-249. https://doi.org/10.1016/j.asoc.2014.11.027
[16] Al Gizi, Abdullah JH, M. W. Mustafa, Kaml MA Al Zaidi, and Mahmoud KJ Al-Zaidi. "Integrated PLC-fuzzy PID Simulink implemented AVR system." International Journal of Electrical Power & Energy Systems 69 (2015): 313-326. https://doi.org/10.1016/j.ijepes.2015.01.009