inav icon indicating copy to clipboard operation
inav copied to clipboard

Recommended PIDs For Large Hex?

Open CradyArt opened this issue 6 years ago • 53 comments

I replaced the aging Pixhawk on my 790mm hexacopter with a Matek F765-WING and was wondering if anyone had some tips for the PID settings in iNAV (the largest prop size mentioned in the configurator 12 inches and I'm running 15-inch props)

Thanks!

CradyArt avatar Dec 08 '19 10:12 CradyArt

Issue-Label Bot is automatically applying the label Support to this issue, with a confidence of 0.89. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Dec 08 '19 10:12 issue-label-bot[bot]

Dear Cradylab,

I am flying a 690 size hexa and my quite good flying pids are:

Roll : P 155 I 35 D 45 Pitch: P 165 I 35 D 65 Yaw: P 145 I 55 D 0

I am currently on version 2.2.1

This should fly reasonable for a first try.

I hope you find this info useful. pid tuning los acro 07-10-2019

Vissie26 avatar Dec 09 '19 20:12 Vissie26

Sweet! Thanks Vissie! Much appreciated

CradyArt avatar Dec 09 '19 20:12 CradyArt

@Vissie26: May you please post your complete dump? I have a 650 size hexacopter and would like to compare the parameterization. Which kind of props and motors do you use?

pDR8iLQ4go avatar Jan 19 '20 15:01 pDR8iLQ4go

here you go.

hexa dump 2.3.0.txt

Props: https://hobbyking.com/en_us/multirotor-carbon-fiber-t-style-propeller-12x5-5-black-cw-ccw-2pcs.html

Motors: https://hobbyking.com/en_us/turnigy-multistar-4225-610kv-16pole-multi-rotor-outrunner.html

Let me know if you need more info.

Vissie26 avatar Jan 19 '20 18:01 Vissie26

I'm using a Matek F405 CTR and cheaper stuff from AliExpress:

Gartt ML3508 700KV Motors: https://de.aliexpress.com/item/32751865371.html?spm=a2g0o.productlist.0.0.ebc25ddaBaUuAo&algo_pvid=e105fdd5-14fa-4e8c-9c03-5c23b005f712&algo_expid=e105fdd5-14fa-4e8c-9c03-5c23b005f712-0&btsid=42319929-d8ec-4b3b-a563-b61a6b45168f&ws_ab_test=searchweb0_0,searchweb201602_9,searchweb201603_55

12x55 Carbon Props: https://de.aliexpress.com/item/32917571592.html?spm=a2g0s.8937460.0.0.3bc22e0ehCftce

pDR8iLQ4go avatar Jan 19 '20 19:01 pDR8iLQ4go

That combination should work in my opinion. What kind of battery are you using? I'm flying with a 4 cell 10.000 mAh.

Vissie26 avatar Jan 19 '20 20:01 Vissie26

Yes, it works fine. But I am using an older version of INAV, here is the dump:

2019-07-19_1255_Carbon.txt

I have a 4S 5500mAh, flight time is about 15min.

pDR8iLQ4go avatar Jan 19 '20 20:01 pDR8iLQ4go

if you drag the file onto the screen where you can reply it adds it to your message.

Vissie26 avatar Jan 19 '20 20:01 Vissie26

Thanks!

pDR8iLQ4go avatar Jan 19 '20 20:01 pDR8iLQ4go

your D values for pitch and roll seem a bit high. I had mine up that high and it gave worse results the higher i set them. My current values are around 60 and a P gain of 140-160 but my frame is 690mm. You could try (P 120 I 35 D 55) for roll and (P 130 I 35 D 60) and see how it flies.

Vissie26 avatar Jan 19 '20 20:01 Vissie26

I think, that I‘m going to update INAV first. Getting a sufficient filter setup was a nightmare. I hope that the new dynamic filters do a good job. On my smaller Q380 size frame, it seems to work.

pDR8iLQ4go avatar Jan 19 '20 20:01 pDR8iLQ4go

If you activate dynamic filters the video from Paweł Spychalski might be useful if you haven't seen it already. https://www.youtube.com/watch?v=2YFkDsnPnqE

Vissie26 avatar Jan 19 '20 20:01 Vissie26

I know this video. Pawel told me, that the old notch filters have to be deactivated, in case of using dynamic filters. But in your dump, the notch filters are still parameterized. But you use the dynamic filters as well. Does that work in combination with the old notch filters?

pDR8iLQ4go avatar Jan 19 '20 20:01 pDR8iLQ4go

as far as I know the old values are showimg but not used by the flightcontroller. I have followed pawels video step by step and he doesn't say anything about removing the old values.

Vissie26 avatar Jan 19 '20 20:01 Vissie26

Yes, nowhere is explained what to do with the old/existing parameters. Maybe they will write it down sometime.

pDR8iLQ4go avatar Jan 19 '20 20:01 pDR8iLQ4go

I'll send pawel a message asking about this. curious about what he has to say about this.

Vissie26 avatar Jan 19 '20 20:01 Vissie26

Keep me informed. See you...

pDR8iLQ4go avatar Jan 19 '20 20:01 pDR8iLQ4go

I am using high D values to improve the stability when going down in the copters own turbulence (= propwhash?). But as mentioned, I’ll update INAV and try your D term.

pDR8iLQ4go avatar Jan 20 '20 19:01 pDR8iLQ4go

I just got a reply from pawel.

''You might try disabling static gyro notches but one by one and verify if motors are not overheating''

looks like we have to check blackbox data to verify if the dynamic filters are working or not.

Vissie26 avatar Jan 21 '20 15:01 Vissie26