Motion planning method and device with orientation constraint, equipment and storage medium
By generating a planned path and dynamically adjusting the motion parameters of the robot's execution end joint, the center of gravity of the target piece is always directed downwards, which solves the problem of parts coming off during the robot's grasping process and improves grasping stability and handling efficiency.
Patent Information
- Application Number
- CN202310165392.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-24
- Publication Date
- 2024-08-27
AI Technical Summary
When the robot grabs the target part, due to the different weight or uncertain posture of the target part, the direction of the force on the execution end of the robot does not match the direction of the center of gravity of the target part, resulting in the part being detached during the movement.
By generating a planned path and using the vision system to determine the pose information of the target part, the motion parameters of the robot's execution end joints are dynamically adjusted so that the center of gravity of the target part is always downward to avoid detachment.
It effectively prevents the target parts from falling off during the robot's grasping process, and improves the grasping stability and handling efficiency.
Smart Images

Figure CN118544338A
Abstract
Description
Background Art
[0002] With the development of intelligent control technology, it has become possible to use robots for multi-condition operations. Currently, robots can complete various tasks, such as logistics sorting, palletizing, handling, etc.
[0003] When the robot performs various tasks, it is necessary to plan the movement of the robot so that the robot can reach the designated area and complete the preset actions.
[0004] However, in actual operation, when the robot grasps the target part, due to the difference in the weight of the target part itself, or the uncertainty of the target part's posture when grasping, the direction of the force applied by the robot's execution end cannot match the direction of the target part's center of gravity, causing the part to fall off during movement. Summary of the invention
[0005] In view of the defects in the prior art, an object of the present invention is to provide a motion planning method, device, equipment and storage medium with orientation constraints.
[0006] In a first aspect, an embodiment of the present application provides a motion planning method with orientation constraints, comprising:
[0007] Generate a planned path based on the location information of the target parts and the location information of the stacking area;
[0008] Grasping the target part, and determining the position and posture information of the target part in the grasping state through a visual system;
[0009] Determining the center of gravity direction of the target part according to the position and posture information of the target part;
[0010] In the process of transporting the target part to the stacking area according to the planned path, the motion parameters of the robot's execution end joints are dynamically adjusted so that the center of gravity of the target part is always directed downward.
[0011] Optionally, a planning path is generated according to the location information of the target part and the location information of the stacking area, including:
[0012] Build a 3D simulation model including the target parts, robots, and stacking areas;
[0013] The planned path is obtained by simulation according to the coordinate position of the target part and the coordinate position of the stacking area.
[0014] Optionally, according to the coordinate position of the target part and the coordinate position of the stacking area, simulating to obtain the planned path includes:
[0015] The coordinate position of the target part is used as the first track point of the planned path, the coordinate position of the stacking area is used as the last track point of the planned path, and multiple track points are evenly inserted;
[0016] Starting from the first trajectory point of the planned path, the motion parameters of each joint when each trajectory point reaches the next trajectory point are determined respectively; the motion parameters include: rotation angle and rotation speed.
[0017] Optionally, determining the position and posture information of the target part in the grasping state by a visual system includes:
[0018] The target part in the grasping state is captured by a multi-directional visual system to obtain a three-dimensional image of the target part;
[0019] According to the three-dimensional image, the position information of the target part is determined; the position information includes: length, width, height, and direction of the positioning surface.
[0020] Optionally, dynamically adjusting the motion parameters of the robot's actuator joints so that the center of gravity of the target part is always directed downward includes:
[0021] Obtaining the current center of gravity direction of the target part according to a preset step length or time interval;
[0022] Determining whether the angle between the current center of gravity direction of the target part and the vertical direction is within a preset range;
[0023] If the angle is within a preset range, it is determined that the center of gravity of the target part is directed downward;
[0024] If the angle is not within the preset range, the motion parameters of the robot's execution end joint are adjusted until the angle between the current center of gravity direction of the target part and the vertical direction is within the preset range.
[0025] Optionally, after dynamically adjusting the motion parameters of the robot execution end joint, the method further includes:
[0026] Get the current position information of the end effector joint;
[0027] The generated planned path is updated according to the current position information of the end effector joint and the position information of the stacking area.
[0028] Optionally, the planned path satisfies the following constraints:
[0029] The robot takes the shortest time to complete the handling of the target part, and / or,
[0030] The total number of adjustments of each joint of the robot is minimal.
[0031] In a second aspect, an embodiment of the present application provides a motion planning device with a direction constraint, comprising:
[0032] A path planning module is used to generate a planned path based on the location information of the target parts and the location information of the stacking area;
[0033] A posture information acquisition module, used to grasp the target part and determine the posture information of the target part in the grasping state through a visual system;
[0034] A gravity center direction determination module, used to determine the gravity center direction of the target part according to the position and posture information of the target part;
[0035] The motion parameter dynamic adjustment module is used to dynamically adjust the motion parameters of the robot's execution end joints during the process of transporting the target part to the stacking area according to the planned path, so that the center of gravity of the target part is always directed downward.
[0036] Optionally, the path planning module is specifically used to:
[0037] Build a 3D simulation model including the target parts, robots, and stacking areas;
[0038] The planned path is obtained by simulation according to the coordinate position of the target part and the coordinate position of the stacking area.
[0039] Optionally, the path planning module is specifically used to:
[0040] The coordinate position of the target part is used as the first track point of the planned path, the coordinate position of the stacking area is used as the last track point of the planned path, and multiple track points are evenly inserted;
[0041] Starting from the first trajectory point of the planned path, the motion parameters of each joint when each trajectory point reaches the next trajectory point are determined respectively; the motion parameters include: rotation angle and rotation speed.
[0042] Optionally, the posture information acquisition module is specifically used to:
[0043] The target part in the grasping state is captured by a multi-directional visual system to obtain a three-dimensional image of the target part;
[0044] According to the three-dimensional image, the position information of the target part is determined; the position information includes: length, width, height, and direction of the positioning surface.
[0045] Optionally, the motion parameter dynamic adjustment module is specifically used to:
[0046] Obtaining the current center of gravity direction of the target part according to a preset step length or time interval;
[0047] Determining whether the angle between the current center of gravity direction of the target part and the vertical direction is within a preset range;
[0048] If the angle is within a preset range, it is determined that the center of gravity of the target part is directed downward;
[0049] If the angle is not within the preset range, the motion parameters of the robot's execution end joint are adjusted until the angle between the current center of gravity direction of the target part and the vertical direction is within the preset range.
[0050] Optionally, the device further includes: a planning path updating module, configured to:
[0051] After dynamically adjusting the motion parameters of the robot's end joints, the current position information of the end joints is obtained;
[0052] The generated planned path is updated according to the current position information of the end effector joint and the position information of the stacking area.
[0053] Optionally, the planned path satisfies the following constraints:
[0054] The robot takes the shortest time to complete the handling of the target part, and / or,
[0055] The total number of adjustments of each joint of the robot is minimal.
[0056] In a third aspect, an embodiment of the present application provides a motion planning device with a direction constraint, comprising: a processor and a memory, wherein the memory stores executable program instructions, and when the processor calls the program instructions in the memory, the processor is used to:
[0057] Execute the steps of the motion planning method with orientation constraint as described in any one of the first aspects.
[0058] In a fourth aspect, an embodiment of the present application provides a robot, comprising: a robot body, a drive system, and a robotic arm, wherein the robot body is provided with a processor and a memory, wherein the memory stores executable program instructions, and when the processor calls the program instructions in the memory, the processor is used to control the drive system to drive the robotic arm to implement the steps of the motion planning method with orientation constraint as described in any one of the first aspects.
[0059] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium for storing a program, which, when executed, implements the steps of the motion planning method with orientation constraint as described in any one of the first aspects.
[0060] In a sixth aspect, an embodiment of the present application provides a program product, comprising a computer program, wherein the computer program is stored in a readable storage medium, and at least one processor of a robot can read the computer program from the readable storage medium, and the at least one processor executes the computer program so that the robot implements the motion planning method with orientation constraint as described in the first aspect.
[0061] Compared with the prior art, the present invention has the following beneficial effects:
[0062] In this application, a planning path is generated according to the position information of the target part and the position information of the stacking area; the target part is grasped, and the position information of the target part in the grasping state is determined by the visual system; the center of gravity direction of the target part is determined according to the position information of the target part; in the process of transporting the target part to the stacking area according to the planned path, the motion parameters of the robot's execution end joint are dynamically adjusted so that the center of gravity direction of the target part is always downward. In this way, the center of gravity of the target part can be kept always downward during the whole process of the robot grasping the target part, thereby effectively preventing the target part from falling off during movement. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings in the following descriptions are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without creative work. By reading the detailed description of the non-limiting embodiments with reference to the following drawings, other features, purposes and advantages of the present invention will become more obvious:
[0064] Figure 1 is a schematic architecture diagram of a robot system according to an embodiment of the present application;
[0065] Figure 2 A schematic diagram of a flow chart of a motion planning method with orientation constraints provided in an embodiment of the present application;
[0066] Figure 3 A schematic diagram of a target component provided in an embodiment of the present application when it is in posture A;
[0067] Figure 4 A schematic diagram of a target component provided in an embodiment of the present application when it is in posture B;
[0068] Figure 5 A flowchart of another motion planning method with orientation constraints provided in an embodiment of the present application;
[0069] Figure 6A schematic diagram of the structure of a motion planning device with orientation constraints provided in an embodiment of the present application;
[0070] Figure 7 A schematic diagram of the structure of a motion planning device with orientation constraints provided in one embodiment of the present application;
[0071] Figure 8 It is a schematic diagram of the structure of a computer-readable storage medium in an embodiment of the present invention. DETAILED DESCRIPTION
[0072] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0073] It should be noted that when a component is said to be "fixed to" another component, it can be directly on the other component or there can be a central component. When a component is said to be "connected to" another component, it can be directly connected to the other component or there can be a central component at the same time.
[0074] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.
[0075] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein, for example, can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0076] The following specific embodiments are used to describe in detail the technical solution of the present invention and how the technical solution of the present application solves the above technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0077] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0078] The embodiments of the present application provide a motion planning method, apparatus, device and storage medium with orientation constraints. The following description of the present application uses a robot as an example. It will be apparent to those skilled in the art that other types of robots can be used without restriction, and the embodiments of the present application can be applied to various types of robots. For example, a movable logistics robot, a robot on a large-scale production line, a simple handling robot, etc., the embodiments of the present application are not limited thereto.
[0079] Figure 1 is a schematic architecture diagram of a robot system according to an embodiment of the present application, such as Figure 1 As shown, the robot 100 may include: a base 110, a first joint 120, a first connecting arm 130, a second joint 140, a second connecting arm 150, a third joint 160, and a fixture 170. The first joint 120 is mounted on the base 110, and drives one end of the first connecting arm 130 to rotate through a first servo motor (not shown in the figure). The second joint 140 is mounted on the other end of the first connecting arm 130 and is connected to one end of the second connecting arm 150. The second joint 140 drives one end of the second connecting arm 150 to rotate through a second servo motor (not shown in the figure). The third joint 160 is mounted on the other end of the second connecting arm 150 and is detachably fastened to the fixture 170. The third joint 160 drives the fixture 170 to clamp the target part through a third servo motor (not shown in the figure).
[0080] Combination Figure 1 When the robot performs the palletizing operation, it needs to grab the target parts on the incoming material mechanism or the conveying mechanism and place the target parts in the preset stacking area. In this process, the robot needs to generate a planning path based on the location information of the target parts and the location information of the stacking area, and then determine the motion parameters of each joint based on the planning path. Based on the motion parameters of each joint, the robot is driven to complete the palletizing task.
[0081] However, in actual operation, when the robot grasps the target part, due to the difference in the weight of the target part itself, or the uncertainty of the target part's posture when grasping, the direction of the force applied by the robot's execution end cannot match the direction of the target part's center of gravity, causing the part to fall off during movement.
[0082] In response to the problems existing in the prior art, an embodiment of the present application aims to provide a motion planning method with orientation constraints, which can keep the center of gravity of the target part always downward during the entire process of the robot grasping the target part, thereby effectively preventing the target part from falling off during movement.
[0083] Figure 2 A flow chart of a motion planning method with orientation constraints provided in an embodiment of the present application is shown as follows: Figure 2 As shown, the method in the embodiment of the present application may include:
[0084] Step S201: Generate a planned path according to the location information of the target part and the location information of the stacking area.
[0085] In this embodiment, a three-dimensional simulation model including a target part, a robot, and a stacking area can be constructed; according to the coordinate position of the target part and the coordinate position of the stacking area, a planned path is obtained by simulation.
[0086] In an optional implementation, the coordinate position of the target part is used as the first track point of the planned path, and the coordinate position of the stacking area is used as the last track point of the planned path, and multiple track points are evenly inserted; starting from the first track point of the planned path, the motion parameters of each joint when each track point reaches the next track point are determined; the motion parameters include: rotation angle, rotation speed. Then, based on the motion parameters of each joint of the robot at each track point, the robot is controlled to pass through each track point in turn and finally reach the specified position.
[0087] In another optional embodiment, an initial position for grasping can be set, for example, the area near the discharge port or the area passed by the conveyor belt during its travel is used as the initial position for grasping, and the robot's mechanical arm clamp is positioned at the initial position whenever the robot performs a grasping task. Then, the position of the robot clamp is adjusted through the visual system. Specifically, the position of the target part is obtained through the visual system, and the motion parameters of each joint of the robot are dynamically adjusted until the robot clamp and the target part are in a grippable posture and distance, and finally the robot clamp is controlled to grasp the target part.
[0088] In another optional embodiment, a rough stacking position can also be set, such as above a pallet or above a stacking area, and then the position of the robot fixture can be adjusted through a visual system. Specifically, the precise position of the stacking area (target stacking area) is obtained through a visual system, and the motion parameters of each joint of the robot are dynamically adjusted until the robot fixture is located directly above the target stacking area and within a preset height range, and finally the robot fixture is controlled to place the target part in the target stacking area.
[0089] In this embodiment, constraints need to be met when planning the path, and the constraints include: the time taken by the robot to complete the handling of the target part is the shortest, and / or the total number of adjustments of each joint of the robot is the least.
[0090] Step S202: Grasp the target part, and determine the position and posture information of the target part in the grasping state through the visual system.
[0091] In this embodiment, since the posture of the target part is uncertain when the robot gripper grasps the target part, it is necessary to determine the posture information of the target part in the grasping state through a visual system.
[0092] Exemplarily, a certain surface of the target part may be set as an indication surface, and the posture of the target part may be evaluated according to the orientation of the indication surface.
[0093] In an optional implementation, a target part in a grasping state is captured by a multi-directional visual system to obtain a three-dimensional image of the target part; based on the three-dimensional image, the position information of the target part is determined; the position information includes: length, width, height, and the direction of the positioning surface. The position information determined in this way is very accurate and can be used for high-precision positioning, such as grasping tasks of precision and small workpieces.
[0094] Step S203: Determine the center of gravity direction of the target part according to the position and posture information of the target part.
[0095] In this embodiment, since the shape of the target part is known in advance, the position of the center of gravity of the target part is known. Assuming that the target part is in posture A, it is considered that the center of gravity of the target part is vertically downward. Taking posture A as a reference, assuming that the current target part is in posture B, the deflection angle of posture B rotated to posture A is taken as the deflection angle of the center of gravity of the target part. Therefore, the center of gravity direction of the target part can be expressed as the deflection direction. For example, when posture B is rotated to posture A, it needs to rotate 45 degrees clockwise, which is expressed as the center of gravity direction +45 degrees. Correspondingly, if posture B needs to rotate 35 degrees counterclockwise when rotating to posture A, it is expressed as the center of gravity direction -35 degrees.
[0096] Figure 3 A schematic diagram of a target component provided in an embodiment of the present application when it is in posture A; Figure 4 This is a schematic diagram of a target part provided in an embodiment of the present application in posture B. Figure 3 , Figure 4 As shown in the figure, when the target part 30 is dynamically adjusted from posture B to posture A, the direction of the center of gravity 31 is deflected by 45 degrees.
[0097] It should be noted that the present embodiment does not limit the specific setting method of the center of gravity direction. In addition to the above method, a positioning point can also be set on the target part, that is, the direction of the line through which the center of gravity passes through the positioning point is determined as the center of gravity direction.
[0098] Step S204: In the process of transporting the target part to the stacking area according to the planned path, the motion parameters of the robot's actuator joints are dynamically adjusted so that the center of gravity of the target part is always directed downward.
[0099] In this embodiment, the current center of gravity direction of the target part can be obtained according to a preset step size or time interval; it is determined whether the angle between the current center of gravity direction of the target part and the vertical direction is within a preset range; if the angle is within the preset range, it is determined that the center of gravity direction of the target part is downward; if the angle is not within the preset range, the motion parameters of the robot's execution end joint are adjusted until the angle between the current center of gravity direction of the target part and the vertical direction is within the preset range.
[0100] In this embodiment, a planning path is generated based on the position information of the target part and the position information of the stacking area; the target part is grasped, and the position information of the target part in the grasping state is determined by the visual system; the center of gravity direction of the target part is determined based on the position information of the target part; in the process of moving the target part to the stacking area according to the planned path, the motion parameters of the robot's actuator joint are dynamically adjusted so that the center of gravity direction of the target part is always downward. In this way, the center of gravity of the target part can be kept always downward during the whole process of the robot grasping the target part, thereby effectively preventing the target part from falling off during movement.
[0101] Figure 5 A flow chart of another motion planning method with orientation constraints provided in an embodiment of the present application is shown as follows: Figure 5 As shown, the method in the embodiment of the present application may include:
[0102] Step S501: Generate a planned path according to the location information of the target part and the location information of the stacking area.
[0103] Step S502: Grasp the target part, and determine the position and posture information of the target part in the grasping state through the visual system.
[0104] Step S503: Determine the center of gravity direction of the target part according to the position and posture information of the target part.
[0105] Step S504: In the process of transporting the target part to the stacking area according to the planned path, the motion parameters of the robot's actuator joints are dynamically adjusted so that the center of gravity of the target part is always directed downward.
[0106] For the specific implementation and technical effects of steps S501 to S504 in this embodiment, please refer to Figure 2 The description of steps S201 to S204 will not be repeated here.
[0107] Step S505: Acquire the current position information of the end effector joint.
[0108] Step S506: Update the generated planned path according to the current position information of the end execution joint and the position information of the stacking area.
[0109] In this embodiment, after the motion parameters of the robot's end joints are dynamically adjusted, the position of the robot's end joints will also change accordingly. In order to ensure the accuracy of stacking, after each dynamic adjustment, the current position information of the end joints is obtained in real time through the visual system, and the generated planning path is updated according to the current position information of the end joints and the position information of the stacking area.
[0110] Figure 6 A schematic diagram of a motion planning device with orientation constraints provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, the device in the embodiment of the present application may include:
[0111] A path planning module 601 is used to generate a planned path according to the location information of the target part and the location information of the stacking area;
[0112] A posture information acquisition module 602, used to grasp the target part and determine the posture information of the target part in the grasping state through the visual system;
[0113] A center of gravity direction determination module 603 is used to determine the center of gravity direction of the target part according to the position and posture information of the target part;
[0114] The motion parameter dynamic adjustment module 604 is used to dynamically adjust the motion parameters of the robot's actuator joints during the process of transporting the target part to the stacking area according to the planned path, so that the center of gravity of the target part is always directed downward.
[0115] Optionally, the path planning module 601 is specifically configured to:
[0116] Build a 3D simulation model including the target parts, robots, and stacking areas;
[0117] According to the coordinate position of the target part and the coordinate position of the stacking area, the planned path is obtained by simulation.
[0118] Optionally, the path planning module 601 is specifically configured to:
[0119] The coordinate position of the target part is used as the first track point of the planned path, and the coordinate position of the stacking area is used as the last track point of the planned path, and multiple track points are evenly inserted;
[0120] Starting from the first trajectory point of the planned path, the motion parameters of each joint are determined when each trajectory point reaches the next trajectory point; the motion parameters include: rotation angle and rotation speed.
[0121] Optionally, the posture information acquisition module 602 is specifically used to:
[0122] The target parts in the grasping state are collected by the visual system in multiple directions to obtain the three-dimensional image of the target parts;
[0123] According to the three-dimensional image, the position and posture information of the target part is determined; the position and posture information includes: length, width, height, and direction of the positioning surface.
[0124] Optionally, the motion parameter dynamic adjustment module 604 is specifically configured to:
[0125] Obtain the current center of gravity direction of the target part according to the preset step length or time interval;
[0126] Determine whether the angle between the current center of gravity direction of the target part and the vertical direction is within a preset range;
[0127] If the angle is within the preset range, it is determined that the center of gravity of the target part is directed downward;
[0128] If the angle is not within the preset range, the motion parameters of the robot's execution end joint are adjusted until the angle between the current center of gravity direction of the target part and the vertical direction is within the preset range.
[0129] Optionally, the planned path satisfies the following constraints:
[0130] The robot takes the shortest time to complete the handling of the target part, and / or,
[0131] The total number of adjustments of each joint of the robot is minimal.
[0132] Optionally, the device further includes: a planned path updating module 605, configured to:
[0133] After dynamically adjusting the motion parameters of the robot's end joints, the current position information of the end joints is obtained;
[0134] The generated planned path is updated according to the current position information of the end effector joint and the position information of the stacking area.
[0135] In this embodiment, after the motion parameters of the robot's end joints are dynamically adjusted, the position of the robot's end joints will also change accordingly. In order to ensure the accuracy of stacking, after each dynamic adjustment, the current position information of the end joints is obtained in real time through the visual system, and the generated planning path is updated according to the current position information of the end joints and the position information of the stacking area.
[0136] The motion planning device with orientation constraints of this embodiment can be executed Figure 2 , Figure 5 For the technical solution in the method shown, its specific implementation process and technical principles can be found in Figure 2 , Figure 5 The relevant descriptions in the method shown will not be repeated here.
[0137] In this embodiment, a planning path is generated based on the position information of the target part and the position information of the stacking area; the target part is grasped, and the position information of the target part in the grasping state is determined by the visual system; the center of gravity direction of the target part is determined based on the position information of the target part; in the process of moving the target part to the stacking area according to the planned path, the motion parameters of the robot's actuator joint are dynamically adjusted so that the center of gravity direction of the target part is always downward. In this way, the center of gravity of the target part can be kept always downward during the whole process of the robot grasping the target part, thereby effectively preventing the target part from falling off during movement.
[0138] Figure 7 This is a schematic diagram of the structure of a motion planning device with orientation constraints provided in an embodiment of the present application. The motion planning device with orientation constraints 700 in this embodiment may include: a processor 701 and a memory 702 .
[0139] The memory 702 is used to store programs. The memory 702 may include volatile memory, such as random-access memory (RAM), such as static random-access memory (SRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), etc. The memory may also include non-volatile memory, such as flash memory. The memory 702 is used to store computer programs (such as applications, functional modules, etc. that implement the above methods), computer instructions, etc. The above computer programs, computer instructions, etc. may be partitioned and stored in one or more memories 702. And the above computer programs, computer instructions, data, etc. may be called by the processor 701.
[0140] The above-mentioned computer programs, computer instructions, etc. may be stored in partitions in one or more memories 702 . And the above-mentioned computer programs, computer instructions, data, etc. may be called by the processor 701 .
[0141] The processor 701 is used to execute the computer program stored in the memory 702 to implement each step of the method involved in the above embodiment.
[0142] For details, please refer to the relevant description in the previous method embodiment.
[0143] The processor 701 and the memory 702 may be independent structures or integrated structures. When the processor 701 and the memory 702 are independent structures, the memory 702 and the processor 701 may be coupled and connected via a bus 703 .
[0144] The motion planning 700 with orientation constraints in this embodiment can be performed Figure 2 , Figure 5 For the technical solution in the method shown, its specific implementation process and technical principles can be found in Figure 2 , Figure 5 The relevant descriptions in the method shown will not be repeated here.
[0145] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as systems, methods or program products. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, which may be collectively referred to herein as "circuits", "modules" or "platforms".
[0146] In addition, an embodiment of the present application further provides a computer-readable storage medium, in which computer-executable instructions are stored. When at least one processor of a user device executes the computer-executable instructions, the user device executes the above-mentioned various possible methods.
[0147] Among them, computer-readable media include computer storage media and communication media, wherein the communication media include any media that facilitates the transmission of computer programs from one place to another. The storage medium can be any available medium that can be accessed by a general or special-purpose computer. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in a user device. Of course, the processor and the storage medium can also be present in a communication device as discrete components.
[0148] The present application also provides a program product, which includes a computer program. The computer program is stored in a readable storage medium. At least one processor of the server can read the computer program from the readable storage medium. At least one processor executes the computer program so that the server implements any method of the above-mentioned embodiments of the present invention.
[0149] Those skilled in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiments; and the aforementioned storage medium includes: read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc. Various media that can store program codes.
[0150] Figure 8 Schematic diagram of the structure of a computer-readable storage medium in an embodiment of the present invention. Figure 8As shown, a program product 800 for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0151] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0152] Computer readable storage media may include data signals propagated in baseband or as part of a carrier wave, wherein readable program codes are carried. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program codes contained on the readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination thereof.
[0153] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0154] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the embodiments can be referred to each other. The above description of the disclosed embodiments enables professionals and technicians in this field to implement or use the present invention. Various modifications to these embodiments will be obvious to professionals and technicians in this field, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to these embodiments shown in this article, but will comply with the widest range consistent with the principles and novel features disclosed herein.
[0155] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art may make various modifications or variations within the scope of the claims, which do not affect the essence of the present invention.
Claims
1. A motion planning method with orientation constraints, characterized in that: include: Generate a planned path based on the location information of the target parts and the location information of the stacking area; Grasping the target part, and determining the position and posture information of the target part in the grasping state through a visual system; Determining the center of gravity direction of the target part according to the position and posture information of the target part; In the process of transporting the target part to the stacking area according to the planned path, the motion parameters of the robot's execution end joints are dynamically adjusted so that the center of gravity of the target part is always directed downward.
2. The motion planning method with orientation constraints according to claim 1, characterized in that: Generate a planning path based on the location information of the target parts and the location information of the stacking area, including: Build a 3D simulation model including the target parts, robots, and stacking areas; The planned path is obtained by simulation according to the coordinate position of the target part and the coordinate position of the stacking area.
3. The motion planning method with orientation constraints according to claim 2, characterized in that: According to the coordinate position of the target part and the coordinate position of the stacking area, the planning path is obtained by simulation, including: The coordinate position of the target part is used as the first track point of the planned path, the coordinate position of the stacking area is used as the last track point of the planned path, and multiple track points are evenly inserted; Starting from the first trajectory point of the planned path, the motion parameters of each joint when each trajectory point reaches the next trajectory point are determined respectively; the motion parameters include: rotation angle and rotation speed.
4. The motion planning method with orientation constraints according to claim 1, characterized in that: The position information of the target part in the grasping state is determined by the visual system, including: The target part in the grasping state is captured by a multi-directional visual system to obtain a three-dimensional image of the target part; According to the three-dimensional image, the position information of the target part is determined; the position information includes: length, width, height, and direction of the positioning surface.
5. The motion planning method with orientation constraints according to claim 1, characterized in that: Dynamically adjusting the motion parameters of the robot's actuator joints so that the center of gravity of the target part is always directed downward, including: Obtaining the current center of gravity direction of the target part according to a preset step length or time interval; Determining whether the angle between the current center of gravity direction of the target part and the vertical direction is within a preset range; If the angle is within a preset range, it is determined that the center of gravity of the target part is directed downward; If the angle is not within the preset range, the motion parameters of the robot's execution end joint are adjusted until the angle between the current center of gravity direction of the target part and the vertical direction is within the preset range.
6. The motion planning method with orientation constraint according to any one of claims 1 to 5, characterized in that: After dynamically adjusting the motion parameters of the robot's actuator joints, the method further includes: Get the current position information of the end effector joint; The generated planned path is updated according to the current position information of the end effector joint and the position information of the stacking area.
7. The motion planning method with orientation constraints according to any one of claims 1 to 5, characterized in that: The planned path meets the following constraints: The robot takes the shortest time to complete the handling of the target part, and / or, The total number of adjustments of each joint of the robot is minimal.
8. A motion planning device with orientation constraints, characterized in that: include: A path planning module is used to generate a planned path based on the location information of the target parts and the location information of the stacking area; A posture information acquisition module, used to grasp the target part and determine the posture information of the target part in the grasping state through a visual system; A gravity center direction determination module, used to determine the gravity center direction of the target part according to the position and posture information of the target part; The motion parameter dynamic adjustment module is used to dynamically adjust the motion parameters of the robot's execution end joints during the process of transporting the target part to the stacking area according to the planned path, so that the center of gravity of the target part is always directed downward.
9. A motion planning device with orientation constraints, characterized in that: include: A processor and a memory, wherein the memory stores executable program instructions, and when the processor calls the program instructions in the memory, the processor is used to: Execute the steps of the motion planning method with orientation constraints as described in any one of claims 1 to 7.
10. A computer-readable storage medium for storing a program, characterized in that: When the program is executed, the steps of the motion planning method with orientation constraints described in any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Sample testing method, device, equipment and medium
CN119688220A
