polito.it
Politecnico di Torino (logo)

Development of an Open-Source Flight Controller for Rotary Wing UAVs

Alessandro Minervini

Development of an Open-Source Flight Controller for Rotary Wing UAVs.

Rel. Giorgio Guglieri, Simone Godio. Politecnico di Torino, Corso di laurea magistrale in Ingegneria Aerospaziale, 2021

[img]
Preview
PDF (Tesi_di_laurea) - Tesi
Licenza: Creative Commons Attribution Non-commercial No Derivatives.

Download (48MB) | Preview
Abstract:

Due to the growing applications involving Unmanned Aerial Vehicles (UAVs), Flight Controllers for rotary wing UAVs are playing an important role in guaranteeing proper flight performances and high stability. Many companies are investing to improve drones’ reliability and extend their use to several applications ten years from now. Flight performance of drones needs to be improved to meet this increasing demand, and researches about best-performing control strategies have been carrying on. To increase flight performance and control strategies efficiency, an "open" platform is needed, so that the Flight Controller software can be fully accessible and easily modifiable. In the following thesis, an Open-Source Flight Controller for rotary wing UAVs is developed and tested in a real environment, while a Linear Quadratic Regulator (LQR) controller is implemented to perform the auto-stabilizing function and maneuvres. Arduino STM-32 board is chosen as the micro-controller, and it is programmed by using Arduino Integrated Development Environment (IDE). An Inertial Measurement Unit (IMU) is developed to perform sensor fusion between accelerometer and gyroscope sensors. For this purpose, a complementary filter is implemented in the discrete-time domain. Particular attention is given to the software working frequency and the Pulse Width Modulated (PWM) signals generated by the micro-controller: STM-32 interrupt logic and timers documentation are analyzed in detail to avoid delays and provide a fast response to disturbances by motors. The developed software is also enabled to communicate with a GNSS/GPS module, providing the Flight Controller with the longitude and latitude for position control and autonomous flight. Before implementing the control algorithm, a simulation model of the quadcopter is developed in a Simulink environment to preliminary tune the LQR controller. Finally, flight tests are performed, and satisfactory results about pitch, roll, and yaw response to commands demonstrate the capability of the developed Flight Controller to perform maneuvres properly. The LQR controller is found to be a valid alternative to the most common Proportional-Integrative-Derivative (PID) controller, and an efficient open-source platform to improve flight performances of quadcopters is provided.

Relatori: Giorgio Guglieri, Simone Godio
Anno accademico: 2020/21
Tipo di pubblicazione: Elettronica
Numero di pagine: 107
Soggetti:
Corso di laurea: Corso di laurea magistrale in Ingegneria Aerospaziale
Classe di laurea: Nuovo ordinamento > Laurea magistrale > LM-20 - INGEGNERIA AEROSPAZIALE E ASTRONAUTICA
Aziende collaboratrici: NON SPECIFICATO
URI: http://webthesis.biblio.polito.it/id/eprint/18388
Modifica (riservato agli operatori) Modifica (riservato agli operatori)