control device
The control device optimizes computational load by propagating optimization data between agents, addressing the challenge of interactions in AI control optimization for multiple devices or procedures, achieving efficient and optimal control.
Patent Information
- Application Number
- JP2022120080
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-07-28
- Publication Date
- 2026-12-03
- Estimated Expiration
- 2042-07-28
AI Technical Summary
Existing technologies face challenges in reducing computational load during AI control optimization, especially when interactions between multiple devices or procedures are involved, as they do not effectively address the computational overhead in such scenarios.
A control device that includes agents with a control unit and a learning unit, where optimization data is propagated from downstream to upstream phases, facilitating smooth cooperation and reducing computational load by optimizing each phase individually while considering interactions.
This approach allows for significant reduction in computational load when globally optimizing controlled objects with interactions between multiple devices or procedures, enabling efficient and optimal control law calculation.
Smart Images

Figure 0007960489000005 
Figure 0007960489000006 
Figure 0007960489000007
Abstract
Description
[Technical Field]
[0001] This disclosure relates to a control device for rapidly calculating control laws. [Background technology]
[0002] In the automotive and plant (power generation and industrial) sectors, attempts are being made to utilize artificial intelligence technologies, including machine learning. In particular, AI control technology, which applies artificial intelligence technology (AI technology) to control optimization, has the advantage of being able to search for the optimal control law from operating data even when the behavior of the controlled object is unknown. On the other hand, optimizing the control law requires a high computational load proportional to the complexity of the controlled object. Therefore, there is a need for technology that optimizes the controlled object while reducing the computational load.
[0003] Patent Document 1 discloses that the control of the target device is switched between the feedback control unit (or feedforward control) and the AI control unit, so that if one cannot control the device well, the other can control it well. It also discloses that, unlike when the AI control unit controls the target device alone, a part of the control can be assigned to the feedback control unit, thus simplifying the model training.
[0004] Patent Document 2 discloses that by using a device that includes multiple agents, each targeting a portion of a plurality of devices installed in a facility, and each of the multiple agents having a state acquisition unit that acquires state data indicating the state of the facility, a control condition acquisition unit that acquires control condition data indicating the control conditions of each target device, and a learning processing unit that uses learning data including state data and control condition data to perform a model learning process that outputs recommended control condition data indicating the recommended control conditions for each target device in response to the input of state data, the number of computational processes for the learning process can be reduced compared to when the model learning process is performed using learning data including the control condition data of all devices.
[0005] Patent Document 3 discloses that by using a plant startup prediction control device, which predicts the next startup procedure based on the plant's startup state, predicts the manipulated variables in the predicted startup procedure based on the plant's operating state at the time of startup procedure prediction, outputs the predicted manipulated variable values, predicts future control variables based on the predicted manipulated variable values and the plant's control variables at the time of manipulated variable prediction, outputs the predicted control variable values, determines the sensitivity of the predicted control variable values to the predicted manipulated variable values in the predicted startup procedure based on the predicted control variable values and the predicted manipulated variable values, determines whether the plant satisfies the startup conditions indicating the completion of the startup procedure in the startup state based on the predicted control variable values, and generates and outputs a startup completion signal correction value that instructs whether to immediately execute the predicted procedure based on the outputs of the startup condition determination means and the startup procedure determination means, the plant startup procedure at the time of plant startup can be determined without convergence calculation, the plant startup schedule can be sequentially corrected without increasing the computational load, and the plant startup time can be shortened. [Prior art documents] [Patent Documents]
[0006] [Patent Document 1] Japanese Patent Publication No. 2021-174259 [Patent Document 2] Japanese Patent Publication No. 2020-027556 [Patent Document 3] Japanese Patent Publication No. 2003-269112 [Overview of the Initiative] [Problems that the invention aims to solve]
[0007] The control device described in Patent Document 1 reduces the computational load by combining feedback control or feedforward control with AI control, thereby limiting the scope of application of AI control. However, Patent Document 1 does not explicitly describe a technique for reducing the computational load of AI control when feedback control or feedforward control cannot be applied.
[0008] The apparatus described in Patent Document 2 has weak interference with the behavior of target devices, and can significantly reduce the computational load when performing independent learning processes. However, Patent Document 2 does not specify whether the computational load can be reduced when there is a correlation between the behaviors of target devices.
[0009] The plant startup predictive control device described in Patent Document 3 avoids convergence calculations, so it can suppress an increase in computational load and shorten plant startup time. However, Patent Document 3 does not specify methods for application to AI control that searches for optimal control laws from operational data.
[0010] The present disclosure aims to reduce the computational load when globally optimizing a controlled object that has interactions between multiple devices or multiple procedures. [[Means for Solving the Problem]]
[0011] The control device of the present disclosure includes an agent that includes a control unit that acquires a state for each of a plurality of phases and calculates an operation amount for that phase, and a learning unit that outputs a control law that maximizes an objective function. The control unit calculates the operation amount using the control law, and the learning unit that calculates the control law for a downstream phase among the plurality of phases outputs downstream optimization data, which is optimization data held by the learning unit, to the learning unit corresponding to an upstream phase located upstream of the downstream phase among the plurality of phases. The optimization data is one or more of a value, an expected value of the objective function, and an evaluation value of the state and operation amount of the phase. [[Effects of the Invention]]
[0012] According to the present disclosure, it is possible to reduce the computational load when globally optimizing a controlled object that has interactions between multiple devices or multiple procedures. [[Brief Description of Drawings]]
[0013] [Figure 1]It is a schematic configuration diagram showing an example of a processing system that performs intelligent control according to Example 1. [Figure 2] FIG. 2 is a block diagram illustrating an example of processing by the processing system 100 of FIG. 1. [Figure 3] It is a table|surface which shows the example of a state identification number. [Figure 4] It is a table|surface which shows the example of a control law. [Figure 5] It is a table|surface which shows the specific example of operation amount ID. [Figure 6] It is a table|surface which shows the example of a reward function. [Figure 7] It is a table|surface which shows the example of a value function. [Figure 8] It is a table|surface which shows the example of a state transition matrix. [Figure 9] It is a figure which shows cooperation about the value function of a value memory|storage part. [Figure 10] It is a schematic diagram which shows an example of a route search problem. [Figure 11] FIG. 11 is a schematic diagram showing the maximum value in each state of section 2 and an action having the value. [Figure 12A] It is a flowchart which shows the whole process of optimization. [Figure 12B] It is a flowchart which shows the calculation process of a value function. [Figure 13] It is a figure which shows the example in case the state definition table of value memory|storage part 132-1 and the state definition table of value memory|storage part 132-2 differ. [Figure 14A] It is an example of the state definition table of the value memory|storage part 132-1. [Figure 14B] It is an example of the state definition table of the value memory|storage part 132-2. [Figure 15] It is a figure which shows the other example in case the state definition table of value memory|storage part 132-1 and the state definition table of value memory|storage part 132-2 differ. [Figure 16A] It is an example of the state definition table of the value memory|storage part 132-1. [Figure 16B] It is an example of the state definition table of the value memory|storage part 132-2. [Figure 17]This figure shows an example where the operation quantity definition table for value storage unit 132-1 and the operation quantity definition table for value storage unit 132-2 are different. [Figure 18] This figure shows an example where the state definition table and the manipulated variable definition table differ between the value storage unit 132-1 and the value storage unit 132-2. [Modes for carrying out the invention]
[0014] The control device according to the embodiment of this disclosure is desirable primarily as a technology for rapidly calculating control laws that take long-term future conditions into account.
[0015] The control device according to the embodiment of this disclosure includes an agent having a control unit that acquires the state for each of a plurality of phases and calculates the operation amount for that phase, and a learning unit that outputs a control law that maximizes the objective function. When optimizing the agent corresponding to each of the plurality of phases individually, it is thought that the computational load can be greatly reduced compared to when all of the plurality of phases are optimized with a single agent. However, when there is interaction between the plurality of phases, when the plurality of agents are optimized individually, they interfere with each other, making it difficult to learn a globally optimal control law when the plurality of phases are viewed as a whole. Here, a phase refers to the scope of responsibility of the learning unit, which is determined by information unrelated to the shape information of the equipment, such as controls that switch depending on the state of the equipment.
[0016] In the control device according to the embodiment of this disclosure, the learning unit that calculates the control law for the downstream phase among a plurality of phases outputs the downstream optimization data, which is the optimization data held by the learning unit, to the learning unit corresponding to the upstream phase located upstream of the downstream phase among the plurality of phases. In other words, the optimization data is propagated from the downstream agent to the upstream agent. Here, the optimization data is one or more of the following: the value, the expected value of the objective function, and the evaluation values of the state of the phase and the manipulated variable. This facilitates smooth cooperation between agents. Furthermore, it prevents the drawbacks of individual optimization among agents, enables global optimization of multiple agents, and significantly reduces the computational load.
[0017] The following describes an example using drawings. [Examples]
[0018] Figure 1 is a schematic diagram showing an example of an intelligent control processing system (control device) according to Embodiment 1.
[0019] The processing system 100 is mainly composed of an input device 110 (input unit), a data reading device 115 (data reading unit), an output device 120 (output unit), a storage device 130 (storage unit), and an arithmetic unit 140 (arithmetic unit).
[0020] Of these, the input device 110 is the part that receives instructions from the operator and includes buttons, a touch panel, etc.
[0021] The data reading device 115 is the part of the processing system 100 that receives data from outside, and consists of a CD drive, USB terminal, LAN cable terminal, communication device, etc.
[0022] The output device 120 is a device that outputs instruction information to the operator, read images, reading results, etc., and consists of a display and a communication device.
[0023] The above configuration is standard, and in this figure all components are installed inside the processing system 100. However, the configuration of the processing system 100 in this disclosure is not limited thereto, and one or more or all of the input device 110, data reading device 115, and output device 120 may be connected outside the processing system 100.
[0024] The memory device 130 is a part that stores various types of data and includes an operation data storage unit 131, a value storage unit 132, a control law storage unit 133, and a learning information storage unit 134.
[0025] Of these, the operation data storage unit 131 is the part that stores one or more sensor signals and operation signals that measure the behavior and state of objects or phenomena controlled by the processing system 100. The sensor signals to be stored may also be time-series signals. The value storage unit 132 is the part that stores the calculation results of the value calculation unit 145, which will be described later. The control law storage unit 133 is the part that stores the calculation results of the control law calculation unit 146, which will be described later. The learning information storage unit 134 is the part that stores the parameters used for processing and calculations of the arithmetic unit 140. Details of the memory device 130 will be described later, and only its general functions are described here.
[0026] The arithmetic unit 140 processes data input from the input device 110 and the data reading device 115, as well as data stored in the storage device 130, and outputs the results to the output device 120 or records them in the storage device 130. The arithmetic unit 140 includes an input control unit 141, an output control unit 142, a state acquisition unit 143, an operation variable calculation unit 144, a value calculation unit 145, a control law calculation unit 146, and a reward acquisition unit 147.
[0027] The input control unit 141 is the part that processes data input from the input device 110 or data reading device 115 into commands, models, etc., and transfers them to the storage device 130 and the arithmetic unit 140.
[0028] The output control unit 142 is responsible for outputting data stored in the storage device 130 to the output device 120. When the output destination is a screen or the like, it is preferable that the result is output each time a read operation is performed. When the output destination is a communication destination or the like, the output processing may be performed each time the state transition probability matrix is updated or, for example, each time the value calculation unit 145 performs an operation, or it may be processed in batches of data, or it may be processed in batches at predetermined time intervals. Thus, the method of batching data for processing is not limited to these methods, and other methods may be used.
[0029] The state acquisition unit 143 acquires signals from sensors that measure the behavior and state of the object or phenomenon to be controlled, and outputs them to the operation data storage unit 131 and the value calculation unit 145. When outputting to the operation data storage unit 131 and the value calculation unit 145, for example, the sensor signals may be converted into other signals that represent the behavior or state of the controlled object.
[0030] The manipulated variable calculation unit 144 acquires signals from the state acquisition unit 143 and the control law storage unit 133, and outputs a manipulated variable to the controlled object.
[0031] The value calculation unit 145 is the part that acquires signals from the operation data storage unit 131 and the reward acquisition unit 147 and outputs them to the value storage unit 132.
[0032] The control law calculation unit 146 is the part that acquires signals from the value storage unit 132 and outputs them to the control law storage unit 133.
[0033] The reward acquisition unit 147 is the part that acquires a signal from the learning information storage unit 134 and outputs it to the value calculation unit 145.
[0034] Details of each part (141-147) of the arithmetic unit 140 will be described later; only a general overview of its functions is given here.
[0035] The following describes the details of the process executed using the processing system 100 shown in Figure 1.
[0036] Figure 2 is a block diagram showing an example of processing performed by the processing system 100 in Figure 1.
[0037] The plant / equipment 200 shown in Figure 2 is a structure or system that includes one or more devices that are controlled by the processing system 100.
[0038] Examples of controlled objects include the behavior of machines and living organisms, natural and physical phenomena, chemical reactions, fluctuations in money and prices, and changes in consumer demand; however, this disclosure does not limit the controlled objects to these examples.
[0039] In this diagram, the plant / equipment 200 includes multiple devices 201-1 and 201-2 that are to be controlled. The processing system 100 comprises control units 202-1 and 202-2, and learning units 203-1 and 203-2. Control unit 202-1 and learning unit 203-1 are connected to device 201-1. Control unit 202-2 and learning unit 203-2 are connected to device 201-2.
[0040] Furthermore, although not shown in the diagram, the processing system 100 may be equipped with a control unit and a learning unit connected to each of the devices so that it can also accommodate cases where the plant / equipment 200 includes a third or subsequent piece of equipment, i.e., N pieces of equipment (where N is an integer greater than or equal to 3).
[0041] The control unit 202-1 includes a state acquirer 143-1 and a manipulated variable calculation unit 144-1. The learning unit 203-1 includes an operation data storage unit 131-1, a value storage unit 132-1, a control law storage unit 133-1, a value calculation unit 145-1, a control law calculation unit 146-1, and a reward acquisition unit 147-1.
[0042] The control unit 202-2 includes a state acquirer 143-2 and an manipulated variable calculation unit 144-2. The learning unit 203-2 includes an operation data storage unit 131-2, a value storage unit 132-2, a control law storage unit 133-2, a value calculation unit 145-2, a control law calculation unit 146-2, and a reward acquisition unit 147-2.
[0043] In this diagram, the behavior and state of device 201-1 change in response to the manipulated variable signal calculated by the manipulated variable calculation unit 144-1. This change is acquired by a sensor installed in device 201-1, and the sensor signal is output to the state acquisition unit 143-1. The state acquisition unit 143-1 acquires data related to the change in state, etc., based on the sensor signal. This data is output to the manipulated variable calculation unit 144-1 and used to calculate the manipulated variable of device 201-1. In addition, the data related to the change in state, etc., is also output to the operation data storage unit 131-1 of the learning unit 203-1 and stored there. The sensor signal of device 201-1 is also output to the operation data storage unit 131-1 and stored there.
[0044] Similarly, the behavior and state of device 201-2 change in response to the manipulated variable signal calculated by the manipulated variable calculation unit 144-2. This change is acquired by a sensor provided on device 201-2, and the sensor signal is output to the state acquisition unit 143-2. The state acquisition unit 143-2 acquires data related to the change in state, etc., based on the sensor signal. This data is output to the manipulated variable calculation unit 144-2 and used to calculate the manipulated variable of device 201-2. In addition, the data related to the change in state, etc., is also output to the operation data storage unit 131-2 of the learning unit 203-2 and stored there. The sensor signal of device 201-2 is also output to the operation data storage unit 131-2 and stored there.
[0045] In the learning unit 203-1, the value calculation unit 145-1 calculates the value using the data from the operation data storage unit 131-1 and the reward acquisition unit 147-1. The obtained value data is output to the value storage unit 132-1 and stored there. The control law calculation unit 146-1 calculates the control law using the data from the value storage unit 132-1. The obtained control law data is output to the control law storage unit 133-1 and stored there.
[0046] Similarly, in the learning unit 203-2, the value calculation unit 145-2 calculates the value using the data from the driving data storage unit 131-2 and the reward acquisition unit 147-2. The obtained value data is output to the value storage unit 132-2 and stored there. The control law calculation unit 146-2 calculates the control law using the data from the value storage unit 132-2. In this case, it is desirable to select the optimal control law from among the obtained control laws. The obtained control law data is output to the control law storage unit 133-2 and stored there.
[0047] Furthermore, the value calculation unit 145-1 is configured to also be able to use the data from the value storage unit 132-2.
[0048] In this embodiment, the controlled devices 201-1 and 201-2 are to be operated in that order, starting with device 201-1. In other words, after device 201-1, device 201-2 operates, and if N devices (where N is an integer greater than or equal to 3) are connected, they operate sequentially up to device 201-N, which is not shown. Here, if real-time operation is required between adjacent devices, such as a robot arm on a production line, a time synchronization method may be introduced to ensure that adjacent devices are precisely synchronized. This disclosure does not limit the time synchronization method.
[0049] Note that the control units 202-1 and 202-2 and the learning units 203-1 and 203-2 have different processing cycles and timings.
[0050] Control units 202-1 and 202-2 process each time they request the corresponding manipulated variable for the controlled object. For example, if the control period of the controlled object is 1 millisecond, control units 202-1 and 202-2 will process at least once every 1 millisecond.
[0051] On the other hand, learning units 203-1 and 203-2 are executed only when an update of the control law is requested. For example, if the control characteristics change due to aging or seasonal variations in the plant / equipment 200, and the control efficiency decreases compared to before the change in characteristics, the learning units 203-1 and 203-2 are executed. The processing of learning units 203-1 and 203-2 may be performed manually by a plant operator or automatically based on the control efficiency, and this disclosure does not limit the processing method or timing of execution. Furthermore, the processing of control units 202-1 and 202-2 and learning units 203-1 and 203-2 may be executed simultaneously or by different computers.
[0052] Furthermore, in this embodiment, one control unit 202-1, 202-2 and one learning unit 203-1, 203-2 are connected to each of the controlled devices 201-1 and 201-2, but this disclosure is not limited to a configuration in which a control unit or learning unit is provided for each device.
[0053] For example, in cases where the control of a single piece of equipment or facility has phases, such as the startup schedule of a power plant, and the operating ends (such as valves) or targets of operation differ for each phase, a control unit or learning unit may be assigned to each phase. Furthermore, control may be divided into sections where the operating end or measurement end does not switch, not limited to equipment or control phases, and a control unit or learning unit may be assigned to each of these sections or combinations of sections. In other words, a single processing system may have, for example, one control unit and one learning unit, with one control unit and one learning unit responsible for multiple pieces of equipment, or one control unit and one learning unit responsible for multiple control processes, multiple learning processes, etc.
[0054] Next, the functions of the control unit and the learning unit will be explained.
[0055] In the following explanation, signals that represent behavior or state will be referred to as "state identification numbers." State identification numbers are also called "state IDs."
[0056] Figure 3 is a table showing examples of status identification numbers.
[0057] In the example shown in this figure, the range of possible values for the temperature, pressure, and flow rate sensor signals is discretized by dividing it into a finite number of spaces. Each combination of discrete values for the sensor signals is assigned an identification number. This identification number is the state identification number.
[0058] As shown in this figure, the table that stores identification numbers corresponding to combinations of discrete values of sensor signals will be called the "state definition table".
[0059] As an example of how to calculate the manipulated variable in the manipulated variable calculation unit 144-1 shown in Figure 2, we will explain a method that uses the state ID and the control law stored in the control law storage unit 133-1.
[0060] Figure 4 is a table showing examples of control laws.
[0061] In the example shown in this figure, the control law is stored as a manipulated variable ID appropriate for each state ID. Here, the manipulated variable ID is a representation that identifies a combination of manipulated variables. This figure can be created from Figure 7, as described later.
[0062] Figure 5 is a table showing specific examples of manipulated variable IDs.
[0063] In the example shown in this figure, the controlled object is controlled by manipulating the opening degrees of three valves. Each combination of valve opening degrees is assigned a manipulated variable ID. The table that stores the manipulated variable IDs corresponding to the combinations of manipulated variables shown in this figure will be called the "manipulated variable definition table".
[0064] In the manipulated variable calculation unit 144-1 shown in Figure 2, the manipulated variable ID corresponding to the state ID signal received from the state acquisition device 143-1 is obtained by referring to the control law (Figure 4). Then, the manipulated variable is obtained from the manipulated variable ID by referring to the table shown in Figure 5.
[0065] The control law shown in Figure 4 is an example of a result calculated in the learning unit 203-1.
[0066] In the operation data storage unit 131-1 shown in Figure 2, the state ID output by the state acquisition unit 143-1 and the manipulated variable output by the manipulated variable calculation unit 144-1 are stored in chronological order. In this disclosure, this chronological data stored in the operation data storage unit 131-1 will be referred to as "operation data".
[0067] The reward acquisition unit 147-1 acquires control target information. Target information refers to a signal that has the same function as a function or table that outputs the maximum and minimum values in the ideal state of the controlled object, such as an objective function or a reward function in reinforcement learning techniques. In the following explanation, this signal will be referred to as the "reward".
[0068] Figure 6 is a table showing examples of reward functions.
[0069] In the example reward function shown in this figure, s is the target state ID. n It outputs a reward value of 1 for one state ID, and 0 for other state IDs.
[0070] The value calculation unit 145-1 calculates the value function.
[0071] Figure 7 is a table showing an example of a value function.
[0072] Here, the value function is a function that quantifies the effectiveness of each manipulated variable ID in the state ID in achieving a pre-set goal. This effectiveness in achieving the goal is called "value." The goal is acquired by the reward acquisition unit 147-1 as the reward function. The detailed definition method of the value function is not limited in this disclosure.
[0073] In the example shown in this figure, when the state ID is s2 and the manipulated variable ID is a4, the value is 5.2, which is the maximum value within s2. Similarly, when the state ID is s3 and the manipulated variable ID is a2, the maximum value is 6.8, and when the state ID is s4 and the manipulated variable ID is a3, the maximum value is 8.1. The manipulated variable ID with the maximum value is the optimal operation for that state ID. In other words, for s2, a4 (valve 1 opening: 0%, valve 2 opening: 0%, valve 3 opening: 5%) is the optimal operation; for s3, a2 (valve 1 opening: 5%, valve 2 opening: 0%, valve 3 opening: 0%); and for s4, a3 (valve 1 opening: 0%, valve 2 opening: 5%, valve 3 opening: 0%) is the optimal operation. As a result, the optimal control law is obtained as shown in Figure 4.
[0074] Methods for calculating the value function include, for example, reinforcement learning, dynamic programming, and methods that store the proximity of each state to the target state (or a statistical indicator of ease of transition) using the reward function (hereinafter referred to as "state transition matrix-based control optimization method"). However, this disclosure does not limit the method for calculating the value function. Details of the value function calculation method are described in the aforementioned literature, so this disclosure omits further explanation. Among these, dynamic programming calculates the value function using a state transition matrix.
[0075] Here, the state transition matrix is a matrix that probabilistically represents the change in the state ID of the plant / equipment 200 before and after the operation.
[0076] Figure 8 shows the state transition matrix in table form. The numbers in the table represent the probability of transitioning from the state ID before the operation to the state ID after the operation, given that the operation represented by the respective operation quantity ID is performed.
[0077] In this figure, for example, if an operation with manipulated variable ID a1 is performed in state ID s1 before the operation, the probability of transitioning to state ID s2 is 30%, and the probability of transitioning from state ID a2 to state ID s4 in state ID s3 is 50%. The transition probabilities in the state transition matrix are calculated from the state transition data included in the operation data.
[0078] Furthermore, in reinforcement learning and dynamic programming, the value function is calculated through convergence calculation. As initial values for the value function during convergence calculation, for example, one method is to set all element values to 0. In this embodiment, as initial values for the value function in the value calculation unit 145-1, for example, the value function stored in the value storage unit 132-2 is used as the initial values for some of the element values.
[0079] Next, we will explain the means for setting the initial value of the value function.
[0080] Figure 9 shows the value function of value storage unit 132-1 and the value function of value storage unit 132-2 side by side. This figure shows the case where the state definition tables are the same.
[0081] In this figure, the convergence calculation process in the value calculation unit 145-2 shown in Figure 2 has been completed. The resulting value function is then stored in the value storage unit 132-2. On the other hand, the convergence calculation in the value calculation unit 145-1 has not yet been performed, and most of the element values in the value function are 0.
[0082] In this example, batch control is assumed. State s4 is the initial state in device 201-2 and the final state in device 201-1. As indicated by the arrows from the lower table to the upper table in the figure, the value of the value function for state s4 stored in the value memory unit 132-2 is substituted as the initial value of the value function for state s4 for device 201-1. Subsequently, the value function is calculated based on methods such as reinforcement learning and dynamic programming, as described above.
[0083] The advantage of using a portion of the value function calculated for controlling device 201-2 as the initial value of the value function for controlling device 201-1 is that it prevents interference between learning unit 203-1 and learning unit 203-2.
[0084] For example, in a plant / equipment 200 where the behavior of equipment 201-1 and equipment 201-2 is correlated, if learning units 203-1 and 203-2 are optimized independently, the behavior of the equipment may interfere with each other, making it impossible to learn the optimal control law.
[0085] Therefore, by using a portion of the value function calculated for controlling device 201-2 as the initial value of the value function for controlling device 201-1, the control of device 201-1 can be optimized while taking into account the behavior of device 201-2. The reason this optimization is possible is that the value signal contains information about the behavior of device 201-2.
[0086] Here, we will explain the features and effects of this disclosure.
[0087] First, let me explain the challenges of conventional partitioned optimization.
[0088] Figure 10 is a schematic diagram illustrating an example of a pathfinding problem.
[0089] This diagram shows a space (maze) formed by connecting multiple states (States) located at the X and Y coordinates. Starting from state S7, state S 12 The endpoint (Goal) is defined as the state shown. If two adjacent states are separated by a boundary line represented by a dotted line, it is possible to pass through that boundary line. On the other hand, boundaries represented by thick solid lines cannot be passed through.
[0090] Furthermore, in this diagram, the system is divided into Section 1 and Section 2. Here, a section refers to the area of responsibility of the learning unit determined by the shape information of the equipment, such as when the learning unit is divided by equipment, for example, by boiler or heater. However, if the path search problem is treated as a single maze without division (section division) and the shortest path is searched using conventional optimization methods, then the shortest path, path 1, is obtained.
[0091] In contrast, if we divide the pathfinding problem in this figure into a maze divided into Section 1 and Section 2, and apply an optimization method to each section to find the shortest path, we will end up with Path 2, which is a longer route than Path 1, which is the shortest path.
[0092] The reason why the split-type optimization method outputs path 2, which is not the shortest path, is that there is a lack of information for properly optimizing section 1. The purpose of the maze in section 1 is to reach section 2. The states that can transition to section 2 are state S3 and state S9. When these two states are set as the same end point, when the optimization method is applied, the path heading toward state S9, which is closer to the starting point state S7 than state S3, is output as the shortest path. As a result, in section 2, state S 10 , which is farther from the terminal state S 12 than state S 16 , becomes the starting point. As a result, path 2 is output by the split-type optimization method.
[0093] Next, the reason why the global optimal solution (path 1) can be obtained by "propagating the expected value or value of the objective function" will be described.
[0094] In order to obtain path 1, which is the global optimal solution, it is necessary to accurately evaluate the terminal points of section 1, namely state S3 and state S9. In this case, it is a feature that the terminal points (state S3 and state S9) of section 1 are automatically evaluated using the action value function Q of section 2.
[0095] That is, in the example shown in this figure, the value is calculated starting from section 2, which is the section containing the terminal point.
[0096] FIG. 11 is a schematic diagram showing the maximum value in each state of section 2 and the action having that value.
[0097] In this figure, the initial states of section 2 are two: state S 10 and state S 16 . The value of state S 10 is 0.81, and the value of state S 16 is 0.43. It can be seen that the value of state S 10 is approximately 1.9 times higher than that of state S 16 .
[0098] Next, we calculate the value of Section 1. In this case, the values of states S3 and S9, which are the endpoint states of Section 1, are calculated as follows: 10 and state S 16 The value of each state is propagated by multiplying its value by the decay rate γ. State S3, after the value has been propagated, has a value approximately 1.9 times higher than state S9. As a result, at the branching point state S8, the action of transitioning from state S3 to state S5 ("↓") has a higher value than the action of transitioning to state S9 ("→"). Consequently, in the example shown in this figure, unlike conventional distributed state transition matrix-based control optimization methods, the shortest path, path 1, can be searched. The decay rate γ will be explained later.
[0099] Here, we will explain some of the terms used in this specification.
[0100] In this specification, the set of control unit and learning unit is referred to as an "agent." An agent, also called an intelligent agent, refers to a software agent that possesses a type of artificial intelligence function.
[0101] An objective function is the function that you want to maximize or minimize in an optimization problem. For example, if the problem is "When packing items into a bag, consider the size and weight of each item and pack it in a way that maximizes the total value of the items," then the objective function is "the sum of the values of the items packed." A reward function is also a type of objective function.
[0102] A reward function is the objective function in the field of reinforcement learning, a type of control optimization AI. The output value r of the reward function R(s) is called the "reward." The reward value increases as the state approaches the ideal state (the endpoint in a maze problem). Generally, objective functions tend to decrease gradually as the state deviates from the ideal state, but a characteristic of reward functions is that they can function even with extreme settings, such as setting the reward to 1 for the ideal state and 0 for all other states.
[0103] The expected value is the average value obtained in a single trial. The expected value can be calculated as the sum of the products of the possible values and their probabilities. The formula for calculating the expected value e is given by equation (1) below, where P is the probability of occurrence, x is the possible value, N is the number of possible values, and k is a natural number from 1 to N.
[0104]
number
[0105] The expected value of the rewards obtained, including future trials, is called "value," and the function used to calculate this value is called the "value function." s This is the output value obtained by inputting a specific state s into the value function V(s), as shown in equation (2) below.
[0106]
number
[0107] Value, in particular, serves as an evaluation of states and actions. There are two main types of value: state value and action value. State value is an evaluation of a state, while action value is an evaluation of each action within each state.
[0108] State value v i The value function, which is the formula for calculating this, is expressed by the following equation (3).
[0109]
number
[0110] Here, P z (s j │s i ) is state s i from state s j The probability of transitioning to a certain state in z actions is R(s). j) is the reward function, n is the number of state types, j is a natural number from 1 to n representing a state, and γ is the decay rate. Note that the decay rate γ is a constant between 0 and 1, and 0.9 is often used.
[0111] Furthermore, in equation (3) above, the expression other than γ in each term on the right-hand side, in other words, the expression of Σ in each term, is the expected value e z If we assume this, we can derive equation (4) below.
[0112]
number
[0113] Therefore, value can be said to be the expected value of the rewards that can be obtained, including from future trials.
[0114] Calculating value is difficult using methods other than the "state transition matrix-based control optimization method." Therefore, in reinforcement learning, an iteration-based calculation method is used. Action value can be calculated by extending the aforementioned state value calculation method and transforming it into an update formula for iteration calculation.
[0115] Regarding the value of actions, the formula for calculating state value includes the variable a related to actions. l An extended calculation formula is used, which includes (where l is a natural number from 1 to n representing an action). The function used to calculate the action value is defined as the "action value function Q". The control law is a function, matrix, or table that stores the optimal action ID (manipulated variable ID) for each state ID. In this disclosure, it is represented in the form of a matrix or table. Figure 4 illustrates this.
[0116] Figure 12A is a flowchart showing the overall optimization process.
[0117] Figure 12B is a flowchart showing the calculation process for the value function.
[0118] The specific examples of controlled objects that serve as the premise for these diagrams are as follows:
[0119] The controlled object is a machine (not shown) with two internal actuators. This section describes the high-speed startup control of this machine.
[0120] This machine completes startup when the loads of the first and second actuators reach 100%. During startup, the load of the first actuator is always increased to 100% first, followed by the increase of the load of the second actuator. Increasing the loads of the first and second actuators raises the machine's temperature, and maintaining the loads lowers the temperature. The constraint for protecting the machine and managing its lifespan is to maintain the machine's maximum temperature below 200°C. The optimization problem is to find a startup control that satisfies this constraint and increases the loads of the first and second actuators to 100% as quickly as possible.
[0121] In Figure 12A, first, the startup control optimization problem is divided into sections and agents are distributed (step S110). Here, since the first actuator and the second actuator use different states for optimization in startup control, the agents are distributed to section 1 and section 2 for each startup of the first actuator and the second actuator.
[0122] Next, the agent's state and action in each section are defined (step S120). The agent's state in Section 1 is two signals: "load of the first actuator" and "temperature of the machine," and its action is "increase or maintain the load of the first actuator." Similarly, the agent's state in Section 2 is two signals: "load of the second actuator" and "temperature of the machine," and its action is "increase or maintain the load of the second actuator."
[0123] Next, a junction is defined (step S130). Here, a junction refers to the state of the value source and the value destination. In this example, the first actuator switches from section 1 to section 2 when it reaches 100%.
[0124] Next, we define the reward function (step S140).
[0125] Next, the values of Section 2 are initialized and propagated (process S150). In this example, action values are applied. Since Section 2 does not have a state for value propagation destinations, the initial values of all action values are set to 0. Then, the reward values for all action values that have a non-zero reward value are assigned to that state.
[0126] Next, data is loaded to create a state transition model (step S160). The data consists of "state ID before transition," "action," and "state ID after transition."
[0127] Next, the value function is calculated (step S170). Details of this step will be described later.
[0128] Next, the value of the states belonging to the junctions in Section 2 is saved for propagation (step S180).
[0129] The process determines if the section number is greater than 1 (step S190). If the section number is greater than 1, the section number is reduced by one, and the process returns to step S140. On the other hand, if the section number is 1 or less, it is determined that the optimization calculation is complete.
[0130] Processes S140 to S190 are repeated the same number of times as the number of sections. Initially, the maximum number of sections is selected, and then the number of sections is decreased by one each time, and the process is repeated.
[0131] The calculation of the value function (step S170) is performed according to the process shown in Figure 12B. This figure is an example of a calculation method based on dynamic programming. The calculation of the value function (step S170) is not limited to this method and can be performed using various methods, such as reinforcement learning-based methods.
[0132] As shown in Figure 12B, first, the state transition model is calculated (step S210). The state transition model uses the data read in step S160.
[0133] Next, the state where the reward value is not 0 is saved to List 1 (step S220).
[0134] Then, two loop counters j1 and j2 are prepared, and 0 is assigned to each loop counter (step S230).
[0135] Next, create List 2 (step S240).
[0136] Next, the action value of the actions in the states stored in List 2 is updated using the update formula in dynamic programming. Then, if the action value is updated, List 3 is created, and the state corresponding to that action is added to List 3 (step S250).
[0137] Next, 1 is added to the value of the loop counter j2, and the count is incremented (step S260).
[0138] Then, the value of loop counter j2 is the number N of states included in List 2 created in process S240. list2 Determine whether the above is true (step S270). If yes, proceed to step S280. If no, return to step S250.
[0139] Next, the value of loop counter j1 is increased by 1. Then, loop counter j2 is reset by assigning 0 to it (step S280).
[0140] Then, the value of loop counter j1 is the number of states N included in List 1 created in process S220. list1 Determine whether the above is true (step S290). If yes, proceed to step S300. If no, return to step S240.
[0141] The loop counter j1 is reset by assigning 0, and list 1 is updated by assigning list 3 to list 1 (step S300).
[0142] The number of states N included in List 3 created in process S250. list3 If N is 0, the value function flow ends and the process returns to step S180 in Figure 12A. list3 If the result is greater than 0, return to step S240.
[0143] As shown in Figures 12A and 12B, despite independently optimizing the control in Section 1 and Section 2, the fastest startup, which is the global optimal solution, can be achieved through value propagation.
[0144] As mentioned above, the controlled devices operate sequentially, starting with device 201-1, and finally with device 201-N. Therefore, the higher the initial value of device 201-2, the higher the probability of obtaining a high reward from later operating devices. If learning units 203-1 and 203-2 are optimized independently, the control of device 201-1 may result in device 201-2 having a low initial value as its final state. This interference between device 201-1 and device 201-2 leads to suboptimal control of the entire plant / equipment 200. By substituting the initial value of device 201-2's initial state into the initial value of device 201-1's final state, the control of device 201-1 can aim to control the final state of device 201-2 to the extent possible, so that it can obtain a high reward in the future. In this way, interference between learning units 203-1 and 203-2 can be prevented by utilizing value. [Examples]
[0145] Example 2 describes means for setting the initial value of the value function other than the example shown in Figure 9 of Example 1.
[0146] Figure 13 shows an example where the state definition table for value storage unit 132-1 and the state definition table for value storage unit 132-2 are different.
[0147] Figure 14A shows an example of a state definition table for the value storage unit 132-1.
[0148] Figure 14B shows an example of a state definition table for the value storage unit 132-2.
[0149] In Figure 14A, the state definition table of the value storage unit 132-1 assigns a state ID to a combination of three process values: steam temperature, steam temperature change rate, and drum water level.
[0150] On the other hand, in Figure 14B, the state definition table of the value storage unit 132-2 assigns a state ID to a combination of three process values: steam temperature, pressure, and flow rate.
[0151] The process value that is common to both the state definition table of value storage unit 132-1 and the state definition table of value storage unit 132-2 is the steam temperature.
[0152] In the example in Figure 13, if the initial state of device 201-2 is state s4, then the final state of device 201-1 is defined as state s'3. In this case, in the example in Figure 13, using the same approach as in Figure 9, the value of the value function of state s4 stored in the value storage unit 132-2 is substituted as the initial value of state s'3 of the value function for device 201-1.
[0153] Figure 15 shows another example where the state definition table for value storage unit 132-1 and the state definition table for value storage unit 132-2 are different.
[0154] In this figure, the state definition table for value storage unit 132-1 and the state definition table for value storage unit 132-2 are different, and furthermore, the initial state in value storage unit 132-2 corresponds to multiple state IDs in the state definition table of value storage unit 132-1.
[0155] Figure 16A shows an example of a state definition table for the value storage unit 132-1.
[0156] Figure 16B shows an example of a state definition table for the value storage unit 132-2.
[0157] If the initial state of device 201-2 is state s4, then the final states of device 201-1 correspond to states s'2 and s'4. Therefore, in the example in Figure 15, the value of state s4 of the value function stored in the value storage unit 132-2 is substituted as the initial values of states s'2 and s'4 of the value function for device 201-1.
[0158] Figure 17 shows an example where the operation quantity definition tables for value storage unit 132-1 and value storage unit 132-2 are different.
[0159] In this example, 8.1, which is the maximum value among the values corresponding to state s4 in the value function stored in the value memory unit 132-2, is substituted as the initial value of all manipulated variables corresponding to state s4 in the value function for device 201-1.
[0160] Figure 18 shows an example where the state definition table and manipulated variable definition table for value storage unit 132-1 and value storage unit 132-2 are different.
[0161] In this example, it is known in advance that the initial state of device 201-2 is state s'4 and the final state of device 201-1 is state s2. In this case, 8.1, which is the maximum value among the values corresponding to state s'4 in the value function stored in the value memory unit 132-2, is substituted as the initial value of all manipulated variables corresponding to state s2 in the value function for device 201-1.
[0162] The value function stored in the value memory unit 132-2, with its maximum value of 8.1 corresponding to state s4, is used as the initial value for all manipulated variables corresponding to state s4 in the value function for device 201-1.
[0163] The following describes preferred embodiments related to this disclosure.
[0164] The objective function is calculated based on pre-training. Here, pre-training refers to the computational processing in the downstream learning unit (e.g., learning unit 203-2) that is performed prior to the computational processing in the upstream learning unit (e.g., learning unit 203-1).
[0165] The learning unit corresponding to the upstream phase uses the downstream optimization data as the final state, which is the optimization data held by the learning unit corresponding to the upstream phase, and outputs the control law of the learning unit corresponding to the upstream phase. Here, the downstream optimization data is the optimization data held by the learning unit that calculates the control law of the downstream phase among multiple phases.
[0166] The agent is divided into parts that correspond to one or more of the multiple phases.
[0167] The agent has one control unit and one learning unit, and it can handle all of the multiple phases.
[0168] The learning unit calculates optimization data using a state transition matrix-based control optimization method.
[0169] State transition matrix-based control optimization methods employ at least one of the following: statistical modeling or series analysis.
[0170] Multiple phases are interconnected, and one phase within the multiple phases is affected by the other phases within the multiple phases. A specific example is a combined cycle plant including a steam turbine and a heat recovery boiler, where steam generated in the heat recovery boiler is sent to the upstream steam turbine. In such cases, if the temperature and flow rate fluctuate over time, one phase will be affected by the other phases. Even in such cases, the technology of this disclosure is applicable if the influence transmitted from the downstream phase to the upstream phase can be controlled to be negligible.
[0171] Multiple phases are connected in series.
[0172] A phase is a component of a system. Here, a system refers to something composed of multiple components, and may include, for example, a gas turbine, steam turbine, heat recovery boiler, etc., as in a combined cycle plant. A phase may also be a part of a program used for control, etc., that constitutes a predetermined phase in that control, etc., or it may be a predetermined scene in a game, etc., controlled by the program.
[0173] Between the upstream and downstream phases, there is another phase that is part of multiple phases.
[0174] The learning unit has a configuration that is divided into two or more parts, enabling parallel processing. [Explanation of symbols]
[0175] 100: Processing system, 110: Input device, 115: Data reading device, 120: Output device, 130: Memory device, 131: Operation data storage unit, 132: Value storage unit, 133: Control law storage unit, 134: Learning information storage unit, 140: Calculation unit, 141: Input control unit, 142: Output control unit, 143: State acquisition unit, 144: Manipulated variable calculation unit, 145: Value calculation unit, 146: Control law calculation unit, 147: Reward acquisition unit.
Claims
1. Each of the multiple phases is, A learning unit that outputs a control law for the phase based on an action-value function that associates multiple states in the phase with the expected value of the reward for each state transition that occurs due to each of multiple manipulated variables in each state of the phase. A control device comprising an agent having a control unit that acquires the state in the phase and outputs an manipulated variable for the phase based on the control law, In the aforementioned plurality of phases, in the phases that have an upstream-downstream relationship, the first state within the upstream phase and the second state within the downstream phase are defined as a junction of the phases that have an upstream-downstream relationship. A control device that sets the expected value of the reward associated with the first state in the action-value function in the upstream phase, using the expected value of the reward associated with the second state in the action-value function calculated in the downstream phase.
2. The control device according to claim 1, wherein the learning unit corresponding to the upstream phase uses the downstream optimization data, which is the optimization data held by the learning unit that calculates the control law for the downstream phase among the plurality of phases, as the upstream optimization data held by the learning unit corresponding to the upstream phase and represents the final state, and outputs the control law of the learning unit corresponding to the upstream phase.
3. The control device according to claim 1, wherein the agent is divided into those corresponding to one or more of the plurality of phases.
4. The control device according to claim 1, wherein the agent has one control unit and one learning unit, and corresponds to all of the plurality of phases.
5. The control device according to claim 1, wherein the learning unit calculates optimization data held by the learning unit using a state transition matrix-based control optimization method.
6. The control device according to claim 5, wherein the state transition matrix-based control optimization method uses at least one of statistical modeling and series processing.
7. The aforementioned multiple phases are connected to each other, The control device according to claim 1, wherein one phase included in the plurality of phases is affected by the other phases included in the plurality of phases.
8. The control device according to claim 7, wherein the plurality of phases are connected in series.
9. The control device according to claim 7, wherein the aforementioned phase is a device constituting the system.
10. The control device according to claim 7, wherein another phase included in the plurality of phases is arranged between the upstream phase and the downstream phase.
11. The control device according to claim 1, wherein the learning unit has a configuration divided into two or more parts capable of parallel processing.
Citation Information
Patent Citations
Starting prediction control device for plant
JP2003269112A
Plant control support device, plant control support method, plant control support program, and recording medium
JP2019020885A
Future state estimation device and future state estimation method
JP2019159876A
Output device, control device, and method of outputting evaluation function value
JP2020004080A
Device, method, program, and recording medium
JP2020027556A
