I’m having problems with a Holybro S500, Pixhawk 6X flight controller, PX4 v1.15.4. What I see appears to be a high oscillation on the roll angular rate, although whether that is caused by a faulty sensor or induced by some kind of feedback in the control loops I have no idea. Probably related: the motors get really hot and the battery life is severely reduced. Some plots from the logs:
The flight controller that exhibits the roll angular rate oscillations is a Holybro Pixhawk 6X, an upgrade from the 6C the drone came with. I put the 6C back on the drone and the problem went away. Here are two flight logs recorded with the 6C:
Since the same set of ESCs was used in all flights of both 6X and 6C, it seems the problem must be something about the 6X.
I have been flying with the default parameters for the Holybro S500 airframe, no PID tuning or anything.
Note that the vertical scale on the 6C is +/- 50 deg/s and on the 6X it is +/- 300 deg/s. Also the X axis rotation rate really looks like it is oscillating.
Looking at the 3 gyros, they all seem to be showing the same signal with high oscillations. That makes me believe it’s not a hardware issue but a filter and controller tuning one.
The frequency is around 50 Hz looking at the FFT.
Could you share a picture of how the 6X is mounted? Any chance something is loose in roll?
I mount the flight controllers with Velcro tape; the pictures show the 6C mounted on the drone, the tape on the bottom of the 6X and the two flight controllers side by side.
I don’t think velcro like this is a good mounting option, as Imagine it could be quite loose, especially if one of the cables pulls on it a bit.
I would recommend double sided tape, and make sure the whole width (or corners) are covered, and not just a strip in the middle like in your velcro picture.
You want to make sure the Pixhawks are properly secured to the frame.
I’d try it out and check if the roll oscillations improve.
I’m happy to try, but puzzled as to why exactly the same attachment mechanism works well for the 6C and creates oscillations in the 6X? Is double sided tape really much more secure than Velcro tape rated for 10 pounds (4.5 kgf)?
Unfortunately, I have to postpone experiments until after June 7th when our competition ends.
You tell me. Wiggle it with your hands. I’m not sure what the sort of connection is. For one thing, the 6X is taller and has more mass, so that would have been my guess.
I’m not worried about it falling off (which is what you hint at with the velcro rating) but rather how it wobbles in roll, which is your issue.