Satisfying Distributed Joint Control Timing Constraints

TR Number
Date
2024-02-23
Journal Title
Journal ISSN
Volume Title
Publisher
Virginia Tech
Abstract

When controlling the real-time system that is a robotic joint, reliability is the chief concern. Implementing controllers via embedded software imposes several limitations on the controller frequency, such as algorithm latency and supplemental processes (like networking) competing for execution time. If these obstacles prevent a controller from finishing a cycle before its period expires, stability cannot be guaranteed. A developer of embedded software controls ought to be able to prove the timeliness of the controller based on analysis and validation. Otherwise, the choice of controller frequency is arbitrary, without any guarantee of stability in worst-case scenarios. This work realized a truly distributed control system for a humanoid robot by migrating a portion of the joint controller to the low-level. While the central computer is still responsible for determining a joint torque to properly realize whole-body objectives, the low-level processor executes force control locally to produce that torque via a linear actuator. Decoupling the force controller from networking reduced its latency and variability, allowing it to execute several times between receiving desired forces. Furthermore, a real-time operating system was added on top of the existing firmware to enforce and verify timing constraints. Preemptive threading modules within the real-time kernel allow the processor to prioritize controller execution above all other activities, aiding its routine completion. The chosen RTOS provides powerful instrumentation and debugging tools to efficiently verify proper execution and quickly resolve errors. These changes allowed the controller to demonstratively operate at a greater frequency with a full guarantee that timeliness is enforced under all possible circumstances. Verification was performed on a robotic joint test stand to prepare for deployment on a full-scale humanoid robot.

Description
Keywords
Force Control, Low-Level Control, RTOS, Microcontroller, Robotics
Citation
Collections