CN117842713A - Control method of collaborative robot in palletizing process - Google Patents
Control method of collaborative robot in palletizing process Download PDFInfo
- Publication number
- CN117842713A CN117842713A CN202311851496.9A CN202311851496A CN117842713A CN 117842713 A CN117842713 A CN 117842713A CN 202311851496 A CN202311851496 A CN 202311851496A CN 117842713 A CN117842713 A CN 117842713A
- Authority
- CN
- China
- Prior art keywords
- mechanical arm
- joint
- angle
- coordinate system
- straight line
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 72
- 230000008569 process Effects 0.000 title claims abstract description 35
- 230000033001 locomotion Effects 0.000 claims abstract description 57
- 239000000463 material Substances 0.000 claims abstract description 25
- 238000012216 screening Methods 0.000 claims description 3
- 230000009471 action Effects 0.000 abstract description 7
- 230000036544 posture Effects 0.000 description 45
- 230000000903 blocking effect Effects 0.000 description 8
- 238000004364 calculation method Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 238000004519 manufacturing process Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000033764 rhythmic process Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000011156 evaluation Methods 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000009795 derivation Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B65—CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
- B65G—TRANSPORT OR STORAGE DEVICES, e.g. CONVEYORS FOR LOADING OR TIPPING, SHOP CONVEYOR SYSTEMS OR PNEUMATIC TUBE CONVEYORS
- B65G61/00—Use of pick-up or transfer devices or of manipulators for stacking or de-stacking articles not otherwise provided for
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B65—CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
- B65G—TRANSPORT OR STORAGE DEVICES, e.g. CONVEYORS FOR LOADING OR TIPPING, SHOP CONVEYOR SYSTEMS OR PNEUMATIC TUBE CONVEYORS
- B65G43/00—Control devices, e.g. for safety, warning or fault-correcting
- B65G43/08—Control devices operated by article or material being fed, conveyed or discharged
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B65—CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
- B65G—TRANSPORT OR STORAGE DEVICES, e.g. CONVEYORS FOR LOADING OR TIPPING, SHOP CONVEYOR SYSTEMS OR PNEUMATIC TUBE CONVEYORS
- B65G2201/00—Indexing codes relating to handling devices, e.g. conveyors, characterised by the type of product or load being conveyed or handled
- B65G2201/02—Articles
- B65G2201/0235—Containers
- B65G2201/0258—Trays, totes or bins
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B65—CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
- B65G—TRANSPORT OR STORAGE DEVICES, e.g. CONVEYORS FOR LOADING OR TIPPING, SHOP CONVEYOR SYSTEMS OR PNEUMATIC TUBE CONVEYORS
- B65G2203/00—Indexing code relating to control or detection of the articles or the load carriers during conveying
- B65G2203/02—Control or detection
- B65G2203/0208—Control or detection relating to the transported articles
- B65G2203/0233—Position of the article
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Manipulator (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及码垛技术领域,具体涉及一种码垛工艺中对协作机器人的控制方法。The present invention relates to the technical field of palletizing, and in particular to a method for controlling a collaborative robot in a palletizing process.
背景技术Background technique
目前的协作机器人在执行码垛任务时,如果不借助外部机构,仅凭自身的功能,很难达到所需的高度。因此,在这种情况下,通常需要在协作机器人机械臂的Z轴上添加升降柱,以使机械臂能够在垂直方向上移动,以满足实际生产中对堆垛物体高度的要求。When performing palletizing tasks, current collaborative robots cannot reach the required height by their own functions without the help of external mechanisms. Therefore, in this case, it is usually necessary to add a lifting column to the Z-axis of the collaborative robot arm so that the arm can move in the vertical direction to meet the requirements for the height of the stacked objects in actual production.
相关技术中,升降柱与机械臂进行协同运动的动作生硬,连贯性差,影响码垛效率。In the related art, the coordinated movement of the lifting column and the robotic arm is stiff and has poor continuity, which affects the palletizing efficiency.
发明内容Summary of the invention
本发明为解决相关技术中升降柱与机械臂进行协同运动的动作生硬,连贯性差,影响码垛效率的问题,提出了如下技术方案。In order to solve the problem in the related art that the coordinated movement of the lifting column and the mechanical arm is stiff and has poor continuity, which affects the stacking efficiency, the present invention proposes the following technical solution.
本发明第一方面实施例提出了一种码垛工艺中对协作机器人的控制方法,所述协作机器人包括机械臂和升降柱,所述升降柱安装于所述机械臂基座下表面,所述方法包括以下步骤:确定所述机械臂的安全范围,其中,所述安全范围是指所述升降柱下降带动所述机械臂运动时,所述机械臂与其左右两侧托盘栈板及垛型不发生碰撞时所述机械臂的运动范围;在完成垛型最后一个物料的码垛时,控制所述机械臂运动同时基于所述安全范围判断是否开启对所述升降柱的控制,如果是,则在控制所述机械臂保持运动的同时开始控制所述升降柱下降至零位。The first aspect of the present invention provides a method for controlling a collaborative robot in a palletizing process, wherein the collaborative robot comprises a robotic arm and a lifting column, wherein the lifting column is mounted on the lower surface of a base of the robotic arm, and the method comprises the following steps: determining a safety range of the robotic arm, wherein the safety range refers to the range of movement of the robotic arm when the lifting column descends to drive the robotic arm to move without colliding with pallet stacks and stacks on its left and right sides; when completing the palletizing of the last material in the stack, controlling the movement of the robotic arm and determining whether to turn on the control of the lifting column based on the safety range, and if so, starting to control the lifting column to descend to zero position while controlling the robotic arm to keep moving.
另外,根据本发明上述实施例的码垛工艺中对协作机器人的控制方法还可以具有如下附加的技术特征。In addition, the control method of the collaborative robot in the palletizing process according to the above embodiment of the present invention may also have the following additional technical features.
根据本发明的一个实施例,所述机械臂的安全范围包括所述机械臂第一关节的安全角度范围。According to one embodiment of the present invention, the safety range of the robotic arm includes a safety angle range of the first joint of the robotic arm.
根据本发明的一个实施例,确定所述机械臂的安全范围,包括:确定所述机械臂的初始位姿,其中,所述初始位姿下机械臂法兰中心位于机械臂正前方;在所述初始位姿的基础上,控制所述机械臂运动并基于运动状态确定所述机械臂第一关节的安全角度范围。According to one embodiment of the present invention, determining the safety range of the robotic arm includes: determining an initial position of the robotic arm, wherein the center of the robotic arm flange is located directly in front of the robotic arm in the initial position; based on the initial position, controlling the movement of the robotic arm and determining the safety angle range of the first joint of the robotic arm based on the movement state.
根据本发明的一个实施例,在所述初始位姿的基础上,控制所述机械臂运动并基于运动状态确定所述机械臂第一关节的安全角度范围,包括:确定托盘栈板在基坐标系XOY平面的垂直投影,与该托盘栈板上的垛型在基坐标系XOY平面的垂直投影之间的最大投影;确定在所述初始位姿下所述机械臂第一关节的初始角度;控制所述机械臂第一关节从所述初始角度开始旋转,直至所述机械臂在基坐标系XOY平面的垂直投影与所述最大投影相切时,记录所述第一关节的旋转角度;根据所述初始角度和所述旋转角度得到所述机械臂第一关节的安全角度范围。According to one embodiment of the present invention, on the basis of the initial posture, the movement of the robot arm is controlled and the safe angle range of the first joint of the robot arm is determined based on the movement state, including: determining the maximum projection between the vertical projection of the pallet stack on the XOY plane of the base coordinate system and the vertical projection of the stack type on the pallet stack on the XOY plane of the base coordinate system; determining the initial angle of the first joint of the robot arm in the initial posture; controlling the first joint of the robot arm to rotate from the initial angle until the vertical projection of the robot arm on the XOY plane of the base coordinate system is tangent to the maximum projection, and recording the rotation angle of the first joint; obtaining the safe angle range of the first joint of the robot arm according to the initial angle and the rotation angle.
根据本发明的一个实施例,控制所述机械臂第一关节从所述初始角度开始旋转,直至所述机械臂在基坐标系XOY平面的垂直投影与所述最大投影相切时,记录所述第一关节的旋转角度,包括:控制所述机械臂第一关节从所述初始角度开始逆时针旋转,直至所述机械臂在基坐标系XOY平面的垂直投影与所述最大投影相切时,记录所述第一关节的逆时针旋转角度;控制所述机械臂第一关节从所述初始角度开始顺时针旋转,直至所述机械臂在基坐标系XOY平面的垂直投影与所述最大投影相切时,记录所述第一关节的顺时针旋转角度。According to one embodiment of the present invention, the first joint of the robotic arm is controlled to rotate from the initial angle until the vertical projection of the robotic arm in the XOY plane of the base coordinate system is tangent to the maximum projection, and the rotation angle of the first joint is recorded, including: controlling the first joint of the robotic arm to rotate counterclockwise from the initial angle until the vertical projection of the robotic arm in the XOY plane of the base coordinate system is tangent to the maximum projection, and recording the counterclockwise rotation angle of the first joint; controlling the first joint of the robotic arm to rotate clockwise from the initial angle until the vertical projection of the robotic arm in the XOY plane of the base coordinate system is tangent to the maximum projection, and recording the clockwise rotation angle of the first joint.
根据本发明的一个实施例,当所述托盘栈板及垛型位于所述机械臂左侧时,所述第一关节的安全角度范围为[α_init,α_init+β_left],其中,α_init为初始角度,β_left为逆时针旋转角度;当所述托盘栈板及垛型位于所述机械臂右侧时,所述第一关节的安全角度范围为[α_init-β_right,α_init],其中,β_right为顺时针旋转角度,α_init、β_left和β_right均大于0度。According to one embodiment of the present invention, when the pallet stack and the stack are located on the left side of the robotic arm, the safety angle range of the first joint is [α_init, α_init+β_left], wherein α_init is the initial angle and β_left is the counterclockwise rotation angle; when the pallet stack and the stack are located on the right side of the robotic arm, the safety angle range of the first joint is [α_init-β_right, α_init], wherein β_right is the clockwise rotation angle, and α_init, β_left and β_right are all greater than 0 degrees.
根据本发明的一个实施例,在所述初始位姿的基础上,控制所述机械臂运动并基于运动状态确定所述机械臂第一关节的安全角度范围,包括:在所述初始位姿下控制所述机械臂旋转至基准位姿,其中,所述基准位姿下所述机械臂第一连杆与基坐标系Y轴垂直,并确定基准位姿下所述第一关节的基准角度、预设连杆最外沿在基坐标系XOY平面的投影所形成的第一直线,所述预设连杆为第二连杆或者第三连杆;确定所述垛型在基坐标系XOY平面所对应的最小包围矩形;在所述基准位姿下控制所述机械臂旋转至相切位姿,其中,所述相切位姿下所述预设连杆最外沿在基坐标系XOY平面的投影所形成的第二直线与所述最小包围矩形的一个角点相切,并确定相切位姿下相切角点在基坐标系XOY平面的坐标;基于所述相切角点在基坐标系XOY平面的坐标计算所述第一直线与所述第二直线之间的夹角;根据所述基准角度和所述第一直线与所述第二直线之间的夹角计算得到所述机械臂第一关节的安全角度范围。According to one embodiment of the present invention, based on the initial posture, the movement of the robot arm is controlled and the safe angle range of the first joint of the robot arm is determined based on the motion state, including: controlling the robot arm to rotate to a reference posture in the initial posture, wherein the first link of the robot arm is perpendicular to the Y axis of the base coordinate system in the reference posture, and determining a reference angle of the first joint in the reference posture, a first straight line formed by the projection of the outermost edge of the preset link on the XOY plane of the base coordinate system, wherein the preset link is the second link or the third link; determining the outermost straight line corresponding to the stack type in the XOY plane of the base coordinate system; small enclosing rectangle; control the robot arm to rotate to a tangent posture under the reference posture, wherein a second straight line formed by the projection of the outermost edge of the preset connecting rod on the XOY plane of the base coordinate system under the tangent posture is tangent to a corner point of the minimum enclosing rectangle, and determine the coordinates of the tangent corner point in the XOY plane of the base coordinate system under the tangent posture; calculate the angle between the first straight line and the second straight line based on the coordinates of the tangent corner point in the XOY plane of the base coordinate system; calculate the safe angle range of the first joint of the robot arm according to the reference angle and the angle between the first straight line and the second straight line.
根据本发明的一个实施例,确定所述垛型在基坐标系XOY平面所对应的最小包围矩形,包括:确定所述垛型任一层箱子在基坐标系XOY平面投影下各个角点的坐标;对所有角点的坐标进行遍历排序,并筛选出最小横坐标、最大横坐标、最小纵坐标和最大纵坐标;根据所述最小横坐标、所述最大横坐标、所述最小纵坐标和所述最大纵坐标,得到所述垛型在基坐标系XOY平面所对应的最小包围矩形。According to one embodiment of the present invention, determining the minimum enclosing rectangle corresponding to the stack in the XOY plane of the base coordinate system includes: determining the coordinates of each corner point of any layer of boxes of the stack under the projection of the XOY plane of the base coordinate system; traversing and sorting the coordinates of all corner points, and screening out the minimum horizontal coordinate, the maximum horizontal coordinate, the minimum vertical coordinate and the maximum vertical coordinate; and obtaining the minimum enclosing rectangle corresponding to the stack in the XOY plane of the base coordinate system according to the minimum horizontal coordinate, the maximum horizontal coordinate, the minimum vertical coordinate and the maximum vertical coordinate.
根据本发明的一个实施例,所述基坐标系以所述机械臂基座中心为原点,所述基坐标系的X轴正方向朝向所述机械臂正左侧,所述基坐标系的Y轴正方向朝向所述机械臂正后方。According to one embodiment of the present invention, the base coordinate system takes the center of the robot base as its origin, the positive direction of the X-axis of the base coordinate system is toward the left side of the robot, and the positive direction of the Y-axis of the base coordinate system is toward the rear of the robot.
所述相切角点在基坐标系XOY平面的坐标为:The coordinates of the tangent corner point in the XOY plane of the base coordinate system are:
其中,xmin表示所述最小横坐标、ymin表示所述最小纵坐标,xmax表示所述最大横坐标。Among them, x min represents the minimum horizontal coordinate, y min represents the minimum vertical coordinate, and x max represents the maximum horizontal coordinate.
根据本发明的一个实施例,基于所述相切角点在基坐标系XOY平面的坐标计算所述第一直线与所述第二直线之间的夹角,包括:在所述基准位姿下确定过第一关节中心点且与基坐标系Y轴贴合的第三直线;在所述基准位姿下确定所述第三直线与所述第一直线之间的距离;根据所述第三直线与所述第一直线之间的距离、所述相切角点在基坐标系XOY平面的坐标计算所述第一直线与所述第二直线之间的夹角。According to one embodiment of the present invention, the angle between the first straight line and the second straight line is calculated based on the coordinates of the tangent corner point in the XOY plane of the base coordinate system, including: determining a third straight line passing through the center point of the first joint and conforming to the Y axis of the base coordinate system in the reference posture; determining the distance between the third straight line and the first straight line in the reference posture; and calculating the angle between the first straight line and the second straight line according to the distance between the third straight line and the first straight line and the coordinates of the tangent corner point in the XOY plane of the base coordinate system.
根据本发明的一个实施例,通过以下公式计算所述第一直线与所述第二直线之间的夹角:According to one embodiment of the present invention, the angle between the first straight line and the second straight line is calculated by the following formula:
Δx=xmin Δx=x min
Δy=ymin Δy= ymin
其中,αleft表示所述第一直线与所述第二直线之间的夹角,xmin表示最小横坐标、ymin表示所述最小纵坐标,distance表示所述第三直线与所述第一直线之间的距离,Δx、Δy分别表示相切角点与基坐标系Y轴、X轴的距离。Among them, α left represents the angle between the first straight line and the second straight line, x min represents the minimum horizontal coordinate, y min represents the minimum vertical coordinate, distance represents the distance between the third straight line and the first straight line, Δx and Δy represent the distances between the tangent corner point and the Y axis and X axis of the base coordinate system respectively.
根据本发明的一个实施例,当所述垛型位于所述机械臂左侧时,所述预设连杆为第二连杆;当所述垛型位于所述机械臂右侧时,所述预设连杆为第三连杆。According to one embodiment of the present invention, when the stack type is located on the left side of the robotic arm, the preset connecting rod is the second connecting rod; when the stack type is located on the right side of the robotic arm, the preset connecting rod is the third connecting rod.
根据本发明的一个实施例,当所述垛型位于所述机械臂左侧时,所述第一关节的安全角度范围为[αbase,αbase+αleft],其中,αbase为基准角度,αleft为所述垛型位于所述机械臂左侧时所述第一直线与所述第二直线之间的夹角,αbase、αleft均大于0度;当所述垛型位于所述机械臂右侧时,所述第一关节的安全角度范围为[-αright+αbase,αbase],其中,αbase为基准角度,αright为所述垛型位于所述机械臂右侧时所述第一直线与所述第二直线之间的夹角,αright大于0度。According to one embodiment of the present invention, when the stack is located on the left side of the robotic arm, the safety angle range of the first joint is [α base , α base +α left ], wherein α base is a reference angle, α left is an angle between the first straight line and the second straight line when the stack is located on the left side of the robotic arm, and α base and α left are both greater than 0 degrees; when the stack is located on the right side of the robotic arm, the safety angle range of the first joint is [-α right +α base , α base ], wherein α base is a reference angle, α right is an angle between the first straight line and the second straight line when the stack is located on the right side of the robotic arm, and α right is greater than 0 degrees.
根据本发明的一个实施例,基于所述安全范围判断是否开启对所述升降柱的控制,包括:获取所述机械臂第一关节的角度;如果所述机械臂第一关节的角度处于所述安全角度范围之内,则确定开启对所述升降柱的控制;如果所述机械臂第一关节的角度不处于所述安全角度范围之内,则确定不开启对所述升降柱的控制。According to one embodiment of the present invention, judging whether to start controlling the lifting column based on the safety range includes: acquiring the angle of the first joint of the mechanical arm; if the angle of the first joint of the mechanical arm is within the safety angle range, determining to start controlling the lifting column; if the angle of the first joint of the mechanical arm is not within the safety angle range, determining not to start controlling the lifting column.
本发明实施例的技术方案,先确定机械臂的安全范围,其中,安全范围是指升降柱下降带动机械臂运动时,机械臂与其左右两侧托盘栈板及垛型不发生碰撞时机械臂的运动范围,然后在完成垛型最后一个物料的码垛时,控制机械臂运动同时基于安全范围判断是否开启对升降柱的控制,如果是,则在控制机械臂保持运动的同时开始控制升降柱下降至零位。The technical solution of the embodiment of the present invention first determines the safety range of the robot arm, wherein the safety range refers to the movement range of the robot arm when the lifting column descends to drive the robot arm to move without colliding with the pallet stacks and stacks on its left and right sides; then, when the palletizing of the last material in the stack is completed, the movement of the robot arm is controlled and at the same time, based on the safety range, it is determined whether to turn on the control of the lifting column; if so, the lifting column is controlled to descend to the zero position while the robot arm is controlled to keep moving.
由此,在码完垛型最后一个物料时,基于机械臂的安全范围控制升降柱下降,可以在保证安全性的同时优化机械臂与升降柱之间的协同运动,提高动作连贯性,从而可以提高整体码垛效率。Therefore, when the last material is palletized, the lifting column is controlled to descend based on the safety range of the robot arm, which can optimize the coordinated movement between the robot arm and the lifting column while ensuring safety, improve the continuity of movement, and thus improve the overall palletizing efficiency.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本发明实施例的码垛工艺中对协作机器人的控制方法的流程图。FIG. 1 is a flow chart of a method for controlling a collaborative robot in a palletizing process according to an embodiment of the present invention.
图2为本发明一个实施例的协作机器人机械臂的结构示意图。FIG. 2 is a schematic structural diagram of a collaborative robot arm according to an embodiment of the present invention.
图3为本发明一个实施例的第一关节的安全角度范围示意图。FIG. 3 is a schematic diagram of a safe angle range of a first joint according to an embodiment of the present invention.
图4为本发明一个示例的最小包围矩形的计算示意图。FIG. 4 is a schematic diagram of calculating a minimum enclosing rectangle according to an example of the present invention.
图5为本发明一个示例的基准位姿下第二连杆最外沿在XOY平面的投影所形成的第一直线的示意图。FIG5 is a schematic diagram of a first straight line formed by the projection of the outermost edge of the second connecting rod on the XOY plane in a reference posture of an example of the present invention.
图6为本发明一个示例的第二直线与第一直线之间的夹角的计算示意图。FIG. 6 is a schematic diagram of calculating the angle between the second straight line and the first straight line according to an example of the present invention.
图7为本发明一个实施例的使用第一关节的安全角度范围的示意图。FIG. 7 is a schematic diagram of a safe angle range of using a first joint according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
图1为本发明实施例的码垛工艺中对协作机器人的控制方法的流程图。FIG. 1 is a flow chart of a method for controlling a collaborative robot in a palletizing process according to an embodiment of the present invention.
需要说明的是,目前协作机器人的运动分为阻塞运动和非阻塞运动。阻塞运动指的是在到达指定点位之前,整个程序不能做其他的事情。非阻塞运动指的是在到达指定点位之前,可以进行一些其他的逻辑处理与通信控制。本发明实施例控制增加非阻塞运动,在协作机器人机械臂运动过程中,对升降柱进行控制,以在满足一定条件下,控制升降柱和机械臂同时运动,实现机械臂和升降柱的协同工作。It should be noted that the current movements of collaborative robots are divided into blocking movements and non-blocking movements. Blocking movements mean that the entire program cannot do anything else before reaching a specified point. Non-blocking movements mean that some other logical processing and communication control can be performed before reaching a specified point. The embodiment of the present invention controls the addition of non-blocking movements, and controls the lifting column during the movement of the collaborative robot's mechanical arm, so as to control the lifting column and the mechanical arm to move simultaneously under certain conditions, thereby realizing the coordinated work of the mechanical arm and the lifting column.
如图1所示,该码垛工艺中对协作机器人的控制方法包括以下步骤S1和S2。As shown in FIG. 1 , the control method for the collaborative robot in the palletizing process includes the following steps S1 and S2.
码垛,是指一层一层地将物料箱子码放在机械臂左侧、右侧托盘栈板上,其中,每层包括至少一个物料箱子,各个箱子的尺寸可以相同也可以不同。Palletizing refers to stacking material boxes layer by layer on the pallet stacks on the left and right sides of the robot arm, where each layer includes at least one material box, and the sizes of the boxes can be the same or different.
协作机器人包括机械臂和升降柱,升降柱沿机械臂Z轴方向(垂直方向)安装于机械臂基座下表面。机械臂的结构如图2所示,包括第一关节1(靠近基座)、第二关节2、第一关节1和第二关节2之间的第一连杆(图中未示出)、第二连杆3(大臂管)以及第三连杆4(小臂管)。其中第二连杆3是指连接第二关节2与第三关节的连杆,第三连杆4是指连接第三关节与第四关节的连杆。The collaborative robot includes a mechanical arm and a lifting column, and the lifting column is installed on the lower surface of the mechanical arm base along the Z-axis direction (vertical direction) of the mechanical arm. The structure of the mechanical arm is shown in Figure 2, including a first joint 1 (close to the base), a second joint 2, a first connecting rod between the first joint 1 and the second joint 2 (not shown in the figure), a second connecting rod 3 (big arm tube) and a third connecting rod 4 (small arm tube). The second connecting rod 3 refers to the connecting rod connecting the second joint 2 and the third joint, and the third connecting rod 4 refers to the connecting rod connecting the third joint and the fourth joint.
S1,确定机械臂的安全范围,其中,安全范围是指升降柱下降带动机械臂运动时,机械臂与其左右两侧托盘栈板及垛型不发生碰撞时机械臂的运动范围。S1, determine the safety range of the robot arm, wherein the safety range refers to the range of movement of the robot arm when the lifting column descends to drive the robot arm to move without colliding with the pallet stacks and stacking types on its left and right sides.
其中,垛型是指最高物料层已码放完毕的物料垛。Among them, the stack type refers to the material stack with the highest material layer already stacked.
其中,机械臂的安全范围可以是其关节的安全角度范围。Among them, the safety range of the robotic arm may be the safety angle range of its joints.
具体地,可在实施码垛工艺之前,事先在机器人基坐标系下,控制机械臂运动,并在运动过程中获取机械臂各个参数,结合各个参数、历史经验和码垛工艺安全性的要求估计或者计算机械臂的安全范围。Specifically, before implementing the palletizing process, the movement of the robotic arm can be controlled in advance in the robot base coordinate system, and various parameters of the robotic arm can be obtained during the movement. The safety range of the robotic arm can be estimated or calculated based on various parameters, historical experience and the safety requirements of the palletizing process.
S2,在完成垛型最后一个物料的码垛时,控制机械臂运动同时基于安全范围判断是否开启对升降柱的控制,如果是,则在控制机械臂保持运动的同时开始控制升降柱下降至零位。S2, when the palletizing of the last material in the pallet is completed, the robot arm is controlled to move and at the same time, it is determined whether to start the control of the lifting column based on the safety range. If so, the lifting column is controlled to descend to the zero position while the robot arm is controlled to keep moving.
零位,是指升降柱初始状态下、未进行任何升降动作的位置,即升降柱处于零位时上升高度为零。The zero position refers to the position of the lifting column in its initial state without any lifting action, that is, the rising height is zero when the lifting column is in the zero position.
具体地,在需要升降柱下降时,比如完成垛型(左侧或者右侧)最后一层物料最后一个物料的码垛时(此时机械臂法兰位于垛型上方),以机械臂的初始位姿为目标,控制机械臂运动,同时基于安全范围实时判断是否开始(立即)控制升降柱下降,即需要判断升降柱开始下降的时间点,具体可通过判断机械臂是否到达其安全范围实现。当机械臂到达其安全范围时,开始控制升降柱下降直至零位,同时保持机械臂运动,以保证在升降柱下降的同时机械臂运动,且升降柱下降时机械臂与垛型始终碰撞干涉,最终机械臂恢复至初始位姿,升降柱恢复至零位,下降至零位后,可开始进行另一侧的码垛工艺。在保证安全性的同时增加动作连贯性。Specifically, when the lifting column needs to be lowered, such as when the last material of the last layer of materials on the pallet (left or right side) is completed (at this time, the flange of the robot arm is located above the pallet), the robot arm's initial posture is used as the target to control the movement of the robot arm, and at the same time, based on the safety range, it is determined in real time whether to start (immediately) controlling the lifting column to descend, that is, it is necessary to determine the time point when the lifting column starts to descend, which can be achieved by determining whether the robot arm has reached its safety range. When the robot arm reaches its safety range, the lifting column is controlled to descend until it reaches zero position, while the robot arm is kept moving to ensure that the lifting column moves while the lifting column is descending, and the robot arm always collides and interferes with the pallet when the lifting column is descending. Finally, the robot arm returns to its initial posture, and the lifting column returns to zero position. After descending to zero position, the palletizing process on the other side can be started. Increase the continuity of the action while ensuring safety.
实际应用中,码完最后一个物料时,并不立即开始控制升降柱下降,而是控制机械臂运动(以初始位姿为目标),同时实时监测机械臂位姿,判断其是否位于安全范围,可能在一定时间段之内不满足安全范围,于是在该时间段不对升降柱进行控制,在该时间段过后机械臂满足安全范围时,开始控制升降柱下降,同时保持机械臂运动。In actual applications, when the last material is coded, the lifting column is not immediately controlled to descend. Instead, the robot arm is controlled to move (with the initial posture as the target). At the same time, the robot arm posture is monitored in real time to determine whether it is in a safe range. The safety range may not be met within a certain period of time, so the lifting column is not controlled during this period of time. After this period of time, when the robot arm meets the safety range, the lifting column is controlled to descend while keeping the robot arm moving.
需要说明的是,不管是码垛工艺流程还是拆垛工艺流程,都存在需要升降柱下降的情况(拆垛工艺的升降柱下降频次更高),在下降时应防止碰撞、干涉,因此升降柱在每次需要下降时,都需要判断机械臂是否处于安全范围,如果是,则开始控制升降柱下降,同时保持机械臂运动,增加动作连贯性。It should be noted that no matter it is the palletizing process or the depalletizing process, there are situations where the lifting column needs to be lowered (the lifting column of the depalletizing process descends more frequently). Collision and interference should be prevented during the descent. Therefore, each time the lifting column needs to descend, it is necessary to determine whether the robotic arm is in a safe range. If so, it starts to control the descent of the lifting column while keeping the robotic arm moving to increase the continuity of the action.
总的来说,本发明实施例事先确定机械臂的安全范围,在该基础上实现机械臂与升降柱的协同工作:首先通过机械臂和升降柱实现码垛,直至完成最后一层的码垛时,控制机械臂运动直至机械臂到达安全范围时,开始控制升降柱下降至零位,同时机械臂保持运动,保证升降柱在不发生碰撞、干涉的情况下安全下降至零位。In general, the embodiments of the present invention determine the safety range of the robotic arm in advance, and realize the coordinated work of the robotic arm and the lifting column on this basis: first, palletizing is realized by the robotic arm and the lifting column, and when the palletizing of the last layer is completed, the movement of the robotic arm is controlled until the robotic arm reaches the safety range, and then the lifting column is controlled to descend to the zero position, and the robotic arm keeps moving at the same time to ensure that the lifting column safely descends to the zero position without collision or interference.
相关技术中,采用阻塞运动策略,升降柱与机械臂单独动作,未进行协同动作,缺少整体的协同连贯性,影响了产线的整体节拍,增加了时间成本,从而影响整体码垛效率。In the related technology, a blocking motion strategy is adopted, and the lifting column and the robotic arm move independently without coordinated action, lacking overall coordinated continuity, affecting the overall rhythm of the production line, increasing time costs, and thus affecting the overall palletizing efficiency.
相较于相关技术,本发明实施例分析码垛工艺流程,确定一个安全范围,在需要升降柱移动时,增加针对机械臂安全范围的判断,机械臂的路点移动使用非阻塞异步的方式,当机械臂在安全范围内时就可以允许升降柱开始移动(下降动作为主),增加动作连贯性,优化了机械臂与升降柱之间的协同运动,提高整体码垛效率。Compared with the related art, the embodiment of the present invention analyzes the palletizing process flow and determines a safety range. When the lifting column needs to move, a judgment on the safety range of the robot arm is added. The waypoint movement of the robot arm uses a non-blocking asynchronous method. When the robot arm is within the safety range, the lifting column is allowed to start moving (mainly descending action), which increases the continuity of the action, optimizes the coordinated movement between the robot arm and the lifting column, and improves the overall palletizing efficiency.
由此,本发明实施例的码垛工艺中对协作机器人的控制方法,在码完垛型最后一个物料时,基于机械臂的安全范围控制升降柱下降,可以在保证安全性的同时优化机械臂与升降柱之间的协同运动,提高动作连贯性,从而可以提高整体码垛效率。Therefore, the control method of the collaborative robot in the palletizing process of the embodiment of the present invention, when the last material of the palletizing type is completed, controls the descent of the lifting column based on the safety range of the robot arm, thereby optimizing the coordinated movement between the robot arm and the lifting column while ensuring safety, improving the continuity of movement, and thus improving the overall palletizing efficiency.
在本发明的一个实施例中,机械臂的安全范围可以是第一关节(连接基座的一个关节)的安全角度范围。In one embodiment of the present invention, the safety range of the robot arm may be a safety angle range of the first joint (a joint connected to the base).
如图3所示,假设协作机器人右侧与左侧具有同种垛型(垛型堆放在托盘栈板上),当机械臂本体的第一关节的角度在图3所示的两条射线之间时,可以确保升降柱下降移动时,机械臂本体同左右两侧物料的垛型及托盘栈板,始终没有碰撞和干涉。其中,两条射线为机械臂本体同左右两侧物料的垛型及托盘栈板不碰撞和干涉时第一关节的角度所形成的射线,两条射线之间的劣弧夹角α_def就是第一关节的安全角度范围。As shown in Figure 3, assuming that the right and left sides of the collaborative robot have the same type of stack (stacks are stacked on a pallet), when the angle of the first joint of the robot body is between the two rays shown in Figure 3, it can be ensured that when the lifting column moves downward, the robot body and the stacks of materials on the left and right sides and the pallet never collide or interfere. Among them, the two rays are the rays formed by the angle of the first joint when the robot body does not collide or interfere with the stacks of materials on the left and right sides and the pallet, and the inferior arc angle α_def between the two rays is the safe angle range of the first joint.
本发明实施例提出了安全角度范围的两种获取方式,这两种方式都是在机械臂初始位姿的基础上进行的。The embodiment of the present invention proposes two methods for obtaining the safe angle range, both of which are performed on the basis of the initial position of the robot arm.
即在本发明的一个实施例中,步骤S1中的确定机械臂的安全范围,可包括:确定机械臂的初始位姿,其中,初始位姿下机械臂法兰中心位于机械臂正前方;在初始位姿的基础上,控制机械臂运动并基于运动状态确定机械臂第一关节的安全角度范围。That is, in one embodiment of the present invention, determining the safety range of the robotic arm in step S1 may include: determining the initial position of the robotic arm, wherein the center of the robotic arm flange is located directly in front of the robotic arm in the initial position; based on the initial position, controlling the movement of the robotic arm and determining the safety angle range of the first joint of the robotic arm based on the motion state.
需要说明的是,机械臂进行码垛工艺时,都存在一个初始位姿,用于每次开始前或者停止后需要保持的安全状态,一般这个位姿需要确保法兰中心或者末端连接的工具朝着流水线传送带的来料方向,机械臂法兰中心位于机械臂正前方,方便快速响应启动。It should be noted that when the robot arm performs the palletizing process, there is an initial posture, which is used to maintain a safe state before each start or after stopping. Generally, this posture needs to ensure that the flange center or the tool connected at the end is facing the direction of the material coming from the conveyor belt of the assembly line, and the center of the robot arm flange is located directly in front of the robot arm to facilitate quick response and startup.
具体地,首先确定机械臂的初始位姿,在初始位姿下控制机械臂运动并实时确定运动状态,采集运动参数,结合运动状态和运动参数确定第一关节的安全角度范围。Specifically, the initial position and posture of the robot arm are first determined, the movement of the robot arm is controlled under the initial position and the motion state is determined in real time, the motion parameters are collected, and the safe angle range of the first joint is determined in combination with the motion state and motion parameters.
一般机械臂的基坐标系的各个轴正方向,由最终现场的机械臂实际安装方式决定。为了方便本发明实施例的后续描述表示,规定基坐标系(以基座中心为原点)方向即X轴正方向X+(朝向机械臂正左侧)、Y轴正方向Y+(朝向机械臂正后方)和Z轴正方向Z+(朝向机械臂正上方)都与世界坐标系相同。其中机器人基座所在平面与地面平行,即基坐标系的XOY平面与地面平行。因此,对于机械臂第一关节而言,绕基坐标系Z轴正方向旋转,符合右手螺旋定则的规定,即逆时针旋转,第一关节角度数值增加,顺时针旋转,第一关节角度数值减少。Generally, the positive directions of each axis of the base coordinate system of the robot arm are determined by the actual installation method of the robot arm at the final site. In order to facilitate the subsequent description of the embodiments of the present invention, the direction of the base coordinate system (with the center of the base as the origin), that is, the positive direction X+ of the X-axis (towards the left side of the robot arm), the positive direction Y+ of the Y-axis (towards the back of the robot arm) and the positive direction Z+ of the Z-axis (towards the top of the robot arm) are the same as the world coordinate system. The plane where the robot base is located is parallel to the ground, that is, the XOY plane of the base coordinate system is parallel to the ground. Therefore, for the first joint of the robot arm, the rotation around the positive direction of the Z axis of the base coordinate system conforms to the provisions of the right-hand screw rule, that is, counterclockwise rotation, the value of the first joint angle increases, and clockwise rotation, The value of the first joint angle decreases.
因为最终目标是确保机械臂向地面的垂直投影与托盘栈板及垛型向地面的垂直投影互不干涉,所以可以将这个工程问题模型放至一个基坐标系XOY的二维平面去处理。第一关节的安全角度范围有两种方式确定,第一种是进行现场评估,粗略确认一个范围。第二种是根据机器人的机械外型参数,计算获得。Because the ultimate goal is to ensure that the vertical projection of the robot arm to the ground does not interfere with the vertical projection of the pallet and the stack to the ground, this engineering problem model can be placed on a two-dimensional plane of a base coordinate system XOY for processing. There are two ways to determine the safe angle range of the first joint. The first is to conduct an on-site assessment and roughly confirm a range. The second is to calculate it based on the mechanical appearance parameters of the robot.
下面说明第一种根据现场评估确定第一关节的安全角度范围的方式。A first method of determining the safe angle range of the first joint based on on-site evaluation is described below.
在本发明的一个示例中,在初始位姿的基础上,控制机械臂运动并基于运动状态确定机械臂第一关节的安全角度范围,可包括:确定托盘栈板在基坐标系XOY平面的垂直投影,与该托盘栈板上的垛型在基坐标系XOY平面的垂直投影之间的最大投影;确定在初始位姿下机械臂第一关节的初始角度;控制机械臂第一关节从初始角度开始旋转,直至机械臂在基坐标系XOY平面的垂直投影与最大投影相切时,记录第一关节的旋转角度;根据初始角度和旋转角度得到机械臂第一关节的安全角度范围。In an example of the present invention, based on the initial posture, controlling the movement of the robot arm and determining the safe angle range of the first joint of the robot arm based on the motion state may include: determining the maximum projection between the vertical projection of the pallet stack on the XOY plane of the base coordinate system and the vertical projection of the stack type on the pallet stack on the XOY plane of the base coordinate system; determining the initial angle of the first joint of the robot arm in the initial posture; controlling the first joint of the robot arm to rotate from the initial angle until the vertical projection of the robot arm on the XOY plane of the base coordinate system is tangent to the maximum projection, and recording the rotation angle of the first joint; and obtaining the safe angle range of the first joint of the robot arm based on the initial angle and the rotation angle.
进一步地,控制机械臂第一关节从初始角度开始旋转,直至机械臂在基坐标系XOY平面的垂直投影与最大投影相切时,记录第一关节的旋转角度,可包括:控制机械臂第一关节从初始角度开始逆时针旋转,直至机械臂在基坐标系XOY平面的垂直投影与最大投影相切时,记录第一关节的逆时针旋转角度;控制机械臂第一关节从初始角度开始顺时针旋转,直至机械臂在基坐标系XOY平面的垂直投影与最大投影相切时,记录第一关节的顺时针旋转角度。Further, controlling the first joint of the robotic arm to rotate from an initial angle until the vertical projection of the robotic arm in the XOY plane of the base coordinate system is tangent to the maximum projection, and recording the rotation angle of the first joint may include: controlling the first joint of the robotic arm to rotate counterclockwise from the initial angle until the vertical projection of the robotic arm in the XOY plane of the base coordinate system is tangent to the maximum projection, and recording the counterclockwise rotation angle of the first joint; controlling the first joint of the robotic arm to rotate clockwise from the initial angle until the vertical projection of the robotic arm in the XOY plane of the base coordinate system is tangent to the maximum projection, and recording the clockwise rotation angle of the first joint.
具体而言,首先对于左侧垛型或者右侧垛型,确定托盘栈板在基坐标系XOY平面的垂直投影、该托盘栈板上垛型在基坐标系XOY平面的垂直投影,并确定两个投影之间的最大投影,在初始位姿下确定机械臂第一关节的初始角度α_init。Specifically, first, for the left-side stacking type or the right-side stacking type, determine the vertical projection of the pallet pallet on the XOY plane of the base coordinate system, the vertical projection of the pallet pallet on the XOY plane of the base coordinate system, and determine the maximum projection between the two projections, and determine the initial angle α_init of the first joint of the robot arm under the initial posture.
然后对于左侧垛型,控制第一关节从初始角度开始逆时针旋转,旋转过程中实时监测机械臂在基坐标系XOY平面的垂直投影,直至该垂直投影与最大投影相切时,记录此时第一关节的逆时针旋转角度β_left。最后根据第一关节的初始角度α_init和逆时针旋转角度β_left得到机械臂从左侧运动到初始位姿时相应的第一关节的角度安全范围,即当托盘栈板及垛型位于机械臂左侧时,第一关节的安全角度范围为[α_init,α_init+β_left],其中,α_init为初始角度,β_left为逆时针旋转角度。Then, for the left side stack, control the first joint to rotate counterclockwise from the initial angle, and monitor the vertical projection of the robot arm in the base coordinate system XOY plane in real time during the rotation process until the vertical projection is tangent to the maximum projection, and record the counterclockwise rotation angle β_left of the first joint at this time. Finally, according to the initial angle α_init of the first joint and the counterclockwise rotation angle β_left, the corresponding angle safety range of the first joint when the robot arm moves from the left side to the initial posture is obtained, that is, when the pallet and the stack are located on the left side of the robot arm, the safety angle range of the first joint is [α_init, α_init+β_left], where α_init is the initial angle and β_left is the counterclockwise rotation angle.
然后对于右侧垛型,控制第一关节从初始角度开始顺时针旋转,旋转过程中实时监测机械臂在基坐标系XOY平面的垂直投影,直至该垂直投影与最大投影相切时,记录此时第一关节的顺时针旋转角度β_right。最后根据第一关节的初始角度α_init和顺时针旋转角度β_right得到机械臂从右侧运动到初始位姿时相应的第一关节的角度安全范围,即当托盘栈板及垛型位于机械臂右侧时,第一关节的安全角度范围为[α_init-β_right,α_init],其中,α_init为初始角度,β_right为顺时针旋转角度。Then, for the right side stack, control the first joint to rotate clockwise from the initial angle, monitor the vertical projection of the robot arm in the base coordinate system XOY plane in real time during the rotation process, until the vertical projection is tangent to the maximum projection, and record the clockwise rotation angle β_right of the first joint at this time. Finally, according to the initial angle α_init of the first joint and the clockwise rotation angle β_right, the corresponding angle safety range of the first joint when the robot arm moves from the right side to the initial posture is obtained, that is, when the pallet and the stack are located on the right side of the robot arm, the safety angle range of the first joint is [α_init-β_right, α_init], where α_init is the initial angle and β_right is the clockwise rotation angle.
也就是说,通过评估的方式最终计算的图3中的两条射线之间的劣弧夹角α_def的范围为[α_init-β_right,α_init+β_left],α_init、β_left和β_right均大于0度。That is, the range of the minor arc angle α_def between the two rays in FIG. 3 finally calculated by evaluation is [α_init-β_right, α_init+β_left], and α_init, β_left and β_right are all greater than 0 degrees.
总的来说,有一个初始位姿,机械臂转动到该位姿时的第一关节角度为α_init,经过现场观察,当第一关节从该角度开始顺时针转动β_left、逆时针转动β_right的时候,机械臂在基坐标系XOY平面的垂直投影,都没有被任意需要使用的垛型及托盘栈板所占用空间在基坐标系XOY平面的垂直投影所包含,因此获得安全角度的取值范围区间[α_init-β_right,α_init+β_left],这个区间就是第一关节的安全角度范围。In general, there is an initial posture, and the first joint angle of the robot arm when it rotates to this posture is α_init. After on-site observation, when the first joint starts to rotate clockwise by β_left and counterclockwise by β_right from this angle, the vertical projection of the robot arm on the XOY plane of the base coordinate system is not included in the vertical projection of the space occupied by any stack type and pallet stack to be used on the XOY plane of the base coordinate system. Therefore, the range of values of the safety angle is obtained [α_init-β_right, α_init+β_left]. This interval is the safety angle range of the first joint.
下面说明另一种根据机械参数计算第一关节的安全角度范围的方式。Another method of calculating the safe angle range of the first joint based on the mechanical parameters is described below.
在本发明的另一个示例中,在初始位姿的基础上,控制机械臂运动并基于运动状态确定机械臂第一关节的安全角度范围,可包括:在初始位姿下控制机械臂旋转至基准位姿,其中,基准位姿下机械臂第一连杆与基坐标系Y轴垂直,并确定基准位姿下第一关节的基准角度、预设连杆最外沿在基坐标系XOY平面的投影所形成的第一直线,预设连杆为第二连杆或者第三连杆;确定垛型在基坐标系XOY平面所对应的最小包围矩形;在基准位姿下控制机械臂旋转至相切位姿,其中,相切位姿下预设连杆最外沿在基坐标系XOY平面的投影所形成的第二直线与最小包围矩形的一个角点相切,并确定相切位姿下相切角点在基坐标系XOY平面的坐标;基于相切角点在基坐标系XOY平面的坐标计算第一直线与第二直线之间的夹角;根据基准角度和第一直线与第二直线之间的夹角计算得到机械臂第一关节的安全角度范围。In another example of the present invention, based on the initial posture, controlling the movement of the robotic arm and determining the safe angle range of the first joint of the robotic arm based on the movement state may include: controlling the robotic arm to rotate to a reference posture in the initial posture, wherein the first link of the robotic arm is perpendicular to the Y axis of the base coordinate system in the reference posture, and determining the reference angle of the first joint in the reference posture, and the first straight line formed by the projection of the outermost edge of the preset link on the XOY plane of the base coordinate system, the preset link is the second link or the third link; determining the minimum enclosing rectangle corresponding to the stack type in the XOY plane of the base coordinate system; controlling the robotic arm to rotate to a tangent posture in the reference posture, wherein the second straight line formed by the projection of the outermost edge of the preset link on the XOY plane of the base coordinate system in the tangent posture is tangent to a corner point of the minimum enclosing rectangle, and determining the coordinates of the tangent corner point in the XOY plane of the base coordinate system in the tangent posture; calculating the angle between the first straight line and the second straight line based on the coordinates of the tangent corner point in the XOY plane of the base coordinate system; and calculating the safe angle range of the first joint of the robotic arm according to the reference angle and the angle between the first straight line and the second straight line.
其中,基坐标系以机械臂基座中心为原点,基坐标系的X轴正方向朝向机械臂正左侧,基坐标系的Y轴正方向朝向机械臂正后方,基坐标系的Z轴正方向正方向朝向机械臂正上方。Among them, the base coordinate system takes the center of the robot arm base as the origin, the positive direction of the X axis of the base coordinate system is toward the left side of the robot arm, the positive direction of the Y axis of the base coordinate system is toward the back of the robot arm, and the positive direction of the Z axis of the base coordinate system is toward the top of the robot arm.
进一步地,确定垛型在基坐标系XOY平面所对应的最小包围矩形,可包括:确定垛型任一层箱子在基坐标系XOY平面投影下各个角点的坐标;对所有角点的坐标进行遍历排序,并筛选出最小横坐标、最大横坐标、最小纵坐标和最大纵坐标;根据最小横坐标、最大横坐标、最小纵坐标和最大纵坐标,得到垛型在基坐标系XOY平面所对应的最小包围矩形。Furthermore, determining the minimum enclosing rectangle corresponding to the stack in the XOY plane of the base coordinate system may include: determining the coordinates of each corner point of any layer of boxes in the stack under the projection of the XOY plane of the base coordinate system; traversing and sorting the coordinates of all corner points, and screening out the minimum horizontal coordinate, maximum horizontal coordinate, minimum vertical coordinate and maximum vertical coordinate; and obtaining the minimum enclosing rectangle corresponding to the stack in the XOY plane of the base coordinate system based on the minimum horizontal coordinate, maximum horizontal coordinate, minimum vertical coordinate and maximum vertical coordinate.
又进一步地,基于相切角点在基坐标系XOY平面的坐标计算第一直线与第二直线之间的夹角,可包括:在基准位姿下确定过第一关节中心点且与基坐标系Y轴贴合的第三直线;在基准位姿下确定第三直线与第一直线之间的距离;根据第三直线与第一直线之间的距离、相切角点在基坐标系XOY平面的坐标计算第一直线与第二直线之间的夹角。Furthermore, calculating the angle between the first straight line and the second straight line based on the coordinates of the tangent corner point in the XOY plane of the base coordinate system may include: determining a third straight line passing through the center point of the first joint and conforming to the Y axis of the base coordinate system in a reference posture; determining the distance between the third straight line and the first straight line in the reference posture; and calculating the angle between the first straight line and the second straight line based on the distance between the third straight line and the first straight line and the coordinates of the tangent corner point in the XOY plane of the base coordinate system.
其中,当垛型位于机械臂左侧,即计算机械臂从左侧运动到初始位姿时相应的第一关节的角度安全范围时,预设连杆为第二连杆(大臂管);当垛型位于机械臂右侧,即计算机械臂从右侧运动到初始位姿时相应的第一关节的角度安全范围时,预设连杆为第三连杆(小臂管)。以下以第二连杆为例进行说明。Among them, when the stack type is located on the left side of the robot arm, that is, when calculating the angle safety range of the first joint corresponding to the movement of the robot arm from the left side to the initial posture, the preset connecting rod is the second connecting rod (big arm tube); when the stack type is located on the right side of the robot arm, that is, when calculating the angle safety range of the first joint corresponding to the movement of the robot arm from the right side to the initial posture, the preset connecting rod is the third connecting rod (small arm tube). The following is an example of the second connecting rod.
其中,第一连杆是指机械臂第一关节中心点与第二关节中心点的连线。The first connecting rod refers to the line connecting the center point of the first joint and the center point of the second joint of the robotic arm.
具体而言,首先,在初始位姿下控制机械臂旋转直至第一连杆与基坐标系Y轴垂直时停止,此时机械臂处于基准位姿,并确定该位姿下第一关节的基准角度αbase(比如90.19度)。Specifically, first, the robot arm is controlled to rotate in the initial position until the first link is perpendicular to the Y axis of the base coordinate system and stops. At this time, the robot arm is in the reference position, and the reference angle α base (for example, 90.19 degrees) of the first joint in this position is determined.
紧接着计算垛型在基坐标系XOY平面所对应的最小包围矩形的表示。如图4所示,根据垛型某一层中各个物料箱子的中心点,以及物料箱子的长和宽,可以计算出每个箱子在基坐标系XOY平面投影下的4个角点的坐标,再对所有角点坐标合集进行遍历排序,筛选出最小、最大横纵坐标:xmin、xmax、ymin和ymax,其中x、y值两两组合就得到最小包围矩形各个角点的坐标表示,例如A点就是(xmin,ymin),B点就是(xmax,ymin),C点就是(xmax,ymax),D点就是(xmin,ymax)。Next, the representation of the minimum enclosing rectangle corresponding to the stack in the base coordinate system XOY plane is calculated. As shown in Figure 4, based on the center point of each material box in a certain layer of the stack, as well as the length and width of the material box, the coordinates of the four corner points of each box in the projection of the base coordinate system XOY plane can be calculated, and then the collection of all corner point coordinates is traversed and sorted to select the minimum and maximum horizontal and vertical coordinates: x min , x max , y min and y max , where the x and y values are combined in pairs to obtain the coordinate representation of each corner point of the minimum enclosing rectangle, for example, point A is (x min , y min ), point B is (x max , y min ), point C is (x max , y max ), and point D is (x min , y max ).
之后需要结合机械臂的结构参数,确定当机械臂处于基准位姿即第一关节角为αbase时刻,第二连杆(大臂管)最外沿在基坐标系XOY平面的投影所形成的第一直线Llink2,同时存在过第一关节中心点的第三直线Ljoint1Center与基坐标系Y轴贴合,即第三直线Ljoint1Center与Y轴的距离为Xjoint1Center=0,如图5所示,Llink2与Ljoint1Center平行,对于机械臂而言,两者之间的距离是恒定的,比如可以计算出Llink2的数学表示为Xlink2=334(Llink2离Y轴的距离)。那么无论机械臂如何转动,不同位姿下,两直线之间距离distance的数值始终为为334。Then, it is necessary to combine the structural parameters of the robot arm to determine that when the robot arm is in the base posture, that is, when the first joint angle is α base , the first straight line L link2 formed by the projection of the outermost edge of the second link (large arm tube) on the XOY plane of the base coordinate system, and at the same time, there is a third straight line L joint1Center passing through the center point of the first joint that fits the Y axis of the base coordinate system, that is, the distance between the third straight line L joint1Center and the Y axis is X joint1Center = 0. As shown in Figure 5, L link2 is parallel to L joint1Center . For the robot arm, the distance between the two is constant. For example, the mathematical expression of L link2 can be calculated as X link2 = 334 (the distance of L link2 from the Y axis). Then no matter how the robot arm rotates, the value of the distance between the two straight lines is always 334 under different postures.
计算出上述参数后,在基准位姿下控制机械臂旋转,并实时监测第二连杆最外沿在XOY平面的投影所形成的直线,直至该直线与最小包围矩形的一个角点相切时停止,并将该直线称为第二直线L′link2,相切的角称为相切角点,并确定此时相切角点在基坐标系XOY平面的坐标。After calculating the above parameters, the robot arm is controlled to rotate in the reference posture, and the straight line formed by the projection of the outermost edge of the second link on the XOY plane is monitored in real time until the straight line is tangent to a corner point of the minimum enclosing rectangle. The straight line is called the second straight line L′ link2 , the tangent angle is called the tangent corner point, and the coordinates of the tangent corner point in the XOY plane of the base coordinate system are determined.
需说明的是,为了保证第二直线与相切角点相切时,达到第二直线与最小包围矩形不干涉的目的,相切角点在基坐标系XOY平面的坐标为:It should be noted that in order to ensure that when the second straight line is tangent to the tangent corner point, the second straight line and the minimum enclosing rectangle do not interfere with each other, the coordinates of the tangent corner point in the XOY plane of the base coordinate system are:
其中,xmin表示最小横坐标、ymin表示最小纵坐标,xmax表示最大横坐标。也即:当ymin≤0时,选择相切的点是A点(xmin,ymin),当ymin>0时,选择相切的点为B点(xmax,ymin)。Among them, x min represents the minimum horizontal coordinate, y min represents the minimum vertical coordinate, and x max represents the maximum horizontal coordinate. That is, when y min ≤ 0, the tangent point is point A (x min , y min ), and when y min > 0, the tangent point is point B (x max , y min ).
需要说明的是,以上相切角点的坐标是基于基坐标系X、Y方向而言的(基坐标系以机械臂基座中心为原点,基坐标系的X轴正方向朝向机械臂正左侧,基坐标系的Y轴正方向朝向机械臂正后方)。本发明实施例中基坐标方向还可以是其他方向,不同的基坐标系下相切角点的坐标的计算方式相同,但是最终的表达方式可能会适应性变化。比如,当基坐标系以机械臂基座中心为原点,基坐标系的X轴正方向朝向机械臂正前方,基坐标系的Y轴正方向朝向机械臂正左侧时,相切角点在基坐标系下的坐标为:It should be noted that the coordinates of the above tangent corner points are based on the X and Y directions of the base coordinate system (the base coordinate system takes the center of the robot base as the origin, the positive direction of the X axis of the base coordinate system is toward the left side of the robot, and the positive direction of the Y axis of the base coordinate system is toward the rear of the robot). In the embodiment of the present invention, the base coordinate direction can also be other directions. The calculation method of the coordinates of the tangent corner points in different base coordinate systems is the same, but the final expression method may change adaptively. For example, when the base coordinate system takes the center of the robot base as the origin, the positive direction of the X axis of the base coordinate system is toward the front of the robot, and the positive direction of the Y axis of the base coordinate system is toward the left side of the robot, the coordinates of the tangent corner point in the base coordinate system are:
在计算出第三直线Ljoint1Center与第一直线Llink2之间的距离distance与相切角点的坐标后,根据距离distance和坐标计算第一直线Llink2与第二直线Llink2之间的夹角αleft。After calculating the distance distance between the third straight line L joint1Center and the first straight line L link2 and the coordinates of the tangent corner point, the angle α left between the first straight line L link2 and the second straight line L link2 is calculated according to the distance distance and the coordinates.
如图6所示,在基坐标系X、Y方向下,图6中从左到右第一条黑色虚线为相切位姿下第二连杆(大臂管)最外沿在基坐标系XOY平面中投影表示即第二直线L′link2,第二条黑色虚线代表此时过第一关节中心点且与第二直线平行的直线L′joint1Center,第一条黑色实线为第一关节角为αbase时的投影表示即第一直线Llink2,第二条黑色实线即为第三直线Ljoint1Center。当第二直线L′link2与最小包围矩形角点A相切时,由两直线平行的性质可以获得,L′link与Llink2的夹角数值和L′joint1Center与Ljoint1Center的夹角数值相等,都为αleft,αleft的具体数值可以通过反正切计算获得,以L′link2与L′link2为例,从图6可以看出,已知相切角点A在基坐标系XOY平面下的表示为(xmin,ymin),那么通过以下公式计算L′link2与Llink2之间的夹角(基坐标系以机械臂基座中心为原点,基坐标系的X轴正方向朝向机械臂正左侧,基坐标系的Y轴正方向朝向机械臂正后方时):As shown in FIG6 , in the X and Y directions of the base coordinate system, the first black dotted line from left to right in FIG6 is the projection representation of the outermost edge of the second link (big arm tube) in the tangent posture in the XOY plane of the base coordinate system, that is, the second straight line L′ link2 , the second black dotted line represents the straight line L′ joint1Center passing through the center point of the first joint and parallel to the second straight line at this time, the first black solid line is the projection representation when the first joint angle is α base , that is, the first straight line L link2 , and the second black solid line is the third straight line L joint1Center . When the second straight line L′ link2 is tangent to the corner point A of the minimum enclosing rectangle, the property of the two straight lines being parallel can be used to obtain that the angle between L′ link and L link2 is equal to the angle between L′ joint1Center and L joint1Center , both of which are α left . The specific value of α left can be obtained by inverse tangent calculation. Taking L′ link2 and L′ link2 as an example, it can be seen from Figure 6 that the expression of the tangent corner point A in the XOY plane of the base coordinate system is known to be (x min ,y min ), then the angle between L′ link2 and L link2 is calculated by the following formula (the base coordinate system takes the center of the robot base as the origin, the positive direction of the X axis of the base coordinate system is toward the left side of the robot, and the positive direction of the Y axis of the base coordinate system is toward the rear of the robot):
Δx=xmin Δx=x min
Δy=ymin Δy= ymin
其中,αleft表示垛型位于机械臂左侧时第一直线与第二直线之间的夹角,xmin表示最小横坐标、ymin表示最小纵坐标,distance表示第三直线与第一直线之间的距离,Δx、Δy分别表示相切角点与基坐标系Y轴、X轴之间的距离。Wherein, α left represents the angle between the first straight line and the second straight line when the stack is located on the left side of the robot arm, x min represents the minimum horizontal coordinate, y min represents the minimum vertical coordinate, distance represents the distance between the third straight line and the first straight line, Δx and Δy represent the distances between the tangent corner point and the Y axis and X axis of the base coordinate system, respectively.
因此若希望左侧码垛作业时升降柱移动,机械臂与垛型无干涉,那么机械臂从左侧运动到初始位姿时相应第一关节的安全角度范围为[αbase,αbase+αleft],其中一般来说αbase+αleft大于等于α_init+β_left,也即通过计算方式获取的安全角度范围,大于通过估计方式获取的安全角度范围。Therefore, if you want the lifting column to move during left-side palletizing without interference between the robot arm and the pallet shape, then the safe angle range of the corresponding first joint when the robot arm moves from the left side to the initial position is [α base ,α base +α left ], where generally speaking, α base +α left is greater than or equal to α_init+β_left, that is, the safe angle range obtained by calculation is greater than the safe angle range obtained by estimation.
对于机械臂从右侧运动到初始位姿时相应第一关节的安全角度范围的计算,只需要注意将上述大臂管的外沿改成小臂管的外沿,其他的计算推导步骤同理,不再叙述。For the calculation of the safe angle range of the corresponding first joint when the robot arm moves from the right side to the initial position, you only need to pay attention to changing the outer edge of the above-mentioned large arm tube to the outer edge of the small arm tube. The other calculation derivation steps are the same and will not be described again.
最后计算出,当垛型位于机械臂左侧、即机械臂从左侧运动到初始位姿时,第一关节的安全角度范围为[αbase,αbase+αleft],其中,αbase为基准角度,αleft为垛型位于机械臂左侧时,第一直线与第二直线之间的夹角;当垛型位于机械臂右侧,即机械臂从右侧运动到初始位姿时,第一关节的安全角度范围为[-αright+αbase,αbase],其中,αbase为基准角度,αright为垛型位于机械臂右侧时,第一直线与第二直线之间的夹角。Finally, it is calculated that when the stack is located on the left side of the robotic arm, that is, when the robotic arm moves from the left side to the initial position, the safe angle range of the first joint is [α base , α base +α left ], where α base is the reference angle, and α left is the angle between the first straight line and the second straight line when the stack is located on the left side of the robotic arm; when the stack is located on the right side of the robotic arm, that is, when the robotic arm moves from the right side to the initial position, the safe angle range of the first joint is [-α right +α base , α base ], where α base is the reference angle, and α right is the angle between the first straight line and the second straight line when the stack is located on the right side of the robotic arm.
也就是说,通过计算的方式最终得到的图3中的两条射线之间的劣弧夹角α_def的范围为[-αright+αbase,αbase+αleft],αbase、αleft和αright均大于0度。That is to say, the range of the minor arc angle α_def between the two rays in FIG. 3 finally obtained by calculation is [-α right +α base , α base +α left ], and α base , α left and α right are all greater than 0 degree.
总结,通过估计的方式获取第一关节角的安全角度范围具有简单高效的优点,且能够适应垛型未超出托盘栈板的一般情形。但是,如果垛型对托盘栈板的填充利用率低,则估计的第一关节的安全角度范围限制就显得有些浪费性能;如果垛型超过托盘栈板边沿,则估计的第一关节的安全角度范围,仍可能存在碰撞的风险,为了规避,只能把第一关节的安全角度范围限制的更紧,性能浪费的问题就更明显。经对比,计算方式获得第一关节角的安全角度范围,是根据箱子尺寸和垛型自动计算,动态变换,在保证不碰撞的前提下,获得更多的运动时间,提高节拍和柔顺性,更加具有优越性。In summary, obtaining the safe angle range of the first joint angle by estimation has the advantages of being simple and efficient, and can adapt to the general situation where the stack type does not exceed the pallet pallet. However, if the filling utilization rate of the pallet pallet is low, the estimated safe angle range limit of the first joint will appear to be a waste of performance; if the pallet type exceeds the edge of the pallet pallet, the estimated safe angle range of the first joint may still have the risk of collision. In order to avoid it, the safe angle range of the first joint can only be restricted more tightly, and the problem of performance waste is more obvious. By comparison, the calculation method to obtain the safe angle range of the first joint angle is automatically calculated according to the box size and the stack type, and dynamically transformed. On the premise of ensuring no collision, it obtains more movement time, improves rhythm and flexibility, and is more superior.
在本发明的一个实施例中,步骤S2中的基于安全范围判断是否开启对升降柱的控制,可包括:获取机械臂第一关节的角度;如果机械臂第一关节的角度处于安全角度范围之内,则确定开启对升降柱的控制;如果机械臂第一关节的角度不处于安全角度范围之内,则确定不开启对升降柱的控制。具体而言,在完成机器人任一侧垛型最后一个物料的码垛时,控制机械臂运动,并实时监测第一关节角度,在该角度达到安全角度范围时,开始控制升降柱下降,同时保持机械臂运动,直至升降柱下降至零位,机械臂运动至初始位姿。在该角度未达到安全角度范围时,只控制机械臂运动,不控制升降柱移动,直至该角度达到安全角度范围时,才开启控制升降柱下降。In one embodiment of the present invention, judging whether to start the control of the lifting column based on the safety range in step S2 may include: obtaining the angle of the first joint of the robot arm; if the angle of the first joint of the robot arm is within the safety angle range, determining to start the control of the lifting column; if the angle of the first joint of the robot arm is not within the safety angle range, determining not to start the control of the lifting column. Specifically, when the stacking of the last material of the stack type on either side of the robot is completed, the robot arm is controlled to move, and the first joint angle is monitored in real time. When the angle reaches the safety angle range, the lifting column is controlled to descend, while the robot arm is kept moving until the lifting column descends to zero position and the robot arm moves to the initial position. When the angle does not reach the safety angle range, only the robot arm is controlled to move, and the lifting column is not controlled to move. The lifting column is controlled to descend only when the angle reaches the safety angle range.
如图7所示,假设机械臂码放完左侧的垛型的最后一个物料,其末端位于放料点W,准备从放料点W(垛型上方)回到传送带上方取料点U,进行右侧新一轮的码垛作业。这段路径中按照本发明实施例上述策略,将使用非阻塞轴动运动,从点W运动到点U。期间可实时获取机械臂第一关节的角度,进行对第一关节角度的数值是否处于安全角度范围内的判断。对于第一关节而言,当第一关节顺时针转动β角度(小于等于α_init+β_left,等于αbase+αleft),将位于点W1处,正好处于安全角度范围内或者安全角度范围的极值点位上,此时满足第一关节角度的数值在安全角度范围内的条件。对于升降柱来说,在机械臂末端从点W1移动到点U的过程中,就可以开始下降至零位。对于机械臂来说,机械臂从点W持续运动到点U。As shown in FIG7 , it is assumed that the robot arm has finished stacking the last material of the stack on the left, and its end is located at the discharge point W, and is ready to return from the discharge point W (above the stack) to the material collection point U above the conveyor belt to perform a new round of stacking operations on the right. In this path, according to the above-mentioned strategy of the embodiment of the present invention, non-blocking axial motion will be used to move from point W to point U. During this period, the angle of the first joint of the robot arm can be obtained in real time to determine whether the value of the first joint angle is within the safe angle range. For the first joint, when the first joint rotates clockwise by an angle of β (less than or equal to α_init+β_left, equal to α base +α left ), it will be located at point W1, which is exactly within the safe angle range or at the extreme point of the safe angle range. At this time, the condition that the value of the first joint angle is within the safe angle range is met. For the lifting column, when the end of the robot arm moves from point W1 to point U, it can start to descend to zero. For the robot arm, the robot arm moves continuously from point W to point U.
由此,在确保安全的第一关节角范围内,机械臂可进行安全非阻塞运动与升降柱达成动作顺滑连贯的效果,既保证了安全协同运动,又提高了产线的整体节拍。Therefore, within the first joint angle range that ensures safety, the robot arm can perform safe non-blocking movements and achieve smooth and continuous movements with the lifting column, which not only ensures safe coordinated movement but also improves the overall rhythm of the production line.
综上所述,本发明实施例针对协作机器人的码垛工艺相关难点,提出一个具有普适性、可行性高的解决方案,对机械臂和升降柱的协同运动进行优化,最大化利用好、发挥出加装升降柱后对协作机器人整体性能的提升,增加动作连贯性,大大提高了整体码垛效率。To summarize, the embodiments of the present invention address the difficulties associated with the palletizing process of the collaborative robot and propose a universal and highly feasible solution, which optimizes the coordinated movement of the robot arm and the lifting column, maximizes the use of and gives full play to the improvement in the overall performance of the collaborative robot after the installation of the lifting column, increases the continuity of movement, and greatly improves the overall palletizing efficiency.
在本发明的描述中,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。“多个”的含义是两个或两个以上,除非另有明确具体的限定。In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. "Multiple" means two or more, unless otherwise clearly and specifically defined.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必针对相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。此外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。A person of ordinary skill in the art can understand that all or part of the steps carried by the method of the above-mentioned embodiment can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the program, when executed, includes one or a combination of the steps of the method embodiment. In addition, each functional unit in each embodiment of the present invention can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311851496.9A CN117842713B (en) | 2023-12-28 | 2023-12-28 | Control method for cooperative robot in stacking process |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311851496.9A CN117842713B (en) | 2023-12-28 | 2023-12-28 | Control method for cooperative robot in stacking process |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117842713A true CN117842713A (en) | 2024-04-09 |
CN117842713B CN117842713B (en) | 2024-12-17 |
Family
ID=90539541
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311851496.9A Active CN117842713B (en) | 2023-12-28 | 2023-12-28 | Control method for cooperative robot in stacking process |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117842713B (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201856908U (en) * | 2010-09-25 | 2011-06-08 | 淄博瑞邦自动化设备有限公司 | Fishing and transferring device for plastic gloves |
JP2012081577A (en) * | 2010-09-17 | 2012-04-26 | Denso Wave Inc | Method of determining moving direction of robot, and controller for robot |
CN102774661A (en) * | 2012-07-10 | 2012-11-14 | 北京航空航天大学 | Stack generating method for transfer robot |
US20180370049A1 (en) * | 2016-01-30 | 2018-12-27 | Life Robotics Inc. | Robot arm mechanism |
CN109160292A (en) * | 2018-10-29 | 2019-01-08 | 盐城骏拔汽车零部件有限公司 | A kind of intelligent stacking equipment that can be warned |
CN109176606A (en) * | 2018-09-30 | 2019-01-11 | 上海丹景智能装备有限公司 | A kind of secondary protector of one axis of six-joint robot |
CN114474062A (en) * | 2022-02-21 | 2022-05-13 | 乐聚(深圳)机器人技术有限公司 | Robot control method, robot control device, robot, and storage medium |
CN114571469A (en) * | 2022-05-05 | 2022-06-03 | 北京科技大学 | Zero-space real-time obstacle avoidance control method and system for mechanical arm |
CN116620758A (en) * | 2023-05-25 | 2023-08-22 | 北京极智嘉科技股份有限公司 | Transfer robot and warehouse system |
KR102610131B1 (en) * | 2023-09-05 | 2023-12-05 | 주식회사 유일로보틱스 | Multi-joint robot with the function of automatically detecting danger within variable safety area |
CN117207197A (en) * | 2023-10-26 | 2023-12-12 | 苏州微创畅行机器人有限公司 | Mechanical arm safety boundary control method and system |
-
2023
- 2023-12-28 CN CN202311851496.9A patent/CN117842713B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012081577A (en) * | 2010-09-17 | 2012-04-26 | Denso Wave Inc | Method of determining moving direction of robot, and controller for robot |
CN201856908U (en) * | 2010-09-25 | 2011-06-08 | 淄博瑞邦自动化设备有限公司 | Fishing and transferring device for plastic gloves |
CN102774661A (en) * | 2012-07-10 | 2012-11-14 | 北京航空航天大学 | Stack generating method for transfer robot |
US20180370049A1 (en) * | 2016-01-30 | 2018-12-27 | Life Robotics Inc. | Robot arm mechanism |
CN109176606A (en) * | 2018-09-30 | 2019-01-11 | 上海丹景智能装备有限公司 | A kind of secondary protector of one axis of six-joint robot |
CN109160292A (en) * | 2018-10-29 | 2019-01-08 | 盐城骏拔汽车零部件有限公司 | A kind of intelligent stacking equipment that can be warned |
CN114474062A (en) * | 2022-02-21 | 2022-05-13 | 乐聚(深圳)机器人技术有限公司 | Robot control method, robot control device, robot, and storage medium |
CN114571469A (en) * | 2022-05-05 | 2022-06-03 | 北京科技大学 | Zero-space real-time obstacle avoidance control method and system for mechanical arm |
CN116620758A (en) * | 2023-05-25 | 2023-08-22 | 北京极智嘉科技股份有限公司 | Transfer robot and warehouse system |
KR102610131B1 (en) * | 2023-09-05 | 2023-12-05 | 주식회사 유일로보틱스 | Multi-joint robot with the function of automatically detecting danger within variable safety area |
CN117207197A (en) * | 2023-10-26 | 2023-12-12 | 苏州微创畅行机器人有限公司 | Mechanical arm safety boundary control method and system |
Also Published As
Publication number | Publication date |
---|---|
CN117842713B (en) | 2024-12-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7332199B2 (en) | Motion planning for multiple robots in a shared workspace | |
CN109760028B (en) | Horizontal articulated robot and origin recovery method thereof | |
JP5025598B2 (en) | Interference check control apparatus and interference check control method | |
CN108908331B (en) | Obstacle avoidance method and system for hyper-redundant flexible robot, and computer storage medium | |
CN101432103B (en) | Apparatus for controlling robot arm | |
KR101012742B1 (en) | Collision Control Method for Two-arm Robot System | |
US5835684A (en) | Method for planning/controlling robot motion | |
US20180065254A1 (en) | Robot system | |
CN107030697A (en) | A kind of planing method of robot cartesian space smooth track | |
KR20190121711A (en) | Brake path monitoring of a kinematic | |
CN111553239A (en) | Robot joint visual servo control method, terminal device and storage medium | |
CN113276121A (en) | Redundant manipulator moving obstacle avoidance method based on quadratic programming | |
CN111496798B (en) | Robot conveyor belt tracking method, equipment and storage device | |
Yang et al. | Collision avoidance trajectory planning for a dual-robot system: Using a modified APF method | |
Ogren et al. | Reactive mobile manipulation using dynamic trajectory tracking | |
US11279034B2 (en) | Position monitoring of a kinematic linkage | |
CN117842713A (en) | Control method of collaborative robot in palletizing process | |
US20210260761A1 (en) | Method And Control System For Controlling An Industrial Actuator | |
CN107520838B (en) | Mechanical arm and control method and device thereof | |
JPH09212229A (en) | Teaching device for robot | |
CN117415806A (en) | Obstacle avoidance track planning method for mechanical arm for loading and unloading drill rod under variable target condition | |
CN113146637B (en) | Robot Cartesian space motion planning method | |
CN116442222A (en) | Mechanical arm rotating shaft speed control method for realizing homomorphic teleoperation | |
US20230256598A1 (en) | Robot controller | |
CN115488898A (en) | Trajectory planning method and device, robot and computer readable storage medium |
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 |