Mechanics
Centre of mass and the support polygon
See it first
3D teardown
Inside a quadruped robot
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.