Jittering?

So this is the video from one of my flights with my home built 5" at the weekend.

You’ll notice there is an almost constant “jittering” low frequency vibration in the image. Not Jello. In fact I don’t think there is any Jello to speak of.

I’d like to clean this jittering out… I’m assuming it’s something to do with the flight characteristics… Is this something that adjusting PID tuning can fix?

I’ve avoided PID tuning completely so far as though I do understand control theory I’ve no idea really where to start with Quad tuning. I looked at the Chris Rosser videos, but he goes straight into black-box and to be fair I struggle to work out which black box recording matches which flight. It feels like enough to get a quad in the air, never mind worry about how it flies and it’s only really in the after-videos that I notice stuff like this.

So any help is very, very welcome.

1 Like

Which camera was this filmed with, and did you see the same issues in the FPV feed?

Runcam Hybrid 4K. and yes… though it’s less noticeable in analog.

I did also see it in the latest videos with my Gecko, which has a Foxeer Mix on it. This only after upgrading Betaflight and losing the custom tune the previous owner had on it. It was smooth as silk before then.

That rules out my initial thoughts that it might have been an unwanted artefact of image stabilisation. I see a similar effect if I use IS on my Runcam5 HD camera.

More head and chin scratching required :thinking:

2 Likes

Ideally need to look at the blackbox logs really. Wipe the logs, record one simple flight of cruising around, plus some hard moves like a few rolls and flips so you can see how it responds to both small and large inputs.

Stick the file up here and maybe someone can take a look? I’m no expert, but have a rough idea of what too much/little P/D etc looks like.

ARGH… I was hoping to avoid the ruddy black box.

Try putting the old tune back in, you did create a backup didn’t you :thinking:

I did… but I want to use new betaflight…

I’ve got 4.2.11 on it now. It was 3.5.7 before… I doubt the tune is compatible.

Anyway the Gecko is being completely rebuilt after the crash, this is really about the 5" which is my own fresh build.

So… I have a directory of black box files from my 5", god knows how old they are. The flight controller has inbuilt flash, this is not SD card contents.

I have loaded stuff like this before into the black box viewer, but could not work out which file was which. The “all” file seemed to contain all the other stuff… It confused me.

The guides I had found just said helpfully… “load the black box file…”, but never how to work out which!

I’ve looked around for a guide to what the hell this stuff is all about before and failed. The fact nothing is timestamped doesn’t help at all.

I suspect that even if these are old files they will show the same problem I’ve seen recently. I think it’s been present on every video.

So, what do I need to look at?

Here’s a link to the files in my google drive.
https://drive.google.com/drive/folders/1izZMkrNyaFRtfjKHZ9oyi5wFblYE9XTN?usp=sharing

Whats a BBL file? they are very small for video?

Argh! I want answers… not questions! :wink:

Anyway, they are black box files. Load them into betaflight black box explorer and be amazed… and confused… and possibly terrified…
(I am)

Oops, note to me read the thread properly ;o(

I find this program useful for analysing pids. Its called pidtoolbox.
Using the step response charts can really help see if the p, d or i are wrong

2 Likes

To me, this does not look right… (now with yaw)

So to me that looks like I have issues with pitch oscillations… Yaw is pretty much perfect, roll isn’t bad.

So… watching the video I should increase D a bit…

So, I have decided to increase PD Balance a couple of steps on the slider…

(please someone tell me if I’ve got this wrong!)

Wow pitch and roll way overshoot. If you increase d to damp it down, it will work, but make the motors hotter. If it does, reduce p instead. Only my opinion though.

I thought looking at the video there must be some oscillations in the PID loop. It’s nice to see it confirmed.

So you’d agree with my Increasing the PD Balance slider in BF a couple of notches…

(Since you are the only person to comment so far your opinion matters. I have also posted on FB, no response at all there… )

I’ve never really used the sliders. If it was me, I’d reduce the p and retest.
Classically, you’d turn off d-min, put d and I to zero, then adjust p until there is a slight overshoot. Then introduce d to damp the overshoot, then I to compensate for drift. But I think feedforward may mess that up :man_shrugging:
I do need to do this with my 7" when is hdzero’d eventually.

From one video I can see that you can analyse this even hovering a bit in your basement… Well I can’t do that as I don’t have a basement, but I might try a bit in the back garden later… though it may be dark, lol…