Abstract
Compared with rigid robots, soft robots are inherently compliant and have advantages in the tasks requiring flexibility and safety. But sensing the high dimensional body deformation of soft robots is a challenge. Encasing soft strain sensors into the internal body of soft robots is the most popular solution to address this challenge. But most of them usually suffer from problems like nonlinearity, hysteresis, and fabrication complexity. To endow the soft robots with body movement awareness, this work presents a bioinspired architecture by taking cues from human proprioception system. Differing from the popular usage of smart material-based sensors embedded in soft actuators, we created a synthetic analog to the human muscle system, using paralleled soft pneumatic chambers to serve as receptors for sensing body deformation. We proposed to build the system with redundant receptors and explored deep learning tools for generating the kinematic model. Based on the proposed methodology, we demonstrated the design of three degrees of freedom continuum joint and how its kinematic model was learned from the unified pressure information of the actuators and receptors. In addition, we investigated the response of the soft system to receptor failures and presented both hardware and software level solutions for achieving graceful degradation. This approach offers an alternative to enable soft robots with proprioception capability, which will be useful for closed-loop control and interaction with environment.
Introduction
Proprioception is a critical bodily neuromuscular sense that enables human to perceive posture of limbs in the space and helps to control body movements.1,2 Equipping soft robots with comparable proprioception systems is also essential for closed-loop feedback control and interaction with environment. But due to the unique compliant nature, it is very challenging to sense the high dimensional deformation of soft robots such as the octopus-inspired gripper 3 and the elephant's trunk like robot manipulator. 4
To endow soft robots with body movement awareness, deciding the sensory component is a key step. Depending on the morphology of the soft robots and the task requirements, diverse potential sensing technologies were developed over the past years.5–9 Embedding soft strain sensors into the soft robots was one of the most popular solutions for directly measuring the body deformation of the soft robots. Stretchable resistive10–12 and capacitive13–15 materials were commonly used for building the strain sensors. However, most of these soft strain sensors showed nonlinearity and suffered from hysteresis. Some researchers proposed to fill the soft elastomers with conductive liquids for proprioceptive sensing.16–18 But these sensors filled with conductive liquids usually had complex structures and might have the problem of leakage.
Recent researches proposed to incorporate complicated sensors within the soft actuators in a tightly integrated way by leveraging the promising and low-cost three-dimensional (3D) printing technologies. One of the noteworthy examples is a soft somatosensitive actuator constructed with three 3D-printed elastomeric matrices, which were filled with conductive inks for sensing the curvature, inflation, and contact. 19 Yang et al. proposed to simultaneously integrate pressure and position sensors into a soft actuator using 3D printing. 20 Hainsworth et al. also produced a sensor-actuator system entirely using multimaterial 3D printing tools. 21 Scharff et al. proposed a color-based sensing approach to reconstruct the shape of a bellows actuator, which was fabricated with multicolor structure by a multimaterial 3D printer. 22
Some other soft sensors embedded with fiber Bragg gratings23–25 and optical waveguides26–28 were also reported. These options could provide sensitive deformation measurement while they might affect the compliance and the dynamics of the system. An inductance-based sensor was recently developed for measuring the orientation of bellows driven continuum joints. 29 Although the inductance-based sensor system was not bulky and off-the-shelf, it was susceptible to electromagnetic interference. Festo corporation demonstrated a bellows driven continuum arm with whole kinematics awareness, which was achieved by an optical shape sensor placed along the arm's longitudinal axis. 4 External vision techniques were also leveraged for sensing the shape of soft robots,30–32 yet they were restricted by the brightness of light and the delay of the visual sensor.
In addition, some studies proposed to build soft sensors based on deformable chamber structures and off-the-shelf pressure sensors. Tawk et al. evaluated four types of 3D-printed soft pneumatic sensing chambers and, respectively, demonstrated their abilities in sensing touch, bending, torsional, and rectilinear deformation. 33 In another work carried out by Tawk et al., a soft robotic finger was integrated with soft pneumatic sensing chambers for detecting the joint position and the touch at the fingertip. 34 Similarly, Yang et al. also fabricated a soft pneumatic sensor for measuring the contact force and curvature of a soft bending actuator. 35 The soft pneumatic sensor was composed of a gas pressure sensor and an air chamber made of silicon rubber. There also has been an attempt to construct tactile array sensors by casting miniature barometric sensor chips in rubber. 36 The abovementioned examples showed the versatility of pneumatic sensing technology, which we also applied in this work.
Decoding the raw sensor readings into the system states is another critical step when the sensor hardware has been integrated in the soft system. Mapping from the sensor readings to the system states based on analytical models is usually difficult due to the fabrication error and the complex dynamics of the soft systems. Recent studies in the field of soft robotics have explored machine learning methods for solving the challenges of modeling. 37 For examples, Kim et al. handled the noise of the sensor output with probabilistic modeling and characterized the hysteresis using a Bayesian network. 38 Han et al. implemented a hierarchical recurrent sensing network to calibrate the soft sensors. 39 Fang et al. applied both feed-forward neuronal network (FNN) and long short-term memory (LSTM) to learn the forward and inverse kinematics of a soft continuum joint and a planar finger manipulator. 40 Van Meerbeek et al. trained a multioutput regression model for simultaneously estimating the bend and twist angles of an elastomeric foam sensor system. 41
To explore the best mapping between the sensor data and the 3D shape of pneumatic soft robots, Scharff et al. tested different machine learning models, including a LSTM network, a FNN, a support vector regression model, and multivariate linear regression model. 42 A deep convolutional neural network was used for learning the patterns in the raw data of the sensor array. 43 Recurrent neural network (RNN) architectures were also used in some studies to estimate the system states from time series data.44,45 Loo et al. adopted a RNN-based adaptive unscented Kalman filter to estimate both the internal and external state of a soft pneumatic finger. 46 Sakurai et al. proposed to use an echo state network to estimate the length of McKibben pneumatic artificial muscles from the real time pressure sensor data and system dynamics. 47 Soter et al. trained a three-layer deep LSTM type of RNN for reconstructing the deformation of soft interface from multidimensional time serial sensor data. 48
Concept of proprioception scheme for soft robots
This work takes cues from the human proprioceptive system for endowing soft robots with a similar capability. As schematically shown in Figure 1A, the neurological basis of the human proprioceptive system originates from organs called muscle spindles. The intrafusal muscle fibers enclosed in the muscle spindles act as receptors that provide the information of the muscle length, while those extrafusal muscle fibers form the units to generate force and movement. The muscle spindles orient parallelly to the extrafusal muscle fibers, so that the receptors are deformed when the extrafusal muscle fibers lengthen or contract. Information of the body posture is encoded by populations of these passively deformed receptors, generating nerve impulses to the spinal cord and cerebral cortex for high-level processing.49,50

By creating an analogy to the paralleled morphology of the muscle fibers and its neurological basis, we presented a bioinspired architecture (Fig. 1B) to endow a soft pneumatic robot with proprioceptive capability. Particularly, we demonstrated and validated the proposed architecture on three degrees of freedom (3-DoF) soft continuum joint.
Differing from the popular usage of dedicated embedding sensors, we proposed to use soft pneumatic chambers to serve as receptors for sensing the body deformation, which can be signaled by inner pressure changes. The soft actuators and soft receptors are designed with unified bellows structure, which have been explored by many previous studies.4,29,51–53 With the actuators and receptors being parallelly arranged, the receptors will be passively deformed when the actuators are pressurized. The deformation can be signaled by the corresponding inner pressure changes of the receptor chambers. All these pressure information encode the system motion states. Inspired by the muscle system that has highly redundant receptors, we proposed to build redundant receptor segments in the soft system. Learning-based approaches were explored to decode pressure information for modeling system kinematics.
Compared with the state of the art, the primary contribution of this work is the idea of using soft pneumatic chambers as receptors for encoding the deformation of the soft robot system. Such a concept can be easily generalized to different soft robot systems. Particularly, the receptors share the same structural design with the actuators; therefore, off-the-shelf technologies can be leveraged to fabricate them without special treatment. The feedback from the actuators and receptors is the same type of pressure signals, which can be easily obtained from readily-available and low-cost pneumatic pressure sensors commonly incorporated in most soft robots. The learning algorithms proposed in this work are directly fed with unified pressure data, while most of the existing methods may require preprocessing of the data from diverse sources. Another contribution is that we proposed both the software and hardware level proposals for graceful degradation, which enable the soft robots to maintain their performance even when they suffer receptor failures.
Materials and Methods
The proposed approach was validated on a 3-DoF pneumatically actuated soft continuum joint. As shown in Figure 1B, the soft continuum joint consisted of two plates connected to seven distributed soft bellows, with one located at the center and the other six spaced around the central one in a circular array pattern. All the bellows were of an identical structure design. The central bellows were designated as receptor, and the outer six bellows were alternately configured as actuators and receptors, so that in total the joint system had three actuators and four receptors.
The circular array configuration of the bellows created 3-DoF motion by inflating the actuator bellows. As the actuator bellows were pressurized, the receptor bellows were passively stretched or compressed. All the bellows were connected to pressure sensors for monitoring their inner pressure changes due to inflation or body deformation. A motion capture system was leveraged for providing the ground truth of the pose of the soft continuum joint. RNN architecture was used for learning the mapping from the sequential pressure signals to the pose of the soft continuum joint,
Fabrication of the elastomeric bellows
The bellows body was fabricated following the molding and casting process as shown in Figure 2A. All the molds were printed using a 3D printer. The molds were assembled and held together firmly to form the chamber of the bellows. Silicone elastomer was then poured into the mold, and the molds were removed after the silicone rubber cured, creating the bellows chamber. Finally, one open end of the bellows chamber was capped by 3D printed flanges using adhesives. The other open end was capped by a similar 3D printed flange designed with a nozzle for connection of pneumatic tubes.

Fabrication and characterization of the pneumatic bellows chambers.
Characterization of bellows chamber under stretched deformation
In response to stretched deformation, the bellows chamber exhibited changes in the inner pressure. To characterize the bellows chamber under stretched deformation, an in-house developed stretch test machine (a linear motion platform driven by stepper motor) was used as shown in Figure 2B. In the test, one flange of the soft bellows was mounted on the slider of the linear motion platform, and the other flange was fixed and connected to a pressure sensor (XGZP6847A040KPGPN, Range: −40 to 40 kPa, CFSENSOR Ltd.). We applied controlled motion to stretch the bellows between 0 and 15 mm (KPM16, 50 mm max., MIRAN Ltd.) and simultaneously recorded the pressure of the bellows. The stretch motion was controlled at a specific rate (13.3 mm/s). In response to the stretched length between 0 to 15 mm, the pressure of the bellows varied from 0 kPa (unstretched) to above 12 kPa (at 15 mm stretched length). The pressure measurements of long-term test with over 1000 cycles are shown in Figure 2C. The bellows chamber showed minimal hysteresis, and its characteristics were reliable over the entire set of cycles.
Experimental setup
As shown in Figure 3A, we fixed one plate of the soft continuum joint onto an aluminum-alloyed stand so that the actuators could drive the other plate to move relative to the fixed one. The ground truth of the pose of the active plate was measured by a 6-DoF motion capture system composed of a tracker and base station (NOLO CV1 PRO, NOLO Inc.). We mounted the tracker at the center of the active plate and placed the base station on the ground with the tracker located into its positioning range.

A control system was developed for measuring the pressures of all the bellows chambers and regulating the pressures inside the actuators. A sequence of reference pressure values ranging from 0 to 20 kPa was randomly generated by the control board. The pressures inside the actuators were controlled under a proportional-derivative rule. Since the motion capture system measured the pose at 50 Hz, we also sampled the pressure readings to 50 Hz.
Kinematic description and sampling
In our experiment, we described the movements of the soft continuum joint relative to its initial pose when all the actuators were not pressurized. As illustrated in Figure 3B, assume that the initial pose of the soft continuum joint was obtained with position
and
Particularly, the rotation motion could also be described by Euler angles (yaw, pitch, roll). But the soft continuum joint only had two rotational degrees of freedom, that is, pitch and roll. Thus, the pitch angle
In addition to the rotation parameters, the pose of the soft continuum joint could be determined by one more parameter that was the translational distance
To collect data for training the models, the soft continuum joint was actuated to different pose under random pressure inputs while the pose information
RNNs for kinematics prediction
As the variants of neural networks, RNNs are excellent in processing sequential data. Unlike other neural networks, RNNs infer the output based on both the input and the internal state that memorizes the previous computations. Although RNNs can theoretically be useful for sequential data, they generally cannot be directly deployed due to the problem of long-term dependency in model training. There are two widely used architectures of RNNs which can alleviate the problem of long-term dependency by introducing gate mechanism: LSTM 54 and gated recurrent unit (GRU 55 ).
Long short-term memory
The structure of LSTM is shown in Figure 4A. LSTM consists of three gates, that is, forget gate, input gate, and output gate. At each step

where
Gated recurrent unit
Figure 4B shows the structure of GRU. As a variation and simplification of LSTM, GRU incorporates only two gate mechanisms called reset gate and update gate. The reset gate
). The update gate
where
Using MATLAB's Deep Learning Toolbox, both the networks of LSTM and GRU architecture were designed for pose prediction with the pressure signal as input. As illustrated in Figure 4C, the network started with a sequence input layer followed by an LSTM or GRU layer, which was configured with 50 hidden units by considering the performance and computation time (Supplementary Table S1). To prevent overfitting and make predictions more robust to noise, a dropout layer with dropout rate of 0.1 was specified preceding the LSTM or GRU layer. The networks ended with a fully connected layer and a regression layer. The training data were normalized for a better fit and to prevent the training from diverging. For comparison purpose, the networks were trained with the same sets of hyperparameters. The networks were trained on a single graphics processing unit (Nvidia GeForce MX150) with Adam optimizer for a maximum of 500 epochs (as shown in Supplementary Fig. S1). The root mean squared error (RMSE) of the prediction from the test dataset was evaluated for each network.
Results
Kinematic modeling
With the trained models (both LSTM and GRU), the receptor pressure information could be used to predict the pose of the continuum joint at each step. As shown in Figure 5, the trained models were tested under both noncontact (from the 536th second to the 596th second) and random contact (from the 756th second and 816th second) scenario.

The kinematic model was trained using the pressure information of four receptors and tested under both noncontact and random contact scenario.
The performance of the LSTM and GRU model is shown in Table 1. On average, it took longer to train a LSTM model (484 s) than GRU model (459 s) because LSTM network used more training parameters. Overall, however, LSTM model was more accurate than GRU model. The results showed that LSTM model could provide effective prediction of pose under noncontact scenario, with the RMSE of 1.10 ± 0.02 mm for predicting
Performance of the Long Short-Term Memory and Gated Recurrent Unit Network
The data are shown as mean ± standard deviation. The bold values denote the best performance of each metric.
GRU, gated recurrent unit; LSTM, long short-term memory; RMSE, root mean squared error.
Figure 6 shows the trajectories of the measured and predicted pose of the continuum joint for a period of 20 s using LSTM model. The corresponding error plots for both noncontact and random contact scenario are shown in Figure 7. The prediction of the translational distance (

Pose prediction for a period of 20 s.

Error plots of pose prediction.
Receptor failure
Soft robots may suffer from body segment failures due to fatigue aging, mechanical damage, or environmental corrosion. For example, the receptor chamber made of silicon rubber may be punctured by sharp objects and the pressure reading of the receptor will drop to zero. In such cases, the receptor's information for prediction will be lost.
In this study, we performed some tests to investigate the robustness of the LSTM model in the face of receptor failures. In the test, we set the receptor pressure readings to zero for simulating the corresponding receptor failure. The performance of the LSTM model in response to receptor failures is shown in Figure 8A and B. Under both noncontact and random contact scenario, the prediction accuracy gradually decreased with more and more receptor failures.

Performance of the model in the face of receptor failures.
Effect of receptor layout
Each receptor appeared to contribute differently to the prediction accuracy, which was associated with the receptor layout. For example, the failure of the central receptor (receptor 1) had small and equal influence on the prediction accuracy of
This effect could also be observed from prediction error distribution of the tracker position in the workspace as shown in Figure 8C. The prediction error of tracker position increased when there were receptor failures. Most importantly, the error distribution showed that receptor failures brought different impact on the tracker position prediction in different regions of the workspace. For example, as failure of receptor 2 caused large error in prediction of pitch angle
Effect of actuator information
We also trained a model with the pressure information of all the receptors and the three actuators. Compared with the model only using the receptor information, this model performed better in predicting pose under noncontact scenario but worse under random contact scenario. The performance of the model in response to receptor failures is shown in Figure 9A and B. Similar degradation in the performance could be observed under both the noncontact and random contact scenario. But the model using actuation information suffered less loss in prediction accuracy when receptor failures occurred. This indicated that the actuation information played an important role in proprioception and helped compensate the loss caused by receptor failures.

Effect of actuator information on pose prediction.
Graceful degradation
Graceful degradation is the ability of a computer, machine, or electronic system to maintain at some reduced level of performance after a portion of its components fail. The purpose of graceful degradation, ideally, is to prevent complete system failure and reduce downtime. Graceful degradation is an important consideration in the design and implementation since soft robots might suffer damage from environment due to the “soft” property. Software and hardware methods could be combined to achieve graceful degradation.
Receptor failures would cause loss of partial input information. For a model trained by feeding the dataset with complete input information, it might fail to handle the scenarios with only partial input, thus causing the bad performance of prediction. We proposed a software level method to alleviate the impact of the partial input information loss. In addition to the model trained with pressure input of all four receptors (denoted as
Performance of Pretrained Models for Graceful Degradation
The data are shown as mean ± standard deviation. The bold values denote the mean.
Figure 10A shows a flow chart representing the algorithm for achieving graceful degradation based on the pretrained models. Starting with model

The hardware level solution for graceful degradation was to introduce redundancy in receptors. As shown in Table 2, with one receptor failure, the system could still function well based on the remaining three receptors using the pretrained models. But if the system was damaged with less than three receptors left, pretrained models had limited ability to recover. Thus, designing the soft system with redundant receptors would be practical and conducive to system robustness. In practical applications, software and hardware methods could be combined for graceful degradation.
Conclusion and Caveats
This article presented a novel scheme for endowing soft robots with proprioception using soft body encoding and deep learning tools. The concept was inspired by the structural and neurological basis of the human muscular system. We demonstrated the proposed concept on a 3-DoF bellows-driven continuum joint with redundant soft body receptors. Both LSTM and GRU architectures were designed to train the kinematic model for the 3-DoF continuum joint, mapping the sequential pressure readings to body pose. The accuracies of the models were validated under both noncontact and contact scenarios. We demonstrated that the model trained by combining both the receptor and actuator information was more robust in the face of receptor failures. In addition, the redundancy of the receptors contributed to maintaining system function in the event of receptor failures. Finally, both hardware and software level methods were proposed to allow the continuum joint to achieve graceful degradation after receptor failures.
The soft receptor concept presented in this study was demonstrated with bellows chambers. Such bellows structure was considered because of its high sensitivity in response to stretched or compressed deformation. However, the bellows structure showed anisotropic compliance. For example, the bellows chamber was not very sensitive to bending deformation. Thus, other potential designs of the chamber structure should be investigated in the future. But the concept of detecting deformation by measuring chamber pressure changes is generalizable.
Kinematic modeling was purely based on a learning approach in this work, without accurate characterization of the system and precision fabrication of the receptors. Although deep learning tools provide parallel paths to analytical modeling and have produced promising results, there remain several challenges to overcome and unknowns to explore. In this work, the RNNs could successfully learn the mapping between the pressure inputs and the pose of the continuum joint. However, the RNNs failed to identify some exact features of the system, such as the specific effects of the number and the layout of the receptors on the pose estimation. Therefore, if a new system was designed with different receptor configurations (different number or different layout of the receptors), data sampling and retraining of the RNNs would be required.
Footnotes
Author Disclosure Statement
No competing financial interests exist.
Funding Information
This work was supported, in part, by the Science, Technology and Innovation Commission of Shenzhen Municipality under grant no. ZDSYS20200811143601004, NSFC Grant 51975268, Guangdong Provincial Key Laboratory of Human-Augmentation and Rehabilitation Robotics in Universities, Southern Marine Science and Engineering Guangdong Laboratory (Shenzhen).
References
Supplementary Material
Please find the following supplemental material available below.
For Open Access articles published under a Creative Commons License, all supplemental material carries the same license as the article it is associated with.
For non-Open Access articles published, all supplemental material carries a non-exclusive license, and permission requests for re-use of supplemental material or any part of supplemental material shall be sent directly to the copyright owner as specified in the copyright notice associated with the article.
