This site is only a doorway

Everything here is gathered from things other people actually researched, thought through, and built: books, papers, historical records, and the people behind them. If something here catches your interest, go look at the original sources listed at the bottom of the page. They carry more depth than a page like this ever can.

How Does a Drone Stay Still in the Air?

Category: Technology

Hold a camera drone in the air without touching the controls and it just sits there, as if it were resting on an invisible shelf. But there is no shelf. A hovering drone is never really still. Its sensors keep measuring how much it has tilted and drifted, and its flight computer keeps nudging the speed of four motors to fix it, hundreds of times every second. In 1907, the first aircraft with four pairs of rotors needed four people to hold it steady. Today the "people" are tiny sensors and software. This article follows the idea in order: what stops the drone from spinning, how it fixes a wobble, and why staying level is not the same as staying in place.

1. Why Did the First Four-Rotor Aircraft Need Four Men to Hold It Steady?

On September 29, 1907, a French machine called the Breguet-Richet Gyroplane No. 1 lifted itself and a pilot off the ground for the first time. It had four arms, each with a pair of rotors, and it rose only about 0.6 meters (2 feet). Four men steadied the frame, and the machine could be neither steered nor controlled, so it was not a free flight [1]. Lifting was the easy part. Staying upright without help was the hard part.

Four-rotor designs kept appearing in the following decades, but they stayed a curiosity. Flying one by hand was too demanding for a pilot. What changed was the size. Small, light drones react quickly, and that lets them use a particularly simple control system [2]. So the question is how a modern drone, with no helpers, keeps itself in one spot. The first piece of the answer is the spinning of the propellers themselves.

2. How Do Four Propellers Cancel Each Other's Twist and Steer by Speed Alone?

When a propeller pushes air one way, the air pushes back with a twisting force on the machine. This is called torque. A helicopter has one big rotor, so it carries a small rotor on its tail to cancel the twist. A quadcopter does it differently: two propellers spin clockwise and two spin counterclockwise, so the twists cancel out. Neighbors turn opposite ways, and propellers across the diagonal turn the same way [2]. The 1907 machine used the same idea, with two rotor sets driven each way [1].

Steering is done by changing the speed of each motor separately. The blades have a fixed angle, and unlike a helicopter, a quadcopter does not usually have a mechanism that tilts the blades as they turn [2]. If the front motors spin faster than the back ones, the drone tips forward and moves forward. If one diagonal pair speeds up, the twists no longer cancel and the drone turns to face a new direction [2]. So the four motors both lift the drone and steer it. That is also why the next step is so important: a tiny speed difference is all it takes to tip it.

3. How Does a Drone Fix a Wobble Hundreds of Times a Second?

Hovering means the upward push of the propellers equals the drone's weight. Flight software for drones is often built around a setting for exactly how hard the motors must push to hold the drone up (the "hover thrust"), and then corrects everything else around that point [4]. But balance is not a thing you set once. Any small gust or bump tips the drone, and the tilt must be caught right away.

The open-source flight software ArduPilot shows how. It compares the angle the drone should have with the angle it has. That difference is turned into a wanted rate of turning. Then the difference between the wanted and actual turning rate is turned into a motor command. On a Pixhawk flight controller, this update runs 400 times per second, once every 2.5 milliseconds [3]. Another widely used flight software, PX4, describes the same layered design (a "cascaded" controller). Its innermost loop controls the turning rates, and the outer loops handle attitude, speed, and position [4][5]. Fast numbers like 400 per second come from these open-source programs. Companies that make commercial drones usually do not publish theirs.

The inner loops keep the drone from tipping over. But does a level drone stay where it is?

4. Why Isn't Staying Level the Same as Staying in One Place?

Not at all. ArduPilot has a flight mode called Stabilize. In it, the drone levels itself when the pilot lets go of the sticks, but nothing else holds it. The pilot must keep adjusting to stop the drone from drifting [6]. A drone that only stays level will be carried along by the wind, because nothing is looking at where it is.

Position hold is a separate job on top. In PX4's Position mode, when the sticks are released, the drone brakes, levels itself, and locks to a position in 3D space, compensating for wind and other forces [7]. Its documentation says the position loop is only used when holding position or when the requested speed is zero [5]. For this the drone needs a second kind of information: not "how much am I tilted?" but "where am I, and how fast am I moving?"

5. How Does a Drone Know Where It Is and How High?

Several sensors share the work, because each one has weak spots. A barometer measures air pressure, which falls as you go up, so changes in pressure tell the drone about changes in height. Satellite navigation (GPS and similar systems) gives position, though it can be unreliable indoors and near tall buildings. And a downward-facing camera helps when satellites are not available. PX4 describes this "optical flow" setup: a camera and a distance sensor both point at the ground, and the drone works out its own speed from how the ground pattern slides past. The documentation says it can be used for navigating without GPS, such as in buildings, underground, or any other place where satellite signals are blocked [8].

Flight software mixes all these readings into one best guess of position and speed. PX4 says its estimates come from a filter called EKF2 [5]. The idea is simple: when one sensor is noisy or missing, the others fill in. This is also why a drone can hold still indoors with a camera but drifts if the camera cannot see enough of the floor.

6. What Does a Drone Do When the Wind Pushes It?

PX4's Position mode compensates for wind [7]. The documents we read do not give a step-by-step recipe for it, so here is our own reasoning from physics. A drone moves sideways by tilting, because tilting turns part of the upward push into a sideways push. If the wind pushes the drone downwind, the drone can lean into the wind until its sideways push balances the wind's push. Then it stops drifting. This is a simple force-balance picture, not a measurement of real drones.

Leaning has a cost. At a tilt of 30 degrees, the motors must push about 1.15 times as hard to keep the same height (1 divided by cos 30°, our own calculation). So a drone has a limit, set by how much extra thrust it has to spare. That is one reason makers tell people not to fly in strong wind.

7. Can You Try the Same Measure-and-Correct Idea With a Ruler?

Yes, and it feels surprising. With an adult nearby, in a roomy spot with nothing breakable around, stand a light plastic or wooden ruler on its end on your open palm. Watch the top and, as soon as it leans, slide your hand under it. When it works, you are doing what the drone does: measure the lean, then correct it, over and over. The drone just repeats it hundreds of times a second. If the ruler falls right away, that is normal. Standing it up for even a second or two counts.

If you want to look further, search for "cascaded control PX4" or "ArduPilot attitude control" to see the diagrams the programmers use.

Sources

How these sources were read: every web page below was opened and read as text on October 23, 2026 (the first and second are an encyclopedia, so the figures taken from them are treated with care). We did not find a page for smartphone GPS accuracy or sensor data sheets that we could open, so this article gives no accuracy numbers for them.

  1. Wikipedia "Breguet-Richet Gyroplane" https://en.wikipedia.org/wiki/Breguet-Richet_Gyroplane (Full text read. Used for the 1907 flight, 0.6 m, four men steadying it, and the opposite-turning rotor sets. This is an encyclopedia entry, so these figures are not treated as certain.)
  2. Wikipedia "Quadcopter" https://en.wikipedia.org/wiki/Quadcopter (Beginning of the article read, through the design principles and early history. Used for counter-rotation, speed-only control, no cyclic pitch, and why small drones need simple control.)
  3. ArduPilot Dev Docs "Copter Attitude Control" https://ardupilot.org/dev/docs/apmcopter-programming-attitude-control-2.html (Opening section read. Used for the angle-to-rate-to-motor structure and the 400 Hz update on Pixhawk.)
  4. PX4 Guide "Multicopter PID Tuning Guide" https://docs.px4.io/main/en/config_mc/pid_tuning_guide_multicopter.html (Opening and rate controller section read. Used for tuning around the hover thrust point and for the rate loop being the innermost.)
  5. PX4 Guide "Controller Diagrams" https://docs.px4.io/main/en/flight_stack/controller_diagrams.html (Multicopter architecture section read. Used for the cascaded design, EKF2 estimates, and when the position loop is used.)
  6. ArduPilot Copter Docs "Stabilize Mode" https://ardupilot.org/copter/docs/stabilize-mode.html (Opening section read. Used for self-leveling without position hold.)
  7. PX4 Guide "Position Mode (Multicopter)" https://docs.px4.io/main/en/flight_modes_mc/position.html (Opening section read. Used for braking, leveling and locking to a 3D position while compensating for wind.)
  8. PX4 Guide "Optical Flow" https://docs.px4.io/main/en/sensor/optical_flow.html (Opening section read. Used for the downward camera and distance sensor and for use without GPS. The statement about air pressure and height is basic physics and is not taken from these pages.)