A humanoid robot balances on one foot by keeping its centre of mass over that foot and constantly adjusting its ankle, hip and arms.
Sensors in the foot measure where the pressure falls, and the controller shifts the body so the pressure stays inside the sole. It is a continuous correction, repeated many times a second.
Standing on one foot is hard because the support area shrinks to a single sole. With both feet down, the robot can lean in any direction and still stay upright. On one foot, every lean must be answered at once, or the robot tips over in the direction it leans.
Humans make this look easy, but we are doing the same work without thinking about it. Our ankles, hips and arms adjust constantly, and our inner ear reports tilt before we notice it. A humanoid copies that system with force sensors, gyroscopes and fast motors, and this article explains how the pieces fit together.

Key Takeaways
- Balance means keeping the centre of mass over the single supporting foot.
- The zero moment point must stay inside the sole, or the robot starts to tip.
- Ankle torque is the first correction, with hip and arm swings as backup.
- Force sensors, gyroscopes and joint encoders feed the controller many times a second.
- Walking is controlled falling: each step catches the fall before it goes too far.
Why Is Standing on One Foot So Hard?
A humanoid is, in engineering terms, an inverted pendulum: a heavy body balanced on a narrow base. Like a broom balanced on a fingertip, it is stable only while its mass sits directly above the support. Move the mass even slightly off centre, and gravity pulls it further away, not back towards safety.
With two feet on the ground, the support area is the whole patch between them, which gives the robot room to lean.
Lift one foot, and that area collapses to a single sole, only a few centimetres wide in each direction. The margin for error shrinks dramatically, and the controller must react faster and more precisely.
Height makes the problem worse. A humanoid’s mass sits high above the ground, in its torso and head, so a small tilt at the ankle becomes a large sideways shift at the shoulders. A tall robot therefore needs quicker corrections than a short one, and its motors must deliver more torque to arrest a lean.
What Is the Zero Moment Point?
The zero moment point, usually shortened to ZMP, is the point on the ground where the robot’s tipping forces cancel out. If the ZMP lies inside the supporting foot, the robot stays upright. If it drifts outside the sole, the foot starts to roll and the robot tips in that direction.
Engineers use the ZMP because it turns a complex whole-body problem into a single point they can watch. Force sensors under the foot measure the pressure distribution, and from that distribution the controller works out where the ZMP sits. The goal of the whole balance system is simply to keep that point inside the footprint.
During walking, the ZMP moves. It starts under the standing foot, travels forward as the body moves, and transfers to the next foot as it lands. A good walking pattern plans this journey in advance, so the ZMP follows a smooth path instead of jumping around. A jerky ZMP means a jerky, unstable walk.
How Do the Ankle, Hip and Arms Work Together?
The ankle is the first line of defence. By twisting the ankle joint, the robot changes the pressure under the foot and pushes the ZMP back towards the centre of the sole.
This works well for small leans, and it is fast because the ankle is close to the ground. It is the same correction you make when you sway slightly while standing.
When the lean grows too large for the ankle alone, the hip takes over. Shifting the hips sideways moves the centre of mass back over the foot, like a tightrope walker shifting their weight. Hip corrections are slower and use more energy, but they can rescue leans that the ankle cannot handle on its own.
The arms are the third layer. Swinging an arm shifts mass and creates a counter-torque that steadies the body, just as you fling your arms out when you slip. Humanoid designers often give the arms a real job in balance control, rather than leaving them hanging, because that extra mass is too useful to waste.
These three layers work in order of speed and cost. The ankle corrects first, because it is quick and cheap. The hip joins in when the ankle reaches its limit. The arms add their help for larger disturbances. A good controller blends all three smoothly, so the robot looks calm rather than twitchy.
What Sensors Keep the Robot Upright?
Force sensors in the feet are the most direct source of balance information. They report how hard the sole presses on the ground and where the pressure concentrates. From those readings the controller computes the ZMP and knows immediately whether the robot is leaning too far in any direction.
An inertial measurement unit, usually mounted in the torso, reports tilt and rotation. It combines accelerometers and gyroscopes to track which way is up, even while the robot moves. Without it, the controller would know the foot pressure but not the body’s lean, and its corrections would always lag behind the real motion.
Joint encoders complete the picture by reporting the angle of every joint. They tell the controller where each limb actually is, rather than where it was told to go. That matters because gears flex, cables stretch and motors lag, so the commanded pose and the real pose are never quite the same.
Sensor fusion ties these sources together: the same kind of combining of different measurements is used in other machines that must know where they are, as in our look at how a robot vacuum uses lidar to sense its surroundings and navigate.
How Does Walking Turn Balance Into Motion?
Walking is often described as controlled falling, and the description is accurate. The robot leans forward, lets gravity pull it, and then places a foot ahead to catch itself. Each step is a small, planned fall that ends with the other foot taking over the support.
The hardest moment in each step is the single-support phase, when only one foot touches the ground. That is the moment this article is about, and it is when the balance system works hardest.
The swinging leg shifts the mass, the ZMP must stay inside the standing foot, and the landing must be timed to catch the fall.
Engineers plan walking with a simplified model called the linear inverted pendulum. It treats the body as a single mass on a stick, which is crude but fast to compute.
The controller uses that model to plan where the ZMP should go, then adjusts the real robot to follow the plan, correcting the difference as it goes.
Stepping itself is a balance tool. If the robot leans too far to recover with ankle and hip alone, it can take a quick step in the direction of the fall, widening its support. Humans do this instinctively when pushed, and humanoids are increasingly taught the same recovery, because it turns many falls into stumbles.
A Practical Checklist for Stable Single-Foot Balance
Use this checklist when designing, tuning or judging a humanoid balance system. It covers the sensing, control and mechanics that decide whether a robot stands calmly or topples at the first nudge.
- Keep the centre of mass low and centred over the supporting foot.
- Measure the ZMP from foot force sensors and keep it inside the sole.
- Use ankle torque first, then hip shifts, then arm swings for larger leans.
- Update the control loop fast enough that corrections never lag the lean.
- Fuse foot, torso and joint sensors instead of trusting any single one.
- Plan the ZMP path before each step, so walking stays smooth and predictable.
- Allow a recovery step when ankle and hip corrections run out of range.
- Test on uneven and slightly soft floors, not only on a flat laboratory surface.
Comparing Balance Strategies
| Strategy | How it works | Best for | Limit |
|---|---|---|---|
| Ankle torque | Twists the ankle to shift foot pressure | Small, fast corrections | Weak against large leans |
| Hip shift | Moves the centre of mass sideways | Medium leans | Slower, uses more energy |
| Arm swing | Swings mass to counter-torque the body | Sudden pushes | Limited by arm weight |
| Recovery step | Places a foot to widen support | Leans beyond recovery | Needs time and clear floor |
| ZMP planning | Plans the pressure path in advance | Smooth walking | Needs an accurate model |
No single strategy is enough on its own. Ankle torque handles the everyday sway, the hip and arms rescue larger leans, and a recovery step saves the robot when the rest run out. The art of balance control is blending them so the robot responds in the right order, at the right speed, without overcorrecting.
Conclusion
A humanoid balances on one foot by watching a single point, the zero moment point, and keeping it inside the sole. Foot sensors report the pressure, torso sensors report the tilt, and the controller answers with ankle torque first, then hip and arm movements. When those are not enough, a quick step catches the fall.
It is a demanding loop, repeated many times a second, and it is why walking robots took so long to look natural. Yet the principle is simple enough to state in one sentence: keep the mass over the foot, and correct early. Everything else is engineering in service of that one idea.
Frequently Asked Questions
What is the zero moment point?
The zero moment point is the point on the ground where the robot’s tipping forces cancel out. As long as it stays inside the supporting foot, the robot remains upright; once it leaves the sole, the robot begins to tip.
Why is one-foot balance harder than two-foot balance?
With two feet down, the support area spans both soles and gives room to lean. On one foot, the support shrinks to a single sole, so the margin for error is far smaller and corrections must be faster.
How fast does a balance controller need to react?
It must update many times a second, because a tall, heavy body tips quickly once it starts leaning. Even a short delay lets a small lean grow into a fall that ankle torque alone cannot stop.
Do humanoid robots use their arms for balance?
Yes. Swinging the arms shifts mass and creates counter-torque, much like a person flinging their arms out when they slip. Good controllers use the arms actively instead of leaving them still.
What happens if the robot is pushed while on one foot?
It first corrects with ankle torque, then with hip and arm movements. If the push is too strong, it takes a recovery step in the direction of the push to widen its support and catch itself.
Is walking really controlled falling?
Yes, in a useful sense. The robot leans forward and lets gravity move it, then places the next foot to catch the fall. Each step is a planned fall that ends with support transferring to the other foot.
Can a humanoid balance on uneven ground?
It can, with limits. Force sensors and ankle compliance let it adapt to small bumps and slopes, but large or sudden changes still need a step or a wider stance to stay stable.



