Abstract
In this manuscript, a concept of modifying the results of the existing robust controller decorated by a nonlinear S function is presented to improve the system performance. A case-based study of level control of water tanks illustrates the effectiveness of nonlinear decoration in improving robustness and controlling energy-saving performance with an S-function-decorated robust controller. The performance of the controlled system was analyzed through Lyapunov stability theorem and robust control theory, and was evaluated with a performance index. By demonstrating three comparing simulations of different scenes, it testifies to the fact that the nonlinear decorated robust controller meets the requirement of improving the system performance index. Compared with the nonlinear feedback and the fuzzy control, the performance index of the system using a nonlinear decorated controller is reduced by more than 10% with satisfactory robustness. This nonlinear decorated robust controller is proven to be energy efficient, simple and clear and easy to use, valuable for extensive application.
1. Introduction
The level control of water tanks is a benchmark problem in the control field that can be used to assess the performance of a new control algorithm [1]. It is extensively used in many industrial fields. In particular, ocean vessels have a large number of liquid tanks, such as ballast tanks, oil tanks, fresh water tanks, and sludge tanks. They perform different services to guarantee safe navigation. Automatic control first originated from the needs of industrial processes. Since then, this technology has been developed for more than 70 years and has penetrated into every aspect of human life. However, in recent decades, the research on improving controller design has entered a bottleneck stage; there are hardly any new breakthroughs.
The development of control theory can be roughly divided into three stages: manual control, open-loop control and closed-loop control, and the closed-loop controls have transferred from process control to state control where the essence is still linear feedback [2]. If we use formulas to denote the closed-loop control then (where represents the controller output, represents the system error). The effectiveness of control law is judged by whether the output will reach the set value when the system error occurs for a variety of reasons. Moreover, the conventional error feedback is linear feedback, which means is feedback to the input of the controller either intact or filtered. Therefore, sometimes the control input is unnecessarily large. For this reason, several research studies attempted to use nonlinear feedback to replace linear feedback [3,4], that is ( is a nonlinear function). Along the same lines, one can also adjust the control law output, which is called nonlinear decoration with (where is a nonlinear function) [5,6]. The nonlinear-decorated control can improve system performance; therefore, the relevant research is worth to be conducted.
Reference [7] explained the four typical working conditions of water level fluctuations in surge tanks, and a cascade load regulation method for optimal attenuation of water level fluctuation under superposition conditions was proposed. Reference [8] discussed the design of PLC-based fractional-order controller for volume control of industry water tank; the purpose was to verify the stability and robustness of fractional-order discrete PID-feedback-loop for different approximation methods and approximation orders. Reference [9] introduced the improved smith predictor and the improved inverse calculation method to design the controller of the conical tank level process and compared the energy utilization and performance of the actuator in a nonlinear process with traditional PI controller. In order to stabilize the well water level, Dariusz also designed another PI controller [10]. The principle and algorithm of dynamic matrix predictive control are described in [11]. Through the experimental analysis of different models of single, double and triple tanks, a classical double tank model was proposed, which was shown to have great efficiency improvement in the control process compared to the conventional model.
In addition, Reference [12], using nonlinear ordinary differential equations described two mathematical models in order to research the adaptive control of nonlinear systems. Nonlinear robust controllers have also been widely used in other fields. However, all of the references mentioned above were in-depth studies based on different opinions and achieved some results about water tank control on the basis of distinctive control methods. Yet, there is little research based on the orientation of energy efficiency, leading to some prospective potential in this aspect.
On the basis of the references [13,14], the contributions of this paper are mainly twofold: (1) the condition of robust controller solution in reference [14] is reproved by using theory, and the condition of robust performance is relaxed from to ; (2) the nonlinear feedback based on the arctangent function in [13] is changed to the nonlinear decoration based on S function and the control performance is further improved.
2. Mathematical Model
Reference [15] puts forward one special case of concise robust control which is known as PID control. Undoubtedly, simplicity, reliability and obvious physical meaning are the typical features of PID control with extensive application in industrial control engineering. As a result, in order to reach better self-adaption, robustness, accuracy, and easier to regulate parameters, the typical PID control has been improved and modified into different modes gradually, e.g., self-adaptive PID control, self-tuning PID control, gain scheduling PID control, robustness PID control, etc., [15,16,17].
According to references [18,19], designing a controller using robust control theory has received more attention to, and it will be better to use the closed-loop gain shaping method to maintain the robustness of controllers [19,20,21,22].
2.1. Mathematic Model and Calculation of Parameters
If the controlled plant can be shown as the second-order strictly appropriate plant of (1):
Then, the robust controller can be designed according to the closed-loop gain shaping algorithm as (2) [2].
where is the frequency of system bandwidth.
2.2. Application of Robust Control in the Level Control of Water Tank
2.2.1. Mathematic Model of Water Tank
Figure 1 shows a simplified physical model; the switch sign indicates the water pump. In a single tank system (Figure 1), indicates the steady-state value of input water flux, and means the increment of input water flux. indicates the steady-state value of output water flux, and means the increment of output water flux. means the height of water level, and means the steady-state value of water level, is the increment of the water level. is the opening value of the adjustable input valve. is the cross sectional area, is the water resistance at the output valve, and is the water volume in the tank. According to the correlation of material balance, the initial tank balance is displayed as: . When the adjustable input valve has an increment , the actual water level will change correspondingly. Thus, the output water flux will change, which is mainly caused by the variety of water levels while keeping the other output valves unchanged.
Figure 1.
Single water tank. Adapted with permission from [13].
In this manuscript, the tank model is a first-order inertial system, and the tank inlet control valve model is equivalent to an integral, as shown in (Figure 2 and Figure 3)
Figure 2.
Model of Inlet Control Valve for Water Tank. Adapted with permission from [18].
Figure 3.
Tank model.
The difference between the input and output water flux is
In Formula (3), is caused by , then
where is the constant of water flow of valve.
The output water flow is relevant with the height of the water level, is the cross-sectional area of the output pipe, shown as
The above formula can be further linearized at the balance point , then
We can substitute the Formulas (4) and (6) into (3), and adopt Laplace transformation to obtain the transfer function for a single water tank
where . The linear model of (7) is used to design the controller and the nonlinear model of (3)~(5) is used as the simulative model to test the robustness of the designed controller.
If we assume the parameters of a water tank are: the height of the tank is , the area of the tank base is , the sectional area of the pipe is , the initial water level is , and the max inlet ratio of water intake is . Then, the formula of water level and inlet ratio is
where represents the water level in the tank, and represents the input flux ratio.
Formula (7) can also be shown as
If taking the disturbance term into consideration (interference is used to prove the stability of the system.), then Formula (9) can be improved as
where the is limited disturbance term, and also .
2.2.2. Controller Design Based on the Closed-Loop-Gain Algorithm
According to Formula (7), the closed-loop gain algorithm was used in the controller design (as Figure 4). If , all parameters of robust controller can be obtained as . This study emphasizes on the application of the nonlinear S function in modifying the output of the controller mathematically and experimentally. The new PD controller, improved by the S function, which is proved by its result in improving the controller performance.
Figure 4.
Standard feedback control system.
3. Controller Design
In this study, the Lyapunov stability theory was applied to launch the stability analysis of the water tank feedback controller, which is designed based on the closed-loop-gain algorithm.
First, the state variable of the control system is interpreted as ,
Based on Formula (11), the inlet ratio of the water tank control system can be expressed as (12). At the same time, the parameters’ values are . Combine with (2).
By combining Formulas (8) and (12), we obtain:
Then, by rearranging Formulas (11) and (13), the state equation of the controlled system can be written as
For Formula (14), the Lyapunov function of the system is interpreted as
where represents a positive definite real symmetric matrix, and .
Ignoring the external disturbance term , then
According to the Lyapunov stability theory, the following function is needed to ensure the stability of the system at origin, for any interpreted positive definite real symmetric matrix.
Define positive definite real symmetric matrix, and make positive definite real symmetric matrix as
Putting Formulas (14) and (18) into Formula (17), to obtain
To expand Formula (19) and obtain the solutions as
The following functions have to be met for maintaining the positive definiteness of matrix
By solving Function (21), we obtain
Thus, in the case of , if is ensured, then the controller will keep the balanced state at the origin.
For the purpose of verifying the robustness of the controller proposed by this study against external distraction, the external distraction term is considered in Formula (9), and then the formula of Lyapunov function as shown in Formula (10), is [14]
where .
According to Young’s inequality, we can obtain
Then, is a bounded interference term and .
To define , then
Formula (26), indicated that when state variable of the system , then .
For further discussing the robustness for the external distraction, which is the performance index of gain robust is interpreted as
where and are positive and small, and the following theorem is obtained.
Theorem: in the controller design for the water tank level control system, as shown in Formula (14) by applying the closed-loop gain algorithm, and the parameter of controller satisfying the condition of , the state variable of the system ensures the whole controller uniform ultimate boundness and also achieves the performance index of gain robust , which is related to the controller parameter .
This theorem can be proved by integrating Formula (26) from to , to obtain
On the basis of the definition of, Formula (28) can be derived as
After discussing the bounds of as shown in Formula (29), can be stated as [22]
The formula is a requisite, for the purpose of keeping the negative definite of Formula (26), and then the range of controller parameters is derived according to Formula (30)
To summarize, based on the result of the Formula (27) about the performance index of gain robust and Formula (29), when the state variable of water tank control system satisfies the requirement of , if the parameter of the controller of closed-loop gain control law can meet , then the water tank control system shown in Formula (14) will obtain the performance index of gain robust , as shown in Formula (27), which is related to the parameter of controller parameter .
If the S function is applied to decorate the output of the existing controller, then
Based on the Taylor series expansion, the Formula (33) can be obtain
Then
When is not too large, then
When , the above derivation is still valid.
The above proof is based on the reference [14] using the gain robustness performance index. In the actual simulation, it is found that the requirement is conservative and the robust theorem is used to re-prove.
According to Formulas (11) and (14), if the output matrix is added, the sensitivity function of the system can be obtained, followed by the complementary sensitivity function of the system.
According to the system robustness theorem, Formula (37) can be obtained as
Derivable
According to Formula (36), if you want to satisfy Formula (38), the damping coefficient of a second-order oscillation system requiring a complementary sensitivity function is greater than or equal to 1.
Therefore,
According to Young’s inequality, it can be obtained that
Therefore, Formula (39) is automatically satisfied; hence under the condition that the state variables of water tank level control system satisfy , as long as and , the robustness of the designed controller can be guaranteed, which is more relaxed than the original condition, and also consistent with the simulation results.
4. Simulation Experiments and Results
The Simulink toolbox of MATLAB (2016b) was used for the simulation experiment, and its diagrammatic drawing is shown in Figure 5. Compared with the fuzzy controller proposed in reference [18], the robust control proposed in reference [17] has better robust stability and simplicity. However, the improved PD controller proposed in this study is a kind of S function nonlinear decorated control, aiming to achieve energy-saving performance based on the two controllers mentioned above.
Figure 5.
Simulation diagram of fuzzy controller and nonlinear robust controller decorated by S function.
The input signal is a square wave with amplitude changing from to . The Formula (2) in this study was applied to design a PD controller. When the max inlet ratio of the tank is ensured at due to the effect of nonlinear decorated robust PD control, the mean control input is . The simulation results are displayed in Figure 6. There are no overshoot and quick tracking achieved. Considering the complicated nonlinear model that is used in the simulation experiments while the controller is designed according to the simplified linear model, the system robustness is also guaranteed. (In Figure 6b, the blue line represents the set level and the red line represents the simulated level).
Figure 6.
Simulation results of nonlinear decorated robust controller: (a) represents the control input curve (b) represents the water level curve.
As displayed in Figure 7, which shows the effect of nonlinear feedback, its mean control input is . The control input of the improved algorithm is reduced by 9.6%, compared to the nonlinear-decorated control and the nonlinear feedback control. The purpose of saving energy by applying the S-function-decorated control is then obtained.
Figure 7.
Simulation results of nonlinear feedback (0.5): (a) represents the control input curve (b) represents the water level curve.
The mean control input of nonlinear decorated robust control is if the inlet ratio is decreased from to , as shown in Figure 8. The control output of the level is almost unchanged with satisfactory robustness.
Figure 8.
Simulation results of nonlinear decorated robust control: (a) represents the control input curve (b) represents the water level curve.
The effect of nonlinear feedback is shown in Figure 9, its mean control input is when the inlet ratio is reduced from to . Compared with the nonlinear-decorated control and the nonlinear feedback control with a limited inlet ratio, the control input of the improved algorithm is reduced by 4.4%.
Figure 9.
Simulation results of nonlinear feedback (0.4): (a) represents the control input curve (b) represents the water level curve.
The performance of linear feedback fuzzy control is displayed in Figure 10, the mean control input is , and the effect of linear feedback fuzzy control is displayed in Figure 11 when the limit of inlet ratio is , with the mean control input as . The mean control input of nonlinear-decorated robust control is reduced by 26.1%, compared with the linear feedback fuzzy control. The purpose of energy-saving is met. Further, the fuzzy control has a slight overshoot.
Figure 10.
Simulation results of feedback fuzzy control: (a) represents the control input curve (b) represents the water level curve.
Figure 11.
Limited inflow rate feedback fuzzy control simulation results: (a) represents the control input curve (b) represents the water level curve.
The comprehensive control performance index of (42) is used to evaluate the above three kinds of control algorithms.
is a function that controls input energy and output error, and the smaller the value is, the better. Table 1 presents a quantitative comparison of the control simulation results mentioned above, and studies the efficiency of the proposed algorithm. It is worth nothing that the response performance specification of the nonlinear-decorated robust method is decreased by 13.0% and 26.3%, respectively, in contrast to the nonlinear feedback and the fuzzy controller. When the model has some perturbation (the max inlet ratio is changed), the control performance is also satisfactory with good robustness.
Table 1.
Comparison of the Closed Loop Performance.
5. Conclusions
Through comparing experiments, the control algorithm resulting in the nonlinear decorated robust control has the best system performance index, which can reduce the system performance index up to 13.0% and 26.3%, respectively, compared with the nonlinear feedback and the fuzzy control. The improved controller presented in this study is based on the robust controller proposed in reference [15], when properly preserving its notable robust stability and concision. The most important advantage of the improved edition is its remarkable energy-saving competence. This achievement results from the introduction of the S function to nonlinear-decorated-control to achieve the energy-saving target. The modification method analyzed in this study can be applied to other cases in the engineering industry on a larger scale.
Author Contributions
Conceptualization, X.Z. and C.S.; methodology, X.Z.; software, C.S.; validation, C.S. Both authors have read and agreed to the published version of the manuscript.
Funding
This work is partially supported by the National Science Foundation of China (Grant No.51679024), the Fundamental Research Funds for the Central University (Grant No.3132016315), and the University 111 Project of China (Grant No. B08046).
Conflicts of Interest
The authors declare no conflict of interest.
References
- Mystkowski, A.; Kierdelewicz, A. Fractional-Order Water Level Control Based on PLC: Hardware-in-the-Loop Simulation and Experimental Validation. Energies 2018, 11, 2928. [Google Scholar] [CrossRef] [Green Version]
- Zhang, X.K.; Jin, Y.C. Control System Modeling and Numerical Simulation, 2nd ed.; Dalian Maritime University Press: Dalian, China, 2013. [Google Scholar]
- Zhang, Q.; Zhang, X.-K.; Im, N.-K. Ship nonlinear-feedback course keeping algorithm based on MMG model driven by bipolar sigmoid function for berthing. Int. J. Nav. Arch. Ocean Eng. 2017, 9, 525–536. [Google Scholar] [CrossRef]
- Zhang, X.; Yang, G.; Zhang, Q.; Zhang, G.; Zhang, Y. Improved Concise Backstepping Control of Course Keeping for Ships Using Nonlinear Feedback Technique. J. Navig. 2017, 70, 1401–1414. [Google Scholar] [CrossRef]
- Song, C.; Zhang, X.; Zhang, G. Nonlinear Identification for 4 DOF Ship Maneuvering Modeling Via Full-Scale Trial Data. IEEE Trans. Ind. Electron. 2021, 99, 1. [Google Scholar] [CrossRef]
- Zhang, X.; Han, X.; Guan, W.; Zhang, G. Improvement of integrator backstepping control for ships with concise robust control and nonlinear decoration. Ocean Eng. 2019, 189, 106349. [Google Scholar] [CrossRef]
- Guo, W.; Wang, B.; Yang, J.; Xue, Y. Optimal control of water level oscillations in surge tank of hydropower station with long headrace tunnel under combined operating conditions. Appl. Math. Model. 2017, 47, 260–275. [Google Scholar] [CrossRef]
- Arkadiusz, M.; Argyrios, Z. Plc-based discrete fractional-order control design for an industrial-oriented water tank volume system with input delay. Fract. Calc. Appl. Anal. 2018, 21, 1005–1026. [Google Scholar]
- SarathYadav, E.; Indiran, T. Comparative approach toward modified smith predictor and back calculation design for conical tank level process control. In Lecture Notes in Mechanical Engineering; Springer: Singapore, 2017; pp. 569–577. [Google Scholar]
- Dariusz, B. Water level control of a small hydropower plant with a surge tank. J. Hydraul Res. 2017, 55, 284–291. [Google Scholar]
- Zhong, X.; Peng, L.X.; Yi, C.; Zhang, J. The research on intelligent prediction algorithm for water level control of tank. J. Nonlinear Convex A 2009, 20, 1271–1281. [Google Scholar]
- Jiri, V.; Petr, D. Simulation of Adaptive LQ Control of Nonlinear Process. Stud. Inf. Contro 2012, 20, 215–324. [Google Scholar]
- Zhao, J.; Zhang, X. Inverse Tangent Functional Nonlinear Feedback Control and Its Application to Water Tank Level Control. Processes 2020, 8, 347. [Google Scholar] [CrossRef] [Green Version]
- Guan, W.; Zhou, Q.H.; Ren, Z.H.; Teng, B. The USV concise robust course control based on planning and control scheme. J. Harbin Eng. Univ. 2019, 40, 1801–1808. [Google Scholar]
- Zhang, X.K. Ship Motion Concise Robust Control; Science Press: Beijing, China, 2012. [Google Scholar]
- Zhang, X.K.; Jin, Y.C.; Zhang, X.-K.; Jin, Y.-C. Robust PID controller based on closed-loop gain shaping algorithm and its application. In Proceedings of the 2009 International Conference on Machine Learning and Cybernetics, Baoding, China, 12–15 July 2009. [Google Scholar]
- Zhang, X.K.; Jia, X.L. Robust PID Algorithm based on Closed-loop Gain Shaping and its application on level control. Shipbuild. China 2000, 41, 35–38. [Google Scholar]
- Zhang, X.; Zhang, Q.; Ren, H.X.; Yang, G.P. Linear Reduction of Backstepping Algorithm Based on Nonlinear Decoration for Ship Course-keeping Control System. Ocean. Eng. 2018, 147, 1–8. [Google Scholar] [CrossRef]
- Shi, S.; Cong, S.; Zhang, Z. A design method for robust PID controller based on structured singular value. J. Shanghai Jiao Tong Univ. 1995, 25, 1–5. [Google Scholar]
- Ning, X.; Zhang, Y.; Wang, Z. Robust Adaptive Control for a Class of T-S Fuzzy Nonlinear Systems with Discontinuous Multiple Uncertainties and Abruptly Changing Actuator Faults. Complexity 2020, 2020, 8863073. [Google Scholar] [CrossRef]
- Zhao, Y.; Niu, B.; Jiang, X.; Zhao, P.; Wang, H.; Yang, D. Partial-State-Constrained Adaptive Intelligent Tracking Control of Nonlinear Nonstrict-Feedback Systems with Unmoulded Dynamics and Its Application. Complexity 2020, 2020, 8835454. [Google Scholar] [CrossRef]
- Zhang, G.; Zhang, X. Concise Robust Adaptive Path-Following Control of Underactuated Ships Using DSC and MLP. IEEE J. Ocean. Eng. 2014, 39, 685–694. [Google Scholar] [CrossRef]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).