CN101898594B - Walking method for dynamic biped robot - Google Patents
Walking method for dynamic biped robot Download PDFInfo
- 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
Links
Images
Landscapes
- Manipulator (AREA)
Abstract
一种动力式双足机器人行走方法,属于机器人行走控制技术领域,其特征是,机器人行走过程中,在支撑腿上加入动力,使支撑腿在一个行走周期中主动地完成伸长和缩短,通过控制支撑腿伸长和缩短的位置,实现对系统的势能补入。该行走方法的步态由五个关键帧确定,并由两个角度参数描述,关键帧之间由一阶导数连续的光滑曲线连接。在样机上,机器人能在这种动力式行走方法的控制下,实现稳定且不同速度的行走。
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.
Description
技术领域 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
本发明所述的双足机器人行走方法的能量转换原理如图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
本发明所述的双足机器人具有能量渐进平衡的特性,这种特性的表现如下。在一步行走过程中,系统能量的增加只与支撑腿伸直和弯曲的位置有关,而与支撑腿起始的速度无关。当机器人支撑腿伸直和弯曲的位置固定之后,它在行走每一步中补入的能量就是一个固定的常数,当补入的能量和摆动腿碰撞损失的能量一样时,机器人的行走就进入极限环,碰撞后的起始速度为不动点处的速度。如果机器人起始的速度大于不动点处的速度,由于摆动腿碰撞损失的能量正比于初始速度,所以碰撞损失的能量大于补入的能量,从而使下一步的起始速度减小,直到与不动点处速度相等;反之,如果机器人起始的速度小于不动点处的速度,碰撞损失的能量小于补入的能量,从而使下一步的起始速度增大,直到与不动点处的速度相等。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
步骤(1.2),建立所述第一大腿4与第一小腿7,第二大腿5与第二小腿9的连接:该所述第一大腿4的末端与第一膝关节电机6的本体固定连接,该第一膝关节电机6的转动输出轴与第一小腿7连接,该所述第二大腿5的末端与第二膝关节电机8的本体固定连接,该第二膝关节电机8的转动输出轴与第二小腿9连接,Step (1.2), establishing the connection between the
步骤(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
第二关键帧(图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
第三关键帧(图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)
(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.
(3)(3)
(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)
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)
| 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)
| 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 |
-
2010
- 2010-07-28 CN CN2010102398439A patent/CN101898594B/en not_active Expired - Fee Related
Patent Citations (5)
| 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'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'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'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 |


