Robot control device, robot control system, and robot control method
The robot control device calculates motion similarity to determine transition feasibility, addressing inefficiencies in existing methods by generating motion sequences without manual learning, thus enhancing robot control efficiency.
Patent Information
- Application Number
- PCT/JP2024/014291
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-26
- Filing Date
- 2024-04-08
- Publication Date
- 2024-10-31
AI Technical Summary
Existing robot control methods require time-consuming learning and measurement to update state transition models, especially when dealing with numerous candidates for states and commands, making it inefficient to determine possible transitions between motions.
A robot control device and method that calculates the similarity between pre-motion and post-motion information to automatically determine transition feasibility and generate executable motion sequences without manual specification or learning of transition probabilities.
Enables efficient calculation of transition probabilities and generation of motion sequences, reducing the need for time-consuming learning and measurement, and allowing for flexible and accurate robot control.
Smart Images

Figure JP2024014291_31102024_PF_FP_ABST
Abstract
Description
Robot control device, robot control system, and robot control method
[0001] The present invention relates to a robot control device, a robot control system, and a robot control method for controlling the operation of a robot.
[0002] In recent years, there has been an increasing demand for the automation of tasks using robots in fields such as manufacturing, logistics, services, construction, and facility maintenance. For example, when this type of robot needs to perform multiple tasks to achieve a goal, it is necessary to not only determine the actions required to perform each task, but also estimate the state transitions resulting from each action, and then execute a series of actions in the order in which the transitions are possible.
[0003] Here, a learning device disclosed in Patent Document 1 is known as a conventional technique for estimating operational state transitions during robot control. For example, claim 1 of Patent Document 1 discloses a learning device including: a creation unit that creates an aggregated state transition model including a plurality of state transition models that predict a next state of a controlled object based on a measured state of the controlled object and a command for the controlled object, and an aggregating unit that aggregates prediction results from the plurality of state transition models; a command generation unit that executes, for each control cycle, the following processes: inputting the measured state of the controlled object, generating a plurality of candidates for commands or command sequences for the controlled object, obtaining a plurality of states or state sequences of the controlled object predicted using the aggregated state transition model from the states of the controlled object and the plurality of candidates for commands or command sequences for the controlled object, calculating rewards corresponding to each of the plurality of states or state sequences of the controlled object, and generating and outputting commands that maximize the rewards based on the calculated rewards; and a learning unit that updates the aggregated state transition model so as to reduce an error between a next state of the controlled object predicted in response to the output command and a measured state of the controlled object corresponding to the next state.
[0004] JP 2022-41294 A
[0005] In the learning device of Patent Document 1, it was necessary to update the aggregate state transition model so as to reduce the error between the next state of the controlled object predicted in response to the command output and the measured state of the controlled object corresponding to the next state.
[0006] However, when there are many candidate states and commands, the state transition model needs to be updated each time using the next state measured under each state and command, which can take a long time to learn. For this reason, it is desirable to be able to automatically estimate whether a transition is possible without measuring and learning the state each time.
[0007] Therefore, an object of the present invention is to provide a robot control device and a robot control method that can calculate whether a transition between actions is possible and generate a series of actions that can be transitioned.
[0008] The robot control device according to the present invention is a robot control device that controls the movement of a robot, and includes: a memory unit that stores multiple pieces of movement information that associate the movement of the robot with pre-movement information including at least one of the robot's working environment and the robot's state before the movement, and post-movement information including at least one of the working environment and the robot's state after the movement; a series of movement generation unit that generates a series of movements of the robot using the similarity between the post-movement information of one movement and the pre-movement information of another movement, the current movement state including at least one of the robot's current working environment and the robot's current state, and a goal given to the robot; and a robot control unit that controls the robot based on the series of movements of the robot generated by the series of movement generation unit.
[0009] Furthermore, a robot control method according to the present invention is a robot movement control method for controlling the movement of a robot, which uses a series of movements generation unit to generate a series of movements of the robot from a plurality of pieces of movement information that associates the movements of the robot stored in a memory unit with pre-movement information including at least one of the work environment and the state of the robot before the movement, and post-movement information including at least one of the work environment and the state of the robot after the movement, using the similarity between the post-movement information of one movement and the pre-movement information of another movement, the current movement state including at least one of the current movement environment of the robot and the current state of the robot, and a goal given to the robot, and uses a robot control unit to control the robot based on the series of movements of the robot generated by the series of movements generation unit.
[0010] According to the present invention, it is possible to provide a robot control device and a robot control method that can calculate whether a transition between actions is possible and generate a series of actions that can be transitioned.
[0011] FIG. 1 is a schematic diagram showing a usage environment of a robot control device according to a first embodiment. FIG. 2 is a block diagram showing a hardware configuration of a robot control device according to a first embodiment. FIG. 3 is a functional block diagram of a robot control device according to a first embodiment. FIG. 4 is a diagram showing an example of a method for calculating similarity between actions. FIG. 5 is a functional block diagram of a robot control device according to a second embodiment. FIG. 6 is a diagram showing an example of a method for generating a series of actions. FIG. 7 is a diagram showing an example of hierarchical action information. FIG. 8 is a diagram showing an example of a display screen for notifying a transition failure and accepting control input settings.
[0012] Before describing a robot control device and a robot control method according to an embodiment of the present invention, the assumptions and terms used in the embodiment of the present invention will be explained. In the present invention, a robot is controlled to complete a target task by executing a series of actions. In the present invention, a "state" refers to information about the robot itself at a certain point in time. The "state" includes, for example, information about the robot's position and orientation measured by a measurement sensor (described below). Furthermore, a "work environment" refers to information about the environment in which the robot works at a certain point in time. The "work environment" includes, for example, information about the work environment measured by a measurement sensor (described below). The "state" and "work environment" may be spatiotemporal differential information about the work environment and the robot's position and orientation, or may be information obtained by processing primary information such as the recognition results of objects around the robot. Furthermore, an "action" in the present invention refers to a transition between one or more states, and a "series of actions" refers to a sequence of actions consisting of multiple actions. A robot is controlled by issuing commands to the robot to execute predetermined actions.
[0013] Normally, to execute a series of actions, the next action must be able to be executed following the previous action, but it is difficult to know in advance whether another action can be executed after a certain action. For this reason, in this invention, action information that associates actions with post-action information about the state after the action and pre-action information about the state before the action is used to calculate the similarity between the post-action information of one action and the pre-action information of another action, and a series of actions that can be executed is generated based on the calculated similarity.
[0014] The robot control device and robot control method according to the present invention are configured in this way, so that the similarity between actions can be calculated automatically, eliminating the need to manually specify or learn the transition probabilities between actions in advance.
[0015] Hereinafter, a robot control device and a robot control method according to embodiments of the present invention will be described with reference to the drawings. In the drawings used in this specification, the same or corresponding components are designated by the same reference numerals, and repeated description of these components may be omitted.
[0016] A robot control system including a robot control device 1 according to a first embodiment of the present invention will be described below with reference to FIGS. 1 to 4. FIG.
[0017] FIG. 1 is a schematic diagram illustrating an environment in which a robot control device 1 is used. In the figure, a robot 2 is a multi-joint arm robot having a multi-joint arm 21 and a hand 22, and is controlled by a robot control device 1 that is connected to the robot control device 1 via wired or wireless communication. The robot 2 may be an orthogonal robot. The robot 2 may also have the robot control device 1 built in. The robot 2 may also be a mobile robot. The measurement sensor 3 is a sensor such as a camera, distance sensor, or microphone that measures the work environment of the robot 2. The measurement sensor 3 is connected to the robot control device 1 via wired or wireless communication. The measurement sensor 3 may also be built into the robot 2. The items 4 are various items handled by the robot 2, such as a cupboard 4a, a kettle 4b, a faucet 4c, and a stove 4d. The instruction input device 5 is used by a user to instruct the robot 2 to perform certain actions. The instruction input device 5 may be, for example, a human interface device such as a keyboard, a mouse, or an LCD display, or a smartphone or tablet. The instruction input device 5 is connected to the robot control device 1 so as to be able to communicate with it via wire or wirelessly.
[0018] 1, the robot 2 is installed in a location where it can grasp or manipulate any object 4 with the hand 22 by moving the articulated arm 21, and the measurement sensor 3 is installed in a location where it can capture images of the entire working environment of the robot 2. The measurement sensor 3 may be attached directly to the robot 2, or may be a joint angle sensor, acceleration sensor, tactile sensor, or the like built into the robot 2.
[0019] 2 is a block diagram showing the hardware configuration of the robot control device 1. As shown here, the robot control device 1 is a computer including a processor 11 such as a CPU, a storage device 12 such as a semiconductor memory, an input unit 13 that receives information from the instruction input device 5, an output unit 14 that transmits information to the instruction input device 5, a communication interface 15 that communicates with the robot 2 and the measurement sensor 3, and a bus 16 that connects them. Note that the processor 11 executes a predetermined robot control processing program 12a to realize each of the functional units described below, but the following description will omit a description of this type of well-known technology and focus instead on the details of the present invention.
[0020] 3 is a functional block diagram of the robot control device 1. As shown in this figure, the robot control device 1 stores pre-action information I b and post-operation information I a The robot control system includes a storage unit 12b that stores motion information m that associates the motions with each other, a similarity calculation unit 11a that calculates a similarity between the motions based on the motion information m received from the storage unit 12b, a sequence of motion generation unit 11b that generates an executable sequence of motions using the calculated similarity, a current motion state including at least one of the robot's current motion surrounding environment and the robot's current state, and a goal given to the robot, and a robot control unit 11c that issues a command to execute the generated sequence of motions. The command issued by the robot control unit 11c is transmitted to the robot 2 via a communication interface 15, thereby controlling the robot 2. Note that, in the first embodiment, the similarity calculation unit 11a that calculates the similarity between the motions based on the motion information m is provided, but the storage unit 12b may store the similarity between the motions calculated in advance based on the motion information m.
[0021] Pre-operation information I b The post-operation information I is information about at least one of the work environment before operation and the state of the robot 2. If both are provided, the robot control described below can be performed with higher accuracy. ais information about at least one of the work environment after operation and the state of the robot 2, and if both are provided, the robot control described below can be performed with higher accuracy.
[0022] For example, if the measurement sensor 3 is a camera, the storage unit 12b stores an image P, such as an RGB image, a gray image, or an infrared image, captured by the camera as pre-operation information I. b and post-operation information I a Furthermore, for example, if the measurement sensor 3 is a distance sensor, the storage unit 12b stores the depth image, point cloud data, etc. measured by the distance sensor as pre-operation information I b and post-operation information I a Examples of distance sensors include LiDAR, laser displacement meters, stereo cameras, infrared distance meters, laser distance meters, and TOF distance sensors. In addition, for example, if the measurement sensor 3 is a microphone, the storage unit 12b stores the voice data recorded by the microphone as pre-operation information I. b and post-operation information I a Furthermore, for example, if the measurement sensors are joint angle sensors, acceleration sensors, and tactile sensors built into the robot 2, the storage unit 12b stores the joint angle data, acceleration data, and tactile data measured by each sensor as pre-motion information I. b and post-operation information I a Obtain as.
[0023] The pre-operation information I stored in the storage unit 12b b and post-operation information I a does not need to be the information measured by the measurement sensor 3 itself, but may be information obtained by processing the information. For example, it may be differential information between measurement information such as the velocity or acceleration of a joint angle, or optical flow calculated from time-series images. Furthermore, for example, an image that has been subjected to homography transformation to match the viewpoint as seen from a predetermined coordinate system may be used, or information normalized based on the average and standard deviation of measurement information obtained in advance may be used.
[0024] In addition, pre-operation information I b and post-operation information I amay be, for example, a feature vector, a region of interest, and an item recognition result extracted from the measurement information. Examples of methods for feature vector extraction, region of interest calculation, and item recognition include extraction of feature points and feature vectors using techniques such as SIFT and ORB, calculation of a region of interest using a saliency map, deep learning using techniques such as R-CNN, YOLO, SSD, and Vision Transformer, segmentation using techniques such as Mask R-CNN and GAN, and grip point recognition using techniques such as Dex-Net.
[0025] Furthermore, pre-operation information I b and post-operation information I a may be a group of measurement information obtained by multiple measurements, or may be a combination of multiple types of measurement information. It may also be a probability distribution of measurement information calculated based on these groups of measurement information. Examples of methods for calculating a probability distribution from a group of measurement information include maximum likelihood estimation and posterior distribution estimation using a Gaussian distribution or a Gaussian mixture distribution, or probability distribution estimation in a feature space using a deep learning method such as VAE.
[0026] The storage unit 12b may also store control information related to the control rules in the robot control unit 11c (described later) in association with each other. Examples of the control information include the torque train of the robot 2 during operation, the target values of the joint angles of the robot 2, and the placement position of the article 4. For example, when a learning method such as a neural network is used as the control rule, the weights of the neural network that have been learned in advance may be stored as the control information. When multiple control rules exist, the name of the control rule or an index for identifying the control rule may be stored as the control information.
[0027] The storage unit 12b may also store performance information indicating the content performed by an action in association with the action. An example of the performance information is detailed linguistic information regarding the effect or state achieved by the action. For example, the action information m of turning on the stove can be associated with a plurality of linguistic information such as boiling water and grilling ingredients as performance information. Note that the pre-action information I corresponding to such linguistic information may be stored in the form of a stencil. b and post-operation information I a may be classified and then stored as the operation information m.
[0028] Even if performance information is not linked and stored in the memory unit 12b, it is possible to infer from linguistic information, etc. using machine learning to understand the current state of the robot 2 and the environment surrounding the robot 2's work.
[0029] Furthermore, a state input unit that receives the current state is newly provided, and the action sequence generator 11b can generate an action sequence based on the current state and the similarity received from the input unit.
[0030] Furthermore, the robot control device 1 acquires the current state of the robot through a communication interface in the form of measurement information obtained from the measurement sensor 3 and sensors built into the robot.
[0031] Feedback control such as PID control is an example of a method for calculating a robot command value from the movement and current state. Alternatively, the robot command value may be calculated using a control rule that has been learned in advance. A reinforcement learning method such as Q-learning is an example of a method for learning a control rule. Alternatively, a deep reinforcement learning method such as DQN or A3C may be used.
[0032] By understanding the current operating state of the robot 2 and the working environment of the robot 2, it becomes possible to flexibly generate a series of operations according to the current state.
[0033] In addition, a new goal input unit may be provided to receive a goal, and the series of actions generating unit 11b may generate a series of actions to reach a specified goal based on the similarity calculated by the similarity calculation unit 11a and the target actions and states received from the goal input unit.
[0034] If the goal received from the goal input unit is information such as an action name that specifies the target action, or linguistic information that indicates the target state, a group of actions that have performance information that matches the specified action and the specified linguistic information is set as the target action, and a series of actions that reach the target action is calculated.
[0035] Also, when the goal is a goal state, an action that can reach the goal state is set as the goal action, and a series of actions that reach the goal state are generated. For example, the post-action information I a A method of determining the target state as the one with the highest similarity to the target state is also possible. a is the probability distribution of the measurement information, then the post-motion information I a By using the probability of generating the goal state in as the probability of reaching the goal state, it is possible to calculate an action that can reach the goal state.
[0036] Examples of methods for calculating a series of actions leading to a target action from similarity and a target action include the A-star (A*) algorithm and the RRT-star (RRT*) algorithm. Examples of methods for calculating a series of actions leading to a target action from transition probability and a target action include estimation by dynamic programming such as LMDP (Linearly-solvable Markov Decision Process), active inference, and belief propagation.
[0037] <Details of Similarity Calculation Unit 11a> The similarity calculation unit 11a first calculates post-action information I a and pre-action information I included in the action information of another action. b For example, the robot 2 can execute the action a 1 "Take out the kettle 4b from the cupboard 4a", Action a 2 "Operate the faucet 4c and pour water into the kettle 4b", action a 3 In the example of FIG. 4, where "light the stove 4d" is prepared, first, action a 1 Starting from the point, operation a 1 Operation information m 1 Post-operation information I included in 1a and action a 2Operation information m 2 Pre-operation information I included in b2 and the similarity between the action a 1 Post-operation information I 1a and action a 3 Operation information m 3 Pre-operation information I included in b3 Similarly, the similarity between the action a 2 The similarity between the information before and after the action when starting from 3 The similarity between the information before and after the action when the starting point is also calculated.
[0038] In this example, operation a 1 Post-operation information I 1a Image P registered in 1a Both of the images show the state in which an empty kettle 4b is placed on the pot placement section of the stove 4d. 2 Pre-operation information I 2b Image P registered in 2b Both of the images show the state in which an empty kettle 4b is placed on the pot placement section of the stove 4d. 3 Pre-operation information I 3b Image P registered in 3b Both of the images show the state in which the full kettle 4b is placed on the pot placement section of the stove 4d. 1 Image P after the operation 1a and action a 2 Image P before operation 2b is very similar, and operation a 1 Image P after the operation 1a and action a 3 Image P before operation 3b In the example of FIG. 4, where 1 Post-operation information I 1a and action a 2 Pre-operation information I 2b The similarity between the two is determined to be "high" and the action a 1 Post-operation information I 1a and action a 3 Pre-operation information I 3bThe similarity between the motion information m is determined to be "low". If there is a possibility that the robot 2 will repeat the same motion, the similarity between the same motion information m may be calculated. Also, a subset of the motion information m stored in the storage unit 12b for which the similarity is to be calculated may be specified in advance.
[0039] A specific example of a similarity calculation method is, for example, b and post-operation information I a When a set of data consists of a single piece of measurement information or multiple pieces of measurement information, examples of similarity include the cosine similarity between the pieces of measurement information, its average value, maximum value, and minimum value. Alternatively, the degree of dissimilarity, i.e., dissimilarity, may be calculated by first calculating the Euclidean distance between the pieces of measurement information, its average value, maximum value, and minimum value, and then similarity may be calculated from the dissimilarity. Examples of methods for calculating similarity from dissimilarity include the inverse of dissimilarity and the value of the Poisson distribution with dissimilarity as a variable.
[0040] Another example of a similarity calculation method is, for example, b and post-operation information I a When the post-operation information I is a probability distribution of the measurement information, the dissimilarity can be calculated by calculating the Kullback-Leibler (KL) distance and the Wasserstein distance, which are distances between the probability distributions, and the similarity can be calculated from the dissimilarity as described above. a Pre-operation information I of measurement data obtained by sampling one or more b The generation probability and its average value, maximum value, and minimum value can also be used as the similarity.
[0041] As described above, the similarity may be calculated by the similarity calculation method based on processed information of measurement information such as difference information or object recognition results, instead of measurement information.
[0042] <Details of Sequence of Actions Generator 11b> Next, the details of the process performed by the sequence of actions generator 11b when generating a sequence of actions using similarity will be described.
[0043] The sequence of actions generating unit 11b generates a sequence of actions based on the similarity calculated by the similarity calculating unit 11a. An example of a method for generating a sequence of actions will be described below. The sequence of actions generating unit 11b uses the similarity to generate a sequence of actions that connects the current state, including either the robot's work environment or the robot's state, received from the state input unit, as a starting point, and the robot's goal, received from the goal input unit, as an end point. Note that the sequence of actions generating unit 11b may also use the robot's state and goal, which the robot 1 infers from the work environment or the like.
[0044] <Details of robot control unit 11c> Finally, the details of the processing performed by the robot control unit 11c will be described. The robot control unit 11c calculates commands for controlling the robot based on the series of movements calculated by the series of movements generation unit 11b. The robot control unit 11c calculates commands corresponding to the series of movements by sequentially calculating command values for the robot required to execute each movement in the series of movements using a control rule. An example of the control rule is, for example, the pre-movement information I b From post-operation information I a Examples of trajectory planning methods include the A* algorithm and RRT, which plan a trajectory that reaches the target.
[0045] When calculating commands from the control law, the control information described above may be used. For example, the torque sequence of the robot stored as control information may be output as is. Alternatively, command values may be calculated using PID control or the like based on the sequence of target values of the robot's joint angles stored as control information.
[0046] Furthermore, a machine learning technique such as a neural network may be used as the control rule. The weights of the neural network stored as control information are used to calculate the pre-operation information I b and post-operation information I a The command value can be obtained by directly estimating the corresponding command value from
[0047] <Effects of this embodiment> As described above, according to the robot control device of this embodiment, the post-action information I a and pre-operation information I of other operation information. bTherefore, the robot control device of this embodiment can automatically calculate the transition probabilities between actions and generate a series of actions without manually specifying or learning the transition probabilities between actions in advance.
[0048] Next, a robot control device 1 according to a second embodiment of the present invention will be described. Explanation of commonalities with the first embodiment will be omitted to avoid duplication. Fig. 5 is a functional block diagram of the robot control device 1 according to the second embodiment. A probability calculation unit 11d is added to the robot control device 1 to calculate a transition probability between actions based on the similarity calculated by the similarity calculation unit 11a.
[0049] <Details of Probability Calculation Unit 11d> Details of the process performed by the probability calculation unit 11d will be described with reference to Fig. 4. In the following, the measurement sensor 3 is a camera, and the action information m (pre-action information I b , post-operation information I a ) is assumed to register an image P captured by a camera together with information indicating each probability distribution. For example, 1 The stored information for "take out" is the past image P captured before the action was performed. 1b However, pre-operation information I b The concentric circles in the stored information in FIG. 4 are an image that expresses the degree of probability of each image depending on where the image is located within the circle, with the color becoming darker (representing a higher probability distribution) toward the center and lighter (representing a lower probability distribution) toward the periphery. Therefore, in this example, the right image P 1b Image P on the left 1b It has been shown that the probability of
[0050] The probability calculation unit 11a calculates the transition probability between the actions based on the similarity. As in the previous example, the transition probability between the same action information m may be calculated.
[0051] As a method for calculating the transition probability based on the similarity, there is a method for calculating the transition probability by normalizing a similarity vector obtained by calculating the similarity between a certain action and all actions that can be transitioned from that action. Alternatively, the transition probability may be calculated from the value of a softmax distribution that uses the obtained similarity vector as a variable. In addition, the post-action information I a Pre-operation information I of measurement data obtained by sampling one or more b For example, the transition probability can be calculated using the generation probability in i Pre-operation information I b The probability that image P is generated is p i (P|I b ), operation information m i Post-operation information I a The probability that image P is generated is p i (P|I a ), operation information m i The initial probability of p(m i ), and the motion information m i The posterior probability of p(m i |P), then the action information m i From the operation information m j Transition probability p(m j |m i ) can be calculated using the following formula 1.
[0052]
[0053] When a prior distribution of transition probabilities exists, the transition probabilities may be calculated by finding posterior probabilities using the found transition probabilities. Furthermore, transitions between actions corresponding to similarities equal to or less than a predetermined threshold may be determined as impossible and the transition probabilities may be set to 0. A specific action may be set as a terminal condition, and all transition probabilities from that action to other actions may be set to 0.
[0054] To explain the process of this step based on the example of FIG. 4, in step S1, operation a 1 Post-operation information I 1a and action a 2 Pre-operation information I 2b The similarity between the two is determined to be "high" and the action a 1Post-operation information I 1a and action a 3 Pre-operation information I 3b Since the similarity between the two actions is determined to be "low", the probability calculation unit 11a 1 From operation a 2 The transition probability to action a is high. 1 From operation a 3 It is determined that the transition probability to is low.
[0055] In addition, since the similarity between other actions is also calculated in step S1, the probability calculation unit 11a finally calculates the similarity between the actions a 1 From operation a 2 , operation a 2 From operation a 3 The transition probability to action a is high. 1 From operation a 1 , operation a 1 From operation a 3 , operation a 2 From operation a 1 , operation a 2 From operation a 2 , operation a 3 From operation a 1 , operation a 3 From operation a 2 , operation a 3 From operation a 3 It can be determined that the transition probability to is low.
[0056] <Details of the sequence of actions generation unit 11b> Next, details of the processing performed by the sequence of actions generation unit 11b when generating a sequence of actions using transition probabilities will be described. Fig. 6 is a diagram showing an example of a method for generating a sequence of actions according to this embodiment. Note that, similar to Fig. 4, in Fig. 6, a "large" transition probability is indicated by a solid arrow, and a "small" transition probability is indicated by a dotted arrow.
[0057] The sequence of actions generating unit 11b generates a sequence of actions based on the transition probability calculated by the probability calculation unit 11d. An example of a method for generating a sequence of actions is to sample the next action according to the transition probability from a pre-specified starting action, and repeat this to generate a sequence of actions of a certain length. Note that the next action may be uniquely selected from the maximum value of the transition probability. Alternatively, a probability distribution of the starting action may be set, and the starting action may also be calculated from the sample. In the example of FIG. 6, the sequence of actions a1 From operation a 2 , and operation a 2 From operation a 3 Since the probability of transition to 1 , operation a 2 , operation a 3 A combination of actions executed in the above order is generated as a series of actions.
[0058] When generating a series of actions of any length, the length T of the series of actions may also be sampled from a pre-specified probability distribution, and a series of actions may be generated that has the length of the sampled T. Furthermore, when there is an action that serves as a terminal condition, the series of actions may be generated by continuing to generate actions until the terminal condition is reached.
[0059] Examples of methods for calculating a series of actions that reach a target action from the transition probability and the target action include estimation by dynamic programming such as LMDP (Linearly-Solvable Markov Decision Process), active inference, and belief propagation. The series of actions may be generated based on the hierarchical structure of the action information m. FIG. 7 is a diagram showing an example of a method for generating a series of actions from the hierarchical action information m in this embodiment. In the figure, action a 1 "Take out" action information m 1 This is an example of a hierarchical structure of the information, and the information is further divided into the operation a 11 Action information for "open the cupboard" 11 , operation a 12 Action information for "Put the kettle on the stove" 12 , operation a 13 Action information for "Close the cupboard" 13 In this example, action a is one action in a series of actions. 1 "Take out" action information m 1 When m is selected, a series of actions can be generated from the layered action information m by replacing it with a sequence of actions generated based on the transition probability between actions in the lower layer.
[0060] Next, a robot control device 1 according to a third embodiment of the present invention will be described. Note that the points common to the above-mentioned embodiments will not be described to avoid duplication.
[0061] In the above embodiment, for example, if a motion transition fails when controlling the robot 2 based on the generated series of motions, it may become impossible to execute the subsequent series of motions.
[0062] Therefore, in this embodiment, a new action transition determination unit is provided that outputs an action transition determination result, which is the result of determining whether the action transition was successful or not, and when it is determined that the action transition has failed, the series of actions is regenerated.
[0063] A method for determining whether a transition of an action has failed is, for example, to compare the state measured when a certain action in a series of actions is completed with the pre-action information I of the next action in the series of actions. b It can be determined whether the similarity between the pre-action information I and the pre-action information I is lower than a predetermined threshold value. b is the probability distribution of the measurement information, the pre-motion information I b Alternatively, the determination may be made based on whether the occurrence probability of the measured state in is lower than a predetermined threshold value.
[0064] An example of a method for regenerating a series of actions is a method in which, starting from the action before the transition in which it is determined that the action transition has failed, the remaining series of actions are regenerated using the transition probability. Also, for example, a constraint may be set so that the same series of actions as when the transition has failed is not generated by regenerating a series of actions after setting the transition probability of the action after the transition when the transition has failed to 0.
[0065] Next, a robot control device 1 according to a fourth embodiment of the present invention will be described. Note that a duplicated description of points common to the above-mentioned embodiments will be omitted.
[0066] In the above embodiment, for example, the pre-operation information I b and post-operation information I a If there is a bias in the measurement information used as the transition probability, or if the work environment is gradually changing, a difference may occur between the transition probability calculated by the probability calculation unit 11a and the actual transition probability.
[0067] Therefore, in this embodiment, a similarity update unit that updates the similarity or a transition probability update unit that updates the transition probability is newly provided, and the similarity or transition probability is updated based on the generated series of actions and the state measured when the series of actions is executed.
[0068] As an example of a method for updating the similarity, the pre-action information I is updated based on the state before and after the action measured when each action is executed. b and post-operation information I a and updates the updated pre-operation information I b and post-operation information I a For example, the similarity can be updated using the pre-action information I b and post-operation information I a is the probability distribution of the measurement information, the distribution of the posterior probability is calculated using the measured state, and the pre-operation information I b and post-operation information I a may be updated.
[0069] Furthermore, for example, when a motion transition determination result can be acquired, the similarity may be directly updated based on the motion transition determination result. One example of a method for directly updating the similarity is a method of lowering the similarity by using a predetermined value when it is determined that a transition has failed. Furthermore, if a certain number of transition failures occur, the similarity between the target motions may be set to 0.
[0070] As an example of a method for updating the transition probability, the pre-action information I is calculated based on the state before and after the action measured when each action is executed. b and post-operation information I a and updates the updated pre-operation information I b and post-operation information I a For example, the transition probability can be calculated by using the pre-action information I b and post-operation information I a is the probability distribution of the measurement information, the distribution of the posterior probability is calculated using the measured state, and the pre-operation information I b and post-operation information I a may be updated.
[0071] Furthermore, for example, when an action transition determination result can be acquired, the transition probability may be directly updated based on the action transition determination result. One example of a method for directly updating the transition probability is a method of lowering the transition probability by using a predetermined value when it is determined that a transition has failed. Furthermore, when a certain number of transition failures occur, the transition probability between the target actions may be set to 0.
[0072] Next, a robot control device 1 according to a fifth embodiment of the present invention will be described. Note that a duplicated description of points common to the above-mentioned embodiments will be omitted.
[0073] In this embodiment, the operation transition determination result generated by the operation success / failure determination unit of Example 3 is displayed on the display unit 51 of the instruction input device 5, and the control instruction input unit 52 accepts input of a control instruction to continue the operation when it is determined that the operation transition has failed, thereby making it possible to continue the operation of the robot 2 even if it is determined that the operation transition has failed.
[0074] 8 shows an example of a display screen for notifying the user of a transition failure and accepting a control instruction from the user. In this example, a window corresponding to the display unit 51 is used to display an operation a 2 "Pour" to action a 3 Information indicating the failure of the transition to "ignite" (in this example, an X mark) is displayed along with an image P showing the current work environment. When it is determined that the transition to the action has failed, the window corresponding to the control instruction input unit 52 displays alternative actions to be executed (e.g., manual control using a controller) and accepts the user's selection of an alternative action. After accepting input of an alternative action by checking a desired checkbox in the window of the control instruction input unit 52, pressing the resume action sequence button 53 regenerates a series of actions starting from the selected alternative action, thereby allowing robot control to continue. Note that pressing the control completion button 54 may complete control of the robot 2 without resuming the series of actions.
[0075] Furthermore, for example, the control instruction may be an instruction for controlling the robot 2. By controlling the robot 2 based on the received instruction and then receiving input of an alternative operation, even if recovery cannot be achieved by any of the operations, it is possible to continue controlling the robot based on the received instruction.
[0076] If the action transition determination result is unsuccessful, the robot control may be continued by regenerating the series of actions as described above, and control instructions may be accepted only if the action transition determination result is unsuccessful a certain number of times.
[0077] Next, a robot control device 1 according to a sixth embodiment of the present invention will be described. Note that a duplicated description of points common to the above-mentioned embodiments will be omitted.
[0078] In this embodiment, when there are multiple transition probabilities with the same value, the one with the lowest energy consumption (battery consumption) is selected. This makes it possible to reduce the energy consumption of the robot 2. Furthermore, when there are multiple transition probabilities with the same value, the one with the quickest operation completion time is selected. This makes it possible to shorten the working time of the robot 2.
[0079] Finally, a robot control method used in the robot control system will be described.
[0080] First, a robot control method will be described in the case where similarities between actions already exist, for example, similarities between actions are stored in the storage unit 12b.
[0081] <<Step 1>> Using the series of actions generation unit 11b, a series of actions of the robot is generated using a plurality of pieces of action information that associates the robot actions stored in the memory unit 12b with pre-action information including at least one of the surrounding work environment and the state of the robot before the action, and post-action information including at least one of the surrounding work environment and the state of the robot after the action, the similarity between the post-action information of one action and the pre-action information of another action, the current action state including at least one of the robot's current operating environment and the robot's current state, and a goal given to the robot.
[0082] <<Step 2>> Using a robot control unit, the robot is controlled based on the series of robot movements generated by the series of movement generation unit.
[0083] Next, a robot control method in which the similarity calculation unit 11a calculates the similarity between actions will be described.
[0084] <<Step 1>> Using the similarity calculation unit 11a, the similarity between the post-action information of a certain action and the pre-action information of another action is calculated from a plurality of pieces of action information that associate the robot action stored in the memory unit 12b with pre-action information including at least one of the surrounding work environment and the state of the robot before the action, and post-action information including at least one of the surrounding work environment and the state of the robot after the action.
[0085] <<Step 2>> Using the series of actions generation unit 11b, a series of actions of the robot is generated using the robot actions stored in the memory unit 12b, pre-action information including at least one of the work surrounding environment and the state of the robot before the action, post-action information including at least one of the work surrounding environment and the state of the robot after the action, the similarity calculated by the similarity calculation unit 11a, the current action state including at least one of the current action environment of the robot and the current state of the robot, and a goal given to the robot.
[0086] <<Step 3>> Using a robot control unit, the robot is controlled based on the series of robot movements generated by the series of movement generation unit.
[0087] It should be noted that the present disclosure is not limited to the above-described examples and includes various modifications. The above-described examples have been described in detail to clearly explain the present disclosure, and are not necessarily limited to those including all of the described configurations. It is possible to replace part of the configuration of one example with the configuration of another example, and it is also possible to add the configuration of another example to the configuration of one example. Furthermore, it is also possible to add, delete, or replace part of the configuration of each example with other configurations.
[0088] The above-described configurations, functions, processing units, processing means, etc. may be implemented in part or in whole by hardware such as an integrated circuit. The above-described configurations, functions, etc. may also be implemented by software, with a processor interpreting and executing a program that implements each function. Information such as the program, table, and file that implements each function can be stored in a recording device such as a memory, a hard disk, or an SSD (Solid State Drive), or on a recording medium such as a flash memory card or a DVD (Digital Versatile Disk).
[0089] In each embodiment, the control lines and information lines shown are those that are considered necessary for the explanation, and not all control lines and information lines in the product are necessarily shown. In reality, it can be considered that almost all components are interconnected.
[0090] REFERENCE SIGNS LIST 1 robot control device 11 processor 11a similarity calculation unit 11b sequence of motion generation unit 11c robot control unit 11d probability calculation unit 12 storage device 12a robot control processing program 12b storage unit 13 input unit 14 output unit 15 communication interface 16 bus 2 robot 21 articulated arm 22 hand 3 measurement sensor 4 item 4a cupboard 4b kettle 4c faucet 4d stove 5 instruction input device 51 display unit 52 control instruction input unit
Claims
1. A robot control device that controls the movement of a robot, comprising: a memory unit that stores a plurality of pieces of movement information that associate a robot's movement with pre-movement information including at least one of the robot's working environment and the robot's state before the movement, and post-movement information including at least one of the robot's working environment and the robot's state after the movement; a sequence of movement generation unit that generates a sequence of movements of the robot using the plurality of pieces of movement information, the similarity between the post-movement information of a certain movement and the pre-movement information of another movement, a current movement state including at least one of the robot's current working environment and the robot's current state, and a goal given to the robot; and a robot control unit that controls the robot based on the sequence of movements of the robot generated by the sequence of movement generation unit.
2. A robot control device according to claim 1, wherein the sequence of motion generation unit links together motion information with a high degree of similarity to generate a sequence of motions for the robot.
3. A robot control device as described in claim 1 or 2, wherein the series of motion generation unit generates a series of robot motions by connecting the motion information with each other, with the current motion state as a starting point and the target as an end point.
4. A robot control device according to claim 1, wherein the memory unit stores the similarity between the pieces of operation information.
5. A robot control device as claimed in claim 1, characterized in that it comprises a similarity calculation unit which uses the motion information to calculate the similarity between the motion information of a certain motion and other pre-motion information, and inputs the calculated similarity to the memory unit.
6. A robot control device as described in claim 1, comprising: an action transition determination unit that determines an action transition determination result which is a determination result of whether an action transition has been successful; and a similarity update unit that updates the similarity, wherein the similarity update unit updates the similarity based on the series of actions, a current state, and the action transition determination result; and the action series generation unit regenerates the series of actions when the action transition determination unit determines that the action transition has failed.
7. A robot control device as described in claim 1, wherein the state of the work environment includes any one of image, sound, and distance information obtained from the work environment, and processed information thereof, and the state of the robot includes any one of the robot's joint angles, acceleration, and tactile sense.
8. A robot control device as described in claim 1, comprising: a probability calculation unit that calculates the probability of transitioning from a certain action to another action using the similarity between post-action information of the certain action and pre-action information of the other action; and the sequence of actions generation unit that generates a sequence of actions for the robot using the probability.
9. A robot control device as described in claim 8, wherein the probability calculation unit calculates the probability of transitioning from one action to the other action based on the similarity of the distribution of the work surrounding environment and the state of the robot between the post-action information and the pre-action information, and the sequence of actions generation unit generates a sequence of actions for the robot using the probability.
10. A robot control device as described in claim 9, further comprising an action transition determination unit that determines an action transition determination result which is a result of determining whether an action transition has been successful, and wherein the action sequence generation unit regenerates the action sequence when the action transition determination unit determines that the action transition has failed.
11. A robot control device as described in claim 10, comprising: a transition probability update unit that updates the probabilities; and the transition probability update unit updates the probabilities based on the series of actions, a current state, and the action transition determination result.
12. A robot control device according to claim 1, wherein the pre-action information and the post-action information are distributions of the working environment and the state of the robot.
13. A robot control device according to claim 1, further comprising a state input unit for receiving a current state including either one of the work surrounding environment and the state of the robot.
14. A robot control device according to claim 1, further comprising a goal input unit for receiving said goal.
15. A robot movement control method for controlling the movement of a robot, comprising: using a series of movements generation unit to generate a series of movements of the robot from a plurality of pieces of movement information correlating the movements of the robot stored in a memory unit, pre-movement information including at least one of the work surrounding environment and the state of the robot before the movement, and post-movement information including at least one of the work surrounding environment and the state of the robot after the movement, using the similarity between the post-movement information of one movement and the pre-movement information of another movement, a current movement state including at least one of the current operation environment and the current state of the robot, and a goal given to the robot; and using a robot control unit to control the robot based on the series of movements of the robot generated by the series of movements generation unit.
Citation Information
Patent Citations
Model generating device, model generating method, control device and control method
JP2021030360A
Learning device, learning method, learning program, control device, control method, and control program
JP2022041294A
Assistance control device, assistance device, robot control system, assistance control method, and storage medium
WO2022107324A1
