Hi guys, I have not followed the last release, so I got very upset when I updated my old, steady 3.2.1 Octa-Quad multirotor with the new 3.3.2. Of course I do realize that my system is kind of a mess, because I am using that multirotor for research and testing, so I know there are some vibrations and even some magnetic disturbances. Besides, the 3.2.1 had been flowing just fine.
I installed the firmware, did all the calibrations (accelerometers, magnetometers, motors, esc..) and went flying.
https://www.youtube.com/watch?v=WMMURxY4pHo
I attached the telemetry, but here there are some figures:
Throttle Out:
AltHold:
Vibrations:
Accelerometer Bias
Here is the only bad result from an autotest:
Test: IMU Mismatch = FAIL - Check vibration or accelerometer calibration. (Mismatch: 2.61, WARN: 0.75, FAIL: 1.50)
I tried to play a little bit with the EKF parameters, but got worst, so I would like to share my experience for you guys can help me to find the best direction to move on and get rid of this (only) issue.
Thanks
Replies
Randy, that was really helpful. Today I downloaded the master revision and the altitude control was very good, even in Guided mode. The overall flight performance look even better. Tomorrow I'll post some data If I'll get the chance.
Thanks
Here I tested the GUIDED mode. In the attached log you will see a flight where I keep switching GUIDED-LOITER. In GUIDED mode I have a Companion PC reading the Transmitter and providing a velocity reference (that was kept to zero, except for a minute where I tried to climb)
THROTTLE
ALTITUDE CONTROL
CLIMB RATE
2016-01-26 12-22-42 - GUIDED MODE ISSUE.bin
Tiziano,
As mentioned on Gitter, I've looked at your logs and it's certainly clear the throttle output is very noisy. You've uncovered a bit of a mess up in the Copter-3.3.2 release. It looks like the fix to increased the Guided mode's velocity controller's update rate wasn't actually included in the release (despite the release notes saying it was!). I'll add this fix to Copter-3.3.3-rc2 which will go out within a week. Until then you may want to test with latest.
Thanks for the report and sorry for the troubles!
Hi guys, here I am back with an update. I balanced the props carefully (actually I missed to balance them vertically and even if APC they were pretty off balanced) and here is the new VIBE graph:
It really looks better, even in flight I see a huge improvements. The altitude though is still oscillating of about 1 meter (slowly, maybe now it is only a matter of tuning)
Now a big issue I have been noticing. Whenever I set the system in GUIDED mode, the vertical control goes kind of crazy: the Throttle Out oscillates a lot and the vehicle bounces like crazy. I am using a standard message to setup the vehicle's velocity, but while the horizontal flight is nice and smooth, the vertical is not. Here is some figures:
ALTITUDE IN GUIDED MODE
THROTTLE OUT IN GUIDED MODE
Just for comparison, check the Throttle Out in AltHold or LOITER mode
NOT GUIDED THROTTLE OUT
Does someone know how to deal with it?
I want to share with you the Vertical speed and altitude graphs when the system is not armed end after the arming command. I am indoor, no GPS. As you can see while the vehicle is disarmed the altitude and velocity keep oscillating. The oscillations stops as soon as I ARM:
As soon as I disarm the oscillation starts again:
I had a quick check with Paul Riseborough (author of the EKF) and he says that he's seen this as well. We use slightly different tuning parameters when armed or disarmed and it's likely that the default disarmed-parameters, which we want to quickly figure out the accelerometer and gyro offsets, are set a bit too aggressively which leads to some overshoot.
Apparently "EKF2" which comes in Copter-3.4 doesn't have this problem.
The way the oscillations are so uniform and consistent I would think maybe that's normal? Like it's just searching for input? Just a guess.
GLUP!!!
I did that test with Mission Planner but not noticed that.
... I just realized the typos in my post.... hate automatic correction