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, I will try this fork on another plane to test it. It is exately what we need. I hope it's not a too old version of arduplane.

    Gavin Greenwood said:

    Post a link to youtube! Great work guys! I'd check out ArduSoar firmwareon gitHub. I used it for an automated soaring project and it went well.

  • Post a link to youtube! Great work guys! I'd check out ArduSoar firmwareon gitHub. I used it for an automated soaring project and it went well. 

  • Andreas Gazis said:

    My skywalker and bixler consume about 4 amps @ 3S so, let's say roughly 50W to hold altitude.

    How much does your motor draw?

    The cells should produce enough to keep it up when the sun is high. What about battery voltage? Was it generally close to full when the sun was high? Did you start noticing the voltage starting to drop at a particular time in the day or was it being slowly being drained throughout?

    Hi Andreas,

    For the altitude hold it supposed to consume 56W. In fact it consume only 37W !

    The weather was bad and we lauched at the morning so the battery voltage started to decrease until 14V. When the sun was high the voltage was 15,8V. Some cells are broken and it was cloudy. With small battery the key is when to lauch, not to early, not to late. The solar controller is a GENASUN GV10 li-ion.3702299915?profile=original

    Philipp Oettershagen

    Exactly, this is also what we set (and extended) in the "passively thermal compliant" version of TECS (and also the active thermal tracking variant of it) that we use on our Pixhawk- and solar-powered glider. It is really not that tough to adapt TECS in that way, although you need to potentially take care of integrator wind up (due to the altitude error that is not being corrected). See http://diydrones.com/profiles/blogs/ackling-the-european-refugee-cr... and the papers at http://www.atlantiksolar.ethz.ch/wp-content/downloads/publications/... .

    @Jean-Jacques: Great great work btw., love to see more of this!

    Hi Philipp, thank you for advice, we are following atlantiksolar project, great team. Your groundstation software looks nice but it's another subject.



  • paul riseborough said:

    The TECS algorithm has a control parameter labelled TECS_SPDWEIGHT which controls the ratio of speed and height error affecting the demanded pitch angle. If TECS_SPDWEIGHT is set to 2.0 then the demanded pitch angle is determined by 100% by airspeed errors and 0% by height errors (height errors will be controlled via throttle) which is what you want in a thermal. If set to 0.0 then the percentages are reversed and pitch will 100% be controlled by height error (not what you want). the default is 1.0 which provides a balance between the two.

    When set to 2.0 this will allow the plane to climb above the demanded height on min throttle when climbing in a thermal or descend at full throttle if in a large downdraft with the speed controlled to the set speed in both cases. Effectively the plane flies at a constant airspeed controlled by elevator and the throttle is used to control total energy. The downside is reduced precision in height control over-all and the possibility that TECS_TIME_CONST will need to be increased to get smooth height control. The TECS_PTCH_DAMP and TECS_THR_DAMP parameters can also be adjusted to compensate, but this is very trial and error unless you know how the algorithm works.

    Paul (original TECS developer)

    Exactly, this is also what we set (and extended) in the "passively thermal compliant" version of TECS (and also the active thermal tracking variant of it) that we use on our Pixhawk- and solar-powered glider. It is really not that tough to adapt TECS in that way, although you need to potentially take care of integrator wind up (due to the altitude error that is not being corrected). See http://diydrones.com/profiles/blogs/ackling-the-european-refugee-cr... and the papers at http://www.atlantiksolar.ethz.ch/wp-content/downloads/publications/... .

    @Jean-Jacques: Great great work btw., love to see more of this!

  • My skywalker and bixler consume about 4 amps @ 3S so, let's say roughly 50W to hold altitude.

    How much does your motor draw?

    The cells should produce enough to keep it up when the sun is high. What about battery voltage? Was it generally close to full when the sun was high? Did you start noticing the voltage starting to drop at a particular time in the day or was it being slowly being drained throughout?

  • The wings are populated by 48 solar cells (sunpower C60 maxeon). They are supposed to provide more than 3w each in good conditions. So, in theory it should provide something around 150w. But the solar charger efficiency, attitude off the plane, broken cells....

    For this particular flight in september with clouds:

    total load:17870mah (3DR power module data)

    total solar cells charge:6715 mah (frsky sensor data)

    battery capacity charged after flight: 7337mah

    This datas doesn't match. We need to calibrate amps meter of the power module and we think that the frsky current sensor don't work well because the value was not stable during flight.



    Andreas Gazis said:

    Wonderful, well done. How many kwh did your panels produce? How many were supplied by the battery and how many were consumed in total?

  • Wonderful, well done. How many kwh did your panels produce? How many were supplied by the battery and how many were consumed in total?

  • bravo les gars !

  • Cant wait for the details! :)

  • Developer

    Lovely !

This reply was deleted.

Activity

DIY Drones via Twitter
RT @chr1sa: My talk on PX4 and FAA certification is coming up at 1:45 PST today on the PX4 Dev Summit livestream. Includes some cool new st…
yesterday
DIY Drones via Twitter
RT @seesharp: I'm tuned into the PX4 / Dronecode free live conference. Great stuff. Microsoft AirSim talk in 10 minutes. https://t.co/0zbZ2…
Monday
DIY Robocars via Twitter
RT @masato_ka: 距離センサを3つとESP32を付けたラジコンカーをDonkeyCarライクにNNで自動走行。3層FC極小モデルをTensorFlow Lite for microcontrollerで動かしてる。機体は借り物でRumiCarって言います。Tenso…
Monday
DIY Robocars via Twitter
RT @SmallpixelCar: My car was able to go all the way autonomously until the crosswalk. It was only 100 yards from the target. What should b…
Saturday
Liam left a comment on Agricultural UAVs
"Hi
I'm Liam from T-MOTOR. I would like to reach out to see if there is any possibility for us to work together.
We are a propulsion system manufacturer who offers motors, propellers and ESCs for all kinds of drone applications which vary from secur…"
Jun 30
DIY Robocars via Twitter
RT @SmallpixelCar: Smart move. The car used the shadow to guide it through the bridge. This was never in the training samples. But it learn…
Jun 30
DIY Robocars via Twitter
RT @SmallpixelCar: Getting closer to the target. Single camera. Untrained road. https://t.co/Wsr7RwDamj
Jun 29
Richard Cox left a comment on Australia
"Anyone in the DIYDRONES Australian subgroup based in Alice Springs, NT?
I am experimenting with Ardupilot (standard Arduplane), Pixhawk 4 FC in a 4-ch
RC "AXN Floater Jet" foamy plane..."
Jun 29
Omar Sykes left a comment on Australia
"Hi everyone, I am looking for someone who is good at drone building, repair and software in Adelaide. Please give me a call on 0477 319 219."
Jun 29
DIY Robocars via Twitter
RT @RoboticMasters: #donkeycar https://t.co/czuLoVRcA4
Jun 29
DIY Robocars via Twitter
https://t.co/DKQbNTbz0g
Jun 29
DIY Robocars via Twitter
RT @RoboticMasters: Donkey car, car car car car car car; Donkey car, car car car car car car; Donkey Car. Anyone like our tiny tiny donkey…
Jun 29
DIY Robocars via Twitter
RT @SmallpixelCar: After improving DBSCAN speed, I can get 11 frame per second on @NVIDIAEmbedded Jerson Xavier MAXN mode and the autonomou…
Jun 26
DIY Robocars via Twitter
RT @Heavy02011: Join us at next Virtual Race League: ⁦@diyrobocars⁩ Race #4 - Parking Lot Nerds, August 1st https://t.co/5KUpu7VGaH
Jun 25
DIY Robocars via Twitter
RT @SmallpixelCar: #CUDA implementation should be easy, because most of the time is on distance calculations berween two points and if the…
Jun 25
DIY Robocars via Twitter
RT @SmallpixelCar: This is the view from the car. Even my lanenet inference is fast on @NVIDIAEmbedded Jerson Xavier, DBSCAN clustering tak…
Jun 25
More…