Learning device, learning method, learning program, control device, control method, and control program

The learning device aggregates state transition models to facilitate rapid acquisition of control laws for robots, addressing inefficiencies in existing methods by enabling quick adaptation to new tasks and environments.

JP7547871B2Active Publication Date: 2024-09-10OMRON CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2020146401
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-08-31
Publication Date
2024-09-10
Estimated Expiration
2040-08-31

AI Technical Summary

Technical Problem

Existing methods for robot control learning are inefficient and difficult to apply to new tasks, especially those involving contact, due to long training times and task-specific designs.

Method used

A learning device that aggregates multiple state transition models using transfer learning to create an aggregated state transition model, which predicts the next state of a controlled object and generates commands to maximize rewards, reducing errors and enabling faster learning.

Benefits of technology

Enables robots to autonomously acquire control laws for tasks in a short time by leveraging existing models, facilitating quick adaptation to new environments and tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000018_0000
    Figure 00000018_0000
  • Figure 00000018_0001
    Figure 00000018_0001
  • Figure 00000018_0002
    Figure 00000018_0002
Patent Text Reader

Abstract

To learn in a short time when a robot autonomously acquires a control law for achieving a work.SOLUTION: A learning device 40 comprises: a state transition model 32 which predicts a next state of a robot 10 on the basis of a measured state of the robot 10 and a command for the robot 10; a creation part 42 which creates an aggregation state transition model 20 including an aggregation section 34 for aggregating prediction results; a command generating part 44 which executes, for each control cycle, respective processes of inputting the measures state of the robot 10, generating a candidate of commands for the robot 10, acquiring a predicted state of the robot 10 from the state of the robot 10 and the candidate of commands for the robot 10 by use of the aggregation state transition model 20, and generating and outputting a command for maximizing remuneration corresponding to the acquired state; and a learning part 43 which updates the aggregation state transition model 20 so that a difference between the next state of the robot 10 that is predicted corresponding to the outputted command and the measured state of the robot 10 corresponding to the next state becomes small.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a learning device, a learning method, a learning program, a control device, a control method, and a control program. [Background technology]

[0002] In a control device for controlling a robot, if the robot can autonomously acquire control rules for accomplishing a task, it will be possible to eliminate the need for humans to create action plans and control devices.

[0003] If a control law is acquired using conventional motor learning techniques, the robot must be retrained from scratch in order to be used for other similar tasks.

[0004] To address this problem, one possible approach is to use transfer learning, which adapts a previously trained model to a different domain.

[0005] However, it is not very realistic to directly apply general transfer learning to an actual robot, because even with transfer learning, the learning time is long, and it is difficult to transfer the learning results for tasks that involve contact, such as assembly work by a robot.

[0006] Non-Patent Document 1 discloses a technique for directly learning a control law by reusing a network that expresses the control law through connection.

[0007] In addition, Non-Patent Document 2 discloses a technique for correcting an object model and a throwing speed by learning on an actual machine. Note that the technique described in Non-Patent Document 2 does not allow the transfer of a learned model between objects.

[0008] Non-Patent Document 3 discloses a technique for learning model errors using a neural network. Note that the technique described in Non-Patent Document 3 does not take into account major changes in the task, such as the robot's position, angle, and object size. [Prior art documents] [Non-patent literature]

[0009] [Non-Patent Document 1] "MULTIPOLAR: Multi-Source Policy Aggregation for Transfer Reinforcement Learning between Diverse Environmental Dynamics", 28 Sep 2019, Mohammadamin Barekatain, Ryo Yonetani, Masashi Hamaya,<URL:https: / / arxiv.org / abs / 1909.13111> [Non-Patent Document 2] "TossingBot: Learning to Throw Arbitrary Objects with Residual Physics", 27 Mar 2019, Andy Zeng, Shuran Song, Johnny Lee, Alberto Rodriguez, Thomas Funkhouser,<URL: https: / / arxiv.org / abs / 1903.11239> [Non-Patent Document 3] "Residual Reinforcement Learning for Robot Control", 7 Dec 2018, Tobias Johannink, Shikhar Bahl, Ashvin Nair, Jianlan Luo, Avinash Kumar, Matthias Loskyll, Juan Aparicio Ojea, Eugen Solowjow, Sergey Levine<URL:https: / / arxiv.org / abs / 1812.03201> Summary of the Invention [Problem to be solved by the invention]

[0010] The technique disclosed in Non-Patent Document 1 has a problem in that model-free reinforcement learning requires long training times, making it difficult to apply to an actual machine.

[0011] Furthermore, in the technology disclosed in Non-Patent Document 2, the control device and plan are designed exclusively for a specific task, and therefore there is a problem in that it is difficult to adapt them to new tasks.

[0012] Furthermore, the technology disclosed in Non-Patent Document 3 has a problem in that it is difficult to apply the technology to new tasks because the modeling error of a specific task is corrected.

[0013] The present invention has been made in consideration of the above points, and aims to provide a learning device, a learning method, a learning program, a control device, a control method, and a control program that enable a robot to learn in a short period of time when autonomously acquiring control laws for completing a task. [Means for solving the problem]

[0014] A first aspect of the disclosure is a learning device comprising: a creation unit that creates an aggregate state transition model including a plurality of state transition models that predict a next state of a control object based on a measured state of the control object and a command for the control object, and an aggregation unit that aggregates prediction results from the plurality of state transition models; a command generation unit that executes each of the following processes for each control period: inputting the measured state of the control object, generating a plurality of candidates for commands or command sequences for the control object, obtaining a plurality of states or state sequences of the control object predicted using the aggregate state transition model from the state of the control object and the plurality of candidates for commands or command sequences for the control object, calculating a reward corresponding to each of the plurality of states or state sequences of the control object, and generating and outputting a command that maximizes the reward based on the calculated reward; and a learning unit that updates the aggregate state transition model so that an error between a next state of the control object predicted in response to the command to be output and a measured state of the control object corresponding to the next state is reduced.

[0015] In the first aspect, the command generation unit may generate a candidate for a command or command sequence for the control object for each control period, calculate a reward based on the generated candidate, and update the candidate for the command or command sequence one or more times to increase the reward, thereby generating the candidate for the command or command sequence.

[0016] In the first aspect, the command generating unit may generate a plurality of candidates for a command or command sequence for the control object for each control period, and then obtain a state or state sequence of the control object predicted from each of the plurality of candidates.

[0017] In the first aspect, the aggregated state transition model may be configured such that the aggregate unit aggregates outputs of the plurality of state transition models in accordance with an aggregation weight for each of the outputs.

[0018] In the first aspect, the learning unit may update the aggregation weights.

[0019] In the first aspect, the aggregate state transition model may include an error compensation model in parallel with the plurality of state transition models, and the learning unit may update the error compensation model.

[0020] A second aspect of the disclosure is a learning method, in which a computer creates an aggregate state transition model including a plurality of state transition models predicting a next state of a controlled object based on a measured state of the controlled object and an instruction for the controlled object, and an aggregation unit aggregating prediction results by the plurality of state transition models, inputs the measured state of the controlled object, generates a plurality of candidates for an instruction or instruction sequence for the controlled object, obtains a plurality of states or state sequences of the controlled object predicted using the aggregate state transition model from the state of the controlled object and the plurality of candidates for the instruction or instruction sequence for the controlled object, calculates a reward corresponding to each of the plurality of states or state sequences of the controlled object, generates and outputs an instruction that maximizes the reward based on the calculated reward, and executes a process of updating the aggregate state transition model so that an error between a next state of the controlled object predicted corresponding to the instruction to be output and a measured state of the controlled object corresponding to the next state is reduced.

[0021] A third aspect of the disclosure is a learning program that causes a computer to execute the following processes for each control period: creating an aggregate state transition model including a plurality of state transition models that predict a next state of a controlled object based on the measured state of the controlled object and an instruction for the controlled object, and an aggregation unit that aggregates prediction results by the plurality of state transition models; inputting the measured state of the controlled object; generating a plurality of candidates for an instruction or instruction sequence for the controlled object; acquiring a plurality of states or state sequences of the controlled object predicted using the aggregate state transition model from the state of the controlled object and the plurality of candidates for the instruction or instruction sequence for the controlled object; calculating a reward corresponding to each of the plurality of states or state sequences of the controlled object; generating and outputting an instruction that maximizes the reward based on the calculated reward; and executing a process of updating the aggregate state transition model so that an error between a next state of the controlled object predicted in response to the instruction to be output and a measured state of the controlled object corresponding to the next state is reduced.

[0022] A fourth aspect of the disclosure is a control device comprising: a memory unit that stores an aggregate state transition model learned by the learning device of the first aspect; and a command generation unit that executes each of the following processes for each control cycle: input a measured state of the control object, generate a plurality of candidates for commands or command sequences for the control object, obtain a plurality of states or state sequences of the control object predicted using the aggregate state transition model from the state of the control object and the plurality of candidates for commands or command sequences for the control object, calculate a reward corresponding to each of the plurality of states or state sequences of the control object, and generate and output a command that maximizes the reward based on the calculated reward.

[0023] A fifth aspect of the disclosure is a control method, in which a computer executes processes for each control period, such as acquiring an aggregate state transition model from a memory unit that stores the aggregate state transition model learned by the learning device of the first aspect, inputting a measured state of the control object, generating a plurality of candidates for commands or command sequences for the control object, acquiring a plurality of states or state sequences of the control object predicted using the aggregate state transition model from the state of the control object and the plurality of candidates for commands or command sequences for the control object, calculating a reward corresponding to each of the plurality of states or state sequences of the control object, and generating and outputting a command that maximizes the reward based on the calculated reward.

[0024] A sixth aspect of the disclosure is a control program that causes a computer to execute processes for each control period: acquire an aggregate state transition model from a memory unit that stores the aggregate state transition model learned by the learning device of the first aspect; input a measured state of the control object; generate multiple candidates for commands or command sequences for the control object; acquire multiple states or state sequences of the control object predicted using the aggregate state transition model from the state of the control object and the multiple candidates for commands or command sequences for the control object; calculate a reward corresponding to each of the multiple states or state sequences of the control object; and generate and output a command that maximizes the reward based on the calculated reward. Effect of the Invention

[0025] According to the present invention, when a robot autonomously acquires a control law for accomplishing a task, the robot can learn the control law in a short period of time. [Brief description of the drawings]

[0026] [Figure 1] FIG. 1 is a configuration diagram of a robot system in a learning phase. [Diagram 2] 1A is a diagram showing a schematic configuration of a robot 10, and FIG. 1B is an enlarged view of the tip end side of the robot's arm. [Diagram 3] FIG. 2 is a block diagram showing a hardware configuration of the learning device. [Figure 4] FIG. 1 is a configuration diagram of an aggregate state transition model. [Diagram 5] FIG. 1 is a diagram showing a group of known models. [Figure 6] FIG. 13 is a diagram for explaining operation primitives (MP) constituting a peg fitting operation. [Figure 7] 13 is a flowchart of a learning process. [Figure 8] 13 is a flowchart showing another example of the learning process. [Figure 9] FIG. 1 is a configuration diagram of a robot system in an operation phase. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0027] Hereinafter, an example of an embodiment of the present invention will be described with reference to the drawings. In each drawing, the same or equivalent components and parts are given the same reference numerals. In addition, the dimensional ratios of the drawings may be exaggerated for the convenience of explanation and may differ from the actual ratios.

[0028] 1 shows a configuration of a robot system in the learning phase. In the learning phase, the robot system 1 includes a robot 10, a state observation sensor 30, and a learning device 40.

[0029] (robot)

[0030] 2(A) and 2(B) are diagrams showing a schematic configuration of a robot 10 as an example of a control target. The robot 10 in this embodiment is a six-axis vertical articulated robot, and a gripper (hand) 12 is provided at the tip 11a of an arm 11 via a flexible part 13. The robot 10 performs a fitting operation in which the gripper 12 grips a part (e.g., a peg) and fits it into a hole.

[0031] As shown in FIG. 2(A), the robot 10 has an arm 11 with six degrees of freedom equipped with joints J1 to J6. Each of the joints J1 to J6 connects links to each other so that they can rotate in the directions of the arrows C1 to C6 by a motor (not shown). Although a vertical articulated robot is given as an example here, a horizontal articulated robot (SCARA robot) may also be used. Furthermore, although a six-axis robot is given as an example, a five-axis or seven-axis articulated robot or other articulated robot with other degrees of freedom may also be used, or a parallel link robot may also be used.

[0032] The gripper 12 has a pair of clamping parts 12a, and clamps a part by controlling the clamping parts 12a. The gripper 12 is connected to the tip 11a of the arm 11 via the flexible part 13, and moves with the movement of the arm 11. In this embodiment, the flexible part 13 is composed of three springs 13a to 13c arranged in a positional relationship such that the bases of the springs are the vertices of an equilateral triangle, but the number of springs may be any number. The flexible part 13 may be any other mechanism as long as it generates a restoring force against a change in position and obtains flexibility. For example, the flexible part 13 may be an elastic body such as a spring or rubber, a damper, a pneumatic or hydraulic cylinder, or the like. It is preferable that the flexible part 13 is composed of a passive element. The flexible part 13 allows the tip 11a of the arm 11 and the gripper 12 to be relatively movable by 5 mm or more, preferably 1 cm or more, and more preferably 2 cm or more in the horizontal and vertical directions.

[0033] A mechanism may be provided that allows the gripper 12 to be switched between a flexible state and a fixed state relative to the arm 11.

[0034] In addition, although the configuration in which the flexible part 13 is provided between the tip 11a of the arm 11 and the gripper 12 has been exemplified here, the flexible part 13 may be provided in the middle of the gripper 12 (for example, at the location of the finger joint or in the middle of the columnar part of the finger) or in the middle of the arm (for example, at any of the joints J1 to J6 or in the middle of the columnar part of the arm). The flexible part 13 may be provided in a plurality of these locations.

[0035] The robot system 1 uses machine learning (e.g., model-based reinforcement learning) to obtain a model for controlling the robot 10 having the flexible part 13 as described above. Because the robot 10 has the flexible part 13, it is safe to bring the gripped part into contact with the environment, and even if the control cycle is slow, fitting work and the like can be realized. On the other hand, since the flexible part 13 makes the positions of the gripper 12 and the part uncertain, it is difficult to obtain an analytical control model. Therefore, in this embodiment, a control model is obtained using machine learning.

[0036] If the machine learning of the control model is simply performed, a very large amount of data must be collected, and learning takes a long time. Therefore, in the robot system 1, the aggregated state transition model 20 that aggregates multiple state transition models that have already been learned is learned, as will be described in detail later. In other words, the aggregated state transition model 20 that aggregates multiple state transition models that have already been learned is used as the source state transition model, and is created by transfer learning. This allows learning to be completed in a short time compared to learning a state transition model from scratch.

[0037] (Status Observation Sensor)

[0038] The state observation sensor 30 observes the state of the robot 10 and outputs the observed data as state observation data. For example, an encoder for the joints of the robot 10, a visual sensor (camera), motion capture, a force-related sensor, etc. are used as the state observation sensor 30. The position and posture of the tip 11a of the arm 11 can be identified from the angle of each joint as the state of the robot 10, and the posture of the part (work object) can be estimated from the visual sensor and / or the force-related sensor. When a marker for motion capture is attached to the gripper 12, the position and posture of the gripper 12 can be identified as the state of the robot 10, and the posture of the part (work object) can be estimated from the position and posture of the gripper 12.

[0039] The force-related sensor is a general term for a force sensor and a torque sensor, and also includes a tactile sensor when the sensor is provided at a portion that comes into contact with a part. The force-related sensor may be provided on the surface of the part where the gripper 12 grips the part or on a joint part in the gripper 12 so as to detect the force that the gripper of the robot 10 receives from the part. When the part between the gripper 12 and the arm 11 is flexible, the force-related sensor may be provided between the gripper 12 and the arm 11 to detect the force acting between the gripper 12 and the arm 11. The force-related sensor is, for example, a sensor that detects a one-element or multi-element, one-axis, three-axis, or six-axis force as the state of the robot 10. By using the force-related sensor, it is possible to grasp more accurately how the gripper 12 grips the part, i.e., the attitude of the part, and to perform appropriate control.

[0040] Also, a visual sensor can detect the position and posture of the gripper 12 itself and the part gripped by the gripper 12 as the state of the robot 10. If the portion between the gripper 12 and the arm 11 is flexible, the position and posture of the gripper 12 relative to the arm 11 can also be identified as the state of the robot 10 by a displacement sensor that detects the displacement of the gripper 12 relative to the arm 11.

[0041] In this way, various sensors can detect the status of at least one of the flexible part 13, the part of the robot 10 that is gripping the object relative to the flexible part 13, and the gripped part, and the detection results of the various sensors can be obtained as status observation data.

[0042] (Learning device)

[0043] The learning device 40 acquires an aggregate state transition model 20 of the robot 10 using machine learning.

[0044] The aggregate state transition model 20 acquired by the learning device 40 is installed in a control device that controls the robot 10 and used for actual work. This control device may have a learning function, in which case additional learning may be performed.

[0045] According to this application example, since the robot 10 has the flexible part 13, it is easy to operate while bringing the gripper 12 or the object into contact with the environment without performing complex force control. In addition, since it is possible to bring the gripper or the object into contact with the environment without much deceleration, high-speed work is possible. In addition, since a learning model is acquired by machine learning, the system can be easily constructed.

[0046] Fig. 3 is a block diagram showing the hardware configuration of the learning device according to this embodiment. As shown in Fig. 3, the learning device 40 has the same configuration as a general computer (information processing device), and includes a CPU (Central Processing Unit) 40A, a ROM (Read Only Memory) 40B, a RAM (Random Access Memory) 40C, a storage 40D, a keyboard 40E, a mouse 40F, a monitor 40G, and a communication interface 40H. Each component is connected to each other so as to be able to communicate with each other via a bus 40I.

[0047] In this embodiment, the ROM 40B or the storage 40D stores a learning program for executing the learning process of the learning model. The CPU 40A is a central processing unit, and executes various programs and controls each configuration. That is, the CPU 40A reads a program from the ROM 40B or the storage 40D, and executes the program using the RAM 40C as a working area. The CPU 40A controls each of the above configurations and performs various arithmetic processing according to the program recorded in the ROM 40B or the storage 40D. The ROM 42 stores various programs and various data. The RAM 40C temporarily stores programs or data as a working area. The storage 40D is composed of a HDD (Hard Disk Drive), an SSD (Solid State Drive), or a flash memory, and stores various programs including an operating system and various data. The keyboard 40E and the mouse 40F are examples of input devices, and are used to perform various inputs. The monitor 40G is, for example, a liquid crystal display, and displays a user interface. The monitor 40G may adopt a touch panel system and function as an input unit. The communication interface 40H is an interface for communicating with other devices, and uses standards such as Ethernet (registered trademark), FDDI, or Wi-Fi (registered trademark).

[0048] Next, the functional configuration of the learning device 40 will be described.

[0049] 1, the learning device 40 has, as its functional components, a creation unit 42, a learning unit 43, and a command generation unit 44. Each functional component is realized by the CPU 40A reading out a learning program stored in the ROM 40B or storage 40D, expanding it in the RAM 40C, and executing it. Note that some or all of the functions may be realized by a dedicated hardware device.

[0050] The creation unit 42 creates the aggregated state transition model 20. As shown in Fig. 4, the aggregated state transition model 20 includes a plurality of state transition models 32 that predict and output a next state of the robot 10 based on a measured state of the robot 10 to be controlled and a command to the robot 10, an aggregator 34 that aggregates prediction results from the plurality of state transition models 32, and an error compensation model 36.

[0051] The plurality of state transition models 32 are already trained state transition models, and are selected by the creation unit 42 from among the plurality of trained state transition models 32 included in the known model group 31 shown in FIG. 5. In this embodiment, a case will be described in which the aggregated state transition model 20 includes three state transition models 32A to 32C selected by the creation unit 42, but the number of state transition models is not limited to this, and it is sufficient that the aggregated state transition model 20 includes two or more state transition models. The creation unit 42 creates the aggregated state transition model 20 by combining the state transition models 32A to 32C selected from the known model group 31, the aggregation unit 34, and the error compensation model 36. The known model group 31 may be stored in the learning device 40 or may be stored in an external server.

[0052] The learning unit 43 updates the aggregate state transition model 20 so as to reduce the error between the next state of the robot 10 predicted in response to the command output from the command generation unit 44 and the measured state of the robot 10 corresponding to the next state, i.e., the state observed by the state observation sensor 30.

[0053] The command generation unit 44 includes an optimal behavior calculation unit 45. The optimal behavior calculation unit 45 calculates an optimal behavior according to the state of the robot 10, and outputs a command corresponding to the calculated behavior to the robot 10. A model predictive control technique can be used to calculate the optimal behavior. Model predictive control is a technique that uses a model of the controlled object, finds an optimal command value that maximizes the reward based on a prediction of the future state for each control period, and performs control using the command value. In this embodiment, an aggregate state transition model 20 is used as a model of the controlled object.

[0054] Specifically, the optimal behavior calculation unit 45 acquires data representing the state x(t) of the robot 10 from the state observation sensor 30 for each control cycle. Here, the acquired data is referred to as state observation data. The state observation data includes, for example, data capable of identifying the position and posture of the gripper 12 or the part gripped by the gripper 12. The optimal behavior calculation unit 45 acquires the state observation data from the state observation sensor 30 including, for example, a joint encoder, a visual sensor (camera), a motion capture, a force-related sensor (force sensor, torque sensor, tactile sensor), a displacement sensor, etc.

[0055] In addition, the optimal behavior calculation unit 45 judges whether or not the action of the robot 10 satisfies a predetermined success condition. As described later, in this embodiment, for example, one task (skill), such as fitting a peg, is divided into a plurality of primitive operations (MPs) and learned. The optimal behavior calculation unit 45 judges whether or not the success condition set for each MP is satisfied. Examples of the success condition include, for example, the peg is located near the hole (non-contact), the peg contacts the surface near the hole, the tip of the peg is caught in the hole, the peg is caught in the hole and parallel to the hole, the peg is completely fitted in the hole, and the like. The optimal behavior calculation unit 45 may make a judgment based on state observation data, or may make a judgment based on data other than state observation data.

[0056] The optimal action calculation unit 45 also generates multiple candidates for commands for the robot 10, which is the object of control, obtains multiple next states x(t+1) of the robot 10 predicted from the state x(t) of the robot 10 and the multiple candidates for commands for the robot 10 using an aggregated state transition model, calculates rewards corresponding to each of the multiple next states x(t+1) of the robot 10, and generates and outputs commands that maximize the rewards based on the results. The command may also be expressed as an action u(t). The reward is, for example, a reward that increases as the distance between the state (target state) of the gripper 12 (or the peg 54) in the completed state in the MP being executed and the current state of the gripper 12 (or the peg 54) becomes smaller. A target trajectory of the position and orientation of the gripper 12 (or the peg 54) in the MP being executed is set, and a reward that increases as the error between the target trajectory and the current position and orientation of the gripper 12 (or the peg 54) is smaller may be used.

[0057] The optimal behavior calculation unit 45 may generate multiple candidates for a command sequence over multiple time steps. In this case, the optimal behavior calculation unit 45 may calculate a corresponding reward for the state of the robot 10 predicted from the command candidates for the second and subsequent time steps of each command sequence, calculate a sum of the rewards for the commands of each time step for each command sequence candidate, and use the calculated sum as the reward corresponding to each command sequence candidate. Alternatively, the reward corresponding to the last command of each command sequence candidate may be used as the reward corresponding to each command sequence candidate. The optimal behavior calculation unit 45 may generate a command sequence so as to maximize the reward corresponding to the command sequence.

[0058] That is, the optimal behavior calculation unit 45 executes each process for each control period, which is to generate multiple candidates for commands or command sequences for the robot 10 that is the control object, obtain multiple states or state sequences of the control object predicted using the aggregate state transition model from the state of the control object and the multiple candidates for commands or command sequences for the control object, calculate rewards corresponding to each of the multiple states or state sequences of the control object, and generate and output commands that maximize the rewards based on the calculated rewards.

[0059] The optimal behavior calculation unit 45 may generate one candidate for a command or command sequence for the robot 10 to be controlled for each control period, calculate a reward based on the candidate, and update the candidate for the command or command sequence one or more times to increase the reward, thereby generating multiple candidates for the command or command sequence.

[0060] The optimal behavior calculation unit 45 may generate multiple candidates for commands or command sequences for the robot 10, which is the control target, for each control period, and then obtain the state or state sequence of the robot 10 predicted from each of the multiple candidates.

[0061] 1, in this embodiment, a configuration including the optimal action calculation unit 45 and the aggregate state transition model 20 is called a policy 46. The policy 46 means an entity (function, map, module, etc.) that receives an observed state and returns an action to be taken, and may also be called a measure or a controller.

[0062] The state transition model 32 is a model that takes a state x(t) and an action u(t) at that time as input, and outputs a next state x(t+1) after the action. The optimal action calculation unit 45 takes the state x(t) as input, and generates an action u(t) to be taken. The optimal action calculation unit 45 generates an action (command) u(t) to be taken so as to maximize the accumulated expected reward. The optimal action calculation unit 45 may learn a model for generating the action u(t) to be taken. The optimal action calculation unit 45 generates and transmits a command for the robot 10 based on the generated action u(t).

[0063] Here, a description will be given of state observation data that can be used in this embodiment. Examples of state observation data include tactile distribution (e.g., pressure distribution) data at the part of the gripper 12 that contacts the object, force measured by a force sensor provided on the clamping part 12a of the gripper 12, angle and angular velocity of each joint obtained from an encoder of the joint of the robot 10, torque applied to the joint of the robot 10, an image obtained by a visual sensor attached to the arm of the robot 10, force received by the flexible part 13 of the robot 10 measured by a force sensor, relative displacement between the parts that clamp the flexible part 13 measured by a displacement sensor provided on the flexible part 13, and the position and posture of the gripper 12 measured by motion capture.

[0064] The position, attitude (angle), speed, and angular velocity of the change in attitude of the tip 11a of the arm 11 can be obtained from data from the joint encoder. Note that if the position and attitude (angle) at each time can be obtained, the change over time (speed, angular velocity) can also be obtained, so in the following, mention of the possibility of obtaining change over time may be omitted. The position and attitude of the gripper 12 and the object to be grasped relative to the arm 11 can be obtained from data from the visual sensor. The position and attitude of the gripper 12 relative to the arm 11, or the position and attitude of the object to be grasped relative to the gripper 12, can also be obtained from data from the force-related sensor.

[0065] Furthermore, if a marker for motion capture is attached to the gripper 12, the position and orientation of the gripper 12 can be obtained only from the motion capture data. The position and orientation of the object to be grasped relative to the arm may be obtained using a visual sensor or a force-related sensor. Furthermore, if a marker is attached to the object to be grasped, the position and orientation of the object to be grasped can also be obtained.

[0066] (Motion Primitives)

[0067] Next, the motion primitive will be described. The peg fitting task to be learned in this embodiment is divided into a number of motion intervals, and a control model is learned for each interval. Each of these motion intervals is a motion primitive. A motion primitive is also called an MP or primitive operation.

[0068] The MPs constituting the peg fitting operation in this embodiment will be described with reference to Fig. 6. In Fig. 6, 51 denotes the arm tip, 52 denotes the gripper, 53 denotes the flexible part, 54 denotes the object to be grasped (peg), and 55 denotes a hole. In Fig. 6, reference numerals 56 and 57 respectively denote the state and action considered in each MP.

[0069] The overall objective of the peg fitting task is to insert a peg 54 into a hole 55. The peg fitting task is divided into the following five MPs, and when the error between each MP and the specified target value falls below a threshold, the task transitions to the next MP.

[0070] n1: Approach n2:Contact n3:Fit n4:Align n5: Insert

[0071] "n1: approach" is an operation of moving the gripper 52 from an arbitrary initial position to the vicinity of the hole 55. "n2: contact" is an operation of bringing the peg 54 into contact with the surface near the hole 55. If the flexible portion 53 can be switched between a fixed mode and a flexible mode, the flexible portion 53 is switched to the flexible mode before contact. "n3: fit" is an operation of moving the peg 54 while keeping the peg 54 in contact with the surface so that the tip of the peg 54 fits into the tip of the hole 55. "n4: align" is an operation of keeping the tip of the peg 54 in contact with the hole 55 and making the peg 54 parallel to the hole 55 (perpendicular in this example). "n5: insert" is an operation of inserting the peg 54 to the bottom of the hole 55.

[0072] In "n1: Approach" and "n2: Contact", i.e., MPs where the peg 54 is not in contact with the surface, the peg 54 can be moved to the target position by position control. In "n3: Fit", "n4: Align", and "n5: Insert", i.e., MPs where the peg 54 maintains contact with the environment (contact primitive operations), the positions of the gripper 52 and the peg 54 are controlled by speed control based on machine learning. In machine learning for contact MPs, the aggregate state transition model 20 is learned by a learning process that reduces the dimensions of the state space and the action space.

[0073] Here, the description will be given assuming that the movement of the gripper 52 and the peg 54 is performed within the yz plane. In the "n1: approach" MP, the yz position of the peg 54 is used as an input to control the position within the yz plane. In the "n2: contact" MP, the z position of the peg 54 is used as an input to control the position in the z direction.

[0074] In the "n3: Fit" MP, it is possible to express a model that does not explicitly consider the z direction due to environmental constraints and the flexible part 53 of the arm. The state can be the position and velocity in the y direction, and the action can be a velocity command in the y direction. The position of the gripper 52 when the tip of the peg 54 fits into the hole 55 is set as the target value.

[0075] In the "n4: Align" MP, the state is the angle and angular velocity of the gripper 52, and the action is a velocity command in the y direction. Since the flexible wrist is capable of displacement with six degrees of freedom (three degrees of freedom on the yz two-dimensional plane), when the tip of the peg 54 is in contact with the hole, the peg 54 can be rotated by translational motion in the y direction alone. The angle of the gripper 52 when the attitude of the peg 54 becomes vertical is set as the target value.

[0076] In the "n5: Insert" MP, the state is the position and velocity in the z direction, and the action is the velocity command position in the y direction and z direction. The velocity command in the y direction is introduced to avoid jamming of the peg 54 (stopping moving during insertion). The position of the gripper when the peg 54 reaches the bottom of the hole 55 is set as the target position.

[0077] (Aggregate State Transition Model)

[0078] As shown in FIG. 4, the aggregated state transition model 20 includes, as an example in this embodiment, three state transition models 32A to 32C, an aggregator , and an error compensation model .

[0079] The aggregated state transition model 20 is structured such that the aggregater 34 integrates the outputs of the state transition models 32A to 32C according to the aggregation weights for each output. In this embodiment, the aggregated state transition model 20 is structured such that the aggregater 34 integrates the outputs of the error compensation model 36 in addition to the state transition models 32A to 32C according to the aggregation weights for each output. The integration method may be linear combination, or nonlinear integration may be performed using a multilayer perceptron (MLP) or the like. In the case of linear combination, a part of the weights may be set by the user. The error compensation model 36 is a learnable (updatable) model, and is learned (residual learning) simultaneously with the integration parameters. In addition, if the state transition models 32A to 32C are learnable (differentiable), additional learning may be performed simultaneously with the integration parameters.

[0080] The state transition models 32A to 32C and the error compensation model 36 receive commands output from the optimal action calculation unit 45. The state transition models 32A to 32C and the error compensation model 36 output states corresponding to the input commands to the aggregation unit 34. The aggregation unit 34 aggregates the input states and outputs them to the optimal action calculation unit 45 and the learning unit 43.

[0081] The learning unit 43 learns the aggregated state transition model 20 by updating the aggregation weights, i.e., the weights for the outputs from each of the state transition models 32A to 32C and the error compensation model 36. Specifically, the learning unit 43 calculates the error between the state measured by the state observation sensor 30 and the predicted state output from the aggregator 34 as a prediction error, calculates aggregation weights that reduce the prediction error, and updates the aggregator 34 by setting the calculated new aggregation weights in the aggregator 34.

[0082] Furthermore, aggregate state transition model 20 includes error compensation model 36 in parallel with state transition models 32A to 32C, and learning unit 43 calculates model parameters of error compensation model 36 that reduce the prediction error, and updates error compensation model 36 by setting the calculated new model parameters in error compensation model 36. Note that, although the present embodiment describes a case in which aggregate state transition model 20 includes error compensation model 36, a configuration that does not include error compensation model 36 may also be used.

[0083] State transition model 32A is a state transition model that has already been trained in environment A. State transition model 32B is a state transition model 32 that has already been trained in environment B that is different from environment A. State transition model 32C is a state transition model 32 that has already been trained in environment C that is different from environment A and environment B.

[0084] Here, different environments refer to different working conditions when the robot 10 executes a target task. One example of a different environment is when the type of part operated by the robot 10 is different. Specifically, for example, at least one of the shape, thickness, and length of the peg 54 operated by the robot 10 is different. Another example of a different environment is when the type of object to which the part operated by the robot 10 is to be attached is different. Specifically, for example, at least one of the position, direction, and shape of the hole 55 into which the peg 54 is inserted is different.

[0085] In this way, aggregate state transition model 20 includes state transition models 32A to 32C that have already been trained in different environments.

[0086] (Learning process)

[0087] 7 is a flowchart showing the flow of a learning process in which the learning device 40 uses machine learning to learn the aggregate state transition model 20. The flowchart shown in FIG 7 shows the learning process for one MP, and this learning process is applied to each MP.

[0088] In step S100, the learning device 40 creates the aggregated state transition model 20 to be used. That is, the creation unit 42 selects state transition models 32A to 32C from the known model group 31, and creates the aggregated state transition model 20 by combining the aggregator 34 and the error compensation model 36.

[0089] The processes of steps S102 to S110 described below are executed at regular time intervals according to a control period, which is set to a period during which the processes of steps S102 to S110 can be executed.

[0090] In step S101, the learning device 40 waits until a predetermined time corresponding to the length of the previous control cycle has elapsed since the start of the previous control cycle. Note that the process of step S101 may be omitted, and the process of the next control cycle may be started immediately after the process of the previous control cycle is completed.

[0091] In step S102, the learning device 40 acquires the state of the robot 10. That is, it acquires state observation data of the robot 10 from the state observation sensor 30. Specifically, the command generator 44 acquires data on the position, speed, angle, and angular velocity of the gripper 52 observed by the state observation sensor 30 as state observation data. Hereinafter, the state acquired in step S102 is referred to as state A.

[0092] In step S103, the learning device 40 determines whether or not the state A acquired in step S102 satisfies a predetermined termination condition. Here, the termination condition is satisfied when, for example, the difference between the state A and the target state is within a specified value.

[0093] If the determination in step S103 is positive, this routine ends, whereas if the determination in step S103 is negative, the routine proceeds to step S104.

[0094] In step S104, the learning device 40 updates the aggregated state transition model 20 so that the error between the predicted state C of the robot 10 obtained using the aggregated state transition model 20 in step S110 of the previous control cycle and the actually measured state A of the robot 10 obtained in step S102 becomes smaller in the future. That is, the learning unit 43 updates the aggregated weights so that the error between the state C, which is the next state of the robot 10 predicted in response to the command B output in step S110 of the previous control cycle, and the measured state A of the robot 10 corresponding to the state C, becomes smaller. Note that in the first control cycle, the process of step S104 is skipped.

[0095] In step S105, a candidate for a command or command sequence for the robot 10 is generated. Specifically, the optimal behavior calculation unit 45 inputs the state A of the robot 10 measured in step S102, and generates a candidate for a command or command sequence for the robot 10. Hereinafter, the candidate for a command or command sequence for the robot 10 is referred to as a command A. For example, the Newton method can be used to generate the command A, but the method is not limited to this. In the first control cycle, the command A is generated randomly. Then, in the second and subsequent control cycles, the previous command A is updated with the generated command A.

[0096] In step S106, the learning device 40 predicts the state or state sequence of the robot 10. That is, the optimal behavior calculation unit 45 outputs the state A of the robot 10 and the command A for the robot 10 to the aggregated state transition model 20. As a result, the aggregated state transition model 20 predicts the next state of the robot 10 corresponding to the command A, and outputs the predicted state or state sequence to the optimal behavior calculation unit 45. As a result, the optimal behavior calculation unit 45 obtains the predicted state or state sequence. Hereinafter, the predicted state or state sequence is referred to as state B. Note that, in the optimal behavior calculation unit 45, when the command A is a single command, state B, which is a single state, is obtained, and when the command A is a sequence of commands, state B, which is a sequence of states, is obtained.

[0097] In step S107, the learning device 40 calculates the reward corresponding to state B.

[0098] In step S108, the learning device 40 determines whether the reward calculated in step S107 satisfies a prescribed condition. Here, the prescribed condition is satisfied when, for example, the reward exceeds a prescribed value, or when the loop of the processing of steps S105 to S108 is executed a prescribed number of times. The prescribed number of times is set to, for example, 10 times, 100 times, 1000 times, etc.

[0099] If the determination in step S108 is an affirmative determination, the process proceeds to step S109, and if the determination in step S108 is a negative determination, the process proceeds to step S105.

[0100] In step S109, the learning device 40 generates and outputs a command B based on the reward corresponding to the state or state sequence of the robot 10 calculated in step S107. Note that command B may be command A itself when the reward satisfies a specified condition, or may be a command that can further maximize the reward, predicted from a history of changes in reward corresponding to changes in command A. In addition, when command A is a command sequence, command B is determined based on the first command in the command sequence.

[0101] In step S110, the learning device 40 predicts a state or state sequence of the robot 10. That is, the optimal behavior calculation unit 45 outputs a state A of the robot 10 and a command B for the robot 10 to the aggregated state transition model 20. As a result, the aggregated state transition model 20 predicts a state C, which is the next state of the robot 10 corresponding to the command B, and outputs the predicted state or state sequence to the optimal behavior calculation unit 45. As a result, the optimal behavior calculation unit 45 acquires the predicted state or state sequence.

[0102] In this manner, the processes of steps S101 to S110 are repeated for each control period.

[0103] (Another example of the learning process)

[0104] Next, another example of the learning process will be described with reference to the flowchart shown in Fig. 8. Note that the steps performing the same processes as those in Fig. 7 are given the same reference numerals, and detailed description thereof will be omitted.

[0105] As shown in FIG. 8, the processes in steps S105A to S109A are different from those shown in FIG.

[0106] In step S105A, a plurality of candidates for a command or a command sequence for the robot 10 is generated. Specifically, the optimal behavior calculation unit 45 inputs the state A of the robot 10 measured in step S102, and generates a plurality of candidates (commands A) for a command or a command sequence for the robot 10. For generating the commands A, for example, a cross-entropy method (CEM) can be used, but is not limited to this.

[0107] In step S106A, the learning device 40 predicts a state or state sequence of the robot 10. That is, the optimal behavior calculation unit 45 outputs a state A of the robot 10 and a command A for the robot 10 to the aggregated state transition model 20. As a result, the aggregated state transition model 20 predicts the next state of the robot 10 corresponding to each of a plurality of candidates of a command or command sequence for the robot 10, and outputs the predicted state or state sequence to the optimal behavior calculation unit 45. As a result, the optimal behavior calculation unit 45 acquires a predicted state or state sequence (state B) for each candidate.

[0108] In step S107A, the learning device 40 calculates a reward corresponding to each state B.

[0109] In step S109A, the learning device 40 generates and outputs a command B that maximizes the reward based on the reward corresponding to each state B of the robot 10 calculated in step S107A. For example, a relational expression that represents the correspondence between the command A corresponding to each state B and the reward is calculated, and the command corresponding to the maximum reward on the curve represented by the calculated relational expression is set as command B. In this way, a command that maximizes the reward is obtained.

[0110] (Control device)

[0111] 9 shows a configuration of the robot system 1 in the operation phase. In the operation phase, the robot system 1 includes the robot 10 and a control device 80.

[0112] The hardware configuration of the control device 80 is similar to that of the learning device 40, and therefore a repeated description will be omitted. The control device 80 has a command generating unit 44 as a functional configuration thereof. Each functional configuration is realized by the CPU 40A reading out a control program stored in the ROM 40B or storage 40D, expanding it in the RAM 33, and executing it. Note that some or all of the functions may be realized by a dedicated hardware device.

[0113] The command generation unit 44 includes an optimal action calculation unit 45 and an aggregated state transition model 20. The aggregated state transition model 20 is stored in a RAM 40C, which is an example of a storage unit. The aggregated state transition model 20 may be stored in the storage 40D, not in a storage unit that temporarily stores the model, such as the RAM 40C. If the aggregated state transition model 20 is stored in an external server, it may be downloaded from the external server and temporarily stored in the RAM 40C, or may be stored in the storage 40D. The aggregated state transition model 20 in the state expanded in the RAM 40C during learning by the learning device 40 may be used.

[0114] The optimal behavior calculation unit 45 generates a command corresponding to an action to be performed by the robot 10, using the aggregated state transition model 20 learned by the learning device 40. The optimal behavior calculation unit 45 in Fig. 9 differs from the optimal behavior calculation unit 45 in Fig. 1 only in that it uses the learned aggregated state transition model 20, and therefore a detailed description thereof will be omitted here.

[0115] When it is determined that the success condition of the current MP is satisfied in the contact MP after "fit", the command generating unit 44 switches to a model that generates the aggregate state transition model 20 and the action (command) u(t) to be taken corresponding to the next MP. Specifically, when "fit" is successful, it switches to the aggregate state transition model 20 corresponding to "align", and when "align" is successful, it switches to a model that generates the aggregate state transition model 20 and the action (command) u(t) to be taken corresponding to "insert". When "insert" is successful, it is determined that the fitting operation of the peg 54 is completed.

[0116] In addition, if the termination condition is not met within a predetermined time step in each MP, if excessive force is applied to the robot 10, or if the robot reaches outside the designated area, the task is interrupted and the state returns to the initial state.

[0117] The control device 80 may be a control device separate from the learning device 40, or may be a control device constituting a part of the learning device 40. For example, the learning device 40 used for learning may be used as the control device 40 as is, and control may be performed using the learned aggregate state transition model 20. Furthermore, the control device 40 may perform control while continuing learning.

[0118] In this manner, in this embodiment, the aggregated state transition model 20 in a new environment is learned using the already learned state transition models 32A to 32C, so that the robot 10 can learn in a short time when autonomously acquiring the control law for accomplishing a task.

[0119] <Modification>

[0120] The above-described embodiment merely describes an exemplary configuration of the present invention. The present invention is not limited to the above-described specific embodiment, and various modifications are possible within the scope of the technical concept thereof.

[0121] In the above example, the fitting operation of the peg 54 has been described as an example, but the operation to be learned and controlled may be any operation. However, the present invention is suitable for an operation including an operation in which the gripper 52 itself or the part gripped by the gripper 52 comes into contact with the environment. In the above example, the aggregate state transition model 20 is learned only in the motion section (MP) in which the gripping object comes into contact with the environment, but the aggregate state transition model 20 may also be learned in the motion section (MP) in which the gripping object or the gripper 52 does not come into contact with the environment. In addition, the aggregate state transition model 20 may be learned without dividing the operation into a plurality of motion sections. That is, the process shown in the flowchart of FIG. 7 or FIG. 8 may be executed without dividing the process from the approach to the completion of the insert. Note that the reward in this case is a reward that increases as the distance between the state (target state) of the gripper 12 (or the peg 54) in the insertion completion state and the current state of the gripper 12 (or the peg 54) decreases. This distance may be a straight-line distance in a three-dimensional space, a distance in a six-dimensional space of the position and orientation, or the like.

[0122] In addition, the learning process and control process executed by the CPU by reading the software (program) in each of the above embodiments may be executed by various processors other than the CPU. In this case, examples of the processor include a PLD (Programmable Logic Device) such as an FPGA (Field-Programmable Gate Array) whose circuit configuration can be changed after manufacture, and a dedicated electric circuit such as an ASIC (Application Specific Integrated Circuit) which is a processor having a circuit configuration designed exclusively for executing a specific process. In addition, the learning process and control process may be executed by one of these various processors, or may be executed by a combination of two or more processors of the same or different types (for example, a plurality of FPGAs, a combination of a CPU and an FPGA, etc.). In addition, the hardware structure of these various processors is, more specifically, an electric circuit that combines circuit elements such as semiconductor elements.

[0123] In addition, in each of the above embodiments, the learning program and the control program are described as being stored (installed) in advance in the storage 40D or the ROM 40B, but the present invention is not limited to this. The programs may be provided in a form recorded on a recording medium such as a CD-ROM (Compact Disk Read Only Memory), a DVD-ROM (Digital Versatile Disk Read Only Memory), or a USB (Universal Serial Bus) memory. The programs may also be downloaded from an external device via a network. [Explanation of symbols]

[0124] 1. Robot System 10. Robot 11 Arm 11a Arm tip 12 Gripper 12a Clamping part 13 Flexible section 13a Spring 20 Aggregation State Transition Model 22 Storage device 26 Policy Update Section 30 Condition Observation Sensor 32A, 32B, 32C State Transition Model 34 Consolidation Department 36 Error compensation model 40 Learning Device 41 Input section 42 Creation Department 43 Learning Department 44 Command generation section 45 Optimal Action Calculation Department 52 Gripper 53 Flexible section 54 Peg 55 holes 80 Control device

Claims

1. a creation unit that creates an aggregated state transition model, the aggregated state transition model including a plurality of state transition models that predict a next state of a control object based on a measured state of the control object and a command for the control object, and an aggregation unit that aggregates prediction results by the plurality of state transition models; a command generating unit that executes each process for each control cycle of inputting a measured state of the controlled object, generating a plurality of candidates for commands or command sequences for the controlled object, acquiring a plurality of states or state sequences of the controlled object predicted from the state of the controlled object and the plurality of candidates for commands or command sequences for the controlled object using the aggregate state transition model, 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; a learning unit that updates the aggregate state transition model so that an error between a next state of the controlled object predicted in response to the command to be output and a measured state of the controlled object corresponding to the next state is reduced; A learning device equipped with

2. the command generation unit generates one candidate for a command or command sequence for the control object for each control period, calculates a reward based on the generated candidate, and updates the candidate for the command or command sequence one or more times so as to increase the reward, thereby generating the candidate for the command or command sequence. The learning device according to claim 1.

3. the command generation unit generates a plurality of candidates of a command or a command sequence for the control object for each control period, and then obtains a state or a state sequence of the control object predicted from each of the plurality of candidates. The learning device according to claim 1.

4. The aggregated state transition model has a structure in which the aggregate unit integrates outputs of the plurality of state transition models according to an aggregation weight for each of the outputs. The learning device according to any one of claims 1 to 3.

5. The learning unit updates the aggregation weights. The learning device according to claim 4.

6. the aggregate state transition model includes an error compensation model in parallel with the plurality of state transition models; The learning unit updates the error compensation model. The learning device according to any one of claims 1 to 5.

7. The computer creating an aggregated state transition model including a plurality of state transition models for predicting a next state of the control object based on a measured state of the control object and a command for the control object, and an aggregation unit for aggregating prediction results by the plurality of state transition models; inputting a measured state of the controlled object, generating a plurality of candidates for a command or command sequence for the controlled object, acquiring a plurality of states or state sequences of the controlled object predicted using the aggregate state transition model from the state of the controlled object and the plurality of candidates for the command or command sequence for the controlled object, calculating a reward corresponding to each of the plurality of states or state sequences of the controlled object, and generating and outputting a command that maximizes the reward based on the calculated reward, The aggregate state transition model is updated so that an error between a next state of the controlled object predicted in response to the command to be output and a measured state of the controlled object corresponding to the next state is reduced. How to learn to perform a process.

8. On the computer, creating an aggregated state transition model including a plurality of state transition models for predicting a next state of the control object based on a measured state of the control object and a command for the control object, and an aggregation unit for aggregating prediction results by the plurality of state transition models; inputting a measured state of the controlled object, generating a plurality of candidates for a command or command sequence for the controlled object, acquiring a plurality of states or state sequences of the controlled object predicted using the aggregate state transition model from the state of the controlled object and the plurality of candidates for the command or command sequence for the controlled object, calculating a reward corresponding to each of the plurality of states or state sequences of the controlled object, and generating and outputting a command that maximizes the reward based on the calculated reward, The aggregate state transition model is updated so that an error between a next state of the controlled object predicted in response to the command to be output and a measured state of the controlled object corresponding to the next state is reduced. A learning program that executes processing.

9. A storage unit that stores an aggregate state transition model trained by the learning device according to any one of claims 1 to 6; a command generating unit that executes each process for each control cycle of inputting a measured state of the controlled object, generating a plurality of candidates for commands or command sequences for the controlled object, acquiring a plurality of states or state sequences of the controlled object predicted from the state of the controlled object and the plurality of candidates for commands or command sequences for the controlled object using the aggregate state transition model, 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; A control device comprising:

10. The computer acquiring the aggregate state transition model from a storage unit that stores the aggregate state transition model learned by the learning device according to any one of claims 1 to 6; The measured state of the controlled object is input, a plurality of candidates for a command or command sequence for the controlled object is generated, a plurality of states or state sequences of the controlled object predicted using the aggregate state transition model from the state of the controlled object and the plurality of candidates for the command or command sequence for the controlled object are obtained, a reward corresponding to each of the plurality of states or state sequences of the controlled object is calculated, and a command for maximizing the reward based on the calculated reward is generated and output, and each of the processes is executed for each control period. A control method for performing a process.

11. On the computer, acquiring the aggregate state transition model from a storage unit that stores the aggregate state transition model learned by the learning device according to any one of claims 1 to 6; The measured state of the controlled object is input, a plurality of candidates for a command or command sequence for the controlled object is generated, a plurality of states or state sequences of the controlled object predicted using the aggregate state transition model from the state of the controlled object and the plurality of candidates for the command or command sequence for the controlled object are obtained, a reward corresponding to each of the plurality of states or state sequences of the controlled object is calculated, and a command for maximizing the reward based on the calculated reward is generated and output, and each of the processes is executed for each control period. A control program that executes a process.

Citation Information

Patent Citations

  • Robot device and attitude control method for robot

    JP2005096068A

  • Air conditioning equipment

    JP2014066471A