Difficult to maintain altitude

Hello everyone!

We have transformed a Joyance drone to an ArduPilot platform. We are using an Orange Cube, plenty of power, etc. The usual setup.

We are using the same ESCs, motors, propellers, power battery, and wiring that the drone originally had.

We were successful, and the drone flies pretty well.

However, we have an issue: the drone can’t maintain a constant altitude. If you leave the drone with no input, it keeps going up and down—sometimes a few centimeters, sometimes at least 1 meter.

For example, I can see the drone going up while the barometric altitude is going down.

Here is a picture of the flight controller installation. The FC is inside the frame, with no wind inside.

Here is a fast-forward video where you can see what is happening, with no RC input.

I was checking the logs, and I can see that one of the barometers is a bit noisy compared to the other.

The altitude is reached easily, but it is still quite noisy

I have been working on the vertical acceleration tuning, but I can’t get the drone to hold its altitude.

Is it possible that the barometers are not working properly?

I hope you can help me. Thanks.

Here are two logs.

Thanks!

Is that power connector resting on top of the flight controller in flight? That won’t help.

Thanks, noted, we have change the Cube for a new Orange+, and improve the wiring. Any other idea to work on? Thanks

How tightly sealed is the fuselage? If too much, it will take the pressure sensor a while to sense the change.

….at least has one screw hole open…. but anyway, is not sealed…

….ok, so, we have change the Orange cube for a brand new OrangeCube+, did a quiktune, and the problem still there….

In this test, we have added a radar rngfnd sensor in the bottom, to compare the results, and I think the sensor works great, but as this is a drone to clean buildings, anyway we need the baros ok…

This are the baros now, I think there is improvement, but I still saw how the drone went up and down with no imput.

Any ideas?

here is a log, where I enable and disable the RNGFND with RC7 in the flight to compare the results.

The problem is the copter is over-powered and the hover learn function only works down to 0.125.
You need to set MOT_THST_HOVER,0.10 and MOT_HOVER_LEARN,0
This should mostly fix the problem, you may have to adjust that value over time, and the copter may rise or fall a little with battery voltage. If you add a payload this value will also have to be adjusted, or just set MOT_HOVER_LEARN,1

A better fix is leave those parameters as they are and do one of these:

  1. add a dummy payload and never fly without the minimum payload
  2. go down a size in props

These parameters could be adjusted down to half of their current value, but this is not critical.

PSC_ACCZ_I
PSC_ACCZ_P
2 Likes