CN120422252B - Real-time solving reconstruction planning method for man-machine interaction rope traction parallel robot - Google Patents
Real-time solving reconstruction planning method for man-machine interaction rope traction parallel robotInfo
- Publication number
- CN120422252B CN120422252B CN202510924691.2A CN202510924691A CN120422252B CN 120422252 B CN120422252 B CN 120422252B CN 202510924691 A CN202510924691 A CN 202510924691A CN 120422252 B CN120422252 B CN 120422252B
- Authority
- CN
- China
- Prior art keywords
- rope
- force
- parallel robot
- movable platform
- optimization problem
- 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
Landscapes
- Manipulator (AREA)
Abstract
本发明公开一种人机交互的绳索牵引并联机器人的实时求解重构规划方法,属机器人构型规划领域,包括:步骤1,按绳索引出点与动平台位置关系构建运动学及动力学模型,并建立导纳模型;步骤2,根据动力学及导纳模型,用超平面移动法表示力可行条件,按力可行条件设置优化问题目标函数;步骤3,经约束将绳索引出点求解问题表示为非线性优化问题,经线性近似将非线性优化问题近似为线性优化问题,求解出该线性优化问题的近似最优解;步骤4,按动力学特性设置的人工势场,修正近似最优解,在保证求解速度同时使求得绳索引出点位置不位于解空间边界,完成机器人绳索引出点实时求解的重构规划。该方法能保证求解实时性及人机交互稳定性。
The present invention discloses a real-time solution and reconfiguration planning method for a rope-pulled parallel robot with human-machine interaction, belonging to the field of robot configuration planning. The method comprises the following steps: 1. constructing a kinematic and dynamic model based on the positional relationship between the rope index point and the moving platform, and establishing an admittance model; 2. using the hyperplane movement method based on the dynamic and admittance models to express the force feasibility condition, and setting the optimization problem objective function according to the force feasibility condition; 3. constraining the rope index point solution problem to be expressed as a nonlinear optimization problem, approximating the nonlinear optimization problem to a linear optimization problem through linear approximation, and solving the approximate optimal solution of the linear optimization problem; and 4. correcting the approximate optimal solution based on an artificial potential field set according to the dynamic characteristics, while ensuring solution speed and ensuring that the obtained rope index point position does not lie at the boundary of the solution space, thereby completing the reconfiguration planning of the robot's real-time solution of the rope index point. This method can ensure real-time solution performance and human-machine interaction stability.
Description
技术领域Technical Field
本发明涉及绳索牵引并联机器人构型规划技术领域,尤其涉及一种用于物理人机交互的绳索牵引并联机器人的实时求解的重构规划方法。The present invention relates to the technical field of configuration planning of a rope-pulled parallel robot, and in particular to a real-time solution reconstruction planning method of a rope-pulled parallel robot for physical human-machine interaction.
背景技术Background Art
绳索牵引并联机器人凭借其大工作空间、大负载、由于其绳索驱动的特性,已广泛应用于众多领域,除此之外由于绳索牵引并联机器人使用具有柔性的绳索代替了刚性连杆,当应用于人机交互领域时具有天然的安全性保障。除此之外研究人员还根据绳索牵引并联机器人易于重构的特点,设计绳索引出点可实时变化的可重构绳索牵引并联机器人,用于提升人机交互的性能。然而确定最佳绳索引出点位置是一个非线性优化问题,对于控制周期在毫秒级的机器人,在实际系统中非线性优化问题的求解时间远大于机器人的控制周期,难以应用于人机交互任务。此外由于绳索自身的物理特性,只能提供拉力而不能提供推力,在绳索牵引并联机器人的运行过程中需要时刻保持绳索张紧,对于带有随机性的人机交互任务也具有一定挑战性。Rope-pulled parallel robots have been widely used in numerous fields due to their large workspace, large payload, and rope-driven nature. Furthermore, because they use flexible ropes instead of rigid links, they offer inherent safety advantages when applied to human-robot interaction. Furthermore, leveraging the robot's ease of reconfiguration, researchers have designed a reconfigurable rope-pulled parallel robot with real-time rope indexing points to enhance human-robot interaction performance. However, determining the optimal rope indexing point location is a nonlinear optimization problem. For robots with millisecond control cycles, the solution time for this nonlinear optimization problem in practical systems is significantly longer than the robot's control cycle, making it difficult to apply to human-robot interaction tasks. Furthermore, due to the physical properties of the rope, which can only provide tension but not thrust, the rope-pulled parallel robot must be kept taut during operation, making it challenging for human-robot interaction tasks with their inherent randomness.
中国发明专利CN202210478153.1公开了一种自由连接的可重构机器人,但其重构方法无法应用于绳索牵引并联机器人,且不能实时重构应用于人机交互任务。Chinese invention patent CN202210478153.1 discloses a freely connected reconfigurable robot, but its reconstruction method cannot be applied to rope-pulled parallel robots, and cannot be reconfigured in real time for human-computer interaction tasks.
有鉴于此,特提出本发明。In view of this, the present invention is proposed.
发明内容Summary of the Invention
本发明的目的是提供了一种人机交互的绳索牵引并联机器人的实时求解的重构规划方法,通过线性近似降低问题求解复杂度,保证实时性,并结合人工势场法保证人机交互稳定性,进而解决现有技术中存在的上述技术问题。The purpose of the present invention is to provide a reconstruction planning method for real-time solution of a rope-pulled parallel robot with human-machine interaction, which reduces the complexity of problem solving through linear approximation, ensures real-time performance, and combines the artificial potential field method to ensure the stability of human-machine interaction, thereby solving the above-mentioned technical problems existing in the prior art.
本发明的目的是通过以下技术方案实现的:The purpose of the present invention is achieved through the following technical solutions:
一种人机交互的绳索牵引并联机器人的实时求解的重构规划方法,包括:A real-time solution reconstruction planning method for a rope-pulled parallel robot with human-machine interaction, comprising:
步骤1,根据绳索牵引并联机器人的绳索引出点与动平台的空间位置关系构建该绳索牵引并联机器人的运动学模型及动平台的动力学模型,并建立用于实现动平台跟随操作者手臂移动的导纳模型;Step 1: Based on the spatial relationship between the rope index extraction point and the moving platform of the rope-pulled parallel robot, a kinematic model of the rope-pulled parallel robot and a dynamic model of the moving platform are constructed, and an admittance model is established to enable the moving platform to follow the movement of the operator's arm.
步骤2,根据步骤1得到的动力学模型和导纳模型,结合人机交互特性,用超平面移动法表示绳索牵引并联机器人的力可行条件,根据力可行条件与交互力设置优化问题的目标函数;Step 2: Based on the dynamic model and admittance model obtained in step 1 and the human-machine interaction characteristics, the hyperplane movement method is used to express the force feasibility conditions of the rope-pulled parallel robot, and the objective function of the optimization problem is set according to the force feasibility conditions and the interaction force.
步骤3,根据步骤2得到的优化问题的目标函数,通过约束将绳索引出点求解问题表示为非线性优化问题,通过线性近似将非线性优化问题近似为线性优化问题,用对偶单纯形法求解出该线性优化问题的近似最优解;Step 3: Based on the objective function of the optimization problem obtained in step 2, the rope index point solution problem is expressed as a nonlinear optimization problem through constraints, the nonlinear optimization problem is approximated as a linear optimization problem through linear approximation, and the approximate optimal solution of the linear optimization problem is solved by the dual simplex method;
步骤4,根据人机交互特性和绳索牵引并联机器人的动力学特性设置的人工势场,对步骤3得到的线性优化问题的近似最优解进行修正,在保证求解速度的同时使所求的绳索引出点位置不位于解空间边界,即完成该绳索牵引并联机器人的绳索引出点实时求解的重构规划。In step 4, the artificial potential field is set according to the human-computer interaction characteristics and the dynamic characteristics of the rope-pulled parallel robot, and the approximate optimal solution of the linear optimization problem obtained in step 3 is corrected. While ensuring the solution speed, the position of the rope index release point is not located at the boundary of the solution space. In other words, the reconstruction plan for the real-time solution of the rope index release point of the rope-pulled parallel robot is completed.
与现有技术相比,本发明所提供的人机交互的绳索牵引并联机器人的实时求解的重构规划方法,其有益效果包括:Compared with the prior art, the real-time solution and reconstruction planning method of the human-machine interactive rope-pulled parallel robot provided by the present invention has the following beneficial effects:
通过将原非线性优化问题中非线性的目标函数和非线性的力可行约束近似为线性优化问题,实现了能在较短的控制周期内完成线性优化问题的求解,保证了求解速度的同时也保证了能稳定求解出一个可以使用的解;通过设置人工势场,对线性优化问题的解均位于解空间边界上的问题进行修正,避免了绳索牵引并联机器人在人机交互过程中不能稳定完成任务的问题。By approximating the nonlinear objective function and nonlinear force feasible constraint in the original nonlinear optimization problem into a linear optimization problem, it is possible to complete the solution of the linear optimization problem within a shorter control cycle, ensuring the solution speed while also ensuring that a usable solution can be obtained stably; by setting up an artificial potential field, the problem that the solutions of the linear optimization problem are all located on the boundary of the solution space is corrected, avoiding the problem that the rope-traction parallel robot cannot stably complete the task during the human-computer interaction process.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
图1为本发明实施例提供的适用于物理人机交互任务的绳索牵引并联机器人可实时求解重构规划方法的流程图。FIG1 is a flow chart of a method for real-time reconfiguration planning of a rope-pulled parallel robot applicable to physical human-machine interaction tasks, provided by an embodiment of the present invention.
图2为本发明实施例提供的设置人工势场修正线性优化问题解的流程图。FIG2 is a flow chart of setting an artificial potential field to correct a solution to a linear optimization problem according to an embodiment of the present invention.
图3为本发明实施例提供的适用于物理人机交互任务的绳索牵引并联机器人的结构示意图。FIG3 is a schematic structural diagram of a rope-pulled parallel robot suitable for physical human-machine interaction tasks provided by an embodiment of the present invention.
具体实施方式DETAILED DESCRIPTION
下面结合本发明的具体内容,对本发明实施例中的技术方案进行清楚、完整地描述;显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例,这并不构成对本发明的限制。基于本发明的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明的保护范围。The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the specific content of the present invention. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments, and do not constitute a limitation of the present invention. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
首先对本文中可能使用的术语进行如下说明:First, the following terms may be used in this article:
术语“和/或”是表示两者任一或两者同时均可实现,例如,X和/或Y表示既包括“X”或“Y”的情况也包括“X和Y”的三种情况。The term “and/or” means that either or both of them can be realized at the same time. For example, X and/or Y includes both “X” or “Y” and “X and Y”.
术语“包括”、“包含”、“含有”、“具有”或其它类似语义的描述,应被解释为非排它性的包括。例如:包括某技术特征要素(如原料、组分、成分、载体、剂型、材料、尺寸、零件、部件、机构、装置、步骤、工序、方法、反应条件、加工条件、参数、算法、信号、数据、产品或制品等),应被解释为不仅包括明确列出的某技术特征要素,还可以包括未明确列出的本领域公知的其它技术特征要素。The terms "include," "comprises," "contains," "has," or other similar expressions should be interpreted as non-exclusive. For example, "including certain technical features (such as raw materials, components, ingredients, carriers, dosage forms, materials, dimensions, parts, components, mechanisms, devices, steps, procedures, methods, reaction conditions, processing conditions, parameters, algorithms, signals, data, products, or manufactured articles)" should be interpreted as including not only the technical features explicitly listed, but also other technical features known in the art that are not explicitly listed.
术语“由……组成”表示排除任何未明确列出的技术特征要素。若将该术语用于权利要求中,则该术语将使权利要求成为封闭式,使其不包含除明确列出的技术特征要素以外的技术特征要素,但与其相关的常规杂质除外。如果该术语只是出现在权利要求的某子句中,那么其仅限定在该子句中明确列出的要素,其他子句中所记载的要素并不被排除在整体权利要求之外。The term "consisting of" excludes any technical features not explicitly listed. If used in a claim, this term renders the claim closed, excluding any technical features other than those explicitly listed, except for conventional impurities associated with them. If this term appears only in a clause of a claim, it limits only the elements explicitly listed in that clause; elements listed in other clauses are not excluded from the claim as a whole.
除另有明确的规定或限定外,术语“安装”、“相连”、“连接”、“固定”等术语应做广义理解,例如:可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本文中的具体含义。Unless otherwise specified or limited, the terms "mounted," "connected," "connect," and "fixed" should be interpreted broadly. For example, they can refer to fixed, detachable, or integral connections; mechanical or electrical connections; direct or indirect connections through an intermediary; and internal communication between two components. Those skilled in the art will understand the specific meanings of the above terms in this document based on specific circumstances.
当浓度、温度、压力、尺寸或者其它参数以数值范围形式表示时,该数值范围应被理解为具体公开了该数值范围内任何上限值、下限值、优选值的配对所形成的所有范围,而不论该范围是否被明确记载;例如,如果记载了数值范围“2~8”时,那么该数值范围应被解释为包括“2~7”、“2~6”、“5~7”、“3~4和6~7”、“3~5和7”、“2和5~7”等范围。除另有说明外,本文中记载的数值范围既包括其端值也包括在该数值范围内的所有整数和分数。When concentration, temperature, pressure, size or other parameters are expressed in the form of a numerical range, the numerical range should be understood to specifically disclose all ranges formed by the pairing of any upper limit, lower limit, or preferred value within the numerical range, regardless of whether the range is explicitly stated. For example, if a numerical range of "2 to 8" is stated, the numerical range should be interpreted as including ranges of "2 to 7," "2 to 6," "5 to 7," "3 to 4 and 6 to 7," "3 to 5 and 7," "2 and 5 to 7," etc. Unless otherwise specified, the numerical ranges stated herein include both their endpoints and all integers and fractions within the numerical range.
术语“中心”、“纵向”、“横向”、“长度”、“宽度”、“厚度”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”“内”、“外”、“顺时针”、“逆时针”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述和简化描述,而不是明示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本文的限制。The terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the accompanying drawings and are only for the convenience and simplification of description, and do not explicitly or implicitly indicate that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore should not be understood as a limitation to this document.
下面对本发明所提供的方案进行详细描述。本发明实施例中未作详细描述的内容属于本领域专业技术人员公知的现有技术。本发明实施例中未注明具体条件者,按照本领域常规条件或制造商建议的条件进行。本发明实施例中所用试剂或仪器未注明生产厂商者,均为可以通过市售购买获得的常规产品。The scheme provided by the present invention is described in detail below. The contents not described in detail in the examples of the present invention belong to the prior art known to professionals in this field. If specific conditions are not specified in the examples of the present invention, they are carried out according to conventional conditions in the field or conditions recommended by the manufacturer. If the manufacturer of the reagents or instruments used in the examples of the present invention is not specified, they are all conventional products that can be purchased commercially.
如图1所示,本发明实施方式提供一种人机交互的绳索牵引并联机器人的实时求解的重构规划方法,通过人工势场法修正线性近似得到的线性优化问题的近似最优解,提高人机交互过程中的工作空间及自由性,该方法包括:As shown in FIG1 , an embodiment of the present invention provides a real-time solution reconstruction planning method for a rope-pulled parallel robot in human-machine interaction. The method uses an artificial potential field method to correct the approximate optimal solution of a linear optimization problem obtained by linear approximation, thereby improving the workspace and freedom during human-machine interaction. The method includes:
步骤1,根据绳索牵引并联机器人的绳索引出点与动平台的空间位置关系构建该绳索牵引并联机器人的运动学模型及动平台的动力学模型,并用于实现动平台跟随操作者手臂移动的导纳模型;Step 1: Based on the spatial position relationship between the rope index extraction point and the moving platform of the rope-pulled parallel robot, a kinematic model of the rope-pulled parallel robot and a dynamic model of the moving platform are constructed, and the model is used to implement an admittance model for the moving platform to follow the movement of the operator's arm.
步骤2,根据步骤1得到的动力学模型和导纳模型,结合人机交互特性,用超平面移动法表示绳索牵引并联机器人的力可行条件,根据力可行条件与交互力设置优化问题的目标函数;Step 2: Based on the dynamic model and admittance model obtained in step 1 and the human-machine interaction characteristics, the hyperplane movement method is used to express the force feasibility conditions of the rope-pulled parallel robot, and the objective function of the optimization problem is set according to the force feasibility conditions and the interaction force.
步骤3,根据步骤2得到的优化问题的目标函数,通过约束将绳索引出点求解问题表示为非线性优化问题,通过线性近似将非线性优化问题近似为线性优化问题,用对偶单纯形法求解出该线性优化问题的近似最优解;Step 3: Based on the objective function of the optimization problem obtained in step 2, the rope index point solution problem is expressed as a nonlinear optimization problem through constraints, the nonlinear optimization problem is approximated as a linear optimization problem through linear approximation, and the approximate optimal solution of the linear optimization problem is solved by the dual simplex method;
步骤4,根据人机交互特性和绳索牵引并联机器人的动力学特性设置的人工势场,对步骤3得到的线性优化问题的近似最优解进行修正,在保证求解速度的同时使所求的绳索引出点位置不位于解空间边界,即完成该绳索牵引并联机器人的绳索引出点实时求解的重构规划。In step 4, the artificial potential field is set according to the human-computer interaction characteristics and the dynamic characteristics of the rope-pulled parallel robot, and the approximate optimal solution of the linear optimization problem obtained in step 3 is corrected. While ensuring the solution speed, the position of the rope index release point is not located at the boundary of the solution space. In other words, the reconstruction plan for the real-time solution of the rope index release point of the rope-pulled parallel robot is completed.
优选的,上述方法中,所述绳索牵引并联机器人为连续重构规划的绳索牵引并联机器人,包括:Preferably, in the above method, the rope-pulled parallel robot is a rope-pulled parallel robot with continuous reconfiguration planning, comprising:
固定框架、4个绳索引出装置、4个竖直丝杠、8个电机、4个卷筒、4根绳索和一个动平台;其中,Fixed frame, 4 rope indexing devices, 4 vertical screws, 8 motors, 4 drums, 4 ropes and a moving platform; among them,
每个绳索引出装置均由滑块和导引滑轮组成,所述导引滑轮设置在所述滑块上,能随所述滑块同步移动;Each rope indexing device is composed of a slider and a guide pulley, wherein the guide pulley is arranged on the slider and can move synchronously with the slider;
所述固定框架的四角分别设置4个竖直丝杠,每个竖直丝杠上设置一个绳索引出装置的滑块和导引滑轮,各竖直丝杠一端均连接一台电机,能在电机驱动下转动并带动滑块和导引滑轮上下移动;Four vertical screws are respectively provided at the four corners of the fixed frame, and a slider and a guide pulley of a rope indexing device are provided on each vertical screw. One end of each vertical screw is connected to a motor, which can rotate under the drive of the motor and drive the slider and the guide pulley to move up and down;
所述固定框架内的地面上环绕分布设置4个卷筒,每个竖直丝杠的下方设置一个卷筒,每个卷筒上均绕设一条绳索,每个卷筒均连接一台电机,能在电机驱动下转动进行所连接绳索的收放;Four drums are arranged on the ground in the fixed frame, one drum is arranged below each vertical screw, a rope is wound around each drum, and each drum is connected to a motor and can be rotated by the motor to retract and release the connected rope;
各绳索的另一端依次绕过其上方的绳索引出装置的导引滑轮后与所述动平台连接,各绳索将所述动平台悬吊在所述固定框架内;The other end of each rope is passed through the guide pulley of the rope indexing device above it in turn and then connected to the movable platform, and each rope suspends the movable platform in the fixed frame;
所述绳索牵引并联机器人的绳索引出点的位置和绳索的绳长能同时连续改变,实现连续重构。The position of the rope index extraction point and the rope length of the rope of the rope-pulled parallel robot can be changed simultaneously and continuously to achieve continuous reconstruction.
优选的,上述方法中,所述绳索牵引并联机器人中,将绳索引出点视为滑块上的一个固定点。Preferably, in the above method, in the rope-pulled parallel robot, the rope index extraction point is regarded as a fixed point on the slider.
优选的,上述方法的步骤1中,按以下方式根据绳索牵引并联机器人的绳索引出点与动平台的空间位置关系构建该绳索牵引并联机器人的运动学模型,包括:Preferably, in step 1 of the above method, a kinematic model of the rope-pulled parallel robot is constructed according to the spatial positional relationship between the rope index extraction point and the moving platform of the rope-pulled parallel robot in the following manner, including:
按以下方式建立该绳索牵引并联机器人的运动学模型为:定义绳索牵引并联机器 人的动平台与地面保持相对静止的静坐标系为,选择地面上一点作为坐标系原点; 所述绳索牵引并联机器人的动平台具有3个平动自由度,由4根绳索为其提供向上的拉力, 形成悬挂构型,所述动平台的位置在静坐标系中表示为,Px为动平台质心 的x轴坐标,Py为动平台质心的y轴坐标,Pz为动平台质心的z轴坐标,上标T表示矩阵的转置, 绳索引出点的位置在静坐标系中表示为,,其中和 均为常数,由竖直丝杠的安装位置决定,为绳索引出点的高度,各绳索引出点的高度表示 为向量形式;基于上述各点在静坐标系中的定义,第根绳索的由 动平台指向绳索引出点的向量表示为: The kinematic model of the rope-pulled parallel robot is established as follows: The static coordinate system in which the moving platform of the rope-pulled parallel robot remains relatively stationary with the ground is defined as , select a point on the ground as the origin of the coordinate system; the moving platform of the rope-pulled parallel robot has three translational degrees of freedom, and is provided with an upward pulling force by four ropes to form a suspended configuration. The position of the moving platform in the static coordinate system is expressed as , Px is the x-axis coordinate of the center of mass of the moving platform, Py is the y-axis coordinate of the center of mass of the moving platform, Pz is the z-axis coordinate of the center of mass of the moving platform, the superscript T represents the transpose of the matrix, the position of the rope index point in the static coordinate system is expressed as , ,in and are constants, determined by the installation position of the vertical screw. The height of the rope index point, the height of each rope index point is expressed in vector form ; Based on the definitions of the above points in the static coordinate system, The vector of the rope pointing from the moving platform to the rope index point is expressed as:
(1); (1);
第根绳索的绳长表示为,各绳索的绳长表示为向量形式,第根绳索对动平台施加的索力拉力方向的单位向量表示为,其中,表示第根绳索对动平台施加的索力拉力方向单位向 量沿x轴方向的投影,表示第根绳索对动平台施加的索力拉力方向单位向量沿y轴方 向的投影,表示第根绳索对动平台施加的索力拉力方向单位向量沿z轴方向的投影。 No. The length of a rope is expressed as , the length of each rope is expressed as a vector , No. The unit vector of the direction of the cable tension exerted by the rope on the moving platform is expressed as ,in, Indicates the The projection of the unit vector of the cable tension force exerted by the rope on the moving platform along the x-axis direction, Indicates the The projection of the unit vector of the cable tension force exerted by the rope on the moving platform along the y-axis direction, Indicates the The projection of the unit vector of the cable tension exerted by the rope on the moving platform along the z-axis.
优选的,上述方法的步骤1中,按以下方式根据绳索牵引并联机器人的绳索引出点与动平台的空间位置关系构建该绳索牵引并联机器人的动平台的动力学模型,包括:Preferably, in step 1 of the above method, a dynamic model of the moving platform of the rope-pulled parallel robot is constructed according to the spatial positional relationship between the rope index extraction point and the moving platform of the rope-pulled parallel robot in the following manner, including:
建立的动平台的动力学模型由牛顿欧拉方程表示为:The established dynamic model of the moving platform is expressed by the Newton-Euler equation:
(2); (2);
所述式(2)中,为绳索牵引并联机器人的质量矩阵,其中为动平台 质量,为单位矩阵,为绳索牵引并联机器人的重力向量,其中为重力加速度;为绳索牵引并联机器人动平台的加速度;为绳索牵引 并联机器人关节空间与笛卡尔空间之间的雅可比矩阵;为绳索牵引 并联机器人的绳索拉力向量;为人机交互过程中人类施加在动平台上的交互力。 In the formula (2), is the mass matrix of the rope-pulled parallel robot, where For the quality of the dynamic platform, is the identity matrix, is the gravity vector of the rope-pulled parallel robot, where is the acceleration due to gravity; is the acceleration of the moving platform of the rope-pulled parallel robot; is the Jacobian matrix between the joint space and the Cartesian space of the rope-pulled parallel robot; is the rope tension vector of the rope-pulled parallel robot; The interactive force exerted by humans on the moving platform during human-computer interaction.
优选的,上述方法的步骤1中,按以下方式建立用于实现动平台跟随操作者手臂移动的导纳模型,包括:Preferably, in step 1 of the above method, an admittance model for enabling the moving platform to follow the movement of the operator's arm is established in the following manner, including:
在动平台与操作者手臂之间设置虚拟的质量阻尼模型,作为实现人机交互中动平台跟随操作者手臂移动的同时保证人机交互稳定性的导纳模型,所述导纳模型为:A virtual mass damping model is set between the moving platform and the operator's arm as an admittance model to ensure the stability of human-computer interaction while allowing the moving platform to follow the operator's arm during human-computer interaction. The admittance model is:
(3); (3);
所述式(3)中,和分别为导纳模型中的惯性项和阻尼项;、分别为绳 索牵引并联机器人的动平台期望加速度与期望速度; In the formula (3), and are the inertia term and damping term in the admittance model respectively; 、 are the expected acceleration and expected velocity of the moving platform of the rope-pulled parallel robot respectively;
由安装于动平台上的传感器测量得到交互力后通过求解式(3)的导纳模型得 到符合导纳模型的参考轨迹,将参考轨迹作为期望轨迹输入到绳索牵引并联机器人的位置 控制器进行跟踪,来实现随动控制,在导纳模型中未设置刚度项,能保证随动过程中撤去交 互力时,动平台即保持在当前位置。 The interaction force is measured by the sensor installed on the dynamic platform Then, the reference trajectory that conforms to the admittance model is obtained by solving the admittance model of Equation (3). The reference trajectory is input as the desired trajectory into the position controller of the rope-pulled parallel robot for tracking to achieve follow-up control. No stiffness term is set in the admittance model, which can ensure that when the interaction force is removed during the following process, the moving platform remains in the current position.
优选的,上述方法的步骤2中,按以下方式根据步骤1得到的动力学模型和导纳模型,结合人机交互特性,用超平面移动法表示绳索牵引并联机器人的力可行条件,根据力可行条件与交互力设置相应的目标函数,包括:Preferably, in step 2 of the above method, the force feasibility condition of the rope-pulled parallel robot is expressed using a hyperplane movement method based on the dynamic model and admittance model obtained in step 1, combined with the human-machine interaction characteristics, and a corresponding objective function is set according to the force feasibility condition and the interaction force, including:
所述绳索牵引并联机器人的力可行条件表示为当绳索拉力存在上下限约束时,存 在一组满足约束的绳索拉力,使得所述式(2)的动平台的动力学模型成立,为绳索拉力向量的下限,其分量都设置为10N;为绳索拉力向量的上限,根据所有 绳索对动平台的合力的集合是一个凸包的特性,用超平面移动法表示绳索牵引并联机器人 的力可行条件,力可行条件为: The force feasibility condition of the rope-pulled parallel robot is expressed as follows: when the rope tension has upper and lower limit constraints, there exists a set of rope tensions that satisfy the constraints. , so that the dynamic model of the moving platform in formula (2) is established, is the lower limit of the rope tension vector, and its components are all set to 10N; is the upper limit of the rope tension vector. According to the property that the set of the resultant forces of all ropes on the moving platform is a convex hull, the force feasibility condition of the rope-pulled parallel robot is expressed by the hyperplane movement method. The force feasibility condition is:
(4); (4);
所述式(4)中,为期望绳索牵引并联机器人的动平台所受绳索拉力的合力;矩 阵和向量分别为通过超平面移动法根据绳索牵 引并联机器人对应的雅可比矩阵、绳索拉力向量的下限、绳索拉力向量的上限获得,其中,矩阵中的元素表示为:In the formula (4), is the resultant force of the rope tension on the moving platform of the parallel robot; the matrix and vector They are respectively the Jacobian matrices corresponding to the rope-pulled parallel robot using the hyperplane moving method , the lower limit of the rope tension vector , the upper limit of the rope tension vector Get, where the matrix Elements in Expressed as:
(5); (5);
所述式(5)中,为超平面的单位法向量,以及表示用于构成超平面的绳索向量,其中为超平面对 应的法向量的个数,,,为构成超平面的绳索向量的下标; 向量中的元素表示为: In the formula (5), is the unit normal vector of the hyperplane, as well as represents the rope vector used to construct the hyperplane, where is the number of normal vectors corresponding to the hyperplane, , , is the subscript of the rope vector that constitutes the hyperplane; vector Elements in Expressed as:
(6); (6);
所述式(6)中,为各绳索在超平面移动法中计算时所提供 的拉力值,为判断拉力值大小的依据,为第根绳索对动平台施 加的索力拉力方向的单位向量的转置,i=1,2,3,4,如果超平面的法向量与绳索对动平台施 加的索力拉力方向的单位向量之间的夹角为锐角则提供绳索拉力的上限值,否则提供绳索 拉力的下限值,为绳索对动平台施加的索力拉力方向的单位 向量向超平面法向量的投影,、、、分别为第1根绳索、第2根绳索、第3根绳索和第4根 绳索对动平台施加的索力拉力方向的单位向量的转置; In the formula (6), is the tension value provided by each rope when calculating in the hyperplane moving method, As the basis for judging the value of tension, For the The transpose of the unit vector of the cable tension applied by the rope on the moving platform, i=1,2,3,4, provides the upper limit of the cable tension if the angle between the normal vector of the hyperplane and the unit vector of the cable tension applied by the rope on the moving platform is acute, otherwise it provides the lower limit of the cable tension. is the projection of the unit vector of the cable tension force exerted by the cable on the moving platform onto the normal vector of the hyperplane, 、 、 、 are the transposes of the unit vectors of the cable tension directions exerted by the first, second, third and fourth ropes on the moving platform respectively;
根据上述超平面移动法的表示,结合交互力方向与操作者意图之间的关系设置优化问题的目标函数为:According to the above hyperplane movement method, the objective function of the optimization problem is set by combining the relationship between the interaction force direction and the operator's intention. for:
(7); (7);
所述式(7)中,为根据与交互力与法向量之间的夹角所设置的归一 化权重系数;为绳索沿着第个超平面的法向量所能提供的合力的裕度,。 In the formula (7), is the normalized weight coefficient set according to the angle between the interaction force and the normal vector; For the rope along the The margin of the resultant force that the normal vector of the hyperplane can provide, .
优选的,上述方法的步骤3中,按以下方式根据步骤2得到的优化问题的目标函数,通过约束将绳索引出点求解问题表示为非线性优化问题,通过线性近似将非线性优化问题近似为线性优化问题,用对偶单纯形法求解出该线性优化问题的近似解,包括:Preferably, in step 3 of the above method, the rope index point solution problem is expressed as a nonlinear optimization problem through constraints based on the objective function of the optimization problem obtained in step 2, the nonlinear optimization problem is approximated as a linear optimization problem through linear approximation, and an approximate solution to the linear optimization problem is solved using the dual simplex method in the following manner, including:
根据所述式(7)的优化问题的目标函数以及所述式(4)的力可行条件,设置绳索引出点变化时的位置、速度以及加速度各自满足的上下限为:According to the objective function of the optimization problem of formula (7) and the force feasibility condition of formula (4), the upper and lower limits of the position, velocity and acceleration when the rope index point changes are set as follows:
(8); (8);
所述式(8)中,设置动平台的位置的上限为2.4m,下限为高于动平台0.1m,速度绝对值小于0.1m/s,加速度绝对值小于0.02m/s2;所述式(4)和式(7)均为绳索引出点位置的非线性函数,均能通过线性近似使之近似为线性函数;In the formula (8), the position of the moving platform is set Upper limit 2.4m, lower limit 0.1m above the moving platform, the speed The absolute value is less than 0.1m/s, the acceleration The absolute value is less than 0.02m/ s2 ; the above formula (4) and formula (7) are both nonlinear functions of the rope index point position, and can be approximated as linear functions through linear approximation;
所述绳索牵引并联机器人的控制周期设置为,绳索引出点速度上限为 0.1m/s,每个控制周期内,绳索引出点的最大移动距离为;由于在每个控制周期 起始时刻计算期望的绳索引出点位置时,无法准确预测控制周期结束时动平台的实际位 置,且动平台实际位置在每个控制周期内移动的距离同样很小,因此在求解绳索引出点 时假定动平台实际位置为定值;根据绳索长度的定义及所述式(5)的矩阵的元素, 在每个控制周期内绳长向量及超平面的法向量近似为定值;当远 大于0时,根据定义为定值,而接近0时,忽略改变对于的影响,因此能近似 认为为常量;根据所述式(7)的优化问题的目标函数以及将被视作常 量,系数也能在每个控制周期内视为定值; The control period of the rope-pulled parallel robot is set to The upper limit of the rope index output point speed is 0.1m/s. In each control cycle, the maximum moving distance of the rope index output point is ; Since the expected rope index output point position is calculated at the beginning of each control cycle, the actual position of the moving platform at the end of the control cycle cannot be accurately predicted, and the actual position of the moving platform The distance moved in each control cycle is also very small, so when solving the rope index point, it is assumed that the actual position of the moving platform is is a constant; according to the definition of rope length and the matrix of formula (5) Elements , in each control cycle the rope length vector and the normal vector of the hyperplane Approximately a constant value; when When it is much greater than 0, according to the definition is a fixed value, and When close to 0, ignore Change for Therefore, it can be approximately considered that is a constant; according to the objective function of the optimization problem of formula (7) and is considered a constant, the coefficient It can also be regarded as a constant value in each control cycle;
据此将约束和目标函数均整理成优化变量的线性函数,用对偶单纯形法求解该线 性函数,得到的近似最优解表示为,该近似最优解相对于控制周期起始时刻的变化 量表示为。 Based on this, the constraints and objective functions are organized into linear functions of the optimization variables, and the dual simplex method is used to solve the linear function. The approximate optimal solution is expressed as , the approximate optimal solution The change relative to the start of the control cycle is expressed as .
优选的,上述方法的步骤4中,由于人机交互时人类的行为具有不可完全预知的特性,在约束条件上需在边界处预留动态缓冲空间来保证系统的稳定性。虽然在所述式(7)目标函数的设置过程中已经通过设置系数使得所述绳索牵引并联机器人远离力可行条件的边界区域,但如果在人机交互过程中已经靠近力可行条件的边界,则需要具有更快调整速度的策略使之远离边界。根据上述人机交互特性以及所述绳索牵引并联机器人的动力学特性设置的人工势场,对上述步骤3中求解线性优化问题的近似解予以修正,同时考虑到人工势场的设置不能严格保证满足线性优化问题中所设置的约束,因此还需要对人工势场求解得到的绳索引出点位置变化量进行缩放,使之严格满足绳索引出点位置、速度以及加速度约束,最后通过设置激活函数,使得在边界条件处人工势场发挥作用,在非边界条件处主要使用线性优化的解调整绳索引出点位置。Preferably, in step 4 of the above method, since human behavior during human-machine interaction is unpredictable, a dynamic buffer space needs to be reserved at the boundary in terms of the constraint conditions to ensure the stability of the system. Although the coefficients have been set in the process of setting the objective function of formula (7) to keep the rope-pulled parallel robot away from the boundary area of the force feasible condition, if it has already approached the boundary of the force feasible condition during the human-machine interaction process, a strategy with a faster adjustment speed is required to keep it away from the boundary. According to the artificial potential field set according to the above human-machine interaction characteristics and the dynamic characteristics of the rope-pulled parallel robot, the approximate solution to the linear optimization problem solved in step 3 is corrected. At the same time, considering that the setting of the artificial potential field cannot strictly guarantee the satisfaction of the constraints set in the linear optimization problem, it is also necessary to scale the rope index point position change obtained by solving the artificial potential field so that it strictly satisfies the rope index point position, velocity and acceleration constraints. Finally, by setting the activation function, the artificial potential field is made effective at the boundary conditions, and the linear optimization solution is mainly used to adjust the rope index point position at non-boundary conditions.
参见图2,具体的,上述步骤4中,按以下方式根据人机交互特性和绳索牵引并联机器人的动力学特性设置的人工势场,对步骤3得到的线性优化问题的近似最优解进行修正,包括:Referring to FIG. 2 , specifically, in the above step 4, the approximate optimal solution of the linear optimization problem obtained in step 3 is corrected by setting an artificial potential field according to the human-machine interaction characteristics and the dynamic characteristics of the rope-pulled parallel robot in the following manner, including:
步骤41,设置人工势场:根据交互力方向以及由超平面移动法得到的绳索牵引并联机器人的动力学特性,设置人工势场为:Step 41, setting artificial potential field: according to the direction of the interaction force and the dynamic characteristics of the rope-pulled parallel robot obtained by the hyperplane moving method, set the artificial potential field for:
(9); (9);
所述式(9)中,表示沿交互力方向,从期望力到超平 面的距离;为所设置人工势场的引力常数; In the formula (9), Indicates the direction of the interaction force, from the expected force distance to the hyperplane; is the gravitational constant of the artificial potential field;
步骤42,计算根据设置的人工势场的势场力求得绳索引出点的变化量:使所述式(9)的人工势场两边同时对距离求导得到人工势场的势场力的表达式为:Step 42, calculate the change of the rope index extraction point based on the potential field force of the artificial potential field: take the derivative of the distance on both sides of the artificial potential field of equation (9) to obtain the potential field force of the artificial potential field The expression is:
(10); (10);
将人工势场的势场力的合力作为每个控制周期内绳索引出点调整的距离为:The potential force of the artificial potential field The resultant force is used as the distance of the rope index output point adjustment in each control cycle for:
(11); (11);
步骤43,通过盒约束检测:当任意控制周期开始时的位置速度已知,绳索引出点的 位置、速度和加速度的盒约束统一为一个盒约束,为绳索引出点位置下 界,为绳索引出点位置上界,通过盒约束检测所述式(11)的距离对绳索 引出点的调整是否满足约束; Step 43, check by box constraint: when the position and velocity at the start of any control cycle are known, the box constraints of the position, velocity and acceleration of the rope index point are unified into one box constraint , The lower bound of the rope index point position, The upper bound of the rope index point position is obtained through the box constraint Check whether the adjustment of the rope index extraction point based on the distance of formula (11) satisfies the constraint;
令为在人工势场下绳索引出点的最终变化量,若满足约束,则, 若不满足约束,则,其中为缩放比例系 数,使调整后的在人工势场下绳索引出点的最终变化量满足盒约束; make is the final change of the rope index point under the artificial potential field. If the constraint is satisfied, then If the constraints are not satisfied, then ,in is the scaling factor, which makes the final change of the rope index point under the artificial potential field after adjustment Satisfy box constraints;
步骤44,利用激活函数融合人工势场和线性优化问题的近似最优解,得到修正后的近似最优解。In step 44, the activation function is used to fuse the artificial potential field and the approximate optimal solution of the linear optimization problem to obtain a corrected approximate optimal solution.
上述步骤44中,通过以下激活函数融合人工势场和线性优化问题的近似最优解,为:In the above step 44, the approximate optimal solution of the artificial potential field and the linear optimization problem is fused by the following activation function:
(12); (12);
其中,为自然对数;为对激活函数进行放缩的系数;为期望力到各个超平面裕度的最小值,即最小裕度;是最小 裕度的期望值,当实际最小裕度小于最小裕度的期望值时,人工势场对绳索引出点的调 整起主导作用,当实际最小裕度大于最小裕度的期望值时线性优化问题的近似最优解对 绳索引出点的调整起主导作用。 in, is the natural logarithm; is the coefficient for scaling the activation function; is the minimum value of the margin of the desired force to each hyperplane, that is, the minimum margin; is the expected value of the minimum margin. When the actual minimum margin is less than the expected value of the minimum margin When the artificial potential field plays a leading role in adjusting the rope index point, the actual minimum margin is greater than the expected value of the minimum margin. The approximate optimal solution of the linear optimization problem plays a dominant role in the adjustment of the rope index output point.
综上可见,本发明实施方式的方法中,通过设计针对绳索牵引并联机器人的线性近似方法,将非线性优化问题简化为线性优化问题,大大降低了求解复杂度,提升了计算效率,使之可以在人机交互过程中实时求解。考虑到线性优化问题的最优解位于解空间边界上,但对于用于人机交互的机器人处于边界条件不稳定的问题,设计人工势场对线性优化问题的解予以修正,保证了系统的稳定性。In summary, the method in this embodiment of the present invention, by designing a linear approximation method for a rope-pulled parallel robot, simplifies the nonlinear optimization problem into a linear optimization problem. This significantly reduces solution complexity, improves computational efficiency, and enables real-time solution during human-robot interaction. Considering that the optimal solution to a linear optimization problem lies at the boundary of the solution space, but the boundary conditions of the robot used for human-robot interaction are unstable, an artificial potential field is designed to correct the solution to the linear optimization problem, ensuring system stability.
为了更加清晰地展现出本发明所提供的技术方案及所产生的技术效果,下面以具体实施例对本发明实施例所提供的方案进行详细描述。In order to more clearly demonstrate the technical solution and technical effects provided by the present invention, the solution provided by the embodiment of the present invention is described in detail with reference to specific embodiments below.
实施例1Example 1
本实施例提供一种适用于物理人机交互的绳索牵引并联机器人的实时求解的重构规划方法,该方法按如下步骤进行(参见图1):This embodiment provides a real-time solution reconstruction planning method for a rope-pulled parallel robot suitable for physical human-machine interaction. The method is performed in the following steps (see FIG1 ):
步骤1,按以下方式根据所述绳索牵引并联机器人的绳索与绳索引出点与动平台的空间位置关系,构建该绳索牵引并联机器人的运动学模型,并依据牛顿欧拉方程得到动平台的动力学模型,根据物理人机交互任务的需要设计导纳模型。Step 1: Construct a kinematic model of the rope-pulled parallel robot according to the spatial position relationship between the rope, the rope index extraction point, and the moving platform of the rope-pulled parallel robot in the following manner, obtain the dynamic model of the moving platform based on the Newton-Euler equations, and design an admittance model according to the needs of the physical human-computer interaction task.
如图3所示,上述步骤1中,建立的运动学模型为:定义动平台与地面保持相对静止 的静坐标系为,选择地面上一点作为坐标系原点。所述绳索牵引并联机器人的末端 动平台具有3个平动自由度,由4根绳索为其提供向上的拉力,形成悬挂构型,其中动平台的 位置可以在静坐标系中表示为,Px为动平台质心的x轴坐标,Py为动平台 质心的y轴坐标,Pz为动平台质心的z轴坐标,上标T表示矩阵的转置,绳索引出点的位置在 静坐标系中可以表示为,,其中和均为常数,由竖直 丝杠的安装位置决定,为绳索引出点的高度,各绳索引出点的高度可以表示为向量形式;基于上述各点在静坐标系中的定义,表示第根绳索的由动平台指向 绳索引出点的向量可表示为: As shown in Figure 3, in the above step 1, the kinematic model established is: the static coordinate system in which the moving platform and the ground remain relatively stationary is defined as , select a point on the ground as the origin of the coordinate system. The end moving platform of the rope-pulled parallel robot has three translational degrees of freedom, and is provided with an upward pulling force by four ropes, forming a suspended configuration, where the position of the moving platform can be expressed in the static coordinate system as , Px is the x-axis coordinate of the center of mass of the moving platform, Py is the y-axis coordinate of the center of mass of the moving platform, Pz is the z-axis coordinate of the center of mass of the moving platform, the superscript T represents the transpose of the matrix, and the position of the rope index point in the static coordinate system can be expressed as , ,in and are all constants, determined by the installation position of the vertical screw. is the height of the rope index point. The height of each rope index point can be expressed as a vector ; Based on the definitions of the above points in the static coordinate system, it means The vector of the rope from the moving platform to the rope index point can be expressed as:
(1); (1);
由此第根绳索的绳长可以表示为,各绳索的绳长可以表示为向量形式,第根绳索对动平台施加的索力拉力方向的单位向量可以表示为,其中,e ix 表示第根绳索对动平台施加的索力拉力方向单位向量沿 x轴方向的投影,e iy 表示第根绳索对动平台施加的索力拉力方向单位向量沿y轴方向的投 影,e iz 表示第根绳索对动平台施加的索力拉力方向单位向量沿z轴方向的投影; From this The length of a rope can be expressed as , the length of each rope can be expressed as a vector , No. The unit vector of the cable tension force applied by the cable to the moving platform can be expressed as , where e ix represents the The projection of the unit vector of the cable tension force applied by the rope to the moving platform along the x-axis, e iy represents the The projection of the unit vector of the cable tension force applied by the rope to the moving platform along the y-axis, e iz represents the The projection of the unit vector of the cable tension force exerted by the rope on the moving platform along the z-axis;
建立的动平台的动力学方程可以由牛顿欧拉方程表示为:The established dynamic equation of the moving platform can be expressed by the Newton-Euler equation as follows:
(2); (2);
所述式(2)中,为所述绳索牵引并联机器人的质量矩阵,其中为动平 台质量,为单位矩阵,为所述绳索牵引并联机器人的重力向量,其中,为重力加速度;为所述绳索牵引并联机器人动平台的加速度;为所述 绳索牵引并联机器人关节空间与笛卡尔空间之间的雅可比矩阵;为所 述绳索牵引并联机器人的绳索拉力向量;为人机交互过程中人类施加在动平台上的交 互力;随后在动平台与人类之间设置导纳模型,在动平台与人手之间设置虚拟的质量阻尼 模型,作为实现人机交互中动平台跟随操作者移动的效果的同时还可以保证人机交互的稳 定性的导纳模型,所述导纳模型为: In the formula (2), is the mass matrix of the rope-pulled parallel robot, where For the quality of the dynamic platform, is the identity matrix, is the gravity vector of the rope-pulling parallel robot, where is the acceleration due to gravity; is the acceleration of the moving platform of the rope-pulled parallel robot; The Jacobian matrix between the joint space and the Cartesian space of the rope-pulled parallel robot; is the rope tension vector of the rope-pulling parallel robot; The interaction force exerted by humans on the moving platform during human-machine interaction is then set up. An admittance model is then set up between the moving platform and the human, and a virtual mass damping model is set up between the moving platform and the human hand. This is an admittance model that not only allows the moving platform to follow the operator's movement during human-machine interaction but also ensures the stability of the human-machine interaction. The admittance model is:
(3); (3);
所述式(3)中,和分别为导纳模型中的惯性项和阻尼项;、分别为绳 索牵引并联机器人的动平台期望加速度与期望速度;通过安装于动平台上的传感器测量得 到交互力后可以通过所述式(3)求解得到符合导纳模型的参考轨迹,将其作为期望轨迹 输入到位置控制器进行跟踪,即可实现随动控制效果。由于随动过程中设置撤去交互力时, 动平台即保持在当前位置,因此在导纳模型中未设置刚度项。 In the formula (3), and are the inertia term and damping term in the admittance model respectively; 、 They are the expected acceleration and expected velocity of the moving platform of the rope-pulled parallel robot; the interaction force is measured by the sensor installed on the moving platform The reference trajectory that conforms to the admittance model can then be obtained by solving Equation (3). This trajectory can be input into the position controller as the desired trajectory for tracking, thus achieving the following control effect. Since the platform remains in its current position when the interaction force is removed during the following process, no stiffness term is set in the admittance model.
步骤2,根据所述步骤1得到的机器人模型和人机交互的特性,采用超平面移动法表示绳索牵引并联机器人的力可行条件,并根据力可行条件与交互力设置相应的目标函数。Step 2: Based on the robot model obtained in step 1 and the characteristics of human-machine interaction, a hyperplane movement method is used to represent the force feasibility conditions of the rope-pulled parallel robot, and a corresponding objective function is set according to the force feasibility conditions and the interaction force.
上述步骤2中,所述绳索牵引并联机器人的力可行条件可以表示为当绳索拉力存 在上下限约束时,存在一组满足约束的绳索拉力使得所述式(2)成立, 为所述绳索拉力向量的下限,其分量都设置为10N;为所述绳索拉力向量的上限,其分 量都设置为200N;但由于所述式(2)中的雅可比矩阵存在一维的零空间,求解是否存在 一组能够满足约束的索力较为麻烦;考虑到所有绳索能够对动平台的合力的集合是一个凸 包的特性,可以使用超平面移动法表示绳索牵引并联机器人的力可行条件,力可行条件可 以被表示为: In the above step 2, the force feasibility condition of the rope pulling parallel robot can be expressed as: when the rope tension has upper and lower limit constraints, there exists a set of rope tensions that satisfy the constraints. So that the formula (2) is established, is the lower limit of the rope tension vector, and its components are all set to 10N; is the upper limit of the rope tension vector, and its components are all set to 200N; but due to the Jacobian matrix in formula (2) There is a one-dimensional null space, and it is rather difficult to determine whether there is a set of cable forces that can satisfy the constraints. Considering that the set of the resultant forces that all cables can exert on the moving platform is a convex hull, the hyperplane movement method can be used to express the force feasibility condition of the cable-pulled parallel robot. The force feasibility condition can be expressed as:
(4); (4);
所述式(4)中,为期望所述绳索牵引并联机器人的动平台所受绳索拉力的合 力;矩阵和向量通过超平面移动法根据所述绳索 牵引并联机器人对应的雅可比矩阵、绳索拉力向量的下限、绳索拉力向量的上限获得,其中矩阵中的元素可以表示为: In the formula (4), is the resultant force of the rope pulling force on the moving platform of the parallel robot; matrix and vector The hyperplane moving method is used according to the Jacobian matrix corresponding to the rope-pulling parallel robot , the lower limit of the rope tension vector , the upper limit of the rope tension vector Get, where the matrix The elements in can be represented as:
(5); (5);
所述式(5)中,为超平面的单位法向量,以及表示用于构成超平面的绳索向量,其中为超平面对 应的法向量的个数,,,为构成超平面的绳索向量的下 标;向量中的元素可以表示为: In the formula (5), is the unit normal vector of the hyperplane, as well as represents the rope vector used to construct the hyperplane, where is the number of normal vectors corresponding to the hyperplane, , , is the subscript of the rope vector that forms the hyperplane; vector The elements in can be represented as:
(6); (6);
所述式(6)中,为各绳索在超平面移动法中计算时 所提供的拉力值,为判断拉力值大小的依据,为第根绳索对 动平台施加的索力拉力方向的单位向量的转置,i=1,2,3,4,如果超平面的法向量与绳索对 动平台施加的索力拉力方向的单位向量之间的夹角为锐角则提供绳索拉力的上限值,否则 提供绳索拉力的下限值,为绳索对动平台施加的索力拉力方 向的单位向量向超平面法向量的投影,、、、分别为第1根绳索、第2根绳索、第3根绳 索和第4根绳索对动平台施加的索力拉力方向的单位向量的转置; In the formula (6), is the tension value provided by each rope when calculating in the hyperplane moving method, As the basis for judging the value of tension, For the The transpose of the unit vector of the cable tension applied by the rope on the moving platform, i=1,2,3,4, provides the upper limit of the cable tension if the angle between the normal vector of the hyperplane and the unit vector of the cable tension applied by the rope on the moving platform is acute, otherwise it provides the lower limit of the cable tension. is the projection of the unit vector of the cable tension force exerted by the cable on the moving platform onto the normal vector of the hyperplane, 、 、 、 are the transposes of the unit vectors of the cable tension directions applied by the first, second, third and fourth ropes on the moving platform respectively;
根据上述超平面移动法的表示,结合交互力方向与人类意图之间的关系设置优化问题的目标函数为:According to the above hyperplane movement method, the objective function of the optimization problem is set based on the relationship between the interaction force direction and human intention. for:
(7); (7);
其中,为期望所述绳索牵引并联机器人的动平台所受绳索拉力的合力;为根据与交互力与法向量之间的夹角所设置的归一化权重系数; 为沿着第个超平面的法向量,绳索所能提供的合力的裕度,。 in, is the resultant force of the rope tension that the moving platform of the parallel robot is expected to receive; is the normalized weight coefficient set according to the angle between the interaction force and the normal vector; For along the The normal vector of the hyperplane, the margin of the net force that the rope can provide, .
步骤3,根据所述步骤2中得到的目标函数,考虑约束后可以将绳索引出点求解问题表示为非线性优化问题,通过线性近似可以将非线性优化问题近似为线性优化问题,可以使用对偶单纯形法求解此线性优化问题。Step 3: Based on the objective function obtained in step 2, the rope index point solution problem can be expressed as a nonlinear optimization problem after considering the constraints. The nonlinear optimization problem can be approximated as a linear optimization problem through linear approximation, and the dual simplex method can be used to solve this linear optimization problem.
上述步骤3中,将所述式(7)作为优化问题目标函数,考虑所述式(4)中的力可行条件,并设置绳索引出点变化时的位置、速度以及加速度各自满足上下限:In step 3 above, the equation (7) is used as the objective function of the optimization problem, the force feasibility condition in equation (4) is considered, and the position, velocity, and acceleration of the rope index output point when it changes are set to meet the upper and lower limits:
(8); (8);
所述式(8)中,设置位置上限为2.4m,下限为高于动平台0.1m,速度绝对值小于0.1m/s,加速度绝对值小于0.02 m/s2;所述式(4)和式(7)均为绳索引出点位置的非线性函数,均可以通过线性近似使之近似为线性函数;In the formula (8), the upper limit of the position is set to 2.4m, the lower limit is set to 0.1m above the moving platform, the absolute value of the speed is less than 0.1m/s, and the absolute value of the acceleration is less than 0.02m/ s2 ; the formulas (4) and (7) are both nonlinear functions of the rope index point position, and can be approximated to linear functions through linear approximation;
所述绳索牵引并联机器人的控制周期设置为,绳索引出点速度上限为 0.1m/s,因此每个控制周期内,绳索引出点的最大移动距离为;由于在每个控制 周期起始时刻计算期望的绳索引出点位置时,无法准确预测控制周期结束时动平台的实际 位置,且动平台位置在每个控制周期内移动的距离同样很小,因此在求解绳索引出点时 假定为定值;根据绳索长度的定义及所述式(5),在每个控制周期内绳长向量及超平面 的法向量可以近似为定值;当远大于0时,根据定义为定值,而接近0时,改变对于的影响可以忽略,因此可近似认为为常量;根据所述式 (7)的优化问题的目标函数以及将被视作常量,系数也可在每个控制周期内视为定值。如此一来约束和目标函数均可以整理成 优化变量的线性函数,可以使用对偶单纯形法求解此线性优化问题,最优解可以表示为 ,最优解相对于控制周期起始时刻的变化量可以表示为。 The control period of the rope-pulled parallel robot is set to The upper limit of the rope index output point speed is 0.1m/s, so the maximum moving distance of the rope index output point in each control cycle is ; Since the expected rope index output point position is calculated at the beginning of each control cycle, the actual position of the moving platform at the end of the control cycle cannot be accurately predicted, and the position of the moving platform The distance moved in each control cycle is also very small, so when solving the rope index point, it is assumed that is a constant value; according to the definition of rope length and formula (5), the rope length vector in each control cycle and the normal vector of the hyperplane Can be approximated as a constant; when When it is much greater than 0, according to the definition is a fixed value, and Near 0 o'clock, Change for The influence of can be ignored, so it can be approximately considered that is a constant; according to the objective function of the optimization problem of formula (7) and is considered a constant, the coefficient It can also be regarded as a constant in each control cycle. In this way, the constraints and objective functions can be organized into linear functions of the optimization variables. The dual simplex method can be used to solve this linear optimization problem, and the optimal solution can be expressed as , the change of the optimal solution relative to the start time of the control cycle can be expressed as .
步骤4,根据所述步骤3中得到的线性优化问题的近似解,通过根据人机交互特性以及绳索牵引并联机器人的动力学特性设置的人工势场,对线性优化问题的近似解予以修正,在保证求解速度的同时尽可能避免所求的绳索引出点位置位于解空间边界的问题,即完成该绳索牵引并联机器人的绳索引出点实时求解。Step 4: Based on the approximate solution of the linear optimization problem obtained in step 3, the approximate solution of the linear optimization problem is corrected by setting an artificial potential field according to the human-computer interaction characteristics and the dynamic characteristics of the rope-pulled parallel robot. While ensuring the solution speed, the problem of the position of the rope index output point being located at the boundary of the solution space is avoided as much as possible, thereby completing the real-time solution of the rope index output point of the rope-pulled parallel robot.
如图2所示,上述步骤4中,利用人工势场对线性近似解进行修正,主要包括:As shown in Figure 2, in step 4 above, the linear approximate solution is corrected using an artificial potential field, which mainly includes:
步骤41,设置人工势场:考虑交互力方向以及由超平面移动法得到的所述绳索牵引并联机器人的动力学特性,设置人工势场:Step 41, setting an artificial potential field: considering the direction of the interaction force and the dynamic characteristics of the rope-pulled parallel robot obtained by the hyperplane movement method, setting an artificial potential field:
(9); (9);
所述式(9)中,表示沿交互力方向,从期望力到超平 面的距离,为所设置势场的引力常数; In the formula (9), Indicates the direction of the interaction force, from the expected force The distance to the hyperplane, is the gravitational constant of the potential field set;
步骤42,计算根据势场力求得的绳索引出点的变化量:所述式(9)两边同时对距离求导可以得到势场力的表达式:Step 42, calculate the change in the rope index extraction point obtained based on the potential field force: By simultaneously taking the derivative of the distance on both sides of the equation (9), the expression for the potential field force can be obtained:
(10); (10);
将势场力的合力即作为每个控制周期内绳索引出点调整的距离:The resultant force of the potential field is used as the distance of the rope index point adjustment in each control cycle:
(11); (11);
步骤43,通过盒约束检测:当任意控制周期开始时的位置速度已知,绳索引出点的 位置、速度和加速度的盒约束可以统一为一个盒约束,为绳索引出点位 置下界,为绳索引出点位置上界,但所述式(11)对绳索引出点的调整可能不能严格保证 满足约束,因此予以检测;令为在人工势场下绳索引出点的最终变化量,如果满足约 束,则,如果不满足约束,则,其中为缩放比例系数,可以使得调整后满足盒 约束; Step 43, check by box constraint: When the position and velocity at the start of any control cycle are known, the box constraints of the position, velocity and acceleration of the rope index point can be unified into one box constraint , The lower bound of the rope index point position, is the upper bound of the rope index point position, but the adjustment of the rope index point by formula (11) may not strictly guarantee the satisfaction of the constraint, so it is tested; let is the final change of the rope index point under the artificial potential field. If the constraint is satisfied, then If the constraints are not satisfied, then ,in is the scaling factor, which can make the adjusted Satisfy box constraints;
步骤44,利用激活函数(即Sigmoid函数)融合人工势场和线性优化问题的最优解:由于人工势场的作用是使得绳索引出点远离解空间的边界,因此希望其仅在边界位置起作用,可以通过激活函数函数结合两种方法的解:Step 44: Use the activation function (i.e., Sigmoid function) to fuse the optimal solution of the artificial potential field and the linear optimization problem: Since the artificial potential field is used to move the rope index point away from the boundary of the solution space, it is hoped that it will only work at the boundary. The solutions of the two methods can be combined through the activation function:
(12); (12);
其中,为自然对数;为对激活函数进行放缩的系数;为期望力到各个超平面裕度的最小值,称之为最小裕度,是 最小裕度的期望值,当实际最小裕度小于时人工势场对绳索引出点的调整起主导作用, 而最小裕度大于时线性优化对绳索引出点的调整起主导作用。 in, is the natural logarithm; is the coefficient for scaling the activation function; is the minimum value of the margin of the desired force to each hyperplane, called the minimum margin, is the expected value of the minimum margin. When the actual minimum margin is less than When the artificial potential field plays a leading role in adjusting the rope index point, the minimum margin is greater than Time-linear optimization plays a leading role in adjusting the rope index output point.
综上可见,本发明实施例的适用于物理人机交互任务的绳索牵引并联机器人实时求解重构规划方法与现有技术相比,至少具有以下有益效果:In summary, the real-time solution and reconstruction planning method for a rope-pulled parallel robot applicable to physical human-machine interaction tasks according to the embodiment of the present invention has at least the following advantages compared to the prior art:
(1)设置了适用于在绳索牵引并联机器人上完成人机交互任务的交互指标,可以用于定量评估人机交互或机器人构型的优劣;(1) An interaction index suitable for completing human-robot interaction tasks on a rope-pulled parallel robot is set up, which can be used to quantitatively evaluate the quality of human-robot interaction or robot configuration;
(2)将非线性优化问题简化为线性优化问题,大大降低了求解复杂度,提升了计算效率,使之可以在人机交互过程中实时求解。(2) Simplifying the nonlinear optimization problem into a linear optimization problem greatly reduces the complexity of the solution and improves the computational efficiency, so that it can be solved in real time during the human-computer interaction process.
(3)在得到简化后的线性优化问题后,使用对偶单纯形法代替基于采样或基于梯度迭代的非线性优化问题求解方法,保证了解的收敛性。(3) After obtaining the simplified linear optimization problem, the dual simplex method is used to replace the sampling-based or gradient iteration-based nonlinear optimization problem solving method to ensure the convergence of the solution.
(4)考虑到线性优化问题的最优解位于解空间边界上,但对于用于人机交互的机器人处于边界条件不稳定的问题,设计人工势场对线性优化问题的解予以修正,保证了系统的稳定性。(4) Considering that the optimal solution of the linear optimization problem lies on the boundary of the solution space, but the robot used for human-computer interaction is unstable at the boundary conditions, an artificial potential field is designed to correct the solution of the linear optimization problem, thereby ensuring the stability of the system.
本领域普通技术人员可以理解:实现上述实施例方法中的全部或部分流程是可以通过程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing related hardware through a program. The program can be stored in a computer-readable storage medium. When executed, the program can include the processes in the above-described method embodiments. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明披露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求书的保护范围为准。本文背景技术部分公开的信息仅仅旨在加深对本发明的总体背景技术的理解,而不应当被视为承认或以任何形式暗示该信息构成已为本领域技术人员所公知的现有技术。The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by any person skilled in the art within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims. The information disclosed in the background technology section of this article is only intended to deepen the understanding of the overall background technology of the present invention, and should not be regarded as an admission or any form of implication that the information constitutes prior art already known to those skilled in the art.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202510924691.2A CN120422252B (en) | 2025-07-04 | 2025-07-04 | Real-time solving reconstruction planning method for man-machine interaction rope traction parallel robot |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202510924691.2A CN120422252B (en) | 2025-07-04 | 2025-07-04 | Real-time solving reconstruction planning method for man-machine interaction rope traction parallel robot |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN120422252A CN120422252A (en) | 2025-08-05 |
| CN120422252B true CN120422252B (en) | 2025-09-02 |
Family
ID=96558106
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202510924691.2A Active CN120422252B (en) | 2025-07-04 | 2025-07-04 | Real-time solving reconstruction planning method for man-machine interaction rope traction parallel robot |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN120422252B (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111400917A (en) * | 2020-03-18 | 2020-07-10 | 中国科学技术大学 | A kinematic optimization solution method for a rope-pulled parallel robot with variable structure |
| CN112169288A (en) * | 2020-09-22 | 2021-01-05 | 中科数体(中山)科技有限公司 | VR simulation rowing system |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP2626051A1 (en) * | 2012-02-09 | 2013-08-14 | Lutz Medical Engineering | Apparatus for unloading a user's body weight during a physical activity of said user, particularly for gait training of said user |
| CN114367964B (en) * | 2022-03-22 | 2022-07-15 | 中国科学技术大学 | A method for reconfiguration planning of rope-pulled parallel robots |
| CN117656036B (en) * | 2024-02-01 | 2024-05-07 | 华侨大学 | Rope-pulled parallel robot based on double-rope model and control method and device thereof |
-
2025
- 2025-07-04 CN CN202510924691.2A patent/CN120422252B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111400917A (en) * | 2020-03-18 | 2020-07-10 | 中国科学技术大学 | A kinematic optimization solution method for a rope-pulled parallel robot with variable structure |
| CN112169288A (en) * | 2020-09-22 | 2021-01-05 | 中科数体(中山)科技有限公司 | VR simulation rowing system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN120422252A (en) | 2025-08-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5836565B2 (en) | Robot tracking and balancing system and method for mimicking motion capture data | |
| CN115464659B (en) | A robotic arm grasping control method based on deep reinforcement learning DDPG algorithm based on visual information | |
| Breyer et al. | Comparing task simplifications to learn closed-loop object picking using deep reinforcement learning | |
| Duenser et al. | Interactive robotic manipulation of elastic objects | |
| CN111152220B (en) | A Man-Machine Fusion Based Manipulator Control Method | |
| US12240119B2 (en) | Motion control method, robot, and computer-readable storage medium | |
| CN103991077B (en) | A shared control method for robot hand controllers based on force fusion | |
| CN114918924B (en) | Robot traction teaching method and device, electronic device and storage medium | |
| WO2023165192A1 (en) | Robot control method and apparatus, and robot and computer-readable storage medium | |
| WO2023165177A1 (en) | Method for constructing controller of robot, motion control method for robot and apparatuses, and robot | |
| CN120422252B (en) | Real-time solving reconstruction planning method for man-machine interaction rope traction parallel robot | |
| CN118732504A (en) | A fuzzy adaptive iterative learning control method for tendon-driven manipulator | |
| Dong et al. | A policy gradient algorithm integrating long and short-term rewards for soft continuum arm control | |
| CN115070771B (en) | Elastic double-ring synchronous control method for rope traction parallel robot | |
| CN118578379B (en) | An adaptive impedance control method for exoskeleton based on multi-point human-computer interaction parameter optimization | |
| CN119976374A (en) | Intelligent non-woven seedling bag multi-station synchronous taking and placing method and system | |
| CN114404220A (en) | Gravity compensation method and device for upper limb rehabilitation robot and upper limb rehabilitation robot | |
| CN116595869B (en) | A data-driven control strategy for collision-allowed rope-pulled parallel robots | |
| Jiang et al. | Smooth Trajectory Planning for a Cable-Driven Waist Rehabilitation Robot Using Quintic NURBS | |
| CN120395926B (en) | Reconfiguration planning method for rope-pulled parallel robots for human-robot interaction | |
| CN116035874A (en) | A blind-guiding robot and a blind-guiding control method thereof | |
| CN111687833B (en) | Manipulator anti-priority impedance control system and control method | |
| CN120791809B (en) | Neural field guided humanoid robot self-adaptive door opening control method | |
| Ying et al. | Obstacle avoidance shape control of deformable linear objects with online parameters adaptation based on differentiable simulation | |
| Bhattacharya et al. | Kinematic and Dynamic Modeling of Cable-Object Interference and Wrapping in Complex Geometrical-Shaped Cable-Driven Parallel Robots |
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 |