End-to-end Analysis and Design of a Drone Flight Controller

02/15/2018
by   Zhuoqun Cheng, et al.
0

Timing guarantees are crucial to cyber-physical applications that must bound the end-to-end delay between sensing, processing and actuation. For example, in a flight controller for a multirotor drone, the data from a gyro or inertial sensor must be gathered and processed to determine the attitude of the aircraft. Sensor data fusion is followed by control decisions that adjust the flight of a drone by altering motor speeds. If the processing pipeline between sensor input and actuation is not bounded, the drone will lose control and possibly fail to maintain flight. Motivated by the implementation of a multithreaded drone flight controller on the Quest RTOS, we develop a composable pipe model based on the system's task, scheduling and communication abstractions. This pipe model is used to analyze two semantics of end-to-end time: reaction time and freshness time. We also argue that end-to-end timing properties should be factored in at the early stage of application design. Thus, we provide a mathematical framework to derive feasible task periods that satisfy both a given set of end-to-end timing constraints and the schedulability requirement. We demonstrate the applicability of our design approach by using it to port the Cleanflight flight controller firmware to Quest on the Intel Aero board. Experiments show that Cleanflight ported to Quest is able to achieve end-to-end latencies within the predicted time bounds derived by analysis.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/28/2021

UAV-Based Search and Rescue in Avalanches using ARVA: An Extremum Seeking Approach

This work deals with the problem of localizing a victim buried by an ava...
research
10/17/2020

Modeling and Implementation of Quadcopter Autonomous Flight Based on Alternative Methods to Determine Propeller Parameters

To properly simulate and implement a quadcopter flight control for inten...
research
06/13/2022

Discretization and Stabilization of Energy-Based Controller for Period Switching Control and Flexible Scheduling

Emerging advanced control applications, with increased complexity in sof...
research
06/30/2021

Arduino sensor integrated drone for weather indices: a prototype for pre-flight preparation

Commercial weather stations can effectively collect weather data for a s...
research
10/16/2022

TransVisDrone: Spatio-Temporal Transformer for Vision-based Drone-to-Drone Detection in Aerial Videos

Drone-to-drone detection using visual feed has crucial applications like...
research
04/27/2020

Control Design of Autonomous Drone Using Deep Learning Based Image Understanding Techniques

This paper presents a new framework to use images as the inputs for the ...
research
04/04/2018

Estimating Latencies of Task Sequences in Multi-Core Automotive ECUs

The computation of a cyber-physical system's reaction to a stimulus typi...

Please sign up or login with your details

Forgot password? Click here to reset