Next Article in Journal
GPR-TSBiNet: An Information Gradient Enrichment Model for GPR B-Scan Small Target Detection
Previous Article in Journal
KAN-ResNet-Enhanced Radio Frequency Fingerprint Identification with Zero-Forcing Equalization
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Length Estimation of Pneumatic Artificial Muscle with Optical Fiber Sensor Using Machine Learning

Graduate School of Environmental, Life, Natural Science and Technology, Okayama University, Okayama 700-8530, Japan
*
Author to whom correspondence should be addressed.
Sensors 2025, 25(7), 2221; https://doi.org/10.3390/s25072221
Submission received: 22 January 2025 / Revised: 21 March 2025 / Accepted: 27 March 2025 / Published: 1 April 2025

Abstract

:
A McKibben artificial muscle is a soft actuator driven by air pressure, characterized by its flexibility, lightweight design, and high power-to-weight ratio. We have developed a smart artificial muscle that is capable of sensing its motion. To enable this sensing function, an optical fiber was integrated into the sleeve consisting of multiple fibers and serving as a component of the McKibben artificial muscle. By measuring the macrobending loss of the optical fiber, the length of the smart artificial muscle is expected to be estimated. However, experimental results indicated that the sensor’s characteristics depend not only on the length but also on the load and the applied air pressure. This dependency arises because the stress applied to the optical fiber increases, causing microbending loss. In this study, we employed a machine learning model, primarily composed of Long Short-Term Memory (LSTM) neural networks, to estimate the length of the smart artificial muscle. The experimental results demonstrate that the length estimation obtained through machine learning exhibits a smaller error. This suggests that machine learning is a feasible approach to enhancing the length measurement accuracy of the smart artificial muscle.

1. Introduction

The McKibben artificial muscle [1,2], a typical pneumatic soft actuator, contracts axially and expands radially, with its contraction displacement serving as the mechanical output. This actuator has a simple structure, consisting of a rubber tube and sleeve fibers, and is known for its excellent compatibility with human applications and high power-to-weight ratio. In recent years, McKibben artificial muscles have been incorporated into general-purpose for power-assist and rehabilitation devices, which are now commercially available [3,4].
Despite its effectiveness as an actuator, the McKibben artificial muscle faces challenges in control due to the mechanical nonlinearity of its rubber materials and the anisotropy of the generated force, which results from friction between the rubber and the fibers. These factors make it more difficult to accurately sense the state of artificial muscles. As a result, additional sensors, such as laser displacement sensors and linear encoders, are often required for precise measurement. However, the integration of these additional sensors frequently leads to increased mechanical rigidity and system complexity. Many previous studies have attempted to overcome these challenges by using modeling and machine learning methods to achieve feedforward control of sensorless artificial muscles [5,6]. These approaches rely on pre-optimized parameters and predictive models, eliminating the need for onboard sensors. However, when feedback control is required, additional sensors are typically necessary for accurate measurement.
Optical fibers can function as flexible fiber sensors, and their flexibility makes them well-suited for sensing soft actuators. They have been used to measure the curvature and displacement of fluid pressure-driven soft actuators [7,8,9,10,11]. In our previous study, we developed an artificial muscle capable of estimating its displacement by incorporating optical fibers into the sleeve of a McKibben artificial muscle [12]. Since McKibben artificial muscles inherently have fiber sleeves, no additional processing was required to attach the optical fibers. Moreover, the optical fibers serve not only as a sensing element but also as an actuation component. We call it “smart artificial muscle” in this paper. Optical fibers exhibit a property known as macrobending loss, where the amount of light propagating through the fiber decreases as the radius of curvature decreases. These fibers are flexible and lightweight, allowing for the simultaneous integration of the fabrication processes of both artificial muscles and sensors. When air pressure is applied to artificial muscle, the muscle expands circumferentially and contracts axially, decreasing the radius of curvature of the integrated optical fiber. By measuring the amount of light propagating through the optical fiber, the muscle’s self-displacement can be estimated. In this previous research, a smart artificial muscle was designed for low air pressure driving by very soft rubber, enabling operation at pressures below 100 kPa. The optical fiber used had a diameter of 0.5 mm, which was relatively thick to prevent microbending loss, as described in Section 2.2. Under these design limitations, the muscle’s displacement was successfully estimated using the optical fiber sensor. The sensor output exhibited a linear relationship with the muscle’s contraction displacement. This pressure range is lower than that typically required to drive general pneumatic artificial muscles, which use standard rubber tubes. Moreover, the diameter of the optical fiber must be selected carefully to avoid being excessively small. We also fabricated a smart artificial muscle with a standard hardness rubber tube and a thinner optical fiber. When pressure was applied, the sensor output depended not only on the contraction displacement but also on the applied pressure and external load.
On the other hand, in recent years, with the advancement of artificial intelligence research, machine learning has been applied to realize sensing functions for soft actuators and to improve their accuracy [13,14,15,16,17,18,19,20]. Some studies apply LSTM (Long Short-Term Memory) networks, which is a powerful recurrent neural network designed to overcome exploding and vanishing gradient issues that typically arise when learning long-term dependencies, even with extended time lags, to enhance soft robot perception and control using embedded sensors for real-time kinematic and force estimation, dynamic response prediction, and actuator calibration, while improving flexibility and precision without rigid sensors [15,16,17,18,19,20].
In this study, we propose a method to enhance the accuracy of length estimation in smart artificial muscles using thinner optical fibers driven by general air pressure levels. This method utilizes the LSTM. We explored a technique for estimating the length of a smart artificial muscle by sensing the applied air pressure and the variation in the light propagating through the optical fiber. This information was used as time-series data for training the neural networks. As a result, this study achieved high displacement estimation accuracy under less restrictive design conditions for the smart artificial muscle.

2. Materials

2.1. McKibben Artificial Muscle

The McKibben actuator consists of a rubber tube and a sleeve of fibers covering the rubber tube. It is lightweight, flexible, structurally simple, and possesses a high force-to-weight ratio. A model of a McKibben artificial muscle is shown in Figure 1. When air is injected and pressure is applied to the rubber tube, the sleeve fibers act as a pantograph mechanism, causing the artificial muscle to expand radially and contract axially. The resulting contractile force and displacement are typically used as mechanical outputs in robotic mechanisms.
Focusing on the shape of the fibers in the sleeve, the spiral shape changes with axial contraction and radial expansion. The radius of curvature of the spiral fiber can be expressed using Equation (1), which is a modified version from the previous study [12].
R represents the radius of curvature of the fiber, r0, l0 and θ 0 are the initial diameter, initial length, and initial braided angle of the fibers, respectively. l represents the length of the artificial muscle, when the air pressure is applied. The parameters r0, l0 and θ 0 are constant values determined during the fabrication of the artificial muscle, and R varies with l.
R = r 0 s i n θ 0 1 l l 0 2 c o s 2 θ 0

2.2. Optical Fiber

The structure of an optical fiber is shown in Figure 2a. An optical fiber consists of two layers: a central core and a surrounding cladding with a lower refractive index than the core. When the angle of light incidence exceeds the critical angle, light is confined within the core and propagates through the fiber via total internal reflection.
However, when the fiber is bent, as illustrated in Figure 2b, the incidence angle decreases below the critical angle, causing some light to leak from the fiber—a phenomenon known as macrobending loss [21,22]. This property leads to a reduction in the amount of light propagating through the fiber as the radius of curvature decreases.
Moreover, as depicted in Figure 2c, when the surface of the optical fiber is partially loaded and surface deformation becomes locally significant, some light leaks out at the deformation point. This phenomenon is referred to as microbending loss [23].
The total amount of light propagating through the optical fiber is determined by both macrobending loss and microbending loss.

2.3. Configuration of Smart Artificial Muscle

Figure 3 shows the smart artificial muscle incorporating an optical fiber with a diameter of 0.25 mm. The easy fabrication process of this structure using a braider machine was established in the previous report [12]. The actuation part’s length and diameter are 100 mm and 5 mm. A total of 32 fibers (one optical fiber and 31 general synthetic fibers) are braided together.
One of the sleeve fibers is an optical fiber. To function as a sensor, the optical fiber requires a light emitter at one end and a light receiver at the other to measure the transmitted light intensity.
The artificial muscle has an LED (C503B-GAN-CB0F0791, Cree LED, Durham, NC, USA) at one end for emitting light into the optical fiber and a Photo IC diode (S13948-01SB, Hamamatsu Photonics K.K., Hamamatsu, Japan) at the other end for receiving the propagated light. The LED and photo IC diode were installed in 3D-printed connectors, and covered with an aluminum sheet to shield them from external light interference.

2.4. Fundamental Characteristics of Smart Artificial Muscle

For checking the actuation ability, air pressure was applied from 0 kPa to 300 kPa over 30 s, followed by a reduction to 0 kPa over the next 30 s. This cycle was repeated five times, with the length of the smart artificial muscle and applied pressure measured throughout. The relationship between these variables is shown in Figure 4.
The maximum air pressure of 300 kPa is a standard level for McKibben artificial muscles. In its most contracted state, the length of the artificial muscle is 83 mm (initial length: 100 mm). Hysteresis was observed, which is a well-known characteristic of this type of soft actuator due to its inherent mechanical properties.
In the fundamental experiments, the length of the smart artificial muscle and the change rates of sensor output were measured while the muscle was set vertically. Figure 5 presents the measurement results for loads of 1.0 N, 2.0 N, and 3.0 N, which were suspended from the smart artificial muscle to counteract its contraction force.
Focusing on the result under each load condition, the sensor output changes as the length changes. The primary reason for this phenomenon is macrobending loss. The radius of curvature R of the optical fiber which is one of the sleeve fibers varies with the length l, as explained in Equation (1). It leads macrobending loss.
Additionally, the load affects the sensor output because the sleeve is subjected to tensile stress from the loads, resulting in high-stress points where fibers, including the optical fiber, are compressed at contact points. This compression causes microbending loss. From Figure 5, hysteresis and nonlinearity are observed.
Moreover, with the conditions of the length held at the initial length by securing both ends of the smart artificial muscle, the air pressure was changed, and the sensor output was measured. Figure 6 shows the result, the sensor output varied with increasing air pressure, even when the length was constant. This is because the fibers are stressed by the pressurized rubber, and the optical fiber is pressed at the points where the optical fiber is sandwiched between the other fibers and the pressurized rubber. This is also the cause of microbending loss. This observation indicates the high hysteresis and nonlinearity of sensor output. The first hysteresis loop differs from the subsequent loop, suggesting dependency on time and past conditions.
These phenomena, nonlinearity, hysteresis, and time/past condition dependency, stem from the intrinsic properties of polymer soft materials. These characteristics are generally observed in soft materials, and the main body of the smart artificial muscle is entirely composed of soft materials.
In summary, the sensor output is influenced by length, loads, and air pressure, and it exhibits nonlinearity, hysteresis, and dependency on time/past conditions.

2.5. Structure of Machine Learning

In this section, we describe the process of estimating the length of the smart artificial muscle using neural networks. Since estimating the length of the smart artificial muscle is a time-series task, we utilized a powerful recurrent neural network, Long Short-Term Memory (LSTM) [24], to perform this task. This method provides a more accurate estimation of the muscle’s length compared to traditional linear regression, particularly when the muscle sensor value is influenced by microbending loss.
As shown in Figure 7, the neural network consists of three LSTM layers, a Batch Normalization (BN) layer, a Parametric Rectified Linear Unit (PReLU) activation function layer, and a fully connected layer.
The input data to the model consists of two parts:
Applied pressure value: measured using a pressure sensor attached to the artificial muscle.
Fiber optical sensor values: obtained from the optical fiber embedded in the sleeve of the artificial muscle, which reflects the loss due to deformation for both macrobending loss and microbending loss.
Since the LSTM model requires continuous data processing, we applied a lookback window mechanism to provide historical context for each prediction. Depending on the hyperparameter settings, the lookback value is set to 30 time steps with return sequences to ensure that the model has access to past sensor readings when estimating the current muscle length. This approach allows the model to account for time dependence and improves the stability of the predictions.
The output of the model is the estimated length of the artificial muscle and is compared to the actual displacement values obtained through the laser displacement sensor for evaluation. To improve the reliability of the data, the sensor readings were preprocessed, a moving average filter was applied to smooth out noise fluctuations, and the values were normalized for stable model training.
The LSTM unit comprises a cell, an input gate, an output gate, and a forget gate, which together allow the network to regulate its state over time. The cell stores values over arbitrary time intervals, while the three gates regulate the flow of information in and out of the cell. The LSTM architecture is composed of recurrently connected subnetworks, known as memory blocks. These blocks maintain their state over time and regulate information flow through nonlinear gating units.
Figure 8 illustrates the architecture of the LSTM block, showing the gates, input signal x(t), output y(t), cell value c(t), and activation functions (sigmoid function and hyperbolic tangent function), and the output of the block is recurrently connected back to the block input and all gates [24].
Batch Normalization (BN) plays a crucial role in the training process by normalizing the intermediate layer activations, making the training process more stable and the gradients more consistent. This leads to gradients that are more stable and less prone to exploding or vanishing, enabling faster and more effective optimization, and improving robustness to hyperparameter settings [25,26,27].
Parametric Rectified Linear Unit (PReLU), first proposed by Kaiming He in 2015, addresses the limitations of the standard ReLU activation function, particularly the issue known as “dying ReLU”, where neurons become inactive when the input is negative. To prevent this, PReLU introduces a small negative slope α, allowing gradients to pass through even when x is negative. This slope is a learnable parameter; when it is fixed, the function is referred to as Leaky ReLU. The PReLU algorithm converges faster, has lower training errors, and does not lead to overfitting despite the introduction of the α parameter [28].
Hyperparameters were set as shown in Table 1.

2.6. Experimental Setup

Figure 9 shows the experimental system which was used to collect machine learning data. One side of the smart artificial muscle is fixed to the air cylinder, while the other side is fixed to the force gauge. By applying the air pressure to the air cylinder, which is controlled by a PC via an electric/pneumatic (E/P) regulator, the arbitrary load can be added to the smart artificial muscle, and the force can be observed by the force gauge.
Additionally, the air pressure to the smart artificial muscle can be independently controlled by the PC and the E/P regulator. Because air has viscosity and compressibility, the actual pressure value in the smart artificial muscle differs from the commanded value from the PC. Therefore, a pressure sensor is installed to measure the actual pressure value in the smart artificial muscle.
A flat plate is arranged at one end of the smart artificial muscle. This plate moves together with the smart artificial muscle, and the displacement is measured by a laser displacement meter, allowing the length of the smart artificial muscle to be observed.
The air pressure value in the smart artificial muscle (from the pressure sensor), force value (from the force gauge), actual length of the smart artificial muscle (from the laser displacement meter), and sensor output of the optical fiber (from the photo IC diode) are collected by the PC.

3. Results and Discussion

3.1. Test Results

Air pressure is applied to the smart artificial muscle while an arbitrary load is exerted by the cylinder. The sampling frequency was set to 10 Hz, with four load settings (1.2 N, 1.7 N, 2.1 N, and 2.6 N) and three driving patterns described below, resulting in 12 combinations. To prevent the artificial muscles from being damaged, the maximum load of the artificial muscles in the experiments of this paper is 3 N.
[Step pattern]: The applied pressure starts from 0 and increases in steps of 50 kPa, reaching 300 kPa, with each step lasting five seconds.
[Triangle wave pattern]: The air pressure increases from 0 kPa to 300 kPa over 30 s at a steady rate, then decreases back to 0 kPa over the next 30 s.
[Random pattern]: Air pressure randomly changes between 10 kPa and 300 kPa every four seconds.
One minute of data from each combination, a total of 12 min of training data collected across different load conditions (1.2 N, 1.7 N, 2.1 N, and 2.6 N), was used as the training dataset, and the machine learning, as described in Figure 7, was conducted with hyperparameters shown in Table 1.
To evaluate the machine learning contribution clearly, we introduced a multiple linear regression model, expressed by the following equation, and compared the results:
l e s t = a s + b p + c
Here, lest represents the estimated length of the artificial muscle, s is the optical fiber sensor output, and p is the applied pressure when driving the smart artificial muscle in practical use, the sensor value and applied pressure are known. The regression system’s coefficients, a and b, and constant term c were calculated using the same datasets employed for the machine learning model to ensure a fair comparison.
As a comparative model to the machine learning approach, we introduced a Multilayer Perceptron (MLP) model. We replaced the LSTM layers in the previously described LSTM model with fully connected layers, each utilizing a hyperbolic tangent activation function. Furthermore, the lookback window in the input data was removed, while the same training data and hyperparameters were used, except for the removal of the lookback window. This created an MLP model. Subsequently, we compared the predictive performance of the three models to assess their differences in performance.
For validating the LSTM model, the length of the smart artificial muscle was estimated by three pressure patterns and four load patterns mentioned above.
Figure 10, Figure 11 and Figure 12 show the results. Each result indicates that the LSTM model can estimate the length of the smart artificial muscle more accurately compared to the multiple linear regression model. While the error in the multiple linear regression model becomes large under some load conditions, the error in the LSTM model remains consistently low across all load cases when compared to the multiple linear regression results. In addition, compared to the MLP model, the LSTM model exhibits a smaller error in the all patterns.
We quantified the performance by calculating the Root Mean Square Error (RMSE) between the estimated value and the actual value using the following Equation (3):
R M S E = i = 1 K ( y ~ i y i ) 2 K
where K is the total number of data points, y ~ i is the estimated value, and y i is the actual value. The experimental results are shown in Table 2. For the step and triangle wave inputs, the RMSE of the LSTM model is approximately 0.4 mm, while the RMSE of the multiple linear regression model and MLP are about 1.3 mm and 0.8 mm, 1.4 mm and 1.0 mm, respectively. For random step inputs, the RMSE of the machine learning model increases to about 0.8 mm, but it still outperforms the multiple linear regression model and MLP.

3.2. Validation of Generality

To evaluate the model’s generalization ability, the load of 2.4 N, 1.9 N, and 1.4 N were newly set by the air cylinder, and the length of the smart artificial muscle was estimated for step, triangle wave, and random inputs by the mechanical learning model.
Figure 13, Figure 14 and Figure 15 show the results. Results of a multiple linear regression model are also represented together. We can recognize that even with the new load conditions, which are not included in establishing the machine learning model, the length of the smart artificial muscle is estimated correctly. In addition, compared to the results of the MLP model and multiple linear regression model, those of the LSTM model are superior.
RSMEs were calculated using Equation (3) for Figure 13, Figure 14 and Figure 15, and were compared to those for Figure 10, Figure 11 and Figure 12. The RSME values are almost identical in each case. The experimental results are shown in Table 3. This indicates that the model performs well not only on the load modes included in the training dataset but also on load settings not explicitly included during training.
Moreover, a manual air pressure regulator was used to verify the model’s ability which should be able to accurately estimate the length of the smart artificial muscle under completely random pressure conditions. This experiment was conducted under a load of 1.5 N. This air pressure regulator adjusts the air pressure by turning a rotational lever by the hand. We applied random pressure to the smart artificial muscle by arbitrarily turning the lever. The length of the smart artificial muscle was then estimated. This experiment was conducted under complex and practical conditions.
The result is shown in Figure 16. The estimated length of the smart artificial muscle by the machine learning successfully aligned with the actual length value. When comparing the result by the multiple linear regression, the accuracy of it is higher. The RSMEs of the LSTM, MLP, and multiple linear regression are 0.80 mm, 1.13 mm, and 1.41 mm, respectively. These results show that machine learning models, especially LSTM models, work well even under complex and practical conditions.

4. Conclusions

This study has demonstrated the effectiveness of a machine learning model using a Long Short-Term Memory (LSTM) neural network for estimating the length of an optical fiber-type smart artificial muscle. The experiments showed that the model can generalize effectively to new load conditions and arbitrary air pressure conditions using a manual air regulator. The RMSE of the estimated length using the machine learning model was consistently smaller than that of the multiple linear regression model in all experimental cases. In a previous study where machine learning was not used, the design of the smart artificial muscle faced limitations. Specifically, the thickness of the optical fiber and the hardness of the rubber tube should be carefully selected to avoid microbending loss. In this study, we found that machine learning can effectively address the problems caused by microbending loss. This result suggests that smart artificial muscles with optical fiber sensors can now be designed without the need for meticulous material selection. In future work, we plan to implement feedback control for the smart artificial muscle based on the length estimation model using machine learning. Specifically, our goal is to integrate this length estimation into feedback control systems, such as PID control, to enhance the actuation performance of the artificial muscle. This will enable precise control of the smart artificial muscle and facilitate its application as an actuator for soft robots. Since we have not yet quantitatively measured the repeatability and durability of the optical fiber and smart artificial muscle, these measurements will be addressed in future work.

Author Contributions

Conceptualization, S.W.; methodology, Y.N., Y.T., and S.W.; software, Y.N.; validation, Y.N., S.W., and Y.T.; formal analysis, W.T.; investigation, Y.N., S.W., W.T., and Y.T.; data curation, Y.N.; writing—original draft preparation, Y.N.; writing—review and editing, S.W., D.Y., and T.K.; supervision, S.W.; project administration, S.W.; funding acquisition, S.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research was partially supported by Grant for the Promotion of Science and Technology 2024 in Okayama Prefecture by The Ministry of Education, Culture, Sports, Science and Technology in Japan, and Grants-in-Aid for Scientific Research (Grant Number 23K03644) by Japan Society for the Promotion of Science.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Gaylord, R.H. Fluid Actuated Motor System and Stroking Device. US Patent 2-238-058, 22 July 1958. [Google Scholar]
  2. Schulte, H.F. The Characteristics of the McKibben Artificial Muscle. In The Application of External Power in Prosthetics and Orthotics; National Academy of Sciences: Washington, DC, USA; National Research Council: Washington, DC, USA, 1961; pp. 94–115. [Google Scholar]
  3. DARWING Power Assist Glove EX. Available online: http://daiyak.co.jp/darwing/index.html (accessed on 29 August 2024).
  4. Muscle Suit Every. Available online: https://innophys.net/musclesuit (accessed on 29 August 2024).
  5. Hassan, T.; Cianchetti, M.; Moatamedi, M.; Mazzolai, B.; Laschi, C.; Dario, P. Finite-Element Modeling and Design of a Pneumatic Braided Muscle Actuator with Multifunctional Capabilities. IEEE/ASME Trans. Mechatron. 2019, 24, 109–119. [Google Scholar] [CrossRef]
  6. Ma, Z.; Wang, Y.; Zhang, T.; Liu, J. Reconfigurable Exomuscle System Employing Parameter Tuning to Assist Hip Flexion or Ankle Plantarflexion. IEEE/ASME Trans. Mechatron. 2025, 1–12. [Google Scholar] [CrossRef]
  7. Zhao, H.; Jalving, J.; Huang, R.; Knepper, R.; Ruina, A.; Shepherd, R. A Helping Hand: Soft Orthosis with Integrated Optical Strain Sensors and EMG Control. IEEE Robot. Autom. Mag. 2016, 23, 55–64. [Google Scholar]
  8. Zhao, H.; O’Brien, K.; Li, S.; Shepherd, R. Optoelectronically Innervated Soft Prosthetic Hand via Stretchable Optical Waveguides. Sci. Robot. 2016, 1, 7529. [Google Scholar]
  9. Tian, W.; Wakimoto, S.; Kanda, T.; Yamaguchi, D. Displacement Sensing of an Active String Actuator Using a Schermer Sensor. Sensors 2022, 22, 3232. [Google Scholar] [PubMed]
  10. Masuya, K. Low-Cost Coil-Shaped Optical Fiber Displacement Sensor for a Twisted and Coiled Polymer Fiber Actuator Unit. IEEE Robot. Autom. Lett. 2020, 5, 6497–6503. [Google Scholar] [CrossRef]
  11. Sareh, S.; Noh, Y.; Li, M.; Ranzani, T.; Liu, H.; Althoefer, K. Macrobend Optical Sensing for Pose Measurement in Soft Robot Arms. Smart Mater. Struct. 2015, 24, 125024. [Google Scholar]
  12. Tian, W.; Wakimoto, S.; Yamaguchi, D.; Kanda, T. Development of a Smart Artificial Muscle Using Optical Fibres. Smart Mater. Struct. 2024, 33, 055047. [Google Scholar] [CrossRef]
  13. George Thuruthel, T.; Gardner, P.; Iida, F. Closing the Control Loop with Time-Variant Embedded Soft Sensors and Recurrent Neural Networks. Soft Robot. 2022, 9, 1167–1176. [Google Scholar] [CrossRef] [PubMed]
  14. Elsamanty, M.; Hassaan, M.A.; Orban, M.; Guo, K.; Yang, H.; Abdrabbo, S.; Selmy, M. Soft Pneumatic Muscles: Revolutionizing Human Assistive Devices with Geometric Design and Intelligent Control. Micromachines 2023, 14, 1431. [Google Scholar] [CrossRef] [PubMed]
  15. Kim, D.; Kwon, J.; Han, S.; Park, Y.-L.; Jo, S. Deep Full-Body Motion Network for a Soft Wearable Motion Sensing Suit. IEEE/ASME Trans. Mechatron. 2019, 24, 56–66. [Google Scholar] [CrossRef]
  16. Thuruthel, T.G.; Shih, B.; Laschi, C.; Tolley, M.T. Soft Robot Perception Using Embedded Soft Sensors and Recurrent Neural Networks. Sci. Robot. 2019, 4, eaav1488. [Google Scholar] [CrossRef] [PubMed]
  17. Sakurai, R.; Nishida, M.; Sakurai, H.; Wakao, Y.; Akashi, N.; Kuniyoshi, Y.; Minami, Y.; Nakajima, K. Emulating a Sensor Using Soft Material Dynamics: A Reservoir Computing Approach to Pneumatic Artificial Muscle. In Proceedings of the 2020 3rd IEEE International Conference on Soft Robotics, New Haven, CT, USA, 15 May–15 July 2020; pp. 710–717. [Google Scholar]
  18. Shu, J.; Wang, J.; Su, Y.; Liu, H.; Li, Z.; Tong, R.K.-Y. An End-to-End Posture Perception Method for Soft Bending Actuators Based on Kirigami-Inspired Piezoresistive Sensors. In Proceedings of the 2022 IEEE-EMBS International Conference on Wearable and Implantable Body Sensor Networks, Ioannina, Greece, 27 September 2022; pp. 1–5. [Google Scholar]
  19. Xie, Q.; Wang, T.; Zhu, S. Simplified Dynamical Model and Experimental Verification of an Underwater Hydraulic Soft Robotic Arm. Smart Mater. Struct. 2022, 31, 075011. [Google Scholar] [CrossRef]
  20. Luong, T.; Kim, K.; Seo, S.; Jeon, J.; Park, C.; Doh, M.; Koo, J.C.; Choi, H.R.; Moon, H. Long Short Term Memory Model Based Position-Stiffness Control of Antagonistically Driven Twisted-Coiled Polymer Actuators Using Model Predictive Control. IEEE Robot. Autom. Lett. 2021, 6, 4141–4148. [Google Scholar] [CrossRef]
  21. Schermer, R.T.; Cole, J.H. Improved Bend Loss Formula Verified for Optical Fiber by Simulation and Experiment. IEEE J. Quantum Electron. 2007, 43, 899–909. [Google Scholar] [CrossRef]
  22. Teeple, C.B.; Becker, K.P.; Wood, R.J. Soft Curvature and Contact Force Sensors for Deep-Sea Grasping via Soft Optical Waveguides. In Proceedings of the 2018 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Madrid, Spain, 1–5 October 2018; pp. 1621–1627. [Google Scholar]
  23. Ashfaq, A.; Chen, Y.; Yao, K.; Sun, G.; Yu, J. Microbending Loss Caused by Stress in Optical Fiber Composite Low Voltage Cable. In Proceedings of the 2018 12th International Conference on the Properties and Applications of Dielectric Materials, Xi’an, China, 20–24 May 2018; pp. 483–486. [Google Scholar]
  24. Van Houdt, G.; Mosquera, C.; Nápoles, G. A Review on the Long Short-Term Memory Model. Artif. Intell. Rev. 2020, 53, 5929–5955. [Google Scholar] [CrossRef]
  25. Bjorck, N.; Gomes, C.P.; Selman, B.; Weinberger, K.Q. Understanding Batch Normalization. In Proceedings of the 32nd Conference on Neural Information Processing Systems, Montréal, QC, Canada, 3–8 December 2018. [Google Scholar]
  26. Santurkar, S.; Tsipras, D.; Ilyas, A.; Ma, A. How Does Batch Normalization Help Optimization? In Proceedings of the 32nd Conference on Neural Information Processing Systems, Montréal, QC, Canada, 3–8 December 2018. [Google Scholar]
  27. Ioffe, S. Batch Renormalization: Towards Reducing Minibatch Dependence in Batch-Normalized Models. In Proceedings of the 31st Conference on Neural Information Processing Systems (NeurIPS 2017), Long Beach, CA, USA, 4–9 December 2017. [Google Scholar]
  28. Bai, Y. RELU-Function and Derived Function Review. SHS Web Conf. 2022, 144, 02006. [Google Scholar] [CrossRef]
Figure 1. Configuration of McKibben artificial muscle.
Figure 1. Configuration of McKibben artificial muscle.
Sensors 25 02221 g001
Figure 2. Propagated light in optical fiber, (a) is a perfect reflection, (b) is macrobending loss, and (c) is microbending loss.
Figure 2. Propagated light in optical fiber, (a) is a perfect reflection, (b) is macrobending loss, and (c) is microbending loss.
Sensors 25 02221 g002
Figure 3. Fabricated smart artificial muscle with optical fiber.
Figure 3. Fabricated smart artificial muscle with optical fiber.
Sensors 25 02221 g003
Figure 4. Relation between pressure and length of smart artificial muscle.
Figure 4. Relation between pressure and length of smart artificial muscle.
Sensors 25 02221 g004
Figure 5. Relation between length and change rate of sensor output with loads.
Figure 5. Relation between length and change rate of sensor output with loads.
Sensors 25 02221 g005
Figure 6. Relation between pressure and change rate of sensor output (length of smart artificial muscle is held in initial length).
Figure 6. Relation between pressure and change rate of sensor output (length of smart artificial muscle is held in initial length).
Sensors 25 02221 g006
Figure 7. Structure of neural networks.
Figure 7. Structure of neural networks.
Sensors 25 02221 g007
Figure 8. Architecture of LSTM block.
Figure 8. Architecture of LSTM block.
Sensors 25 02221 g008
Figure 9. Experimental system.
Figure 9. Experimental system.
Sensors 25 02221 g009
Figure 10. Length estimation for Step pattern. The blue, red, yellow, and green background sections correspond to loads of 1.2 N, 1.7 N, 2.1 N, and 2.6 N.
Figure 10. Length estimation for Step pattern. The blue, red, yellow, and green background sections correspond to loads of 1.2 N, 1.7 N, 2.1 N, and 2.6 N.
Sensors 25 02221 g010
Figure 11. Length estimation for Triangle wave pattern. The blue, red, yellow, and green background sections correspond to loads of 1.2 N, 1.7 N, 2.1 N, and 2.6 N.
Figure 11. Length estimation for Triangle wave pattern. The blue, red, yellow, and green background sections correspond to loads of 1.2 N, 1.7 N, 2.1 N, and 2.6 N.
Sensors 25 02221 g011
Figure 12. Length estimation for Random pattern. The blue, red, yellow, and green background sections correspond to loads of 1.2 N, 1.7 N, 2.1 N, and 2.6 N.
Figure 12. Length estimation for Random pattern. The blue, red, yellow, and green background sections correspond to loads of 1.2 N, 1.7 N, 2.1 N, and 2.6 N.
Sensors 25 02221 g012
Figure 13. Length estimation for Step pattern. The blue, red, and yellow background sections correspond to loads of 1.4 N, 1.9 N, and 2.4 N.
Figure 13. Length estimation for Step pattern. The blue, red, and yellow background sections correspond to loads of 1.4 N, 1.9 N, and 2.4 N.
Sensors 25 02221 g013
Figure 14. Length estimation for Triangle wave pattern. The blue, red, and yellow background sections correspond to loads of 1.4 N, 1.9 N, and 2.4 N.
Figure 14. Length estimation for Triangle wave pattern. The blue, red, and yellow background sections correspond to loads of 1.4 N, 1.9 N, and 2.4 N.
Sensors 25 02221 g014
Figure 15. Length estimation for Random pattern. The blue, red, and yellow background sections correspond to loads of 1.4 N, 1.9 N, and 2.4 N.
Figure 15. Length estimation for Random pattern. The blue, red, and yellow background sections correspond to loads of 1.4 N, 1.9 N, and 2.4 N.
Sensors 25 02221 g015
Figure 16. Length estimation for arbitrary motion by manual air regulator.
Figure 16. Length estimation for arbitrary motion by manual air regulator.
Sensors 25 02221 g016
Table 1. Hyperparameters for Machine Learning.
Table 1. Hyperparameters for Machine Learning.
ParameterSetting Value and Name
LSTM layersLeft block:1, Right block:2 (Figure 7)
LSTM layer neurons150
Epochs1000
Batch size256
Data split rate0.9
Lookback30
Learning rate0.0001
Optimization algorithmAdam
Loss functionMean squared Error
Table 2. RSME of machine learning model and multiple linear regression model.
Table 2. RSME of machine learning model and multiple linear regression model.
RMSE [mm]
ModelStepTriangle WaveRandom
LSTM0.430.410.83
MLP0.821.040.93
Multiple linear regression1.291.431.04
Table 3. RSME of machine learning model between Figure 10, Figure 11 and Figure 12, and Figure 13, Figure 14 and Figure 15 for confirming generalization ability.
Table 3. RSME of machine learning model between Figure 10, Figure 11 and Figure 12, and Figure 13, Figure 14 and Figure 15 for confirming generalization ability.
RMSE [mm]
Machine Learning DataStepTriangle WaveRandom
Figure 10, Figure 11 and Figure 120.430.410.83
Figure 13, Figure 14 and Figure 150.410.380.75
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Ni, Y.; Wakimoto, S.; Tian, W.; Toda, Y.; Kanda, T.; Yamaguchi, D. Length Estimation of Pneumatic Artificial Muscle with Optical Fiber Sensor Using Machine Learning. Sensors 2025, 25, 2221. https://doi.org/10.3390/s25072221

AMA Style

Ni Y, Wakimoto S, Tian W, Toda Y, Kanda T, Yamaguchi D. Length Estimation of Pneumatic Artificial Muscle with Optical Fiber Sensor Using Machine Learning. Sensors. 2025; 25(7):2221. https://doi.org/10.3390/s25072221

Chicago/Turabian Style

Ni, Yilei, Shuichi Wakimoto, Weihang Tian, Yuichiro Toda, Takefumi Kanda, and Daisuke Yamaguchi. 2025. "Length Estimation of Pneumatic Artificial Muscle with Optical Fiber Sensor Using Machine Learning" Sensors 25, no. 7: 2221. https://doi.org/10.3390/s25072221

APA Style

Ni, Y., Wakimoto, S., Tian, W., Toda, Y., Kanda, T., & Yamaguchi, D. (2025). Length Estimation of Pneumatic Artificial Muscle with Optical Fiber Sensor Using Machine Learning. Sensors, 25(7), 2221. https://doi.org/10.3390/s25072221

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop