CN113119111A - Mechanical arm and track planning method and device thereof - Google Patents
Mechanical arm and track planning method and device thereof Download PDFInfo
- Publication number
- CN113119111A CN113119111A CN202110291094.2A CN202110291094A CN113119111A CN 113119111 A CN113119111 A CN 113119111A CN 202110291094 A CN202110291094 A CN 202110291094A CN 113119111 A CN113119111 A CN 113119111A
- Authority
- CN
- China
- Prior art keywords
- joint
- mechanical arm
- motion
- maximum
- determining
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 64
- 230000001133 acceleration Effects 0.000 claims abstract description 67
- 230000008569 process Effects 0.000 claims abstract description 23
- 230000006870 function Effects 0.000 claims description 21
- 238000004590 computer program Methods 0.000 claims description 19
- 238000012545 processing Methods 0.000 claims description 5
- 238000004364 calculation method Methods 0.000 claims description 3
- 238000010606 normalization Methods 0.000 claims description 2
- 230000003247 decreasing effect Effects 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 239000011159 matrix material Substances 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000003433 contraceptive agent Substances 0.000 description 1
- 230000002254 contraceptive effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1656—Programme controls characterised by programming, planning systems for manipulators
- B25J9/1664—Programme controls characterised by programming, planning systems for manipulators characterised by motion, path, trajectory planning
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J18/00—Arms
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1656—Programme controls characterised by programming, planning systems for manipulators
- B25J9/1661—Programme controls characterised by programming, planning systems for manipulators characterised by task planning, object-oriented languages
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1679—Programme controls characterised by the tasks executed
Landscapes
- Engineering & Computer Science (AREA)
- Robotics (AREA)
- Mechanical Engineering (AREA)
- Manipulator (AREA)
Abstract
The application belongs to the field of automation, and provides a mechanical arm and a method and a device for planning a track of the mechanical arm, wherein the method comprises the following steps: determining a motion path of the mechanical arm corresponding to the motion process of the mechanical arm and joint angles corresponding to each path point; determining a target function according to the motion path, and determining the maximum speed and the maximum acceleration of the joint, wherein the maximum speed and the maximum acceleration are feasible by combining the joint speed and the joint moment limiting conditions of the mechanical arm and the joint angle corresponding to the path point; and planning the track of the mechanical arm according to the determined maximum speed and maximum acceleration, so that the joint movement speed is improved on the premise of meeting the movement limit of the mechanical arm joint, and the operation efficiency of the mechanical arm is improved.
Description
Technical Field
The application belongs to the field of automation, and particularly relates to a mechanical arm and a track planning method and device thereof.
Background
In the trajectory planning of a multi-axis mechanical arm, in order to ensure the stability of the whole motion, an S-shaped speed planning method is generally adopted. The S-shaped planning method divides the whole motion process into 7 stages, which are sequentially as follows: acceleration motion with increased acceleration, uniform acceleration motion, acceleration motion with decreased acceleration, uniform motion, deceleration motion with increased acceleration, uniform deceleration motion, and deceleration motion with decreased acceleration. The movement speed planning method fully considers the acceleration and deceleration process of the joint movement, is favorable for ensuring the stability of the whole movement process and is widely adopted.
However, this trajectory planning method requires setting the maximum speed and the maximum acceleration to be expected, so as to calculate the movement time of each phase. Due to the lack of parameters, it is currently generally determined empirically or by intuitive feel. If the setting is inaccurate, the movement limit of the robot arm is easily exceeded, or the operation speed of the robot arm is affected.
Disclosure of Invention
In view of this, embodiments of the present application provide a method and an apparatus for planning a trajectory of a robot arm, so as to solve the problem in the prior art that the trajectory of the robot arm is likely to exceed a motion limit of the robot arm or affect an operation speed of the robot arm.
A first aspect of an embodiment of the present application provides a method for planning a trajectory of a robot arm, where the method includes:
determining a motion path of the mechanical arm corresponding to the motion process of the mechanical arm and joint angles corresponding to each path point;
determining a target function according to the motion path of the mechanical arm, and determining the feasible maximum speed and maximum acceleration of the joint by combining the joint speed and joint moment limiting conditions of the mechanical arm and the joint angle corresponding to the path point;
and planning the track of the mechanical arm according to the determined maximum speed and maximum acceleration.
With reference to the first aspect, in a first possible implementation manner of the first aspect, determining a motion path of the mechanical arm corresponding to a motion process of the mechanical arm includes:
and determining scalar parameters describing the motion path in the motion process of the mechanical arm, and establishing a corresponding relation between the scalar parameters and the mechanical contraception motion path.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, after establishing the correspondence between the scalar parameter and the mechanical contraceptive movement path, the method further includes:
and normalizing the value of the scalar parameter corresponding to the motion path.
With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, after the value normalization processing of the scalar parameter, the starting point of the motion path corresponds to a value 0 in the scalar parameter, and the ending point of the motion path corresponds to a value 1 in the scalar parameter.
With reference to the first aspect, in a fourth possible implementation manner of the first aspect, determining an objective function according to a motion path of the mechanical arm, and determining a maximum speed and a maximum acceleration of the joint, which are feasible, with reference to joint speed and joint torque limiting conditions of the mechanical arm and a joint angle corresponding to a path point, includes:
According to the joint speed and the joint moment limiting conditions:determining the objective function with the shortest time:determining a maximum velocity and a maximum acceleration of the joint that are feasible, wherein,andrespectively representing the minimum and maximum speeds allowed for the joints of the robot arm, tauminAnd τmaxThe minimum torque and the maximum torque of the mechanical arm energy-saving output are shown,representing the joint velocity represented by a scalar parameter s and a first derivative of the scalar parameter s,represents the joint moment represented by the scalar parameter s and its first, second derivative, t0 is the motion start time, te is the motion end time.
With reference to the first aspect, in a fifth possible implementation manner of the first aspect, performing trajectory planning on the mechanical arm according to the determined maximum speed and maximum acceleration includes:
and taking the maximum acceleration as the acceleration of a uniform acceleration motion stage and a uniform deceleration stage in the S-shaped track planning, taking the maximum speed as the motion speed of a uniform motion stage in the S-shaped track planning, and carrying out track planning on the mechanical arm.
With reference to the first aspect, the first possible implementation manner of the first aspect, the second possible implementation manner of the first aspect, the third possible implementation manner of the first aspect, the fourth possible implementation manner of the first aspect, or the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, the motion path includes a motion path of each joint of the robot arm, and when a maximum speed and a maximum acceleration that are possible for the joint are determined, a maximum speed and a maximum acceleration that correspond to each joint are determined, respectively.
A second aspect of an embodiment of the present application provides a trajectory planning apparatus for a robot arm, the apparatus including:
the joint data determining unit is used for determining a motion path of the mechanical arm corresponding to the motion process of the mechanical arm and joint angles corresponding to each path point;
the data calculation unit is used for determining a target function according to the motion path of the mechanical arm, and determining the maximum speed and the maximum acceleration of the joint, wherein the maximum speed and the maximum acceleration are feasible by combining the joint speed and the joint moment limiting conditions of the mechanical arm and the joint angle corresponding to the path point;
and the track planning unit is used for planning the track of the mechanical arm according to the determined maximum speed and maximum acceleration.
A third aspect of embodiments of the present application provides a robot arm, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method according to any one of the first aspect when executing the computer program.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, in which a computer program is stored, which, when executed by a processor, performs the steps of the method according to any one of the first aspect.
Compared with the prior art, the embodiment of the application has the advantages that: the method and the device determine the target function by determining the motion path of the joint of the mechanical arm in the motion process, determine the maximum speed and the maximum acceleration of the joint by combining the preset limiting conditions of the mechanical arm and the joint angle corresponding to the path point according to the target function, plan and control the track of the mechanical arm according to the determined maximum speed and the determined maximum acceleration, thereby improving the motion speed of the joint on the premise that the joint meets the motion limit of the joint of the mechanical arm, and being beneficial to improving the operation efficiency of the mechanical arm.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a schematic representation of a sigmoidal velocity profile;
fig. 2 is a schematic flow chart of an implementation of a method for planning a trajectory of a robot provided in an embodiment of the present application;
Fig. 3 is a schematic diagram of a trajectory planning apparatus of a robot provided in an embodiment of the present application;
FIG. 4 is a schematic view of a robotic arm provided in embodiments of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
At present, an S-shaped speed planning method is generally adopted in trajectory planning control of a mechanical arm. In the schematic diagram of the S-shaped velocity profile shown in fig. 1, the whole motion process can be roughly divided into 7 stages, which are: 1. an acceleration motion stage with increased acceleration, a 2 uniform acceleration motion stage, a 3 acceleration motion stage with decreased acceleration, a 4 uniform velocity motion stage, a 5 deceleration motion stage with increased acceleration, a 6 uniform deceleration motion stage, a 7 deceleration motion stage with decreased acceleration. The trajectory planning method fully considers the acceleration and deceleration process of the joint movement, effectively improves the stability of the movement process, and is widely applied to the field of trajectory planning.
When the mechanical arm adopts the S-shaped velocity planning curve to plan the trajectory, the maximum velocity and the maximum acceleration expected by the current motion need to be set, so as to calculate each phase time in the S-shaped velocity planning curve. Currently, the maximum velocity and the maximum acceleration are generally determined empirically or by means of intuitive feel. If the set maximum acceleration or maximum velocity is too high, the motion limits of the robotic arm may be exceeded and the motion may not be achieved. If the set maximum acceleration or maximum speed is too small, the performance of the mechanical arm is not favorably exerted, and the operation efficiency of the mechanical arm is influenced.
In order to solve the above problems, an embodiment of the present application provides a method for planning a trajectory of a mechanical arm, where when planning a trajectory of a mechanical arm, a maximum speed and a maximum acceleration of a joint are determined according to a motion path of the mechanical arm and a joint angle corresponding to a path point of the motion path, in combination with a constraint condition of the joint, and the trajectory of the joint is planned according to the determined maximum speed and maximum acceleration, so as to avoid the problems that the trajectory planning cannot be completed, or it is not beneficial to fully exerting the performance of the mechanical arm, and the operation efficiency of the mechanical arm is not high.
Fig. 2 is a schematic flow chart of an implementation of the method for planning a trajectory of a robot arm according to the embodiment of the present application, which is detailed as follows:
in S201, a motion path of the robot arm corresponding to the motion process of the robot arm and a joint angle corresponding to each path point are determined.
Specifically, the mechanical arm in the embodiment of the present application may be a mechanical arm of a robot, or may be a mechanical arm of other automation equipment. The trajectory planning of the mechanical arm can be completed by a control module unit in the mechanical arm, or trajectory planning data of other control centers can be received, and the trajectory planning data is executed by the mechanical arm.
The mechanical arm can be a single-joint mechanical arm or a multi-joint mechanical arm. When the mechanical arm is a multi-joint mechanical arm, the motion track corresponding to each joint in the mechanical arm can be determined according to the motion path of the mechanical arm.
In a possible implementation manner, when determining the operation motion of the mechanical arm to perform the motion planning, for the same operation motion, multiple motion paths may be included, and for each motion path, the motion paths of multiple joints correspond.
When determining the motion path of the robot arm, a correspondence between the motion path of the robot arm and a scalar parameter may be established. That is, for each waypoint in the path of motion of the robotic arm, a scalar parameter may be employed to represent the waypoint. Therefore, each path point in the motion path can be described through the scalar parameter, and the path points can be conveniently identified and processed.
Wherein the scalar parameter may also be referred to as a vector-free parameter.
For example, a waypoint in the motion path may be represented by a scalar parameter s. And analyzing the path points in the motion path to obtain the joint angles corresponding to the path points. For example, the correspondence between the joint angle and the scalar parameter of the path point of the joint can be expressed by the formula q ═ f(s). Where q represents the joint angle corresponding to the scalar parameter s of the joint.
In a possible implementation manner, the scalar parameter for identifying the path point may be normalized, so that the path points of different motion paths, including the path points of the motion paths of different joints and the path points of the motion paths of the joints of different motion actions, may be expressed by the normalized parameter.
After the scalar parameter is normalized, the normalized scalar parameter value corresponding to each path point can be obtained. For example, the scalar parameter value corresponding to the route point at the start position may be set to 0, and the scalar parameter value corresponding to the route point at the end position may be set to 1. Of course, without being limited thereto, the scalar parameter value corresponding to the start position may be set to 1, and the scalar parameter value at the end position may be set to 0.
In S202, an objective function is determined according to the motion path of the mechanical arm, and the maximum speed and the maximum acceleration of the joint that are feasible are determined in combination with the joint speed and the joint torque limiting condition of the mechanical arm itself and the joint angle corresponding to the path point.
After the motion path is determined, an objective function for determining the maximum acceleration and the maximum velocity may be determined according to scalar parameters corresponding to the path points in the motion path. Wherein, the objective function may be:
wherein: s represents a scalar parameter corresponding to the waypoint,the first derivative of the scalar parameter is represented, T0 is the motion start time, te is the motion end time, and T represents the motion time required for the joint to complete the motion path.
In a determined objective functionAfter counting, predetermined limiting conditions are combined, including joint speed limiting conditions, joint torque limiting conditions and the like. For example, the constraint may be expressed as:wherein,andrespectively representing the minimum and maximum speeds allowed for the joints of the robot arm, tauminAnd τmaxThe minimum torque and the maximum torque of the mechanical arm energy-saving output are shown,representing the joint velocity represented by a scalar parameter s and a first derivative of the scalar parameter s, Representing the joint moment represented by the scalar parameter s and its first, second derivative.
The representation forms of the joint speed and the joint moment can be determined according to different models.
For example, the kinetic model of the robot can be expressed as:
wherein H (q) represents an inertia matrix of the robot,representing the Coriolis effect, g (q) representing the gravitational term, τ representing the joint moment,respectively representing the position, velocity and acceleration of each joint of the robot.
The pose of the robot tip in task space can be represented by a vector p. It is known that any point p on the motion path can be represented by a scalar displacement s along the path, and also from the positive kinematics of the robot and the joint position q, so this is expressed as follows:
p(s)=r(q) (1)
where r (q) represents the positive kinematic equation for the robot. The formula (1) differentiates time once and twice respectively,
where the indices s and q represent the first and second derivatives of a scalar s and a vector q, respectively, rqJacobian matrix, r, which can be regarded as a robotqqCan be seen as a sea plug matrix of the vector function r.
The equations (1) to (3) are substituted into the kinetic equation of the robot, and the kinetic equation can be calculated
According to the target function, the limiting condition and the corresponding relation between the path point and the joint angle, the maximum speed and the maximum acceleration corresponding to the motion path can be obtained through a numerical integration method.
In S203, a trajectory of the mechanical arm is planned according to the determined maximum speed and maximum acceleration.
After the maximum speed and the maximum acceleration of the joint are determined according to the S202, the maximum acceleration is used as the acceleration in the uniform acceleration stage and the uniform deceleration stage in the S-shaped track rule in the S-shaped track planning, speed conversion control is performed, and the maximum speed is used as the speed in the uniform speed stage to perform track planning, so that the joint can be in the motion stage of the maximum speed in the longest time period as possible, the operation efficiency of the mechanical arm is improved, and the motion limit of the mechanical arm cannot be exceeded.
In the embodiment of the application, if the mechanical arm includes a plurality of joints, the motion path of each joint may be determined respectively, the maximum acceleration and the maximum velocity corresponding to each joint are determined respectively according to the motion path of each joint, and the trajectory planning is performed on each joint respectively according to the determined maximum velocity and the determined maximum acceleration of each joint.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 3 is a trajectory planning apparatus for a robot provided in an embodiment of the present application, where the apparatus includes:
the joint data determining unit 301 is configured to determine a motion path of the mechanical arm corresponding to a motion process of the mechanical arm and a joint angle corresponding to each path point;
the data calculation unit 302 is configured to determine an objective function according to a motion path of the mechanical arm, and determine a maximum speed and a maximum acceleration of the joint, where the maximum speed and the maximum acceleration are feasible, by combining joint speed and joint torque limiting conditions of the mechanical arm and a joint angle corresponding to a path point;
and a trajectory planning unit 303, configured to plan a trajectory of the mechanical arm according to the determined maximum speed and maximum acceleration.
The trajectory planning device of the robot arm shown in fig. 3 corresponds to the trajectory planning method of the robot arm shown in fig. 2.
FIG. 4 is a schematic view of a robotic arm provided in accordance with an embodiment of the present application. As shown in fig. 4, the robot arm 4 of this embodiment includes: a processor 40, a memory 41 and a computer program 42 stored in said memory 41 and executable on said processor 40, such as a trajectory planning program for a robot arm. The processor 40, when executing the computer program 42, implements the steps in the above-described embodiments of the method for trajectory planning for each robotic arm. Alternatively, the processor 40 implements the functions of the modules/units in the above-described device embodiments when executing the computer program 42.
Illustratively, the computer program 42 may be partitioned into one or more modules/units that are stored in the memory 41 and executed by the processor 40 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 42 in the robot arm 4. For example, the computer program 42 may be divided into:
the robotic arm may include, but is not limited to, a processor 40, a memory 41. Those skilled in the art will appreciate that figure 4 is merely an example of a robot arm 4 and does not constitute a limitation of the robot arm 4 and may include more or fewer components than shown, or some components in combination, or different components, for example the robot arm may also include input output devices, network access devices, buses, etc.
The Processor 40 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the robot 4, such as a hard disk or memory of the robot 4. The memory 41 may also be an external storage device of the robot arm 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like provided on the robot arm 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the robot arm 4. The memory 41 is used for storing the computer program and other programs and data required by the robot arm. The memory 41 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a computer readable storage medium, and when the computer program is executed by a processor, the steps of the methods described above can be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.
Claims (10)
1. A trajectory planning method for a robot arm, the method comprising:
determining a motion path of the mechanical arm corresponding to the motion process of the mechanical arm and joint angles corresponding to each path point;
determining a target function according to the motion path of the mechanical arm, and determining the feasible maximum speed and maximum acceleration of the joint by combining the joint speed and joint moment limiting conditions of the mechanical arm and the joint angle corresponding to the path point;
and planning the track of the mechanical arm according to the determined maximum speed and maximum acceleration.
2. The method of claim 1, wherein determining the motion path of the robot arm corresponding to the robot arm motion process comprises:
And determining scalar parameters describing the motion path in the motion process of the mechanical arm, and establishing the corresponding relation between the scalar parameters and the motion path of the mechanical arm.
3. The method of claim 2, wherein after establishing the correspondence of the scalar parameter to the path of robot arm motion, the method further comprises:
and normalizing the value of the scalar parameter corresponding to the motion path.
4. The method according to claim 3, wherein after the value normalization processing of the scalar parameter, the start point of the motion path corresponds to 0 value of the scalar parameter, and the end point of the motion path corresponds to 1 value of the scalar parameter.
5. The method of claim 1, wherein determining an objective function according to the motion path of the mechanical arm, and determining the maximum speed and the maximum acceleration of the joint, which are feasible, by combining joint speed and joint moment limiting conditions of the mechanical arm, comprises:
according to the joint speed and the joint moment limiting conditions:determining the objective function with the shortest time:determining a maximum velocity and a maximum acceleration of the joint that are feasible, wherein,andrespectively representing the minimum and maximum speeds allowed for the joints of the robot arm, tau minAnd τmaxThe minimum torque and the maximum torque of the mechanical arm energy-saving output are shown,representing the joint velocity represented by a scalar parameter s and a first derivative of the scalar parameter s,represents the joint moment represented by the scalar parameter s and its first, second derivative, t0 is the motion start time, te is the motion end time.
6. The method of claim 1, wherein trajectory planning the robotic arm based on the determined maximum feasible velocity and maximum acceleration comprises:
and taking the maximum acceleration as the acceleration of a uniform acceleration motion stage and a uniform deceleration stage in the S-shaped track planning, taking the maximum speed as the motion speed of a uniform motion stage in the S-shaped track planning, and carrying out track planning on the mechanical arm.
7. The method according to any of claims 1-6, wherein the motion path comprises a motion path of each joint of a robotic arm, and when determining the maximum velocity and maximum acceleration possible for the joint, the maximum velocity and maximum acceleration corresponding to each joint are determined separately.
8. An apparatus for planning a trajectory of a robot arm, the apparatus comprising:
The joint data determining unit is used for determining a motion path of the mechanical arm corresponding to the motion process of the mechanical arm and joint angles corresponding to each path point;
the data calculation unit is used for determining a target function according to the motion path of the mechanical arm, and determining the maximum speed and the maximum acceleration of the joint which are feasible by combining the joint speed and the joint moment limiting conditions of the mechanical arm and the joint angle corresponding to the path point;
and the track planning unit is used for planning the track of the mechanical arm according to the determined maximum speed and maximum acceleration.
9. A robot arm comprising a memory, a processor and a computer program stored in said memory and executable on said processor, wherein said processor implements the steps of the method according to any of claims 1 to 7 when executing said computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110291094.2A CN113119111A (en) | 2021-03-18 | 2021-03-18 | Mechanical arm and track planning method and device thereof |
PCT/CN2021/124616 WO2022193639A1 (en) | 2021-03-18 | 2021-10-19 | Mechanical arm, and trajectory planning method and apparatus therefor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110291094.2A CN113119111A (en) | 2021-03-18 | 2021-03-18 | Mechanical arm and track planning method and device thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113119111A true CN113119111A (en) | 2021-07-16 |
Family
ID=76773545
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110291094.2A Pending CN113119111A (en) | 2021-03-18 | 2021-03-18 | Mechanical arm and track planning method and device thereof |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113119111A (en) |
WO (1) | WO2022193639A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113787525A (en) * | 2021-11-18 | 2021-12-14 | 季华实验室 | Mechanical arm movement time optimization method based on joint performance limitation |
CN113967917A (en) * | 2021-11-24 | 2022-01-25 | 伯朗特机器人股份有限公司 | Mechanical arm multi-joint track time synchronization method, system and storage medium |
WO2022193639A1 (en) * | 2021-03-18 | 2022-09-22 | 深圳市优必选科技股份有限公司 | Mechanical arm, and trajectory planning method and apparatus therefor |
CN116197917A (en) * | 2023-04-28 | 2023-06-02 | 苏州艾利特机器人有限公司 | Self-adaptive maximum acceleration calculation method and device, storage medium and electronic equipment |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115781683B (en) * | 2022-12-20 | 2024-05-24 | 实时侠智能控制技术有限公司 | Online track planning method and device for mechanical arm and computer readable medium |
CN116476041B (en) * | 2022-12-28 | 2024-01-30 | 深圳市人工智能与机器人研究院 | Force-position hybrid control method of nucleic acid sampling robot and robot |
CN116088422A (en) * | 2023-01-06 | 2023-05-09 | 湘潭大学 | Motion planning control method, device, equipment and storage medium |
CN116787430B (en) * | 2023-06-09 | 2024-08-06 | 深圳市正运动技术有限公司 | Manipulator motion control method, device, controller and storage medium |
CN117381805B (en) * | 2023-12-13 | 2024-02-27 | 成都航空职业技术学院 | Mechanical arm operation control method and system for conflict handling |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010136586A1 (en) * | 2009-05-29 | 2010-12-02 | Technische Universität Ilmenau | Method and device for real-time-capable fourth-order path planning for generating continuous target trajectories free of jerk jumps |
CN108621158A (en) * | 2018-04-27 | 2018-10-09 | 上海师范大学 | A kind of time optimal trajectory planning control method and device about mechanical arm |
CN109623810A (en) * | 2018-11-26 | 2019-04-16 | 南京航空航天大学 | A kind of method for the time optimal trajectory planning that robot is smooth |
CN110209048A (en) * | 2019-05-20 | 2019-09-06 | 华南理工大学 | Robot time optimal trajectory planning method, equipment based on kinetic model |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9221175B2 (en) * | 2013-03-28 | 2015-12-29 | Denso Wave Incorporated | Method of generating path of multiaxial robot and control apparatus for the multiaxial robot |
CN107160394B (en) * | 2017-05-27 | 2019-12-10 | 西安精雕软件科技有限公司 | linear motion module accurate control method |
CN107367938A (en) * | 2017-08-10 | 2017-11-21 | 上海理工大学 | One kind is used for mechanical arm time optimal trajectory planning method |
CN109397292B (en) * | 2018-11-23 | 2020-10-30 | 华中科技大学 | Analytical solution-based 7-degree-of-freedom mechanical arm control method and system |
CN110125927A (en) * | 2019-03-18 | 2019-08-16 | 中国地质大学(武汉) | Mechanical arm method for planning track and system based on self-adapted genetic algorithm |
CN111152212B (en) * | 2019-12-05 | 2021-01-22 | 北京蒂斯科技有限公司 | Mechanical arm movement track planning method and device based on optimal power |
CN113119111A (en) * | 2021-03-18 | 2021-07-16 | 深圳市优必选科技股份有限公司 | Mechanical arm and track planning method and device thereof |
-
2021
- 2021-03-18 CN CN202110291094.2A patent/CN113119111A/en active Pending
- 2021-10-19 WO PCT/CN2021/124616 patent/WO2022193639A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010136586A1 (en) * | 2009-05-29 | 2010-12-02 | Technische Universität Ilmenau | Method and device for real-time-capable fourth-order path planning for generating continuous target trajectories free of jerk jumps |
CN108621158A (en) * | 2018-04-27 | 2018-10-09 | 上海师范大学 | A kind of time optimal trajectory planning control method and device about mechanical arm |
CN109623810A (en) * | 2018-11-26 | 2019-04-16 | 南京航空航天大学 | A kind of method for the time optimal trajectory planning that robot is smooth |
CN110209048A (en) * | 2019-05-20 | 2019-09-06 | 华南理工大学 | Robot time optimal trajectory planning method, equipment based on kinetic model |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022193639A1 (en) * | 2021-03-18 | 2022-09-22 | 深圳市优必选科技股份有限公司 | Mechanical arm, and trajectory planning method and apparatus therefor |
CN113787525A (en) * | 2021-11-18 | 2021-12-14 | 季华实验室 | Mechanical arm movement time optimization method based on joint performance limitation |
CN113787525B (en) * | 2021-11-18 | 2022-02-01 | 季华实验室 | Mechanical arm movement time optimization method based on joint performance limitation |
CN113967917A (en) * | 2021-11-24 | 2022-01-25 | 伯朗特机器人股份有限公司 | Mechanical arm multi-joint track time synchronization method, system and storage medium |
CN113967917B (en) * | 2021-11-24 | 2022-12-23 | 伯朗特机器人股份有限公司 | Mechanical arm multi-joint track time synchronization method, system and storage medium |
CN116197917A (en) * | 2023-04-28 | 2023-06-02 | 苏州艾利特机器人有限公司 | Self-adaptive maximum acceleration calculation method and device, storage medium and electronic equipment |
CN116197917B (en) * | 2023-04-28 | 2023-08-01 | 苏州艾利特机器人有限公司 | Self-adaptive maximum acceleration calculation method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
WO2022193639A1 (en) | 2022-09-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113119111A (en) | Mechanical arm and track planning method and device thereof | |
WO2022198994A1 (en) | Robot arm motion planning method and apparatus, and readable storage medium and robot arm | |
CN109732594B (en) | Robot control method and system and robot | |
US11833692B2 (en) | Method and device for controlling arm of robot | |
CN114227685B (en) | Mechanical arm control method and device, computer readable storage medium and mechanical arm | |
CN111185909B (en) | Robot operation condition acquisition method and device, robot and storage medium | |
CN112528434B (en) | Information identification method and device, electronic equipment and storage medium | |
WO2022205844A1 (en) | Robot forward kinematics solution method and apparatus, readable storage medium, and robot | |
CN113110423A (en) | Gait trajectory planning method and device, computer readable storage medium and robot | |
CN113119104A (en) | Mechanical arm control method, mechanical arm control device, computing equipment and system | |
CN113978465A (en) | Lane-changing track planning method, device, equipment and storage medium | |
CN112199833A (en) | Joint dynamics model optimization method, system, terminal device and storage medium | |
CN113021329B (en) | Robot motion control method and device, readable storage medium and robot | |
CN113001537B (en) | Mechanical arm control method, mechanical arm control device and terminal equipment | |
CN111890364A (en) | Robot motion control method, device, electronic device and storage medium | |
CN110962120B (en) | Network model training method and device, and mechanical arm motion control method and device | |
CN113814978B (en) | Robot control method, robot control device, robot, and storage medium | |
CN114454981B (en) | Jumping motion control method and device of biped robot and biped robot | |
CN113204892B (en) | Centroid trajectory generation method and device, computer readable storage medium and robot | |
CN113618735B (en) | Method and device for determining configuration information of robot joint and terminal equipment | |
CN112720478B (en) | Robot torque control method and device, readable storage medium and robot | |
CN109857110A (en) | Motion planning method, device, equipment and computer readable storage medium | |
CN114536351A (en) | Redundant double-arm robot teaching method and device, electronic equipment and system | |
CN111390905B (en) | Robot multitask control method and device and terminal equipment | |
CN112847340B (en) | Control method, control device and robot |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210716 |