Thanh Le / bench notes
EMBEDDED · DONE

Humanoid Robot: my thesis project

A small humanoid on SG90 servos: SolidWorks model, DH table, inverse kinematics, then the real thing

Last change2026-11-22: rewritten from my own videos, invented specs removed

Humanoid Robot: my thesis project

This is the robot I built for my undergraduate thesis. A small biped with blue SG90 hobby servos at the joints, aluminium brackets holding them together, and a ribbon cable trailing behind it on the floor. The first video is the real thing; the rest of the page is the design and the math behind it.

Table of Contents

  1. Why it is so small
  2. From a drawing to angles on a servo
  3. The videos
    1. Design a humanoid robot with SolidWorks
    2. Calculate the transform matrix from the DH table
    3. Kinematics, inverse kinematics, path planning
    4. Trajectory design and simulation (with the controller)
  4. Not on this page yet

Why it is so small

SG90s are the tiny plastic-gear servos everyone has in a drawer. They are weak, so the whole robot has to stay small and light: every gram on the upper body is something the hips and knees have to hold up.

From a drawing to angles on a servo

The work splits into the steps below, and each one has its own video (I uploaded those in March 2019).

  1. Draw it. The body is modelled in SolidWorks, so I know where every servo sits and what the link lengths are.
  2. DH table. From the model, the Denavit-Hartenberg table for the legs, turned into the transform matrices. Boring, and one wrong sign here breaks everything after it.
  3. Kinematics, inverse kinematics, path planning. Forward kinematics tells you where the foot is for a set of joint angles. Walking needs the opposite: I want the foot here, which angles do I send? Then plan the path for the feet and the hips.
  4. Trajectory and simulation. Run the trajectories in a simulation with the controller in the loop, so the mistakes show up on screen instead of on the floor.
  5. Real robot. The angles go to the SG90s. That’s the video at the top.

The videos

Design a humanoid robot with SolidWorks

Calculate the transform matrix from the DH table

Kinematics, inverse kinematics, path planning

Trajectory design and simulation (with the controller)

Not on this page yet

How many servos, which board drove them, how the gait was tuned. I still owe this page those three.