1. Introduction
Second-order differential equations arise in several system modeling, such as electrical, electromechanical, and mechanical systems. Also, they are commonly used in structural, vibration, multi-body systems, and robotic modeling and control [
1,
2,
3,
4].
In several practical applications, the allocation of sensors to cover all the degrees of freedom may be expensive, or the physical location of certain degrees of freedom may be hard to access. In such scenarios, if the system model is observable from the measured outputs, the reconstruction of the state is possible by using functional observers. Since asymptotic observers for linear systems exhibit, in general, a separation principle, the estimated states from the observer can be applied to feedback control purposes. Such controllers are known as dynamic output feedback controllers. Observers in states-pace and descriptor models have been covered over five decades [
5,
6,
7,
8,
9,
10,
11,
12]; more recently, second-order observers were described and applied to control structural, vibration, or multi-body systems [
13,
14].
Control tasks with underactuated systems constitute a challenge since the number of actuators is less than the number of degrees of freedom in the system, that is, the well-known configuration variables [
15,
16]. Although it demands a more complex design of the controller, the adoption of an underactuated configuration improves the lightweight of the global structure and reduces the total cost of the project. Another situation in which underactuated systems rise is the fault-tolerant control design [
15,
17]. If the underactuated structure is also undersensed or the measurements are severely noisy, reconstruction of the state vector using state observers can be of great significance to recover the controller effectiveness. Some works in control literature approach this problem in its essence [
18,
19].
This work presents a solution for the design of dynamic output feedback controllers for second-order systems using a functional descriptor observer and LMI to achieve closed-loop stability and performance criteria, among that, robustness against uncertainty parameters, persistent exogenous perturbations, and LQR quadratic indices for the state vector and control effort. The design methodology is a two-stage convex optimization procedure that computes the robust state feedback gains at the first stage and then the robust gains of the observer in the second stage, anchored in a separation principle for error and feedback-controlled state dynamics. The proposed Linear Matrix Inequality (LMI) formulation does not use matrix inversion, a point that can be involved when uncertainty is present.
Notation throughout the paper is standard. Let the scalar and be the set of real matrices. If is a random value, denotes its expected value or expectation. For a matrix X denote its transpose by and its inverse by . If X is square and symmetric then () indicates that X is positive (semi) definite; similarly, (0) indicates that X is negative (semi) definite. The notation cov denotes convex hull, and is used for a diagonal matrix whose diagonal entries, starting in the upper left corner, are . Moreover, for any square matrix X, we define the operator . Let () be the identity (zero) matrix with dimension and the zero matrix with dimension ; throughout the paper, such subscripts will be suppressed, whenever the dimension is evident from the context.
2. Preliminaries and Problem Formulation
Consider the class of second-order systems described by the linear model:
where the non-singular matrices
M,
D,
,
,
are the model matrices,
is the state vector,
is the control input, and
is the exogenous disturbance vector, which is assumed to be a white noise with zero mean, uncorrelated in time and with a covariance matrix
, that is
Defining the state variables
and rewriting model (
1) as an augmented first-order one yields the following augmented descriptor model
with
, and
A short-hand notation for descriptor system (
3) is given as
In case of
is uncertain we add the argument
in it, and we assume that
belongs to the polytopic set
. In other words,
is defined as the set of all matrices obtained by the convex combination of their vertices
where
The vertices of system are determined by combining the extreme values of its uncertain parameters.
Generally, in actual applications, the internal state of a system is only partially available for feedback. Hence, in this work, we propose an observer-based controller whose control signal is obtained through estimates of the system internal state. The observer structure and control signal
are such that
where the matrices with the hat symbol (∧) are given (which can be chosen as the mean matrix of the respective system uncertain matrix). The gains
K and
L are parameters to be determined.
Combining (
3) and (
7) we have
Further defining
, it yields
which allows us to obtain the dynamics of the estimation error and the closed-loop system
Furthermore, assuming
non-singular, we have that
whose matrices are obtained from (
8) by comparison and
. Notice that this system can also be written in the form
which is a recurrent structure in observer design problems.
Moreover, note that the stability of the time-invariant closed-loop system (
8) is determined by its eigenvalues
which reveals that the stability of system (
9) is equivalent to the stability of the dual system
This last fact will be important in the next section to synthesize the observer gain L.
3. Main Result
In this section, it is presented the paper main result, a two-step methodology for designing the gain matrices
K and
L. First, the matrix
K is designed for system (
3) assuming full-state feedback (
). Then, using
K previously designed, the matrix
L is synthesized based on the structure of the augmented system (
11).
Note that the states vector of the augmented model (
8) is composed of the estimated error (
) and the original system model states (
). Thus the asymptotic stability of (
8) ensures that
and
converge to zero (
8). In addition, as shown in the previous section, the stability of (
8) is equivalent to the stability of (
11).
If system (
1) is free of parametric uncertainties, many LMI conditions from the literature can be applied directly to system (
3). However, in the presence of uncertainties, the state-space description of the model (
3) may require inversion of uncertain matrices, which is a challenging problem in general. Therefore, in the following, we present tractable LMI conditions that do not require inverses of uncertain matrices.
Before proceeding, we introduce a lemma that will be useful to construct the main result of this paper.
Consider the linear time-invariant system described as
where
and
are matrices of appropriated dimensions and
represents uncertain parameters in these matrices. In addition, the cost function is defined as
where
is a known matrix. Then, the following lemma holds.
Lemma 1.
Consider system (12) with null initial conditions, , and the cost function (13). Suppose that and are the solution to the following optimization problem
Then the cost function (13) satisfies
Proof. Initially, note that with null initial conditions, the state of system (
12) is given by
and that the cost function (
13) can be rewritten as
Thus, defining
we have that
can be obtained as the solution of the equation
and
Note further that if a positive definite matrix
exists such that the inequality in (15) is satisfied, then
is Hurwitz. Furthermore, subtracting (
16) from (15) we have that
and therefore if
is Hurwitz then
. Hence, with
, we have that
such that
J is a positive definite matrix, which implies inequality (
14). It concludes the proof. □
The main contribution of this paper is given in the following.
Theorem 1.
Let and be given symmetric matrices. Consider system (3) with , , non-singular. If there exist matrices , and , solution of the optimization problem
for all , where N is the number of vertices of the polytopic set Δ in (5) and and are defined such that and . Then the closed-loop system (3) is robustly stable with and is an upper bound for the cost function (13).
Proof. Consider system (
3) with a state-feedback control law
. The closed-loop system can be written as (
12) with the choice
Furthermore, the cost function (
13) is then chosen such that
Therefore, considering the previous equalities, a solution to the state-feedback control design problem can be obtained using the result in Lemma 1 as follows.
Inequality (
14) from Lemma 1 yields
where we set
. Then, applying Schur’s complement, we have
The second inequality resulting from Lemma 1 yields
which pre- and post-multiplied by
and
, respectively, and defining the variable
, results in
Then, considering the factorization
and
and applying Schur’s complement we have
Hence, the LMIs in the theorem follow directly from the last inequality and (
21).
As we adopted a constant (quadratic) Lyapunov function to ensure the asymptotic stability of polytopic system (
3) in closed-loop, it is sufficient to check the LMI conditions on all vertices of the polytope. The proof is complete. □
The previous theorem constitutes a readily computable procedure to design a full state feedback controller that stabilizes the (possible) uncertain second order system in (
1) and minimizes the quadratic cost function in (
13).
Having determined a robust state-feedback gain
K that asymptotically stabilizes system (
3), the next step is computing the observer gain
L of (
7) such that the augmented system (
9) is asymptotically stable. This can be accomplished by applying the conditions of Theorem 1 to the augmented equivalent system (
11) to obtain the result presented below.
Theorem 2.
Let and be given symmetric matrices. Consider the system (3) with , , non-singular. If there are symmetric matrices and , such that , and , solution of the optimization problem
for all , where N is the number of vertices of the polytopic set Δ in (5). With and defined such that and . Then, the closed-loop system (7) is robustly stable with and is an upper bound for cost function in (13) by performing the substitutions and .
Proof. The result is obtained by applying Theorem 1 to the model (
11) by making the substitutions:
Therefore, for the LMI conditions to return a solution in only one matrix
L, the substitution
, and the multiplication of
Y by
in () are also performed, thus obtaining (
24).
For the cost function to take into account only the estimation error, the following substitutions are made in inequality () used to minimize the cost function
which yields LMI (
23).
Finally, just to emphasize the distinction between the statements of Theorem 1 and the current one, we also performed the substitutions
It completes the proof of the theorem. □
In short, the following procedure outlined on page 8 summarizes the two-step approach proposed.
4. Experimental Study
This section presents experimental studies to evaluate the proposed controller design methodology applied to balance the Mobile Inverted Pendulum (MIP) robot in a vertical position, see
Figure 1. In the experiments, we applied the same control signal to the two robot motors. Notice that it is a non-linear and complex system with fewer actuators than degrees of freedom.
We used a MIP robot, which is an educational robotic kit developed at the University of California San Diego (UCSD) Coordinated Robotics Lab, available at Renaissance Robotics
1, as shown in
Figure 1. The MIP robot is controlled using a Beaglebone Black board attached with a robotics cape
2 which include on-board sensors, controllers, and expansion options. The
pyctrl library, available at [
20], was used to implement the controllers at a sampling rate of 100 Hz.
4.1. System Model
A simplified MIP model depicted in
Figure 1 was considered to obtain a model that characterizes the system. The body and the wheels were assumed to be rigid, and the sliding friction between the wheels and the ground was not considered.
The coordinates are
x and
y,
is the body angle and
the wheel angle,
r represents the radius of the wheels, and
ℓ is the distance between the center of mass of the wheels (
) and
represents the center of mass of the body. Thus, one obtains the linearized, underactuated model as in (
1) where:
and
is the motor voltage, where
,
,
,
,
, and
. In addition, we assume
a Gaussian zero mean white noise acting on both states, such that
. The MIP parameter values are present in Table 1, which were estimated following the same steps in Zhuo [
21]. Because the second column of
S in (
25) is null, then
does not influence the other states. It makes sense since MIP can balance its body upright, no matter where the wheels are. One can check that the descriptor model (
3) with data in (
25) is controllable, but not observable. Therefore, we can design the observer-based controller removing the state
from the descriptor model obtained yielding
. In addition, in this case, we assume the system output as
.
Table 1.
The nominal MIP parameters.
Table 1.
The nominal MIP parameters.
Parameter |
Value |
Parameter |
Value |
r |
34 mm |
|
kg.m2
|
ℓ |
46 mm |
|
kg.m2
|
|
27 g |
|
N.m at
|
|
263 g |
|
N.m |
|
V |
|
Gear ratio |
Here, to design the controllers, we assume uncertainty of
on the values estimated from two experimental data sets to the parameters:
,
,
, and
. Because
and
were estimated from the same data set, we assume they simultaneously take their minimum or maximum estimated value. Analogously, the same is assumed for the values of
and
. Thus, we cast the descriptor system matrix as in (
4) belonging to a polytope as in (
5) with
vertices.
4.2. Full-State Feedback Control
In this section, applying Theorem 1 are designed controllers based on full-state feedback. Initially, we cast the uncertain descriptor model (
3) as mentioned in the previous section, and we selected the weighting matrices as
and
. The choice of
implies that each state is treated equally. Therefore, the resulting gains for the controllers are summarized in
Table 2.
4.3. Observer-Based Control
Now, we design observer-based controllers. Thus, as discussed in
Section 4.1 we eliminate the state
of the uncertain descriptor model (
3) built before applying the proposed method. Without performing this elimination, the model is not observable, and Theorem 2 does not result in feasible results.
Following Stage 1 of the proposed approach to design the observer-based controller, we apply Theorem 1 setting the weighting matrices as
and
. The resulting gains for the controllers are summarized in
Table 3.
Secondly, following Stage 2 of the method proposed, using the matrices
K in
Table 3, we apply Theorem 2 setting the weighting matrices as
and
.
Table 4 summarizes the resulting gains for the controllers.
4.4. Experimental Results
In this section, the MIP time responses governed by the controllers designed above are presented to illustrate the experimental results.
Initially, the time responses considering the controllers from
Table 2 are depicted in
Figure 2, where one can see that by increasing
R, the MIP body oscillation decreases. Similarly, in
Figure 3, are presented the time responses considering the controllers from
Table 3.
It is interesting to note that the wheel angle deviation in
Figure 3 is much higher than in
Figure 2, which is comprehensible since the controllers applied to obtain the results depicted in
Figure 3 do not use the wheel angle.
The time responses considering the observer-based controllers from
Table 4 are depicted in
Figure 4. Now, one can notice that body oscillations and control efforts have decreased. Furthermore, the deviation of the wheel angle in
Figure 4 is smaller than that in
Figure 3.
It is worth emphasizing that an exhaustive search on weighting matrices, Q, R, V, and W, parameters given in Theorems 1 and 2, may improve the controller performance.
5. Conclusions
In this paper, an approach was proposed to design dynamic output feedback controllers for second-order linear dynamical systems. The formulated solution can tackle uncertainties in the model and persistent disturbances in the states using LMIs to minimize cost functions containing linear-quadratic criteria in a two-stage procedure. The approach is applied in experimental tests conducted in an MIP robot - an underactuated system - and effectively controls the body angle in an equilibrium position.
References
- Ikeda, Y. Active and semi-active vibration control of buildings in Japan – Practical applications and verification. Structural Control and Health Monitoring 2009, 16, 703–723. [Google Scholar] [CrossRef]
- Yu, Y.; Guo, J.; Li, L.; Song, G.; Li, P.; Ou, J. Experimental study of wireless structural vibration control considering different time delays. Smart Materials and Structures 2015, 24, 045005. [Google Scholar] [CrossRef]
- Zhang, L.; Zhang, G.; Liu, W. Optimal control of second-order and high-order descriptor systems. Optimal Control Applications and Methods 2019, 40, 791–806. [Google Scholar] [CrossRef]
- Abdelaziz, T.H. Parametric approach for eigenstructure assignment in descriptor second-order systems via velocity-plus-acceleration feedback. Journal of Dynamic Systems, Measurement, and Control 2014, 136, 044505. [Google Scholar] [CrossRef]
- Luenberger, D.G. Observing the State of a Linear System. IEEE Transactions on Military Electronics 1964, 8, 74–80. [Google Scholar] [CrossRef]
- Hayashi, S.; Kanoh, H.; Masubuchi, M. Functional Observers for Some Sort of Linear Systems and Its Application to Unstable Mechanical System. Technology Reports of the Osaka University 1980, 30, 537–544. [Google Scholar]
- Trinh, H. Linear functional state observer for time-delay systems. International Journal of Control 1999, 72, 1642–1658. [Google Scholar] [CrossRef]
- Darouach, M. Existence and design of functional observers for linear systems. IEEE Transactions on Automatic Control 2000, 45, 940–943. [Google Scholar] [CrossRef]
- Araujo, J.M.; Barros, P.R.; Dorea, C.E.T. Design of Observers With Error Limitation in Discrete-Time Descriptor Systems: A Case Study of a Hydraulic Tank System. IEEE Transactions on Control Systems Technology 2012, 20, 1041–1047. [Google Scholar] [CrossRef]
- Trinh, H.; Fernando, T. Functional Observers for Dynamical Systems; Springer Berlin Heidelberg, 2012. [CrossRef]
- Darouach, M.; Fernando, T. On the Existence and Design of Functional Observers. IEEE Transactions on Automatic Control 2020, 65, 2751–2759. [Google Scholar] [CrossRef]
- Ríos-Ruiz, C.; Osorio Gordillo, G.L.; Darouach, M.; Souley Ali, H.; Astorga-Zaragoza, C.M. Design of finite-time convergent functional observer for descriptor systems: Application to fault estimation. Asian Journal of Control 2024. [Google Scholar] [CrossRef]
- Demetriou, M.A. Natural second-order observers for second-order distributed parameter systems. Systems & control letters 2004, 51, 225–234. [Google Scholar]
- Demetriou, M.A. Unknown input functional observers for vector second order structural systems. Mechanical Systems and Signal Processing 2022, 164, 108060. [Google Scholar] [CrossRef]
- Liu, Y.; Yu, H. A survey of underactuated mechanical systems. IET Control Theory and Applications 2013, 7, 921–935. [Google Scholar] [CrossRef]
- Seifried, R. Dynamics of Underactuated Multibody Systems: Modeling, Control and Optimal Design; Springer International Publishing, 2014. [CrossRef]
- Shin, J.H.; Lee, J.J. Fault detection and robust fault recovery control for robot manipulators with actuator failures. Proceedings 1999 IEEE International Conference on Robotics and Automation (Cat. No.99CH36288C). IEEE, 1999, ROBOT-99. [CrossRef]
- Nudehi, S.S.; Mukherjee, R. Enhancing Controllability and Observability in Underactuated and Undersensed Systems Through Switching: Application to Vibration Control. Journal of Dynamic Systems, Measurement, and Control 2004, 126, 790–799. [Google Scholar] [CrossRef]
- Venkatraman, A.; Ortega, R.; Sarras, I.; van der Schaft, A. Control of underactuated mechanical systems: Observer design and position feedback stabilization. 2008 47th IEEE Conference on Decision and Control. IEEE, 2008. [CrossRef]
- GitHub. pyctrl: a Python Suite for Systems and Control. urlhttps://github.com/mcdeoliveira/pyctrl, 2018. accessed on July 13, 2023.
- Zhuo, Z. LQG Controller Design of the Mobile Inverted Pendulum. Master’s thesis, University of California, San Diego, 2017.
|
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).