Abstract
This paper proposes an event-driven PID control mechanism for autonomous quadrotor helicopters that will reduce the usage of communication channels. Compared to traditional PID controller, the event-driven PID controller can maintain the satisfactory stabilization effect with the ability of reducing the number of transmissions significantly. The simplified dynamics model of quadrotor helicopter is also established. Finally, the improvements realized by the developed method are verified in the computer simulations.
Introduction
In recent years, with the development of microelectronics, micro mechanical technology and computer technology, control of small aircrafts can be realized. Due to the advantages with low cost, convenient control manipulation, flexibility, low noise, small volume and light weight, and quadrotor helicopters have become increasingly popular and have drawn considerable attention in recent years. The small quadrotor helicopter is an under actuated system with six degrees of freedom and four inputs. In addition to vertical landing and taking off, landing and hovering, and other flight characteristics, compared with the conventional helicopters, it has more concise structure and simpler control mode achieving a variety of flight control by changing the speeds of four rotors. However, the quadrotor helicopters are also unstable systems with multivariable, nonlinear, strong coupling, and other characteristics. Many results, which report progresses regarding the modeling, analysis, stability, and control of quadrotor helicopter systems, have appeared in the literature (see, e.g., literature1–8). In Chen et al., 2 the authors designed an optimal reconfiguration control method for a quadcopter, which encounters actuator faults and applied adaptive control and combined multiple models with consideration of optimal performance index and the minimum cost to reach a good tracking performance. Mian et al. 5 constructed a nonlinear model of a six-DOF quadcopter based on the Newton–Euler formalism and presented a control strategy with coupled feedback linearization. By applying the quantum information mechanism, Chen et al. 6 developed an adaptive compensation control method for a four-rotor helicopter, which can deal with the attitude control problems in the case of external disturbance. Hoffmann et al. 7 described the vehicle dynamics of the STARMAC quadrotor testbed and the control system design with flight test results for each control loop culminating in multiple waypoint trajectory tracking demonstrations with sub-meter accuracy. Sumantri et al. 8 proposed a sliding mode controller in order to track trajectory robustly under wind disturbance and analyzed electricity consumption with verification in experiment. While the control goals in the above contributions were achieved via continuous communication, it is more realistic to consider intermittent control signals at discrete instants. 9
Recently, in contrast to such periodically sampled control schemes, which may yield a conservative solution when the communication resources, event-driven control has become hot research topics and drawn considerable attention,10–13 because it may allow to significantly reduce the usage of the communication channel. For instance, the distributed event-driven control scheme has been presented for cooperative control of multi-agent systems over networks with limited resources.14–16 By comparison with time driven control, event-based control has the often cited advantage on communication reduction. 10 In spite of these advances, it has not received much attention until now with few results appearing on event-driven control of quadrotor helicopters.
Motivated by the use of event-driven control methods for multi-agent systems, the main result of this paper is a methodology for constructing event-driven PID control strategy guaranteeing the considered quadrotor helicopter stop moving and remains stable. The simplified mathematical model of quadrotor helicopter is firstly presented. Then, we introduce the PID controller for the dynamics to follow a designated trajectory and develop an event-driven control strategy for the attitude stabilization of the quadrotor helicopter.
The rest of this paper is organized as follows: In “Model of quadrotor helicopter” section, we give the mathematical framework for quadrotor helicopters. “PID controller” section presents the PID controller and event-driven controller for achieving the attitude stabilization. In “Simulation” section, numerical simulations are provided to show the effectiveness of the proposed method. Finally, some conclusions are drawn in the last section.
Model of quadrotor helicopter
A quadrotor helicopter is usually equipped with four equal-spaced rotors, which are arranged at the corners. A free body diagram of quadrotor helicopter is depicted in Figure 1. Before delving into the physics of quadcopter motion, let us formalize the kinematics in the body and inertial frames. In the inertial frame, denote

Flight simulation of a simulated quadrotor helicopter.
Forces and torques
Under reasonable assumptions on Brushless motors of quadrotor helicopter, the power of each motor is calculated as
It follows from Hoffmann et al.
19
that in the general case,
With mathematical operation to get the thrust magnitude
As there are four equally spaced rotors in a quadrotor helicopter, considering all the motors yields the whole thrust on the quadrotor helicopter (in the body frame) below
The friction is simply modeled as a force which is regarded as a proportional term with the linear velocities and such a modeling choice is sufficient from the view point of modeling and simulation. Then, the drag forces are modeled as
The torque
Equations of motion
With the aid of rotation matrix, the linear motion in the inertial frame can be obtained as
For rigid body dynamics, it follows from Euler’s equations that the rotational motion can be modeled as
Denote
PID controller
To achieve the stabilization of attitude of the quadrotor helicopter, the usual PID controller is employed, with a component proportional term to the error, an integral term and a derivative term of the error. The control input
Compared to PD controllers despite of their ease of implementation, the PID controller will not lead to steady state error, especially in the case of having noise and disturbances. Note that the control input
The complete specification for the PID controller is provided and simulations under this controller can be performed. To avoid integral windup, we apply a switched strategy, that is, disable the integral term until the error is close to the steady state and activate the integral term near the desired steady state so as to push the system towards a low steady-state error.
Event-driven PID controller
In this section, we introduce an event-driven PID control scheme, where the event detector monitors the event-driven condition and determines when to transmit the newest errors to the controller. More specifically, when an event happens with
In order to smooth the error characteristic, we also consider another event-driven strategy with a different event-driven condition. Then, the new condition is given by
Note that the event threshold decreases exponentially. However, the event monitoring process remains unchanged, that is, the event detector monitors the event-driven condition and determines when to transmit the updated state estimates.
It is worth mentioning that the continuous-time event detector case is considered to determine the transmission of updated state estimates. However, in some cases, it is necessary to reduce sustained supervision times. Then, one can adopt a discrete-time detector which works in a discrete manner and is not difficult to be deduced.
Simulation
Having obtained the event-driven PID controller, we evaluate its performance with simulated realizations of the dynamics of the quadrotor helicopter, equation (6). In contrast to the literature for tuning PID parameters, the intent of this section is not to modify the dynamics of the quadrotor helicopter nor is the intent to design an algorithm to output the “optimal” PID gains. Instead, the comparisons between the PID controller and the event-driven PID controller are provided to find a tradeoff between control accuracy and reduced usage of the communication channel.
This event-driven method relies on detecting the upper bound of the real and sampled errors related the roll, pitch, and yaw angles; the value of the upper bound is informally referred to here as the guard of event condition. In simulations, we simply take the event threshold

Evolutions of the angular velocities

Evolutions of the angular velocities

Evolutions of the angular velocities
Compared to the PID control, the event-driven controllers can retain a satisfactory closed-loop behavior and can significantly reduce the number of transmissions, but we pay the price in allowing the quadrotor helicopter’s angular velocities varying within small scopes. However, this alteration is still tolerable and affordable.
Conclusions
This paper has addressed the event-driven PID control problem for autonomous quadrotor helicopters. Simplified dynamics model of quadrotor helicopters in hovering flight mode has been established. Then, an event-driven control strategy with the usual PID terms for the attitude stabilization of the quadrotor helicopter has been provided. Simulation results have been proposed to corroborate the theoretical results and have shown the comparisons with the effects under the PID controller.
Footnotes
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) received no financial support for the research, authorship, and/or publication of this article.
