"Cruise control" for an e-glider.

I am building an e-glider that is controlled normally until you release the sticks. Then the autopilot kicks in and keeps the model around and starts looking for thermals or starts the motor when the glider is too low. No waypoints, its all about finding thermals.


Here is a video of my first long autonomous flight.

Reichard Champion ATV 2011 from Glider UAV on Vimeo.


2013 Update

Finally, an update about my project:

I have converted the telemetry log into subtitles, so You can see what's going on. This video explains a "Thermalling method for Model Glider Autopilots" in more detail.

I am gradually replacing my autopilot code with MatrixPilot. Please have a look and feel free to comment.


2014 Update

Local Endurance Thermalling mission in MP

Currently I fly with a Topmodel CZ Linea with an Auav3 autopilot and a Topmodel CZ Fantasy with a UDB5 autopilot board.

Recently I removed my "ATV autopilot pic-chip", so that I now have a 'MatrixPilot only' solution.
I wrote a LOGO script and some extra commands.

!!!!!   The code is public and free to use   !!!!!

I posted al the needed code and mods here: (May 24 '14)

   "Support for (E-)Glider local endurance thermalling mission in MP"
     Post on MatrixPilot forum

Special thanks to the MatrixPilot development team.


2015 Update

MatrixPilot got upgraded with the helical turn method. I changed my code to follow this development.
To add the auto land function, i needed better brake control. After that i created the auto landing script.
The codebase has moved to Git. My code is here: https://github.com/KeesGuijt/MatrixPilot.



Views: 8608

Reply to This

Replies to This Discussion

Sounds interesting. Got a link to a site with more info?


I don't have a website but I added some more information. Just let me know if you want more.




Hey I'm working on thermalling as well. We might learn some ideas from each other. PM me if you're interested.

Kudos for ATV,  You nailed it!

What type of cover material is used on piggy back pod? Is it IR clear?  Do you have holes for CP thermopile sensors? Very tight install looks great, Will you post auto pilot  and vario code ?  I would like to add a thermal seeker mode to ArduPilotMega. 

Nice project!

Thanks Mark,


Glad you like it.

The covermaterial is transparant shrink wrap for DIY battery packs. And you're right, i had to make holes in it, but i coverthose with magnetron foil, which is thin enough.

I haven't posted my code yet, but i might. It's in Jal v2,0 so its won't be very portable.


This is the method I currently use. It is known in the Netherlands glider-community as the "270 degrees method":
         -- devide the circle in eight sectors
         -- start thermal turn if not started and climbrate is above threshold but decreasing
         -- measure and store climbrate per sector passed (270 degrees)
         -- determine the best climb sector
         -- exit thermal 2 sectors before best climb sector
         -- fly straight on for 3 sec.
         -- this causes leveling off and flying to the better part of the thermal
         -- there a new cycle will start if rising air is found again
         -- all actions are monitored with a timer, so they cannot run for too long
         -- when only 1 sector has positive climbrate, the plane will head there
         -- when all sectors are below ThermalThreshold10 climbrate, turning stops

Good luck with your Megaproject, it would be great to have APM with thermalling.




Thanks for your 270° method algorithm, This may be a bit more than I can handle but, time will tell.  

What is magnetron foil?

Yep I think this was the one we all watched closely http://soaring.goosetechnologies.com/ I have been watching full size soaring today and was thinking yet again how wonderful it would be to send something off and watch it float around whilst sat under a tree!

Very interesting project!

Estaré pendiente de tus futuras publicaciones.

Very interesting. Nice little project and clear concise goals. Please bring your thought to light here as I'm sure many will want to help you in this endeavour. Also a pic of your airframe would inspire imaginations :)
That's a plastic film used in microwave-ovens.


I watched that too.


Here is my list of favorites;

- Nasa Autonomous Soaring Project UAV Cloud Swift (http://www.technovelgy.com/ct/Science-Fiction-News.asp?NewsNum=471)
- Dan Edwards - Aloft (http://soaring.goosetechnologies.com/)
- Staffan Kjerrström (http://hem.passagen.se/skj/engelska/NEWS2005.HTM)
- Andrea Salvatore http://diydrones.com/profiles/blogs/705844:BlogPost:31255

Great stuff. Thanks for inspiring me.



Reply to Discussion


© 2020   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service