Tuning parameters for thermals

Hi everyone,

With my friend we built a solar powered glider (4m wingspan). Yesterday we made a 7 hours flight with 7800mah battery pack, the total load was 17500mah with solar cells.

It was great BUT, during the day the controler was fighting with thermals to regulate the altitude, what a waste of energy !

I tried to set the maximum sink to zero in TECS params but it didn't work. I'm sure there is a solution to let the plane taking altitude with thermals. The max climb max is set to 0,5m/s and it works great to limit the power and it is enought to lock the alti.

Maybe someone know how to let the plane free to climb but managing an altitude floor.

3691315901?profile=original3691316020?profile=original

planeur.jpg

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Thank you very much, we will work on it.

  • Congrats !

    APM is not really optimized for gliders, especially in the auto modes. I'm using it mostly in FBWA mode ( more details here : http://www.itluxembourg.lu/site/soaring-with-apm-and-ultimate-lrs/ )

    Regarding your question about thermals in auto mode, I've noticed that the min/max pitch limits has priority over the TECS.

    So here's the idea : set the LIM_PITCH_MIN to the pitch value corresponding to when your glider is just gliding at ideal speed. Let's say it's at pitch = -2°.

    Now your plane is in auto mode, circling at 100 m, powered by the motor. Let's say that the pitch = 0° in this situation.

    Then the plane enters a thermal : the plane takes 2 meters every second, and the APM want to correct the altitude by cutting the motor and pitching down. But it's not authorized to pitch down by more than -2° (the LIM_PITCH_MIN parameter), so it just cuts the motor, and makes a perfect glide at -2°, while continuing to gain altitude from the thermal. You'll observe that whatever settings you've got in the TECS parameters, APM will first stricly obey to the LIM_PITCH_MIN.

    The thermal disappears : the plane continue its glide at -2° with motor off until 100m, loosing very slowly its altitude, and at 100m the APM throttles up again.

    Maybe you'll want to change the LIM_PITCH_MIN just before landing but it's not mandatory. May I also suggest that you try to land in FBWA, trim it so that it glides correctly with sticks centered and then it becomes a perfect mode for landing almost hands off.

    Soaring with APM and Ultimate LRS
  • We will share everything,a youtube channel will show every build steps and tuning. It's powered by 12 li-ion cells (18650) and 48 solar cells C60 sunpower maxeon. APMmicro 2.7, ublox neo8m gps with compass, MPXV7002 analog airspeed sensor and genasun charge controller.

    The aircraft was design by Frank Aguerre with predimRc especialy for our needs. We made the wings structure with carbon rodes and 3D printed parts made with my prusa i3.

    Paul Meier said:

    Wow, amazing, would you share some of the specs of your plane ?

    Présentation
    Saviez-vous que le vol des aéromodèles , ou des   drones à ailes fixes pour être à la page, e st très bien théorisé et documenté depuis plus d'un si…
  • Wow, amazing, would you share some of the specs of your plane ?

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @Heavy02011: #VirtualRaceLeague: @DIYRobocars Race #14 - #ParkingLotNerds join us January 15th for #AutonomousRacing #RoboRace ⁦@DAVGtec…
Monday
DIY Robocars via Twitter
RT @chr1sa: And after that came our races, 50 in all. This battle between these two Russians was the best we've ever seen -- incredible fig…
Monday
DIY Robocars via Twitter
RT @chr1sa: Before our @DIYRobocars virtual race this weekend, we had a presentation from the team that won the Indy Autonomous Challenge i…
Monday
DIY Drones via Twitter
Dec 12, 2021
DIY Robocars via Twitter
Dec 12, 2021
DIY Robocars via Twitter
RT @chr1sa: Just a week to go before our next @DIYRobocars race at @circuitlaunch, complete with famous Brazilian BBQ. It's free, fun for k…
Dec 4, 2021
DIY Robocars via Twitter
How to use the new @donkey_car graphical UI to edit driving data for better training https://www.youtube.com/watch?v=J5-zHNeNebQ
Nov 28, 2021
DIY Robocars via Twitter
RT @SmallpixelCar: Wrote a program to find the light positions at @circuitlaunch. Here is the hypothesis of the light locations updating ba…
Nov 26, 2021
DIY Robocars via Twitter
RT @SmallpixelCar: Broke my @HokuyoUsa Lidar today. Luckily the non-cone localization, based on @a1k0n LightSLAM idea, works. It will help…
Nov 25, 2021
DIY Robocars via Twitter
@gclue_akira CC @NVIDIAEmbedded
Nov 23, 2021
DIY Robocars via Twitter
RT @luxonis: OAK-D PoE Autonomous Vehicle (Courtesy of zonyl in our Discord: https://discord.gg/EPsZHkg9Nx) https://t.co/PNDewvJdrb
Nov 23, 2021
DIY Robocars via Twitter
RT @f1tenth: It is getting dark and rainy on the F1TENTH racetrack in the @LGSVLSimulator. Testing out the new flood lights for the racetra…
Nov 23, 2021
DIY Robocars via Twitter
RT @JoeSpeeds: Live Now! Alex of @IndyAChallenge winning @TU_Muenchen team talking about their racing strategy and open source @OpenRobotic…
Nov 20, 2021
DIY Robocars via Twitter
RT @DAVGtech: Live NOW! Alexander Wischnewski of Indy Autonomous Challenge winning TUM team talking racing @diyrobocars @Heavy02011 @Ottawa…
Nov 20, 2021
DIY Robocars via Twitter
Incredible training performance with Donkeycar https://www.youtube.com/watch?v=9yy7ASttw04
Nov 9, 2021
DIY Robocars via Twitter
RT @JoeSpeeds: Sat Nov 6 Virtual DonkeyCar (and other cars, too) Race. So bring any car? @diyrobocars @IndyAChallenge https://t.co/nZQTff5…
Oct 31, 2021
More…