Skip to main content
Torqheart
← Foundations

Mechanics

Centre of mass and the support polygon

A robot stands still while its centre of mass falls inside the area its feet enclose. Once it leaves, the robot starts to fall unless it steps or pushes back.

See it first

3D teardown

Inside a quadruped robot

Open full screen
FreeParts, Gaits🔒 In an upcoming courseCentre of massDrag to turn, use the buttons to take it apart. Numbers come from published research; our own estimates are marked on the page. A model for learning, not a product spec.

The teardown opens on its “Gaits” mode, which shows this principle. Drag to turn it.

One step at a time

Step by step

Centre of mass and the support polygon

Step 1 of 5

Weigh every part

Body, legs, battery: each has a mass and a position.

In words

The centre of mass is the average position of all the mass. Drop a line to the floor: inside the shape traced through every foot on the ground, gravity holds the robot up; outside, it makes a torque that tips it over.

A quadruped that walks slowly lifts one leg at a time and always keeps a triangle of three feet, so it is statically stable. At a trot only two diagonal feet touch: the support shrinks to a line and dynamic control has to take over.

The formula

x_com = Σ(mᵢ·xᵢ) / Σmᵢ

Where you meet this in a robot

In the quadruped teardown, watch the gait and count the feet on the ground at each moment. The “balance before walking” workshop has you hold balance yourself when support is tiny.