Simulation platform for racing drone trajectories.

A cascade PID controllers strategy and a typical race track were simulated using way-points for trajectories analysis.
84 Downloads
Updated 27 Apr 2023

View License

Co-Simulation platform for geometric design, trajectory control and guidance of racing drones.
The design of racing drones brings quite a thrilling challenge from a flight dynamics point of view. This work aims to offer a single-based simulation platform combining its geometric design, trajectory control, and guidance of racing drones. Also, it is reckoned from a pilot's view in a classic FPV competition. Hence, it is an active platform for studying racing drones' design founded on dynamics, with fifteen different drone models. It is one of the few existing platforms that combine all aspects of racing drones in a single simulation environment.
The simulation platform combines the advantages of computer-aided programs (Unigraphics NX/CAD-CAE) for the geometric definition of drone airframes and the extraction of the moments of inertia from these models. It includes a traditional cascade control strategy (PID) for the control and guidance strategy in Matlab/Simulink environment. It is currently functional and stable. In addition, it is also mathematically stable so that typical analyses of controller stresses, applied forces and trajectories as a function of time are possible.
Specifically, the platform offers to study the racing models' behaviour according to the airframe structure's geometrical specifications. It allows for modifying all the design parameters and observing the response on the trajectory, simulation times and speeds achieved by the system with 15 different geometric alternatives, including a large majority of commercial airframes. It is possible to observe all the control loops to analyse the dynamic behaviour of the models related to accelerations and rate frequencies during the trajectory. It is also an open platform that allows new updates, such as input position references via vision systems or typical input sensor data in the case of real-time applications or hardware implementation.
Platform
The platform is composed of the following blocks in Simulink:
  • Blocks of airframe geometric specifications:
These blocks define the mass distributions and moments of inertia of the racing drones that have been used:
  1. Symmetric airframes (SY)
  2. Non-symmetrical airframes (NSY)
  3. Hybrid airframes (HS)
  • Block for racing drone dynamics: (High dynamic performance)
This block contains the equations of motion (translation and rotation) and the torque of the rigid body. The moments of inertia are generated from the NX CAD module, stored in an excel database and called through a MATLAB script. The torque is defined by thrust force, calculated in the CAE module of NX and identified as a plant for use in the control closed loop in Simulink.
  • Blocks for guidance and trajectory tracking
These blocks define the degree of automation of the platform. It contains the following blocks:
  1. Block for planning the trajectory
  2. Block for generating position references
To operate the simulation platform go to the models tab, download all the files. Add them to a Matlab path. Open the Testbench.slx file. You can type in a MATLAB command window or make your own script.

Cite As

Quintero, J. M. Castiblanco, et al. “Co-Simulation Platform for Geometric Design, Trajectory Control and Guidance of Racing Drones.” International Journal of Micro Air Vehicles, vol. 14, SAGE Publications, Jan. 2022, p. 175682932211437, doi:10.1177/17568293221143785.

View more styles
MATLAB Release Compatibility
Created with R2022a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
2.06

Checking models

2.05

Summary

2.04

Picture and DOI number

2.03

Ready for journal.

2.02

Update upp

2.01

Update description.

2.0

The platform takes into consideration the perspective of a racing pilot. Thus, a block of five typical trajectories for racing drones has been added.

1.195

Update App

1.194

Update App

1.193

UPdate APP

1.192

Update App

1.191

Update App

1.19

Update app

1.18

Update App

1.17

Update App

1.16

Update app

1.15

Up date note!

1.14

Up date app

1.13

Variables

1.12

Update website

1.11

Update model

1.1

Image update

1.0.1111

Image update

1.0.111

Update model

1.0.22

Update plantform

1.0.21

Image update

1.0.2

Update block

1.0.1

Fifteen models have been added.

1.0.0