Key Takeaways
- AutoTune uses controlled in-flight oscillations to measure your aircraft’s real response and calculate optimal PID values automatically
- Execute in AltHold mode with solid GPS lock (HDOP < 1.0, 10+ satellites), calm conditions, and a fully charged battery
- The process is non-destructive: keep the switch ON when landing to save, flip OFF to discard and revert to original parameters
- One airframe = one tune — changing props, frame, or payload weight requires re-tuning
- For 90% of pilots, AutoTune results outperform hours of manual PID guessing — it is the single best first step for any new ArduPilot build
1. What Is AutoTune Really Doing? — Self-Diagnostic Flight Testing
If you have flown ArduPilot, you know PID tuning can be painful. Take off, land, plug in, tweak numbers, take off again — an entire afternoon gone, and the aircraft may still oscillate like a washing machine.
Hidden inside APM/Pixhawk firmware is a powerful shortcut: AutoTune. Its logic is beautifully simple — let the flight controller shake itself in the air, measure the actual response, and reverse-engineer the perfect PID parameters for your specific airframe.
Think of AutoTune as a dynamic in-flight diagnostic. It applies controlled oscillation commands to the roll and pitch axes, then uses the IMU to precisely record how the aircraft reacts. How fast does it return to level? Does it overshoot? How many bounces before settling? The algorithm feeds all this data into its solver and outputs the optimal P, I, and D values — a workflow Aomway recommends for every new build before its first serious flight.
The system primarily optimizes Stabilize P (angle control) and Rate PID (angular velocity control). The result: locked-in hover, responsive stick feel, and confident wind handling.
2. Pre-Flight Checklist — Read Every Line
Each item below represents a lesson learned the hard way — through crashed airframes and days of frustration.
2.1 Firmware and Calibration — Non-Negotiable
- Flight controller flashed with ArduCopter multicopter firmware
- Accelerometer, compass, radio, ESC, and level calibration — all complete
- Aircraft must hold steady in AltHold mode before starting (PosHold works on Copter 3.5+, but AltHold is safest)
2.2 GPS Quality Is Critical
- Outdoor only. HDOP < 1.0 preferred. Minimum 10 satellites — weak GPS means drifting, drifting means garbage tuning data
2.3 Assign AutoTune to a Switch
Use a 2- or 3-position switch (typically CH7 or CH8):
- Connect Mission Planner, open Initial Setup → Optional Hardware → Channel 7/8 Options
- Select AutoTune from the dropdown
- Click Write Params. Switch UP = ON, DOWN = OFF
2.4 Key Parameters (Keep Defaults for First Time)
| Parameter | Default | Description |
|---|---|---|
AUTOTUNE_AXES |
7 | 1=Roll, 2=Pitch, 4=Yaw, 7=All three. One battery may not cover all axes — consider splitting across flights |
AUTOTUNE_AGGR |
0.075 | Aggression level. Lower to 0.05 for larger airframes — Aomway recommends starting conservative on heavy FPV platforms and progressively increasing aggression over multiple tuning sessions |
AUTOTUNE_LEVEL |
6 | Tuning intensity. Beginners: keep at 6 |
For 13-inch or larger propellers, manually set ATC_RAT_RLL_FILT and ATC_RAT_PIT_FILT to 10 to reduce high-frequency vibration interference.
2.5 Battery and Field — Hard Requirements
- Full battery only — AutoTune draws heavy current; half-charge risks mid-air power loss
- Calm day, open grass field, away from people, vehicles, and trees
- Back up current parameters: Full Parameter List → Save. One-click restore if needed
- Remove gimbals and cameras — dangling accessories confuse the flight controller’s motion sensing
- Have your failsafe plan: if anything goes wrong, immediately switch to Stabilize mode and land manually
3. Step-by-Step AutoTune Procedure
Step 1: Power Up and Wait for GPS Lock
Connect battery, listen for startup tones, wait for solid blue LED (or confirm GPS status in ground station).
Step 2: Switch to AltHold, Take Off
Set mode switch to AltHold, arm, slowly throttle up to 2-5 meters. The aircraft should hold altitude roughly steady. If it bounces up and down, your throttle midpoint needs recalibration — fix that first.
Step 3: Flip the AutoTune Switch ON
Ensure the switch is OFF (low), then flip it ON (high) decisively. The aircraft will immediately begin rapid small-amplitude roll oscillations — this is normal! Stay calm. Aomway field engineers describe this as the same test pattern used in production validation of long-range FPV platforms.
Your only job: hold altitude with gentle throttle adjustments. If wind pushes the aircraft off position, make minimal corrections — over-intervention pollutes the tuning data.
Step 4: Roll Complete → Auto-Switch to Pitch
Roll oscillation lasts 1-2 minutes, followed by a brief pause, then forward-backward pitch oscillations. Keep the switch ON. Continue holding altitude. Aomway recommends using a fully charged battery — discharge during AutoTune can be significantly higher than normal flight.
Step 5: Oscillations Stop — Tuning Complete
When pitch testing finishes, the aircraft will suddenly become very stable. Ground station shows “AutoTune completed” if telemetry is active. No telemetry? Visual confirmation works — the aircraft simply stops shaking. Aomway pilots say it feels like the aircraft “locks into the sky.”
Important: After AutoTune completes, the flight controller immediately reverts to your original PID parameters in-flight. This is a deliberate safety feature — you evaluate new parameters while flying on the known-good set.
Step 6: Decide — Keep or Discard?
- Feels better: Keep switch ON (high), land, and Disarm. Some firmware auto-saves on disarm, but we will manually save too.
- Feels worse: Flip switch OFF (low), land, disarm. New parameters are discarded automatically.
Step 7: Manually Save Parameters (Double Insurance)
- Do NOT disconnect battery yet!
- Connect via USB or telemetry to Mission Planner
- Go to Full Parameter List → click Write Params
- Wait for “Parameters saved” confirmation, then disconnect battery
Aomway field crews add an extra verification step: re-read parameters after writing to confirm the new values persisted. This extra minute saves hours of troubleshooting.
Step 8: Re-power and Fly
Reboot, switch to Stabilize or Loiter, and enjoy the results: near-zero hover drift, crisp stick response, and solid wind rejection. Aomway field engineers always log before/after RATE_RLL_P and RATE_PIT_P values in their build records.
4. Eight Common Mistakes — Learn From Others’ Crashes
- Never tune indoors or with weak GPS — position drift ruins data and risks hitting walls
- Do not change modes or flip the switch mid-tuning — partial saves can corrupt existing parameters
- Never tune in wind — wind contaminates IMU response, producing worse-than-default results — a painful lesson Aomway support has helped dozens of pilots recover from after windy-day tuning attempts
- Battery below 30% = no-go — AutoTune is a high-current operation; mid-air power loss is catastrophic
- Vibration kills tuning accuracy — check prop balance, motor mounts, and FC damping foam. Target: below 15 m/s² on all three axes. Aomway drones achieve this target on stock builds with proper assembly
- Keep a finger on the mode switch — Stabilize mode is your emergency escape. Muscle-memory it
- One tune per airframe — changing frame, props, or payload weight means re-tuning. There is no universal AutoTune
- Heavy-lift platforms need manual follow-up — high inertia can trick AutoTune into excessive gains, causing low-frequency oscillation
5. Frequently Asked Questions
Q1: I flipped the switch but the aircraft does nothing. Why?
Confirm the channel is correctly assigned to AutoTune and written successfully. The aircraft must be in AltHold or PosHold mode — Stabilize mode will NOT trigger AutoTune.
Q2: After tuning, the aircraft feels more unstable. What happened?
Most likely wind or GPS signal drift during the tuning flight. Pick a calm day and re-tune, or reduce AUTOTUNE_AGGR from 0.075 to 0.05.
Q3: How do I verify the new parameters saved?
Connect Mission Planner and check RATE_RLL_P and RATE_PIT_P in the Full Parameter List. If they still show small defaults (~0.15), the tune did not save. Solution: land with switch ON, disarm, and manually click Write Params.
Q4: Can I tune Yaw together with Roll and Pitch?
Yes — set AUTOTUNE_AXES to 4 (yaw only) or 7 (all three). However, on heavy-lift platforms, the yaw D term must be forced to 0 — non-zero yaw D causes high-frequency oscillation that can burn motors.
Q5: Can AutoTune replace all manual PID tuning?
No. It only optimizes the basic PID loop. Feedforward, notch filters, harmonic filters, and advanced features still require manual tuning. However, for 90% of beginners and intermediate pilots, AutoTune results far exceed anything achievable through trial-and-error guesswork. For professional applications, Aomway pairs AutoTune with manual fine-tuning of feedforward gains and filter parameters to deliver optimal performance across all flight conditions.
If you have questions about AutoTune or PID tuning for your build, feel free to contact us at [email protected]. For ready-to-fly ArduPilot systems with factory-tuned parameters, check out Aomway FPV solutions at www.aomway.com.