CN101898594B - Walking method for dynamic biped robot - Google Patents

Walking method for dynamic biped robot Download PDF

Info

Publication number
CN101898594B
CN101898594B CN2010102398439A CN201010239843A CN101898594B CN 101898594 B CN101898594 B CN 101898594B CN 2010102398439 A CN2010102398439 A CN 2010102398439A CN 201010239843 A CN201010239843 A CN 201010239843A CN 101898594 B CN101898594 B CN 101898594B
Authority
CN
China
Prior art keywords
leg
robot
thigh
walking
supporting leg
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2010102398439A
Other languages
Chinese (zh)
Other versions
CN101898594A (en
Inventor
赵明国
张晓悦
董浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Original Assignee
Tsinghua University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tsinghua University filed Critical Tsinghua University
Priority to CN2010102398439A priority Critical patent/CN101898594B/en
Publication of CN101898594A publication Critical patent/CN101898594A/en
Application granted granted Critical
Publication of CN101898594B publication Critical patent/CN101898594B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Manipulator (AREA)

Abstract

一种动力式双足机器人行走方法,属于机器人行走控制技术领域,其特征是,机器人行走过程中,在支撑腿上加入动力,使支撑腿在一个行走周期中主动地完成伸长和缩短,通过控制支撑腿伸长和缩短的位置,实现对系统的势能补入。该行走方法的步态由五个关键帧确定,并由两个角度参数描述,关键帧之间由一阶导数连续的光滑曲线连接。在样机上,机器人能在这种动力式行走方法的控制下,实现稳定且不同速度的行走。

Figure 201010239843

A walking method for a powered biped robot, which belongs to the technical field of robot walking control, is characterized in that, during the walking process of the robot, power is added to the supporting legs to make the supporting legs actively complete elongation and shortening in one walking cycle, through Control the extension and shortening position of the supporting legs to realize the potential energy supplement to the system. The gait of this walking method is determined by five keyframes and described by two angle parameters, and the keyframes are connected by smooth curves with continuous first-order derivatives. On the prototype, the robot can walk stably and at different speeds under the control of this dynamic walking method.

Figure 201010239843

Description

一种动力式双足机器人行走方法A walking method for a powered biped robot

技术领域 technical field

本发明是基于被动行走原理的一种双足动力式行走方法,通过在机器人支撑腿上加入动力,实现动力式双足机器人的开环行走控制。The invention is a biped powered walking method based on the principle of passive walking, and realizes the open-loop walking control of the powered biped robot by adding power to the supporting legs of the robot.

背景技术 Background technique

如何实现快速、稳定行走是双足机器人研究中的重点和难点。目前,双足机器人的行走方法主要包括静态行走,ZMP行走,以及极限环行走。其中静态行走是出现最早的也是最基础的一种行走方法,其要求行走过程中机器人的质心始终保持在地面上双脚构成的多边形以内,这种方法很容易保持机器人的稳定,但也极大的限制了机器人的行走速度。ZMP理论要求机器人的零矩点始终保持在双脚构成的多边形以内,这种方法在一定程度上比静态行走减少了人为约束,在样机应用上取得了巨大的成功,包括本田公司的ASIMO,日本AIST研究所的HRP4,以及索尼公司的Qrio等。然而,根据ZMP理论设计的机器人在自然步态和能量效率等方面很难再有突破。How to achieve fast and stable walking is the focus and difficulty in the research of biped robots. At present, the walking methods of biped robots mainly include static walking, ZMP walking, and limit cycle walking. Among them, static walking is the earliest and most basic walking method, which requires that the center of mass of the robot is always kept within the polygon formed by the feet on the ground during the walking process. This method is easy to maintain the stability of the robot, but it is also extremely limits the walking speed of the robot. The ZMP theory requires that the zero-moment point of the robot is always kept within the polygon formed by the feet. This method reduces artificial constraints to a certain extent compared to static walking, and has achieved great success in prototype applications, including Honda's ASIMO, Japan HRP4 of AIST Research Institute, and Qrio of Sony Corporation. However, it is difficult for robots designed according to the ZMP theory to make breakthroughs in terms of natural gait and energy efficiency.

极限环行走是近年来出现的一种新的行走理念,它的提出受到了人类行走的启发,要求周期性的步态序列是轨道稳定的,即步态序列可以在状态空间中形成一个稳定的极限环,但在步态周期中的任意瞬时并不具备局部稳定性。这种方法对机器人的人为约束较少,充分地利用了重力场下机器人自身的动力学特性,因而具有较大的空间提高机器人行走的能量效率、速度、以及抗干扰能力。目前,采用极限环行走原理的成功实例包括MIT的Spring Flamingo及其虚拟模型控制方法,法国科学院的Rabbit及其混合零动力学控制方法,Geng等人的RunBot及其中枢神经控制方法,以及CMU的双足机器人及其再励学习方法等。这些机器人在行走速度、能量效率、以及抗干扰能力等方面实现了较大的突破,但步态生成方法较为繁琐,有些则需要使用机器学习,对实验环境的要求较高。Limit cycle walking is a new walking concept that has emerged in recent years. Its proposal is inspired by human walking and requires that the periodic gait sequence be orbitally stable, that is, the gait sequence can form a stable state in the state space. Limit cycle, but does not have local stability at any instant in the gait cycle. This method has fewer artificial constraints on the robot, and fully utilizes the dynamic characteristics of the robot itself under the gravity field, so it has a large space to improve the energy efficiency, speed, and anti-interference ability of the robot walking. At present, the successful examples using the principle of limit cycle walking include MIT's Spring Flamingo and its virtual model control method, the French Academy of Sciences' Rabbit and its hybrid zero dynamics control method, Geng et al.'s RunBot and its central nervous system control method, and CMU's Biped robot and its reinforcement learning method, etc. These robots have achieved great breakthroughs in terms of walking speed, energy efficiency, and anti-interference ability, but the gait generation method is relatively cumbersome, and some require the use of machine learning, which has higher requirements for the experimental environment.

被动行走是极限环行走的一种典型范例,机器人沿微倾的斜坡向下行走,不需要施加任何控制,斜坡提供的重力势能转化为机器人行走所需的动能。被动行走生成的步态非常自然,能量效率可以达到人类的水平,约是ZMP行走机器人ASIMO的十几分之一。为了将被动行走在平地实现,Cornell大学使用了在机器人脚踝处增加动力的方法,在每步摆动腿与地面发生碰撞后脚掌蹬地,为行走注入能量。Deflt大学则采用了在摆动腿与地面碰撞前夹紧髋关节的做法,同样达到了补入能量的目的。但是以上两种方法的能量补入时机均位于碰撞时刻前后,能量为瞬时补入,要求具有极高的能量密度,因此在很大程度上限制了机器人的行走速度,同时这种能量补入方法会给步态造成较大的扰动,降低了行走的稳定性。Passive walking is a typical example of limit cycle walking. The robot walks down a slightly inclined slope without any control. The gravitational potential energy provided by the slope is converted into the kinetic energy required for the robot to walk. The gait generated by passive walking is very natural, and the energy efficiency can reach the human level, which is about one tenth of that of ZMP walking robot ASIMO. In order to achieve passive walking on flat ground, Cornell University uses a method of increasing power at the ankle of the robot. After each swinging leg collides with the ground, the soles of the feet push the ground to inject energy into walking. Deflt University uses the method of clamping the hip joint before the swing leg hits the ground, which also achieves the purpose of replenishing energy. However, the energy replenishment timing of the above two methods is located before and after the collision time, and the energy is replenished instantaneously, which requires extremely high energy density, which limits the walking speed of the robot to a large extent. At the same time, this energy replenishment method It will cause greater disturbance to the gait and reduce the stability of walking.

本课题组在以前的专利ZL200810116148.6中提出了一种平地动力行走方法,它通过在行走中主动地伸长支撑腿并且缩短摆动腿来补充系统质心的势能,实现行走中的能量补充和损失的平衡。本发明所述的动力双足机器人行走方法是以被动行走原理为基础,通过在一步行走中先主动伸长再主动缩短支撑腿来补充系统质心的势能。这种方法与之前专利中的做法相比,同样消除了在摆动腿与地面碰撞瞬间补入能量对行走稳定性造成的影响,能够使机器人达到较高的行走稳定性,并且它也只需要开环控制,实现简单且计算量非常小,因此适用于对实时性要求较高的场合。此外,它将控制集中加在支撑腿上,而不需要对摆动腿进行控制,减少了控制的变量,并且这种控制方法可以使系统补入的能量是一个固定值,从而具有能量渐进平衡的优势。In the previous patent ZL200810116148.6, our research group proposed a method of power walking on flat ground, which supplements the potential energy of the center of mass of the system by actively extending the supporting legs and shortening the swinging legs during walking, so as to realize energy supplementation and loss during walking balance. The walking method of the powered biped robot in the present invention is based on the principle of passive walking, and supplements the potential energy of the center of mass of the system by first actively extending and then actively shortening the supporting legs during one-step walking. Compared with the method in the previous patent, this method also eliminates the impact on the walking stability caused by the energy added at the moment the swing leg collides with the ground, enabling the robot to achieve higher walking stability, and it only needs to start Loop control is simple to implement and has a very small amount of calculation, so it is suitable for occasions that require high real-time performance. In addition, it concentrates the control on the supporting legs instead of controlling the swinging legs, which reduces the variables of control, and this control method can make the energy added to the system a fixed value, thus having a progressive energy balance Advantage.

发明内容 Contents of the invention

本发明的目的在于从被动行走原理出发,提出一种在支撑腿上加入动力的方法实现双足机器人在平地上的动力式行走方法。The purpose of the present invention is to propose a method of adding power to the supporting legs based on the principle of passive walking to realize the dynamic walking method of the biped robot on flat ground.

本发明所述的双足机器人模型如图1所示,其中1为机器人身体,质量为M,2为支撑腿大腿,3为支撑腿小腿,4为等效支撑腿(由支撑腿大腿2的顶端到支撑腿小腿3末端的连线构成),5为摆动腿大腿,6为摆动腿小腿,7为等效摆动腿(由摆动腿大腿5的顶端到摆动腿小腿6末端的连线构成)。机器人具有三个角度θ、α、β,其中θ和α为控制机器人行走的关键角度,θ为等效支撑腿4与等效摆动腿7之间的夹角;α为支撑腿大腿2与等效支撑腿4之间的夹角,决定等效支撑腿4的长度,当支撑腿膝盖弯曲时α>0,支撑腿膝盖伸直时α=0;β为摆动腿5与等效摆动腿7之间的夹角,决定等效摆动腿的长度,当摆动腿膝盖弯曲时β>0,摆动膝盖伸直时β=0,由于摆动腿在行走过程中不需要控制,所以β保持一个常数。如此定义关键角度方便确定两等效腿之间的夹角及两等效腿的长度。机器人的一步行走由摆动过程和碰撞组成,其中摆动过程指机器人支撑腿末端着地,以末端为轴向前摆动,同时摆动腿在空中由支撑腿后方摆动到支撑腿前方;碰撞指摆动过程结束时摆动腿末端与地面发生瞬时间碰撞,同时支撑腿离地。碰撞后摆动腿转换为支撑腿,支撑腿转换为摆动腿。机器人的一步行走由上一步碰撞后开始,经摆动过程至碰撞后结束。The biped robot model of the present invention is as shown in Figure 1, and wherein 1 is robot body, and quality is M, and 2 is supporting leg thigh, and 3 is supporting leg calf, and 4 is equivalent supporting leg (by supporting leg thigh 2 5 is the swing leg thigh, 6 is the swing leg calf, and 7 is the equivalent swing leg (constituted by the connection line from the top of the swing leg thigh 5 to the swing leg calf 6 end) . The robot has three angles θ, α, β, where θ and α are the key angles for controlling the walking of the robot, θ is the angle between the equivalent support leg 4 and the equivalent swing leg 7; α is the support leg thigh 2 and the equal The angle between the effective support legs 4 determines the length of the equivalent support legs 4, when the support leg knees are bent, α>0, and when the support leg knees are straight, α=0; β is the swing leg 5 and the equivalent swing leg 7 The angle between them determines the length of the equivalent swing leg. When the swing leg knee is bent, β>0, and when the swing knee is straight, β=0. Since the swing leg does not need to be controlled during walking, β remains a constant. It is convenient to define the key angle in this way to determine the angle between the two equivalent legs and the length of the two equivalent legs. The one-step walk of the robot consists of a swing process and a collision. The swing process refers to the end of the supporting leg of the robot touching the ground, and swings forward with the end as the axis. At the same time, the swing leg swings in the air from the back of the support leg to the front of the support leg. The end of the swinging leg hits the ground momentarily while the supporting leg lifts off the ground. After a collision the swing leg converts to a support leg and the support leg converts to a swing leg. The one-step walk of the robot starts after the collision of the previous step, and ends after the collision through the swing process.

本发明所述的双足机器人行走方法的能量转换原理如图2所示,为了突出支撑腿的作用,图中只在一步的始末两个瞬间画出两条腿,中间时刻都略去了摆动腿。机器人从A时刻起步,此时等效支撑腿与等效摆动腿等长,摆动腿即将离地,离地后,支撑腿自由摆动到时刻B。机器人在一步摆动过程中通过先伸直支撑腿膝关节(从时刻B到时刻C),然后又弯曲支撑腿膝关节(从时刻C到时刻D),从而达到伸长和缩短等效支撑腿4的长度,来补充系统的势能。支撑腿膝关节弯曲后保持不变,继续向前摆动,两腿以一个固定的角度与地面发生碰撞,完成一个周期的行走。支撑腿伸直的过程是给系统补入能量的过程,系统能量增加E1。为了保证在碰撞时两腿等长,并且支撑腿不可能无限地伸长,所以在一步的行走过程中,支撑腿在与地面发生碰撞前还要弯曲回原长,支撑腿弯曲的过程是系统能量减少的过程,系统能量减少E2。为了使机器人在一步的行走过程中总能量增加,即E1和E2的差Ec大于零,必须严格控制好支撑腿伸直和缩短的位置,即保证支撑腿伸直的位置相比于缩短的位置更靠近竖直位置,才能使系统在摆动过程中的总能量是增加的。在这种能量补入的方法中,只考虑了支撑腿上加入的动力对系统补入能量的作用,由于我们只考虑了质量集中在髋部,忽略了腿部质量的模型,摆动腿对系统的能量没有影响,所以在行走中保持弯曲不变,并且假设摆动腿总能摆到与支撑腿夹角为一固定值的锁髋状态。The energy conversion principle of the biped robot walking method of the present invention is shown in Figure 2. In order to highlight the role of the supporting legs, the two legs are only drawn at the beginning and end of a step in the figure, and the swinging is omitted at the middle moments. leg. The robot starts at time A. At this time, the equivalent supporting leg is the same length as the equivalent swinging leg. The swinging leg is about to leave the ground. After leaving the ground, the supporting leg swings freely until time B. In the process of one-step swing, the robot first straightens the knee joint of the supporting leg (from time B to time C), and then bends the knee joint of the supporting leg (from time C to time D), so as to achieve the elongation and shortening of the equivalent supporting leg 4 length to supplement the potential energy of the system. After the knee joint of the supporting leg is bent, it remains unchanged and continues to swing forward. The two legs collide with the ground at a fixed angle to complete a cycle of walking. The process of straightening the supporting legs is the process of adding energy to the system, and the energy of the system increases by E 1 . In order to ensure that the two legs are equal in length during a collision, and that the supporting legs cannot be extended infinitely, during a one-step walking process, the supporting legs must be bent back to their original length before colliding with the ground. The bending process of the supporting legs is a systematic In the process of energy reduction, the system energy decreases by E 2 . In order to increase the total energy of the robot during one step of walking, that is, the difference E c between E 1 and E 2 is greater than zero, it is necessary to strictly control the straightening and shortening positions of the supporting legs, that is, to ensure that the straightening position of the supporting legs is compared to The shortened position is closer to the vertical position, so that the total energy of the system during the swing process can be increased. In this method of energy supplementation, only the effect of the power added on the supporting leg on the energy supplementation of the system is considered. Since we only consider the mass concentrated at the hip and ignore the model of the mass of the leg, the impact of the swinging leg on the system The energy has no effect, so the bending remains unchanged during walking, and it is assumed that the swinging leg can always swing to a hip-locked state where the angle between the swinging leg and the supporting leg is a fixed value.

本发明所述的双足机器人具有能量渐进平衡的特性,这种特性的表现如下。在一步行走过程中,系统能量的增加只与支撑腿伸直和弯曲的位置有关,而与支撑腿起始的速度无关。当机器人支撑腿伸直和弯曲的位置固定之后,它在行走每一步中补入的能量就是一个固定的常数,当补入的能量和摆动腿碰撞损失的能量一样时,机器人的行走就进入极限环,碰撞后的起始速度为不动点处的速度。如果机器人起始的速度大于不动点处的速度,由于摆动腿碰撞损失的能量正比于初始速度,所以碰撞损失的能量大于补入的能量,从而使下一步的起始速度减小,直到与不动点处速度相等;反之,如果机器人起始的速度小于不动点处的速度,碰撞损失的能量小于补入的能量,从而使下一步的起始速度增大,直到与不动点处的速度相等。The biped robot described in the present invention has the characteristic of progressive balance of energy, and the performance of this characteristic is as follows. During one-step walking, the increase in system energy is only related to the straightened and bent positions of the supporting leg, but not to the initial velocity of the supporting leg. When the position of straightening and bending of the robot's supporting legs is fixed, the energy added in each step of walking is a fixed constant. When the added energy is the same as the energy lost in the collision of the swinging legs, the robot's walking will enter the limit The initial velocity after the collision is the velocity at the fixed point. If the initial speed of the robot is greater than the speed at the fixed point, since the energy lost in the collision of the swinging leg is proportional to the initial speed, the energy lost in the collision is greater than the added energy, so that the initial speed of the next step is reduced until it is equal to The speed at the fixed point is equal; on the contrary, if the initial speed of the robot is lower than the speed at the fixed point, the energy lost in the collision is less than the added energy, so that the initial speed of the next step increases until it is at the fixed point. speeds are equal.

本发明所述的双足机器人行走方法的特征在于,依次含有以下步骤:The biped robot walking method of the present invention is characterized in that it contains the following steps in sequence:

步骤(1),构造一个双足机器人,如图3(b)所示,其步骤如下:Step (1), construct a biped robot, as shown in Figure 3(b), the steps are as follows:

步骤(1.1),建立躯干1与第一大腿4以及第二大腿5的连接:该躯干1与左右同轴放置的第一髋关节电机2以及第二髋关节电机3的本体分别固定连接,而所述第一髋关节电机2的转动输出轴与所述第一大腿4连接,所述第二髋关节电机3的转动输出轴与所述第二大腿5连接,Step (1.1), establish the connection between the trunk 1 and the first thigh 4 and the second thigh 5: the trunk 1 is fixedly connected with the bodies of the first hip joint motor 2 and the second hip joint motor 3 placed coaxially on the left and right respectively, and The rotation output shaft of the first hip joint motor 2 is connected with the first thigh 4, the rotation output shaft of the second hip joint motor 3 is connected with the second thigh 5,

步骤(1.2),建立所述第一大腿4与第一小腿7,第二大腿5与第二小腿9的连接:该所述第一大腿4的末端与第一膝关节电机6的本体固定连接,该第一膝关节电机6的转动输出轴与第一小腿7连接,该所述第二大腿5的末端与第二膝关节电机8的本体固定连接,该第二膝关节电机8的转动输出轴与第二小腿9连接,Step (1.2), establishing the connection between the first thigh 4 and the first calf 7, the second thigh 5 and the second calf 9: the end of the first thigh 4 is fixedly connected to the body of the first knee joint motor 6 , the rotation output shaft of the first knee motor 6 is connected with the first lower leg 7, the end of the second thigh 5 is fixedly connected with the body of the second knee motor 8, and the rotation output of the second knee motor 8 is The shaft is connected with the second lower leg 9,

步骤(1.3),在步骤(1.1)、步骤(1.2)中所述的四个电机均采用伺服电机,分别用Ship1、Ship2表示所述第一髋关节电机2和第二髋关节电机3的旋转角度,分别用Sknee1、Sknee2表示所述第一膝关节电机6和第二膝关节电机8的旋转角度,并用一个上位机控制所述四个电机,其中:所述Ship1为所述第一大腿4与躯干1垂直方向的夹角,当该第一大腿4的末端位于躯干1前方时Ship1>0,而位于躯干1后方时Ship1<0,所述Ship2为所述第二大腿5与躯干1垂直方向的夹角,当该第二大腿5的末端位于躯干1前方时Ship2>0,而位于躯干1后方时Ship2<0;所述Sknee1为所述第一小腿7与第一大腿4之间的夹角,当该第一小腿7相对于所述第一大腿4向后弯曲时Sknee1>0,两者平行时Sknee1=0,所述Sknee2为所述第二小腿9与第二大腿5之间的夹角,当该第二小腿9相对于所述第二大腿5向后弯曲时Sknee2>0,两者平行时Sknee2=0,In step (1.3), the four motors described in step (1.1) and step (1.2) are all servo motors, and Ship1 and Ship2 represent the first hip joint motor 2 and the second hip joint motor 3 respectively The rotation angles of the first knee joint motor 6 and the second knee joint motor 8 are represented by S knee1 and S knee2 respectively, and a host computer is used to control the four motors, wherein: the Ship1 is the The angle between the first thigh 4 and the vertical direction of the trunk 1, when the end of the first thigh 4 is located in front of the trunk 1, S hip1 >0, and when it is located behind the trunk 1, S hip1 <0, said S hip2 is the The angle between the second thigh 5 and the vertical direction of the trunk 1, when the end of the second thigh 5 is located in front of the trunk 1, S hip2 >0, and when it is located behind the trunk 1, S hip2 <0; the S knee1 is the first The angle between the lower leg 7 and the first thigh 4, when the first lower leg 7 is bent backward relative to the first thigh 4, S knee1 >0, when the two are parallel, S knee1 =0, and the S knee2 is the angle between the second calf 9 and the second thigh 5, when the second calf 9 bends backward relative to the second thigh 5, S kneee2 >0, and when the two are parallel, S knee2 =0,

步骤(1.4),该步骤(1.1)、步骤(1.2)、步骤(1.3)中所述各个电机的控制信号输入端分别与一个上位机的控制信号输出端相连;Step (1.4), the control signal input end of each motor described in the step (1.1), step (1.2), step (1.3) is connected with the control signal output end of a host computer respectively;

步骤(2),在所述上位机内设定一个步态周期T,所述步态周期T指从一步开始时刻到摆动腿碰撞所经历的时间,其中,开始时刻t=0是指摆动腿离地的瞬间,碰撞时刻t=T是指摆动腿与地面发生碰撞,即一个步态周期结束,下一个步态周期开始的瞬间,在这一瞬间,之前的支撑腿变为摆动腿,而之前的摆动腿变为支撑腿。Step (2), a gait cycle T is set in the host computer, and the gait cycle T refers to the time elapsed from the start of one step to the impact of the swing leg, wherein, the start time t=0 means that the swing leg At the moment of leaving the ground, the collision time t=T refers to the collision between the swing leg and the ground, that is, the moment when one gait cycle ends and the next gait cycle begins. At this moment, the previous supporting leg becomes a swing leg, and The former swinging leg becomes the supporting leg.

步骤(3),在所述上位机中,在所述一个步态周期中,设置五个关键帧,两个关键关节角度θ和α,如图4所示:Step (3), in the host computer, in the one gait cycle, set five key frames, two key joint angles θ and α, as shown in Figure 4:

第一关键帧(图A),位于t=0时,决定机器人一步的初始姿态,其中,θ=-θ0,θ0为一非负常数,表示t=0时所述两条等效腿之间的夹角,它决定了步幅的大小;α=α0,α0为一非负常数,表示t=0是所述支撑腿大腿2相对于等效支撑腿4的弯曲角度。The first key frame (figure A), at t=0, determines the initial posture of the robot one step, where θ=-θ 0 , θ 0 is a non-negative constant, representing the two equivalent legs when t=0 The angle between them determines the size of the stride; α=α 0 , α 0 is a non-negative constant, which means that t=0 is the bending angle of the support leg thigh 2 relative to the equivalent support leg 4 .

第二关键帧(图B),位于t=T1时,其中:α=α0,与第一关键帧中的α相同,表示等效支撑腿4的长度在第一关键帧和第二关键帧之间保持不变。这一关键帧表示的是支撑腿伸直的起点。The second key frame (Fig. B), when located at t=T 1 , wherein: α=α 0 , which is the same as α in the first key frame, represents that the length of the equivalent support leg 4 is between the first key frame and the second key frame remains constant between frames. This keyframe represents the starting point for the straightening of the supporting leg.

第三关键帧(图C),位于t=T2时,其中:α=0,表示支撑腿膝关节伸直,髋部质心上升到最高点。从第二个关键帧到第三个关键帧是给系统补入能量的过程,并且由于此时摆动腿膝关节还处于弯曲状态,所以可以避免在行走过程中摆动腿小腿与地面发生碰撞。The third key frame (Fig. C) is located at t= T2 , wherein: α=0, which means that the knee joint of the supporting leg is straightened, and the center of mass of the hip rises to the highest point. From the second keyframe to the third keyframe is the process of adding energy to the system, and since the knee joint of the swinging leg is still in a bent state at this time, it is possible to avoid collisions between the lower leg of the swinging leg and the ground during walking.

第四关键帧(图D),位于t=T3时,其中:α=α0,表示支撑腿膝关节弯曲回原状态,从第三个关键帧到第四个关键帧是支撑腿缩短的过程,这是为了保证碰撞时两腿等长,以及在下一步支撑腿变为摆动腿的时候保持弯曲状态。The fourth key frame (Figure D), at t=T 3 , where: α=α 0 , means that the knee joint of the supporting leg is bent back to the original state, and the supporting leg is shortened from the third key frame to the fourth key frame process, this is to ensure that the legs are of equal length during the collision and remain bent when the supporting leg becomes the swinging leg in the next step.

第五关键帧(图E),位于t=T时,决定碰撞时刻的机器人姿态,其中:θ=θ0,表示碰撞时刻两等效腿之间的夹角;α=α0,从第四关键帧到第五关键帧,支撑腿保持不变。与地面发生碰撞后,支撑腿变为摆动腿,摆动腿变为支撑腿。The fifth key frame (Fig. E), at t=T, determines the attitude of the robot at the time of collision, where: θ=θ 0 represents the angle between two equivalent legs at the time of collision; α=α 0 , from the fourth Keyframe to the fifth keyframe, the supporting leg remains unchanged. After a collision with the ground, the supporting leg becomes a swinging leg and the swinging leg becomes a supporting leg.

步骤(4.1),所述上位机依次按以下步骤控制所述机器人行走,设定每行走一步的周期T,三个关键时间T1、T2、T3,计算时间为t,t从0开始,所述上位机按下式计算每隔t时间的θ,α之值Step (4.1), the host computer controls the robot to walk according to the following steps in turn, setting the period T of each step of walking, three key times T 1 , T 2 , T 3 , the calculation time is t, and t starts from 0 , the upper computer calculates the value of θ and α every time t according to the formula

(1)(1)

&alpha;&alpha; == &alpha;&alpha; 00 00 &le;&le; tt modmod TT << TT 11 &alpha;&alpha; 00 22 coscos &pi;&pi; (( tt -- TT 11 )) TT 22 -- TT 11 ++ &alpha;&alpha; 00 22 TT 11 &le;&le; tt modmod TT << TT 22 &alpha;&alpha; 00 22 coscos &pi;&pi; (( tt -- TT 33 )) TT 22 -- TT 33 ++ &alpha;&alpha; 00 22 TT 22 &le;&le; tt modmod TT << TT 33 &alpha;&alpha; 00 TT 33 &le;&le; tt modmod TT << TT

(2)(2)

按上式可以得到θ=fθ(t),α=fα(t)两条曲线,它们分别是髋部夹角和支撑腿膝关节弯曲角度的曲线,如图5所示,变量θ,α关于t的一阶导数连续。According to the above formula, two curves of θ=f θ (t) and α=f α (t) can be obtained, which are respectively the curves of the hip angle and the bending angle of the knee joint of the supporting leg, as shown in Figure 5, the variable θ, The first derivative of α with respect to t is continuous.

步骤(4.2),在上述上位机中,按下式计算当步数为n(n为t与T相除结果的整数部分)时,在上述行走参数θ,α以及摆动腿膝关节的弯曲角度β(由于支撑腿在变为摆动腿后膝关节就保持不变,即β=α0)的取值下,所述双足机器人各个电机的旋转角度。当n为奇数时,Ship1、Sknee1分别为所述支撑腿髋关节和膝关节的角度,Ship2、Sknee2分别为所述摆动腿髋关节和膝关节的角度,当n为偶数时,Ship2、Sknee2分别为所述支撑腿髋关节和膝关节的角度,Ship1、Sknee1分别为所述摆动腿髋关节和膝关节的角度,也就是说当n由奇数变为该奇数加1所形成的偶数时,作为第一大腿的支撑腿与作为第二大腿的摆动腿在一步行走结束后互换。Step (4.2), in the above-mentioned upper computer, when the number of steps is n (n is the integer part of the division result of t and T), the above-mentioned walking parameters θ, α and the bending angle of the swinging leg knee joint are calculated according to the following formula The rotation angle of each motor of the biped robot under the value of β (since the knee joint remains unchanged after the supporting leg becomes a swinging leg, that is, β=α 0 ). When n is an odd number, Ship1 and S knee1 are the angles of the hip joint and the knee joint of the supporting leg respectively, and Ship2 and S knee2 are the angles of the hip joint and the knee joint of the swing leg respectively, and when n is an even number, Ship2 and S knee2 are the angles of the hip joint and knee joint of the supporting leg respectively, and Ship1 and S knee1 are the angles of the hip joint and knee joint of the swing leg respectively, that is to say, when n changes from an odd number to the odd number plus When there is an even number formed by 1, the supporting leg as the first thigh and the swinging leg as the second thigh are interchanged after one step of walking.

SS hiphip 11 == -- 11 22 &theta;&theta; ++ &alpha;&alpha; SS hiphip 22 == 11 22 &theta;&theta; ++ &beta;&beta; SS kneeknee 11 == 22 &alpha;&alpha; SS kneeknee 22 == 22 &beta;&beta; ,, nno == 1,3,5,7,91,3,5,7,9 .. .. ..

(3)(3)

SS hiphip 11 == 11 22 &theta;&theta; ++ &beta;&beta; SS hiphip 22 == -- 11 22 &theta;&theta; ++ &alpha;&alpha; SS kneeknee 11 == 22 &beta;&beta; SS kneeknee 22 == 22 &alpha;&alpha; ,, nno == 22 ,, 44 ,, 66 ,, 8,108,10 .. .. ..

(4)(4)

本发明所述的步态设计方法涉及到的参数主要是时间变量T、T1、T2、T3和θ、α两个角度,在操作过程中,需要根据机器人的实际结果相应的调节参数。The parameters involved in the gait design method of the present invention are mainly time variables T, T 1 , T 2 , T 3 and two angles of θ and α. During the operation, it is necessary to adjust the parameters correspondingly according to the actual results of the robot. .

本发明所述的动力双足机器人行走方法是以被动行走原理为基础,通过在一步行走中先主动伸长再主动缩短支撑腿来补充系统质心的势能。这种方法消除了在摆动腿与地面碰撞瞬间补入能量对行走稳定性造成的影响,能够使机器人达到较高的行走稳定性,并且它只需要开环控制,实现简单且计算量非常小,因此适用于对实时性要求较高的场合。此外,它将控制集中加在支撑腿上,而不需要对摆动腿进行控制,减少了控制的变量,并且这种控制方法可以使系统补入的能量是一个固定值,从而具有能量渐进平衡的优势。The walking method of the powered biped robot in the present invention is based on the principle of passive walking, and supplements the potential energy of the center of mass of the system by first actively extending and then actively shortening the supporting legs during one-step walking. This method eliminates the impact on walking stability caused by adding energy when the swinging leg collides with the ground, and enables the robot to achieve high walking stability, and it only requires open-loop control, which is simple to implement and has a very small amount of calculation. Therefore, it is suitable for occasions that require high real-time performance. In addition, it concentrates the control on the supporting legs instead of controlling the swinging legs, which reduces the variables of control, and this control method can make the energy added to the system a fixed value, thus having a progressive energy balance Advantage.

附图说明 Description of drawings

图1为机器人模型的示意图。Figure 1 is a schematic diagram of the robot model.

图2为行走的能量转换原理图,图中示出了一步行走过程及支撑腿补入能量和摆动碰撞损失能量原理。Fig. 2 is a schematic diagram of the energy conversion of walking, which shows the principle of one-step walking process and the energy added by the supporting legs and the energy lost by swinging and colliding.

图3为机器人机构图及四个关键电机转角的示意图,其中图3(a)示出机器人侧视图,(b)示出机器人前视图。Fig. 3 is a mechanical diagram of the robot and a schematic diagram of four key motor rotation angles, wherein Fig. 3 (a) shows a side view of the robot, and (b) shows a front view of the robot.

图4为步态关键帧示意图,A为第一关键帧,B为第二关键帧,C为第三关键帧,D为第四关键帧,E为第五关键帧。Fig. 4 is a schematic diagram of gait key frames, A is the first key frame, B is the second key frame, C is the third key frame, D is the fourth key frame, and E is the fifth key frame.

图5为2个关键角的变化曲线,其中实现示出θ的轨迹,虚线示出α的轨迹。Fig. 5 is the change curve of two key angles, wherein the realization shows the trajectory of θ, and the dotted line shows the trajectory of α.

图6为动力行走方法实现流程图。Fig. 6 is a flowchart for realizing the power walking method.

具体实施方式 Detailed ways

图3为本发明所使用机器人的结构和四个关节角的示意图,本发明所述双足机器人行走方法的实现需要五个关键帧,如图4所示,在这五个关键帧中,第一关键帧决定了一步初始时刻的姿态,第五关键帧决定了一步碰撞时刻的姿态,同时也决定了步幅的大小。第二关键帧到第三关键帧是支撑腿伸长的过程,决定了补入能量的多少,第三关键帧到第四关键帧是支撑腿缩短的过程,是为了保证碰撞时两腿等长,并且使得支撑腿在下一步变成摆动腿时保持缩短的状态,这一过程是能量损失的过程,为了保证在碰撞前系统的总能量是增加的,支撑腿伸长补入的能量必须大于支撑腿缩短损失的能量,这就需要严格的控制第二、第三和第四这三个关键帧的相对位置,只要伸长的位置相对于缩短的位置更靠近竖直位置就可以保证系统的总能量是增加的。Fig. 3 is the schematic diagram of the structure of the robot used in the present invention and four joint angles, the realization of biped robot walking method of the present invention needs five keyframes, as shown in Fig. 4, in these five keyframes, the first The first key frame determines the posture at the initial moment of a step, and the fifth key frame determines the posture at the moment of a step collision, and also determines the size of the stride. The second keyframe to the third keyframe is the process of extending the supporting leg, which determines the amount of energy added. The third keyframe to the fourth keyframe is the process of shortening the supporting leg to ensure that the two legs are equal in length when they collide. , and keep the support leg shortened when it becomes a swing leg in the next step. This process is a process of energy loss. In order to ensure that the total energy of the system increases before the collision, the energy added by the extension of the support leg must be greater than that of the support The energy lost by the shortening of the legs requires strict control of the relative positions of the second, third and fourth keyframes. As long as the extended position is closer to the vertical position than the shortened position, the overall system performance can be guaranteed. Energy is increased.

以上所述参数T,T1,T2,T3以及θ0,α0按以下方式取值。The above parameters T, T 1 , T 2 , T 3 and θ 0 , α 0 take values in the following manner.

根据经验给出一组初始值,先确定T1,T2,T3这三个时刻值,这是为了保证支撑腿伸长的位置比缩短的位置更靠近竖直位置,为了方便,一般都取T2关键帧为竖直位置,即T2=T/2,T1和T3只要满足T2-T1<T3-T2就可以了,然后对实际机器人进行操作,在保持T,T1,T2,T3不变的情况下,如所述机器人从t=0时开始行走后向前摔倒,说明α0过大,补入的能量过大,使α0减1°,如此重复,直到该机器人能够行走为止;如所述机器人从t=0时开始行走后向后摔倒,说明α0过小,补入的能量过小,使α0加1°,如此重复,直到该机器人能够行走为止。Given a set of initial values based on experience, first determine the three time values of T 1 , T 2 , and T 3 . This is to ensure that the extended position of the supporting leg is closer to the vertical position than the shortened position. For convenience, generally Take the T 2 key frame as the vertical position, that is, T 2 = T/2, T 1 and T 3 only need to satisfy T 2 -T 1 <T 3 -T 2 , and then operate the actual robot, keeping T , T 1 , T 2 , and T 3 remain unchanged, if the robot starts walking at t=0 and then falls forward, it means that α 0 is too large, and the added energy is too large, so α 0 is reduced by 1 °, repeat this until the robot can walk; if the robot starts walking at t=0 and then falls backwards, it means that α 0 is too small, and the added energy is too small, so add 1° to α 0 , and so on Repeat until the robot is able to walk.

如果调整α0不能使机器人行走,则需要调整其它参数,如果机器人向前倒,也可以通过减小T1(使支撑腿伸直更远离竖直位置)或者减小T3(使支撑腿缩短的位置更靠近竖直位置)减小系统补入的能量;如果机器人向后倒,也可以通过增大T1或者T3来增加系统补入的能量。最后还可以通过重新选定θ0和T,再根据以上的步骤来调整参数,使机器人能够在平地上实现稳定的不同步幅、不同周期的行走。If adjusting α 0 cannot make the robot walk, you need to adjust other parameters. If the robot falls forward, you can also reduce T 1 (to make the supporting leg straighter farther away from the vertical position) or reduce T3 (to make the supporting leg shortened). The position is closer to the vertical position) to reduce the energy added by the system; if the robot falls backwards, the energy added by the system can also be increased by increasing T1 or T3 . Finally, by reselecting θ 0 and T, and then adjusting the parameters according to the above steps, the robot can realize stable walking with different amplitudes and different periods on flat ground.

在行走中,图1所示的关键角θ和α的值按照以上所述的关键帧计算,其运动轨迹即为关键帧之间的连接曲线。为保证机器人各个关节的角速度连续,关键帧之间使用光滑曲线连接,即曲线的一阶导数连续。图5给出了一种使用直线和三角函数曲线连接的方式,但本发明的范围并不局限于这种连接方式。During walking, the values of the key angles θ and α shown in Figure 1 are calculated according to the above-mentioned key frames, and its motion trajectory is the connection curve between the key frames. In order to ensure that the angular velocity of each joint of the robot is continuous, a smooth curve is used to connect the key frames, that is, the first derivative of the curve is continuous. Fig. 5 shows a connection method using straight lines and trigonometric function curves, but the scope of the present invention is not limited to this connection method.

本发明所述的双足机器人行走方法的实现为以下两个步骤的迭代过程:(1)上位机控制行走阶段;(2)人工参数调节阶段。在阶段(1)中首先由人工设定一组θ0=50°、α0=25°、T=0.4s、T1=0.1s、T2=0.2s、T3=0.36s,在确定这些参数值后,作为上位机的计算机就使用光滑曲线连接关键帧,计算每个时刻的θ和α值,之后再通过(3)和(4)式将其转换为机器人的四个电机角度值,并发送给机器人上的各个电机,使其按指定的运动轨迹旋转,以实现行走动作。当n为奇数时,图3中的Ship1、Sknee1为支撑腿关节角,Ship2、Sknee2为摆动腿关节角,n为偶数时Ship2、Sknee2为支撑腿关节角,Ship1、Sknee1为摆动腿关节角。待机器人置于空中开始动作后将其放于地面行走并观察行走效果,如果机器人摔倒不能行走,则转入阶段(2)。在上述设定的参数下,机器人在平地上行走时会向后倒。The realization of the walking method of the biped robot in the present invention is an iterative process of the following two steps: (1) the upper computer control walking stage; (2) the manual parameter adjustment stage. In stage (1), firstly, a set of θ 0 =50°, α 0 =25°, T=0.4s, T 1 =0.1s, T 2 =0.2s, T 3 =0.36s is manually set, and after determining After setting these parameter values, the computer as the upper computer uses a smooth curve to connect the key frames, calculates the θ and α values at each moment, and then converts them into the four motor angle values of the robot through formulas (3) and (4) , and send it to each motor on the robot to make it rotate according to the specified trajectory to realize the walking action. When n is an odd number, Ship1 and S knee1 in Figure 3 are the joint angles of the supporting legs, Ship2 and S knee2 are the joint angles of the swinging legs, and when n is an even number, Ship2 and S knee2 are the joint angles of the supporting legs, and Ship1 , S knee1 is the swing leg joint angle. After the robot is placed in the air and starts to move, put it on the ground to walk and observe the walking effect. If the robot falls down and cannot walk, then turn to stage (2). Under the parameters set above, the robot will fall backwards when walking on flat ground.

阶段(2)为人工调整阶段,在此阶段中由人根据阶段(1)中机器人的行走效果对上位机中的参数设置进行手动调整,其调节方法如下:首先调整的是两个关键角度,其中α0决定了行走补入能量的大小,如果阶段(1)中机器人行走后向前摔倒,可使α0减1°;如果机器人向后摔倒,可使α0加1°。如果机器人能够行走,说明行走条件已经满足,可细调α0优化碰撞时刻。如果调整α0不能使机器人行走,则需要调整其它参数,如果机器人向前倒,也可以通过减小T1或者减小T3减小系统补入的能量;如果机器人向后倒,也可以通过增大T1或者T3增加系统补入的能量。最后还可以通过重新选定θ0和T,再根据以上的步骤来调整参数,使机器人能够在平地上稳定的行走。在阶段(1)中设定的参数下,机器人开始会向前倒,通过减小α0,当α0减小到16°时,机器人实现了平地上的稳定行走。Stage (2) is a manual adjustment stage. In this stage, people manually adjust the parameter settings in the host computer according to the walking effect of the robot in stage (1). The adjustment method is as follows: firstly, two key angles are adjusted, Among them, α 0 determines the amount of supplementary energy for walking. If the robot falls forward after walking in stage (1), α 0 can be reduced by 1°; if the robot falls backward, α 0 can be added by 1°. If the robot can walk, it means that the walking condition has been met, and α 0 can be fine-tuned to optimize the collision time. If adjusting α 0 can not make the robot walk, you need to adjust other parameters. If the robot falls forward, you can also reduce the energy supplied by the system by reducing T 1 or T 3 ; if the robot falls backward, you can also use Increasing T 1 or T 3 increases the energy supplied by the system. Finally, by reselecting θ 0 and T, and then adjusting the parameters according to the above steps, the robot can walk stably on the flat ground. Under the parameters set in stage (1), the robot will start to fall forward. By reducing α 0 , when α 0 is reduced to 16°, the robot can walk stably on flat ground.

Claims (5)

1.一种动力式双足机器人行走方法,其特征在于,依次含有以下步骤: 1. A kind of power type biped robot walking method is characterized in that, contains following steps successively: 步骤(1),构造一个双足机器人,其步骤如下: Step (1), constructing a biped robot, the steps are as follows: 步骤(1.1),建立躯干与第一大腿以及第二大腿的连接: Step (1.1), establish the connection between the torso and the first thigh and the second thigh: 该躯干与左右同轴放置的第一髋关节电机以及第二髋关节电机的本体分别固定连接,而所述第一髋关节电机的转动输出轴与所述第一大腿连接,所述第二髋关节电机的转动输出轴与所述第二大腿连接, The torso is respectively fixedly connected with the body of the first hip joint motor and the second hip joint motor placed coaxially on the left and right sides, and the rotation output shaft of the first hip joint motor is connected with the first thigh, and the second hip joint motor The rotation output shaft of the joint motor is connected with the second thigh, 步骤(1.2),建立所述第一大腿与第一小腿,第二大腿与第二小腿的连接: Step (1.2), establishing the connection between the first thigh and the first calf, the second thigh and the second calf: 该所述第一大腿的末端与第一膝关节电机的本体固定连接,该第一膝关节电机的转动输出轴与第一小腿连接, The end of the first thigh is fixedly connected to the body of the first knee motor, and the rotation output shaft of the first knee motor is connected to the first lower leg, 该所述第二大腿的末端与第二膝关节电机的本体固定连接,该第二膝关节电机的转动输出轴与第二小腿连接, The end of the second thigh is fixedly connected to the body of the second knee motor, and the rotation output shaft of the second knee motor is connected to the second lower leg, 步骤(1.3),在步骤(1.1)、步骤(1.2)中所述的四个电机均采用伺服电机,分别用Ship1、Ship2表示所述第一髋关节电机和第二髋关节电机的旋转角度,分别用Sknee1、Sknee2表示所述第一膝关节电机和第二膝关节电机的旋转角度,并用一个上位机控制所述四个电机,其中: In step (1.3), the four motors described in step (1.1) and step (1.2) all adopt servo motors, and the rotations of the first hip joint motor and the second hip joint motor are represented by Ship1 and Ship2 respectively Angle, respectively use S knee1 , S knee2 to represent the rotation angles of the first knee joint motor and the second knee joint motor, and use a host computer to control the four motors, wherein: 所述Ship1为所述第一大腿与躯干垂直方向的夹角,当该第一大腿的末端位于躯干前方时Ship1>0,而位于躯干后方时Ship1<0, The S hip1 is the angle between the first thigh and the vertical direction of the trunk, when the end of the first thigh is located in front of the trunk, S hip1 >0, and when the end of the first thigh is located behind the torso, S hip1 <0, 所述Ship2为所述第二大腿与躯干垂直方向的夹角,当该第二大腿的末端位于躯干前方时Ship2>0,而位于躯干后方时Ship2<0, The S hip2 is the angle between the second thigh and the vertical direction of the trunk, S hip2 >0 when the end of the second thigh is located in front of the torso, and S hip2 <0 when it is located behind the torso, 所述Sknee1为所述第一小腿与第一大腿之间的夹角,当该第一小腿相对于第一大腿向后弯曲时Sknee1>0,两者同一直线时Sknee1=0, The S knee1 is the angle between the first calf and the first thigh, when the first calf is bent backward relative to the first thigh, S knee1 >0, and when the two are on the same straight line, S knee1 =0, 所述Sknee2为所述第二小腿与第二大腿之间的夹角,当该第二小腿相对于第二大腿向后弯曲时Sknee2>0,两者同一直线时Sknee2=0, The S knee2 is the angle between the second calf and the second thigh, when the second calf is bent backward relative to the second thigh, S knee2 >0, and when the two are on the same straight line, S knee2 =0, 步骤(1.4),该步骤(1.1)、步骤(1.2)、步骤(1.3)中所述各个电机的控制信号输入端分别与一个上位机的控制信号输出端相连; Step (1.4), the control signal input end of each motor described in the step (1.1), step (1.2), step (1.3) is connected with the control signal output end of a host computer respectively; 步骤(2),在所述上位机内设定一个步态周期T,所述步态周期T指从一步开始时刻到摆动腿碰撞所经历的时间,其中,开始时刻t=0是指视作第二大腿的摆动腿离地的瞬间,碰撞时刻t=T是指摆动腿与地面发生碰撞,即一个步态周期结束,下一个步态周期开始的瞬间,在这一瞬间,此时视为第二大腿的支撑腿变为摆动腿,而之前的摆动腿变为支撑腿,所述行走参数包括:θ、α、β,单位为角度,其中: Step (2), set a gait cycle T in the host computer, the gait cycle T refers to the time elapsed from the moment of one step start to the impact of the swinging leg, wherein, the start moment t=0 means regarded as The moment when the swing leg of the second thigh leaves the ground, the collision time t=T refers to the moment when the swing leg collides with the ground, that is, the moment when one gait cycle ends and the next gait cycle begins. At this moment, it is regarded as The supporting leg of the second thigh becomes a swinging leg, and the previous swinging leg becomes a supporting leg, and the walking parameters include: θ, α, β, the unit is angle, wherein: θ,为等效支撑腿(4)与等效摆动腿(7)之间的夹角,所述等效支撑腿(4)用由支撑腿大腿(2)的顶部到该支撑腿小腿(3)末端的连线表示,等效摆动腿(7)用由摆动腿大腿(5)的顶部到该摆动腿小腿(6)末端的连线表示, θ is the angle between the equivalent support leg (4) and the equivalent swing leg (7), the equivalent support leg (4) is connected from the top of the support leg thigh (2) to the support leg calf (3 ) at the end represents that the equivalent swing leg (7) is represented by the connection line from the top of the swing leg thigh (5) to the end of the swing leg calf (6), α,为所述支撑腿大腿(2)与等效支撑腿(4)之间的夹角,决定等效支撑腿(4)的长度, α is the angle between the supporting leg thigh (2) and the equivalent supporting leg (4), which determines the length of the equivalent supporting leg (4), β,为所述摆动腿大腿(5)与等效摆动腿(7)之间的夹角,决定等效摆动腿(7)的长度,在行走过程中,摆动腿保持不变,所以β为一固定常数, β is the angle between the swing leg thigh (5) and the equivalent swing leg (7), which determines the length of the equivalent swing leg (7). During walking, the swing leg remains unchanged, so β is a fixed constant, 当所述等效摆动腿(7)位于等效支撑腿(4)之前时θ>0,之后时θ<0, When the equivalent swing leg (7) is located before the equivalent support leg (4), θ>0, and after that, θ<0, 当所述支撑腿的膝关节弯曲时α>0,支撑腿膝关节伸直时α=0, When the knee joint of the supporting leg is bent, α>0, and when the knee joint of the supporting leg is straightened, α=0, 当所述摆动腿的膝关节弯曲时β>0,摆动腿膝关节伸直时β=0; When the knee joint of the swing leg is bent, β>0, and when the knee joint of the swing leg is straight, β=0; 步骤(3),在所述上位机中,在所述一个步态周期中,设置五个关键帧,两个关键关节角度θ和α; Step (3), in the host computer, in the one gait cycle, set five key frames, two key joint angles θ and α; 第一关键帧,位于t=0时,决定机器人一步的初始姿态,其中,θ=-θ0,θ0为一非负常数,表示t=0时所述两条等效腿之间的夹角,决定了步幅的大小;α=α0,α0为一非负常数,表示t=0是所述支撑腿大腿相对于等效支撑腿的弯曲角度, The first key frame, at t=0, determines the initial posture of the robot for one step, where θ=-θ 0 , θ 0 is a non-negative constant, representing the clamp between the two equivalent legs at t=0 Angle determines the size of the stride; α=α 0 , α 0 is a non-negative constant, which means that t=0 is the bending angle of the supporting leg thigh relative to the equivalent supporting leg, 第二关键帧,位于t=T1时,其中:α=α0,与第一关键帧中的α相同,表示等效支撑腿的长度在第一关键帧和第二关键帧之间保持不变,这一关键帧表示的是支撑腿伸直的起点, The second key frame is located at t=T 1 , where: α=α 0 , which is the same as α in the first key frame, means that the length of the equivalent support leg remains constant between the first key frame and the second key frame change, this keyframe represents the starting point of the support leg straightening, 第三关键帧,位于t=T2时,其中:α=0,表示支撑腿膝关节伸直,髋部质心上升到最高点,从第二个关键帧到第三个关键帧是支撑腿伸长的过程,是给系统补入能量的过程,并且由于此时摆动腿膝关节还处于弯曲状态,所以能避免在行走过程中摆动腿小腿与地面发生碰撞, The third key frame is located at t=T 2 , where: α=0, which means that the knee joint of the supporting leg is straightened, and the center of mass of the hip rises to the highest point. From the second key frame to the third key frame is the extension of the supporting leg The long process is the process of adding energy to the system, and since the knee joint of the swinging leg is still in a bent state at this time, it can avoid the collision between the lower leg of the swinging leg and the ground during walking. 第四关键帧,位于t=T3时,其中:α=α0,表示支撑腿膝关节弯曲回原状态,从第三个关键帧到第四个关键帧是支撑腿缩短的过程,这是为了保证碰撞时两腿等长,以及在下一步支撑腿变为摆动腿的时候保持弯曲状态, The fourth key frame, at t=T 3 , wherein: α=α 0 , indicates that the knee joint of the supporting leg is bent back to the original state, and the process from the third key frame to the fourth key frame is the shortening of the supporting leg, which is In order to ensure that the legs are of equal length during the collision and remain bent when the supporting leg becomes a swinging leg in the next step, 第五关键帧,位于t=T时,决定碰撞时刻的机器人姿态,其中:θ=θ0,表示碰撞时刻两等效腿之间的夹角;α=α0,从第四关键帧到第五关键帧,支撑腿保持不变,与地面发生碰撞后,支撑腿变为摆动腿,摆动腿变为支撑腿, The fifth key frame, at t=T, determines the pose of the robot at the time of collision, where: θ=θ 0 represents the angle between two equivalent legs at the time of collision; α=α 0 , from the fourth key frame to the first Five keyframes, the supporting leg remains unchanged, after colliding with the ground, the supporting leg becomes a swinging leg, and the swinging leg becomes a supporting leg, 所述参数T,T1,T2,T3以及θ0,α0按以下方式取值: The parameters T, T 1 , T 2 , T 3 and θ 0 , α 0 take values in the following manner: 先给定一个T,并且取T2=T/2,然后确定T1,T3,为了保证支撑腿伸长的位置比缩短的位置更靠近竖直位置,T1和T3必须满足T2-T1<T3-T2,θ0,α0在满足30°<θ0<65°,10<α0<50的情况下随机给定; First give a T, and take T 2 =T/2, then determine T 1 and T 3 , in order to ensure that the position of the support leg is extended closer to the vertical position than the shortened position, T 1 and T 3 must satisfy T 2 -T 1 <T 3 -T 2 , θ 0 , α 0 are given randomly under the conditions of 30°<θ 0 <65°, 10<α 0 <50; 步骤(4),所述上位机依次按以下步骤控制所述机器人行走: Step (4), the host computer controls the walking of the robot according to the following steps in turn: 步骤(4.1),设定每行走一步的周期T,三个关键时间T1、T2、T3,计算时间为t,t从0开始,所述上位机按下式计算每隔t时间的θ,α之值 Step (4.1), set the cycle T of each step, three key times T 1 , T 2 , T 3 , the calculation time is t, and t starts from 0, and the host computer calculates the time of each t time according to the following formula θ, the value of α (1) (1)
Figure FSB00000720256300042
Figure FSB00000720256300042
(2) (2) 按上式可以得到θ=fθ(t),α=fα(t)两条曲线,分别是髋部夹角和支撑腿膝关节弯曲角度的曲线,变量θ,α关于t的一阶导数连续, According to the above formula, two curves of θ=f θ (t), α=f α (t) can be obtained, which are respectively the curves of the included angle of the hip and the bending angle of the knee joint of the supporting leg, and the first derivatives of variables θ and α with respect to t continuous, 步骤(4.2),在上述上位机中,按下式计算当步数为n时,n为t与T相除结果的整数部分,在上述行走参数θ,α以及摆动腿膝关节的弯曲角度β的取值下,由于支撑腿在变为摆动腿后膝关节就保持不变,所以β=α0,所述双足机器人各个电机的旋转角度, Step (4.2), in the above-mentioned upper computer, when the number of steps is n, n is the integer part of the division result of t and T, in the above-mentioned upper computer, the above-mentioned walking parameters θ, α and the bending angle β of the swinging leg knee joint Under the value of , since the knee joint remains unchanged after the supporting leg becomes a swing leg, β=α 0 , the rotation angle of each motor of the biped robot, (3) (3)
Figure FSB00000720256300044
Figure FSB00000720256300044
(4) (4) 当n为奇数时,Ship1、Sknee1分别为所述支撑腿髋关节和膝关节的角度,Ship2、Sknee2分别为所述摆动腿髋关节和膝关节的角度,当n为偶数时,Ship2、Sknee2分别为所述支撑腿髋关节和膝关节的角度,Ship1、Sknee1分别为所述摆 动腿髋关节和膝关节的角度,也就是说当n由奇数变为该奇数加1所形成的偶数时,作为第一大腿的支撑腿与作为第二大腿的摆动腿在一步行走结 束后互换。 When n is an odd number, Ship1 and S knee1 are the angles of the hip joint and the knee joint of the supporting leg respectively, and Ship2 and S knee2 are the angles of the hip joint and the knee joint of the swing leg respectively, and when n is an even number, Ship2 and S knee2 are the angles of the hip joint and knee joint of the supporting leg respectively, and Ship1 and S knee1 are the angles of the hip joint and knee joint of the swing leg respectively, that is to say, when n changes from an odd number to the odd number plus When there is an even number formed by 1, the supporting leg as the first thigh and the swinging leg as the second thigh are interchanged after one step of walking.
2.根据权利要求1所述的一种动力式双足机器人行走方法,其特征在于,若操作人员发现以下情况,予以分别处理: 2. A kind of power type biped robot walking method according to claim 1, is characterized in that, if the operator finds the following situations, be dealt with respectively: 所述机器人从t=0时开始行走后向前摔倒,说明α0过大,补入的能量过大,使α0减1°,如此重复,直到该机器人能够行走为止, The robot falls forward after starting to walk at t=0, indicating that α 0 is too large, and the added energy is too large, so α 0 is subtracted by 1°, and so on, until the robot can walk, 所述机器人从t=0时开始行走后向后摔倒,说明α0过小,补入的能量过小,使α0加1°,如此重复,直到该机器人能够行走为止。 The robot starts to walk at t=0 and then falls backwards, indicating that α 0 is too small and the added energy is too small, so add 1° to α 0 and repeat this until the robot can walk. 3.根据权利要求1所述的一种动力式双足机器人行走方法,其特征在于,若操作人员发现无论如何调整α0,都不能使机器人行走稳定,则按以下情况,予以分别处理: 3. A walking method for a powered biped robot according to claim 1, wherein if the operator finds that no matter how he adjusts α 0 , the robot cannot walk stably, then the following situations shall be dealt with separately: 所述机器人从t=0时开始行走后向前摔倒,说明补入的能量过大,通过减小T1,以使支撑腿伸直时更远离竖直位置,或者减小T3,使支撑腿缩短时的位置更靠近竖直位置,以减小系统补入的能量,如此重复,直到该机器人能够行走为止, The robot starts to walk at t=0 and then falls forward, indicating that the added energy is too large. By reducing T 1 , the supporting leg is farther away from the vertical position when it is straightened, or by reducing T 3 , so that When the supporting legs are shortened, the position is closer to the vertical position, so as to reduce the energy supplied by the system, and so on, until the robot can walk, 所述机器人从t=0时开始行走后向后摔倒,说明补入的能量过小,则通过增大T1,使支撑腿伸直时更靠近竖直位置,或者增大T3,使支撑腿缩短时的位置更远离竖直位置,以减小系统补入的能量,如此重复,直到该机器人能够行走为止。 The robot starts to walk at t=0 and then falls backwards, indicating that the added energy is too small, then increase T 1 to make the supporting legs closer to the vertical position when straightened, or increase T 3 to make The position when the supporting legs are shortened is farther away from the vertical position, to reduce the energy added by the system, and so on, until the robot can walk. 4.根据权利要求1所述的一种动力式双足机器人行走方法,其特征在于,在t=T,若操作人员发现以下情况,予以分别处理: 4. a kind of power type bipedal robot walking method according to claim 1 is characterized in that, at t=T, if the operator finds the following situations, be dealt with respectively: 所述机器人身体前倾,说明碰撞时刻过早,使α0减0.2°,如此重复,直到 碰撞时机器人身体竖直为止, The body of the robot leans forward, indicating that the time of collision is too early, so α0 is subtracted by 0.2°, and so on, until the body of the robot is vertical when it collides. 所述机器人身体后倾,说明碰撞时刻过晚,使α0加0.2°,如此重复,直到碰撞时机器人身体竖直为止。 The body of the robot leans backward, indicating that the collision time is too late, so α 0 is added by 0.2°, and so on, until the body of the robot is vertical when the collision occurs. 5.根据权利要求1所述的一种动力式双足机器人行走方法,其特征在于,若无论操作人员如何调整,都不能使所述机器人行走稳定,或者能够行走,但需要改变步速,则把θ0增加或减小10°,或者把T增加或减小0.1s,重复步骤(2)及步骤(3),从而得到不同的步幅及步态周期,实现不同速度的行走。 5. A kind of power type biped robot walking method according to claim 1, it is characterized in that, if no matter how operator adjusts, can not make described robot walk stably, or can walk, but needs to change pace, then Increase or decrease θ 0 by 10°, or increase or decrease T by 0.1s, repeat steps (2) and (3), so as to obtain different strides and gait cycles, and realize walking at different speeds.
CN2010102398439A 2010-07-28 2010-07-28 Walking method for dynamic biped robot Expired - Fee Related CN101898594B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102398439A CN101898594B (en) 2010-07-28 2010-07-28 Walking method for dynamic biped robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102398439A CN101898594B (en) 2010-07-28 2010-07-28 Walking method for dynamic biped robot

Publications (2)

Publication Number Publication Date
CN101898594A CN101898594A (en) 2010-12-01
CN101898594B true CN101898594B (en) 2012-05-16

Family

ID=43224606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102398439A Expired - Fee Related CN101898594B (en) 2010-07-28 2010-07-28 Walking method for dynamic biped robot

Country Status (1)

Country Link
CN (1) CN101898594B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591344B (en) * 2012-03-05 2013-12-11 中国人民解放军国防科学技术大学 Time and position control method of four-footed bionic robot
ES2759298T3 (en) * 2016-02-18 2020-05-08 Hexowheel Support structure
CN109991989B (en) * 2017-12-29 2021-12-17 深圳市优必选科技有限公司 Dynamic balance method and device of robot in idle state and storage medium
CN112792807A (en) * 2020-12-24 2021-05-14 深圳市优必选科技股份有限公司 Robot control method, device, computer-readable storage medium, and robot
CN113934208B (en) * 2021-09-14 2023-08-04 中国北方车辆研究所 Roller-skating gait control method of driven-wheel type quadruped robot
WO2023108472A1 (en) * 2021-12-15 2023-06-22 迈宝智能科技(苏州)有限公司 Rigid-flexible mixed exoskeleton motion control method, device and system
CN115469544B (en) * 2022-09-13 2025-01-24 上海大学 Active force control method of rimless wheel based on double spring loaded inverted pendulum model

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5311109A (en) * 1992-03-31 1994-05-10 Honda Giken Kogyo Kabushiki Kaisha Locomotion control system for legged mobile robot
CN101011985A (en) * 2007-01-26 2007-08-08 清华大学 Decoupling legs mechanism for apery robot
CN101229826A (en) * 2008-02-28 2008-07-30 清华大学 Lower Limb Mechanism of a Biped Robot
CN101298260A (en) * 2008-06-11 2008-11-05 清华大学 Low-power consumption two-foot walking moving system and walking control method thereof
CN101323325A (en) * 2008-07-04 2008-12-17 清华大学 A powered walking method for a biped robot

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5311109A (en) * 1992-03-31 1994-05-10 Honda Giken Kogyo Kabushiki Kaisha Locomotion control system for legged mobile robot
CN101011985A (en) * 2007-01-26 2007-08-08 清华大学 Decoupling legs mechanism for apery robot
CN101229826A (en) * 2008-02-28 2008-07-30 清华大学 Lower Limb Mechanism of a Biped Robot
CN101298260A (en) * 2008-06-11 2008-11-05 清华大学 Low-power consumption two-foot walking moving system and walking control method thereof
CN101323325A (en) * 2008-07-04 2008-12-17 清华大学 A powered walking method for a biped robot

Also Published As

Publication number Publication date
CN101898594A (en) 2010-12-01

Similar Documents

Publication Publication Date Title
CN101531006B (en) Powered Walking Method of Biped Robot
CN101898594B (en) Walking method for dynamic biped robot
CN100569579C (en) A powered walking method for a biped robot
CN105511465B (en) A kind of gait control method and apparatus of biped robot
CN101428657B (en) Propel mechanism of underactuated biped walk robot
Furuta et al. Design and construction of a series of compact humanoid robots and development of biped walk control strategies
CN110262510B (en) A humanoid robot mass center trajectory planning method to reduce walking energy consumption
Anderson et al. Powered bipeds based on passive dynamic principles
CN103407513B (en) Adopt the level land walking method for dynamic biped robot of spring coupling
CN111176342B (en) Walking speed adjusting method of humanoid gait of biped robot
KR101182288B1 (en) Walking pattern generator for robot
CN107315346A (en) A kind of humanoid robot gait&#39;s planing method based on CPG models
CN114200947B (en) Humanoid gait planning method, system and device of biped robot
CN202686559U (en) Bionic mechanical dinosaur
Or Humanoids grow a spine: The effect of lateral spinal motion on the mechanical energy efficiency
Qi et al. A vertical jump optimization strategy for one-legged robot with variable reduction ratio joint
Zhao et al. Humanoid robot gait generation based on limit cycle stability
CN105346618B (en) Band upper body biped robot&#39;s level walking method based on series elastic driver
Cao et al. Uphill and level walking of a three-dimensional biped quasi-passive walking robot by torso control
Cho et al. Dynamic locomotion of quadruped with laterally parallel leaf spring spine
CN112078684B (en) Potential-energy-adjusted bionic shell for autonomous recovery of a quadruped robot&#39;s sideways posture
CN120002637B (en) Motion control method for adjusting mass center mechanism sliding block in reconstruction process of deformation robot
Fasano et al. Efficient, Dynamic Locomotion through Step Placement with Straight Legs and Rolling Contacts
Franken et al. Analysis and simulation of fully ankle actuated planar bipedal robots
Peralta et al. Novel design of biped robot based on linear induction motors

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120516