CN111605642B - Free fault-tolerant gait planning method, device and storage medium for hexapod robot - Google Patents

Free fault-tolerant gait planning method, device and storage medium for hexapod robot Download PDF

Info

Publication number
CN111605642B
CN111605642B CN202010530854.6A CN202010530854A CN111605642B CN 111605642 B CN111605642 B CN 111605642B CN 202010530854 A CN202010530854 A CN 202010530854A CN 111605642 B CN111605642 B CN 111605642B
Authority
CN
China
Prior art keywords
foot
hexapod robot
swing leg
point
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.)
Active
Application number
CN202010530854.6A
Other languages
Chinese (zh)
Other versions
CN111605642A (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.)
Harbin Institute of Technology Shenzhen
Original Assignee
Harbin Institute of Technology Shenzhen
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 Harbin Institute of Technology Shenzhen filed Critical Harbin Institute of Technology Shenzhen
Priority to CN202010530854.6A priority Critical patent/CN111605642B/en
Publication of CN111605642A publication Critical patent/CN111605642A/en
Application granted granted Critical
Publication of CN111605642B publication Critical patent/CN111605642B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62DMOTOR VEHICLES; TRAILERS
    • B62D57/00Vehicles characterised by having other propulsion or other ground- engaging means than wheels or endless track, alone or in addition to wheels or endless track
    • B62D57/02Vehicles characterised by having other propulsion or other ground- engaging means than wheels or endless track, alone or in addition to wheels or endless track with ground-engaging propulsion means, e.g. walking members
    • B62D57/032Vehicles characterised by having other propulsion or other ground- engaging means than wheels or endless track, alone or in addition to wheels or endless track with ground-engaging propulsion means, e.g. walking members with alternately or sequentially lifted supporting base and legs; with alternately or sequentially lifted feet or skid
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/08Control of attitude, i.e. control of roll, pitch, or yaw
    • G05D1/0891Control of attitude, i.e. control of roll, pitch, or yaw specially adapted for land vehicles

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manipulator (AREA)

Abstract

本发明提供了一种六足机器人的自由容错步态规划方法、装置及存储介质,方法包括如下步骤:获取六足机器人的状态信息和地面落足点信息;根据状态信息确定六足机器人的摆动腿组合和机体重心移动步长;结合机体重心移动步长和状态信息分别确定六足机器人的机体重心轨迹和各个摆动腿的落足区域;根据地面落足点信息确定各个摆动腿在对应的落足区域中的目标落足点;对于没有目标落足点或无法落足的摆动腿,控制摆动腿悬停在预定位置;对于能落足在对应的目标落足点的摆动腿,根据状态信息和目标落足点确定摆动腿的足端轨迹。本发明的技术方案能够在摆动腿没有落足点或无法落足时规划六足机器人的步态,提高了六足机器人通过稀疏落足点地形的能力。

Figure 202010530854

The invention provides a free fault-tolerant gait planning method, device and storage medium of a hexapod robot. The method includes the following steps: acquiring state information and ground landing point information of the hexapod robot; determining the swing of the hexapod robot according to the state information. The combination of legs and the movement step of the body's center of gravity; combined with the movement step of the body's center of gravity and state information, respectively determine the trajectory of the body's center of gravity and the landing area of each swinging leg of the hexapod robot; The target footfall point in the foot area; for the swinging leg that has no target footfall point or cannot land the foot, control the swinging leg to hover at a predetermined position; for the swinging leg that can land on the corresponding target footfall point, according to the status information and the target foot landing point to determine the foot end trajectory of the swinging leg. The technical solution of the present invention can plan the gait of the hexapod robot when the swinging leg has no landing point or cannot land, and improves the ability of the hexapod robot to pass through the terrain with sparse landing points.

Figure 202010530854

Description

六足机器人的自由容错步态规划方法、装置及存储介质Free fault-tolerant gait planning method, device and storage medium for hexapod robot

技术领域technical field

本发明涉及机器人控制技术领域,具体而言,涉及一种六足机器人的自由容错步态规划方法、装置及存储介质。The invention relates to the technical field of robot control, in particular to a free fault-tolerant gait planning method, device and storage medium for a hexapod robot.

背景技术Background technique

由于轮式机器人需要在连续的地面上才能运动,而足式机器人可以在离散的落足点地形中选择落足点进行运动,因此在面对复杂的野外环境时,足式机器人具有更好的通行能力。在众多足式机器人中,六足机器人凭借其强大的环境适应能力和较高的容错性脱颖而出,因其能够在一些危险的环境中,执行各种高难度的任务,而被广泛应用于工业、航天、军事和抢险救灾等领域,具有广阔的发展前景。Since the wheeled robot needs to move on a continuous ground, and the footed robot can choose the foothold to move in the discrete foothold terrain, when facing the complex field environment, the footed robot has better performance. capacity. Among many legged robots, hexapod robots stand out due to their strong environmental adaptability and high fault tolerance. They are widely used in industrial, The fields of aerospace, military and disaster relief have broad prospects for development.

步态规划是指足式机器人从一个位置行走到另一个位置时规划足式机器人腿部之间的相位关系。现有的步态规划方法,在规划六足机器人的步态时,通常仅考虑了六足机器人通过落足点密集的地形时的情况,运动过程中六足机器人的每条腿都能落足在落足点上。而在面对落足点稀疏的地形或者六足机器人的腿出现故障时,六足机器人的腿会出现在运动周期中没有落足点或无法落足的情况,此时现有技术没有很好的解决办法。Gait planning refers to planning the phase relationship between the legs of a footed robot when it walks from one position to another. In the existing gait planning methods, when planning the gait of a hexapod robot, it usually only considers the situation when the hexapod robot passes through the terrain with dense landing points, and each leg of the hexapod robot can land on the foot during the movement process. on the foothold. However, when faced with terrain with sparse landing points or the legs of the hexapod robot fail, the legs of the hexapod robot may have no landing points or fail to land in the motion cycle. At this time, the existing technology is not very good. solution.

发明内容SUMMARY OF THE INVENTION

本发明解决的问题是在六足机器人的腿出现故障或没有落足点时如何规划六足机器人的步态,提高六足机器人通过稀疏落足点地形的能力。The problem solved by the present invention is how to plan the gait of the hexapod robot when the legs of the hexapod robot are faulty or have no footholds, so as to improve the ability of the hexapod robot to pass through the terrain with sparse footholds.

为解决上述问题,本发明提供一种六足机器人的自由容错步态规划方法、装置及存储介质。To solve the above problems, the present invention provides a free fault-tolerant gait planning method, device and storage medium for a hexapod robot.

第一方面,本发明提供了一种六足机器人的自由容错步态规划方法,所述方法包括如下步骤:In a first aspect, the present invention provides a free fault-tolerant gait planning method for a hexapod robot, the method comprising the following steps:

获取六足机器人的状态信息和地面落足点信息。Obtain the status information and ground landing point information of the hexapod robot.

根据所述状态信息确定所述六足机器人的摆动腿组合和机体重心移动步长,所述摆动腿组合包括零个或至少一个摆动腿。According to the state information, a combination of swinging legs and a moving step length of the center of gravity of the hexapod robot are determined, and the combination of swinging legs includes zero or at least one swinging leg.

结合所述机体重心移动步长和所述状态信息分别确定所述六足机器人的机体重心轨迹和各个所述摆动腿的落足区域。The center of gravity trajectory of the hexapod robot and the foot landing area of each of the swing legs are respectively determined in combination with the moving step length of the center of gravity of the body and the state information.

根据所述地面落足点信息确定各个所述摆动腿在对应的所述落足区域中的目标落足点,并根据所述状态信息确定各个所述摆动腿是否能落足到对应的所述目标落足点。The target footfall point of each swing leg in the corresponding footfall area is determined according to the ground footfall point information, and whether each swing leg can land on the corresponding footfall area is determined according to the state information Target landing point.

对于没有所述目标落足点或无法落足的所述摆动腿,控制所述摆动腿悬停在预定位置;对于能落足在对应的所述目标落足点的所述摆动腿,根据所述状态信息和所述目标落足点确定所述摆动腿的足端轨迹。For the swinging legs that do not have the target footing point or cannot land, control the swinging leg to hover at a predetermined position; for the swinging legs that can land on the corresponding target footing point, according to the The state information and the target foot landing point determine the foot end trajectory of the swing leg.

第二方面,本发明提供了一种六足机器人的自由容错步态规划装置,包括:In a second aspect, the present invention provides a free fault-tolerant gait planning device for a hexapod robot, including:

获取模块,用于获取六足机器人的状态信息和地面落足点信息。The acquisition module is used to acquire the status information and ground landing point information of the hexapod robot.

第一处理模块,用于根据所述状态信息确定所述六足机器人的摆动腿组合和机体重心移动步长,所述摆动腿组合包括零个或至少一个摆动腿。The first processing module is configured to determine, according to the state information, a combination of swinging legs and a moving step length of the center of gravity of the hexapod robot, where the combination of swinging legs includes zero or at least one swinging leg.

第一规划模块,用于结合所述机体重心移动步长和所述状态信息分别确定所述六足机器人的机体重心轨迹和各个所述摆动腿的落足区域。The first planning module is configured to combine the movement step length of the body's center of gravity and the state information to respectively determine the trajectory of the body's center of gravity of the hexapod robot and the landing area of each of the swing legs.

第二处理模块,用于根据所述地面落足点信息确定各个所述摆动腿在对应的所述落足区域中的目标落足点,并根据所述状态信息确定各个所述摆动腿是否能落足到对应的所述目标落足点。The second processing module is configured to determine the target footfall point of each of the swing legs in the corresponding footfall area according to the ground footfall point information, and to determine whether each of the swing legs can landing on the corresponding target landing point.

第二规划模块,用于对于没有所述目标落足点或无法落足的所述摆动腿,控制所述摆动腿悬停在预定位置;对于能落足在对应的所述目标落足点的所述摆动腿,根据所述状态信息和所述目标落足点确定所述摆动腿的足端轨迹。The second planning module is configured to control the swinging leg to hover at a predetermined position for the swinging leg that does not have the target footing point or cannot land; for the swinging leg that can land at the corresponding target footing point For the swing leg, the foot end trajectory of the swing leg is determined according to the state information and the target foot landing point.

第三方面,本发明提供了一种六足机器人的自由容错步态规划装置,包括存储器和处理器。In a third aspect, the present invention provides a free fault-tolerant gait planning device for a hexapod robot, including a memory and a processor.

所述存储器,用于存储计算机程序。The memory is used to store computer programs.

所述处理器,用于当执行所述计算机程序时,实现如上所述的六足机器人的自由容错步态规划方法。The processor, when executing the computer program, implements the above-mentioned free fault-tolerant gait planning method for a hexapod robot.

第四方面,本发明提供了一种计算机可读存储介质,所述存储介质上存储有计算机程序,当所述计算机程序被处理器执行时,实现如上所述的六足机器人的自由容错步态规划方法。In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned free fault-tolerant gait of the hexapod robot is realized planning method.

本发明的六足机器人的自由容错步态规划方法、装置及存储介质的有益效果是:首先根据获取的六足机器人的状态信息和地面落足点信息确定摆动腿和机体重心移动步长,摆动腿以外的六足机器人的腿就为支撑腿;然后根据机体重心移动步长和状态信息规划机体重心轨迹,并确定出各个摆动腿的目标落足点,同时判断各个摆动腿是否能落足在对应的目标落足点上。对于没有落足点或无法落足的摆动腿,控制该摆动腿悬停在预定位置,可以减少各个摆动腿之间的干扰,其中,无法落足的摆动腿包括因发生故障无法动作的摆动腿,没有落足点包括因环境恶劣导致摆动腿的落足区域内无可落足点等情况;对于能落足在对应的目标落足点上的摆动腿,规划该摆动腿的足端轨迹。最后,根据机体重心轨迹控制六足机器人的机体移动到下一位置,并根据足端轨迹控制各个能落足在对应的目标落足点的摆动腿进行运动,完成六足机器人在一个运动周期中的运动过程,重复上述步骤,经过多个运动周期后,六足机器人就可到达目标位置。本申请的技术方案中,对可落足在目标落足点的摆动腿规划足端轨迹,对出现没有目标落足点或无法落足等报错情况的摆动腿,控制其悬停在预定位置,完成六足机器人的步态规划,实现了对六足机器人腿部错误的容错处理,能够提高六足机器人面对稀疏落足点地形时的通行能力。The free and fault-tolerant gait planning method, device and storage medium of the hexapod robot of the present invention have the following beneficial effects: firstly, according to the acquired state information of the hexapod robot and the ground landing point information, the moving step length of the swinging leg and the center of gravity of the body is determined, and the swinging step length is determined. The legs of the hexapod robot other than the legs are the supporting legs; then plan the trajectory of the body's center of gravity according to the body's center of gravity moving step and state information, determine the target landing point of each swinging leg, and determine whether each swinging leg can land on the foot. The corresponding target falls on the foothold. For a swinging leg that has no landing point or is unable to land, controlling the swinging leg to hover at a predetermined position can reduce the interference between the swinging legs, wherein the swinging leg that cannot land the foot includes the swinging leg that cannot move due to a fault , no footfall point includes the situation that there is no footfall point in the footfall area of the swinging leg due to bad environment; for the swinging leg that can land on the corresponding target footfall point, plan the foot end trajectory of the swinging leg. Finally, control the body of the hexapod robot to move to the next position according to the trajectory of the body's center of gravity, and control each swinging leg that can land on the corresponding target landing point to move according to the trajectory of the foot end, so as to complete the hexapod robot in one motion cycle. The motion process of the hexapod is repeated, and after several motion cycles, the hexapod robot can reach the target position. In the technical solution of the present application, the foot-end trajectory is planned for the swinging leg that can land on the target footing point, and the swinging leg that has no target footing point or cannot be landed is controlled to hover at a predetermined position, The gait planning of the hexapod robot is completed, and the fault-tolerant processing of the leg errors of the hexapod robot is realized, which can improve the traffic ability of the hexapod robot when facing the terrain with sparse landing points.

附图说明Description of drawings

图1为本发明实施例的一种六足机器人的自由容错步态规划方法的流程示意图;1 is a schematic flowchart of a free fault-tolerant gait planning method for a hexapod robot according to an embodiment of the present invention;

图2为本发明实施例的机体重心轨迹示意图;2 is a schematic diagram of the trajectory of the center of gravity of an airframe according to an embodiment of the present invention;

图3为本发明实施例的一种摆动腿落足过程示意图;3 is a schematic diagram of a swinging leg dropping process according to an embodiment of the present invention;

图4为本发明另一实施例的一种摆动腿落足过程示意图;4 is a schematic diagram of a swinging leg dropping process according to another embodiment of the present invention;

图5为本发明再一实施例的一种摆动腿落足过程示意图;5 is a schematic diagram of a swinging leg dropping process according to still another embodiment of the present invention;

图6为本发明实施例的摆动腿的足端轨迹示意图;6 is a schematic diagram of a foot end trajectory of a swing leg according to an embodiment of the present invention;

图7为本发明实施例的摆动腿打滑或沦陷时的状态示意图;Fig. 7 is the state schematic diagram when the swing leg slips or falls in the embodiment of the present invention;

图8为本发明实施例的摆动腿尝试脱陷的过程示意图;FIG. 8 is a schematic diagram of a process of attempting to disengage the swing leg according to an embodiment of the present invention;

图9为本发明实施例的一种六足机器人的腿部支撑状态相序图;9 is a phase sequence diagram of a leg support state of a hexapod robot according to an embodiment of the present invention;

图10为本发明实施例的一种六足机器人通过落足点区域的仿真示意图;10 is a schematic diagram of a simulation of a hexapod robot passing through a foothold area according to an embodiment of the present invention;

图11为在图10中的部分状态下六足机器人的俯视示意图;FIG. 11 is a schematic top view of the hexapod robot in the partial state of FIG. 10;

图12为本发明实施例的一种六足机器人的自由容错步态规划装置的结构示意图。12 is a schematic structural diagram of a free fault-tolerant gait planning device for a hexapod robot according to an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明的上述目的、特征和优点能够更为明显易懂,下面结合附图对本发明的具体实施例做详细的说明。In order to make the above objects, features and advantages of the present invention more clearly understood, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

需要说明的是,本文中的坐标系XWYWZW为六足机器人的机体坐标系。附图中箭头方向为六足机器人的机体运动方向,同时,要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。在本发明的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。It should be noted that the coordinate system X W Y W Z W in this paper is the body coordinate system of the hexapod robot. The direction of the arrow in the drawings is the direction of movement of the body of the hexapod robot. At the same time, it should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily to describe a particular order or sequence. In the description of the present invention, "plurality" means at least two, such as two, three, etc., unless otherwise expressly and specifically defined. It is to be understood that the data so used may be interchanged under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrated or described herein.

如图1所示,本发明实施例提供的一种六足机器人的自由容错步态规划方法,所述方法包括如下步骤:As shown in FIG. 1 , a free fault-tolerant gait planning method for a hexapod robot provided by an embodiment of the present invention includes the following steps:

100,获取六足机器人的状态信息和地面落足点信息。100. Obtain state information and ground landing point information of the hexapod robot.

具体地,状态信息可包括六足机器人的机体位姿信息、腿部位姿信息和故障状态信息等,地面落足点信息可通过六足机器人的摄像头拍摄地面图片获得。Specifically, the state information may include body posture information, leg posture information, and fault status information of the hexapod robot, and the ground landing point information may be obtained by taking a picture of the ground with the camera of the hexapod robot.

200,根据所述状态信息确定所述六足机器人的摆动腿组合和机体重心移动步长,所述摆动腿组合包括零个或至少一个摆动腿。200. Determine, according to the state information, a swing leg combination of the hexapod robot and a movement step length of the body's center of gravity, where the swing leg combination includes zero or at least one swing leg.

具体地,可根据状态信息在预设的支撑状态表中确定六足机器人的支撑状态,支撑状态对应着六足机器人的支撑腿组合和摆动腿组合。六足机器人移动时,通过支撑腿组合中的各个支撑腿支撑机体,摆动腿组合中的各个摆动腿向目标位置摆动落足。六足机器人还可能在某一运动周期内无法确定摆动腿组合,即摆动腿数量为零,支撑腿数量为六,此时控制六足机器人根据机体重心轨迹运动至下一位置,再根据在下一位置时的状态信息确定六足机器人的摆动腿组合,若此摆动腿组合中摆动腿数量仍为零,则六足机器人停止向前运动,若此摆动腿组合中包括有至少一个摆动腿,则继续规划各个摆动腿的足端轨迹。Specifically, the support state of the hexapod robot may be determined in a preset support state table according to the state information, and the support state corresponds to the combination of support legs and swing legs of the hexapod robot. When the hexapod robot moves, the body is supported by each supporting leg in the supporting leg assembly, and each swinging leg in the swinging leg assembly swings to the target position and falls. The hexapod robot may also be unable to determine the combination of swing legs in a certain motion cycle, that is, the number of swing legs is zero and the number of support legs is six. The state information at the position determines the swing leg combination of the hexapod robot. If the number of swing legs in the swing leg combination is still zero, the hexapod robot stops moving forward. If the swing leg combination includes at least one swing leg, then the hexapod robot stops moving forward. Continue planning the foot-end trajectory of each swinging leg.

300,结合所述机体重心移动步长和所述状态信息分别确定所述六足机器人的机体重心轨迹和各个所述摆动腿的落足区域。300. Determine a center of gravity trajectory of the hexapod robot and a foot drop area of each of the swing legs in combination with the moving step length of the center of gravity of the body and the state information.

具体地,摆动腿的落足区域可为摆动腿的足端可达工作区域,由于摆动腿的物理参数限制下摆动腿的可达区域。六足机器人在运动过程中,摆动腿向目标位置摆动时,机体重心也要相应前移。规划机体重心轨迹,控制六足机器人根据机体重心轨迹移动,能够使得六足机器人在运动过程中保持静态稳定。Specifically, the foot drop area of the swinging leg may be the reachable working area of the foot end of the swinging leg, and the reachable area of the swinging leg is limited by the physical parameters of the swinging leg. During the movement of the hexapod robot, when the swinging leg swings to the target position, the center of gravity of the robot should also move forward accordingly. Planning the trajectory of the center of gravity of the body, and controlling the hexapod robot to move according to the trajectory of the center of gravity of the body, can make the hexapod robot maintain static stability during the movement process.

400,根据所述地面落足点信息确定各个所述摆动腿在对应的所述落足区域中的目标落足点,并根据所述状态信息确定各个所述摆动腿是否能落足在对应的所述目标落足点。400. Determine the target landing point of each swing leg in the corresponding foot landing area according to the ground foot landing point information, and determine whether each swing leg can land on the corresponding foot landing area according to the state information. the target landing point.

具体地,在同时满足具有目标落足点且能够落足时,摆动腿才能准确落足到目标落足点上。Specifically, the swinging leg can accurately land on the target foot-falling point only when the target foot-falling point is satisfied and the foot-falling is possible at the same time.

500,对于没有所述目标落足点或无法落足的所述摆动腿,控制所述摆动腿悬停在预定位置;对于能落足在对应的所述目标落足点的所述摆动腿,根据所述状态信息和所述目标落足点确定所述摆动腿的足端轨迹。500. Control the swing leg to hover at a predetermined position for the swing leg that does not have the target foot drop point or cannot land the foot; for the swing leg that can land on the corresponding target foot drop point, The foot end trajectory of the swing leg is determined according to the state information and the target foot landing point.

具体地,无法落足的摆动腿可包括具有故障的摆动腿等,预定位置可为靠近六足机器人机体的指定位置,能够减少各个摆动腿之间的干扰。Specifically, the swinging legs that cannot fall may include a swinging leg with a fault, etc., and the predetermined position may be a designated position close to the body of the hexapod robot, which can reduce the interference between the swinging legs.

本实施例中,首先根据获取的六足机器人的状态信息和地面落足点信息确定摆动腿和机体重心移动步长,摆动腿以外的六足机器人的腿就为支撑腿;然后根据机体重心移动步长和状态信息规划机体重心轨迹,并确定出各个摆动腿的目标落足点,同时判断各个摆动腿是否能落足在对应的目标落足点上。对于没有落足点或无法落足的摆动腿,控制该摆动腿悬停在预定位置,可以减少各个摆动腿之间的干扰,其中,无法落足的摆动腿包括出现故障的摆动腿等;对于能落足在对应的目标落足点上的摆动腿,规划该摆动腿的足端轨迹。最后,根据机体重心轨迹控制六足机器人的机体移动到下一位置,并根据足端轨迹控制各个能落足在对应的目标落足点的摆动腿进行运动,完成六足机器人在一个运动周期中的运动过程,重复上述步骤,经过多个运动周期后,六足机器人就可到达目标位置。本申请的技术方案中,对可落足在目标落足点的摆动腿规划足端轨迹,对出现没有目标落足点或无法落足等报错情况的摆动腿,控制其悬停在预定位置,完成六足机器人的步态规划,实现了对六足机器人腿部错误的容错处理,能够提高六足机器人面对稀疏落足点地形时的通行能力。In this embodiment, firstly, according to the acquired state information of the hexapod robot and the ground landing point information, the step lengths of the swing legs and the center of gravity of the body are determined, and the legs of the hexapod robot other than the swing legs are the support legs; The step length and state information are used to plan the trajectory of the body's center of gravity, and determine the target landing point of each swinging leg, and at the same time determine whether each swinging leg can land on the corresponding target landing point. For a swinging leg that does not have a footing point or cannot land, controlling the swinging leg to hover at a predetermined position can reduce the interference between the swinging legs, wherein the swinging leg that cannot land the foot includes a malfunctioning swinging leg, etc.; For the swinging leg that can land on the corresponding target footing point, the trajectory of the foot end of the swinging leg is planned. Finally, control the body of the hexapod robot to move to the next position according to the trajectory of the body's center of gravity, and control each swinging leg that can land on the corresponding target landing point to move according to the trajectory of the foot end, so as to complete the hexapod robot in one motion cycle. The motion process of the hexapod is repeated, and after several motion cycles, the hexapod robot can reach the target position. In the technical solution of the present application, the foot-end trajectory is planned for the swinging leg that can land on the target footing point, and the swinging leg that has no target footing point or cannot be landed is controlled to hover at a predetermined position, The gait planning of the hexapod robot is completed, and the fault-tolerant processing of the leg errors of the hexapod robot is realized, which can improve the traffic ability of the hexapod robot when facing the terrain with sparse landing points.

优选地,所述状态信息包括所述六足机器人的故障信息;所述根据所述状态信息确定所述六足机器人的摆动腿组合和机体重心移动步长包括:Preferably, the state information includes fault information of the hexapod robot; and the determining, according to the state information, the combination of swing legs and the movement step length of the center of gravity of the hexapod robot includes:

根据所述故障信息确定所述六足机器人的除故障腿以外的腿为预选支撑腿。According to the fault information, it is determined that the legs of the hexapod robot other than the faulty legs are preselected support legs.

具体地,故障腿包括当前状态下无目标落足点的腿和具有故障的腿,故障腿无法支撑起六足机器人,因此选择除故障腿以外其它腿为预选支撑腿。Specifically, the faulty legs include the legs with no target landing point in the current state and the legs with faults. The faulty legs cannot support the hexapod robot, so other legs except the faulty legs are selected as preselected supporting legs.

根据所述预选支撑腿与预设的支撑状态对应关系确定所述六足机器人的预选支撑状态,其中,所述预选支撑状态对应关系包括至少一个所述预选支撑状态以及与每个所述预选支撑状态分别对应的稳定裕度、机体最大前进步长和摆动腿预选组合。The preselected support state of the hexapod robot is determined according to the corresponding relationship between the preselected support leg and the preset support state, wherein the corresponding relationship of the preselected support state includes at least one of the preselected support state and the corresponding relationship with each of the preselected support states. The state corresponds to the stability margin, the maximum forward length of the body, and the preselected combination of the swinging leg.

具体地,预设的支撑状态对应关系可以为表格形式,也就是预设的支撑状态表,根据预设的支撑状态表自由组合多个预选支撑腿的状态,预选支撑腿的状态包括支撑和摆动,确定出所有可能的预选支撑状态,所有的预选支撑状态组成的集合就是预选支撑状态集合。Specifically, the preset support state corresponding relationship may be in the form of a table, that is, a preset support state table, and the states of a plurality of preselected support legs can be freely combined according to the preset support state table, and the states of the preselected support legs include support and swing. , to determine all possible preselected support states, and the set of all preselected support states is the set of preselected support states.

六足机器人在每个预选支撑状态下均能保持静态稳定,保持静态稳定的前提是在运动过程中支撑腿的数量大于或等于三,且机体重心在支撑多边形内,且能够满足标定的稳定裕度。具体而言,支撑多边形为支撑腿足端连线所组成的多边形,稳定裕度表示机体重心在支撑多边形的投影与支撑多边形任意一条边的距离,六足机器人要保持静态稳定需要稳定裕度大于或等于预设的阈值,该阈值的典型取值为0.1m。若依次对六足机器人的六条腿进行排序,支撑腿用1表示,摆动腿用0表示,则包含了所有可能的支撑状态的支撑状态表如表一所示:The hexapod robot can maintain static stability in each pre-selected support state. The premise of maintaining static stability is that the number of support legs is greater than or equal to three during the movement process, and the center of gravity of the body is within the support polygon, and can meet the calibration stability margin. Spend. Specifically, the supporting polygon is the polygon formed by the connecting lines of the supporting legs and feet. The stability margin represents the distance between the projection of the body's center of gravity on the supporting polygon and any side of the supporting polygon. To maintain static stability, the hexapod robot needs a stability margin greater than or equal to the preset threshold, the typical value of the threshold is 0.1m. If the six legs of the hexapod robot are sorted in turn, the support leg is represented by 1, and the swing leg is represented by 0, then the support state table including all possible support states is shown in Table 1:

表一 支撑状态表Table 1 Support status table

Figure BDA0002535143210000071
Figure BDA0002535143210000071

Figure BDA0002535143210000081
Figure BDA0002535143210000081

表一中支撑状态显示了该状态下的各条腿的状态,支撑状态示意图中的多边形即为支撑多边形,圆点即为机体重心在支撑多边形中的投影。The supporting state in Table 1 shows the state of each leg in this state. The polygon in the schematic diagram of the supporting state is the supporting polygon, and the dot is the projection of the center of gravity of the body on the supporting polygon.

需要说明的是,每个所述预选支撑状态分别对应的稳定裕度、机体最大前进步长和摆动腿预选组合没有在本实施例的支撑状态表中表示出来。It should be noted that, the stability margin, the maximum forward length of the body, and the preselected combination of swing legs corresponding to each of the preselected support states are not shown in the support state table of this embodiment.

根据所述稳定裕度和所述机体最大前进步长确定所述六足机器人的稳定支撑状态,其中,所述稳定支撑状态对应的所述机体最大前进步长为所述机体重心移动步长,所述稳定支撑状态对应的所述摆动腿预选组合为所述摆动腿组合。The stable support state of the hexapod robot is determined according to the stability margin and the maximum forward step length of the body, wherein the maximum forward step length of the body corresponding to the stable support state is the movement step length of the center of gravity of the body, The preselected combination of the swing legs corresponding to the stable support state is the swing leg combination.

具体地,稳定裕度对应了六足机器人在运动过程中的稳定性,机体最大前进步长对应了六足机器人在运动过程中的行走速度。根据稳定裕度和机体最大前进步长来确定稳定支撑状态,可根据需要来自由选择对应的稳定支撑状态。能够使六足机器人在保持静态稳定的情况下,尽量提高通行速度。Specifically, the stability margin corresponds to the stability of the hexapod robot during motion, and the maximum forward length of the body corresponds to the walking speed of the hexapod robot during motion. The stable support state is determined according to the stability margin and the maximum forward length of the body, and the corresponding stable support state can be freely selected according to needs. It can make the hexapod robot as fast as possible while maintaining static stability.

本优选的实施例中,可根据具体地形的需要自由选择稳定支撑状态来规划步态,相对于现有技术中采用的周期性的三足步态、四足步态或五足步态,能够充分发挥六足机器人的多足优势,大幅提高六足机器人应对复杂地形的能力,并且能够在保持静态稳定的前提下,提升六足机器人的移动速度。In this preferred embodiment, a stable support state can be freely selected according to the needs of the specific terrain to plan the gait. Compared with the periodic three-legged gait, quadrupedal gait or five-legged gait adopted in the prior art, the gait can be Give full play to the multi-legged advantages of the hexapod robot, greatly improve the ability of the hexapod robot to deal with complex terrain, and improve the movement speed of the hexapod robot on the premise of maintaining static stability.

优选地,所述根据所述稳定裕度和所述机体最大前进步长确定所述六足机器人的稳定支撑状态包括:Preferably, the determining the stable support state of the hexapod robot according to the stability margin and the maximum forward length of the body includes:

采用第一公式确定各个所述预选支撑状态的评价函数,所述第一公式为:The first formula is used to determine the evaluation function of each of the preselected support states, and the first formula is:

Figure BDA0002535143210000082
Figure BDA0002535143210000082

其中,f(state)为所述评价函数,S为所述预选支撑状态集合,state为所述预选支撑状态集合中的任一所述预选支撑状态,BMstate为所述预选支撑状态对应的所述稳定裕度,

Figure BDA0002535143210000091
为所述预选支撑状态对应的所述机体最大前进步长,ω1为稳定裕度的权重,ω2为机体最大前进步长的权重。Wherein, f(state) is the evaluation function, S is the set of preselected support states, state is any one of the preselected support states in the set of preselected support states, and BM state is the corresponding state of the preselected support state. Said stability margin,
Figure BDA0002535143210000091
is the maximum forward progress of the body corresponding to the preselected support state, ω 1 is the weight of the stability margin, and ω 2 is the weight of the maximum forward progress of the body.

根据所述评价函数,采用第二公式确定所述稳定支撑状态,所述第二公式为:According to the evaluation function, the stable support state is determined using a second formula, and the second formula is:

Figure BDA0002535143210000092
Figure BDA0002535143210000092

其中,state0为所述稳定支撑状态。Wherein, state 0 is the stable support state.

具体地,运动过程中,ω1越大则表示六足机器人越稳定,ω2越大则表示六足机器人行走速度越快,因此,可根据具体需要来选择ω1和ω2的数值。例如:在落足点密集的地形中,六足机器人稳定度较好,可适当增大ω2,降低ω1,以提高六足机器人的行走速度;而在落足点稀疏的地形中,可适当增大ω1,降低ω2,适当牺牲行走速度的情况下,提升六足机器人通过落足点稀疏的地形的通行能力。Specifically, during the movement, the larger ω 1 indicates that the hexapod robot is more stable, and the larger ω 2 indicates that the hexapod robot walks faster. Therefore, the values of ω 1 and ω 2 can be selected according to specific needs. For example, in the terrain with dense footholds, the stability of the hexapod robot is better, and ω 2 can be appropriately increased and ω 1 can be decreased to improve the walking speed of the hexapod robot; while in the terrain with sparse footfall points, it can be Appropriately increase ω 1 , decrease ω 2 , and under the condition of appropriately sacrificing walking speed, the ability of the hexapod robot to pass through the terrain with sparse landing points is improved.

优选地,所述状态信息包括所述六足机器人的机体重心当前位置、各个所述摆动腿的设备参数和预设的机体运动参数;所述结合所述机体重心移动步长和所述状态信息确定所述六足机器人的机体重心轨迹和各个所述摆动腿的落足区域包括:Preferably, the state information includes the current position of the body center of gravity of the hexapod robot, the equipment parameters of each of the swing legs, and the preset body motion parameters; the combination of the body center of gravity movement step length and the state information Determining the trajectory of the center of gravity of the hexapod robot and the landing area of each of the swing legs includes:

根据所述机体重心当前位置和所述机体重心移动步长确定所述六足机器人的机体重心下一位置;令机体重心位于所述机体重心下一位置,根据各个所述摆动腿的设备参数分别确定各个所述摆动腿的所述落足区域。Determine the next position of the center of gravity of the hexapod robot according to the current position of the center of gravity of the body and the moving step length of the center of gravity of the body; The footfall area of each of the swing legs is determined.

具体地,在机体重心当前位置上向前移动机体重心移动步长就可得到机体重心下一位置,假设六足机器人的机体重心运动到该机体重心下一位置,根据摆动腿的设备参数来确定此时该摆动腿的落足区域,设备参数包括摆动角度和摆动腿的长度等物理学参数。Specifically, the next position of the body's center of gravity can be obtained by moving the body's center of gravity forward on the current position of the body's center of gravity. Assuming that the body's center of gravity of the hexapod robot moves to the next position of the body's center of gravity, it is determined according to the equipment parameters of the swinging legs. At this time, in the footfall area of the swinging leg, the equipment parameters include physical parameters such as swinging angle and length of the swinging leg.

基于多项式拟合的方法,根据所述机体重心当前位置、所述机体重心下一位置和所述机体运动参数确定所述机体重心轨迹。Based on the method of polynomial fitting, the trajectory of the center of gravity of the body is determined according to the current position of the center of gravity of the body, the next position of the center of gravity of the body, and the motion parameters of the body.

具体地,如图2所示,机体重心轨迹规划就是在支撑腿组合支撑六足机器人的情况下,即支撑腿的足端位置不变的情况下,规划机体重心从机体重心当前位置到机体重心下一位置的轨迹。Specifically, as shown in Figure 2, the trajectory planning of the center of gravity of the body is to plan the center of gravity of the body from the current position of the center of gravity of the body to the center of gravity of the body when the support legs are combined to support the hexapod robot, that is, when the position of the foot end of the support leg is unchanged. The trajectory of the next position.

本实施例中将机体重心轨迹视为直线,用五次多项式来规划机体重心轨迹,以保证机体重心位置、速度和加速度的连续光滑性。令机体重心当前位置为Wpb1,机体重心下一位置为Wpb3,预设的机体运动参数包括机体重心在机体重心当前位置时的速度Wvb1、加速度Wab1和对应时间t1,以及机体重心在机体重心下一位置时的速度Wvb3、加速度Wab3、对应时间t3。规划机体重心轨迹时的已知量如表二所示:In this embodiment, the trajectory of the center of gravity of the body is regarded as a straight line, and a quintic polynomial is used to plan the trajectory of the center of gravity of the body, so as to ensure the continuous smoothness of the position, speed and acceleration of the body's center of gravity. Let the current position of the body's center of gravity be W p b1 , the next position of the body's center of gravity is W p b3 , and the preset motion parameters of the body include the speed W v b1 , the acceleration W a b1 and the corresponding time t 1 when the body's center of gravity is at the current position of the body's center of gravity , and the velocity W v b3 , the acceleration W a b3 , and the corresponding time t 3 when the center of gravity of the body is at the next position of the center of gravity of the body. The known quantities when planning the trajectory of the center of gravity of the aircraft are shown in Table 2:

表二 机体重心轨迹规划已知量Table 2 The known quantities of the trajectory planning of the center of gravity of the body

Figure BDA0002535143210000101
Figure BDA0002535143210000101

根据机体重心的位置和对应的时间建立机体重心轨迹的位置多项式,机体重心轨迹的位置多项式如下式所示:The position polynomial of the trajectory of the center of gravity of the fuselage is established according to the position of the center of gravity of the fuselage and the corresponding time. The position polynomial of the trajectory of the center of gravity of the fuselage is as follows:

Wpb=Ab0+Ab1t+Ab2t2+Ab3t3+Ab4t4+Ab5t5 W p b =A b0 +A b1 t+A b2 t 2 +A b3 t 3 +A b4 t 4 +A b5 t 5 ,

其中,WpbWpb1Wpb3Wpb1对应的t为t1Wpb3对应的t为t3Wherein, W p b is W p b1 or W p b3 , t corresponding to W p b1 is t 1 , and t corresponding to W p b3 is t 3 .

Wpb1可为Wpx1Wpy1Wpz1Wpx1为机体重心当前位置在机体坐标系中的XW轴坐标,Wpy1是机体重心当前位置在机体坐标系中的YW轴坐标,Wpz1为机体重心当前位置在机体坐标系中的ZW坐标。Wpb3可为Wpx3Wpy3Wpz3Wpx3为机体重心下一位置在机体坐标系中的XW轴坐标,Wpy3是机体重心下一位置在机体坐标系中的YW轴坐标,Wpz3为机体重心下一位置在机体坐标系中的ZW轴坐标,本实施例中Wpz3等于Wpz1 W p b1 can be W p x1 or W p y1 or W p z1 , W p x1 is the X and W axis coordinates of the current position of the body’s center of gravity in the body coordinate system, and W p y1 is the current position of the body’s center of gravity in the body coordinate system. Y and W axis coordinates, W p z1 is the Z W coordinate of the current position of the center of gravity of the body in the body coordinate system. W p b3 can be W p x3 or W p y3 or W p z3 , W p x3 is the X and W axis coordinates of the next position of the center of gravity of the body in the body coordinate system, W p y3 is the next position of the center of gravity of the body in the body coordinate system The Y and W axis coordinates in , W p z3 is the Z and W axis coordinates of the next position of the center of gravity of the body in the body coordinate system. In this embodiment, W p z3 is equal to W p z1 .

根据机体重心的速度和对应的时间建立机体重心轨迹的速度多项式,机体重心轨迹的速度多项式如下式所示:The velocity polynomial of the trajectory of the center of gravity of the fuselage is established according to the velocity of the center of gravity of the fuselage and the corresponding time. The velocity polynomial of the trajectory of the center of gravity of the fuselage is shown as follows:

Wvb=Ab1+2Ab2t+3Ab3t2+4Ab4t3+5Ab5t4 W v b =A b1 +2A b2 t+3A b3 t 2 +4A b4 t 3 +5A b5 t 4 ,

其中,WvbWvb1Wvb3Wvb1对应的t为t1Wvb3对应的t为t3Wherein, W v b is W v b1 or W v b3 , t corresponding to W v b1 is t 1 , and t corresponding to W v b3 is t 3 .

Wvb1可为Wvx1Wvy1Wvz1Wvx1Wvb1的XW轴分量,Wvy1Wvb1的YW轴分量,Wvz1Wvb1的ZW轴分量。Wvb3可为Wvx3Wvy3Wvz3Wvx3Wvb3的XW轴分量,Wvy3Wvb3的YW轴分量,Wvz3Wvb3的ZW轴分量。 W v b1 can be W v x1 or W v y1 or W v z1 , W v x1 is the X W axis component of W v b1 , W v y1 is the Y W axis component of W v b1 , W v z1 is W v b1 The Z and W axis components of . W v b3 can be W v x3 or W v y3 or W v z3 , W v x3 is the X W axis component of W v b3 , W v y3 is the Y W axis component of W v b3 , W v z3 is W v b3 The Z and W axis components of .

根据机体重心的加速度和对应的时间建立机体重心轨迹的加速度多项式,机体重心轨迹的加速度多项式如下式所示:The acceleration polynomial of the trajectory of the center of gravity of the fuselage is established according to the acceleration of the center of gravity of the fuselage and the corresponding time. The acceleration polynomial of the trajectory of the center of gravity of the fuselage is as follows:

Wab=2Ab2+6Ab3t+12Ab4t2+20Ab5t3 W a b =2A b2 +6A b3 t+12A b4 t 2 +20A b5 t 3 ,

其中,WabWab1Wab3Wab1对应的t为t1Wab3对应的t为t3Wherein, W a b is W a b1 or W a b3 , t corresponding to W a b1 is t 1 , and t corresponding to W a b3 is t 3 .

Wab1可为Wax1Way1Waz1Wax1Wab1的XW轴分量,Way1Wab1的YW轴分量,Waz1Wab1的ZW轴分量。Wab3可为Wax3Way3Waz3Wax3Wab3的XW轴分量,Way3Wab3的YW轴分量,Waz3Wab3的ZW轴分量。 W a b1 can be W a x1 or W a y1 or W a z1 , W a x1 is the X W axis component of W a b1 , W a y1 is the Y W axis component of W a b1 , W a z1 is W a b1 The Z and W axis components of . W a b3 can be W a x3 or W a y3 or W a z3 , W a x3 is the X W axis component of W a b3 , W a y3 is the Y W axis component of W a b3 , W a z3 is W a b3 The Z and W axis components of .

将各参数代入对应的多项式中,t1可设为0,可得到如下的公式:Substitute each parameter into the corresponding polynomial, t 1 can be set to 0, and the following formula can be obtained:

Figure BDA0002535143210000111
Figure BDA0002535143210000111

根据已知的Wpb1Wpb3Wvb1Wvb3Wab1Wab3和t3就可以得到多项式系数[Ab0,Ab1,Ab2,Ab3,Ab4,Ab5]T,其中,Wvb1Wvb3Wab1Wab3可为0,t3可根据情况进行具体设置。According to the known W p b1 , W p b3 , W v b1 , W v b3 , W a b1 , W a b3 and t 3 , the polynomial coefficients [A b0 , A b1 , A b2 , A b3 , A b4 can be obtained ,A b5 ] T , where W v b1 , W v b3 , W a b1 and W a b3 can be 0, and t 3 can be specifically set according to the situation.

本优选的实施例中,在确定出多项式系数后,通过设定时间就可以得到机体重心从机体重心当前位置运动到机体重心下一位置过程中的任意位置,以及该位置对应的机体速度和加速度,确定机体重心轨迹。轨迹规划过程平滑,并且能够满足六足机器人的稳定性要求和能量消耗的约束。In this preferred embodiment, after the polynomial coefficients are determined, any position in the process of the center of gravity of the body moving from the current position of the center of gravity of the body to the next position of the center of gravity of the body can be obtained by setting the time, and the speed and acceleration of the body corresponding to this position can be obtained , to determine the trajectory of the center of gravity of the fuselage. The trajectory planning process is smooth and can meet the stability requirements and energy consumption constraints of the hexapod robot.

优选地,所述状态信息还包括各个所述摆动腿的足端当前位置;所述根据所述地面落足点信息确定各个所述摆动腿在对应的所述落足区域中的目标落足点包括:Preferably, the state information further includes the current position of the foot end of each of the swinging legs; the target footfall point of each of the swinging legs in the corresponding footfall area is determined according to the ground footfall point information include:

根据所述地面落足点信息确定各个所述落足区域中的落足点集合,所述落足点集合包括零个或至少一个所述预选落足点。A set of landing points in each of the landing areas is determined according to the ground landing point information, where the set of landing points includes zero or at least one of the pre-selected landing points.

对于任一所述摆动腿,令所述落足点集合为P,根据第三公式确定选取所述目标落足点的代价函数,所述第三公式为:For any of the swinging legs, let the set of footfall points be P, and determine the cost function for selecting the target footfall point according to a third formula. The third formula is:

Figure BDA0002535143210000121
Figure BDA0002535143210000121

其中,pi为所述摆动腿的所述足端当前位置,pe为所述摆动腿对应的所述预选落足点,

Figure BDA0002535143210000122
为所述六足机器人机体重心的运动方向上的单位向量,f(pe)为所述代价函数。Wherein, pi is the current position of the foot end of the swinging leg, and p e is the preselected footing point corresponding to the swinging leg,
Figure BDA0002535143210000122
is the unit vector in the movement direction of the center of gravity of the hexapod robot, and f( pe ) is the cost function.

基于所述代价函数,根据第四公式确定各个所述摆动腿的所述目标落足点,所述第四公式为:Based on the cost function, the target footfall point of each of the swing legs is determined according to a fourth formula, where the fourth formula is:

Figure BDA0002535143210000123
Figure BDA0002535143210000123

其中,p为所述摆动腿的所述目标落足点。Wherein, p is the target footing point of the swing leg.

具体地,如图3所示,靠左的虚线框为机体重心移动前任一摆动腿的落足区域,K1对应的折线段为该摆动腿摆动前的位姿,pi为此时该摆动腿的足端位置;靠右的实线框为机体重心移动到机体重心下一位置时该摆动腿的落足区域,虚线框和实线框中的圆圈表示落足点,K2对应的折线段为该摆动腿摆动后的位姿,pe为此时该摆动腿的足端位置,即预选落足点,图4中将pe视为目标落足点,连接pi和pe的虚线即为该摆动腿的足端轨迹。箭头表示六足机器人的机体运动方向。Specifically, as shown in FIG. 3 , the dotted line frame on the left is the foot drop area of any swinging leg before the center of gravity of the body moves, the broken line segment corresponding to K1 is the posture of the swinging leg before swinging, and p i is the swinging leg at this time. The foot end position of the leg; the solid line box on the right is the foot drop area of the swing leg when the center of gravity of the body moves to the next position of the body center of gravity, the dotted line box and the circle in the solid line box represent the foot drop point, and the fold corresponding to K 2 The line segment is the posture of the swinging leg after swinging , and pe is the foot end position of the swinging leg at this time, that is, the pre-selected landing point . The dotted line is the trajectory of the foot end of the swinging leg. The arrows indicate the body movement direction of the hexapod robot.

如图4所示,机体重心移动前对应的虚线框中有圆圈,而机体重心移动后对应的实线框中没有圆圈,即摆动腿在机体重心前移后的落足区域没有落足点,此时控制该摆动腿收回并悬停至预定位置,即图4中K2所示的位姿。As shown in Figure 4, there is a circle in the dotted box before the center of gravity of the body moves, but there is no circle in the solid line box after the center of gravity of the body moves, that is, the swinging leg does not have a footing point in the footfall area after the center of gravity of the body moves forward. At this time, the swinging leg is controlled to retract and hover to a predetermined position, that is, the pose shown by K 2 in FIG. 4 .

如图5所示,机体重心移动前对应的虚线框中没有圆圈,而机体重心移动后对应的实线框中有圆圈,即摆动腿在机体重心前移前对应的落足区域没有落足点,该摆动腿此时悬停在预定位置,即图5中K1所示的位姿。在机体重心前移后对应的落足区域有落足点,此时控制该摆动腿落足到对应的目标落足点peAs shown in Figure 5, there is no circle in the dotted box before the center of gravity of the fuselage moves, while there is a circle in the solid line box after the center of gravity of the fuselage moves, that is, the swinging leg does not have a footing point in the foot-drop area before the center of gravity of the fuselage moves forward , the swinging leg hovers at a predetermined position at this time, that is, the pose shown by K 1 in FIG. 5 . After the center of gravity of the fuselage moves forward, there is a foot drop point in the corresponding foot drop area, and at this time, the swing leg is controlled to drop to the corresponding target foot drop point p e .

优选地,所述故障信息包括腿部故障信息;根据所述状态信息确定各个所述摆动腿是否能落足在对应的所述目标落足点包括:根据所述腿部故障信息确定各个所述摆动腿是否为无法落足的摆动腿。Preferably, the fault information includes leg fault information; determining whether each of the swing legs can land on the corresponding target landing point according to the state information includes: determining each of the swing legs according to the leg fault information Whether the swing leg is a swing leg that cannot fall.

具体地,根据腿部故障信息确定各个摆动腿是否为故障腿,故障腿即为无法落足的摆动腿,腿部故障信息可包括驱动器故障、电机损毁、关节锁死和编码器等传感器失效等。Specifically, it is determined whether each swinging leg is a faulty leg according to the leg fault information, and the faulty leg is the swinging leg that cannot fall. The leg fault information may include driver failure, motor damage, joint lock, encoder and other sensor failures, etc. .

优选地,所述状态信息还包括预设的摆动腿运动参数;所述根据所述当前状态信息和所述目标落足点确定所述摆动腿的足端轨迹包括:Preferably, the state information further includes preset motion parameters of the swinging leg; the determining the foot end trajectory of the swinging leg according to the current state information and the target footfall point includes:

基于多项式拟合的方法,根据所述足端当前位置、所述目标落足点和所述摆动腿运动参数确定所述摆动腿的足端轨迹。Based on the method of polynomial fitting, the foot end trajectory of the swing leg is determined according to the current position of the foot end, the target foot landing point and the motion parameter of the swing leg.

具体地,如图6所示,采用多阶连续的六次多项式来规划摆动腿的足端轨迹,令足端当前位置为Wpr1,目标落足点所在位置为Wpr3,摆动腿的足端在运动过程中的中间点位置为Wpr2。预设的摆动腿运动参数包括摆动腿的足端在足端当前位置时的速度Wvr1、加速度War1和对应时间t4,以及摆动腿的足端在目标落足点时的速度Wvr3、加速度War3、对应时间t6,并令中间点位置的时间为t5。规划机体重心轨迹时的已知量如表二所示:Specifically, as shown in Fig. 6 , a multi-order continuous hexadecimal polynomial is used to plan the foot end trajectory of the swinging leg. Let the current position of the foot end be W p r1 , the position of the target foot landing point is W p r3 , and the swing leg's current position is W p r3 . The midpoint position of the foot end during the movement is W p r2 . The preset motion parameters of the swinging leg include the speed W v r1 , the acceleration W a r1 and the corresponding time t 4 when the foot end of the swing leg is at the current position of the foot end, and the speed W when the foot end of the swing leg is at the target footing point v r3 , acceleration W a r3 , corresponding time t 6 , and let the time at the midpoint position be t 5 . The known quantities when planning the trajectory of the center of gravity of the aircraft are shown in Table 2:

表三 足端轨迹规划已知量Table 3 Known quantities for trajectory planning of the foot

Figure BDA0002535143210000131
Figure BDA0002535143210000131

根据摆动腿的足端位置和对应的时间建立摆动腿的足端位置多项式,足端位置多项式如下式所示:The foot end position polynomial of the swing leg is established according to the foot end position of the swing leg and the corresponding time, and the foot end position polynomial is as follows:

Wpr=Ar0+Ar1t+Ar2t2+Ar3t3+Ar4t4+Ar5t5 W pr =A r0 + A r1 t+A r2 t 2 +A r3 t 3 +A r4 t 4 +A r5 t 5 ,

其中,WprWpr1Wpr2Wpr3Wpr对应的t为t4Wpr2对应的t为t5Wpr3对应的t为t6 Wherein , Wpr is Wpr1 or Wpr2 or Wpr3 , t corresponding to Wpr is t4 , t corresponding to Wpr2 is t5 , and t corresponding to Wpr3 is t6 .

同样的,Wpr1可为Wprx1Wpry1Wprz1Wprx1为足端当前位置在机体坐标系中的XW轴坐标,Wpry1是足端当前位置在机体坐标系中的YW轴坐标,Wprz1为足端当前位置在机体坐标系中的ZW坐标。Wpr3可为Wprx3Wpry3Wprz3Wprx3为目标落足点在机体坐标系中的XW轴坐标,Wpry3是目标落足点在机体坐标系中的YW轴坐标,Wprz3为目标落足点在机体坐标系中的ZW轴坐标,本实施例中Wprz1Wprz3均为0。Wpr2可为Wprx2Wpry2Wprz2Wprx2为中间点位置在机体坐标系中的XW轴坐标,Wpry2为中间点位置在机体坐标系中的YW轴坐标,Wprz2为中间点位置在机体坐标系中的ZW轴坐标,本实施例中Wprz2为摆动腿的抬足高度,即图6中的h。Similarly, W p r1 can be W p rx1 or W p ry1 or W p rz1 , W p rx1 is the X and W axis coordinates of the current position of the foot in the body coordinate system, and W p ry1 is the current position of the foot in the body coordinate The Y and W axis coordinates in the system, W p rz1 is the Z and W coordinates of the current position of the foot end in the body coordinate system. W p r3 can be W p rx3 or W p ry3 or W p rz3 , W p rx3 is the X and W axis coordinates of the target landing point in the body coordinate system, W p ry3 is the target landing point in the body coordinate system Y and W -axis coordinates, and W p rz3 are the Z and W -axis coordinates of the target landing point in the body coordinate system. In this embodiment, both W p rz1 and W p rz3 are 0. W p r2 can be W p rx2 or W p ry2 or W p rz2 , W p rx2 is the X and W axis coordinates of the intermediate point position in the body coordinate system, W p ry2 is the Y W of the intermediate point position in the body coordinate system Axis coordinates, W p rz2 is the Z and W axis coordinates of the midpoint position in the body coordinate system, in this embodiment, W p rz2 is the height of the swinging leg, ie h in FIG. 6 .

根据摆动腿的足端运动时的速度和对应的时间建立摆动腿的足端速度多项式,足端速度多项式如下式所示:According to the speed and the corresponding time of the foot end of the swinging leg, the foot end speed polynomial of the swing leg is established, and the foot end speed polynomial is as follows:

Wvr=Ar1+2Ar2t+3Ar3t2+4Ar4t3+5Ar5t4+6Ar6t5 W v r =A r1 +2A r2 t+3A r3 t 2 +4A r4 t 3 +5A r5 t 4 +6A r6 t 5 ,

其中,WvrWvr1Wvr3Wvr1对应的t为t4Wvr3对应的t为t6Wherein, W v r is W v r1 or W v r3 , t corresponding to W v r1 is t 4 , and t corresponding to W v r3 is t 6 .

同样的,Wvr1可为Wvr1的XW轴分量或YW轴分量或ZW轴分量,Wvr3可为Wvr3的XW轴分量或YW轴分量或ZW轴分量。Similarly, W v r1 can be the X W axis component or Y W axis component or Z W axis component of W v r1 , W v r3 can be the X W axis component or Y W axis component or Z W axis component of W v r3 .

根据摆动腿的足端运动时的加速度和对应的时间建立摆动腿的足端加速度多项式,足端加速度多项式如下式所示:The foot end acceleration polynomial of the swinging leg is established according to the acceleration and the corresponding time of the swinging leg when the foot end moves, and the foot end acceleration polynomial is as follows:

War=2Ar2+6Ar3t+12Ar4t2+20Ar5t3+30Ar6t4 W a r = 2A r2 +6A r3 t+12A r4 t 2 +20A r5 t 3 +30A r6 t 4 ,

其中,WarWar1War3War1对应的t为t4War3对应的t为t6Wherein, W a r is W a r1 or W a r3 , t corresponding to W a r1 is t 4 , and t corresponding to W a r3 is t 6 .

同样的,War1可为War1的XW轴分量或YW轴分量或ZW轴分量,War3可为War3的XW轴分量或YW轴分量或ZW轴分量。Similarly, W a r1 can be the X W axis component or Y W axis component or Z W axis component of W a r1 , W a r3 can be the X W axis component or Y W axis component or Z W axis component of W a r3 .

将参数代入对应的多项式中,可将t4设为0,得到如下的公式:By substituting the parameters into the corresponding polynomials, t 4 can be set to 0, and the following formula can be obtained:

Figure BDA0002535143210000141
Figure BDA0002535143210000141

根据已知的Wpr1Wpr2Wpr3Wvr1Wvr3War1War3、t5和t6就可以得到多项式系数[Ar0,Ar1,Ar2,Ar3,Ar4,Ar5,Ar6]T,其中,Wvr1Wvr3War1War3可为0,t5和t6可根据情况进行具体设置。 The polynomial coefficients [ A r0 , A r1 , A _ _ _ _ _ _ _ r2 , A r3 , A r4 , A r5 , A r6 ] T , wherein, W v r1 , W v r3 , W a r1 and W a r3 can be 0, and t 5 and t 6 can be specifically set according to the situation.

本优选的实施例中,在确定出多项式系数后,通过设定时间就可以得到摆动腿的足端从足端当前位置运动到目标落足点过程中的任意位置,以及该位置对应的足端的速度和加速度,确定出足端轨迹。通过多项式拟合的方法规划足端轨迹,不仅能够保证位置轨迹曲线平滑连续,还能保证速度曲线和加速度曲线平滑连续,使得电机在控制摆动腿运动时不会发生抖动突变,并且能够节省能量。In this preferred embodiment, after the polynomial coefficients are determined, by setting the time, it is possible to obtain any position of the foot end of the swinging leg during the movement from the current position of the foot end to the target foot landing point, and the corresponding foot end of the position. Speed and acceleration to determine the trajectory of the foot end. The foot end trajectory is planned by the method of polynomial fitting, which can not only ensure the smooth and continuous position trajectory curve, but also ensure that the speed curve and acceleration curve are smooth and continuous, so that the motor will not have sudden changes in jitter when controlling the movement of the swinging leg, and can save energy.

优选地,在所述根据所述状态信息和所述目标落足点确定所述摆动腿的足端轨迹之后,所述方法还包括如下步骤:Preferably, after the foot end trajectory of the swinging leg is determined according to the state information and the target footfall point, the method further includes the following steps:

根据所述机体重心轨迹运动控制所述六足机器人至所述机体重心下一位置,并根据所述足端轨迹控制所述摆动腿运动至对应的所述目标落足点。The hexapod robot is controlled to move to the next position of the body's center of gravity according to the trajectory of the body's center of gravity, and the swing leg is controlled to move to the corresponding target landing point according to the trajectory of the foot end.

若确定所述摆动腿在落足到对应的所述目标落足点时出现打滑或沉陷,则控制所述摆动腿尝试落足到与所述目标落足点相邻的所述预选落足点。If it is determined that the swinging leg slips or sinks when the foot falls to the corresponding target footfall point, the swing leg is controlled to try to land on the preselected footfall point adjacent to the target footfall point .

当确定多次尝试落足至所述预选落足点均无法平稳落足时,控制所述摆动腿悬停在预定位置。When it is determined that the pre-selected foot landing point cannot be smoothly landed after many attempts to land the foot, the swing leg is controlled to hover at a predetermined position.

具体地,控制摆动腿的足端落足到目标落足点时,当地面的特性较差时,如地面湿滑和较软等,足端可能会出现打滑或沦陷的情况。如图7所示,箭头方向为机体运动方向,K1为摆动腿摆动前的位姿,pi为此时该摆动腿的足端位置;K2为摆动腿摆动后落足的位姿,pe1为此时该摆动腿的足端位置;图中圆圈为可落足的落足点,黑点为无法落足的落足点,即会使摆动腿的足端打滑或沉陷的落足点。即图7中摆动腿从pi移动到pe1落足时,该摆动腿的足端会出现打滑或沉陷的情况。Specifically, when the foot end of the swing leg is controlled to fall to the target foot end point, when the characteristics of the ground are poor, such as the ground is slippery and soft, the foot end may slip or fall. As shown in Figure 7, the direction of the arrow is the movement direction of the body, K1 is the posture before the swinging leg swings, pi is the foot end position of the swinging leg at this time ; K2 is the posture of the swinging leg falling after the swinging leg, p e1 is the position of the foot end of the swing leg at this time; the circle in the figure is the foot drop point where the foot can be dropped, and the black dot is the foot drop point that cannot drop the foot, that is, the foot end of the swing leg will slip or sink. point. That is, when the swinging leg moves from pi to p e1 in FIG. 7 and falls , the foot end of the swinging leg may slip or sink.

此时,控制该摆动腿落足到与pe1相邻的其它落足点,其它落足点如图8所示的pe2,由于pe2同样是黑点,即无法落足的落足点,因此继续控制该摆动腿尝试落足到与pe2相邻的落足点,以此类推,尝试n次。n的大小可根据需要进行设定。n越大,该摆动腿落足的可能性就越大,六足机器人通过该地形的概率就越大,但是通行速度也就越慢。n越小,该摆动腿落足的可能性就越小,六足机器人通过该地形的概率也会降低。At this time, the swing leg is controlled to fall to other footfall points adjacent to p e1 , and the other footfall points are shown as p e2 in Fig. 8, because p e2 is also a black point, that is, the foot drop point that cannot fall. , so continue to control the swinging leg to try to land on the foot landing point adjacent to p e2 , and so on, try n times. The size of n can be set as required. The larger n is, the greater the probability of the swinging leg falling, and the greater the probability of the hexapod robot passing through the terrain, but the slower the passing speed. The smaller n is, the less likely the swinging leg will land, and the less likely the hexapod will pass through the terrain.

若尝试n次,摆动腿始终无法稳定落足,则将该摆动腿视为出错腿,控制该摆动腿悬停至预定位置。其中,可设n大于落足区域中的落足点数量,即摆动腿无法落足时,挨个尝试落足区域中的所有落足点,直至该摆动腿稳定落足,或所有落足点均无法稳定落足,此时控制该摆动腿悬停至预定位置。If after n times of attempts, the swinging leg still fails to land stably, the swinging leg is regarded as an error leg, and the swinging leg is controlled to hover to a predetermined position. Among them, n can be set larger than the number of footfall points in the footfall area, that is, when the swinging leg fails to land, try all the footfall points in the footfall area one by one, until the swinging leg stably drops, or all the footfall points are Unable to stably fall, control the swinging leg to hover to a predetermined position at this time.

本优选的实施例中,在地形物理特性较差,摆动腿的足端出现易打滑或沉陷等情况时,控制摆动腿尝试落足到落足区域内的其它落足点,重新寻找目标落足点,对落足点进行纠错,能够提高摆动腿稳定落足的概率,进而提高六足机器人在复杂地形中的通过能力。In this preferred embodiment, when the physical characteristics of the terrain are poor, and the foot end of the swing leg is prone to slipping or sinking, the swing leg is controlled to try to land on another foot drop point in the foot drop area, and re-search for the target foot drop The error correction of the landing point can improve the probability of the swinging leg landing stably, thereby improving the passing ability of the hexapod robot in complex terrain.

下面以六足机器人通过落足点密度为11.3/m2的地形为例,对本发明实施例的一种六足机器人的自由容错步态规划方法做进一步的说明。Hereinafter, a free fault-tolerant gait planning method for a hexapod robot according to an embodiment of the present invention will be further described by taking a hexapod robot passing through a terrain with a footing point density of 11.3/m 2 as an example.

如图9所示的六足机器人的腿部支撑状态相序图,将六足机器人的六条腿依次命名为Leg1、Leg2、Leg3、Leg4、Leg5和Leg6,图中黑色部分表示对应的腿用作支撑腿,白色部分表示对应的腿用作摆动腿。在六足机器人的第一个运动周期中,Leg1、Leg2、Leg4和Leg5用作支撑腿,Leg3和Leg6用作摆动腿;在第二个运动周期中,Leg3、Leg4和Leg6用作支撑腿,Leg1、Leg2和Leg5用作摆动腿,以此类推。可知,采用本发明实施例的六足机器人的自由容错步态规划方法来规划步态时,支撑状态是自由选取的,六足机器人在三足步态、四足步态和五足步态之间自由切换,能够根据不同的地形选择合适的步态模式,提高了在各种复杂地形中的通行能力。The phase sequence diagram of the leg support state of the hexapod robot is shown in Figure 9. The six legs of the hexapod robot are named Leg1, Leg2, Leg3, Leg4, Leg5 and Leg6 in turn. The black part in the figure indicates that the corresponding legs are used as Supporting legs, the white part indicates that the corresponding leg is used as a swinging leg. In the first motion cycle of the hexapod robot, Leg1, Leg2, Leg4 and Leg5 are used as support legs, and Leg3 and Leg6 are used as swing legs; in the second motion cycle, Leg3, Leg4 and Leg6 are used as support legs, Leg1, Leg2, and Leg5 are used as swing legs, and so on. It can be seen that when the free fault-tolerant gait planning method of the hexapod robot according to the embodiment of the present invention is used to plan the gait, the support state is freely selected. It can be switched freely between different terrains, and the appropriate gait mode can be selected according to different terrains, which improves the passing ability in various complex terrains.

如图10所示的六足机器人通过落足点密度为11.3/m2的地形时的仿真示意图,六足机器人实现了从坐标点[0,0]移动到坐标点[8.4,0]的任务。图10中从左到右,从上到下依次对应了六足机器人在运动过程中的15个状态,图中黑点为落足点,白色区域为无落足点区域,通过仿真结果可知,采用本申请的自由容错步态规划方法能够帮助六足机器人顺利通过稀疏落足点区域。图11显示了与图10中前9个状态分别对应的六足机器人的俯视示意图。As shown in Figure 10, the simulation diagram of the hexapod robot passing through the terrain with a foothold density of 11.3/m 2 , the hexapod robot realizes the task of moving from coordinate point [0,0] to coordinate point [8.4,0] . Figure 10 corresponds to the 15 states of the hexapod robot during motion from left to right and from top to bottom. The black dots in the figure are the footfall points, and the white area is the area without footfall points. The simulation results show that, The free and fault-tolerant gait planning method of the present application can help the hexapod robot to smoothly pass through the sparse footfall area. FIG. 11 shows a schematic top view of the hexapod robot corresponding to the first nine states in FIG. 10 respectively.

如图12所示,本发明实施例提供的一种六足机器人的自由容错步态规划装置,包括:As shown in FIG. 12 , a free fault-tolerant gait planning device for a hexapod robot provided by an embodiment of the present invention includes:

获取模块,用于获取六足机器人的状态信息和地面落足点信息。The acquisition module is used to acquire the status information and ground landing point information of the hexapod robot.

第一处理模块,用于根据所述状态信息确定所述六足机器人的摆动腿组合和机体重心移动步长,所述摆动腿组合包括零个或至少一个摆动腿。The first processing module is configured to determine, according to the state information, a combination of swinging legs and a moving step length of the center of gravity of the hexapod robot, where the combination of swinging legs includes zero or at least one swinging leg.

第一规划模块,用于结合所述机体重心移动步长和所述状态信息分别确定所述六足机器人的机体重心轨迹和各个所述摆动腿的落足区域。The first planning module is configured to combine the movement step length of the body's center of gravity and the state information to respectively determine the trajectory of the body's center of gravity of the hexapod robot and the landing area of each of the swing legs.

第二处理模块,用于根据所述地面落足点信息确定各个所述摆动腿在对应的所述落足区域中的目标落足点,并根据所述状态信息确定各个所述摆动腿是否能落足到对应的所述目标落足点。The second processing module is configured to determine the target footfall point of each of the swing legs in the corresponding footfall area according to the ground footfall point information, and to determine whether each of the swing legs can landing on the corresponding target landing point.

第二规划模块,用于对于没有所述目标落足点或无法落足的所述摆动腿,控制所述摆动腿悬停在预定位置;对于能落足在对应的所述目标落足点的所述摆动腿,根据所述状态信息和所述目标落足点确定所述摆动腿的足端轨迹。The second planning module is configured to control the swinging leg to hover at a predetermined position for the swinging leg that does not have the target footing point or cannot land; for the swinging leg that can land at the corresponding target footing point For the swing leg, the foot end trajectory of the swing leg is determined according to the state information and the target foot landing point.

本发明另一实施例提供的一种六足机器人的自由容错步态规划装置包括存储器和处理器;所述存储器,用于存储计算机程序;所述处理器,用于当执行所述计算机程序时,实现如上所述的六足机器人的自由容错步态规划方法。该装置可为工控机和服务器等。A free fault-tolerant gait planning device for a hexapod robot provided by another embodiment of the present invention includes a memory and a processor; the memory is used for storing a computer program; the processor is used when executing the computer program , to realize the free fault-tolerant gait planning method of the hexapod robot as described above. The device can be an industrial computer, a server, or the like.

本发明再一实施例提供的一种计算机可读存储介质上存储有计算机程序,当所述计算机程序被处理器执行时,实现如上所述的六足机器人的自由容错步态规划方法。Still another embodiment of the present invention provides a computer-readable storage medium with a computer program stored thereon. When the computer program is executed by a processor, the above-mentioned free fault-tolerant gait planning method for a hexapod robot is implemented.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random AccessMemory,RAM)等。在本申请中,所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. During execution, the processes of the embodiments of the above-mentioned methods may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM) or the like. In this application, the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple locations. on a network unit. Some or all of the units may be selected according to actual needs to achieve the purpose of the solutions in the embodiments of the present invention. In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

虽然本发明公开披露如上,但本发明公开的保护范围并非仅限于此。本领域技术人员在不脱离本发明公开的精神和范围的前提下,可进行各种变更与修改,这些变更与修改均将落入本发明的保护范围。Although the disclosure of the present invention is as above, the protection scope of the disclosure of the present invention is not limited thereto. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present disclosure, and these changes and modifications will fall within the protection scope of the present invention.

Claims (10)

1. A free fault-tolerant gait planning method of a hexapod robot is characterized by comprising the following steps:
acquiring state information and ground foot-landing point information of the hexapod robot;
determining a swing leg combination and a body gravity center moving step length of the hexapod robot according to the state information, wherein the swing leg combination comprises zero or at least one swing leg;
respectively determining the body gravity center track of the hexapod robot and the foot falling area of each swing leg by combining the body gravity center moving step length and the state information;
determining a target foot falling point of each swing leg in the corresponding foot falling area according to the ground foot falling point information, and determining whether each swing leg can fall to the corresponding target foot falling point according to the state information;
for the swing leg without the target foot drop point or failing to drop foot, controlling the swing leg to hover at a predetermined position; and determining the foot end track of the swing leg capable of falling at the corresponding target foot falling point according to the state information and the target foot falling point.
2. The free fault tolerant gait planning method of a hexapod robot according to claim 1, characterized in that the state information includes fault information of the hexapod robot; the step of determining the swing leg combination and the body gravity center moving step length of the hexapod robot according to the state information comprises the following steps:
determining legs of the hexapod robot except for the fault leg as preselected support legs according to the fault information;
determining a preselected support state of the hexapod robot according to a corresponding relation between the preselected support legs and a preset support state, wherein the corresponding relation between the support states comprises at least one preselected support state, and a preselected combination of a stability margin, a maximum body advancing step length and a swing leg, which respectively correspond to each preselected support state;
and determining a stable supporting state of the hexapod robot according to the stability margin and the maximum body advancing step length, wherein the maximum body advancing step length corresponding to the stable supporting state is the body gravity center moving step length, and the preselected combination of the swing legs corresponding to the stable supporting state is the swing leg combination.
3. The free fault tolerant gait planning method of a hexapod robot according to claim 2, wherein said determining the stable support state of the hexapod robot from the stability margin and the maximum body forward step size comprises:
determining a merit function for each of the preselected support states using a first formula, the first formula being:
Figure FDA0002935127950000021
wherein f (state) is the evaluation function, S is a preselected set of support states, the preselected set of support states is a set of all the preselected support states, and state is any one of the preselected set of support states, BMstateThe stability margin for the preselected support condition,
Figure FDA0002935127950000022
the maximum advance step length, omega, of the body corresponding to the preselected support state1Weight of stability margin, ω2The weight of the maximum advancing step length of the machine body;
determining the stable supporting state by adopting a second formula according to the evaluation function, wherein the second formula is as follows:
Figure FDA0002935127950000023
wherein, state0The stable support state.
4. The free fault-tolerant gait planning method of a hexapod robot according to claim 2, characterized in that the state information includes a current position of a body center of gravity of the hexapod robot, equipment parameters of each of the swing legs, and preset body motion parameters; the determining the body gravity center track of the hexapod robot and the foot falling area of each swing leg by combining the body gravity center moving step length and the state information comprises:
determining the next position of the body gravity center of the hexapod robot according to the current position of the body gravity center and the body gravity center moving step length;
enabling the gravity center of the body of the hexapod robot to be located at the position below the gravity center of the body, and respectively determining the foot falling area of each swing leg according to the equipment parameters of each swing leg;
and determining the gravity center track of the body according to the current position of the gravity center of the body, the next position of the gravity center of the body and the motion parameters of the body based on a polynomial fitting method.
5. The free fault tolerant gait planning method of a hexapod robot according to claim 4, characterized in that the state information further includes a current position of a foot end of each of the swing legs; the determining a target foot-landing point of each swing leg in the corresponding foot-landing area according to the ground foot-landing point information comprises:
determining a set of foot placement points in each of the foot placement regions from the ground foot placement point information, the set of foot placement points including zero or at least one preselected foot placement point;
for any swing leg, the set of the foot falling points is set to be P, and a cost function for selecting the target foot falling point is determined according to a third formula, wherein the third formula is as follows:
Figure FDA0002935127950000031
wherein p isiIs the current position of the foot end, peFor the pre-selected foot drop point,
Figure FDA0002935127950000032
is a unit vector in the direction of motion of the center of gravity of the body, f (p)e) Is the cost function;
based on the cost function, determining the target drop foot point of the swing leg according to a fourth formula, the fourth formula being:
Figure FDA0002935127950000033
wherein p is the target drop foot point of the swing leg.
6. The free fault tolerant gait planning method of a hexapod robot according to claim 5, characterized in that the fault information comprises leg fault information, the state information further comprises preset swing leg motion parameters;
the determining whether each swing leg can fall to the corresponding target foot falling point according to the state information includes:
determining whether each swing leg cannot fall to the foot according to the leg fault information;
the determining the foot end trajectory of the swing leg according to the state information and the target foot drop point comprises:
and determining the foot end track of the swing leg according to the current position of the foot end, the target foot drop point and the motion parameters of the swing leg based on a polynomial fitting method.
7. The free fault tolerant gait planning method of a hexapod robot according to claim 5 or 6, characterized in that after said determining the foot end trajectory of the swing leg from the state information and the target drop foot point, further comprises:
controlling the hexapod robot to move to a position below the gravity center of the robot body according to the gravity center track of the robot body, and controlling each swing leg to move to the corresponding target foot falling point according to the foot end track;
if the swing leg is determined to be slipped or sunk when falling to the corresponding target foot falling point, controlling the swing leg to try to fall to the preselected foot falling point adjacent to the target foot falling point;
controlling the swing leg to hover at a predetermined location when it is determined that none of the plurality of attempted foot drops to the preselected foot drop point results in a smooth foot drop.
8. A free fault-tolerant gait planning device of a hexapod robot, comprising:
the acquisition module is used for acquiring the state information and the ground foot-landing point information of the hexapod robot;
the first processing module is used for determining a swing leg combination and an organism gravity center moving step length of the hexapod robot according to the state information, wherein the swing leg combination comprises zero or at least one swing leg;
the first planning module is used for respectively determining the gravity center track of the six-legged robot and the foot falling area of each swing leg by combining the gravity center moving step length of the robot body and the state information;
the second processing module is used for determining a target foot falling point of each swing leg in the corresponding foot falling area according to the ground foot falling point information and determining whether each swing leg can fall to the corresponding target foot falling point according to the state information;
a second planning module for controlling the swing leg to hover at a predetermined position for the swing leg without the target foot drop point or failing to drop foot; and determining the foot end track of the swing leg capable of falling at the corresponding target foot falling point according to the state information and the target foot falling point.
9. A free fault-tolerant gait planning device of a hexapod robot is characterized by comprising a memory and a processor;
the memory for storing a computer program;
the processor, when executing the computer program, for implementing a free fault tolerant gait planning method of a hexapod robot as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when executed by a processor, implements a free fault tolerant gait planning method of a hexapod robot according to any of claims 1 to 7.
CN202010530854.6A 2020-06-11 2020-06-11 Free fault-tolerant gait planning method, device and storage medium for hexapod robot Active CN111605642B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010530854.6A CN111605642B (en) 2020-06-11 2020-06-11 Free fault-tolerant gait planning method, device and storage medium for hexapod robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010530854.6A CN111605642B (en) 2020-06-11 2020-06-11 Free fault-tolerant gait planning method, device and storage medium for hexapod robot

Publications (2)

Publication Number Publication Date
CN111605642A CN111605642A (en) 2020-09-01
CN111605642B true CN111605642B (en) 2021-05-04

Family

ID=72194036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010530854.6A Active CN111605642B (en) 2020-06-11 2020-06-11 Free fault-tolerant gait planning method, device and storage medium for hexapod robot

Country Status (1)

Country Link
CN (1) CN111605642B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112051797B (en) 2020-09-07 2023-12-26 腾讯科技(深圳)有限公司 Foot robot motion control method, device, equipment and medium
CN112644600B (en) * 2021-01-04 2022-03-25 之江实验室 Bionic foot system of biped robot with active terrain perception capability
CN112859851B (en) * 2021-01-08 2023-02-21 广州视源电子科技股份有限公司 Multi-legged robot control system and multi-legged robot
CN113064433B (en) * 2021-03-22 2023-08-18 深圳市优必选科技股份有限公司 Robot stepping control method and device, robot control equipment and storage medium
CN113071577B (en) * 2021-04-30 2022-10-25 郑州宇通重工有限公司 Robot sole force flexible control method and multi-foot robot platform
CN113589817B (en) * 2021-08-06 2024-08-20 乐聚(深圳)机器人技术有限公司 Foot drop control method and device for foot robot, electronic equipment and storage medium
CN114633825B (en) * 2022-05-16 2022-09-16 深圳鹏行智能研究有限公司 Movement control method, legged robot, and computer-readable storage medium
CN115542913B (en) * 2022-10-05 2023-09-12 哈尔滨理工大学 Six-foot robot fault-tolerant free gait planning method based on geometric and physical feature map
CN117067223B (en) * 2023-10-16 2024-01-05 哈尔滨理工大学 Six-foot robot free gait planning method based on motion stability estimation

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002011956A1 (en) * 2000-08-04 2002-02-14 Robottec Co., Ltd. Multiple-legged walking apparatus
WO2013073803A1 (en) * 2011-11-17 2013-05-23 재단법인대구경북과학기술원 Miniature robot having multiple legs using piezo legs having two degrees of freedom
CN107562052A (en) * 2017-08-30 2018-01-09 唐开强 A kind of Hexapod Robot gait planning method based on deeply study
CN109521771A (en) * 2018-11-22 2019-03-26 西北工业大学 A kind of hexapod robot motion control arithmetic
CN109696824A (en) * 2019-03-01 2019-04-30 哈尔滨理工大学 A kind of leg moves the fault-tolerant gait control method of hexapod robot leg missing
CN111216126A (en) * 2019-12-27 2020-06-02 广东省智能制造研究所 Multi-modal perception-based foot type robot motion behavior recognition method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11413745B2 (en) * 2017-09-22 2022-08-16 Virginia Tech Intellectual Properties, Inc. Articulated, closed kinematic chain planar monopod

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002011956A1 (en) * 2000-08-04 2002-02-14 Robottec Co., Ltd. Multiple-legged walking apparatus
WO2013073803A1 (en) * 2011-11-17 2013-05-23 재단법인대구경북과학기술원 Miniature robot having multiple legs using piezo legs having two degrees of freedom
CN107562052A (en) * 2017-08-30 2018-01-09 唐开强 A kind of Hexapod Robot gait planning method based on deeply study
CN109521771A (en) * 2018-11-22 2019-03-26 西北工业大学 A kind of hexapod robot motion control arithmetic
CN109696824A (en) * 2019-03-01 2019-04-30 哈尔滨理工大学 A kind of leg moves the fault-tolerant gait control method of hexapod robot leg missing
CN111216126A (en) * 2019-12-27 2020-06-02 广东省智能制造研究所 Multi-modal perception-based foot type robot motion behavior recognition method and system

Also Published As

Publication number Publication date
CN111605642A (en) 2020-09-01

Similar Documents

Publication Publication Date Title
CN111605642B (en) Free fault-tolerant gait planning method, device and storage medium for hexapod robot
Grandia et al. Multi-layered safety for legged robots via control barrier functions and model predictive control
CN107065867B (en) A kind of quadruped robot motion planning method towards unknown rugged topography
CN108549237B (en) Preset control humanoid robot gait planning method based on deep reinforcement learning
Feng et al. Optimization‐based full body control for the darpa robotics challenge
US12070863B2 (en) Dynamic planning controller
US10248085B2 (en) Computational design of robots from high-level task specifications
WO2017181976A1 (en) Gait planning method for improving walking stability of six-legged robot
CN114859947A (en) Fault-tolerant gait planning method of hexapod robot based on rollover performance index analysis
CN113830197B (en) Balance control method applied to dynamic walking of biped robot
CN107538490A (en) Towards the quadruped robot motion planning method of complicated landform
CN107214698B (en) Calibration method of joint angle of hexapod robot based on displacement correction of fuselage center of gravity
WO2022134131A1 (en) Robot posture control method and apparatus, and robot
CN111664851B (en) Robot state planning method and device based on sequence optimization and storage medium
CN108089583B (en) Method and device for motion transition of multi-legged robot
CN102658548A (en) Waist movement planning method and device for preventing humanoid robot from tilting back and forth
US8924013B2 (en) Method and system for path planning and controlling
Antok et al. Quadruped robot balance control for stair climbing based on fuzzy logic
US20240189989A1 (en) Object climbing by legged robots using training objects
WO2021172139A1 (en) Legged robot and method for controlling legged robot
CN112697149A (en) Planning method for rhythm gait foot end track of hexapod robot
Hou et al. Multi-task learning of active fault-tolerant controller for leg failures in quadruped robots
CN115256396A (en) Predictive control method for biped robot omnidirectional walking centroid trajectory planning method based on double-layer model
CN116795123A (en) Method for self-adapting to complex terrain of quadruped robot
He et al. Suppression of Quadruped Robot Body Disturbance by Virtual Spring‐Damping Model

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant