Toolbox Plane

Developing an autonomous plane

A friend and I decided to develop and build our own flightcontrol platform for a model airplane.
We started the project in 2017 and already had multiple test flights to test different components. Our long-term goal is a fully autonomous long-distance flight.

Toolbox Plane

Plane

The autonomous plane is built using an X-UAV Mini Talon remote-controlled airplane. The airplane has a wing span of 1.3m and much space on the inside which gives us greater flexibility when choosing and designing our electronics. It is powered by an electric motor in the rear, a LiPo-Battery provides enough charge for long flights.

Mini Talon

Flightcontroller

At the heart of our plane is our self-developed flight controller. It is based around a Nucleo-L432KC development board, a Bosch-Sensortec BNO055 IMU and an NXP MPL3115A2 Barometer and Altimeter. The flight-control is responsible for real-time data processing and the subordinate feedback control, additionally, it is responsible for managing our “overwrite remote control” (PCB, Software).

Flightcontroller

Power-Distribution-Board

The power distribution board is responsible for creating all required voltage levels (5V and 3.3V) and measuring all voltages and currents, furthermore, it calculates the power consumption and estimates the battery status. The board consists of three Linear Technology LTC-2946 power management ICs and a Microchip AtMega 48 (PCB, Software).

PDB

Decision Finding and Feedback-Control

The decision finding and superordinate feedback control runs on a Raspberry Pi. The decision finding is implemented using a hierarchical state machine, the feedback control for the principal axis, speed and position is implemented using a distributed, cascaded PID-Control (FlightComputer, Simulink Simulation).

Feedback-Control Data

Communication

We implemented a custom transport-layer protocol that is independent of the transmission medium, this protocol is responsible for efficient coding, error detection and routing. This protocol is used for communication between the different components on the plane (via USB) and communication of the plane with the remote control and the base station (LoRa or WiFi). To get the maximum benefit of our custom protocol we designed our own remote control (Protocol definition, Software for the Remote, Custom 3D-printed case for the remote).

Remote