Robot Dog Gets 12 Homemade Actuators, Each With a Custom FOC Driver and 3D-Printed Gearbox

User Avatar Aswinth Raj
Author
Share
Robot Dog Actuator With 3D-Printed Cycloidal Gearbox

A walking robot dog needs 12 joint actuators, three per leg, and each one has to be strong enough to carry the body yet soft enough to absorb every footstep. Buying 12 commercial quasi-direct-drive actuators gets expensive fast, so maker Koshiro Robot Creator built all 12 himself: CNC-machined aluminium plates, a 3D-printed cycloidal gearbox, and his own field-oriented control (FOC) driver board on every joint. The video passed 100,000 views in five days, and he has released the CAD, PCB, firmware and host tools as KRC-Actuator on GitHub under the MIT licence.

The driver board

Each actuator carries a small round FOC board (KRC FOC v2.6), and the bill of materials is a good reference for anyone designing a BLDC driver:

  • STM32G431 microcontroller running the FOC and position loops
  • TI DRV8323RS three-phase gate driver with six NTMFS5C628NL MOSFETs
  • Three 1 milliohm shunt resistors for phase-current sensing
  • MT6816 magnetic angle encoder reading the rotor position
  • TCAN3414 CAN transceiver, so all 12 boards share one CAN bus
  • An NTC thermistor for motor temperature

A Raspberry Pi acts as the host and talks to the boards over Linux SocketCAN. His Python tools handle node ID provisioning, encoder calibration, homing against end stops, soft limits, and an identify command that measures resistance, inductance, torque constant, inertia and friction and then suggests control gains. Commands follow the MIT Mini Cheetah style (position, velocity and torque with kp and kd gains), and there is a latched emergency stop for all nodes.

The gearbox

The reduction is a 9:1 cycloidal drive with 3D-printed parts; the clear housing parts were printed in resin so the motion is visible. A cycloidal disc rolls around a ring of pins, which keeps the gearbox compact and backlash low for a printed part.

Test results

Measured on a bench rig with a 25.2 V supply, a 7.1 A current limit and a 0.17 m arm pressing on a kitchen scale:

  • Motor alone: about 63 rad/s top speed and 1.96 N-m peak torque
  • With the 9:1 gearbox: about 6.9 rad/s top speed and 10.6 N-m peak torque

The ideal figure for a 9:1 reduction would be 17.2 N-m, so the printed gearbox delivers roughly 62 percent of it at peak load. That gap is honest and useful: it shows where friction in a printed reducer costs you, and his plot of output torque against current makes it clear. He also demonstrates impedance control, where the joint behaves like a programmable spring, and lifts weights from 1.25 kg to 3.5 kg on the arm.

Why it matters for makers

Actuators are the most expensive part of any legged robot, and open designs that include the driver PCB, Gerbers, a BOM and pick-and-place files are rare. If you are new to brushless motors, start with our BLDC motor basics and Arduino control guide, and see how another maker put 12 joints to work in this 12-DOF ROS 2 quadruped.

Image credit: Koshiro Robot Creator, frame from the build video, cropped and resized.

About the author: Aswinth Raj is an electronics engineer and the editor of CircuitDigest, where he has published more than 150 hands-on projects and tutorials across Arduino, PIC, ESP32, Raspberry Pi and EV battery systems. He selects the stories on this page for what engineers and makers can actually learn or build from. Connect on LinkedIn

Have any question related to this Article?

Add a comment

No account needed. Your comment appears once a moderator has reviewed it.

Never shown publicly.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.