#9inch tuning is stupid.

127 messages · Page 1 of 1 (latest)

silver dawn
thin snow
#

Please delete your other threads..

#

@silver dawn

silver dawn
#

Sorry bad data and it sent too many

#

Fixed

#

Having issues with noise spikes at 75hz on pitch axis. I think it's probably antennas

#

For blackbox

thin snow
#

anything less than 100Hz - 200Hz will always be a mechanical-related vibration/resonance

silver dawn
#

💪💪

thin snow
#

loose wire over the gyro

silver dawn
#

Thanks that's probably the antennas and I'll check my Rx wiring

faint stream
#

Pretty

#

The last log that looked just like this was fixed by sorting out some physical problems with wiring, so that's the first thing to check.

#

I've never built anything this big, so take what I say with a pinch of salt. On bigger builds the motor/prop noise extends to lower frequencies. In this case all the way down to the 70 to 80Hz are where you're getting pid oscillation. The rpm and dynamic notches need to be able to extend into this region to tackle the noise

#

You've got the dynamic notch min down to 74 which is good, but maybe drop it to 70 to be on the safe side. But the rpm filters are min 100 with 100 of fadeout, so they won't be fully effective until 200Hz. Try setting a min of 65 with a fade of 20 so that we get more out of them in the trouble spot

#

You may find with the extra targeted filtering (and fixing any physical issues you can find) the problem goes away. But the fact that the pids are oscillating like this means that it will be prone to coming back again if anything goes out of balance in the future. You might want to look at reducing the overal pid gains a bit to make it less prone to oscillating - depends how dangerously you like to live

#

And my somewhat controversial opinion - heavy d-term filtering is a bad idea. It delays dterm so much that it reinforces this sort of pid oscillation and creates brittle tunes that are ok one moment and oscillating the next. My preference is to use much more gyro filtering instead of d-term filtering since gyro filtering doesn't cause any phase delay between the P and D terms

#

If you want a different (and more experienced) set of opinions I can recommend posting the log to the BF discord https://discord.gg/M2KkpHkR

#

uh, your RC looks a bit ropey - are you getting unusually low LQ? Or maybe check the ADC filter isn't on in edgetx

minor marsh
#

the bb log is not that bad.
just the d-term filtering is a pain in the back

#

larger kwad's are actually easier to tune.

#

d-term should be fixed pt1 and not dynamic.
cutoff frequencies

  • 55 hz
  • 65 hz
    reduce p for roll and pitch by 10 percent and add 10 to the ff value
dull frost
#

Keeping my eye on this

#

Mid 7" build, designing a 10"

#

might keep going up from there. Learning a lot from reading this

silver dawn
silver dawn
#

ive read through all ur comments

#

@minor marsh two dterm Low pass filters, one at 55 and the other 65?

#

@faint stream and my question is have i set too many gyro filters

#

ive set the fade on the rpm too btw

faint stream
#

Well, you've got two opposite recommendations for how to approach filtering. Boroma has actually built big quads and I haven't, so logic would suggest trying Boroma's suggestions is more likely to work

silver dawn
#

your point on the reduce dterm filtering was intresting

#

cause less phase delay

#

which i assuming makes dterm less likely to throw a tantrum

faint stream
#

yes, but I'm pretty much the only one who is putting that forward. It can certainly be made to work with lots of dterm filtering

silver dawn
#

👍👍

#

I'll test different approaches tomorrow

#

Heavy on the gyro or heavy on the dterm and see which has best results

dull frost
faint stream
#

Sort of. You have a fixed delay in terms of time, which is a variable in terms of wavelengths at different frequencies. So there are a series of harmonics where you get reinforcement, and the higher harmonics the dterm peak is an increasing number of wavelengths displaced from the original signal. Between the harmonics dterm acts normally, so the noise gets suppressed between the harmonics and amplified at each one. With no dterm delay, the dterm is 0 when the the rate of change of the gyro is 0, i.e. at the top and bottom of the gyro sinewave

#

When the dterm delay is small the first reinforcement frequency happens high enough to be suppressed by the low pass filters. But the current fashion is to use very little (or none 😬 ) normal low pass filtering (gyro filters) and so much dterm filtering that you can get reinforcement down below 100Hz. It seems bonkers to me

#

Part of the problem is that we're influenced by the tools we have to visualise the data. Lots of dterm filtering makes the graphs look nice in blackbox explorer. Until the oscillation kicks in.

dull frost
#

smoothbrain I still have a lot to learn, evidently

thin snow
#

we all do.. 🙂

faint stream
#

That's what keeps it interesting. I don't know how many times I thought I understood some part of it only to discover that there was more to it. And the whole hobby is huge so there are always more bits to discover

minor marsh
#

@faint stream your wrote: My preference is to use much more gyro filtering instead of d-term filtering since gyro filtering doesn't cause any phase delay
no no no!
every filter has a price tag - and phase delay is one of the items you pay for

minor marsh
minor marsh
#

@faint stream you wrote: heavy d-term filtering is a bad idea. It delays dterm so much that it reinforces this sort of pid oscillation and creates brittle tunes that are ok one moment and oscillating the next.
pidSum = P + I - D
for first order filter there is a max. phase delay of 90 degrees. for 2nd order filters there is max. phase delay of 180 degrees.
figure out!
bf devs are very good fairy story tellers.
and flying kwad's you need D ... the correct amount of D pls.
i assume 90 percent or more kwad's fly with a strange tune. for sure it is a spicy tune.

faint stream
#

Yes, dterm starts with a natural phase shift of 90 degrees due to the derivative. When we see dterm driven oscillations in the log it is always delayed by approximately a further 90 degrees so that it reinforces p. I suspect d in the graphs has the negative baked in, it goes opposite to p in flips. You truncated my text when you quoted me, I said gyro filtering doesn't introduce delay between p and d like dterm filtering does. All filtering adds delay, and the primary cost of gyro filtering is increased prop wash. No free lunches. For the builds I'm flying I find I can get acceptible prop wash with minimal dterm setups

#

Your point that filters have a max phase shift fits and might explain some things that don't make sense to me. In which case I would have been wrong in suggesting at higher frequencies the dterm is shifted by multiple wavelengths. There would need to be some other explanation for the higher freq oscillations then. Interesting.

silver dawn
#

sorry what does the dterm static low pass filter 2 do

#

both gyro lowpass filters 👆

#

only dynamic lowpass (and dterm lowpass lowered to 70hz vs 75hz)

#

👇

#

im gonna start tuning my step response now, i feel that my logs are looking nice and clean compared to before

faint stream
silver dawn
#

thanks

#

yeah i got that weird 75hz stripe to a much lower amplitude to the point that i feel comfortable with tuning

faint stream
#

The slope of the line is the order of the filter, with higher order filters being steeper than lower order ones. By stacking two filters one after the other you increase the amount the high frequencies are attenuated. Sounds good. How did you end up with the dterm pid slider so high? (based on your screen grab in the BF discord)

silver dawn
#

i think my 65hz rpm filter and 70hz dynamic notch fixed whatever was wiggling and making big noise at 75hz

#

therefore dterm was happy since it wasnt fed noise

faint stream
#

That's good. The new dynamic notches and rpm filters are fantastic

silver dawn
#

exactly

#

i was using a static notch on my old build

faint stream
#

I normally try and use a static notch if I can see an obvious frame resonance frequency. It's a cost effective filter

silver dawn
#

i set it so my dynamic notch had two notches available to takeover from the static one

#

there were like two vertical noises

#

one at 75hz (bad) and one at 150hz (not as bad)

#

the dynamic can just hop on both of those

#

the only thing that annoying rn is that pidtoolbox is shit and wont run on my pc (i probably just broke by installing it wrong)

silver dawn
#

do i even need that Dterm LPF 2 at 150hz?

silver dawn
#

ffs i ripped the usb off and ripped the pads too

faint stream
#

oh nightmare

minor marsh
silver dawn
minor marsh
silver dawn
#

it flies great

#

even though the usb is ripped and i cant change it

#

its stuck in a state of flying pretty good

#

best its flown ever, (new frame parts made all the difference, especially the pressfitted mid plate)

minor marsh
#

then leave it as it is and be happy.

minor marsh
#

men, you should not chase birds or animals

silver dawn
#

I was polite

minor marsh
#

not polite anymore?
a couple months i saw a video of an fpv long range guy chasing an ibex.
blind on one eye.
i was thinking about a notice for the police.
there is an exceptions - ravens.
the other thing is chasing cars - for a nogo as motor sport is a no go for me.
expect allergic reactions on these two points 😉

#

prerefered would be chasing the steel variant; https://myibex.ch/

Dein Schweizer Velo. So individuell wie du. IBEX steht für Nachhaltigkeit Wir produzieren unsere Velos in der Schweiz. Mit kurzen Wegen, erstklassiger Qualität und ganz nah am Kunden. Individualität Dein Velo steht für deine Persönlichkeit. Dein Ibex kannst du individuell auf deine Ideen abstimmen Tradition Als Schweizer Familienunternehmen sind...

silver dawn
#

@minor marsh i realised what ive done was not ok

#

it was fun at the time but now i see the that im just an asshole

#

not gonna be chasing wildlife again.

minor marsh
#

i have no problem with this as it was not a real chase.
thumbs up for flying - it flies well

silver dawn
minor marsh
#

btw. what frame is it?

silver dawn
#

Semi custom frame

#

It's a source one v4 body with extended rear and true-x mounting holes for source one v3 arms

#

I need to tweak the DFX files and I can share them here. It's a nice design imo, looks clean and isn't super heavy

minor marsh
#

absolutely

stray smelt
#

How much is a 9 inch

silver dawn
#

depends

#

like 50dollars more expensive than a 7inch

#

bh2812 motors are like £20 each

#

most 7inch motors cost the same

#

its just the frame that cost more

silver dawn
#

been busy and fusion is being ghetto

silver dawn
#

see this happens every time i try save a dfx file

silver dawn
#

got it sorted @minor marsh

minor marsh
#

thanks - i have no experience cutting frames.
will ask a local fpv guy who is cutting his own frames.

dull frost
#

dxf* 🙂 @silver dawn

silver dawn
minor marsh
#

😉

stray smelt
#

Where are the arms

silver dawn
#

I said you gotta get the arms separately

#

You can use any source one v3 arms

#

5inch, 7inch, 9inch arms

silver dawn
silver dawn
#

Yes get them cut in 8mm if you do get the frame design cut

#

8mm arms, 3mm bottom and mid plate, 2mm cam plate and top plate