Motion path acquisition method and device, mechanical arm, electronic device and storage medium

By setting multi-parameter motion vectors and optimizing the robotic arm's motion path with operable cones, the problems of simple circular transitions and collision prevention were solved, achieving more efficient cycle time and adaptability to actual working conditions.

CN118438429BActive Publication Date: 2026-11-20KUKA ROBOTICS MFG CHINA CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310100345.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-06
Publication Date
2026-11-20
Estimated Expiration
2043-02-06

AI Technical Summary

Technical Problem

In existing technologies, the arc transition ratio and amplitude settings of the robotic arm motion path are too simple to meet the actual working conditions, and the path optimization fails to effectively consider the collision avoidance requirements, resulting in limited improvement in cycle time.

Method used

By setting multi-parameter motion vectors, including first distance, second distance, third distance, motion vector direction, vector magnitude, and percentage, and combining operable cone and cycle time optimization, the optimal motion path of the robotic arm is obtained, avoiding obstacle collisions.

Benefits of technology

It achieves multi-parameter optimization of the robotic arm's motion path, improves cycle time by 15%-30%, meets actual working conditions, avoids interference with the environment, and enhances the practicality of path planning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118438429B_ABST
    Figure CN118438429B_ABST
Patent Text Reader

Abstract

The application discloses a motion path acquisition method and device, a mechanical arm, an electronic device and a storage medium, and belongs to the technical field of mechanical arms. The motion path acquisition method of the mechanical arm comprises the following steps: setting a first distance in a first direction, a second distance in a second direction and a third distance in a third direction in a motion path. Based on the first distance, the second distance and the third distance, a first motion vector direction, a first motion vector size and a first percentage are set. Based on the first motion vector direction, the first motion vector size and the first percentage, a first motion vector and a second motion vector of the mechanical arm are acquired. Based on the first motion vector and the second motion vector, an optimized motion vector of the mechanical arm is acquired. The optimized motion vector is adjusted, and optimization is performed based on an operable cone and a beat time, so that a target motion path of the mechanical arm is obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of robotic arm technology, specifically relating to a motion path acquisition method and device, a robotic arm, an electronic device, and a storage medium. Background Technology

[0002] In related technologies, when programming robots, the motion path of a robotic arm typically adopts a standardized point-to-point setting method, which sets four key points for the trajectory to form a gate-shaped trajectory, such as... Figure 1 As shown, segment AB represents vertical grasping, segment CD represents vertical placement, and segment BC represents translation of the grasped item. The length of each segment is determined by actual production needs and the robot's actual workspace.

[0003] Path optimization in related technologies usually uses circular arc transitions to optimize cycle time. However, the ratio and amplitude settings for circular arc transitions are relatively simple and cannot meet the actual working conditions. Summary of the Invention

[0004] The purpose of this application is to provide a motion path acquisition method and device, a robotic arm, an electronic device, and a storage medium, which can solve the technical problem in the related art where the proportion and amplitude of the arc transition in the motion path of the robotic arm are set only once and cannot meet the actual working conditions.

[0005] In a first aspect, embodiments of this application provide a method for obtaining the motion path of a robotic arm, comprising: setting a first distance in a first direction, a second distance in a second direction, and a third distance in a third direction in the motion path; setting a first motion vector direction, a first motion vector magnitude, and a first percentage based on the first, second, and third distances; obtaining a first motion vector and a second motion vector of the robotic arm based on the first motion vector direction, the first motion vector magnitude, and the first percentage; obtaining an optimized motion vector of the robotic arm based on the first and second motion vectors; and adjusting the optimized motion vector, optimizing it based on an operable cone and a cycle time, to obtain the target motion path of the robotic arm.

[0006] Secondly, embodiments of this application provide a motion path acquisition device for a robotic arm, comprising: a first setting module, configured to set a first distance in a first direction, a second distance in a second direction, and a third distance in a third direction in the motion path; a second setting module, configured to set a first motion vector direction, a first motion vector magnitude, and a first percentage based on the first, second, and third distances; a first acquisition module, configured to acquire a first motion vector and a second motion vector of the robotic arm based on the first motion vector direction, the first motion vector magnitude, and the first percentage; a second acquisition module, configured to acquire an optimized motion vector of the robotic arm based on the first and second motion vectors; and a third acquisition module, configured to adjust the optimized motion vector, optimizing it based on an operable cone and a cycle time, to obtain the target motion path of the robotic arm.

[0007] Thirdly, embodiments of this application provide a robotic arm that uses the motion path acquisition method of the robotic arm as described in the first aspect to acquire the motion path.

[0008] Fourthly, embodiments of this application provide an electronic device including a processor and a memory. The memory stores programs or instructions that can run on the processor. When the program or instructions are executed by the processor, they implement the steps of the motion path acquisition method for the robotic arm as described in the first aspect.

[0009] Fifthly, embodiments of this application provide a readable storage medium storing a program or instructions, which, when executed by a processor, implement the steps of the motion path acquisition method for the robotic arm as described in the first aspect.

[0010] This embodiment introduces optimized motion vectors, which can limit the robotic arm path through various parameters to meet the needs of actual working conditions. By changing the optimized motion vectors and optimizing the cycle time, a balance can be achieved between actual working conditions and optimized time, thus improving the optimization effect. Attached Figure Description

[0011] Figure 1 A schematic diagram of the gantry trajectory of a robotic arm in a related technology is shown;

[0012] Figure 2 One of the flowcharts of the motion path acquisition method provided in this application is shown;

[0013] Figure 3 The second schematic flowchart of the motion path acquisition method provided in this application embodiment is shown;

[0014] Figure 4 The third schematic flowchart of the motion path acquisition method provided in this application embodiment is shown;

[0015] Figure 5The fourth flowchart of the motion path acquisition method provided in this application embodiment is shown;

[0016] Figure 6 The fifth flowchart of the motion path acquisition method provided in this application embodiment is shown;

[0017] Figure 7 A structural block diagram of the motion path acquisition device provided in an embodiment of this application is shown;

[0018] Figure 8 A structural block diagram of the electronic device provided in an embodiment of this application is shown;

[0019] Figure 9 The sixth flowchart of the motion path acquisition method provided in this application embodiment is shown;

[0020] Figure 10 One of the motion path diagrams provided in the embodiments of this application is shown;

[0021] Figure 11 This is a second schematic diagram of the motion path provided in an embodiment of this application;

[0022] Figure 12 The third schematic diagram of the motion path provided in the embodiment of this application is shown.

[0023] in, Figures 7 to 12 The correspondence between the reference numerals and component names in the attached drawings is as follows:

[0024] 100: Motion path acquisition device for robotic arm; 110: First setting module; 120: Second setting module; 130: First acquisition module; 140: Second acquisition module; 150: Third acquisition module; 200: Electronic device; 210: Processor; 220: Memory. Detailed Implementation

[0025] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0026] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0027] The following is in conjunction with the appendix Figures 2 to 12 The present application provides a detailed description of the motion path acquisition method and device, robotic arm, electronic device and storage medium provided in the embodiments of this application through specific implementations and application scenarios.

[0028] This application provides a method for obtaining the motion path of a robotic arm. Figure 2 This document illustrates one of the flowcharts for a method of obtaining the motion path of a robotic arm according to an embodiment of this application. Figure 2 As shown, the method for obtaining the motion path of the robotic arm includes:

[0029] Step S102: Set the first distance in the first direction, the second distance in the second direction, and the third distance in the third direction in the motion path.

[0030] Step S104: Based on the first distance, the second distance, and the third distance, set the direction of the first motion vector, the magnitude of the first motion vector, and the first percentage.

[0031] Step S106: Based on the direction of the first motion vector, the magnitude of the first motion vector, and the first percentage, obtain the first motion vector and the second motion vector of the robotic arm.

[0032] Step S108: Based on the first motion vector and the second motion vector, obtain the optimized motion vector of the robotic arm.

[0033] Step S110: Adjust and optimize the motion vector based on the operable cone and the cycle time to obtain the target motion path of the robotic arm.

[0034] Understandably, robotic arms play a crucial role in traditional manufacturing, the 3C electronics industry (3C being an abbreviation for computer, communication, and consumer electronics products), and logistics. A typical working condition for robotic arms is pick-and-place, which in actual production can manifest as material handling in manufacturing, high-speed loading and unloading in the electronics industry, or parcel sorting, depalletizing, and palletizing in logistics. Although their specific manifestations differ in actual working conditions, the motion path of robotic arms often uses a standardized point-to-point setting format during robot programming. Specifically, by setting four key points for the trajectory, a gate-shaped trajectory is formed, such as... Figure 1 As shown. Generally speaking, when a robotic arm performs the above tasks, a high cycle time is required, and high-speed grasping is a common requirement. This can be optimized through robot motion parameters, which can include speed and acceleration. Furthermore, the path, i.e., the robot's TCP (Tool Center Position), traversed in Cartesian space can be optimized according to the user's actual scenario to meet the high cycle time requirements.

[0035] In related technologies, robotic arm path optimization usually uses circular arc transitions to optimize cycle time. Although the time is reduced after optimization, the proportion and amplitude of the circular arc transition are relatively simple and cannot achieve a balance between meeting actual working conditions and optimizing time.

[0036] The path optimization methods of related technologies do not customize parameters for different scenarios, resulting in limited improvement in cycle time.

[0037] The path planning in related technologies does not take into account the feasible workspace and collision avoidance requirements. Using large-scale circular transitions may lead to problems with robot-environment interference.

[0038] In this embodiment, firstly, based on the actual working conditions of the robotic arm, a first distance in the first direction, a second distance in the second direction, and a third distance in the third direction are set in the robotic arm's motion path. Setting these distances provides a basis for subsequent parameter settings, thereby enabling the robotic arm to fulfill the process requirements in the actual working conditions. Secondly, based on the first and second distances, this embodiment proposes three parameters: a first motion vector direction, a first motion vector magnitude, and a first percentage. By setting these parameters, the robotic arm's motion path is represented by multiple parameters, enabling path optimization. Compared to the single-parameter approach using circular transitions in related technologies, this embodiment extends the definition to multiple parameters, making the robotic arm's motion path more adaptable to various grasping conditions and better fulfilling various working condition requirements. Thirdly, based on the first motion vector direction, the first motion vector magnitude, and the first percentage, this embodiment obtains the robotic arm's first and second motion vectors, and then uses these first and second motion vectors to obtain the optimized motion vectors for the robotic arm. Based on the actual working conditions and the third distance, the motion vector is adjusted and optimized to improve the operable cone and cycle time. This results in the optimized target motion path of the robotic arm. Following this path, the robotic arm can perform operations such as object grasping, fulfilling the customer's requirements for the robotic arm. In this embodiment, by introducing optimized motion vectors—that is, providing multi-parameter customization based on actual working conditions—the optimization effect can be improved. Furthermore, the use of an operable cone avoids collisions with obstacles, making path planning more practical.

[0039] In related technologies, robotic arm path optimization uses circular arc transitions, but the proportion and amplitude of these transitions are limited and cannot meet the needs of actual working conditions. This embodiment introduces optimized motion vectors, which can limit the robotic arm path through various parameters to meet the requirements of actual working conditions. By changing the optimized motion vectors and optimizing the cycle time, a balance can be achieved between actual working conditions and optimization time, thus improving the optimization effect.

[0040] In response to the problem that the robotic arm path uses a large-scale circular arc transition in related technologies, which may cause interference between the robotic arm and the environment, this embodiment introduces an operable cone to avoid collisions with obstacles, so that the path planning fully considers the anti-collision requirements and is more in line with the actual working conditions.

[0041] In some embodiments of this application, Figure 3 The second schematic flowchart of the motion path acquisition method for a robotic arm provided in this application embodiment is shown, as follows: Figure 3 As shown, the motion path is defined by setting a first distance in a first direction, a second distance in a second direction, and a third distance in a third direction, specifically including:

[0042] Step S202: Set the first distance as the travel height of the robotic arm in the first direction of the gripping point.

[0043] Step S204: Set the second distance as the travel height of the robotic arm in the second direction at the placement point.

[0044] Step S206: Set the third distance as the straight-line distance in the third direction between the gripping point and the placement point of the robotic arm.

[0045] In this embodiment, for the grasping operation, it is necessary to obtain a first distance, a second distance, and a third distance. Before acquiring the motion trajectory, the first distance is set as the travel height of the robotic arm in the first direction at the grasping point. The second distance is set as the travel height of the robotic arm in the second direction at the placement point. The third distance is set as the straight-line distance of the robotic arm in the third direction between the grasping point and the placement point.

[0046] It is understandable that the angle between the first direction and the vertical direction is less than or equal to the first threshold, the angle between the second direction and the vertical direction is less than or equal to the second threshold, and the angle between the third direction and the horizontal direction is less than or equal to the third threshold. Specifically, the first threshold, the second threshold, and the third threshold can be set according to the working conditions.

[0047] This embodiment allows for the optimization of the robotic arm's motion path based on the user's actual working conditions by setting a first distance, a second distance, and a third distance, ultimately yielding the robotic arm's target motion path.

[0048] In some embodiments of this application, the first direction and the second direction are vertical, and the third direction is horizontal.

[0049] Furthermore, in this embodiment, the first and second directions are set as vertical directions, and the third direction is set as a horizontal direction. By setting the first and second directions as vertical directions and the third direction as a horizontal direction, this embodiment can simplify the subsequent path optimization calculation process.

[0050] In some embodiments of this application, Figure 4 The third schematic flowchart of the motion path acquisition method for a robotic arm provided in this application embodiment is shown. Figure 4 As shown, the first motion vector direction, the first motion vector magnitude, and the first percentage are set, specifically including:

[0051] Step S302: Set the direction of the first motion vector.

[0052] Step S304: Set the size of the first motion vector.

[0053] Step S306: Set the first percentage as the percentage of the robot arm's movement height in the first direction to the first distance, or set the first percentage as the percentage of the robot arm's movement height in the second direction to the second distance.

[0054] Furthermore, this embodiment introduces customized parameters (i.e., extended parameters). These customized parameters include the first motion vector direction, the first motion vector magnitude, and the first percentage. By extending the basic parameters, this embodiment can achieve customized processing for the user's actual working conditions. In this embodiment, the first motion vector direction is set to , specifically, the vector direction pointing from the starting point to the ending point of the motion can be selected. The first motion vector magnitude is set to , and the first percentage is set to , representing the percentage of the actual second-direction motion in the total height. Specifically, the first percentage is the percentage of the robotic arm's motion height in the first direction relative to the first distance, or the first percentage is the percentage of the robotic arm's motion height in the second direction relative to the second distance.

[0055] In this embodiment, customized parameters are introduced based on the user's actual working conditions, and then the motion trajectory of the robotic arm is better optimized through the customized parameters.

[0056] In some embodiments of this application, Figure 5 The fourth flowchart illustrates the motion path acquisition method for a robotic arm provided in this application embodiment. Figure 5 As shown, obtaining the first and second motion vectors of the robotic arm specifically includes:

[0057] Step S402: Based on the direction and magnitude of the first motion vector, synthesize the first motion vector of the robotic arm.

[0058] Step S404: Based on the first motion vector magnitude and the first percentage, obtain the second motion vector magnitude and the second motion vector direction.

[0059] Step S406: Based on the magnitude and direction of the second motion vector, synthesize the second motion vector of the robotic arm.

[0060] Furthermore, given the first motion vector direction and the first motion vector magnitude, the first motion vector direction and the first motion vector magnitude are synthesized to obtain the first motion vector of the robotic arm.

[0061] Furthermore, given the first motion vector magnitude and the first percentage, the second motion vector magnitude and the second motion vector direction are obtained using the first motion vector magnitude and the first percentage.

[0062] Furthermore, having obtained the magnitude and direction of the second motion vector, the magnitude and direction of the second motion vector are synthesized to obtain the second motion vector of the robotic arm.

[0063] In this embodiment, the first motion vector and the second motion vector are obtained through basic parameters and customized parameters, providing a basis for obtaining the optimized motion vector in the future.

[0064] In some embodiments of this application, the optimized motion vector of the robotic arm is obtained based on the first motion vector and the second motion vector, specifically including:

[0065] The first and second motion vectors are combined to obtain the optimized motion vector of the robotic arm.

[0066] Furthermore, based on the first and second motion vectors, vector synthesis is performed on the two vectors to obtain the optimization target based on the motion vectors. In this embodiment, the optimized motion vectors are used to optimize the motion path of the robotic arm.

[0067] In some embodiments of this application, the operable cone is a set of feasible trajectories for optimizing motion vectors.

[0068] Understandably, the full English name for a manipulable cone is Manipulable cone.

[0069] Furthermore, optimizing the motion vectors will form a cone as a feasible set of trajectories, and the set of feasible trajectories will form an operable cone.

[0070] Furthermore, the operable cone can be used to represent the motion trend and velocity direction of the optimized motion vector, which can serve as a reference for specific processes.

[0071] In this embodiment, the feasible trajectory of the optimized motion vector is limited by an operable cone, providing a basis for the path optimization of the robotic arm.

[0072] In some embodiments of this application, Figure 6 The fifth flowchart illustrates the motion path acquisition method for a robotic arm provided in this application embodiment. Figure 6 As shown, by adjusting and optimizing the motion vectors, the operable cone and cycle time are optimized to obtain the target motion path of the robotic arm, which specifically includes:

[0073] Step S502: Based on the collision area, adjust and optimize the motion vector to optimize the operable cone so that the collision area is located outside the operable cone.

[0074] Step S504: Adjust and optimize the motion vector, optimize the cycle time, and obtain the target motion path of the robotic arm.

[0075] Furthermore, in this embodiment, the collision area is first obtained, the motion vector is adjusted and optimized, and optimization is performed in the feasible direction cone so that the robotic arm runs outside the collision area to meet the collision avoidance requirements.

[0076] Furthermore, in this embodiment, the motion vector is adjusted and optimized to optimize the cycle time, thereby obtaining a cycle time that meets the user's requirements. The final target path is the target motion path of the robotic arm.

[0077] Furthermore, based on extensive experimental data and the path fully defined in this embodiment, under the same process and location requirements, using the target motion path can effectively increase the cycle time by approximately 15%-30%, with the specific increase varying depending on the actual process.

[0078] In some embodiments of this application, the method for obtaining the motion path of the robotic arm further includes: determining the collision area based on the position of obstacles in the environment scene where the robotic arm is located.

[0079] Furthermore, in actual working conditions, users first determine the location of obstacles in the application scenario, and then determine the collision area based on the location of the obstacles.

[0080] Furthermore, in actual working conditions, users need to set the optimized motion vector to ensure that environmental obstacles are outside the operable cone, that is, the collision area is outside the operable cone, in order to meet the collision avoidance requirements of the robotic arm.

[0081] This embodiment sets a collision zone so that the optimized robotic arm motion path can meet the needs of actual working conditions.

[0082] In some embodiments of this application, the method for obtaining the motion path of the robotic arm further includes: adjusting the gripping angle and / or placement angle of the robotic arm by setting the size of the first motion vector.

[0083] Furthermore, the movement trend and speed direction of the robotic arm are represented by an operable cone, thereby allowing for the setting of specific processes. Specifically, when the robotic arm grasps or places an item, if there are requirements for the grasping or placing angle, the magnitude of the first motion vector can be adjusted to meet the direction requirements of the vertical vector.

[0084] In this embodiment, by adjusting the customized parameters, the effect of adjusting the process parameters can be achieved. That is, by adjusting the size of the first motion vector, the gripping angle and / or placement angle of the robotic arm can be adjusted, so that the gripping or placement of the robotic arm is more in line with the actual working conditions.

[0085] The motion path acquisition method for a robotic arm provided in this application can be executed by a motion path acquisition device for the robotic arm. This application uses the example of a motion path acquisition device for the robotic arm executing the motion path acquisition method to illustrate the motion path acquisition device for the robotic arm provided in this application.

[0086] In some embodiments of this application, a motion path acquisition device for a robotic arm is provided. Figure 7 The diagram shows a structural block diagram of the motion path acquisition device for a robotic arm provided in an embodiment of this application. Figure 7 As shown, the motion path acquisition device 100 for a robotic arm includes a first setting module 110, a second setting module 120, a first acquisition module 130, a second acquisition module 140, and a third acquisition module 150. The first setting module 110 is used to set a first distance in a first direction, a second distance in a second direction, and a third distance in a third direction in the motion path. The second setting module 120 is used to set a first motion vector direction, a first motion vector magnitude, and a first percentage based on the first, second, and third distances. The first acquisition module 130 is used to acquire a first motion vector and a second motion vector of the robotic arm based on the first motion vector direction, the first motion vector magnitude, and the first percentage. The second acquisition module 140 is used to acquire an optimized motion vector of the robotic arm based on the first and second motion vectors. The third acquisition module 150 is used to adjust the optimized motion vector, optimizing it based on the operable cone and the cycle time, to obtain the target motion path of the robotic arm.

[0087] In this embodiment, firstly, the first setting module 110 sets a first distance in a first direction, a second distance in a second direction, and a third distance in a third direction in the robot arm's motion path according to the actual working conditions of the robot arm. By setting the first, second, and third distances, a basis can be provided for subsequent parameter settings, thereby enabling the robot arm to complete the process requirements in the actual working conditions. Secondly, based on the first and second distances, this embodiment proposes three parameters: a first motion vector direction, a first motion vector magnitude, and a first percentage. The second setting module 120 sets the first motion vector direction, the first motion vector magnitude, and the first percentage, realizing the representation of the robot arm's motion path through multiple parameters, thereby achieving path optimization through multiple parameters. Compared with the single parameter of arc transition in related technologies, this embodiment extends the definition to multiple parameters, making the robot arm's motion path more adaptable to various grasping conditions and better fulfilling various working condition requirements. Thirdly, based on the first motion vector direction, the first motion vector magnitude, and the first percentage, this embodiment obtains the first and second motion vectors of the robot arm through the first acquisition module 130, and then obtains the optimized motion vectors of the robot arm through the second acquisition module 140 based on the first and second motion vectors. Based on the actual working conditions, the motion vector is adjusted and optimized through the third acquisition module 150 to optimize the operable cone and cycle time, thereby obtaining the optimized target motion path of the robotic arm. The robotic arm follows the target motion path to perform operations such as grasping objects, thus meeting the requirements of the customer's scenario for the robotic arm. In this embodiment, by introducing optimized motion vectors, that is, providing multi-parameter customization according to actual working conditions, the optimization effect can be improved. Furthermore, the use of an operable cone avoids collisions with obstacles, making the path planning more practical.

[0088] In related technologies, robotic arm path optimization uses circular arc transitions, but the proportion and amplitude of these transitions are limited and cannot meet the needs of actual working conditions. This embodiment introduces optimized motion vectors, which can limit the robotic arm path through various parameters to meet the requirements of actual working conditions. By changing the optimized motion vectors and optimizing the cycle time, a balance can be achieved between actual working conditions and optimization time, thus improving the optimization effect.

[0089] In response to the problem that the robotic arm path uses a large-scale circular arc transition in related technologies, which may cause interference between the robotic arm and the environment, this embodiment introduces an operable cone to avoid collisions with obstacles, so that the path planning fully considers the anti-collision requirements and is more in line with the actual working conditions.

[0090] The motion path acquisition device 100 for the robotic arm provided in this application embodiment can realize the various processes of the above-described motion path acquisition method embodiment for the robotic arm and achieve the same technical effect. To avoid repetition, it will not be described again here.

[0091] This application also provides a robotic arm that uses the various processes of the above-described robotic arm motion path acquisition method embodiments to acquire motion paths and achieves the same technical effect. To avoid repetition, it will not be described again here.

[0092] like Figure 8 As shown, this application embodiment also provides an electronic device 200, which includes a processor 210 and a memory 220. The memory 220 stores a program or instructions that can run on the processor 210. When the program or instructions are executed by the processor 210, they implement the various steps of the above method embodiments and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0093] The processor 210 is used to set the first distance in the first direction, the second distance in the second direction, and the third distance in the third direction in the motion path.

[0094] Processor 210 is used to set the direction of a first motion vector, the magnitude of a first motion vector, and a first percentage based on a first distance, a second distance, and a third distance.

[0095] Processor 210 is used to obtain a first motion vector and a second motion vector of the robotic arm based on a first motion vector direction, a first motion vector magnitude and a first percentage.

[0096] Processor 210 is used to obtain optimized motion vectors for the robotic arm based on a first motion vector and a second motion vector.

[0097] Processor 210 is used to adjust and optimize motion vectors based on the operable cone and cycle time to obtain the target motion path of the robotic arm.

[0098] The processor 210 provided in this application embodiment can implement each process of the above-described robotic arm motion path acquisition method embodiment and achieve the same technical effect. To avoid repetition, it will not be described again here.

[0099] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described robotic arm motion path acquisition method embodiment and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0100] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0101] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface and the processor are coupled. The processor is used to run programs or instructions to implement the various processes of the above-described robotic arm motion path acquisition method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0102] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0103] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-described robotic arm motion path acquisition method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be described again here. Specific implementation examples:

[0105] The following technical problems exist in the process of optimizing the relevant robotic arm trajectory:

[0106] (1) At present, the path optimization of related technologies generally adopts the trajectory arc transition to optimize the cycle time. Although the time is reduced after optimization, the ratio and amplitude of the arc transition are relatively simple and cannot achieve a balance between meeting the actual working conditions and optimizing the time.

[0107] (2) Current path optimization methods do not customize parameters for different scenarios, and the effect of improving the beat rate is limited.

[0108] (3) Current path planning does not take into account the feasible workspace and the need for collision prevention. For example, using a large-scale circular arc transition will cause problems with the robot interfering with the environment.

[0109] The following issues need to be addressed during the optimization of the robotic arm trajectory:

[0110] (1) Further optimization is needed for the path optimization method using circular arc transition.

[0111] (2) Further improve the effect of rhythm optimization.

[0112] (3) Provides multi-parameter customization for actual working conditions.

[0113] The objectives of this embodiment include:

[0114] (1) Develop a multi-parameter path optimization algorithm.

[0115] (2) Provide scene customization parameters to greatly optimize the capture of the beat.

[0116] This embodiment provides a method for obtaining the motion path of a robotic arm, the process of which is as follows: Figure 9As shown, it includes the following steps:

[0117] Step S602: Confirm basic motion parameters.

[0118] For the grasping operation of the robotic arm, this embodiment maintains consistency with related technologies in terms of basic parameters, requiring the selection of vertical distance and horizontal movement distance. Specifically, the basic motion parameters include H1, H2, and L. H1 represents the vertical height formed when the robotic arm grasps (i.e., the first distance), H2 represents the vertical height formed when the robotic arm is placed (i.e., the second distance), and L represents the straight-line distance of the horizontal movement of the robotic arm. In reality, the robot may complete the movement along an axis, meaning the Cartesian trajectory will not be a strictly straight line.

[0119] Step S604: Confirm the customized parameters.

[0120] This embodiment, by expanding the basic parameters, allows for customized processing to be tailored to the user's actual working conditions. For example... Figure 10 , Figure 11 and Figure 12 As shown, this embodiment introduces customized parameters to optimize the grasping trajectory. The customized parameters include α, s, and r. Among them, α represents the direction of the horizontal motion vector v1 (i.e., the direction of the first motion vector v1), which can generally be selected as the vector direction from the starting point of the motion to the ending point of the motion. s represents the magnitude of the horizontal motion vector v1 (i.e., the magnitude of the first motion vector v1). r represents the percentage of the actual vertical motion in the total height (i.e., the percentage of the vertical motion height to the first distance H1, or the percentage of the vertical motion height to the second distance H2).

[0121] Figure 10 As shown, position A is Figure 12 Top view of position B in the middle. Figure 10 In the diagram, route C, route D, and route E represent three possible trajectories of the robotic arm, and α is the direction of the horizontal motion vector in route C.

[0122] Figure 11 In the diagram, an operable cone F (i.e., a feasible cone) is defined by s and r. The height of the operable cone F is the product of the vertical height and r, and the radius of the larger end of the operable cone F is s. The magnitudes of s and r together determine the direction and magnitude of the vertical motion vector v2 (i.e., the magnitude of the second motion vector v2).

[0123] Step S606: Calculate the horizontal motion vector and the vertical motion vector, synthesize the optimized motion vector, and determine the optimization direction of the optimized motion vector.

[0124] After the horizontal motion vector v1 and the vertical motion vector v2 are determined, vector synthesis of the two vectors yields the optimization objective based on the motion vectors in this scheme, namely, optimizing the motion vector v. The motion vectors will form a cone as the feasible set of trajectories (i.e., the feasible cone, or the operable cone), such as... Figure 12 As shown.

[0125] Step S608: Adjust and optimize the motion vector, optimize the feasible cone, and optimize the cycle time according to the actual process conditions.

[0126] In practical applications, users need to define motion vectors to ensure that environmental obstacles remain outside the feasible cone, thus meeting collision avoidance requirements. Simultaneously, the feasible cone can also represent the trend and direction of motion, providing a reference for specific processes. For example, when there are requirements for the gripping and placement angles, relevant parameters, such as 's', can be set to meet the direction requirements of the vertical vector.

[0127] Based on extensive experimental data and a fully defined path, the cycle time can be increased by approximately 15%-30% under the same process and point requirements. The specific increase will vary depending on the actual process.

[0128] This embodiment extends the single-parameter definition of the arc transition in related technologies to a multi-parameter (custom parameter) definition, which can adapt to various gripping conditions.

[0129] This embodiment adds customized parameters (optimized motion vectors) to the customer's scenario, which can improve the optimization effect.

[0130] This embodiment introduces a collision area definition function, making path planning more practical.

[0131] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0132] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.

[0133] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A method for obtaining the motion path of a robotic arm, characterized in that, include: Define the first distance in the first direction, the second distance in the second direction, and the third distance in the third direction in the motion path; Based on the first distance, the second distance, and the third distance, a first motion vector direction, a first motion vector magnitude, and a first percentage are set; Based on the first motion vector direction, the first motion vector magnitude, and the first percentage, the first motion vector and the second motion vector of the robotic arm are obtained; Based on the first motion vector and the second motion vector, the optimized motion vector of the robotic arm is obtained; The optimized motion vector is adjusted based on the operable cone and the cycle time to obtain the target motion path of the robotic arm. Define the first distance in the first direction, the second distance in the second direction, and the third distance in the third direction in the motion path, specifically including: The first distance is set as the travel height of the robotic arm in the first direction at the gripping point; The second distance is set as the travel height of the robotic arm in the second direction at the placement point; The third distance is defined as the straight-line distance in a third direction between the gripping point and the placement point of the robotic arm; The setting of the first motion vector direction, the first motion vector magnitude, and the first percentage specifically includes: Set the direction of the first motion vector; Set the magnitude of the first motion vector; The first percentage is set as the percentage of the height of the robotic arm's movement in the first direction to the first distance; Based on the first motion vector and the second motion vector, the optimized motion vector of the robotic arm is obtained, specifically including: The first motion vector and the second motion vector are combined to obtain the optimized motion vector of the robotic arm; The operable cone is the set of feasible trajectories for the optimized motion vector.

2. The method for obtaining the motion path of a robotic arm according to claim 1, characterized in that, The first direction and the second direction are vertical, and the third direction is horizontal.

3. The method for obtaining the motion path of a robotic arm according to claim 1, characterized in that, The acquisition of the first motion vector and the second motion vector of the robotic arm specifically includes: Based on the direction and magnitude of the first motion vector, the first motion vector of the robotic arm is synthesized; Based on the first motion vector magnitude and the first percentage, obtain the second motion vector magnitude and the second motion vector direction; The second motion vector of the robotic arm is synthesized based on the magnitude and direction of the second motion vector.

4. The method for obtaining the motion path of a robotic arm according to any one of claims 1 to 3, characterized in that, The adjustment of the optimized motion vector, optimizing the operable cone and cycle time, to obtain the target motion path of the robotic arm specifically includes: Based on the collision region, the optimized motion vector is adjusted to optimize the operable cone so that the collision region is located outside the operable cone; The optimized motion vector is adjusted to optimize the cycle time, thereby obtaining the target motion path of the robotic arm.

5. The method for obtaining the motion path of a robotic arm according to claim 4, characterized in that, Also includes: The collision area is determined based on the location of obstacles in the environment in which the robotic arm is located.

6. The method for obtaining the motion path of a robotic arm according to any one of claims 1 to 3, characterized in that, Also includes: By setting the magnitude of the first motion vector, the gripping angle and / or placement angle of the robotic arm can be adjusted.

7. A path acquisition device for a robotic arm, characterized in that, include: The first setting module is used to set the first distance in the first direction, the second distance in the second direction, and the third distance in the third direction in the motion path; The second setting module is used to set the direction of the first motion vector, the magnitude of the first motion vector, and the first percentage based on the first distance, the second distance, and the third distance; The first acquisition module is used to acquire the first motion vector and the second motion vector of the robotic arm based on the first motion vector direction, the first motion vector magnitude and the first percentage; The second acquisition module is used to acquire the optimized motion vector of the robotic arm based on the first motion vector and the second motion vector; The third acquisition module is used to adjust the optimized motion vector, optimize the operable cone and the cycle time, and obtain the target motion path of the robotic arm; Specifically, the first distance in the first direction, the second distance in the second direction, and the third distance in the third direction within the defined motion path include: The first distance is set as the travel height of the robotic arm in the first direction at the gripping point; The second distance is set as the travel height of the robotic arm in the second direction at the placement point; The third distance is defined as the straight-line distance in a third direction between the gripping point and the placement point of the robotic arm; The setting of the first motion vector direction, the first motion vector magnitude, and the first percentage specifically includes: Set the direction of the first motion vector; Set the magnitude of the first motion vector; The first percentage is set as the percentage of the height of the robotic arm's movement in the first direction to the first distance; Based on the first motion vector and the second motion vector, the optimized motion vector of the robotic arm is obtained, specifically including: The first motion vector and the second motion vector are combined to obtain the optimized motion vector of the robotic arm; The operable cone is the set of feasible trajectories for the optimized motion vector.

8. A robotic arm, characterized in that, include: The motion path of the robotic arm is obtained using the motion path acquisition method described in any one of claims 1 to 6.

9. An electronic device, characterized in that, include: A memory that stores programs or instructions; A processor, configured to implement the motion path acquisition method for the robotic arm as described in any one of claims 1 to 6 when executing the program or instructions.

10. A readable storage medium having a program or instructions stored thereon, characterized in that, When the program or instructions are executed by the processor, they implement the steps of the motion path acquisition method for the robotic arm as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Task space based self-collision avoidance control method for real-time movements of robot

    CN104097205A

  • Collision avoidance method, control device, and program

    CN105690410A