Javascript is required
1.
J. D. Guo, C. Y. Liang, K. Wang, B. Sang, and Y. L. Wu, “Three-dimensional autonomous obstacle avoidance algorithm for uav based on circular arc trajectory,” Int. J. Aerosp. Eng., vol. 2021, p. 8819618, 2021. [Google Scholar] [Crossref]
2.
V. Lappas, H. S. Shin, A. Tsourdos, D. Lindgren, S. Bertrand, J. Marzat, H. Piet-Lahanier, Y. Daramouskas, and V. Kostopoulos, “Autonomous unmanned heterogeneous vehicles for persistent monitoring,” Drones, vol. 6, no. 4, p. 94, 2022. [Google Scholar] [Crossref]
3.
C. Pfeifer, A. Barbosa, O. Mustafa, H. U. Peter, M. C. Rümmler, and A. Brenning, “Using fixed-wing uav for detecting and mapping the distribution and abundance of penguins on the south shetlands islands, antarctica,” Drones, vol. 3, no. 2, p. 39, 2019. [Google Scholar] [Crossref]
4.
E. Aldao, L. M. González-deSantos, H. Michinel, and H. González-Jorge, “Uav obstacle avoidance algorithm to navigate in dynamic building environments,” Drones, vol. 6, no. 1, p. 16, 2022. [Google Scholar] [Crossref]
5.
J. A. Marshall, W. Sun, and A. L’Afflitto, “A survey of guidance, navigation, and control systems for autonomous multi-rotor small unmanned aerial systems,” Annu. Rev. Control, vol. 52, pp. 390–427, 2021. [Google Scholar] [Crossref]
6.
M. Z. Ali, A. Ahmed, and H. K. Afridi, “Control system analysis and design of quadcopter in the presence of unmodelled dynamics and disturbances,” IFAC-PapersOnLine, vol. 53, no. 2, pp. 8840–8846, 2020. [Google Scholar] [Crossref]
7.
A. S. Vempati, V. Choudhary, and L. Behera, “Quadrotor: Design, control and vision based localization,” IFAC Proceedings Volumes, vol. 47, no. 1, pp. 1104–1110, 2014. [Google Scholar] [Crossref]
8.
N. Xuan-Mung, N. P. Nguyen, T. Nguyen, D. B. Pham, M. T. Vu, H. L. N. N. Thanh, and S. K. Hong, “Quadcopter precision landing on moving targets via disturbance observer-based controller and autonomous landing planner,” IEEE Access, vol. 10, pp. 83580–83590, 2022. [Google Scholar] [Crossref]
9.
M. Idrissi, M. Salami, and F. Annaz, “A review of quadrotor unmanned aerial vehicles: Applications, architectural design and control algorithms,” J. Intell. Robot. Syst. Theory Appl., vol. 104, no. 22, 2022. [Google Scholar] [Crossref]
10.
A. Eltayeb, M. F. ad Rahmat, M. A. M. Basri, A. M. Mohammed  Eltoum, and S. El-Ferik, “An improved design of an adaptive sliding mode controller for chattering attenuation and trajectory tracking of the quadcopter uav,” IEEE Access, vol. 8, pp. 205968–205979, 2020. [Google Scholar] [Crossref]
11.
B. W. Xu and X. J. Lu, “An online adaptive control strategy for trajectory tracking of quadrotors based on fuzzy approximation and robust sliding mode algorithm,” IEEE Access, vol. 8, pp. 215327–215342, 2020. [Google Scholar] [Crossref]
12.
A. Al-Mahturi, F. Santoso, M. A. Garratt, and G. S. Anavatti, “Self-learning in aerial robotics using type-2 fuzzy systems: Case study in hovering quadrotor flight control,” IEEE Access, vol. 9, pp. 119520–119532, 2021. [Google Scholar] [Crossref]
13.
M. Rabah, A. Rohan, S. A. S. Mohamed, and S. H. Kim, “Autonomous moving target-tracking for a uav quadcopter based on fuzzy-pi,” IEEE Access, vol. 7, pp. 38407–38419, 2019. [Google Scholar] [Crossref]
14.
S. K. Kim and C. K. Ahn, “Auto-tuner-based controller for quadcopter attitude tracking applications,” IEEE Trans. Circuits Syst. II Express Briefs, vol. 66, no. 12, pp. 2012–2016, 2019. [Google Scholar] [Crossref]
15.
P. A. Darwito and K. D. Wahyuadnyana, “Performance examinations of quadrotor with sliding mode controlneural network on various trajectory and conditions,” Math. Model. Eng. Probl., vol. 9, no. 3, pp. 707–714, 2022. [Google Scholar] [Crossref]
16.
B. Sumantri, N. Uchiyama, and S. Sano, “Least square based sliding mode control for a quad-rotor helicopter and energy saving by chattering reduction,” Mech. Syst. Signal Process., vol. 66–67, pp. 769–784, 2016. [Google Scholar] [Crossref]
17.
J. J. Xiong and E. H. Zheng, “Optimal kalman filter for state estimation of a quadrotor uav,” Optik (Stuttg)., vol. 126, no. 21, pp. 2862–2868, 2015. [Google Scholar] [Crossref]
18.
E. P. Herrera-Granda, L. L. Lorente-Leyva, J. Yambay, J. Aranguren, M. Ibarra, and J. Peña, “Controller modeling of a quadrotor,” Ing. Syst. Inf., vol. 27, no. 1, pp. 21–28, 2022. [Google Scholar] [Crossref]
19.
N. P. Nguyen, N. X. Mung, H. L. N. N. Thanh, T. T. Huynh, N. T. Lam, and S. K. Hong, “Adaptive sliding mode control for attitude and altitude system of a quadcopter uav via neural network,” IEEE Access, vol. 9, pp. 40076–40085, 2021. [Google Scholar] [Crossref]
20.
J. A. Cano-González, O. Salas-Peña, S. V. Gutierrez, and J. De León-Morales, “Quadrotor altitude control based on sliding mode control,” Iran. J. Sci. Technol. - Trans. Electr. Eng., vol. 45, pp. 543–551, 2021. [Google Scholar] [Crossref]
21.
S. Vaidyanathan and C. H. Lien, Applications of Sliding Mode Control in Science and Engineering. Switzerland: Springer Cham, 2017. [Online]. Available: [Google Scholar] [Crossref]
22.
H. Kwon, K. Lee, and K. You, “Ekf based sliding mode control for a quadrotor attitude stabilization,” in 2017 International Conference on Intelligent Informatics and Biomedical Sciences (ICIIBMS), February 05 2018, Okinawa, Japan, 2017, pp. 101–104. [Online]. Available: [Google Scholar] [Crossref]
23.
W. J. Liang, “Attitude estimation of quadcopter through extended kalman filter,” 2017. https://core.ac.uk/download/pdf/228656264.pdf [Google Scholar]
Search
Open Access
Research article

Performance Evaluation of a Sliding Mode Control-Kalman Filter-Based Mathematical Model for Altitude and Attitude Control in Quadcopters

purwadi agus darwito*,
nilla perdana agustina
Department of Engineering Physics, Sepuluh Nopember Institute of Technology (ITS), 60111 Surabaya, East Java, Indonesia
Journal of Intelligent Systems and Control
|
Volume 2, Issue 2, 2023
|
Pages 70-81
Received: 02-19-2023,
Revised: 04-19-2023,
Accepted: 05-24-2023,
Available online: 06-05-2023
View Full Article|Download PDF

Abstract:

This study presents an evaluation of a mathematical model designed for altitude and attitude control in quadcopters, employing Sliding Mode Control (SMC) in conjunction with the Kalman Filter algorithm. The developed mathematical model focuses on controlling the quadcopter's height along the z-axis and its attitude, encompassing roll, pitch, and yaw. Simulation results demonstrate that the quadcopter achieves stable control within a time span of 2 to 4 seconds. The designed control system has been simulated, implemented on a mini-quadcopter, and tested for the occurrence of chattering events. The incorporation of the SMC-Kalman Filter control system effectively mitigates chattering, resulting in enhanced stability for the quadcopter. This work show cases the potential of the proposed mathematical model in achieving precise and stable control in quadcopters, thus expanding the applicability of such systems in various applications.
Keywords: Quadcopter, Sliding Mode Control (SMC), Kalman Filter, Chattering

1. Introduction

The growth and application of UAV (Unmanned Aerial Vehicle) technology has not only changed the direction of industrial development, but also brought market and economic benefits [1]. UAVs are applied not only in various civil and military fields such as air patrols, exploration of natural resources, as well as tracking victims of natural disasters, mapping areas, monitoring natural disasters, but also in detecting humans and assisting in search and rescue scenarios [2], [3], [4]. One type of UAV currently being researched is the quadcopter [5]. Due to its various advantages over other unmanned aerial vehicles (UAVs), including the capacity to take off and land vertically, high levels of agility and maneuverability [6], small size, and low cost [7], quadcopter UAVs are gaining popularity in recent years [8]. This popularity has become the main attraction for researchers to develop a control system for quadcopters [9]. Several control systems on quadcopters have been extensively studied to track trajectories according to predetermined patterns. The design of the tracking system with Sliding Mode Controller and Fuzzy Type-2 has succeeded in tracking the required track and significantly reducing the chatter generated by the SMC. Quadcopter is divided into two subsystems, namely, attitude and position [10], [11], [12]. In addition to directing movement based on the trajectory, a quadcopter control system has also developed a moving target tracking system, and the research was carried out using a camera based on the Fuzzy–PI control system [13]. The Attitude control system with Auto Tuner has been developed for the trajectory tracking system on quadcopters. The results obtained are in accordance with the bias results using the Self-Tuner, which can be in accordance with the specified trajectory [14]. Recent research has been carried out through numerical simulations, the effectiveness of Sliding Mode Control (SMC) together with backpropagation neural network (NN) as the main control of the quadrotor dynamic system was tested on various paths and situations [15].

Some of the research above regarding trajectory tracking has been widely developed, for control systems are widely applied using a sliding mode controller algorithm. However, since the shift mode controller is a high-speed switching feedback control, engineers may encounter unfavorable oscillations with limited frequency and amplitude, or “chattering”, in practical application of shift mode control [16]. Position and attitude control with integrated SMC is adaptive for inner (position) and outer (attitude) loops. Various control systems have been studied to overcome the chattering problem in Sliding Mode Control, one of which uses the Kalman Filter. The main function of the Kalman Filter is not to filter or filter the incoming signal, but to estimate according to the given input, therefore, the signal results after going through the Kalman Filter process appear to be filtered [17], [18]. Previous studies that have been carried out have succeeded in making numerical simulations that can be tested in various trajectories [15]. However, the quadcopter must go through several phases of flight. The flight phase of the movement on the quadcopter is divided into 3 main phases, namely taking off, hovering and landing [19]. Altitude and attitude control on the quadcopter is key so that the quadcopter can take off and hover in a stable manner. Several studies have been conducted to create an altitude and attitude control system using the SMC [20]. Control system development continues to be carried out to reduce chattering resulting from the SMC method [21]. Altitude and attitude control on a quadcopter has not been studied previously. Therefore, the Sliding Mode Control and Kalman Filter control systems to reduce the chattering phenomenon will be discussed for the altitude and attitude control system on the quadcopter. In this paper, a comparison of the altitude and attitude control systems on a quadcopter with SMC and SMC-Kalman Filter will be made. In addition, wind disturbances that occur to the quadcopter outdoors will be considered. The design of a mathematical model for controlling altitude and attitude systems on a quadcopter based on the SMC–Kalman Filter will be tested directly on the quadcopter to see the performance of the quadcopter with the application of the mathematical model that has been made.

2. Quadcopter Mathematical Modelling

The model adopts basic quadrotor structure with the Euler angles of roll, pitch, and yaw, a body coordinate frame b, and a global coordinate frame G [22].

Figure 1. Basic quadrotor structure

The rotational and translational motions of the quadcopter are formed based on basic structure in Figure 1. Any orientation of a rigid body can be achieved by the combination of the three basic Euler angles. The rotation matrix for each Euler angle is given by Eq. (1):

$\begin{aligned} & R_x(\phi)= {\left[\begin{array}{ccc} 1 & 0 & 0 \\ 0 & c(\phi) & s(\phi) \\ 0 & -s(\phi) & c(\phi) \end{array}\right] } \\ & R_y(\theta)=\left[\begin{array}{ccc} c(\theta) & 0 & -s(\theta) \\ 0 & 1 & 0 \\ s(\theta) & 0 & c(\theta) \end{array}\right] \\ & R_z(\psi)=\left[\begin{array}{ccc} c(\psi) & s(\psi) & 0 \\ -s(\psi) & c(\psi) & 0 \\ 0 & 0 & 1 \end{array}\right] \end{aligned}$
(1)

with $s_x= sin x$ and $c_x= cos x$, the following describes how the global and body coordinate frames are transformed.

$X^G=R_b^G x^b=R_X(\phi)^T \cdot R_y(\theta)^T \cdot R_X(\psi)^T X^G=\left(R_G^b\right)^T x^b$
(2)
$\mathrm{R}=\left[\begin{array}{ccc} C_\psi C_\theta & C_\psi S_\theta S_\phi-C_\phi S_\psi & C_\psi S_\theta C_\phi+S_\psi S_\phi \\ S_\psi C_\theta & S_\psi S_\theta S_\phi+C_\psi C_\phi & S_\psi S_\theta C_\phi-C_\psi S_\phi \\ -S_\theta & C_\theta S_\phi & C_\theta C_\phi \end{array}\right]$
(3)

Under assumption that the quadcopter has a symmetric structure with the four arms aligned with the body x- and y-axes, it means that the quadcopter is designed in a way that the four arms are evenly distributed around the central point of the quadcopter’s body, forming a symmetric pattern. This design feature can help ensure that the quadcopter is stable and balanced during flight. By aligning the arms with the body x- and y-axes, it is easier to control the quadcopter’s movements along those axes. This can make it easier to perform tasks such as hovering in a fixed position, flying forward or backward in a straight line, or turning left or right.

The quadcopter’s translation motions, which are represented in the body frame according to Newton’s second law, are acquired by taking into account its forces F, which are described in the global frame by:

$F^G=m \frac{d}{d t}\left(v^G\right)$
(4)

To relate the two frames, $\omega$ is used to describe the angular rotation of the body fixed frame with respect to the global fixed frame.

$\sum F^b=m \dot{v}^b+\omega^b \times\left(m v^b\right)$
(5)

where, $\omega$ is the angular velocity vector and Eq. (5) is the non-linear translational motion.

$J_b=\left[\begin{array}{ccc}J_x & 0 & 0 \\ 0 & J_y & 0 \\ 0 & 0 & J_z\end{array}\right]$
(6)

$J_x$, $ J_y$, and $J_z$ are the moments of inertia about the principal axes in the body frame, and $J_xy$= $J_xz$ =$J_yx$ =$J_yz$ =$J_zx$ =$J_zy$ = 0, since the quadcopter structure is symmetric. Nonlinear dynamics of quadrotor can be expressed as follows:

$\ddot{\phi}=\frac{1}{J_x}\left[\left(J_y-J_z\right) q r-J_r q\left(\omega_1-\omega_2+\omega_3-\omega_4\right)+l K_T\left(\omega_4^2-\omega_2^2\right)\right]$
(7)
$\ddot{\theta}=\frac{1}{J_y}\left[\left(J_z-J_x\right) p r-J_r p\left(\omega_1-\omega_2+\omega_3-\omega_4\right)+l K_T\left(\omega_1^2-\omega_3^2\right)\right]$
(8)
$\ddot{\psi}=\frac{1}{J_z}\left[\left(J_x-J_y\right) p q+K_d\left(\omega_1^2-\omega_2^2+\omega_3^2-\omega_4^2\right)\right]$
(9)
$\ddot{x}=\frac{1}{m}\left(-\left[C_\phi C_\psi S_\theta+S_\phi S_\psi\right] F_T^b-K_{d x} \dot{X}^G\right.$
(10)
$\ddot{y}=\frac{1}{m}\left(-\left[C_\phi S_\psi S_\theta-S_\phi C_\psi\right] F_T^b-K_{d y} \dot{Y}^G\right)$
(11)
$\ddot{z}=\frac{1}{m}\left(-\left[C_\phi C_\theta\right] F_T^b-K_{d z} \dot{Z}^G\right)+g$
(12)

From the equations above, $J_r$ is rotor moment of inertia; $p$, $q$, $r$ are roll, pitch and yaw rate along in $x^b$, $y^b$, $z^b$; $l$ is length of arm; $K_T$ is thrust coefficient; $K_d$ is drag torque propotionality constant; $\omega$ is rate of angular velocities; $F_T^b$ is total force of thrust in the global coordinate frame; $X ^G$, $Y ^G$, $Z^G$ are velocity in the global coordinat frame.

The four rotors’ speeds can each be changed individually to control the quadrotor.

$\left[\begin{array}{l} U_1 \\ U_2 \\ U_3 \\ U_4 \end{array}\right]=\left[\begin{array}{cccc} K_T & K_T & K_T & K_T \\ 0 & -l K_T & 0 & l K_T \\ l K_T & 0 & -l K_T & 0 \\ K_d & -K_d & K_d & -K_d \end{array}\right]\left[\begin{array}{c} \omega_1^2 \\ \omega_2^2 \\ \omega_3^2 \\ \omega_4^2 \end{array}\right]$
(13)

Eqns. (7)–(12) can be presented in state space form where $\Omega_r=\omega_1-\omega_2+\omega_3-\omega_4$;$F_T^b=U_1$; $K_{d x}=k_1; K_{d y}=k_2$; $K_{d z}=k_3$; $p \approx \dot{\phi} ; q \approx \dot{\theta} ; r \approx \dot{\psi}$;

$\begin{aligned} \mathrm{X}= & {\left[X_1, X_2, \ldots, X_{12}\right]^T } & =[\phi, \dot{\phi}, \theta, \dot{\theta}, \psi, \dot{\psi}, x, \dot{x}, y, \dot{y}, z, \dot{z}]^T \end{aligned}$
(14)
$U=\left[U_1, U_2 U_3 U_4\right]$
(15)
$f(X, U)=\left[\begin{array}{c} x_2 \\ a_1 x_4 x_6+a_3 \Omega_r x_4+a_2 x_2^2+b_1 U_2 \\ x_4 \\ a_4 x_2 x_6+a_6 \Omega_r x_2+a_5 x_4^2+b_2 U_3 \\ x_6 \\ a_7 x_2 x_4+a_8 x_6^2+b_3 U_4 \\ x_8 \\ a_9 x_8+\frac{U_1}{m} U_x \\ x_{10} \\ a_{10} x_{10}+\frac{U_1}{m} U_y \\ x_{12} \\ a_{11} x_{12}+\frac{c \phi c \theta}{m} U_1-g \end{array}\right]$
(16)

where, $a_1=\frac{J_y-J_z}{J_x} ; a_2=-\frac{K_4}{J_x} ; a_3=-\frac{J_r}{J_x} ; a_4=\frac{J_z-J_x}{J_y} ; a_5=-\frac{K_5}{J_y} ; a_6=-\frac{J_r}{J_y} ; a_7=\frac{J_x-J_y}{J_z} ; a_8=-\frac{K_6}{J_z} ;$ $a_9=-\frac{K_1}{m} ; a_{10}=-\frac{K_2}{m} ; a_{11}=-\frac{K_3}{m} ; b_1=\frac{l}{J_x} ; b_2=\frac{l}{J_y} ; b_3=\frac{l}{J_z}$.

3. Control System Design

The control system is designed with a combination of the Sliding Mode Control (SMC) algorithm and the Kalman Filter. The design of the SMC and Kalman Filter control systems will be integrated into the quadcopter dynamic equations to control each motor on the quadcopter. Sliding Mode Control (SMC) and Kalman Filter are two techniques that can be used together to control the quadcopter effectively and efficiently [22].

3.1 Sliding Mode Control (SMC)

Sliding Mode Control (SMC) is a nonlinear control strategy that is designed to ensure the stability and robustness of a control system in the presence of disturbances or uncertainties. It works by forcing the system to slide along a predetermined sliding surface, which is a hyperplane in the state space that separates the system dynamics into two regions: the sliding mode and the reaching mode. SMC has many advantages, including its exceptionally resilient nature and ability to perform effectively on nonlinear systems with model or parameter uncertainty. The following features and conditions are connected to the SMC design:

$s(t)=\left(\frac{d}{d t}+\lambda\right)^{n-1} e$
(17)

where, $s$ is the sliding variable, $\lambda$ is the determined gain and e is the error.

$e=x_d-x$
(18)

$x_d$ is desired state vector, x is for $\phi, \theta, \psi, x, y, z$. $\lambda$ is a sliding surface slope with a positive constant value given to the SMC control system.

The Lyapunov function was chosen:

$V(x)=\frac{1}{2} S(x)^2$
(19)

The sliding control law contains two terms as follows:

$u_t=u_{e q}(t)+u_D(t)$
(20)

where, $u_eq (t)$ indicates the corresponding control, which may be used to predict how the system behave once an ideal sliding regime has been established and $u_D (t)$ is a discontinuous function calculated by checking the condition of the attractiveness.

$u_D=-\operatorname{kign}(s(x, t))$
(21)

The following is the basis for making sliding surfaces:

$s_\phi=\dot{e}_2+\lambda_1 e_1$
(22)
$s_\theta=\dot{e}_4+\lambda_2 e_3 $
(23)
$s_\psi=\dot{e}_6+\lambda_3 e_5 $
(24)
$s_x=\dot{e}_8+\lambda_4 e_7$
(25)
$s_y=\dot{e}_{10}+\lambda_5 e_9$
(26)
$s_z=\dot{e}_{12}+\lambda_6 e_{11}$
(27)

Next is the design of four controllers: altitude ($U_1$) and attitude, roll ($U_2$), pitch ($U_3$), and yaw ($U_4$) in the Sliding Mode Control system.

$U_1=\frac{m}{c \phi c \theta}\left[-a_{11} x_{12}+\ddot{x}_{11 d}-\lambda_6 \dot{e}_{11}-k_7 \operatorname{sgn}\left(s_z\right)+g\right]$
(28)
$U_2=\frac{1}{b_1}\left[-a_1 x_4 x_6-a_3 \bar{\Omega}_r x_4-a_2 x_2^2+\ddot{x}_{1 d}-\lambda_1 \dot{e}_1-k_1 \operatorname{sgn}\left(s_\phi\right)\right]$
(29)
$U_3=\frac{1}{b_2}\left[-a_4 x_2 x_6-a_6 \bar{\Omega}_r x_2-a_5 x_4^2+\ddot{x}_{3 d}-\lambda_2 \dot{e}_3-k_3 \operatorname{sgn}\left(s_\theta\right)\right]$
(30)
$U_4=\frac{1}{b_3}\left[-a_7 x_2 x_4-a_8 x_6^2+\ddot{x}_{5 d}-\lambda_3 \dot{e}_5-k_5 \operatorname{sgn}\left(s_\psi\right)\right]$
(31)
$U_x=\frac{m}{u_1}\left[-a_9 x_8+\ddot{x}_{7 d}-\lambda_5 \dot{e}_7-k_9 \operatorname{sgn}\left(s_x\right)\right]$
(32)
$U_y=\frac{m}{u_1}\left[-a_9 x_{10}+\ddot{x}_{9 d}-\lambda_6 \dot{e}_9-k_{11} \operatorname{sgn}\left(s_y\right)\right]$
(33)

To reduce chattering from the results of the response issued by the SMC, the Kalman Filter is offered as an enhancement mechanism for chattering handling and suppression.

3.2 Kalman Filter

Kalman Filter estimates a process using a form of iterative feedback control. The equation on the Kalman Filter is divided into two stages, namely, the time update equation and the measurement update equation [23]. Kalman Filter equation for the prediction stages are presented in Eqns. (34) - (39).

$\hat{x}_{\bar{k}}=C \hat{x}_{k-1}+D u_k+w_k$
(34)
$P_{\bar{k}}=C P_{k-1}+C^T+Q$
(35)
$K_k=P_k H^T\left(H P_k H^T+R\right)^{-1}$
(36)

where, $\widehat{x}_{\bar{k}}$ is a vector prediction, $\widehat{P}_{\bar{k}}$ is the predictive covariance matrix and $K_k$ is kalman gain. Next predictions are updated with measurements $z_k$:

$\hat{x}_{\bar{k}}=\hat{x}_{\bar{k}}+K_k\left(z_k-H \hat{x}_{\bar{k}}\right)$
(37)
$z_k=H x_k+v_k$
(38)

Then the error covariance is updated:

$P_k=\left(I-K_k H\right) P_{\bar{k}}$
(39)

The state variable that has been updated will be used for predictions on the next condition. The process of these stages will be carried out repeatedly as much as the required time discretization.

4. Testing and Result

In this section, SMC – Kalman Filter is proposed to control the Quadrotor’s altitude and attitude implemented and results analysis are carried out.

4.1 Testing

The quadcopter mathematical model along with the SMC and Kalman controls that have been designed, is then tested on the quadcopter with the following parameters:

Table 1. Quadcopter parameters value

Parameters

Value

Unit

$m$

1.5

kg

$l$

0.56

m

$J_x, J_y, J_z$

0.04989; 0.04989; 0.24057

kg-m2

$J_r$

0.013

kg-m2

$K_T$

2.39 x 10-5

kg-m

$K_d$

1.39 x 10-6

kg-m2/s2

$K_{d x}, K_{d y}, K_{d z}$

0.164; 0.319; 0

kg/s

$g$

0.81

m/s2

The SMC-Kalam Filter control system mathematical model will be simulated using a mini quadcopter based on the parameters of Table 1, showing the results of the positional response resulting from the use of SMC and SMC-Kalman Filter (Figure 2).

Figure 2. Position simulation results (a) SMC (b) SMC – Kalman Filter

After the simulation is carried out, the control system will be applied to the mini quadcopter. From testing on the quadcopter, it can be seen that there is a reduction in chattering caused by the data received from the sensor being processed first through the Kalman Filter.

4.2 Result

The mathematical model of the quadcopter and the SMC – Kalman Filter control system that has been designed, is simulated. The response results are obtained from the output signal that has been received by the quadcopter and has been processed by the SMC control - Kalman Filter. The following is the output of the quadcopter position in the x, y and z positions.

Figure 3. Response output position X, Y, Z (a) SMC (b) SMC – Kalman Filter

The output response results obtained by using the mathematical model in Eqns. (32)-(33) can control the position of the quadcopter. The resulting graph in Figure 3 was obtained from the quadcopter during the take-off to landing state. The x and y positions are obtained from 0 meter to 1 meter, namely when the quadcopter takes off until it stabilizes in a hovering position. The quadcopter altitude input control resulting from Eq. (28) is shown in Figure 4.

Figure 4. Altitude control response ($U_1$) (a) SMC (b) SMC-Kalman Filter
Figure 5. Measured altitude control results (a) SMC (b) SMC-Kalman Filter

The resulting control on $U_1$ in Figure 4 shows a difference in the delay generated with the SMC-Kalman Filter which is greater, this is because it takes time for the Kalman Filter to predict updates. In addition, the gain value used from the SMC control is very influential in the control system performance. However, the results measured in Figure 5 produce more stable results on the SMC-Kalman Filter control system, chattering can be reduced with graphic results which are shown to be smoother and more stable.

Figure 6. Roll control response ($U_2$) (a) SMC (b) SMC-Kalman Filter
Figure 7. Measured roll control results (a) SMC (b) SMC-Kalman Filter
Figure 8. Pitch control response ($U_3$) (a) SMC (b) SMC-Kalman Filter
Figure 9. Yaw control response ($U_4$) (a) SMC (b) SMC-Kalman Filter
Figure 10. Measured pitch control results (a) SMC (b) SMC-Kalman Filter
Figure 11. Measured yaw control results (a) SMC (b) SMC-Kalman Filter

The attitude control produced by $U_2$, $U_3$, $U_4$ shows that there is a large chattering at the beginning of the input response resulting from the SMC algorithm. In SMC, sliding surfaces often experience chattering caused by uncertainty or noise in the system. In Figure 6, the results of the input control produced by the roll become smoother and chattering can be alleviated, so that the results shown in Figure 7 become more stable even though there is still noise, which causes the response to not reach a steady state. Likewise, the input controls shown in Figure 8 and Figure 9 on pitch and yaw, the SMC-Kalman Filter control system produces smoother input control even though there is a delay caused by the gain of the SMC and the noise obtained from the system. However, the results measured on pitch and yaw in Figure 10 and Figure 11 are clearly more stable and the chattering caused by the SMC can be reduced with the Kalman Filter. The input control generated by the SMC-Kalman Filter is still unstable from the start of the response, but this occurs because the dynamic system on a very complex quadcopter can affect the performance of the system response. In SMC, chattering occurs due to uncertainty and disturbance in the system, which makes the sliding surface vibrate or vibrate around the set point. Chattering on the SMC can cause several problems, such as increasing wear on the mechanical components of the control system and worsening the quality of the control signal. It is clear from the results above that poor signal quality occurs in the first 2 to 4 seconds. The response generated from the mathematical model of the SMC-Kalman Filter control system is faster to produce a steady state on the quadcopter. Previous research using the SMC–Neural Network [19] method has succeeded in controlling the height and attitude of the quadcopter, however, the response of the quadcopter to reach a steady state takes about 5 to 10 seconds.

The results of the control response using the SMC-Kalman Filter show that chattering events have decreased. This is due to the signal received by the sensor. In practice, the value of each noise $v_k$, $w_k$ at each stage is unknown. This noise come from a variety of sources, such as vibrations or disturbances in the sensor, vibrations in the model system, or environmental factors that affect measurements. The independent noise assumption also makes it possible to take into account the effect of noise on each observation or measurement separately, so that estimates can be made more accurately. This is evidenced by the simulation results of Figure 2, the SMC - Kalman Filter is able to produce the desired trajectory. This is important in system control, where errors in measurements or estimates can impact overall system performance. In practice, the noise covariance matrix may change with each measurement, but in this case the noise is assumed to be constant. From the prediction stage, the data from the initial measurements will be used to predict the state variables. Furthermore, the state variables obtained previously will be updated or repaired. The following is the result of chattering reducing as seen from the capture of the signal obtained by the quadcopter sensor and processed using the SMC-Kalman Filter.

Figure 12. Chattering reduction

It can be seen that the results of the chattering reducing on the signal captured by the sensor without going through the Kalman Filter are shown in blue, resulting in very serious chatter. After adding system control using the Kalman Filter algorithm, the resulting signal can be reduced. Graphical display of Figure 12 shows that the results of the real response shown in the height control and attitude above are not so clear. This is because the data obtained by the sensor is very large. In order to see the results of reducing chatter more clearly, some data is used as a sample, so that the response results are obtained in Figure 10.

5. Conclusions

In this paper, a mathematical model has been proposed for the altitude and attitude control system on a quadcopter. First, a quadcopter mathematical model is prepared to obtain a dynamic modeling of the quadcopter system. Second, a mathematical model of the control system that will be used is designed. The SMC control mathematical model is used through combining with the Kalman Filter algorithm. The mathematical model for altitude and attitude control ($U_1$, $U_2$, $U_3$, $U_4$, $U_x$, $U_y$) is implemented by applying a quadcopter dynamic system. The resulting SMC-Kalman Filter control system mathematical model is simulated in response to the quadcopter position. The response results on the height controller for the resulting attitude take 2 to 4 seconds to be in a steady state. The SMC-Kalman Filter control system is also proven to be able to reduce chattering caused by noise from the signal and caused by SMC. In the future work on a mathematical model of the SMC-Kalman Filter system needs to be done to control the navigation system on the quadcopter. The combination of the SMC-Kalman Filter control system allows for a deeper analysis to perform state estimation with other types of Kalman filters.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

References
1.
J. D. Guo, C. Y. Liang, K. Wang, B. Sang, and Y. L. Wu, “Three-dimensional autonomous obstacle avoidance algorithm for uav based on circular arc trajectory,” Int. J. Aerosp. Eng., vol. 2021, p. 8819618, 2021. [Google Scholar] [Crossref]
2.
V. Lappas, H. S. Shin, A. Tsourdos, D. Lindgren, S. Bertrand, J. Marzat, H. Piet-Lahanier, Y. Daramouskas, and V. Kostopoulos, “Autonomous unmanned heterogeneous vehicles for persistent monitoring,” Drones, vol. 6, no. 4, p. 94, 2022. [Google Scholar] [Crossref]
3.
C. Pfeifer, A. Barbosa, O. Mustafa, H. U. Peter, M. C. Rümmler, and A. Brenning, “Using fixed-wing uav for detecting and mapping the distribution and abundance of penguins on the south shetlands islands, antarctica,” Drones, vol. 3, no. 2, p. 39, 2019. [Google Scholar] [Crossref]
4.
E. Aldao, L. M. González-deSantos, H. Michinel, and H. González-Jorge, “Uav obstacle avoidance algorithm to navigate in dynamic building environments,” Drones, vol. 6, no. 1, p. 16, 2022. [Google Scholar] [Crossref]
5.
J. A. Marshall, W. Sun, and A. L’Afflitto, “A survey of guidance, navigation, and control systems for autonomous multi-rotor small unmanned aerial systems,” Annu. Rev. Control, vol. 52, pp. 390–427, 2021. [Google Scholar] [Crossref]
6.
M. Z. Ali, A. Ahmed, and H. K. Afridi, “Control system analysis and design of quadcopter in the presence of unmodelled dynamics and disturbances,” IFAC-PapersOnLine, vol. 53, no. 2, pp. 8840–8846, 2020. [Google Scholar] [Crossref]
7.
A. S. Vempati, V. Choudhary, and L. Behera, “Quadrotor: Design, control and vision based localization,” IFAC Proceedings Volumes, vol. 47, no. 1, pp. 1104–1110, 2014. [Google Scholar] [Crossref]
8.
N. Xuan-Mung, N. P. Nguyen, T. Nguyen, D. B. Pham, M. T. Vu, H. L. N. N. Thanh, and S. K. Hong, “Quadcopter precision landing on moving targets via disturbance observer-based controller and autonomous landing planner,” IEEE Access, vol. 10, pp. 83580–83590, 2022. [Google Scholar] [Crossref]
9.
M. Idrissi, M. Salami, and F. Annaz, “A review of quadrotor unmanned aerial vehicles: Applications, architectural design and control algorithms,” J. Intell. Robot. Syst. Theory Appl., vol. 104, no. 22, 2022. [Google Scholar] [Crossref]
10.
A. Eltayeb, M. F. ad Rahmat, M. A. M. Basri, A. M. Mohammed  Eltoum, and S. El-Ferik, “An improved design of an adaptive sliding mode controller for chattering attenuation and trajectory tracking of the quadcopter uav,” IEEE Access, vol. 8, pp. 205968–205979, 2020. [Google Scholar] [Crossref]
11.
B. W. Xu and X. J. Lu, “An online adaptive control strategy for trajectory tracking of quadrotors based on fuzzy approximation and robust sliding mode algorithm,” IEEE Access, vol. 8, pp. 215327–215342, 2020. [Google Scholar] [Crossref]
12.
A. Al-Mahturi, F. Santoso, M. A. Garratt, and G. S. Anavatti, “Self-learning in aerial robotics using type-2 fuzzy systems: Case study in hovering quadrotor flight control,” IEEE Access, vol. 9, pp. 119520–119532, 2021. [Google Scholar] [Crossref]
13.
M. Rabah, A. Rohan, S. A. S. Mohamed, and S. H. Kim, “Autonomous moving target-tracking for a uav quadcopter based on fuzzy-pi,” IEEE Access, vol. 7, pp. 38407–38419, 2019. [Google Scholar] [Crossref]
14.
S. K. Kim and C. K. Ahn, “Auto-tuner-based controller for quadcopter attitude tracking applications,” IEEE Trans. Circuits Syst. II Express Briefs, vol. 66, no. 12, pp. 2012–2016, 2019. [Google Scholar] [Crossref]
15.
P. A. Darwito and K. D. Wahyuadnyana, “Performance examinations of quadrotor with sliding mode controlneural network on various trajectory and conditions,” Math. Model. Eng. Probl., vol. 9, no. 3, pp. 707–714, 2022. [Google Scholar] [Crossref]
16.
B. Sumantri, N. Uchiyama, and S. Sano, “Least square based sliding mode control for a quad-rotor helicopter and energy saving by chattering reduction,” Mech. Syst. Signal Process., vol. 66–67, pp. 769–784, 2016. [Google Scholar] [Crossref]
17.
J. J. Xiong and E. H. Zheng, “Optimal kalman filter for state estimation of a quadrotor uav,” Optik (Stuttg)., vol. 126, no. 21, pp. 2862–2868, 2015. [Google Scholar] [Crossref]
18.
E. P. Herrera-Granda, L. L. Lorente-Leyva, J. Yambay, J. Aranguren, M. Ibarra, and J. Peña, “Controller modeling of a quadrotor,” Ing. Syst. Inf., vol. 27, no. 1, pp. 21–28, 2022. [Google Scholar] [Crossref]
19.
N. P. Nguyen, N. X. Mung, H. L. N. N. Thanh, T. T. Huynh, N. T. Lam, and S. K. Hong, “Adaptive sliding mode control for attitude and altitude system of a quadcopter uav via neural network,” IEEE Access, vol. 9, pp. 40076–40085, 2021. [Google Scholar] [Crossref]
20.
J. A. Cano-González, O. Salas-Peña, S. V. Gutierrez, and J. De León-Morales, “Quadrotor altitude control based on sliding mode control,” Iran. J. Sci. Technol. - Trans. Electr. Eng., vol. 45, pp. 543–551, 2021. [Google Scholar] [Crossref]
21.
S. Vaidyanathan and C. H. Lien, Applications of Sliding Mode Control in Science and Engineering. Switzerland: Springer Cham, 2017. [Online]. Available: [Google Scholar] [Crossref]
22.
H. Kwon, K. Lee, and K. You, “Ekf based sliding mode control for a quadrotor attitude stabilization,” in 2017 International Conference on Intelligent Informatics and Biomedical Sciences (ICIIBMS), February 05 2018, Okinawa, Japan, 2017, pp. 101–104. [Online]. Available: [Google Scholar] [Crossref]
23.
W. J. Liang, “Attitude estimation of quadcopter through extended kalman filter,” 2017. https://core.ac.uk/download/pdf/228656264.pdf [Google Scholar]

Cite this:
APA Style
IEEE Style
BibTex Style
MLA Style
Chicago Style
GB-T-7714-2015
Darwito, P. A. & Agustina, N. P. (2023). Performance Evaluation of a Sliding Mode Control-Kalman Filter-Based Mathematical Model for Altitude and Attitude Control in Quadcopters. J. Intell Syst. Control, 2(2), 70-81. https://doi.org/10.56578/jisc020202
P. A. Darwito and N. P. Agustina, "Performance Evaluation of a Sliding Mode Control-Kalman Filter-Based Mathematical Model for Altitude and Attitude Control in Quadcopters," J. Intell Syst. Control, vol. 2, no. 2, pp. 70-81, 2023. https://doi.org/10.56578/jisc020202
@research-article{Darwito2023PerformanceEO,
title={Performance Evaluation of a Sliding Mode Control-Kalman Filter-Based Mathematical Model for Altitude and Attitude Control in Quadcopters},
author={Purwadi Agus Darwito and Nilla Perdana Agustina},
journal={Journal of Intelligent Systems and Control},
year={2023},
page={70-81},
doi={https://doi.org/10.56578/jisc020202}
}
Purwadi Agus Darwito, et al. "Performance Evaluation of a Sliding Mode Control-Kalman Filter-Based Mathematical Model for Altitude and Attitude Control in Quadcopters." Journal of Intelligent Systems and Control, v 2, pp 70-81. doi: https://doi.org/10.56578/jisc020202
Purwadi Agus Darwito and Nilla Perdana Agustina. "Performance Evaluation of a Sliding Mode Control-Kalman Filter-Based Mathematical Model for Altitude and Attitude Control in Quadcopters." Journal of Intelligent Systems and Control, 2, (2023): 70-81. doi: https://doi.org/10.56578/jisc020202
Darwito P. A., Agustina N. P.. Performance Evaluation of a Sliding Mode Control-Kalman Filter-Based Mathematical Model for Altitude and Attitude Control in Quadcopters[J]. Journal of Intelligent Systems and Control, 2023, 2(2): 70-81. https://doi.org/10.56578/jisc020202
cc
©2023 by the author(s). Published by Acadlore Publishing Services Limited, Hong Kong. This article is available for free download and can be reused and cited, provided that the original published version is credited, under the CC BY 4.0 license.