Professional Documents
Culture Documents
Abstract—The treatment of quadcopter dynamics around using energy-based control which would not have been
steady-state conditions has often ignored some rotorcraft aero- possible otherwise.
dynamic effects due to its complicated physical modeling or
black-box estimated model. The identification of an unmanned
Given that a physical model, also known as white-box
quadcopter in accelerated flight using a grey-box modeling
approach is investigated. The classical approach of using either model, of transitional flight aerodynamics can be quite in-
first-principles modeling (white-box modeling) or pure obser- volved, a black-box approach has been used specifically to
vations modeling (black-box modeling) have limitations partic- identify the quadcopter dynamics [7]. Radial basis functions
ularly for real-time applications. Radial basis functions neural (RBF) were trained with a minimal resource allocating net-
networks (RBF-NN) were used to estimate the rotor dynamics work (MRAN) algorithm within a nonlinear Auto Regressive
parameters (motor PWM outputs) from an unknown flapping eXogenous inputs (ARX) model structure. More recently,
dynamics model. The identified models shows that a RBF- a fuzzy clustering model structure has also been used to
based grey-box modeling approach specifically in aggressive identify quadcopter dynamics in hover using fuzzy linguistic
maneuvers, has benefits in both modeling accuracy, network ’If-else’ rules [8]. However a black-box approach often does
size and robustness to noise.
not have a good representation of the underlying dynamics
Keywords—Grey-box modeling, Model identification, Un- and is only valid in the region under which the system was
manned Systems, quadcopter, neural networks tested [9].
kν(t)k
Pf = 1− (36)
ky(t) − ȳk
ky(t) − ȳk
Pi =
1 −
(37)
kν(t)k
D. Experimental Design
Given the unstable open-loop behaviour of a quadcopter, A. Data Collection
the identification of the rotor dynamics can only be achieved
with the flight controller in the loop called closed-loop In order to achieve unsteady aerodynamic conditions in
identification. Based on [18], closed-loop identification can the quadcopter, the flight manoeuvres were performed such
only be achieved if (1) the data is informative; (2) the that the adequate excitation could be achieved. The data was
identified model contains the true system. The issue of collected at 10Hz. Figure 4 shows the RC (radio control)
information content in the data set can be resolved in various inputs to achieve a downward sharp turn to achieve high
ways. (1) Consider an input-output model structure which roll and pitch angles of over 35 deg with non-zero IMU
is not directly manipulated by the feedback path [18, p. (inertial measurement unit) angular rates up to 4 deg/s shown
431]. (2) Consider the persistent excitation of the input in Figure 5. This confirmed that the stabilizing controller had
signals provided the model structure contains the true system not settled, enabling the excitation of the rotor dynamics.
dynamics [18, p. 435].
This unsteady condition is confirmed by the navigation
The direct identification method is a popular approach inertial velocities (shown in Figure 6) showing a large change
in closed-loop identification since it uses the input vector, in downward velocity. This can be translated into body fixed
u, the output vector, y and ignores the reference signal r, velocities at a ith rotor location as described in Equation 34.
causing the approach to be indifferent to the complexity of This is shown in Figure 7.
the controller (in this case the flight controller) [18, p. 440].
B. RBF Training
IV. R ESULTS
The spread constant was chosen as the mean of the
The chosen platform for this research is custom-built H- Euclidean input space vector so that the neuron activation
frame quadcopter from Uav4africa named simply H1 (Shown function output gives 0.72 at the mean value. This was chosen
in Figure 3). The H-frame configuration is preferred over analyzing the noise levels of the output channel. This should
the more popular X-frame mainly due to the larger area for always be checked prior to training the RBF model. The
extra electronics, camera gimbal or additional payload. It is Euclidean goal for stopping the learning was chosen based
30
m1_vx
m1_vy
1800 m1_vz
20
1600
0
1500
-10
1400
-20
1300
-30
174 176 178 180 182 184 186 188 190 192 194
1200
Time [s]
174 176 178 180 182 184 186 188 190 192 194
Time [s]
Fig. 7. Body-fixed velocities at Rotor #1 location
Fig. 4. RC Transmitter
on the variance of the de-trended output. A sample size of
181 was used for both training and validating. Table II shows
that adequate training with minimal amount of neurons was
5
achieved.
Roll rate
4 Pitch rate TABLE II. RBF LEARNING RESULTS
Yaw rate
Param EUc g EUc a NR Pf Pi /Pf
3
Motor-1 2.639 2.623 8 0.59 2.46
Motor-2 3.308 3.305 9 0.69 3.21
2
IMU Gyro [deg/s]
0
where EUc g and EUc a are the Euclidean training goal
-1
and achieved error at the stop of the learning routine respec-
-2 tively. N R is the number of neurons in the hidden layer.
-3
The combination of the low Pf and Pi values show there’s a
good correlation between the RBF network predicted output
-4
174 176 178 180 182 184 186 188 190 192 194
compared to validated dataset. Figure 8 shows how the choice
Time [s] of training goal effects the network prediction accuracy. This
means an effective optimization method is required to ensure
Fig. 5. IMU rates the correct train goal is chosen.
2500 50
2000 40
15
RBF Prediction [Pi /P f ]
5
Inertial velocities [m/s]
1000 20
0
-5
500 10
-10
-15 0 0
0.5 1 1.5 2 2.5 3 3.5
-20 RBF Network goal [EUc_g]
VN
VE
-25 Fig. 8. RBF prediction sensitivity to training goal and model size
VD
-30
174 176 178 180 182 184 186 188 190 192 194
Time [s] C. Rotor Estimates
Fig. 6. Inertial velocities Figures 9 and 10 show that the estimated model match
with training data and validation data respectively. This can
be noticed that eventhough the the RBF neural network
models have rejected most of the measurement noise from the selection algorithm should be used to prevent collinearity of
input/output data during the training process. The validation inputs. Other neural network training methods/architectures
set shows a good model fit which can then be used with could be investigated with specific focus on the estimation
methods such as the modified delta method to compute aero- of unsteady quadcopter rotor dynamics.
dynamic heave dynamics coefficients at each rotor such as
Zw which is a performance measure for propeller efficiency R EFERENCES
[15].
[1] I. M. Salameh, E. M. Ammar, and T. A. Tutunji, “Identification of
The grey-model approach can now be adopted to estimate quadcopter hovering using experimental data,” 2015 IEEE Jordan
Conference on Applied Electrical Engineering and Computing Tech-
the angular speed Ω at each rotor given the estimated torque nologies, AEECT 2015, pp. 3–8, 2015.
Ti and thrust coefficient CTi is based on the computed inflow [2] X. Zhang, X. Li, K. Wang, and Y. Lu, “A survey of modelling and
velocities dynamics as described in Equation 5. identification of quadrotor robot,” Abstract and Applied Analysis, vol.
2014, 2014.
RBF Training - output comparison
1800 [3] J. Li and Y. Li, “Dynamic analysis and PID control for a quadrotor,” in
Mechatronics and Automation (ICMA), 2011 International Conference
1750
on. IEEE, 2011, pp. 573–578.
1700 [4] K. Runcharoon and V. Srichatrapimuk, “Sliding Mode Control of
1650 Quadrotor,” in International Conference on Technological Advances in
Motor PWM #2 [ s]
547–549, 2015.
1600
[10] R. Romijn, L. Özkan, S. Weiland, J. Ludlage, and W. Marquardt, “A
1550 grey-box modeling approach for the reduction of nonlinear systems,”
Journal of Process Control, vol. 18, no. 9, pp. 906–914, 2008.
1500
[11] Q. Li, “Grey-Box System Identification of a Quadrotor Unmanned
1450 Aerial Vehicle,” Ph.D. dissertation, Delft University of Technology,
1400 2014.
[12] J. Ahsan, M. Ahsan, A. Jamil, and A. Ali, “Grey Box Modeling of
1350 NN_predict Out
validate Out Lateral-Directional Dynamics of a UAV through System Identifica-
1300 tion,” Proceedings - 14th International Conference on Frontiers of
0 20 40 60 80 100 120 140 160 180 200
Information Technology, FIT 2016, pp. 324–329, 2017.
No. of Samples
[13] Marcus Back, “Grey-box Modelling of a Quadrotor Using Closed-
Fig. 10. RBF prediction performance - rotor 2 PWM outputs loop Data,” Linkopings University, 2015.
[14] V. Gavrilets, “Autonomous Aerobatic Maneuvering of Miniature He-
licopters,” Ph.D. dissertation, Massachusetts Institute of Technology,
2003.
V. C ONCLUSION
[15] J. O. Pedro and P. Kantue, “Online aerodynamic parameter estimation
The identification of an unmanned quadcopter rotor dy- of a miniature unmanned helicopter using radial basis function neural
networks,” in ASCC 2011 - 8th Asian Control Conference, 2011, pp.
namics in an aggressive manoeuvre based on a grey-box 1170–1175.
modeling approach has been presented here. Radial basis
[16] G. M. Hoffmann, H. Huang, S. L. Waslander, and C. J. Tomlin,
functions neural networks (RBF-NN) were used to estimate “Precision Flight Control for A Multi-Vehicle Quadrotor Helicopter
the rotor dynamics parameters (motor PWM outputs) from Testbed,” Control engineering practice, vol. 19, no. 9, pp. 1023–1036,
an unknown flapping dynamics model, with a good model 2011.
fit and robustness to measurement noise. Better choice of the [17] S. Chen, C. F. N. Cowan, and P. M. Grant, “Orthogonal least squares
Euclidean goal based on the input/output variance and an learning algorithm for radial basis function networks,” pp. 302–309,
1991.
optimisation process which takes into account the model fit
percentage should be investigated. Moreover, a RBF model [18] L. Ljung, System Identification Theory for User. Prentice Hall, 1999.