Next Article in Journal
CatBoost–Bayesian Hybrid Model Adaptively Coupled with Modified Theoretical Equations for Estimating the Undrained Shear Strength of Clay
Next Article in Special Issue
Evaluation of Fire Resistance of Polymer Composites with Natural Reinforcement as Safe Construction Materials for Small Vessels
Previous Article in Journal
Ontology-Based Architecture Process of System-of-Systems: From Capability Development to Operational Modeling
Previous Article in Special Issue
A Ship Trajectory Prediction Model Based on Attention-BILSTM Optimized by the Whale Optimization Algorithm
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Nonlinear Tank-Level Control Using Dahlin Algorithm Design and PID Control

1
Faculty of Maritime Studies Kotor, University of Montenegro, Put I Bokeljske Brigade 44, 85330 Kotor, Montenegro
2
Faculty of Technical Sciences Cacak, University of Kragujevac, Svetog Save 65, 32102 Cacak, Serbia
3
Faculty of Electrical Engineering, University of Montenegro, Dzordza Vasingtona bb, 81000 Podgorica, Montenegro
*
Author to whom correspondence should be addressed.
Appl. Sci. 2023, 13(9), 5414; https://doi.org/10.3390/app13095414
Submission received: 30 March 2023 / Revised: 24 April 2023 / Accepted: 24 April 2023 / Published: 26 April 2023
(This article belongs to the Special Issue Applied Maritime Engineering and Transportation Problems 2022)

Abstract

:
Liquid-level control in tanks is widely used in various industrial sectors. Due to problems arising from the case that the liquid level is above or below the recommended, the process of its control is of great significance. The proportional integral differential (PID) controller is one of the most widely used controllers in applications that require accuracy and optimal automatic control. In this paper, single and coupled ship fuel tank systems are discussed. In addition, mathematical models and their linearization using two different approaches are presented. The two control approaches are used to maintain the specified liquid level in tanks. The first is based on the design of standard PID controllers, with the application of the Ziegler–Nichols, Takahashi tuning, and Auto-tuning methods. The second approach, proposed by the authors, is based on the application of the Dahlin algorithm. The simple modification of the Dahlin controller, which can avoid the “ringing” of the control signal, is suggested in the paper. Moreover, the lower limit of the decrease in the desired time constant, which ensures the desired behavior of the system, is determined. The comparisons provided for different performance indexes show the advantages of the modified Dahlin algorithm approach compared to the standard PID controllers. Furthermore, the comparison with the literature-known approaches is realized.

1. Introduction

The liquid-level control process is one of the primary issues in various industries, such as pharmaceutical, biochemical, nuclear, marine, etc. Usually, all analyses start with a single tank (ST) system [1,2,3,4], followed by a coupled tank (CT) system. In CT systems, liquids are generally pumped into tanks for further operations. Different types of CT systems described in literature depend on the number of liquid inlets and outlets [5,6,7].
Industrial processes utilize storage tanks of different geometries. Cylindrical tanks are the most common ones, but conical and spherical tanks are also widely used [2,6,8]. Onboard ships, there are many types of tanks for various purposes, such as fuel oil and lubricating oil tanks, ballast tanks, fresh water tanks, gray water tanks, technical water tanks, liquified natural gas (LNG) tanks, etc. [9,10].
Liquid levels, as some of the essential parameters, must be maintained at the prescribed values for a smooth process control. A level above or below the required value can lead to unwanted consequences, such as balance disorder. In addition, the tank-level monitoring system is significant for the operational cost calculations of any vessel (for fuel, water, etc.), and also in terms of meeting environmental standards and regulations (collection and discharge of sludge, ballast, gray water, etc.).
Maritime transport plays an essential role in the overseas transportation of goods. The effectiveness of the transportation process is related to various factors, with ship stability as an essential one. It impacts crucial safety of any seagoing ship. An insufficient ship stability will result in dangerous conditions, such as not favorable listing, strong heel, or even capsizing [9]. Depending on the type of the ship, a large impact on the ship stability is made by the geometry of the tanks and their position onboard the vessels, which are planned and experimentally tested prior to the ship building.
Environmental protection awareness has been significantly increased in the last decades due to the rapid social and economic development in the shipping industry [10]. Nowadays, we have new standards for limiting the ship emissions. These have been especially restricted by the MARPOL convention and additionally by some national legislations in order to reduce pollution of the global seas and oceans, as well as the air. This has resulted in the change in practice for the use of heavy fuel oil as the most important energy source in maritime industry. It is to be replaced by alternatives, such as LNG, biofuels, etc., as well as by the latest technologies, such as pure electric propulsion, which is currently in use only with small vessels and is still in the phase of testing. Once again, tank level calculations and proper planning play an important role in the ship’s regular operations and safe navigation.
With the implementation of exhaust gas purification systems (scrubbers) on the ships, which are still run-on heavy fuel oil due to economic reasons, a large amount of additional harmful chemicals are stored onboard ships in special tanks and under special conditions.
Regardless of the continuous improvement in the control technology, the PID controllers are still the most commonly used in industrial applications due to their simple structure, robustness, simplicity, and easy comprehension [11,12,13,14,15,16,17]. Furthermore, PID controller and PI controller are frequently used for tank-level control as described in [18,19,20,21,22,23,24,25,26].
Considering the PID controllers, there are several possible applications for liquid-level control:
  • A traditional approach, which includes the implementation of conventional methods, such as Ziegler–Nichols (ZN) in the case of continuous PID controller design, shown in [19], and virtual instrument-based liquid-level control system using conventional PID, as presented in [3];
  • The fuzzy logic and neural network approach is represented by the implementation of the fuzzy-PID controller to the liquid-level system using LabVIEW in [20], whereas four control strategies are designed and compared, including classical PID, gain scheduling (GS), internal model control (IMC), and fuzzy logic (FL) principle in [8]. Hybrid PI-neural network (hybrid PI-NN) controllers are presented in [21]. Parameters of PID in [22] were tuned by an artificially intelligent algorithm, such as a fuzzy, neural network, genetic algorithm, BAT algorithm, neuro-fuzzy, IT2FNNC. An example of the integrated fuzzy logic-based intelligent control of three tank systems is shown in [23];
  • The use of optimization tourniquets, which include fractional order PI and PD controllers, is implemented in [24]. The performance characteristics of integer order and fractional order PID controller on the current integer order plant, which obtains a minimum objective function by Nelder–Mead optimization technique is studied in [25]. Comparison of the conventional PI controller with the fractional PI (FOPI) controller is described in [11]. Linear model predictive control can be efficiently used for coupled tank system liquid-level control [5]. Experimental evaluation of the adaptive three tank-level control is described in [26].
None of the mentioned approaches for controlling the liquid level in the tank utilize the Dahlin controller [27,28,29,30,31,32]. The Dahlin controller provides the aperiodic response of the assigned time constant. A stable, with no error, response of the desired dynamics can be achieved. Considering that the vast majority of processes, as in the case with a tank-level control system, require the achievement of aperiodic response (i.e., response without overshoot with parameters of the transient response, such as rise time, settling time, and dominant time constant, which should be as short as possible), we believe that it would be suitable for controlling the liquid level in a ship’s tank. The problem with designing a Dahlin controller lies in the control signal, which can have sudden changes. This can be successfully overcome by eliminating poles with a negative real part inside the unit circle, as well as complex conjugated poles. Therefore, it was necessary to modify the Dahlin controller in order to achieve the same response but without sudden changes in the control signal.
This paper aims to show that with particular simple modifications, the Dahlin controller can be very successfully applied for controlling the liquid level in a ST and CT system. The quality of the obtained performance will be shown by comparison with other classical PID controller design methods (such as Ziegler–Nichols (ZN), Takahashi (T), and Auto-tuning (AT)), and by comparison with the results reported in the literature.
The remainder of the paper is organized as follows: Nonlinear mathematical models for the ST and CT systems are derived, and then methodologies are utilized to linearize the systems and controller design approaches. This is followed by the presentation of the results. Finally, the findings, prospective future work, and implications of this research are presented.

2. Materials and Methods

2.1. Mathematical Modeling

Most industrial systems are nonlinear in nature. Tank systems used onboard ships are also examples of nonlinear systems. To design controllers for these systems, it is usually necessary to develop their respective mathematical models. We hereby present the modeling of a ST and CT system that is carried out separately. As a result, two different approaches for modeling linearization were used. In the case of a ST system, linearization is performed based on the obtained system response. In the case of the CT system, the Taylor series is used to linearize the system.

2.1.1. Single Tank Model

Figure 1 shows the single input–single output (SISO) tank system.
Considering the mass balance, the dynamic equation of the ST system is [3]:
A d H d t = Q i Q o .
Equation (1) can be written as:
A d H d t = Q i α H ,
where
α = a 2 g .

2.1.2. Coupled Tank Model

The CT system consists of two vertical tanks linked by a channel (Figure 2). Each tank has an independent pump for the inflow of liquid. The CT system can be configured as a SISO or MIMO (multiple input–multiple output) system.
Using the mass balance equation, the mathematical model of the tank system is derived. The nonlinear equations that describe the dynamics of each tank are:
A 1 d H 1 d t = Q i 1 Q o 1 Q o 3 , A 2 d H 2 d t = Q i 2 Q o 2 + Q o 3 .
Relation (4) can be written as:
A 1 d H 1 d t = Q i 1 α 1 H 1 α 3 H 1 H 2 , A 2 d H 2 d t = Q i 2 α 2 H 2 + α 3 H 1 H 2 ,
where
α 1 = a 1 2 g ,   α 2 = a 2 2 g ,   α 3 = a 3 2 g .

2.2. Model Linearization

2.2.1. Single Tank Model Linearization

Figure 3 shows a SISO tank nonlinear system.
The ST system is nonlinear due to the square-root term of the liquid height in the tank that appears in the model. Its linearization will be performed based on the recording of its step response. The static gain of the system K, the time constant Tl, and the time delay τ, can be determined from the obtained response curve.

2.2.2. Coupled Tank Model Linearization

The linearization of the CT nonlinear model provided with relation (5) can be performed using the Taylor series method [5,6,7]. Specifically, using the mentioned method around the stationary state, it can be written as follows:
H 1 H 1 s + 1 2 H 1 s ( H 1 H 1 s ) , H 2 H 2 s + 1 2 H 2 s ( H 2 H 2 s ) , H 1 H 2 H 1 s H 2 s + 1 2 H 1 s H 2 s [ ( H 1 H 2 ) ( H 1 s H 2 s ) ] .
Moreover, the following would be valid:
0 = Q i 1 s α 1 H 1 s α 3 H 1 s H 2 s , 0 = Q i 2 s α 2 H 2 s + α 3 H 1 s H 2 s .
After inserting (7) into (5), and by subtracting (8) from the obtained expression, it is be written as follows:
A 1 d H 1 d t = ( Q i 1 Q i 1 s ) α 1 2 H 1 s ( H 1 H 1 s ) α 3 2 H 1 s H 2 s [ ( H 1 H 2 ) ( H 1 s H 2 s ) ] , A 2 d H 2 d t = ( Q i 2 Q i 2 s ) α 2 2 H 2 s ( H 2 H 2 s ) + α 3 2 H 1 s H 2 s [ ( H 1 H 2 ) ( H 1 s H 2 s ) ] .
By introducing a substitution,
q i 1 = Q i 1 Q i 1 s ,   q i 2 = Q i 2 Q i 2 s , h 1 = H 1 H 1 s ,   h 2 = H 2 H 2 s ,   h 1 h 2 = ( H 1 H 2 ) ( H 1 s H 2 s ) ,
It can be written as follows:
A 1 d h 1 d t = q i 1 α 1 2 H 1 s h 1 α 3 2 H 1 s H 2 s ( h 1 h 2 ) , A 2 d h 2 d t = q i 2 α 2 2 H 2 s h 2 + α 3 2 H 1 s H 2 s ( h 1 h 2 ) .
Introducing the substitution (12),
T 11 = A 1 α 1 2 H 1 s + α 3 2 H 1 s H 2 s ,   T 21 = A 2 α 2 2 H 2 s + α 3 2 H 1 s H 2 s , k 1 = 1 α 1 2 H 1 s + α 3 2 H 1 s H 2 s , k 2 = 1 α 2 2 H 2 s + α 3 2 H 1 s H 2 s , k 12 = α 3 2 H 1 s H 2 s α 1 2 H 1 s + α 3 2 H 1 s H 2 s ,   k 21 = α 3 2 H 1 s H 2 s α 2 2 H 2 s + α 3 2 H 1 s H 2 s ,
relation (11) in the Laplace domain is written as follows:
h 1 ( T 11 s + 1 ) = q i 1 k 1 + k 12 h 2 , h 2 ( T 21 s + 1 ) = q i 2 k 2 + k 21 h 1 ,
which is a linearized MIMO CT model.

2.3. Controller Design

The control of the tank level is performed using a digital computer. Therefore, two approaches to digital control design are used: The application of the Dahlin algorithm and the design of a digital PID controller, where the PID parameters are adjusted according to the Takahashi PID tuning method.

2.3.1. The Dahlin Controller Design

This algorithm of digital controller parameters setting is applied in the control systems, in which time constants are significantly higher than the transport delay and when it is desired that the controlled variable has an aperiodic response to a step signal at the input in the closed feedback loop [27,28,29,31].
The standard control structure of the Dahlin algorithm is shown in Figure 4, where T is the sampling time, D/A is zero-order hold (ZOH) with the transfer function G h ( s ) = 1 e T s s , and D(z) represents the Dahlin controller.
According to this algorithm, the desired aperiodic step response with a time constant of 1/λ and transport delay T d = N T is adopted as shown in Figure 5.
The complex form of this response is:
C ( s ) = λ s ( s + λ ) e N T s .

2.3.2. The Dahlin Controller for the Single Tank Model

When the process that is being controlled has the first-order transfer function,
G ( s ) = K T l s + 1 e τ s ,
The following dependence between τ and NT is applicable:
τ = N T + ( 1 m ) T , 0 < m 1 ,
where m is the parameter of the modified Z transformation.
The Dahlin controller has the Z−transform [27,30,31],
D ( z ) = ( 1 e λ T ) [ 1 ( e T / T 1 ) z 1 ] K [ 1 e λ T z 1 ( 1 e λ T ) z N 1 ] ( C 1 + C 2 z 1 ) ,
where
C 1 = 1 e m T / T 1 ,   C 2 = e m T / T 1 e T / T 1 .
Occasionally, digital controllers provide a control signal that oscillates with a decreasing amplitude in regard to the stationary level. This is known as “ringing” and is caused by a negative, real pole that is close to the “−1” point in the z-plane and the complex conjugate poles within the unit circle. A quick way to avoid ringing, as the authors proposed, is to include z = 1 only in the factor ( C 1 + C 2 z 1 ) . In this way, the modified Dahlin controller, which should eliminate the effect of sudden changes in the control signal, has the following form:
D ( z ) = ( 1 e λ T ) [ 1 ( e T / T 1 ) z 1 ] K [ 1 e λ T z 1 ( 1 e λ T ) z N 1 ] ( C 1 + C 2 ) .
The control law for non-ringing control signals can also be written as the control law of a digital PI regulator. The transfer function of the Dahlin PI controller is [30]:
D ( z ) = K P [ 1 + T / T I 1 z 1 ] ,
K P = 1 e λ T K ( e T / T 1 1 ) [ 1 + N ( 1 e λ T ) ] ,   T / T I = e T / T 1 1 .

2.3.3. The Dahlin Controller for the Coupled Tank Model

When a process has the second-order transfer function,
G ( s ) = K ( T l s + 1 ) ( T 2 s + 1 ) e N T s ,
The Dahlin controller has the Z−transform [31], as follows:
D ( z ) = ( 1 e λ T ) [ 1 ( e T / T 1 ) z 1 ] [ 1 ( e T / T 2 ) z 1 ] K [ 1 e λ T z 1 ( 1 e λ T ) z N 1 ] ( C 3 + C 4 z 1 ) ,
where
C 3 = 1 + T 1 e T / T 1 T 2 e T / T 2 T 2 T 1 ,   C 4 = e T / T 1 e T / T 2 + T 1 e T / T 2 T 2 e T / T 1 T 2 T 1 .
A possible way to avoid ringing of the control signal of the Dahlin controller (23), which is designed for the system described with the transfer function (22), is to include z = 1 in the factors [ 1 + ( 1 e λ T ) z 1 ] ( C 3 + C 4 z 1 ) of the denominator in the Dahlin controller transfer function [27,30,31]. For N = 1, this modified Dahlin controller, which can eliminate the effect of sudden changes in the control signal, has the following form:
D ( z ) = ( 1 e λ T ) [ 1 ( e T / T 1 ) z 1 ] [ 1 ( e T / T 2 ) z 1 ] K ( 2 e λ T ) ( C 3 + C 4 ) ( 1 z 1 ) .
The control law (25) for arbitrary N can be written as the control law of a digital PID regulator. PID controller expressed via Dahlin algorithm is as follows:
D ( z ) = K P [ 1 + T / T I 1 z 1 + T D T ( 1 z 1 ) ] ,
where
K P = ( 1 e λ T ) [ e T / T 1 + e T / T 2 2 ] K ( e T / T 1 1 ) ( e T / T 2 1 ) [ 1 + N ( 1 e λ T ) ] , T T I = ( e T / T 1 1 ) ( e T / T 2 1 ) e T / T 1 + e T / T 2 2 ,   T D T = 1 e T / T 1 + e T / T 2 2 .

2.3.4. The PID Controller Design

The general form of analog and digital PID controllers is:
G ( s ) = K P + K I s + K D s , G ( z ) = K P + K I 1 z 1 + K D ( 1 z 1 ) .
To design PID controllers, the Ziegler–Nichols method (for continuous controllers) and the Takahashi method (for discrete controllers) were used, as shown in Table 1. These methods also assume that parameters KPkr and Tkr have been previously determined in a closed-loop experiment.

3. Results

3.1. Single Tank Control Results

3.1.1. Single Tank Model Linearization

The linearization of the ST system shown in Figure 3 is based on the recording of its step response in Figure 6, where the adopted system parameter values are presented in Table 2.
As can be seen in Figure 6, the static gain of the system K and the time constant Tl, which is inversely proportional to the steepest tangent of the system step response and the time delay τ, can be determined. Therefore, we can obtain the linearized tank transfer function in the following form:
G ( s ) = K T l s + 1 e τ s = 51.6 9.9 s + 1 e 4.3 s .
In addition, it can be seen that the rise time, defined as the time for the response signal to increase from 0.1 to 0.9 of its final value, is Tr = 25.91 s.
To confirm the model linearization procedure, the responses of the nonlinear tank system shown in Figure 3 and the resulting linearized model provided with relation (29) are compared in Figure 7.
The responses of the tank system and the linearized tank model, which largely coincide, confirm the validity of the applied procedure as shown in Figure 8.

3.1.2. The Dahlin Algorithm Results

Let the chosen sampling period be T = 1   s . Since the transport delay for the single-tank system is τ = 4.3   s and the sampling period is T = 1 s, from (16) it follows that m = 0.7 and N = 4 .
Let the time constant of the desired aperiodic response be 1 / λ = 5   s .
Based on the parameters presented in Table 2, relation (17) is written as follows:
D ( z ) = 0.181 ( 1 0.904 z 1 ) 51.6 ( 1 0.819 z 1 0.181 z 5 ) ( 0.068 + 0.028 z 1 ) .
Figure 9 shows the Simulink model of the tank system with the Dahlin controller. The height of the liquid in the ST system with the Dahlin controller is shown in Figure 10.
The obtained output has a desired response time of 5 s and an expected delay time of 4 s. The expected aperiodic output with no oscillation and no overshoot was achieved, with a rise time of Tr = 10.8 s and a setting time of Ts = 20 s, Table 3.
The transfer function of the modified Dahlin controller with “no ringing” effect of the control signal, based on (19), is:
D ( z ) = 0.1813 z 5 0.1639 z 4 4.958 z 5 4.059 z 4 0.8986 .
Control signals from the Dahlin controller with the effect of “ringing” and from the modified Dahlin controller with “non-ringing” behavior are shown in Figure 11. The control signal from the Dahlin PI control is presented in Figure 12.
The transfer function of the Dahlin PI controller, based on (20) and (21), is:
D ( z ) = 0 . 0192 ( 1 + 0.1063 1 z 1 ) .
Figure 13 shows the responses obtained from the designed controllers. The response obtained with the modified Dahlin controller matches the response obtained with the Dahlin controller. However, the response obtained with the Dahlin PI controller somewhat deviates from these responses. It has an overshoot of P% = 3.8%, rise time of Tr = 11 s, and a setting time of Ts = 29 s.

3.1.3. The PID Control Results

Figure 14 and Figure 15 show the output of the ST system with PID controllers obtained using Ziegler–Nichols, Takahashi, and Auto-tuning methods.
To obtain the PID parameters presented in Table 1, it was necessary to determine KPkr and Tkr by gradually increasing KP until an undamped response is reached. The reached gain value of KP is called the critical gain KPkr and the time between two adjacent maxima is the critical oscillation period Tkr as shown in Figure 16.
The selection of the PID controller parameters using the Ziegler–Nichols, Takahashi tuning, and Auto-tuning methods is presented in Table 4.
The parameters of the transient response with PID controllers are shown in Table 5. The choice of PID controller parameters using the Ziegler–Nichols method is not presented in Table 5, since it provided an extremely oscillating response.
Based on the parameters shown in Table 5, it can be concluded that the best transient response parameters provided the Auto-tuning method as well as the PI controllers with parameters selected by the Ziegler–Nichols and Takahashi tuning methods.

3.2. The Coupled Tank Control Results

3.2.1. The Coupled Tank Model Linearization

Table 6 shows the adopted parameters of the CT system.
If we assume that q i 2 = 0 , in relaton (13), then the CT linearized SISO model can be derived as shown in Figure 17.
The transfer function of the CT model can be described by the following equation:
G ( s ) = h 2 ( s ) q i 1 ( s ) = K ( T l s + 1 ) ( T 2 s + 1 ) e τ s .
Using the data presented in Table 6, relation (33), and the model in Figure 17, the linearized transfer function of the CT system is written as as follows:
G ( s ) = h 2 ( s ) q i 1 ( s ) = 0.0039 ( 44.84 s + 1 ) ( 196 . 08 s + 1 ) e s .
The linearized CT model response is shown in Figure 18.

3.2.2. The Dahlin Algorithm

Let the chosen sampling period be T = 1   s , and the time constant of the desired aperiodic response be 1 / λ = 10   s . Then, the transport delay for the CT system is τ = 1   s .
Based on the system parameters presented in Table 6 and relation (23), the transfer function of the Dahlin controller is:
D ( z ) = 4.3027 10 5 ( 1 0.9779 z 1 ) ( 1 0.9949 z 1 ) ( 1 0.9048 z 1 0.09516 z 2 ) ( 1 + 0.9909 z 1 ) .
The Simulink model and the output of the CT system with the Dahlin controller are shown in Figure 19 and Figure 20, respectively.
The transfer function of the modified Dahlin controller with the “no ringing” effect of the control signal, based on (25), is:
D ( z ) = 1.9734 10 5 ( 1 0.9906 z 1 ) ( 1 0.9926 z 1 ) 1 z 1 .
Control signals from the Dahlin controller with the effect of “ringing” and from the modified Dahlin controller with “non-ringing” behavior are shown in Figure 21.
The transfer function of the Dahlin PID controller, which is the variant of the modified Dahlin controller, based on (26) and (27), is:
D ( z ) = 5.3115 10 3 [ 1 + 0.0042 1 z 1 + 36.148 ( 1 z 1 ) ] .
The outputs of the CT system with the different Dahlin controllers are presented in Figure 22.
The obtained output of the coupled tank system with the Dahlin controller has a given response time of 10 s and an expected delay time of 1 s. The expected aperiodic output with no oscillation and no overshoot was achieved, with a rise time of Tr = 21 s and setting time of Ts = 41 s as shown in Table 7.
Control signals from the modified Dahlin controller and the Dahlin PID controller are shown in Figure 23.

3.2.3. The PID Control Results

Figure 24 and Figure 25 show the output of the CT system with PID controller using the Ziegler–Nichols, Takahashi, and Auto-tuning methods.
Figure 26 shows the derivation of Kpkr and Tkr for the CT system.
The selection of the PID controller parameters using the various variants of the PID controllers is shown in Table 8. C and D represent the continuous and discrete Auto-tuning approaches, respectively.
The parameters of the transient response with PID controllers are shown in Table 9. The choice of PI controller parameters using the Ziegler–Nichols and the Takahashi tuning methods are not presented in Table 9, since they provided a non-stable response.
In this case, the best results provided the use of the PID controller with parameters selected by the continuous Auto-tuning, Ziegler–Nichols, and Takahashi tuning methods.

4. Discussion

This paper presents the level control of the ST and CT. For this purpose, it was necessary to design different controllers. In particular, the Dahlin controller and standard PID controllers were used.
Both systems are nonlinear. In order to design the controllers, it was necessary to linearize them. As a result, different approaches to model linearization were applied. In the case of a ST system, the authors suggest that linearization should be performed based on the obtained system response curve. The gain factor, the time constant, and the transport delay can be easily determined from the recorded curve. In the case of higher-order systems, we propose linearization by development into the Taylor series.
The Dahlin algorithm applied for both tank systems control provides very good results. The application of the Dahlin controller enables the aperiodic response of the system with the desired time constant. The problem with using this controller can be the sudden change in the control signal, which is difficult to follow for most actuators. According to Dahlin, this problem can be effectively overcome by eliminating three poles, namely, a pair of complex conjugate poles and one real negative pole within the unit circle. In this way, a modified Dahlin controller is designed, which provides a very similar response as the Dahlin controller, but a control signal with “non-ringing” behavior.
In the first-order system, the elimination of the mentioned three poles is relatively simple if the system has a transport delay of about 2 s, i.e., N = 2. In this case, the modified Dahlin controller becomes a Dahlin PI controller. However, in the case of a system with the transport delay greater than 2, i.e., N greater than 2, the elimination of these three poles becomes more difficult. In this case, Dahlin suggests the design of a Dahlin PI controller [30]. This controller, in the example of a single tank, when N = 4, did not provide satisfactory results. The desired aperiodic response was not achieved, but a response with an overshoot as shown in Figure 13, although the sudden changes in the control signal were eliminated as presented in Figure 12. Therefore, the authors propose the elimination of only one pole, namely, the real negative pole, by including z = 1 in the factor ( C 1 + C 2 z 1 ) , (19), (31). The proposed modified Dahlin controller provided very good results for a ST system. The response almost matched the Dahlin controller, and the ringing of the control signal was eliminated as shown in Figure 11b and Figure 13.
In the second-order system, the elimination of the three mentioned poles can be effectively carried out if N = 1, which was the case with the analyzed example of a CT system. The modified (“non-ringing”) control signal from the Dahlin controller, matched the control signal from the Dahlin PID controller as shown in Figure 23, and the desired aperiodic response was achieved as presented in Figure 22. For systems when N is greater than 1, the authors propose the application of only the elimination of one negative pole by including z = 1 in the factor ( C 3 + C 4 z 1 ) .

4.1. The Transient Response Performances

Table 10 and Table 11 show the parameters of the transient response with the implementation of different controllers (Dahlin—D, modified Dahlin—MD, Ziegler–Nichols—ZN, Takahashi—T, and Auto-tuning—AT) in the analyzed systems.
In comparison to the application of the Dahlin controller, standard procedures based on the Ziegler–Nichols, Takahashi, and Auto-tuning methods, provided responses with an overshoot and longer setting time. Only the rise time was slightly shorter with the use of standard PID controllers as shown in Table 10 and Table 11.
Moreover, the modified Dahlin controller always provides stability, with no error in the aperiodic response and a “non-ringing” control signal, which is not the case when applying standard PID controllers.

4.2. The Comparison of the Performance Indexes

Table 12, Table 13, Table 14 and Table 15 present various performance indexes, such as integral error (IE);integral of the absolute error (IAE); integral of the square error (ISE); integral of time-weighted absolute error (ITAE); integral of time square error (ITASE) of PID and Dahlin controller, considering a 1000 s simulation time.
Additionally, Table 13 and Table 15 show the results of the performance evaluation for the Dahlin controller, for different values of the assigned time constant, 1/λ. The authors have determined the lower limit of the decrease in the desired time constant 1/λ, which is 4 T. Decreasing this constant below this limit, as the authors have noted, will not result in the desired behavior.
Regarding the IE, IAE, ISE, ITAE, and ITASE parameters, the best results were almost always obtained using the modified Dahlin controller both in the ST and CT systems.

4.3. Robustness Analysis

The robustness of the studied systems with the application of the proposed modified Dahlin controllers is analyzed by the maximum sensitivity Ms, described with (38):
M s = max 0 ω < | 1 1 + G p ( j ω ) G c ( j ω ) | = max 0 ω < | S ( j ω ) | .
This parameter, in fact, represents the inverse value of the shortest distance of the Nyquist curve from the critical point −1 [11]. Recommended values that characterize good robustness are between 1.2 and 2.
Based on the obtained Ms value, Ms = 1.7 for the ST system, i.e., Ms = 1.25 for the DT systems (Figure 27), it can be concluded that the application of the modified Dahlin controller ensures the high-quality robustness of the systems.

4.4. Comparison with Results Provided in the Literature

Another confirmation of the advantage of using the modified Dahlin controller was provided by comparing the obtained results with the results of other authors, through the comparison of performance indexes and the transient response performances. We used their transfer functions of horizontal and vertical CT systems to design the modified Dahlin controller, and additionally determined performance indexes, which were not performed in their works as shown in Table 16, Table 17 and Table 18.

5. Conclusions

In this paper, the Dahlin algorithm was used for the level control in single tank and coupled tank systems for the first time. Both systems are nonlinear but were effectively linearized with the proposed procedures. A simple modification of the Dahlin controller resulted in a “non-ringing” control signal and a stable, error-free, aperiodic response of the desired dynamics. Additionally, the lower limit of the decrease in the desired time constant, which ensures the desired behavior of the system, is determined. A comparison of the proposed controller with the PID controllers, which are usually applied, are represented through transient responses and performance indexes. The provided MATLAB Simulink simulations indicate that the proposed modified Dahlin controller has more advantages than the conventional PID controllers.
In the future, special attention will be paid to the application of the experimental validation of the obtained results and the application of the metaheuristic algorithms to estimate optimal PID controller parameters. Furthermore, attention will be paid to the testing of the control system robustness in terms of tank dimension.

Author Contributions

Conceptualization, T.D., S.A. and M.Ć.; methodology, T.D., S.A., M.Ć. and A.M.; software, S.A. and A.M.; validation, S.A., M.Ć. and A.M.; formal analysis, T.D. and S.A., investigation, T.D., S.A. and N.M.; resources, S.A., A.M. and N.M.; data curation, T.D., S.A. and N.M.; writing—original draft preparation, T.D., S.A. and N.M.; writing—review and editing, M.Ć. and A.M.; visualization, T.D., S.A. and N.M.; supervision, M.Ć. and A.M.; project administration, T.D., S.A. and A.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

This study was supported by the Ministry of Science, Technological Development and Innovation of the Republic of Serbia, Grant No. 451-03-47/2023-01/200132.

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

A [m2]Cross-sectional area of the tank;
Qi [m3/s]Pump flow rate into the tank;
Qo [m3/s]The flow rate of liquid out of the tank;
H [m]Height of liquid in the tank;
a [m2]Cross-sectional area of the tank output pipe;
g [m/s2]Ground acceleration;
Qi1, Qi2 [m3/s]The pump flow rates into tank 1 and tank 2;
Qo1, Qo2 [m3/s]The flow rates of liquid out of tank 1 and tank 2;
Qo3 [m3/s]The flow rate between tanks;
a1, a2 [m2]The cross-sectional areas of tank 1 and tank 2 output pipes;
a3 [m2]The cross-sectional area of the pipe between tanks;
A1, A2 [m2]The cross-sectional areas of tank 1 and tank 2;
H1, H2 [m]Heights of liquid in tank 1 and tank 2;
H1s, H2s [m]Stationary values of the height of liquid in tank 1 and tank 2;
Qi1s, Qi2s [m3/s]Stationary values of the pump flow rates into tank 1 and tank 2;
h1, h2 [m]Height deviations from the stationary values;
qi1, qi2 [m3/s]Pump flow rates into tank deviations from the stationary values;
1/λ [s]Desired time constant of the system with the Dahlin controller;
T [s]Sampling time;
Td [s]Desired transport delay of the ST system with Dahlin controller;
KSingle tank system gain factor;
Tl [s]Single tank system time constant;
τ [s]Transport delay of the single tank system;
T1, T2 [s]Time constants of the coupled tank system;
KpkrThe critical gain;
Tkr [s]The critical oscillation period;
McThe maximum sensitivity;
Gp(s), Gc(s)The plant and controller transfer functions.

References

  1. Sabri, L.; Al-mshat, H. Implementation of Fuzzy and PID Controller to Water Level System Using LabView. Int. J. Comput. Appl. 2015, 116, 6–10. [Google Scholar] [CrossRef]
  2. Urrea, C.; Garcia-Garcia, Y. Design and Performance Analysis of Level Control Strategies in a Nonlinear Spherical Tank. Processes 2023, 11, 720. [Google Scholar] [CrossRef]
  3. Rajput, K.; Giri, V.K. Virtual Instrument Based Liquid Level Control System. Int. J. Adv. Res. Electr. Electron. Instrum. Eng. 2015, 4, 5911–5916. [Google Scholar] [CrossRef]
  4. Getu, B.N. Water Level Controlling System Using Pid Controller. Int. J. Appl. Eng. Res. 2016, 11, 11223–11227. [Google Scholar]
  5. Khalid, M.U.; Kadri, M.B. Liquid Level Control of Nonlinear Coupled Tanks System Using Linear Model Predictive Control. In Proceedings of the 2012 International Conference on Emerging Technologies, Islamabad, Pakistan, 8–9 October 2012. [Google Scholar] [CrossRef]
  6. Tijjani, A.; Shehu, M.; Alsabari, A.; Sambo, Y.; Tanko, N. Performance Analysis for Coupled-Tank System Liquid Level Control Using MPC, PI and PI-plus-Feedforward Control Scheme. J. Robot. Autom. 2017, 1, 42–53. [Google Scholar] [CrossRef]
  7. Jaafar, H.I.; Hussien, S.Y.; Selamat, N.A.; Aras, M.; Rashid, M.Z. Development of PID Controller for Controlling Desired Level of Coupled Tank System. Int. J. Innov. Technol. Explor. Eng. 2014, 3, 32–36. [Google Scholar]
  8. Urrea, C.; Páez, F. Design and Comparison of Strategies for Level Control in a Nonlinear Tank. Processes 2021, 9, 735. [Google Scholar] [CrossRef]
  9. Krata, P.; Wawrzyński, W.; Więckiewicz, W.; Jachowski, J. Ship’s Ballast Tanks Size and Dimensions Review for the Purpose of Model Research into the Liquid Sloshing Phenomenon. Zesz. Nauk. Akad. Morska W Szczec. 2012, 29, 88–94. [Google Scholar]
  10. Zhao, Z.; Zhang, X.; Li, Z. Tank-Level Control of Liquefied Natural Gas Carrier Based on Gaussian Function Nonlinear Decoration. J. Mar. Sci. Eng. 2020, 8, 695. [Google Scholar] [CrossRef]
  11. Buljevic, A.; Miletic, M.; Mitrovic, A.; Kapetina, M.; Rapaic, M. Examples of Robust Controller Design. Serb. J. Electr. Eng. 2020, 17, 65–82. [Google Scholar] [CrossRef]
  12. Dlabač, T.; Ćalasan, M.; Krčum, M.; Marvučić, N. PSO-Based PID Controller Design for Ship Course-Keeping Autopilot. Brodogradnja 2019, 70, 1–15. [Google Scholar] [CrossRef]
  13. Bozic, M.; Antic, S.; Vujičić, V.; Bjekić, M.; Djordjevic, G. Electronic Gearing of Two DC Motor Shafts for Wheg Type Mobile Robot. FU Elec. Energ. 2018, 31, 75–87. [Google Scholar] [CrossRef]
  14. Vinod, J.; Sarkar, B.K. Francis turbine electrohydraulic inlet guide vane control by artificial neural network 2 degree-of-freedom PID controller with actuator fault. Proc. Inst. Mech. Eng. Part I J. Syst. Control. Eng. 2021, 235, 1494–1509. [Google Scholar] [CrossRef]
  15. Venkaiah, P.; Sarkar, B.K. Electrohydraulic Proportional Valve-Controlled Vane Type Semi-Rotary Actuated Wind Turbine Control by Feedforward Fractional-Order Feedback Controller. Proc. Inst. Mech. Eng. Part I J. Syst. Control. Eng. 2022, 236, 318–337. [Google Scholar] [CrossRef]
  16. Zhang, R.; Gao, L. The Brushless DC Motor Control System Based on Neural Network Fuzzy PID Control of Power Electronics Technology. Optik 2022, 271, 169879. [Google Scholar] [CrossRef]
  17. Han, J.; Shan, X.; Liu, H.; Xiao, J.; Huang, T. Fuzzy Gain Scheduling PID Control of a Hybrid Robot Based on Dynamic Characteristics. Mech. Mach. Theory 2023, 184, 105283. [Google Scholar] [CrossRef]
  18. Short, M.; Selvakumar, A.A. Non-Linear Tank Level Control for Industrial Applications. Appl. Math. 2020, 11, 876–889. [Google Scholar] [CrossRef]
  19. Imaduddin, M.; Kamil, M.A.N.; Putra, S.H.; Imawan, R.; Zahra, A.T.N.; Iskandar, R.F.; Fitriyanti, N. Implementation PID in Coupled Two Tank Liquid Level Control Using Ziegler–Nichols and Routh Locus Method. In Proceedings of the 2nd International Conference on Applied Science, Engineering and Social Sciences, Yogyakarta, Indonesia, 7–8 August 2019; SCITEPRESS—Science and Technology Publications: Yogyakarta, Indonesia, 2019; pp. 274–279. [Google Scholar]
  20. Prusty, S.B.; Pati, U.C.; Mahapatra, K. Implementation of Fuzzy-PID Controller to Liquid Level System Using LabVIEW. In Proceedings of the 2014 International Conference on Control, Instrumentation, Energy and Communication (CIEC), Calcutta, India, 31 January 2014; pp. 36–40. [Google Scholar] [CrossRef]
  21. Gouta, H.; Said, S.H.; Barhoumi, N.; M’Sahli, F. Observer-Based Backstepping Controller for a State-Coupled Two-Tank System. IETE J. Res. 2015, 61, 259–268. [Google Scholar] [CrossRef]
  22. Liang, L. The Application of Fuzzy PID Controller in Coupled-Tank Liquid-Level Control System. In Proceedings of the 2011 International Conference on Electronics, Communications and Control (ICECC), Ningbo, China, 9–11 September 2011; pp. 2894–2897. [Google Scholar] [CrossRef]
  23. Suresh, M.; Srinivasan, J.; Hemamalini, R. Integrated Fuzzy Logic Based Intelligent Control of Three Tank System. Serb. J. Electr. Eng. 2009, 6, 1–14. [Google Scholar] [CrossRef]
  24. Roy, P.; Kar, B.; Roy, B. Fractional Order PI-PD Control of Liquid Level in Coupled Two Tank System and its Experimental Validation: Cascaded FOPI-FOPD Control. Asian J. Control. 2017, 19, 1–11. [Google Scholar] [CrossRef]
  25. Mukherjee, D. PID Controller Design for an Interacting Tank Level Process with Time Delay Using MATLAB FOMCON Toolbox. In Proceedings of the 2nd International Conference on Control, Instrumentation, Energy & Communication (CIEC), Kolkata, India, 28–30 January 2016. [Google Scholar] [CrossRef]
  26. Cartes, D.; Wu, L. Experimental Evaluation of Adaptive Three-Tank Level Control. ISA Trans. 2005, 44, 283–293. [Google Scholar] [CrossRef] [PubMed]
  27. Clitan, I.; Abrudean, M.; Muresan, V. The Control of an Industrial Manipulator’s Positioning System Using Dahlin Algorithm. Procedia Technol. 2015, 19, 541–546. [Google Scholar] [CrossRef]
  28. Tian, X.; Peng, H.; Luo, X.; Nie, S.; Zhou, F.; Peng, X. Operating Range Scheduled Robust Dahlin Algorithm to Typical Industrial Process with Input Constraint. Int. J. Control. Autom. Syst. 2020, 18, 897–910. [Google Scholar] [CrossRef]
  29. Walz, S.; Lazar, R.; Buticchi, G.; Liserre, M. Dahlin-Based Fast and Robust Current Control of a PMSM in Case of Low Carrier Ratio. IEEE Access 2019, 7, 102199–102208. [Google Scholar] [CrossRef]
  30. Dahlin, E.B. Dahlin Designing and Tuning Digital Controllers. Instrum. Control. Syst. 1968, 41, 77–83. [Google Scholar]
  31. Zhang, Z.G.; Zou, B.G.; Bi, Z.F. Dahlin Algorithm Design and Simulation for Time-Delay System. In Proceedings of the 2009 Chinese Control and Decision Conference, Guilin, China, 17–19 June 2009; pp. 5819–5822. [Google Scholar] [CrossRef]
  32. Chiu, K. Digital Control of Complex Systems Based on Simple Models. Ph.D. Thesis, Louisiana State University and Agricultural & Mechanical College, Baton Rouge, LA, USA, 1971. [Google Scholar] [CrossRef]
Figure 1. ST system.
Figure 1. ST system.
Applsci 13 05414 g001
Figure 2. CT system.
Figure 2. CT system.
Applsci 13 05414 g002
Figure 3. SISO nonlinear tank system.
Figure 3. SISO nonlinear tank system.
Applsci 13 05414 g003
Figure 4. The control structure of the Dahlin algorithm.
Figure 4. The control structure of the Dahlin algorithm.
Applsci 13 05414 g004
Figure 5. Desired step response with the Dahlin controller.
Figure 5. Desired step response with the Dahlin controller.
Applsci 13 05414 g005
Figure 6. The step response of the ST system.
Figure 6. The step response of the ST system.
Applsci 13 05414 g006
Figure 7. The Simulink model of the tank system and the linearized tank model.
Figure 7. The Simulink model of the tank system and the linearized tank model.
Applsci 13 05414 g007
Figure 8. The comparison of the ST system and the linearized ST model responses.
Figure 8. The comparison of the ST system and the linearized ST model responses.
Applsci 13 05414 g008
Figure 9. The Simulink model of the ST system with the Dahlin controller.
Figure 9. The Simulink model of the ST system with the Dahlin controller.
Applsci 13 05414 g009
Figure 10. The output of the ST system with the Dahlin controller.
Figure 10. The output of the ST system with the Dahlin controller.
Applsci 13 05414 g010
Figure 11. Control signals from: (a) The Dahlin controller with ringing; (b) The modified Dahlin controller with non-ringing, for ST system.
Figure 11. Control signals from: (a) The Dahlin controller with ringing; (b) The modified Dahlin controller with non-ringing, for ST system.
Applsci 13 05414 g011
Figure 12. A control signal from the Dahlin PI controller.
Figure 12. A control signal from the Dahlin PI controller.
Applsci 13 05414 g012
Figure 13. The output of the ST system with Dahlin controllers.
Figure 13. The output of the ST system with Dahlin controllers.
Applsci 13 05414 g013
Figure 14. The output of the ST system with PID controller using Ziegler–Nichols and Auto-tuning methods.
Figure 14. The output of the ST system with PID controller using Ziegler–Nichols and Auto-tuning methods.
Applsci 13 05414 g014
Figure 15. The output of the ST system with PID controller and Takahashi method.
Figure 15. The output of the ST system with PID controller and Takahashi method.
Applsci 13 05414 g015
Figure 16. Derivation of Kpkr and Tkr.
Figure 16. Derivation of Kpkr and Tkr.
Applsci 13 05414 g016
Figure 17. The CT linearized SISO model.
Figure 17. The CT linearized SISO model.
Applsci 13 05414 g017
Figure 18. The linearized CT model response.
Figure 18. The linearized CT model response.
Applsci 13 05414 g018
Figure 19. The Simulink model of the CT system with the Dahlin controller.
Figure 19. The Simulink model of the CT system with the Dahlin controller.
Applsci 13 05414 g019
Figure 20. The output of the CT system with the Dahlin controller.
Figure 20. The output of the CT system with the Dahlin controller.
Applsci 13 05414 g020
Figure 21. Control signals from: (a) The Dahlin controller with ringing; (b) The modified Dahlin controller with non-ringing, for CT system.
Figure 21. Control signals from: (a) The Dahlin controller with ringing; (b) The modified Dahlin controller with non-ringing, for CT system.
Applsci 13 05414 g021
Figure 22. The outputs of the CT system with the different Dahlin controllers.
Figure 22. The outputs of the CT system with the different Dahlin controllers.
Applsci 13 05414 g022
Figure 23. Control signals from the modified Dahlin controller and the Dahlin PID controller.
Figure 23. Control signals from the modified Dahlin controller and the Dahlin PID controller.
Applsci 13 05414 g023
Figure 24. The output of the CT system with PID controller using the Ziegler–Nichols and continuous Auto-tuning methods.
Figure 24. The output of the CT system with PID controller using the Ziegler–Nichols and continuous Auto-tuning methods.
Applsci 13 05414 g024
Figure 25. The output of the CT system with PID controller using the Takahashi and discrete Auto-tuning methods.
Figure 25. The output of the CT system with PID controller using the Takahashi and discrete Auto-tuning methods.
Applsci 13 05414 g025
Figure 26. The derivation of Kpkr and Tkr for the CT system.
Figure 26. The derivation of Kpkr and Tkr for the CT system.
Applsci 13 05414 g026
Figure 27. The Nyquist curve for: (a) The ST system; (b) the CT system with modified Dahlin controllers.
Figure 27. The Nyquist curve for: (a) The ST system; (b) the CT system with modified Dahlin controllers.
Applsci 13 05414 g027
Table 1. The PID controller parameter selection [32].
Table 1. The PID controller parameter selection [32].
Ziegler–Nichols Method
KPKIKD
0.5 KPkr--
0.45 KPkrKP1.2/Tkr-
0.6 KPkrKP 2/TkrKP 0.125 Tkr
Takahashi method
KPKIKD
0.5 KPkr--
0.45 KPkr − 0.5 KI0.54 KPkrT/Tkr-
0.6 KPkr − 0.5 KI1.2 KPkrT/Tkr3/40 KPkrTkr/T
Table 2. ST parameters.
Table 2. ST parameters.
SymbolValueUnit
a0.0134m2
A0.1257m2
Table 3. Parameters of the transient response with the Dahlin controller.
Table 3. Parameters of the transient response with the Dahlin controller.
ParametersDahlin Algorithm
Rise time10.8 s
Overshoot0
Setting time20 s
Steady-state error0
Table 4. PID controller parameter selection for the ST system.
Table 4. PID controller parameter selection for the ST system.
Ziegler–Nichols Method
KPKIKD
2.135--
1.92150.1537-
2.56200.34164.8038
Takahashi tuning method
KPKIKD
2.135--
1.8450.1537-
2.39120.34164.8038
Auto-tuning method
KPKIKD
1.5540.1471.2445
Table 5. The parameters of the transient response with PID controllers.
Table 5. The parameters of the transient response with PID controllers.
ControllerRise TimeOvershootSetting TimeSteady-State Error
Ziegler–Nichols methodP4.7 s45.58%38 s0.31
PI5.65 s23.2%30.2 s0
Takahashi methodP4.8 s45.76%42 s0.32
PI9.2 s23%38 s0
PID3.2 s61.8%46 s0
Auto-tuning methodPID4.87 s14.3%26.7 s0
Table 6. Coupled tank system parameters.
Table 6. Coupled tank system parameters.
SymbolValueUnit
H1s2.5m
H2s1.5m
a158.088 × 10−4m2
a263.6173 × 10−4m2
a372.3823 × 10−4m2
A12.0106m2
A21.7908m2
Table 7. The parameters of the transient response with the Dahlin controller.
Table 7. The parameters of the transient response with the Dahlin controller.
ParametersDahlin Algorithm
Rise time21 s
Overshoot0
Setting time41 s
Steady-state error0
Table 8. PID controller parameter selection for the CT system.
Table 8. PID controller parameter selection for the CT system.
Ziegler–Nichols Method
KPKIKD
12100
108.93.43890
145.27.6421689.7
Takahashi tuning method
KPKIKD
12100
107.18053.4389
141.37897.6421689.7
Auto-tuning method
KPKIKD
C110.4521.4791896.5737
D35.25230.30011804.0765
Table 9. The transient response parameters with the PID controllers.
Table 9. The transient response parameters with the PID controllers.
ControllerRise TimeOvershootSetting TimeSteady-State
Error
Ziegler–Nichols methodP9.34 s83.2%567 s0
PID 7.27 s66.5%233 s0
Takahashi methodP9 s91.3%1140 s0
PID8 s71.7%347 s0
Auto-tuning methodPIDC5.78 s9.69%59.1 s0
D16 s8.7%107 s0
Table 10. The parameters of the transient response with different controllers in the ST system.
Table 10. The parameters of the transient response with different controllers in the ST system.
ParametersDMDD PIPI ZNPI TPID AT
Rise time10.8 s10.8 s11 s5.65 s9.2 s4.87 s
Overshoot003.8%23.2%23% 14.3%
Setting time20 s20 s2930.2 s38 s26.7 s
Steady-state error000000
Table 11. The parameters of the transient response with different controllers in the CT system.
Table 11. The parameters of the transient response with different controllers in the CT system.
ParametersDMDD PIDPID ZNPID TPID AT
Rise time21 s21 s21 s7.27 s14.6 s5.78 s
Overshoot00066.5%16%9.69%
Setting time41 s41 s41 s233 s82.4 s59.1 s
Steady-state error000000
Table 12. Performance evaluation of PID controller in the ST system.
Table 12. Performance evaluation of PID controller in the ST system.
ControllerIEIAEISEITAEITASE
Ziegler–Nichols methodP321.5321.5106.51595 × 1051595 × 105
PI6.50510.576.693116.940.63
PID29276.58 × 10142.517 × 10281.011 × 10161.956 × 1015
Takahashi methodP321.5321.5106.51595 × 1051595 × 105
PI6.60610.76.726119.230.75
PID2.42510.216.44111−11.56
Auto-tuning methodPID6.0848.0226.11952.3132.75
Table 13. Performance evaluation of Dahlin controller in the ST system.
Table 13. Performance evaluation of Dahlin controller in the ST system.
ControllerIEIAEISEITAEITASE
Dahlin1/λ = 5 s8.3669.6396.55395.1−272.1
Modified Dahlin1/λ = 5 s9.4659.4656.77273273
Dahlin1/λ = 4 s7.4628.5196.059320.1−225.5
Modified Dahlin1/λ = 4 s8.0048.026.28637.6237.09
Table 14. Performance evaluation of PID controller in the CT system.
Table 14. Performance evaluation of PID controller in the CT system.
ControllerIEIAEISEITAEITASE
Ziegler–Nichols methodP10.1596.2737.71.548 × 1044026
PID0.130938.0714.622370−29.02
Takahashi methodP9.583180.973.574.709 × 1043948
PID−0.372949.4519.963765−29.73
Auto-tuning methodCPID0.67617.2282.944140.1−111.9
DPID2.82914.045.83520.5−405.8
Table 15. Performance evaluation of Dahlin controller in the CT system.
Table 15. Performance evaluation of Dahlin controller in the CT system.
ControllerIEIAEISEITAEITASE
Dahlin1/λ = 10 s 11.3811.386.046305.7305.7
Modified Dahlin1/λ = 10 s 10.9611.066.364116.189.88
Dahlin1/λ = 4 s5.075.1783.08130.4216.02
Modified Dahlin1/λ = 4 s5.0085.0773.50123.3810.45
Table 16. Performance of the transient response for the CT system reported in [7].
Table 16. Performance of the transient response for the CT system reported in [7].
ParametersTrial and Error
[7]
Auto-Tuning
[7]
Ziegler–Nichols
[7]
Cohen–Coon
[7]
Modified Dahlin
1/λ = 4 s
Rise time24 s9.14 s3.29 s2.81 s5 s
Overshoot6.86%1.81%38.5%33.7%0%
Setting time84.4 s53.3 s32.1 s23.59 s7 s
Steady-state error00000
Table 17. Performance evaluation determined from [7].
Table 17. Performance evaluation determined from [7].
MethodsTrial
and Error
Auto−
Tuning
Ziegler–
Nichols
Cohen–
Coon
Modified Dahlin
1/λ = 4 s
IE14.249.2460.40680.41985.009
IAE16.959.2726.0364.285.009
ISE10.214.7832.3711/8362.787
ITAE259.5188.458.7726.5822.46
ITASE81.45188.4−7.552−6.88622.46
Table 18. Performance evaluation determined from [6].
Table 18. Performance evaluation determined from [6].
MethodsZiegler–
Nichols
Ciancone
Correlation
Pole
Placement
Modified Dahlin
1/λ = 4 s
IE0.41151.0270.42745.017
IAE32.8778.39153.65.017
ISE13.6931.2760.72.789
ITAE159795073.538 × 10422.69
ITASE−27.94−71.9538.9322.69
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Dlabač, T.; Antić, S.; Ćalasan, M.; Milovanović, A.; Marvučić, N. Nonlinear Tank-Level Control Using Dahlin Algorithm Design and PID Control. Appl. Sci. 2023, 13, 5414. https://doi.org/10.3390/app13095414

AMA Style

Dlabač T, Antić S, Ćalasan M, Milovanović A, Marvučić N. Nonlinear Tank-Level Control Using Dahlin Algorithm Design and PID Control. Applied Sciences. 2023; 13(9):5414. https://doi.org/10.3390/app13095414

Chicago/Turabian Style

Dlabač, Tatijana, Sanja Antić, Martin Ćalasan, Alenka Milovanović, and Nikola Marvučić. 2023. "Nonlinear Tank-Level Control Using Dahlin Algorithm Design and PID Control" Applied Sciences 13, no. 9: 5414. https://doi.org/10.3390/app13095414

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop