Acessibilidade / Reportar erro

Kinematical modeling and optimal design of a biped robot joint parallel linkage

Abstract

This paper shows the design and analysis of a parallel three-dimensional linkage, conceived to work as the ankle and hip joints of an anthropometric biped robot. This kind of mechanism architecture provides low-weight, highly stable assemblies, and allows the use of actuator synergies. On the other hand, the mechanical transmission ratio is not usually favorable, and a non-linear kinematic model has to be derived and solved. The mechanism proposed here is driven by two rotational servo-actuators, and allows the joint to follow a specified angular trajectory determined by the gait pattern. Namely, the joint linkage can generate dorsi/plantar flexion and inversion/eversion of the ankle, and hip flexion/extension and adduction/abduction movements. Several approaches to the direct and inverse kinematical modeling of the linkage are presented and compared, regarding their accuracy and computational cost, where the last performance parameter is closely related to on-line computer implementing of the controller. Strategies to fit current gait angular amplitudes into the linkage workspace, as well as singularity analysis, are discussed. An optimization method was applied to find some geometrical design parameters of the linkage that minimizes a cost function. This function is the mean transmission ratio between the motor inputs and the joint output torques over a predefined dominion. The minimization is constrained to a minimum workspace area value and to minimum and maximum values of the design parameters. Several design solutions were generated. The chosen was one where the workspace is compatible to the gait amplitude requirements and that exhibits the lowest cost function. A biped robot using the linkage geometry designed in this paper has been built and tested with real human gait data acquired in a gait lab.

Parallel linkage; mechanisms; gait analysis; biped robot; optimal design


TECHNICAL PAPERS

Kinematical modeling and optimal design of a biped robot joint parallel linkage

Luciano L. MenegaldoI; Rogerio Eduardo S. SantanaII; Agenor de Toledo FleuryIII

IMember, ABCM lmeneg@ime.eb.br Military Institute of Engineering - IME Dep. of Mechanical and Materials Engineering 22290-270 Rio de Janeiro, RJ. Brazil

IIrog_santana@hotmail.com Escola Politécnica, University of São Paulo Mechanical Engineering Department 05508-900 Sao Paulo, SP. Brazil

IIIEmeritus Member, ABCM agfleury@fei.edu.br FEI University Center Mechanical Engineering Department 09850-901 São Bernardo do Campo, SP. Brazil and Escola Politécnica, University of São Paulo Mechanical Engineering Department

ABSTRACT

This paper shows the design and analysis of a parallel three-dimensional linkage, conceived to work as the ankle and hip joints of an anthropometric biped robot. This kind of mechanism architecture provides low-weight, highly stable assemblies, and allows the use of actuator synergies. On the other hand, the mechanical transmission ratio is not usually favorable, and a non-linear kinematic model has to be derived and solved. The mechanism proposed here is driven by two rotational servo-actuators, and allows the joint to follow a specified angular trajectory determined by the gait pattern. Namely, the joint linkage can generate dorsi/plantar flexion and inversion/eversion of the ankle, and hip flexion/extension and adduction/abduction movements. Several approaches to the direct and inverse kinematical modeling of the linkage are presented and compared, regarding their accuracy and computational cost, where the last performance parameter is closely related to on-line computer implementing of the controller. Strategies to fit current gait angular amplitudes into the linkage workspace, as well as singularity analysis, are discussed. An optimization method was applied to find some geometrical design parameters of the linkage that minimizes a cost function. This function is the mean transmission ratio between the motor inputs and the joint output torques over a predefined dominion. The minimization is constrained to a minimum workspace area value and to minimum and maximum values of the design parameters. Several design solutions were generated. The chosen was one where the workspace is compatible to the gait amplitude requirements and that exhibits the lowest cost function. A biped robot using the linkage geometry designed in this paper has been built and tested with real human gait data acquired in a gait lab.

Keywords: Parallel linkage, mechanisms, gait analysis, biped robot, optimal design

Introduction

In the recent years, a great amount of scientific and engineering research has been devoted to the development of legged robots able to reach gait patterns more or less similar to human beings. Towards this objective, many scientific papers have been published, focusing on different aspects of the problem. Some articles describes the overall design, control, mechanics and electronic issues of several robots being developed around the world (Shih, 1996; Sardain et al., 1998; Hirai et al., 1998; Yamaguchi et al., 1999; Sagakami et al., 2002; Buss et al., 2003; Kin et al. 2004; Azevedo et al., 2004). The robots found in these and other papers are usually built as active kinematic chains driven by electrical motors or linear actuators, present from 2 to 17 degrees of freedom, their joints are directly driven by the motors, in most of the cases, or use linkages to transmit movements. Some robots have trunk and arms, to aid the achievement of stable gaits through static or dynamic compensation approaches (the well-known ZMP Zero Moment Point, for example), while others have only the lower limbs. Other papers, instead of describing the whole engineering approaches, address particular aspects of the problem, such as the generation of energy efficient limb trajectories seeking simultaneously for body stability (Bessonet et al., 2004), based on neural networks (Gonçalves e Zampieri, 2003), analytic expressions (Albert and Gerth, 2003) or nonlinear oscillators, mimicking the spine Central Pattern Generators neuronal circuitry (Aoi and Tsuchiya, 2005). A few papers however address the specific problem of designing, modeling and optimizing mechanical linkages that should be used in legged robot locomotion. Ogata and Hirose (2004) have presented a parallel ankle mechanism to be used in quadruped robots. Shieh et al (1997) has shown the design and optimization of a one degree-of-freedom leg for an all-terrain walking machine.

This paper describes the kinematical modeling and design optimization of a parallel linkage used in a biped robot (Menegaldo et al., 2003; Santana, 2005). The linkage must transform the rotations and torques generated by a pair of DC servo-motors into robot's ankle movements, namely foot plantar flexion / dorsiflexion and foot inversion / eversion, as well as hip flexion/extension and adduction/abduction. We have chosen a parallel linkage architecture that has a high stiffness, low weight and reasonable transmission ratio between the servo-motors and the end effector, i.e., the foot. Parallel mechanisms have been used by some authors in ankle and hip joints for biped robots (Sardain et al., 1998; Paluska, 2000; Azevedo et al., 2004). The mechanisms presented by these authors consist in two linear actuators built with rotary DC motors and screw-nuts. The actuators are assembled in a spatial mechanism with two parallel rod-crank systems, and used three universal (cardanic) and two spherical joints. This two degrees-of-freedom spatial mechanism is very robust and may provide a high torque with reasonable velocity and range-of-motion.

Here, we propose an alternative assembly to this mechanism, using low-cost commercially available rotational servo-actuators, usually used in RC airplanes and boats. In addition, four spherical joints and only one cardanic joint is used, then lowering the cost of the linkage components. The linkage drawing for ankle and hip, and an overall view of the robot is shown in Figures 1 and 2. If both servo bars rotate upward, the foot makes a plantar flexion. If they rotate downward, the foot does a dorsiflexion. If one bar rotates up and the other down, the foot may perform an inversion or an eversion. This class of linkages has an important advantage of using simultaneously the torque of two servo-actuators to perform the same movement. On the other hand, the relation between the servos and the joints angles is not trivial, and requires a kinematical model of the linkage.



A function relating servo angles to joint angles is derived and some properties of the kinematic and kinetic behavior of the linkage are discussed, specially the allowable workspace size and shape and the transmission ratio. An optimization problem is then formulated to find the optimal dimensions of the linkage bars regarding the maximization of the transmission ratio, at the same time that a minimal workspace size works as optimization constraint. The achieved solutions are then compared to normal data from experimental gait analysis. The results, although not exhaustively explored, show that the achieved design parameters allow the construction of a linkage with a feasible workspace for normal gait. On the other hand, the increasing of the minimal workspace size led in the optimization process to the increase of the cost function value.

Nomenclature

f1 = inversion/eversion angle, degrees

f2 = plantar flexion/extension ankle, degrees

a1,2 = servo angles, degrees

(xi, yi, zi) = local reference frame no. i

TM1, M2= torques delivered by the servo-actuators 1 and 2, N.m

Ta = vector of external torques applied in foot, N.m

= rotation matrix from system i to j

h = cost function, dimensionless

W = workspace size, dimensionless

Jx = Jacobian matrix with relation to f = [f1, f2]

Jq = Jacobian matrix with relation to a = [a1, a2]

A, B, C, L2: dimensional parameters, m

Linkage Kinematics

After the linkage architecture has been selected, the detailed design and optimization requires the development of a kinematic mathematical model. Such a model is called direct kinematic model when one wants to find the final configuration of the linkage as a function of the input or of the generalized coordinates. Here, we look for finding the foot angles (inversion/eversion f1 and ankle plantar flexion/extension f2) as a function of the both servo angles a1 and a2. Direct kinematics is useful for design and computer animation purposes. However, for control purposes, it is necessary to have an inverse kinematics expression that allows one to find the a1,2 servo angles as a function of f1,2. These are the variables where the gait kinematics is usually expressed. The linkage position analysis for both direct and inverse kinematic problems will be addressed bellow. The modeling process is the same for the design of the hip joint linkage, and therefore the development shall be made only for the ankle.

Observing Figure 3, the ankle reference frames O0-x0y0z 0 (base), O1-x1y1z 1 and O4-x4y4z 4 are fixed to the same rigid body, the robot shank shaft. The reference frames O3-x3y3z 3 and O6-x6y6z 6 are in the foot platform, while frames O2-x2y2z 2 and O5-x5y5z 5 are, in turn, fixed to the bars connected to the actuators.


The rotation matrix which transforms the base system O0-x0y0z 0 to O3-x3y3z 3 can be calculated considering that the foot rotates an angle f2 around z0 and f1 around y0. The successive rotations give the transforming matrix:

The displacement vector , expressed in the base reference frame is given by

The rotation matrix that specifies the O2-x2y2z 2 frame in relation to O1-x1y1z 1 is given by

Therefore, the coordinates of the System 2 (x2, y2, z2) origin, i.e., the vector in the base reference frame, can be expressed by:

The distance between the points O2 and O3 is the same as the bar L2 length:

Substituting Eqs. (2) and (4) in Eq. (5), a function relating the foot angles f1 and f2 to the servo angle a1 is found:

For the opposite kinematic chain, if one uses the same reasoning, the relationship between f1 and f2 and the other servo angle a2 can be established as:

Inverse Kinematics

The inverse kinematic problem consists in finding the servo angles a1,2 that generates the desired foot angles f1,2. Equation (6) can be solved for a1 by considering:

where:

Then one may use the following change of variables:

where

Eq. (8) is then rewritten as:

This is a 2nd order algebraic equation in t, that after solved and transformed back to a1 gives:

Only one of the solutions of the above equation is physically feasible. The same reasoning can be applied to the other side of the linkage, giving

where:

Direct Kinematics

The solution given by Equations (10) and (11) is suitable for control purposes, as the foot angle is controlled through the servo angles. On the other hand, if the servo angles are known and the foot angles must be found, e.g., for generating a computer graphical animation, designing, or providing information to a hierarchical controller, both equations (6) and (7) shall be solved simultaneously, as a non-linear algebraic system. The system has been solved with Least-Squares algorithms (Matlab fsolve function) or Newton methods (Santana, 2005), and the results are very similar. An alternative solution, that uses interpolating polynomials, gives faster answers, suitable for real-time applications:

By varying the foot angles -15°<f1<15° and -15°<f2<15°, with 0.5º step-size, the servo a1,2 angles are found through the inverse kinematic problem, that is through solving Equations (10) and (11). Collecting a series of n solutions and arranging them in matrix-form:

The non-square linear system may be solved through the pseudo-inverse matrix:

where the At is the transpose of matrix A.

The same procedure is used to find the b coefficients that fit the flexion/extension angles as a function of the servo angles. The three solutions, namely, Least Squares, Newton and Polynomials, have been implemented with very similar results. As it should be expected, the third method gives much faster results when compared to Matlab fsolve and Newton methods. The same analysis is performed to find the kinematical model of the hip. In this case, the mechanism should be reversed, and the thigh substitutes the foot in the former analysis. The movements are the flexion-extension of the thigh, in the saggital plane, and adduction-abduction in the frontal one. The "fixed" part of the hip linkage, to where the two servos are attached, is no longer the calf, as in the case of the ankle, but now the bar that connects the two legs, i.e., the "pelvis".

Workspace Analysis

The proposed linkage must generate the joint angle limits usually observed in normal gait. Nevertheless, the dimensions of the linkage constitutive elements strongly influence the shape and the size of the workspace. One of the constraints is that the solution of equations (6) and (7) must have only real parts. Varying the ankle angles in the interval

-90°<f1<90° and -90°<f2<90° 1°step-size

one can find the region of the domain where both a1 and a2 are real. Figure 4 has been generated with the dimensions of a linkage prototype with A=55.3 mm, B=68.4 mm and L2=34.2 mm.


On the other hand, the spherical joints used to assembly the mechanism (TB 1/4" PFD, Termicom S. A., São Paulo, Brazil) allows only a limited amount of angular displacements, namely ± 21º in each direction. These angular displacements impose restrictions to the robot movements which are expressed by the limits:

-25°<f1<25° and -25°<f2<25° 0.5°step-size

If the values of the angles of the four joints are inside the allowable limits, the solution is considered as valid. In Figure 4, the white region corresponds to the solutions obtained from the first test (only real solutions), and the darker from the second (spherical joint limits).

Linkage Optimal Design

The objective of the linkage optimal design is to find the best arrangement of the A, B, C and L2 robot dimensions such that the torque is maximally transmitted between the servos and the foot. However, as inequality constraints, these parameters must not exceed maximum mechanical construction limits. The optimization problem can be formulated as minimizing the cost function h:

If the solution of the kinematical model is real and relative angles of the bars joined with spherical joints do not exceed the constructive constraints, the parameter l is computed for this particular point as:

where n is the number of points of the discretized domain where li has been evaluated for a given feasible pair f1 and f2. TM1 and TM2 are the torques delivered by the servo-actuators and Ta is a vector of the torques applied in foot or pelvis Ta = [Tf1 Tf2]t.

The [f1, f2] limits for this domain have been fixed inside the interval [-25º, 25º]. To evaluate l, Equations (6) and (7) must be differentiated with relation to time.

By defining the Jacobian matrices Jx and Jq and the vectors and

the following relation is found:

It can be shown (Craig, 1986) that for the torques, the above equation can be written as:

For all the simulated tests, unitary torque values were considered for Ta. In addition, the minimizing of the cost function (15), evaluated from eqs. (16) and (20), is constrained to minimal and maximum values of the design parameters as well as constrained to the limits of the Workspace (W):

The Workspace (W) is evaluated as the ratio of the total number of points of the discretized domain (m) to the number of valid points, n.

Results

Three solutions have been investigated for the linkage optimal design. In the first, the dimensional parameters of a linkage prototype (Menegaldo et al., 2003) are used to find reference values for W and h. For the second and the third solutions, the first one is used as the initial guess for the optimization routine (Matlab fmincon). In the second case, the workspace W has been fixed as W=0.3 and in the third, W=0.25. The optimized parameters as well as the values of the objective function h and the achieved workspace W are shown in Table 1. The B parameter was fixed in 68.4 mm for all cases. Each solution took around 10 minutes CPU time using a Pentium III 600MHz PC Desktop.

To verify if the obtained linkage designs are able to reach the joint angles usually observed in normal human gait, real data from gait lab analysis (from Normative Database of AACD – Associação de Assistência à Criança Defeituosa, São Paulo, Brazil) have been plotted over the workspace diagram of the solutions. Mean gait data from AACD Vicon System, namely foot plantar flexion / dorsiflexion and foot inversion / eversion, as well as hip flexion/extension and adduction/abduction have been plotted over a linkage workspace analysis diagram. The workspaces obtained for solutions 2 and 3 (white area), superposed to the real gait trajectories are shown in Figure 5. Part of the figure is printed with "x", points corresponding to the linkage workspace where the angles of the spherical joints exceed the maximum constructive angle of 21º, i.e., where the l parameter of Eq. (16) is evaluated. Solution 2 is designed to present a smaller admissible workspace than Solution 3, with a resulting smaller cost function and a better transmission ratio. However, as one can observe from Figure 5 (up), the joint angles required to perform a normal gait cycle will not be reached for some angular positions, where the continuous line crosses the "x" printed region. When the workspace is augmented to W=0.30 (down), the transmission ratio is worse, but the all the gait cycle positions can be achieved by the linkage, both for hip and ankle movements.


Figures 6 and 7 show the ankle and hip mechanisms as built in the biped robot. The robot components have been machined in Al alloys at IPT (Sao Paulo State Institute for Technological Research). The universal joint was specified as DIN 808-G (Imetex, Sao Paulo, Brazil), with 16mm of diameter and 34mm of total length. The chosen servo-actuators were the ones that presented the best maximum torque among the available for RC applications, the HOBBICO CS-80 (maximum torque of 2.4 N.m). The built robot has been tested with real gait data and has been able to reproduce normal and pathological gait patterns. For more details on the robot's mechanical and electronic parts, sensors and testing, one may see Santana (2005). Inverse kinematics equations have been included on the robot control software, written in C language, to drive a microcontrolled board able to deliver a Pulse Width Modulated (PWM) signal proportional to each of the servo angles a.



Discussion

This paper has shown the kinematical model and dimensional optimization of a two degrees-of-freedom spatial parallel linkage, designed to work as the ankle and hip joints of a biped robot. The proposed mechanism brings out the novelty of using rotational instead of linear motor actuators, allowing the use of low-cost RC model servos and the reduction in the number of universal joints. Due to low nominal torque delivered by the servo, an optimization approach has allowed the design of mechanism dimensions that lead to reasonable torque transmission ratio without violating the minimal joint angle constraints necessary to achieve at least a pattern of normal human gait.

Computation of the objective function value for the built prototype (Solution 1) has shown that the torque transmission ratio relationship for this particular solution is good, when compared to the optimized solutions. However, Solution 1 is not able to reach all the workspace points required for normal gait. The optimization approach has shown that the workspace size should be controlled by defining a constraint Wmin. Nevertheless, the increasing of the workspace size has led to a less-efficient solution from the torque transmission ratio point of view, as can be observed in Table 1.

Solution 2 is acceptable, although gait trajectory trespasses the allowable limits of linkage operation in some few regions. If a small reduction in joint amplitude is acceptable for some particular robot application, the geometry obtained from Solution 2 should be used. On the other hand, if gait trajectory must be followed in all the span of the real gait data used, Solution 3 should be the most appropriate choice. The cost function h is an estimator of the overall transmission ratio of the linkage. Although this ratio is variable along the workspace, the estimator seems to be a good indicative design index.

A prototype with the design dimensions obtained from both solutions has been built. This anthropometrical biped robot (Santana, 2005) has been able to reproduce assisted real gait patterns, both normal and pathological, acquired from gait lab, a fact that suggests that the proposed joint design was adequate both from transmission ratio and workspace points of view. Future developments on this research line point towards the refinement of the electronics, control software and user interface on the existing robot, before more sophisticated control algorithms may be implemented to achieve autonomous gait.

Acknowledgments

The authors are deeply acknowledged to the Telecommunications and Control Department and to the Mechanical Engineering Department, both of Polytechnic School, University of São Paulo, and to the São Paulo State Institute for Technological Research for financial support. The author's scholarships from CAPES (Coordenação de Aperfeiçoamento de Pessoal de Nível Superior) and CNPq (Conselho Nacional de Desenvolvimento Científico e Tecnológico) are also deeply appreciated.

Paper accepted: June, 2005.

Presented at XI DINAME – International Symposium on Dynamic Problems of Mechanics, February 28th - March 4th, 2005, Ouro Preto. MG. Brazil.

Technical Editors: J.R.F. Arruda and D.A. Rade.

  • Albert, A., Gerth, W., 2003, "Analytic Path Planning Algorithms for Bipedal Robots without a Trunk", Journal of Intelligent and Robotic Systems Vol. 36, pp. 109127.
  • Aoi, S. and Tsuchiya, K., 2005, "Locomotion Control of a Biped Robot Using Nonlinear Oscillators", Autonomous Robots, Vol. 19, No. 3, pp. 219-232.
  • Azevedo, C., Andreff, N. and Arias, S., 2004, "BIPedal Walking: from gait design to experimental analysis, Mechatronics", Vol. 14, No. 6, pp. 639-665.
  • Bessonnet G., Chessé, S. and Sardain, P., 2004, "Optimal Gait Synthesis of a Seven-Link Planar Biped", The International Journal of Robotics Research, Vol. 23, No. 10-11, pp. 1059-1073.
  • Buss, M., Hardt, M., Kiener, J., Sobotka, M., Stelzer, M., von Stryk, O. and Wollherr D., 2003, "Towards an Autonomous, Humanoid, and Dynamically Walking Robot: Modeling, Optimal Trajectory Planning, Hardware Architecture, and Experiments", Proceedings of the 3rd International Conference on Humanoid Robots, Karlsruhe, Germany.
  • Craig, J.J., 1986, "Introduction to Robotics", Addison-Wesley Publishin Inc., 303p.
  • Gonçalves J.B. and Zampieri, D.E., 2003, "Recurrent neural network approaches for biped walking robot based on zero-moment point criterion", Journal of the Brazilian Soc. Mechanical Sciences & Engineering, Vol.25, No.1, pp. 69-78.
  • Hirai, K., Hirose, M., Haikawa, Y., Takenaka, T., 1998, "The development of Honda humanoid robot", Proceedings of the IEEE International Conference on Robotics and Automation, pp. 1321-1326.
  • Kim, J.H., Kim, D.H., Kim, Y.J., Park, K.H., Park, J.H., Moon, C.K., Ryu, J.H., Seow K.T. and Koh, K.C, 2004, "Humanoid Robot HanSaRam : Recent Progress and Developments", Journal of Advanced Computational Intelligence, Vol. 8, No. 1, pp. 45-55.
  • Lam, P., 2002, "Walking Algorithm for Small Humanoid", M.S. Thesis, Computer Science Center for Image Technology and Robotics, Department of Computer Science University of Auckland, New Zealand, 84 p.
  • Menegaldo, L.L. le Diagon, V., Villar, C., Fleury, A. T., Piñero-Valle, A., Soares, A., Pagnota, M. , Santana, R. And Cruz, J.J., 2003, "Conceptual and mechanical design of an anthropometric-scaled biped robot for reproducing normal and pathological human gait", Proceedings of 17th International Congress of Mechanical Engineering, São Paulo, Brazil.
  • Ogata, M. and Hirose, S., 2004 "Study on Ankle Mechanism for Walking Robots -Development of 2 D.O.F. Coupled Drive Ankle Mechanism with Wide Motion Range", Proceedings of 2004 IEEE International Conference on Intelligent Robots and Systems, Sendai, Japan.
  • Paluska, D. J., 2000, "Design of a Humanoid Biped for Walking Research", M.S. Thesis, Department of Mechanical Engineering, Massachusetts Institute of Technology
  • Sakagami, Y., Watanabe, R., Ayoama, C., Matsunaga, S., Higaki, N., Fujimura, K., 2002, "The Intelligent ASIMO: System overview and integration", Proceedings of IEEE Intl. Conference on Intelligent Robots and Systems, Lausanne, Switzerland
  • Santana, R.E.S., 2005, "Desing of a Biped Robot to Reproduce human gait" (In Portuguese), M.Sc. Thesis, Mechanical Engineering Department, Polytechnic School, University of São Paulo, Sao Paulo, Brazil, 162 p.
  • Sardain P., Rostami M. and Bessonnet G., 1998, "An anthropomorphic biped robot: dynamic concepts and technological design", IEEE Transactions on Systems, Man and Cybernetics, Vol.28, pp. 82338.
  • Shieh, W.B., Tsai, L.W. and Azarm, S., 1997, "Design and optimization of a one-degree-of-freedom six-bar leg mechanism for a walking machine", Journal of Robotic Systems, Vol. 14, No. 12, pp. 871-880.
  • Shih, C. L., 1996, "The dynamics and control of a biped walking robot with seven degrees of freedom", Journal of Dynamic Sytems, Measurement and Control, Vol. 118, No. 4, pp. 683-690.
  • Yamaguchi, J., Soga E., Inoue, S. and Takanishi, A.,1999, "Development of a Bipedal Humanoid Robot- Control Method of Whole Body Cooperative Dynamic Biped Walking", Proceedings of the 1999 IEEE International Conference on Robotics & Automation, Detroit, Michigan.

Publication Dates

  • Publication in this collection
    08 Oct 2007
  • Date of issue
    Dec 2006

History

  • Accepted
    June 2005
  • Received
    June 2005
Associação Brasileira de Engenharia e Ciências Mecânicas - ABCM Av. Rio Branco, 124 - 14. Andar, 20040-001 Rio de Janeiro RJ - Brazil, Tel.: +55 21 2221-0438, Fax: +55 21 2509-7129 - Rio de Janeiro - RJ - Brazil
E-mail: abcm@abcm.org.br