1. Introduction
Quadcopters have become a research topic in recent years because of their special functionality and industrial requirements. Quadcopters can not only increase the freedom of movement but also can be remotely controlled, so industrial applications have increased, such as for surveillance, search and rescue, building inspection, and some other applications. The quadcopter system has 6 degrees of freedom of movement in space (translation and rotation along three coordinate axes) but only 4 control degrees of freedom (the rotation speed of the four motors), which is called an under-actuated control system. It is well known that a complete actuated system is when the control degrees of freedom are equal to the movement degrees of freedom. However, for the attitude control (rotational motion along three axes), it is indeed fully driven. Compared with helicopters, quadcopters can achieve fewer flight attitudes, but basic forward, backward, translation and other states can be operated. However, the mechanical structure of the quadcopter is far simpler than that of the helicopter, and the maintenance and substitution costs are also very small, which gives the quadcopter a greater application advantage than the helicopter [
1,
2].
In order to achieve a stable flight operator, the quadcopter is supplied with three-directional gyroscopes and three-axis acceleration sensors to form an inertial navigation module, which can reckon the quadcopter’s attitude, acceleration, and angular velocity relative to the ground. The flight controller can be used to obtain the rotational force and lift required to maintain the motion state through an algorithm and uses the electronic controller to ensure that the motor can output the appropriate force.
With two pairs of motors in opposite directions, the counter-torque to the fuselage can be balanced. For the output power of the four motors to be increased, the rotor speed and the total pulling force can be increased. The total pulling force should be enough to supply the whole quadcopter’s weight. The rotorcraft will rise vertically from the ground; on the contrary, the output power of the four motors will be reduced. In addition, the quadrotor will fall vertically until it lands in a balanced manner, realizing vertical movement along the z-axis. Without the external disturbance, the lift generated by the rotor is equal to the quadcopter’s weight, and the quadcopter will remain in a hovering state. The key to vertical motion is to ensure that the rotation speed of the four rotors increases or decreases synchronously.
At present, the most common algorithm in the application of quadcopters is to use complementary filtering: that is, to calculate the angle change by combining the output of the acceleration sensor and the gyroscope. In addition, the environment of the quadcopter operation determines the MEMS sensor, which must be suitable for various harsh conditions while obtaining high-precision output. For example, the ideal output of a gyroscope is to only respond to changes in angular velocity, but in fact, due to the limitations of design and craftsmanship, gyroscopes are also sensitive to acceleration, which is the deg/sec/g indicator on gyroscope datasheets. For the application of a multi-rotor aircraft, this indicator is particularly important, because the motor in the aircraft generally brings relatively strong vibration. The change in the output of the gyroscope will cause the change in the angle, and the motor will malfunction. With the presence of external factors, vibration can be found in a quadcopters’ flight to cause a non-uniform flow field. In practice, the actual quadcopter lift force is made up of harmonics related to the angular velocity of the quadcopter propeller.
Many related works in the literature can be found to handle the problems of the disturbance, uncertainties, and motor faults for the quadcopter control system. In [
3], the issue of the quadcopter with vibration mitigation is proposed. In [
4], an adaptive sliding mode control is proposed to solve the problem of uncertainty and external disturbances for quadcopter flight. In [
5], the detection and diagnosis of motor and propeller degradation is raised to reduce the vibration of the quadcopter operation. In [
6], to solve the problem of motor faults, the fault-tolerant control is addressed. In [
7], a model predictive controller and the disturbance observer are given to stable the quadcopter. In [
8], a robust hybrid nonlinear control is applied to the quadcopter with the cross-coupling disturbance. In [
9], to reduce the effect of load uncertainties, an observer-based attitude stabilization mechanism is proposed. In [
10], an aerodynamic model is proposed to simulate the model of the external disturbance of the quadcopter. In [
11], with parametric uncertainties and external disturbances, an adaptive fast finite-time control is adapted for a tilting quadcopter. In [
12], a cooperative path following control is given to improve the stability of the quadcopter with unknown external disturbances. In [
13], a bidirectional fuzzy brain emotional learning controller is proposed to solve the problem of the payload uncertainties and disturbances. In [
14], a robust control with a disturbance observer is considered to improve the stability of the quadcopter. In [
15], a finite-time control method for a multirotor UAV is proposed with parameter uncertainties and external disturbances. In [
16], a fault-tolerant control is given to the damaged propellers. In [
17], with the vibration of the multi-rotor arms, a fault detection using artificial intelligence is proposed. In [
18], wind measurement and simulation methods for multi-rotor UAVs are proposed to achieve a stable operation. In [
19], with motor fault and external disturbance, an adaptive attitude control for multi-rotor UAVs is given. In [
20], a disturbance observer-based controller is proposed with parametric uncertainties and wind disturbance. Therefore, according to related works in the literature, how to reduce the vibration generated by external disturbance, wind disturbance, and motor/propeller faults is the key point for the quadcopter operation.
In general, the ability of lower frequency disturbance rejection can be regarded as static stiffness, which can be achieved by a high mathematical design [
21]. Therefore, to achieve better performance of the quadcopter control system, the dynamic stiffness [
21,
22,
23] should be enhanced. In this paper, a methodology to analyze the dynamic stiffness of the quadcopter control system is proposed. The dynamic stiffness is used to be an index for the performance of the quadcopter control system to resist an external oscillatory load. The proposed dynamic stiffness is varying under excitations at different frequencies. The outline of this paper is developed as follows.
Section 2 contains the mathematical modeling of the quadcopter. In
Section 3, the dynamic stiffness of the quadcopter control system with a repetitive controller is proposed. Simulations and experimental results are performed in
Section 4. Finally, concluding remarks are stated in
Section 5.
2. System Description and Modeling
The quadcopter’s modeling is shown in
Figure 1, where the four motors are used to force the machine. The inertial frame
with three axes of x, y, and z is defined, while the angular position can be obtained as
. The three Euler angles of
(defined as roll angle),
(defined as pitch angle), and
(defined as yaw angle) are represented as the rotations around the x, y, and z-axis, respectively. A vector
is obtained by the linear vector of
and the angular position vector of
. In the frame, the linear velocities of
and the angular velocities of
are defined. The rotation matrix of
from the body frame to the inertial frame can be determined by
where
and
for
are defined.
is defined as the transformation matrix for angular velocities from the inertial frame to the body frame. Then, we have
and
Assume that the four arms of the quadcopter are aligned to the
x- and
y-axes of the device body. Thus, the inertia matrix of
is a diagonal matrix with
. The angular velocity of the rotor axis is given as
, and
is the generated force in the direction of the rotor axis.
is the torque of the rotor axis, where
are for the four-rotor axis. Then, we have
and
, where
is the lift constant,
is the drag constant, and the rotor inertia moment is defined as
. In the
z-axis of the body frame, the combined thrust of rotors is given as
. The torque of
is defined in the direction of
. Therefore, we have
and
where
is the distance between the mass center and the rotor.
Therefore, the dynamics characteristic is determined by Newton–Euler equations. In the body frame,
is defined as the force for the mass acceleration,
is defined by the centrifugal force being equal to the gravity of
. Then, the whole thrust
generated by the rotors motor can be obtained by
Assume that the centrifugal force is neglected. Thus, (7) can be simplified as
In the body frame, the angular acceleration of the inertia can be obtained by
, the centripetal forces and the gyroscopic forces are determined by
and
, respectively, and
is represented by the external torque. Therefore, we have
The angular accelerations in the inertial frame can be given as
The Lagrangian
can be given as
The external forces and torques of the device can be determined by Euler–Lagrange equations, i.e.,
The Jacobian matrix of
from
to
is
Thus, in the inertial frame, the rotational energy
is obtained by
The external angular force is the torque outputs of the rotor motors, i.e.,
where the matrix
being the Coriolis term contains the gyroscopic and centripetal terms. Then, we have
The simplified model of the quadcopter can be obtained as
where
,
,
, and
are given.
,
and
are the drag force coefficients for velocities in
.
3. Dynamic Stiffness Analysis of the Quadcopter Control System
A closed loop control system is shown in
Figure 2, where
and
are the controlled plant and loop controller, respectively. In general,
is the system vibration disturbance,
is the system output,
is the controller output, and
is the error. Note that
. Let the frequency responses of
and
be given, where we have
Therefore, the dynamic stiffness of
Figure 2 can be denoted by
. We have
, and
is defined as the dynamic compliance. Note that
and
are defined as direct dynamic stiffness and the quadrature dynamic stiffness, respectively. Note that
can be represented as the conservative properties of the system, and
can be represented as the dissipative properties. Then, the magnitude of the dynamic stiffness
can be given as
, which can be rewritten as
, and
can be defined as the loss factor of the control system, i.e.,
For the required performance, it can be expected that
is increasing with
and
is decreasing with
. From the above analysis, the dynamic stiffness of the closed-loop control system in
Figure 3 is indeed more than that without a loop controller.
For the vibration rejection, a repetitive control system is induced, as shown in
Figure 3. Assume that the vibration disturbance
is a single period of
. The dynamic stiffness of
Figure 3 can be denoted by
Then, the frequency response of can be given as . Note that and are represented as the direct dynamic stiffness and the quadrature dynamic stiffness, respectively, where and are defined.
The loss factor
of
Figure 3 can be given as
As
,
, the loss factor
can be given as
Due to the poles of
being located at an imaginary axis, to enhance the stability of the repetitive control system in
Figure 3, a low-pass filter
is induced as shown in
Figure 4, where
for
is given.
The dynamic stiffness of
Figure 4 can be denoted by
Its frequency response can be given as
where
,
is defined.
Note that is given.
In addition, we have
where
and
are given.
We also have . Note that and are defined as the direct dynamic stiffness and the quadrature dynamic stiffness, respectively.
The loss factor
of
Figure 4 can be given as
As
,
, the loss factor
can be given as
A general multi-periodic disturbance of
is given, where
is a periodic signal with period
,
. Therefore, we have a repetitive control system with
, as shown in
Figure 5.
The repetitive controller is given as
, and its dynamic stiffness can be given as
, which can be rewritten in the frequency domain, i.e.,
where
and
are given.
Note that and are defined as the direct dynamic stiffness and the quadrature dynamic stiffness, respectively.
The loss factor
of
Figure 5 can be given as
4. Simulated Results Analysis
To analyze the dynamic stiffness of the quadcopter control system, an illustrated example of a quadcopter is shown in
Figure 6, where its specifications are listed in
Table 1. The controlled plant for the given quadcopter is measured by an analyzer, as shown in
Figure 7, where the control plant of
can be calculated by the curve fitting. A gain of
is pre-determined for the closed loop of
, which is stable, where
is given. In the designed case, the low-pass filter of
,
, and
can be designed to achieve the performance of the vibration rejection [
24]. Under the proposed quadcopter flight operation, the vibration is measured as shown in
Figure 8, where the harmonics of the measured results can be given as 3–11 Hz.
In this study, the flight controller mainly assists the controlled body, while the gimbal image stabilization controller provides the source of vibration interference during flight. The vibration of the gimbal provides a source of interference for the controlled object of the drone to perform experiments. As shown in
Figure 6, the red arrow is the gimbal image stabilization controller, which simulates the environment when the system on the drone is abnormal by actively creating vibration in the roll axis.
Figure 8 shows the measured FFT signal (x–y–z) of the IMU angle (
Figure 8a) and angular acceleration (
Figure 8b) to obtain the vibration signal of the proposed quadcopter flight operation. From the measured vibration harmonics in
Figure 8, the harmonic frequencies of the vibration are determined as 1–20 Hz.
From the above analysis results, a disturbance with a period
is given, and the dynamic stiffness of the proposed quadcopter control system is shown in
Figure 8. From
Figure 9a, it can be found that the magnitudes of the direct dynamic stiffness with the repetitive controller are larger than those without the repetitive controller, and the maximum of the direct dynamic stiffness can be found at harmonics of the periodic signal, i.e.,
,
. From
Figure 9b, the quadrature dynamic stiffness with
is relatively smooth compared to that without
, which can be used to verify the stability being improved with
.
Figure 10 shows the comparisons of loss factor, where the magnitudes of loss factor of the quadcopter control system with the repetitive controller are lower than those without the repetitive controller.
Figure 11 and
Figure 12 shows the comparisons of the dynamic stiffness and loss factor with a periodic disturbance of a period
. Similar to the results of
Figure 9 and
Figure 10, it can be found that the dynamic stiffness with the repetitive controller is larger than that without the repetitive controller. The maximum of the direct dynamic stiffness can be found at harmonics of the periodic signal, i.e.,
,
. In
Figure 12, the loss factor of the quadcopter control system with the repetitive controller is lower than that without the repetitive controller.
Based on
Figure 4 with the given parameters, a periodic disturbance is given as
Based on the disturbance input in (30), as shown
Figure 13a, the error responses of the control systems in
Figure 2 and
Figure 4 can be obtained in
Figure 13b. It can be found that the error of
Figure 4 is smaller than that of
Figure 2, and a repetitive error marked blue dashed line can be found in the control system of
Figure 2. The rapid decay rate of
Figure 4 can be found, where the larger error can be found at the commands’ switched time point, i.e., 0 s, 3 s, 5 s, and 6 s.
For the dynamic stiffness with the general periodic disturbance, considering the measured vibration harmonics in
Figure 8, the harmonic frequencies are determined as 1–20 Hz, i.e.,
. From
Figure 14a, it can be found that the magnitudes of the direct dynamic stiffness with the repetitive controller are larger than those without the repetitive controller. From
Figure 14b, the quadrature dynamic stiffness with
is relatively smooth to compare that without
, which can be used to verify the stability being improved with
.
Figure 15 shows the comparisons of loss factor, where the magnitudes of the loss factor of the quadcopter control system with the repetitive controller are lower than those without the repetitive controller. Based on
Figure 5 with the given parameters, a multi-periodic disturbance is given in
Figure 16a, i.e.,
Based on the disturbance input in (31), the error responses of the control systems in
Figure 2 and
Figure 5 can be obtained in
Figure 16b. It can be found that the error of
Figure 5 is smaller than that of
Figure 2, and a repetitive error marked by the blue dashed line can be found in the control system of
Figure 2. The rapid decay rate of
Figure 5 can be found in
Figure 16b.
5. Experimental Results Analysis
Figure 17 is the experimental setup of the study with the illustrated example of
Figure 6. To provide a vibration situation under the quadcopter flight operation, a camera stabilizer constructed in the quadcopter is used to provide the vibration source. The control algorithm is implemented by the 32-bit ARM with 168 MHz installed on the quadcopter, and the inertial measurement unit is used to feedback the angular velocity and acceleration of X–Y–Z. Three kinds of circumstances are given to verify the proposed method. Note that the experiment environment wind speed is 0 to 1 knot in calm weather.
For the first case, the quadcopter control system only with feedforward + PID controller is given. The camera stabilizer is still, and any vibration is not provided by the stabilizer.
Figure 18,
Figure 19,
Figure 20 and
Figure 21 show the experimental results under the stabilizer still. It can be found that the acceleration oscillations of the
x-axis and
y-axis are smaller than
. The angle of oscillation is less than
degrees. A larger acceleration can be found at the time of taking off or landing of the quadcopter.
For the second case, the vibration is produced by the stabilizer, and the repetitive controller is given in the quadcopter control system.
Figure 22,
Figure 23,
Figure 24 and
Figure 25 show the experimental results. The acceleration oscillations of the
x-axis and
y-axis are smaller than
. The angle of oscillation is less than
degrees.
For the third case, only with feedforward control + PID controller, the vibration is provided.
Figure 26,
Figure 27,
Figure 28 and
Figure 29 show the experimental results. The acceleration oscillations of the
x-axis and
y-axis are larger than
and the angle of oscillation is less than
degrees. At 14:51:00:000, however, the quadcopter system almost becomes out of control, even though the controller seems to stabilize the quadcopter system. At 14:55:00:000, the accelerations are larger than
and the angles are larger than
degrees. This eventually leads to the crash of the experimental machine.