Skip to main content

Theory and Modern Applications

Identification and control of delayed unstable and integrative LTI MIMO systems using pattern search methods

Abstract

In this paper, we develop a multi-model adaptive control strategy to be applied on delay compensation schemes for stable/unstable LTI MIMO systems. The only requirement is that the delay should be bounded and decoupled from the control strategy. The delay identification problem is formulated as an optimization one, and it is framed on the abstract definition of the Generalized Pattern Search Method (GPSM). Taking advantage of the global convergence analysis presented by GPSM, we make a stability analysis of the proposed approach and delay identification capabilities. Simulation examples show the usefulness of the proposed strategy proving that the scheme is capable of identifying the delay and stabilizing the system even with a larger delay. The capabilities of the approach are tested on a second-order delayed unstable process, a MIMO unstable systems and an irrigation channel model. Additionally, simulation examples on an irrigation channel with time-varying delay are presented.

1 Introduction

The external delay in a process causes the output signal to be delayed with respect to the input. If a control strategy has to be designed for this system, the presence of the delay makes it a more difficult task, especially, when the rational part of the system is unstable [1, 2]. Various strategies have been used to counteract the delay effect. Thus, the tuning of PID controllers is perhaps the most widely used. In [36], different tuning rules for stable/unstable systems with delay can be found. The disadvantage of such techniques is that they only work well, when the delay is small compared with the time constant of the system [7].

For systems, where the delay is dominant (i.e., the delay is big compared with the time constant of the system), different control strategies such as delay compensation schemes (DCS) should be used, being the most well-known the Smith predictor and its modifications for unstable and integrative systems [811]. Generally, these approaches have to be applied offline to the nominal parameters of the system known beforehand. An additional shortcoming is the lack of robustness to small uncertainties in the delay. In practice, when using a DCS for an unstable system, it is very difficult to ensure the closed-loop stability in the presence of delay uncertainty. This makes the DCS design considerably more difficult than its stable counterpart. In this way, much effort has been dedicated during the last years to the design of controllers for systems with delay uncertainty.

Recently, a framework focused on the identification and control of systems with delay uncertainty, has been proposed both for stable [1214] and integrative [15] systems. The approach presented is based on the classical SP and a multi-model scheme. The multi-model scheme contains a battery of time-varying models which are updated using a modification rule. Each model possesses the same rational component but a different delay value. The algorithm compares the mismatch between the actual system and each model and selects, at each time interval, the one that best describes the behaviour of the actual system, providing online identification of the delay while simultaneously ensuring the closed-loop stability. The way in which the delay varies is determined by a heuristic optimization; this allows both the delay identification and the system control. Additionally, this approach leads to a robustly stable closed-loop system while achieving a great performance for systems with unknown long delays.

In this sense, the work presented in [12] is extended in this paper to potentially unstable and integrative systems. In this case, the control scheme is based on the modified Smith predictor (MoSP) introduced in [8], and the optimization is framed into a Pattern Search Method (PSM) [16]. It is worth emphasizing that the component by component delay identification in an unstable MIMO system is a difficult task, since it is impractical to estimate from open-loop experiments.

Control-oriented model identification methods have been of great interest in the process control community, and there are different approaches, such as design of optimal controllers, based on the particle swarm optimization [17], LMI optimization [1821] to treat the identification problem. The drawback of all these works is that the optimization is done offline. Recently, a systematic closed-loop parametric online identification method based on a step response test and online weight least squares optimization was proposed in [22] for integrative and unstable processes. However, this work is treated without dealing the control strategy. Therefore, the modification of controller parameters must be done offline.

In this paper, the delay identification is formulated as an optimization problem, which is solved using the so-called Pattern Search Method (PSM). The PSM has been used in mathematics and optimization theory [23, 24], but its use in control is rather limited, with few works on it, [25, 26]. Moreover, in these two works, there is neither an analysis of convergence nor a frame on the PSM. This contrasts with the present work, where the proposed PSM is framed correctly on the generalized PSM [16], and therefore, the proposed PSM inherits the general convergence properties. Thus, analytical stability properties are formulated for this approach adequately and easily, since previous results and concepts can be used for this purpose.

The PSM is implemented for practical purposes on the modified Smith predictor (MoSP) [8], and it is complemented through a multi-model scheme running in parallel [27]. The multi-model scheme contains the trial points (battery of models), which are updated through time by using a modification rule called exploratory move in the PSM context. Each model possesses the same rational component but a different value for the delay. After an exploratory move, the algorithm compares the mismatch between the actual system and each model, and selects at each time interval the one that best describes the behaviour of the system, providing an online estimation of the delay. An advantage of the multi-model approach is that the PSM is implemented under simple mathematical operations, which make its implementation relatively simple.

The proposed approach is tested on different systems models and under different conditions as: a second-order delayed unstable process, where an uncertainty in the rational component of the system is taken into account; also it is tested on a MIMO unstable systems and on an irrigation channel model, which is an integrative MIMO system. Additionally, simulation results have been extended to time-varying ones showing the potential and applications of the proposed approach.

The paper is organized as follows. Section 2 states the problem formulation. Section 3 presents the proposed control scheme framed on the GPSM. The stability analysis is performed in Section 4. Simulation examples are presented in Section 5. Finally, Section 6 summarizes the main conclusions.

2 Problem formulation

Let us consider the following MIMO transfer function model:

G ( s ) = ( G i j d f ( s ) e h i j s ) = ( G i j d f ( s ) ) ( e h i j s ) = G d f ( s ) H ( s ) ,
(1)

where G d f (s) is a matrix containing the rational component of the system, H(s)=( H i j (s))=( e h i j s ), for i,j=1,2,,n, is a matrix containing only delays, and • denotes the Schur (or component-wise) product [28]. The following assumptions are made about system (1).

Assumption 1 The rational transfer function matrix G d f (s) is proper, with no pole-zero unstable cancellations and known.

Assumption 2 The delay between each input/output component lies in a known compact interval. That is, there exist two known matrices H ¯ =( h ¯ i j ), H ̲ =( h ̲ i j ) R n × n such that h ̲ i j h i j h ¯ i j , i,j.

Assumption 1 is feasible in many control problems, where a nominal model of the system is available beforehand, and it does not posses unstable pole-zero cancellations. However, the delay may be unknown or even time-varying, and hence it has to be estimated [29]. Note that there is no assumption on the stability of G d f (s) being potentially unstable. Assumption 2 will be used in the proposed pattern-search-based algorithm to estimate the delay in Section 3, and it is feasible in many practical control problems, where bounds on the delay are known.

2.1 Modified Smith predictor

The MoSP [8] is shown in Figure 1. G ˆ d f (s) H ˆ and G d f (s)H are the transfer functions of the plant model and the actual plant, respectively. This structure has three controllers which are designed for different objectives. Compensator K 1 =diag( K i 1 ), where i=1,2,,n, in the inner loop, is designed to prestabilise G d f in the unstable case, C=diag( C i ), i=1,2,,n, is used to take care of reference tracking, and K 2 =diag( K i 2 ), i=1,2,,n, is used for disturbance rejection. The controllers can be designed in different ways, for instance, using robust control techniques. We clarify that the controller design is not the focus of the present work.

Figure 1
figure 1

Modified Smith predictor structure.

We omit by notation simplicity the argument s, in the next equations. Thus, the Laplace transform with zero initial conditions of the closed-loop response obtained from Figure 1 is given by

Y= ( G d f H ) ( ( I + ( K 1 + C ) G ˆ d f C ( G ˆ d f H ˆ ) ) χ ˆ 1 χ + C ( G d f H ) ) 1 CR,
(2)

where χ=(I+ K 2 ( G d f H)), χ ˆ =(I+ K 2 ( G ˆ d f H ˆ )). If Assumption 1 holds (the model perfectly matches the plant G ˆ d f (s)= G d f (s)) and H ˆ =H, then (2) reduces to the simplified transfer function

Y= ( G d f H ) ( I + ( K 1 + C ) G d f ) 1 CR.
(3)

Hence, the system with internal delay that appears in Eq. (2), becomes a system with external delay in Eq. (3). Therefore, this is precisely a topology that decouples the delay from the control strategy, making the system easier to control, since compensators K 1 , K 2 and C are designed regardless of the delay (i.e., based only on the rational component of the system which is known beforehand). Otherwise, if the delay is not known beforehand, the exact compensation cannot be performed despite that the rational component is known, and the closed-loop Eq. (2) can be potentially unstable.

The problem faced corresponds to the case when the matrix delay H is unknown, and our objective is to obtain an estimation of the matrix delay H ˆ to be used in the MoSP structure depicted in Figure 1 in order to guarantee the stability of the system. The method of estimating the delay involves the formulation of the identification problem as an optimization problem solved online by PSM, which is briefly explained below.

2.2 Generalized pattern search method (GPSM)

GPSM was proposed in [16] for derivative-free unconstrained optimization (minimization in this case) of continuously differentiable convex functions J: R n R.

The GPSM consists of a sequence of iterations H ˆ k nom , kN. At each iteration, a number of trial stepsΔ h k n are added to the iteration H ˆ k nom to obtain a number of trial points H ˆ k n = H ˆ k nom +Δ h k n at iteration k. The objective function J is evaluated on these trial points through a series of exploratory moves, which defines a procedure in which the trial points are evaluated, and the values obtained are compared with J( H ˆ k nom ). Then the trial step Δ h k associated with minimum value of J( H ˆ k nom +Δ h k n )J( H ˆ k nom )0 is chosen to generate the next estimate of the patterns iteration H ˆ k + 1 nom = H ˆ k nom +Δ h k . The trial steps Δ h k n are generated using a step length parameter Δ k R + n , which is also updated through time depending on the value of Δ h k 1 n . The evolution of the trial points establishes the convergence properties of the algorithm. A full PSM explanation can be found in [16].

3 Proposed control scheme using PSM

The basic structure of the proposed scheme is depicted in Figure 2. The MoSP and the PSM are complemented with four elements: a set of trial points, an objective function for evaluating the potential behaviour of each model, a switching logic, which monitors the index periodically and decides the best model to be used in the control law, and the switching mechanism, which is intended to reduce the possible mismatch between the nominal and the actual output of the system. The following subsections consider in detail the different elements of the proposed architecture and how they fit into the GPSM.

Figure 2
figure 2

Basic architecture (based on MoPS) of the control scheme.

3.1 The patterns

The proposed architecture is composed of patterns, which are directions in the search space starting from the nominal delay H ˆ k =( h ˆ k i j ) R n × n . The patterns are modified at each iteration to obtain a new set of trial points. These trial points are time-varying and automatically adjusted by the algorithm as corresponds to the PSM framework. The trial steps are defined by

Δ h k p , l = B l Δ k C p , l ,
(4)

where Δ h k p , l R n × n , for p=1,2,, N m and l=1,2,,n, where N m is the number of models ( N m should be odd, since the nominal model should always be evaluated), the basis vector B l R n × 1 (vector having one in the position l th and zeros elsewhere), the step length parameter, Δ k = [ Δ h k 1 , Δ h k 2 , , Δ h k N m ] T R 1 × N m , is adjusted by the algorithm whose values are defined initially by the designer and the constant matrix C p , l R N m × n (matrices having one in the position (l th, p th) and zeros elsewhere). In such a way that the trial points take the form (5)-(7).

[ H ˆ k 1 , 1 , H ˆ k 2 , 1 , , H ˆ k N m , 1 ] = [ H ˆ k + Δ h k 1 , 1 , H ˆ k + Δ h k 2 , 1 , , H ˆ k + Δ h k N m , 1 ]
(5)
[ H ˆ k 1 , 2 , H ˆ k 2 , 2 , , H ˆ k N m , 2 ] = [ H ˆ k + Δ h k 1 , 2 , H ˆ k + Δ h k 2 , 2 , , H ˆ k + Δ h k N m , 2 ]
(6)
[ H ˆ k 1 , n , H ˆ k 2 , n , , H ˆ k N m , n ] = [ H ˆ k + Δ h k 1 , n , H ˆ k + Δ h k 2 , n , , H ˆ k + Δ h k N m , n ] .
(7)

It can be seen that the trial points are generated by the addition of the patterns, which in turn are generated by the length parameter Δ k , to the nominal model H ˆ k . Note that the zero state (no changes in the nominal model) and both positive and negative directions to change H ˆ k should all be included, as explained in the definition of Δ k in Section 3.3. In this way, it is ensured that all the search space is evaluated.

3.2 Objective function

The second element of the proposed scheme is an objective function aimed at evaluating the behavior of all the trial points H ˆ k ( p , l ) . The suggested objective function is

J ( p , l ) ( H ˆ ( p , l ) , t ) = t T res t e ( p , l ) ( τ ) T Q e ( p , l ) (τ)dτ,
(8)

where Q= Q T >0, e ( p , l ) (τ)=y(τ) y ˆ ( p , l ) (τ) is the output error, y(τ) is the vector output of the plant at the instant t=τ, while y ˆ ( p , l ) (τ) denotes the (vector) output of each different model H ˆ ( p , l ) . Notice that both y(t) and y ˆ ( p , l ) (t) depend on the reference signal r(t), and so does (8). This dependence is expressed in (8) implicitly as dependence with t. T res is the so-called residence time and defines the time interval window, where the delay model H ˆ ( p , l ) is evaluated. Also it can be seen that the objective function (8) differs from the proposed in [16], because it is time-dependent. However, it is not a problem to frame the present approach into the GPSM as explained in Section 3.4.

The Laplace transform of the output error, e ( p , l ) with zero initial conditions is given by

E ( p , l ) = G d f ( H H ˆ ( p , l ) χ ˆ 1 χ ) Ω 1 CR,
(9)

where Ω=((I+( K 1 +C) G ˆ d f C G ˆ d f H ˆ ( p , l ) ) χ ˆ 1 χ+C G d f H). It is readily seen from (9) that the error is zero when H ˆ ( p , l ) =H. According to this fact, the search for the minimum of the function (8) leads to an estimation of the actual matrix delay. Thus, the identification problem is converted into an optimization one. It is important to notice that (8) is a continuously differentiable function, since it is defined as the square of the subtraction of two functions that are continuously differentiable. Also, (8) satisfies the compactness condition stated in [16]. On the other hand, the simple decrease condition (convexity) cannot be guaranteed to be satisfied.

3.3 Proposed pattern search method

The PSM monitors at time instants being integer multiple of the residence time the objective function and selects the nominal delay, which is the best estimation of the actual one. The nominal delay is used within each time interval to generate the control law. The initial trial point is selected by the designer as H ˆ k = 1 nom and Δ k = 1 using Assumption 2. From this moment onwards, the PSM can be formally expressed as the Algorithm 3.

Algorithm 1
figure 3

MIMO delay identification based on PSM.

The trial points (5)-(7) are compared (line 13 of Algorithm 3) with nominal model using the performance index (8). In this way, the element associated with the lowest value of the objective function is obtained, and this represents the best delay. Next, the new trial points are generated based on Δ k , which is given by

Δ k = [ ( N m 1 2 ) 2 Γ k , , 4 Γ k , Γ k , 0 , Γ k , 4 Γ k , , ( N m 1 2 ) 2 Γ k ] T ,
(10)

where the reduction factor matrix is given by

Γ k = η k Γ 0
(11)

for 0<η<1. Furthermore, lim k Γ k =0. Notice that since Δ k contains positive and negative values, the trial points (5) and (7) are defined as additions and subtractions to the nominal model. These positive and negative values along with the zero value in the central position of (10) and an adequate value for N m and Γ 0 allow to make a dense search in the delay space (i.e., the complete search space can be explored to find the minimum of the objective function (8)).

The models are not equally spaced in the delay space since the mesh is more refined near the nominal delay. To show this issue, the separation between consecutive patterns can be calculated according to Eq. (10). Thus, consider only the positive values for Δ k (since the separation for the negative part is identical due to symmetry): Δ k = [ l 2 Γ k ] l = 0 l = ( N m 1 2 ) . Then, the separation between two consecutive patterns is: δ Δ k = ( l + 1 ) 2 Γ k l 2 Γ k =(2l+1) Γ k with l=0,1,,( N m 1 2 )1. Notice that δ Δ k increases as l increases, which means that the patterns are more separated as they get far from the nominal model. The largest separation between patterns is given by δ Δ k , max =( N m 2) Γ k , while the minimum separation is given by δ Δ k , min = Γ k at each iteration, k.

In this approach, the values of η, Γ 0 and N m are fixed by the designer, in relation with the desired convergence time, the cycle time and architecture of the processor. For practical purposes, the approach possesses the advantage of being easily implementable in real systems, such as microcontrollers, low cost chips or similar programmable devices. The approach operation is simple and yields a great source of possible applications.

3.4 Convergence results of the identification scheme

This section states the convergence results for the Algorithm 3, which guarantee the identification of the actual matrix delay. The proof is divided into two steps. Firstly, the conditions under which (8) has a unique global minimum when H ˆ k nom =H are stated. Secondly, it will be shown that the proposed Algorithm 1 is able to asymptotically find the global minimum of function J( H ˆ ,t).

From (8), it can be seen that J( H ˆ ,t)=0 when H ˆ =H, and J( H ˆ ,t)0 since its integrand is non-negative. Thus, the global minimum is calculated when J( H ˆ ,t)=0. The next Assumption 3 will be used subsequently.

Assumption 3 Fix an arbitrary T res >0. The reference signals r 1 (t), r 2 (t),, r n (t) satisfy the following conditions:

r i (t) r i (tλ)
(12)

and

r i (t γ i ) r i (t λ i ) j = 1 , j i n ϵ j ( r j ( t γ j ) r j ( t λ j ) )
(13)

for all λ, λ i , γ i [ h ̲ , h ¯ ](0,) for i=1,2,,n, h ¯ =max h ¯ i j , h ̲ =min h ̲ i j , ji, ϵ j {0,1} and tI[k T res ,(k+1) T res ), kN, for at least one connected interval of positive measure.

The meaning and role played by Assumption 3 in the delay identification is pointed out in the proof of Lemma 1. Basically, the interpretation of (13) is that the reference signals cannot be periodic, and that the different sums between them cannot be equal to other reference signal or a delayed version of it. This interpretation allows us to generate reference signals easily in practice despite Eq. (13) looks complicated.

Lemma 1 The function (8) has a unique global minimum at H ˆ =Hfor allt0, provided that the reference signals r 1 (t), r 2 (t),, r n (t)satisfy Assumption  3 for a given T res >0.

Proof The proof is done in the same way as the proof of Lemma 2 in [12]. □

In conclusion, if compensation between the different components is not possible due to Assumption 3, then the actual matrix delay is the unique global minimum for the objective function (8).

Lemma 1 states that the minimum of J( H ˆ ,t) is unique if the reference signals r j (t) satisfy Assumption 3. The approach presents the peculiarity that the global minimum is always the same, but for each time window, the function J( H ˆ ,t) may take a different form. However, the same ideas and concepts from the GPSM can still be applied to this problem.

Next, we establish that the proposed algorithm is able to find the global minimum of the proposed function J( H ˆ ,t). Lemma 1 guarantees that under Assumption 3, J( H ˆ ,t) has a global minimum, but there may be local minima, while the GPSM is designed for decreasing functions (convex functions). Fortunately, the original GPSM given in [16] is extended in [30] to functions with multiple local minima. This has been done by converting the search into dense, according to the ideas in [30], which can be achieved in the presented algorithm making the parameter Γ 0 very close to zero and N m sufficiently large.

Now, we can formulate the following result on delay identification based on the dense construction of patterns according to the ideas in [30] and the global convergence results stated in [16].

Theorem 1 Consider the delay system given by (1) satisfying Assumptions  1 and  2. Thus, the PSM based Algorithm 3through models (5)-(7) can identify the actual matrix delay provided that the reference signals r 1 (t), r 2 (t),, r n (t)satisfy Assumption  3 for a value of T res , Γ 0 is sufficiently close to zero and N m is sufficiently large.

The proof of Theorem 1 relies on two basic features. The first one is that the mesh generated by the patterns is dense in the search space. This fact allows obtaining an estimate of the delay lying in a neighbourhood of the actual delay, where there is no local optimum except the global one. Secondly, the algorithm is proven to converge to the actual delay by reduction to the absurd.

Proof If the initial estimate is the actual matrix delay, then the delay is identified and the theorem is proven. Thus, consider that H ˆ 0 H. The particular problem of pattern search methods is that the objective function to be optimized is time-varying, since it changes at each residence time. In this way, we may consider each of the objective functions (8) evaluated at each residence time multiple, t=k T res , to define the family of functions, J k ( H ˆ )= ( k 1 ) T res t = k T res ( y ( τ ) y ˆ ( τ , H ˆ ) ) 2 dτ, which satisfy that J k ( H ˆ )=0 if and only if H ˆ =H. Lemma 1 ensures that all these functions possess a common unique global minimum provided that Assumption 3 holds. However, each of these functions may possess a number of local minima.

Thus, one of the following two cases will arise:

  1. (a)

    All the functions J k ( H ˆ ) only have the actual matrix delay as local minimum. Then, any new iteration H ˆ 1 belongs to an interval, where there is no other minimum than the actual delay. This would be the best situation since the optimization process will not be threatened by the presence of local minima.

  2. (b)

    At least one of the functions J k ( H ˆ ) has extra local minima being distinct of the global minimum. In this case, let us denote by KN the set indexing the functions having local minima and C k , with kK, the set of all delays being local minima of function J k ( H ˆ ), excluding the global optimum at the actual matrix delay.

    Hence, J k ( H ˆ )>0 for all H ˆ C k and all kK. Moreover, we can define θ=inf{ J k ( H ˆ )| H ˆ C k ,kK}>0 which exists and is finite and positive. The parameter θ defines a neighbourhood, I, around the actual delay, where all the functions J k ( H ˆ ) do not have any local minima except the global one. In addition, denote by λ the diameter of the set I. Thus, if the patterns define a dense subset of the search space in such a way that the patterns cover all the space, 2 ( N m 1 2 ) 2 Γ 0 H ¯ H ̲ (i.e., the spread of the patterns given by the total amplitude of Δ 0 is larger than the uncertainty range given by Assumption 2), and the separation between them is sufficiently small, δ Δ 0 , max =( N m 2) Γ 0 <λ, which is achieved with a sufficiently large N m and a sufficiently small Γ 0 , then for any initial estimate H ˆ 0 , there exists an estimate H ˆ 1 such that J( H ˆ 1 )<θ. This implies that the iteration provides an estimate within a neighbourhood I of the actual matrix delay, where all the functions do not have any other minimum than the actual one.

In conclusion, the iteration H ˆ 1 is always guaranteed to belong to an interval, where the actual matrix delay, H, is the only optimum. This is the first feature of the proof. Notice that it is not necessary to compute the location of the minima of the functions J k ( H ˆ ) since they are only used to ensure that there exists such an estimate H ˆ 1 . Once the estimate H ˆ 1 belongs to I, all the following iterations will, i.e., H ˆ k I for all k1.

Notice that the estimates sequence { H ˆ k } k = 0 converges to a constant finite limit since lim k Γ k = lim k η k Γ 0 =0 for 0<η<1 and, therefore, lim k Δ k =0 in Eq. (10), which makes all the patterns collapse to only one asymptotically. Hence, no oscillatory behaviour is asymptotically possible for H ˆ k , and convergence to a constant value is guaranteed.

Now, the convergence of the estimates to the actual matrix delay is performed by reduction to the absurd. Thus, assume that H ˆ k H I with H H, which means that the estimates converge to a delay value different from the actual one. In this way, there exists ϵ>0 such that H H >2ϵ. It will be proven that this leads to a contradiction. Recall that Lemma 1 ensures that the global minimum is unique and located at the actual matrix delay, provided that Assumption 3 holds, which implies that J k ( H )>0 for all k.

The convergence H ˆ k H could imply any of these two situations below:

  1. (i)

    There is a finite k 0 N such that H ˆ k = H for all k k 0 1, which means that the limit H is reached in finite time.

  2. (ii)

    For a prescribed finite ϵ>0, there is a finite k 0 = k 0 (ϵ)N such that for all k k 0 1, H H ˆ k ϵ, which means that the limit H is reached asymptotically.

These two situations will be considered separately:

  1. (i)

    This case requires that H ˆ k 0 = H ˆ k 0 + 1 = H . However, since in particular J k 0 ( H )>0, and there are no local minima of any function J k in I, since they are avoided by its definition, there is a direction in the search space, for which J k 0 ( H ˆ ) decreases since the minimum is located at HI, i.e., J k 0 (H)=0. Taking into account that the patterns define a dense mesh in the search space, there is a direction in Δ h k p , l , which defines the patterns through Eq. (4), near this decreasing direction and a value 1l( N m 1 2 ) such that the parameter step length Δ k 0 = l 2 Γ k 0 given by Eq. (10), defines a pattern H ˆ k ( p , l ) with J( H ˆ k 0 ( p , l ) )<J( H ˆ k 0 ). Consequently, H ˆ k 0 + 1 = H ˆ k 0 ( p , l ) H ˆ k 0 , which is a contradiction with the initial assumption that H ˆ k 0 = H ˆ k 0 + 1 = H .

  2. (ii)

    The condition H H ˆ k ϵ for a sufficiently small finite ϵ>0 defines a neighbourhood L of H H, where the estimates lie, H ˆ k L, for all k k 0 . However, this fact along with H H >2ϵ implies that

    2 ϵ < H H = H H ˆ k + H ˆ k + H H H ˆ k + H ˆ k + H H H ˆ k + ϵ
    (14)
    H H ˆ k >ϵ.
    (15)

    Therefore, there is a finite μ ̲ (ϵ)>0 satisfying J k ( H ˆ ) μ ̲ >0 for all H ˆ L. Since the functions J k ( H ˆ ) are continuous with respect to H ˆ , there exists a value H ˆ k 0 m L such that J k ( H ˆ k m )= μ 1 for some 0< μ 1 < μ ̲ . Hence, since H ˆ k 0 m L, then H H ˆ k 0 m >ϵ.

    Notice that since the estimates belong to the interval I, where there are no local minima, and δ Δ 0 , max =( N m 2) Γ 0 <λ, the distance between the estimate and H is strictly smaller than δ Δ k , max =( N m 2) η k Γ 0 <λ, which is strictly smaller than ( N m 1 2 ) η k Γ 0 at each step k, which is the range defined by the step length, through Eq. (10), i.e., there are patterns outside the region L. Thus, the patterns define a dense mesh in the search space, and there is a direction in Δ h k p , l , which defines the patterns through Eqs. (5)-(7), and a value 1l( N m 1 2 ) such that the parameter step length Δ k 0 = l 2 Γ k 0 defines a pattern H ˆ k ( p , l ) near a value of the delay H ˆ k m satisfying J k ( H ˆ k m )= μ 1 for some 0< μ 1 < μ ̲ , since the patterns go ahead the boundary of L. Then, J( H ˆ k 0 ( p , l ) )<J( H ˆ ) for all H ˆ L. Consequently, H ˆ k 0 + 1 = H ˆ k 0 ( p , l ) L which is a contradiction with the initial assumption that H ˆ k L for, in particular, k= k 0 +1.

In conclusion, there is a contradiction with the initial assumption of H ˆ k H with H H, and hence, the sequence of iterations converges to the actual matrix delay H, proving the theorem. □

Notice that the identification result has been established thanks to the fact that the identification problem is formulated within a GPSM, taking advantage of this technique in its applications to control theory. Also, note that Theorem 1 requires Γ 0 being sufficiently close to zero, and that N m is sufficiently large. However, it has been observed in simulation examples that a finite value is sufficient for practical applications as shown in Section 5.

3.5 Extension to time-varying delays

In the results presented above, the delays are supposed to be time-invariant. The original formulation of Γ k , given in (11), makes that lim k Γ k =0, as it is commented in Section 3.3. Thus, for time-varying delay systems, the estimation is not possible, because the search space is asymptotically reduced to a single point. However, simulation results show that a small modification in Algorithm 3 allows the proposed approach to be extended to the case, when the delay is time-varying. The modification is made over the reduction factor matrix, and it is given by the substitution of Eq. (11) by the following Eq. (16):

Γ k ={ η k Γ 0 if  Γ k > Γ ̲ , Γ ̲ , otherwise ,
(16)

where Γ ̲ >0 is the lower bound of the reduction factor matrix. As it can be seen, Eq. (16) is easily implementable in Algorithm 3. This condition implies that the length parameter (10) is only reduced until a certain positive value (which is defined by Γ ̲ ). In this way, we can ensure that there will always be different models (5)-(7) generated in such way that all the possible search space can be evaluated regardless the potential time-evolution of the delays. Thus, the proposed Algorithm 3 is flexible enough to handle the identification of time-varying delays. Note that for time-varying delay case, the precision of the estimation is determined by Γ ̲ value.

4 Stability analysis

This section states the stability properties of the close-loop. We will use the identification properties of the proposed algorithm, stated in Theorem 1, to show that the nominal delay converges to a neighbourhood of the actual matrix delay in finite time and eventually becomes a time-invariant system. Thus, the stability theorem is formulated as follows.

Theorem 2 The closed-loop system depicted in Figure 2obtained from Eqs. (1), (5)-(7) through Algorithm 3is stable provided that Assumptions  1 and  2 hold, Γ 0 is sufficiently close to zero, N m is sufficiently large and(C+ K 1 )stabilizes G d f (s).

Proof The proof is made by contradiction. If the output is unbounded, then the input signal behaves as a non-periodic signal satisfying Assumption 3 for any value of T res . Therefore, Theorem 1 guarantees that the nominal delay converges to the actual matrix delay, and hence, lim t H ˆ (t)=H implying: lim t h ˆ i j (t)= h i j , ij. Consequently, there exist finite t i j R such that | h ˆ i j (t) h i j | ϵ i j , t t i j for any positive prescribed ϵ i j >0. Thus, denote by ϵ= max i j ϵ i j and t = max i j t i j and consider the state-space realization of the closed-loop system given by Eq. (2):

x ˙ (t)= A 0 x(t)+ A 1 ( x ( t h ) x ( t h ˆ ( t ) ) ) +Br(t),
(17)

where the delays h, h ˆ (t) are the representation of the matrix delays into a state-space description, while A 0 and A 1 are appropriate matrices. Furthermore, A 0 is the state-space description of the perfectly compensated delay given by the closed-loop system Eq. (3), and hence stable by design through compensators C and K 1 . However, since Theorem 1 guarantees that the delay is identified, then x(th)x(t h ˆ (t))0, t t 1 t , and there is δ=δ(ϵ) such that x(th)x(t h ˆ (t))δt t 1 .

The BIBO-stability of Eq. (17) can be deduced from the autonomous system (i.e., the system with r(t)=0). Thus, the solution to Eq. (17) is given by:

x(t)= e A o ( t t 1 ) x( t 1 )+ t 1 t e A o ( t τ ) A 1 ( x ( τ h ) x ( τ h ˆ ( τ ) ) ) dτ.
(18)

Thus, the upper-bounding of Eq. (18) leads to:

x ( t ) = e ρ ( t t 1 ) x ( t 1 ) + t 1 t e ρ ( t τ ) A 1 ( x ( τ h ) x ( τ h ˆ ( τ ) ) ) d τ e ρ ( t t 1 ) x ( t 1 ) + A 1 δ t 1 t e ρ ( t τ ) d τ A 1 δ ρ
(19)

for t t 1 , since the matrix A 0 is a stability matrix, the system is linear, and there is no finite escape time on the finite interval [0, t 1 ], and the entries of the matrix A 1 are bounded, since it is the realization of a finite transfer function given by Eq. (2). Thus, all the signals in the closed-loop system are bounded. Hence, the state is bounded, which is a contradiction with the initial assumption, where the output and, therefore, the state diverge. □

It can be seen that the proof is straightforward, since the scheme has been correctly framed within the PSM, which is, inheriting its convergence properties, and the MoSP has a minimum robust behaviour. Note that since the delay is identified, the output tends to the perfectly compensated system output.

5 Simulation examples

In this section, we will examine the performance of the proposed scheme in four simulation scenarios. (i) The first scenario shows that it is not necessary to know the system in its totality. Therefore, we suppose that the unstable system has an uncertainty of 6% in its parameters. (ii) The second scenario shows the effectiveness of the scheme in the delay identification, using a 2×2 MIMO system with unstable poles. (iii) The proposed approach is tested on an irrigation channel model, which is modelled as an integrative MIMO system. (iv) Finally, simulation for time-varying delay system.

5.1 Second-order delayed unstable processes

The process is given by

G(s)= e 13.6 s ( 10 s 1 ) .
(20)

We will assume an error of 6% in the parameters of the plant model, as shown below

G(s)= e 13.6 s 10.6 s 1.06
(21)

and C= ( 0.0625 s + 0.35 ) 0.25 s , K 1 =12.468 and K 2 =1.414. For this simulation, we used a T res =1.2 seconds, γ i j =0.1 and Δ k =[2,4,8,12,16,20,23].

A comparison with the MoSP [8] is made. First, is to note that the nominal delay used in the MoSP is lower h ˆ 0 nom =9 seconds in comparison with the initial nominal model used in our approach h ˆ 0 nom =23 seconds, this was necessary, because if we use a delay of h ˆ 0 nom =23 seconds in the MoSP, this becomes unstable.

Figure 4 clearly shows that the scheme is able to tackle the uncertainty in the delay, which leads to remarkable performance. Also, results demonstrate that the proposed scheme has a robust behaviour for uncertainties in modelling parameters of the plant.

Figure 3
figure 4

Output signal.

Figure 5 shows the value that takes the nominal delay H ˆ k nom for the control law at each time interval, this is initialized in 23 seconds, H ˆ k nom =13.6 at 16 seconds, which is a convergence time quite small, and taking into account the length of the real delay. Thus, good delay identification and good performance are achieved with a step as reference signal.

Figure 4
figure 5

Delay evolution through time.

It can be seen that good results are obtained, despite the number of models ( N m =7) is small, and that the γ i j value is quite large, that is, 0.1 in comparison with requirements of Theorem 1.

5.2 MIMO case

A complete knowledge of the delay-free part of the plant is assumed. The rational component of the considered plant is given by

G d f (s)= ( 4 s 1 2.3 s + 2 2.5 s + 1.5 3.8 s 2.3 , ) ,
(22)

the matrix associated with the real delay of the plant is

H(s)= ( e 15.5 s e 3.4 s e 7.6 s e 11.8 s ) ,
(23)

γ i j =0.01, Δ k =[2,4,8,12,16,20,23], T res =1.2 seconds and the controllers are given by

C= ( s + 13 s ( s + 14 ) 0 0 s + 13 s ( s + 14 ) ) , K 1 = ( 4 0 0 4 ) , K 2 = ( 1.4 0 0 1.4 ) .
(24)

The system’s outputs are shown in Figures 6 and 7 for the channels 1 and 2, respectively. The outputs are compared with a scheme having the model delay error of 10%. It can be seen that good results were obtained, since a fixed delay upper to 15% makes the system become unstable, although it is not shown in Figure 6. Notice that a finite value for γ i j and Δ k is again sufficient to perform the delay identification.

Figure 5
figure 6

Output signal for channel 1.

Figure 6
figure 7

Output signal for channel 2.

The nominal delay matrix at 25 seconds is

H ˆ k nom = ( e 15.5 s e 3.4 s e 7.6 s e 11.8 s ) ,
(25)

which is the same as (23), the evolution of the delay through time is shown in Figure 8.

Figure 7
figure 8

Delay evolution through time.

As can be noticed, the convergence time is small in comparison with the channel delays, which permits the system’s stability.

5.3 Integrative case

In this section, the proposed approach is used over an integrative MIMO irrigation channel model. The delay-free matrix of the irrigation channel is given by

G d f (s)= [ 0.0138 s 0.0167 s 0 0 0.0454 s 0.0417 s 0 0 0.0092 s ] ,
(26)

A modelling error of 3% is taking into account to show the robustness of the proposed approach

G ˆ d f (s)= [ 0.0142 s 0.0172 s 0 0 0.0467 s 0.0429 s 0 0 0.0094 s ] ,
(27)

and the actual delay is given by

H(s)=diag(5.23,8.57,12.45),
(28)

C is given by

C= [ 0.375 s ( s + 1 ) 0 s 0 0 0.45 s ( s + 1 ) 0 0 0 0.6 s ( s + 1 ) ] ,
(29)

and K 1 =diag(8,8,8) and K 2 =diag(1.1,1.1,1.1). The way of selecting these values for K 1 and K 2 controllers is explained in detail in [8].

The initial parameters used in the algorithm are given by: T res =2.5 seconds, H ˆ k nom =diag(0,0,0) seconds, and Δ k =[2,4,6,8,10,12,14,16,18,20,22]. Note that the number of models is low N m =11.

Figure 9 shows the simulated water-level errors flows over upstream gates for the three pools, in response to a large step change in the flow out of pool 3. Figure 9(a) shows the simulation concerning a PI controller based on [8] (where the used compensators are the same that the compensators used in the proposed scheme), where the model delay is constant, H ˆ k nom =diag(6.27,7.14,14.94) (which correspond to a model delay error of ±20%). Figure 9(b) shows the output obtained with the proposed scheme, where the delay model is unknown.

Figure 8
figure 9

Water level for pool 1, 2 and 3. (a) PI control. (b) Proposed scheme.

As expected, the simulation shows that in all three pools, better performance is achieved by the proposed scheme, when the time delay has a modelling error. Although the control strategies used in these simulations are not in the same conditions, since the proposed scheme adjusts the controller through time, while in the other case, the control strategy is always fixed, this comparison is useful to show the effectiveness of the proposed scheme.

Figure 10 shows the delay evolution for the three pools, the obtained delay matrix is H ˆ k =diag(5.2,8.6,12.4). It is noteworthy that the identification is very precise, despite the input signal is a step. Notice that the convergence time is fast, since in 20.4 minutes, all the delays are identified.

Figure 9
figure 10

Delay values for pools 1, 2 and 3.

5.4 Time-varying delay

In this case, the pure delay term is given by

H(t)=diag ( h 1 ( t ) , h 2 ( t ) , h 3 ( t ) ) ,
(30)

these are time-varying delays, whose variations are shown in Figure 11(d), (e) and (f). As it can be seen, the delay varies arbitrarily, this is, in order to verify the optimal performance of the algorithm. The following scenario was simulated. At time 0 minutes, all water levels were 27.50 m, 24.85 m and 22.15 m for pool 1, 2 and 3, respectively. At time 20 minutes the setpoint for the water level in pool 3 was reduced from 22.15 m to 22.10 m, and at time 150 minutes was augmented from 22.10 m to 22.20 m.

Figure 10
figure 11

Water level and delay identification. Pool 1. (a), (d). Pool 2. (b), (e). Pool 3. (c), (f).

Figure 11(a), (b) and (c) shows the water level for pool 1, 2 and 3, respectively. The proposed scheme is compared with PI controller proposed in [8], where the delays are fixed in H ˆ =diag(11.02,10.08,9.1). As expected, the simulation shows that in all three pools, better performance is achieved by the proposed scheme for time-varying delays.

Figures 11(d), (e) and (f) shows the delay evolution for pools 1, 2 and 3, respectively. It is noteworthy that the identification is very precise, and the presented Algorithm 3 is able to follow the time-evolution of the delays. It can be seen that the approach can identify both abrupt as continuous changes in the delay.

6 Conclusion

This paper has presented a delay identification strategy that can be applied to delay compensation control schemes for stable/unstable MIMO systems. The main objectives are the delay identification and ensuring the closed-loop stability, this is usually difficult for unstable system. The approach is formulated as an optimization problem and then framed into the generalized patterns search method, inheriting the convergence properties, which are a novelty both in the control theory as well as in mathematics. The optimization has been implemented online, using a multiple-model scheme, which is also a novel implementation of pattern search methods.

Despite convergence results require technical conditions that seem difficult to meet, the generation of such reference signals can be accomplished easily in practice. Therefore, the simplification of the technical requirements on the input signal for the convergence results is an open question of research.

Finally, it is shown that the proposed approach is robustly stable, even when the rational component of the system has a 6% error, which provides versatility and could be implemented in real systems. Moreover, simulation results showed that the identification is given with a great precision. Additionally, simulation results were presented for a time-varying delay case, where it is corroborated that the expected good results in practical situations require readjustment of the model time delays. In authors’ opinion, pattern search methods constitute a powerful optimization technique for control-oriented applications such that it can be extended in future to the case, where the delay is time varying or for combined parametric and delay identification.

References

  1. Dong Y, Wei J: Output feedback stabilization of nonlinear discrete-time systems with time-delay. Adv. Differ. Equ. 2012, 2012(73):1-11.

    MathSciNet  MATH  Google Scholar 

  2. Wei F, Cai Y: Existence, uniqueness and stability of the solution to neutral stochastic functional differential equations with infinite delay under non-Lipschitz conditions. Adv. Differ. Equ. 2013, 2013(51):1-12.

    MathSciNet  Google Scholar 

  3. Alcántara S, Pedret C, Vilanova R, Zhang WD: Simple analytical min-max model matching approach to robust proportional-integrative-derivative tuning with smooth set-point response. Ind. Eng. Chem. Res. 2010, 49(2):690-700.

    Article  Google Scholar 

  4. Lee Y, Lee J, Park S: PID controller tuning for integrating and unstable processes with time delay. Chem. Eng. Sci. 2000, 55: 3481-3493.

    Article  Google Scholar 

  5. Ntogramatzidis L, Ferrante A: Exact tuning of PID controllers in control feedback design. IET Control Theory Appl. 2011, 5(4):565-578.

    Article  MathSciNet  Google Scholar 

  6. Shi D, Wang J, Ma L: Design of balanced proportional-integral-derivative controllers based on bilevel optimisation. IET Control Theory Appl. 2011, 5(1):84-92.

    Article  MathSciNet  Google Scholar 

  7. Zhang WD, Sun YX: Modified Smith predictor for controlling integrator/time delay processes. Ind. Eng. Chem. Res. 1996, 35: 2769-2772.

    Article  Google Scholar 

  8. Majhi S, Atherton DP: Modified Smith predictor and controller for processes with time delay. Control Theory Appl. 1999, 146: 359-366.

    Article  Google Scholar 

  9. Meng D, Jia Y, Du J, Yu F: Learning control for time-delay systems with iteration-varying uncertainty: a Smith predictor-based approach. IET Control Theory Appl. 2011, 4(12):2707-2718.

    Article  MathSciNet  Google Scholar 

  10. Normey-Rico JE, Camacho EF: Control of Dead-Time Processes. Springer, Berlin; 2007.

    MATH  Google Scholar 

  11. De Paor AM: A modified Smith predictor and controller for unstable processes with time delay. Int. J. Control 1985, 41(4):1025-1036.

    Article  MathSciNet  MATH  Google Scholar 

  12. Herrera J, Ibeas A, Alcantara S, de la Sen M: Multimodel-based techniques for the identification and adaptive control of delayed multi-input multi-output systems. IET Control Theory Appl. 2011, 5(1):188-202.

    Article  MathSciNet  Google Scholar 

  13. Garcia CA, Ibeas A, Herrera J, Vilanova R: Inventory control for the supply chain: an adaptive control approach based on the identification of the lead-time. Omega 2012, 40: 314-327.

    Article  Google Scholar 

  14. Herrera J, Ibeas A, Alcantara S, Vilanova R: Multimodel-based techniques for the identification of the delay in mimo systems. Proceedings of the 2010 American Control Conference, Marriott Waterfront, Baltimore, MD, USA, June 30-July 02 2010.

    Google Scholar 

  15. Herrera J, Ibeas A, Alcantara S, de la Sen M: Identification and control of integrative mimo systems using pattern search algorithms: an application to irrigation channels. Eng. Appl. Artif. Intell. 2013, 26: 334-346.

    Article  Google Scholar 

  16. Torczon V: On the convergence of pattern search algorithms. SIAM J. Optim. 1997, 7(1):1-25.

    Article  MathSciNet  MATH  Google Scholar 

  17. Pan I, Das S, Gupta A: Tuning of an optimal fuzzy PID controller with stochastic algorithms for networked control systems with random time delay. ISA Trans. 2011, 50: 21-27.

    Article  Google Scholar 

  18. Dong Y, Liu J: Exponential stabilization of uncertain nonlinear time-delay systems. Adv. Differ. Equ. 2012, 2012(180):1-15.

    MathSciNet  Google Scholar 

  19. Gouaisbaut F, Dambrine M, Richard JP: Robust control of delay systems: a sliding mode control design via LMI. Syst. Control Lett. 2002, 46: 219-230.

    Article  MathSciNet  MATH  Google Scholar 

  20. Sangapate P: New sufficient conditions for the asymptotic stability of discrete time-delay systems. Adv. Differ. Equ. 2012, 2012(28):1-8.

    MathSciNet  MATH  Google Scholar 

  21. Xiang M, Xiang Z: Reliable control of positive switched systems with time-varying delays. Adv. Differ. Equ. 2013, 2013(25):1-15.

    MathSciNet  Google Scholar 

  22. Liu T, Gao F: Closed-loop step response identification of integrating and unstable processes. Chem. Eng. Sci. 2010. 10.1016/j.ces.2010.01.013

    Google Scholar 

  23. Bogani C, Gasparo MG, Papini A: Generalized pattern search methods for a class of nonsmooth optimization problems with structure. J. Comput. Appl. Math. 2009, 229: 283-293.

    Article  MathSciNet  MATH  Google Scholar 

  24. Liu L, Zhang X: Generalized pattern search methods for linearly equality constrained optimization problems. Appl. Math. Comput. 2006, 181: 527-535.

    Article  MathSciNet  MATH  Google Scholar 

  25. Jelali M: Estimation of valve stiction in control loops using separable least-squares and global search algorithms. J. Process Control 2008, 18: 632-642.

    Article  Google Scholar 

  26. Negenborn RR, Leirens S, De Schutter B, Hellendoorn J: Supervisory non linear MPC for emergency voltage control using pattern search. Control Eng. Pract. 2009, 17: 841-848.

    Article  Google Scholar 

  27. Ibeas A, de la Sen M: Artificial intelligence and graph theory tools for describing switched linear control systems. Appl. Artif. Intell. 2006, 20(9):703-741.

    Article  Google Scholar 

  28. Bernstein DS: Matrix Mathematics. Princeton University Press, Princeton; 2005.

    Google Scholar 

  29. Marchetti G, Scali C, Lewin DR: Identification and control of open-loop unstable processes by relay methods. Automatica 2001, 37: 2049-2055.

    Article  MATH  Google Scholar 

  30. Audet C, Dennis JE: Mesh adaptive direct search algorithms for constrained optimization. SIAM J. Optim. 2006, 17: 188-217.

    Article  MathSciNet  MATH  Google Scholar 

Download references

Acknowledgements

This work was partially supported by the Spanish Ministry of Economy and Competitiveness through grant DPI2012-30651, by the Basque Government (Gobierno Vasco) through grant IE378-10 and by the University of the Basque Country through grant UFI 11/07.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to J Herrera.

Additional information

Competing interests

The authors declare that they have no competing interests.

Authors’ contributions

All authors contributed equally. All authors read and approved the final manuscript.

Authors’ original submitted files for images

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 2.0 International License (https://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Reprints and permissions

About this article

Cite this article

Herrera, J., Ibeas, A., de la Sen, M. et al. Identification and control of delayed unstable and integrative LTI MIMO systems using pattern search methods. Adv Differ Equ 2013, 331 (2013). https://doi.org/10.1186/1687-1847-2013-331

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/1687-1847-2013-331

Keywords