Abstract

In this work the problem of chaos suppression for a class of continuous chemical reactor with chaotic dynamics is tackled via a nonlinear control strategy. The proposed controller is developed under the framework of optimal control theory, where a functional is proposed to maximize the chemical reaction rate via a proposed Lagrangian-type which contains directly the state equation of the reacting system, avoiding the problems of Lagrange, the Hamiltonian formulation, and consequently the explicit constraints to the system. This allows solving in an easier form the optimization problem in comparison with the standard methods. This procedure allows suppressing the chaotic behavior of the reacting system by stabilizing the reaction rate term by leading it to an extreme value. Numerical experiments are done in order to show the satisfactory performance of the proposed methodology.

1. Introduction

The stabilization of nonlinear systems with complex or chaotic behavior has been analyzed from several years ago. In particular, the stabilization via nonlinear controllers with regulation purposes in chemical reactors is also a classical task for processes engineers; the control of chemical reactors has been done via linear PID, adaptive, predictive, I/O linearizing, fuzzy, neural, and optimal controllers with success [16]. A widely employed control strategy is related to the optimal control theory, considering external or without constraints. For improved reactor operation, the need to implement optimal operational trajectories, which include maximum productivity and optimal cost, for example, leaded to the tracking trajectory control problem, where the optimal control designs have been successful [710]. In optimal control approach, the Hamiltonian techniques have been applied to nonlinear processes, where the corresponding Hamiltonian equations must be developed to include nonlinear constraints and construct an adequate functional which is named objective function; in order to obtain a controller for the required task, as common in optimal control theory, here the Pontryagin’s maximum (or minimum) principle is used to find the best possible control for taking a dynamical system from one state to another, especially in the presence of constraints for the state variables and input controls [10]. Also, in optimal control theory the corresponding functional (objective function) to be maximizing or minimized only contains in its structure nonlinear terms of the state variables and the control input in order to generate a control law design for a specific purpose. In this work a Lagrangian based directly on the state equation of the chemical reactor with chaotic behavior is proposed, in order to develop a functional to stabilize the reactor’s operation in a critical point the reaction rate, suppressing the complex oscillations in the process.

2. Control Design

The fundamental framework of the optimal control theory lies on the calculus of variations, which is related to the basic trajectory optimization problem, where a functional is a scalar cost function or cost index or performance index, which needs to be maximizing or minimizing; this objective is reached by solving the corresponding Euler-Lagrange equation:The term is known as the Lagrangian of the system under study.

In general the cost functional can be represented aswhere is an algebraic term to be minimized (or maximized) at final conditions, subject to the following constraints:(i)The above equation is the state equation.

Here, is the state variable vector, is a nonlinear vector field, where and is a compact set, is a smooth and invertible bounded function, and , with is the control input.(ii)The vector represents the terminal constraints.(iii)which represent the initial conditions.

The case related to the solving of (2) subject to constraints (2)–(5) is known as the Problem of Bolza [11, 12]. Particular cases, where the functional is defined as or subject to the same constraints (2)-(5), are classified as the Problem of Mayer or the Problem of Lagrange, respectively [13, 14].

Note that the solutions of the above-mentioned problems can be complex given the nonlinear nature of the cost functional and the corresponding constraints; an alternative methodology consists of avoiding the nonlinear constraints by incorporating them to the cost functional via the Hamiltonian formulation [8], which is an augmented cost functional with the following structure:As mentioned above, the solution of (6) also can be complex by the highly nonlinearities of the augmented functional.

Now, let us consider the following functional form:Now, it is needed to determine the extreme value of functional (7); therefore,The differential form of the corresponding Lagrangian is giving bySubstituting (9) into (8),The following terms of the differential form of the Lagrangian are now represented aswhereand integrating by partsNow, from (3) the following is considered:The particular Lagrangian for (7) is proposed asNote that the proposed Lagrangian only contains information of the corresponding state equation of the system under study.

Therefore, from (15) and (10)Thenbecause and .

Finally, from (9), (10), and (16)-(18)The extreme value of functional (19) is then determined by the following restriction:Equivalently,From (21), the differential equation to describe the corresponding control law to stabilize the system (3) in an extreme point can be obtained, without considering any explicit constraints, as follows: Solving (22),where is the initial condition of (22).

3. Application Example

From several years ago experimental evidence of chaotic behavior in chemical reacting systems exists, since the corresponding chemical species act as reactive, intermediates, and products, where reversible and autocatalytic chemical paths are generally present and hyperchaotic dynamics can undoubtedly be found [15, 16]. In particular, the chemical reactors are process equipment designed to produce high value compounds or products from the corresponding reactions via a chemical transformation, to reach this important objective, process analysis must be performed in order to determinate steady-states multiplicity, open-loop instabilities between others, to select under thermodynamic and kinetic restrictions, the optimal operating regions which maximize the reactor’s productivity, process security, and operation cost, where the closed-loop operation is frequently needed to keep the reactor’s variables in the selected set points. The continuous reactor operation consists of a multicomponent inlet flow F, which feeds the chemical reactions to the process equipment; the corresponding chemical reactions are carried out inside the reactor with a multicomponent output flow, where a specific set of state variables ( in this case) can be measured to give feedback to the control algorithm and generate the control actions by the corresponding actuator, in this case the control valve, as can be observed in Figure 1. If the control input u is assumed constant with a nominal value, the corresponding operation is in open-loop regimen. The main task of the control input is to compensate via the input flow manipulation, the residence time in the chemical reactor under the proposed control law (see (23)) to reach an extremum seeking of the corresponding reaction rate.

In particular, the mathematical model presented by [17] is considered, where, via mass conservation principle, a four-state dynamics system is proposed. For the kinetic model developing, several assumptions are considered; the chemical reactions are carried out in perfect homogeneous conditions in a well stirred tank reactor under isothermal operation, first-order kinetic is considered for the reactions from to and and to , the reactive catalyzes the production of the compound , the two reactions from are catalyzed by and , the reaction from is also catalyzed by , and all the chemical species are involved in autocatalytic reactions and they are mathematically modeled by Michaelis-Menten structures [17].

The following general chemical kinetic pathway is proposed:where for i= 1, 2, 3, 4 are the corresponding activate chemical complexes, which are assumed in pseudo steady state, as usual.

This kinetic model is extended to continuous reactor’s operation, showing complex (chaotic) oscillations. The mathematical model is represented by the following set of nonlinear ordinary differential equations and represents the mass balances for each one of the chemical compounds in terms of the corresponding mass concentrations.

Mass BalancesHere, is the vector of mass concentrations. The set of kinetic parameters is given as follows: = 1.0; = 1.0; = 1.0; = 0.25; = 152.5; = 1.0; = 130; = 0.001; = 1.0; = 1.051; = 0.5; K = 0.001. The inlet concentrations to the reactor are as follows: ; , and the nominal value of the control input is considered as u = 0.015. The corresponding initial conditions are 129.1; 76.06; 0.5895; and 21.38, =90; = 2.2 are constant disturbances which are included to simulate realistic process operation. As usual for this processes, let us consider that the control input is defined as u = F/V, where is the volumetric inlet flow and is the volume of the reactor, which is assumed as constant as usual for this systems.

Now, for this application case, let us consider the state equation (21) to construct the corresponding Lagrangian:Taking into account (14), note thatHere:As observed, (31) represents the input and output mass flows, whereApplying (31)-(32) to (23), the corresponding control law is giving byNoting the simple structure of the resulting controller, the controller’s structure is properly model free and only needs online measurements of the state variable and some parameters as the inlet concentration and the initial condition of the control input ; these parameters are easily available for the standard operation of this kind of process; these characteristics would allow its real time implementation.

4. Results and Discussion

Numerical experiments were done in order to show the performance of the proposed control strategy. The numerical simulations were carried out employing ODE 23s Matlab library to solve the dynamic model of the chemical reactor, under the parametric and initial conditions described above. In this analysis a Single-Input Single Output (SISO) closed-loop operation is considered, where the state equation to be controlled corresponds to the state variable . Firstly, the open-loop behavior of the bioreactor shown in Figures 25 observed the complex (chaotic) oscillations in the corresponding time series and the phase portraits; as previously reported in [17], the system keep positive Lyapunov indexes confirming the complexity of the oscillations. In order to show the performance of the proposed methodology, the proposed controller is activated at t = 100; here the effect of the control action in the corresponding reaction rate term is observed; Figure 6 shows that the oscillating behavior is suppressed after an overshot and a settling time of 15 time units, reaching to a stable and constant value of -20 units in the reaction rate; therefore, Figure 7 shows the corresponding effect in the mass concentration of the chemical specie which increase to a fixed value to 131.7 units; this is an important issue such that this means that the corresponding reaction rate term is maximized by the proposed controller as expected and in accordance with the corresponding design. Figure 8 is related to the closed-loop behavior of the trajectories in a 3D phase portrait, where the change in the trajectory is observed in comparison with the open-loop behavior; furthermore, in Figure 9 the control effort under the proposed controller is observed; notice that the control action acts almost immediately, with a small overshoot, increasing its value and reaching the corresponding steady state with realizable values. On the other hand, Figure 10 is related to the evolution of the reaction rate term as a function of the control input, as presented in the functional structure of (23) and (33), and it can be seen that the reaction rate reaches a stable equilibrium point = -20, at u = 0.957, in accordance with the previous figures.

5. Concluding Remarks

In this work an optimal control strategy to suppress the chaotic behavior of a class of continuous chemical reactor is presented. The proposed methodology is based on a Lagrangian structure which includes directly the corresponding state equations of the system under analysis, avoiding the inclusion of implicit and nonlinear constraints as in the case of the Problem of Bolza and Hamiltonian approaches. The proposed strategy directly maximize the reaction rate term following the corresponding optimal trajectory, leading to the reactor trajectories to realizable and stable extreme values, without excessive control efforts. Numerical experiments show that the proposed control scheme is realizable keeping a satisfactory performance.

Data Availability

There is no significant data in the manuscript since most of the paper is theoretical, even though the authors declare that all the data contained in the paper are available with the corresponding author upon request.

Conflicts of Interest

The authors declare no conflicts of interest.