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

Have you planned to disable the „old“ (static) notch filters? If yes, please inform us regarding the results.

pDR8iLQ4go avatar Jan 24 '20 05:01 pDR8iLQ4go

I am planning to disable them but the weather forecast isn't too good for the following days. I will report back when the weather gets better (less wind)

Vissie26 avatar Jan 24 '20 14:01 Vissie26

Just flown without static notch filters and it seems fine (No hot motors and weird sounds).

What I did was:

set gyro_notch1_hz = 0 Allowed range: 0 - 500

set gyro_notch1_cutoff = 1 Allowed range: 1 - 500

set gyro_notch2_hz = 0 Allowed range: 0 - 500

set gyro_notch2_cutoff = 1 Allowed range: 1 - 500

set dyn_notch range = LOW Allowed range: HIGH MEDIUM LOW

set dyn_notch_min_hz = 75 Allowed range: 60 - 1000

I hope this is enough info.

Vissie26 avatar Mar 08 '20 14:03 Vissie26

Thanks!

CradyArt avatar Mar 08 '20 14:03 CradyArt

I've been updating my hexacopter as well. Still flying. Motors don't get warm at all.

@Vissie26: May you please post your dump once again?

pDR8iLQ4go avatar Mar 14 '20 17:03 pDR8iLQ4go

I have upgraded to 2.4.0 in the meantime.

This is my current dump file:

dump 2.4.0.txt

Vissie26 avatar Mar 15 '20 13:03 Vissie26

Most important settings are more or less the same: Compare.pdf

I like "set inav_reset_home = EACH_ARM" to ensure that the home position is where I armed last time. And "set debug_mode = GYRO" to be able to use the Plasmatree's PID-Analyzer.

pDR8iLQ4go avatar Mar 15 '20 14:03 pDR8iLQ4go

The reason I set ''set inav_reset_home = FIRST ARM'' is that if i accidentally flip the arm switch in flight, the home position isn't reset. Quite a rare occasion but i'd rather be safe than sorry.

Saw the debug mode parameter also. Was wondering how to use it exactly. Not much info on the wiki.

Would you be so kind to explain a bit about the function if you can? especially VIBE and Gyro?

Vissie26 avatar Mar 15 '20 14:03 Vissie26

I'm not a real expert in that. But "set debug_mode = GYRO" seems to add some more details to the blackbox file. This setting is necessarry using Plasmatree's PID-Analyzer. See https://www.youtube.com/watch?v=VaqlLSQlJ4M and this hint: Hint

pDR8iLQ4go avatar Mar 15 '20 14:03 pDR8iLQ4go

This issue / pull request has been automatically marked as stale because it has not had any activity in 60 days. The resources of the INAV team are limited, and so we are asking for your help. This issue / pull request will be closed if no further activity occurs within two weeks.

stale[bot] avatar May 15 '20 05:05 stale[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 It works for me like a charm so far (only flown a bit to the side and up and down on a pretty calm evening). My setup is as follows:

Tarot Ironman 690 Tarot 4006 620kV with 13" carbon props INav 4.0.0 - every other setting left at stock besides flight modes and receiver configuration)

This has finally enabled me to switch from ardupilot to inav! Thank you!!!

padcom avatar Feb 12 '22 16:02 padcom

Dzięki Matthias! I'll give that a try when the weather warms up in the spring. Cheers!

CradyArt avatar Feb 12 '22 20:02 CradyArt

Nice to see that others are still flying this build. Meanwhile I‘m more a fan of 3“ and 5“ freestyle copters. But my 12“ Tarot is still alive. And I‘m planning to test INAV 4.1. Maybe we can share our settings?

pDR8iLQ4go avatar Feb 12 '22 21:02 pDR8iLQ4go

If I successfully get my hex back in the air in the next couple of months I'll be sure to post my settings as well

CradyArt avatar Feb 12 '22 21:02 CradyArt

Nice to see that others are still flying this build. Meanwhile I‘m more a fan of 3“ and 5“ freestyle copters. But my 12“ Tarot is still alive. And I‘m planning to test INAV 4.1. Maybe we can share our settings?

I think we should put together a site where settings are shared so that if you have doubts what motors and props to select for a given frame, you'll be able to see what has worked for other people. For example this was my 3rd attempt at INav in my hexa and had it not been for this thread I'd not be able to get it to work. I was basically going down with the values instead of up. I think if I'd have had some examples to draw conclusions from, I'd be on my way about a year sooner.

padcom avatar Feb 12 '22 21:02 padcom

Excellent idea. LMK if you go ahead with that I'll contribute what I can

CradyArt avatar Feb 12 '22 21:02 CradyArt

Just FYI I have registered inav-settings.org and started working on a parser for CLI dumps so that you can upload them, the site will distil them, and then you'll be able to download just the settings you'd like: PIDs, mixers, OSD (that's my favorite) and maybe others too.

The parser is now ~30% complete which puts us ~2 months from this site being fully operational. :)

padcom avatar Feb 14 '22 15:02 padcom

Bravo!

CradyArt avatar Feb 14 '22 17:02 CradyArt

So - the parser is done. Next: backend to store your uploads.

@CradyLab Would you like to do some testing when it is available?

padcom avatar Feb 14 '22 19:02 padcom

So - the parser is done. Next: backend to store your uploads.

@CradyLab Would you like to do some testing when it is available?

Of course! Thanks for the invite =)

CradyArt avatar Feb 14 '22 19:02 CradyArt