Next Article in Journal
Perspective Transformer and MobileNets-Based 3D Lane Detection from Single 2D Image
Previous Article in Journal
Recent Advances on Penalized Regression Models for Biological Data
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Machine-Learning-Based Improved Smith Predictive Control for MIMO Processes

1
College of Rail Transportation, Nanjing Vocational Institute of Transport Technology, Nanjing 211188, China
2
Department of Electrical Engineering, Ilam University, Ilam 69315-516, Iran
3
Department of Electrical Engineering, College of Engineering, Jouf University, Sakaka 72388, Saudi Arabia
4
Department of Electrical Engineering, College of Engineering, Aswan University, Aswan 81542, Egypt
*
Authors to whom correspondence should be addressed.
Mathematics 2022, 10(19), 3696; https://doi.org/10.3390/math10193696
Submission received: 14 August 2022 / Revised: 5 October 2022 / Accepted: 6 October 2022 / Published: 9 October 2022

Abstract

:
Controlling time-delayed processes is one of the challenges in today’s process industries. If the multi-input/multi-output system is dynamically coupled, the delay problem becomes more critical. In this paper, a new method based on Smith’s predictive method, with the help of a type-2 fuzzy system to control the system with the mentioned features, is presented. The variability in the time delay, the existence of disturbances and the existence of structural and parametric uncertainty lead to the poor performance of the traditional Smith predictor. Even if the control system is set up correctly at the beginning of the setup, it will eventually wear out, and the above problems will appear. Therefore, computational intelligence is used here, and by updating the parameters of the control system at the same time as the system changes, the control system adapts itself to achieve the best performance. To evaluate the proposed control system, a complex process system is simulated, the results of which show the good performance of Smith’s prediction method based on a type-2 fuzzy system.

1. Introduction

Many processes in the chemical industry have time delays. Time delays in processes cause the behavior of the open-loop function to be non-minimum system controlled, and therefore, it is difficult to control these systems [1,2,3,4,5]. The presence of time delay in processes is one of the major challenges in all control systems. In these processes, the control signal is generated and applied to the process, but the output does not change for a certain period of time. Therefore, if the output needs to change suddenly, the control system will not work. In order to solve this problem, different methods have been proposed, the most common of which is the use of model predictive control (MPC). This control system has excellent performance for small time delays because it regularly predicts the output state. However, if the time delay of the process is big, unfortunately, the efficiency of MPC will decrease. Another solution is that the control system has a time delay just like the process. However, this idea is not effective if the amount of time delay is variable. So far, the most practical and comprehensive method for controlling processes with large time delays is Smith’s method. The two basic challenges of Smith’s method are the non-minimum phase of the process and the large variation in the time delay. In this article, we overcome both problems with a new method. In single-input/output systems, using Smith’s predictor for processes with long time delays can be effective in improving the system’s response. In this method with process model prediction, the time delay parameter will be removed from the equation [6,7,8]. The problems in this method can be attributed to its high sensitivity to model error, a decrease in the control in response to turbulence control of integral processes and the inability to control unstable processes [9,10]. Many researchers have provided various methods to solve these problems, known as “time delay compensators” [11,12,13]. There are also two general new methods that are based on output prediction with no delay in the form of discrete-time control systems provided [14,15]. The authors of a number of references tried to expand Smith’s method multi-input/output systems [16,17]. However, the fact is that the usage of this method for such systems has more restrictions than single-input/output systems. The existence of interference effects between control loops is one of the biggest limitations to these methods. To avoid these effects, even if we want to use a decoupler due to the high sensitivity of Smith’s method on model error, the selected model should not have many mistakes because it will make the control system more unstable. Compared to a conventional feedback method, to avoid interactions between loops, the product of the process transfer function in the controller G p(s)G c(s) (which is a condition of the absence of interactions between the loops in the conventional feedback method) and multiplication to the process transfer function without time delay in the controller G0p(s)G c(s) must also be a diagonal matrix. In addition to this, in Smith’s method for processes in which time delay parameters are not separable from the process transfer method, the process is not applicable. Therefore, by focusing on the mentioned limitations, the application of Smith’s method for controlling multi-input/output systems with time latency has not received much attention from researchers, and in most cases, researchers use the same common system feedback to control these systems. In [18,19], methods based on Smith’s predictor are proposed to control multi-input/multi-output systems with time delay. To adjust the parameters of the controllers in MIMO systems, many design methods are mentioned in the references, which generally can be divided into five categories:
  • Detuning methods [20,21];
  • Methods of closing loops consecutively [22];
  • Iterative methods or guess and error [23];
  • Methods of the simultaneous solution of equations or optimization [24];
  • Independent methods [25].
In detuning methods, each controller in the system is accordingly designed based on the element of the diameter, and the interactions of the loops with each other are ignored. Then, the controller is readjusted, taking into account the internal effects of the loops. The simplicity of these methods is their main advantage, but their disadvantage is due to the fact that the performance of the loop and its stability is not clearly and explicitly considered in these methods. In the second method, the loops are sequential; they are closed and adjusted. Usually, this starts with the fastest loop, and therefore, the dynamic interactions in this loop are considered in setting the controller of the next loop, and the same is performed for the others [26]. Some of the disadvantages of this method are reported in [27]. Some disadvantages include the dependence of the last controller’s design on the order in which the controllers were designed, and also, the selection of repetitive methods in response to the designed loops.
In the iterative method (the third method), first, the controller parameters are set as sequentially similar to the loop closure method, and after all the loops are closed, the controllers are set again one after the other. This method continues until the answers converge [28]. In the guessing and error method, the PID controller parameters are determined step by step in such a way as to ensure the stability of the system. This type of design is usually accompanied by “Relay Feedback” experiments known as “self-adjusting variables” [29]. One of its main disadvantages is that this method not only requires the successful testing of feedback relays, but also, in this method, there is no strong relationship between parameter regulation and system performance. Controller design in multi-input/output loops by the simultaneous solution of equations (the fourth method) is numerically difficult and complex. In [30], In this regard, one design method for PI/PID controllers is provided in multi-input/output loops. In this reference, the modified Ziegler–Nichols method is used, and the effects of interference between the loops are considered, but there is no guarantee. For the existence of the answer, because the calculations are nonlinear and complex, this method is only used for two-input/output systems, and its expansion to higher-dimensional systems seems to be difficult and has not been reported so far. In [31], a multi-loop design is proposed as a nonlinear optimization problem. However, this formulation does not include systems with different latencies. Simultaneously optimizing the equations of multi-input/output systems numerically is very difficult, and the results are highly dependent on the conditions defined in the objective function, and if the loops are closed in a distinctive order, the system may eventually become unstable. In [32,33], independent design methods (fifth method) are used. In these methods, the controllers are designed separately and with specific limits to ensure stability and proper performance. However, detailed information about the dynamics of the controllers is not used in other loops, so the final performance may be poor. In [34], a new method is proposed for controlling time-delayed processes in single-input/output systems. The function G m b ( S ) , which is often the first-order function with a predominant or equal interest to the open-loop function of the system control, is added to the open-loop function of the control system, and thus all the zeros on the right due to the time delay of the function are moved to the left. The interval loops are moved to the left, thus improving the performance of the control system.
Most of the used PID controllers consider time delays as a part of the system. These dead times cause disturbances in the system. One of the ways to compensate for these dead times is to use Smith’s technique [35,36,37,38]. In [39], a fuzzy PID controller is designed based on Smith’s predictor technique for a heating system. By using this method, we can compensate for the dead time. In these methods, it is possible to increase the speed of the system by tuning the PID controller parameters. This has been completed in [40].
It should be noted that in any control system, its asymptotic stability is a basic requirement. For this, a controller based on the nominal model is used, but the presence of uncertainties in the system can cause it to operate incorrectly. In order to guarantee the proper functioning of the system, robust controllers are used. Every robust control system must have two conditions: closed-loop stability in nominal conditions and closed-loop stability despite different uncertainties. In robust controllers, if the range of acceptable values is greater, it indicates that the controller is more robust [41].
Fuzzy Smith has been used in articles [34,35,36,37,38,39], but it has some fundamental differences with our work, which can be listed as follows:
  • In the mentioned articles, the main controller was PID, which has poor performance in dealing with systems with high delay and a non-minimum phase, and unfortunately, there was no mention of this issue in the mentioned articles. However, in our proposed method, by designing and setting a first-order transformation function (with dominant gain), the system was released from the non-minimum phase state and the system was tamed (Tractable).
  • In all the mentioned articles, a type-1 fuzzy system was used, while we used type-2 fuzzy system. It is clear that a type-2 fuzzy system has more parameters than a type-1 system and therefore has more degrees of freedom and shows higher accuracy.
  • The last thing is that in our article, we applied some types of parametric uncertainties and disturbances, but in the aforementioned articles, uncertainty and disturbance were not applied in such a comprehensive and complete way.
The discussion of system robustness is fully presented in this paper. The rest of the paper is organized as follows: Section 2 introduces Smith’s predictive control. The proposed control system is described in Section 3. Section 4 shows the simulation results, and Section 5 provides the conclusion.

2. Smith’s Predictive Control of Time-Delayed MIMO Systems

Smith’s predictive control method is a common and suitable solution for controlling delayed systems. In this method, knowing the system model and the amount of delay is necessary. Figure 1 shows Smith’s predictive control system for the time-delayed MIMO system, and the proposed control system is described in Section 3.
As shown in Figure 1, Smith’s method must specify the exact system model ( G ( s ) ) and the amount of time delay ( τ d ); otherwise, the correct answer will not be received.

3. The Proposed Control System

The proposed method in this paper has two phases: one is stabilizing and changes the system behavior from a non-minimum phase to minimum phase, and the other is the precise control of the system (process) by considering system dynamic changes and parametric uncertainty. For the first phase, it is proposed to add the dominant gain transfer function to the open-loop equations of the system (Figure 2).
It is assumed that the measurement transfer function is equal to 1 ( G m ( s ) = 1 ). The closed-loop transfer functions of this system are in the form of relations (1) and (2).
( Y n ( s ) ) ( Y s p , n ( s ) ) 1 = ( G p , n ( s ) G c , n ( s ) ) ( 1 + G m b , n ( s ) + G c , n ( s ) G n ( s ) ( 1 e τ d s ) + G p , n ( s ) G c , n ( s ) ) 1  
( Y n ( s ) ) ( d n ( s ) ) 1 = ( G d , n ( s ) + G m b , n ( s ) G d , n ( s ) + G d , n ( s ) G n ( s ) ( 1 e τ d s ) G c , n ( s ) ) ( 1 + G m b , n ( s ) + G c , n ( s ) G n ( s ) ( 1 e τ d s ) + G c , n ( s ) G p , n ( s ) ) 1
In the above relationships, Y n ( S ) , Y s p , n ( S ) , d n ( S ) , G m b , n ( S ) , G p , n ( S ) , G c , n S and G n ( s ) from left to right, respectively, represent the response matrix, the reference input matrix, the input perturbation matrix, the matrix of predictive functions, the matrix of the process include time delay, matrix functions of the controllers, and finally, the matrix of the process without time delay. In this system, as in the proposed control system in single systems, the input/output of the G m b , n ( S ) function, which predicts the nth loop in the control system, must be a function with a minimum phase behavior and a higher gain than other functions in the open-loop function of that loop. The ideal mode for controlling multi-input/output systems is the absence of loop interaction with each other. This happens when the matrix G p , 2 ( s ) G e , 2 ( s ) is a diagonal matrix, in which case, the matrix of the open-loop transfer function of the proposed control system will be as follows:
X ( s ) = [ G m b 1 ( s ) + G p 11 ( s ) G c 11 ( s ) G m b 2 ( s ) + G p 22 ( s ) G c 22 ( s ) ]
The conditions of the dominant interest concept must be established in a way that the conditions of Equations (4) and (5) in the loops at all frequencies in phase diagrams do not exceed the range from 0 to −180°.
| G m b 1 ( s ) | | G p 11 ( s ) G c 11 ( s ) |
| G m b 2 ( s ) | | G p 22 ( s ) G c 22 ( s ) |
This method is effectively expandable for higher-dimensional systems, and it is only necessary to have the necessary conditions to create a dominant interest constraint in the open-loop function of each control loop [29]. If there are interaction effects between the loops, then, for example, in a 2 × 2 open-loop control system, the control system is obtained as follows:
Q ( s ) = ( 1 + G m b , 11 ( s ) + G p 11 ( s ) G c 11 ( s ) ) ( 1 + G m b , 22 ( s ) + G p 22 ( s ) G c 22 ( s ) ) G p 12 ( s ) G p 21 ( s ) G c 11 ( s ) G c 22 ( s )
which, in order to establish the dominant interest constraint, must have the following equation in all or most of the curves so that in the phase diagram of the open-loop function, the control system does not oscillate around the non-minimum phase function diagram and does not exceed 180°:
| G m b , 11 ( s ) + G m b , 22 ( s ) + G m b , 11 ( s ) G m b , 22 ( s ) | | G p 22 ( s ) G c 22 ( s ) + G p 11 ( s ) G c 11 ( s ) + G p 11 ( s ) G p 22 ( s ) G c 11 ( s ) G c 22 ( s ) + G p 11 ( s ) G c 11 ( s ) G m b , 22 ( s ) + G p 22 ( s ) G c 22 ( s ) G m b , 11 ( s ) G p 11 ( s ) G p 21 ( s ) G c 11 ( s ) G c 22 ( s ) |  
Of course, a simpler method can be used to apply the proposed method to control systems in which the loops interact. In this method, first, the interactions of the loops are eliminated from various methods, such as controller adjustment methods, and then, the proposed method is used for the assumed system. This method is used in the example given in this article. In the case of selecting the degree of the G m b , j ( s ) function given that in multi-input/output systems, the G m b , n ( s ) function exists for each loop, we select the same loop separately for the open-loop function; so, selecting the degree of this function is the same as for single-input/output systems, which will be discussed below. In the case of these systems, the general open-loop function can be represented as Equation (8):
o v e r a l l   o p e n l o o p   t r a n s f e r   f u n c t i o n = G , j ( s ) = G m b , j ( s ) + G s o l , j ( s ) = K m b , j D m b , j ( p b ) ( s ) + K s o l , j N s o l , j ( m o ) ( s ) D s o l , j ( p b ) ( s ) e s t d , j , j = 1 , 2 , , n
In the above relation, G s o l , j ( s ) is a simple open-loop function in the j-th loop. Additionally, G o o l , j ( s ) is the general open-loop function for the j-th loop. K m b , j and K s o l , j are the compensatory gains and the simple open-loop function, respectively, and m o , p b , and p o are the degrees of the polynomials. Thus, the equation characteristic of the proposed method will be in the form of relation (9).
K m b , j D s o l , j ( p o ) ( s ) + K s o l , j N s o l , j ( m o ) ( s ) D m o , j ( p b ) e s t d j = 0
In order for the dominant interest condition to be true in the general open-loop function of each loop, Equation (10) must be true.
p o m o + p b p b p o m o  
Now, if G s o l , j ( s ) is a suitable function, that is, p o = m o , for the function to have a minimum phase behavior in relation (10), (i.e., K m b , j D s o l , j ( p o ) ( s ) ) must be p b = 0 , whereas if G s o l , j ( s ) is a strictly suitable function, in order for the function to have a minimum phase behavior in relation (10), it must be p o > m o ; in which case, we have p b 1 . In this case, p b = 1 is the most desirable degree because the first-degree functions have a finite phase. Additionally, their phase curves will never reach −180 ° , so they are always stable. In general, the condition for the disappearance of all zeros to the right due to the time delay parameter of the general open-loop function is to establish relation (11):
| K m b , j D s o l , j ( p o ) ( j w ) | | K s o l , j N s o l , j ( m o ) ( j w ) D m b ( p b ) ( j w ) e j w t d , j |
which is equivalent to relation (12):
| G m b , j ( j w ) | | G s o l , j ( j w ) |
If there are interference effects between the control loops, then by using Equation (8) and applying a method similar to the one mentioned above, the appropriate degree and gain of the compensating function can be found.
The function Gmb is a first-order transfer function, and it is enough to apply in the conditions of relations (5), (6) and (10). A first-order transfer function only has two parameters: one is the gain and the other is the position of its pole. To set these two parameters, it is enough to meet the mentioned conditions. Of course, various functions can be found that satisfy the mentioned conditions, but definitely only one function can give us the optimal answer. Currently, this optimal transfer function has been obtained by trial and error, but we intend to provide a mechanism to obtain the optimal Gmb in future research.
This function gives us the task of stabilizing the control system and guaranteeing its convergence; the next step is to accurately estimate the amount of delay using a type-2 fuzzy neural network and use it for Smith’s predictive control. Therefore, introducing the existence of such a function is one of the innovations of this article, and the details regarding this function and how to calculate the optimal Gmb will definitely be discussed in future papers.

3.1. Sensitivity Analysis of the Proposed Method

In this section, the robustness of the proposed method to model error is investigated. For simplicity, we discuss the inter-loop control system when there are no interactions. Obviously, this method can be easily generalized to systems with interactions. The characteristic equation of the proposed system is in the form of relation (13) if there are no interactions in the control system.
1 + G m b , n ( s ) + G p , n ( s ) G c , n ( s ) = 0  
The error in the model can be represented as δ G p , n ( j ω ) = G p , n ( j ω ) G n , n ( j ω ) . δ G p , n ( j ω ) is the difference between the actual model G p , n ( j ω ) and the nominal model G n , n ( j ω ) . By placing δ G p , n ( j ω ) in Equation (14), we will obtain Equation (14).
1 + G m b , n ( j ω ) + G n , n ( j ω ) G c , n ( j ω ) + δ G n ( j ω ) G c , n ( j ω ) = 0
Through Equation (15), we can obtain the norm of the highest error range of the model, which will be Equation (15)
| δ G p , n ( j ω ) | = | 1 + G m b , n ( j ω ) + G n , n ( j ω ) G c , n ( j ω ) | | G c , n ( j ω ) |
In this way, we can obtain the norm obtained for a typical feedback loop:
| δ G p , n ( j ω ) | = | 1 + G n , n ( j ω ) G c , n ( j ω ) | | G c , n ( j ω ) |
According to Equations (15) and (16), under equal conditions, due to the G m b , n ( s ) function, the norm of the highest model error range in the proposed method is larger than a normal feedback loop. Therefore, it can be said that the proposed method is more resistant to model error. As a result, it can be said that the proposed method is more flexible in terms of removing model errors.
In the second phase, it is time to accurately estimate the amount of system latency. This is effectively completed using a type-2 fuzzy neural network (Figure 3).
Since the analysis is based on the transfer functions and is unlike the state space equations, the input cannot be separated, so the sensitivity analysis is presented only based on the uncertainty of the model. A control system, if it is designed correctly, can consider disturbance as an uncertainty of the model, reduce its effect, and provide the appropriate response. Two important challenges of a control system are uncertainty in the model and the presence of disturbances. Therefore, in order to evaluate the control system, we had to apply both challenges, and fortunately, the proposed method came out victorious.
Figure 3 shows the general structure of the process control system (including both phases). The T2FNN inputs are: the process inputs, process outputs, as well as the process outputs of the previous moments. The output of the type-2 fuzzy neural network is the instantaneous estimation of the time delay of the process. Any change in process dynamics and any factor that changes the system time delay (such as time-lapse and system wear) is immediately observed by the type-2 fuzzy system, and a new T d is generated.

3.2. Type-2 Fuzzy System

In this section, the structure of type-2 fuzzy systems is introduced. Figure 3 shows the proposed type 2 fuzzy system.
The calculations of the first layer are as follows:
{ ¯ j i ( x j ) = { ( x j c j i 1 ) 2 x j < c j i 1 1 c j i 1 x j c j i 2 ( x j c j i 2 ) 2 x j > c j i 2 ¯ j i ( x j ) = { ( x j c j i 2 ) 2 x j c j i 1 + c j i 2 2 ( x j c j i 1 ) 2 x j > c j i 1 + c j i 2 2
The upper and lower of the i th neuron and the j th input are denoted by ¯ j i and _ j i , respectively. Therefore, the outputs of the first layer are as follows:
{ ¯ i ( x ) = exp ( j = 1 n + 1 ˜ j i ( x j ) σ i 2 ) _ i ( x ) = exp ( j = 1 n + 1 _ j i ( x j ) σ i 2 )
where ¯ i and _ i are the upper and lower of the i th neuron ( i = 1 ,   2 , , m ) , respectively. x ( x j ) ,   j = 1 , , n is the input vector, and c j i [ c j i 1 , c j i 2 ] is the center of all the type-2 fuzzy neurons. Next, the left and right endpoints of the second layer are as follows:
{ y ^ l = i = 1 q ¯ i ( x ) c w i 2 σ w i + i = q + 1 m ¯ i ( x ) c w i 1 σ w i i = 1 q ¯ i ( x ) σ w i + i = q + 1 m ¯ i ( x ) σ w i y ^ r = i = 1 p ¯ i ( x ) c w i 1 σ w i + i = p + 1 m ¯ i ( x ) c w i 2 σ w i i = 1 p ¯ i ( x ) σ w i + i = p + 1 m ¯ i ( x ) σ w i
where p and q are the left and right switching points the type-2 fuzzy system, which can be calculated using the trial-and-error method or the Karnik–Mendel (KM) algorithm. Additionally, m , w i , c w i , and σ w i are the mean value of the first-layer neurons, the weights, the center of the weights, and the spread of the weights, respectively. Lastly, the general output of the network can be derived as follows:
y ^ = 1 2 i = 1 q y ^ r c w i r σ w i + i = q + 1 m y ^ l c w i l σ w i i = 1 q y ^ r σ w i + i = q + 1 m y ^ l σ w i  
In Equation (20), c w i r and c w i l are the centers of W ˜ r and W ˜ l , respectively. The gradient descent method is used to teach the network. See [42] for more details.

4. Simulation

In the following, there are two examples of using the proposed system to control multi-input/output processes and how it is used for these systems.
Example 1: The process function of the distillation tower Wood-Berry, which is a well-known function in the field of multi-input/output systems, is considered as follows [30]:
G p ( s ) = [ 12.8 e s 16.7 s + 1 18.9 e 3 s 21 s + 1 6.6 e 7 s 10.9 s + 1 19.4 e 3 s 14.4 s + 1 ]
The first point to consider in solving these problems is the interaction of control loops Is on each other. In order for the loops not to interact with each other, the product of G p × G c must be the product of a diagonal matrix. Various methods are used to diameter the open-loop function matrix of the control system. In some references, this is achieved using decouplers [31,32,33,34,35], and in others, by adjusting the controller parameters [36,37,38,39,40]. This operation is performed. In this example, the second method is used. A method according to which the parameters of the controllers are adjusted so that the loops do not interact with each other is presented in [37]. Based on this method, for this example, the parameters of the controllers for the two control loops are obtained as G c 1 = 0.547 + 0.0915 s and G c 2 = 0.107 0.021 s for the PI controllers.
In the proposed method, to design the control structure, we must first select the G m b , n ( s ) function. Given that in this example, we want to show the resistance of the proposed method to the model error for all time delay parameters in G p i j ( s ) , the probability of error is set as up to +50%. We consider the percentage in the proposed method, the G m b , n ( s ) function must be selected so that it has the ability to cover the highest error limit so that at most frequencies, the dominant interest condition is observed, and the open-loop function has a minimum phase behavior. By selecting G m b 1 ( s ) = 1 s + 1 for the first loop and G m b 2 ( s ) = 0.5 s + 1 for the second loop, as shown in Figure 3 and Figure 4, the dominant interest condition for the highest model error range norm, with the conditions mentioned, is met. Figure 5 and Figure 6 show the frequency response diagram for the open-loop function of the first and second loops in the proposed control structure.
As can be seen in these figures, the condition for the superiority of the G m b , n ( s ) gain in most frequencies is such that the phase diagram is limited before reaching the −180° point in these two loops. Therefore, it can be concluded that the selection of G m b , i i ( s ) is appropriate in both loops. Additionally, the minimum phase behavior of the open-loop function in the proposed method is one of the advantages of this method compared to the methods in which the open-loop function of the control system has non-minimum phase behavior. Figure 7, Figure 8, Figure 9 and Figure 10 show the performance of Smith’s predictive control systems, Smith’s predictor with dominant gain, and the proposed control system (Smith’s predictor with dominant gain and type-2 fuzzy estimator for time delay). In this example, y 1 is distillate composition, y 2 is bottom composition, and u is reflux flow rate. It should be noted that the reference for y 1 is the step signal with the step time t = 50 s, and for y 2 , this is the step with the step time t = 200 s. The control signals u 1 and u 2 are shown in Figure 8 and Figure 9, respectively.
It is clear from Figure 7, Figure 8, Figure 9 and Figure 10 that the proposed method (Smith’s predictor with dominant gain and type-2 fuzzy estimator) performs better both in terms of accuracy and response speed. In addition, the proposed method has a minimum control cost. In order to challenge the control systems, a disturbance signal (a pulse with a height of 1 and a width of 2 s) is applied at the moment t = 150 s (Figure 11, Figure 12, Figure 13 and Figure 14).
It can be seen from Figure 11, Figure 12, Figure 13 and Figure 14 that the performance of the proposed method with a type-2 fuzzy estimator is very good, and the system reaches its equilibrium point in less than 20 s. In the meantime, the worst performance is related to Smith’s pure predictive method, which fluctuates more than 200 s after applying disturbance.
Another challenge for the control system is the uncertainty or changes in the parameters of the controlled system (process). This challenge inevitably arises because systems wear out over time and their behavior changes. Next, it is assumed that the system parameters (numerator and denominators coefficients of the transfer function as well as time delay) are doubled at t = 150 s (Figure 15, Figure 16, Figure 17 and Figure 18).
Interesting results can be seen in Figure 11, Figure 12, Figure 13, Figure 14, Figure 15, Figure 16, Figure 17 and Figure 18. Smith’s pure prediction method diverges against large changes in parameters. Since after the initial adjustment of Smith’s prediction method, it is assumed that the system does not change behavior (or at least changes very little), this method has nothing to say in the face of major changes. On the other hand, it is observed that the convergence of the control system is adjusted by adding the dominant gain transfer function ( G m b ) to Smith’s predictive method. Finally, with the addition of a type-2 fuzzy estimator to the control system, the accuracy and speed of convergence is dramatically improved. It should be noted that for example 1, the phase margin is 43 ° and the gain margin is 18.6 dB.
Example 2: A 3 × 3 subsystem of the shell heavy-oil fractionator is as follows [31]:
G ( s ) = [ 4.05 e 27 s 50 s + 1 1.77 e 28 s 60 s + 1 5.88 e 27 s 50 s + 1 5.39 e 18 s 50 s + 1 5.27 e 8 s 60 s + 1 6.9 e 15 s 60 s + 1 4.38 e 20 s 33 s + 1 4.42 e 22 s 44 s + 1 7.2 19 s + 1 ]
In order to avoid cluttering the article and confusing the readers, we do not intend to carry out all the steps in Example 1 for this example, but only to show the ability of the control system for the system with any number of inputs and outputs and any amount of interaction. Based on this method, for this example, the parameters of the controllers for the three control loops are obtained as G c 1 = 0.662 + 0.0365 s , G c 2 = 1 + 0.019 s and G c 3 = 4 + 0.077 s . Figure 19, Figure 20 and Figure 21 show the performance of Smith’s predictive control systems, Smith’s predictor with dominant gain, and the proposed control system (Smith’s predictor with dominant gain and a type-2 fuzzy estimator for time delay). It should be noted that the reference for y 1 is the step signal with the step time t = 300 s; for y 2 , this is the step with the step time t = 600 s; and for y 3 , this is the step with the step time t = 900. The control signals u 1 , u 2 , and u 3 are shown in Figure 22, Figure 23 and Figure 24, respectively. In this example, y 1 is the top endpoint composition, y 2 is the side end point composition, and y 3 is the bottom reflux temperature. The inputs are the top drawn flow rate ( u 1 ) , the side drawn flow rate ( u 2 ) , and the bottom reflux heat duty ( u 3 ) . It should be noted that the reference for y 1 is the step signal with the step time t = 300 s; for y 2 , this is the step with the step time t = 600 s; and for y 3 , this is the step with the step time t = 900.
Example 2 is a system with high latency and relatively strong interaction. It can be seen from Figure 18, Figure 19 and Figure 20 that the proposed method has been able to successfully provide a suitable answer. It is carefully observed in Figure 18 that by applying the second step, the Smith’s pure predictive method has more than 150% overshoot, Smith’s predictive method with dominant gain has 60%, and finally, this method with a type-2 fuzzy estimator has less 40%. The minimum cost of the control signal of the proposed method is clearly shown in Figure 22. Table 1 shows a comparison between some methods based on root mean square error (RMSE) criterion. It should be noted that for example 2, the phase margin is 29 ° and the gain margin is 12.2 dB.
It can be seen from Table 1 that the proposed method has the best answer in terms of accuracy (RMSE criterion). Although in control y 1 , the method of [41] has an RMSE equal to our method, for the other two outputs, our proposed method works better.

5. Conclusions

In this paper, a new method based on Smith’s predictor for controlling time-delayed MIMO systems is presented. The proposed control system had two phases: one is the addition of a transfer function with a dominant gain to stabilize the system, and the second phase is the use of a type-2 fuzzy estimator to estimate the system time delay online. In the simulation with two examples, it was shown that the proposed method is very robust and can control the system (process) well with proper accuracy and speed of response. Control challenges, disturbance and parametric uncertainty were also applied, which showed that the proposed system is highly efficient in facing these two challenges. The simulation results clearly showed how much the addition of the transfer function with the dominant gain can improve the performance of the control system. In addition, a type-2 fuzzy system with the ability to accurately estimate the amount of time delay was able to provide a very suitable answer. As a suggestion to continue the work, in addition to estimating the amount of time delay, the process parameters can also be estimated using the fuzzy system. In addition, other more accurate estimators (type-3 fuzzy, etc.) can be used.

Author Contributions

Conceptualization, X.G. and M.S.; data curation, X.G., M.S. and E.M.A.; formal analysis, X.G. and M.S.; funding acquisition, E.M.A.; investigation, X.G. and M.S.; methodology, X.G.; project administration, X.G.; resources, X.G., M.S. and E.M.A.; software, X.G. and E.M.A.; supervision, X.G. and E.M.A.; validation, X.G., M.S. and E.M.A.; visualization, X.G. and E.M.A.; writing—original draft, X.G. and M.S.; writing—review and editing, X.G. and M.S. All authors have read and agreed to the published version of the manuscript.

Funding

This paper is the research result of the 5th Jiangsu Province vocational education teaching reform research topic “Research on the Quality Evaluation of Vocational College Talent Training under the 1+X Certificate System” (ZYB564) project, which is also supported by the 2022 Jiangsu Universities “Qinglan Project” Excellent Teaching Team Project.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data are available upon request due to restrictions, e.g., privacy or ethical. The data presented in this study are available on request from the corresponding author. The data are not publicly available due to personal reasons.

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

G ( s ) Exact system model
τ d Time delay
G m ( s ) Measurement transfer function
Y n ( S ) Response matrix
Y s p , n ( S ) Reference input matrix
d n ( S ) Input perturbation matrix
G m b , n ( S ) Matrix of predictive functions
G c , n S Matrix functions of the controllers
G p , n ( S ) Matrix of process including time delay
G n ( s ) Matrix of process without time delay

References

  1. An, Q.; Guo, H.; Zheng, Y. On Robust Stability and Stabilization of Networked Evolutionary Games with Time Delays. Mathematics 2022, 10, 2695. [Google Scholar] [CrossRef]
  2. Liu, X.; Li, W.; Yao, C.; Li, Y. Finite-Time Guaranteed Cost Control for Markovian Jump Systems with Time-Varying Delays. Mathematics 2022, 10, 2028. [Google Scholar] [CrossRef]
  3. Huang, H.; Shirkhani, M.; Tavoosi, J.; Mahmoud, O. A New Intelligent Dynamic Control Method for a Class of Stochastic Nonlinear Systems. Mathematics 2022, 10, 1406. [Google Scholar] [CrossRef]
  4. Tavoosi, J.; Shirkhani, M.; Azizi, A.; Din, S.U.; Mohammadzadeh, A.; Mobayen, S. A hybrid approach for fault location in power distributed networks: Impedance-based and machine learning technique. Electr. Power Syst. Res. 2022, 210, 108073. [Google Scholar] [CrossRef]
  5. Danyali, S.; Aghaei, O.; Shirkhani, M.; Aazami, R.; Tavoosi, J.; Mohammadzadeh, A.; Mosavi, A. A New Model Predictive Control Method for Buck-Boost Inverter-Based Photovoltaic Systems. Sustainability 2022, 14, 11731. [Google Scholar] [CrossRef]
  6. Chuong, V.L.; Vu, T.N.L.; Truong, N.T.N.; Jung, J.H. An Analytical Design of Simplified Decoupling Smith Predictors for Multivariable Processes. Appl. Sci. 2019, 9, 2487. [Google Scholar] [CrossRef] [Green Version]
  7. Tavoosi, J.; Shirkhani, M.; Abdali, A.; Mohammadzadeh, A.; Nazari, M.; Mobayen, S.; Asad, J.H.; Bartoszewicz, A. A New General Type-2 Fuzzy Predictive Scheme for PID Tuning. Appl. Sci. 2021, 11, 10392. [Google Scholar] [CrossRef]
  8. Feliu-Batlle, V.; Rivas-Perez, R. Control of the temperature in a petroleum refinery heating furnace based on a robust modified Smith predictor. ISA Trans. 2020, 112, 251–270. [Google Scholar] [CrossRef]
  9. Sbaaei, E.S.; Fouad, M.M.K.; Ahmed, T.S. Dynamic Modeling and Analysis of Process Constraints for Improvement for an Industrial Unipol® Polypropylene Fluidized Bed Reactor. Arab. J. Sci. Eng. 2021, 47, 6135–6154. [Google Scholar] [CrossRef]
  10. Mohammadi, F.; Mohammadi-Ivatloo, B.; Gharehpetian, G.B.; Ali, M.H.; Wei, W.; Erdinç, O.; Shirkhani, M. Robust control strategies for microgrids: A review. IEEE Syst. J. 2021, 16, 2401–2412. [Google Scholar] [CrossRef]
  11. Yang, Z.; Yang, F.; Hu, W.; Zhang, Z.; Zhou, X. Delay Compensation Control Strategy for Electric Vehicle Participating in Frequency Regulation Based on MPC Algorithm. Electronics 2022, 11, 2341. [Google Scholar] [CrossRef]
  12. Karrakchou, J.; Lahmidi, F.; Namir, A.; Rachik, M. Stability, observers and compensators for discrete-time delay systems 1. In Systems Modelling and Optimization; Routledge: London, UK, 2022; pp. 71–79. [Google Scholar]
  13. Aazami, R.; Heydari, O.; Tavoosi, J.; Shirkhani, M.; Mohammadzadeh, A.; Mosavi, A. Optimal Control of an Energy-Storage System in a Microgrid for Reducing Wind-Power Fluctuations. Sustainability 2022, 14, 6183. [Google Scholar] [CrossRef]
  14. Shah, D.H.; Mehta, A. Discrete-Time Sliding Mode Control for Networked Control System; Springer: Singapore, 2018. [Google Scholar]
  15. Li, Y.; Liu, G.-P.; Sun, S.; Tan, C. Prediction-based approach to finite-time stabilization of networked control systems with time delays and data packet dropouts. Neurocomputing 2019, 329, 320–328. [Google Scholar] [CrossRef]
  16. Sharkawy, A.N.; Koustoumpardis, P.N.; Aspragathos, N. Human–robot collisions detection for safe human–robot interaction using one multi-input–output neural network. Soft Comput. 2020, 24, 6687–6719. [Google Scholar] [CrossRef]
  17. Alavudeen Basha, A.; Vivekanandan, S. A fuzzy-based adaptive multi-input–output scheme in lieu of diabetic and hypertension management for post-operative patients: An human–machine interface approach with its continuum. Neural Comput. Appl. 2020, 13, 1–7. [Google Scholar] [CrossRef]
  18. Kim, D.-E.; Li, A.; Dau, M.-N.; Kim, H.-H.; Chung, W.-Y. Deep learning-based smith predictor design for a remote grasping control system. J. Mech. Sci. Technol. 2022, 36, 2533–2545. [Google Scholar] [CrossRef]
  19. Giraldo, S.A.C.; Flesch, R.C.C.; Normey-Rico, J.E.; Sejas, M.Z.P. A method for designing decoupled filtered Smith predictor for square MIMO systems with multiple time delays. IEEE Trans. Ind. Appl. 2018, 54, 6439–6449. [Google Scholar] [CrossRef]
  20. Elliott, A.J.; Cammarano, A.; Neild, S.A.; Hill, T.L.; Wagg, D.J. Comparing the direct normal form and multiple scales methods through frequency detuning. Nonlinear Dyn. 2018, 94, 2919–2935. [Google Scholar] [CrossRef] [Green Version]
  21. Shah, N.A.; Agarwal, P.; Chung, J.D.; El-Zahar, E.R.; Hamed, Y.S. Analysis of Optical Solitons for Nonlinear Schrödinger Equation with Detuning Term by Iterative Transform Method. Symmetry 2020, 12, 1850. [Google Scholar] [CrossRef]
  22. Ruan, S.; Xiong, S.; You, J.; Yang, Y. Generation of streamwise helical vortex loops via successive reconnections in early pipe transition. Phys. Fluids 2022, 34, 054112. [Google Scholar] [CrossRef]
  23. Huang, J.; Wang, H.; Yang, H. Int-deep: A deep learning initialized iterative method for nonlinear problems. J. Comput. Phys. 2020, 419, 109675. [Google Scholar] [CrossRef]
  24. Emamjomeh, M.M.; Mousazadeh, M.; Mokhtari, N.; Jamali, H.A.; Makkiabadi, M.; Naghdali, Z.; Hashim, K.; Ghanbari, R. Simultaneous removal of phenol and linear alkylbenzene sulfonate from automotive service station wastewater: Optimization of coupled electrochemical and physical processes. Sep. Sci. Technol. 2020, 55, 3184–3194. [Google Scholar] [CrossRef]
  25. Guerrier, S.; Dorize, C.; Awwad, E.; Renaudier, J. Introducing coherent MIMO sensing, a fading-resilient, polarization-independent approach to ϕ-OTDR. Opt. Express 2020, 28, 21081–21094. [Google Scholar] [CrossRef] [PubMed]
  26. Huang, L.; Xin, H.; Li, Z.; Ju, P.; Yuan, H.; Lan, Z.; Wang, Z. Grid-synchronization stability analysis and loop shaping for PLL-based power converters with different reactive power control. IEEE Trans. Smart Grid 2019, 11, 501–516. [Google Scholar] [CrossRef]
  27. Euzébio, T.A.; Yamashita, A.S.; Pinto, T.V.; Barros, P.R. SISO approaches for linear programming based methods for tuning decentralized PID controllers. J. Process Control. 2020, 94, 75–96. [Google Scholar] [CrossRef]
  28. Garrido, J.; Ruz, M.L.; Morilla, F.; Vázquez, F. Iterative Method for Tuning Multiloop PID Controllers Based on Single Loop Robustness Specifications in the Frequency Domain. Processes 2021, 9, 140. [Google Scholar] [CrossRef]
  29. Prieto, P.J.; Cazarez-Castro, N.R.; Aguilar, L.T.; Cardenas-Maciel, S.L. Self-tuning for a SISO-type fuzzy control based on the relay feedback approach. In Numerical and Evolutionary Optimization; Springer: Cham, Switzerland, 2017; pp. 171–186. [Google Scholar]
  30. Carlucho, I.; De Paula, M.; Acosta, G.G. An adaptive deep reinforcement learning approach for MIMO PID control of mobile robots. ISA Trans. 2020, 102, 280–294. [Google Scholar] [CrossRef]
  31. Veerasamy, V.; Wahab, N.I.A.; Ramachandran, R.; Othman, M.L.; Hizam, H.; Kumar, J.S.; Irudayaraj, A.X.R. Design of single-and multi-loop self-adaptive PID controller using heuristic based recurrent neural network for ALFC of hybrid power system. Expert Syst. Appl. 2022, 192, 116402. [Google Scholar] [CrossRef]
  32. Çelik, E.; Öztürk, N. A hybrid symbiotic organisms search and simulated annealing technique applied to efficient design of PID controller for automatic voltage regulator. Soft Comput. 2018, 22, 8011–8024. [Google Scholar] [CrossRef]
  33. Li, M.; Cheung, S. Isolation enhancement for MIMO dielectric resonator antennas using dielectric superstrate. IEEE Trans. Antennas Propag. 2020, 69, 4154–4159. [Google Scholar] [CrossRef]
  34. Luan, X.; Chen, Q.; Albertos, P.; Liu, F. Conversion of SISO processes with multiple time-delays to single time-delay processes. J. Process Control. 2018, 65, 84–90. [Google Scholar] [CrossRef]
  35. Pang, H.; Fu, W.-Q.; Liu, K. Stability analysis and fuzzy smith compensation control for semi-active suspension systems with time delay. J. Intell. Fuzzy Syst. 2015, 29, 2513–2525. [Google Scholar] [CrossRef] [Green Version]
  36. Huang, H.; Zhang, S.; Yang, Z.; Tian, Y.; Zhao, X.; Yuan, Z.; Hao, S.; Leng, J.; Wei, Y. Modified Smith fuzzy PID temperature control in an oil-replenishing device for deep-sea hydraulic system. Ocean. Eng. 2018, 149, 14–22. [Google Scholar] [CrossRef]
  37. Tang, Y.; Du, F.; Cui, Y.; Zhang, Y. New Smith predictive fuzzy immune PID control algorithm for MIMO networked control systems. EURASIP J. Wirel. Commun. Netw. 2018, 2018, 1–5. [Google Scholar] [CrossRef]
  38. Iranmehr, H.; Aazami, R.; Tavoosi, J.; Shirkhani, M.; Azizi, A.-R.; Mohammadzadeh, A.; Mosavi, A.H.; Guo, W. Modeling the Price of Emergency Power Transmission Lines in the Reserve Market Due to the Influence of Renewable Energies. Front. Energy Res. 2022, 13, 9. [Google Scholar] [CrossRef]
  39. Dehghani, A.; Khodadadi, H. Designing a neuro-fuzzy PID controller based on smith predictor for heating system. In Proceedings of the 17th International Conference on Control, Automation and Systems (ICCAS), Jeju, Korea, 18 October 2017; IEEE: Piscataway Township, NJ, USA; pp. 15–20. [Google Scholar]
  40. Rong, H.-G.; Zheng, H.; Li, Z.-Q.; Xia, Y.-X. Tuning of fuzzy PID controller for Smith predictor. J. Cent. South Univ. Technol. 2010, 17, 566–5671. [Google Scholar] [CrossRef]
  41. Fortuna, L.; Frasca, M.; Buscarino, A. Optimal and Robust Control: Advanced Topics with Matlab®; CRC Press: Boca Raton, FL, USA, 2021. [Google Scholar]
  42. Tavoosi, J.; Suratgar, A.A.; Menhaj, M.B. Nonlinear system identification based on a self-organizing type-2 fuzzy RBFN. Eng. Appl. Artif. Intell. 2016, 54, 26–38. [Google Scholar] [CrossRef]
  43. Nagarsheth, S.H.; Sharma, S.N. The combined effect of fractional filter and Smith Predictor for enhanced closed-loop performance of integer order time-delay systems: Some investigations. Arch. Control. Sci. 2020, 30, 47–76. [Google Scholar]
  44. Li, Z.; Bai, J.; Zou, H. Modified two-degree-of-freedom Smith predictive control for processes with time-delay. Meas. Control. 2020, 53, 691–697. [Google Scholar] [CrossRef]
Figure 1. Smith’s predictive control method.
Figure 1. Smith’s predictive control method.
Mathematics 10 03696 g001
Figure 2. Open-loop equations of the system with the addition of the dominant gain transfer function.
Figure 2. Open-loop equations of the system with the addition of the dominant gain transfer function.
Mathematics 10 03696 g002
Figure 3. The proposed control system.
Figure 3. The proposed control system.
Mathematics 10 03696 g003
Figure 4. The proposed type 2 fuzzy system.
Figure 4. The proposed type 2 fuzzy system.
Mathematics 10 03696 g004
Figure 5. Frequency response of open-loop function for the first loop. (a) Amplitude Ratio (b) Phase.
Figure 5. Frequency response of open-loop function for the first loop. (a) Amplitude Ratio (b) Phase.
Mathematics 10 03696 g005
Figure 6. Frequency response of open-loop function for the second loop. (a) Amplitude Ratio (b) Phase.
Figure 6. Frequency response of open-loop function for the second loop. (a) Amplitude Ratio (b) Phase.
Mathematics 10 03696 g006
Figure 7. Performance of three control methods for y 1 for example 1.
Figure 7. Performance of three control methods for y 1 for example 1.
Mathematics 10 03696 g007
Figure 8. Performance of three control methods for y 2 for example 1.
Figure 8. Performance of three control methods for y 2 for example 1.
Mathematics 10 03696 g008
Figure 9. The control signal u 1 for all three methods for example 1.
Figure 9. The control signal u 1 for all three methods for example 1.
Mathematics 10 03696 g009
Figure 10. The control signal u 2 for all three methods for example 1.
Figure 10. The control signal u 2 for all three methods for example 1.
Mathematics 10 03696 g010
Figure 11. Performance of three control methods for y 1 by applying disturbance.
Figure 11. Performance of three control methods for y 1 by applying disturbance.
Mathematics 10 03696 g011
Figure 12. Performance of three control methods for y 2 by applying disturbance.
Figure 12. Performance of three control methods for y 2 by applying disturbance.
Mathematics 10 03696 g012
Figure 13. The control signal u 1 for all three methods by applying disturbance.
Figure 13. The control signal u 1 for all three methods by applying disturbance.
Mathematics 10 03696 g013
Figure 14. The control signal u 2 for all three methods by applying disturbance.
Figure 14. The control signal u 2 for all three methods by applying disturbance.
Mathematics 10 03696 g014
Figure 15. Performance of three control methods for y 1 by applying uncertainty.
Figure 15. Performance of three control methods for y 1 by applying uncertainty.
Mathematics 10 03696 g015
Figure 16. Performance of three control methods for y 2 by applying uncertainty.
Figure 16. Performance of three control methods for y 2 by applying uncertainty.
Mathematics 10 03696 g016
Figure 17. The control signal u 1 for all three methods by applying uncertainty.
Figure 17. The control signal u 1 for all three methods by applying uncertainty.
Mathematics 10 03696 g017
Figure 18. The control signal u 2 for all three methods by applying uncertainty.
Figure 18. The control signal u 2 for all three methods by applying uncertainty.
Mathematics 10 03696 g018
Figure 19. Performance of three control methods for y 1 for example 2.
Figure 19. Performance of three control methods for y 1 for example 2.
Mathematics 10 03696 g019
Figure 20. Performance of three control methods for y 2 for example 2.
Figure 20. Performance of three control methods for y 2 for example 2.
Mathematics 10 03696 g020
Figure 21. Performance of three control methods for y 3 .
Figure 21. Performance of three control methods for y 3 .
Mathematics 10 03696 g021
Figure 22. The control signal u 1 for all three methods for example 2.
Figure 22. The control signal u 1 for all three methods for example 2.
Mathematics 10 03696 g022
Figure 23. The control signal u 2 for all three methods for example 2.
Figure 23. The control signal u 2 for all three methods for example 2.
Mathematics 10 03696 g023
Figure 24. The control signal u 3 for all three methods.
Figure 24. The control signal u 3 for all three methods.
Mathematics 10 03696 g024
Table 1. A comparison between some methods for example 2.
Table 1. A comparison between some methods for example 2.
y 1 y 2 y 3
SP0.1350.0890.051
SP + G m b 0.0730.0590.038
SP + G m b + T2Fuzzy0.0610.0450.032
Method of [43]0.0630.0550.040
Method of [44]0.0610.0490.034
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Guo, X.; Shirkhani, M.; Ahmed, E.M. Machine-Learning-Based Improved Smith Predictive Control for MIMO Processes. Mathematics 2022, 10, 3696. https://doi.org/10.3390/math10193696

AMA Style

Guo X, Shirkhani M, Ahmed EM. Machine-Learning-Based Improved Smith Predictive Control for MIMO Processes. Mathematics. 2022; 10(19):3696. https://doi.org/10.3390/math10193696

Chicago/Turabian Style

Guo, Xinlan, Mohammadamin Shirkhani, and Emad M. Ahmed. 2022. "Machine-Learning-Based Improved Smith Predictive Control for MIMO Processes" Mathematics 10, no. 19: 3696. https://doi.org/10.3390/math10193696

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