Motion planning system with orientation constraint and robot
Through the motion planning system with orientation constraints, 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, which solves the problem of parts detachment caused by uncertain weight and posture when the robot grasps, and improves the grasping efficiency. Stability and accuracy in picking and handling.
Patent Information
- Application Number
- CN202310165456.2
- 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 is grabbing the target part, due to the different weight or uncertain attitude of the target part, the direction of the force on the execution end does not match the direction of the center of gravity, resulting in the part being detached during the movement.
A motion planning system with orientation constraints is used, including a processing unit, a display unit, an execution unit and a vision system. Through the path planning unit, the center of gravity direction determination unit and the parameter adjustment unit, the planned path is generated and the motion parameters of the execution end joints are dynamically adjusted, so that The center of gravity of the target piece is always directed downward.
It effectively prevents the target parts from falling off during movement and ensures the stability and accuracy of grabbing and handling.
Smart Images

Figure CN118544339A
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 system and a robot with orientation constraints.
[0006] In a first aspect, an embodiment of the present application provides a motion planning system with orientation constraints, comprising: a processing unit, a display unit, an execution unit, and a visual system, wherein the processing unit is electrically connected to the display unit, and the display unit is used to dynamically display the processing process and results of the processing unit; the execution unit is used to perform the grasping and placement tasks of the target part according to the instructions of the processing unit, and the visual system is used to determine the posture information of the target part in the grasping state, and send the posture information to the processing unit; wherein the processing unit comprises:
[0007] A path planning unit, used to generate a planned path according to the location information of the target part and the location information of the stacking area;
[0008] A gravity center direction determining unit, used to determine the gravity center direction of the target part according to the position and posture information of the target part;
[0009] The parameter adjustment unit is used to dynamically adjust the motion parameters of the execution end joint of the execution unit 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.
[0010] Optionally, the path planning unit includes: a model building unit and a path simulation unit;
[0011] The model building unit is used to build a three-dimensional simulation model including the target part, the execution unit, and the stacking area;
[0012] The path simulation unit is used to simulate and obtain the planned path according to the coordinate position of the target part and the coordinate position of the stacking area.
[0013] Optionally, the path simulation unit is specifically used to:
[0014] 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;
[0015] 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.
[0016] Optionally, there are multiple visual systems installed at different positions of the execution unit, and the visual systems are specifically used for:
[0017] Collecting the target part in the grasping state from multiple different directions to obtain a three-dimensional image of the target part;
[0018] 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.
[0019] Optionally, the positioning surface is a pre-specified surface on the target part, or a surface on the target part with a positioning mark.
[0020] Optionally, the parameter adjustment unit is specifically used to:
[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 execution end joint of the execution unit 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, the center of gravity direction of the target part is the direction of a line connecting the center of gravity of the target part and a positioning point, wherein the position of the center of gravity of the target part is known, and the positioning point is set on the surface of the target part.
[0026] Optionally, the processing unit is further used for:
[0027] After dynamically adjusting the motion parameters of the execution end joint of the execution unit, the current position information of the end execution joint is obtained;
[0028] 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.
[0029] Optionally, the planned path satisfies the following constraints:
[0030] The execution unit takes the shortest time to complete the target part handling, and / or,
[0031] The total number of adjustments of each joint of the execution unit is the least.
[0032] In a second aspect, an embodiment of the present application provides a robot, comprising: a robot body, a drive motor and a robotic arm, wherein:
[0033] The processor in the robot body is used to obtain a planned path according to the motion planning system with orientation constraints described in any one of the first aspects, and generate corresponding control instructions according to the planned path;
[0034] The driving motor is used to drive the mechanical arm to perform the grasping task according to the control instruction;
[0035] The processor is also used to determine the direction of the center of gravity of the target part according to the posture information of the target part, and dynamically adjust the motion parameters of the robot's execution end joint when the robot arm moves the target part to the stacking area according to the planned path, so that the center of gravity of the target part is always facing downward.
[0036] Compared with the prior art, the present invention has the following beneficial effects:
[0037] In this application, a processing unit, a display unit, an execution unit, and a visual system are set. The display unit is used to dynamically display the processing process and results of the processing unit. The execution unit is used to perform the grabbing and placing tasks of the target part according to the instructions of the processing unit. The visual system is used to determine the posture information of the target part in the grabbing state and send the posture information to the processing unit. The processing unit is configured with a path planning unit, a center of gravity direction determination unit, and a parameter adjustment unit. Among them, the path planning unit is used to generate a planned path according to the position information of the target part and the position information of the stacking area; the center of gravity direction determination unit is used to determine the center of gravity direction of the target part according to the posture information of the target part; the parameter adjustment unit is used to dynamically adjust the motion parameters of the execution end joint of the execution unit in the process of transporting the target part to the stacking area according to the planned path, 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 execution unit grabbing the target part, thereby effectively avoiding the situation where the target part falls off during movement. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] 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:
[0039] Figure 1 is a schematic architecture diagram of a robot system according to an embodiment of the present application;
[0040] Figure 2 A schematic diagram of a motion planning system with orientation constraints provided in an embodiment of the present application Figure 1 ;
[0041] Figure 3 A schematic diagram of a motion planning system with orientation constraints provided in an embodiment of the present application Figure 2 ;
[0042] Figure 4 A schematic diagram of a target component provided in an embodiment of the present application when it is in posture A;
[0043] Figure 5 A schematic diagram of a target component provided in an embodiment of the present application when it is in posture B;
[0044] Figure 6 A schematic diagram of the structure of a motion planning device with orientation constraints provided in one embodiment of the present application;
[0045] Figure 7 It is a schematic diagram of the structure of a computer-readable storage medium in an embodiment of the present invention. DETAILED DESCRIPTION
[0046] 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.
[0047] 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.
[0048] 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.
[0049] 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.
[0050] 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.
[0051] 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.
[0052] Embodiments of the present application provide a motion planning system and a robot 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 assembly line, a simple handling robot, etc., and the embodiments of the present application are not limited thereto.
[0053] Figure 1 is a schematic architecture diagram of a robot system according to an embodiment of the present application, such as Figure 1As 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).
[0054] 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.
[0055] 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.
[0056] 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.
[0057] Figure 2 A schematic diagram of a motion planning system with orientation constraints provided in an embodiment of the present application Figure 1 ,like Figure 2As shown, the motion planning system 200 with orientation constraint in this embodiment may include: a processing unit 210, a display unit 220, an execution unit 230, and a visual system 240. The processing unit 210 is electrically connected to the display unit 220, and the display unit 220 is used to dynamically display the processing process and results of the processing unit 210; the execution unit 230 is used to perform the grasping and placement tasks of the target part according to the instructions of the processing unit 210, and the visual system 240 is used to determine the posture information of the target part in the grasping state, and send the posture information to the processing unit 210; wherein the processing unit 210 includes: a path planning unit 211, which is used to generate a planned path according to the position information of the target part and the position information of the stacking area; a center of gravity direction determination unit 212, which is used to determine the center of gravity direction of the target part according to the posture information of the target part; a parameter adjustment unit 213, which is used to dynamically adjust the motion parameters of the robot's execution end joint in the process of transporting the target part to the stacking area according to the planned path, so that the center of gravity direction of the target part is always downward.
[0058] Exemplarily, in this embodiment, constraints need to be satisfied when planning a path, and the constraints include: the execution unit takes the shortest time to complete the transportation of the target part, and / or the total number of adjustments of each joint of the execution unit is the least.
[0059] For example, taking a robot as an example, since the posture of a target part is uncertain when a 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.
[0060] 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.
[0061] In this embodiment, a processing unit, a display unit, an execution unit, and a visual system are set. The display unit is used to dynamically display the processing process and results of the processing unit. The execution unit is used to perform the grabbing and placing tasks of the target part according to the instructions of the processing unit. The visual system is used to determine the position information of the target part in the grabbing state and send the position information to the processing unit. The processing unit is configured with a path planning unit, a center of gravity direction determination unit, and a parameter adjustment unit. Among them, the path planning unit is used to generate a planned path according to the position information of the target part and the position information of the stacking area; the center of gravity direction determination unit is used to determine the center of gravity direction of the target part according to the position information of the target part; the parameter adjustment unit is used to dynamically adjust the motion parameters of the execution end joint of the execution unit in the process of transporting the target part to the stacking area according to the planned path, 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 execution unit grabbing the target part, thereby effectively avoiding the situation where the target part falls off during movement.
[0062] Figure 3A schematic diagram of a motion planning system with orientation constraints provided in an embodiment of the present application Figure 2 ,like Figure 3 As shown, the motion planning system 200 with orientation constraint in this embodiment may include: a processing unit 210, a display unit 220, an execution unit 230, and a visual system 240. The processing unit 210 is electrically connected to the display unit 220, and the display unit 220 is used to dynamically display the processing process and results of the processing unit 210; the execution unit 230 is used to perform the grasping and placement tasks of the target part according to the instructions of the processing unit 210, and the visual system 240 is used to determine the posture information of the target part in the grasping state, and send the posture information to the processing unit 210; wherein the processing unit 210 includes: a path planning unit 211, which is used to generate a planned path according to the position information of the target part and the position information of the stacking area; a center of gravity direction determination unit 212, which is used to determine the center of gravity direction of the target part according to the posture information of the target part; a parameter adjustment unit 213, which is used to dynamically adjust the motion parameters of the robot's execution end joint in the process of transporting the target part to the stacking area according to the planned path, so that the center of gravity direction of the target part is always downward. Furthermore, in this embodiment, the path planning unit 211 includes: a model construction unit 2111 and a path simulation unit 2112; the model construction unit 2111 is used to construct a three-dimensional simulation model including a target part, a robot, and a stacking area; the path simulation unit 2112 is used to simulate and obtain a planned path according to the coordinate position of the target part and the coordinate position of the stacking area.
[0063] In an optional embodiment, the path simulation unit 2112 is specifically used to: use the coordinate position of the target part as the first track point of the planned path, and the coordinate position of the stacking area as the last track point of the planned path, and evenly insert multiple track points; starting from the first track point of the planned path, determine the motion parameters of each joint when each track point reaches the next track point; the motion parameters include: rotation angle, rotation speed. Then, based on the motion parameters of each joint of the robot at each track point, control the robot to pass through each track point in turn and finally reach the specified position.
[0064] 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 each time the execution unit performs a gripping task, the mechanical arm fixture of the execution unit is positioned at the initial position. Then, the position of the fixture of the execution unit is adjusted through the visual system. Specifically, the position of the target part is obtained through the visual system 240, and the motion parameters of each joint of the execution unit 230 are dynamically adjusted until the fixture of the execution unit 230 and the target part are in a grippable posture and distance, and finally the fixture of the execution unit is controlled to grasp the target part.
[0065] In another optional embodiment, a rough stacking position may be set, such as above a pallet or above a stacking area, and then the position of the fixture of the execution unit 230 may be adjusted through the visual system. Specifically, the precise position of the stacking area (target stacking area) is obtained through the visual system 240, and the motion parameters of each joint of the execution unit 230 are dynamically adjusted until the fixture of the execution unit 230 is located directly above the target stacking area and within a preset height range, and finally the fixture of the execution unit is controlled to place the target part in the target stacking area.
[0066] In an optional embodiment, there are multiple visual systems 240 installed at different positions of the execution unit 230. The visual system 240 is specifically used to: collect the target part in the grasping state from multiple different directions to obtain a three-dimensional image of the target part; determine the position information of the target part based on the three-dimensional image; 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 the grasping task of precision and small workpieces.
[0067] 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.
[0068] Figure 4 A schematic diagram of a target component provided in an embodiment of the present application when it is in posture A; Figure 5 This is a schematic diagram of a target part provided in an embodiment of the present application in posture B. Figure 4 , Figure 5 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.
[0069] Exemplarily, the positioning surface is a pre-specified surface on the target part, or a surface on the target part with a positioning mark.
[0070] Exemplarily, the direction of the center of gravity of the target part is the direction of a line connecting the center of gravity of the target part and the positioning point, wherein the position of the center of gravity of the target part is known and the positioning point is set on the surface of the target part.
[0071] 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.
[0072] In this embodiment, the current center of gravity direction of the target part can also 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.
[0073] 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.
[0074] Exemplarily, the processing unit 210 is also used to: obtain the current position information of the end execution joint after dynamically adjusting the motion parameters of the end joint executed by the execution unit 230; and update the generated planned path according to the current position information of the end execution joint and the position information of the stacking area.
[0075] 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.
[0076] Furthermore, the embodiment of the present application also provides a motion planning method with orientation constraints. The method in the embodiment of the present application may include:
[0077] Step S1: Generate a planned path according to the location information of the target part and the location information of the stacking area.
[0078] 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.
[0079] 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.
[0080] 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.
[0081] 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.
[0082] 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.
[0083] Step S2: Grasp the target part, and determine the position information of the target part in the grasping state through the visual system.
[0084] 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.
[0085] 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.
[0086] 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.
[0087] Step S3: Determine the center of gravity direction of the target part according to the position and posture information of the target part.
[0088] Step S4: 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.
[0089] 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.
[0090] 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.
[0091] Optionally, the above method may further include the following steps:
[0092] Step S5: Obtain the current position information of the end effector joint.
[0093] Step S6: Update the generated planned path according to the current position information of the end execution joint and the position information of the stacking area.
[0094] 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.
[0095] Figure 6 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 600 with orientation constraints in this embodiment may include: a processor 601 and a memory 602.
[0096] The memory 602 is used to store programs. The memory 602 may include volatile memory (English: volatile memory), such as random-access memory (English: random-access memory, abbreviated: RAM), such as static random-access memory (English: static random-access memory, abbreviated: SRAM), double data rate synchronous dynamic random access memory (English: Double Data Rate Synchronous Dynamic Random Access Memory, abbreviated: DDR SDRAM), etc. The memory may also include non-volatile memory (English: non-volatile memory), such as flash memory (English: flash memory). The memory 602 is used to store computer programs (such as applications, functional units, etc. that implement the above method), computer instructions, etc. The above computer programs, computer instructions, etc. can be partitioned and stored in one or more memories 602. And the above computer programs, computer instructions, data, etc. can be called by the processor 601.
[0097] The above-mentioned computer programs, computer instructions, etc. may be stored in partitions in one or more memories 602 . And the above-mentioned computer programs, computer instructions, data, etc. may be called by the processor 601 .
[0098] The processor 601 is used to execute the computer program stored in the memory 602 to implement each step of the method involved in the above embodiment.
[0099] For details, please refer to the relevant description in the previous method embodiment.
[0100] The processor 601 and the memory 602 may be independent structures or integrated structures. When the processor 601 and the memory 602 are independent structures, the memory 602 and the processor 601 may be coupled and connected via a bus 603 .
[0101] The workpiece contour marking device 600 of this embodiment can execute the technical solution in the above method. Its specific implementation process and technical principles refer to the relevant description in the above method, which will not be repeated here.
[0102] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as a "circuit", "unit" or "platform".
[0103] 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.
[0104] 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.
[0105] 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.
[0106] 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.
[0107] Figure 7 Schematic diagram of the structure of a computer-readable storage medium in an embodiment of the present invention. Figure 7As shown, a program product 700 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.
[0108] 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.
[0109] 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.
[0110] 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).
[0111] 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.
[0112] 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 system with orientation constraints, characterized in that: include: A processing unit, a display unit, an execution unit, and a visual system, wherein the processing unit is electrically connected to the display unit, and the display unit is used to dynamically display the processing process and results of the processing unit; the execution unit is used to perform the grasping and placing tasks of the target part according to the instructions of the processing unit, and the visual system is used to determine the posture information of the target part in the grasping state and send the posture information to the processing unit; wherein the processing unit includes: A path planning unit, used to generate a planned path according to the location information of the target part and the location information of the stacking area; A gravity center direction determining unit, used to determine the gravity center direction of the target part according to the position and posture information of the target part; The parameter adjustment unit is used to dynamically adjust the motion parameters of the execution end joint of the execution unit 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.
2. The motion planning system with orientation constraints according to claim 1, characterized in that: The path planning unit includes: a model building unit and a path simulation unit; The model building unit is used to build a three-dimensional simulation model including the target part, the execution unit, and the stacking area; The path simulation unit is used to simulate and obtain the planned path according to the coordinate position of the target part and the coordinate position of the stacking area.
3. The motion planning system with orientation constraints according to claim 2, characterized in that: The path simulation unit is specifically used for: 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, respectively determining the motion parameters of each joint when each trajectory point reaches the next trajectory point; The motion parameters include: rotation angle and rotation speed.
4. The motion planning system with orientation constraints according to claim 1, characterized in that: There are multiple visual systems installed at different positions of the execution unit. The visual systems are specifically used for: Collecting the target part in the grasping state from multiple different directions to obtain a three-dimensional image of the target part; Determining the position and posture information of the target part according to the three-dimensional image; The position information includes: length, width, height, and direction of the positioning surface.
5. The motion planning system with orientation constraints according to claim 1, characterized in that: The positioning surface is a pre-specified surface on the target part, or a surface on the target part on which a positioning mark is set.
6. The motion planning system with orientation constraints according to claim 1, characterized in that: The parameter adjustment unit is specifically used for: 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.
7. The motion planning system with orientation constraints according to claim 6, characterized in that: The direction of the center of gravity of the target part is the direction of the line connecting the center of gravity of the target part and the positioning point, wherein the position of the center of gravity of the target part is known, and the positioning point is set on the surface of the target part.
8. The motion planning system with orientation constraints according to any one of claims 1 to 7, characterized in that: The processing unit is further used for: After dynamically adjusting the motion parameters of the execution end joint of the execution unit, the current position information of the end execution joint is obtained; 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.
9. The motion planning system with orientation constraints according to any one of claims 1 to 7, characterized in that: The planned path meets the following constraints: The execution unit takes the shortest time to complete the target part handling, and / or, The total number of adjustments of each joint of the execution unit is the least.
10. A robot, characterized in that: include: Robot body, drive motor and robotic arm, including: The processor in the robot body is used to obtain a planned path according to the motion planning system with orientation constraints according to any one of claims 1 to 9, and generate corresponding control instructions according to the planned path; The driving motor is used to drive the mechanical arm to perform the grasping task according to the control instruction; The processor is also used to determine the direction of the center of gravity of the target part according to the posture information of the target part, and dynamically adjust the motion parameters of the robot's execution end joint when the robot arm moves the target part to the stacking area according to the planned path, so that the center of gravity of the target part is always facing downward.
