WO2017219639A1 - Motion trail planning method and device for robotic arm, and robot - Google Patents

Motion trail planning method and device for robotic arm, and robot Download PDF

Info

Publication number
WO2017219639A1
WO2017219639A1 PCT/CN2016/113187 CN2016113187W WO2017219639A1 WO 2017219639 A1 WO2017219639 A1 WO 2017219639A1 CN 2016113187 W CN2016113187 W CN 2016113187W WO 2017219639 A1 WO2017219639 A1 WO 2017219639A1
Authority
WO
WIPO (PCT)
Prior art keywords
motion
phase
trajectory
changed
motion phase
Prior art date
Application number
PCT/CN2016/113187
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 广州视源电子科技股份有限公司
Publication of WO2017219639A1 publication Critical patent/WO2017219639A1/en

Links

Images

Classifications

    • 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

Definitions

  • the invention relates to the field of robot control, in particular to a method, a device and a robot for planning a motion path of a mechanical arm.
  • the trajectory of the manipulator needs to be planned.
  • the trajectory planning is implemented by a predetermined speed planning algorithm.
  • a predetermined speed planning algorithm For example, an S-type (Double S) velocity curve algorithm can be used.
  • S-type Double S
  • Some speed planning algorithms need to receive the start and end points provided by the user in advance when planning the trajectory. Then the program will generate a series of interpolation points between the two points to describe the trajectory of the arm. For example, in the teaching function, the user sends an instruction through the handheld device, so that the robot arm starts from the starting point and moves linearly in a certain direction until reaching the end point.
  • the end position of the end point is determined by the user in real time according to the actual situation, so the user can not give a specific end point coordinate at the beginning of the movement, which leads to the robot arm based on the current speed planning algorithm.
  • the motion trajectory cannot be planned in advance during the work process, which affects the user experience.
  • an object of the present invention is to provide a method, a device and a robot for trajectory planning of a robot arm, which can re-plan the motion trajectory according to the user's operation, and meet the user's use requirements.
  • the invention provides a method for planning a motion trajectory of a mechanical arm, comprising the following steps:
  • the speed curve algorithm is an S-type speed curve algorithm
  • the initial parameter set includes at least a path, a maximum acceleration of the acceleration phase, a maximum speed, a minimum deceleration of the deceleration phase, a maximum jerk, and a minimum jerk.
  • These initial parameters include: an accelerated motion phase, a uniform motion phase, and a deceleration phase, the accelerated motion phase including a first acceleration motion phase, a second acceleration motion phase, and a third acceleration motion phase; The first deceleration phase, the second deceleration phase, and the third deceleration phase are included.
  • the duration of the predetermined motion phase and the initial reference are changed according to a motion phase in which the moving arm is currently located a predetermined initial parameter in the set, generating a changed motion trajectory, and controlling the robot arm to move with the changed motion trajectory, specifically:
  • the changing the duration of the predetermined motion phase and the predetermined initial parameter in the initial parameter set according to the motion phase in which the moving arm is currently located, generating a modified motion trajectory, and controlling the robot arm Exercise with the changed motion trajectory specifically:
  • the changing the duration of the predetermined motion phase and the predetermined initial parameter in the initial parameter set according to the motion phase in which the moving arm is currently located, generating a modified motion trajectory, and controlling the robot arm Exercise with the changed motion trajectory specifically:
  • the duration of the uniform motion phase is changed to zero
  • the initial parameter of the route is changed according to the current motion time
  • the changed motion trajectory is generated according to the changed initial parameter
  • the robot arm is controlled to move with the changed motion trajectory.
  • the changing the duration of the predetermined motion phase and the predetermined initial parameter in the initial parameter set according to the motion phase in which the moving arm is currently located, generating a modified motion trajectory, and controlling the robot arm Exercise with the changed motion trajectory specifically:
  • the duration of the uniform motion phase is changed to tt 3 ; wherein t is the current motion time, and t 3 -t 0 is a pre-configured time t from the start timing 0 to the duration of the end of the third acceleration motion phase;
  • the initial parameter of the path is changed according to the current motion time t, the changed motion track is generated according to the changed initial parameter, and the robot arm is controlled to move with the changed motion track.
  • the method further includes:
  • the invention also provides a motion trajectory planning device for a mechanical arm, comprising:
  • a motion control unit configured to control the robot arm to move according to a predetermined motion trajectory according to a preset starting point coordinate, an end point coordinate, and a velocity curve algorithm; wherein the speed curve algorithm is to move the mechanical arm according to a preset initial parameter set
  • the motion trajectory is planned for at least two motion phases, and each motion phase is configured for a duration;
  • a motion time acquisition unit configured to acquire a current motion time of the robot arm after receiving a stop command issued by a user, and determine the robot arm according to the current motion time t and a duration configured for each motion phase The current stage of exercise;
  • a motion trajectory changing unit configured to change a duration of a predetermined motion phase and a predetermined initial parameter in the initial parameter set according to a motion phase in which the motion arm is currently in motion, generate a modified motion trajectory, and control the The arm moves with the changed motion trajectory.
  • the method further comprises:
  • a work area generating unit configured to generate a working area of the mechanical arm based on a joint parameter of the mechanical arm to be operated
  • An intersection point generating unit configured to generate a ray according to a coordinate and a moving direction of the starting point input in advance, and calculate an intersection of the ray and a boundary of the working area to generate a set of intersection points;
  • An end point marking unit is configured to calculate a distance of each intersection point in the intersection point set from the starting point, acquire coordinates of an intersection point corresponding to the minimum distance, and mark the intersection point as an end point.
  • the present invention also provides a robot comprising the above described motion trajectory planning device.
  • the method, device and robot for trajectory planning of the robot arm provided by the embodiment of the present invention, after receiving the stop command of the user before detecting the entering the deceleration motion phase, performing current and subsequent motion trajectories according to the current motion phase. Re-planning, so that the moving arm stops as soon as possible while maintaining smooth motion and continuous speed, so as to meet the user's use requirements.
  • FIG. 1 is a schematic flow chart of a method for planning a motion trajectory of a mechanical arm according to an embodiment of the present invention.
  • Figure 2 is a schematic diagram of the motion process of the S-shaped velocity curve algorithm.
  • Figure 3 is a flow chart of the calculation principle of the S-shaped velocity curve algorithm.
  • FIG. 4 is a schematic structural view of a SCARA type robot arm.
  • Fig. 5 is a schematic view showing the SCARA type robot arm shown in Fig. 4 in a DH coordinate system.
  • Fig. 6 is a schematic view showing the working area of the SCARA type robot arm shown in Fig. 4.
  • Figure 7 is a plan view of the work area shown in Figure 6.
  • Figure 8 is a schematic illustration of the connection of the ray to the work area.
  • FIG. 9 is a schematic flow chart of calculating an intersection of a ray and a circle by an optimization algorithm of a ray-circle intersection test provided by an embodiment of the present invention.
  • 10(a) to 10(c) are schematic diagrams of the optimization algorithm shown in Fig. 9.
  • FIG. 11 is a schematic structural diagram of a motion trajectory planning apparatus for a mechanical arm according to an embodiment of the present invention.
  • FIG. 12 is another schematic structural diagram of a motion trajectory planning device for a mechanical arm according to an embodiment of the present invention.
  • Embodiments of the present invention provide a method for planning a motion trajectory of a mechanical arm, which can determine an end point coordinate in real time according to a stop command issued by a user, and plan a new motion trajectory in advance.
  • an embodiment of the present invention provides a schematic flowchart of a method for planning a motion trajectory of a mechanical arm, which may be performed by a motion trajectory planning device of a mechanical arm (hereinafter referred to as a motion trajectory planning device), and includes at least the following steps:
  • S101 Control a robot arm to move according to a predetermined motion trajectory according to a preset start point coordinate, an end point coordinate, and a speed curve algorithm. wherein the speed curve algorithm plans the motion trajectory of the mechanical arm according to a preset initial parameter set. For at least two phases of motion, and configure a duration for each phase of motion.
  • the robot arm is the most widely used automatic mechanical device in the field of robot technology, and is widely used in the fields of industrial manufacturing, medical treatment, entertainment service, military, semiconductor manufacturing, and space exploration. Although they differ in their form, they all share a common feature of being able to accept instructions and accurately position them at a certain point in the three-dimensional (or two-dimensional) space according to the instructions.
  • the movement of the mechanical arm is generally controlled according to a speed curve algorithm, for example, a common trapezoidal velocity curve algorithm, a sinusoidal velocity curve algorithm, and an S-shaped velocity curve algorithm, wherein the S-shaped velocity curve
  • a speed curve algorithm for example, a common trapezoidal velocity curve algorithm, a sinusoidal velocity curve algorithm, and an S-shaped velocity curve algorithm, wherein the S-shaped velocity curve
  • the algorithm is widely used because it can control the rate of change of acceleration and smoothly transition at the speed connection, so it is very stable during operation and does not vibrate.
  • the S-type velocity curve algorithm needs to input the initial parameter set (including the path q 1 , the starting velocity v 0 , the starting acceleration a 0 the ending velocity v 1 , the ending acceleration a 1 , and the maximum acceleration a max in the acceleration motion phase during operation). , the maximum speed v max , the minimum deceleration a min , the maximum jerk j max and the minimum jerk j min ) in the deceleration phase, and then the trajectory of the motion trajectory according to these initial parameters.
  • the typical S-type velocity curve algorithm will plan the motion trajectory into three motion phases: the acceleration motion phase (duration T a ), the uniform motion phase (duration T v ), and deceleration.
  • Movement phase (duration T d ), more specifically: the acceleration motion phase includes a first acceleration motion phase (corresponding to a time interval [t 0 , t 1 ), the duration is T j1 , and the acceleration is gradually increased from 0 To a max ), the second acceleration motion phase (corresponding to the time interval [t 1 , t 2 ), at which time the acceleration remains unchanged) and the third acceleration motion phase (corresponding to the time interval [t 2 , t 3 ), continuing The time is T j1 , the acceleration gradually decreases from a max to 0); the deceleration motion phase includes a first deceleration motion phase (corresponding to the time interval [t 4 , t 5 ), the duration is T j2 , and the acceleration is from 0 gradually decreases to a min ), the second deceleration phase (corresponding to the time interval [t 5 , t 6 ), at which time the acceleration remains unchanged) and the third deceleration phase (corresponding to the time interval [t 6 , t 7 ), the
  • the S-type speed curve algorithm first needs to accept the initial parameters given by the user, including: path q 1 , starting point velocity v 0 , starting point acceleration a 0 end point speed v 1 , end point acceleration a 1.
  • the S-type velocity curve algorithm judges based on these initial parameters.
  • the specific time parameters T j1 , T j2 , T a and T d are calculated using equation (1). If not, the formula (2) is used to calculate the specific time parameters T j1 , T j2 , T a and T d . Thereafter, after T j1 , T j2 , T a , and T d are obtained, T v is calculated according to the T a calculated by the formula (3). Next, it is judged whether T v >0 is established, and if it is established, the final t 0 , t 1 , t 2 , t 3 , t 4 , t 5 , t 6 are calculated using equations (6) and (7).
  • T v and new T a and T d are obtained according to formula (4), and the final t 0 , t 1 , t 2 , t 3 , t are calculated according to formula (6) and formula (7). 4 , t 5 , t 6 , t 7 . If not, calculate T v and new T j1 , T j2 , T a and T d using equation (5), and calculate the final t 0 , t 1 according to formula (6) and formula (7). , t 2 , t 3 , t 4 , t 5 , t 6 , t 7 .
  • the specific forms of the formulas (1) to (7) are as follows:
  • the user when the user uses the mechanical arm, the user may issue a stop command as needed (for example, during the teaching, the user can issue a stop command to the robot arm through the teaching box), then After receiving the stop command issued by the user, the motion trajectory planning device acquires the current motion time t of the robot arm, and determines, according to the current motion time t and the duration (or time interval), that the robot arm is currently located. The stage of exercise.
  • the motion trajectory planning device needs to stop the robot arm as soon as possible and remains stable. For this reason, the motion trajectory planning device needs to be according to the motion.
  • the motion phase in which the arm is currently is changing the duration of the predetermined motion phase and the predetermined initial parameters in the initial set of parameters.
  • the durations of the first acceleration motion phase, the third acceleration motion phase, the first deceleration motion phase, and the third deceleration motion phase Change to t and change the duration of the second acceleration motion phase, the uniform velocity motion phase, and the second deceleration motion phase to zero.
  • the motion trajectory planning device when the motion trajectory planning device determines that the user issues a stop command during the first acceleration motion phase, that is, the current running time t ⁇ t 1 , the motion trajectory planning device immediately terminates the first acceleration motion phase. At the same time, in order to stop the robot arm as soon as possible, the durations of the second acceleration motion phase, the uniform velocity motion phase, and the second deceleration motion phase are also changed to zero.
  • the initial parameters of the path, the maximum speed, the maximum acceleration of the acceleration motion phase, and the minimum deceleration phase of the deceleration motion phase are changed, and the changed motion trajectory is generated according to the changed initial parameters, and the control center is controlled.
  • the robot arm moves with the changed motion trajectory.
  • the maximum acceleration a max of the acceleration motion phase is changed to j max *t
  • the minimum deceleration a min of the deceleration motion phase is changed to -j min *t
  • the maximum velocity v max is changed to t*a max q 1 is changed to t*a max *2t, after which the changed motion trajectory can be obtained according to formula (8), and the robot arm is controlled to move with the changed motion trajectory.
  • the motion trajectory planning device determines that the user issues a stop command during the second acceleration motion phase
  • the motion trajectory planning device Immediately terminating the second acceleration motion phase, that is, the second acceleration motion phase, and in order to stop the robot arm as soon as possible, the duration of the second deceleration motion phase is also changed to tt 1 , and the uniform motion phase is changed. Zero.
  • the time interval of each motion phase becomes: the time interval corresponding to the first acceleration motion phase is [t 0 , t 1 ), and the time interval corresponding to the second acceleration motion phase is [t 1 , t
  • the time interval corresponding to the third acceleration motion phase is [t, t 3n2 ), and the time interval corresponding to the uniform motion phase is [t 3n2 , t 4n2 ), and the time interval corresponding to the first deceleration motion phase [t 4n2 , t 5n2 ), the time interval corresponding to the second deceleration motion phase is [t 5n2 , t 6n2 ), and the time interval corresponding to the third deceleration motion phase is changed to [t 6n2 , t 7n2 ),
  • the changed motion trajectory can be obtained according to formula (8), and the robot arm is controlled to move with the changed motion trajectory.
  • the motion trajectory planning device determines that the user issues a stop command during the third acceleration motion phase
  • the current running time t satisfies: t 2 ⁇ t ⁇ t 3 , in order to stop the mechanism as soon as possible
  • the arm changes the uniform motion phase to zero.
  • the time interval of each motion phase becomes: the time interval corresponding to the first acceleration motion phase is [t 0 , t 1 ), and the time interval corresponding to the second acceleration motion phase is [t 1 , t 2
  • the time interval corresponding to the third acceleration motion phase is [t 2 , t 3 ), the time interval corresponding to the uniform motion phase is [t 3 , t), and the time interval corresponding to the first deceleration motion phase
  • the time interval corresponding to the second deceleration motion phase is [t 5n4 , t 6n4 )
  • the changed path q 1 q 1 -v max [T v -(tt 3 )].
  • the changed motion trajectory can be obtained according to formula (8), and the robot arm is controlled to move with the changed motion trajectory.
  • the motion track is not changed.
  • the method for planning the motion trajectory of the robot arm after receiving the stop command of the user before detecting the entering the deceleration motion phase, the current and subsequent motion trajectories according to the current motion phase.
  • the re-planning is carried out so that the moving arm stops as soon as possible while maintaining smooth motion and continuous speed, thereby satisfying the user's use requirements.
  • the speed curve algorithm is an S-type speed curve algorithm, but the idea of the present invention is equally applicable to other speed curve algorithms, and in particular, to a speed curve having multiple motion stages.
  • the algorithms are all within the scope of the present invention and will not be described herein.
  • the endpoint coordinates can be obtained based on the following steps:
  • a robotic arm includes a plurality of joints, each joint having joint parameters, which may include joint type, arm length (length of the connecting arm connecting the two joints), range of motion, and the like.
  • the joint type may include a rotating joint and a sliding joint
  • the rotating joint may control the rotation of the connecting arm
  • the sliding joint may realize the vertical sliding of the connecting arm.
  • the working area of the robot arm can be controlled by a combination of different joints. Specifically, the working area of the robot arm can be determined by the following steps:
  • a coordinate system for generating each joint is established based on the DH coordinate system.
  • a SCARA (Selective Compliant Articulated Robot for Assembly) type robot arm is exemplified, which has four joints J1, J2, J3, and J4, wherein J1, J2, and J4 are rotating joints, and J1 and J2, J2 and J4 are connected by corresponding connecting arms, and J3 is a sliding joint.
  • J1, J2, and J4 are rotating joints
  • J1 and J2, J2 and J4 are connected by corresponding connecting arms
  • J3 is a sliding joint
  • a coordinate system of each joint can be established based on the DH (Denavit-Hartenberg) coordinate system, wherein the rotational axes of the rotating joints Ji and their respective The zi axis (the connecting arm of the rotating joint Ji rotates around the zi axis) is parallel to each other, the arm length of the connecting arm is ⁇ i, ⁇ i
  • the zi axis is determined, the direction of the first joint pointing to the second joint can be used as the xi direction, and the direction of yi can be determined based on the right hand rule, thus, the coordinate system of each joint is generated.
  • the range of motion is the range of the angle of rotation of the connecting arm rotation, and for the sliding joint, the range of motion is
  • the working range of the arm can be generated by the upper and lower movement range of the connecting arm (as shown in FIG. 6).
  • a plan view as shown in FIG. 7 can be generated by simply projecting on the plane.
  • S02 Generate a ray according to the coordinates and the moving direction of the starting point input in advance, and calculate an intersection of the ray and the boundary of the working area to generate a set of intersection points.
  • it may include:
  • S021 Decompose the working area into at least two arcs, obtain a circle center, a radius, and a central angle range of each arc, and generate an equation of a circle corresponding to each arc.
  • the working area of the robot arm is Four arcs are enclosed.
  • the four arcs are located on four circles: ⁇ O 1 , ⁇ O 2 , ⁇ O 3 , ⁇ O 4 .
  • the center O 1 , O 4 coincides with the J 1 axis;
  • O 2 and O 3 are the positions of the J 2 axis when the J 1 axis is rotated to the positive and negative limits, respectively.
  • the maximum range of motion in the positive/negative direction of the axis J i respectively ⁇ j i
  • the starting point is I
  • the direction vector is n
  • the equation of the ray R(u) when calculating the intersection point, the equation of the ray R(u) can be sequentially connected with the equation of each circle, and obtained by using the parametric equation method.
  • the ray IP intersects ⁇ O 1 at point N, respectively; ⁇ O 2 intersects at point K and point M; ⁇ O 4 intersects point J and point L; and ⁇ O 3 does not Intersection.
  • the points K, N are on the circle, but are not on the arc of the working area, so after obtaining the intersection point, it is also necessary to check whether the arc angle ⁇ i of the intersection point satisfies
  • the working area does not necessarily consist of an arc of a circle.
  • the working area may be composed of an elliptical arc or a mixture of arcs of different types of geometric shapes.
  • the equations and angular ranges of the geometric shapes corresponding to the arcs may be obtained, and then The method can be used to calculate and generate a set of intersection points.
  • the distance between each intersection point and the starting point I can be calculated by the Euler formula, and then each calculated distance is compared, and the coordinates of the intersection point corresponding to the minimum distance are obtained, and the The intersection point is marked as the end point, at which point the boundary of the desired work area is obtained.
  • the intersection of the ray generated by the coordinates and the moving direction of the starting point input in advance and the boundary of the working area is calculated, and the acquisition and the starting point have The coordinates of the intersection of the minimum distances are obtained at the end points corresponding to the starting point and the moving direction.
  • the invention is based on a geometric method to determine the boundary of the working area of the robot arm, so that the robot can know the position of the end point in advance before the movement, so that the robot can plan the motion trajectory.
  • step S022 after the ray is generated, a conventional parametric equation method may be used to find an intersection point, or may be used.
  • An optimization algorithm based on the ray and circle intersection test is proposed to calculate the intersection of the ray and each circle.
  • Fig. 10(a) first calculate the vector from the starting point I to the center of the circle O i vector length And vector Projection along the
  • the ray has two intersections with the circle O i , respectively as well as (As shown in Figure 10 (a)). If Then, the starting point I is located in the circle O i . At this time, the ray has an intersection with the circle O i , which is I+(l+q) ⁇
  • FIG. 11 is a motion trajectory planning apparatus 100 for a mechanical arm according to an embodiment of the present invention, which includes:
  • a motion control unit 10 configured to control the robot arm to move according to a predetermined motion trajectory according to preset start point coordinates, an end point coordinate, and a speed curve algorithm; wherein the speed curve algorithm is to move the machine according to a preset initial parameter set
  • the trajectory of the arm is planned for at least two phases of motion and a duration is configured for each phase of motion.
  • the motion time acquisition unit 20 is configured to acquire a current motion time t of the robot arm after receiving a stop command issued by the user, and determine the current motion time t and the duration configured for each motion phase. The current stage of motion of the robotic arm.
  • a motion trajectory changing unit 30 configured to change a duration of a predetermined motion phase and a predetermined initial parameter in the initial parameter set according to a motion phase in which the motion arm is currently located, generate a modified motion trajectory, and control the Mechanical arm The trajectory moves.
  • the motion trajectory changing unit 30 determines that the mechanical arm is currently in the first acceleration motion phase, the first acceleration motion phase, the third acceleration motion phase, the first deceleration motion phase, and the third deceleration
  • the duration of the motion phase is changed to t, and the durations of the second acceleration motion phase, the uniform motion phase, and the second deceleration phase are changed to zero; thereafter, based on the current motion time t, the initial parameter a max , a min , v max and q 1 are changed, the changed motion trajectory is generated according to the changed initial parameters, and the robot arm is controlled to move with the changed motion trajectory.
  • the motion trajectory changing unit 30 determines that the mechanical arm is currently in the second acceleration motion phase, change the duration of the second acceleration motion phase and the second deceleration motion phase to tt 2 , and move the uniform motion The duration of the phase is changed to zero. Thereafter, the initial parameters v max and q 1 are changed according to the current motion time t, the changed motion trajectory is generated according to the changed initial parameters, and the robot arm is controlled to be changed.
  • the motion track is moving.
  • the motion trajectory changing unit 30 determines that the mechanical arm is currently in the third acceleration motion phase, the duration of the uniform motion phase is changed to zero;
  • the initial parameter q 1 is changed according to the current motion time t, the changed motion trajectory is generated according to the changed initial parameter, and the robot arm is controlled to move with the changed motion trajectory.
  • the initial parameter q 1 is changed according to the current motion time t, the changed motion trajectory is generated according to the changed initial parameter, and the robot arm is controlled to move with the changed motion trajectory.
  • the motion trajectory planning apparatus 100 of the robot arm re-plans the current and subsequent motion trajectories according to the current motion stage after receiving the user's stop command before detecting the entering the deceleration motion phase.
  • the moving arm is stopped as soon as possible while maintaining smooth motion and continuous speed, thereby satisfying the user's use requirements.
  • the motion trajectory planning device of the mechanical arm further includes:
  • the work area generating unit 40 is configured to generate a working area of the mechanical arm based on joint parameters of the mechanical arm to be operated.
  • the intersection point generation unit 50 is configured to generate a ray according to the coordinates and the movement direction of the start point input in advance, and calculate an intersection of the ray and the boundary of the work area to generate an intersection set.
  • the end point marking unit 60 is configured to calculate a distance between each intersection point in the intersection point set and the starting point, acquire coordinates of an intersection point corresponding to the minimum distance, and mark the intersection point as an end point.
  • the working area generating unit 40 generates the working area of the robot arm
  • the intersection point generating unit 50 calculates the intersection of the ray generated by the coordinates and the moving direction of the starting point input in advance and the boundary of the working area.
  • the end point marking unit 60 acquires the coordinates of the intersection point having the smallest distance from the starting point, obtains the end point corresponding to the starting point and the moving direction, and then performs the planning of the motion trajectory according to the starting point, the ending point and the preset trajectory planning algorithm.
  • the invention is based on a geometric method to determine the boundary of the working area of the robot arm, so that the robot can know the position of the end point in advance before the movement, so that the robot can plan the motion trajectory.
  • the present invention also provides a robot comprising the above described motion trajectory planning apparatus 100.
  • the robot provided by the embodiment of the present invention, after receiving the stop command of the user before detecting the entering the deceleration motion phase, re-plans the current and subsequent motion trajectories according to the current motion phase, so that the motion arm is maintained. Under the premise of smooth motion and continuous speed, stop as soon as possible to meet the user's needs.
  • the robot provided by the embodiment of the present invention re-plans the entire motion trajectory after receiving the stop command of the user before entering the deceleration motion phase, so that the motion arm stops as soon as possible while maintaining smooth motion and continuous speed. In order to meet the user's needs.

Landscapes

  • Engineering & Computer Science (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Manipulator (AREA)
  • Numerical Control (AREA)

Abstract

A motion trail planning method for a robotic arm, comprising: controlling a robotic arm to move with a predetermined motion trail according to preset starting point coordinates and end point coordinates and a speed curve algorithm; after receiving a stop instruction sent by a user, obtaining the current motion time of the robotic arm, and determining the current motion stage of the robotic arm according to the current motion time and the time duration configured for each motion stage; and according to the current motion stage of the robotic arm, changing predetermined time durations of the motion stages and predetermined initial parameters in an initial parameter set, generating a changed motion trail, and controlling the robotic arm to move with the changed motion trail. A motion trail planning device (100) for a robotic arm and a robot. After a stop instruction of a user is received, a motion trail is replanned, so that a motion arm is stopped as soon as possible on the premise of keeping stable motion and speed continuity.

Description

一种机械臂的运动轨迹规划方法、装置及机器人Method, device and robot for trajectory planning of mechanical arm 技术领域Technical field
本发明涉及机器人控制领域,具体是一种机械臂的运动轨迹规划方法、装置及机器人。The invention relates to the field of robot control, in particular to a method, a device and a robot for planning a motion path of a mechanical arm.
背景技术Background technique
在机械臂的工作过程中,需要对机械臂的轨迹进行规划,一般来说,这种轨迹规划都是通过预定的速度规划算法来实现的,例如,可使用S型(Double S)速度曲线算法来完成机械臂的轨迹规划。In the working process of the manipulator, the trajectory of the manipulator needs to be planned. Generally, the trajectory planning is implemented by a predetermined speed planning algorithm. For example, an S-type (Double S) velocity curve algorithm can be used. To complete the trajectory planning of the robot arm.
有些速度规划算法在进行轨迹规划时,需要事先接收用户提供的起点和终点的位置,然后程序会在两点之间生成一系列的插补点来描述机械臂的运行轨迹。比如在示教功能中,用户通过手持设备发送指令,使得机械臂从起点出发,一直沿某个方向直线运动,直至到达终点。Some speed planning algorithms need to receive the start and end points provided by the user in advance when planning the trajectory. Then the program will generate a series of interpolation points between the two points to describe the trajectory of the arm. For example, in the teaching function, the user sends an instruction through the handheld device, so that the robot arm starts from the starting point and moves linearly in a certain direction until reaching the end point.
但是很多时间,终点的位置终点位置是由用户根据实际的情况实时决定的,因而用户无法在一开始运动的时候就给出一个具体的终点坐标,这导致了基于目前的速度规划算法的机械臂在工作过程中无法对运动轨迹进行提前规划,影响了用户的使用体验。However, many times, the end position of the end point is determined by the user in real time according to the actual situation, so the user can not give a specific end point coordinate at the beginning of the movement, which leads to the robot arm based on the current speed planning algorithm. The motion trajectory cannot be planned in advance during the work process, which affects the user experience.
发明内容Summary of the invention
针对上述问题,本发明的目的在于提供一种机械臂的运动轨迹规划方法、装置及机器人,能根据用户的操作进行运动轨迹的重新规划,满足了用户的使用需求。In view of the above problems, an object of the present invention is to provide a method, a device and a robot for trajectory planning of a robot arm, which can re-plan the motion trajectory according to the user's operation, and meet the user's use requirements.
本发明提供了一种机械臂的运动轨迹规划方法,包括如下步骤:The invention provides a method for planning a motion trajectory of a mechanical arm, comprising the following steps:
根据预置的起点坐标、终点坐标以及速度曲线算法,控制机械臂以预定的运动轨迹进行运动;其中,所述速度曲线算法根据预先配置的初始参数集合将所述机械臂的运动轨迹规划为至少两个运动阶段,并为每个运动阶段配置一段持续时间;Controlling the robot arm to move according to a predetermined motion trajectory according to preset start point coordinates, end point coordinates, and speed curve algorithm; wherein the speed curve algorithm plans the motion trajectory of the arm according to a preset initial parameter set to at least Two phases of motion and a duration for each phase of motion;
当接收到用户发出的停止指令后,获取所述机械臂的当前运动时间,并根据所述当前运动时间及为每个运动阶段配置的持续时间确定所述机械臂当前所处的运动阶段;Obtaining a current motion time of the robot arm after receiving a stop command issued by the user, and determining a current motion phase of the robot arm according to the current motion time and a duration configured for each motion phase;
根据所述运动臂当前所处的运动阶段更改预定的运动阶段的持续时间及所述初始参数集合中的预定的初始参数,生成更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动。Generating a modified motion trajectory according to a duration of the motion stage in which the moving arm is currently in motion and a predetermined initial parameter in the initial parameter set, and controlling the mechanical arm to change motion The trajectory moves.
优选地,所述速度曲线算法为S型速度曲线算法,则所述初始参数集合至少包括路程、加速运动阶段的最大加速度、最大速度、减速运动阶段的最小减速度、最大加加速度以及最小加加速度这些初始参数;所述运动阶段包括加速运动阶段、匀速运动阶段及减速运动阶段,所述加速运动阶段包括第一加速运动阶段、第二加速运动阶段及第三加速运动阶段;所述减速运动阶段包括第一减速运动阶段、第二减速运动阶段及第三减速运动阶段。Preferably, the speed curve algorithm is an S-type speed curve algorithm, and the initial parameter set includes at least a path, a maximum acceleration of the acceleration phase, a maximum speed, a minimum deceleration of the deceleration phase, a maximum jerk, and a minimum jerk. These initial parameters include: an accelerated motion phase, a uniform motion phase, and a deceleration phase, the accelerated motion phase including a first acceleration motion phase, a second acceleration motion phase, and a third acceleration motion phase; The first deceleration phase, the second deceleration phase, and the third deceleration phase are included.
优选地,所述根据所述运动臂当前所处的运动阶段更改预定的运动阶段的持续时间及所述初始参 数集合中的预定的初始参数,生成更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动,具体为:Preferably, the duration of the predetermined motion phase and the initial reference are changed according to a motion phase in which the moving arm is currently located a predetermined initial parameter in the set, generating a changed motion trajectory, and controlling the robot arm to move with the changed motion trajectory, specifically:
当判断所述机械臂当前处于第一加速运动阶段时,将所述第一加速运动阶段、第三加速运动阶段、所述第一减速运动阶段及所述第三减速运动阶段的持续时间更改为当前运动时间,并将所述第二加速运动阶段、匀速运动阶段及第二减速运动阶段的持续时间更改为零;When it is determined that the mechanical arm is currently in the first acceleration motion phase, changing the durations of the first acceleration motion phase, the third acceleration motion phase, the first deceleration motion phase, and the third deceleration motion phase to a current exercise time, and changing the duration of the second accelerated motion phase, the uniform velocity motion phase, and the second deceleration motion phase to zero;
根据所述当前运动时间对路程、最大速度、加速运动阶段的最大加速度及减速运动阶段的最小减速度这些初始参数进行更改,根据更改后的初始参数生成更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动。And determining, according to the current motion time, the initial parameters of the distance, the maximum speed, the maximum acceleration of the acceleration motion phase, and the minimum deceleration of the deceleration motion phase, generating a changed motion trajectory according to the changed initial parameters, and controlling the mechanism The arm moves with the changed motion trajectory.
优选地,所述根据所述运动臂当前所处的运动阶段更改预定的运动阶段的持续时间及所述初始参数集合中的预定的初始参数,生成更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动,具体为:Preferably, the changing the duration of the predetermined motion phase and the predetermined initial parameter in the initial parameter set according to the motion phase in which the moving arm is currently located, generating a modified motion trajectory, and controlling the robot arm Exercise with the changed motion trajectory, specifically:
当判断所述机械臂当前处于第二加速运动阶段时,将所述第二加速运动阶段及第二减速运动阶段的持续时间更改为t-t1,并将所述匀速运动阶段的持续时间更改为零;其中,t为当前运动时间,t1-t0为预先配置的从开始计时的时刻t0到所述第一加速运动阶段结束的持续时间;When it is determined that the mechanical arm is currently in the second acceleration motion phase, change the duration of the second acceleration motion phase and the second deceleration motion phase to tt 1 and change the duration of the uniform motion phase to zero Where t is the current exercise time, and t 1 -t 0 is a pre-configured duration from the start time t 0 to the end of the first acceleration motion phase;
根据所述当前运动时间t对所述路程及所述最大速度这两个初始参数进行更改,根据更改后的初始参数生成更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动。And modifying the two initial parameters of the distance and the maximum speed according to the current motion time t, generating a changed motion trajectory according to the changed initial parameter, and controlling the robot arm to perform the changed motion trajectory. motion.
优选地,所述根据所述运动臂当前所处的运动阶段更改预定的运动阶段的持续时间及所述初始参数集合中的预定的初始参数,生成更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动,具体为:Preferably, the changing the duration of the predetermined motion phase and the predetermined initial parameter in the initial parameter set according to the motion phase in which the moving arm is currently located, generating a modified motion trajectory, and controlling the robot arm Exercise with the changed motion trajectory, specifically:
当判断所述机械臂当前处于第三加速运动阶段时,将所述匀速运动阶段的持续时间更改为零;When it is determined that the mechanical arm is currently in the third acceleration motion phase, the duration of the uniform motion phase is changed to zero;
根据所述当前运动时间对路程这个初始参数进行更改,根据更改后的初始参数生成更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动。The initial parameter of the route is changed according to the current motion time, the changed motion trajectory is generated according to the changed initial parameter, and the robot arm is controlled to move with the changed motion trajectory.
优选地,所述根据所述运动臂当前所处的运动阶段更改预定的运动阶段的持续时间及所述初始参数集合中的预定的初始参数,生成更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动,具体为:Preferably, the changing the duration of the predetermined motion phase and the predetermined initial parameter in the initial parameter set according to the motion phase in which the moving arm is currently located, generating a modified motion trajectory, and controlling the robot arm Exercise with the changed motion trajectory, specifically:
当判断所述机械臂当前处于匀速运动阶段时,将所述匀速运动阶段的持续时间更改为t-t3;其中,t为当前运动时间,t3-t0为预先配置的从开始计时的时刻t0到所述第三加速运动阶段结束的持续时间;When it is determined that the mechanical arm is currently in a uniform motion phase, the duration of the uniform motion phase is changed to tt 3 ; wherein t is the current motion time, and t 3 -t 0 is a pre-configured time t from the start timing 0 to the duration of the end of the third acceleration motion phase;
根据所述当前运动时间t对所述路程这个初始参数进行更改,根据更改后的初始参数生成更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动。The initial parameter of the path is changed according to the current motion time t, the changed motion track is generated according to the changed initial parameter, and the robot arm is controlled to move with the changed motion track.
优选地,在所述根据预置的起点坐标、终点坐标以及速度曲线算法,控制机械臂以预定的运动轨迹进行运动之前,还包括:Preferably, before the controlling the robot arm to move according to a predetermined motion trajectory according to the preset starting point coordinate, the end point coordinate, and the speed curve algorithm, the method further includes:
基于机械臂的关节参数,生成所述机械臂的工作区域;Generating a working area of the robot arm based on a joint parameter of the robot arm;
根据预先输入的起点的坐标及移动方向生成一条射线,并计算所述射线与所述工作区域的边界的交点,生成交点集合; Generating a ray according to a coordinate and a moving direction of the starting point input in advance, and calculating an intersection of the ray and a boundary of the working area to generate a set of intersection points;
计算所述交点集合内的每个交点与所述起点的距离,获取与最小距离对应的交点的坐标,并将所述交点标记为终点。Calculating a distance between each intersection point in the intersection set and the starting point, acquiring coordinates of an intersection point corresponding to the minimum distance, and marking the intersection point as an end point.
本发明还提供了一种机械臂的运动轨迹规划装置,包括:The invention also provides a motion trajectory planning device for a mechanical arm, comprising:
运动控制单元,用于根据预置的起点坐标、终点坐标以及速度曲线算法,控制机械臂以预定的运动轨迹进行运动;其中,所述速度曲线算法根据预先配置的初始参数集合将所述机械臂的运动轨迹规划为至少两个运动阶段,并为每个运动阶段配置一段持续时间;a motion control unit, configured to control the robot arm to move according to a predetermined motion trajectory according to a preset starting point coordinate, an end point coordinate, and a velocity curve algorithm; wherein the speed curve algorithm is to move the mechanical arm according to a preset initial parameter set The motion trajectory is planned for at least two motion phases, and each motion phase is configured for a duration;
运动时间获取单元,用于当接收到用户发出的停止指令后,获取所述机械臂的当前运动时间,并根据所述当前运动时间t及为每个运动阶段配置的持续时间确定所述机械臂当前所处的运动阶段;a motion time acquisition unit, configured to acquire a current motion time of the robot arm after receiving a stop command issued by a user, and determine the robot arm according to the current motion time t and a duration configured for each motion phase The current stage of exercise;
运动轨迹更改单元,用于根据所述运动臂当前所处的运动阶段更改预定的运动阶段的持续时间及所述初始参数集合中的预定的初始参数,生成更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动。a motion trajectory changing unit, configured to change a duration of a predetermined motion phase and a predetermined initial parameter in the initial parameter set according to a motion phase in which the motion arm is currently in motion, generate a modified motion trajectory, and control the The arm moves with the changed motion trajectory.
优选地,还包括:Preferably, the method further comprises:
工作区域生成单元,用于基于待工作的机械臂的关节参数,生成所述机械臂的工作区域;a work area generating unit, configured to generate a working area of the mechanical arm based on a joint parameter of the mechanical arm to be operated;
交点集合生成单元,用于根据预先输入的起点的坐标及移动方向生成一条射线,并计算所述射线与所述工作区域的边界的交点,生成交点集合;An intersection point generating unit configured to generate a ray according to a coordinate and a moving direction of the starting point input in advance, and calculate an intersection of the ray and a boundary of the working area to generate a set of intersection points;
终点标记单元,用于计算所述交点集合内的每个交点与所述起点的距离,获取与最小距离对应的交点的坐标,并将所述交点标记为终点。An end point marking unit is configured to calculate a distance of each intersection point in the intersection point set from the starting point, acquire coordinates of an intersection point corresponding to the minimum distance, and mark the intersection point as an end point.
本发明还提供了一种机器人,包括上述的机械臂的运动轨迹规划装置。The present invention also provides a robot comprising the above described motion trajectory planning device.
本发明实施例提供的机械臂的运动轨迹规划方法、装置及机器人,当检测到进入减速运动阶段之前接收到用户的停止指令后,则根据当前所处的运动阶段对当前及后续的运动轨迹进行重新规划,使得所述运动臂在保持平稳运动及速度连续的前提下,尽快停止,从而满足用户的使用需求。The method, device and robot for trajectory planning of the robot arm provided by the embodiment of the present invention, after receiving the stop command of the user before detecting the entering the deceleration motion phase, performing current and subsequent motion trajectories according to the current motion phase. Re-planning, so that the moving arm stops as soon as possible while maintaining smooth motion and continuous speed, so as to meet the user's use requirements.
附图说明DRAWINGS
为了更清楚地说明本发明的技术方案,下面将对实施方式中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the present invention, the drawings used in the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention, which are common in the art. For the skilled person, other drawings can be obtained from these drawings without any creative work.
图1是本发明实施例提供的机械臂的运动轨迹规划方法的流程示意图。FIG. 1 is a schematic flow chart of a method for planning a motion trajectory of a mechanical arm according to an embodiment of the present invention.
图2是S形速度曲线算法的运动过程示意图。Figure 2 is a schematic diagram of the motion process of the S-shaped velocity curve algorithm.
图3是S形速度曲线算法的计算原理流程图。Figure 3 is a flow chart of the calculation principle of the S-shaped velocity curve algorithm.
图4是SCARA型机械臂的结构示意图。4 is a schematic structural view of a SCARA type robot arm.
图5是图4所示的SCARA型机械臂在DH坐标系的示意图。Fig. 5 is a schematic view showing the SCARA type robot arm shown in Fig. 4 in a DH coordinate system.
图6是图4所示的SCARA型机械臂的工作区域示意图。Fig. 6 is a schematic view showing the working area of the SCARA type robot arm shown in Fig. 4.
图7是图6所示的工作区域的俯视图。Figure 7 is a plan view of the work area shown in Figure 6.
图8是射线与工作区域的连接示意图。 Figure 8 is a schematic illustration of the connection of the ray to the work area.
图9是本发明实施例提供的通过射线与圆相交测试的优化算法来计算射线与圆的交点的流程示意图。FIG. 9 is a schematic flow chart of calculating an intersection of a ray and a circle by an optimization algorithm of a ray-circle intersection test provided by an embodiment of the present invention.
图10(a)至10(c)是图9所示的优化算法的原理图。10(a) to 10(c) are schematic diagrams of the optimization algorithm shown in Fig. 9.
图11是本发明实施例提供的机械臂的运动轨迹规划装置的结构示意图。FIG. 11 is a schematic structural diagram of a motion trajectory planning apparatus for a mechanical arm according to an embodiment of the present invention.
图12是本发明实施例提供的机械臂的运动轨迹规划装置的另一种结构示意图。FIG. 12 is another schematic structural diagram of a motion trajectory planning device for a mechanical arm according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供一种机械臂的运动轨迹规划方法,可根据用户发出的停止指令实时确定出终点坐标,并提前规划新的运动轨迹。Embodiments of the present invention provide a method for planning a motion trajectory of a mechanical arm, which can determine an end point coordinate in real time according to a stop command issued by a user, and plan a new motion trajectory in advance.
请参阅图1,本发明实施例提供一种机械臂的运动轨迹规划方法流程示意图,其可由机械臂的运动轨迹规划装置(以下简称为运动轨迹规划装置)来执行,并至少包括如下步骤:Referring to FIG. 1 , an embodiment of the present invention provides a schematic flowchart of a method for planning a motion trajectory of a mechanical arm, which may be performed by a motion trajectory planning device of a mechanical arm (hereinafter referred to as a motion trajectory planning device), and includes at least the following steps:
S101,根据预置的起点坐标、终点坐标以及速度曲线算法,控制机械臂以预定的运动轨迹进行运动;其中,所述速度曲线算法根据预先配置的初始参数集合将所述机械臂的运动轨迹规划为至少两个运动阶段,并为每个运动阶段配置一段持续时间。S101. Control a robot arm to move according to a predetermined motion trajectory according to a preset start point coordinate, an end point coordinate, and a speed curve algorithm. wherein the speed curve algorithm plans the motion trajectory of the mechanical arm according to a preset initial parameter set. For at least two phases of motion, and configure a duration for each phase of motion.
在本发明实施例中,机械臂是机器人技术领域中最广泛应用的自动化机械装置,其广泛应用于工业制造、医学治疗、娱乐服务、军事、半导体制造以及太空探索等领域。尽管它们的形态各有不同,但它们都有一个共同的特点,就是能够接受指令,并根据指令精确地定位到三维(或二维)空间上的某一点进行作业。In the embodiment of the present invention, the robot arm is the most widely used automatic mechanical device in the field of robot technology, and is widely used in the fields of industrial manufacturing, medical treatment, entertainment service, military, semiconductor manufacturing, and space exploration. Although they differ in their form, they all share a common feature of being able to accept instructions and accurately position them at a certain point in the three-dimensional (or two-dimensional) space according to the instructions.
在本发明实施例中,机械臂的运动一般都是根据速度曲线算法来控制的,例如,常见的有梯形速度曲线算法、正弦形速度曲线算法以及S形速度曲线算法,其中,S形速度曲线算法由于能够对加速度的变化率进行控制,并且在速度连接处光滑过渡,所以在运行时十分平稳,不会出现震动的现象,因此得到广泛的应用。In the embodiment of the present invention, the movement of the mechanical arm is generally controlled according to a speed curve algorithm, for example, a common trapezoidal velocity curve algorithm, a sinusoidal velocity curve algorithm, and an S-shaped velocity curve algorithm, wherein the S-shaped velocity curve The algorithm is widely used because it can control the rate of change of acceleration and smoothly transition at the speed connection, so it is very stable during operation and does not vibrate.
其中,S型速度曲线算法在运行时,需用户输入初始参数集合(包括路程q1、起点速度v0、起点加速度a0终点速度v1、终点加速度a1,加速运动阶段的最大加速度amax、最大速度vmax、减速运动阶段的最小减速度amin、最大加加速度jmax以及最小加加速度jmin),然后再根据这些初始参数进行运动轨迹的轨迹。如图2所示,一般来说,典型的S型速度曲线算法会将运动轨迹规划为三个运动阶段:加速运动阶段(持续时间Ta)、匀速运动阶段(持续时间为Tv)及减速运动阶段(持续时间Td),更具体地:所述加速运动阶段包括第一加速运动阶段(对应于时间区间[t0,t1),持续时间为Tj1,此时加速度从0逐渐增加到amax)、第二加速运动阶段(对应于时间区间[t1,t2),此时加速度保持不变)及第三加速运动阶段(对应于时间区间[t2,t3),持续时间为Tj1,加速度从amax逐渐减小为0);所述减速运动阶段包括第一减速运动阶段(对应于时间区间[t4,t5),持续时间为Tj2,此时加速度从0逐 渐减小到amin)、第二减速运动阶段(对应于时间区间[t5,t6),此时加速度保持不变)及第三减速运动阶段(对应于时间区间[t6,t7),持续时间为Tj2,此时加速度从amin逐渐增大为0),其中,在加速度加速阶段和加速度减速阶段,相应的加加速度分别为jmax和jmin,且一般地,jmax=-jmin,Tj1=Tj2,amax=aminAmong them, the S-type velocity curve algorithm needs to input the initial parameter set (including the path q 1 , the starting velocity v 0 , the starting acceleration a 0 the ending velocity v 1 , the ending acceleration a 1 , and the maximum acceleration a max in the acceleration motion phase during operation). , the maximum speed v max , the minimum deceleration a min , the maximum jerk j max and the minimum jerk j min ) in the deceleration phase, and then the trajectory of the motion trajectory according to these initial parameters. As shown in Figure 2, in general, the typical S-type velocity curve algorithm will plan the motion trajectory into three motion phases: the acceleration motion phase (duration T a ), the uniform motion phase (duration T v ), and deceleration. Movement phase (duration T d ), more specifically: the acceleration motion phase includes a first acceleration motion phase (corresponding to a time interval [t 0 , t 1 ), the duration is T j1 , and the acceleration is gradually increased from 0 To a max ), the second acceleration motion phase (corresponding to the time interval [t 1 , t 2 ), at which time the acceleration remains unchanged) and the third acceleration motion phase (corresponding to the time interval [t 2 , t 3 ), continuing The time is T j1 , the acceleration gradually decreases from a max to 0); the deceleration motion phase includes a first deceleration motion phase (corresponding to the time interval [t 4 , t 5 ), the duration is T j2 , and the acceleration is from 0 gradually decreases to a min ), the second deceleration phase (corresponding to the time interval [t 5 , t 6 ), at which time the acceleration remains unchanged) and the third deceleration phase (corresponding to the time interval [t 6 , t 7 ), the duration is T j2 , and the acceleration is gradually increased from a min to 0), Wherein, in the acceleration acceleration phase and the acceleration deceleration phase, the corresponding jerk is j max and j min , respectively, and generally, j max =−j min , T j1 =T j2 , a max =a min .
下面将详细介绍S型速度曲线算法进行轨迹规划的过程,其中,为了便于计算,这里取v0=v1=0,a0=a1=0。如图3所示,首先,S型速度曲线算法需先接受用户给出的初始参数,所述初始参数包括:路程q1、起点速度v0、起点加速度a0终点速度v1、终点加速度a1,加速运动阶段的最大加速度amax、最大速度vmax、减速运动阶段的最小减速度amin、最大加加速度jmax以及最小加加速度jmin。接着,S型速度曲线算法根据这些初始参数,判断
Figure PCTCN2016113187-appb-000001
是否成立,若成立,则使用公式(1)来计算具体的时间参数Tj1、Tj2、Ta及Td。若不成立,则使用公式(2)来计算具体的时间参数Tj1、Tj2、Ta及Td。此后,在获得Tj1、Tj2、Ta及Td后,根据公式(3)计算得到的Ta来计算得到Tv。接着,判断Tv>0是否成立,若成立,则使用公式(6)、公式(7)来计算得到最终的t0、t1、t2、t3、t4、t5、t6、t7。若不成立,则进一步判断是否满足
Figure PCTCN2016113187-appb-000002
若满足,则根据公式(4)得到Tv以及新的Ta及Td,并根据公式(6)、公式(7)来计算得到最终的t0、t1、t2、t3、t4、t5、t6、t7。若不满足,则使用公式(5)计算得到Tv以及新的Tj1、Tj2、Ta及Td,并根据公式(6)、公式(7)来计算得到最终的t0、t1、t2、t3、t4、t5、t6、t7。其中公式(1)~(7)的具体形式如下:
The process of trajectory planning by the S-type velocity curve algorithm will be described in detail below. In order to facilitate the calculation, v 0 = v 1 =0, a 0 = a 1 =0 is taken here. As shown in FIG. 3, first, the S-type speed curve algorithm first needs to accept the initial parameters given by the user, including: path q 1 , starting point velocity v 0 , starting point acceleration a 0 end point speed v 1 , end point acceleration a 1. The maximum acceleration a max , the maximum speed v max , the minimum deceleration a min , the maximum jerk j max and the minimum jerk j min of the acceleration motion phase. Then, the S-type velocity curve algorithm judges based on these initial parameters.
Figure PCTCN2016113187-appb-000001
Whether it is established, if it is established, the specific time parameters T j1 , T j2 , T a and T d are calculated using equation (1). If not, the formula (2) is used to calculate the specific time parameters T j1 , T j2 , T a and T d . Thereafter, after T j1 , T j2 , T a , and T d are obtained, T v is calculated according to the T a calculated by the formula (3). Next, it is judged whether T v >0 is established, and if it is established, the final t 0 , t 1 , t 2 , t 3 , t 4 , t 5 , t 6 are calculated using equations (6) and (7). t 7 . If not, further judge whether it is satisfied
Figure PCTCN2016113187-appb-000002
If it is satisfied, T v and new T a and T d are obtained according to formula (4), and the final t 0 , t 1 , t 2 , t 3 , t are calculated according to formula (6) and formula (7). 4 , t 5 , t 6 , t 7 . If not, calculate T v and new T j1 , T j2 , T a and T d using equation (5), and calculate the final t 0 , t 1 according to formula (6) and formula (7). , t 2 , t 3 , t 4 , t 5 , t 6 , t 7 . The specific forms of the formulas (1) to (7) are as follows:
Figure PCTCN2016113187-appb-000003
Figure PCTCN2016113187-appb-000003
Figure PCTCN2016113187-appb-000004
Figure PCTCN2016113187-appb-000004
Figure PCTCN2016113187-appb-000005
Figure PCTCN2016113187-appb-000005
Figure PCTCN2016113187-appb-000006
Figure PCTCN2016113187-appb-000006
Figure PCTCN2016113187-appb-000007
Figure PCTCN2016113187-appb-000007
Figure PCTCN2016113187-appb-000008
Figure PCTCN2016113187-appb-000008
Figure PCTCN2016113187-appb-000009
Figure PCTCN2016113187-appb-000009
在本发明实施例中,在获得如公式(6)、(7)所述的公式或等式后,即可以获得所述机械臂在任意时刻的位置,具体可参考如下的公式(8):In the embodiment of the present invention, after obtaining the formula or the equation as described in the formulas (6), (7), the position of the robot arm at any time can be obtained, and the specific formula (8) can be referred to as follows:
Figure PCTCN2016113187-appb-000010
Figure PCTCN2016113187-appb-000010
S102,当接收到用户发出的停止指令后,获取所述机械臂的当前运动时间,并根据所述当前运动时间及为每个运动阶段配置的持续时间确定所述机械臂当前所处的运动阶段。S102. Acquire a current motion time of the robot arm after receiving a stop command issued by the user, and determine a current motion phase of the robot arm according to the current motion time and a duration configured for each motion phase. .
在本发明实施例中,用户在使用所述机械臂的时候,可能随时根据需要发出停止指令(例如在示教过程中,用户可通过示教盒向机械臂发出停止指令),则当所述运动轨迹规划装置接收到用户发出的停止指令后,获取所述机械臂的当前运动时间t,并根据所述当前运动时间t及所述持续时间(或时间区间)确定所述机械臂当前所处的运动阶段。In the embodiment of the present invention, when the user uses the mechanical arm, the user may issue a stop command as needed (for example, during the teaching, the user can issue a stop command to the robot arm through the teaching box), then After receiving the stop command issued by the user, the motion trajectory planning device acquires the current motion time t of the robot arm, and determines, according to the current motion time t and the duration (or time interval), that the robot arm is currently located. The stage of exercise.
例如,假设所述运动轨迹规划装置检测到当前运行时间为5S,而t3=4s,t4=6S,则可确定当前所处的运动阶段为匀速运动阶段。又例如,假设所述运动轨迹规划装置检测到当前运行时间为2S,而t1=1.5s,t4=3S,则可确定当前所处的运动阶段为第二加速运动阶段。For example, if the motion trajectory planning device detects that the current running time is 5S, and t 3 = 4s, t 4 = 6S, it can be determined that the current motion phase is a uniform motion phase. For another example, if the motion trajectory planning device detects that the current running time is 2S, and t 1 = 1.5 s, t 4 = 3 S, it can be determined that the current motion phase is the second acceleration motion phase.
S103,根据所述运动臂当前所处的运动阶段更改预定的运动阶段的持续时间及所述初始参数集合中的预定的初始参数,生成更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动。S103. Change a duration of a predetermined motion phase and a predetermined initial parameter in the initial parameter set according to a motion phase in which the motion arm is currently in motion, generate a modified motion track, and control the robot arm to be modified. The motion track is moving.
在本发明实施例中,在用户发出停止指令后,所述运动轨迹规划装置需要尽快且保持稳定的情况下尽快停下所述机械臂,为此,所述运动轨迹规划装置需要根据所述运动臂当前所处的运动阶段更改预定的运动阶段的持续时间及所述初始参数集合中的预定的初始参数。In the embodiment of the present invention, after the user issues a stop command, the motion trajectory planning device needs to stop the robot arm as soon as possible and remains stable. For this reason, the motion trajectory planning device needs to be according to the motion. The motion phase in which the arm is currently is changing the duration of the predetermined motion phase and the predetermined initial parameters in the initial set of parameters.
具体地:specifically:
S1031,当判断所述机械臂当前处于第一加速运动阶段时,将所述第一加速运动阶段、第三加速运动阶段、所述第一减速运动阶段及所述第三减速运动阶段的持续时间更改为t,并将所述第二加速运动阶段、匀速运动阶段及第二减速运动阶段的持续时间更改为零。S1031. When it is determined that the mechanical arm is currently in the first acceleration motion phase, the durations of the first acceleration motion phase, the third acceleration motion phase, the first deceleration motion phase, and the third deceleration motion phase Change to t and change the duration of the second acceleration motion phase, the uniform velocity motion phase, and the second deceleration motion phase to zero.
在本发明实施例中,当所述运动轨迹规划装置判断用户在第一加速运动阶段就发出停止指令,即 当前运行时间t<t1时,所述运动轨迹规划装置立即终止第一加速运动阶段,同时为了尽快停止所述机械臂,还将所述第二加速运动阶段、匀速运动阶段及第二减速运动阶段的持续时间更改为零。In the embodiment of the present invention, when the motion trajectory planning device determines that the user issues a stop command during the first acceleration motion phase, that is, the current running time t<t 1 , the motion trajectory planning device immediately terminates the first acceleration motion phase. At the same time, in order to stop the robot arm as soon as possible, the durations of the second acceleration motion phase, the uniform velocity motion phase, and the second deceleration motion phase are also changed to zero.
则此时,各个运动阶段的时间区间变为:所述第一加速运动阶段对应的时间区间为[t0,t1n1),所述第二加速运动阶段对应的时间区间为[t1n1,t2n1),所述第三加速运动阶段对应的时间区间为[t2n1,t3n1),所述匀速运动阶段对应的时间区间为[t3n1,t4n1),所述第一减速运动阶段对应的时间区间为[t4n1,t5n1),所述第二减速运动阶段对应的时间区间为[t5n1,t6n1),所述第三减速运动阶段对应的时间区间更改为[t6n1,t7n1),其中,t0=0,t1n1=t2n1=t,t3n1=t4n1=2t,t5n1=t6n1=3t,t7n1=4t。Then, the time interval of each motion phase becomes: the time interval corresponding to the first acceleration motion phase is [t 0 , t 1n1 ), and the time interval corresponding to the second acceleration motion phase is [t 1n1 , t 2n1 ), the time interval corresponding to the third acceleration motion phase is [t 2n1 , t 3n1 ), and the time interval corresponding to the uniform motion phase is [t 3n1 , t 4n1 ), and the first deceleration phase corresponds to The time interval is [t 4n1 , t 5n1 ), the time interval corresponding to the second deceleration motion phase is [t 5n1 , t 6n1 ), and the time interval corresponding to the third deceleration motion phase is changed to [t 6n1 , t 7n1 ), where t 0 =0, t 1n1 = t 2n1 = t, t 3n1 = t 4n1 = 2t, t 5n1 = t 6n1 = 3t, t 7n1 = 4t.
S1032,根据所述当前运动时间对路程、最大速度、加速运动阶段的最大加速度及减速运动阶段的最小减速度这些初始参数进行更改,根据更改后的初始参数生成更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动。S1032, according to the current motion time, the initial parameters of the path, the maximum speed, the maximum acceleration of the acceleration motion phase, and the minimum deceleration phase of the deceleration motion phase are changed, and the changed motion trajectory is generated according to the changed initial parameters, and the control center is controlled. The robot arm moves with the changed motion trajectory.
其中,将加速运动阶段的最大加速度amax更改为jmax*t,将减速运动阶段的最小减速度amin更改为-jmin*t,将最大速度vmax更改为t*amax,将路程q1更改为t*amax*2t,此后,根据公式(8)即可获得更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动。Wherein, the maximum acceleration a max of the acceleration motion phase is changed to j max *t, the minimum deceleration a min of the deceleration motion phase is changed to -j min *t, and the maximum velocity v max is changed to t*a max q 1 is changed to t*a max *2t, after which the changed motion trajectory can be obtained according to formula (8), and the robot arm is controlled to move with the changed motion trajectory.
具体地:specifically:
S1033,当判断所述机械臂当前处于第二加速运动阶段时,将所述第二加速运动阶段及第二减速运动阶段的持续时间更改为t-t1,并将所述匀速运动阶段的持续时间更改为零。S1033, when it is determined that the mechanical arm is currently in the second acceleration motion phase, change the duration of the second acceleration motion phase and the second deceleration motion phase to tt 1 , and change the duration of the uniform motion phase Zero.
在本发明实施例中,当所述运动轨迹规划装置判断用户在第二加速运动阶段就发出停止指令,此时当前运行时间t满足:t1<t<t2时,所述运动轨迹规划装置立即终止第二加速运动阶段,即将所述第二加速运动阶段,同时为了尽快停止所述机械臂,还将所述第二减速运动阶段的持续时间更改为t-t1,将所述匀速运动阶段更改为零。In the embodiment of the present invention, when the motion trajectory planning device determines that the user issues a stop command during the second acceleration motion phase, when the current running time t satisfies: t 1 <t<t 2 , the motion trajectory planning device Immediately terminating the second acceleration motion phase, that is, the second acceleration motion phase, and in order to stop the robot arm as soon as possible, the duration of the second deceleration motion phase is also changed to tt 1 , and the uniform motion phase is changed. Zero.
则此时,各个运动阶段的时间区间变为:所述第一加速运动阶段对应的时间区间为[t0,t1),所述第二加速运动阶段对应的时间区间为[t1,t),所述第三加速运动阶段对应的时间区间为[t,t3n2),所述匀速运动阶段对应的时间区间为[t3n2,t4n2),所述第一减速运动阶段对应的时间区间为[t4n2,t5n2),所述第二减速运动阶段对应的时间区间为[t5n2,t6n2),所述第三减速运动阶段对应的时间区间更改为[t6n2,t7n2),其中,t0=0,t3n2=t4n2=t+Tj1,t5n2=t4n2+Tj2,t6n2=t5n2+t-t1,t7n2=t6n2+Tj2Then, the time interval of each motion phase becomes: the time interval corresponding to the first acceleration motion phase is [t 0 , t 1 ), and the time interval corresponding to the second acceleration motion phase is [t 1 , t The time interval corresponding to the third acceleration motion phase is [t, t 3n2 ), and the time interval corresponding to the uniform motion phase is [t 3n2 , t 4n2 ), and the time interval corresponding to the first deceleration motion phase [t 4n2 , t 5n2 ), the time interval corresponding to the second deceleration motion phase is [t 5n2 , t 6n2 ), and the time interval corresponding to the third deceleration motion phase is changed to [t 6n2 , t 7n2 ), Where t 0 =0, t 3n2 = t 4n2 = t + T j1 , t 5n2 = t 4n2 + T j2 , t 6n2 = t 5n2 + tt 1 , t 7n2 = t 6n2 + T j2 .
S1034,根据所述当前运动时间t对所述路程q1及所述最大速度vmax这两个初始参数进行更改,根据更改后的初始参数生成更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动。S1034, according to the current motion time t, the two initial parameters of the distance q 1 and the maximum speed v max are changed, the changed motion track is generated according to the changed initial parameter, and the robot arm is controlled. The changed motion track is moved.
其中,更改后的vmax=(T-Tj1)jmaxTj1,更改后的q1=(T-Tj1)amaxT,T=Ta-(t2-t)。Wherein, the changed v max =(TT j1 )j max T j1 , and the changed q 1 =(TT j1 )a max T, T=T a -(t 2 -t).
此后,根据公式(8)即可获得更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动。Thereafter, the changed motion trajectory can be obtained according to formula (8), and the robot arm is controlled to move with the changed motion trajectory.
具体地:specifically:
S1035,当判断所述机械臂当前处于第三加速运动阶段时,将所述匀速运动阶段的持续时间更改 为零。S1035, when it is determined that the mechanical arm is currently in a third acceleration motion phase, changing the duration of the uniform motion phase Zero.
在本发明实施例中,当所述运动轨迹规划装置判断用户在第三加速运动阶段就发出停止指令,此时当前运行时间t满足:t2<t<t3时,为了尽快停止所述机械臂,将所述匀速运动阶段更改为零。In the embodiment of the present invention, when the motion trajectory planning device determines that the user issues a stop command during the third acceleration motion phase, the current running time t satisfies: t 2 <t<t 3 , in order to stop the mechanism as soon as possible The arm changes the uniform motion phase to zero.
则此时,各个运动阶段的时间区间变为:所述第一加速运动阶段对应的时间区间为[t0,t1),所述第二加速运动阶段对应的时间区间为[t1,t2),所述第三加速运动阶段对应的时间区间为[t2,t3),所述匀速运动阶段对应的时间区间为[t3,t4n3),所述第一减速运动阶段对应的时间区间为[t4n3,t5n3),所述第二减速运动阶段对应的时间区间为[t5n3,t6n3),所述第三减速运动阶段对应的时间区间更改为[t6n3,t7n3),其中,t0=0,t4n3=t3,t5n3=t4n3+Tj2,t6n3=t5n3+Td-2Tj2,t7n2=t6n3+Tj2Then, the time interval of each motion phase becomes: the time interval corresponding to the first acceleration motion phase is [t 0 , t 1 ), and the time interval corresponding to the second acceleration motion phase is [t 1 , t 2 ), the time interval corresponding to the third acceleration motion phase is [t 2 , t 3 ), and the time interval corresponding to the uniform motion phase is [t 3 , t 4n3 ), and the first deceleration phase corresponds to The time interval is [t 4n3 , t 5n3 ), the time interval corresponding to the second deceleration motion phase is [t 5n3 , t 6n3 ), and the time interval corresponding to the third deceleration motion phase is changed to [t 6n3 , t 7n3 ), where t 0 =0, t 4n3 = t 3 , t 5n3 = t 4n3 + T j2 , t 6n3 = t 5n3 + T d - 2T j2 , t 7n2 = t 6n3 + T j2 .
S1036,根据所述当前运动时间t对初始参数q1进行更改,根据更改后的初始参数生成更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动。S1036: The initial parameter q 1 is changed according to the current motion time t, the changed motion track is generated according to the changed initial parameter, and the robot arm is controlled to move with the changed motion track.
其中,q1=q1-vmaxTv。此后,根据公式(8)即可获得更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动。Where q 1 =q 1 -v max T v . Thereafter, the changed motion trajectory can be obtained according to formula (8), and the robot arm is controlled to move with the changed motion trajectory.
具体地:specifically:
S1037,当判断所述机械臂当前处于匀速运动阶段时,将所述匀速运动阶段的持续时间更改为t-t3S1037, when it is determined that the mechanical arm is currently in a uniform motion phase, change the duration of the uniform motion phase to tt 3 .
此时,各个运动阶段的时间区间变为:所述第一加速运动阶段对应的时间区间为[t0,t1),所述第二加速运动阶段对应的时间区间为[t1,t2),所述第三加速运动阶段对应的时间区间为[t2,t3),所述匀速运动阶段对应的时间区间为[t3,t),所述第一减速运动阶段对应的时间区间为[t,t5n4),所述第二减速运动阶段对应的时间区间为[t5n4,t6n4),所述第三减速运动阶段对应的时间区间更改为[t6n4,t7n4),其中,t5n4=t+Tj2,t6n4=t5n4+Td-2Tj2,t7n4=t6n4+Tj2At this time, the time interval of each motion phase becomes: the time interval corresponding to the first acceleration motion phase is [t 0 , t 1 ), and the time interval corresponding to the second acceleration motion phase is [t 1 , t 2 The time interval corresponding to the third acceleration motion phase is [t 2 , t 3 ), the time interval corresponding to the uniform motion phase is [t 3 , t), and the time interval corresponding to the first deceleration motion phase For [t, t 5n4 ), the time interval corresponding to the second deceleration motion phase is [t 5n4 , t 6n4 ), and the time interval corresponding to the third deceleration motion phase is changed to [t 6n4 , t 7n4 ), wherein , t 5n4 = t + T j2 , t 6n4 = t 5n4 + T d - 2T j2 , t 7n4 = t 6n4 + T j2 .
S1038,根据所述当前运动时间t对路程q1这个初始参数进行更改,根据更改后的初始参数生成更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动。S1038: The initial parameter of the path q 1 is changed according to the current motion time t, the changed motion track is generated according to the changed initial parameter, and the robot arm is controlled to move with the changed motion track.
其中,更改后的路程q1=q1-vmax[Tv-(t-t3)]。此后,根据公式(8)即可获得更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动。Wherein, the changed path q 1 =q 1 -v max [T v -(tt 3 )]. Thereafter, the changed motion trajectory can be obtained according to formula (8), and the robot arm is controlled to move with the changed motion trajectory.
在本发明实施例中,若是在减速运动阶段接收到用户的停止指令,则不对运动轨迹进行更改。In the embodiment of the present invention, if the user's stop command is received during the deceleration phase, the motion track is not changed.
综上所述,本发明实施例提供的机械臂的运动轨迹规划方法,当检测到进入减速运动阶段之前接收到用户的停止指令后,则根据当前所处的运动阶段对当前及后续的运动轨迹进行重新规划,使得所述运动臂在保持平稳运动及速度连续的前提下,尽快停止,从而满足用户的使用需求。In summary, the method for planning the motion trajectory of the robot arm according to the embodiment of the present invention, after receiving the stop command of the user before detecting the entering the deceleration motion phase, the current and subsequent motion trajectories according to the current motion phase. The re-planning is carried out so that the moving arm stops as soon as possible while maintaining smooth motion and continuous speed, thereby satisfying the user's use requirements.
需要说明的是,上述实施例中,所述速度曲线算法为S型速度曲线算法,但本发明的思想同样可应用于其他的速度曲线算法,特别的,适用于具有多个运动阶段的速度曲线算法,这些方案均在本发明的保护范围之内,在此不做赘述。It should be noted that, in the above embodiment, the speed curve algorithm is an S-type speed curve algorithm, but the idea of the present invention is equally applicable to other speed curve algorithms, and in particular, to a speed curve having multiple motion stages. The algorithms are all within the scope of the present invention and will not be described herein.
需要说明的是,在上述实施例中,在运动前,需要获得终点坐标,再根据起点坐标、运动方向和终点坐标获得路程q1,下面将介绍本发明的一个优选实施例提供的终点坐标的获取方法。It should be noted that, in the above embodiment, before the motion, it is necessary to obtain the coordinates of the end point, and then obtain the path q 1 according to the coordinates of the starting point, the direction of motion and the coordinates of the end point. The coordinates of the end point provided by a preferred embodiment of the present invention will be described below. Get the method.
具体地,可基于如下步骤来获得终点坐标: Specifically, the endpoint coordinates can be obtained based on the following steps:
S01,基于待工作的机械臂的关节参数,生成所述机械臂的工作区域。S01. Generate a working area of the robot arm based on joint parameters of the robot arm to be operated.
一般来说,一个机械臂包括若干个关节,每个关节都具有关节参数,所述关节参数可包括关节类型、臂长(连接两个关节的连接臂的长度)、活动范围等。其中,所述关节类型可包括转动关节及滑动关节,转动关节可控制连接臂的转动,而滑动关节可实现连接臂的垂直滑动。通过不同关节的组合,即可控制所述机械臂的工作区域。具体地,可通过如下步骤来确定所述机械臂的工作区域:In general, a robotic arm includes a plurality of joints, each joint having joint parameters, which may include joint type, arm length (length of the connecting arm connecting the two joints), range of motion, and the like. Wherein, the joint type may include a rotating joint and a sliding joint, the rotating joint may control the rotation of the connecting arm, and the sliding joint may realize the vertical sliding of the connecting arm. The working area of the robot arm can be controlled by a combination of different joints. Specifically, the working area of the robot arm can be determined by the following steps:
S011,根据机械臂的关节类型及关节之间的相对位置关系,基于DH坐标系建立生成每个关节的坐标系。S011, according to the joint type of the robot arm and the relative positional relationship between the joints, a coordinate system for generating each joint is established based on the DH coordinate system.
如图4所示,以SCARA(Selective Compliant Articulated Robot for Assembly)型机械臂为例,其具有4个关节J1,J2,J3,J4,其中J1,J2,J4为转动关节,且J1与J2,J2与J4通过相应的连接臂进行连接,而J3为滑动关节。当然,应当理解的是,本发明还可应用于其他类型的机械臂,在此不做赘述。As shown in FIG. 4, a SCARA (Selective Compliant Articulated Robot for Assembly) type robot arm is exemplified, which has four joints J1, J2, J3, and J4, wherein J1, J2, and J4 are rotating joints, and J1 and J2, J2 and J4 are connected by corresponding connecting arms, and J3 is a sliding joint. Of course, it should be understood that the present invention is also applicable to other types of robot arms, and details are not described herein.
在确定上述关节后,需要针对每个关节建立坐标系,如图5所示,可基于DH(Denavit-Hartenberg)坐标系来建立每个关节的坐标系,其中转动关节Ji的转动轴与各自的zi轴(转动关节Ji的连接臂绕zi轴转动)互相平行,连接臂的臂长为αi,{i|i∈{1,2,4}};滑动关节J3的轴(z3轴)跟J4的轴(z4轴)平行。在确定出zi轴后,可用第一个关节指向第二个关节的方向作为xi方向,而yi的方向可基于右手定则来确定,如此,即生成了每个关节的坐标系。After determining the above joints, it is necessary to establish a coordinate system for each joint. As shown in FIG. 5, a coordinate system of each joint can be established based on the DH (Denavit-Hartenberg) coordinate system, wherein the rotational axes of the rotating joints Ji and their respective The zi axis (the connecting arm of the rotating joint Ji rotates around the zi axis) is parallel to each other, the arm length of the connecting arm is αi, {i|i∈{1, 2, 4}}; the axis of the sliding joint J3 (z3 axis) and J4 The axes (z4 axes) are parallel. After the zi axis is determined, the direction of the first joint pointing to the second joint can be used as the xi direction, and the direction of yi can be determined based on the right hand rule, thus, the coordinate system of each joint is generated.
S012,根据每个关节的坐标系、每个关节的活动范围及关节之间的臂长,生成所述机械臂的工作区域。S012, generating a working area of the robot arm according to a coordinate system of each joint, an active range of each joint, and an arm length between the joints.
在本发明实施例中,在生成每个关节的坐标系后,根据每个关节的活动范围(对于转动关节,其活动范围为其连接臂转动的转动角范围,对于滑动关节,其活动范围为其连接臂的上下运动范围),即可生成所述机械臂的工作区域(如图6所示),此时,只需在平面进行投影即可生成如图7所示的俯视图。In the embodiment of the present invention, after generating the coordinate system of each joint, according to the range of motion of each joint (for the rotating joint, the range of motion is the range of the angle of rotation of the connecting arm rotation, and for the sliding joint, the range of motion is The working range of the arm can be generated by the upper and lower movement range of the connecting arm (as shown in FIG. 6). In this case, a plan view as shown in FIG. 7 can be generated by simply projecting on the plane.
S02,根据预先输入的起点的坐标及移动方向生成一条射线,并计算所述射线与所述工作区域的边界的交点,生成交点集合。S02: Generate a ray according to the coordinates and the moving direction of the starting point input in advance, and calculate an intersection of the ray and the boundary of the working area to generate a set of intersection points.
具体的,可包括:Specifically, it may include:
S021,将所述工作区域分解为至少两段弧线,获取每段弧线的圆心、半径及圆心角范围,并生成与每段弧线对应的圆的方程。S021: Decompose the working area into at least two arcs, obtain a circle center, a radius, and a central angle range of each arc, and generate an equation of a circle corresponding to each arc.
从图7中可以看出,所述机械臂的工作区域是由
Figure PCTCN2016113187-appb-000011
四段弧线所围成。而这四段弧线分别位于⊙O1,⊙O2,⊙O3,⊙O4四个圆上。圆心O1,O4与J1轴重合;O2和O3分别为J1轴转动到正负极限时J2轴的位置。
Figure PCTCN2016113187-appb-000012
Figure PCTCN2016113187-appb-000013
分别是轴Ji的正/负方向的最大活动范围,
Figure PCTCN2016113187-appb-000014
{ji|-π≤ji≤π}。
As can be seen from Figure 7, the working area of the robot arm is
Figure PCTCN2016113187-appb-000011
Four arcs are enclosed. The four arcs are located on four circles: ⊙O 1 , ⊙O 2 , ⊙O 3 , ⊙O 4 . The center O 1 , O 4 coincides with the J 1 axis; O 2 and O 3 are the positions of the J 2 axis when the J 1 axis is rotated to the positive and negative limits, respectively.
Figure PCTCN2016113187-appb-000012
with
Figure PCTCN2016113187-appb-000013
The maximum range of motion in the positive/negative direction of the axis J i , respectively
Figure PCTCN2016113187-appb-000014
{j i | -π≤j i ≤π} .
这四段弧线的详细参数可参照表1所示:The detailed parameters of these four arcs can be seen in Table 1:
表1 Table 1
Figure PCTCN2016113187-appb-000015
Figure PCTCN2016113187-appb-000015
其中:among them:
Figure PCTCN2016113187-appb-000016
Figure PCTCN2016113187-appb-000016
S022,根据预先输入的起点的坐标及移动方向生成一条射线,计算所述射线与每个圆的交点。S022, generating a ray according to the coordinates and the moving direction of the starting point input in advance, and calculating an intersection of the ray and each circle.
在本发明实施例中,假设起点为I,方向向量为n,||n||为方向向量n的单位向量。则此时射线可表示为R(u)=I+u·||n||。In the embodiment of the present invention, it is assumed that the starting point is I, the direction vector is n, and ||n|| is a unit vector of the direction vector n. Then the ray can be expressed as R(u)=I+u·||n||.
如果起点I位于工作区域内,则射线R(u)必与某圆⊙Oi有交点
Figure PCTCN2016113187-appb-000017
If the starting point I is in the working area, the ray R(u) must intersect with a circle ⊙O i
Figure PCTCN2016113187-appb-000017
其中,在计算交点时,可通过将射线R(u)的方程依次与每个圆的方程进行联立,在利用参数方程法求解获得。Wherein, when calculating the intersection point, the equation of the ray R(u) can be sequentially connected with the equation of each circle, and obtained by using the parametric equation method.
S023,计算所述交点在所述交点所在的圆上的弧度角,并在所述弧度角位于所述圆心角范围内时,确定所述交点位于所述弧线上,将所述交点存入预设的集合,生成交点集合。S023, calculating an arc angle of the intersection point on a circle where the intersection point is located, and when the arc angle angle is within the circle center angle range, determining that the intersection point is located on the arc, and depositing the intersection point A preset collection that generates a collection of intersections.
在本发明实施例中,上述求得的交点中,有些虽然与圆相交,但是并没有位于弧线上,因而需要去除。具体地,如图8所示,射线IP分别与⊙O1相交于点N;与⊙O2相交于点K和点M;与⊙O4相交于点J和点L;与⊙O3没有交点。其中,点K,N虽然在圆上,但是并不在围成所述工作区域的弧线上,所以在得到交点后,还要查看所述交点的弧度角θi是否满足
Figure PCTCN2016113187-appb-000018
In the embodiment of the present invention, some of the intersections obtained above intersect with the circle, but are not located on the arc, and thus need to be removed. Specifically, as shown in FIG. 8, the ray IP intersects ⊙O 1 at point N, respectively; ⊙O 2 intersects at point K and point M; ⊙O 4 intersects point J and point L; and ⊙O 3 does not Intersection. Wherein, the points K, N are on the circle, but are not on the arc of the working area, so after obtaining the intersection point, it is also necessary to check whether the arc angle θ i of the intersection point satisfies
Figure PCTCN2016113187-appb-000018
具体地,假设点s(x,y)是⊙Oi上的一个点,则点s相对于⊙Oi的弧度角θi为:Specifically, assuming that the point s (x, y) is a point on ⊙O i, with respect to the point s ⊙O i θ i is the angle in radians:
Figure PCTCN2016113187-appb-000019
Figure PCTCN2016113187-appb-000019
通过上述公式就可以确定哪些交点是在弧线上,哪些不在。此时,将那些位于弧线上的交点存入预设的集合ξ={ki}中,生成交点集合。Through the above formula, you can determine which intersections are on the arc and which are not. At this point, those intersections located on the arc are stored in the preset set ξ={k i } to generate a set of intersections.
需要说明的是,在本发明的其他实施例中,所述工作区域并不一定是由圆的弧线组成。例如,所述工作区域可能由椭圆的弧线组成或者由不同类型的几何形状的弧线混合组成,此时,同理,可获得这些弧线对应的几何形状的方程及角度范围,再通过上述的方法即可计算生成交点集合,这些技术方案均在本发明的保护范围之内,在此不做赘述。It should be noted that, in other embodiments of the present invention, the working area does not necessarily consist of an arc of a circle. For example, the working area may be composed of an elliptical arc or a mixture of arcs of different types of geometric shapes. At this time, similarly, the equations and angular ranges of the geometric shapes corresponding to the arcs may be obtained, and then The method can be used to calculate and generate a set of intersection points. These technical solutions are all within the scope of the present invention and will not be described herein.
S03,计算所述交点集合内的每个交点与所述起点的距离,获取与最小距离对应的交点的坐标, 并将所述交点标记为终点。S03. Calculate a distance between each intersection point in the intersection set and the starting point, and obtain coordinates of an intersection point corresponding to the minimum distance. The intersection is marked as the end point.
在本发明实施例中,可通过欧拉公式计算得到每个交点与所述起点I的距离,然后对计算得到的每个距离进行比较,获取与最小距离对应的交点的坐标,并将所述交点标记为终点,此时,即得到所需的工作区域的边界。In the embodiment of the present invention, the distance between each intersection point and the starting point I can be calculated by the Euler formula, and then each calculated distance is compared, and the coordinates of the intersection point corresponding to the minimum distance are obtained, and the The intersection point is marked as the end point, at which point the boundary of the desired work area is obtained.
综上所述,在本优选实施例中,通过生成所述机械臂的工作区域,再计算由预先输入的起点的坐标及移动方向生成的射线与工作区域的边界的交点,并获取与起点具有最小距离的交点的坐标,获得与所述起点及移动方向相应的终点。本发明基于几何的方法来确定机械臂工作区域的边界因此机器人在运动前就可以提前知道终点的位置,方便机器人进行运动轨迹的规划。In summary, in the preferred embodiment, by generating the working area of the robot arm, the intersection of the ray generated by the coordinates and the moving direction of the starting point input in advance and the boundary of the working area is calculated, and the acquisition and the starting point have The coordinates of the intersection of the minimum distances are obtained at the end points corresponding to the starting point and the moving direction. The invention is based on a geometric method to determine the boundary of the working area of the robot arm, so that the robot can know the position of the end point in advance before the movement, so that the robot can plan the motion trajectory.
优选地,针对步骤S022,在生成所述射线后,可以使用传统的参数方程法求交点,也可以使用
Figure PCTCN2016113187-appb-000020
等提出的基于射线与圆相交测试的优化算法来计算所述射线与每个圆的交点。
Preferably, for step S022, after the ray is generated, a conventional parametric equation method may be used to find an intersection point, or may be used.
Figure PCTCN2016113187-appb-000020
An optimization algorithm based on the ray and circle intersection test is proposed to calculate the intersection of the ray and each circle.
具体地,如图9所示,设射线的参数方程为R(u)=I+u·||n||,其中||n||是单位长度。如图10(a)所示,首先计算出从起点I出发到圆心Oi的向量
Figure PCTCN2016113187-appb-000021
向量
Figure PCTCN2016113187-appb-000022
的长度
Figure PCTCN2016113187-appb-000023
以及向量
Figure PCTCN2016113187-appb-000024
沿着||n||方向的投影
Figure PCTCN2016113187-appb-000025
Figure PCTCN2016113187-appb-000026
且l<0,则说明起点位于⊙Oi外,且射线的方向沿远离⊙Oi方向延伸,因此所述射线与⊙Oi不相交(如图10(b)所示),此时完成第一次排除测试。否则,利用勾股定理计算出圆心Oi与投影之间距离的平方:m2=a2-l2,若
Figure PCTCN2016113187-appb-000027
则可以判定射线与圆Oi一定不相交,完成第二次排除测试。如果射线和⊙Oi经过两次排除测试,则就可以判定它们一定相交。接下来,计算射线与⊙Oi的交点:首先,计算出距离
Figure PCTCN2016113187-appb-000028
然后判断起点I是否位于⊙Oi内,若
Figure PCTCN2016113187-appb-000029
则说明起点I位于⊙Oi外,此时,所述射线与圆Oi有两个交点,分别为
Figure PCTCN2016113187-appb-000030
以及
Figure PCTCN2016113187-appb-000031
Figure PCTCN2016113187-appb-000032
(如图10(a)所示)。若
Figure PCTCN2016113187-appb-000033
则说明起点I位于圆Oi内,此时,所述射线与圆Oi有一个交点,为I+(l+q)·||n||(如图10(c)所示)。
Specifically, as shown in FIG. 9, the parameter equation of the ray is R(u)=I+u·||n||, where ||n|| is a unit length. As shown in Fig. 10(a), first calculate the vector from the starting point I to the center of the circle O i
Figure PCTCN2016113187-appb-000021
vector
Figure PCTCN2016113187-appb-000022
length
Figure PCTCN2016113187-appb-000023
And vector
Figure PCTCN2016113187-appb-000024
Projection along the ||n|| direction
Figure PCTCN2016113187-appb-000025
If
Figure PCTCN2016113187-appb-000026
And l<0, it means that the starting point is outside ⊙O i , and the direction of the ray extends away from the ⊙O i direction, so the ray does not intersect with ⊙O i (as shown in FIG. 10( b )), and the completion is completed. The first exclusion test. Otherwise, use the Pythagorean theorem to calculate the square of the distance between the center of the circle O i and the projection: m 2 = a 2 - l 2 , if
Figure PCTCN2016113187-appb-000027
It can be determined that the ray and the circle O i must not intersect, and the second exclusion test is completed. If the ray and ⊙O i are subjected to two exclusion tests, it can be determined that they must intersect. Next, calculate the intersection of the ray and ⊙O i : first, calculate the distance
Figure PCTCN2016113187-appb-000028
Then determine whether the starting point I is located in ⊙O i , if
Figure PCTCN2016113187-appb-000029
Then, the starting point I is located outside the ⊙O i . At this time, the ray has two intersections with the circle O i , respectively
Figure PCTCN2016113187-appb-000030
as well as
Figure PCTCN2016113187-appb-000031
Figure PCTCN2016113187-appb-000032
(As shown in Figure 10 (a)). If
Figure PCTCN2016113187-appb-000033
Then, the starting point I is located in the circle O i . At this time, the ray has an intersection with the circle O i , which is I+(l+q)·||n|| (as shown in FIG. 10(c)).
本优选方案中,在计算射线与圆的交点之前,先通过两次测试判断射线与圆是否有交点,在计算时,仅计算与射线有交点的圆,而不需要对那些与射线没有交点的圆进行计算,如此,减小了计算量,提升了计算效率。In the preferred embodiment, before calculating the intersection of the ray and the circle, it is first determined whether there is an intersection of the ray and the circle by two tests. In the calculation, only the circle having the intersection with the ray is calculated, and there is no need for those points that do not intersect with the ray. The circle is calculated, thus reducing the amount of calculation and improving the calculation efficiency.
请一并参阅图11,图11是本发明实施例提供的一种机械臂的运动轨迹规划装置100,其包括:Referring to FIG. 11 together, FIG. 11 is a motion trajectory planning apparatus 100 for a mechanical arm according to an embodiment of the present invention, which includes:
运动控制单元10,用于根据预置的起点坐标、终点坐标以及速度曲线算法,控制机械臂以预定的运动轨迹进行运动;其中,所述速度曲线算法根据预先配置的初始参数集合将所述机械臂的运动轨迹规划为至少两个运动阶段,并为每个运动阶段配置一段持续时间。a motion control unit 10, configured to control the robot arm to move according to a predetermined motion trajectory according to preset start point coordinates, an end point coordinate, and a speed curve algorithm; wherein the speed curve algorithm is to move the machine according to a preset initial parameter set The trajectory of the arm is planned for at least two phases of motion and a duration is configured for each phase of motion.
运动时间获取单元20,用于当接收到用户发出的停止指令后,获取所述机械臂的当前运动时间t,并根据所述当前运动时间t及为每个运动阶段配置的持续时间确定所述机械臂当前所处的运动阶段。The motion time acquisition unit 20 is configured to acquire a current motion time t of the robot arm after receiving a stop command issued by the user, and determine the current motion time t and the duration configured for each motion phase. The current stage of motion of the robotic arm.
运动轨迹更改单元30,用于根据所述运动臂当前所处的运动阶段更改预定的运动阶段的持续时间及所述初始参数集合中的预定的初始参数,生成更改后的运动轨迹,并控制所述机械臂以更改后的运 动轨迹进行运动。a motion trajectory changing unit 30, configured to change a duration of a predetermined motion phase and a predetermined initial parameter in the initial parameter set according to a motion phase in which the motion arm is currently located, generate a modified motion trajectory, and control the Mechanical arm The trajectory moves.
具体为:Specifically:
当所述运动轨迹更改单元30判断所述机械臂当前处于第一加速运动阶段时,将所述第一加速运动阶段、第三加速运动阶段、所述第一减速运动阶段及所述第三减速运动阶段的持续时间更改为t,并将所述第二加速运动阶段、匀速运动阶段及第二减速运动阶段的持续时间更改为零;此后,根据所述当前运动时间t对初始参数amax、amin、vmax及q1进行更改,根据更改后的初始参数生成更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动。When the motion trajectory changing unit 30 determines that the mechanical arm is currently in the first acceleration motion phase, the first acceleration motion phase, the third acceleration motion phase, the first deceleration motion phase, and the third deceleration The duration of the motion phase is changed to t, and the durations of the second acceleration motion phase, the uniform motion phase, and the second deceleration phase are changed to zero; thereafter, based on the current motion time t, the initial parameter a max , a min , v max and q 1 are changed, the changed motion trajectory is generated according to the changed initial parameters, and the robot arm is controlled to move with the changed motion trajectory.
具体地:specifically:
当所述运动轨迹更改单元30判断所述机械臂当前处于第二加速运动阶段时,将所述第二加速运动阶段及第二减速运动阶段的持续时间更改为t-t2,并将所述匀速运动阶段的持续时间更改为零,此后,根据所述当前运动时间t对初始参数vmax及q1进行更改,根据更改后的初始参数生成更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动。When the motion trajectory changing unit 30 determines that the mechanical arm is currently in the second acceleration motion phase, change the duration of the second acceleration motion phase and the second deceleration motion phase to tt 2 , and move the uniform motion The duration of the phase is changed to zero. Thereafter, the initial parameters v max and q 1 are changed according to the current motion time t, the changed motion trajectory is generated according to the changed initial parameters, and the robot arm is controlled to be changed. The motion track is moving.
具体地:specifically:
当所述运动轨迹更改单元30判断所述机械臂当前处于第三加速运动阶段时,将所述匀速运动阶段的持续时间更改为零;When the motion trajectory changing unit 30 determines that the mechanical arm is currently in the third acceleration motion phase, the duration of the uniform motion phase is changed to zero;
根据所述当前运动时间t对初始参数q1进行更改,根据更改后的初始参数生成更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动。The initial parameter q 1 is changed according to the current motion time t, the changed motion trajectory is generated according to the changed initial parameter, and the robot arm is controlled to move with the changed motion trajectory.
具体地:specifically:
当所述运动轨迹更改单元30判断所述机械臂当前处于匀速运动阶段时,将所述匀速运动阶段的持续时间更改为t-t3When the motion track changing unit 30 determines that the mechanical arm is currently in a uniform motion phase, change the duration of the uniform motion phase to tt 3 ;
根据所述当前运动时间t对初始参数q1进行更改,根据更改后的初始参数生成更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动。The initial parameter q 1 is changed according to the current motion time t, the changed motion trajectory is generated according to the changed initial parameter, and the robot arm is controlled to move with the changed motion trajectory.
本发明实施例提供的机械臂的运动轨迹规划装置100,当检测到进入减速运动阶段之前接收到用户的停止指令后,则根据当前所处的运动阶段对当前及后续的运动轨迹进行重新规划,使得所述运动臂在保持平稳运动及速度连续的前提下,尽快停止,从而满足用户的使用需求。The motion trajectory planning apparatus 100 of the robot arm according to the embodiment of the present invention re-plans the current and subsequent motion trajectories according to the current motion stage after receiving the user's stop command before detecting the entering the deceleration motion phase. The moving arm is stopped as soon as possible while maintaining smooth motion and continuous speed, thereby satisfying the user's use requirements.
请一并参阅图12,需要说明的是,在本发明实施例中,为了获得所述机械臂的终点坐标,所述机械臂的运动轨迹规划装置还包括:Referring to FIG. 12, it should be noted that, in the embodiment of the present invention, in order to obtain the end point coordinates of the mechanical arm, the motion trajectory planning device of the mechanical arm further includes:
工作区域生成单元40,用于基于待工作的机械臂的关节参数,生成所述机械臂的工作区域。The work area generating unit 40 is configured to generate a working area of the mechanical arm based on joint parameters of the mechanical arm to be operated.
交点集合生成单元50,用于根据预先输入的起点的坐标及移动方向生成一条射线,并计算所述射线与所述工作区域的边界的交点,生成交点集合。The intersection point generation unit 50 is configured to generate a ray according to the coordinates and the movement direction of the start point input in advance, and calculate an intersection of the ray and the boundary of the work area to generate an intersection set.
终点标记单元60,用于计算所述交点集合内的每个交点与所述起点的距离,获取与最小距离对应的交点的坐标,并将所述交点标记为终点。 The end point marking unit 60 is configured to calculate a distance between each intersection point in the intersection point set and the starting point, acquire coordinates of an intersection point corresponding to the minimum distance, and mark the intersection point as an end point.
本发明实施例提供中,通过工作区域生成单元40生成所述机械臂的工作区域,交点集合生成单元50再计算由预先输入的起点的坐标及移动方向生成的射线与工作区域的边界的交点,所述终点标记单元60获取与起点具有最小距离的交点的坐标,获得与所述起点及移动方向相应的终点,再根据所述起点、终点及预设的轨迹规划算法进行运动轨迹的规划。本发明基于几何的方法来确定机械臂工作区域的边界因此机器人在运动前就可以提前知道终点的位置,方便机器人进行运动轨迹的规划。In the embodiment of the present invention, the working area generating unit 40 generates the working area of the robot arm, and the intersection point generating unit 50 calculates the intersection of the ray generated by the coordinates and the moving direction of the starting point input in advance and the boundary of the working area. The end point marking unit 60 acquires the coordinates of the intersection point having the smallest distance from the starting point, obtains the end point corresponding to the starting point and the moving direction, and then performs the planning of the motion trajectory according to the starting point, the ending point and the preset trajectory planning algorithm. The invention is based on a geometric method to determine the boundary of the working area of the robot arm, so that the robot can know the position of the end point in advance before the movement, so that the robot can plan the motion trajectory.
本发明还提供一种机器人,包括上述的机械臂的运动轨迹规划装置100。The present invention also provides a robot comprising the above described motion trajectory planning apparatus 100.
本发明实施例提供的机器人,当检测到进入减速运动阶段之前接收到用户的停止指令后,则根据当前所处的运动阶段对当前及后续的运动轨迹进行重新规划,使得所述运动臂在保持平稳运动及速度连续的前提下,尽快停止,从而满足用户的使用需求。The robot provided by the embodiment of the present invention, after receiving the stop command of the user before detecting the entering the deceleration motion phase, re-plans the current and subsequent motion trajectories according to the current motion phase, so that the motion arm is maintained. Under the premise of smooth motion and continuous speed, stop as soon as possible to meet the user's needs.
本发明实施例提供的机器人,若是在进入减速运动阶段之前接收到用户的停止指令后,则对整个运动轨迹进行重新规划,使得所述运动臂在保持平稳运动及速度连续的前提下,尽快停止,从而满足用户的使用需求。 The robot provided by the embodiment of the present invention re-plans the entire motion trajectory after receiving the stop command of the user before entering the deceleration motion phase, so that the motion arm stops as soon as possible while maintaining smooth motion and continuous speed. In order to meet the user's needs.

Claims (10)

  1. 一种机械臂的运动轨迹规划方法,其特征在于,包括如下步骤:A method for planning a motion trajectory of a mechanical arm, comprising the steps of:
    根据预置的起点坐标、终点坐标以及速度曲线算法,控制机械臂以预定的运动轨迹进行运动;其中,所述速度曲线算法根据预先配置的初始参数集合将所述机械臂的运动轨迹规划为至少两个运动阶段,并为每个运动阶段配置一段持续时间;Controlling the robot arm to move according to a predetermined motion trajectory according to preset start point coordinates, end point coordinates, and speed curve algorithm; wherein the speed curve algorithm plans the motion trajectory of the arm according to a preset initial parameter set to at least Two phases of motion and a duration for each phase of motion;
    当接收到用户发出的停止指令后,获取所述机械臂的当前运动时间,并根据所述当前运动时间及为每个运动阶段配置的持续时间确定所述机械臂当前所处的运动阶段;Obtaining a current motion time of the robot arm after receiving a stop command issued by the user, and determining a current motion phase of the robot arm according to the current motion time and a duration configured for each motion phase;
    根据所述运动臂当前所处的运动阶段更改预定的运动阶段的持续时间及所述初始参数集合中的预定的初始参数,生成更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动。Generating a modified motion trajectory according to a duration of the motion stage in which the moving arm is currently in motion and a predetermined initial parameter in the initial parameter set, and controlling the mechanical arm to change motion The trajectory moves.
  2. 根据权利要求1所述的机械臂的运动轨迹规划方法,其特征在于,所述速度曲线算法为S型速度曲线算法,则所述初始参数集合至少包括路程、加速运动阶段的最大加速度、最大速度、减速运动阶段的最小减速度、最大加加速度以及最小加加速度这些初始参数;所述运动阶段包括加速运动阶段、匀速运动阶段及减速运动阶段,所述加速运动阶段包括第一加速运动阶段、第二加速运动阶段及第三加速运动阶段;所述减速运动阶段包括第一减速运动阶段、第二减速运动阶段及第三减速运动阶段。The method for planning a trajectory of a robot arm according to claim 1, wherein the speed curve algorithm is an S-type speed curve algorithm, and the initial parameter set includes at least a maximum acceleration and a maximum speed of the path and the acceleration phase. The initial parameters of the minimum deceleration, the maximum jerk, and the minimum jerk of the deceleration motion phase; the motion phase includes an acceleration motion phase, a uniform motion phase, and a deceleration motion phase, where the acceleration motion phase includes a first acceleration motion phase, The second acceleration motion phase and the third acceleration motion phase include: a first deceleration motion phase, a second deceleration motion phase, and a third deceleration motion phase.
  3. 根据权利要求2所述的机械臂的运动轨迹规划方法,其特征在于,所述根据所述运动臂当前所处的运动阶段更改预定的运动阶段的持续时间及所述初始参数集合中的预定的初始参数,生成更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动,具体为:The method of planning a trajectory of a robot arm according to claim 2, wherein said changing a duration of a predetermined motion phase and a predetermined one of said initial parameter sets according to a motion phase in which said arm is currently in motion The initial parameter generates a changed motion trajectory and controls the robot arm to move with the changed motion trajectory, specifically:
    当判断所述机械臂当前处于第一加速运动阶段时,将所述第一加速运动阶段、第三加速运动阶段、所述第一减速运动阶段及所述第三减速运动阶段的持续时间更改为当前运动时间,并将所述第二加速运动阶段、匀速运动阶段及第二减速运动阶段的持续时间更改为零;When it is determined that the mechanical arm is currently in the first acceleration motion phase, changing the durations of the first acceleration motion phase, the third acceleration motion phase, the first deceleration motion phase, and the third deceleration motion phase to a current exercise time, and changing the duration of the second accelerated motion phase, the uniform velocity motion phase, and the second deceleration motion phase to zero;
    根据所述当前运动时间对所述路程、所述最大速度、所述加速运动阶段的最大加速度及所述减速运动阶段的最小减速度这些初始参数进行更改,根据更改后的初始参数生成更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动。And changing, according to the current movement time, the initial parameters of the distance, the maximum speed, the maximum acceleration of the acceleration motion phase, and the minimum deceleration of the deceleration motion phase, and generating the changed according to the changed initial parameters. Motion trajectory, and control the robot arm to move with the changed motion trajectory.
  4. 根据权利要求2所述的机械臂的运动轨迹规划方法,其特征在于,所述根据所述运动臂当前所处的运动阶段更改预定的运动阶段的持续时间及所述初始参数集合中的预定的初始参数,生成更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动,具体为:The method of planning a trajectory of a robot arm according to claim 2, wherein said changing a duration of a predetermined motion phase and a predetermined one of said initial parameter sets according to a motion phase in which said arm is currently in motion The initial parameter generates a changed motion trajectory and controls the robot arm to move with the changed motion trajectory, specifically:
    当判断所述机械臂当前处于第二加速运动阶段时,将所述第二加速运动阶段及第二减速运动阶段的持续时间更改为t-t1,并将所述匀速运动阶段的持续时间更改为零;其中,t为当前运动时间,t1-t0为预先配置的从开始计时的时刻t0到所述第一加速运动阶段结束的持续时间; When it is determined that the mechanical arm is currently in the second acceleration motion phase, change the duration of the second acceleration motion phase and the second deceleration motion phase to tt 1 and change the duration of the uniform motion phase to zero Where t is the current exercise time, and t 1 -t 0 is a pre-configured duration from the start time t 0 to the end of the first acceleration motion phase;
    根据所述当前运动时间t对所述路程及所述最大速度这两个初始参数进行更改,根据更改后的初始参数生成更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动。And modifying the two initial parameters of the distance and the maximum speed according to the current motion time t, generating a changed motion trajectory according to the changed initial parameter, and controlling the robot arm to perform the changed motion trajectory. motion.
  5. 根据权利要求2所述的机械臂的运动轨迹规划方法,其特征在于,所述根据所述运动臂当前所处的运动阶段更改预定的运动阶段的持续时间及所述初始参数集合中的预定的初始参数,生成更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动,具体为:The method of planning a trajectory of a robot arm according to claim 2, wherein said changing a duration of a predetermined motion phase and a predetermined one of said initial parameter sets according to a motion phase in which said arm is currently in motion The initial parameter generates a changed motion trajectory and controls the robot arm to move with the changed motion trajectory, specifically:
    当判断所述机械臂当前处于第三加速运动阶段时,将所述匀速运动阶段的持续时间更改为零;When it is determined that the mechanical arm is currently in the third acceleration motion phase, the duration of the uniform motion phase is changed to zero;
    根据所述当前运动时间对所述路程这个初始参数进行更改,根据更改后的初始参数生成更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动。The initial parameter of the path is changed according to the current motion time, the changed motion track is generated according to the changed initial parameter, and the robot arm is controlled to move with the changed motion track.
  6. 根据权利要求2所述的机械臂的运动轨迹规划方法,其特征在于,所述根据所述运动臂当前所处的运动阶段更改预定的运动阶段的持续时间及所述初始参数集合中的预定的初始参数,生成更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动,具体为:The method of planning a trajectory of a robot arm according to claim 2, wherein said changing a duration of a predetermined motion phase and a predetermined one of said initial parameter sets according to a motion phase in which said arm is currently in motion The initial parameter generates a changed motion trajectory and controls the robot arm to move with the changed motion trajectory, specifically:
    当判断所述机械臂当前处于匀速运动阶段时,将所述匀速运动阶段的持续时间更改为t-t3;其中,t为当前运动时间,t3-t0为预先配置的从开始计时的时刻t0到所述第三加速运动阶段结束的持续时间;When it is determined that the mechanical arm is currently in a uniform motion phase, the duration of the uniform motion phase is changed to tt 3 ; wherein t is the current motion time, and t 3 -t 0 is a pre-configured time t from the start timing 0 to the duration of the end of the third acceleration motion phase;
    根据所述当前运动时间t对所述路程这个初始参数进行更改,根据更改后的初始参数生成更改后的运动轨迹,并控制所述机械臂以更改后的运动轨迹进行运动。The initial parameter of the path is changed according to the current motion time t, the changed motion track is generated according to the changed initial parameter, and the robot arm is controlled to move with the changed motion track.
  7. 根据权利要求1至6任意一项所述的机械臂的运动轨迹规划方法,其特征在于,在所述根据预置的起点坐标、终点坐标以及速度曲线算法,控制机械臂以预定的运动轨迹进行运动之前,还包括:The method for planning a motion trajectory of a robot arm according to any one of claims 1 to 6, wherein the control robot arm performs a predetermined motion trajectory according to the preset starting point coordinates, the end point coordinates, and the speed curve algorithm. Before the exercise, it also includes:
    基于机械臂的关节参数,生成所述机械臂的工作区域;Generating a working area of the robot arm based on a joint parameter of the robot arm;
    根据预先输入的起点的坐标及移动方向生成一条射线,并计算所述射线与所述工作区域的边界的交点,生成交点集合;Generating a ray according to a coordinate and a moving direction of the starting point input in advance, and calculating an intersection of the ray and a boundary of the working area to generate a set of intersection points;
    计算所述交点集合内的每个交点与所述起点的距离,获取与最小距离对应的交点的坐标,并将所述交点标记为终点。Calculating a distance between each intersection point in the intersection set and the starting point, acquiring coordinates of an intersection point corresponding to the minimum distance, and marking the intersection point as an end point.
  8. 一种机械臂的运动轨迹规划装置,其特征在于,包括:A motion trajectory planning device for a mechanical arm, comprising:
    运动控制单元,用于根据预置的起点坐标、终点坐标以及速度曲线算法,控制机械臂以预定的运动轨迹进行运动;其中,所述速度曲线算法根据预先配置的初始参数集合将所述机械臂的运动轨迹规划为至少两个运动阶段,并为每个运动阶段配置一段持续时间;a motion control unit, configured to control the robot arm to move according to a predetermined motion trajectory according to a preset starting point coordinate, an end point coordinate, and a velocity curve algorithm; wherein the speed curve algorithm is to move the mechanical arm according to a preset initial parameter set The motion trajectory is planned for at least two motion phases, and each motion phase is configured for a duration;
    运动时间获取单元,用于当接收到用户发出的停止指令后,获取所述机械臂的当前运动时间,并根据所述当前运动时间及为每个运动阶段配置的持续时间确定所述机械臂当前所处的运动阶段;a motion time acquisition unit, configured to acquire a current motion time of the robot arm after receiving a stop command issued by a user, and determine, according to the current motion time and a duration configured for each motion phase, the current arm The stage of exercise
    运动轨迹更改单元,用于根据所述运动臂当前所处的运动阶段更改预定的运动阶段的持续时间及所述初始参数集合中的预定的初始参数,生成更改后的运动轨迹,并控制所述机械臂以更改后的运动 轨迹进行运动。a motion trajectory changing unit, configured to change a duration of a predetermined motion phase and a predetermined initial parameter in the initial parameter set according to a motion phase in which the motion arm is currently in motion, generate a modified motion trajectory, and control the Robotic arm with altered motion The trajectory moves.
  9. 根据权利要求8所述的机械臂的运动轨迹规划装置,其特征在于,还包括:The trajectory planning device for a robot arm according to claim 8, further comprising:
    工作区域生成单元,用于基于待工作的机械臂的关节参数,生成所述机械臂的工作区域;a work area generating unit, configured to generate a working area of the mechanical arm based on a joint parameter of the mechanical arm to be operated;
    交点集合生成单元,用于根据预先输入的起点的坐标及移动方向生成一条射线,并计算所述射线与所述工作区域的边界的交点,生成交点集合;An intersection point generating unit configured to generate a ray according to a coordinate and a moving direction of the starting point input in advance, and calculate an intersection of the ray and a boundary of the working area to generate a set of intersection points;
    终点标记单元,用于计算所述交点集合内的每个交点与所述起点的距离,获取与最小距离对应的交点的坐标,并将所述交点标记为终点。An end point marking unit is configured to calculate a distance of each intersection point in the intersection point set from the starting point, acquire coordinates of an intersection point corresponding to the minimum distance, and mark the intersection point as an end point.
  10. 一种机器人,其特征在于,包括如权利要求8或9所述的机械臂的运动轨迹规划装置。 A robot comprising the motion trajectory planning device of the mechanical arm according to claim 8 or 9.
PCT/CN2016/113187 2016-06-20 2016-12-29 Motion trail planning method and device for robotic arm, and robot WO2017219639A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610453116.XA CN105922265B (en) 2016-06-20 2016-06-20 A kind of motion trail planning method of mechanical arm, device and robot
CN201610453116.X 2016-06-20

Publications (1)

Publication Number Publication Date
WO2017219639A1 true WO2017219639A1 (en) 2017-12-28

Family

ID=56831560

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/113187 WO2017219639A1 (en) 2016-06-20 2016-12-29 Motion trail planning method and device for robotic arm, and robot

Country Status (2)

Country Link
CN (1) CN105922265B (en)
WO (1) WO2017219639A1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111161373A (en) * 2019-12-09 2020-05-15 北京理工大学 Drawing method based on sine curve gray scale display
CN111958584A (en) * 2019-06-28 2020-11-20 鲁班嫡系机器人(深圳)有限公司 Trajectory planning method, device and system
CN112720475A (en) * 2020-12-22 2021-04-30 深圳市优必选科技股份有限公司 Robot lower step trajectory planning method and device and robot
CN113608441A (en) * 2021-08-05 2021-11-05 南京佗道医疗科技有限公司 Position forward-looking self-adaptive puncture control method
CN113703433A (en) * 2020-05-21 2021-11-26 北京配天技术有限公司 Speed planning method and device for motion trail of robot
CN113941783A (en) * 2021-11-23 2022-01-18 深圳软动智能控制有限公司 Laser axis frog leap implementation method and device, laser equipment and storage medium
CN114102597A (en) * 2021-11-30 2022-03-01 伯朗特机器人股份有限公司 Method for controlling inching operation of mechanical arm joint, electronic device and storage medium
CN115129079A (en) * 2022-06-17 2022-09-30 西北工业大学 Three-dimensional helicopter flight path re-planning method based on improved elastic band algorithm
CN116100561A (en) * 2023-04-10 2023-05-12 国网浙江省电力有限公司宁波供电公司 Automatic wiring track control method and system
CN116313880A (en) * 2022-06-20 2023-06-23 无锡亚电智能装备有限公司 Control method and device for wafer cleaning equipment transmission mechanism
CN116572257A (en) * 2023-07-13 2023-08-11 湖南尖山智能科技有限责任公司 Mechanical arm control method, device and system, storage medium and mechanical arm

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105922265B (en) * 2016-06-20 2018-08-24 广州视源电子科技股份有限公司 A kind of motion trail planning method of mechanical arm, device and robot
CN106041941B (en) * 2016-06-20 2018-04-06 广州视源电子科技股份有限公司 The method for planning track and device of a kind of mechanical arm
CN106671110A (en) * 2017-02-10 2017-05-17 苏州库浩斯信息科技有限公司 Robot head travel control method and system
CN106985140B (en) * 2017-04-19 2019-05-07 广州视源电子科技股份有限公司 Robot point-to-point motion control method and system
CN108132598B (en) * 2017-11-17 2021-06-01 吉林大学 Dynamic model and track control of mobile loading mechanical arm system
CN109991915A (en) * 2017-12-29 2019-07-09 深圳市优必选科技有限公司 A kind of motion control method of robot, device and robot
CN108415427B (en) * 2018-02-11 2021-06-11 昆山艾派科技有限公司 Path splicing method for multi-step continuous movement of robot
CN108333968B (en) * 2018-02-11 2021-05-25 昆山艾派科技有限公司 Track planning method for single-step motion of robot
DE102018202321A1 (en) 2018-02-15 2019-08-22 Robert Bosch Gmbh Coordination system, handling equipment and procedures
CN110442086A (en) * 2018-05-02 2019-11-12 深圳市优必选科技有限公司 A kind of robot and its method of movement switching
CN109108965B (en) * 2018-07-27 2021-07-23 武汉精锋微控科技有限公司 Cartesian space motion prediction method applied to mechanical arm
CN109129470B (en) * 2018-08-02 2021-07-09 深圳市智能机器人研究院 Planning method and system for linear path of robot
CN112091960A (en) * 2019-06-17 2020-12-18 库卡机器人(广东)有限公司 Robot, contact detection method for robot and related device
CN111015669B (en) * 2019-12-27 2022-03-11 南京埃斯顿机器人工程有限公司 Industrial robot motion stopping trajectory planning method
CN111015674B (en) * 2020-01-13 2021-05-11 上海景吾智能科技有限公司 Robot movement joint control method, system, storage medium and robot
CN111775148B (en) * 2020-06-15 2022-03-08 珠海格力电器股份有限公司 Robot control method and device, storage medium and robot
CN112323755B (en) * 2020-11-10 2022-11-08 安徽省六安恒源机械有限公司 Control method of grab arm type trash cleaning robot
CN112847340B (en) * 2020-12-25 2022-09-16 深圳市优必选科技股份有限公司 Control method, control device and robot
CN112677155B (en) * 2020-12-28 2022-07-12 北京配天技术有限公司 Control method and control device for single-step movement of robot and storage medium
CN112894822B (en) * 2021-02-01 2023-12-15 配天机器人技术有限公司 Robot motion trail planning method, robot and computer storage medium
CN113070881B (en) * 2021-04-02 2022-11-11 深圳市优必选科技股份有限公司 Robot motion control method and device and robot
CN113176418B (en) * 2021-05-21 2024-01-05 南京工业大学 Automatic pipetting device for multicomponent detection
CN115922687B (en) * 2022-05-23 2023-11-17 以诺康医疗科技(苏州)有限公司 Motion trail planning method and device based on S-shaped speed curve
CN116252288A (en) * 2023-03-09 2023-06-13 南京智欧智能技术研究院有限公司 Multi-degree-of-freedom plane line control robot and line control method
CN117103285A (en) * 2023-10-25 2023-11-24 成都信息工程大学 Steering engine walking robot and motion control method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014048443A1 (en) * 2012-09-25 2014-04-03 Abb Technology Ag Method for supervising a robot
CN104589346A (en) * 2014-12-15 2015-05-06 广西科技大学 Collisionless path planning method suitable for manipulator
CN105082135A (en) * 2015-09-11 2015-11-25 东南大学 Speed control method for inching operation of robot
CN105415389A (en) * 2016-01-08 2016-03-23 浙江理工大学 Mechanical claw and control method
CN105922265A (en) * 2016-06-20 2016-09-07 广州视源电子科技股份有限公司 Motion trail planning method and device for mechanical arm and robot

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6216058B1 (en) * 1999-05-28 2001-04-10 Brooks Automation, Inc. System of trajectory planning for robotic manipulators based on pre-defined time-optimum trajectory shapes
CN101733750B (en) * 2009-11-05 2011-05-04 浙江大学 Dynamic response spectrum-based method for planning track of robot with clearance at a joint
CN102785246B (en) * 2012-08-24 2015-01-21 电子科技大学 Robot calibration method capable of achieving automatic trajectory correction
KR101363358B1 (en) * 2012-12-06 2014-02-17 (주)동부로봇 System for controlling robot and method the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014048443A1 (en) * 2012-09-25 2014-04-03 Abb Technology Ag Method for supervising a robot
CN104589346A (en) * 2014-12-15 2015-05-06 广西科技大学 Collisionless path planning method suitable for manipulator
CN105082135A (en) * 2015-09-11 2015-11-25 东南大学 Speed control method for inching operation of robot
CN105415389A (en) * 2016-01-08 2016-03-23 浙江理工大学 Mechanical claw and control method
CN105922265A (en) * 2016-06-20 2016-09-07 广州视源电子科技股份有限公司 Motion trail planning method and device for mechanical arm and robot

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111958584A (en) * 2019-06-28 2020-11-20 鲁班嫡系机器人(深圳)有限公司 Trajectory planning method, device and system
CN111161373B (en) * 2019-12-09 2022-06-03 北京理工大学 Drawing method based on sine curve gray scale display
CN111161373A (en) * 2019-12-09 2020-05-15 北京理工大学 Drawing method based on sine curve gray scale display
CN113703433A (en) * 2020-05-21 2021-11-26 北京配天技术有限公司 Speed planning method and device for motion trail of robot
CN113703433B (en) * 2020-05-21 2024-05-14 北京配天技术有限公司 Speed planning method and device for motion trail of robot
CN112720475B (en) * 2020-12-22 2023-09-22 深圳市优必选科技股份有限公司 Robot descending step track planning method and device and robot
CN112720475A (en) * 2020-12-22 2021-04-30 深圳市优必选科技股份有限公司 Robot lower step trajectory planning method and device and robot
CN113608441A (en) * 2021-08-05 2021-11-05 南京佗道医疗科技有限公司 Position forward-looking self-adaptive puncture control method
CN113941783A (en) * 2021-11-23 2022-01-18 深圳软动智能控制有限公司 Laser axis frog leap implementation method and device, laser equipment and storage medium
CN113941783B (en) * 2021-11-23 2023-11-21 深圳软动智能控制有限公司 Laser axis frog-leaping realization method, device, laser equipment and storage medium
CN114102597A (en) * 2021-11-30 2022-03-01 伯朗特机器人股份有限公司 Method for controlling inching operation of mechanical arm joint, electronic device and storage medium
CN115129079A (en) * 2022-06-17 2022-09-30 西北工业大学 Three-dimensional helicopter flight path re-planning method based on improved elastic band algorithm
CN115129079B (en) * 2022-06-17 2024-05-03 西北工业大学 Three-dimensional helicopter flight path re-planning method based on improved elastic band algorithm
CN116313880A (en) * 2022-06-20 2023-06-23 无锡亚电智能装备有限公司 Control method and device for wafer cleaning equipment transmission mechanism
CN116313880B (en) * 2022-06-20 2023-12-01 无锡亚电智能装备有限公司 Control method and device for wafer cleaning equipment transmission mechanism
CN116100561B (en) * 2023-04-10 2023-09-05 国网浙江省电力有限公司宁波供电公司 Automatic wiring track control method and system
CN116100561A (en) * 2023-04-10 2023-05-12 国网浙江省电力有限公司宁波供电公司 Automatic wiring track control method and system
CN116572257A (en) * 2023-07-13 2023-08-11 湖南尖山智能科技有限责任公司 Mechanical arm control method, device and system, storage medium and mechanical arm
CN116572257B (en) * 2023-07-13 2023-09-22 湖南尖山智能科技有限责任公司 Mechanical arm control method, device and system, storage medium and mechanical arm

Also Published As

Publication number Publication date
CN105922265B (en) 2018-08-24
CN105922265A (en) 2016-09-07

Similar Documents

Publication Publication Date Title
WO2017219639A1 (en) Motion trail planning method and device for robotic arm, and robot
WO2017219640A1 (en) Trajectory planning method and device for mechanical arm
CN107139171B (en) A kind of industrial robot collision free trajectory method based on Torque Control
CN107030697B (en) A kind of planing method of robot cartesian space smooth track
CN106313047B (en) A kind of real-time turning transition method of robot based on Bezier battens
WO2018126355A1 (en) Robot motion trajectory planning method and related device
WO2018126354A1 (en) Robot motion trajectory planning method and related device
CN107848005B (en) Bending follows method for planning track, apparatus and system
JP2019517929A (en) Trajectory planning method of point-to-point movement in robot joint space
Macharet et al. Nonholonomic path planning optimization for dubins' vehicles
CN106249888A (en) A kind of cloud platform control method and device
CN110162029A (en) A kind of motion control method and device, robot based on planning path
CN109623825B (en) Movement track planning method, device, equipment and storage medium
CN105082156A (en) Space trajectory smoothing method based on speed optimum control
CN108496132A (en) Control terminal and unmanned plane and its control method
Gao et al. Multi-mobile robot autonomous navigation system for intelligent logistics
CN110299062A (en) Mechanical arm teaching system, method, apparatus, medium, controller and mechanical arm
CN108189034A (en) A kind of robot continuous path implementation method
CN110032213A (en) Robot system for tracking and robot follower method
CN110413011A (en) A kind of binocular cloud platform control method, device and storage medium
CN109304711A (en) Serial manipulator method for planning track
Cruciani et al. Dual-arm in-hand manipulation and regrasping using dexterous manipulation graphs
CN110193816A (en) Industrial robot teaching method, handle and system
Ji et al. A computational interactive approach to multi-agent motion planning
Ostanin et al. Programming by Demonstration Using Two-Step Optimization for Industrial Robot.

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: 16906176

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16906176

Country of ref document: EP

Kind code of ref document: A1