1. Introduction
The field of rehabilitation robotics has seen a rapid increases in both research and applications [
1], with the global market expected to grow by
$5 billion by 2032 [
2]. With the ever-increasing interest and usage of these robots in both research and clinical environments, it is becoming increasingly important that they are safe, reliable, and are held to a high standard of functionality. To this end, significant research in the field concerns intelligent algorithms and control structures [
3,
4], with many designs mentioning user comfort and safety as a measure of success alongside more commonplace measures like motion and force tracking accuracy [
5,
6]. The use of compliant actuators and structures in the design of rehabilitation robots is an effective way to improve patient comfort and safety by allowing for some freedom of motion during usage, as well as increasing the transparency of the robot by reducing interaction torques between the robot and patient. Flexible pneumatic actuators, such as PAMs, allow for compliant actuation with sufficient torque capabilities to apply proper force output for rehabilitation exercises, making them a suitable and increasingly popular choice for actuation in the field. PAMs are designed to mimic the dynamic properties of biological muscles, incorporating flexibility and elasticity, and using similar operating principles in contracting based on internal pressure. This allows for mechanical motion inherently similar to that experienced by human joints, which is especially helpful when designing robotic systems to apply guiding motion and forces to a person. However, their elastic construction and actuation method relying on pressurised air makes them more complicated to control than traditional actuators, often leading to less accurate motion and force tracking. Intelligent control strategies are generally more suitable than traditional control for these dynamic actuators, as their unique properties can be better accounted for. There exists great variety in the literature concerning the specific intelligent algorithms used in control systems, even within the field of rehabilitation robotics. Learning control methods such as ILC allow for improved performance over time using system feedback and measured error values, making them applicable to systems with repeated, predictable input sequences [
7]. However, this necessarily means that the initial motion accuracy is poor before the algorithm has had a chance to learn, and adjusting the learning parameters to speed up learning can lead to instability. Adaptive controllers are especially suitable for rehabilitation as they allow for dynamically adjusted control parameters based on certain feedback or measurements, helping improve both motion accuracy and comfort for users [
8]. These algorithms can be applied to many different control schemes but will ultimately increase the complexity and computational load. The use of fuzzy logic is also common in control architecture, as it allows for heuristic decision-making and easy grouping of continuous data [
9]. However, some accuracy is inevitably lost in the fuzzification of data. Neural network control methods are increasingly popular algorithms in many fields based on high-performance and decision-making capabilities [
10], but the very large sets of training data required and the resulting computational complexity make them unsuitable for more user-specific applications. Other more novel control schemes have been used in recent research for motion tracking of PAM-driven systems, including the event-triggered neural network tracking control presented in Ref. [
11], showing that the field of pneumatic actuator motion control is ongoing and of recent interest. MPC produces optimal predicted control outputs for both current and future inputs. The consideration of future control inputs allows for accurate time-dependent control, and the use of optimisation algorithms in the generation ensures consistently accurate motion. The main drawbacks of MPC are the requirement of an accurate system model and knowledge of future input sequences, but as rehabilitation robots use predetermined sets of motions to provide therapeutic exercises, this second requirement is already fulfilled. As such, this paper will present the development, implementation, and experimental testing of an MPC scheme designed for a platform-based ankle rehabilitation robot driven by four parallel PAMs, as well as an optimisation-based modelling method to account for the requirement of a system model in the controller. Clinical studies have shown that even among patients suffering the same joint-affecting conditions, there is great variety in ankle biomechanics [
12,
13], further reinforcing the need for compliant and flexible ankle rehabilitation platforms.
Using a dynamic model of the plant, MPC predicts the optimal control input sequence to achieve the desired output. So long as an accurate model of the system can be calculated, this allows for accurate and reliable control of even complex systems, accounting for time variance, position dependence, and other nonlinearities. There are several examples of MPC used in rehabilitation robotics, even aside from systems that use PAMs for actuation [
3]. Some examples of walking-based patients following rehabilitation robots using MPC are presented in Refs. [
14,
15]. In Ref. [
14], a robot is designed to automatically follow patients at a set distance, allowing for a walking aid, using MPC to maintain distance and speed. A similar system focused on stroke rehabilitation presented in Ref. [
15] uses a weight-bearing support structure to assist lower-limb impaired patients in following predefined paths, using MPC with quadratic regression to accurately track the desired motion. Other examples of MPC used in lower-limb rehabilitation include powered orthoses and exoskeletons, such as those presented in Refs. [
16,
17]. An impedance controller uses MPC to calculate optimal joint stiffness in a wearable lower-limb rehabilitation exoskeleton developed in Ref. [
16]. A position controller for a nonlinear knee exoskeleton using a linearization technique and MPC is developed and compared with several other MPC methods and is presented in Ref. [
17]. Upper limb rehabilitation also benefits from the use of MPC, such as the system presented in Ref. [
18]. A portable upper limb rehabilitation robot is tested using MPC and PID control for comparison. In fact, PID is often used as a comparison point in control system development for rehabilitation robotics, with results in Refs. [
15,
17,
18] showing comparative data verifying the performance of MPC in their respective applications.
The biggest difficulty in developing MPC is the requirement for a model of the plant. As the predicted control inputs are calculated based on the behaviour of the model, a more accurate model necessarily results in more accurate control. In the case of complex, nonlinear systems, accurate models become difficult to calculate, often resulting in a significant trade-off between accuracy and complexity. PAMs, with the presence of hysteresis, as well as nonlinear input–output relationships and time variance, are notoriously difficult to accurately model. Many different applicable modelling techniques exist for rehabilitation robots, with unique and novel methods present throughout the literature as well. The parallel upper limb rehabilitation robot developed in Ref. [
19] uses a kinematics-based model approximating the system to a series of chains, and also discusses the Lagrangian method. An upper limb rehabilitation robot shown in Ref. [
20] uses a multi-domain modelling method in SimScape multibody, developed to assist with tracking a patient’s recovery process. In Ref. [
21], a fuzzy inference system is used to accurately calculate the forward kinematics of an ankle rehabilitation robot. The fuzzy inference system was optimised using several methods for a comparison of their effectiveness.
Optimisation algorithms are often used for the purpose of dynamic modelling, as they are an ideal choice for calculating the parameters of complex systems without themselves becoming more complicated. PSO is a popular optimisation method, based on its comparatively fast convergence through the usage of a large “swarm” of potential solutions, or particles, which communicate their respective fitness according to the objective function, allowing for informed changing of parameters, resulting in fewer required iterations to reach an optimal solution compared with other optimisation algorithms. An example of a three-degrees-of-freedom (DoF) cylindrical manipulator is presented in Ref. [
22], with inverse kinematic identification performed using least squares and recursive least squares, and dynamic parameter identification performed by PSO. With a dynamic model generated using the Lagrange equation, it was found that PSO parameter identification was more accurate than the least squares methods. Another instance of PSO being used comparatively with a least squares identification method is shown in Ref. [
23] with a desktop Phantom Omni haptic device. There are many examples of PSO being used for parameter identification in rehabilitation robotics as well. An upper limb rehabilitation device driven by two antagonistic PAM pairs is modelled using a neural network trained using the PSO algorithm in Ref. [
24], with results suggesting that the method is suitable for modelling and control of various multi-input multi-output (MIMO) systems. Another upper limb rehabilitation device is shown in Ref. [
25] using an advanced PSO algorithm with variable parameters for dynamic modelling. Results show that the proposed method outperforms least squares as well as the basic PSO, with significantly reduced tracking errors and chattering. A full dual lower-limb exoskeleton, shown in Ref. [
26], uses a PSO-optimised Support Vector Regression system to identify walking modes in users, and, in experiments with three users, this method is proven to be effective. As is shown in the literature, PSO is a well-documented and suitable algorithm for parameter identification as it converges rapidly to optimal solutions. It has excellent scalability for higher-dimensional search spaces without exponentially increasing complexity or runtime but is also flexible at both the swarm scale and in objective function design to be applied to much smaller optimisation problems too. The flexibility and short time required make it applicable to most parameter identification tasks.
In this paper, a platform-based CARR is used for the development of a novel intelligent control system. The robot is designed to allow for compliant and comfortable rehabilitation of the ankle joint on three rotational DoFs. The aim of this control system is to provide more accurate, stable, and consistent motion of the CARR to make it more suitable for the safe human–robot interaction required when undergoing robot-assisted physical rehabilitation. The actuation method and mechanisms of the CARR create difficulty in accurately modelling and controlling the system by introducing significant nonlinearity and time-dependence. To account for this, a PSO-based modelling method was developed for dynamic parameter identification of PAMs using a phenomenological model template [
27]. Using this method, a series of dynamic models will be generated to approximate the behaviour of the actuators in the CARR. These developed models will then be applied to an MPC strategy. Two methodologies will be used: a single-model setup in which each of the four PAMs in the system are assumed to have the same dynamic properties, and a dual-model setup in which the upper and lower pairs will be modelled separately. These single-model and dual-model MPCs will then be experimentally compared, alongside traditional PID control and ILC, to confirm the validity of the proposed method. The CARR has been experimentally validated in multiple experiments including a case study in the treatment of drop-foot [
28] and has had multiple different control strategies developed and tested [
29,
30].
The main contributions are summarised as follows:
Real-world application and validation of a computationally efficient algorithm to generate dynamic models of complex, nonlinear systems in the PSO modelling method, initially developed in Ref. [
27].
Two sets of dynamic models proposed for the CARR in the single-model and dual-model setups.
Development of two MPCs using each of the generated model sets.
Experimental results and comparative analysis of the performance of these controllers with a traditional PID and ILC, demonstrating the developed MPC’s improved motion accuracy and stability, and justifying its suitability for use in the application of robot-assisted physical rehabilitation of the ankle joint.
This paper starts with a technical description of the CARR’s design and functionality, and an explanation of the kinematic equations used in its control. Subsequently, the PSO modelling method is described followed by the developed MPC system. Then, the methodology for the set of validation experiments is given, followed by results and metrics from these experiments. The findings and important factors are then discussed, and, finally, the work is summarised.
6. Discussion
The experiments performed in this study were designed to approximate the requirements of the CARR in a rehabilitation setting. The frequency and amplitude of the input waveforms were selected based on the speed and angle of exercise requirements during ankle rehabilitation. The rapid motion experiments used frequency values on the extreme upper end of the required values in rehabilitation, which usually uses slow, measured motions. This was primarily a test of the capability of the controllers and the CARR to perform well during faster motion, and to determine the system’s ability to perform motion simultaneously on two axes with different speeds. In experiments where both the X and Y angles were in motion, the chosen amplitude of motion was smaller, as the CARR exhibits some accuracy issues at the extremes of motion while the footplate is undergoing multiple angle motions simultaneously. The use of a MIMO model for the CARR and an associated MIMO control system could address this issue, as well as mitigate some of the performance issues found in some controllers while multiple axes were in motion at once. In order for each controller to perform as well as possible, some recalibration of the rotary encoder on the X axis was required, which resulted in some temporary inaccuracy at the immediate start of each experiment on this axis, especially noticeable in the two MPC implementations. Specific performance metrics of the RMSE, peak error, and overshoot percentage values are listed for both axes in
Table 4 and will be referenced throughout this discussion.
In general, the performance of the PID controller was the worst of the controllers, with a higher RMSE and peak error in the majority of experiments than the MPC implementations, and the least consistent motion of all controllers. Where an axis was expected to remain at 0 angular displacement, the peak error under the PID was invariably the highest and significant motion was observed. In several examples, namely the Y axis experiment and both rapid motion experiments, the percentage overshoot of the Y axis under PID control was significant, and in the rapid motion experiment the X axis suffered both over- and undershooting at different points. In terms of smoothness of motion, an important metric for safety and comfort in rehabilitation exercises and often regarded as a more important measure of success in such a device than motion tracking, all control schemes showed some evidence of chattering. This is likely due to the construction of the CARR and the inherent friction present in the actuators and joints on the footplate mechanism. However, the chattering was most significant under PID control, and in many cases the motion would briefly change direction, most noticeably on the X axis when both the X and Y axes were in motion.
As to be expected, ILC began each experiment with poor accuracy and improved over the course of the waveform, with each wavelength reducing the tracking error in most cases. This includes cases where an axis was expected to remain at 0, and in the case of the X axis, resulted in small peak error and RMSE values. However, there is evidence of overfitting in some experiments, mostly during rapid motion, where overshooting of the setpoint becomes more common and significant towards the end of the waveform, as indicated by the very high overshoot percentage values, suggesting instability. In terms of motion smoothness, the ILC had similar but less severe chattering than the PID, with fewer examples of fully changing the direction of motion.
Both MPC implementations performed similarly; however, there were some defining features of both that caused them to outperform each other in certain scenarios. The single-model MPC converged quickly to 0 under experiments where an axis was to remain at 0 and maintained a steady value consistently, as evidenced by the lowest RMSE and peak error values on the X axis and comparably low values for the Y axis. Its percentage overshoot values were the lowest of all controllers in almost every case by a significant margin; however, it did show the only cases of a negative overshoot percentage, indicating that while both axes are in motion, the maximum rotational values were never fully reached. The chattering effect under single-model MPC is lower than under PID control and ILC, resulting in smoother motion.
The dual-model MPC, while having generally similar behaviour to the single-model MPC, did show the closest motion to the setpoint under rapid motion, with the lowest RMSE values of all controllers, as well as either the lowest or nearly the lowest RMSE and peak error for the Y axis in every experiment. Chattering behaviour was best accounted for under this control scheme, with very little evidence of this unwanted motion in all experiments other than on the X axis while both the X and Y axes were in motion. The main drawback of the dual-model MPC was overshooting, which was present in every experiment and noted in the percentage overshoot values; however, unlike the overshooting present under the PID and in some cases under ILC, this motion remained smooth and consistent. A possible cause for this overshooting is that the PAM models become less accurate at the extremes of motion due to dynamic nonlinearity, therefore causing the predicted optimal control values to be less accurate towards the greatest displacement values. This would also explain the undershooting seen in the single-model MPC, and could therefore possibly be rectified by more accurate models or more complex ones which consider the time-varying nature of the actuators.
MPC has proven to be significantly more effective than traditional control like the PID for nonlinear, complex systems like the CARR, and is capable of more reliable accurate motion in more specific use cases than ILC. However, the fact that both MPC implementations have drawbacks suggests that there is still work to be done in developing robust controllers.
7. Conclusions
In this study, an ankle rehabilitation robot actuated by four antagonistic PAMs, the CARR, was used as the platform for development and testing of an intelligence-based control system. A PSO-based dynamic modelling method and two MPC schemes were developed for more accurate and smooth motion of the device in a rehabilitation setting. The modelling method, initially developed in Ref. [
27], was adapted for use in the MIMO system, and uses a phenomenological model template of PAMs and the PSO algorithm to calculate computationally efficient, yet accurate, models of the nonlinear actuator. Two different setups were used in both the modelling and control of the CARR: a single-model setup in which each of the four PAMs in the robot were assumed to have the same dynamic properties and were therefore modelled with the same parameters, and a dual-model setup in which the top pair of PAMs were assumed to have different dynamic properties to the bottom pair, resulting in two different models.
These models were then used in MPC schemes in experiments to test for their motion tracking accuracy and motion smoothness with the CARR. A traditional PID controller and ILC were also used as comparison points to determine the relative increase in the effectiveness of these MPC algorithms. An experiment scheme was devised using standard sin wave input setpoints for the angular displacement of the X and Y axes of the CARR, and each of these setpoints were used in the PID controller, ILC, and both the single-model and dual-model MPC setups to allow for a comparison of their performance. The experiments included actuating the two axes separately, as well as simultaneously and at different speeds, to test a range of applications. It was found that the MPC algorithms both outperformed PID in terms of absolute error values, as well as smoothness of motion, as did ILC after sufficient learning periods. PID control exhibited the worst chattering effect and either over- or undershot the setpoint in most cases. ILC could converge to accurate and smooth motion but showed some evidence of overfitting towards the end of experiments involving both axes and especially under rapid motion. The single-model MPC had the best behaviour when only a single axis was in motion at once, keeping the unmoving axis consistently stable. However, it suffered from a decrease in accuracy at higher-frequency motion, as well as when both axes were moving simultaneously. The dual-model MPC had the best performance for the Y axis and better accuracy while both axes were in motion. The dual-model MPC had the least evidence of chattering, only apparent on the X axis with both axes in motion, resulting in the smoothest tracking results. It did show evidence of overshooting, although not as significant or sharp as under PID control. The difference in performance between the controllers, and the generally lower accuracy and ROM achieved by the system as a whole while multiple axes were in motion at once, could be improved with the use of a MIMO approach to the system, as the relative interactions between each PAM and each of the three axes are not wholly addressed with the current setup. The reduction in sharp, unwanted motion, like chattering, and motion outside of the desired trajectory, like overshooting, is important for patient safety and comfort. Exercise trajectories must be gentle to keep patients comfortable and help them engage with the activity, and the extremes of motion are carefully considered to not overextend the joint. Inherent compliance added by flexible actuators can assist with this, but it is also important that control strategies minimise their impact as well.
The primary successes of the developed MPCs over other controllers are stability, with lower chattering than the PID and no divergent learning as with ILC, and the ability to respond well to complex MIMO situations with both axes of the CARR moving at once and at different speeds. These successes prove the validity and accuracy of the proposed PSO-generated models for complex MIMO systems as well. As such, based on their accuracy and motion smoothness in the experiments presented here, both the PSO-based modelling method and the resulting MPC schemes are suitable for further research in clinical trials with the CARR. The relative successes of the single-model and dual-model MPCs can be used to the system’s advantage with the addition of a switching-mode or adaptive controller, allowing the shortcomings and benefits to counteract each other in certain cases where one may be preferred over the other. The robustness and response to external disturbance of the developed controllers will be further validated in future work in online experiments with participants to ensure that the system is appropriate and suitable for its intended use, in rehabilitation of the ankle joint.
The CARR itself will require a mechanical redesign to rectify the issues with Z axis motion, as the current PAM configuration makes this axis unstable and inaccurate. This could be done with the addition of a rotary actuator on the footplate to assist with motion, or repositioning of the PAMs to better apply force in the required direction.