Data generation device, data generation method, control device, control method, and program

The control device uses neural networks to simulate and correct robot states, addressing modeling errors in reinforcement learning, thereby improving data efficiency and accuracy in robot movement realization.

JP7538756B2Active Publication Date: 2024-08-22KK TOSHIBA
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2021044782
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-03-18
Publication Date
2024-08-22
Estimated Expiration
2041-03-18

AI Technical Summary

Technical Problem

Conventional reinforcement learning methods for robot control face challenges in reducing modeling errors when learning the behavior of controlled objects, leading to inefficiencies in data acquisition and movement realization.

Method used

A control device incorporating a determining section, reward generation section, and next state generation section, utilizing neural networks to simulate and correct states, thereby reducing modeling errors by generating accurate next states and rewards based on current robot states and actions.

Benefits of technology

The solution enables precise movement realization on actual robots by minimizing modeling errors, enhancing data efficiency and accuracy in robot learning processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007538756000001
    Figure 0007538756000001
  • Figure 0007538756000012
    Figure 0007538756000012
  • Figure 0007538756000011
    Figure 0007538756000011
Patent Text Reader

Abstract

To reduce a modeling error in modeling an environment which is caused to learn an operation of a control object.SOLUTION: A control device includes a determination section, a reward generation section, a simulation section, and a next state generation section. The determination section determines an action on the basis of a state of current time. The reward generation section generates a reward on the basis of the state of current time, and the action. The simulation section generates a simulated state of the next time, from a simulated state of current time set on the basis of the state of current time, and from the action. The next state generation section generates a state of the next time, from the state of current time, the action and the simulated state of the next time.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] An embodiment of the present invention relates to a data generating device, a data generating method, a control device, a control method, and a program. [Background technology]

[0002] Labor shortages in manufacturing and logistics sites have created a demand for automation of work. Reinforcement learning is a method that allows robots to learn behaviors autonomously without the need for teaching. Reinforcement learning learns behaviors by repeating actions through trial and error, so reinforcement learning using actual robots generally requires a lot of effort to acquire data, making it costly. Therefore, there is a demand for a method to improve data efficiency relative to the number of behavior trials. Model-based reinforcement learning has been known as one such method. [Prior art documents] [Non-patent literature]

[0003] [Non-Patent Document 1] Anusha Nagabandi, Gregory Kahn, Ronald S. Fearing, Sergey Levine, “Neural Network Dynamics for Model-Based Deep Reinforcement Learning with Model-Free Fine-Tuning”, arXiv:1708.02596 (Retrieved November 2, 2020), Internet<URL:https: / / arxiv.org / abs / 1708.02596> ),2017. [Non-Patent Document 2] John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, Oleg Klimov, “Proximal Policy Optimization Algorithms”, arXiv:1707.06347 ([Retrieved November 2, 2020], Internet<URL:https: / / arxiv.org / abs / 1707.06347> ),2017. Summary of the Invention [Problem to be solved by the invention]

[0004] However, with conventional techniques, it has been difficult to reduce modeling errors when modeling an environment in which the behavior of a controlled object is learned. [Means for solving the problem]

[0005] The control device according to the embodiment includes a determination unit, a reward generation unit, a simulation unit, and a next state generation unit. The robot's characteristics obtained from observational information obtained by the observation device Based on the current time , the robot A reward generation unit generates a reward based on the state at the current time and the action. A simulation unit generates a simulated state at the current time set based on the state at the current time and a simulated state at the next time from the action. A next state generation unit receives the state at the current time, the action, and the simulated state at the next time as inputs, and generates the state at the next time using a neural network that outputs the state at the next time. The neural network generates correction information for correcting the simulated state at the next time, and outputs the state at the next time from the correction information and the simulated state at the next time. [Brief description of the drawings]

[0006] [Figure 1] FIG. 1 is a diagram showing an example of a device configuration of a robot system according to an embodiment. [Diagram 2] FIG. 2 is a diagram illustrating an example of a functional configuration of a data generating device and a control device according to the embodiment. [Diagram 3] FIG. 4 is a diagram showing an example of the functional configuration of a generation unit according to the embodiment. [Figure 4] 5A to 5C are diagrams for explaining the operation of a simulator according to the embodiment. [Diagram 5] FIG. 11 is a diagram for explaining an example of a reward generation process according to an embodiment. [Figure 6] 5A to 5C are diagrams for explaining the operation of a next state generation unit according to the embodiment. [Figure 7] 6A and 6B are diagrams for explaining an example of a next state generation process according to the embodiment; [Figure 8A] 6A and 6B are diagrams for explaining an example of a next state generation process according to the embodiment; [Figure 8B] 6A and 6B are diagrams for explaining an example of a next state generation process according to the embodiment; [Figure 9] FIG. 13 is a diagram for explaining an example in which the reward generation process and the next state generation process of the embodiment are realized by a configuration in which part of a neural network is shared. [Figure 10] 1 is a flowchart showing an example of a data generation method according to an embodiment. [Figure 11] 4 is a flowchart showing an example of a control method according to the embodiment. [Figure 12] FIG. 2 is a diagram illustrating an example of a hardware configuration of a data generating device and a control device according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0007] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of a data generating device, a data generating method, a control device, a control method, and a program will be described in detail with reference to the accompanying drawings.

[0008] In the embodiment, a robot system that controls a robot having a function of gripping an article (an example of a target object) will be described as an example.

[0009] [Example of device configuration] 1 is a diagram showing an example of a device configuration of a robot system 1 according to an embodiment. The robot system 1 according to the embodiment includes a control device 100, a robot 110, and an observation device 120. The robot 110 includes a plurality of actuators 111, an articulated arm 112, and an end effector 113.

[0010] The control device 100 controls the operation of the robot 110. The control device 100 is realized by, for example, a computer, a dedicated device for controlling the operation of the robot 110, or the like.

[0011] The control device 100 is used to learn a strategy for determining a control signal to be sent to the actuator 111 in order to grasp the article 10. This makes it possible to efficiently learn an operation plan for a system in which it is costly to acquire data on an actual device such as the robot 110.

[0012] The control device 100 creates a motion plan for grasping an object using the observation information generated by the observation device 120. The control device 100 operates the robot 110 by sending a control signal based on the created motion plan to the actuator 111 of the robot 110.

[0013] The robot 110 has a function of grasping an article 10 that is an object to be operated. The robot 110 is, for example, an articulated robot, a linear robot, or a combination of these. In the following, an example will be described in which the robot 110 is an articulated robot equipped with a plurality of actuators 111.

[0014] The end effector 113 is attached to the tip of the articulated arm 112 in order to move an object (e.g., the article 10). The end effector 113 is, for example, a gripper capable of gripping an object, a vacuum robot hand, or the like. The articulated arm 112 and the end effector 113 are controlled in response to driving by the actuator 111. More specifically, the articulated arm 112 moves, rotates, and expands and contracts (i.e., changes the angle between the joints), etc. in response to driving by the actuator 111. The end effector 113 grasps (grips or adsorbs) the object in response to driving by the actuator 111.

[0015] The observation device 120 generates observation information by observing the states of the article 10 and the robot 110. The observation device 120 is, for example, a camera that generates an image and a distance sensor that generates depth data (depth information). The observation device 120 may be installed in the environment including the robot 110 (for example, on a pillar or ceiling in a room) or may be attached to the robot 110.

[0016] [Example of control device functional configuration] 2 is a diagram illustrating an example of a functional configuration of the control device 100 according to the embodiment. The control device 100 according to the embodiment includes an acquisition unit 200, a generation unit 201, a storage unit 202, an inference unit 203, an update unit 204, and a robot control unit 205.

[0017] The acquisition unit 200 acquires observation information from the observation device 120 and acquires the state s t o Generate state s t o contains information obtained from observations. Also, state s t o may include the internal state of the robot 110 (such as the angle and position of each joint, the position of the end effector, etc.) acquired from the robot 110.

[0018] The generation unit 201 receives the state s t o When you accept the empirical data (s t ,a t ,r t ,s t+1 ) is generated. t ,a t ,r t ,s t+1 ), and the details of the processing by the generation unit 201 will be described later with reference to FIG.

[0019] The storage unit 202 is a buffer that accumulates the experience data generated by the generation unit 201. The storage unit 202 is configured with, for example, a memory, a hard disk drive (HDD), and a solid state drive (SSD).

[0020] The inference unit 203 determines the state s at time t. t o A control signal to be sent to the actuator 111 is determined using the above. Various reinforcement learning algorithms can be used for the inference. For example, when inference is performed using PPO (Proximal Policy Optimization) in Non-Patent Document 2, the inference unit 203 determines the state s t o is input to the policy π(a│s) composed of a neural network, and action a is taken based on the obtained probability density function P(a|s). t Action a t are control signals for, for example, moving, rotating, and expanding / contracting the articulated arm 112 (changing the angle between the joints) and for specifying the coordinate position of the end effector.

[0021] The update unit 204 updates the policy π(a|s) of the inference unit 203 using the experience data stored in the storage unit 202. For example, when the policy π(a|s) is determined by a neural network, the update unit 204 updates the weights and biases of the neural network. The weights and biases can be updated by using backpropagation or the like according to the objective function used in various reinforcement learning algorithms such as PPO.

[0022] The robot control unit 205 controls the robot 110 by sending a control signal to the actuator 111 based on the output information from the inference unit 203 .

[0023] Next, the process performed by the generation unit 201 will be described in detail.

[0024] [Example of functional configuration of the generation unit] 3 is a diagram showing an example of the functional configuration of the generating unit 201 according to the embodiment. Here, the actual embodiment will be described as the generating unit 201 constituting the control device 100, but the generating unit 201 may be a data generating device constituting a part or all of the functional configuration of the generating unit 201. The generating unit 201 according to the embodiment includes an initial state acquiring unit 300, a selecting unit 301, a deciding unit 302, a simulating unit 303, a reward generating unit 304, a next state generating unit 305, and a next state acquiring unit 306.

[0025] The initial state acquisition unit 300 acquires the state s t o Get the state s t o Let s be the initial state s 0 Here, the state s acquired at the start time is t o As explained in the previous section, t o may be stored and reused, and based on the observation information observed by the observation device 120, data augmentation techniques may be used to t o may be synthesized and used.

[0026] The selection unit 301 selects the state s acquired by the initial state acquisition unit 300. 0 , or the state s acquired by the next state acquisition unit 306 t Select one of them and select the selected state. t is input to the determination unit 302 and the reward generation unit 304. 0 and state s t is observation information from the observation device 120, for example, image or depth information, or may be either one or both, or may be an internal state of the robot 110 acquired from the robot 110 (angles and positions of each joint, position of the end effector, etc.), or may be a combination of these, or information obtained as a result of performing a calculation on these. t is the previous next-time state s generated by the processing of the next-state generating unit 306 at the previous time (for example, time t-1). (t-1)+1For example, the selection unit 301 selects the state s 0 otherwise, the state s acquired by the next state acquisition unit 306 is selected. t Select .

[0027] The decision unit 302 determines the state s according to the policy μ. t Actions taken in a t The policy μ may be the policy π(a|s) used in the inference unit 203, or may be a policy based on an action decision criterion different from that of the inference unit 203.

[0028] The simulation unit 303 simulates the movement of the robot 110. The simulation unit 303 may simulate the movement of the robot 110 by, for example, a robot simulator. Alternatively, for example, the simulation unit 303 may actually use an actual machine (robot 110) to simulate the movement of the robot 110. The object to be picked (for example, the item 10) does not need to be present.

[0029] The simulation unit 303 initializes the simulated state based on an initialization instruction from the selection unit 301 at the operation start time. The simulated state may be, for example, an image or depth information, or may be either one or both, or may be the internal state of the robot 110 acquired from the robot 110 (angles and positions of each joint, position of the end effector, etc.), or may be a combination of these, or information obtained as a result of performing calculations on these. First, the simulation unit 303 corrects the internal state of the simulation unit 303 based on the state of the robot 110 at the start time (for example, joint angles, etc.), and sets the simulated state so that it has the same posture and state as the robot 110. Next, the simulation unit 303 executes the action a determined by the determination unit 302. t The simulation unit 303 simulates the state of the robot 110 after a certain time based on the simulated state s' of the robot 110 after a certain time, which is obtained as a result of the simulation. t+1 is input to the next state generation unit 305. In addition, the reward generation unit 304 calculates the reward r t When the simulated state s' is calculated, the reward generation unit 304 also calculates the simulated state s'.t+1 You may also enter:

[0030] 4 is a diagram for explaining the operation of the simulation unit 303 according to the embodiment. Here, a case where the simulation unit 303 is configured (realized) by a robot simulator will be explained as an example. The simulation unit 303 is a simulator having a robot model (e.g., CAD data, mass, friction coefficient, etc.) corresponding to the robot 110.

[0031] The simulator 303 calculates a simulated state s' at time t. t For example, when the observation device 120 is configured with a camera, the simulation unit 303 renders an image corresponding to an image of the robot 110 captured from the viewpoint of the observation device 120, and generates a simulated state s' based on the rendered image. t (Simulated state s' t The simulated state s' t may be represented using depth information.

[0032] The simulation unit 303 simulates the action a determined by the determination unit 302. t Based on the above, the simulated state s' t After the simulation, the simulation unit 303 renders an image corresponding to an image of the robot 110 captured from the viewpoint of the observation device 120, thereby generating a simulated state s' at time t+1. t+1 Generate.

[0033] The reward generator 304 determines the state s t Action a t Reward r obtained when t The output is the reward r t may be calculated using a statistical method such as a neural network. t may be calculated using a predetermined function or the like.

[0034] FIG. 5 shows the reward r t5 is a diagram for explaining an example of a generation process of the state s t is expressed as an image.

[0035] In the example of Figure 5, state s t After the convolution process is performed by the Convolution Layer, it is processed by the Fully Connected Layer to obtain D s The characteristics of the dimension are obtained. Also, the behavior a t By processing it with the fully connected layer, D a These D s Characteristics of dimensions and D a The dimensional features are concatenated and processed by a fully connected layer to obtain the reward r t After each process in the convolution layer or the fully connected layer, a conversion process using an activation function such as a rectified linear function or a sigmoid function may be added.

[0036] In addition, the reward r t To generate the simulated state s' t+1 The reward generator 304 may use the simulated state s' at the next time. t+1 Rewards based on t When generating a simulated state s' t+1 To state t The same treatment was carried out and the obtained D s’ The characteristics of the dimension are s Characteristics of dimensions and D a By further connecting the dimensional features and processing them with a fully connected layer, the reward r t Calculate.

[0037] The weights and biases of the neural network that constitutes the reward generator 304 are determined by the empirical data (s t ,a t ,r t ,s t+1 ) training data. t ,a t ,rt ,s t+1 The teacher data of the reward r ) is collected, for example, by operating the robot system 1 shown in FIG. 1. Specifically, the reward generation unit 304 calculates the reward r t and the reward for the training data, r t and the weights and biases of the neural network are calculated using, for example, backpropagation so as to minimize the squared error.

[0038] Returning to FIG. 3, the next state generation unit 305 selects the state s t and the action a determined by the determination unit 302 t and the simulated state s' of the robot 110 after one time generated by the simulation unit 303. t+1 Based on this, the next state (next state) s t+1 Generate state s t+1 The method for calculating the parameter is, for example, a statistical method such as a neural network.

[0039] FIG. 6 is a diagram for explaining the operation of the next state generation unit 305 according to the embodiment. t+1 The next state generation unit 305 generates the state s t , simulated state s' t+1 , and Action a t Based on this, the state s t+1 In the example in Figure 6, state s t is expressed using an image observed by the observation device 120. t+1 is represented by an image rendered by the simulator 303. t is the action a determined by the determination unit 302. t It is.

[0040] In addition, state s t , state s t+1 , simulated state s' t , and the simulated state s' t+1 The representation of state s is not limited to image format. t, state s t+1 , simulated state s' t , and the simulated state s' t+1 may include image and / or depth information.

[0041] FIG. 7 is a diagram for explaining an example of the generation process of the next state according to the embodiment. The example in FIG. 7 shows a case where the next state generation unit 305 is configured with a neural network. Here, the state s t Let us take the example of a state s t After the convolution process is performed by the Convolution Layer, it is processed by the Fully Connected Layer to obtain D s The characteristics of the dimension are obtained. Also, the behavior a t By processing it with the fully connected layer, D a These D s Characteristics of dimensions and D a The features of the x-dimension are connected and processed by the fully connected layer, and then deconvolution processing is performed in the deconvolution layer to obtain the next state s t+1 is generated.

[0042] In addition, the next state s t+1 To generate the simulated state s' t+1 In that case, the simulated state s' t+1 To state t The same treatment was applied as for D s’ We obtain the dimension characteristics, and then D s’ The characteristics of the dimension are s Characteristics of dimensions and D a The feature of the dimension is further connected and processed by the fully connected layer, and then the deconvolution process is performed in the deconvolution layer to obtain the next state s t+1 is generated. After each process in the convolutional layer, fully connected layer, and deconvolutional layer, a conversion process using an activation function such as a normalized linear function or a sigmoid function may be added.

[0043] The weights and biases of the neural network that constitutes the next state generation unit 305 are determined by the empirical data (s t ,a t ,r t ,s t+1 ) training data. t ,a t ,r t ,s t+1 The teacher data of the robot system 1 shown in FIG. 1 is collected by operating the robot system 1 shown in FIG. 1. Specifically, the next state generation unit 305 generates the next state s t+1 and the next state s of the training data t+1 and the weights and biases of the neural network are calculated using, for example, backpropagation so as to minimize the squared error.

[0044] 8A and 8B show the next state s t+1 8A is a diagram for explaining an example of a generation process of the state s of the robot 110 at the next time point according to the control device 100 of the embodiment, as shown in FIG. t+1 Regarding the simulated state s' generated by the simulation unit 303 (for example, a robot simulator), t+1 Therefore, the next state generation unit 305 generates information f(s) on the state of the picking target object such as the item 10 at the next time (for example, the position, size, shape, and posture of the item 10). t ,a t ,s' t+1 ) needs to be generated as the correction information (in reality, there may be an error between the robot 110 and the robot simulator, so this error is also generated as the correction information).

[0045] That is, in the control device 100 of the embodiment, the next state generating unit 305 generates the simulated state s' at the next time. t+1 and generating correction information for correcting the simulated state s' at the next time point. t+1 Then, the next state s t+1This reduces the error related to the robot 110, and therefore reduces the modeling error. t+1 , and the state of the object to be picked at the next time. t+1 is the state s t and Action a t Since the model was generated based only on the model, it was difficult to reduce modeling errors.

[0046] In addition, in the learning of the picking operation of the embodiment, since the rough layout of the robot 110 and the target object (e.g., the article 10) is known, for example, when the observation device 120 is configured with a camera, it is possible to detect the area of ​​the target object (e.g., the article 10) from the acquired image using a pattern recognition technique or the like. That is, the next state generation unit 305 detects the area i including the target object from at least one of the image and the depth information. t Then, based on the region including the object, the next state s t+1 For example, the next state generating unit 305 may generate information i indicating the region of the object (e.g., the article 10) by cutting out the region of the object from the image in advance. t Next state s t+1 By generating the above, it is possible to further reduce the modeling error.

[0047] Returning to FIG. 3, the next state acquisition unit 306 acquires the next state s t+1 The next state s t+1 The state s to be used for the next processing (processing at the next time) t Let the state s t The state is input to the selection unit 301 .

[0048] In the above description, the reward generation unit 304 and the next state generation unit 305 each generate the reward r t and the next state s t+1However, if both are configured with neural networks, a part of the neural network may be shared and used as in the example of FIG.

[0049] FIG. 9 shows the reward r t Generation process of and next state s t+1 9 is a diagram for explaining an example in which the generation process of the neural network 100 and the generation process of the neural network 102 are realized by sharing a part of the neural network. By sharing a part of the neural network as in the example of FIG. 9, it is expected that the learning efficiency of the neural network 100 can be improved.

[0050] [Example of data generation method] 10 is a flowchart showing an example of a data generation method according to the embodiment. 0 (initial state), or state s t (The next state s generated by the previous process of the next state generating unit 305 t+1 ) is acquired (step S1). Next, the selection unit 301 acquires the state s 0 or state s t The current time state s t (Step S2).

[0051] Next, the determination unit 302 determines the state s t Act based on a t Next, the reward generation unit 304 determines the state s t and Action a t Rewards based on t Next, the simulation unit 303 generates the state s t The simulated state s' at the current time is set based on t and Action a t and the simulated state s' at the next time t+1 Next, the next state generating unit 305 generates the state s t and Action a t and the simulated state s' at the next time t+1 Then, the next state st+1 is generated (step S6).

[0052] The experience data is accumulated in the storage unit 202 by the processing of steps S1 to S6 or by repeating the processing. [Example of control method] FIG. 11 is a flow chart showing an example of a control method according to the embodiment. Steps S1 to S6 are the same as those in the data generation method, and therefore their explanations are omitted. t+1 After generating, the inference unit 203 then determines a control signal for controlling a control target (the robot 110 in this embodiment) based on a policy π obtained by reinforcement learning from experience data including a state st at the current time, an action at, a reward rt, and a state st+1 at the next time. The update unit 204 updates the policy π by using the experience data stored in the storage unit 202. The experience data is accumulated in the storage unit 202 by the processing of steps S1 to S6 or repetition thereof.

[0053] The update unit 204 updates the policy π using the experience data stored in the memory unit 202. The inference unit 203 updates the state s t and Action a t and reward r t and the next state s t+1 Based on the policy π obtained by reinforcement learning from experience data including the above, a control signal for controlling a controlled object (the robot 110 in this embodiment) is determined (step S7).

[0054] As described above, according to the control device 100 of the embodiment, it is possible to reduce modeling errors when modeling an environment in which the operation of a controlled object is learned.

[0055] In conventional technology, there is a problem that modeling errors occur when modeling an environment in which a robot learns its movements. In general, modeling errors occur because it is difficult to completely model and reproduce a robot's movements. If a robot's movements are learned using empirical data generated using a modeled environment, this modeling error may cause a possibility that the desired movements cannot be realized on an actual robot.

[0056] On the other hand, according to the control device 100 of the embodiment, in the model-based reinforcement learning, the empirical data (s t ,a t ,r t ,s t+1 Specifically, the next state s t+1 When generating the simulated state s' generated by the simulation unit 303, t+1 By using this, it is possible to reduce errors in information that can be simulated by the simulation unit 303. As a result, it is possible to reduce errors in the generated learning data, and therefore it is possible to realize a desired operation on the actual robot 110 with higher accuracy than before.

[0057] [Example of hardware configuration] 12 is a diagram illustrating an example of a hardware configuration of the control device 100 of the embodiment. The control device 100 of the embodiment includes a processor 401, a main storage device 402, an auxiliary storage device 403, a display device 404, an input device 405, and a communication device 406. The processor 401, the main storage device 402, the auxiliary storage device 403, the display device 404, the input device 405, and the communication device 406 are connected via a bus 410.

[0058] The processor 401 executes a program read from the auxiliary storage device 403 to the main storage device 402. The main storage device 402 is a memory such as a ROM (Read Only Memory) and a RAM (Random Access Memory). The auxiliary storage device 403 is a HDD, a memory card, or the like.

[0059] The display device 404 displays display information. The display device 404 is, for example, a liquid crystal display. The input device 405 is an interface for operating the control device 100. The input device 405 is, for example, a keyboard or a mouse. The communication device 406 is an interface for communicating with other devices. Note that the control device 100 does not necessarily have to include the display device 404 and the input device 405. When the control device 100 does not have the display device 404 and the input device 405, settings of the control device 100 are performed from other devices via, for example, the communication device 406.

[0060] The program executed by the control device 100 of the embodiment is provided as a computer program product, recorded in an installable or executable format on a computer-readable storage medium such as a CD-ROM, memory card, CD-R, or DVD (Digital Versatile Disc).

[0061] The program executed by the control device 100 of the embodiment may be stored on a computer connected to a network such as the Internet and provided by being downloaded via the network. The program executed by the control device 100 of the embodiment may be provided via a network such as the Internet without being downloaded.

[0062] The program for the control device 100 of the embodiment may be provided by being pre-installed in a ROM or the like.

[0063] The program executed by the control device 100 of the embodiment has a modular configuration including functional blocks that can be realized by the program among the above-mentioned functional blocks. As for each functional block, as actual hardware, the processor 401 reads the program from a storage medium and executes it, so that each of the functional blocks is loaded onto the main storage device 402. In other words, each of the functional blocks is generated on the main storage device 402.

[0064] Note that some or all of the above-described functional blocks may be realized by hardware such as an integrated circuit (IC) instead of by software.

[0065] Furthermore, each function may be realized using a plurality of processors 401. In this case, each processor 401 may realize one of the functions, or may realize two or more of the functions.

[0066] The control device 100 of the embodiment may operate in any manner, and may be configured to operate, for example, as a cloud system on a network, as part of the functions of the control device 100 of the embodiment.

[0067] Although some embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and spirit of the invention, and are included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]

[0068] 1. Robot System 10 Goods 100 Control device 110 Robot 111 Actuator 112 Articulated Arm 113 End Effector 120 Observation Equipment 200 Acquisition Department 201 Generation part 202 Storage section 203 Reasoning section 204 Update Department 205 Robot Control Unit 300 Initial state acquisition unit 301 Selection section 302 Decision Section 303 Simulation Department 304 Reward Generation Department 305 Next state generation unit 306 Next state acquisition unit 401 Processor 402 Main storage 403 Auxiliary storage 404 Display device 405 Input Device 406 Communication Equipment

Claims

1. A decision unit that decides an action of the robot based on a state of the robot at a current time obtained from observation information observed by an observation device; a reward generation unit that generates a reward based on the state at the current time and the action; a simulation unit that generates a simulated state at a current time based on the state at the current time and a simulated state at a next time based on the action; a next state generation unit that receives the state at the current time, the action, and the simulated state at the next time as inputs, and generates the state at the next time using a neural network that outputs the state at the next time, the neural network generates correction information for correcting the simulated state at the next time, and outputs the state at the next time based on the correction information and the simulated state at the next time. Data generation device.

2. The reward generation unit generates the reward further based on the simulated state at the next time. The data generating device according to claim 1 .

3. the state at the current time, the state at the next time, the simulated state at the current time, and the simulated state at the next time each include at least one of an image and depth information; 3. The data generating device according to claim 1 or 2.

4. The simulation unit generates the simulated state at the next time point using a robot simulator or the robot. The data generating device according to claim 3.

5. the next state generation unit extracts an area including the picking target from at least one of the image and the depth information, and generates the state at the next time point based on the area including the picking target.

5. The data generating device according to claim 4.

6. An initial state acquisition unit that acquires an initial state, which is a state at a start time of the operation of the robot obtained from the observation information; a next state acquisition unit that acquires the previous state at the next time generated by the previous process of the next state generation unit; a selection unit that selects a state at the current time from either the initial state or the state at the next time of the previous time; The data generating device according to claim 1 , further comprising:

7. A data generating device according to any one of claims 1 to 6, an inference unit that determines a control signal for controlling a control target based on a policy obtained by reinforcement learning from experience data including the state at the current time, the action, the reward, and the state at the next time; A control device comprising:

8. A determination unit determines an action of the robot based on a state of the robot at a current time obtained from observation information observed by an observation device; A reward generation unit generates a reward based on the state at the current time and the action; a simulation unit generating a simulated state for a next time from a simulated state for a current time set based on a state for the current time and the action; a next state generating unit generating the state at the next time using a neural network that receives the state at the current time, the action, and the simulated state at the next time as inputs and outputs the state at the next time; the neural network generates correction information for correcting the simulated state at the next time, and outputs the state at the next time based on the correction information and the simulated state at the next time. Data generation method.

9. The step of generating the reward further generates the reward based on the simulated state at the next time. The data generating method according to claim 8.

10. the state at the current time, the state at the next time, the simulated state at the current time, and the simulated state at the next time each include at least one of an image and depth information; The data generating method according to claim 8 or 9.

11. The step of generating the state at the next time includes extracting an area including a picking target from at least one of the image and the depth information, and generating the state at the next time based on the area including the picking target. The data generating method according to claim 10.

12. A step of acquiring an initial state, which is a state at a start time of the operation of the robot obtained from the observation information; acquiring the previous state at the next time point generated by the previous step of generating the state at the next time point; selecting a state at the current time from either the initial state or the state at the next time of the previous time; The method of any one of claims 8 to 11, further comprising:

13. The steps of a data generation method according to any one of claims 8 to 12, A step in which an inference unit determines a control signal for controlling a control target based on a policy obtained by reinforcement learning from experience data including the state at the current time, the action, the reward, and the state at the next time; A control method comprising:

14. Computer, A decision unit that decides an action of the robot based on a state of the robot at a current time obtained from observation information observed by an observation device; a reward generation unit that generates a reward based on the state at the current time and the action; a simulation unit that generates a simulated state at a next time from a simulated state at a current time that is set based on a state at the current time and the behavior; a next state generating unit that receives the state at the current time, the action, and the simulated state at the next time as inputs, and generates the state at the next time using a neural network that outputs the state at the next time; the neural network generates correction information for correcting the simulated state at the next time, and outputs the state at the next time based on the correction information and the simulated state at the next time. program.

15. The reward generation unit generates the reward further based on the simulated state at the next time. The program according to claim 14.

16. the state at the current time, the state at the next time, the simulated state at the current time, and the simulated state at the next time each include at least one of an image and depth information; 16. The program according to claim 14 or 15.

17. The simulation unit generates the simulated state at the next time point using a robot simulator or the robot. The program according to claim 16.

18. the next state generation unit extracts an area including the picking target from at least one of the image and the depth information, and generates the state at the next time point based on the area including the picking target.

18. The program according to claim 17.

19. The computer, an initial state acquisition unit that acquires an initial state of the robot, which is a state at a start time of the robot's motion obtained from the observation information; a next state acquisition unit that acquires the previous state at the next time generated by the previous process of the next state generation unit; a selection unit that selects a state at the current time from either the initial state or the state at the next time of the previous time; 19. The program according to claim 14, further comprising:

20. The computer, an inference unit that determines a control signal for controlling a control target based on a policy obtained by reinforcement learning from experience data including the state at the current time, the action, the reward, and the state at the next time; 20. The program according to claim 14, further comprising:

Citation Information

Patent Citations

  • Assembly robot

    JP1997319420A

  • Machine learning device for performing learning by use of simulation result, mechanical system, manufacturing system and machine learning method

    JP2017185577A

  • Behavior determination device, future prediction model learning device, network learning device, method, and program

    JP2017211913A

  • Robot operation planning device, robot system and method

    JP2020082293A

  • Machine learning device, machine learning system, data processing system and machine learning method

    JP2020082322A