Altitude Hold Proving Dangerous

Hi All,

I've got a very powerful quad build going on here and have finally managed to get it flyable in Stabilize. After AutoTune failed to tune it to a point where any significant roll or pitch commands would prevent it from "flipping out", I have lowered the PIDs and now she is flying like a dream... in Stabilize Mode.

What is happening now is that Altitude Hold and Loiter are unable to maintain a consistent altitude. When I keep the Quad hovering in place (either by manually doing so or using loiter), I get an altitude change of +/-1-2Meters. This is a bit of an issue but even more so is that when I fly it laterally, it looses altitude quickly and all of a sudden pitches/rolls violently then shoots up into the sky where I have to quickly change over to Stabilize to correct as some of the pitching is close to 90 degrees!

Here are the current PIDs that I have which allow me to fly nicely in Stabilize:

3691093966?profile=originalHere are the Specs on the quad:

Motors: T-Motor 3520-11 400KV

ESCs: Phoenix Edge Lite 50AMP

Props: 14x4.7 APC SlowFly

APM Version: 2.6 with Firmware Version 3.1

 

Here is what I am seeing in my log with regard to the sudden, not expected and not requested, altitude changes while flying in Loiter and Altitude Hold:

3691094017?profile=original

The logs are attached to this post but as you can see above, right in the middle of the flight before I switch to Stabilize, the altitude starts climbing QUICKLY! Also, at this point, the copter is pitching and rolling out of control hence the switch to Stabilize. In the next Altitude Hold attempt, you can see the copter starts climbing on its own again and cannot maintain altitude whenever in a mode that requests altitude hold!

 

The APM is sitting on Alpha Gel to reduce Vibration and is also covered in a dark soft foam to keep the light off the barometer and to protect the APM.

 

Please, any help would be greatly appreciated! We've been trying to get this thing flying properly for some time now and though it flies fine in Stabilize, we want to fly without this erratic behavior in Altitude Hold and Loiter. I foresee this issue being present in AUTO mode too because it seems to be linked to the Barometer and don't want to lose this heavy and powerful quad.

 

Thanks in advance to anyone who can help!

 

Kind regards,

Oliver Volkmann

Micro Aerial Projects L.L.C.

2014-01-27 11-52.kmz

2014-01-27 11-52.log

2014-01-27 11-52.log.gpx

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

Join diydrones

Replies are closed for this discussion.

Replies

  • Oliver - did you solve the Alt Hold problem? Can you please share with us what the problem was and how you solved it?
    • My apologies everyone for letting this post go so long without notifying you that the problem was discovered and solved! The issue was the ESC choice. For some or other odd reason, these Castle Creation Phoenix Lite 50amp escs caused erratic behavior with the copter. This was discovered after having swapped everything out on the unit and putting different ESCs on at which point it flew like a dream. I then placed the CC Lite 50 ESCs on another unit and had exactly the same problem. I am not sure why these ESCs do not work but they caused months of headaches and confusion!

  • Do yourself a huge favor.  http://diydrones.com/forum/topics/arducopter-tuning-guide

    Follow Dave C's tuning instructions.  That will fix all the overshoots, wobbling, pendulum, etc.  It will do wonders for you. The default PID settings will never work for you, and blindly changing them will just make it worse. Been there, done that!  My first 2 weeks of flying were on stock settings, or randomly adjusted values.  Last weekend I followed Dave's procedure and it is like a whole new world.  Then on the next calm wind day, I ran the auto-tune mode to see what it came up with, compared to what I came up with.  The auto-tune backed my PID settings down just a hair, but it was all very very close.  The auto-tune settings were definitely an improvement, mine were indeed just a hair too high.  But I'm not sure how well the auto-tune would work if you started out completely screwed up.  Never tried that.

    Secondly, as others have said, the vibrations will ruin you. Wedging the APM into foam isn't necessarily helping.  I don't see any vibration dampening gel pads in that photo. Just the APM wedged into some foam.  This will not help, and may even amplify it.  The APM should be firmly attached to 4 square gel pads.  Those 4 gel pads should be firmly secured to a solid surface that doesn't wobble or move around.  I used Kyosho zel jel pads, and some double-stick tape on each side of the gel.

  • to test the vibrations, you need to turn on the imu option in the logs.

    http://copter.ardupilot.com/wiki/common-diagnosing-problems-using-l...

    there are many documented attempts at reducing vibrations. personally, i think adding some mass to the APM/case and mounting it on a soft medium does best. i found a 0.035" aluminum plate, cut it to the dimmensions of the case, epoxied it to the bottom of the case, then mounted to dubro foam from the hobby store

  • I have had similar problems where the copter suddenly embarks on a power ascend prompting a quick return to Stabilize and a manual descent. Thus far I can correlate the behavior to unusual spikes in zacc. Other sensors and parameters seem sane, but VFR_HUD.climb gives negative values while the craft is actually ascending rapidly (barometer alt and gps alt agree).

    2014-03-22 18-45-34.rlog

  • Do you have a log with vibration logging turned on?

    If your vibes are too high althold can go nuts, as it can't accurately measure whether you're moving up or down in amongst all the high frequency noise.

  • Also make sure that your THR_MID parameter is set appropriately.

  • My experience with an overpowered quad: the first param I adjusted was Rate D, and I ended up with 0.016 instead of 0.004. It was buzzing a bit with high-freq oscillation, so I lowered Rate I a bit, then started raising Rate P.

    Had almost 5 to 1 thrust/weight ratio on that one.

  • MR60

    Hi,

    Do you use sonar? If yes it might be the cause of erratic altitude control. 

    Another verification is to be sure your barometer does not get airflow from the props; it can indeed disturb pressure measurements and thus altitude.

    As for PID tuning, you P rate is quite low, meaning you are way overpowered; why don't you try 13x4 or even 12x5 props ? Verify you have tuned your mid throttle in APM's parameters list to the value your quad hovers (for ex set it to 300 if your quad hovers at 30%)

    Also I would set I to same value as P, not higher as you have it now.

    Hope this helps

This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
More…