Control device, control method, program, and control system

The control device addresses the risk of abnormal stoppages in reinforcement learning by using a control device with an acquisition, determination, and control section to manage and apply reinforcement learning models for each control pattern, enhancing control accuracy and reliability.

JP2024126970AActive Publication Date: 2024-09-20KK TOSHIBA
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023035771
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-08
Publication Date
2024-09-20
Estimated Expiration
2043-03-08

AI Technical Summary

Technical Problem

Reinforcement learning methods for controlling devices with multiple control patterns are prone to abnormal stoppages or damage due to trial-and-error operations, necessitating a universal control solution.

Method used

A control device comprising an acquisition section, determination section, and control section that acquires control state information, determines a control pattern, and controls the device using a reinforcement learning model tailored to each pattern, incorporating a processor, RAM, ROM, storage device, and input/output interface to manage and execute control commands.

Benefits of technology

Enables universal control of devices with multiple patterns by generating and applying reinforcement learning models specific to each pattern, reducing the risk of abnormal stoppages and damage, and optimizing control accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024126970000001
    Figure 2024126970000001
Patent Text Reader

Abstract

To provide a control device capable of universally controlling a device to be controlled having a plurality of control patterns, a control method, a program, and a control system.SOLUTION: According to an embodiment, a control device includes an acquisition part, a determination part, and a control part. The acquisition part acquires control state information about a control state of a control object device. The determination part determines a control pattern according to the control state information. The control part controls the control object device on the basis of a reinforcement learning model corresponding to the control pattern.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 control device, a control method, a program, and a control system. [Background technology]

[0002] Reinforcement learning, a type of machine learning that supports the optimization of automatic control, has been known as a technology that achieves high control accuracy. Reinforcement learning is a method for learning the amount of operation so that the controlled object is in a better control state. The reinforcement learning model generated by reinforcement learning can appropriately control the controlled object device.

[0003] Here, reinforcement learning is a learning method for searching for an operation amount by trial and error. Therefore, when a device to be controlled has multiple control patterns, reinforcement learning is expected to achieve a higher level of control by searching for an operation amount by trial and error in each control pattern. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2020-187489 A Summary of the Invention [Problem to be solved by the invention]

[0005] However, in reinforcement learning, which searches for an operation amount by trial and error, the controlled device is subject to the risk of abnormal stoppage, damage, etc. Therefore, there is a demand for a control device that can universally control the controlled device having multiple control patterns.

[0006] Therefore, the present invention has been made in consideration of the above-mentioned circumstances, and has an objective of providing a control device, a control method, a program, and a control system that enable general-purpose control of a controlled device having multiple control patterns. [Means for solving the problem]

[0007] A control device according to an embodiment includes an acquisition unit, a determination unit, and a control unit. The acquisition unit acquires control state information related to a control state of a control target device. The determination unit determines a control pattern according to the control state information. The control unit controls the control target device based on a reinforcement learning model corresponding to the control pattern. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is a diagram illustrating an example of a schematic configuration of a control system according to the first embodiment. [Diagram 2] FIG. 2 is a diagram illustrating a schematic example of a hardware configuration of the control device according to the first embodiment. [Diagram 3] FIG. 3 is a diagram illustrating a schematic example of functions of the control device according to the first embodiment. [Figure 4] FIG. 4 is a diagram illustrating a schematic example of functions of the control learning unit according to the first embodiment. [Diagram 5] FIG. 5 is a diagram illustrating a schematic example of functions of the basic control unit according to the first embodiment. [Figure 6] FIG. 6 is a diagram illustrating a schematic example of functions of the control inference unit according to the first embodiment. [Figure 7] FIG. 7 is a diagram illustrating a schematic example of functions of the control pattern determination unit according to the first embodiment. [Figure 8] FIG. 8 is a flowchart illustrating an example of a database creation process executed by the control device according to the first embodiment. [Figure 9] FIG. 9 is a flowchart illustrating an example of the inference process executed by the control device according to the first embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] The control device, the control method, the program, and the control system will be described in detail below with reference to the accompanying drawings. In the following description of each embodiment and modification, parts with the same reference numerals have substantially the same functions, and the description of overlapping parts will be omitted as appropriate.

[0010] (First embodiment) FIG. 1 is a diagram illustrating an example of a schematic of a control system 1 according to a first embodiment. The control system 1 includes a control target device 10 and a control device 20. The control target device 10 and the control device 20 are communicatively connected. The control system 1 illustrated in FIG. 1 includes one each of the control target device 10 and the control device 20. However, the control system 1 may include a plurality of control target devices 10 and control devices 20.

[0011] The control target device 10 is a device that is to be controlled by the control device 20. The control target device 10 has a plurality of control patterns. A control pattern is a pattern of the control state of the control target device 10.

[0012] For example, the controlled device 10 is a servo motor. In this case, the control pattern is the rotation angle of the servo motor. The control pattern is provided for each load state of the servo motor. For example, the load states include high load, medium load, and low load. The controlled device 10 is controlled by the control pattern corresponding to each of the high load, medium load, and low load.

[0013] The control device 20 is a device that controls the control target device 10. For example, the control device 20 is a computer device such as a microcomputer, a personal computer, or a server device. The control device 20 acquires control state information that indicates the control state of the control target device 10. Then, the control device 20 controls the control target device 10 based on the control state information.

[0014] Next, the hardware configuration of the control device 20 will be described.

[0015] 2 is a diagram illustrating a schematic example of a hardware configuration of the control device 20 according to the first embodiment. The control device 20 includes a processor 21, a random access memory (RAM) 22, a read only memory (ROM) 23, a storage device 24, and an input / output interface 25.

[0016] The processor 21 comprehensively controls the control device 20. For example, the processor 21 is a control circuit such as a CPU (Central Processing Unit). The RAM 22 is a volatile memory that provides a working area for the processor 21. The ROM 23 is a non-volatile memory that stores various programs and parameters. The processor 21 executes various arithmetic processing using the RAM 22 as a working area according to programs stored in the ROM 23, the storage device 24, etc.

[0017] The storage device 24 is a device that stores information such as a flash memory, a hard disk drive (HDD), or a solid state drive (SSD). For example, the storage device 24 stores a control program and a reinforcement learning database. The control program is a program for realizing the functions of the storage device 24. The reinforcement learning database has a plurality of reinforcement learning models provided for each control pattern of the control target device 10.

[0018] The input / output interface 25 is an interface that executes communication with the control target device 10. For example, the input / output interface 25 is a circuit that executes communication with the control target device 10.

[0019] Next, the functional configuration of the control device 20 will be described.

[0020] Fig. 3 is a diagram showing a schematic example of functions of the control device 20 according to the first embodiment. The processor 21 of the control device 20 uses the RAM 22 as a working area to execute various processes in accordance with a program stored in the ROM 23, the storage device 24, etc., thereby realizing the functions shown in Fig. 3. That is, the control device 20 has an input / output control unit 201, an operation selection unit 202, a control learning unit 210, a reinforcement learning model management unit 220, and a control inference unit 230.

[0021] All or part of the functions of the control device 20 may be realized using hardware such as an ASIC (Application Specific Integrated Circuit), a PLD (Programmable Logic Device), or an FPGA (Field Programmable Gate Array). The program may be recorded on a computer-readable recording medium. Examples of computer-readable recording media include portable media such as flexible disks, magneto-optical disks, ROMs, and CD-ROMs, and storage devices such as hard disks built into computer systems. The program may be transmitted via an electric communication line.

[0022] The input / output control unit 201 controls the input / output interface 25 to input and output information to and from the control target device 10. More specifically, the input / output control unit 201 acquires control state information relating to the control state of the control target device 10. The input / output control unit 201 is an example of an acquisition unit. The control state information includes state information, a control command value, a control measurement value, and a control pattern. The state information is information indicating the state of the control target device 10 that changes as a result of the control target device 10 being executed based on the control by the control device 20. The control command value is information indicating a target value for control. The control measurement value is information indicating a measurement value measured by the control target device 10. The control pattern is a pattern indicating the control state of the control target device 10.

[0023] Furthermore, the input / output control unit 201 outputs an amount of operation that indicates the amount of operation on the control target device 10.

[0024] The operation selection unit 202 determines a destination to which the control state information is provided based on a mode selection signal. The mode selection signal is a signal for selecting an operation mode of the control device 20. The operation modes include a learning mode for generating a reinforcement learning model and an inference mode for controlling the control target device 10 by the reinforcement learning model.

[0025] When the mode selection signal indicates the learning mode, the operation selection unit 202 operates the control learning unit 210. Furthermore, the operation selection unit 202 inputs control state information to the control learning unit 210. On the other hand, when the mode selection signal indicates the inference mode, the operation selection unit 202 operates the control inference unit 230. Furthermore, the operation selection unit 202 inputs the control state information to the control inference unit 230.

[0026] The control learning unit 210 generates a reinforcement learning model by reinforcement learning. More specifically, the control learning unit 210 includes a reinforcement learning execution unit 211 and a basic control unit 212.

[0027] The reinforcement learning execution unit 211 executes reinforcement learning for each of a plurality of control patterns of the control target device 10, thereby generating a reinforcement learning model for each control pattern. The reinforcement learning execution unit 211 is an example of a learning unit. When state information, a control command value, and a control measurement value are input, the reinforcement learning model outputs a control parameter according to the input state information, control command value, and control measurement value. In addition, the reinforcement learning execution unit 211 outputs the control parameter generated by the reinforcement learning model to the basic control unit 212. The control parameter is a parameter for adjusting the operation value of the control target device 10.

[0028] The reinforcement learning execution unit 211 executes reinforcement learning for each control state and control pattern, such as the operating environment and operating conditions. As a result, the reinforcement learning execution unit 211 generates a reinforcement learning model suitable for the control state, such as the operating environment and operating conditions.

[0029] The basic control unit 212 controls the control target device 10. For example, the basic control unit 212 controls the control target device 10 by PI (Proportional Integral) control or PID (Proportional Integral Derivative) control.

[0030] The basic control unit 212 is set with the control parameters output from the reinforcement learning execution unit 211. That is, the basic control unit 212 is set with the control parameters that need to be adjusted according to the control state of the control target device 10. The basic control unit 212 also calculates the amount of operation according to the control parameters. Then, the basic control unit 212 outputs the amount of operation to the input / output control unit 201.

[0031] The input / output control unit 201 outputs the amount of operation input from the basic control unit 212 to the controlled device 10. As a result, the controlled device 10 executes an operation based on the amount of operation. Then, the controlled device 10 outputs control state information corresponding to the operation to the control device 20.

[0032] Furthermore, the control learning unit 210 calculates a reward based on the control state information output from the controlled device 10. Then, the control learning unit 210 performs learning so as to maximize the reward. The control learning unit 210 executes reinforcement learning by repeatedly executing such processing. In this way, the control learning unit 210 generates a reinforcement learning model.

[0033] The reinforcement learning model management unit 220 manages the reinforcement learning model. More specifically, when the reinforcement learning model is generated by the control learning unit 210, the reinforcement learning model management unit 220 acquires a control pattern associated with the state information, the control command value, and the control measurement value used in generating the reinforcement learning model from the control state information. Then, the reinforcement learning model management unit 220 associates the reinforcement learning model generated by the reinforcement learning execution unit 211 with the control pattern and stores them in the reinforcement learning model database. The reinforcement learning model management unit 220 is an example of a memory control unit.

[0034] Furthermore, when a reinforcement learning model is requested by the control inference unit 230, the reinforcement learning model management unit 220 acquires a reinforcement learning model corresponding to a control pattern included in the request from the reinforcement learning model database. Then, the reinforcement learning model management unit 220 outputs the reinforcement learning model to the control inference unit 230.

[0035] The control inference unit 230 controls the controlled device 10 based on a reinforcement learning model. In other words, the control inference unit 230 infers an operation amount suitable for the control state of the controlled device 10. More specifically, the control inference unit 230 has a control pattern determination unit 231, a reinforcement learning inference unit 232, and a basic control unit 233.

[0036] The control pattern determination unit 231 determines a control pattern according to the state information, the control command value, and the control measurement value included in the control state information. The control pattern determination unit 231 is an example of a determination unit. More specifically, the control pattern determination unit 231 predicts the operation content of the control target device 10. Furthermore, the control pattern determination unit 231 determines one control pattern from a plurality of control patterns of the control target device 10 based on the predicted operation content. That is, the control pattern determination unit 231 predicts a control pattern suitable for the current step.

[0037] The reinforcement learning inference unit 232 outputs control parameters according to the control pattern. More specifically, the reinforcement learning inference unit 232 requests a reinforcement learning model according to the control pattern predicted by the control pattern determination unit 231 from the reinforcement learning model management unit 220. Furthermore, the reinforcement learning inference unit 232 acquires control parameters by inputting control state information to the reinforcement learning model acquired from the reinforcement learning model management unit 220. Then, the reinforcement learning inference unit 232 outputs the acquired control parameters to the basic control unit 233.

[0038] The basic control unit 233 has the same function as the basic control unit 212 of the control learning unit 210. That is, the basic control unit 233 controls the control target device 10 based on a reinforcement learning model corresponding to the control pattern determined by the control pattern determination unit 231. The basic control unit 233 is an example of a control unit. The basic control unit 233 sets the control parameters output from the reinforcement learning inference unit 232. That is, the basic control unit 233 controls the control target device 10 based on a reinforcement learning model that outputs control parameters that adjust the operation value of the control target device 10.

[0039] Furthermore, the basic control unit 233 calculates an amount of operation according to the control parameter. That is, the basic control unit 233 controls the control target device 10 based on a reinforcement learning model that outputs a control parameter when a control command value and a control measurement value included in the control state information of the control state information are input. Then, the basic control unit 233 outputs the amount of operation to the control target device 10 via the input / output control unit 201.

[0040] Next, the control learning unit 210 will be described in more detail.

[0041] 4 is a diagram illustrating a schematic example of functions of the control learning unit 210 according to the first embodiment. The reinforcement learning execution unit 211 includes a reinforcement learning unit 2111, a memory control unit 2112, and a reward calculation unit 2113.

[0042] The reinforcement learning unit 2111 executes reinforcement learning for each control pattern. When state information, a control command value, and a control measurement value are input, the reinforcement learning unit 2111 executes reinforcement learning to output control parameters according to the state information, the control command value, and the control measurement value. In other words, the reinforcement learning unit 2111 learns the control parameters so as to maximize the reward.

[0043] The memory control unit 2112 stores data output during reinforcement learning in the storage device 24 for later use. The memory control unit 2112 also acquires data from the storage device 24 during reinforcement learning.

[0044] The reward calculation unit 2113 calculates a reward in reinforcement learning. For example, the reward calculation unit 2113 calculates a reward based on state information, a control command value, and a control measurement value in reinforcement learning. The reward calculation unit 2113 may also calculate a reward including the amount of operation calculated by the basic control unit 212.

[0045] Here, the reinforcement learning by the control learning unit 210 will be described in more detail.

[0046] For example, the reinforcement learning unit 2111 executes reinforcement learning by a policy gradient method, which is a type of direct policy search (DPS). However, the reinforcement learning executed by the reinforcement learning unit 2111 is not limited to the policy gradient method, and other search algorithms may be used.

[0047] The policy gradient method is a learning method for expressing the action probability of a reinforcement learning agent in a neural network. To search for a policy, three elements are used: state, action, and reward. Let s be the state at a discrete time step t. t , action a t , the stochastic policy function is π(a t |s t ) The reinforcement learning unit 2111 sets the state s t Observe and act a t The stochastic policy function π(a t |s t ) is the state s t Action a t In other words, the reinforcement learning unit 2111 selects the state s t Action a according to the probability π of the policy according to t This results in a probabilistic policy function π(a t |s t ) according to state s t From state s t+1 Transition to.

[0048] The reward is the transition to the next state s t+1 The reward calculation unit 2113 calculates the reward based on the control command value and the control measurement value of step t+1 included in the formula (1), or other state information and operation amount. t |s t ) is not given in advance. The purpose of the reinforcement learning is to learn the policy probability π so as to maximize the value. That is, the reinforcement learning unit 2111 calculates the evaluation value V π Learn a probabilistic policy function π that maximizes (s).

[0049]

number

[0050] Here, γ is the discount rate (0≦γ≦1) and indicates the importance of future rewards, and E[] indicates the expected value.

[0051] Here, TD_err is calculated as the reinforcement signal. TD_err is the evaluation value V π In the learning of the reinforcement learning unit 2111, the stochastic policy function π(a t |s t In other words, when TD_err is positive, the reinforcement learning unit 2111 determines that a transition to a good state has occurred, and therefore changes the state s t Conversely, when TD_err is negative, the reinforcement learning unit 2111 increases the selection probability of the action at in state s t Reduce the probability of selection of action at in.

[0052] A probabilistic policy function π(a t |s t ) is expressed using the policy parameter vector θ. That is, the stochastic policy function π(a t |s t ) is expressed including the policy parameter vector θ.

[0053] The reinforcement learning unit 2111 changes the action selection probability by adjusting the policy parameter vector θ. For example, the reinforcement learning unit 2111 updates the policy parameter θ to maximize the objective function, as shown in the following formula (2). η is a learning coefficient, and η>0.

[0054]

number

[0055] As a result, the reinforcement learning unit 2111 determines the control parameters of the basic control unit 80 suitable for step t+1 for the state s at step π, based on the probabilistic policy function π improved by learning.

[0056] The memory control unit 2112 stores the data {s t ,a t ,r t ,s t+1} is stored in the replay buffer as a behavior transition. The reinforcement learning unit 2111 then repeatedly samples the data stored in the replay buffer at random during learning and uses it.

[0057] Upon completion of reinforcement learning according to the control pattern, the reinforcement learning unit 2111 outputs the reinforcement learning model. Then, the reinforcement learning model management unit 220 stores the control pattern as an index in the reinforcement learning model database.

[0058] Next, the basic control unit 212 will be described in more detail.

[0059] 5 is a diagram showing a schematic example of functions of the basic control unit 212 according to the first embodiment. The basic control unit 212 has a parameter setting unit 2121 and a basic control calculation unit 2122.

[0060] The parameter setting unit 2121 sets the basic control calculation unit 2122 by using the control parameters calculated by the reinforcement learning execution unit 211. That is, when the basic control calculation unit 2122 executes PID control, the parameter setting unit 2121 sets the control parameters {K P , K I , K D} is set in the basic control calculation unit 2122.

[0061] The basic control calculation unit 2122 calculates the manipulated variable of the controlled device 10. More specifically, when the parameter setting unit 2121 has completed setting of the control parameters, the basic control calculation unit 2122 calculates the manipulated variable according to the control parameters, based on the control command value and the control measurement value. For example, the basic control calculation unit 2122 calculates the manipulated variable ops by the following formula (3).

[0062]

number

[0063] The basic control calculation unit 2122 outputs the calculated manipulated variable to the controlled device 10 via the input / output control unit 201.

[0064] Next, the control reasoning unit 230 will be described in more detail.

[0065] 6 is a diagram illustrating a schematic example of functions of the control inference unit 230 according to the first embodiment. The control inference unit 230 includes a control pattern determination unit 231, a reinforcement learning inference unit 232, and a basic control unit 233.

[0066] The control pattern determination unit 231 determines a control pattern for the control target device 10. The control pattern determination unit 231 determines a control pattern for the control target device 10 based on a plurality of control patterns, a set M of past operation contents of the control target device 10, and operation contents M of a certain step of the control target device 10. T and the operation content M of the step immediately before the step of the control target device 10. T-1Based on the above, the control pattern determination unit 231 predicts the operation content of the controlled device 10 for each of the multiple control patterns. The control pattern determination unit 231 determines one control pattern from the multiple control patterns based on the predicted operation content. Then, the control pattern determination unit 231 outputs the predicted control pattern to the reinforcement learning model management unit 220.

[0067] Here, the operation content is the state of the control target device 10 controlled by the control device 20. In other words, the operation content is the state of the control target device 10 indicated by the control state information. Also, a step is, for example, the output of each operation amount in the output flow of the operation amount sequentially output by the basic control unit 233.

[0068] The reinforcement learning model management unit 220 acquires, from the reinforcement learning model database, a reinforcement learning model corresponding to the control pattern input from the control pattern determination unit 231. Then, the reinforcement learning model management unit 220 outputs the acquired reinforcement learning model to the reinforcement learning inference unit 232.

[0069] The reinforcement learning inference unit 232 outputs control parameters using the reinforcement learning model output from the reinforcement learning model management unit 220. More specifically, the reinforcement learning inference unit 232 controls the control target device 10 based on the reinforcement learning model that outputs control parameters for adjusting the operation value of the control target device 10. That is, when the reinforcement learning inference unit 232 inputs the state information, the control command value, and the control measurement value to the reinforcement learning model, it outputs the control parameters output from the reinforcement learning model to the basic control unit 233.

[0070] The basic control unit 233 has the same function as the basic control unit 212 of the control learning unit 210. That is, when the parameter setting unit 2331 has completed setting of the control parameters, the basic control calculation unit 2332 calculates the manipulated variable according to the control parameters based on the control command value and the control measurement value. Then, the basic control calculation unit 2332 outputs the calculated manipulated variable to the controlled device 10 via the input / output control unit 201.

[0071] Next, the control pattern determination unit 231 will be described in more detail.

[0072] 7 is a diagram illustrating a schematic example of functions of the control pattern determination unit 231 according to the first embodiment. The control pattern determination unit 231 includes a controlled object operation prediction unit 2311, a controlled object operation deviation calculation unit 2312, and a control pattern selection unit 2313.

[0073] The controlled object operation prediction unit 2311 predicts a plurality of control patterns, the operation content M′ of the controlled object device 10 in step T−1. T-1 , and the set M of past operations of the controlled device 10, the operation content {M1' T ,M2' T ,…,MN' T The controlled object operation prediction unit 2311 is an example of a prediction unit.

[0074] For example, the controlled object operation prediction unit 2311 linearly predicts the operation contents {M1' of the T steps for each control pattern based on the difference in change between the past operation contents and the operation contents of the previous step. T ,M2' T ,…,MN' T Note that the method used by the controlled object operation prediction unit 2311 is not limited to this, and the prediction may be performed using a linear or non-linear function.

[0075]

number

[0076] In formula (4), the deviation of the operation contents between step T-1 and step T is predicted based on the deviation of the operation contents between step T-2 and step T-1. T-2 is included in the set M of past operation details of the control target device 10. a is a hyperparameter.

[0077] The control target operation deviation calculation unit 2312 calculates the actual operation content M of the control target device 10 in step T-1. Tand the operation content M′ predicted by the controlled object operation prediction unit 2311. T The control target operation deviation calculation unit 2312 is an example of a calculation unit. In addition, when there are multiple elements in the operation content M (for example, a control pattern is predicted based on multiple elements such as the current, voltage, and speed of a servo motor), the set M1 is a set M1={O11, O12, ..., O1 m} and M1' ERR is the sum of the standard deviations according to the weighting of each element.

[0078]

number

[0079] Weight1 in formula (5) i is the element O1 of the operation content M1 i is the weighting factor that fits

[0080] The control pattern selection unit 2313 selects one control pattern from the n types of control patterns based on the deviation calculated by the control object operation deviation calculation unit 2312. The control pattern selection unit 2313 is an example of a selection unit. For example, the control pattern selection unit 2313 selects one control pattern from the n types of control patterns based on the deviation calculated by the control object operation deviation calculation unit 2312. ERR ,M2 ERR ,…,MN ERR}, the control pattern with the smallest deviation is selected.

[0081]

number

[0082] Next, various processes executed by the control device 20 according to the first embodiment will be described.

[0083] 8 is a flowchart showing an example of a database creation process executed by the control device 20 according to the first embodiment. The database creation process is a process for creating a database having a plurality of combinations of control patterns and reinforcement learning models.

[0084] The input / output control unit 201 receives input of a plurality of control patterns for the control target device 10 (step S1). In response to this, the input / output control unit 201 prepares a plurality of control patterns.

[0085] The control learning unit 210 selects one control pattern from a plurality of control patterns (step S2).

[0086] When control state information of the selected control pattern is input, the control learning unit 210 executes reinforcement learning to output a control parameter according to the control state information (step S3). More specifically, the reinforcement learning execution unit 211 generates a control parameter. The basic control unit 212 calculates an operation amount after setting the generated control parameter. The basic control unit 212 also outputs the calculated operation amount to the control target device 10 via the input / output control unit 201. When an operation is executed based on the operation amount output to the control target device 10, the control learning unit 210 acquires control state information via the input / output control unit 201. Then, the control learning unit 210 calculates a reward according to the control state information. In repeating this process, the control learning unit 210 executes reinforcement learning to output a control parameter that maximizes the reward.

[0087] The control learning unit 210 determines whether or not the reinforcement learning is completed (step S4). If the reinforcement learning is not completed (step S4; No), the control learning unit 210 executes the reinforcement learning in step S3.

[0088] When the reinforcement learning is completed (step S4; Yes), the control learning unit 210 generates a reinforcement learning model (step S5). The reinforcement learning model management unit 220 stores the reinforcement learning model generated by the control learning unit 210 in a reinforcement learning model database (step S6). Specifically, the reinforcement learning model management unit 220 stores the configuration of the neural network of the reinforcement learning model and the weighting coefficients of the neural network in the reinforcement learning model database.

[0089] The control learning unit 210 determines whether or not the generation of the reinforcement learning models corresponding to each of the multiple control patterns is completed (step S7). If the generation of all the reinforcement learning models is not completed (step S7; No), the control learning unit 210 proceeds to step S2. Then, the control learning unit 210 executes a process corresponding to a control pattern for which a reinforcement learning model has not yet been generated.

[0090] When the generation of all reinforcement learning models is completed (step S7; Yes), the control learning unit 210 judges whether or not a change has occurred in the control state such as the operating environment or operating conditions of the controlled device 10 (step S8). When a change has occurred (step S8; Yes), the control learning unit 210 proceeds to step S1 and generates a reinforcement learning model suitable for the control state such as the changed operating environment or operating conditions.

[0091] If no change has occurred (step S8; No), the control learning unit 210 ends the database creation process.

[0092] 9 is a flowchart showing an example of an inference process executed by the control device 20 according to the first embodiment. The inference process is a process for calculating an operation amount using a reinforcement learning model stored in the reinforcement learning model database.

[0093] The input / output control unit 201 acquires control state information of the control target device 10 (step S11).

[0094] The control pattern determination unit 231 determines a plurality of control patterns, a set M of past operation contents of the control target device 10, and operation contents M of a certain step of the control target device 10. T and the operation content M of the step immediately before the step of the control target device 10. T-1 Based on this, the operation details of the controlled device 10 are predicted for each of the multiple control patterns (step S12).

[0095] The controlled object operation deviation calculation unit 2312 calculates the deviation between the operation content of the controlled object device 10 and the predicted operation content (step S13).

[0096] The control pattern selection unit 2313 determines a control pattern based on the calculated deviation (step S14).

[0097] The reinforcement learning model management unit 220 acquires a reinforcement learning model corresponding to the determined control pattern from the reinforcement learning model database (step S15).

[0098] The reinforcement learning inference unit 232 inputs the control state information for the acquired reinforcement learning model, and sets the acquired control parameters in the basic control unit 233 (step S16).

[0099] The basic control unit 233 calculates the amount of operation (step S17).

[0100] The basic control unit 233 outputs the calculated manipulated variable to the controlled device 10 via the input / output control unit 201 (step S18).

[0101] The control inference unit 230 ends the database creation process.

[0102] As described above, the control device 20 according to the first embodiment determines one control pattern from the multiple control patterns possessed by the control target device 10. The control device 20 also sets control parameters based on the reinforcement learning model generated for each control pattern. The control device 20 then controls the control target device 10 according to the control parameters. In this way, the control device 20 has a reinforcement learning model for each of the multiple control patterns of the control target device 10, and controls the control target device 10 using the reinforcement learning model according to the control pattern. Therefore, the control device 20 can generically control a control target device having multiple control patterns.

[0103] In addition, the program executed by the control device 20 of this embodiment is provided as a file in an installable or executable format, recorded on a computer-readable recording medium such as a semiconductor storage device such as a DVD (Digital Versatile Disk), a USB (Universal Serial Bus) memory, or an SSD (Solid State Drive).

[0104] The program may be stored on a computer connected to a network such as the Internet and provided by being downloaded via the network. The program may be provided or distributed via a network such as the Internet.

[0105] The program may also be provided in a state where it is pre-installed in a ROM or the like. [Explanation of symbols]

[0106] 1...control system, 10...controlled device, 20...control device, 21...processor, 22...RAM (Random Access Memory), 23...ROM (Read Only Memory), 24...storage device, 25...input / output interface, 201...input / output control unit, 202...action selection unit, 210...control learning unit, 220...reinforcement learning model management unit, 230...control inference unit, 211...reinforcement learning execution unit, 212, 233...basic control unit, 231...control pattern determination unit, 232...reinforcement learning inference unit, 2111...reinforcement learning unit, 2112...memory control unit, 2113...reward calculation unit, 2121, 2331...parameter setting unit, 2122, 2332...basic control calculation unit, 2311...controlled object action prediction unit, 2312...controlled object action deviation calculation unit, 2313...control pattern selection unit.

Claims

1. an acquisition unit that acquires control state information relating to a control state of a control target device; A determination unit that determines a control pattern according to the control state information; a control unit that controls the control target device based on a reinforcement learning model corresponding to the control pattern; A control device comprising:

2. The determination unit is A prediction unit that predicts operation details for each of the control patterns of the control target device; a calculation unit that calculates a deviation between the operation content for each of the control patterns predicted by the prediction unit and the operation content of the control target device; A selection unit that selects the control pattern based on the deviation calculated by the calculation unit. The control device according to claim 1 .

3. The control unit controls the control target device based on the reinforcement learning model that outputs a control parameter for adjusting an operation value of the control target device. The control device according to claim 1 .

4. the control unit controls the control target device based on the reinforcement learning model that outputs the control parameter when the control state information is input. The control device according to claim 1 .

5. a learning unit that executes reinforcement learning for each of the plurality of control patterns of the control target device; A memory control unit that stores the reinforcement learning model generated by the reinforcement learning by the learning unit in a memory unit. The control device according to any one of claims 1 to 4.

6. The learning unit performs reinforcement learning for each control state of the control target device and each control pattern. The control device according to claim 5.

7. Acquire control status information regarding the control status of the controlled device; determining a control pattern according to the control state information; controlling the control target device based on a reinforcement learning model corresponding to the control pattern; The control method includes:

8. Computer, an acquisition unit that acquires control state information relating to a control state of a control target device; A determination unit that determines a control pattern according to the control state information; a control unit that controls the control target device based on a reinforcement learning model corresponding to the control pattern; A program to make it function as such.

9. A control system including a control target device having a plurality of control patterns and a control device that controls the control target device, The control device includes: an acquisition unit that acquires control state information relating to a control state of a control target device; A determination unit that determines a control pattern according to the control state information; a control unit that controls the control target device based on a reinforcement learning model corresponding to the control pattern; A control system comprising:

Citation Information

Patent Citations

  • Motor control device

    JP2020047228A

  • Control device and control method

    WO2018151215A1

  • Control device, control method, and motor control system

    JP2020187489A