Abstract

The aim of this paper is to determine the feedforward and state feedback suboptimal time control for a subset of bilinear systems, namely, the control sequence and reaching time. This paper proposes a method that uses Block pulse functions as an orthogonal base. The bilinear system is projected along that base. The mathematical integration is transformed into a product of matrices. An algebraic system of equations is obtained. This system together with specified constraints is treated as an optimization problem. The parameters to determine are the final time, the control sequence, and the states trajectories. The obtained results via the newly proposed method are compared to known analytical solutions.

1. Introduction

Most engineering applications are aimed at solving complex mathematical models. This usually comes with a computational burden and is of a major concern. Researchers are therefore striving to reduce that burden. This is particularly true for minimum time optimal control problems. Using Pontryagin maximum principle, the solution to this problem is known to be Bang-Bang, that is, control values switches between lower and upper boundaries. This type of control is required in some types of systems such as the thermostat switching between the on- and off-position. Time optimal control problems’ aim is driving systems from an initial state to a desired final state in minimum time while satisfying given constraints. To this day, time optimal control problem still attracts interest among researchers [13].

Most engineering systems are interpreted as models. These models often feature nonlinear components which are challenging during the resolution process. Thus, simplified nonlinear representations such as bilinear models have gained momentum. Bilinear models have been introduced since the 1960s and are approximate representations for a wide range of systems. The bilinear structure can be used to describe a nonlinear system while maintaining a linear structure: the bilinearity expresses a double linearity with respect to the state vector and [4]. A detailed review of bilinear systems can be found in [5]. This type of representation has been used extensively by researchers during the previous decade for a variety of fields: engineering, biology, and economics [6, 7].

Solving the minimum time control problem analytically means finding switching times through the resolution of the Hamiltonian equation. This is a computationally intensive task. Some researchers tried to solve it analytically through the determination of switching surfaces [8]. Due to mathematical difficulty, numerical algorithms have been developed and introduced such as GPOPS-II, which is based on orthogonal collocation at Legendre–Gauss or Legendre–Gauss–Radau points [9]. Other tools are based on the control parametrization enhancing technique [10] and the optimal switching (TOS) algorithm [11].

In this paper, we use orthogonal functions to solve the minimum time control problem. In fact, this mathematical tool was widely used in the past and still is in different ways such as solution determination for optimal control problems [1214]. Using this technique, a transposition of state space equation on an orthogonal base of functions and transformation of bilinear nonlinearity and integration operation into a matrical product is made. These approximations bypass all the mathematical difficulties associated with nonlinearities.

Generally, two types of orthogonal base of functions are considered in the literature: piecewise orthogonal functions such as Walsh [15], Haar wavelets [16], and Block pulse functions [17] and orthogonal polynomials such as Legendre [18], Chebyshev [19], and Lagerre polynomials [20]. In [21] authors used Chebyshev polynomials and expanded linear systems in that base to determine the time optimal control input. In this paper piecewise orthogonal functions, namely, Block pulse functions, are used to capture the Bang-Bang control nature associated with bilinear systems.

The determination of minimum time control problem is generally done in open loop which can easily be altered by perturbation. Thus, many suboptimal structures and formulations were introduced for linear systems [22].

The main contributions in this work are determining an open loop time optimal control solution for bilinear systems through orthogonal functions and numerical resolution; determining a state suboptimal time feedback controller (see Table 2) using a new formulation based on Kronecker product for that class of systems.

The remainder of the paper is organised as follows. In the second section, formulation of time optimal control is presented. In the third section, orthogonal functions and their properties are introduced. The optimization model for an open loop minimum time control is presented in the fourth section. In the fifth section, the minimum time state feedback control is formulated and a solution is proposed. Finally, concluding remarks and some open problems are presented.

2. Time-Optimal Constrained Feedforward Control Problem

Consider the bilinear systems described by the following state space form:where is the state vector, is the input control vector, and , are square matrices, is an matrix and and , , are the column of the matrix , and is the Kronecker product [24].

We assume that the input variables satisfy the instantaneous constraintThe target state being the originTo minimize the final time, the cost function is taken as [25]:where .

Applying the Pontryagin Maximum Principle (PMP) [26], we define the Hamiltonian [27] equation for system (1)The canonical Hamilton equations are given byMaximizing the Hamiltonian equation, one obtains the following control law:Thus, the obtained control is Bang-Bang which is a feedforward controller that switches abruptly between two states.

The main difficulty related to this control law formulation is the determination of the switching times . are the times when the quantity changes sign. It is still until today a difficult task to solve this problem. Even for linear systems only reduced-order systems as second-order systems have been treated in the literature [28]. To overcome this difficulty for the class of bilinear systems, an original approach, based on the formulation of the studied system and the associated optimization problem in an orthogonal functions base, is proposed and developed in the following sections. In the next section, the main properties of the orthogonal functions, which will be used to derive our main results, are recalled.

3. Orthogonal Functions-Block Pulse Functions

Orthogonal functions and their operational matrices have been used for modeling dynamic systems [29] and identification [15]. They have been largely used in quadratic optimal control for different dynamic systems [30, 31]. To our knowledge, until today, there are no works dealing with the problem of minimum time control for bilinear systems using orthogonal functions.

3.1. General Idea

Let be a set of orthogonal polynomials or piecewise functions. Any analytical function absolutely integrable on the time interval can be expanded by the following infinite series:where the coefficients are evaluated by the following scalar product:For numerical purposes, a truncation of (8) until a convenient number of elementary functions is considered.where is the orthogonal base and is the coefficient vector.

Integrating (10), one obtainswhere is the operational matrix of integration depending on the considered orthogonal base [17].

As a result, the differential equations describing dynamic processes can be reduced into algebraic relations allowing important simplifications in problem synthesis.

The considered piecewise orthogonal functions and precisely the Block pulse functions are described in the following section.

3.2. Properties of Block Pulse Functions

Block pulse functions constitute a complete set of orthogonal functions. They are defined as follows [32]:A function can be approximated by relation (10), where is a vector of Block pulse functions and the coefficients of the vector are given by the following formula:Many interesting properties and tools of the approximation of an analytic function by a series of Block pulse functions have been defined in literature, as the operational matrix of integration, the operational matrix of product, the operational matrix of delay, and the operational matrix of derivative [17].

3.2.1. Block Pulse Operational Matrix of Integration

The integration of an analytic function using the operational matrix of integration for Block pulse functions is given by [17]

3.2.2. Block Pulse Operational Matrix of Product

The product of orthogonal base vectors can be approximated through operational matrix of product denoted . It is defined by [33]: , , one haswith .

Using (15), one may obtain

4. Synthesis of an Open Loop Minimum Time Control Using Orthogonal Functions

In this work we have chosen to use the Block pulse orthogonal functions due to the fact that solutions for minimum time problems are of type Bang-Bang which has the same structure as Block pulse functions.

4.1. Studied System Transposition on Orthogonal Base

Consider bilinear system (1). To make use of the orthogonal functions properties and mainly the operational matrix of integration one needs to know the operating time interval . For simplicity, in the rest of the work and without loss of generality, let . We introduce here the following time variable change:where denotes the final time to be minimized.

This change of variable allows a transformation of the time domain from to . Then system state becomesNotice that the latter variable change leads to a constant time interval for the used series. The final time becomes an additional unknown variable.

Consequently, we deduceThe original state equation of system (1) is now equivalent toThe development of the state and input vectors on the considered base of Block pulse functions with the new time variable can be written asIntegrating equation (20) leads toIntroducing coefficients of and and operational matrix of integration one obtainsKnowing that [33]one can writewhere is the transposition of the initial state over orthogonal functions. It depends on the chosen set of functions.

4.2. Optimization Problem Formulation Using Orthogonal Functions

To find the transition time from the initial to the target position, we need to solve the following nonlinear problem.

OP1: Original Optimization Problem

The problem transposition over Block pulse base leads to the following nonlinear optimization problem named “orthogonal functions optimization problem.” This algorithm determines the time optimal input for given bilinear system.

OP2: Orthogonal Functions Optimization Problemis subject to the following constraints:(i)Initial condition is(ii)Equality constraint is denotes the transposition of the final sate over the orthogonal functions base.(iii)Inequality constraint is(iv)Nonlinear equality constraint isTo solve this optimization problem, an interior point method such as the one implemented in the function “fmincon” under “Optimization” Toolbox of Matlab environment is used.

4.3. Simulation Results

In this subsection, two examples of bilinear systems are presented to evaluate the effectiveness of our developed approach.

4.3.1. Example 1: First-Order Bilinear System

Consider the following bilinear system:The system needs to be shifted from to the origin; the input must be within interval .

To validate the proposed approach, a comparative study between the theoretical method and the developed Block pulse functions approach is presented.

Applying both methods on the studied system, we get the optimal minimum time value  s with for and so without switching time. From Table 1, it is clear that the obtained result thought the BPF algorithm meets the analytic one. Figure 1(a) shows that the control law with BPF approach has the same control sequence as the analytical method. The state trajectory of the system provided by optimal control input is given in Figure 1(b).

4.3.2. Example 2: Boost Converter Bilinear System

Consider now the bilinear system representing a boost converter described in [8] and shown in Figure 2, where , , and are inductor, capacitor, and load resistance, respectively. Also, situations of switches are presented by ; therefore, for zero value of input control, and are open and closed, respectively. and are two main switches which are connected with two antiparallel diodes.

Determining state space representation for the boost converter and transposing it in per-unit system are done in [8] where state variables of the system are chosen aswhere and are the inductor current and capacitor voltage and are a constant uncontrolled input voltages. Also, and are output capacitor and inductor of the converter, respectively. The normalisation of the state-space model of the boost converter can be expressed aswith being normalized time and being quality factor of the boost converter.

Thus, the state space form of the system is given bywhereThe system needs to be shifted from to and the input must be within interval .

Note that the optimal control problem of this system has been treated analytically in [8]. Using the Block pulse functions optimization (OP2) developed in this paper we obtained the same results.

The behaviors of the input and states variables are shown in Figures 3(a) and 3(b), respectively. The final time is . From Figure 3(a), the control input is equal to for and for .

It is clear that the obtained results are similar to the one in [8]. Thus, the proposed approach is demonstrated.

Figure 3(b) shows the state variables evolution of the considered system with the obtained optimal control signal.

5. State Feedback Suboptimal Time Control

In this part, an original state feedback suboptimal control approach is developed. The idea is based on the work in [22]. The formulation is done in Block pulse base and Kronecker product is used in order to determine the suboptimal controller.

Now consider the time optimization of the bilinear system provided with a state feedback control law . Hence, the feedback control gain has to be determined such that the final time is minimized. Then, the elaborated control structure is suboptimal.

5.1. Suboptimal Time Control Problem Formulation

Consider system (1) with the time variable change (17) and let and be the optimal coefficients of the Bang-Bang control and system states, respectively. In this part of the work, we aim to derive a constant vector which confers the optimal open loop state trajectories to the considered closed loop. Hence, we state thatReplacing the control law by its feedback form (38) in (25), one obtainsNote here that for matrices , , , and with appropriate dimensions one has [24]using this property one hasFrom (41) and (39), one obtainsThis can be rewritten as follows:Applying that, for any matrices , , and with appropriate dimensions [24]one obtainsNote that , where is the matrix defined bywhere denotes the -dimension unit vector which has 1 in the th element and zero elsewhere. Equation (45) can be expressed as follows:;;;;.

Equation (47) can be solved in the least square sense, when no constraints are requested for the control:where stands for Moore–Penrose pseudoinverse of a matrix and “” is the inverse of the “vec” operatorwhere are column vectors with same dimensions.

In the case where the feedback control has to respect upper and lower bounds (2), that is,Developing (50) over Block pulse function, within the transformed time interval, yieldsInequality (51) can be written by the following form:Using the vec and mat operators, system (52) can be written as follows: The latter inequality system could be written aswithA constrained least square problem could be formulated as follows:subject to the constraintThis kind of optimization problem could be solved through “lsqlin” routine of MATLAB software.

5.2. Simulation Example

This section evaluates the performances of developed suboptimal time control approach. The studied system is a chemical reactor detailed in [23]. It is described by the following state space bilinear model:withThe system needs to be shifted from to the origin of state space; the input must be within interval .

In Figure 4(a) simulation results for the control sequence show that the first input has two switching points  s and  s, while the second input has only one switching point  s.

The state variables’ evolution is given in Figure 4(b). The computed final time is  s.

In [23], authors proposed a linear stabilizing state feedback for bilinear systems. Based on results of the chemical reactor therein, we propose in this paper to adopt that example while constraining control effort to less values than obtained in [23]. We aim then to derive a state feedback that could enhance the time response of the system.

Using the suboptimal control structure, we found the suboptimal control given in Figure 5(a) and the closed loop trajectory given in Figure 5(b).

The obtained feedback gain given in Table 3 is clearly different from the one in [23]. Nevertheless, the obtained results are better.

In fact, these results are better in term of final time and overshoot value than those presented in [23]. It is clear that, for both states, there is less overshoot and better settling time.

Furthermore, we notice that the system trajectories shapes are too close in both the open loop with Bang-Bang input and the proposed closed loop state feedback.

6. Conclusion

In this paper a practical approach is developed to solve the problem of time optimal control of bilinear systems.

The proposed approach is based on the expansion of the system model on a complete set of orthogonal Block pulse functions. Two types of minimum time control law have been investigated. In the first time, the method has been implemented to determine the open loop minimum time control law. In the second time, a state feedback control law has been derived in order to generate the minimum time optimal states of the considered system.

All the developed algorithms have been illustrated on different examples of minimum time optimal control and the obtained results are significant. Indeed they enable shorter time estimate compared with other published techniques [23].

Note that the proposed method can be generalized to consider other classes of more complex nonlinear systems and we intend to pursue our work in this way.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.