Hey guys and girls,
I've followed DIY drones for a while and there's a ton of great info on here. Unfortunately I've run into a problem. I've got a very overpowered octo on Ardu 3.01 that needs dialling in on Alt Hold and Loiter. I have the alt hold working well, it holds altitude nicely but when I want to climb or descend the rates are very slow, to almost nothing at all.
I'm used to the alt hold on DJI WKM which basically felt like having manual control except it locked in the altitude better. With Ardu so far I'm getting a decent alt hold, but no climb/descent performance. I mean it's barely a crawl at 10 cm/s or even nothing at all sometimes.
This is an early foray into Ardu for me and overall I'm loving it. Stablize is working really well so I'm happy with that. I studied flight control and PIDs at Uni for my aero eng degree, which is one of the reasons I went with Ardu because I could get into the nooks and crannies of the flight controller. Something you can't do with DJI. And I feel this has let me tune a big octo better than I could with DJI. Stablize is working better than it did with DJI.
The rig this is for for pro film work, it'll be carrying a Red Epic and anamorphic lenses. So as you can imagine it's very overpowered in it's current state (with no payload or gimbal). Specs:
Ardu 2.5 board with 3.01 firmware
Cinestar 8 centre frame with 550mm custom booms, 1.25 m diameter
Motors: KopterWorx KV10-V2
ESC: KopterWorx 80 amp
Props: Aerobot 15 x 5.5 carbon
Packs: 6s2p 16,600 MaH
Castle BEC for Ardu power
Video of the second test flight:
Everything has been calibrated and as I mentioned, stabilize mode is great. It's just alt-hold that has be scratching my head. Once that's sorted I can get to work on loiter.
Any thoughts guys? I've tried adding I to THR_RATE, increasing the I max, I've ramped the THR_ALT P up to the max of 8 and down as low as 1.5 with no difference in cimb rate, I've maxed out the I_MAX on this as well to 500 cm/s and still no change.
Am I expecting too much for the climb/descent rate to be similar to what's in manual? Right now it's barely 10cm/s.
I managed to grab some video so you guys have a better idea what this all looks like. Thanks very much in advance for your help and advice :)
Hey guys and girls,
No one has any thoughts? Is alt hold supposed to work that way or should I expect more of a climb/descent rate?
Thanks in advance!
Andy luck? Building a heavy lifter octo as well and wondering if a PX4 would be a good choice.
Toning down the throttle accel values helped the throttle. With so much excess power the default values were high. Off the top of my head the accel P is down to around 0.25, can't remember I.
I tried that as I thought maybe the throttle pulsating was causing issues trying to climb IE it ramps up too quick, overshoots then throttles back too much. Now the throttle is much smoother, I have a good rate of descent which is nice and smooth but still no climb.
I've posted the question on two other forums but no replies on either. I'm guessing my alt hold isn't working right as it should allow a climb but I can't figure out why.
I've put the same settings from my Y6 which works better but to no effect.
The silly thing is, Ardu can command a big throttle response if it needs to, say you're descending quickly in Stabilise and quickly switch to GPS. Ardu puts a bootful of power in to climb back to the position that GPS went live. So why can't it do the same for the throttle stick?!
I jacked all those up to at least 500 cm/s. Made no difference. Though I don't think I saw a THR_ALT_MAX just a P and D for THR_ALT. I'll have a closer look at that next time it's fired up.
Gotta ask, why are there multiple values that could cap vertical speed? Will these be consolidated?
Well in the end, with work coming in and not much time to sort Ardu I've resorted to using DJI WKM. It works a treat out of the box. Stock gains are fine for AP work, maybe a little tightening up but as usual I'm impressed. GPS etc all fine. Be interesting to know what control architecture DJI uses to achieve this.
Could you give us a log of one of your flights where you show the slow Alt_Hold?
Sorry that the dev's missed your post!
Thr Alt I was defo in and one of the first things I looked at. Also tried a big range of values. Made no difference at all bizzarely. It seems there are a range of values which can all effect climb rate.
For future reference, toning down Thr Accel helped a lot with this machine. Smoothed out the auto mode thottle a ton. I think there may have been issues with the stock values of Accel being too hard for the responsiveness/power of this machine, as such you ended up with oscillations on the commanded throttle which prevented any meaningful altitude control. Toning down Accel helped smooth things out, especially in descent. But the key problem of hardly any/zero climb remained.
Not to mention virtually no translation in GPS? But I wanted to get Alt tackled first.
Anyhows for the time being the big Octo will be DJI, and most likely will not change. If it ain't broke etc. But I have Ardu in a Y6 test frame that is doing similar things, as in similar issues. So when that's flying again I'll try and get some logs :)