Trajectory generation system, trajectory generation method, and program
The system generates real-time transition trajectories for mobile manipulators to avoid environmental obstacles, enhancing task completion efficiency by stabilizing trajectory adjustments using quadratic programming.
Patent Information
- Application Number
- JP2023055327
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2043-03-30
AI Technical Summary
Existing trajectory generation systems for mobile manipulators are inefficient when unexpected obstacles arise during task execution, requiring prolonged waiting times for re-extraction of motion data to avoid contact with changing environments.
A system that acquires real-time three-dimensional environmental data to generate transition trajectories using quadratic programming, minimizing contact with the environment by adjusting trajectories through avoidance motion data extraction and transition trajectory generation.
Enables mobile manipulators to complete tasks while avoiding environmental contact in a timely manner by stabilizing transition trajectory generation and ensuring smooth operation.
Smart Images

Figure 2024142918000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a trajectory generation system, a trajectory generation method, and a program. [Background technology]
[0002] Patent Document 1 discloses a trajectory generation device for a mobile manipulator. Specifically, the device uses a database that stores multiple pieces of motion data.
[0003] Each operation data is composed of a combination of a target hand position and posture, a mobile manipulator trajectory for moving the mobile manipulator's hand position and posture to the target hand position and posture, and a swept volume (SV) which is the space that the mobile manipulator traverses when operating according to the trajectory.
[0004] When the mobile manipulator starts a task, three-dimensional point cloud data of the service environment is acquired, a search is performed in a database using the target hand position and posture corresponding to the task as a key, and operation data having a target hand position and posture close to the target hand position and posture corresponding to the task and having a sweep space that does not interfere with the service environment is extracted.
[0005] The mobile manipulator then moves according to the trajectory of the extracted motion data. [Prior art documents] [Patent documents]
[0006] [Patent Document 1] Patent Publication No. 2021-024019 Summary of the Invention [Problem to be solved by the invention]
[0007] However, the configuration of Patent Document 1 above is premised on the fact that there are no unknown obstacles that may come into contact with the mobile manipulator during the movement of the mobile manipulator after the mobile manipulator starts a task.
[0008] Therefore, if it is determined that the mobile manipulator will come into contact with the ever-changing service environment during its movement after the mobile manipulator has performed a task, it will have to execute the extraction process again to extract appropriate operation data from the database, which means that the mobile manipulator will be forced to wait for a long time until the extraction process is completed.
[0009] An object of the present invention is to provide a technology for generating, in a short time, a trajectory for a mobile manipulator that can complete a task while avoiding contact with a service environment when it is determined that the mobile manipulator will come into contact with the service environment. [Means for solving the problem]
[0010] According to a first aspect of the present disclosure, a storage unit that stores a plurality of pieces of operation data including a target hand position and posture, a trajectory of the mobile manipulator for moving the hand position and posture of the mobile manipulator to the target hand position and posture, and a sweep space that is a space that the mobile manipulator crosses when operating the mobile manipulator according to the trajectory; a first motion data extraction unit that acquires three-dimensional data of an environment at a first timing, and extracts from the storage unit a plurality of motion data having a target hand position / posture corresponding to the target hand position / posture corresponding to a task, the motion data having a swept space that is not in contact with the environment based on the three-dimensional data acquired at the first timing; a task initiation unit that initiates the task based on first action data that is any one of the plurality of action data extracted by the first action data extraction unit; a contact determination unit that determines whether or not the mobile manipulator comes into contact with the environment based on the three-dimensional data acquired in real time until the mobile manipulator completes the task by acquiring three-dimensional data of the environment in real time after the first timing; a second motion data extraction unit that extracts, as second motion data, motion data having a swept space that is not in contact with the environment based on the three-dimensional data acquired in real time from the plurality of motion data extracted by the first motion data extraction unit when the contact determination unit determines that contact has occurred; a transition trajectory generation unit that generates a transition trajectory that transitions from a trajectory of the first motion data to a trajectory of the second motion data; Including, A trajectory generation system is provided. According to the above configuration, when it is determined that the mobile manipulator will come into contact with a service environment during its movement after starting a task, a trajectory for the mobile manipulator that can complete the task while avoiding contact with the service environment can be generated in a short period of time.
[0011] The difference between the trajectory start point and the trajectory end point of the transfer trajectory may be less than a predetermined value. According to the above configuration, the generation process of generating the transfer trajectory is stabilized.
[0012] The angle formed by a direction of the trajectory end point of the transition trajectory as viewed from the trajectory start point of the transition trajectory and a direction immediately after completion of the transition of the trajectory of the second motion data may be less than a predetermined value. With the above configuration, it is possible to realize a smooth motion of the mobile manipulator when switching from the transition trajectory to the trajectory of the second motion data.
[0013] The orbit end point of the transfer orbit is a first condition that a difference between a trajectory start point and a trajectory end point of the transfer trajectory is less than a predetermined value; a second condition that an angle between a direction of the trajectory end point as viewed from the trajectory start point and a direction immediately after the transition of the trajectory of the second action data is completed is less than a predetermined value; The downstream point may be the most downstream trajectory point among a plurality of trajectory points that simultaneously satisfy the above. With the above configuration, the generation process for generating the transition trajectory is stabilized, smooth operation of the mobile manipulator can be achieved when switching from the transition trajectory to the trajectory of the second movement data, and the time required for the mobile manipulator to execute a task can be reduced.
[0014] The transition trajectory generation unit may generate the transition trajectory by quadratic programming based on a first cost function for reducing the difference between two consecutive trajectory points of the mobile manipulator, and a second cost function for avoiding an environment based on the three-dimensional data acquired in real time. According to the above configuration, the transfer orbit can be generated rationally.
[0015] The transition trajectory generation unit may weight the difference between two consecutive trajectory points of the mobile manipulator based on an avoidance amount for avoiding an environment based on the three-dimensional data acquired by the mobile manipulator in real time, and calculate the first cost function by calculating a sum of the weighted differences. According to the above configuration, when generating a transition trajectory to avoid contact between the mobile manipulator and a service environment based on three-dimensional point cloud data acquired in real time, it is possible to prevent two consecutive trajectory points from being excessively separated from each other.
[0016] The transition trajectory generation unit may calculate an avoidance amount for the mobile manipulator to avoid the environment based on the three-dimensional data acquired in real time, based on the logarithm of the amount of overlap between the mobile manipulator and the environment based on the three-dimensional data acquired in real time. According to the above configuration, the process of generating the transfer orbit by the quadratic programming method is stabilized.
[0017] According to a second aspect of the present disclosure, A trajectory generation method in which a computer generates a trajectory by referring to a storage unit that stores a plurality of pieces of operation data including a target hand position and posture, a trajectory of a mobile manipulator for moving the hand position and posture of a mobile manipulator to the target hand position and posture, and a sweep space that is a space that the mobile manipulator crosses when the mobile manipulator is operated according to the trajectory, the method comprising: acquiring three-dimensional data of an environment at a first timing, and extracting from the storage unit a plurality of pieces of motion data having a target hand position and posture corresponding to the target hand position and posture corresponding to a task, the motion data having a swept space that is not in contact with the environment based on the three-dimensional data acquired at the first timing; starting the task based on a first action data that is any one of the plurality of action data; acquiring three-dimensional data of the environment in real time after the first timing, and determining whether or not the mobile manipulator comes into contact with the environment based on the three-dimensional data acquired in real time until the mobile manipulator completes the task; When it is determined that there is contact, extracting, from the plurality of pieces of motion data, motion data having a sweep space that is not in contact with the environment based on the three-dimensional data acquired in real time, as second motion data; generating a transition trajectory that transitions from the trajectory of the first motion data to the trajectory of the second motion data; A trajectory generation method is provided. According to the above method, when it is determined that the mobile manipulator will come into contact with a service environment during its movement after starting a task, a trajectory for the mobile manipulator can be generated in a short time that enables the mobile manipulator to complete the task while avoiding contact with the service environment.
[0018] A program is provided that causes a computer to execute the above-described trajectory generation method. Effect of the Invention
[0019] According to the present disclosure, when it is determined that a mobile manipulator will come into contact with a service environment during its movement after starting a task, a trajectory for the mobile manipulator can be generated in a short period of time that enables the mobile manipulator to complete the task while avoiding contact with the service environment. [Brief description of the drawings]
[0020] [Figure 1] FIG. 2 is a perspective view of a mobile manipulator. [Diagram 2] FIG. 2 is a functional block diagram of a mobile manipulator. [Diagram 3] FIG. 2 is a functional block diagram of a management server. [Figure 4] FIG. 2 is a data structure diagram of a basic database. [Diagram 5] FIG. 13 is a data structure diagram of a candidate database. [Figure 6] This is a diagram for comparing the initial SV, the avoidance SV, and the transition SV. [Figure 7] FIG. [Figure 8] FIG. [Figure 9] FIG. 2 is a diagram showing the positional relationship between trajectory points and obstacles. [Figure 10] 1 is a control flow of a trajectory generation system. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0021] Hereinafter, specific embodiments to which the present disclosure is applied will be described in detail with reference to the drawings. However, the present disclosure is not limited to the following embodiments. In addition, the following description and drawings are appropriately simplified for clarity of explanation.
[0022] First, the mobile manipulator 1 will be described with reference to Fig. 1. The mobile manipulator 1 is a so-called HSR (Human Support Robot). The mobile manipulator 1 is configured to be capable of autonomously executing tasks such as clearing away dishes, taking items out of a storage shelf, storing items in a storage shelf, and other tasks.
[0023] The mobile manipulator 1 includes a mobile carriage 2 and a robot 3 mounted on the mobile carriage 2 to perform the above tasks.
[0024] The movable carriage 2 typically includes a plurality of wheels and a drive motor. The drive motor rotates at least one of the plurality of wheels to realize the movement of the mobile manipulator 1 within the service environment.
[0025] The service environment is a specific example of the environment. The environment can also be referred to as the external environment seen from the mobile manipulator 1.
[0026] The robot 3 includes a robot body 4, a multi-jointed manipulator 5 supported by the robot body 4, an end effector 6 provided at the tip of the manipulator 5, an environmental sensor 7, and a control unit 8.
[0027] The manipulator 5 has an upper arm link 9 and a forearm link 10. The upper arm link 9 is connected to the robot body 4 via a shoulder joint 11. The upper arm link 9 and the forearm link 10 are connected via an elbow joint 12. The end effector 6 is connected to the tip of the upper arm link 9 via a wrist joint 13.
[0028] The environmental sensor 7 scans the service environment of the mobile manipulator 1, and outputs three-dimensional point cloud data of the service environment to the control unit 8. The environmental sensor 7 is typically an RGB-D camera, a stereo camera, a laser range finder, or an ultrasonic sensor. The three-dimensional point cloud data is a specific example of three-dimensional data. The environmental sensor 7 may be installed in the service environment instead of being mounted on the mobile manipulator 1. In addition to the mobile manipulator 1 being equipped with the environmental sensor 7, another environmental sensor may be installed in the service environment.
[0029] In this embodiment, the trajectory generation system 100 includes a mobile manipulator 1 and a management server 80. The trajectory generation system 100 is realized by distributed processing by the mobile manipulator 1 and the management server 80. However, the management server 80 may be omitted. In this case, the trajectory generation system 100 is realized by the mobile manipulator 1 alone.
[0030] Fig. 2 shows a functional block diagram of the mobile manipulator 1. As shown in Fig. 2, the control unit 8 includes a CPU 8a (Central Processing Unit), a memory 8b including a RAM (Random Access Memory), a ROM (Read Only Memory), and an SSD (Solid State Drive), and a communication interface 8c. The CPU 8a reads out and executes a control program stored in the memory 8b, and the control program causes hardware such as the CPU 8a to function as a task preparation unit 20, a task execution unit 21, a contact determination unit 22, an avoidance operation data extraction unit 23, a transition trajectory generation unit 24, and a trajectory update unit 25.
[0031] Fig. 3 shows a functional block diagram of the management server 80. As shown in Fig. 3, the management server 80 includes a CPU 80a (Central Processing Unit), a memory 80b including a RAM (Random Access Memory), a ROM (Read Only Memory), and an SSD (Solid State Drive), and a communication interface 80c. The CPU 80a reads and executes a control program stored in the memory 80b, so that the control program causes hardware such as the CPU 80a to function as a database generation unit 81, a basic database 82, a data receiving unit 83, a candidate action data extraction unit 85, and a candidate database 86.
[0032] The control unit 8 of the mobile manipulator 1 shown in Fig. 2 is capable of two-way communication with the management server 80 via a communication interface 8c. The management server 80 shown in Fig. 3 is capable of two-way communication with the mobile manipulator 1 via a communication interface 80c.
[0033] 3 generates a basic database 82. The database generation unit 81 generates the basic database 82 in the preparation stage for starting the operation of the mobile manipulator 1. That is, it is assumed that the basic database 82 has already been generated at the time when the mobile manipulator 1 starts a task. The basic database 82 is one specific example of a storage unit.
[0034] Fig. 4 shows the data structure of the basic database 82. As shown in Fig. 4, the basic database 82 is a database that stores a plurality of pieces of operation data including a target hand position / posture y, a trajectory Q of the mobile manipulator 1 for moving the hand position / posture of the mobile manipulator 1 to the target hand position / posture y, and a swept volume (hereinafter simply referred to as SV) that is a space that the mobile manipulator 1 traverses when the mobile manipulator 1 is operated according to the trajectory Q. In this embodiment, the basic database 82 stores N pieces of operation data.
[0035] The hand position and orientation refers to the position and orientation of the end effector 6 in the service coordinate system fixed to the service environment.
[0036] The trajectory Q is composed of multiple trajectory points q. The multiple trajectory points q are obtained by discretizing the motion of the mobile manipulator 1 at a predetermined time step. Each trajectory point q is defined as shown in the following equation. Here, θ in the following equation is a variable representing the joint angles of multiple joints of the manipulator 5 of the mobile manipulator 1, and the position and orientation of the mobile carriage 2 of the mobile manipulator 1 in the service coordinate system. Therefore, each trajectory point q uniquely represents the state of the mobile manipulator 1 in the service environment. In the following equation, N is the sum of the degrees of freedom of the mobile manipulator 1 and the degrees of freedom of the mobile carriage 2 of the mobile manipulator 1.
[0037] TIFF2024142918000002.tif18150
[0038] The SV (Swept Volume) is the three-dimensional shape drawn by the mobile manipulator 1 when the mobile manipulator 1 is operated according to the trajectory Q. In other words, the SV is the space that the mobile manipulator 1 crosses when the mobile manipulator 1 is operated according to the trajectory Q. In this embodiment, the SV is expressed by the voxel method. The voxel method is a technique for expressing the shape of a space or an object by combining identical small cubes.
[0039] The database generating unit 81 typically generates the basic database 82 by the following procedure. That is, first, the database generating unit 81 constructs a service environment using a simulator such as a Gazebo simulator. At this time, the database generating unit 81 randomly arranges obstacles such as desks, shelves, and objects in the service environment. Next, the database generating unit 81 randomly sets a target hand position and posture y, and generates a trajectory Q to reach the target hand position and posture y. The database generating unit 81 may set the target hand position and posture y based on a predetermined rule. For example, the database generating unit 81 may randomly set the target hand position and posture y in a forward area of the mobile manipulator 1. In addition, the database generating unit 81 may set the target hand position and posture y based on a user input. The database generating unit 81 typically generates the trajectory Q based on a Constrained Bi-directional Rapidly-Exploring Random Tree (CBiRRT). Specifically, the database generating unit 81 sets the trajectory Q so as to avoid the three-dimensional point cloud data output from the environmental sensor 7 of the mobile manipulator 1 on the simulator. Then, the database generation unit 81 generates motion data that associates the desired hand position / posture y with the trajectories Q and SV, and stores the generated motion data in the basic database 82. As an example, the database generation unit 81 generates tens of thousands of motion data and stores them in the basic database 82.
[0040] Returning to Fig. 2, the task preparation unit 20 of the mobile manipulator 1, triggered by acquiring task data from the user terminal, controls the environment sensor 7 to acquire three-dimensional point cloud data of the service environment at the time when the mobile manipulator 1 starts the task from the environment sensor 7. Then, the task preparation unit 20 transmits the received three-dimensional point cloud data to the management server 80, and also transmits a target hand position and posture corresponding to the task to the management server 80 as target data.
[0041] The data receiving unit 83 of the management server 80 shown in FIG.
[0042] The candidate motion data extraction unit 85 is a specific example of the first motion data extraction unit. The candidate motion data extraction unit 85 extracts motion data having a target hand position and posture corresponding to the target hand position and posture indicated by the target data from the basic database 82. Here, since the target hand position and posture vary widely for each task, motion data having a target hand position and posture that completely matches the target hand position and posture indicated by the target data does not actually exist. Therefore, when extracting motion data having a target hand position and posture corresponding to the target hand position and posture indicated by the target data from the basic database 82, the candidate motion data extraction unit 85 extracts motion data having a target hand position and posture close to the target hand position and posture indicated by the target data from the basic database 82. Specifically, when the difference between the target hand position and posture indicated by the target data and the target hand position and posture of the motion data is less than a predetermined amount, the candidate motion data extraction unit 85 extracts the motion data from the basic database 82. The predetermined amount is typically 30 cm for the target hand position and 90 degrees for the target hand posture. The candidate motion data extraction unit 85 may be constructed using a trained neural network that is trained to extract, when a target hand position / posture indicated by the target data is input, from the basic database 82 motion data having a target hand position / posture corresponding to the target hand position / posture indicated by the target data.
[0043] The candidate action data extraction unit 85 further narrows down the plurality of action data extracted from the basic database 82. Specifically, the candidate action data extraction unit 85 extracts a plurality of action data having SV that does not contact the service environment at the start of the task from the plurality of action data extracted from the basic database 82. At this time, the candidate action data extraction unit 85 converts the three-dimensional point cloud data indicating the service environment at the start of the task into voxel data prior to the extraction. This allows the candidate action data extraction unit 85 to determine the physical interference between the voxel data indicating the service environment and the voxel data of the SV of each action data at an extremely high speed. The candidate action data extraction unit 85 stores the plurality of action data thus extracted as candidate action data in the candidate database 86. FIG. 5 shows an example of the data structure of the candidate database 86. As shown in FIG. 5, the candidate action data extraction unit 85 extracts several tens of candidate action data from the basic database 82 and stores them in the candidate database 86 as an example. In this manner, by using any of the multiple candidate motion data stored in the candidate database 86, the mobile manipulator 1 can complete the task without coming into contact with the service environment at the start of the task.
[0044] However, the extraction by the candidate operation data extraction unit 85 is based solely on the three-dimensional point cloud data of the service environment acquired at the time when the mobile manipulator 1 starts the task. This three-dimensional point cloud data represents only a part of the service environment that can be observed from the mobile manipulator 1 at the time when the mobile manipulator 1 starts the task. Therefore, there is a risk that the mobile manipulator 1 may come into contact with the service environment during its movement after starting the task. In this embodiment, as described later, if there is a risk that the mobile manipulator 1 may come into contact with the service environment during its movement after starting the task, the mobile manipulator 1 refers to the candidate database 86 again to correct the trajectory of the mobile manipulator 1.
[0045] The point in time when the mobile manipulator 1 starts a task is a specific example of the first timing. Instead of being the point in time when the mobile manipulator 1 starts a task, the first timing may be a timing slightly before the point in time when the mobile manipulator 1 starts a task, or a timing slightly after the start of the task.
[0046] Note that the candidate action data extraction unit 85 acquires, from the environment sensor 7, three-dimensional point cloud data generated by the environment sensor 7 as a result of the environment sensor 7 measuring the service environment. Therefore, the candidate action data extraction unit 85 should not be interpreted as including the environment sensor 7.
[0047] Returning to FIG. 2, the task executing unit 21 is a specific example of a task initiation unit. The task executing unit 21 starts a task based on initial motion data, which is one of a plurality of candidate motion data extracted by the candidate motion data extracting unit 85 of the management server 80. Specifically, the task executing unit 21 refers to the candidate database 86 of the management server 80, and selects one candidate motion data from a plurality of candidate motion data stored in the candidate database 86 as initial motion data. At this time, the task executing unit 21 typically selects, from the plurality of candidate motion data, one whose target hand position and posture of the candidate motion data is closest to the target hand position and posture corresponding to the task. The task executing unit 21 controls the moving carriage 2, manipulator 5, and end effector 6 of the mobile manipulator 1 according to the trajectory Q of the initial motion data. The initial motion data is a specific example of first motion data.
[0048] As described above, the target hand position and posture of the initial motion data do not completely match with the target hand position and posture corresponding to the task. Therefore, when starting a task, the task executing unit 21 may generate a difference-complementing trajectory that complements the difference between the target hand position and posture of the initial motion data and the target hand position and posture corresponding to the task.
[0049] Next, the contact determination unit 22 obtains three-dimensional point cloud data of the service environment in real time while the mobile manipulator 1 is moving after the mobile manipulator 1 starts the task, thereby determining whether or not the mobile manipulator 1 will come into contact with the service environment based on the three-dimensional point cloud data obtained in real time until the mobile manipulator 1 completes the task. In other words, the contact determination unit 22 obtains three-dimensional point cloud data of the service environment in real time while the mobile manipulator 1 is moving after the mobile manipulator 1 starts the task, thereby determining whether or not the mobile manipulator 1 will come into contact with the service environment based on the "latest" three-dimensional point cloud data until the mobile manipulator 1 completes the task. For example, assume that there is an object in an area that was a blind spot from the environmental sensor 7 of the mobile manipulator 1 when the mobile manipulator 1 started the task, and the object is on the trajectory Q of the initial operation data. In this case, as long as the mobile manipulator 1 operates according to the trajectory Q of the initial operation data, the mobile manipulator 1 will eventually come into contact with the object.
[0050] Acquiring the three-dimensional point cloud data of the service environment in real time while the mobile manipulator 1 is moving after the mobile manipulator 1 starts a task is a specific example of acquiring the three-dimensional data of the service environment in real time after the mobile manipulator 1 starts a task. That is, the contact determination unit 22 may acquire the three-dimensional point cloud data of the service environment in real time after the mobile manipulator 1 starts a task and while the mobile manipulator 1 is stopped operating.
[0051] Specifically, the contact determination unit 22 operates as follows. That is, the contact determination unit 22 controls the environment sensor 7 to acquire three-dimensional point cloud data of the service environment at a predetermined interval while the mobile manipulator 1 is moving after the mobile manipulator 1 starts a task. Then, the contact determination unit 22 converts the acquired three-dimensional point cloud data into voxel data for high-speed determination. The contact determination unit 22 compares the converted voxel data with the voxel data of the SV of the initial action data to determine whether the mobile manipulator 1 will come into contact with the service environment based on the three-dimensional point cloud data acquired in real time until the mobile manipulator 1 completes the task.
[0052] The contact determination unit 22 acquires, from the environmental sensor 7, three-dimensional point cloud data generated by the environmental sensor 7 as a result of the environmental sensor 7 measuring the service environment. Therefore, the contact determination unit 22 should not be interpreted as including the environmental sensor 7.
[0053] When the contact determination unit 22 determines that contact will occur, the avoidance operation data extraction unit 23 refers to the candidate database 86 of the management server 80, and extracts, from a plurality of candidate operation data stored in the candidate database 86, candidate operation data having an SV that does not contact the service environment based on the three-dimensional point cloud data acquired in real time, as avoidance operation data. In other words, the avoidance operation data extraction unit 23 refers to the candidate database 86 of the management server 80, and extracts, from a plurality of candidate operation data stored in the candidate database 86, candidate operation data having an SV that does not contact the service environment based on the "latest" three-dimensional point cloud data, as avoidance operation data. The avoidance operation data extraction unit 23 is a specific example of a second operation data extraction unit. Specifically, the avoidance operation data extraction unit 23 operates as follows.
[0054] That is, the avoidance operation data extraction unit 23 compares the latest voxel data generated by the contact determination unit 22 with the voxel data of the SV of each candidate operation data, and selects candidate operation data having an SV that does not contact the service environment based on the three-dimensional point cloud data acquired in real time from the multiple candidate operation data, and extracts the selected candidate operation data as the avoidance operation data. Note that, when there are multiple candidate operation data having an SV that does not contact the service environment based on the three-dimensional point cloud data acquired in real time, the avoidance operation data extraction unit 23 will select one of the multiple candidate operation data according to some rule. For example, the avoidance operation data extraction unit 23 may select candidate operation data having an SV closest to the SV of the initial operation data. The avoidance operation data extraction unit 23 may be constructed by a trained neural network that is trained to extract candidate operation data having an SV that does not contact the service environment based on the three-dimensional point cloud data acquired in real time as the avoidance operation data when the latest three-dimensional point cloud data acquired in real time is input.
[0055] The transition trajectory generation unit 24 generates a transition trajectory that transitions from the trajectory Q of the initial action data to the trajectory Q of the avoidance action data by quadratic programming. The trajectory start point of the transition trajectory is any one of a plurality of trajectory points included in the trajectory Q of the initial action data. The trajectory end point of the transition trajectory is any one of a plurality of trajectory points included in the trajectory Q of the avoidance action data. In FIG. 6, the SV of the trajectory Q of the initial action data is shown as the initial SV, the SV of the trajectory Q of the avoidance action data is shown as the avoidance SV, and the SV of the transition trajectory is shown as the transition SV. Also, in FIG. 6, the trajectory start point q of the transition trajectory is shown as the initial SV, the SV of the trajectory Q of the avoidance action data is shown as the avoidance SV, and the SV of the transition trajectory is shown as the transition SV. start and the end point q end 6 also illustrates an obstacle that does not exist in the service environment when the mobile manipulator 1 starts the task, and that appears in the service environment only after the mobile manipulator 1 starts the task. The detailed calculation process by which the transition trajectory generation unit 24 generates the transition trajectory will be described later.
[0056] The trajectory update unit 25 updates the trajectory of the mobile manipulator 1 from when it starts the task to when it completes the task based on the trajectory Q of the avoidance operation data and the transition trajectory. Specifically, the trajectory of the mobile manipulator 1 from when it starts the task to when it completes the task was the trajectory Q of the initial operation data before the update. The trajectory update unit 25 updates the trajectory of the mobile manipulator 1 from when it starts the task to when it completes the task to a trajectory that is a combination of the trajectory Q of the initial operation data, the transition trajectory, and the trajectory Q of the avoidance operation data in this order. In more detail, when the mobile manipulator 1 reaches the trajectory start point q of the transition trajectory, start The mobile manipulator 1 moves according to the trajectory Q of the initial motion data until the mobile manipulator 1 reaches the trajectory starting point q of the transition trajectory. start When the mobile manipulator 1 reaches the end point q of the transfer trajectory, the mobile manipulator 1 operates according to the transfer trajectory. end When this occurs, the mobile manipulator 1 operates according to the trajectory Q of the avoidance operation data.
[0057] Next, a detailed description will be given of a process for generating a transition orbit by the transition orbit generation unit 24. First, the transition orbit generation unit 24 calculates the transition orbit from a trajectory start point q start and the end point q end Then, the starting point q of the transfer orbit is determined. start and the end point q end A transfer orbit is generated that connects the
[0058] <Start point of transfer orbit q start > Transfer orbit start point q start is an orbit point that simultaneously satisfies the following (1) and (2). (1) When a predetermined time has elapsed since the contact determination unit 22 determined that there is contact, the trajectory point of the trajectory Q of the initial movement data is downstream of the trajectory point reached by the mobile manipulator 1 operating according to the trajectory Q of the initial movement data. (2) The trajectory point of the trajectory Q of the initial operation data is upstream of the trajectory point when the mobile manipulator 1 operating according to the trajectory Q of the initial operation data comes into contact with the service environment based on the three-dimensional point cloud data acquired in real time.
[0059] That is, the starting point q of the transfer orbit start If the starting point q of the transition trajectory is set near the obstacle, time can be saved for the generation process of the transition trajectory, so that the mobile manipulator 1 can transfer to the transition trajectory without stopping the movement of the mobile manipulator 1. start By setting it far from the obstacle, a spatially smooth transfer trajectory can be realized.
[0060] < Transfer orbit end point q end > Transfer orbit end point q end It is an important issue how to determine the trajectory end point q from among the multiple trajectory points included in the trajectory Q of the avoidance operation data based on the following formula. end Narrow down the candidates.
[0061] TIFF2024142918000003.tif10150
[0062] Here, Q' is the end point of the trajectory q end is a set of multiple orbital points that can be candidates for q i is the i-th trajectory point of the trajectory Q of the avoidance operation data. Q is the trajectory Q of the avoidance operation data. q start is the starting point q of the transfer orbit start It is.
[0063] Orbit end point q end The first condition for narrowing down the candidates is the restriction by distance. That is, the starting point of the trajectory q start If the difference between qi and the trajectory point is equal to or greater than a predetermined value d, the trajectory point qi In short, the starting point of the orbit q start Position of mobile manipulator 1 at trajectory end point q end If the position of the mobile manipulator 1 at is too far away, it becomes difficult to generate a stable transfer trajectory using quadratic programming. end By narrowing down the candidates, it is possible to generate a stable transfer orbit using quadratic programming.
[0064] Orbit end point q end The second condition for narrowing down the candidates is a condition for realizing smooth operation of the mobile manipulator 1 when transferring from the transition trajectory to the trajectory Q of the avoidance operation data. That is, the trajectory starting point q of the transition trajectory start Orbital point q as seen from i If the angle between the direction of and the direction immediately after the transition of the trajectory Q of the avoidance operation data exceeds 90 degrees, i is excluded from the candidates.
[0065] Then, the transition trajectory generation unit 24 selects the most downstream trajectory point q i The trajectory end point q end This allows the time required for the mobile manipulator 1 to execute a task to be reduced. If a trajectory point q i does not exist, the transition orbit generation unit 24 selects a trajectory point q i The predetermined value d can be gradually increased until
[0066] <Generation of transfer orbits> Next, the transfer orbit generation unit 24 calculates the trajectory start point q start and the end point q end The transfer orbit between is generated by quadratic programming.
[0067] That is, the transition orbit generation unit 24 minimizes the objective function shown in the following equation (1) to determine the trajectory start point q start and the end point q end A transfer orbit is generated that connects the
[0068] TIFF2024142918000004.tif6150
[0069] Here, f(x) is a potential function for reducing the motion of the mobile manipulator 1. That is, this potential function is a potential function for reducing the difference between two consecutive trajectory points of the mobile manipulator. This potential function is a specific example of a first cost function. Also, g(x) is a penalty function for obstacle avoidance. That is, the penalty function is a penalty function for reducing the interference depth between the mobile manipulator 1 and the service environment based on the three-dimensional point cloud data acquired in real time. This penalty function is a specific example of a second cost function. μ is an arbitrary constant that adjusts the balance between the two objective functions.
[0070] The variable x in the above formula (1) means a transfer orbit x. The transfer orbit x is expressed by the following formula: i is a collection of.
[0071] TIFF2024142918000005.tif18150
[0072] Here, q i is the i-th trajectory point on the transition trajectory x. T is the number of time steps of the transition trajectory x. The transition trajectory generation unit 24 generates the transition trajectory x by updating the transition trajectory x until the SV of the transition trajectory x does not contact the service environment based on the three-dimensional point cloud data acquired in real time.
[0073] (Penalty function) Fig. 7 is a diagram showing, in a voxel space, a state in which a link of the mobile manipulator 1 interferes with an obstacle, and a desirable avoidance direction of the link of the mobile manipulator 1 when this interference occurs. Note that the environmental sensor 7 of this embodiment detects only the surface of the obstacle, and cannot detect the part inside the obstacle surface. Hereinafter, a voxel in which the surface of the obstacle exists is referred to as an obstacle voxel, and a voxel in which a link of the mobile manipulator 1 exists is referred to as a link voxel. The overlapping part of the obstacle voxel and the link voxel is as shown in Fig. 7.
[0074] In order to determine the penalty function for obstacle avoidance, the transition trajectory generation unit 24 calculates the avoidance direction v avoid(l,t) and the amount of avoidance in that direction sd lt Here, the small subscript L is the link number, and t is the time step number.
[0075] First, the transition trajectory generation unit 24 calculates the avoidance direction v in the following procedure. avoid(l,t) That is, the transition trajectory generation unit 24 determines the avoidance direction v avoid(l,t) is determined by searching voxels. The voxel search is performed in a predetermined range centered on each link voxel. When one side of a voxel is 1, the search range is a range from the central voxel where the L1 norm is d or less, where d is an arbitrary constant. FIG. 8 shows the search range on a two-dimensional plane. The transition trajectory generation unit 24 performs this search for all link voxels. The transition trajectory generation unit 24 then determines the avoidance direction v avoid(l,t) is determined according to the following formula (3).
[0076] TIFF2024142918000006.tif14150
[0077] Here, M lt is the number of overlaps between the searched voxel and the obstacle voxel when searching the small L-th link at the t-th step, and v iis a unit vector from the link voxel at the center of the search range to the obstacle voxel. In the above formula (3), vi and the vector in the opposite direction are added together, and the sum is converted to a unit vector by dividing it by its own norm. This gives the avoidance direction v to move away from the direction in which the obstacle is located. avoid(l,t) is obtained.
[0078] Next, the transition trajectory generation unit 24 calculates the avoidance amount sd in the avoidance direction in the following procedure. lt That is, the amount of avoidance sd lt It is possible to calculate the depth of interference between the obstacle and the link (interference depth), but in reality, only the surface of the obstacle can be converted into voxels. In this case, it is difficult to calculate the depth of interference by simple interference calculation. Therefore, the number of obstacle voxels overlapping with the link voxel, C lt Using the avoidance amount sd lt Determine. C lt In the example of FIG. 7, the total number of voxels indicated by "overlap" is equivalent to the total number of voxels indicated by "overlap". lt is determined according to the following formula (4).
[0079] TIFF2024142918000007.tif6150
[0080] Here, a and b are arbitrary constants. The reason for using logarithms on the right side is that when the link of the mobile manipulator 1 significantly interferes with an obstacle, C lt The value of sd increases rapidly, lt This is to prevent the minimization calculation (optimization calculation) from becoming unstable due to a similar excessive increase in
[0081] The above avoidance direction v avoid(l,t) and avoidance amount sd lt Using this, the penalty function g(x) is defined by the following equation (5).
[0082] TIFF2024142918000008.tif14150
[0083] Here, Δr lt is the amount of change in link position after optimization, and is approximated by the following equation (6).
[0084] TIFF2024142918000009.tif6150
[0085] Here, q t Dash is the joint angle of the link before optimization, and J lt (q t The penalty function is the avoidance direction v of the link position change amount by optimization. avoid(l,t) Ingredients are avoided in sd lt In other words, the link position change is the sum of the amount of avoidance sd lt By using this as a penalty function and the objective function in the quadratic programming, it is possible to generate a transfer trajectory that does not come into contact with obstacles.
[0086] (potential function) On the other hand, the motion potential function has two roles. The first role is to minimize the motion of the mobile manipulator 1. The second role is to suppress the spread between trajectory points. This potential function is defined by the following formula (7) as a function of the potential stored in a spring when trajectory points are connected by a spring whose natural length is zero.
[0087] TIFF2024142918000010.tif13150
[0088] In the above formula, ω k corresponds to the spring constant of the spring that connects the kth step trajectory point and the k+1th step trajectory point. kThe reason for setting is to suppress the spacing between trajectory points from widening near an obstacle as shown in FIG. 9 due to the influence of the penalty function g(x) for obstacle avoidance. In the penalty function for obstacle avoidance, each trajectory point is set so as not to come into contact with an obstacle, so if the spacing between trajectory points becomes wide, it may be difficult to generate the motion between the trajectory points so as not to come into contact with the obstacle. In the example of FIG. 9, the mobile manipulator 1 moves between trajectory points q u+1 From orbital point q u+2 When moving in a straight line, it will come into contact with an obstacle. Therefore, the spring constant ω between the orbital points that tend to spread out k By increasing the distance between the trajectory points near the obstacle, the distance between the trajectory points near the obstacle is suppressed. For two trajectory points that tend to move apart from each other, the set avoidance amount sd lt Therefore, it is considered that the influence of the penalty function for obstacle avoidance is strong. For example, if the distance between the kth step trajectory point and the k+1th step trajectory point is wide, the avoidance amount sd lk and the avoidance amount s.d. lk+1 It is considered that the value of ω is large. k is set based on the following equations (8) and (9).
[0089] TIFF2024142918000011.tif14150
[0090] TIFF2024142918000012.tif10150
[0091] TIFF2024142918000013.tif6150
[0092] Here, c and d are arbitrary constants. The min function in the above formula (9) extracts the smallest element in the set, and σ means the standard deviation. k The tilde is the set amount of avoidance sd for the previous or next step. lt This gives the spring constant ω between the trajectory points affected by the penalty function due to the obstacle. k This spring constant ω kSince it is sufficient that the spring constant ω is relatively large compared to the other spring constants, the final spring constant ω k ω k The tilde should be the normalized value. Normalization results in a spring constant ω k In addition, since the above formula (9) includes division by the standard deviation, the overall avoidance amount sd lt Therefore, the influence of the constants a and b in the above formula (4) is mitigated, and various parameters including the constants c and d can be easily adjusted.
[0093] (Application to Quadratic Programming) A method for adapting the penalty function for obstacle avoidance and the potential function for motion to the quadratic programming will be described below. First, the basic form of the quadratic programming is as follows.
[0094] TIFF2024142918000014.tif9150
[0095] TIFF2024142918000015.tif6150
[0096] First, we will explain the penalty function g(x) for obstacle avoidance. The penalty function g(x) is lt In this case, the optimization variable x is expanded as follows:
[0097] TIFF2024142918000016.tif18150
[0098] Then, the following constraint is added to the inequality constraint of the above equation (12).
[0099] TIFF2024142918000017.tif6150
[0100] TIFF2024142918000018.tif6150
[0101] From the above two equations, the slack variable s ltThe minimum value that can be taken is:
[0102] TIFF2024142918000019.tif7150
[0103] This is the same value as each term in the above formula (5). And, by making the cost function g(x dash) due to the obstacle as follows, it can be transformed into a form that can be added to the objective function.
[0104] TIFF2024142918000020.tif19150
[0105] where 0 TN is a zero vector of length TxN. The above formula is the b T It can be added to the objective function by substituting it for x.
[0106] Next, let us consider the potential function f(x) of the motion. The potential function f(x) mentioned above can be expressed as follows:
[0107] TIFF2024142918000021.tif6150
[0108] TIFF2024142918000022.tif32150
[0109] Here, I NxN is an NxN unit matrix. The above formula is to replace A in formula (11) with K T By setting K, it can be used as the objective function of quadratic programming. In addition, expansion of variables due to slack variables can be dealt with by adding 0 to matrix K to match the number of dimensions of the variables.
[0110] Finally, the feasible region is restricted to the movable range of the mobile manipulator 1 by setting upper and lower limits of the joint angles of the manipulator 5 of the mobile manipulator 1 in the constraint of the above formula (12).
[0111] Next, the operation flow of the trajectory generation system 100 will be described with reference to FIG.
[0112] First, the database generating unit 81 of the management server 80 generates the basic database 82 (S100).
[0113] When a task is input to the user terminal 90 (S110), the user terminal 90 transmits the task data to the mobile manipulator 1 (S120). The task preparation unit 20 of the mobile manipulator 1, triggered by receiving the task data from the user terminal 90, acquires three-dimensional point cloud data of the service environment (S130) and transmits the three-dimensional point cloud data and target data indicating a target hand position and posture corresponding to the task to the management server 80 (S140).
[0114] The candidate action data extraction unit 85 of the management server 80 extracts candidate action data from the basic database 82 (S150), and stores the extracted candidate action data in the candidate database 86.
[0115] Next, the task executing unit 21 of the mobile manipulator 1 refers to the candidate database 86 (S160), and starts the task based on the initial motion data, which is any one of the plurality of candidate motion data (S170).
[0116] Next, the contact determination unit 22 of the mobile manipulator 1 acquires three-dimensional point cloud data of the service environment while the mobile manipulator 1 is moving after the mobile manipulator 1 starts the task (S180). Then, the contact determination unit 22 determines whether the mobile manipulator 1 will come into contact with the service environment before the mobile manipulator 1 completes the task (S190). If the contact determination unit 22 determines that the mobile manipulator 1 will not come into contact with the service environment before the mobile manipulator 1 completes the task, the contact determination unit 22 advances the process to S240. On the other hand, if the contact determination unit 22 determines that the mobile manipulator 1 will come into contact with the service environment before the mobile manipulator 1 completes the task, the contact determination unit 22 advances the process to S200.
[0117] In step S200, the avoidance operation data extraction unit 23 refers to the candidate database 86 of the management server 80 (S200), and extracts candidate operation data having an SV that does not come into contact with the service environment as avoidance operation data from the multiple candidate operation data stored in the candidate database 86 (S210).
[0118] Next, the transition trajectory generating unit 24 generates a transition trajectory for transitioning from the trajectory Q of the initial action data to the trajectory Q of the avoidance action data by using quadratic programming (S220).
[0119] Next, the trajectory update unit 25 updates the trajectory until the mobile manipulator 1 completes the task based on the trajectory Q of the avoidance operation data and the transition trajectory (S230). At this time, the trajectory update unit 25 will generate the difference-complemented trajectory described above anew when updating the trajectory until the mobile manipulator 1 completes the task.
[0120] Then, the control unit 8 determines whether the mobile manipulator 1 has completed the task (S240). Note that the task includes the differential complementary trajectory described above. If the control unit 8 determines that the mobile manipulator 1 has completed the task, the control unit 8 ends the process. On the other hand, if the control unit 8 determines that the mobile manipulator 1 has not completed the task, the control unit 8 returns the process to S180. Thereafter, steps S200 to S240 are repeated every time the contact determination unit 22 determines that the mobile manipulator 1 will come into contact with the service environment (S190).
[0121] The preferred embodiment of the present disclosure has been described above, and the above embodiment has the following features. The trajectory generation system 100 includes a basic database 82 (database), a candidate action data extraction unit 85 (first action data extraction unit), a task execution unit 21 (task initiation unit), a contact determination unit 22, an avoidance action data extraction unit 23 (second action data extraction unit), and a transition trajectory generation unit 24. The basic database 82 stores multiple pieces of operation data including a target hand position and posture, a trajectory Q of the mobile manipulator 1 for moving the hand position and posture of the mobile manipulator 1 to the target hand position and posture, and a swept volume (SV) as the space that the mobile manipulator 1 traverses when operating the mobile manipulator 1 according to the trajectory Q. The candidate motion data extraction unit 85 acquires three-dimensional data of the service environment at the start of a task of the mobile manipulator 1, and extracts multiple pieces of motion data from the basic database 82 as candidate motion data, the motion data having a target hand position and posture corresponding to the target hand position and posture corresponding to the task, and having an SV that does not contact the service environment based on the three-dimensional data acquired at the start of the task of the mobile manipulator 1. The task executing section 21 starts a task based on the initial action data (first action data), which is any one of the plurality of candidate action data. The contact determination unit 22 acquires three-dimensional data of the service environment in real time while the mobile manipulator 1 is moving after the mobile manipulator 1 starts a task, and determines whether the mobile manipulator 1 will come into contact with the service environment based on the three-dimensional data acquired in real time until the mobile manipulator 1 completes the task. When the contact determination unit 22 determines that contact will occur, the avoidance operation data extraction unit 23 extracts, from the multiple candidate operation data, operation data having an SV that does not contact the service environment based on the three-dimensional data acquired in real time as avoidance operation data (second operation data). The transition trajectory generating unit 24 generates a transition trajectory for transitioning from the trajectory Q of the initial action data to the trajectory Q of the avoidance action data. According to the above configuration, when it is determined that the mobile manipulator 1 will come into contact with the service environment during the movement of the mobile manipulator 1 after the mobile manipulator 1 starts a task, a trajectory of the mobile manipulator 1 that can complete the task while avoiding contact with the service environment can be generated in a short time. Note that the reason why the trajectory of the mobile manipulator 1 can be generated in a short time is that when the avoidance operation data extraction unit 23 extracts the avoidance operation data, the avoidance operation data is extracted from the multiple candidate operation data extracted by the candidate operation data extraction unit 85, rather than being extracted from the multiple operation data stored in the basic database 82.
[0122] Also, the starting point q of the transfer orbit start and the end point q end The difference between the first and second trajectories may be less than a predetermined value. According to the above configuration, the process of generating the transfer orbit is stabilized.
[0123] Also, the starting point q of the transfer orbit start The end point q of the transfer orbit as seen from end The angle between the direction of the first motion data and the direction immediately after the transition of the trajectory of the second motion data is completed may be less than a predetermined value. According to the above configuration, it is possible to realize a smooth motion of the mobile manipulator 1 when switching from the transition trajectory to the trajectory of the avoidance motion data.
[0124] Also, the end point q of the transfer orbit end teeth, Transfer orbit start point q start and the end point q end A first condition is that the difference between is less than a predetermined value; Orbit start point q start Orbit end point q as seen from end and a direction immediately after the transition of the trajectory Q of the avoidance operation data is completed, the angle formed by the direction is less than a predetermined value; and Multiple orbital points q that simultaneously satisfy i The most downstream trajectory point q i may be also possible. With the above configuration, the generation process for generating a transition trajectory is stabilized, smooth operation of the mobile manipulator 1 can be achieved when switching from the transition trajectory to the trajectory of the avoidance operation data, and the time required for the mobile manipulator 1 to execute a task can be shortened.
[0125] Furthermore, as shown in equation (1), the transition trajectory generation unit 24 generates a transition trajectory by quadratic programming based on a potential function (first cost function) for reducing the difference between two consecutive trajectory points of the mobile manipulator 1 and a penalty function (second cost function) for avoiding a service environment based on three-dimensional data acquired in real time. According to the above configuration, the transfer orbit can be generated efficiently.
[0126] In addition, as shown in the formula (7), the transition trajectory generation unit 24 calculates the difference between two consecutive trajectory points of the mobile manipulator 1 as an avoidance amount sd for avoiding the service environment based on the three-dimensional data acquired by the mobile manipulator 1 in real time. lt The potential function is calculated by finding the sum of the weighted differences. According to the above configuration, when generating a transition trajectory to avoid contact between the mobile manipulator 1 and the service environment based on three-dimensional point cloud data acquired in real time, it is possible to prevent two consecutive trajectory points from being excessively separated from each other.
[0127] As shown in formula (4), the transition trajectory generation unit 24 calculates the overlap amount C between the mobile manipulator 1 and the service environment based on the three-dimensional point cloud data acquired in real time. lt Based on the logarithm of lt Calculate the following. According to the above configuration, the process of generating a transfer orbit by the quadratic programming method is stabilized.
[0128] The above embodiment can be modified as follows.
[0129] 10, the user terminal 90 transmits the task data to the mobile manipulator 1 (S120), but instead, the user terminal 90 may transmit the task data to the management server 80. In this case, the task data will be transferred from the management server 80 to the mobile manipulator 1.
[0130] In the above example, the program can be stored and provided to the computer using various types of non-transitory computer readable media. The non-transitory computer readable media includes various types of tangible storage media. Examples of the non-transitory computer readable media include magnetic recording media (e.g., flexible disks, magnetic tapes, hard disk drives) and magneto-optical recording media (e.g., magneto-optical disks). Examples of the non-transitory computer readable media further include CD-ROM (Read Only Memory), CD-R, CD-R / W, and semiconductor memory (e.g., mask ROM. Examples of the non-transitory computer readable media further include PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, and RAM (random access memory). The program may also be provided to the computer by various types of transitory computer readable media. Examples of the transitory computer readable media include electrical signals, optical signals, and electromagnetic waves. The temporary computer-readable medium can supply the program to the computer via a wired communication path such as an electric wire or an optical fiber, or via a wireless communication path. [Explanation of symbols]
[0131] 1 Mobile Manipulator 2 Mobile trolley 3. Robot 4 Robot body 5. Manipulator 6 End effector 7 Environmental Sensors 8. Control Unit 8b Memory 8c Communication Interface 9 Upper arm link 10 Forearm Link 11 Shoulder joint 12 Elbow joint 13 Wrist Joint 20 Task Preparation Department 21 Task Execution Unit 22 Contact determination section 23 Avoidance action data extraction unit 24 Transition orbit generation part 25 Orbit update section 80 Management Server 80b Memory 80c Communication Interface 81 Database Generation Section 82 Basic Database 83 Data receiving unit 85 Candidate action data extraction unit 86 Candidate Database 90 User Terminals 100 Trajectory Generation System
Claims
1. a storage unit that stores a plurality of pieces of operation data including a target hand position and posture, a trajectory of the mobile manipulator for moving the hand position and posture of the mobile manipulator to the target hand position and posture, and a sweep space that is a three-dimensional shape drawn by the mobile manipulator when the mobile manipulator is operated according to the trajectory; a first motion data extraction unit that acquires three-dimensional data of an environment at a first timing, and extracts from the storage unit a plurality of motion data having a target hand position / posture corresponding to the target hand position / posture corresponding to a task, the motion data having a swept space that is not in contact with the environment based on the three-dimensional data acquired at the first timing; a task initiation unit that initiates the task based on first action data that is any one of the plurality of action data extracted by the first action data extraction unit; a contact determination unit that determines whether or not the mobile manipulator comes into contact with the environment based on the three-dimensional data acquired in real time until the mobile manipulator completes the task by acquiring three-dimensional data of the environment in real time after the first timing; a second motion data extraction unit that extracts, as second motion data, motion data having a swept space that is not in contact with the environment and based on the three-dimensional data acquired in real time, from the plurality of motion data extracted by the first motion data extraction unit when the contact determination unit determines that contact has occurred; a transition trajectory generation unit that generates a transition trajectory that transitions from a trajectory of the first motion data to a trajectory of the second motion data; Including, Trajectory generation system.
2. a difference between a trajectory start point and a trajectory end point of the transfer trajectory is less than a predetermined value; The trajectory generation system according to claim 1 .
3. an angle formed between a direction of a trajectory end point of the transition trajectory as viewed from a trajectory start point of the transition trajectory and a direction immediately after completion of the transition of the trajectory of the second action data is less than a predetermined value; The trajectory generation system according to claim 1 .
4. The orbit end point of the transfer orbit is a first condition that a difference between a trajectory start point and a trajectory end point of the transfer trajectory is less than a predetermined value; a second condition that an angle between a direction of the trajectory end point as viewed from the trajectory start point and a direction immediately after completion of the transition of the trajectory of the second action data is less than a predetermined value; The most downstream trajectory point among the multiple trajectory points that simultaneously satisfy The trajectory generation system according to claim 1 .
5. the transition trajectory generation unit generates the transition trajectory by a quadratic programming method based on a first cost function for reducing a difference between two consecutive trajectory points of the mobile manipulator, and a second cost function for avoiding an environment based on the three-dimensional data acquired in real time; The trajectory generation system according to claim 1 .
6. the transition trajectory generation unit weights the difference between two consecutive trajectory points of the mobile manipulator based on an avoidance amount for avoiding an environment based on the three-dimensional data acquired by the mobile manipulator in real time, and calculates the first cost function by calculating a sum of the weighted differences; The trajectory generation system according to claim 5 .
7. the transition trajectory generation unit calculates an avoidance amount for the mobile manipulator to avoid the environment based on the three-dimensional data acquired in real time based on a logarithm of an overlap amount between the mobile manipulator and the environment based on the three-dimensional data acquired in real time; The trajectory generation system according to claim 5 .
8. A trajectory generation method in which a computer generates a trajectory by referring to a storage unit that stores a plurality of pieces of operation data including a target hand position and posture, a trajectory of a mobile manipulator for moving the hand position and posture of a mobile manipulator to the target hand position and posture, and a sweep space that is a three-dimensional shape drawn by the mobile manipulator when the mobile manipulator is operated according to the trajectory, the method comprising: acquiring three-dimensional data of an environment at a first timing, and extracting from the storage unit a plurality of pieces of motion data having a target hand position / posture corresponding to the target hand position / posture corresponding to a task, the motion data having a swept space that is not in contact with the environment based on the three-dimensional data acquired at the first timing; starting the task based on a first action data that is any one of the plurality of action data; acquiring three-dimensional data of the environment in real time after the first timing, and determining whether or not the mobile manipulator comes into contact with the environment based on the three-dimensional data acquired in real time until the mobile manipulator completes the task; When it is determined that there is contact, extracting, from the plurality of pieces of motion data, motion data having a sweep space that is not in contact with the environment based on the three-dimensional data acquired in real time, as second motion data; generating a transition trajectory that transitions from the trajectory of the first motion data to the trajectory of the second motion data; Trajectory generation method.
9. A program for causing a computer to execute the trajectory generation method according to claim 8.
Citation Information
Patent Citations
Trajectory generation device
JP2020093364A
Trajectory generation device
JP2021024019A
Robot collision detection using cascading variational autoencoder
US20210316455A1
Robot control device and robot system using same
WO2019035362A1
