Abstract
To solve the problem between large computation and complex process of dynamic modeling on multi-DOF(degree of freedom) robot, the paper introduces Lagrange equation into the problem so that only external force needs to be considered and unknown binding force is no longer to be considered, which is convenient for the design of control system and dynamic simulation. Also, the paper introduces Q matrix into traditional Lagrange dynamic equation of robot and linearizes the dynamic equation under reference frame. Finally, the paper proposes a Lagrange equation simplified calculation method for dynamic modeling on multi-DOF robots and gives the calculation equations. The paper takes five DOF Upper limb rehabilitation robot as example and model the robot using the new method. The simulation result shows that the established mathematical model is accurate and the method is fast, efficient and can be used as a new method for a class of multi-DOF robots modeling.
Introduction
At present, the system dynamic model of the multi-DOF (degree of freedom) robot is solved by using the main research methods such as Newton-Euler method, Lagrange equation method, Kane equation method and Variational method etc. These research methods rely on the computer numerical analysis to solve the complex multi-DOF problems of the machinery system dynamics. However, each method has its own advantages and disadvantages because of its different calculation principles. Newton-Euler method: The method is quick in the calculation speed and it can satisfy the needs of the speed and the sampling frequency in the servo system. In addition, it is also convenient for the real-time control. However, given the constraining force between the adjacent bars in the equation, the additional calculation will be made to remove the constraining force, so the structure becomes more complex [5, 6]. Lagrange equation method: The second type Lagrange equation is suitable for the complete system for that it solves the complex system dynamic equation in the simplest form and that it is of the explicit structure. The Lagrange equation is mainly used for calculating kinetic energy, potential energy and generalized force. The most important part is how to create the coordinate system and consider the system constraint in the Lagrange equation. Kane equation method: This calculation method uses many codes for equations instead of giving the general dynamic equation suitable for any multi-rigid-body system. Therefore, it is rather difficult for proofreading and the selection of the generalized speed also requires certain experience and skills— such are the disadvantages of this method. However, this method is praised for it only requires calculating the dot product and the cross product of vectors without involving the kinetic function and the derivation [9, 10]. Variational method: According to the optimization theory, this method solves the accelerate speed at that time according to the location and speed of the mechanical arm every moment without setting up the kinetic equations. Meanwhile, the kinetic analysis can be conducted along with the system optimization. However, compared with other methods, it involves more calculation in the same condition [11, 12].
Given that the multi-DOF robot is large in the number of rigid bodies and that connection states are complex, the robot should be convenient for programming to analyze its kinetic performances and the physical significance of the intermediate output parameter should be definite. Research has shown that the recursive algorithm of the variational method is easier in programming but involves more calculation than other equations, while Lagrange equation and Newton-Euler are definite in the physical significance of the intermediate parameters with variational method second to them and Kane equation the worst. Given the factors above, the paper finally uses Lagrange equation method for it only involves the external force without considering the unknown constraining force. Thus, it is convenient for the control system design and the dynamic simulation of the robot before it can be used for the dynamic modeling of the robot. Based on this, the kind of Lagrange dynamic modeling method will be popularized for the multi-degree-freedom robot.
Lagrange dynamic equation
Lagrange mechanics method is based on energy item against system variables and time differential. The definition of Lagrange function is:
Where, L is Lagrange function, K is system kinetic energy, and P is system potential energy.
The definition of Lagrange equation is:
Where, L is Lagrange function, τ i is generalized force or torque of the system, q i is system variable, and is first-order derivative of system variable. Lagrange equation can be used to establish the kinetic equation without containing constraining force. In addition, it can be also used to solve the active force working on the system in the given system.
Thus, the generalized form of Lagrange kinetic equation for the robot is:
Where are displacement, speed, and accelerated speed of the joint;
τ ∈
M i is mass of bar i;
is position vector of bar centroid in the local coordinate system;
J
i
is the 4 × 4 pseudo-inertia force matrix of bar i in the local coordinate system;
I i is the 3 × 3 inertia force matrix of bar i’s centroid in the local coordinate system;
is position vector of any point on bar i in the local coordinate system;
T i is the 4 × 4 homogeneous transfer matrix of bar i from the local coordinate system to the fixed reference coordinate system;
g is acceleration vector of gravity in the reference coordinate system;
Moreover, D ij = D ji , D ijk = D ikj , D ijk = - D kji (k, i ≥ j), D iji = 0 (i ≥ j).
In Equation (1), Lagrange equation altogether requires [(128/3) n4 + (512/3) n3 + (844/3) n2 + (76/3) n] multiplications and [ (98/3) n4 + (781/6) n3 + (637/3) n2 + (107/6) n] additive operations. It requires a lot of calculation and is difficult for the multi-degree-freedom robot to do calculation and programming.
Lagrange kinetic equation of the robot which introduces Q matrix includes:
Rotational joint takes
Gliding joint takes
Then
So
Suppose
Where
Here ai-1 is vector of the third row for Ri-1 matrix. So
Substitute Equation (8) in Equation (2), the following can be obtained:
Where
In the equation
In the equation listed above, U
j
V
j
X
j
can be written in the recursive forms and they are respectively written as:
Then Equation (10) can be written as
Similarly, substitute Equation (9) in Equation (3), the following can be obtained:
Similarly, Equation (12) can be written as
Or
Similarly, the following can be obtained:
Where
So Equation (19) can be written as:
If
Substitute Equation (22) in Equations (15, 17, 18, 21), then
Then each item in Equation (1) can be calculated through Equations (23–25). In the calculation method, [(9/8) n4 + (11/6) n3 + (371/24) n2 + (451/4) n - 81] multiplicationsand [(5/4) n4 + (25/12) n3 + (49/3) n2 + (195/2) n - 71] additive operations make the largest amount of calculation. When n is 5, this method involves 1801 multiplications and 1566 additive operations. It can be seen that: this method has the advantage of small calculation amount and can greatly improve the calculation efficiency for the multi-degree-freedom robot.
The 5-DOF rehabilitation robot, which is as shown in Fig. 1, acts on hemiplegic patients suffering from the motor function damage. Its mode of motion follows the nerve-muscle repair rules [13] and conducts the rehabilitation therapy on patients gradually, stably and effectively. In this way, the single joint motion and the compound motion of multiple joints can be realized from large joints to small joints within a wide range, truly representing and simulating the motion training of patients in their daily lives [14].
The five degrees of freedom in the 5-DOF upper-limb rehabilitation robot are respectively shoulder extension/retraction (joint 1), bending/stretching (joint 2), elbow bending/stretching (joint 3), wrist bending/stretching (joint 5) and medial rotation/lateral rotation (joint 4) and they can simulate the human arm movement to the maximum. Every degree of freedom is an independent motor-driven joint as shown in Fig. 1. The upper arm and forearm of the rehabilitation robot can be adjustable in the position so that the right-and-left dressing can be realized to meet the specific requirements of patients. Moreover, the design also optimizes the structure of the mechanical arm and makes patients feel more comfortable while participating in the training. Meanwhile, the design becomes more suitable for dressing.
The mechanical arms of the 5-DOF upper-limb rehabilitation robot have five rotational joints. If the connecting rod is uniform in texture between joints, the two degrees of freedom (joint 4— wrist rotation and joint 5— wrist pitching) are mainly used to adjust the hand poses at the end in the mechanical arm. And they will not have a great influence on the static torque in the motion process of other joints. Moreover, the mass of bar 4 (m4) can be known from the structure parameter of the mechanical arm, and the mass of bar 5 (m5) is far less than that of bar 1 (m1), bar 2 (m2), and bar 3(m3). Therefore, the influence of the mass distribution can be ignored in calculating these two items. Then, it is considered that all the mass concentrates on the end of joint 3. Next, the position of the hand terminal point is fixed at the centre of the moving axis and it combines with the forearm as an integral whole before making calculations, namely m III = m3 + m4 + m5.
The upper-limb rehabilitation robot is simplified into the spatial 3-DOF connecting rod structure which comprises shoulder bending/stretching joint, shoulder extension/retraction joint and elbow bending/stretching joint. In the structure, the motor plane of shoulder bending/stretching joint is perpendicular to that of shoulder extension/retraction joint. Meanwhile, the shoulder joint and the elbow joint make the two-linking rod movement featuring bending and stretching on the same plane, which reestablishes the structure modeling and the coordinate system as shown in Fig. 2.
Where, l I is length of bar I between shoulder joint extension/retraction and shoulder joint bending/stretching, l c I is length centroid of bar I, m I is the mass of bar I, l II is length of bar II between shoulder joint bending/stretching and elbow joint bending/ stretching, l c II is length centroid of bar II, m II is the mass of bar II, l III is length from elbow joint bending/stretching to the terminal bar III, l c III is length centroid of bar III, and m III is the mass of bar III.
The bar transfer matrix is
The following can be calculated through Equations (15, 16, 19, 22, 23–25).
According to Equation (1), the following can be obtained:
The parameters of each item for the 5-DOF upper limb rehabilitation robot are shown in Tables 1 and 2.
Substitute that in the equation and get the torque equations of each joint for the 5-DOF upper-limb rehabilitation robot
Simulation
The 3D entity model of the 5-DOF upper-limb rehabilitation robot is established by using SolidWorks, as shown in Fig. 3.
The simulation model can easily complete the visual motion simulation analysis and obtain the tip trajectory of the robot and the real-time changes of driving joints to realize the simulation of the dynamic modeling. The control system simulation block diagram is established based on the3D entity model of 5-DOF upper-limb rehabilitation robot, as shown in Fig. 4.
The state equation described in Equation (10) is written into S-function in MATLAB. Then it is compared with the simulation results of the SimMechanics model in the environment of Simulink when the simulation time is 3 s. As shown in Fig. 5, Figure A is the comparison of zero-input and zero-state response curve, and Figure B is zero-state response curve when τ = T is input.
Conclusion
Clearly, it can be seen in the Simulation results that only minor difference exists between the simulation results of the mathematical model and those of SimMechanics. Thus, the established mathematical model is relatively accurate. Meanwhile, it is found that the input is non-linear to the output and that the input of τ1 influences all the inputs. Moreover, the coupling is also found between system input and system output. In conclusion, it can be seen from the simulation results that: this paper establishes the mathematical model of the upper-limb rehabilitation system control member and reflects the relationship between the system input torque and the motion based on the pseudo-inertia matrix and Lagrange equation. Briefly, this system is a non-linear coupling system of multi-variables.
Footnotes
Acknowledgments
This work is supported by “Fundamental Research Funds for the Central Universities” (N150804001), 2015 Liaoning province Doctoral Fund (201501142) and National Natural Science Foundation of China (61503070).
