My hexcopter (pixhawk 2.4.8, arducopter 4.0.0) disarmed during flight and felt 10m to the ground.
Hardware seems to be all okay. It seems that ardupilot thought there was a crash, but there was nothing unusual. i think this should not happen.
it was during autotune.
The MOT_THST_HOVER value is very low so I’m going to assume you’ve got 12inch props with 3cell LiPo. I recommend changing these settings and doing Autotune again - first do some basic Stabilize and AltHold tests to make sure everything is work OK before Autotune.
You can copy/paste this straight into notepad and save as a .param file to load via MissionPlanner.
Some of your MOT_BAT and BAT_ values were close but not quite right.
Let us know your correct prop size, it might affect some of those values.
Yes, this could be. Thanks for the link. This was new to me. Normally my copters fly very well just with the default parameters.
I will study those parameters, adapt them for my copter and try it again. But first of all i have to repair the frame.
For 10inch props use these:
Plus the other parameters I suggested, and then autotune of course.
Okay, now i have repaired everything and changed the parameters as you proposed.
But it seems that there is another problem, because during autotune the copter very often looses altitude or is wobbling.
After Autotune finished the pitch and roll axis seemed to be okay, but yaw is very instable. Especially the left turns are instable. right turs are okay. the wobbling increases, when battery is low.
I also tried 9.5" Propellers. They are more stable, but they have the same problem with left yaw turns.
Could it be that one of the left turning motors is defective?
I have done the motor test, but all motors start at the same throttle speed (7%).
Here are two of the last logs: 0011 is with 10" and 0012 is with 9.5" props.
The frame is a dji flamewheel f550 clone.
Take off weight is 1800g.
The motors can twist under load without problems.
I think i have found something that causes part of the left yaw problem.
I have powered my camera and the video transmitter from the motor supply connection on the center plate for motor 4. This is a left turning motor. I think it took too much current, so that motor 4 received less current than the others.
Now i power this directly from the battery.
The yaw problem now nearly disappeared.
But i still can not fly really stable. After extreme stick movements the copter gives potential thrust loss errors. And autotuning pitch never finished, due to extreme thrust loss.
Tomorrow i will replace my power module as proposed by shawn. This is the only remaining posibility i could imagine. I hope it works.
Thanks for your help!
mike, what software do you use for analyzing the log files? It looks a bit more comfortable than Mission Planner.
This is wrong:
These MOT_BAT_VOLT settings are more important than most realise, they dynamically adjust the PIDs depending on battery voltage. Incorrect settings can cause the PIDs to be crazy.
Check that your MOT_SPIN_MIN, maybe use the MissionPlanner motor test to test and set it to the highest you can without producing much thrust, although it looks OK to me. It’s already getting close to your hover throttle.
Some of those clone DJI flamewheel kits flex a lot and it is a real problem, you might need to try and reduce weight as much as possible.
i found that wrong parameter already some days ago. It had an effect, but it was not the main problem.
it seems that my version of mission planner needs a komma as decimalpoint and my android qgroundcontrol needs dot as decimalpoint.
i wanted to write 10.2V.
it is really weird, because i have a hand full other flamewheel clones (the same hardware) that fly perfect from the first start.
This is what i tried meanwhile:
I changed the power module, but that had no effect on the flight stability.
I analysed the propeller thrust and changed the not so perfect propellers.
i changed the right motor (no 1) , that was getting warmer than the others.
I resetted the tuning parameters to default values (ATC_ANG_PIT_P, ATC_ANG_RLL_P, ATC_ANG_YAW_P)
but nothing prevent the copter from raising potential thrust lost events. Every now and then the copter touches the ground, because it has not enough thrust.
the potential thrust lost events occur more often when battery gets empty.
the lateset logfile is here:
i have seen in the log, that there are lots of maximum values on rcout before the position thrust lost events.
Could it be, that your proposed value for MOT_BAT_CURR_MAX = 50 A is causing this position thrust lost events?
I will check that tomorrow.
I don’t believe this will be an issue, you’re only peaking at about 26 amps in that log.
Provided that MAX value is well above hover and normal flight requirements, it will only serve to limit the absolute maximum current draw for things like a big climb.
The way to set it correctly is work out what current you motors would use maximum combined, what your power distribution system (including current monitor) can handle, and what you battery can safely supply - set it to the least of all these, such as 60A for a typical power brick. You can build in a bit of safety by reducing it 10% or so…
In logs you’d see it take effect during a really big climb or “speed run” by the current really flattening off at the specified value, as Arducopter limits PWM values to stay within the specified current draw.
I probably shouldn’t have included it in my parameter suggestions, but in your case it certainly wont make things worse.
Your X and Y vibrations are really low, that’s great. The Z vibrations are another story, not really bad but getting into a grey area. There’s clipping towards the end of the flight and this will cause altitude problems.
Your motors are really struggling, overall the average PWM is a bit high, but motors 1,3 and 6 are going to absolute maximum at times. Motors 2,4 and 5 are sometimes reaching minimum PWM. With a hexacopter this indicates the flight controller is fighting a physical yaw issue, like arm or motor mount twist or serious differences between CW and CCW props (less common). I think this is what’s causing the problems - not having enough overhead left for proper attitude and altitude control.
I cant imagine a camera supply would be robbing an ESC of available current, but truth can be stranger than fiction… Power everything through the power brick/current monitor.
I’m clutching at straws a bit here, but:
Are all your ESCs relatively new and have capacitors on them? What are they?