Robotic arm joint controller
Field-oriented control of a BLDC joint with absolute encoder feedback.
Function
Runs torque, velocity and position loops for one arm joint, reads an absolute encoder, and joins a daisy-chained bus so a central controller can command every joint.
Design choices
- DRV8311H three-phase driver with integrated MOSFETs and current-sense outputs for field-oriented control.
- AS5048A 14-bit magnetic absolute encoder on SPI, so the joint knows its angle at power-up.
- STM32G431 with advanced timers driving the six PWM inputs and sampling the current-sense outputs.
- CAN bus (MCP2562) for deterministic multi-joint control, fed by a 24 V → 5 V → 3.3 V supply chain.
Schematic
PCB
Future challenges
- Thermal limits in a sealed joint at high continuous torque.
- Safe torque-off certified for collaborative robots.
