Stylized technical illustration of a four-legged quadruped robot traversing rocky terrain with actuator torque vectors and LiDAR scanning
|

Quadruped Robots Explained: How Robot Dogs Run, Balance, and Traverse Rough Terrain

Key Takeaway What You Will Learn
  • Four legs balance agility and stability: Quadruped robots traverse stairs, rubble, and mud that stop wheeled bases while offering wider static and dynamic stability margins than bipedal humanoids.
  • Quasi-Direct-Drive (QDD) actuators: Mounting low-ratio brushless motors at the hips and driving the knees through linkages keeps distal leg inertia low for fast swing recovery and compliant impact absorption.
  • Convex MPC and Reinforcement Learning: Modern robot dogs combine real-time ground reaction force optimization with learned terrain adaptation to climb obstacles even in total darkness.

Long before two-legged humanoid robots began walking across factory floors, four-legged quadruped robots—commonly called “robot dogs”—proved that legged machines could perform reliable daily work in unstructured industrial environments. From underground mines and offshore electrical substations to construction sites and chemical plants, quadrupeds have become the workhorses of field robotics.

What makes the four-legged morphology so effective? Compared to wheeled or tracked rovers, a legged robot does not require a continuous paved path; it needs only discrete footholds to step over pipes, curbs, cable trays, and steep staircases. And compared to bipedal humanoid robots, a quadruped possesses four points of contact, a lower center of mass, and a wide support polygon that naturally resists tipping when bumped or parked on slopes.

Mechanical Design: Why Robot Knees Look Backwards (and Why Motors Sit at the Hip)

If you inspect a commercial quadruped such as the Boston Dynamics Spot platform, the ETH Zurich ANYmal, or the MIT Mini Cheetah, you will notice that every leg shares a remarkably consistent kinematic layout with three degrees of freedom (3-DoF) per leg—twelve powered joints in total:

  1. Hip Abduction/Adduction (HAA): Rotates the entire leg assembly inward or outward along the roll axis, allowing the robot to widen its stance, walk sideways, and catch its balance when pushed laterally.
  2. Hip Flexion/Extension (HFE): Swings the upper thigh link forward and backward along the pitch axis to propel the body.
  3. Knee Flexion/Extension (KFE): Extends or retracts the lower shank link to control vertical ground clearance and push against the floor.

To survive repeated ground impacts without shattering gear teeth, modern electric quadrupeds rely on Quasi-Direct-Drive (QDD) proprioceptive actuators. Instead of placing a heavy motor at the knee joint—which would increase rotational inertia and slow down leg swing—engineers bolt both the hip flexion motor and the knee motor coaxially inside the upper hip housing. A timing belt, chain, or four-bar parallel linkage transmits torque down to the knee, keeping the lower leg lightweight so the foot can accelerate rapidly and sense contact forces directly through motor phase current without fragile foot load cells.

3-DoF Quadruped Leg Kinematics & Quasi-Direct-Drive (QDD) Packaging 1. Hip Abduction (HAA) Roll Axis Joint Controls Lateral Foot Placement & Side-Push Recovery Mounted in Trunk Chassis 2. Hip Flexion (HFE) Pitch Axis Joint Drives Forward/Backward Thigh Swing & Propulsion 6:1 – 9:1 Planetary QDD 3. Knee Flexion (KFE) Coaxial Belt or 4-Bar Linkage Keeps Heavy Motor at Hip for Ultra-Low Leg Inertia Absorbs Ground Impacts
The 3-DoF quadruped leg architecture: Coaxial hip motor packaging minimizes lower-leg inertia and enables compliant impact absorption. — Credit: Diagram built as SVG by Automation Party.

Quadruped Gaits Explained: Crawl, Trot, Pace, and Bound

A four-legged machine can coordinate its Front-Left (FL), Front-Right (FR), Hind-Left (HL), and Hind-Right (HR) legs in several distinct rhythmic patterns, known as gaits, depending on speed and terrain roughness:

Gait PatternFootfall Sequence & PhaseStance Duty FactorPrimary Engineering Use Case
Static Walk / CrawlOne leg swings at a time (FL → HR → FR → HL); 3 feet always on ground75% – 85%Steep stairs, slippery rubble, or high-payload inspection where static stability is paramount
Diagonal TrotDiagonal pairs move together: (FL + HR) alternate at 50% phase with (FR + HL)45% – 60%Standard energy-efficient cruising gait; balances pitch and roll moments across the center of mass
Flying / Running TrotDiagonal pairs alternate with a brief aerial flight phase between stances35% – 45%High-speed dashing (2.5 to 5+ m/s) across open outdoor terrain
Pronk / BoundFront pair (FL + FR) and hind pair (HL + HR) act in unison30% – 45%Jumping across gaps, ditches, or raised vertical obstacles

Use the interactive trotting simulator below to adjust Trot Frequency (Hz), Stance Duty Cycle (%), and Foot Clearance (cm) and observe how the diagonal leg timing diagram and foot swing trajectory respond in real time:

Interactive Quadruped Lab

Quadruped Trotting Gait & Hildebrand Phase Timing Simulator

Stride Period: 455 ms | Mode: Walking Trot (Dual-Diagonal Support)
Quadruped Kinematic Stance & Swing Swing Clearance: 10 cm | Stance: 250 ms Leg Phase Timing Diagram (1 Full Stride) FL (Pair A) HR (Pair A) FR (Pair B) HL (Pair B) 0% Phase 50% Phase 100% Colored Bar = Stance (Ground Contact) | Dark = Swing

How Robot Dogs Balance: Convex MPC and Reinforcement Learning

During a dynamic trot, only two diagonal feet touch the ground at any instant, forming a narrow support line rather than a three-point triangle. How does the controller prevent the robot's trunk from pitching or rolling over that line? Two control architectures dominate modern legged locomotion:

1. Convex Model Predictive Control (Convex MPC)

As introduced in the landmark paper Dynamic Locomotion in the MIT Cheetah 3 Through Convex Model-Predictive Control (Di Carlo et al., arXiv:1809.02793), the controller approximates the robot's torso as a single rigid body and ignores the negligible mass of the swinging legs. At every control step (50 to 250 Hz), the computer solves a convex quadratic program over a future time horizon to compute the optimal 3D ground reaction force vector $\mathbf{f}_i = [f_x, f_y, f_z]^T$ at each stance foot while strictly obeying Coulomb friction cone constraints ($|f_{x,y}| \le \mu f_z$). Those desired foot forces are then mapped into joint motor torques via the leg Jacobian transpose $\boldsymbol{\tau} = \mathbf{J}^T(\mathbf{q})\mathbf{f}_i$.

2. Proprioceptive & Perceptive Reinforcement Learning

When a robot dog walks through deep mud, loose scree, or tangled underbrush, analytical friction models can break down. As demonstrated in Learning Quadrupedal Locomotion over Challenging Terrain (Lee et al., Science Robotics / arXiv:2010.11251) and Learning Robust Perceptive Locomotion for Quadrupedal Robots in the Wild (Miki et al., arXiv:2201.08117), neural policies trained via reinforcement learning combine 2.5D elevation maps from onboard LiDAR and stereo depth cameras with a history of joint encoder errors. Even if smoke or mud blinds the cameras, the policy falls back seamlessly to proprioceptive touch—inferring step edges and slip directly from leg kinematics to bridge the sim-to-real gap.

Convex MPC + Proprioceptive Terrain Adaptation Stack 1. Terrain & State Estimation 2.5D Elevation Map (LiDAR/Depth) + Kinematic-Inertial EKF 200 - 1000 Hz State Vector 2. Convex MPC / RL Policy Optimizes 3D Ground Reaction Forces f_i Within Friction Cones |f_x,y| <= mu * f_z 3. Leg Jacobian Torque tau = J^T(q) * f_i Current-Controlled QDD Motors 1000 Hz Joint Impedance
The modern quadruped control pipeline: Fusing terrain elevation maps and IMU state estimation with friction-cone force optimization and Jacobian torque control. — Credit: Diagram built as SVG by Automation Party.

This official Boston Dynamics video shows how a quadruped robot coordinates its four legs and torso posture with a dorsal manipulator arm to open doors and grasp objects:

Video embedded via privacy-enhanced youtube-nocookie.com (Spot's Got an Arm! | Boston Dynamics).

From my own experience

[ADD MY EXPERIENCE: Describe your observations from testing or simulating a quadruped robot (such as Unitree Go2, ANYmal, or Spot in MuJoCo/Isaac Sim) across uneven terrain.]

Sources

Last updated: November 3, 2026

Written By
Alex Mustang

[ADD BIO]

Similar Posts