WO2021042389A1 - Trajectory simplification method and device for industrial robot, and computer storage medium and industrial robot operating platform - Google Patents

Trajectory simplification method and device for industrial robot, and computer storage medium and industrial robot operating platform Download PDF

Info

Publication number
WO2021042389A1
WO2021042389A1 PCT/CN2019/104778 CN2019104778W WO2021042389A1 WO 2021042389 A1 WO2021042389 A1 WO 2021042389A1 CN 2019104778 W CN2019104778 W CN 2019104778W WO 2021042389 A1 WO2021042389 A1 WO 2021042389A1
Authority
WO
WIPO (PCT)
Prior art keywords
trajectory
point set
industrial robot
simplification
original
Prior art date
Application number
PCT/CN2019/104778
Other languages
French (fr)
Chinese (zh)
Inventor
丁万
张泽昭
Original Assignee
罗伯特·博世有限公司
丁万
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 罗伯特·博世有限公司, 丁万 filed Critical 罗伯特·博世有限公司
Priority to PCT/CN2019/104778 priority Critical patent/WO2021042389A1/en
Priority to DE112019007488.1T priority patent/DE112019007488T5/en
Priority to CN201980100063.5A priority patent/CN114375431A/en
Publication of WO2021042389A1 publication Critical patent/WO2021042389A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/42Recording and playback systems, i.e. in which the programme is recorded from a cycle of operations, e.g. the cycle of operations being manually controlled, after which this record is played back on the same machine
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1656Programme controls characterised by programming, planning systems for manipulators
    • B25J9/1664Programme controls characterised by programming, planning systems for manipulators characterised by motion, path, trajectory planning
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1628Programme controls characterised by the control loop
    • B25J9/163Programme controls characterised by the control loop learning, adaptive, model based, rule based expert control
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/39Robotics, robotics to robotics hand
    • G05B2219/39298Trajectory learning
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/40Robotics, robotics mapping to robotics vision
    • G05B2219/40476Collision, planning for collision free path
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/40Robotics, robotics mapping to robotics vision
    • G05B2219/40519Motion, trajectory planning

Definitions

  • the invention relates to a trajectory simplification method and equipment for an industrial robot, a computer storage medium and an industrial robot operating platform.
  • the teaching and operation of the robot is the integration point of the robot's motion and control. It is the main method to realize the communication between humans and robots. It is also one of the most difficult and key problems in the research and use of robot systems.
  • the robot's working ability is basically determined by its software system. What kind of teaching and operation the robot's software system can achieve determines the flexibility and intelligence of the robot's practical functions. For example, during the teaching process of an industrial robot for pick-and-place tasks, a complete collision-free trajectory is usually generated. The generated complete trajectory is manually taught by the operator by selecting the required key points on the path on the teach pendant. This operation method depends on the brand of the industrial robot and the programming experience of the operator. In order to study path and trajectory planning, the generated smooth collision-free trajectory (represented by points that have information such as position, velocity, and acceleration) needs to be transmitted to an industrial robot controller that is open and provides low-level control.
  • a trajectory simplification method for an industrial robot includes: during a teaching process of the industrial robot, generating a complete trajectory for the industrial robot, the complete trajectory
  • the feature point set is obtained by simplifying the original point set, and the simplification method uses whether the approximate error determined according to both the chord length and the arc length exceeds the error tolerance limit.
  • This trajectory simplification method has a small amount of calculation and high accuracy.
  • the above-mentioned trajectory simplification method may further include: sending a simplified trajectory including the feature point set ⁇ (j) to the controller of the industrial robot.
  • the complete trajectory is simplified and a feature point set is obtained.
  • too many points are sent to the industrial robot controller, so that the speed and stability of the final trajectory path (such as a curved path) are significantly improved, and there is no need to open the underlying control of the industrial robot controller.
  • the simplified path represented by the feature point set can be directly analyzed and executed by the robot controller, avoiding opening the underlying control.
  • the complete trajectory includes a stopping point for performing a task and an intermediate point with the assigned movement type or command.
  • both the complete trajectory and the simplified trajectory are obstacle avoidance path trajectories.
  • the arc length s(i j-1 , p) between ⁇ (i j-1 ) and ⁇ (p) is determined according to the following formula:
  • the approximate error d(i j-1 , p) is determined according to the following formula:
  • the error tolerance value d is a predetermined value, which represents the maximum allowable deviation of the simplified path.
  • a trajectory simplification device for an industrial robot, the device comprising: a generating device configured to generate a trajectory for the industrial robot during a teaching process of the industrial robot
  • the simplification device in this trajectory simplification equipment obtains the feature point set by simplifying the original point set, and the simplification device uses the original point ⁇ corresponding to the determined feature point ⁇ (j-1) according to the interest point ⁇ (p) Whether the approximate error determined by the chord length and the arc length between (i j-1 ) exceeds the error tolerance limit d is used to determine whether the interest point is necessary, and if necessary, the interest point is included in the feature point set.
  • the trajectory simplified device has a small amount of calculation and high accuracy.
  • the above-mentioned trajectory simplification device may further include: a sending device configured to send the simplified trajectory including the feature point set ⁇ (j) to the controller of the industrial robot.
  • the complete trajectory is simplified and a feature point set is obtained.
  • the simplified path represented by the feature point set can be directly analyzed and executed by the robot controller, avoiding opening the underlying control.
  • the complete trajectory includes a stopping point for performing a task and an intermediate point having the assigned movement type or command.
  • both the complete trajectory and the simplified trajectory are obstacle avoidance path trajectories.
  • the arc length s(i j-1 , p) between ⁇ (i j-1 ) and ⁇ (p) is determined according to the following formula:
  • the approximate error d(i j-1 , p) is determined according to the following formula:
  • the error tolerance value d is a predetermined value, which represents the maximum allowable deviation of the simplified path.
  • Yet another aspect of the present invention provides a computer storage medium, which includes instructions that execute the aforementioned trajectory simplification method during runtime.
  • Another aspect of the present invention provides an industrial robot operating platform, which includes the trajectory simplifying device as described above.
  • Fig. 1 shows a trajectory simplification method for industrial robots according to an embodiment of the present invention
  • Figure 2 shows a trajectory simplification method for an industrial robot according to another embodiment of the present invention.
  • Fig. 3 shows a trajectory simplification device for an industrial robot according to an embodiment of the present invention.
  • One or more embodiments of the present invention solve one or more of the above-mentioned problems.
  • FIG. 1 shows a trajectory simplification method 1000 for an industrial robot according to an embodiment of the present invention.
  • the feature point set ⁇ (j) is included in the original point set ⁇ (i), that is, m is less than or equal to n.
  • ⁇ (j) ⁇ (i j ), 1 ⁇ j ⁇ m. That is, ⁇ (j) corresponds to ⁇ (i j ).
  • ⁇ (j-1) corresponds to ⁇ (i j-1 ).
  • the approximate error between any point ⁇ (p) between ⁇ (i j-1 ) and ⁇ (i j ) and the straight line segment with ⁇ (j-1) and ⁇ (j) as the endpoints is not greater than the error tolerance limit d, i j-1 ⁇ p ⁇ i j, wherein according to said error between ⁇ (i j-1) between the ⁇ (p) and a chord length ⁇ (i j-1) and ⁇ (p) is approximately
  • the arc length is determined by both.
  • the starting point in the feature point set is set to be the same as the starting point in the original point.
  • ⁇ (i j-1 ) can represent the original point corresponding to the determined feature point ⁇ (j-1), by taking the points in the original point set after ⁇ (i j-1 ) as the points of interest and determining Whether the approximate error exceeds the error tolerance limit. If the error tolerance is exceeded, the point of interest is deemed necessary and will be included in the feature point set. If the approximate error of the interest point is less than or equal to the error tolerance limit, the interest point is considered redundant and not included in the feature point set. And repeat the above process until all points except the starting point and the final point have calculated the approximate error.
  • the approximate error is based on the chord length between the previously determined feature point ⁇ (i j-1 ) and the current point of interest ⁇ (p) and the difference between ⁇ (i j-1 ) and ⁇ (p).
  • the arc length between the two is determined.
  • FIG. 2 shows a trajectory simplification method 2000 for an industrial robot according to an embodiment of the present invention.
  • the trajectory simplification method 2000 of FIG. 2 also includes: step S210, sending a simplified trajectory including the set of feature points ⁇ (j) to the industrial robot Controller.
  • the simplified trajectory (not the complete trajectory) is sent to the robot controller.
  • too many points are sent to the industrial robot controller, so that the speed and stability of the final trajectory path (such as a curved path) are significantly improved, and there is no need to open the underlying control of the industrial robot controller.
  • the industrial robot supports the TCP/IP communication function, so the simplified trajectory including the set of feature points can be sent to the controller of the industrial robot via TCP/IP communication.
  • the external hardware can be removed after the controller stores the data.
  • the simplified path represented by the feature point set can be directly analyzed and executed by the robot controller, avoiding opening the underlying control.
  • the complete trajectory includes stopping points for executing tasks and intermediate points with assigned motion types or commands (such as SLIN/MoveL, etc.).
  • both the complete trajectory and the simplified trajectory are obstacle avoidance path trajectories.
  • chord length c(i j-1 , p) represents the distance value between the original point ⁇ (i j-1 ) corresponding to the determined feature point ⁇ (j-1) and the interest point ⁇ (p).
  • the arc length s(i j-1 , p) between ⁇ (i j-1 ) and ⁇ (p) is determined according to the following formula:
  • the arc length s(i j-1 , p) means that from the original point ⁇ (i j-1 ) corresponding to the determined feature point ⁇ (j-1) to the interest point ⁇ (p), the original point set The sum of the distances between two adjacent points.
  • the approximate error d(i j-1 , p) is determined according to the following formula:
  • the approximation error is calculated sequentially at the corresponding point of the original ⁇ (i j-1), the following points may be (i j-1) (j -1) [alpha] is known for determining the origin point of the feature point beta], until The approximate error exceeds the predetermined error tolerance limit d.
  • the error tolerance value d represents the maximum allowable offset value of the simplified path.
  • Fig. 3 shows a trajectory simplification device 3000 for an industrial robot according to an embodiment of the present invention.
  • the trajectory simplifying device 3000 includes a generating device 310 and a simplifying device 320.
  • the trajectory simplification device 3000 may further include a sending device 330.
  • the complete trajectory includes stopping points for performing tasks and intermediate points with assigned movement types or commands.
  • the approximate error between any point ⁇ (p) between) and the straight line segment with ⁇ (j-1) and ⁇ (j) as endpoints is less than or equal to the error tolerance d, i j-1 ⁇ p ⁇ i j and wherein the approximation error (i j-1) is determined between both the arc length ⁇
  • the simplification device 320 obtains a feature point set by simplifying the original point set. Specifically, the simplification device 320 utilizes both the chord length and the arc length between the interest point ⁇ (p) and the original point ⁇ (i j-1) corresponding to the determined feature point ⁇ (j-1). Whether the determined approximation error exceeds the error tolerance limit d is used to determine whether the interest point is necessary, and if necessary, the interest point is included in the feature point set. With this simplification device 320, the calculation amount of the trajectory simplification device 3000 is small and the accuracy is high.
  • the sending device 330 is configured to send the simplified trajectory including the feature point set ⁇ (j) to the controller of the industrial robot.
  • the simplification device 320 has simplified the original point set generated by the generating device 310 to remove redundant path points.
  • the sending device 330 sends the simplified path (characteristic point set) to the industrial robot controller, which can avoid the inconsistency of the speed and acceleration of the trajectory and the peak change caused by sending too many points.
  • the speed and stability of the simplified trajectory path (such as a curved path) are significantly improved, and there is no need to open the underlying control of the industrial robot controller.
  • the simplified path represented by the feature point set can be directly analyzed and executed by the robot controller, avoiding opening the underlying control.
  • chord length c(i j-1 , p) represents the distance value between the original point ⁇ (i j-1 ) corresponding to the determined feature point ⁇ (j-1) and the interest point ⁇ (p).
  • the simplification device 320 calculates the arc length s(i j-1 , p) between ⁇ (i j-1 ) and ⁇ (p) in the following manner:
  • the arc length s(i j-1 , p) means that from the original point ⁇ (i j-1 ) corresponding to the determined feature point ⁇ (j-1) to the interest point ⁇ (p), the original point set The sum of the distances between two adjacent points.
  • the simplification device 320 calculates the approximate error d(i j-1 , p) in the following manner:
  • the approximation error is calculated sequentially at the corresponding point of the original ⁇ (i j-1), the following points may be (i j-1) (j -1) [alpha] is known for determining the origin point of the feature point beta], until The approximate error exceeds the predetermined error tolerance limit d.
  • the error tolerance value d represents the maximum allowable offset value of the simplified path.
  • trajectory simplification method provided by one or more embodiments of the present invention can be implemented by a computer program.
  • a computer storage medium such as a USB flash drive
  • the trajectory simplification method of the embodiment of the present invention can be executed by running the computer program.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Numerical Control (AREA)
  • Manipulator (AREA)

Abstract

A trajectory simplification method and a trajectory simplification device (3000) for an industrial robot, and a computer storage medium and an industrial robot operating platform. The method comprises: generating a complete trajectory for an industrial robot according to a teaching process of the industrial robot; and simplifying the complete trajectory to obtain a feature point set, wherein the feature point set β(j) is contained in an original point set α(i), and with regard to an arbitrary point α(p), in the original point set, between α(ij-1) corresponding to β(j-1) and α(ij) corresponding to β(j), an approximate error between the arbitrary point α(p) and a straight line segment with β(j-1) and β(j) as endpoints is less than or equal to an error tolerance d, ij-1 < p < ij, and the approximate error is determined according to both a chord length between α(ij-1) and α(p) and an arc length between α(ij-1) and α(p). The computer storage medium comprises instructions, wherein the instructions execute the trajectory simplification method at runtime. The industrial robot operating platform comprises a trajectory simplification device (3000).

Description

用于工业机器人的轨迹简化方法及设备、计算机存储介质以及工业机器人操作平台Trajectory simplification method and equipment for industrial robot, computer storage medium and industrial robot operating platform 【技术领域】【Technical Field】
本发明涉及用于工业机器人的轨迹简化方法及设备、计算机存储介质以及工业机器人操作平台。The invention relates to a trajectory simplification method and equipment for an industrial robot, a computer storage medium and an industrial robot operating platform.
【背景技术】【Background technique】
机器人的示教与操作是机器人运动和控制的结合点,是实现人与机器人通信的主要方法,也是研究和使用机器人系统最困难与关键的问题之一。The teaching and operation of the robot is the integration point of the robot's motion and control. It is the main method to realize the communication between humans and robots. It is also one of the most difficult and key problems in the research and use of robot systems.
机器人的工作能力基本上由其软件系统决定。机器人的软件系统能实现什么样的示教和操作决定了机器人实用功能的灵活性和智能程度。例如,在工业机器人进行拾放任务的示教过程期间,通常会生成完整的无碰撞轨迹。该生成的完整轨迹由操作人员在示教器上选择路径上所需的关键点来手动示教。这种操作方式依赖于工业机器人的品牌以及操作人员的编程经验。为了研究路径以及轨迹规划,所生成的平滑无碰撞轨迹(通过点来表述,这些点具有位置、速度以及加速度等信息)需要被传送到开放以及提供底层控制的工业机器人控制器。The robot's working ability is basically determined by its software system. What kind of teaching and operation the robot's software system can achieve determines the flexibility and intelligence of the robot's practical functions. For example, during the teaching process of an industrial robot for pick-and-place tasks, a complete collision-free trajectory is usually generated. The generated complete trajectory is manually taught by the operator by selecting the required key points on the path on the teach pendant. This operation method depends on the brand of the industrial robot and the programming experience of the operator. In order to study path and trajectory planning, the generated smooth collision-free trajectory (represented by points that have information such as position, velocity, and acceleration) needs to be transmitted to an industrial robot controller that is open and provides low-level control.
但遗憾的是,目前主流工业机器人控制器的底层控制都是不开放的。因此,如果太多的点被发送到该机器人控制器并在该机器人控制器中进行解析,则会造成轨迹的速度和加速度的不一致以及峰值变化。Unfortunately, the underlying control of mainstream industrial robot controllers is not open at present. Therefore, if too many points are sent to the robot controller and analyzed in the robot controller, it will cause inconsistencies in the speed and acceleration of the trajectory and peak changes.
因此,期望一种改进的轨迹简化方案。Therefore, an improved trajectory simplification scheme is desired.
【发明内容】[Summary of the invention]
根据本发明的一个方面,提出了一种用于工业机器人的轨迹简化方法,所述方法包括:在所述工业机器人的示教过程期间,生成用于 所述工业机器人的完整轨迹,所述完整轨迹包括原始点集合α(i),i=1,2,...,n,其中n为所述原始点集合中原始点的数量;以及对所述完整轨迹进行简化,以便得到特征点集合β(j),j=1,2,...,m,其中m为所述特征点集合中特征点的数量,并且特征点集合β(j)包含于原始点集合α(i)中,m小于或等于n,其中α(1)=β(1),α(n)=β(m),其中,对于1<j<m,β(j)=α(i j),并且在所述原始点集合中与β(j-1)对应的α(i j-1)和与β(j)对应的α(i j)之间的任意点α(p)与以β(j-1)和β(j)为端点的直线线段间的近似误差小于或等于误差容限值d,i j-1<p<i j,以及其中所述近似误差根据α(i j-1)与α(p)之间的弦长以及α(i j-1)与α(p)之间的弧长两者所确定。 According to one aspect of the present invention, a trajectory simplification method for an industrial robot is proposed. The method includes: during a teaching process of the industrial robot, generating a complete trajectory for the industrial robot, the complete trajectory The trajectory includes an original point set α(i), i=1, 2,..., n, where n is the number of original points in the original point set; and the complete trajectory is simplified to obtain a feature point set β(j), j=1, 2,..., m, where m is the number of feature points in the feature point set, and the feature point set β(j) is included in the original point set α(i), m is less than or equal to n, where α(1)=β(1), α(n)=β(m), where, for 1<j<m, β(j)=α(i j ), and where said original point set and β (j-1) an arbitrary point α (p) between the corresponding α (i j-1) and a β (j) corresponding to α (i j) in the β (j-1 ) And β(j) are the end points of the straight line segment, the approximate error is less than or equal to the error tolerance d, i j-1 <p <i j , and wherein the approximate error is based on α(i j-1 ) and α The chord length between (p) and the arc length between α(i j-1 ) and α(p) are both determined.
特征点集合通过对原始点集合进行简化后得到,其中简化方法利用根据弦长和弧长两者所确定的近似误差是否超过误差容限值来进行。此轨迹简化方法计算量小且精确度较高。The feature point set is obtained by simplifying the original point set, and the simplification method uses whether the approximate error determined according to both the chord length and the arc length exceeds the error tolerance limit. This trajectory simplification method has a small amount of calculation and high accuracy.
优选地,上述轨迹简化方法还可包括:将包含所述特征点集合β(j)的简化后的轨迹发送给所述工业机器人的控制器。Preferably, the above-mentioned trajectory simplification method may further include: sending a simplified trajectory including the feature point set β(j) to the controller of the industrial robot.
通过从原始点集合中去除不必要(冗余)路径点,从而对完整轨迹进行简化并得到特征点集合。这样可避免过多的点被发送到工业机器人控制器,使得最终的轨迹路径(例如曲线路径)的速度和稳定性得到显著的提高,并且还不需要打开该工业机器人控制器的底层控制。由特征点集合表示的简化后的路径能够由机器人控制器直接解析和执行,避免打开底层控制。By removing unnecessary (redundant) path points from the original point set, the complete trajectory is simplified and a feature point set is obtained. In this way, too many points are sent to the industrial robot controller, so that the speed and stability of the final trajectory path (such as a curved path) are significantly improved, and there is no need to open the underlying control of the industrial robot controller. The simplified path represented by the feature point set can be directly analyzed and executed by the robot controller, avoiding opening the underlying control.
优选地,在上述轨迹简化方法中,所述完整轨迹包括用于执行任务的停止点以及具有所分配的运动类型或命令的中间点。Preferably, in the above-mentioned trajectory simplification method, the complete trajectory includes a stopping point for performing a task and an intermediate point with the assigned movement type or command.
优选地,在上述轨迹简化方法中,所述完整轨迹和简化后的轨迹均是避障路径轨迹。Preferably, in the above trajectory simplification method, both the complete trajectory and the simplified trajectory are obstacle avoidance path trajectories.
优选地,在上述轨迹简化方法中,α(i j-1)与α(p)之间的弦长c(i j-1,p)根据如下公式确定:c(i j-1,p)=||α(p)-α(i j-1)||。 Preferably, in the above-mentioned trajectory simplification method, the chord length c(i j-1 , p) between α(i j-1 ) and α(p) is determined according to the following formula: c(i j-1 , p) =||α(p)-α(i j-1 )||.
优选地,在上述轨迹简化方法中,α(i j-1)与α(p)之间的弧长s(i j-1,p)根据如下公式确定: Preferably, in the above-mentioned trajectory simplification method, the arc length s(i j-1 , p) between α(i j-1 ) and α(p) is determined according to the following formula:
Figure PCTCN2019104778-appb-000001
Figure PCTCN2019104778-appb-000001
优选地,在上述轨迹简化方法中,所述近似误差d(i j-1,p)根据如下公式确定: Preferably, in the above-mentioned trajectory simplification method, the approximate error d(i j-1 , p) is determined according to the following formula:
Figure PCTCN2019104778-appb-000002
Figure PCTCN2019104778-appb-000002
优选地,在上述轨迹简化方法中,所述误差容限值d为一预定值,表示所允许的简化后路径的最大偏移值。Preferably, in the above-mentioned trajectory simplification method, the error tolerance value d is a predetermined value, which represents the maximum allowable deviation of the simplified path.
本发明的另一个方案提供了一种用于工业机器人的轨迹简化设备,所述设备包括:生成装置,所述生成装置配置成在所述工业机器人的示教过程期间生成用于所述工业机器人的完整轨迹,所述完整轨迹包括原始点集合α(i),i=1,2,...,n,其中n为所述原始点集合中原始点的数量;以及简化装置,所述简化装置配置成对所述完整轨迹进行简化,以便得到特征点集合β(j),j=1,2,...,m,其中m为所述特征点集合中特征点的数量,并且特征点集合β(j)包含于原始点集合α(j)中,m小于或等于n,其中α(1)=β(1),α(n)=β(m),其中,对于1<j<m,β(j)=α(i j),并且在所述原始点集合中与β(j-1)对应的α(i j-1)和与β(j)对应的α(i j)之间的任意点α(p)与以β(j-1)和β(j)为端点的直线线段间的近似误差小于或等于误差容限值d,i j-1<p<i j,以及其中所述近似误差根据α(i j-1)与α(p)之间的弦长以及α(i j-1)与α(p)之间的弧长两者所确定。 Another aspect of the present invention provides a trajectory simplification device for an industrial robot, the device comprising: a generating device configured to generate a trajectory for the industrial robot during a teaching process of the industrial robot The complete trajectory of, the complete trajectory includes the original point set α(i), i=1, 2,..., n, where n is the number of original points in the original point set; and a simplified device, the simplified The device is configured to simplify the complete trajectory so as to obtain a feature point set β(j), j=1, 2, ..., m, where m is the number of feature points in the feature point set, and the feature points The set β(j) is contained in the original point set α(j), m is less than or equal to n, where α(1)=β(1), α(n)=β(m), where, for 1<j< m, β (j) = α (i j), and the (j-1) corresponding to α β (i j-1) and a β (j) [alpha] corresponding to the original set point (i j) The approximate error between the arbitrary point α(p) and the straight line segment with β(j-1) and β(j) as the endpoints is less than or equal to the error tolerance d, i j-1 <p<i j , and wherein the approximation error (i j-1) is determined between both the arc length α (p) in accordance with α (i j-1) between the α (p) and a chord length α.
此轨迹简化设备中的简化装置通过对原始点集合进行简化后得到特征点集合,该简化装置利用根据兴趣点α(p)和与已确定的特征点β(j-1)对应的原始点α(i j-1)之间的弦长和弧长两者所确定的近似误差是否超过误差容限值d来判定该兴趣点是否必要,若必要,则将该兴趣点纳入特征点集合中。这种轨迹简化设备的计算量小且精确度较高。 The simplification device in this trajectory simplification equipment obtains the feature point set by simplifying the original point set, and the simplification device uses the original point α corresponding to the determined feature point β(j-1) according to the interest point α(p) Whether the approximate error determined by the chord length and the arc length between (i j-1 ) exceeds the error tolerance limit d is used to determine whether the interest point is necessary, and if necessary, the interest point is included in the feature point set. The trajectory simplified device has a small amount of calculation and high accuracy.
优选地,上述轨迹简化设备还可包括:发送装置,所述发送装置配置成将包含所述特征点集合β(j)的简化后的轨迹发送给所述工业机器人的控制器。Preferably, the above-mentioned trajectory simplification device may further include: a sending device configured to send the simplified trajectory including the feature point set β(j) to the controller of the industrial robot.
通过从原始点集合中去除不必要(冗余)路径点,从而对完整轨迹 进行简化并得到特征点集合。这样可避免轨迹简化设备中的发送装置将过多的点发送到工业机器人控制器,使得最终的轨迹路径(例如曲线路径)的速度和稳定性得到显著的提高,并且还不需要打开该工业机器人控制器的底层控制。由特征点集合表示的简化后的路径能够由机器人控制器直接解析和执行,避免打开底层控制。By removing unnecessary (redundant) path points from the original point set, the complete trajectory is simplified and a feature point set is obtained. This prevents the sending device in the trajectory simplification device from sending too many points to the industrial robot controller, so that the speed and stability of the final trajectory path (such as a curved path) are significantly improved, and the industrial robot does not need to be opened. The underlying control of the controller. The simplified path represented by the feature point set can be directly analyzed and executed by the robot controller, avoiding opening the underlying control.
优选地,在上述轨迹简化设备中,所述完整轨迹包括用于执行任务的停止点以及具有所分配的运动类型或命令的中间点。Preferably, in the above-mentioned trajectory simplifying device, the complete trajectory includes a stopping point for performing a task and an intermediate point having the assigned movement type or command.
优选地,在上述轨迹简化设备中,所述完整轨迹和简化后的轨迹均是避障路径轨迹。Preferably, in the above-mentioned trajectory simplification device, both the complete trajectory and the simplified trajectory are obstacle avoidance path trajectories.
优选地,在上述轨迹简化设备中,α(i j-1)与α(p)之间的弦长c(i j-1,p)根据如下公式确定:c(i j-1,p)=||α(p)-α(i j-1)||。 Preferably, in the above-mentioned trajectory simplification device, the chord length c(i j-1 , p) between α(i j-1 ) and α(p) is determined according to the following formula: c(i j-1 , p) =||α(p)-α(i j-1 )||.
优选地,在上述轨迹简化设备中,α(i j-1)与α(p)之间的弧长s(i j-1,p)根据如下公式确定: Preferably, in the aforementioned trajectory simplifying device, the arc length s(i j-1 , p) between α(i j-1 ) and α(p) is determined according to the following formula:
Figure PCTCN2019104778-appb-000003
Figure PCTCN2019104778-appb-000003
优选地,在上述轨迹简化设备中,所述近似误差d(i j-1,p)根据如下公式确定: Preferably, in the above-mentioned trajectory simplification device, the approximate error d(i j-1 , p) is determined according to the following formula:
Figure PCTCN2019104778-appb-000004
Figure PCTCN2019104778-appb-000004
优选地,在上述轨迹简化设备中,所述误差容限值d为一预定值,表示所允许的简化后路径的最大偏移值。Preferably, in the above-mentioned trajectory simplification device, the error tolerance value d is a predetermined value, which represents the maximum allowable deviation of the simplified path.
本发明的又一个方案提供了一种计算机存储介质,其包括指令,所述指令在运行时执行如前所述的轨迹简化方法。Yet another aspect of the present invention provides a computer storage medium, which includes instructions that execute the aforementioned trajectory simplification method during runtime.
本发明的又一个方案提供了一种工业机器人操作平台,其包括如前所述的轨迹简化设备。Another aspect of the present invention provides an industrial robot operating platform, which includes the trajectory simplifying device as described above.
【附图说明】【Explanation of the drawings】
参照附图,本发明的公开内容将变得更易理解。本领域技术人员容易理解的是:这些附图仅仅用于说明的目的,而并非意在对本发明的保护范围构成限制。图中:With reference to the drawings, the disclosure of the present invention will become easier to understand. It is easily understood by those skilled in the art that these drawings are only for illustrative purposes, and are not intended to limit the scope of protection of the present invention. In the picture:
图1示出了根据本发明的一个实施例的用于工业机器人的轨迹简化方法;Fig. 1 shows a trajectory simplification method for industrial robots according to an embodiment of the present invention;
图2示出了根据本发明的另一个实施例的用于工业机器人的轨迹简化方法;以及Figure 2 shows a trajectory simplification method for an industrial robot according to another embodiment of the present invention; and
图3示出了根据本发明的一个实施例的用于工业机器人的轨迹简化设备。Fig. 3 shows a trajectory simplification device for an industrial robot according to an embodiment of the present invention.
【具体实施例】[Specific embodiment]
以下说明描述了本发明的特定实施方式以教导本领域技术人员如何制造和使用本发明的最佳模式。为了教导发明原理,已简化或省略了一些常规方面。本领域技术人员应该理解源自这些实施方式的变型将落在本发明的范围内。本领域技术人员应该理解下述特征能够以各种方式接合以形成本发明的多个变型。由此,本发明并不局限于下述特定实施方式,而仅由权利要求和它们的等同物限定。The following description describes specific embodiments of the present invention to teach those skilled in the art how to make and use the best mode of the present invention. In order to teach the principles of the invention, some conventional aspects have been simplified or omitted. Those skilled in the art should understand that variations derived from these embodiments will fall within the scope of the present invention. Those skilled in the art should understand that the following features can be joined in various ways to form many variations of the present invention. Therefore, the present invention is not limited to the following specific embodiments, but only by the claims and their equivalents.
当工业机器人与路径规划结合使用时,一种直观的方式是发送通过点来描述的完整轨迹(例如总计1000个点)。但是大多数机器人无法平滑地处理那么多点组成的完整轨迹(诸如曲线路径),因为相邻点之间的间隔长度太小而机器人必须精确到达每个点,使得整个移动过程不稳定并在提升TCP速度时会产生震动。另外,在线路径规划需要保证持续不断的软件通信与硬件线路连接,从而使机器人在每个运动周期中执行规划的路径。When an industrial robot is used in combination with path planning, an intuitive way is to send a complete trajectory described by points (for example, a total of 1000 points). But most robots cannot smoothly process a complete trajectory composed of so many points (such as a curved path), because the length of the interval between adjacent points is too small and the robot must accurately reach each point, making the entire movement process unstable and improving Vibration occurs at TCP speed. In addition, online path planning needs to ensure continuous software communication and hardware circuit connection, so that the robot executes the planned path in each motion cycle.
本发明的一个或多个实施例解决了上述问题中的一个或多个。One or more embodiments of the present invention solve one or more of the above-mentioned problems.
参考图1,图1示出了根据本发明的一个实施例的用于工业机器人的轨迹简化方法1000。Referring to FIG. 1, FIG. 1 shows a trajectory simplification method 1000 for an industrial robot according to an embodiment of the present invention.
在步骤S110中,在工业机器人的示教过程期间,生成用于工业机器人的完整轨迹,该完整轨迹包括原始点集合α(i),i=1,2,...,n,其中n为所述原始点集合中原始点的数量;In step S110, during the teaching process of the industrial robot, a complete trajectory for the industrial robot is generated, the complete trajectory includes the original point set α(i), i=1, 2, ..., n, where n is The number of original points in the original point set;
在步骤S120中,对该完整轨迹进行简化,以便得到特征点集合β(j),j=1,2,...,m,其中m为该特征点集合中特征点的数量。In step S120, the complete trajectory is simplified to obtain a feature point set β(j), j=1, 2, ..., m, where m is the number of feature points in the feature point set.
特征点集合β(j)包含于原始点集合α(i),即m小于或等于n。在特征点集合β(j)中,其第一个特征点以及最后一个特征点分别与原始点集合中的第一以及最后点对应,即α(1)=β(1),α(n)=β(m)。对于特征点集合中的其他点,β(j)=α(i j),1<j<m。也就是说,β(j)与α(i j)相对应。类似地,β(j-1)与α(i j-1)相对应。α(i j-1)和α(i j)之间的任意点α(p)与以β(j-1)和β(j)为端点的直线线段间的近似误差不大于误差容限值d,i j-1<p<i j,其中所述近似误差根据α(i j-1)与α(p)之间的弦长以及α(i j-1)与α(p)之间的弧长两者所确定。 The feature point set β(j) is included in the original point set α(i), that is, m is less than or equal to n. In the feature point set β(j), the first feature point and the last feature point correspond to the first and last points in the original point set respectively, that is, α(1)=β(1), α(n) = Β(m). For other points in the feature point set, β(j)=α(i j ), 1<j<m. That is, β(j) corresponds to α(i j ). Similarly, β(j-1) corresponds to α(i j-1 ). The approximate error between any point α(p) between α(i j-1 ) and α(i j ) and the straight line segment with β(j-1) and β(j) as the endpoints is not greater than the error tolerance limit d, i j-1 <p <i j, wherein according to said error between α (i j-1) between the α (p) and a chord length α (i j-1) and α (p) is approximately The arc length is determined by both.
在上述方案中,特征点集合中的起始点设置为与原始点中的起始点相同。α(i j-1)可表示与已确定的特征点β(j-1)对应的原始点,通过将原始点集合中排在α(i j-1)后的点依次作为兴趣点并确定其近似误差是否超过误差容限值。若超过误差容限值,则该兴趣点被认为是必要的,将会被纳入特征点集合中。若该兴趣点的近似误差小于或等于误差容限值,则该兴趣点被认为是冗余的,不纳入特征点集合中。并重复上述过程,直至除了起始点和最终点之外的所有点都已计算了近似误差。值得指出的是,近似误差是根据前一个已确定的特征点α(i j-1)与当前兴趣点α(p)之间的弦长以及α(i j-1)与α(p)之间的弧长两者所确定。通过将近似误差作为去除不必要点的依据,此轨迹简化方法的计算量小且精确度较高。 In the above solution, the starting point in the feature point set is set to be the same as the starting point in the original point. α(i j-1 ) can represent the original point corresponding to the determined feature point β(j-1), by taking the points in the original point set after α(i j-1 ) as the points of interest and determining Whether the approximate error exceeds the error tolerance limit. If the error tolerance is exceeded, the point of interest is deemed necessary and will be included in the feature point set. If the approximate error of the interest point is less than or equal to the error tolerance limit, the interest point is considered redundant and not included in the feature point set. And repeat the above process until all points except the starting point and the final point have calculated the approximate error. It is worth pointing out that the approximate error is based on the chord length between the previously determined feature point α(i j-1 ) and the current point of interest α(p) and the difference between α(i j-1 ) and α(p). The arc length between the two is determined. By using the approximate error as the basis for removing unnecessary points, this trajectory simplified method has a small amount of calculation and high accuracy.
参考图2,图2示出了根据本发明的一个实施例的用于工业机器人的轨迹简化方法2000。与图1相比,除了包括步骤S110和S120之外,图2的轨迹简化方法2000还包括:步骤S210,将包含所述特征点集合β(j)的简化后的轨迹发送给所述工业机器人的控制器。也就是说,是将简化后的轨迹(而不是完整轨迹)发送给机器人控制器。这样可避免过多的点被发送到工业机器人控制器,使得最终的轨迹路径(例如曲线路径)的速度和稳定性得到显著的提高,并且还不需要打开该工业机器人控制器的底层控制。Referring to FIG. 2, FIG. 2 shows a trajectory simplification method 2000 for an industrial robot according to an embodiment of the present invention. Compared with FIG. 1, in addition to including steps S110 and S120, the trajectory simplification method 2000 of FIG. 2 also includes: step S210, sending a simplified trajectory including the set of feature points β(j) to the industrial robot Controller. In other words, the simplified trajectory (not the complete trajectory) is sent to the robot controller. In this way, too many points are sent to the industrial robot controller, so that the speed and stability of the final trajectory path (such as a curved path) are significantly improved, and there is no need to open the underlying control of the industrial robot controller.
在一个实施例中,工业机器人支持TCP/IP通信功能,因此可将包含特征点集合的简化后的轨迹经由TCP/IP通信发送给工业机器人 的控制器。另外,由于已将简化后的轨迹发送给机器人控制器,所以在控制器存储数据后可移除外部硬件。由特征点集合表示的简化后的路径能够由机器人控制器直接解析和执行,避免打开底层控制。In one embodiment, the industrial robot supports the TCP/IP communication function, so the simplified trajectory including the set of feature points can be sent to the controller of the industrial robot via TCP/IP communication. In addition, since the simplified trajectory has been sent to the robot controller, the external hardware can be removed after the controller stores the data. The simplified path represented by the feature point set can be directly analyzed and executed by the robot controller, avoiding opening the underlying control.
结合图1和图2的轨迹简化方法,在一个实施例中,完整轨迹包括用于执行任务的停止点以及具有所分配的运动类型或命令(例如SLIN/MoveL等)的中间点。在一个实施例中,所述完整轨迹和简化后的轨迹均是避障路径轨迹。Combining the trajectory simplification method of FIG. 1 and FIG. 2, in one embodiment, the complete trajectory includes stopping points for executing tasks and intermediate points with assigned motion types or commands (such as SLIN/MoveL, etc.). In one embodiment, both the complete trajectory and the simplified trajectory are obstacle avoidance path trajectories.
在一个实施例中,在上述轨迹简化方法中,α(i j-1)与α(p)之间的弦长α(i j-1,p)根据如下公式确定:α(i j-1,p)=||α(p)-α(i j-1)||。 In one embodiment, in the above-mentioned trajectory simplification method, the chord length α(i j-1 , p) between α(i j-1 ) and α(p) is determined according to the following formula: α(i j-1 , P)=||α(p)-α(i j-1 )||.
弦长c(i j-1,p)表示已确定的特征点β(j-1)对应的原始点α(i j-1)与兴趣点α(p)之间的距离值。 The chord length c(i j-1 , p) represents the distance value between the original point α(i j-1 ) corresponding to the determined feature point β(j-1) and the interest point α(p).
在一个实施例中,α(i j-1)与α(p)之间的弧长s(i j-1,p)根据如下公式确定: In one embodiment, the arc length s(i j-1 , p) between α(i j-1 ) and α(p) is determined according to the following formula:
Figure PCTCN2019104778-appb-000005
Figure PCTCN2019104778-appb-000005
弧长s(i j-1,p)表示从与已确定的特征点β(j-1)对应的原始点α(i j-1)开始到兴趣点α(p)为止,原始点集合中相邻两点的距离之和。 The arc length s(i j-1 , p) means that from the original point α(i j-1 ) corresponding to the determined feature point β(j-1) to the interest point α(p), the original point set The sum of the distances between two adjacent points.
在一个实施例中,近似误差d(i j-1,p)根据如下公式确定: In one embodiment, the approximate error d(i j-1 , p) is determined according to the following formula:
Figure PCTCN2019104778-appb-000006
Figure PCTCN2019104778-appb-000006
根据上述公式,在已知确定的特征点β(j-1)对应的原始点α(i j-1)时,可针对原始点α(i j-1)之后的点依次计算近似误差,直至该近似误差超过预定的误差容限值d。在一个实施例中,误差容限值d表示简化后路径的所允许的最大偏移值。 According to the above formula, the approximation error is calculated sequentially at the corresponding point of the original α (i j-1), the following points may be (i j-1) (j -1) [alpha] is known for determining the origin point of the feature point beta], until The approximate error exceeds the predetermined error tolerance limit d. In one embodiment, the error tolerance value d represents the maximum allowable offset value of the simplified path.
图3示出了根据本发明的一个实施例的用于工业机器人的轨迹简化设备3000。参考图3,轨迹简化设备3000包括生成装置310和简化装置320。优选地,轨迹简化设备3000还可包括发送装置330。Fig. 3 shows a trajectory simplification device 3000 for an industrial robot according to an embodiment of the present invention. Referring to FIG. 3, the trajectory simplifying device 3000 includes a generating device 310 and a simplifying device 320. Preferably, the trajectory simplification device 3000 may further include a sending device 330.
生成装置310配置成在工业机器人的示教过程期间生成用于所述工业机器人的完整轨迹,所述完整轨迹包括原始点集合α(i),i=1,2,...,n,其中n为所述原始点集合中原始点的数量。在一个实施 例中,完整轨迹包括用于执行任务的停止点以及具有所分配的运动类型或命令的中间点。The generating device 310 is configured to generate a complete trajectory for the industrial robot during the teaching process of the industrial robot, the complete trajectory including a set of original points α(i), i=1, 2, ..., n, where n is the number of original points in the original point set. In one embodiment, the complete trajectory includes stopping points for performing tasks and intermediate points with assigned movement types or commands.
简化装置320配置成对该完整轨迹进行简化,以便得到特征点集合β(j),j=1,2,...,m,其中m为所述特征点集合中特征点的数量,并且特征点集合β(j)包含于原始点集合α(i)中,m小于或等于n,其中α(1)=β(1),α(n)=β(m),其中,对于1<j<m,β(j)=α(i j),并且在所述原始点集合中与β(j-1)对应的α(i j-1)和与β(j)对应的α(i j)之间的任意点α(p)与以β(j-1)和β(j)为端点的直线线段间的近似误差小于或等于误差容限值d,i j-1<p<i j,以及其中所述近似误差根据α(i j-1)与α(p)之间的弦长以及α(i j-1)与α(p)之间的弧长两者所确定。在一个实施例中,完整轨迹和简化后的轨迹均是避障路径轨迹。 The simplification device 320 is configured to simplify the complete trajectory so as to obtain a feature point set β(j), j=1, 2, ..., m, where m is the number of feature points in the feature point set, and The point set β(j) is contained in the original point set α(i), m is less than or equal to n, where α(1)=β(1), α(n)=β(m), where, for 1<j <m, β (j) = α (i j), and set the original point and β (j-1) corresponding to α (i j-1) and a β (j) corresponding to α (i j The approximate error between any point α(p) between) and the straight line segment with β(j-1) and β(j) as endpoints is less than or equal to the error tolerance d, i j-1 <p<i j and wherein the approximation error (i j-1) is determined between both the arc length α (p) in accordance with α (i j-1) between the α (p) and a chord length α. In one embodiment, both the complete trajectory and the simplified trajectory are obstacle avoidance path trajectories.
简化装置320通过对原始点集合进行简化后得到特征点集合。具体来说,简化装置320利用根据兴趣点α(p)和与已确定的特征点β(j-1)对应的原始点α(i j-1)之间的弦长和弧长两者所确定的近似误差是否超过误差容限值d来判定该兴趣点是否必要,若必要,则将该兴趣点纳入特征点集合中。采用这种简化装置320,轨迹简化设备3000的计算量小且精确度较高。 The simplification device 320 obtains a feature point set by simplifying the original point set. Specifically, the simplification device 320 utilizes both the chord length and the arc length between the interest point α(p) and the original point α(i j-1) corresponding to the determined feature point β(j-1). Whether the determined approximation error exceeds the error tolerance limit d is used to determine whether the interest point is necessary, and if necessary, the interest point is included in the feature point set. With this simplification device 320, the calculation amount of the trajectory simplification device 3000 is small and the accuracy is high.
发送装置330在一个实施例中配置成将包含所述特征点集合β(j)的简化后的轨迹发送给所述工业机器人的控制器。如前所述,简化装置320已对生成装置310生成的原始点集合进行了简化,去除冗余路径点。发送装置330将简化后的路径(特征点集合)发送到工业机器人控制器,可避免发送过多的点而导致的轨迹的速度和加速度不一致性以及峰值变化等问题。最终,简化后的轨迹路径(例如曲线路径)的速度和稳定性得到显著的提高,并且还不需要打开该工业机器人控制器的底层控制。由特征点集合表示的简化后的路径能够由机器人控制器直接解析和执行,避免打开底层控制。In one embodiment, the sending device 330 is configured to send the simplified trajectory including the feature point set β(j) to the controller of the industrial robot. As mentioned above, the simplification device 320 has simplified the original point set generated by the generating device 310 to remove redundant path points. The sending device 330 sends the simplified path (characteristic point set) to the industrial robot controller, which can avoid the inconsistency of the speed and acceleration of the trajectory and the peak change caused by sending too many points. Finally, the speed and stability of the simplified trajectory path (such as a curved path) are significantly improved, and there is no need to open the underlying control of the industrial robot controller. The simplified path represented by the feature point set can be directly analyzed and executed by the robot controller, avoiding opening the underlying control.
在一个实施例中,简化装置320通过如下方式计算α(i j-1)与α(p)之间的弦长c(i j-1,p):c(i j-1,p)=||α(p)-α(i j-1)||。 In one embodiment, the simplification device 320 calculates the chord length c(i j-1 , p) between α(i j-1 ) and α(p) in the following way: c(i j-1 , p)= ||α(p)-α(i j-1 )||.
弦长c(i j-1,p)表示已确定的特征点β(j-1)对应的原始点α(i j-1)与兴 趣点α(p)之间的距离值。 The chord length c(i j-1 , p) represents the distance value between the original point α(i j-1 ) corresponding to the determined feature point β(j-1) and the interest point α(p).
在一个实施例中,简化装置320通过如下方式计算α(i j-1)与α(p)之间的弧长s(i j-1,p): In one embodiment, the simplification device 320 calculates the arc length s(i j-1 , p) between α(i j-1 ) and α(p) in the following manner:
Figure PCTCN2019104778-appb-000007
Figure PCTCN2019104778-appb-000007
弧长s(i j-1,p)表示从与已确定的特征点β(j-1)对应的原始点α(i j-1)开始到兴趣点α(p)为止,原始点集合中相邻两点的距离之和。 The arc length s(i j-1 , p) means that from the original point α(i j-1 ) corresponding to the determined feature point β(j-1) to the interest point α(p), the original point set The sum of the distances between two adjacent points.
在一个实施例中,简化装置320通过如下方式计算近似误差d(i j-1,p): In one embodiment, the simplification device 320 calculates the approximate error d(i j-1 , p) in the following manner:
Figure PCTCN2019104778-appb-000008
Figure PCTCN2019104778-appb-000008
根据上述公式,在已知确定的特征点β(j-1)对应的原始点α(i j-1)时,可针对原始点α(i j-1)之后的点依次计算近似误差,直至该近似误差超过预定的误差容限值d。在一个实施例中,误差容限值d表示简化后路径的所允许的最大偏移值。 According to the above formula, the approximation error is calculated sequentially at the corresponding point of the original α (i j-1), the following points may be (i j-1) (j -1) [alpha] is known for determining the origin point of the feature point beta], until The approximate error exceeds the predetermined error tolerance limit d. In one embodiment, the error tolerance value d represents the maximum allowable offset value of the simplified path.
本领域技术人员容易理解,本发明的一个或多个实施例提供的轨迹简化方法可通过计算机程序来实现。例如,当存有该计算机程序的计算机存储介质(例如U盘)与计算机相连时,运行该计算机程序即可执行本发明的实施例的轨迹简化方法。Those skilled in the art can easily understand that the trajectory simplification method provided by one or more embodiments of the present invention can be implemented by a computer program. For example, when a computer storage medium (such as a USB flash drive) storing the computer program is connected to the computer, the trajectory simplification method of the embodiment of the present invention can be executed by running the computer program.
综上所述,本发明的多个实施例提供了轨迹简化方案。尽管只对其中一些本发明的具体实施方式进行了描述,但是本领域普通技术人员应当了解,本发明可以在不偏离其主旨与范围内以许多其他的形式实施,例如在工业机器人操作平台上实施。因此,所展示的例子与实施方式被视为示意性的而非限制性的,在不脱离如所附各权利要求所定义的本发明精神及范围的情况下,本发明可能涵盖各种的修改与替换。In summary, various embodiments of the present invention provide a trajectory simplification solution. Although only some of the specific embodiments of the present invention have been described, those of ordinary skill in the art should understand that the present invention can be implemented in many other forms without departing from its spirit and scope, such as being implemented on an industrial robot operating platform. . Therefore, the examples and implementations shown are regarded as illustrative rather than restrictive. The present invention may cover various modifications without departing from the spirit and scope of the present invention as defined by the appended claims. And replace.

Claims (18)

  1. 一种用于工业机器人的轨迹简化方法,所述方法包括:A trajectory simplification method for industrial robots, the method includes:
    在所述工业机器人的示教过程期间,生成用于所述工业机器人的完整轨迹,所述完整轨迹包括原始点集合α(i),i=1,2,...,n,其中n为所述原始点集合中原始点的数量;以及During the teaching process of the industrial robot, a complete trajectory for the industrial robot is generated, the complete trajectory includes a set of original points α(i), i=1, 2, ..., n, where n is The number of original points in the original point set; and
    对所述完整轨迹进行简化,以便得到特征点集合β(j),j=1,2,...,m,其中m为所述特征点集合中特征点的数量,并且特征点集合β(j)包含于原始点集合α(i)中,m小于或等于n,The complete trajectory is simplified to obtain a feature point set β(j), j=1, 2, ..., m, where m is the number of feature points in the feature point set, and the feature point set β( j) Included in the original point set α(i), m is less than or equal to n,
    其中α(1)=β(1),α(n)=β(m),Where α(1)=β(1), α(n)=β(m),
    其中,对于1<j<m,β(j)=α(i j),并且对于在所述原始点集合中与β(j-1)对应的α(i j-1)和与β(j)对应的α(i j)之间的任意点α(p),该任意点α(p)与以β(j-1)和β(j)为端点的直线线段间的近似误差小于或等于误差容限值d,i j-1<p<i j,以及 Wherein, for 1<j<m, β(j)=α(i j ), and for α(i j-1 ) and β(j-1) corresponding to β(j-1) in the original point set ) Any point α(p) between the corresponding α(i j ), the approximate error between the arbitrary point α(p) and the straight line segment with β(j-1) and β(j) as the endpoints is less than or equal to Error tolerance d, i j-1 <p<i j , and
    其中所述近似误差根据α(i j-1)与α(p)之间的弦长以及α(i j-1)与α(p)之间的弧长两者所确定。 Wherein said approximation error (i j-1) is determined between both the arc length α (p) in accordance with α (i j-1) between the α (p) and a chord length α.
  2. 如权利要求1所述的轨迹简化方法,还包括:将包含所述特征点集合β(j)的简化后的轨迹发送给所述工业机器人的控制器。The trajectory simplification method according to claim 1, further comprising: sending the simplified trajectory including the feature point set β(j) to the controller of the industrial robot.
  3. 如权利要求1或2所述的轨迹简化方法,其中,所述完整轨迹包括用于执行任务的停止点以及具有所分配的运动类型或命令的中间点。The trajectory simplification method according to claim 1 or 2, wherein the complete trajectory includes a stopping point for performing a task and an intermediate point having the assigned movement type or command.
  4. 如权利要求1或2所述的轨迹简化方法,其中,所述完整轨迹和简化后的轨迹均是避障路径轨迹。The trajectory simplification method according to claim 1 or 2, wherein the complete trajectory and the simplified trajectory are both obstacle avoidance path trajectories.
  5. 如权利要求1或2所述的轨迹简化方法,其中,α(i j-1)与α(p)之间的弦长c(i j-1,p)根据如下公式确定:c(i j-1,p)=||α(p)-α(i j-1)||。 The trajectory simplification method according to claim 1 or 2, wherein the chord length c(i j-1 , p) between α(i j-1 ) and α(p) is determined according to the following formula: c(i j -1 , p)=||α(p)-α(i j-1 )||.
  6. 如权利要求1或2所述的轨迹简化方法,其中,α(i j-1)与α(p)之间的弧长s(i j-1,p)根据如下公式确定: The trajectory simplification method according to claim 1 or 2, wherein the arc length s(i j-1 , p) between α(i j-1 ) and α(p) is determined according to the following formula:
    Figure PCTCN2019104778-appb-100001
    Figure PCTCN2019104778-appb-100001
  7. 如权利要求1或2所述的轨迹简化方法,其中,所述近似误差d(i j-1,p)根据如下公式确定: The trajectory simplification method according to claim 1 or 2, wherein the approximation error d(i j-1 , p) is determined according to the following formula:
    Figure PCTCN2019104778-appb-100002
    Figure PCTCN2019104778-appb-100002
  8. 如权利要求1或2所述的轨迹简化方法,其中,所述误差容限值d为一预定值,表示所允许的简化后路径的最大偏移值。3. The trajectory simplification method according to claim 1 or 2, wherein the error tolerance value d is a predetermined value, which represents the maximum allowable deviation of the simplified path.
  9. 一种用于工业机器人的轨迹简化设备,所述设备包括:A trajectory simplification device for industrial robots, the device comprising:
    生成装置,所述生成装置配置成在所述工业机器人的示教过程期间生成用于所述工业机器人的完整轨迹,所述完整轨迹包括原始点集合α(i),i=1,2,...,n,其中n为所述原始点集合中原始点的数量;以及Generating device, the generating device is configured to generate a complete trajectory for the industrial robot during the teaching process of the industrial robot, the complete trajectory including the original point set α (i), i = 1, 2,. .., n, where n is the number of original points in the original point set; and
    简化装置,所述简化装置配置成对所述完整轨迹进行简化,以便得到特征点集合β(j),j=1,2,...,m,其中m为所述特征点集合中特征点的数量,并且特征点集合β(j)包含于原始点集合α(i)中,m小于或等于n,A simplification device configured to simplify the complete trajectory so as to obtain a feature point set β(j), j=1, 2, ..., m, where m is a feature point in the feature point set And the feature point set β(j) is included in the original point set α(i), m is less than or equal to n,
    其中α(1)=β(1),α(n)=β(m),Where α(1)=β(1), α(n)=β(m),
    其中,对于1<j<m,β(j)=α(i j),并且对于所述原始点集合中与β(j-1)对应的α(i j-1)和与β(j)对应的α(i j)之间的任意点α(p),,该任意点α(p)与以β(j-1)和β(j)为端点的直线线段间的近似误差小于或等于误差容限值d,i j-1<p<i j,以及 Among them, for 1<j<m, β(j)=α(i j ), and for α(i j-1 ) and β(j) corresponding to β(j-1) in the original point set Any point α(p) between the corresponding α(i j ), the approximate error between the arbitrary point α(p) and the straight line segment with β(j-1) and β(j) as the endpoints is less than or equal to Error tolerance d, i j-1 <p<i j , and
    其中所述近似误差根据α(i j-1)与α(p)之间的弦长以及α(i j-1)与α(p)之间的弧长两者所确定。 Wherein said approximation error (i j-1) is determined between both the arc length α (p) in accordance with α (i j-1) between the α (p) and a chord length α.
  10. 如权利要求9所述的轨迹简化设备,还包括:发送装置,所述发送装置配置成将包含所述特征点集合β(j)的简化后的轨迹发送给所述工业机器人的控制器。The trajectory simplifying device according to claim 9, further comprising: a sending device configured to send the simplified trajectory including the feature point set β(j) to the controller of the industrial robot.
  11. 如权利要求9或10所述的轨迹简化设备,其中,所述完整轨迹包括用于执行任务的停止点以及具有所分配的运动类型或命令的中间点。The trajectory simplifying device according to claim 9 or 10, wherein the complete trajectory includes a stopping point for performing a task and an intermediate point with the assigned movement type or command.
  12. 如权利要求9或10所述的轨迹简化设备,其中,所述完整轨迹和简化后的轨迹均是避障路径轨迹。The trajectory simplification device according to claim 9 or 10, wherein the complete trajectory and the simplified trajectory are both obstacle avoidance path trajectories.
  13. 如权利要求9或10所述的轨迹简化设备,其中,α(i j-1)与α(p) 之间的弦长c(i j-1,p)根据如下公式确定:c(i j-1,p)=||α(p)-α(i j-1)||。 The trajectory simplifying device according to claim 9 or 10, wherein the chord length c(i j-1 , p) between α(i j-1 ) and α(p) is determined according to the following formula: c(i j -1 , p)=||α(p)-α(i j-1 )||.
  14. 如权利要求9或10所述的轨迹简化设备,其中,α(i j-1)与α(p)之间的弧长s(i j-1,p)根据如下公式确定: The trajectory simplification device according to claim 9 or 10, wherein the arc length s(i j-1 , p) between α(i j-1 ) and α(p) is determined according to the following formula:
    Figure PCTCN2019104778-appb-100003
    Figure PCTCN2019104778-appb-100003
  15. 如权利要求9或10所述的轨迹简化设备,其中,所述近似误差d(i j-1,p)根据如下公式确定: The trajectory simplification device according to claim 9 or 10, wherein the approximation error d(i j-1 , p) is determined according to the following formula:
    Figure PCTCN2019104778-appb-100004
    Figure PCTCN2019104778-appb-100004
  16. 如权利要求9或10所述的轨迹简化设备,其中,所述误差容限值d为一预定值,表示所允许的简化后路径的最大偏移值。The trajectory simplifying device according to claim 9 or 10, wherein the error tolerance value d is a predetermined value, which represents the maximum allowable deviation of the simplified path.
  17. 一种计算机存储介质,其包括指令,所述指令在运行时执行如权利要求1至8中任一项所述的轨迹简化方法。A computer storage medium, which includes instructions that execute the trajectory simplification method according to any one of claims 1 to 8 during runtime.
  18. 一种工业机器人操作平台,其包括如权利要求9至16中任一项所述的轨迹简化设备。An industrial robot operating platform, which comprises the trajectory simplifying device according to any one of claims 9 to 16.
PCT/CN2019/104778 2019-09-06 2019-09-06 Trajectory simplification method and device for industrial robot, and computer storage medium and industrial robot operating platform WO2021042389A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/CN2019/104778 WO2021042389A1 (en) 2019-09-06 2019-09-06 Trajectory simplification method and device for industrial robot, and computer storage medium and industrial robot operating platform
DE112019007488.1T DE112019007488T5 (en) 2019-09-06 2019-09-06 Method and device for simplifying a trajectory of an industrial robot, computer storage medium and work platform for industrial robots
CN201980100063.5A CN114375431A (en) 2019-09-06 2019-09-06 Trajectory simplification method and device for industrial robot, computer storage medium and industrial robot operating platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/104778 WO2021042389A1 (en) 2019-09-06 2019-09-06 Trajectory simplification method and device for industrial robot, and computer storage medium and industrial robot operating platform

Publications (1)

Publication Number Publication Date
WO2021042389A1 true WO2021042389A1 (en) 2021-03-11

Family

ID=74852995

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/104778 WO2021042389A1 (en) 2019-09-06 2019-09-06 Trajectory simplification method and device for industrial robot, and computer storage medium and industrial robot operating platform

Country Status (3)

Country Link
CN (1) CN114375431A (en)
DE (1) DE112019007488T5 (en)
WO (1) WO2021042389A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102021125628B3 (en) 2021-10-04 2022-10-13 Physik Instrumente (PI) GmbH & Co KG Speed specifications for determining the trajectory of kinematics

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013071231A (en) * 2011-09-29 2013-04-22 Panasonic Corp Teaching device of robot arm, robot apparatus, teaching method, control device of robot arm, control program of robot arm, and integrated electronic circuit
CN103645725A (en) * 2013-12-27 2014-03-19 广东省自动化研究所 Teaching track planning method and system for robot
US20150290801A1 (en) * 2014-04-10 2015-10-15 Kabushiki Kaisha Yaskawa Denki Teaching system, robot system, and teaching method
CN108537808A (en) * 2018-04-08 2018-09-14 易思维(天津)科技有限公司 A kind of gluing online test method based on robot teaching point information
CN108582071A (en) * 2018-04-26 2018-09-28 华中科技大学 A kind of method of industrial robot programming route diagnosis and speed-optimization
CN110196590A (en) * 2019-04-23 2019-09-03 华南理工大学 A kind of time optimal trajectory planning system and method for robot path tracking

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013071231A (en) * 2011-09-29 2013-04-22 Panasonic Corp Teaching device of robot arm, robot apparatus, teaching method, control device of robot arm, control program of robot arm, and integrated electronic circuit
CN103645725A (en) * 2013-12-27 2014-03-19 广东省自动化研究所 Teaching track planning method and system for robot
US20150290801A1 (en) * 2014-04-10 2015-10-15 Kabushiki Kaisha Yaskawa Denki Teaching system, robot system, and teaching method
CN108537808A (en) * 2018-04-08 2018-09-14 易思维(天津)科技有限公司 A kind of gluing online test method based on robot teaching point information
CN108582071A (en) * 2018-04-26 2018-09-28 华中科技大学 A kind of method of industrial robot programming route diagnosis and speed-optimization
CN110196590A (en) * 2019-04-23 2019-09-03 华南理工大学 A kind of time optimal trajectory planning system and method for robot path tracking

Also Published As

Publication number Publication date
DE112019007488T5 (en) 2022-03-10
CN114375431A (en) 2022-04-19

Similar Documents

Publication Publication Date Title
US11161247B2 (en) Robot trajectory generation method, robot trajectory generation apparatus, storage medium, and manufacturing method
US11198214B2 (en) Method for operating a robot in a multi-agent system, robot and multi-agent system
JP6333795B2 (en) Robot system with simplified teaching and learning performance improvement function by learning
JP6717768B2 (en) Robot for learning control considering operation in production line and control method thereof
CN111360838B (en) Mechanical arm control method and device, mechanical arm and storage medium
EP3634694A1 (en) System and method for controlling actuators of an articulated robot
CN115256395B (en) Model uncertain robot safety control method based on control obstacle function
US11281208B2 (en) Efficient teleoperation of mobile robots via online adaptation
US20230286148A1 (en) Robot control parameter interpolation
JP2019038089A (en) Robot system
CN114211495B (en) Self-adaptive track optimization method and system for semiconductor wafer conveying mechanical arm
WO2021042389A1 (en) Trajectory simplification method and device for industrial robot, and computer storage medium and industrial robot operating platform
US9975244B1 (en) Real-time generation of trajectories for actuators of a robot
US10935386B2 (en) Self-propelled device, and method and travel control computer program of controlling traveling of self-propelled device
CN112405531B (en) Position domain impedance control method and device, storage medium and operation robot
JPH02257204A (en) Collision evasion control system for plural robot arms
JPH0916241A (en) Method for setting acceleration/deceleration operation of robot
Shih et al. A framework for online updates to safe sets for uncertain dynamics
CN111670093B (en) Robot motion control method, control system and storage device
CN114789453B (en) Mechanical arm dynamic PID control method and device, electronic equipment and storage medium
CN116117786A (en) Method and system for planning track of mechanical arm under high visual visibility
WO2021250923A1 (en) Robot system, control device, and control method
Hauser Adaptive time stepping in real-time motion planning
CN111699079B (en) Coordination system, operation device and method
KR101257793B1 (en) Method for controlling a very high speed parallel robot using a synchronization of multi-axis motion

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19943902

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 19943902

Country of ref document: EP

Kind code of ref document: A1