How to methodically configure and tune any ArduCopter

there is no vehicle.jpg file in the .zip file, can you provide one?

It is not possible to review any of your parameter decisions because you did not update any of the “reason changed” fields.

How can one, without it, evaluate if the parameter is correctly set for your particular vehicle and use case or not?

I have a pixhwak cube black so I have 3 imu sensors in it. I have done the imu temp calibiration and i have found something wierd, The third imu stop when the temp reached 50 C.


but in the documentation is says for boards that contain an internal heater it is recomeded that the third imu TMAX is lower by about 10 C, So deos this graph seem good?
and in order to get a better temp curve is it better to put the controller under the sun(faster), or leave it in the shadow in the room temp(takes about 2 hours)?

The ArduPilot Methodic Configurator will set the heater temperature on step 04 to 45 °C so the 50°C is fine.

Putting it in the sun is OK. Just make sure it does not move.

1 Like

Is it okay to calibrate in the room temp in the shadow?

Yes, that is also OK. Just make sure it does not move.

1 Like

if I set TMAX for all the three imus to be 64 would that be better, becuase now in this weather I think the IMU temp can reach over 50 C?

Dumb question.

we have 2 similar frames, one with alpha esc and notch filter working.

the another one, similar frame, similar motor, but different esc (tmotor flame), i would setup the similar notch filter params?

it will be dangerous or not works?

thanks

If you are using the latest AMC version it gets set to 65 on all three IMUs already.

And on step 04 gets set to 45. If that is not the case then you used an old template.

You can set them as a first approach and refine them on a second step after the first flight.

Does these plots looks good?


Yes they do:

  • the temperature (black) increases from 0 (Tmin) to around 50 (Tmax) in a asymptotic (logarithmic) fashion
  • the Corrected X, Y, Z curves are mostly flat and around 0

This is also described in the very first (Blog) post:

1 Like

The first post is the most liked post on this ArduPilot user forum, thanks for the likes :ok_hand:
But it is cumbersome to edit, limited to 64000 characters and the HTML link anchors change every time I add a new HTML anchor (heading or section).

I will be deprecating the first and second posts on this Blog post in favor of How to methodically tune any ArduCopter | MethodicConfigurator

To facilitate collaboration, and support other vehicles than ArduCopter I decided to move the contents to the new location. There I can receive github Pull requests from collaborators to improve the guide and keep the software synced with it’s HTML anchors.
ArduPilot methodic configurator version 0.9.6 and up already uses the new guide.

The only regressions are:

  1. the new guide no longer tracks the amount of times an HTML link was followed, and
  2. the new guide no longer supports “likes”

But you can still like it here :stuck_out_tongue:

This thread will continue here as a way to discuss the method with forum users that do not have a github account and/or do not know what a pull-request is

4 Likes

I ask the iMU Temperature calibration can it be performed using only the flight controller, therefore not inserted inside/on top of the drone?? Insert it without anything connected to it and place it in the fridge to bring it to a low temperature and then remove it and place it in a warmer environment by connecting it via USB cable to the PC to start the calibration.

yes, that is of course possible

Hi, Thank you for summarizing all this information. Its really valuable.
I am currently using sysID mode and I noticed that the sampling rate of SIDD logs are 100 Hz. Is there a way to achieve a higher sampling rate?
I was also wondering the same case for other log types like RCOU and RATE.

Thank you for the help

1 Like

The logging rate is set by the ATTITUDE_FAST and ATTITUDE_MEDIUM bits in the LOG_BITMASK. The rate of logging is the main loop frequency divided by a sub-sample factor.

ATTITUDE_FAST ATTITUDE_MED RATE DIVIDER
1 1 1
1 0 2
0 1 4
0 0 8

Default loop rate is 400Hz and default logging is ATTITUDE_MED so 100Hz. Change to Fast and you could play around with increasing the loop rate. This depends on the flight controller. Assuming it’s the same Pixhawk 6X try 800Hz. That’s what I have run on other H7 based FC’s.

1 Like

Just to make sure I have understood correctly:
if I select Fast Attitude and Medium Attitude in LOG_BITMASK and deselect everything else then, the data will be logged for SIDD (System ID data) at a sampling rate of 400 Hz, since by default the SCHED_LOOP_RATE=(400/1). Is that correct?

Another question maybe not related to this post and more related to log data names: For RPM ESC data, what will be the name of the message?

I appreciate your guidance.

On my last 2 configurator builds I had this issue come up where I only can choose three different ESC protocols. Have I made a mistake somewhere in other options and it’s preventing me from choosing dshot?

FW is matekh743 bdshot

serialx is not the main bdshot connection, just a secondary data channel.

for bdshot, select main out or AIO FC connections

1 Like

Hi @amilcarlucas
I am setting up a quadcopter with Semi Solid Lithium Ion Battery like FoxTech Diamond or Thunderstone etc. According to the specifications the fully charged per cell voltage is 4.2V and discharged voltage is 2.7V.

The Initial Tune Parameter setup tool by @xfacta sets the charged and discharged cell voltages for a Li Ion battery as 4.1 V and 2.8 V respectively. Shall i use the default or change it as per battery specification?

Another question is, if I set the discharged voltage to 3.0V (MOT_BAT_VOLT_MIN = 18 for 6S) and fly with voltages lower than 18V, then would the copter become unstable, sluggish or oscillate?