CN112035965B - A Method for Optimizing the Dimensions of the Leg Mechanism of a Footed Robot - Google Patents
A Method for Optimizing the Dimensions of the Leg Mechanism of a Footed Robot Download PDFInfo
- Publication number
- CN112035965B CN112035965B CN202010469263.2A CN202010469263A CN112035965B CN 112035965 B CN112035965 B CN 112035965B CN 202010469263 A CN202010469263 A CN 202010469263A CN 112035965 B CN112035965 B CN 112035965B
- Authority
- CN
- China
- Prior art keywords
- robot
- point
- phase
- foot end
- trajectory
- 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
Links
- 230000007246 mechanism Effects 0.000 title claims abstract description 22
- 238000000034 method Methods 0.000 title claims abstract description 17
- 230000007704 transition Effects 0.000 claims abstract description 10
- 238000004458 analytical method Methods 0.000 claims abstract description 9
- 238000005457 optimization Methods 0.000 claims description 23
- 238000004422 calculation algorithm Methods 0.000 claims description 6
- 230000002068 genetic effect Effects 0.000 claims description 6
- 238000013461 design Methods 0.000 claims description 5
- SBYHFKPVCBCYGV-UHFFFAOYSA-N quinuclidine Chemical compound C1CC2CCN1CC2 SBYHFKPVCBCYGV-UHFFFAOYSA-N 0.000 claims description 3
- 230000001133 acceleration Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000011160 research Methods 0.000 description 4
- 230000006872 improvement Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000005021 gait Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000011664 nicotinic acid Substances 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000009795 derivation Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 230000003116 impacting effect Effects 0.000 description 1
- 238000003754 machining Methods 0.000 description 1
- 238000013178 mathematical model Methods 0.000 description 1
- 230000037230 mobility Effects 0.000 description 1
- 238000013433 optimization analysis Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/17—Mechanical parametric or variational design
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/27—Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/12—Computing arrangements based on biological models using genetic models
- G06N3/126—Evolutionary algorithms, e.g. genetic algorithms or genetic programming
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2111/00—Details relating to CAD techniques
- G06F2111/04—Constraint-based CAD
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2111/00—Details relating to CAD techniques
- G06F2111/06—Multi-objective optimisation, e.g. Pareto optimisation using simulated annealing [SA], ant colony algorithms or genetic algorithms [GA]
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Geometry (AREA)
- General Physics & Mathematics (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Biophysics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Artificial Intelligence (AREA)
- Evolutionary Biology (AREA)
- Bioinformatics & Computational Biology (AREA)
- Software Systems (AREA)
- Mathematical Optimization (AREA)
- Genetics & Genomics (AREA)
- Pure & Applied Mathematics (AREA)
- Medical Informatics (AREA)
- Computational Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physiology (AREA)
- Mathematical Analysis (AREA)
- Biomedical Technology (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- General Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Manipulator (AREA)
Abstract
本发明公开了一种足式机器人腿部机构尺寸优化方法,包括以下步骤:s1.以支撑相为直线、摆动相为修正摆线构建机器人足端轨迹;s2.采用五次多项式插值对修正摆线与直线组成的足端轨迹进行圆滑过渡;s3.采用解析法对机器人腿部结构进行运动学分析;s4.设置目标函数和约束条件对所述机器人腿部结构的尺寸进行优化。
The invention discloses a method for optimizing the size of the leg mechanism of a legged robot, which comprises the following steps: s1. Constructing the trajectory of the foot end of the robot with the support phase as a straight line and the swing phase as a corrected cycloid; s2. Using quintic polynomial interpolation to correct the pendulum The foot trajectory composed of lines and straight lines makes a smooth transition; s3. Analytical method is used to analyze the kinematics of the robot leg structure; s4. The objective function and constraint conditions are set to optimize the size of the robot leg structure.
Description
技术领域Technical Field
本发明属于足式机器人领域,具体涉及一种足式机器人腿部机构尺寸优化方法。The invention belongs to the field of footed robots, and in particular relates to a method for optimizing the size of a leg mechanism of a footed robot.
背景技术Background Art
当今机器人研究的领域已经从结构化环境下的定点作业扩展到航空航天、陆上水下、抢险救灾、服务及医疗等许多非结构化环境下的自主作业。这就要求机器人有高度灵活的移动性能以及操作性能。目前移动机器人中的轮式和履带式虽然在人们的生活环境中的得到广泛应用,但要适合未来机器人的要求,还是非常受限。仿生腿式机器人因为与地面之间是点接触,相对轮式和履带式机器人在凹凸不平的复杂环境中,如山地和废墟中,具有更强的适应性,因此受到研究领域广泛关注,仿生腿机器人可实现静态连续快速行走,具有冗余性,静态行走效率。这类机器人适用于高危、非结构化及无法现场维修的环境,如救险、探查、空间星际探测以及很多军事应用。The research field of robots today has expanded from fixed-point operations in structured environments to autonomous operations in many unstructured environments such as aerospace, land and underwater, disaster relief, services and medical care. This requires robots to have highly flexible mobility and operational performance. Although wheeled and tracked mobile robots are widely used in people's living environments, they are still very limited in meeting the requirements of future robots. Because the bionic leg robot is in point contact with the ground, it has stronger adaptability than wheeled and tracked robots in complex environments with uneven surfaces, such as mountains and ruins. Therefore, it has received widespread attention in the research field. The bionic leg robot can achieve static continuous and rapid walking, has redundancy, and static walking efficiency. This type of robot is suitable for high-risk, unstructured and on-site maintenance-incapable environments, such as rescue, exploration, space interstellar exploration and many military applications.
然而机器人腿部结构尺寸优化的研究文献中都少有提及,而这一点正是足式机器人从研究领域迈入应用领域的关键因素之一。因此,需要一种能够确保机器人平稳移动的足式机器人腿部机构尺寸优化方法。。However, there is little mention in the research literature on the optimization of robot leg structure size, which is one of the key factors for legged robots to move from the research field to the application field. Therefore, a method for optimizing the size of leg structure of legged robots that can ensure the smooth movement of robots is needed.
发明内容Summary of the invention
为实现上述技术目的,本发明采用的技术方案如下:In order to achieve the above technical objectives, the technical solution adopted by the present invention is as follows:
一种足式机器人腿部机构尺寸优化方法,包括以下步骤:A method for optimizing the size of a leg mechanism of a footed robot comprises the following steps:
s1.以直线为支撑相、修正摆线为摆动相构建机器人足端轨迹;s1. Construct the robot foot trajectory with the straight line as the support phase and the modified cycloid as the swing phase;
s2.采用五次多项式插值对修正摆线与直线组成的足端轨迹进行圆滑过渡;s2. Use quintic polynomial interpolation to smoothly transition the foot end trajectory composed of the modified cycloid and the straight line;
s3.采用解析法对机器人腿部结构进行运动学分析;s3. Use analytical method to perform kinematic analysis on the robot leg structure;
s4.设置目标函数和约束条件对所述机器人腿部结构的尺寸进行优化。s4. Setting objective functions and constraints to optimize the size of the robot leg structure.
进一步,所述机器人腿部结构包括曲柄摇杆机构ABCO和平行四边形机构BDEF;其中,AO为曲柄,ABF为连杆,BDC为摇杆,G为足端。Furthermore, the robot leg structure includes a crank-rocker mechanism ABCO and a parallelogram mechanism BDEF; wherein AO is a crank, ABF is a connecting rod, BDC is a rocker, and G is a foot end.
进一步,步骤s1中,足端在摆动相的轨迹表达式为:Furthermore, in step s1, the trajectory expression of the foot end in the swing phase is:
其中,β为摆动相占总相位的比例,L为步长,H为步高,为摆动相的初始相位角,为相位角。Among them, β is the proportion of the swing phase to the total phase, L is the step length, H is the step height, is the initial phase angle of the swing phase, is the phase angle.
进一步,步骤s2中,采用五次多项式过渡的最终足端轨迹表达式为:Furthermore, in step s2, the final foot end trajectory expression using the fifth-order polynomial transition is:
进一步,步骤s3中,点B、D的坐标:Further, in step s3, the coordinates of points B and D are:
点F的坐标:Coordinates of point F:
点E的坐标:Coordinates of point E:
点G的坐标:The coordinates of point G:
进一步,步骤s4中,所述目标函数表达式为:Further, in step s4, the objective function expression is:
式中Sxi、Syi为连杆上G点规划给定的第i个点坐标;Gxi、Gyi是连杆上H点第i个位置的实际坐标;Where S xi , S yi are the coordinates of the i-th point given by the planning of point G on the connecting rod; G xi , G yi are the actual coordinates of the i-th position of point H on the connecting rod;
优化设计变量取为:x=[l1,l2,l3,l4,l5,l6,l7,θ10,H0,T0];The optimization design variables are: x = [l 1 ,l 2 ,l 3 ,l 4 ,l 5 ,l 6 ,l 7 ,θ 10 ,H 0 ,T 0 ];
约束条件为: The constraints are:
同时,20≤l3-l5。At the same time, 20≤l 3 -l 5 .
进一步,步骤s4中,采用遗传算法结合fmincon内点法,进行全局搜索寻优。Furthermore, in step s4, a genetic algorithm is used in combination with the fmincon interior point method to perform a global search and optimization.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
本发明可以通过附图给出的非限定性实施例进一步说明;The present invention can be further illustrated by means of non-limiting examples given in the accompanying drawings;
图1为足式机器人腿部机构简图;Figure 1 is a schematic diagram of the leg mechanism of a foot-type robot;
图2为摆动相与支撑相轨迹图;Figure 2 is a trajectory diagram of the swing phase and the support phase;
图3为足端轨迹改进规划;Figure 3 shows the foot end trajectory improvement plan;
图4为本发明最终规划足端轨迹;FIG4 is the final planned foot end trajectory of the present invention;
图5为机构分析坐标系图;Figure 5 is a diagram of the mechanism analysis coordinate system;
图6为优化流程图。Figure 6 is an optimization flow chart.
具体实施方式DETAILED DESCRIPTION
为了使本领域的技术人员可以更好地理解本发明,下面结合附图和实施例对本发明技术方案进一步说明。In order to enable those skilled in the art to better understand the present invention, the technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.
一种足式机器人腿部机构尺寸优化方法,包括以下步骤:A method for optimizing the size of a leg mechanism of a footed robot comprises the following steps:
s1.以直线为支撑相、修正摆线为摆动相构建机器人足端轨迹;s1. Construct the robot foot trajectory with the straight line as the support phase and the modified cycloid as the swing phase;
足式机器人腿部机构简图如图1所示,该腿部机构只有一个自由度,其中ABCO四边形机构为曲柄摇杆机构,AO为曲柄,ABF为连杆,BDC为摇杆;四边形BDEF为平行四边形机构;The schematic diagram of the leg mechanism of the footed robot is shown in Figure 1. The leg mechanism has only one degree of freedom, in which the ABCO quadrilateral mechanism is a crank-rocker mechanism, AO is the crank, ABF is the connecting rod, and BDC is the rocker; the quadrilateral BDEF is a parallelogram mechanism;
足式机器人要实现正常的行走,腿部足端G点必须要能够实现抬腿向前迈步及着地支撑的轨迹。一个完整的机器人足端轨迹可以分为支撑相和摆动相,足端处于支撑相时,足端一直与地面接触,为了使机器人的稳定性高及控制简单应使机体的高度不变,因此由相对运动关系可知支撑相轨迹是一段直线;摆动相足端腾空向前迈步,可采用矩形曲线、椭圆曲线、抛物线、修正摆线等,本专利采用能量效率高的修正摆线进行摆动相轨迹规划。在一个步态周期中,由机器人腿部结构可知总相位为360°(即曲柄转一圈为一个步态周期),设摆动相占总相位的比例为β,步长为L,步高为H,摆动相的初始相位角为由修正摆线函数可得摆动相轨迹表达式为In order for a legged robot to achieve normal walking, the G-point at the foot of the leg must be able to achieve the trajectory of lifting the leg, stepping forward, and supporting on the ground. A complete robot foot trajectory can be divided into a support phase and a swing phase. When the foot is in the support phase, the foot is always in contact with the ground. In order to make the robot highly stable and simple to control, the height of the body should be kept unchanged. Therefore, from the relative motion relationship, it can be seen that the support phase trajectory is a straight line; in the swing phase, the foot takes off and steps forward. Rectangular curves, elliptical curves, parabolas, modified cycloids, etc. can be used. This patent uses energy-efficient modified cycloids to plan the swing phase trajectory. In a gait cycle, it can be seen from the robot leg structure that the total phase is 360° (that is, one crank rotation is a gait cycle). Suppose the proportion of the swing phase to the total phase is β, the step length is L, the step height is H, and the initial phase angle of the swing phase is The expression of the swing phase trajectory can be obtained from the modified cycloid function:
式中为相位角,也称极角。In the formula is the phase angle, also called the polar angle.
此处以步长L=120mm,步高H=70mm,β=0.5,为例进行轨迹规划,可得整个轨迹曲线如图2所示。在足端整个运动轨迹中修正摆线与直线连接处(图中A、B点)均出现尖点,即摆动相与支撑相转换处运动轨迹出现突变,使得速度产生突变,从而对腿部机构产生冲击,对机器人运动稳定性产生重大影响。s2.采用五次多项式插值对修正摆线与直线组成的足端轨迹进行圆滑过渡Here, the step length L = 120 mm, the step height H = 70 mm, and β = 0.5. Taking the example of trajectory planning, the entire trajectory curve is shown in Figure 2. In the entire motion trajectory of the foot end, there are sharp points at the connection between the modified cycloid and the straight line (points A and B in the figure), that is, the motion trajectory at the transition between the swing phase and the support phase has a sudden change, which causes a sudden change in speed, thereby impacting the leg mechanism and having a significant impact on the robot's motion stability. s2. Use quintic polynomial interpolation to smoothly transition the foot end trajectory composed of the modified cycloid and the straight line
采用五次多项式插值对修正摆线与直线组成的足端轨迹进行圆滑过渡,由于足端轨迹关于中心线对称,故由左端过渡函数可得右端过渡函数。本专利以β=0.5,即支撑相与摆动相相等进行足端轨迹规划,具体规划方法如下:The foot end trajectory composed of the modified cycloid and the straight line is smoothly transitioned by using quintic polynomial interpolation. Since the foot end trajectory is symmetrical about the center line, the right end transition function can be obtained from the left end transition function. This patent uses β = 0.5, that is, the support phase and the swing phase are equal to plan the foot end trajectory. The specific planning method is as follows:
①在摆动相修正摆线的左端减去R长度,在支撑相直线的左端减去R长度,构建回缩轨迹曲线。如图3所示,摆动相由组成;① Subtract the R length from the left end of the swing phase correction cycloid and from the left end of the support phase straight line to construct the retraction trajectory curve. As shown in Figure 3, the swing phase is composed of composition;
②取回缩轨迹曲线的端点B、C坐标分别为B(φ0,x0,y0)、C(φ1,x1,y1),由摆动相速度、加速度连续,可得B、C点对应速度、加速度坐标B1(φ0,x0,y0)、C1(φ1,x1,y1)、 ② Take the coordinates of the endpoints B and C of the retraction trajectory curve as B(φ 0 , x 0 , y 0 ) and C(φ 1 , x 1 , y 1 ) respectively. According to the continuity of the swing phase velocity and acceleration, the corresponding velocity and acceleration coordinates of points B and C can be obtained as B 1 (φ 0 , x 0 , y 0 ) and C 1 (φ 1 , x 1 , y 1 ) respectively.
③由B、C点坐标及速度、加速度坐标,以五次多项式函数式(2)构建段:③ Using the coordinates of points B and C and the velocity and acceleration coordinates, construct the fifth-order polynomial function (2) part:
段: part:
段: part:
对式(2)、(3)分别求一、二阶导数得对应速度、加速度式The first and second order derivatives of equations (2) and (3) are respectively obtained to obtain the corresponding velocity and acceleration equations:
由B点为摆动相的起始点,可得B点相位及纵坐标值y0=0,在图3中取C点对应的相位为相位B点横坐标为则B1(0,0,0)、B2(0,0,0),由C点相位及式(3)、(6)可得C、C1、C2坐标值,由6点坐标可联立求解得式(2)、(4)各项系数为:Since point B is the starting point of the swing phase, the phase of point B can be obtained and the ordinate value y 0 = 0, the phase corresponding to point C in FIG3 is taken as the phase The horizontal coordinate of point B is but B 1 (0, 0, 0), B 2 (0, 0, 0), from the phase of point C From equations (3) and (6), we can get the coordinate values of C, C 1 , and C 2. The six-point coordinates can be solved together to get the coefficients of equations (2) and (4):
采用五次多项式过渡的最终足端轨迹表达式为:The final foot trajectory expression using quintic polynomial transition is:
其轨迹如图4所示;Its trajectory is shown in Figure 4;
s3.采用解析法对机器人腿部结构进行运动学分析。s3. Use analytical method to perform kinematic analysis on the robot leg structure.
为了使机器人腿部运动能够实现规划的足端轨迹,首先要对足端位移进行运动学分析。In order to enable the robot's leg movement to achieve the planned foot trajectory, the kinematic analysis of the foot displacement must first be performed.
以O点为原点建立平面直角坐标系,如图5所示。在曲柄的位置已知时,根据机构的运动几何关系可以知道,足端G点的坐标位置取决于每个杆的长度以及曲柄的位置。设OA、AB、BC、CO、BD、DE、FG的杆长分别为l1、l2、l3、l4、l5、l6、l7,曲柄OA与x轴正方向的夹角为曲柄的转角θ1,摇杆BC与x轴负方向的夹角为θ2。为了便于θ2的求解,连接A点与C点,设AC与x轴负方向的夹角为在中设由四边形BDEF为平行四边形,有lBD=lEF=l5、lBF=lDE=l6。A plane rectangular coordinate system is established with point O as the origin, as shown in Figure 5. When the position of the crank is known, it can be known from the kinematic geometry of the mechanism that the coordinate position of point G at the foot end depends on the length of each rod and the position of the crank. Assume that the rod lengths of OA, AB, BC, CO, BD, DE, and FG are l 1 , l 2 , l 3 , l 4 , l 5 , l 6 , and l 7 , respectively, the angle between crank OA and the positive direction of the x-axis is the crank angle θ 1 , and the angle between rocker BC and the negative direction of the x-axis is θ 2 . In order to facilitate the solution of θ 2 , connect point A and point C, and assume that the angle between AC and the negative direction of the x-axis is exist China Construction Since quadrilateral BDEF is a parallelogram, we have l BD =l EF =l 5 , l BF =l DE =l 6 .
如图,直接可以算出A、C点的坐标:As shown in the figure, the coordinates of points A and C can be calculated directly:
设则A、C点间距离lAC=l8,由A、C点的坐标可得:Assume that the distance between points A and C is l AC = l 8 , and from the coordinates of points A and C we can get:
在中,由余弦定理:exist In the formula, according to the law of cosines:
在曲柄OA运动过程中,可知当OA处于x轴上方时,当OA处于x轴下方时,当OA与x轴共线时,由正弦函数为奇函数,在范围内自带正负号。因此由几何关系可知:During the movement of the crank OA, it can be seen that when OA is above the x-axis, When OA is below the x-axis, When OA is collinear with the x-axis, Since the sine function is an odd function, The range has positive and negative signs. Therefore, from the geometric relationship, we can know that:
由上式可知,在A点位于x轴下方时,为负角;在A点位于x轴上方时,为正角。因此,θ2的求解表示式为:From the above formula, we can see that when point A is below the x-axis, is a negative angle; when point A is above the x-axis, is a positive angle. Therefore, the solution expression for θ 2 is:
根据θ2,可以求出点B、D的坐标:According to θ 2 , the coordinates of points B and D can be calculated:
因为A、B、F三点共线,由等比分点公式可以算出F点的坐标:Because points A, B, and F are collinear, the coordinates of point F can be calculated using the formula for dividing points by equal proportions:
在平行四边形BDEF中,有其中 可以解出E点的坐标:In parallelogram BDEF, we have in The coordinates of point E can be solved:
因为E、F、G三点共线,由等比分点公式可以知道G的坐标:Because points E, F, and G are collinear, the coordinates of G can be known from the formula for dividing points equally:
s4.设置目标函数和约束条件对所述机器人腿部结构的尺寸进行优化s4. Setting objective function and constraint conditions to optimize the size of the robot leg structure
(1)优化目标函数及设计变量(1) Optimization objective function and design variables
腿部机构在运动过程中,通过曲柄转动带动足端经过规划的轨迹,因此给定轨迹坐标应与曲柄的转角联系起来。将坐标系建立在曲柄铰接点,设曲柄铰接点离支撑相支撑点在竖直方向(y方向)的高度H0,为了得到最优解使轨迹在水平方向一定范围内移动,移动量为T0,则在全局坐标系下机器人的足端规划目标轨迹的数学表达式为:During the movement of the leg mechanism, the crank rotates to drive the foot end through the planned trajectory, so the given trajectory coordinates should be linked to the crank angle. The coordinate system is established at the crank hinge point, and the height of the crank hinge point from the support point in the vertical direction (y direction) is H 0. In order to obtain the optimal solution, the trajectory moves within a certain range in the horizontal direction, and the movement amount is T 0. Then, the mathematical expression of the target trajectory planned by the robot's foot end in the global coordinate system is:
将足端目标轨迹离散为n个关键点,设定曲柄匀速转动,在规划轨迹上均匀取点,则极角的相位差为由足端运动分析可知,腿部机构足端位置由组成的各杆长度与曲柄位置决定,而曲柄位置由初始位置θ10与转动增量角度确定,曲柄匀速转动时曲柄相对初始位置转过的角度为Δθ,足端依次经过规划足端轨迹离散的n个点,则由足端轨迹的方向设定曲柄AO逆时针转动,并以逆时针转动为正,则:Discretize the foot end target trajectory into n key points, set the crank to rotate at a constant speed, and evenly select points on the planned trajectory. The phase difference of the polar angle is From the analysis of the foot end motion, we know that the foot end position of the leg mechanism is determined by the length of each rod and the crank position, and the crank position is determined by the initial position θ 10 and the rotation increment angle. When the crank rotates at a constant speed, the angle of the crank relative to the initial position is Δθ. The foot end passes through the n discrete points of the planned foot end trajectory in sequence, then The direction of the foot end trajectory sets the crank AO to rotate counterclockwise, and counterclockwise rotation is positive, then:
θ1=θ10+Δθ (20)θ 1 =θ 10 +Δθ (20)
根据曲柄整周转动时足端通过n个点,目标函数使连杆上G点的实际轨迹与规划轨迹之间的n个坐标值误差均方根最小,目标函数表达式为:According to the fact that the foot end passes through n points when the crank rotates a full circle, the objective function minimizes the root mean square error of the n coordinate values between the actual trajectory of point G on the connecting rod and the planned trajectory. The objective function expression is:
式中Sxi、Syi为连杆上G点规划给定的第i个点坐标;Gxi、Gyi是连杆上H点第i个位置的实际坐标。Where S xi and S yi are the coordinates of the i-th point given by the planning of point G on the connecting rod; G xi and G yi are the actual coordinates of the i-th position of point H on the connecting rod.
由足端G点坐标推导及式21可知,目标函数是杆长与曲柄转角及轨迹位置的函数,故优化设计变量取为:x=[l1,l2,l3,l4,l5,l6,l7,θ10,H0,T0]From the derivation of the G-point coordinates at the foot end and Equation 21, it can be seen that the objective function is a function of the rod length, crank angle and trajectory position, so the optimization design variable is taken as: x = [l 1 ,l 2 ,l 3 ,l 4 ,l 5 ,l 6 ,l 7 ,θ 10 ,H 0 ,T 0 ]
(2)约束条件(2) Constraints
根据腿部总体的设计尺寸限制以及腿部布置的情况(H0控制机器人机身高度,T0控制足端轨迹相对曲柄的位置),每根杆长以及曲柄的初始位置都有一个范围限制:According to the overall design size limit of the leg and the leg layout ( H0 controls the height of the robot body, T0 controls the position of the foot end trajectory relative to the crank), each rod length and the initial position of the crank have a range limit:
根据曲柄摇杆存在的条件,可以建立以下的约束:According to the existence of the crank rocker, the following constraints can be established:
考虑到各个铰接副孔径,零件的加工尺寸,建立杆长之间的尺寸约束关系:Considering the apertures of each articulated pair and the machining dimensions of the parts, the dimensional constraint relationship between the rod lengths is established:
20≤l3-l5 20≤l 3 -l 5
(3)优化计算(3) Optimize calculation
采用Matlab软件作为优化分析工具,由上述优化数学模型可知,该优化问题属于带约束的非线性优化问题。Matlab的fmincon()函数专门用于求解约束非线性问题,其内点法精度高,收敛性好,但该函数在优化时需要赋初始值。遗传算法适用于任意的优化问题,采用全局寻优,不易陷入局部最优解,且不依靠初值,但遗传算法也存在容易过早收敛,精度不高等缺点。因此,本专利优化方法采用遗传算法结合fmincon内点法,进行全局搜索寻优。Matlab software is used as an optimization analysis tool. It can be seen from the above optimization mathematical model that the optimization problem belongs to a nonlinear optimization problem with constraints. Matlab's fmincon() function is specifically used to solve constrained nonlinear problems. Its interior point method has high precision and good convergence, but the function needs to be assigned an initial value during optimization. Genetic algorithms are applicable to any optimization problem. They use global optimization, are not easily trapped in local optimal solutions, and do not rely on initial values. However, genetic algorithms also have the disadvantages of being easy to converge prematurely and having low precision. Therefore, this patent optimization method uses genetic algorithms combined with the fmincon interior point method to perform global search optimization.
优化流程如图6所示,优化计算过程分为两步,第一步,采用遗传算法获得初步优化结果;第二步,以初步优化值作为fmincon函数优化的初始点,进一步提高优化的精度。运用Matlab编写优化程序,最终可计算得到优化结果。The optimization process is shown in Figure 6. The optimization calculation process is divided into two steps. The first step is to use the genetic algorithm to obtain the preliminary optimization results. The second step is to use the preliminary optimization value as the initial point of the fmincon function optimization to further improve the optimization accuracy. Matlab is used to write the optimization program, and the optimization results can be calculated in the end.
以上具体实施例的说明只是用于帮助理解本发明的方法及其核心思想。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以对本发明进行若干改进和修饰,这些改进和修饰也落入本发明权利要求的保护范围内。The above specific embodiments are only used to help understand the method and core idea of the present invention. It should be noted that, for those skilled in the art, several improvements and modifications can be made to the present invention without departing from the principles of the present invention, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010469263.2A CN112035965B (en) | 2020-05-28 | 2020-05-28 | A Method for Optimizing the Dimensions of the Leg Mechanism of a Footed Robot |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010469263.2A CN112035965B (en) | 2020-05-28 | 2020-05-28 | A Method for Optimizing the Dimensions of the Leg Mechanism of a Footed Robot |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112035965A CN112035965A (en) | 2020-12-04 |
CN112035965B true CN112035965B (en) | 2023-04-07 |
Family
ID=73578787
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010469263.2A Active CN112035965B (en) | 2020-05-28 | 2020-05-28 | A Method for Optimizing the Dimensions of the Leg Mechanism of a Footed Robot |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112035965B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116638281B (en) * | 2023-05-10 | 2024-03-19 | 泰安轻松表计有限公司 | Device and method for realizing complete linear motion of controlled point on shaking component |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110039544A (en) * | 2019-04-28 | 2019-07-23 | 南京邮电大学 | Apery Soccer robot gait planning based on cubic spline interpolation |
CN111152224A (en) * | 2020-01-10 | 2020-05-15 | 温州大学 | Dual-optimization robot motion trajectory optimization method |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105511465B (en) * | 2015-12-02 | 2017-08-04 | 歌尔股份有限公司 | A kind of gait control method and apparatus of biped robot |
CN106773680B (en) * | 2016-12-01 | 2020-01-21 | 南京航空航天大学 | Foot end track optimization method for reducing flow of hydraulic robot |
CN107065907A (en) * | 2017-04-14 | 2017-08-18 | 中国北方车辆研究所 | A kind of method for planning the sufficient end swinging track of quadruped robot |
-
2020
- 2020-05-28 CN CN202010469263.2A patent/CN112035965B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110039544A (en) * | 2019-04-28 | 2019-07-23 | 南京邮电大学 | Apery Soccer robot gait planning based on cubic spline interpolation |
CN111152224A (en) * | 2020-01-10 | 2020-05-15 | 温州大学 | Dual-optimization robot motion trajectory optimization method |
Non-Patent Citations (1)
Title |
---|
蒋建新."一种仿生四足机器人步态规划与运动控制研究".《中国优秀硕士学位论文全文数据库信息科技辑》.2019,(第4期),1-109. * |
Also Published As
Publication number | Publication date |
---|---|
CN112035965A (en) | 2020-12-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106737689B (en) | Hybrid inverse solution method and system for hyper-redundant manipulator based on mode function | |
CN106647282B (en) | Six-degree-of-freedom robot trajectory planning method considering tail end motion error | |
CN107584474B (en) | A Coordinated Motion Method of Spherical Joint Dual-arm Robot Based on Geometric Projection | |
CN106527152B (en) | Design method and system of closed-loop fractional PDɑ type iterative learning robot controller | |
CN109895101A (en) | A kind of articulated manipulator inverse kinematics numerical value unique solution acquiring method | |
CN112558622B (en) | A control method of the foot end trajectory tracking controller of a wall-climbing hexapod robot | |
CN111452041B (en) | Inverse kinematics solving method for non-spherical wrist 6R robot | |
CN108621158A (en) | A kind of time optimal trajectory planning control method and device about mechanical arm | |
CN102962838B (en) | Six-degrees-of-freedom parallel mechanism with closed kinematics positive solution and analytic method thereof | |
CN109782759B (en) | An Approximate Decoupling and Fast Trajectory Tracking Control Method for Wheeled Mobile Robots | |
CN114131601B (en) | Inverse kinematics algorithm for Cartesian trajectory tracking of offset wrist 6R industrial manipulator | |
CN104991448B (en) | A kind of kinematic method for solving of submarine mechanical arm based on configuration plane | |
CN112035965B (en) | A Method for Optimizing the Dimensions of the Leg Mechanism of a Footed Robot | |
CN113722864B (en) | 7-degree-of-freedom redundant mechanical arm inverse kinematics solving method and system | |
CN110673544A (en) | Upper limb rehabilitation robot control method based on adaptive online learning | |
CN110455290A (en) | A kind of optimal trajectory planning method of intelligent hydraulic excavator | |
CN104933232A (en) | Angle compensation kinematics solving method of one kind of rod end floating type six-freedom-degree parallel robots | |
CN110561420A (en) | Arm profile constraint flexible robot track planning method and device | |
CN110125942B (en) | A Plane Trajectory Tracking Method for Mobile Serpentine Manipulator | |
CN106503364B (en) | Lower limb exoskeleton time-varying reliability analysis method under uncertain condition | |
CN111958602A (en) | Real-time inverse solution method for wrist offset type 6-axis robot | |
CN108972548A (en) | A kind of mobile platform-mechanical arm system modeling method | |
Niu et al. | Shape-controllable inverse kinematics of hyper-redundant robots based on the improved FABRIK method | |
CN115674195A (en) | Online Arm Shape Planning Method for Flexible Manipulator | |
CN113276116B (en) | Error-controllable robot track synchronous transition method |
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 |