1. Introduction
Global aging and a sedentary lifestyle in industrialized countries have increased the number of patients with reduced mobility due to stroke [
1]. Nowadays, more than 33 million people around the world have to live with stroke sequels [
2]. In order to recover the lost mobility and improve the quality of life of these patients, it is necessary to perform appropriate rehabilitation treatments which usually require several years to provide the desired results [
3]. However, in most rehabilitation programs trainings hours are limited due to staff and financial constraints [
4].
Due to the need of increasing the effectiveness and the resources of rehabilitation for stroke patients, over last couple of decades robotic devices have been proposed to execute upper [
5,
6] and lower limb [
7,
8,
9] rehabilitation programs. Rehabilitation robots emulate and replicate the movements and exercises performed by a physiotherapist, obtaining treatments of higher intensity, frequency and repetitiveness that can allow better recovery of patients with reduced mobility [
3]. In addition, they can work as a measurement tool of the interaction forces and motions, providing data for the analysis of the state of recovery of the patient [
4]. Finally, integrating an adequate graphic interface, they can motivate the patients to continue with the rehabilitation program by using games [
10].
The long training process is composed by several phases, in which the patient mobility is gradually increased [
11]. Hence, robotic devices need to adapt their performance and task execution to the particular needs of each patient. This way, in the early stages of rehabilitation, patients typically cannot move autonomously, and the movement must be executed by the robot. After a few months of training, patients gradually recover part of their mobility, and they must be encouraged to generate movement on their own. This is, passive training mode is required for initial stages, while the so-called active training mode must be used in more advanced phases [
12].
In order to implement these training modes, it is necessary to control both the force and motion of the robot/user interaction. In passive mode, a suitable position controller is necessary, so that the robotic device executes the desired trajectory. On the other hand, in active mode, a force controller is required to assist the user to perform the rehabilitation task [
13]. These controllers calculate the torque/force to be applied by the actuators of the robotic device based on the reference generated by the selected training mode (passive or active) and the robot/user interaction feedback (force or motion).
Usually, this interaction feedback is measured directly using position and force sensors. However, although various research groups work in this line [
14], there are still no specific sensors for this type of applications. Hence, most rehabilitation robots that can be found in the literature use industrial sensors, which are not adapted for training therapies [
15,
16,
17] and present several drawbacks: (1) rehabilitation robots usually present complex structures, and the placement of sensors in the user/robot interaction point is a challenging task; (2) the introduction of a number of sensors in wearable robots may increase their weight, which is not desirable; (3) noise and temperature dependency of the force sensors require adequate processing of sensors signals; and finally; (4) the use of accurate sensors increases the cost of robotic rehabilitation devices, reducing its market growth [
18].
The lack of proper sensors to measure the robot-human interaction has motivated some researchers to develop sensorless controllers. Usually, these advanced algorithms estimate the interaction forces and motions based on the dynamic/kinematic model of the robot and the measurements provided by the integrated sensors of the actuator systems [
19,
20]. However, most of sensorless approaches are focused on industrial [
21] or surgical [
22] applications, while very few are applied to rehabilitation robots [
23], where the main focus is estimating the robot-human interaction.
In this context, this work presents the use of virtual sensors as an alternative to direct measurement using accurate sensors in rehabilitation robotics. Virtual sensors allow to estimate the robot/user interaction force and motion, reducing the overall cost and the complexity of the robots. For that purpose, a kinematical/dynamical mathematical model of the robotic device and low cost position sensors, such as optical encoders or linear potentiometers are used. This approach is applied to the Universal Haptic Pantograph (UHP) upper limb rehabilitation robot, used for the training of shoulder, elbow and wrist in people who suffer motor deficit after a stroke [
24].
The rest of this paper is organized as follows:
Section 2 introduces the Universal Haptic Pantographth rehabilitation robot.
Section 3 describes the concept and theoretical development of the presented force and motion virtual sensors. The approach is validated
Section 4, comparing the performance of the robot controller with real sensors and virtual ones. Finally, the most important ideas are summarized in
Section 5.
2. UHP Rehabilitation Robot
The UHP robotic device is a multifunctional upper limb rehabilitation robot designed for the treatment of people with reduced mobility due to stroke [
24]. Thanks to the use of three lockable/unlockable joints (
,
and
), the UHP has the ability to configure its mechanical structure (
Figure 1). This reconfigurable structure allows to define eight operating modes. However, for the case of study analyzed in this work, two of the most used will be detailed: ARM and WRIST modes [
25].
The
ARM operating mode allows to perform planar motions that result in arm flexion/extension exercises. This allows to execute rehabilitation exercises associated with the three movements of the shoulder (rotation, flexion/extension and abduction/adduction) and the movement of flexion/extension of the elbow [
26]. On the other hand,
WRIST operating mode allows to perform rehabilitation exercises associated with the rotating movements of the wrist (abduction/adduction and flexion/extension) and the supination/pronation movement of the forearm [
27]. So, all joints of the upper limb can be trained by combining these two operating modes (
Figure 1).
The UHP rehabilitation robot is divided into two subsystems: a pantograph-based robotic device and a drive system based on elastic components (
Figure 2). The pantograph structure interacts with the patient at the contact point (
), while the drive system provides the force/motion to the robotic device by means of two ortogonally placed Serial Elastic Actuators (SEA) [
28]. Each SEA actuator is composed of a rotary motor and two linear springs connected by rigid cables, as shown in
Figure 2. Hence, the motion of the drive system based on elastic components (
) is generated by the rotative motions of the motors (
) and the variable length of the springs (
). The two subsystems are connected in a single transmission point (
).
In order to measure the actuator system motion (
), the UHP rehabilitation robot has two optical rotative encoders (HEDS-5500 of Avago technologies,
resolution) and two linear potentiometers (TEX 0150 of NovoTechnik,
m resolution). The variable length of the springs (
) is measured with linear potentiometers, while the encoders are used to measure the rotation angle of the motors (
) (
Figure 2).
3. Motion and Force Virtual Sensors
The aim of the virtual sensors is to provide an accurate feedback of the robot/patient interaction, this is, to provide estimations of the force () and motion () of the contact point between the robot and the patient. For that purpose, the proposed approach is based on the mathematical model of the UHP rehabilitation robot and the motion measurements provided by the SEA drive system of the robot ().
3.1. Motion Virtual Sensor of the UHP Rehabilitation Robot
The development of the Motion Virtual Sensor for the UHP rehabilitation robot is divided into two steps. First, the kinematical model of the drive system based on elastic components is analysed to determine the motion of the transmission point ; second, the user/robot contact point motion is estimated based on the kinematical model of the pantograph and the motion of the transmission point .
3.1.1. Kinematical Analysis of the Drive System Based on Elastic Components
As shown in
Figure 2 and
Figure 3, the UHP presents a single transmission point (
) where 3 degrees-of-freedom motions can be transmitted bilaterally among the two subsystems.
The motion of the transmission point (
) depends directly on the motion generated by two SEA drive systems (
and
),
where
is the distance from point
to the transmission point (
) and
is the distance between
and
(
Figure 3).
From the kinematic model of the SEA drive system [
26], it is obtained by,
where
is the distance from the equilibrium point of the transmission point (
when
m) to the motors
and
,
and
are the variable lengths of springs
and
,
and
are the rotation angles of the motors
and
, and
is the radius of pulleys.
On the other hand, by applying trigonometry (
Figure 3), the following relationships are calculated,
where
is the distance from the transmission point (
) to joint
of the pantograph structure.
Combining Equations (
3) and (
4), the expression that defines the motion of the transmission point (
) based on the the variables measured by the actuator sensors (
,
,
and
) is obtained by,
3.1.2. Kinematical Analysis of the Pantograph
In order to estimate the motion of the contact point (
) based on the motion of the transmission point (
), the closure loop equation associated to the pantograph structure that relates both parameters has to be defined as,
Equation (
6) depends on the mechanical configuration of the pantograph structure, this is, on the particular operating mode (ARM or WRIST) selected (
Figure 4).
ARM operating mode
In ARM operating mode, joint
is locked. Hence, the closure loop equation is (
Figure 4),
solving for
,
WRIST operating mode
On the other hand, in WRIST operating mode, joint
is unlocked and
and
are locked. Hence, the closure loop equation can be calculated as (
Figure 4),
where
depends on the motion of the transmission point (
) and
depends on the motion of the contact point (
),
Solving for
,
Therefore, the Motion Virtual Sensor of the UHP rehabilitation robot is defined by Equations (
5) and (
8) for ARM operating mode and Equation (
11) in WRIST operating mode. These allow to estimate the motion of the robot/patient contact point
in terms of the sensorized variables of the drive system (
,
,
and
): the rotation of the actuators, using encoders, and the length of the elastic springs, using linear potentiometers.
3.2. Force Virtual Sensor of the UHP Rehabilitation Robot
Similarly to the derivation of the Motion Virtual Sensor, the Force Virtual Sensor of the UHP is calculated in two steps: first, the dynamical model of the elastic drive system is used to estimate forces/torques generated by the actuators in the transmission point (); second, the relationship between the forces of the transmission point () and the forces exerted at the robot/user contact point () are estimated based on the dynamical model of the robotic device and the motion of transmission point ().
3.2.1. Dynamical Analysis of the Drive System Based on Elastic Components
As shown in
Figure 3, the transmission force (
) of the UHP rehabilitation robot is the sum of the forces exerted by the four springs (A,B,C,D) that are connected to the transmission point (
),
where each spring force (
) is calculated using Hooke’s law based on its variable length (
), its stifness constant (
) and its unitary directional vector (
) [
26],
where
depends on the current position of the transmission point (
), which has been defined in Equation (
5).
3.2.2. Dynamical Analysis of the Pantograph
Once the transmission force is estimated (
), the dynamical model of the pantograph is used to estimate the robot/user contact force (
). Although different formulations can be applied, in this work the Lagrangian formulation is selected [
29], as it allows to calculate the dynamic model of the rehabilitation robot without considering the internal forces of the mechanism, resulting in a compact dynamic model appropriate to be implemented in advanced controllers.
The development of the dynamical model using the Lagrangian formulation requires of the calculation of both kinetic () and potential () energies of the pantograph in ARM and WRIST operating modes, whose substraction defines the Lagrangian ().
In ARM operating mode (
Figure 4), the five elements of the pantograph (
,
,
,
and
) move [
26]. Therefore, the Lagrangian function (
) can be calculated as,
In WRIST operating mode (
Figure 4) element
is locked, so its energy is be zero. In addition, element
can only rotate along its axis, so its potential energy will be zero [
27].
Note that in both cases
represents the kinetic energy and
the potential energy of element
,
where
is the inertia of element
,
is its mass,
the
z coordinate of the position of its center of mass, and
and
the linear and the angular velocity of the center of mass.
Therefore, applying the Lagrangian formulation, the relationship between the contact force (
) and the transmission force (
) in terms of the motion of the transmission points (
) and the motion of the contact point (
) is obtained.
where,
is the set of Lagrange multipliers and
is the closure loop equation that relates
and
, as defined in
Section 3.1.2.
Combining this relationship with Equation (
12) the Force Virtual Sensor of the UHP rehabilitation robot is obtained, which estimates robot/patient contact force
in terms of the sensorized variables of the drive system (
,
,
and
).
4. Validation and Results
In order to validate the developed Virtual Sensors, they were integrated into an advanced position/force controller designed for the UHP rehabilitation robot and their performance was evaluated by performing active and passive rehabilitation exercises. The integrated controller is composed by a set of controllers that operate at two levels. In the low level, two controllers operate in parallel: a kinematical model-based position control and a dynamical model-based force control. The high level controller, which defines the rehabilitation task (active or passive), is used to select the force or position controller and their reference. The overall structure of the controller is summarized in
Figure 5.
As shown in
Figure 5, the low level position and force controllers require contact point motion (
) and contact force (
) measurements respectively to operate properly. Hence, the Virtual Sensors were integrated in the control loop to estimate these variables instead of measuring them using high accuracy sensors.
To evaluate the applicability and reliability of the Virtual Sensor approach, the control performance of the robot based on the proposed Virtual Sensors has been compared with that using actual high accuracy sensors in different experimental tests. For that purpose, a three step procedure has been followed for the validation, as shown in
Figure 6: (1) Each experimental test has been carried out with the rehabilitation robot, where the required low level controllers have been fed with the data provided by high accuracy sensors that measure
and
; (2) the same test has been performed using controllers whose data feedback data is provided by the proposed Virtual Sensors; (3) the results of both approaches have been compared . In the first step, A MINI40 force/torque sensor (ATI,
,
N resolution) has been used to measure
, while the precise YNGS1 inclinometer (Sensor-Technik Wiedemann GmbH,
, 0.25°/s resolution) has been adopted for the measurement of
.
Three experimental tests have been designed to evaluate both Virtual Sensors in ARM and WRIST operating modes following the aforementioned procedure: in the first test, in order to validate the Motion Virtual Sensor, the position controller has been used, while in the last two tests, the force controller has been used to validate the Force Virtual Sensor. Results for each test are detailed next.
4.1. Motion Virtual Sensor Validation
The goal of the first test is to evaluate the performance of the position controller using the Motion Virtual Sensor. For this purpose, a sinusoidal reference has been designed for both x and y directional movement. The frequency varied from 0.05 Hz to 0.2 Hz as a function of time. The magnitude of the reference has been set to 0.1 m for ARM mode and 0.05 m for WRIST mode.
Figure 7 and
Figure 8 show the results of the contact point
displacement for ARM and WRIST operating modes, respectively. In the upper plot, the
x coordinate of
is shown, while the lower one represents the
y coordinate. In addition, the blue line illustrates the reference motion of the contact point (
), while the red line is associated to the case using additional sensors, and the green one to the case in which the proposed Motion Virtual Sensor is used.
Table 1 summarizes mean and maximum distance error
for both cases.
4.2. Force Virtual Sensor Validation
In the following two tests, the performance of the force controller with the Virtual Sensor compared to the performance with a high accuracy sensor are analysed. The first test simulates the active mode of the robot, where the desired contact force has been set to zero (). In the second one, a sinusoidal force reference with 20 N magnitude and variable frequencies of 0.05 Hz, 0.1 Hz and 0.2 Hz has been selected.
For all the figures in this section, the upper plot depicts the evolution of the x coordinate of the contact force () while the lower one shows in y coordinate. In addition, the blue line defines the desired contact force (), the red line is related to the contact force provided by the controller with real sensors (), while the green one corresponds to the case in which the Virtual Sensor () is used.
Test 1: Zero force reference
Figure 9 and
Figure 10 show the control results of zero force reference mode in ARM and WRIST operating modes.
Table 2 summarizes the mean and maximum error of the force controller when the contact force is measured with the force sensor or estimated with the Force Virtual Sensor (
).
Test 2: Variable force reference
Figure 11 and
Figure 12 show the control results of variable force in ARM and WRIST operating modes, respectively.
Table 3 summarizes the mean and maximum force errors carried out when considering sensor data or the proposed Virtual Sensor feedback (
).
4.3. Suitability of the Developed Virtual Sensors for Advanced Controllers in Rehabilitation Robotics
In this subsection results from the previously detailed tests will be discussed, and conclusions drawn. The results of the first validation test show that the performance of the position controller using Virtual Sensors is similar to the one with real sensors. According to the literature [
30], healthy people are able to perform movements of the upper extremities with an average resolution of 0.005 m. Therefore, it can be stated that the obtained error difference (0.005 m in ARM and 0.0001 m in WRIST operating mode) between virtual and real sensor is acceptable for rehabilitation therapies.
On the other hand, results of the second validation test show that in ARM operating mode, the performance of the force controller in active rehabilitation tasks (zero force reference) is very similar when considering actual sensor data, or the proposed Virtual Force Sensor. The existing estimations errors are acceptable for rehabilitation purposes (
of force error
N) due to the sensitivity limit of humans. The performance of the controller when using Virtual Sensors is even better than the use of real sensor data in WRIST mode due to the mechanical configuration of the robot and its influence on the force sensor (
of the mean error
N and
of the maximum error
N). It is also important to note that the tests have been carried by a healthy person, which has moved arbitrarily and randomly the robot in this case. This way, the misaligment of peaks in
Figure 9 and
Figure 10 are due to being different executions of the same test.
In the proposed third validation test, in which variable force references are tested, the controller has been able to follow the desired force reference with small and acceptable errors for both cases. The difference between the two implementation (sensor and Virtual Sensor) is almost negligible for the user ( of the average error is 1.5 N in ARM and 0.85 N in WRIST operating mode). In addition, it should be noted that these tests have been carried out by a healthy person, who can exert much more force than a stroke patient. Hence, less error is expected for these cases.
It is important to emphasize that in a rehabilitation application, safety and robustness of the device are more critical than the precision of the movements [
31,
32]. For these applications, fast controllers capable of responding quickly to the movement generated by the patient are required. Therefore, the use of compact Virtual Sensors like ones proposed are preferred to complex and precise Virtual Sensors that need more computational cost and slow down the speed of the controller.
Therefore, after performing different validation tests with the UHP rehabilitation robot in ARM and WRIST operating modes, it is concluded that the developed Force and Motion Virtual Sensors are suitable for their use in advanced controllers for rehabilitation robots.
5. Conclusions
Robotic devices can improve the rehabilitation process of patients with reduced mobility after a neurological disorder, such as a stroke. One of the key components for successful robot-mediated therapy is to design advanced controllers that can adjust interactive force and motion between the patient and the robot as needed. Force and motion values are usually measured through accurate sensors, which increases the cost and complexity of the device.
In this work, a novel virtual sensor approach is proposed for the estimation of the contact force and motion in rehabilitation robots. The developed Virtual Sensors are based on the mathematical model of the robotic device and the measurement provided by low cost position sensors, such as optical encoders or linear potentiometers.
The proposed Virtual Sensors have been implemented and evaluated in an advanced force/position controller of the UHP rehabilitation robot for upper limb training. Control performance based on Virtual Sensors has been compared to that using real sensors in performing passive and active rehabilitation exercises with a healthy subject through three different experimental conditions.
Results shows that the use of the Virtual Sensors produces performance similar to that obtained with real sensors in terms of motion and force errors (less than 0.005 m of mean motion error and 1.5 N of mean force error), which is acceptable for rehabilitation use. While the results reveal that Virtual Sensors can be used as an alternative of real sensors, further experiments with actual patients who have different level of impairments will be future interesting topic in order to ensure clinical adaptation and acceptance of the developed Virtual Sensors.