IOS Press Trajectory planning and mechanic’s analysis of ... · with patients of varying lower...

9
Trajectory planning and mechanic’s analysis of lower limb rehabilitation robot Tang Zhiyong * , Xu Xiaodong, Xiong Jue and Pei Zhongcai School of Automation Science and Electrical Engineering, Beihang University, Beijing 100191, China Abstract. A new rehabilitation robot was designed. The robot included a suspension mechanism, a drive unit, and an adjust- ment mechanism. Additionally, innovative weight loss mechanism increased the dynamical device so that it could be used with patients of varying lower extremity muscle strengths. The relationship of hip and knee angles with height, step length, and gait cycle was studied. It was developed to generate different trajectories for different patients. Kinematics and dynamics were studied to lay the foundation for control. Keywords: Rehabilitation robot, medical design, trajectory planning, dynamics, kinematics 1. Introduction Due to rapid aging, increased incidence of stroke, paralysis resulting from vehicle accidents, and other physical impairments, traditional manual rehabilitation and simple medical rehabilitation equip- ment often do not meet the immediate requirements of disabled people [1]. Therefore, a lower limb rehabilitation robot that can assist patients in rehabilitation training was investigated. In 2006, Germany developed the Lokohelp [2] rehabilitation robot. A weight loss mechanism, an electric treadmill, walker, and medical treadmill are included in the robot. However, the robot offers no support for a patient’s thigh, making it unsuitable for patients who do not have the capacity to carry their own weight. The American company Healthsouth developed the Auto Ambulator robot [3]. It consists of two-DOF manipulators driven by two motors. It tracks the thigh and calf of the patient to operate. However, the robot does not take the displacement of the center of gravity in a moving person into account, resulting in an unnatural gait. This article describes a new suspension device with which weight loss can be achieved dynamically. Its trajectory can be generated based on different heights, step sizes, and walking cycles. Kinematics and dynamics of the robot were studied in order to achieve the goal of patient rehabilitation. 2. Mechanical design of the lower limb rehabilitation robot A rehabilitation robot not only must accommodate different heights and weights, but must also monitor the patients rehabilitation status [4]. Based on the above requirements of a rehabilitation ro- bot, a lower limb hydraulic-driven rehabilitation robot was designed. It consisted of the following fea- * Address for correspondence: Tang Zhiyong, School of Automation Science and Electrical Engineering, Beihang Universi- ty, Beijing 100191, China. Tel.: +8601082339730; Fax: +8601082339730; E-mail: [email protected]. 0959-2989/15/$35.00 © 2015 – IOS Press and the authors. DOI 10.3233/BME-151322 IOS Press Bio-Medical Materials and Engineering 26 (2015) S347–S355 This article is published with Open Access and distributed under the terms of the Creative Commons Attribution and Non-Commercial License. S347

Transcript of IOS Press Trajectory planning and mechanic’s analysis of ... · with patients of varying lower...

Page 1: IOS Press Trajectory planning and mechanic’s analysis of ... · with patients of varying lower extremity muscle strengths. The relationship of hip and knee angles with height, step

Trajectory planning and mechanic’s analysis of lower limb rehabilitation robot Tang Zhiyong

*, Xu Xiaodong, Xiong Jue and Pei Zhongcai

School of Automation Science and Electrical Engineering, Beihang University, Beijing 100191, China

Abstract. A new rehabilitation robot was designed. The robot included a suspension mechanism, a drive unit, and an adjust-ment mechanism. Additionally, innovative weight loss mechanism increased the dynamical device so that it could be used with patients of varying lower extremity muscle strengths. The relationship of hip and knee angles with height, step length, and gait cycle was studied. It was developed to generate different trajectories for different patients. Kinematics and dynamics were studied to lay the foundation for control.

Keywords: Rehabilitation robot, medical design, trajectory planning, dynamics, kinematics

1. Introduction

Due to rapid aging, increased incidence of stroke, paralysis resulting from vehicle accidents, and other physical impairments, traditional manual rehabilitation and simple medical rehabilitation equip-ment often do not meet the immediate requirements of disabled people [1]. Therefore, a lower limb rehabilitation robot that can assist patients in rehabilitation training was investigated.

In 2006, Germany developed the Lokohelp [2] rehabilitation robot. A weight loss mechanism, an electric treadmill, walker, and medical treadmill are included in the robot. However, the robot offers no support for a patient’s thigh, making it unsuitable for patients who do not have the capacity to carry their own weight. The American company Healthsouth developed the Auto Ambulator robot [3]. It consists of two-DOF manipulators driven by two motors. It tracks the thigh and calf of the patient to operate. However, the robot does not take the displacement of the center of gravity in a moving person into account, resulting in an unnatural gait.

This article describes a new suspension device with which weight loss can be achieved dynamically. Its trajectory can be generated based on different heights, step sizes, and walking cycles. Kinematics and dynamics of the robot were studied in order to achieve the goal of patient rehabilitation.

2. Mechanical design of the lower limb rehabilitation robot

A rehabilitation robot not only must accommodate different heights and weights, but must also monitor the patient’s rehabilitation status [4]. Based on the above requirements of a rehabilitation ro-bot, a lower limb hydraulic-driven rehabilitation robot was designed. It consisted of the following fea-

*Address for correspondence: Tang Zhiyong, School of Automation Science and Electrical Engineering, Beihang Universi-ty, Beijing 100191, China. Tel.: +8601082339730; Fax: +8601082339730; E-mail: [email protected].

0959-2989/15/$35.00 © 2015 – IOS Press and the authors.

DOI 10.3233/BME-151322IOS Press

Bio-Medical Materials and Engineering 26 (2015) S347–S355

This article is published with Open Access and distributed under the terms of the Creative Commons Attribution and Non-Commercial License.

S347

Page 2: IOS Press Trajectory planning and mechanic’s analysis of ... · with patients of varying lower extremity muscle strengths. The relationship of hip and knee angles with height, step

tures: 1.) The suspension device was designed to decrease the force on a patient’s lower limb when his muscle strength does not support his own body weight; 2.) The suspension device maintains the pa-tient’s balance when he is unable to maintain balance during training; 3.) The pelvis width of the robot, the length of the robot’s leg, and the height of the pelvis from the ground can be adjusted in order to suit different patients.

Reference [5] refers to angle changes of each joint when one is walking normally. The range of the hip joint motion is -15° to 30° and the range of the knee joint motion is -15° to 30° in the sagittal plane. Both have almost no movement in the coronal and horizontal planes. The range of the ankle joint mo-tion is very small in the sagittal plane. The biggest energy consumption occurs in the hip and knee while walking [6]. Walking in the sagittal plane of the robot completes a patient’s gait learning pro-cess. The DOF of the robot was determined as four. A valve-controlled asymmetric cylinder was se-lected to drive the robot’s movements.

The length of the average person’s thigh is 390 mm to 420 mm. To accommodate different patients’ legs, the robot was designed to be adjusted using the leg clamp. The range of adjustment of the robot was the same as the length of the average thigh. In order to ensure people of different heights could use the robot for rehabilitation, the height of the hip joint of the robot from the ground was 710 mm-940 mm.

In the normal course of human movement, the center of gravity movement shows similar trends of sinusoidal motion. The position of the pelvis of the rehabilitation robot in the course of the campaign showed sinusoidal trajectory with the body's normal walking gait. A weight reduction device, shown in Figure 1, was designed. It was composed of a sling, pulley block, and spring. With the help of the spring, the robot could move in the vertical direction.

3. Trajectory planning of the lower limb rehabilitation robot

The CGA (clinical gait analysis) [7] data of human movement was obtained from hospitals. In a pa-tient’s rehabilitation process, moving trajectories should be placed based on an individual patient’s characteristics. This is an urgent problem of rehabilitation robots for most scholars [8]. This article used curve fitting based on the body's CGA data to obtain a knee and hip angle curve fitting formula during normal body movement, from which trajectory rehabilitation could be generated based on the positive and inverse kinematics.

The human gait cycle was set as T seconds and the key point θ was taken every 0.02 T, for the point of the curve fitting. Polynomial fitting, Fourier fitting, Gaussian fitting, and Sum of Sin fitting were used to fit the point. The results are shown in Figure 2.

Fig. 1. The overall assembly drawing of the rehabilitation robot.

T. Zhiyong et al. / Trajectory planning and mechanic’s analysis of lower limb rehabilitation robotS348

Page 3: IOS Press Trajectory planning and mechanic’s analysis of ... · with patients of varying lower extremity muscle strengths. The relationship of hip and knee angles with height, step

Fig. 2. Knee angle curve with four curve fitting methods.

Table 1 shows the frequency of the resulting equations, and variance and RMS with these four methods. The data in the table shows that the number of Fourier fitting equations was the minimum, and the variance of the Gaussian fitting SSE and RMSE was the minimum with a frequency of 8. In the actual control of the system, it had great influence on real-time control. The Sum of Sin fitting had a high frequency, and the variance and RMSE value were normal. Moreover, the number of Fourier fitting was low, but the SSE and RMS were smaller. The Fourier fitting method was selected to get the hip joint fit to the data.

Similarly, the four methods above were used for the hip angle curve fitting. The use of Fourier relations hip movement angle fitting method and the resulting angle of knee

movement and time were as follow. The values of parameters in Eq. 1 were shown in Table 2.

3 3

01 1

(t) a cos( *i* t*) sin( *i* t*)i ii i

a b� � �� �

� � �� � (1)

Table 1

Knee angle fitting method statistics table

Curve Fitting method Frequency SSE RMSE Polynomial Fitting 9 8.4557 0.7520 Gaussian Fitting 8 2.324 0.15736 Sum of Sin Fitting 4 5.1328 0.3628 Fourier Fitting 3 6.7547 0.3965

Table 2

The value of parameters in Eq. 1

Hip 11.44 20.86 -2.364 -0.6269 -1.978 -2.684 1.205 Knee 19.15 2.039 -13.53 -1.434 -19.1 1.742 4.176

T. Zhiyong et al. / Trajectory planning and mechanic’s analysis of lower limb rehabilitation robot S349

Page 4: IOS Press Trajectory planning and mechanic’s analysis of ... · with patients of varying lower extremity muscle strengths. The relationship of hip and knee angles with height, step

Stance Swing

Knee Hip

Fig. 3. Hip and Knee angle curve with Fourier fitting.

Fig. 4. Angle trajectories of different heights and different step lengths.

The results of the hip and knee curve are shown in Figure 3. The rehabilitation robot leg can be seen as a two-bar mechanism. Based on the inverse kinematics of

the two-bar mechanism, as long as the hip and ankle of the robot are known, the position and orienta-tion of the leg can be determined. The rehabilitation robot walking motion analysis showed that the heel touches the ground for just a moment in time, and can be adjusted in the trajectory planning. So without considering the period of the heel on the ground in the process, it can be seen as an overlay process where the swing leg is walking with the support of the rear support leg.

The period of the swing phase was set as 0.5 T and the period of the stance phase was set as 0.5 T. Assuming that the left leg was regarded as the stance leg and the right leg was regarded as the swing leg, the starting point was regarded as when the distance between the right leg was behind the left leg and the left leg was the longest. The left ankle fixed location was set as the reference coordinate sys-tem origin.

Results of the coordinate ankle can be calculated according to the inverse kinematics as follows. The coordinates of the point of the left leg hip basis A were set as at this time.

For the first half of that period can be found with:

1 1 2 1 2

1 1 2 1 2

( ) sin ( ) sin( ( ) ( ))( ) cos ( ) cos( ( ) ( ))

lhip

lhip

x t l t l t ty t l t l t t

� � �� � �

� � � �� � � �

(2)

T. Zhiyong et al. / Trajectory planning and mechanic’s analysis of lower limb rehabilitation robotS350

Page 5: IOS Press Trajectory planning and mechanic’s analysis of ... · with patients of varying lower extremity muscle strengths. The relationship of hip and knee angles with height, step

The last half of that period can be found with:

1 1 2 1 2

1 1 2 1 2

( ) sin ( 0.5 ) sin( ( 0.5 ) ( 0.5 ))( ) cos ( 0.5 ) cos( ( 0.5 ) ( 0.5 ))

lhip

lhip

x t l t T l t T t T psy t l t T l t T t T

� � �� � �

� � � � � � � �� � � � � � �

(3)

Coordinates for the left ankle for the first half of that period are as follow:

( ) 0( ) 0

lankle

lankle

x ty t

�� � (4)

Coordinates for the left ankle for the last half of that period are as follow:

1 1 2 1 2

1 1 2 1 2

( ) (t) sin ( ) sin( ( ) ( ))( ) cos ( ) cos( ( ) ( ))

lankle lhip

lankle lhip

x t x l t l t ty t y l t l t t

� � �� � �

� � � �� � � � � (5)

The height of people is 1750mm. The step size can be calculated as 660 mm.

was set as the new height, was set as the new step size, and was set as the new walking cycle.

1 1 2 1 2_ 1

1 1 2 1 2_ 1

sin ( ) sin( ( ) ( ))( )

cos ( ) cos( ( ) ( ))( )

lhip new new

lhip new new

l t l t tx t psps

l t l t ty t HH

� � �

� � �

� � �� � ���

� �� � ��

(6)

1 1 2 1 2

_

1 1 2 1 2_

sin ( 0.5 ) sin( ( 0.5 ) ( 0.5 ))( )

cos ( 0.5 ) cos( ( 0.5 ) ( 0.5 ))( )

lhip new new

lhip new new

l t T l t T t T psx t psps

l t T l t T t Ty t HH

� � �

� � �

� � � � � � �� � ���

� � � � �� � ��

(7)

_ 1 1 1 1 2 1 1 2 1

_ 1

_ 1 1 1 2 1 1 2 1_ 1

( ) sin ( ) sin( ( ) ( ))( ) * _

cos ( ) cos( ( ) ( ))( ) *

lhip newlankle new

lhip newlankle new

x t l t l t tx t ps new

psy l t l t t

y t H_newH

� � �

� � �

� � �����

� � �� ��

(8)

2 23 _ _ _ _( ) ( ( ) ( )) ( ( ) ( ))1 lhip new 1 ankle new 1 lhip new 1 ankle new 1l t x t x t y t y t� � � � (9)

22 2ankle_ hip_1 3 2

11 3 hip_ ankle_

22 21 2 3°

21 2

x ( )-x ( )(l + l ( ) -l )( )=arccos( )+arctan

2 l l ( ) y ( )-y ( )

l +l - l ( ) ( )=180 -arccos

2 l l

new 1 new 11new 1

1 new 1 new 1

1new 1

t ttt

t t t

tt

��

� ��

� �� � �� � �� �� �

(10)

T. Zhiyong et al. / Trajectory planning and mechanic’s analysis of lower limb rehabilitation robot S351

Page 6: IOS Press Trajectory planning and mechanic’s analysis of ... · with patients of varying lower extremity muscle strengths. The relationship of hip and knee angles with height, step

Some data were used to verify the calculated joint angles. The data are shown in Figure 4.

4. Kinematics and dynamics of the lower limb rehabilitation robot

4.1. Kinematics of the lower limb rehabilitation robot

The rehabilitation robot used a mechanical valve-controlled hydraulic cylinder to drive the legs. The human lower limb motion model can be simplified, as shown in Figure 5. The hydraulic cylinder pis-ton displacement curve was obtained according to CGA human motion data and hydraulic cylinder mounting position size.

The Swing phase and Support phase are 0.4 T according to the analysis on human gait. So the hy-draulic cylinder displacement curve of the left and right legs can be obtained.

The hip joint hydraulic cylinder model is shown in Figure 6. When the leg is at a standing position it is set as zero. According to the law of cosines:

2 23 0 1 2 1 2 02 cos( (t) 90)pr l l l l l l l�� � � � � � � (11)

: Piston displacement curve : Hydraulic cylinders in the hip and thigh fixed station installation point from the axis of rotation : The length from the high cylinder installation point to the rotary shaft : The length of the hydraulic cylinder and piston rigid : The length of the cylinder body when standing : The angle between the vertical line and thigh during swing

The knee joint hydraulic cylinder piston displacement can be obtained in accordance with the meth-od for finding hip joints of hydraulic cylinder displacement. The formula is as follows:

Fig. 5. Schematic of human movement. Fig. 6. Hip hydraulic cylinder.

T. Zhiyong et al. / Trajectory planning and mechanic’s analysis of lower limb rehabilitation robotS352

Page 7: IOS Press Trajectory planning and mechanic’s analysis of ... · with patients of varying lower extremity muscle strengths. The relationship of hip and knee angles with height, step

Fig. 7. Hip joints hydraulic cylinder displacement curve. Fig. 8. Knee joint hydraulic cylinder displacement curve.

2 211 21 11 21 1 01

2 211 21 11 21 1 02

2 212 22 12 22 2 03

2 212 22 12 22 2 04

2 cos( (t) 90 )

2 cos( (t 0.4 ) 90 )

2 cos(180 (t))

2 cos(180 (t 0.4 ))

hl

hr

kl

kr

r l l l l l

r l l l l T l

r l l l l l

r l l l l T l

� � � � � ��� � � � � � ��

� � � � ���� � � � � � �

01l0))

02l0))

((2

((2

(12)

The leg cylinder displacement curves are shown in Figures 7 and 8.

4.2. Dynamics of lower limb rehabilitation robot

The Lagrange dynamics modeling approach was used to analyze the simplified model of the human lower limb.

was the length of the thigh, was the length of the leg. was the thigh (hip) angle in the sagittal plane, and was the leg (knee) angle in the sagittal plane. The following are the dynamics calcula-tions.

Kinetic energy of the thigh was found with the following:

2 21 1 1

16K thighE M l �� 2

1�2 (13)

The centroid of the calf is the calf midpoint. Its coordinates in the coordinate system for the centroid

position were as follow:

2 1 1 1 2

2 1 1 1 2

sin sin( )y cos cos( )x l r

l r� � �� � �

� � �� � �� � � � (14)

The total kinetic energy of the system was obtained with the following:

Left leg

Right leg

Left leg

Right leg

T. Zhiyong et al. / Trajectory planning and mechanic’s analysis of lower limb rehabilitation robot S353

Page 8: IOS Press Trajectory planning and mechanic’s analysis of ... · with patients of varying lower extremity muscle strengths. The relationship of hip and knee angles with height, step

� �

2 1 2 2

22 2 2 2 2 21 1 1 1 1 1 1 2 2 1 2 2 2

1 1 12 cos6 2 24

k K K K

thigh shank shank

E E E E

M l M l l r r M l� � � � � � � � �

� ��� � �

� �� � � � � � �� �� �2 22 2

1 12 22shank1 2421 �2 2

21 1 1 1 1 1 2 21 1 1 1 1 2 2 M l222

h k1 1 1 1 1 1 2 21 1 1 1 1 2 21 1 1 1 1 2 2 � �22 22 � �22 �22 2222 � � � �M2h k1 l l r rl rl l rl r �2 �2 2 cos � �l r �2 cos �l r �2 cos �1 1 1 1 1 2 2 1 21 1 1 1 1 2 21 1 1 1 1 2 21 1 1 1 1 2 2 � � � �1 1 1 1 1 2 2 1 21 1 1 1 1 2 21 1 1 1 1 2 21 1 1 1 1 2 2 � �1 1 1 1 1 2 2 1 21 1 1 1 2 21 1 1 1 1 2 21 1 1 1 1 2 21 1 1 1 1 2 2 � �1 1 1 21 1 �1 1 1 1 1 2 2 1 21 1 1 1 1 2 21 1 1 1 2 21 1 1 1 1 2 21 1 1 1 1 2 21 1 1 1 1 2 2 �1 1 1 21 1 1 21 1 1 �l r �2 cos � �1 1 1 1 1 2 2 1 21 1 1 1 1 2 21 1 1 1 2 21 1 1 2 21 1 1 1 1 2 21 1 1 1 1 2 21 1 1 1 1 2 2 �2 cos �1 1 1 21 1 1 21 1 1 �

(15) According to the Lagrange equation:

pK Ki

i i i

EE Edfdt q q q

�� �� �� � �� �� � �� � ii

� K�K

qi�iqiqi (16) The following shows it written in matrix form:

2 2 2 21 1 1 2

1

2 2 21 2

21 2 2

1 2 2 1 2

1 1

1 cos3

4cos3

sincos sin

1( )2

thign shank shank shankhip

kneeshank shank

shank

shank

thign shank

M l M l M r M l r r

M l r r M r

M l rM l r

M gl M gl

� � �

� �� � � �

� �� �� � � �� �� �� � � �� �� ��� � � �� � � �� � � �� �� �� �

� � ��� �

� ��

�1��

1� ��1��� �2���� �

1

�22�2

�2 ��2

�� � �1 2� �1��� � �

�1 1 2

1 2

sin sin

sin( )

shank

shank

M gr

M gr

� � �

� �

� �� �� �� �

�� � (17)

5. Conclusion

Four kinds of fitting curves were compared, and the Fourier fitting curve was selected for fitting the CGA data. The functional relation between angle, height, step size, and gait cycle was calculated by the verse and inverse kinematics analysis. The function was significant for the commonality of the lower limb rehabilitation robot.

The lower limb rehabilitation robot can be seen as a series robot. The angular velocity and angular acceleration during the robot's motion were calculated through kinematics analysis. The moment of force and the force of the hydraulic cylinder were calculated through dynamics analysis. The Lagrange dynamics modeling approach was used in this article to build the dynamical model.

A rehabilitation robot was designed to achieve rehabilitation in patients. The robot was able to oper-ate with patients of different height and weight. Patients of different muscle strength were also able to use the robot because it possessed a dynamical weight loss device. Moreover, the problem of trajecto-ries of different people was also solved.

T. Zhiyong et al. / Trajectory planning and mechanic’s analysis of lower limb rehabilitation robotS354

Page 9: IOS Press Trajectory planning and mechanic’s analysis of ... · with patients of varying lower extremity muscle strengths. The relationship of hip and knee angles with height, step

Acknowledgments

The work was supported by “the National Natural Science Foundation (51075017)”. The authors wish to thank the National Natural Science Foundation. Moreover, the author would like to thank re-viewers for their valuable comments.

References

[1] I. Yamamoto, N. Inagawa, M. Matsur et al., Research and development of compact wrist rehabilitation robot system, Bio-Medical Materials and Engineering 24.1 (2014), 123-128.

[2] E. Swinnen and S. Duerinck, Effectiveness of robot-assisted gait training in persons with spinal cord injury: A system article view, Journal of Rehabilitation Medicine 42 (2010), 1-7.

[3] B. Shu, Clinical Rehabilitation Engineering, People’s Medical Publishing House, Beijing, 2013, pp. 198-215. [4] T.B. Yan, W.S. Liang and C.F. Ran, Modern Rehabilitation Therap, Guangdong Science and Technology Publishing

House, Guangzhou, 2012, pp. 566-583. [5] Z.Z. Tan, Research of lower extremity exoskeleton robot technology institutions and knee control, Ph.D. Dissertation,

Beihang University, 2011. [6] J. Hidler, W. Wisman and N. Neckel, Kinematic trajectories while walking within the lokomat robotic gait-orthosis,

Clinical Bio-mechanics 23 (2008), 1251-1259. [7] A.D. Kuo and J.M. Donelan, Dynamic principles of gait and their clinical implications, Physical Therapy 90.2 (2010),

157-174. [8] L. Yi, Strategy walker rehabilitation robot control, Ph.D. Dissertation, Harbin Engineering University, 2012.

T. Zhiyong et al. / Trajectory planning and mechanic’s analysis of lower limb rehabilitation robot S355