Wheeled bipedal robot

Assignment 4 in IN5590
By erijohn, oyvindlr
Printer: Alan
Topic A

Assignment text can be found here.

1) Motivation

We want to build a self-balancing wheeled bipedal robot because it covers a lot of the topics that we find interesting in robotics: sleek design, electronics, and implementation of controllers. Working on a complex problem like this allows us to apply as much learned theory as possible, and hopefully results in a cool, functioning robot.

Wheels make a robot fast on flat floors, while legs let it handle steps and uneven ground. Combining the two gives a robot that is useful for indoor tasks like inspections.

2) Goals

The goals of this project in order of importance are to:

  1. Build the robot. By 4th of November, fully assembled with all electronics, motors and servos included. All motors, servos and the IMU responding to the controller.
  2. Make the robot balance. By 12th of November. Balancing at least 30 seconds on flat ground, in 5 out of 5 attempts.
  3. Add more functionality.
    • By 22nd of November: robot stops at least 15 cm in front of a wall when driving towards it, in 4 out of 5 attempts.

References of inspiration

3) Sketch

We will build a self-balancing wheeled bipedal robot. Two hub motors carry it on two wheels, and one servo per leg drives a linkage that sets the leg height. The robot has no stable pose, and balances as long as a controller keeps the wheels under its center of mass. Further on, we want it to sense its environment. We will do this by carrying three range sensors: two at the lower front corners, watching the floor ahead of each wheel, and one on the center front of the body detecting obstacles such as a wall. When something is detected, the robot should stop and hold its balance.

4) Bill of materials (BOM)

Item Description Quantity Source
1 Raspberry Pi 5 — ROS 2 Jazzy, camera 1 Privately owned
2 ESP32-WROOM dev board — 200 Hz low-level control loop, IMU bridge, owns both actuator buses and the command watchdog 1 Privately owned
3 DFRobot M0601 direct-drive BLDC hub motor (= Waveshare DDSM115) — 18 V, 0.96 N·m rated, integrated FOC and 4096-line encoder, RS485, commanded in current mode 2 Privately (owned) / lab purchase, 1 on backorder
4 Dynamixel AX-18A — hip servo, one per leg, drives the four-bar leg-height linkage; the knee is a passive bearing 2 Privately owned
5 BNO055 9-DOF IMU breakout — 100 Hz fused orientation over I²C 1 (+1 spare) Privately owned
6 DFRobot DFR0845 isolated RS485-to-UART transceiver — ESP32 to the wheel-motor bus 1 (+1 spare) Privately owned
7 DFRobot TEL0185 RainbowLink USB to RS485/RS232/TTL — bench bring-up and motor ID assignment from a laptop 1 Privately owned
8 Raspberry Pi camera + ribbon cable — OpenCV object tracking (demo feature) 1 Privately owned
9 HC-SR04 ultrasonic rangefinder — forward obstacle detection 3 Privately owned
10 4S 3000 mAh Li-Ion 18650 battery pack, XT60 — 14.4 V nominal, 16.8 V full, 43 Wh, 204 g 2 Privately owned / lab purchase
11 DFRobot DFR0205 25 W buck converter — one to 5.1 V for the Pi, one to 12 V for the Dynamixels 2 Privately owned
12 10 A blade fuse and holder — motor supply protection 1 Privately owned
13 M3 fasteners, wiring, heat-shrink, perfboard, connectors — Privately owned
14 XT60 connector pairs — main power connector, pulled out by hand as the hardware stop, so it is a wear part 3 pairs Privately owned
15 MR84ZZ miniature ball bearing, 4 × 8 × 3 mm — the three passive four-bar pivots, a pair per pivot per leg (12 needed, over-ordered against press-fit losses) 20 To purchase
16 MR105ZZ miniature ball bearing, 5 × 10 × 4 mm — hip support bearing opposite the servo horn (2 needed) 6 To purchase
17 Leg pivot axle, 4 mm ground shoulder — a bearing bore must not run on a screw thread; ground silver steel or hardened RC king pins 6 To purchase
18 3D-printed chassis, legs and linkage — PLA or PETG filament ~0.5 kg Lab resource
19 VL53L0X time-of-flight distance module — alternative to item 9, see note below 3

5) Plan

# Milestone Deadline Work Responsible Done when Status
M1 Design complete 19 Oct Body CAD, leg CAD Erik: body CAD · Øyvind: leg CAD All parts modelled in SolidWorks and ready to print Legs designed and built
M2 Motor control verified 19 Oct Motor bench test Øyvind One hub motor runs at a commanded speed from the ESP32 over RS485 Done
M3 Robot built (Goal 1) 4 Nov Print and assemble body, wiring, firmware, schematics Erik: print, assembly · Øyvind: firmware, wiring, schematics Robot fully assembled; both wheels reach a commanded speed, both legs move to a commanded height, and the IMU reports pitch, all commanded from the ESP32. Wiring schematics drawn in KiCad In progress
M4 Part 1 delivered 8 Nov 23:59 Write Part 1 documentation Joint SolidWorks files, assembled and exploded snapshots, print table, schematics, BOM and future work in the repo
M5 Robot balances (Goal 2) 12 Nov Tune balance controller on the real robot Erik: controller tuning · Øyvind: platform support Balances at least 30 s on flat ground, 5 out of 5 attempts; test photos and video recorded
M6 Part 2 delivered 15 Nov 23:59 Poster, run instructions, iteration log Joint Poster, setup and run instructions tested on a clean machine, prototyping iteration log complete
M7 Wall stop (Goal 3) 22 Nov Drive while balancing, add range sensing Joint Drives forward and backward while balancing; stops at least 15 cm from a wall, 4 out of 5 attempts. Optional: vision following
M8 Demo ready 25 Nov Feature freeze 23 Nov, rehearsal, packing Joint Robot runs 30 min continuously on battery; fallback demo (balancing only) tested; packing list with spare parts and charged batteries ready