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
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).
- Draw it. The body is modelled in SolidWorks, so I know where every servo sits and what the link lengths are.
- 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.
- 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.
- 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.
- 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.