Abstract
This article investigates mathematical modelling and control of a nonlinear negative imaginary system using an illustrative benchmark physical example of a quadrotor dynamic model. A generalized methodology based on Euler–Lagrange equation is applied to obtain nonlinear negative imaginary dynamic model for the quadrotor. In this method, the Kronecker product is employed to formulate the Coriolis matrix, which is then used to construct a mathematical model of a quadrotor. This article further presents nonlinear negative imaginary systems theory-based analysis and synthesis framework to find the control solution for quadrotor’s attitude stability problem while hovering. The multi-loop control scheme is applied to the quadrotor that directly uses the Euler angles (angular positions) instead of angular velocity measurements. Numerical simulation results of this paper show that the investigated control strategy ensures the asymptotic stabilization of quadrotor attitude system model in the presence of external disturbance.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
The negative imaginary (NI) systems are one type of dynamical systems where systems exhibit negative imaginary frequency response. The concept of NI systems theory was first proposed in [1, 2] as a system modelling and controller synthesis framework for the dynamics of flexible structure, and subsequently, over the past decade, a lot of research works have been found in the literature towards analysis and synthesis for several dynamical systems (see the work of [3,4,5,6,7,8,9,10,11,12,13,14], etc.). The development of NI systems theory is motivated by inertial systems where second Newton’s law of motion is used to describe everything. In such system, actuation is given by a torque or force input, while sensing is acquired by measuring the position or angle output. Therefore, by selecting the suitable input and output, a variety of dynamical systems may be modelled as NI system. For example, NI transfer function can be found in any flexible dynamic structure model with colocated force actuator (input) and position sensor (output) [15]. NI systems theory and positive real (PR) systems theory are closely related. However, the PR systems theory applies to the systems with relative degrees ranging from zero to one, whereas NI systems theory expanded this range to include the systems with relative degrees of zero to two.
For the analysis and control design of nonlinear systems, the classical dissipativity and passivity theories are most widely utilized. These theories characterize the dissipation of energy in the system with respect to a supply energy rate from the environment. However, many systems do not come under this classical theory framework. There are many physical systems where u is the force input (mechanical or electrical) and y is the corresponding displacement output, but the associated energy pair is \((u, {\dot{y}})\) instead of (u, y), and in this case, systems are dissipative (passive) from u to \({\dot{y}}\) [16]. For example, dynamical models of flexible structures having force input and position output are passive (or dissipative) from the input to the derivative of the output (instead of the output as in the classical passivity theory). More examples of such systems are discussed in [17]. For such passive (or dissipative) systems, NI systems theory is significant tool for the analysis and design of control systems. In [14], it has been shown that the negative imaginary control of flexible structure dynamic models through position sensors is effective and robust against plant uncertainty and unmodelled dynamics. This motivates us to find a nonlinear negative imaginary mathematical model of a benchmark physical system having force input and position output. In this work, a benchmark model of quadrotor system is investigated for modelling and control of nonlinear NI system.
Quadrotor is one type of unmanned aerial vehicles and there has been a lot of work published in the literature on modelling and control of quadrotor systems (see [18,19,20,21,22,23,24]) and many approaches for obtaining the dynamical model of quadrotor based on Euler–Lagrange equations are available in the literature. The skew symmetry of dynamic equations is an essential property that is frequently used to construct a variety of control methodologies. The typical existing approach for achieving the skew-symmetric property is to obtain the Coriolis matrix using Christoffel symbols of the first kind [25], which is a time-consuming and complex process. In [18, 24], such Coriolis matrix based on Christoffel symbols is directly employed for the dynamic modelling of quadrotor. In this paper, a quite simple method based on Kronecker product is proposed to formulate the Coriolis matrix for quadrotor, which ensures the skew-symmetric property of quadrotor dynamical equations. In [18,19,20,21, 24], the attitude of quadrotor is determined using measurements of angular velocity. However, in quadrotors, velocity measurements can be inaccurate or even unavailable. Moreover, adopting observer-based methodologies to reconstruct angular velocity results in faulty velocity measurement, which affects attitude control performance [23]. This recommends that rather than employing indirect estimations, direct measures of attitude should be used. The proposed control scheme of this paper is based on multi-loop control architecture that directly uses the angular positions (attitude), i.e. Euler angles \(\phi \) (roll), \(\theta \) (pitch) and \(\psi \) (yaw), of the quadrotor instead of angular velocity measurements.
In [26,27,28], nonlinear NI systems theory was recently introduced via the combination of Lyapunov and dissipativity theory techniques. The nonlinear NI property is similar to the dissipativity property with a supply rate \(u{\dot{y}}=W(u,{\dot{y}})\) for a nonlinear system with input u and output y, where y is the only function of state x. The concept of output strictly passive (OSP) systems developed a subclass of NI systems called output strictly negative imaginary (OSNI) systems (see [29, 30]). The OSNI property of a system having minimum realization (A, B, C, D) with input u and output y is identical to the dissipativity property with a supply rate \(\dot{\tilde{y}}^{T}u-\delta \left| \dot{\tilde{y}}\right| ^2=W(u,\dot{\tilde{y}})\) where \(y-Du=\tilde{y}\) [26, 29]. Many existing results of NI linear systems theory were extended for nonlinear systems in [26,27,28]. In [26], an asymptotic stability theorem for closed-loop positive interconnection between a NI nonlinear system and a output strictly NI (OSNI) nonlinear system was also established under some assumptions. Along the same line of the research as discussed in [26,27,28], this work extends nonlinear NI control theory further and applies it to a benchmark unmanned aerial vehicle model. Moreover, in this work, nonlinear NI systems are defined for MIMO (multi-input multi-output) systems rather than SISO (single-input single-output) systems. In [27, 28], a weak strict NI nonlinear system is investigated in positive feedback interconnection with NI nonlinear system, but in this work a OSNI nonlinear system is demonstrated as a controller, and then, asymptotic stability is proved between quadrotor (NI nonlinear) system and controller (OSNI nonlinear). In this article, the primary purpose is to apply NI nonlinear theory to provide control solution for the attitude stability problem of quadrotor while it is hovering. The numerical simulation results of this paper justify the proposed control synthesis method for the quadrotor dynamical model.
The major contribution of this article is to obtain dynamic model of quadrotor using Kronecker product-based Coriolis matrix and then to show that quadrotor dynamical model is nonlinear negative imaginary between force input and position output. The nonlinear NI theory-based multi-loop control scheme for quadrotor is proposed to obtain robust control solution for attitude stability of quadrotor while it is hovering. In particular, the contributions of this article are as follows: (a) formulation of Coriolis matrix using Kronecker product, (b) establishment of nonlinear NI dynamic model for unmanned aerial vehicle, i.e. quadrotor, and (c) nonlinear NI theory-based multi-loop control scheme for quadrotor and its asymptotic stabilization scheme. The remaining article is structured as follows: Sect. 2 illustrates some preliminaries related to vector calculus and basic notions of linear NI systems that enhance better comprehension of the article’s key points. Section 3 discusses some fundamental concepts of nonlinear negative imaginary (NI) systems which are critical to this work. In Sect. 4, a nonlinear negative imaginary model of quadrotor systems is established using Euler–Lagrange equation. In Sect. 5, nonlinear state-space model of the quadrotor is obtained for control synthesis. Section 6 demonstrates the nonlinear NI approach for stabilizing the attitude of quadrotor. The numerical simulation and analysis of the results are shown in Sect. 7. Finally, Sect. 8 concludes the article with few comments.
2 Preliminaries
This section presents some mathematical preliminaries related to Kronecker product, time derivative of matrix and the partial derivatives of two matrices product with respect to vector. These mathematical preliminaries briefs few consistent definitions and theorems, which make article self-explanatory. Furthermore, some basic notions of linear negative imaginary systems are also introduced, which helps to streamline the concepts of this article.
2.1 Mathematical preliminaries
Definition 1
[31] If \(A\in {\mathbb {R}}^{p\times q}\) and \(B\in {\mathbb {R}}^{r\times s}\) are two given matrices, then \(A\otimes B \in {\mathbb {R}}^{pr\times qs}\) is called Kronecker product of A with B, and it is given by
Definition 2
[31] If matrix \( A({\varvec{y}}) \in {\mathbb {R}}^{p\times q}\) and vector \({\varvec{y}}\in {\mathbb {R}}^r\), the partial derivative of \( A({\varvec{y}})\) with respect to \({\varvec{y}}\) is given by
The following theorems and lemma are used in Sect. 4 to establish the nonlinear dynamical model of quadrotor.
Theorem 1
[31] If \(A({\varvec{y}})\in {\mathbb {R}}^{p\times q}\) and \(B({\varvec{y}})\in {\mathbb {R}}^{q\times s}\) are two matrices and \({\varvec{y}}\in {\mathbb {R}}^r\) be any vector, then the partial derivative of product of \(A({\varvec{y}})\) and \(B({\varvec{y}})\) with respect to \({\varvec{y}}\) is defined as
where \(I_{r}\in {\mathbb {R}}^{r\times r}\) denotes the identity matrix.
Theorem 2
If matrix \(A({\varvec{y}})\in {\mathbb {R}}^{p\times q}\) and vector \({\varvec{y}}\in {\mathbb {R}}^{r}\), the time derivative of \(A({\varvec{y}})\) with respect to \({\varvec{y}}\) is obtained as
The proof of the Theorems 1 and 2 can be found in [31].
To verify the existence of skew-symmetric property for Coriolis matrix in quadrotor dynamic equation, the following lemma will be used (see Sect. 4).
Lemma 3
Suppose \(I_{m}\in {\mathbb {R}}^{m\times m}\) is the identity matrix and \({\varvec{y}}\in {\mathbb {R}}^{n}\) is a vector. The two products \(\left( I_{m}\otimes {\varvec{y}}\right) {\varvec{y}}\) and \(\left( {\varvec{y}}\otimes I_{m}\right) {\varvec{y}}\) exist if \(n=m,\) and the following rule has been fulfilled.
2.2 Linear NI systems
The contents presented here can also be found in [1, 3, 6, 27, 29, 30, 32,33,34,35,36,37]. The definitions of NI system, strictly NI (SNI) system and output strictly NI (OSNI) system are reviewed. In addition, a key theorem from the linear NI framework is stated, which is important in this work.
Definition 3
[34] A proper real rational transfer matrix \(G:{\mathbb {C}}\rightarrow {\mathbb {C}}^{m\times m}\) is called NI system if
-
1.
G(s) has no poles in \({\mathcal {R}}\left[ s\right] >0;\)
-
2.
\(j\left[ G(j\omega )-G(j\omega )^{*}\right] \ge 0 \) in \(0<\omega <\infty \) except the values of \(\omega \) where \(j\omega \) is a pole of G(s);
-
3.
\(s=j\omega ,\ \omega >0\) is a pole of G(s); then, it is simple pole and respective residue matrix given by \(\lim \limits _{s\rightarrow j\omega }\left( s-j\omega \right) jG(s)=\displaystyle K\) is positive semi-definite and Hermitian.
-
4.
\(s=0\) is the pole of G(s); then, \(\displaystyle \lim _{s\rightarrow 0}s^{k}G(s)=0\) for all integer \(k\ge 3\) and \(\displaystyle \lim _{s\rightarrow 0}s^{2}G(s)\) is positive definite and Hermitian.
Definition 4
A proper real rational function matrix \(G:{\mathbb {C}}\rightarrow {\mathbb {C}}^{m\times m}\) is called SNI system if
-
1.
G(s) has no poles in \({\mathcal {R}} \left[ s \right] \ge 0;\)
-
2.
\(j\left[ G(j\omega )-G(j\omega )^{*}\right] > 0\) in \(0<\omega <\infty .\)
Definition 5
[26, 27, 30] A transfer function matrix \(G(s)\in \mathcal{RH}\mathcal{}^{m\times m}_\infty \) is called output SNI (OSNI) system, if there is a scalar value \(\delta > 0\) such that
where \(\tilde{G}(j\omega ) = G(j\omega )-G(\infty ).\)
The scalar \(\delta > 0\) is the index that determines the output strictness level of OSNI system.
Definition 6
[29] A dynamical system G defined by (7) is said to be dissipative with respect to an energy supply rate W(u, y) if there exists a differentiable storage function \(V: {\mathbb {R}}^{n}\rightarrow {\mathbb {R}}_{\ge 0}\) such that
Theorem 4
[26, 29, 30] Assume that G be the LTI square, causal system with the following state equations
where \(\left[ \begin{array}{c|c} A &{} B\\ C &{} D \end{array}\right] \) is the minimal realization of the system with \(D^{T}=D\) and matrix A is Hurwitz. Consider \(y-Du=\tilde{y}\) and if G(s) be the associated the transfer function matrix, the followings are equivalent for a given scalar \(\delta >0\):
-
1.
G(s) is output strictly NI (OSNI) with the output strictness level \(\delta \);
-
2.
There is a real matrix \(X=X^{T}> 0\) so that \(AX+XA^{T}+\delta \left( CAX \right) ^{T}\left( CAX \right) \le 0\ \text {and}\ B=-AXC^{T}\);
-
3.
In terms of supply rate \(\dot{\tilde{y}}^{T}u-\delta \left| \dot{\tilde{y}}\right| ^2=W(u,\dot{\tilde{y}})\), G is dissipative.
3 Fundamentals of nonlinear NI systems
This section illustrates some fundamental concepts of nonlinear NI systems along with significant findings, which are critical to this work.
Definition 7
[26, 27] The dynamical systems given by
are called nonlinear NI if there exists a positive definite storage function \(V:{\mathbb {R}}^{p}\rightarrow {\mathbb {R}}\) of class \(C^{1}\) function such that the dissipative inequality given by
is valid for all \(t\ge 0,\) where \(f: {\mathbb {R}}^{p}\times {\mathbb {R}}^{m} \rightarrow {\mathbb {R}}^{p}\) and \(h: {\mathbb {R}}^{p} \rightarrow {\mathbb {R}}^{m}\) are continuous Lipschitz and class \(C^{1}\) function, respectively.
Definition 8
[26] The system (8) is called nonlinear OSNI if there exists a positive definite storage function \(V:{\mathbb {R}}^{p}\rightarrow {\mathbb {R}}\) of class \(C^{1}\) function and a scalar \(\delta >0\) such that
for all \(t\ge 0.\)
The scalar value \(\delta \) is known as output strictness level of the system (8).
3.1 Asymptotic feedback stability for nonlinear NI systems
Consider the positive feedback loop between a nonlinear NI system \(H_1\) and a nonlinear output SNI (OSNI) system \(H_2\) as illustrated in Fig. 1. This positive interconnection determines the asymptotic stability of feedback system under certain assumptions [26, 28].
The following equations are assumed to describe the systems \(H_{i} (i=1, 2)\):
Consider the following assumptions that satisfy Eqs. (11) and (12) for every \(x_{i}(t), y_{i}(t)\) and \(u_{i}(t).\)
Assumption 1
[26] For any interval of time \(\left[ t_1, \ t_2\right] \) in which \(t_2>t_1\), \(y_{i}(t)\) remains constant if and only if \(x_{i}(t)\) remains constant, i.e. \(\dot{y_i}(t)\equiv 0 \iff \dot{x_i}(t)\equiv 0.\) Moreover, \(y_{i}(t)\equiv 0 \iff x_{i}(t)\equiv 0.\)
Assumption 2
[26] For any interval of time \(\left[ t_1, \ t_2\right] \) in which \(t_2>t_1\), \(x_{i}(t)\) remains constant only if \(u_{i}(t)\) remains constant, i.e. \(x_{i}(t)\equiv {\bar{x}}_{i} \Rightarrow u_{i}(t)\equiv {\bar{u}}_i.\) Moreover, \(x_{i}(t)\equiv 0 \Rightarrow u_{i}(t)\equiv 0.\)
Assumption 3
[26] Consider the open-loop interconnection as displayed in Fig. 2. Let \(y_{1}(t)\) be the output of \(H_1\) for any constant input \({\bar{u}}_1\). If \(u_{2}(t)\equiv y_{1}(t)\) is the input of \(H_{2}\) and \(y_{2}(t)\equiv {\bar{y}}_2\) is the corresponding constant output of \(H_2,\) there exists a scalar \(0<\gamma <1\) such that for constant input \({\bar{u}}_1\) and its corresponding constant output \({\bar{y}}_2\), we have
The next theorem provides the concept of feedback stability for positive interconnection as shown in Fig. 1. In other words, this theorem illustrates concept of asymptotic stability, i.e. states of the system converge to the origin.
Theorem 5
[26] Consider the positive feedback interconnection of the nonlinear NI system \(H_{1}\) and nonlinear OSNI system \(H_{2}\) as displayed in Fig. 1 such that Assumptions 1–3 are confirmed. If a storage function \(W\left( x_{1}, x_{2}\right) \) given by
is positive definite, where the functions \(V_{1}(x_1)\) and \(V_{2}(x_2)\) are both positive definite that satisfy (9) for \(H_1\) and (10) for \(H_{2}\), respectively, and functions \(h_{1}(x_1)\) and \(h_{2}(x_2)\) are the output of \(H_1\) and \(H_2\), respectively, then the positive feedback system depicted in Fig. 1 is asymptotically stable.
The concept of feedback stability for positive interconnection as shown in Fig. 1 will be further used in outer control loop of multi-loop control architecture (Fig. 4) for quadrotor system (see Sect. 6).
4 Dynamic model of nonlinear NI systems
Consider a quadrotor structure as shown in Fig. 3, where the angular velocities, torque and forces are generated by four rotors. Let \(\left\{ R \right\} \left( O, x, y, z \right) \) represent the inertial reference frame fixed to the earth and \(\left\{ R_{B} \right\} \left( O_B, x_B, y_B, z_B \right) \) denote body reference frame, where \(O_B\) is fixed to the quadrotor’s centre of mass.
The linear position and the angular position (i.e. attitude) with three Euler angles of the quadrotor are represented by \(\varvec{\xi }\) and \(\varvec{\eta }\), respectively, and \({\varvec{q}}\) is the vector that contains both \({\varvec{\xi }}\) and \({\varvec{\eta }}.\) The rotations of quadrotor around x, y and z axes are determined by the Roll angle \(\phi \), pitch angle \(\theta \) and yaw angle \(\psi \), respectively.
The Euler angles are also assumed to be constrained as follows [18]:
It is possible to transform the vector in body frame to the vector in inertial frame. If the force \({\varvec{F}}_{B}\) is represented in body reference frame coordinates, the force \({\varvec{F}}\) can be described as follows in inertial reference frame coordinates
where \({\varvec{R}}_{B\rightarrow E}\) is called transformation (rotation) matrix from body reference frame to the inertial reference frame and it is given by
where C and S denote \(\cos \) and \(\sin \) terms, respectively.
Since the transformation matrix \({\varvec{R}}\) is orthogonal, the transformation matrix from inertial reference frame to the body reference frame is given by \({\varvec{R}}^{-1}={\varvec{R}}^T.\) If \(\varvec{{\mathbb {W}}_\eta }\) is the transformation matrix for angular velocity from inertial reference frame to the body reference frame, then the relationship between the angular velocity vector \([p\ \ q\ \ r]^{T}=\varvec{\Omega }\) in inertial reference frame and angular velocity vector \([{\dot{\phi }}\ \ {\dot{\theta }}\ \ {\dot{\psi }}]^{T}=\varvec{{\dot{\eta }}}\) in the body reference frame can be expressed as:
The structure of quadrotor having four arms aligned with x and y axes of the body is assumed to be symmetric, and therefore, corresponding diagonal inertia matrix \({\varvec{I}}\) with \(I_{xx}=I_{yy}\) is given by
Here \(I_{xx}, I_{yy}\) and \(I_{zz}\) denote roll, pitch and yaw moment of inertia. The angular velocity, denoted by \(\omega _i\) of rotor i, generates \(f_i\) force in rotor axis direction. The angular velocity \(\omega _i\) and acceleration \(\dot{\omega _i}\) of the rotor produce torque \(\tau _{Mi}\) around the rotor axis.
Lift and drag constants are denoted by k and b, respectively, whereas \(I_M\) denotes the inertia moment of rotor. In most cases, the impact of \({\dot{\omega }}\) is assumed to be minor, and hence, it is neglected. The total forces of the rotors produce T thrust in z-axis direction of the body. The torques \(\tau _\phi , \tau _\theta \) and \(\tau _\psi \) in the direction of respective body frame angles constitute the \(\varvec{\tau _B}\) torque.
The length between the quadrotor’s centre of mass and rotor is given by l. The roll moment is acquired by reducing the second rotor’s velocity while raising the fourth rotor’s velocity. The pitch moment is achieved by reducing the first rotor’s velocity and raising the third rotor’s velocity. By increasing the two opposite rotor’s angular velocities, and reducing the velocities of other two, yaw moment is achieved .
4.1 Euler–Lagrange equation-based nonlinear NI system
The Euler–Lagrange approach is followed to develop a dynamic model of nonlinear negative imaginary system that explains the quadrotor’s translational and rotational motion. A Lagrangian can be determined by modelling the system’s energy, and therefore, the kinetic and potential energy differences are considered while deriving the Lagrangian. The system’s kinetic energy is modelled for both rotational and translational motion, whereas the system’s potential energy is solely dependent on altitude of quadrotor. If \(E_{trans}\) and \(E_{rot}\) denote the kinetic energy for translational and rotational motion and the potential energy is denoted by \(E_{pot}\), then Lagrangian \({\mathcal {L}}\) for the quadrotor can be obtained as
If \({\varvec{J}}(\varvec{\eta })\) denotes the positive definite Jacobian matrix from \(\varvec{\Omega }\) to \(\varvec{{\dot{\eta }}}\),
Hence, the rotational energy is represented in the earth frame (inertial frame) as
Thus, Lagrangian \({\mathcal {L}}\) is given by
where
Here \({\varvec{N}}\) is positive definite matrix. The Euler–Lagrange equation with torques and external forces of the quadrotor are given by
If we assume \({\varvec{h}}=\varvec{N{\dot{q}}}\), then Eq. (27) is written as
Using Theorem 1 including Definition 1 and Definition 2, we can obtain \(\frac{\partial {\mathcal {L}}}{\partial \dot{{\varvec{q}}}}\) from Eq. (30) as
where \(I_{n}\in {\mathbb {R}}^{n\times n}\) denotes the identity matrix.
If
where \(e_{i}\) is the ith column vector of \(I_{n}\), and
then, using Eqs. (32) and (33) in Eq. (31, we obtain
Transposing and taking the time derivative of Eq. (34), we obtain
Applying Theorem 2 in Eq. (35) and substituting the expression for time derivative of \({\varvec{N}}\), we have
Similarly, we can find \(\frac{\partial {\mathcal {L}}}{\partial {\varvec{q}}}\) from Eq. (30) as
If
On substituting Eq. (38) into Eq. (37) and transposing both sides of Eq. (37), we can obtain
Finally, on substituting Eqs. (36) and (39) into the Euler–Lagrange Eq. (29), we can obtain dynamic model of quadrotor
where gravity and Coriolis/centrifugal terms are as follows:
To extract the Coriolis matrix \({\varvec{C}}\) from Eq. (42), we need to show that matrix \(\varvec{{\dot{N}}}-2{\varvec{C}}\) is having skew-symmetric property. For this, we use Lemma 3 for the identity matrix \(I_{n}\in {\mathbb {R}}^{n\times n}\) and the vector \({\varvec{{\dot{q}}}}\in {\mathbb {R}}^{n},\) and obtain
By dividing the first term of right-hand side of Eq. (42) into two equal parts and substituting Eq. (43) into one of them, we get
The proposed Coriolis matrix formulation is constructed as
The skew-symmetric property of matrix \({\varvec{{\dot{N}}}}-2{\varvec{C}}\) is strongly guaranteed by the Coriolis matrix \({\varvec{C}}\) as given in (45). This can be proved, if we assume
According to Theorem 2, we can write \( {\varvec{{\dot{N}}}}=\frac{\partial {\varvec{N}}}{\partial {\varvec{q}}}\left( I_{n}\otimes \varvec{{\dot{q}}}\right) ={\varvec{\alpha }} \)
Since \({\varvec{\beta }}^{T}-{\varvec{\beta }}\) is skew-symmetric with an arbitrary square matrix \({\varvec{\beta }}\), \({\varvec{{\dot{N}}}}-2{\varvec{C(q, {\dot{q}})}}\) skew-symmetric matrix.
Remark 1
The matrix \({\varvec{{\dot{N}}}}-2{\varvec{C(q, {\dot{q}})}}\) is skew-symmetric; this is equivalent to the fact that the fictitious internal forces do no work on the system.
Now it remains to show that the dynamic model of quadrotor given by Eq. (40) is nonlinear negative imaginary system. The following lemma is used for this purpose.
Lemma 6
Consider the quadrotor dynamical model described by Eq. (40) having the \({\varvec{F}}\) input and \({\varvec{q}}\) output. The dynamical model given by Eq. (40) is then nonlinear NI system under a positive definite storage function V defined by
Proof
Since \(P({\varvec{q}})\) nonnegative scalar quantity and matrix \({\varvec{N(q)}}\) is positive definite, V is positive definite.
By taking time derivative V, we have
From Eq. (40), we have
Since \({\varvec{G(q)}}\) is the scalar quantity,
\({\varvec{{\dot{q}}}}^{T}\left( {\varvec{{\dot{N}}}}-2{\varvec{C}}\right) {\varvec{{\dot{q}}}}=0\) . It is well established in [25]. This means that the so-called fictitious forces, defined by \({\varvec{C(q,{\dot{q}}){\dot{q}}}}\), do not work on the system.
According to Definition 7, this demonstrates that the quadrotor dynamical model is nonlinear NI system from force input \({\varvec{F}}=[{\varvec{f}},\ \ {\varvec{\tau }}]^{T}\) to position output \({\varvec{q}}=[{\varvec{\xi }},\ \ {\varvec{\eta }}]^{T}\). \(\square \)
5 Nonlinear state-space model of quadrotor
The angular and linear components are independent of one another, and they may be analysed individually. The external linear force is the total thrust of the rotors. As a result, we may formulate the following equation via Euler–Lagrange Eq. (29)
Here the translational force is applied to the quadroter because of the main control input \(u_{1}=k\sum \nolimits _{i=1}^{4}\omega ^{2}_{i}\) in z axis direction. Equation (48) represents the translational subsystem model of quadroter.
To obtain the rotational subsystem model, at first, we apply Eq. (25) to calculate the rotational inertia Jacobian matrix \({\varvec{J}}(\varvec{\eta })\) from \(\varvec{\Omega }\) to \(\varvec{{\dot{\eta }}}\) and obtain
The angular external force of the quadrotor is the torques of the rotors. Therefore, using Euler–Lagrange Eq. (29), we can get the following equation.
This can be expressed as
According to Eq. (42), we can rewrite Eq. (50) as
where
represents the Coriolis matrix, containing the gyroscopic and centripetal terms.
On evaluating Eq. (52) using MATLAB Symbolic Math Toolbox, we can obtain the Coriolis matrix \({\varvec{C}}(\varvec{\eta }, \dot{\varvec{\eta }})\) in the following form:
where
Consider torque \({\varvec{\tau }}_{B}\) consists of the torques \(\tau _\phi , \tau _\theta \) and \(\tau _\psi \) is applied to the quadrotor due to control input \(u_2, u_{3}\) and \(u_4\) in direction of the respective body frame angles. Hence, according to Eq. (23), we can write
From Eqs. (51) and 54, the rotational subsystem model of quadrotor is obtained in the following form:
The quadroter system described by Eqs. (48) 55 can easily be written in state-space form
with input vector \({\varvec{u}}=\begin{bmatrix}u_1&u_2&u_3&u_4 \end{bmatrix}^T=\begin{bmatrix}f&\tau _\phi&\tau _\theta&\tau _\psi \end{bmatrix}^T.\) and state vector \({\varvec{x}}{=}\left[ \begin{array}{c c c c c c c c c c c c} x_1&x_2&x_3&x_4&x_5&x_6&x_7&x_8&x_9&x_{10}&x_{11}&x_{12} \end{array}\right] ^T = \left[ \begin{array}{c c c c c c c c c c c c} x&{\dot{x}}&y&{\dot{y}}&z&{\dot{z}}&\phi&{\dot{\phi }}&\theta&{\dot{\theta }}&\psi&{\dot{\psi }} \end{array}\right] ^{T}\)
6 Control synthesis method
In this paper, we are interested to find the control solution for the problem of stabilizing the attitude of quadrotor subsystem (55) around specified reference angles by applying a nonlinear NI technique. For this purpose, we consider controller synthesis for the rotational subsystem of quadrotor whose states are given by pitch, roll and yaw angles and its time derivatives. The nonlinear state-space model of rotational system
can be obtained from Eq. (55), where
Consider the multi-loop control architecture as shown in Fig. 4. In this section, we investigate the inner–outer loop control method based on nonlinear NI systems theory to stabilize the quadrotor’s attitude, i.e. Euler angles \({\varvec{\eta }}=[x_7,\ x_9, \ x_{11}]^{T}=[\phi ,\ \theta , \ \psi ]^{T}\) around desired reference angles \({\varvec{\eta }}_d=[x^{d}_7,\ x^{d}_9, \ x^{d}_{11}]^{T}=[\phi _d,\ \theta _d, \ \psi _d]^{T}.\)
6.1 Inner control loop
The inner control loop is constructed due to the free dynamic nature of quadrotor. Consider the following feedback control law
where
is the diagonal positive matrix and it’s elements \(k_\phi , k_\theta \) and \(k_\psi \) are treated as tuning control parameters and \({\varvec{\nu }}=[\nu _1,\ \nu _2,\ \nu _3]^{T}\) is new updated input torque for the rotational quadrotor system in the inner control loop. Thus, the torque \({\varvec{\tau }}_B\) is defined as follows:
If we consider the desired reference attitude \({\varvec{\eta }}_d{=}[x^{d}_7,\ x^{d}_9, \ x^{d}_{11}]^{T}=[0,\ 0, \ 0]^{T}\), then the nonlinear quadrotor rotational subsystem can be written in the following form:
where
and matrix \({\varvec{C}}(\varvec{\eta }, \dot{\varvec{\eta }})\) can be obtained from (53). Equivalently, nonlinear quadrotor rotational system can be expressed as
The rotational dynamical model of quadrotor described by Eq. (60) is a nonlinear NI system, according to the following lemma:
Lemma 7
Consider the rotational dynamical model of quadrotor (60) with input \({\varvec{\nu }}\) and output \({\varvec{\eta }}\). Then, the rotational dynamical model (60) is the NI nonlinear system under the positive definite storage function defined by
Proof
Since \({\varvec{K}}>0\) and \({\varvec{J}}\) is positive definite inertia matrix, it follows that V is the valid positive definite storage function.
Differentiating Eq. (61) with respect to time, we get
From Eq. (60), we have
Since it is well established in [25] that \({\varvec{{\dot{\eta }}}}^{T}\left( {\varvec{{\dot{J}}}}-2{\varvec{C}}\right) {\varvec{{\dot{\eta }}}} =0 \),
According to Definition 7, this shows that the quadrotor rotational subsystem is nonlinear NI between force input \({\varvec{\nu }}\) and displacement output \({\varvec{\eta }}\). \(\square \)
6.2 Outer control loop
Consider the outer positive feedback control loop as shown in Fig. 4. The following integral resonant controller (IRC) [1, 38] is selected as a outer control loop controller
where \({\varvec{\Gamma }}\) and \({\varvec{\Phi }}\) are positive definite matrix given by
Here \({\varvec{\Gamma }}\) and \({\varvec{\Phi }}\) are considered as the tuning parameters. Integral resonant controller employ position actuator, force sensor and integral feedback to generate integral force feedback. Adding a direct feedthrough to a resonant system with a colocated force actuator and position sensor yields integral resonant controller [1, 38]. The use of integral feedback causes the resonant poles to be dampened. The form of controller (62) is produced by combining the direct feedthrough with the integral feedback. According to the following theorem, the integral resonant controller (62) is strictly negative imaginary.
Theorem 8
[1] The transfer function matrix (62) with positive definite matrices \({\varvec{\Gamma }}\) and \({\varvec{\Phi }}\) is strictly negative imaginary system.
In order to apply Theorem 5 in the positive feedback outer loop as shown in Fig. 4 to achieve asymptotic attitude stability of the quadrotor, we need to verify the followings:
-
1.
SNI controller given by (62) is equivalence of nonlinear OSNI system;
-
2.
Validity of the Assumptions 1 to 3 for the positive feedback outer loop as shown in Fig. 4.
The following proposition from [30] is used to verify that SNI system (62) belongs to the OSNI class.
Proposition 1
The subset of SNI systems that satisfy the condition
belong to the OSNI class.
If we evaluate the condition (63) for the SNI controller (62), we get
Thus, outer loop controller \({\varvec{C_{\nu }}}\) given by Eq. (62) is OSNI.
Again, it follows from Theorem 4 that the minimal realization of \({\varvec{C_{\nu }}}(s)\), i.e. \(\left[ \begin{array}{c|c} a &{} b\\ \hline c &{} d \end{array}\right] \) (say) or equivalently
is dissipative with respect to the supply rate given by \( \dot{\tilde{y}}^{T}u-\delta \left| \dot{\tilde{y}}\right| ^{2}=W(u,\dot{\tilde{y}})\). Therefore, there exists a positive definite storage function V(x) and scalar \(\delta >0\) which satisfies \({\dot{V}}(x)\le {\dot{y}}^{T}u-\delta \left| {\dot{y}}\right| ^{2}.\)
Therefore, by considering the storage function
Since \(y=x\), so we get
For \(\delta >0\), the storage function \(V=\frac{1}{2}x^{T}{\varvec{\Phi }} x\) satisfies the dissipative inequality. Hence, outer loop controller (62) is equivalent to nonlinear OSNI system.
Now it remains to show that the validity of Assumptions 1to 3 for the positive feedback outer loop as shown in Fig. 4. In steady-state case, we have \({\varvec{f_{r}({\bar{x}}_{r}, {\bar{\tau }}_B)}}=0\); this implies that \({\bar{x}}_8={\bar{x}}_{10}={\bar{x}}_{12}=0\) and
So, for every constant value of input \({\varvec{\nu }}\), we can get the corresponding constant value of \({\varvec{x_r}}\). As a result, Assumption 2 is valid. Because controller (62) is a linear system and in steady-state case \({\varvec{{\bar{y}}={\bar{x}}_{r}}}\), Assumption 1 is also trivially true.
To verify the Assumption 3, consider an open-loop connection as illustrated in Fig. 5. At steady state, DC gain of the controller (62) is given by
From Fig. 5, we can write
Therefore, to guarantee that Assumption 3 is true such that \(0<\gamma < 1\), we select the controller tuning parameter \({\varvec{\Phi }}\) so that
According to inequality (66), we have obtained a lower bound on \({\varvec{\Phi }}\) which is required to attain asymptotic attitude stability of the quadrotor by applying Theorem 5.
Remark 2
If the parameters of controller (62) are chosen in such a way that \({\varvec{\Gamma>0,\ \Phi >}}0\) and condition (66) are satisfied, then Theorem 5 assures the robust stability of quadrotor rotational system (57) in a multi-loop control architecture as demonstrated in Fig. 4.
7 Numerical simulations and results analysis
In order to show the effectiveness of investigated control synthesis method for the stability of nonlinear quadrotor rotational model, the numerical simulation results are presented. The aim of the simulation is to show the attitude stability of quadrotor while it is hovering. Therefore, the desired reference attitude \(\eta _d\) is set to zero, i.e. \(\phi _d=\theta _{d}=\psi _{d}=0^{\circ }\). The values of the quadrotor model parameters used in the simulation are given as follows [19]:
The parameters of the inner loop controller are selected as \(k_\phi =k_\theta =k_\psi =15\); therefore, the inner loop controller is given by
According to condition (66) and Remark 2, the following gains are selected for the outer loop controller (62):
The initial state of the attitude vector is selected as \(\phi =30^{\circ },\ \theta =-20^{\circ },\ \psi =10^{\circ }\), and the control objective is to maintain stability of the quadrotor at a hovering position, i.e. \(\phi _d=\theta _{d}=\psi _{d}=0^{\circ }\).
The mathematical model of the quadrotor with multi-loop control architecture is implemented for simulation in MATLAB/Simulink using S-function programming, and the roll (\(\phi \)), pitch (\(\theta \)) and yaw (\(\psi \)) angles responses are obtained. The angles responses are represented in radians rather than degrees. The simulations results in Fig. 6 demonstrates that the proposed synthesis method stabilizes the quadrotor’s attitude to the desired hovering position.
To test the robustness of attitude control, we added the step disturbance to the quadrotor’s attitude system and executed simulations. The simulation results shown in Figs. 7, 8 and 9 demonstrate that the controller rejects disturbances in minimum time. There is an overshoot in responses that is due to fast response of the system.
8 Conclusion
In this article, modelling and control of nonlinear negative imaginary system are investigated using an illustrative physical example of quadrotor model. The article first describes the complete generalized method via Euler–Lagrange equation to obtain a nonlinear NI dynamic model for the quadrotor. Moreover, using the Kronecker product, the Coriolis matrix formulation for quadrotors is also proposed. This article further illustrates the nonlinear NI theory-based multi-loop control scheme for the attitude stability of quadrotor while it is hovering. This control scheme directly employs the Euler angles (angular positions) instead of angular velocity measurements. The numerical simulation results of this paper justify the control synthesis method for the quadrotor system. Since the nonlinear NI structure of the quadrotor model is illustrated by underlying analysis of this paper, we can accomplish a variety of control goals (e.g. trajectory tracking, altitude control and so on) for the quadrotor in future.
Data Availability
Not applicable.
Code Availability
Not applicable.
Change history
03 September 2022
Missing Open Access funding information has been added in the Funding Note.
Abbreviations
- \(\otimes \) :
-
Kronecker product operator
- \({\mathbb {R}}\) :
-
Fields of real number
- \({\mathbb {C}}\) :
-
Fields of Complex number
- \({\mathbb {R}}^{m\times n}\) :
-
Real matrix of \(m\times n\) dimension
- \({\mathbb {C}}^{m\times n}\) :
-
Complex matrix of \(m\times n\) dimension
- \({\mathcal {R}}(s)\) :
-
Real part of \(s\in {\mathbb {C}}\)
- \(\mathcal{RH}\mathcal{}^{m\times m}_{\infty }\) :
-
Proper real stable transfer function matrix of \(m\times m\) dimension
- \(\mathrm {A}^T\) :
-
Transpose of matrix \(\mathrm {A}\)
- \(A^{*}\) :
-
Complex-conjugate transpose of \(\mathrm {A}\)
- \(C^{1}\) :
-
Differentiable functions whose derivative is continuous
- \(\overline{\left( \cdot \right) }\) :
-
Signal constant value
References
Petersen IR, Lanzon A (2010) Feedback control of negative-imaginary systems. IEEE Control Syst Mag 30(5):54–72
Lanzon A, Petersen IR (2008) Stability robustness of a feedback interconnection of systems with negative imaginary frequency response. IEEE Trans Autom Control 53(4):1042–1046
Song Z, Lanzon A, Patra S, Petersen IR (2012) Robust performance analysis for uncertain negative-imaginary systems. Int J Robust Nonlinear Control 22(3):262–281
Mabrok MA, Kallapur AG, Petersen IR, Lanzon A (2014) Generalizing negative imaginary systems theory to include free body dynamics: control of highly resonant structures with free body motion. IEEE Trans Autom Control 59(10):2692–2707
Mabrok MA, Lanzon A, Kallapur AG, Petersen IR (2013) Enforcing negative imaginary dynamics on mathematical system models. Int J Control 86(7):1292–1303
Bhowmick P, Patra S (2017) An observer-based control scheme using negative-imaginary theory. Automatica 81:196–202
Ghallab AG, Mabrok MA, Petersen IR (2017) Lyapunov-based stability of feedback interconnections of negative imaginary systems. IFAC-PapersOnLine 50(1):3424–3428
Mabrok MA, Petersen IR (2016) Controller synthesis for negative imaginary systems: a data driven approach. IET Control Theory Appl 10(12):1480–1486
Mabrok MA, Haggag MA, Petersen IR (2015) System identification algorithm for negative imaginary systems. Appl Comput Math 14(3):336–348
Ferrante A, Lanzon A, Ntogramatzidis L (2017) Discrete-time negative imaginary systems. Automatica 79:1–10
Wang J, Lanzon A, Petersen IR (2015) Robust output feedback consensus for networked negative-imaginary systems. IEEE Trans Autom Control 60(9):2547–2552
Xiong J, Lam J, Petersen IR (2016) Output feedback negative imaginary synthesis under structural constraints. Automatica 71:222–228
Skeik O, Lanzon A (2019) Distributed robust stabilization of networked multiagent systems with strict negative imaginary uncertainties. Int J Robust Nonlinear Control 29(14):4845–4858
Buscarino A, Fortuna L, Frasca M (2016) Forward action to make a system negative imaginary. Syst Control Lett 94:57–62
Bhikkaji B, Moheimani SR, Petersen IR (2011) A negative imaginary approach to modeling and control of a collocated structure. IEEE/ASME Trans Mechatron 17(4):717–727
Ghallab AG, Petersen IR (2022) Negative imaginary systems theory for nonlinear systems: a dissipativity approach. arXiv preprint arXiv:2201.00144
Lozano R, Brogliato B, Egeland O, Maschke B (2013) Dissipative systems analysis and control: theory and applications, 2nd edn. Springer, New York
Raffo GV, Ortega MG, Rubio FR (2010) An integral predictive/nonlinear \(h_\infty \) control structure for a quadrotor helicopter. Automatica 46(1):29–39
Bolandi H, Rezaei M, Mohsenipour R, Nemati H, Smailzadeh SM (2013) Attitude control of a quadrotor with optimized PID controller. Intell Control Autom 4(3):335–342
Bai Y, Liu H, Shi Z, Zhong Y (2012) Robust control of quadrotor unmanned air vehicles. In: Proceedings of the 31st Chinese control conference. IEEE, pp 4462–4467
Bouadi H, Bouchoucha M, Tadjine M (2007) Modelling and stabilizing control laws design based on backstepping for an UAV type-quadrotor. IFAC Proc Vol 40(15):245–250
Alexis K, Nikolakopoulos G, Tzes A (2012) Model predictive quadrotor control: attitude, altitude and position experimental studies. IET Control Theory Appl 6(12):1812–1827
Chang J, Cieslak J, Dávila J, Zhou J, Zolghadri A, Guo Z (2017) A two-step approach for an enhanced quadrotor attitude estimation via IMU data. IEEE Trans Control Syst Technol 26(3):1140–1148
Castillo P, Lozano R, Dzul A (2005) Stabilization of a mini rotorcraft with four rotors. IEEE Control Syst Mag 25(6):45–55
Ortega R, Spong MW (1989) Adaptive motion control of rigid robots: a tutorial. Automatica 25(6):877–888
Shi K, Vladimirov IG, Petersen IR (2021) Robust output feedback consensus for networked identical nonlinear negative-imaginary systems. IFAC-PapersOnLine 54(9):239–244
Mabrok MA, Alyami MA, Mahmoud EE (2021) On the dissipativity property of negative imaginary systems. Alex Eng J 60(1):1403–1410
Ghallab AG, Mabrok MA, Petersen IR (2018) Extending negative imaginary systems theory to nonlinear systems. In: 2018 IEEE conference on decision and control (CDC). IEEE, pp 2348–2353
Bhowmick P, Lanzon A (2019) Output strictly negative imaginary systems and its connections to dissipativity theory. In: 2019 IEEE 58th conference on decision and control (CDC). IEEE, pp 6754–6759
Bhowmick P, Patra S (2017) On lti output strictly negative-imaginary systems. Syst Control Lett 100:32–42
Van Khang N (2010) Consistent definition of partial derivatives of matrix functions in dynamics of mechanical systems. Mech Mach Theory 45(7):981–988
Dey A, Patra S, Sen S (2016) Absolute stability analysis for negative-imaginary systems. Automatica 67:107–113
Patra S, Lanzon A (2011) Stability analysis of interconnected systems with mixed negative-imaginary and small-gain properties. IEEE Trans Autom Control 56(6):1395–1400
Lanzon A, Chen H-J (2017) Feedback stability of negative imaginary systems. IEEE Trans Autom Control 62(11):5620–5633
Ferrante A, Lanzon A, Ntogramatzidis L (2015) Foundations of not necessarily rational negative imaginary systems theory: relations between classes of negative imaginary and positive real systems. IEEE Trans Autom Control 61(10):3052–3057
Petersen IR (2016) Negative imaginary systems theory and applications. Annu Rev Control 42:309–318
Choudhary SK (2017) LMI based robust state feedback control of negative-imaginary systems. Int J Dyn Control 5(2):347–356
Bhikkaji B, Moheimani SR, Petersen IR (2008) Multivariable integral control of resonant structures. In: 2008 47th IEEE conference on decision and control. IEEE, pp 3743–3748
Funding
Open access funding provided by Manipal Academy of Higher Education, Manipal.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
The authors have no conflicts of interest to declare. All co-authors have seen and agreed with the contents of the manuscript and there is no financial interest to report.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Choudhary, S.K., Chokkadi, S. & Sudhakara, G. Modelling and control of nonlinear negative imaginary systems. Int. J. Dynam. Control 11, 271–285 (2023). https://doi.org/10.1007/s40435-022-00960-2
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s40435-022-00960-2