Altitude hold is a flight control function that keeps a drone at a constant height without continuous throttle input from the pilot. The flight controller estimates altitude from a barometer, accelerometers and, when available, GPS or a downward rangefinder, then adjusts motor thrust in a closed loop so that the aircraft neither climbs nor sinks. In drone flight control, it is the vertical counterpart to stabilization of roll and pitch.
With altitude hold active, a centered throttle stick means hold the current height, while moving the stick commands a climb or descent rate. The function forms the basis of beginner-friendly modes on camera drones and the vertical half of position hold.
How altitude hold estimates and controls height
Altitude hold works as a cascaded control loop. An outer loop compares the estimated altitude with the target and outputs a desired vertical speed; an inner loop compares that desired speed with the measured climb rate and outputs a throttle correction. Each loop is typically a PID or PI controller, tuned so that the drone settles smoothly instead of bouncing.
No single sensor gives clean, fast and drift-free altitude, so the firmware fuses several sources with a complementary filter or extended Kalman filter. The barometer provides absolute reference but is noisy and slow, while the accelerometer reacts instantly but drifts when integrated. Combining them produces an estimate that is both responsive and stable.
The table below compares the sensors that typically feed an altitude estimate.
| Sensor | What it measures | Strength | Weakness |
|---|---|---|---|
| Barometer | Air pressure | Works at any height | Noise, wind and temperature drift |
| Accelerometer | Vertical acceleration | Very fast response | Drift when integrated |
| GPS | Satellite altitude | No long-term drift | Vertical error of several meters |
| Rangefinder | Distance to ground | Centimeter precision | Short range, surface dependent |
| Optical flow camera | Ground motion and height | Good low-level hold indoors | Needs texture and light |
Key parameters and typical accuracy
How well altitude hold performs depends on sensor quality, vibration isolation and the tuning of several parameters. A barometer-only hold on a small drone commonly wanders by about 0.5-2 meters, whereas a rangefinder near the ground can hold within a few centimeters. Firmware such as INAV, ArduPilot and PX4 exposes these settings for adjustment.
| Parameter | Effect | Symptom if set wrong |
|---|---|---|
| Hover throttle | Baseline thrust for level hover | Climb or sink when engaged |
| Position P gain | Strength of height correction | Slow drift or oscillation |
| Velocity P and I gains | Climb rate tracking | Bouncing or sluggish response |
| Maximum climb rate | Speed limit for stick commands | Sudden or slow altitude changes |
| Throttle deadband | Stick zone treated as hold | Unintended creeping height |
| Barometer filter cutoff | Smoothing of pressure noise | Lag or jittery motors |
An accurate hover throttle estimate matters most, because it lets the controller start from the right thrust instead of correcting a large error. Many flight stacks learn hover throttle automatically during flight.
Altitude hold compared with related flight modes
Altitude hold controls only the vertical axis. It does not stop horizontal drift caused by wind, which is the job of position hold. The comparison below separates it from neighboring modes in the same topic.
| Mode | Height control | Horizontal control | Typical use |
|---|---|---|---|
| Angle mode | Manual throttle | Self-leveling attitude | Beginner manual flight |
| Altitude hold | Automatic | Self-leveling, drifts with wind | Smooth filming, training |
| Position hold | Automatic | GPS or optical flow lock | Hovering in place |
| Acro mode | Manual throttle | Rate control only | FPV freestyle and racing |
On consumer camera drones, altitude hold is usually permanently active in the normal mode, so pilots may never see it as a separate setting. On FPV and custom builds running Betaflight, a true altitude hold is limited or absent, while INAV and ArduPilot implement it fully.
Using and tuning altitude hold in practice
Reliable altitude hold starts with good hardware installation. The barometer must be shielded from propeller wash and light, because airflow and sunlight cause pressure and temperature errors. Many builders cover the sensor with open-cell foam, which blocks gusts while allowing static pressure through.
| Problem | Likely cause | Fix |
|---|---|---|
| Height jumps in fast forward flight | Dynamic pressure on barometer | Add foam, relocate sensor |
| Slow drift up or down | Wrong hover throttle | Recalibrate or enable learning |
| Rhythmic bouncing | Gains too high | Lower velocity P gain |
| Sudden drop on engage | Poor accelerometer calibration | Repeat IMU calibration |
| Erratic hold with motors spinning | Vibration aliasing | Improve damping and filtering |
- Engage at a safe height of several meters for the first test, so a sudden drop does not reach the ground.
- Review blackbox logs of target versus estimated altitude to see lag and overshoot.
- Retune after changing weight, such as adding a heavier battery or camera.
Limitations and common misconceptions
Altitude hold maintains height above the takeoff point, not height above the terrain, unless a rangefinder is used. Flying over a rising slope with barometric hold can therefore bring the drone dangerously close to the ground.
- It does not prevent collisions; obstacles above or below remain the pilot’s responsibility.
- Weather changes shift barometric readings during long flights, causing slow altitude drift.
- Ground effect near the surface disturbs both thrust and pressure readings during low hovering.
- Strong downdrafts can exceed available thrust, so the drone may still lose height.
The idea in brief
Altitude hold is like cruise control for height. The pilot lets go of the up and down stick, and the drone keeps itself at the same level. It senses small changes in air pressure and movement. Then it nudges the motors up or down to stay put.
This makes flying much easier. The pilot can focus on steering and filming. It does not stop wind from pushing the drone sideways, and it does not see trees or walls.
A practical scenario
A roof inspector flies a camera drone along the edge of a warehouse roof at 15 meters above the parking lot. Without altitude hold, every turn and camera adjustment would cause small climbs and dips, so the inspector would constantly correct the throttle while also framing images of damaged flashing.
With altitude hold active, the inspector centers the throttle stick and the drone holds height within about half a meter as it moves along the wall. During one pass a gust pushes the aircraft sideways, but its height stays constant. The inspector completes the survey of 200 meters of roofline in a single battery charge, with consistent image scale that makes the defect report easier to compare.