ESC_CALIBRATION = 3: Auto Calibrate Clarifications

ESC Calibration parameter in Arducopter has the option of being set to 3, which describes:

Start-up and automatically calibrate ESCs

There is mention of setting the parameter to 3 in the ESC Calibration procedure, but does not give any details as to what is actually happening under the hood. I haven’t been able to find anything searching through the code either (but I could be doing something wrong there).

What endpoints are used in this calibration? Are there specific ESCs this process is intended for? According to the wiki there is a button that can be present–what happens if it is not?

Wondering the utility of using this for a larger drone system. Before attempting on a subscale, wondering what experiences have been. Thanks!

IIRC it should use MOT_PWM_MIN/MAX.

If you have safety switch set to be SAFE on boot (default on boards with safety switch input) you will need to either press the button like before arming or use Mission Planner to toggle safety switch remotely using Ctrl+F menu.

Boards that don’t have safety switch pin should be configured to boot with safety switch OFF (ready to arm), therefore PWM enabled and doing calibration sequence (MAX->MIN) on boot.

Thanks for the insight.
It was my impression that ESCs only enter calibration mode when they receive a HIGH signal on boot–does this auto process start them all in this state, then one-at-a-time feeds them PWM_MAX followed by PWM_MIN sequentially until they are all calibrated?

Additionally, as per the wiki it is advised to normally use the direct-throttle-passthrough of the ESC calibration procedure with sticks to ensure that all motors begin spinning at the same time to ensure successful calibration. I assume that is not possible in this mode.

I should note that, despite the tag being updated (not by me) to Copter 4.5, I am interested in the behavior in Copter 4.3 (if any differences exist).

IIRC it is all ESCs at once. All ESCs spooling up at exactly the same time is a rudimentary calibration check, generally it is recommend to use ESCs with telemetry as it allows for noticeably to significantly tighter tune thanks to notch filters.

I would recommend updating firmware to the latest stable release.

There’s no difference across any of the copter versions - the behaviour of the ESC calibration process has remained unchanged for years.