## A Multivariable Adaptive Control Design with Applications to Air-heat Tunnel Using Delta Models

Department of Process Control, University of Tomas Bata in Zlin, Faculty of Applied Informatics, Zlin, Czech Republic3. Description of Two-input Two-output System

4. Designing of Feedback MIMO System

### Abstract

The article describes the design of adaptive controller for autonomous and non-autonomous control of nonlinear laboratory model hot-air tunnel using delta models. Synthesis of the controller is based on a matrix approach and polynomial theory. Autonomous control is solved using compensators. The controller was verified by simulation and the real-time experiment on nonlinear laboratory model hot-air tunnel. The recursive least squares method in delta domain is used in identification part of the proposed controller.

### At a glance: Figures

**Keywords:** adaptive control, delta model, real time control, multivariable control

*American Journal of Mechanical Engineering*, 2013 1 (7),
pp 293-299.

DOI: 10.12691/ajme-1-7-28

Received October 28, 2013; Revised November 13, 2013; Accepted November 25, 2013

**Copyright**© 2014 Science and Education Publishing. All Rights Reserved.

### Cite this article:

- Petr, Navrátil. "A Multivariable Adaptive Control Design with Applications to Air-heat Tunnel Using Delta Models."
*American Journal of Mechanical Engineering*1.7 (2013): 293-299.

- Petr, N. (2013). A Multivariable Adaptive Control Design with Applications to Air-heat Tunnel Using Delta Models.
*American Journal of Mechanical Engineering*,*1*(7), 293-299.

- Petr, Navrátil. "A Multivariable Adaptive Control Design with Applications to Air-heat Tunnel Using Delta Models."
*American Journal of Mechanical Engineering*1, no. 7 (2013): 293-299.

Import into BibTeX | Import into EndNote | Import into RefMan | Import into RefWorks |

### 1. Introduction

Most of the control circuits are implemented as one-dimensional circuits. For a large number of objects it is necessary to control several variables relating to one system simultaneously. There are a number of possible approaches to design multivariable control systems. These approaches are based on different mathematical apparatus and hence the different forms of mathematical description of dynamic systems. This problem can be solved using the method of synthesis based on matrix approach and polynomial theory. This method is based on the description of multivariable systems using matrix fractions. Synthesis is easily algorithmizable for a digital computer. All the linear control tasks can be converted to an equation of the same type, only the coefficients of the equation depends on the task condition.

To avoid loop interactions, multivariable systems can be decoupled into separate loops known as single input, single output (SISO) systems ^{[7, 12]}. Decoupling may be done using several different techniques. In our case the decoupling is realized by means of compensator placed ahead of the system.

### 2. Delta Models

The Z-transfer function is used to describe discrete-time dynamic system. When the sampling period decreases the z-transfer functions have some disadvantages ^{[1]}. The disadvantage of the discrete models can be avoided by introducing a more suitable discrete model ^{[5, 6, 10]}. It is possible to introduce new discrete operator ^{[10]}. This operator has following properties:

Ÿ leads to a model that provides a simple linear constraints on models with the shift-operator

Ÿ converges to the continuous derivatives with sampling period goes to zero

Ÿ converges so that the inverse operator is causal

Define operator and associated complex variable to fulfilled following condition

(1) |

Where denote sampling period, stands for complex variable of delta transformation and is complex variable of Laplace transformation. Delta model is generally defined as

(2) |

By substituting in equation (2) we obtained an infinite number of new - models. In practice, the best known and most widely used are

Forward-model ()

(3) |

Backward -model ()

(4) |

Tustin -model ()

(5) |

In following parts only the forward - model is taken into consideration. The - models will be used in process modeling for adaptive control based on the self-tuning controller (STC). The STC consists of two integral parts – recursive identification and controller synthesis. The controller synthesis is based on parameters of controlled system obtained from recursive identification. For this reason it is necessary to apply suitable recursive identification algorithm to this model. The parameters of the - model are estimated using recursive least squares method (RLSM) with directional forgetting ^{[1, 3, 9]}.

Regression model (ARX) is useful to apply this method of identification. This model can be express in its compact form

(6) |

where is the vector of parameter and is data vector (*y(k)* is the process output variable, *u(k)* is the controller output variable and *n(k)* is the non-measurable random component).

The description of the model and relations for feedback control of the model with two inputs and two outputs are derived in the following sections. The polynomials of the second degree are supposed in the description using the matrix fraction.

### 3. Description of Two-input Two-output System

The system with two inputs and two outputs is the simplest and also the most common multivariable circuit. The internal structure of the system is described by single input single output transfer functions. These transfer functions uniquely identifies relationships between variables.

The internal structure of the system is depicted in Figure 1.

**Fig**

**ure**

**1**. A two input –two output system – the ”P” structure

The transfer matrix of the system is

(7) |

The matrix is a rational matrix (its elements are rational functions). Every rational matrix can be expressed using a polynomial matrix in the form of the left or right matrix fraction. It is possible to assume that the system is described by the matrix fraction

(8) |

Polynomial matrices **A**, **B** are left indivisible decomposition of matrix , polynomial matrices **A**_{1}, **B**_{1} are right indivisible decomposition of matrix .

The matrices of discrete model take following form

(9) |

(10) |

and the differential equations of the model are

(11) |

**3.1. Recursive Identification**

In the case of the above described system with two inputs and two outputs it is necessary to identify a total of sixteen unknown parameters of ARX model described by equation (11). The unknown parameters of the - model are estimated using recursive least squares method (RLSM) with directional forgetting.

The parameter vector takes the form:

(12) |

The data vector is

(13) |

where

(14) |

The detailed description of recursive identification algorithm for TITO system is designed in ^{[8]}.

### 4. Designing of Feedback MIMO System

Transfer function of the controller takes the form matrix fraction.

(15) |

Polynomial matrices **P**, **Q** are left indivisible decomposition of matrix , polynomial matrices **P**_{1}, **Q**_{1}, are right indivisible decomposition of matrix .

Block diagram of closed loop can be seen in Figure 2.

**Fig**

**ure**

**2.**Block diagram of the closed loop system

To ensure permanent zero control error is necessary to include the matrix of integrator. The matrix of integrator takes the form

(16) |

The control law can be derived from block diagram

(17) |

It is possible to derive following equation for the system output

(18) |

Equation (19) can be modified to give

(19) |

The stability control system is ensured if the transfer controller matrix is given by the solution matrix diophantine equation

(20) |

where **M** is a stable diagonal polynomial matrix. The behavior of closed loop system is given by the roots of this polynomial matrix.

(21) |

If the system is to be stable the roots of this polynomial matrix must be inside the circle with center at point -1/T_{0} with radius 1/T_{0}.

The degree of the controller matrix polynomials depends on the internal properness of the closed loop. The structure of matrices **P**_{1} and **Q**_{1} was chosen so that the number of unknown controller parameters equals the number of algebraic equations resulting from the solution of the diophantine equations using the uncertain coefficients method.

(22) |

(23) |

The solution to the diophantine equation results in a two sets of eight algebraic equations with unknown controller parameters. The controller parameters are given by solving these equations. These sets can be rewrite in a matrix form.

### 5. Autonomous Control Using Compensators

Multiple-input multiple-output systems describe processes with more than one input and more than one output which require multiple control loops. These systems can be complicated through loop interactions that result in variables with unexpected effects. Loop interactions need to be avoided because changes in one loop might cause destabilizing changes in another loop. Decoupling the variables of that system will improve the control of that process.

There are several ways to control multivariable systems with internal interactions. Some make use of decentralized PID controllers, whilst others are composed of a string of single input – single output methods ^{[2, 4]}.

One possibility is the serial insertion of a compensator ahead of the system ^{[8, 11, 12]}. The aim here is to suppress of undesirable interactions between the input and output variables so that each input affects only one controlled variable.

**Fig**

**ure**

**3**. Closed loop system with compensator

The resulting transfer function is then given by

(24) |

Compensator inserted in series before the system is chosen so that the product of the matrices was diagonal matrix. When matrix H is diagonal the decoupling conditions are fulfilled.

Several well – known compensators are given in ^{[8, 11, 12]}. Control algorithms were derived for the model above with two compensators. These will be referred to as **C**_{1}_{ }and **C**_{2}. Compensator **C**_{1}_{ }is based on finding the inversion of the controlled system. Matrix **H** is, therefore, a unit matrix.

**Fig**

**ure**

**4.**Closed loop systems with compensator

**C**

_{1}

System output takes the form

(25) |

The stability of the closed loop is given by solution of following diophantine equation

(26) |

The structure of polynomial matrices of controller

(27) |

(28) |

and matrix was chosen to be

(29) |

The controller parameters are given by solution of diophantine equation (29) using the uncertain coefficients method. The control law is described by matrix equation

(30) |

Compensator **C**_{2 }is adjugated to matrix **B**. When** C**_{2} was included in the design of the closed loop the model was simplified by considering matrix **A*** *as diagonal. The multiplication of matrix

**B**and adjugated matrix

**B**

*results in diagonal matrix*

**H**. The determinants of matrix

**B**

*represent the diagonal elements. When matrix*

*is non-diagonal, its inverted form must be placed ahead of the system in order to obtain diagonal matrix*

**H**, otherwise it may increase the order of the controller and sophistication of the closed loop system. Although designed for a diagonal matrix, compensator

**C**

_{2 }also improves the control process for non – diagonal matrix

**A**in the controlled system. This is demonstrated in the simulation results.

**Fig**

**ure**

**5**

**.**Closed loop systems with compensator

**C**

_{2}

Equation for system output takes the form

(31) |

The matrix is

(32) |

The stability of the closed loop is given by solution of following diophantine equation

(33) |

The structure of the matrix P1 and Q1 is chosen so that the number of algebraic equations after multiplication of matrix diophantine equation corresponds to the number of unknown parameters. The structure of controller polynomial matrices takes the form

(34) |

(35) |

Polynomial matrix M takes the form selected with regard to the structure of other matrices in diophantine equation

(36) |

Solving the diophantine equation defines a set of algebraic equations. These equations are subsequently used to obtain the unknown controller parameters.

The control law is given by the block diagram

(37) |

### 6. Simulation Examples

A program and diagrams to simulate and verify the algorithms was created in the program system MATLAB - SIMULINK. Verification by simulation was carried out on a range of systems with varying dynamics. The control of the model below is given here as our example.

(38) |

(39) |

The right side control matrices are denoted as follows: without compensator – **M**_{1}, with compensator **C**_{1}-**M**_{2}, and with compensator **C**_{2}-**M**_{3}.

(40) |

(41) |

(42) |

The same initial conditions for system identification were used for all the types of adaptive control we tested. The initial parameter estimates were chosen to be

(43) |

The simulation results are shown in Figure 6-8.

It is possible to draw several conclusions from the simulation results of the experiments on linear static systems. The basic requirement to ensure permanent zero control error was satisfied in all cases. The criteria on which we judge the quality of the control process are the overshoot on the controlled values and the speed with which zero control error is achieved. According to these criteria the controller incorporating compensator **C**_{1} performed the best. However, this controller appears to be unsuited to adaptive control due to the size of the overshoot and the large numbers of process and controller outputs. The controller which uses compensator C2 seems to work best in adaptive control. The addition of compensators in series ahead of the system caused that change in one of control variables change only the corresponding process variable in all cases. Compensators actually provide autonomous control loop. With regards to decoupling, it is clear that controllers with compensators greatly reduce interaction.

### 7. Laboratory Experiment

The verification of the proposed algorithms for autonomous and non-autonomous adaptive multivariable control on the real object under laboratory conditions has been realized using experimental laboratory model – air-heat tunnel. It is a suitable tool for the laboratory experimental verification of control algorithms and controller parameter settings.

**Fig**

**ure**

**6**

**.**Simulation results: adaptive control without compensator

**Fig**

**ure**

**7**

**.**Simulation results: adaptive control without compensator

**C**

_{1}

**Fig**

**ure**

**8**

**.**Simulation results: adaptive control without compensator

**C**

_{2}

The model is composed of the heating coils, primary and secondary ventilator and a thermal resistor covered by tunnel. The heating coils are powered by controllable source of voltage and serves as the source of heat energy while the purpose of ventilators is to ensure and measure the flow of air inside the tunnel. Connecting the real model - hot-air tunnel is made using a technology card Advantech PCL 812, which is connected to the motherboard.

**Fig**

**ure**

**9**

**.**Scheme of hot-air tunnel

**Fig**

**ure**

**1**

**0**

**.**Adaptive control of a real model without compensator

**Fig**

**ure**

**1**

**1**

**.**Adaptive control of a real model using compensator

**C**

_{2}

The controller output variables are the inputs to the ventilator and heating coils and the process output variables are temperature and airflow at the tunnel. There are interactions between the control loops.

The task was to apply the methods we designed for the adaptive control of a model representing a nonlinear system with variable parameters which is, therefore, hardly to control deterministically.

Adaptive control using recursive identification both with and without the use of compensators was performed.

As indicated in the simulation, compensator **C**_{1} was shown to be unsuitable and control broke down. The other two methods provided satisfactory results. The time responses of the control for both cases are shown in Figure 10 and Figure 11. The figures demonstrate that control with a compensator reduces interaction. Process output variable y1 is the temperature and process output variable y2 is the airflow. The variables u1 and u2 are the controller outputs–inputs to the heating coils and ventilator.

### 8. Conclusion

The aim of this study was to use algebraic methods for synthesis of multivariable control systems for adaptive control using delta models. The used algorithms are based on the pole placement method of the characteristic polynomial matrix. The adaptive control of a two-variable system based on polynomial theory and using delta models was designed. Decoupling problems were solved by the use of compensators. The designs were simulated and used to control a laboratory model. Experimental verification of proposed control algorithms were realized on laboratory model air-heat tunnel. The simulation results proved that these methods are suitable for the control of linear systems. The control tests on the laboratory model gave satisfactory results despite the fact that the nonlinear dynamics were described by a linear model. Due to the fact that the proposed controller is designed as an adaptive it can be used for control of non-linear and time-invariant systems.

### References

[1] | Bobál, V., Böhm, J., Fessl, J., Machácek, J., Digital Self-tuning Controllers: Algorithms, Implementation and Applications, Springer, London, 2005, 318. | ||

In article | |||

[2] | Landau, Y. D., Adaptive control: algorithms, analysis and application, Springer, New York, 2011, 587. | ||

In article | CrossRef | ||

[3] | Keesman, K., System identification: an introduction. Springer, NewYork, 2011, 323. | ||

In article | |||

[4] | Caravani, P., Moder linear control design a time-domain approach: an introduction, Springer, New York, 2011, 323. | ||

In article | |||

[5] | Feur, G., Goodwin, C., Sampling in digital signal processing and control, Birkhäuser, Boston, 1996. | ||

In article | CrossRef | ||

[6] | Middleton, R.H., Goodwin, G.C., Digital control and estimation - A unified approach, Prentice Hall, Englewood Cliffs, New York, 1990. | ||

In article | |||

[7] | Skogestad, S., Postletwaite, J., Multivariable feedback control - Analysis and design, J. Willey, New York, 1996. | ||

In article | |||

[8] | Bobál, V., Macháček, J., Dostál, P., Multivariable adaptive decoupling control of a thermo-analyzer, Journal of Systems and Control Engieneering, 215, 365-374, 2001. | ||

In article | |||

[9] | Kulhavý, R., Restricted exponential forgetting in real time identification, Automatica, 23, 586-600, 1987. | ||

In article | CrossRef | ||

[10] | Mukhopadhyay, S., Patra, A., Rao, G.P., New class of dicrete-time models for continuous time systems, International Journal of Control, 55, 1161-1187, 1992. | ||

In article | CrossRef | ||

[11] | Peng, Z., A general decoupling precompensator for linear multivariable systems with application to adaptive control, IEEE Trans. Aut. Control, AC-35,344-348, 1990. | ||

In article | CrossRef | ||

[12] | Wittenmark, B., Middelton, R.H., Goodwin G.C., Adaptive decoupling of multivariable systems, International Journal of Control, 46, 1993-2009, 1987. | ||

In article | CrossRef | ||