MultiWii Parameter Adjustment

I try to setup the parameters in order to allow First Person View with slow and stable movement.

The text Configurable parameters in the Link does not show the actual status (Software version 1.8.patch2). So I like to fill the gap, as good as possible.

The actual MultiWii version is 2.4 (2015-03-16).

Clear EEPROM

Before making an update to a new MultiWii program version, save your old parameter set to a file, and best, make a screen shot of the program MultiWiiConf.

Next clear the EEPROM with the Arduino sketch File/Examples/EEPROM/eeprom_clear. Just change temporary the EEPROM size from 512 to 4096 for the ATMega2560 MCU.

Then update the MultiWii program with your own configuration (file config.h), and start the program MultiWiiConf to restore your own parameter set.

Gyro PID Parameters

Version 2.4 flown with QuadrocopterFrameEPP.

The default parameters for the Gyro are the following, as found in the software:

Gyro Parameters in use

Originator

Date

ROLL P

ROLL I

ROLL D

PITCH P

PITCH I

PITCH D

YAW P

YAW I

YAW D

Remark

Ver.1.8.p2

2011-08

4.0

0.030

17.0

4.0

0.030

17.0

8.5

0.000

0.0

Default

Ver.dev_20111029

2011-10

8.1

0.030

23.0

8.2

0.030

23.0

8.5

0.000

0.0

little wobble

Ver.dev_20111029

2011-10

7.0

0.030

23.0

7.0

0.030

23.0

8.5

0.000

0.0

OK

Ver.2.4

2015-03

3.3

0.030

23.0

3.3

0.030

23.0

6.8

0.045

0.0

OK

Ver.2.4

2015-05-02

9.5

0.030

23.0

9.5

0.030

23.0

6.8

0.045

0.0

OK

Alt: 8.0, 0.025, 24

Altitude Hold

About Altitude Hold very little is documented (see Link). I will try to improve that.

First I try to find proven parameter settings in the forum, see link:

Altitude Hold Parameters in use

Originator

Date

ALT P

ALT I

ALT D

Pos P

Pos I

MAG P

LEVEL P

LEVEL I

LEVEL D

Rudolf

2011-11-02

20.0

0.030

10

?

0.000

?

9.0

0.045

?

Ver.2.4

2015-03-16

6.4

0.025

24

0.15

0.000

4.0

9.0

0.010

100

Ver.2.4

2015-05-02

8.0

0.025

24

0.15

0.000

4.0

9.0

0.010

100

Info

Centurien Rules

"P" fights all motion... increase until you get a feedback wobble, reduce by ~20%

"I" is heading hold.... increase until you get a bounce back when you release a big stick input.

"D" the bigger(note this is a negative term, bigger in a negative sense) the better from what I can tell this tries to smooth out any rotation. The farther from zero you run "D" it appears you can further increase "P"

NOTE: Poorly balanced props will result in bad data coming from the sensors which will be amplified by your PID coefficients. Comes down to garbage in, garbage out... your sensors are your friends and your props are their enemies!

Berkley MultiWii additional HOWTO overview
In order to fine tune parameters, Alex suggest to increment/decrement the values with the following steps: P:0.2 ; I:0.005 ; D:1

joebarteam, PID tuning with video
If nothing helps getting the platform stable:

Shikra, TriWiiCopter Configuration and Settings
RC Rate

RC expo

Pitch/Roll Rate

Yaw Rate

Throttle Rate PID

PID settings Checklist

config.h Ver.2.4, board MultiWii_HK

If you update to a new program version, do a diff folder_new folder_old to see the differences.

See also at QuadrocopterFrameEPP for details.

config.h Ver.2.3, Arduino Mega

See also at QuadrocopterMegaShield for details.

List of pages in this category:

-- RudolfReuter 2011-10-03 10:21:29


Go back to CategoryQuadrocopter or FrontPage ; KontaktEmail (ContactEmail)

rudiswiki9: QuadrocopterParameter (last edited 2015-05-02 16:48:13 by RudolfReuter)