Abstract
In this work, a homotopy optimization method is proposed for reconstructing unknown inputs in non-linear dynamical systems. The unknown inputs are parametrized using a B-spline basis. This parameterization of inputs converts the unknown input identification problem into a parameter identification problem. The unknown parameters are identified through an optimization process. The proposed homotopy-based optimization method is designed to converge to the global optimal solution instead of a local minimum. The unknown parameters are obtained through a series of iterations guided by a homotopy parameter and an optimization algorithm.
Highlights
- Homotopy optimization method is proposed for reconstructing unknown inputs in non-linear dynamical systems.
- The method is designed to converge to the global optimal solution instead of a local minimum.
- Application of the proposed method to a numerical example indicates that it is highly accurate.
1. Introduction
The unknown input reconstruction problem deals with unmodelled dynamics, exogenous inputs, faults or other uncertainties and is important from the perspective of robust control, optimal control, and system supervision [1]. The problem is motivated by applications where measurement of some of the system inputs is physically not possible or too expensive, for e.g. the cutting force in machine tools, system faults in fault-tolerant control design [2], etc. The problem of unknown input reconstruction has been widely studied for many year. Observer based methods have been studied for linear systems in [3, 4], non-linear systems in [5-7] and time-delay systems in [8, 9]. The unknown input reconstruction is very close to system inversion studied in [10]. A subspace identification algorithm is developed in [11], which identifies the state-space matrices and reconstructs the unknown inputs from of system outputs and known inputs.
In this work, we propose an optimization-based approach for reconstructing unknown inputs in non-linear systems. The proposed methodology assumes that only some of the system states are available through sensor measurement for input reconstruction, and an accurate mathematical model of the physical system is known. The unknown input must be found such that some objective function in its state and input is minimized. The optimization problem is posed via parameterization of the unknown inputs using basis functions. Therefore, the input reconstruction problem is posed as a parameter identification problem. However, the choice of parametrization leads to a large number of parameters that need to be identified for reconstructing the input. When deterministic approaches like the steepest descent, Gauss-Newton, etc. are used, convergence to a local minima is very common. On the other hand, stochastic algorithms like genetic algorithms, simulated annealing, etc. can be used for global convergence but these approaches increase the computation cost [12]. In this study, we address this problem by using the ideas of homotopy transformation [13]. The homotopy transformation involves adding convex terms with a known optimum to the objective function with a morphing parameter l. The transformed objective function can then be minimized using any deterministic approach to arrive at a global minimum [12], while slowly varying from 1 to 0 as the optimization proceeds. This approach is hereafter referred to as the homotopy optimization method.
This paper is organized as follows. In Section 2, the procedure for homotopy optimization is introduced. The proposed methodology for unknown input identification is discussed in Section 3. Section 4 presents the analysis of the homotopy transformation. In Section 5, numerical examples are presented to illustrate the developed method. Finally, the contribution of this work is summarized in Section 6.
2. Homotopy optimization
Consider a function such that attains the global minimum at = . We need to find the optimal point . Let be a convex function with a known global minimum. The homotopy transformation is constructed as , where is the morphing parameter that continuously deforms to as it is varied from 1 to 0. Let the solution of at a given be . Starting with = 1, the solution of the optimization problem is known. Then the value of is decreased by a small amount and the function is minimized using as an initial guess. The procedure is continued with small decrements in until = 0. At = 0, and the original optimization problem is recovered.
3. Mathematical formulation
Let us assume that the experimental system is governed by the following non-linear ordinary differential equations:
where, is the state vector, is the input vector, is the output vector, and the matrix is the output matrix. The experimental data is assumed to be collected over time . The mathematical model that will be used for reconstruction of the unknown inputs is assumed to be of the following form:
where, is the reconstructed input vector. For reconstruction, the unknown input is parametrized as , where, represents the number of terms in the series expansion of , are the basis functions, and are the parameters to be identified. Now, the unknown input can be written in vector form as:
where:
Substituting Eq. (5) in Eqs. (3, 4), we get:
where, is the unknown parameter vector to be identified. Once these parameters are identified, one can reconstruct the input signal . Thus, the problem of unknown input identification is transformed into the problem of parameter identification. Now, the problem of parameter identification is posed as the minimization of the following objective function:
The objective function given in Eq. (8) is usually multi-modal with respect to . Depending on the initial guess, the optimizer can converge to a local minimum. To avoid this problem, the following homotopy transformation is introduced in Eqs. (6-7) [12]:
where, . With the introduction of the homotopy term in Eqs. (9-10), the objective function becomes a function of as follows:
For a fixed gain matrix with = 1, Eq. (11) is minimized. Let the optimal solution be . Keeping unchanged, the value of is decreased by an amount and the objective function in Eq. (11) is minimized with as an initial guess. This procedure is repeated until reaches zero. Note that with the optimal parameter vector = , Eq. (1) can be written as:
where, is replaced with .
4. Analysis of homotopy transformation
In order to understand the influence of homotopy transformation on the objective function, we study the dynamics of the error terms. Subtracting Eq. (9) from Eq. (12) and pre-multiplying both sides with , the error dynamics can be obtained as follows:
Eq. (14) represents the dynamics of a damped first-order system. It can be seen that a proper choice of is crucial. By selecting a diagonal with large positive values the influence of the forcing terms can be reduced. Also, for the same choice of the zero equilibrium of Eq. (14) in the absence of the forcing terms terms is stable. Next, expanding around and using the Taylor series, we get:
where, = . The solution of the singularly perturbed system Eq. (15) on a slow time scale ( = ) behaves as follows:
where, = . Next, we get by substituting Eq. (16) in Eq. (11), which represents a quadratic objective function in the parameter error . If the gain matrix is selected in such a way that synchronization holds then the optimum of the objective function is well defined [14].
5. Results and discussion
In this section, several numerical examples are presented to demonstrate the proposed method of unknown input identification. The minimization of (Eq. (11)) is performed using the fminsearch function of MATLAB. The differential equations are solved using ode15s: a variable step continuous-time solver.
5.1. Choice of basis function
In this work, we use the B-spline basis functions. The parameters required to define B-spline basis functions are, number of control points , the set of knots , and the B-spline basis functions , where is the order of the spline. A B-spline is a piece-wise polynomial of degree defined in such a way that when the knots are distinct it is times continuously differentiable. The set of knots is a set of non-decreasing sequence of time instances, i.e, , where = . The general th order spline is expressed as a recursive relation of the form:
where:
where indicates the position of the spline. The B-spline curve is defined a .
5.2. Numerical results
In order to demonstrate the accuracy of the proposed method, consider the following pendulum system:
where = 14, and = 0.4. Experimental data is generated for = 20 s by numerically integrating Eq. (19). Now, given , the objective is to identify the unknown input . By following the procedure mentioned above, we assume a parameterization of the unknown input in the mathematical model (Eqs. (6-7)) of the form = . The B-spline basis is obtained from Eqs. (17-18). The unknown parameter-vector is obtained by minimizing Eq. (11). For this example, we consider two input signals = , where is the step function and = .
Fig. 1 shows results for the input signal = . The B-spline parameters considered for this case are = 5 and = 0, and the homotopy gain parameter = 500. It can clearly be seen from Fig. 1(a) that the identified input is nearly identical to the actual input . Fig. 1(b) shows the comparison between experimental displacement and displacement obtained by integrating the mathematical model with the identified input . From Fig. 1(b) it is clear that matches very closely with the experimental data .
Fig. 1a) Actual input u1e(t)=sgn(sin(0.5t)) and identified input u1(t), b) experimental displacement q1e(t), and model displacement q1(t) obtained using u1(t)
a)
b)
Fig. 2 shows results for the input signal . The B-spline parameters considered for this case are 6 and = 0, and the homotopy gain parameter = 150. It can clearly be seen from Fig. 2(a) that the identified input is nearly identical to the actual input . Fig. 2(b) shows the comparison between experimental displacement and displacement obtained by integrating the mathematical model with the identified input . From Fig. 2(b) it is clear that matches very closely with the experimental data .
Fig. 2a) Actual input u1e(t) = rect(t), 2≤t≤3 and identified input u1(t), b) experimental displacement q1e(t), and model displacement q1(t) obtained using u1(t)
a)
b)
6. Conclusions
In this work, the input reconstruction problem for non-linear dynamical systems is studied. Through input vector parameterization, the unknown input identification problem is reformulated as a parameter identification problem, which is then solved using the ideas of Homotopy transformation. Homotopy transformation is considered so that the global optimum is achieved. A theoretical analysis of the homotopy transformation is presented in this work, in which it is shown that as long as the high-gain observer synchronizes the experimental and model response, the global optimum of the objective function can be identified. Finally, the accuracy of the proposed methodology is demonstrated via a numerical example in which it is shown that by using the proposed methodology one can effectively reconstruct the unknown inputs.
References
-
Hou Ming, Patton Ron J. Input observability and input reconstruction. Automatica, Vol. 34, Issue 6, 1998, p. 789-794.
-
Xiaohang Li, Zhu Fanglai, Zhang Jian State estimation and simultaneous unknown input and measurement noise reconstruction based on adaptive H∞ observer. International Journal of Control, Automation and System, Vol. 14, Issue 3, 2016, p. 647-654.
-
Avijit Banerjee, Das Gourhari Estimation of unknown input using reduced order Das and Ghosal observer. IEEE International Conference on Emerging Trends in Computing, Communication and Nanotechnology, 2013.
-
Guo Shenghui, et al. State and unknown input estimations for discrete-time switched linear systems with average dwell time. Journal of the Franklin Institute, 2019, https://doi.org/10.1016/j.jfranklin.2019.07.034.
-
Zhang Wei, et al. Unknown input observer design for one-sided Lipschitz nonlinear systems. Nonlinear Dynamics, Vol. 79, Issue 2, 2015, p. 1469-1479.
-
Delshad Saleh S., et al. Robust state estimation and unknown inputs reconstruction for a class of nonlinear systems: multiobjective approach. Automatica, Vol. 64, 2016, p. 1-7.
-
Chakrabarty Ankush, et al. Unknown input estimation for nonlinear systems using sliding mode observers and smooth window functions. SIAM Journal on Control and Optimization, Vol. 56, Issue 5, 2018, p. 3619-3641.
-
Teh Poh Sim, TrinhHieu Partial state and unknown input estimation for time-delay systems. International Journal of Systems Science, Vol. 43, Issue 4, 2012, p. 748-763.
-
You Fuqiang, Li Hui, WangFuli State and unknown input simultaneous estimation for a class of nonlinear systems with time-delay. Nonlinear Dynamics, Vol. 83, Issue 3, 2016, p. 1653-1671.
-
Naderi Esmaeil, KhorasaniKhashayar Inversion-based output tracking and unknown input reconstruction of square discrete-time linear systems. Automatica, Vol. 95, 2018, p. 44-53.
-
Palanthandalam Madapusi, Harish J., Bernstein Dennis S. A subspace algorithm for simultaneous identification and input reconstruction. International Journal of Adaptive Control and Signal Processing, Vol. 23, Issue 12, 2009, p. 1053-1069.
-
Vyasarayani Chandrika P., et al. Parameter identification in dynamic systems using the homotopy optimization approach. Multibody System Dynamics, Vol. 26, Issue 4, 2011, p. 411-424.
-
Watson Layne T., Haftka Raphael T. Modern homotopy methods in optimization. Computer Methods in Applied Mechanics and Engineering, Vol. 74, Issue 3, 1989, p. 289-305.
-
Letellier Christophe, Aguirre Luis A. Interplay between synchronization, observability, and dynamics. Physical Review E, Vol. 82, Issue 1, 2010, p. 016204.
About this article
The authors gratefully acknowledge the Department of Science and Technology for funding this research through the Inspire Fellowship (DST/INSPIRE/04/2014/000972).