# Robot tips over when it brakes or turns: lower the centre of gravity

> Stop a robot from tipping: put the battery low, widen the wheel base, ramp acceleration and slow down before turns.

Canonical: https://roboticsengineering.in/fix/robot-tips-over-high-centre-of-gravity/ | Published: 2026-11-03 | Updated: 2026-11-04

**Put the heavy parts low and between the wheels, and ramp the speed.**

## What the message means

A tall robot tips when the stopping or turning force acts at the height of its centre of gravity. Wider and lower is more stable.

## Fix it in this order

1. Mount the battery, the heaviest part, as low as possible and near the middle.
2. Widen the wheel base or add small outriggers.
3. Ramp the acceleration and braking instead of changing speed at once.
4. Slow down before a turn.
5. Keep tall sensors and masts light.
6. Test the tilt on a slope with a hand ready to catch it.

## Why it happens

A simple model shows the effect. A robot with a wheel track t and a centre of gravity at height h begins to tip sideways when the sideways acceleration reaches g × (t ÷ 2) ÷ h. Halving the height doubles that limit, and doubling the track does the same. Braking tips the robot forwards by the same rule, with the wheelbase in place of the track.

Here is an illustrative example, not a measurement. A track of 150 mm and a centre of gravity 100 mm up gives a limit of 0.75 g. Raise the centre to 200 mm and the limit halves to about 0.38 g. Real robots tip earlier because of wheel slip, flex and bumps.

## If you see this, do this

| You see | Do this |
| --- | --- |
| Tips when braking | Ramp the stop and lower the weight. |
| Tips in a turn | Slow down and widen the base. |

## Related

[robot chassis design](https://roboticsengineering.in/robot-chassis-design-beginners/), [caster problems](https://roboticsengineering.in/fix/caster-wheel-drags-robot-turns-badly/).

Last reviewed: November 2026. These are the usual causes and the order that finds them fastest. Test on your own board; clones and cables differ.

## Why this happens

A robot tips when the force that would tip it turns it about the edge of its wheels faster than its weight can hold it down. During braking, the robot’s inertia acts at the centre of gravity, at height h. The weight acts through the same point and pulls back against the tip. The robot is on the edge of tipping forward when the deceleration a satisfies a = g x d / h, where d is the horizontal distance from the centre of gravity to the front wheel contact.

Wheels also slip. The most the ground can deliver is a = mu x g, where mu is the friction coefficient. So the robot tips before it slides only if mu is larger than d / h. On slippery floors it slides first. On a high-friction surface such as rubber tyres on a mat, tipping becomes the limit.

## How to confirm the cause

- Measure the height of the centre of gravity. Balance the robot on a pencil or a rod to find where it balances in each direction, then estimate the height from the side.
- Measure d: the distance from the balance point to the front axle, and the same for the track width in turns.
- Compute g x d / h and compare it with the deceleration your braking command produces.
- Tilt the robot by hand slowly until it begins to lift a wheel. The angle gives a direct measure: tan(angle) = d / h.
- Compare braking with and without a payload to see how much a raised load matters.

## Worked example

An illustrative example: wheelbase 200 mm with the centre of gravity in the middle, so d = 100 mm, and h = 80 mm. The robot tips forward at g x d / h = 9.81 x 100 / 80, about 12.3 m/s squared. With a friction coefficient of 0.6 the wheels slide at 0.6 x 9.81, about 5.9 m/s squared, so they slip first. This ramp limits speed changes to 5 PWM counts every 20 ms, so 0 to 200 takes 40 steps, 0.8 s.

```
const int STEP = 5;
int current = 0;
void setSpeed(int target) {
  while (current != target) {
    current += constrain(target - current, -STEP, STEP);
    analogWrite(PWM_PIN, current);
    delay(20);
  }
}
```

## Common mistakes

- Raising a tall mast or camera without moving the battery lower.
- Braking at full power from top speed.
- Testing only on a smooth floor and then running on a rougher one.
- Measuring the centre of gravity height without the payload.
- Placing the battery at the back, which shifts the balance.

## If this did not fix it

- Wheel slip and traction, which change how the robot responds before it tips.
- Motor control gains that cause oscillation and rocking.
- Soft or uneven suspension, which lets one side lift under load.
