Unfortunately, the major group of the systems in industry has nonlinear behavior and control of such processes with conventional control approaches with fixed parameters causes problems and suboptimal or unstable control results. An adaptive control is one way to how we can cope with nonlinearity of the system. This contribution compares classic adaptive control and its modification with Wiener system. This configuration divides nonlinear controller into the dynamic linear part and the static nonlinear part. The dynamic linear part is constructed with the use of polynomial synthesis together with the pole-placement method and the spectral factorization. The static nonlinear part uses static analysis of the controlled plant for introducing the mathematical nonlinear description of the relation between the controlled output and the change of the control input. Proposed controller is tested by the simulations on the mathematical model of the continuous stirred-tank reactor with cooling in the jacket as a typical nonlinear system.

1. Introduction

The control of the chemical processes in the industry is always challenging because of the nonlinearity of the major group of systems. The continuous stirred-tank reactor (CSTR) is one of the most common used types of chemical reactors because of easy controllability [1].

The adaptive control [2] is a control technique with good theoretical background and also practical implementations. It uses idea of the living organisms that adopts their behavior to the actual environmental conditions. There are also various adaptation techniques and variations described, for example, in [3].

The control method used here is based on the combination of the adaptive control and nonlinear control. Theory of nonlinear control (NC) can be found, for example, in [4, 5]. The nonlinear adaptive controller is divided via Wiener’s model [6] into two parts: the dynamic linear part (DLP) and the static nonlinear part (SNP). The DLP uses polynomial synthesis [7] with pole-placement method and spectral factorization and all these methods satisfy basic control requirements such as disturbance attenuation, stability, and reference signal tracking. The second, nonlinear, part uses measurements of the steady-state behavior of the system for mathematical description of the dependence between the controlled output variable and the control input variable.

The controlled system, CSTR, with originally nonlinear behavior could be mathematically described for the control purposes by the external linear model (ELM) [8], parameters of which could vary because of the nonlinearity of the system. This problem could be overcome with the use of recursive identification which recomputes parameters of the ELM according to the actual state and the behavior of the system. There were used delta- model [8] in this work as a special type of discrete-time models parameters of which approaches to the continuous ones for the small sampling period as it is proofed, for example, in [9].

The results are also compared with classical adaptive control which uses only ELM as a linear representation of the originally nonlinear controller [10, 11] to show the improvement of this nonlinear adaptive control strategy.

The proposed control strategies were verified by simulations on the mathematical model of CSTR with cooling in the jacket [12]. This mathematical model was studied also in [10] and classic adaptive controller was applied in [11]. All simulations were done in the mathematical software Matlab, version 7.0.1.

2. Controlled Plant

The system under the consideration is a continuous stirred-tank reactor (CSTR) with the so-called Van der Vusse reaction , inside and cooling jacket—see the scheme of the CSTR in Figure 1.

If we introduce common simplifications like the perfect mixture of the reactant, all densities, transfer coefficients, heat capacities, and the volume of the reactant are constant throughout the reaction, and the mathematical model developed with the use of material and heat balances inside has form of the set of ordinary differential equations (ODEs) [12]where in (1) is the time, are concentrations, represents temperatures, is used for specific heat capacities, means the volumetric flow rate of the reactant, is the heat removal of the cooling liquid, is volume of the reactant, stands for densities, is the heat exchange surface, and is the heat transfer coefficient. Indexes and belong to compounds and , respectively, denotes the reactant mixture, denotes cooling liquid, and are feed (inlet) values.

The variable and in (1) denote the reaction heat and reaction rates which are computed fromwhere stands for reaction enthalpies. Reaction rates in the second equation are nonlinear functions of the reactants temperature computed via Arrhenius law with as rate constants, are activation energies, and means gas constant.

Equations (1) together with (2) construct the mathematical model of the plant used later for simulation studies. Due to simplifications introduced above we can say that this type of reactor is a nonlinear lumped-parameters system. We have four state variables , , , and and four input variables: the volumetric flow rate of the reactant, , the heat removal of the coolant, , the input concentration, , and input temperature of the reactant, . The fixed values of the reactor are shown in Table 1 [12].

It is good to know behavior of the system before the design of the controller. This behavior is usually obtained from the steady-state and dynamic analyses of the system which will be described in the next subchapters.

2.1. Steady-State Analysis

This analysis observes the behavior of the system in the steady-state, that is, in time . Mathematically speaking, derivatives with respect to time in the set of ODEs (1) are equal to zero; that is,which means that the set of ODEs (1) is transformed to the set of nonlinear algebraic equations that can be solved, for example, with the simple iterative method. This method is easily programmable in common mathematical software.

Results of steady-state analyses for different volumetric flow rate of the reactant and heat removal of cooling are shown in Figures 2(a) and 2(b).

Both graphs show highly nonlinear steady-state behavior of this system.

2.2. Dynamic Analysis

The second, dynamic, analysis shows the response of the system to the step change of the input quantity. Although there could be theoretically four input quantities, the volumetric flow rate of the reactant, , and heat removal of the cooling, , were chosen as an input variables mainly from the practical point of view. Figures 3 and 4 show dynamic responses for various step changes of the input quantities in the working point and . Inputs and represent step changes of the and , respectively, and outputs and show difference of the output products concentration, , and reactants temperature, , from their initial, that is, steady-state, value:where initial values of and are = 1.0903  and = 387.34 K.

3. Nonlinear Adaptive Control Strategy

The control strategy here is based on the factorization of controller into the static nonlinear part (SNP) and the dynamic linear part (DLP); see Figure 5. This control scheme configuration is called a Wiener system.

As written in the previous part, there are theoretically four input and four output variables. In this case, the change of the output concentration, , from its steady-state value, , was controlled with the change of the volumetric flow rate of the reactant, , from the working point, ; that is,

The dynamic part DLP in Figure 5 represents linear dynamic relation between the tracking error and the input to the nonlinear static part which is difference between the concentration of the product, , and its desired value. The second static nonlinear part then describes the relation between and corresponding change of the input volumetric flow rate of the reactant .

The schematic representation of the control system can be found in Figure 6.

3.1. Static Nonlinear Part

The nonlinear part uses properties of the system in the steady-state described above.

If we do the steady-state characteristic for the volumetric flow rate of the reactant, , from the range , results for the steady-state values of the products concentration, , are shown in Figure 7(a). The operation of the controller was chosen in the interval where and . Working point of the system was chosen in the middle of this interval and includes also the nonlinearity of the system. This point is defined by the volumetric flow rate and heat removal of the coolant . The steady-state value of the controlled concentration is in this point .

Due to later approximation and better unification of the variables, the new and variables and are introduced andwhere is lower bound from the interval and is corresponding products concentration from the upper bound ; see Figure 7. It is recommended to choose this interval slightly longer than those in which means in this case that lower and upper bounds of the input variable and equivalent values of the concentrations are

It is common that the measured data on the real system are affected by the measurement errors—see Figure 7(b) for new coordinates. To emulate these errors, the random white-noise error on the output variable is introduced here and the values for new coordinates with noised data are shown in Figure 7(b).

The difference of the input volumetric flow rate of the coolant is from (5)   and the nonlinear part can be then computed from

The values of and in (8) are known and the derivative is unknown.

The procedure for computing of the value of this derivative for the specific value of products concentration, , is the following. The inverse of coordinates and is done first; see Figure 8(a). Then, the data are approximated, for example, by the exponential, polynomial, and so forth, functions.

For example, the exponential function in the general formwas used in this case. The course of this approximation is shown in Figure 8(a) (red dashed line) with the identified values of constants , , and .

As there is the derivative in (8), this derivative is in this case

The course of this function is shown in Figure 8(b).

3.2. External Linear Model of CSTR

The dynamic behavior of the controlled system, in our case CSTR, together with the SNP derived above is observed for the step responses of the input ; see Figure 2. Five changes were done for the working point defined by input values and and results are shown in Figure 9.

The gain of the system SNP+CSTR is computed asand the values of this gain, , are shown also in Figure 9.

Although the system has nonlinear behavior, presented output dynamic responses could be described by the first order continuous-time transfer functionwith as a complex variable and polynomials and come from identification. This transfer function could be then in the form of the differential equation

3.3. Identification of the ELM

The online identification of the continuous-time ELM (12) is not very simple. On the other hand, -identification models belong to the class of discrete models but their parameters are close to the continuous ones for very small sampling period.

The delta-model introduces a new complex variable as an alternative to complex variables in continuous-time and in discrete-time. The so-called forward -model for was used here with the operator:where is a sampling period and is a discrete-time complex variable.

The continuous model (12) is then rewritten to the formwhere polynomials and are discrete polynomials and their coefficients are different from those of the CT models and in (12). Time denotes discrete-time.

Equation (13) could be then with the substitution and simplifications rewritten towhere new, recomputed, values of input and output variables areThe regression vector, , and vector of parameters, , used for identification are thenand the differential equation (16) could be rewritten to the vector form:where is a general random immeasurable component. The task of the recursive identification is to find unknown vector of parameters, , from the measured data vector . The simple recursive least-squares (RLS) method was used in this work. This method together with exponential and directional forgetting modifications produces sufficient results as it was proofed by the previous experiments.

3.4. Dynamic Linear Part

The last part from Figure 6 which has not been discussed is the dynamic linear part (DLP). The feedback controller with one degree-of-freedom (1DOF) is designed with the use of polynomial approach [7].

The scheme of this control configuration is shown in Figure 10, where   represents reference signal (wanted value), is control error (), is control signal, is immeasurable error, and is controlled output from the system. The block is controlled system described by the transfer function (12) and is feedback controller, the transfer function of which has general polynomial form:where parameters of polynomials and are computed from Diophantine equation:

On the other hand, polynomials of the ELM and in (21) are known from the recursive identification and we expect that parameters of this polynomial are very close to parameters of correspondent polynomials and in (16). The polynomial on the right side of (21) is an optional stable polynomial and the degree of this polynomial is deg = deg + deg + 1. Roots of this polynomial are called poles of the closed-loop and their position affects quality of the control.

There are several ways to construct this optional polynomial, for example, the pole-placement method, LQ approach, and so forth. The choice here combines the pole-placement method with spectral factorization of the identified polynomial . The polynomial has then two parts:where is an optional coefficient reflecting closed-loop poles and stable polynomial is obtained from the spectral factorization of the polynomial , which is known from the recursive identification. The transfer function of the controller (20) is for this concrete ELM (12):and parameters , , and are computed from Diophantine equation (21).

The control synthesis presented above is derived in the continuous-time, but identification and recomputation of the controllers parameters run in discrete-time (-models). That is why we call this controller hybrid adaptive controller.

4. Classic Adaptive Control

It is good to show how the nonlinear adaptive control could improve classic adaptive control described, for example, in [10] or [11].

Let us consider the control configuration displayed in Figure 11 without the SNP part.

This means that system is controlled only with the use of adaptive controller based on the ELM without the knowledge about static behavior of the system. The design and computation of the controller are the same as what is described in Sections 3.23.4. The only difference is that the input variable to the ELM is here unlike in the nonlinear adaptive control described above.

Results of this control are displayed and commented on in the next section.

5. Simulation Experiment

The goal of this last section is to verify proposed classic and nonlinear adaptive controllers by simulations on the mathematical model (1) of the CSTR. The simulations were done for three values of the from (22) which could be understood as a tuning parameter. The sampling period was  min, the simulation time was 75 min, and 5 step changes of the reference signal were done during this time.

Figure 12 shows courses of the output variable, , for various = 0.03, 0.15, and 0.3. It is clear that the increasing value of this parameter results in the quicker output response but overshoots especially for the negative step changes. On the other hand, Figure 13 shows the course of the input variable   (Figure 13(a)) as an output from the DLP which is also input to the SNP. Figure 13(b) is the course of the volumetric flow rate as an output from the SNP and the input to the mathematical model of CSTR; see schematic representation in Figure 6. We can say that decreasing value of the parameter results in smoother course of both input variables.

The course of identified parameters during the control is shown in Figure 14. Graphs show usability of proposed recursive least-squares method with exponential forgetting that is used for online identification of the ELM. The only problem could be found at the very beginning of the control because it needs some initial time to stabilize the parameters as the identification starts from general values of the vector of parameters .

The task of this contribution was also to show improvement of the nonlinear adaptive approach compared with the classic adaptive control described in Section 4. The simulation studies were done for the same values of the root position = 0.03, 0.15, and 0.3 and results are shown in Figures 15 and 16.

Compared control results for = 0.15 are shown in Figure 17. Results for both comparisons have shown that nonlinear adaptive control produces better control results especially for the positive changes of the reference signal . The improvement is evident also for the course of the input value which could be also very important from the practical point of view.

6. Conclusion

The paper deals with the adaptive control of the CSTR as a typical member of the nonlinear system with lumped parameters. The mathematical model of such system is described by the set of four nonlinear ordinary differential equations and simulation is in this case related to the numerical solution of this set of ODEs. The static and dynamic analysis have shown high nonlinearity of this system which means that controlling of such process with conventional control methods could lead to suboptimal or even very bad control results. The adaptive control is one way to how we can overcome this problem. The adaptive approach here was based on the choice of the delta external linear model of the originally nonlinear system, parameters of which are identified recursively during the control, and the parameters of the controller are also recomputed according to these identified ones. This method satisfies appropriate reaction of the controller to the change of the state of the system or the random disturbance. The control synthesis employs polynomial theory together with the pole-placement method and spectral factorization. These methods satisfy basic control requirements such as stability, reference signal tracking, and disturbance attenuation. The contribution shows also the improvement of this so-called classic adaptive control by the nonlinear theory which is based on the Wiener system where the controller is divided into the dynamic linear part and the static nonlinear part. The dynamic linear part is the same as in classic adaptive control but the static nonlinear part uses simulated or measured steady-state characteristics of the mathematical model to describe the relation between controlled concentration of the product and the change of the reactants volumetric flow rate as an input variable. Both controllers could be tuned by the choice of the parameter as a position of the root in the pole-placement method. Presented results have shown that increasing value of this parameter results in quicker output response but with overshoots for both standard and nonlinear adaptive controllers. Comparison of both controllers with the same settings has shown better control results for nonlinear adaptive control especially for the positive step changes of the reference signal. Although the system has nonlinear behavior, proposed control strategies cope with it well and it could be used also for similar types of systems.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.