Firefly Eindhoven - Prototype and TMC Demo

From Control Systems Technology Group

Jump to: navigation, search

Contents

Introduction

Video

Please see https://surfdrive.surf.nl/files/index.php/s/cgeY7bPmuzbNhk8

LED Animation

Refer to Firefly Eindhoven - Light Design.

TMC event

The TMC event was an event organized by TMC to make people experience technology. They invited start-up companies to talk about their visions in both technical and entrepreneurial aspects. Firefly was one of the teams invited for this event.


Concept

For the TMC event, the team wanted to show the concept of the drone show with three drones, but because the ultra-wide band only worked with one drone, and the top camera was unable to be transported to the new location, only one drone was able to fly. Therefore it was decided to make one drone fly, and visualize the other drones on a screen. The screen would show the actual data from the flying drone and the paths the other drones should do if they were able to fly together and synchronized.

The viewers were therefore able to see the drone fly inside the cage, while they were simultaneously able to see what the team's ambitions of the actual show with three drones looks like.

Implementation

To make the TMC event a success, the drone would need to fly in a different environment than the soccer field environment on which the drone was tested. To test if the drone would fly correctly, the UWB system was set up in the cage in which the drone was going to fly and the drone was updated with the correct distances between the beacons. After uploading the right parameters to the drone, the drone was moved by hand through the field to find the boundaries of where it could fly without a risk of crashing into the net. During this, a close eye was kept to the position calculated on the drone to see if there were any spikes or jumps in the position which might give problems during the flight. The trajectory was then scaled and shifted to the cage positions and dimensions. When testing the drone, it was noticed that the z position was oscillating a lot. This led us to thinking that the ground was reflecting too much, and therefore it was decided that it would be better to take the soccer field floor and place it on top of the floor to get rid of light reflections.

Vectors pointing in the phi is zero direction and the direction of the drone. LEDs 1 and 2 are the top LEDs

The second day of testing was used to get the synchronization between the drone, the music and the visualization working. To make sure the music and visualization started at the same time as the drone show, the value of the switch that turns on the trajectory following on the drone was send to the laptop over ZigBee communication. When this value switched, the Simulink model would then send a UDP signal to another version of Matlab that would manage the music. Using this hierarchy, the time delays were all very much alike and therefore no further synchronization was needed between the drone and simulation.

Using these architectures, it was possible to get the drone flying and visualized with as only human interaction the take-off procedure and the landing. During the final tests, it was noticed that during the part of the show where the drone had to stand still, it was oscillating a lot. Tests and checks were done to find the problem and the conclusion was that it had to be the ultra-wide band that was giving the oscillating problems. This was because the cage in which the drone had to fly had to be moved a little by the TMC organizers, and during this process, the beacons had moved a few centimeters with respect to each other. This made the UWB results very inaccurate up to tens of centimeters. Therefore the new distances were calculated and uploaded, after which the drone flew well again.

During the event it happened once that the drone was unable to start its landing sequence and therefore had to be shut down manually, but this is a bug that could not be replicated and therefore there still has not been found a reason for this nor has anything changed. It never happened afterwards, so it is assumed that it is a rare deadlock in the code that still has to be found.

The TMC event has been a great success due to the good preparations and hard work of the team, and therefore we became first in the TMC competition where the team competed against other technological ideas for startup companies.

Personal tools