Learned Dynamics of Electrothermally-Actuated Soft Robot Limbs Using LSTM Neural Networks

Rohan K. Mehta, Andrew P. Sabelhaus, Carmel Majidi

Abstract

Soft robots actuated by Shape Memory Alloys (SMAs) offer high power-to-weight ratios and flexibility, yet their control is complicated by significant non-linearities and hysteresis. This paper presents a framework for modeling the dynamics of a soft robotic limb using Long Short-Term Memory (LSTM) neural networks. By integrating a novel in-situ temperature sensing fabrication method with deep learning, we demonstrate highly accurate motion prediction. Our model achieves a one-step Root Mean Square Error (RMSE) of 0.2091° and maintains stability over 10-minute open-loop rollouts with an RMSE of 5.350°. The computational efficiency of the model—performing inference 2.4x faster than real-time—marks a significant step toward the development of autonomous, untethered soft robotic systems.

Introduction

Soft robotics represents a paradigm shift in machine design, prioritizing compliance and safety for human-robot interaction. However, the very materials that provide these benefits also introduce complex modeling challenges. Electrothermal actuators, specifically Shape Memory Alloys (SMAs), are frequently used in these systems due to their high force output and compactness. Despite these advantages, SMAs exhibit complex "hysteresis," where the actuator's physical state is determined not only by current electrical input but by its entire thermal history.

Traditional control methods often rely on bulky external sensors (such as motion capture cameras) or computationally intensive first-principles physics equations. These approaches are often unsuitable for real-time, untethered applications. To achieve true autonomy, soft robots require compact, onboard sensing paired with efficient algorithms capable of predicting dynamics in real-time.

Methodology

Hardware and Fabrication

The researchers developed a planar soft limb constructed from silicone, actuated by an antagonistic pair of SMA coils. To provide the necessary data for the predictive model, the limb was equipped with two primary sensor types:

  1. Capacitive Bend Sensor: Used to measure the actual deflection angle of the limb.
  2. Thermocouples: Used to monitor the internal temperature of the SMA coils.

A significant challenge in soft robot fabrication is the interface between rigid sensors and moving actuators. To prevent bond failure between the thermocouples and the SMA wires, the team utilized a specialized fabrication technique. They left a small number of "exposed" turns of the SMA coil at the base of the limb. These turns were actuated once to remain retracted and then bonded to the thermocouples, creating a stable, non-moving thermal interface that accurately reflects the temperature of the active segments.

LSTM Neural Networks

Given the time-dependent nature of SMA hysteresis, the study employed a Long Short-Term Memory (LSTM) architecture. LSTMs are a type of recurrent neural network (RNN) specifically designed to process sequences of data by maintaining an internal "hidden state." This allows the network to effectively remember previous heating and cooling cycles, which is critical for capturing the material phase transitions of the SMAs.

Data Collection

The dataset was generated through a process termed "motor babbling." A proportional-integral (PI) controller moved the limb to random setpoints for approximately six hours. The resulting data—comprising PWM duty cycles (power input), measured temperatures, and bending angles—was split into training (67%) and validation (33%) sets.

Results and Discussion

Predictive Accuracy

The LSTM model demonstrated exceptional precision in predicting the limb's state. In one-step-ahead predictions, the model achieved an RMSE of 0.2091°. More impressively, the model was tested in "open-loop rollouts," where it predicted future states for up to 10 minutes based solely on its own previous predictions and the control inputs. Over these long-duration tests, the model maintained an RMSE of 5.350° with virtually no significant drift, a common failure point for recursive models.

The Role of Temperature and Bidirectional Motion

The study highlighted two key insights regarding the system's dynamics:

  • Temperature as a Surrogate: The results confirm that internal temperature is an excellent proxy for the "hidden" material phases of the SMA. Even when direct temperature data was not used in the rollout, the LSTM's internal state was able to approximate the thermal history, though models including temperature data performed best.
  • Mechanical Hysteresis: Interestingly, modeling bidirectional motion (using two antagonistic SMAs) was more successful than modeling a single SMA. The researchers suggest that the active "restoring force" provided by the second SMA helps overcome the mechanical hysteresis inherent in the silicone body itself.

Computational Efficiency

For practical application, the model must be capable of running on embedded hardware. The LSTM model performed inference 2.4x faster than real-time, indicating it is lightweight enough for integration into closed-loop control systems for autonomous robots.

Conclusion and Future Work

This research demonstrates that LSTMs, combined with innovative onboard sensing, can effectively model the complex dynamics of soft robotic limbs. While the current model is highly accurate, the researchers noted a slight "thermal lag" caused by the epoxy used to bond the sensors. Future iterations may utilize liquid-metal-embedded elastomers to improve thermal conductivity. Additionally, the team aims to scale this framework from a single-segment limb to multi-jointed, walking soft robots, further closing the gap between laboratory prototypes and real-world autonomous machines.

Summary updated

BibTeX
@article{mehta2022learned,
  author = {Rohan K. Mehta and Andrew P. Sabelhaus and Carmel Majidi},
  title = {{Learned Dynamics of Electrothermally-Actuated Soft Robot Limbs Using LSTM Neural Networks}},
  journal = {Frontiers Robotics ai},
  year = {2022},
  doi = {10.3389/frobt.2022.888261},
}
Figure