Control program, device, and method

By calculating control values based on past performance and adjusting weights, the system maintains the controlled object within a target range, addressing inaccuracies in model predictions and improving responsiveness.

JP7563229B2Active Publication Date: 2024-10-08FUJITSU LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2021028660
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-02-25
Publication Date
2024-10-08
Estimated Expiration
2041-02-25

AI Technical Summary

Technical Problem

Existing control systems struggle to keep a controlled object within a target range due to inaccurate model predictions, requiring extensive training data and computational resources to refine the model, which hinders adaptive response.

Method used

The system adapts by calculating control values based on past performance and comparing them to a specific range, adjusting weights to correct control inputs, allowing for precise control without extensive model refinement.

Benefits of technology

This approach enables adaptive control to maintain the controlled object within the target range effectively, reducing the risk of deviations and enhancing responsiveness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007563229000002
    Figure 0007563229000002
  • Figure 0007563229000003
    Figure 0007563229000003
  • Figure 0007563229000004
    Figure 0007563229000004
Patent Text Reader

Abstract

To conduct control to make a control object being within a specific range adaptively.SOLUTION: A control device, for example, compensates Λ(1) corresponding to yini(1) closest to yini(4) among relationships between yini(k) and Λ(k)(k=1,2,3) that has already been stored in a weight DB at a time k=4 according a degree of track records yini(4) to yk of subject data exceeding a target range to calculate Λ(4), stores it associated with yini(4), calculates a weight Λ corresponding to yini that is a value closest to a track record yk of the subject data among yini stored in the weight DB as a weight R to be used to calculate a control value uk, calculates a control value using a predicted value of the subject data and the weight R, then input it to a processing unit to control the control object.SELECTED DRAWING: Figure 7
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The disclosed technology relates to the technical field of control of a control target. [Background technology]

[0002] 2. Description of the Related Art Conventionally, there exists a technique for controlling data of a control target so that the data falls within a target range, using a prediction result based on a model generated by machine learning or the like.

[0003] For example, a model predictive control device has been proposed that includes a feedback processing unit, feeds back actual measured values ​​of state quantities or controlled quantities of a controlled object, and corrects the search range or predicted value in an optimal manipulated variable search unit and the estimated value in an internal state estimation unit with the actual measured values. That is, this device sets a calculation range of the manipulated variable by a manipulated variable candidate calculation unit based on the actual measured values ​​of the fed back state quantities or controlled quantities, thereby eliminating unnecessary calculations. This device also corrects the manipulated variable candidates that are input to the model prediction unit, the controlled variables that are output, or the optimal controlled variables that are input to the controlled object, and further corrects the output from the internal state estimation unit, thereby improving prediction accuracy.

[0004] Also, for example, a control device for an internal combustion engine has been proposed that calculates an optimal manipulated variable by model predictive control using a simple plant model. This device calculates a history of predicted values ​​of controlled variables in a predetermined past period using a linear plant model from a history of command values ​​or actual values ​​of controlled variables in a predetermined past period. This device also acquires a history of actual values ​​of controlled variables in a predetermined past period, and calculates parameters of an LPV error function based on a history of differences between predicted values ​​and actual values ​​of controlled variables in a predetermined past period. This device then corrects the linear plant model using the LPV error function, and calculates a command value of the controlled variable in the next step or a predetermined period thereafter by model predictive control using the corrected linear plant model.

[0005] Also proposed is a system comprising, for example, a blood glucose sensor, an insulin infusion device and a control unit for predicting the future evolution of the patient's blood glucose level from a physiological model and for controlling the insulin infusion device by taking into account said prediction. The control unit performs a step of automatic calibration of the physiological model by taking into account the history of blood glucose levels measured by the sensor during a past observation period. At the end of the calibration step, the control unit also determines whether the model is satisfactory or not based on at least one numerical indicator representative of the error between the blood glucose level estimated on the basis of the model and the actual blood glucose level measured by the sensor. If the quality of the model is not satisfactory, the control unit controls the insulin infusion device without taking into account the prediction made from the model. [Prior art documents] [Patent documents]

[0006] [Patent Document 1] JP 2006-172364 A [Patent Document 2] JP 2013-142376 A [Patent Document 3] US Patent Application Publication No. 2020 / 0015738 Summary of the Invention [Problem to be solved by the invention]

[0007] When controlling the data of a control object to be within a target range using the prediction results of a model, the data of the control object may not fall within the target range. One of the causes of this is that the model prediction is incorrect. In this case, in order to bring the data of the control object into the target range, it is possible to refine the model to improve the prediction accuracy. However, in order to improve the prediction accuracy of the model, for example, when refining the model using a statistical method, a large amount of training data and a large amount of processing are required, and there is a problem that it is not possible to adaptively respond during the control of the control object.

[0008] In one aspect, the disclosed technology aims to adaptively perform control to keep a control target within a specific range. [Means for solving the problem]

[0009] In one aspect, the disclosed technology obtains performance data of an object that varies in response to control by a system, and calculates a weight for a control value to be input to the system in response to a comparison between the performance data and a specific range. The disclosed technology also calculates the control value based on the performance data and the weight, and inputs the calculated control value to the system to control the object. Effect of the Invention

[0010] One aspect is that it has an effect of being able to adaptively control a control target to be within a specific range. [Brief description of the drawings]

[0011] [Figure 1] FIG. 2 is a block diagram showing a schematic configuration of a control system. [Diagram 2] FIG. 1 is a diagram for explaining an application example of blood glucose level control by insulin administration. [Diagram 3] FIG. 2 is a functional block diagram of a control device. [Figure 4] 13 is a diagram for explaining a case where the performance of the target data does not fall within a target range. FIG. [Diagram 5] 11 is a diagram for explaining the processing of a weight learning unit; FIG. [Figure 6] FIG. 13 is a diagram illustrating an example of a weight DB. [Figure 7] 11 is a diagram for explaining the processing of a weight learning unit; FIG. [Figure 8] FIG. 13 is a diagram showing an example of the relationship between yini and Λ stored in a weight DB. [Figure 9] FIG. 2 is a block diagram showing a schematic configuration of a computer functioning as a control device. [Figure 10]10 is a flowchart illustrating an example of a control process. [Figure 11] 13 is a flowchart illustrating an example of a weight learning process. [Figure 12] 13A and 13B are diagrams illustrating an example of a control result when learning and calculation of weights for control values ​​are not performed. [Figure 13] 13 is a diagram showing a comparison between predicted values ​​and actual results of target data in a case where learning and calculation of weights for control values ​​are not performed. FIG. [Figure 14] FIG. 11 is a diagram showing an example of a control result according to the present embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] Hereinafter, an example of an embodiment of the disclosed technology will be described with reference to the drawings. Note that in the following embodiment, a case of blood glucose level control by insulin administration will be described as an application example of the disclosed technology, but the application example is not limited thereto.

[0013] As shown in FIG. 1, a control system 100 according to this embodiment includes a control device 10, a measurement device 30, and a processing device 32. The measurement device 30 measures and outputs data of a control target (hereinafter referred to as "target data"). The processing device 32 executes a predetermined process for controlling the control target based on a control value calculated by the control device 10. The control device 10 predicts future target data using the track record of the target data, and calculates a control value to be input to the processing device 32 based on the prediction result so that the target data falls within a target range. The control target is an example of a "target" in the disclosed technology, and the target range is an example of a "specific range" in the disclosed technology.

[0014] In the case of an application example of blood glucose control by insulin administration, the control target is the blood glucose level of the patient, the measurement device 30 is, for example, a blood glucose meter that measures the blood glucose level of the patient, and the processing device 32 is, for example, an insulin pump that administers insulin to the patient. The blood glucose level of the patient fluctuates depending on the amount of insulin administered, etc. In this application example, for example, as shown in FIG. 2, when the predicted value of the blood glucose level predicted based on the actual blood glucose level exceeds the upper limit of the target range, the blood glucose level is lowered by administering insulin, and control is performed so that the blood glucose level falls within the target range. On the other hand, when the predicted value of the blood glucose level exceeds the lower limit of the target range, control is performed so that the blood glucose level is raised by reducing the amount of insulin administered, and the blood glucose level falls within the target range. Specifically, based on the blood glucose level of the patient measured by the blood glucose meter, which is the measurement device 30, the control device 10 calculates a control value indicating the amount of insulin administered. Then, based on the calculated control value, insulin is administered to the patient by the insulin pump, which is the processing device 32. Note that the bar graph in the upper diagram of FIG. 2 represents the actual blood glucose level, which is the target data. In addition, in this application example, the target range is, for example, an allowable blood glucose level range. Figure 2 also includes data on the amount of carbohydrate intake, which affects blood sugar levels, but we will not explain this here.

[0015] 3, the control device 10 functionally includes an acquisition unit 11, a prediction unit 12, a weight learning unit 13, a weight calculation unit 14, and a control value calculation unit 15. A prediction model 21 and a weight DB (Database) 22 are stored in a predetermined storage area of ​​the control device 10.

[0016] The acquisition unit 11 acquires the performance of an object that varies according to the control by the control system 100. Specifically, the acquisition unit 11 acquires object data measured by the measuring device 30. The acquisition unit 11 passes the acquired object data to each of the prediction unit 12, the weight learning unit 13, and the weight calculation unit 14.

[0017] The prediction unit 12 predicts the value of the target data at a time after the time to control the control target (hereinafter referred to as a "predicted value") based on the prediction model 21, the actual results of the target data transferred from the acquisition unit 11, and the control value calculated by the control value calculation unit 15 described later. Hereinafter, the time to control the control target is referred to as a "control time". In addition, in this embodiment, the calculation time of the control value, the time when the control value is input to the processing device 32, and the time when the processing device 32 executes the process to control the control target are the same, and all of these times are referred to as the control time. The prediction model 21 is generated in advance by machine learning so that, when the actual results and the control value of the target data at a certain time are input, a predicted value of the target data after that time is output. For example, the prediction model 21 may be configured to output a predicted value under the constraints of the following formulas (1) and (2).

[0018] x k+1 =Ax k +Bu k (1) y k =Cx k (2) k is an index indicating a time. In the following, the time indicated by index k is referred to as "time k". y k is the actual data at time k, u k is the control value at time k, x k is a predicted value of the target data at time k. Furthermore, A, B, and C are parameter matrices determined by machine learning. The prediction unit 12 predicts a predicted value of the target data at each of a plurality of times after the control time using the prediction model 21. That is, the prediction unit 12 executes long-term prediction of the target data. For example, the prediction unit 12 sets the period of the long-term prediction to h, and predicts the predicted value x k+i (i=0, 1, . . . , h). The prediction unit 12 passes the predicted value of the target data to the control value calculation unit 15.

[0019] The control value calculation unit 15 calculates the control value based on the predicted value and weight (described in detail later) received from the prediction unit 12. Specifically, the control value calculation unit 15 calculates the control value by optimizing an objective function including a term for optimizing the predicted value of the target data so that it falls within a target range and a term for optimizing the input plan of the control value. For example, the objective function may be the following formula (3).

[0020]

number

[0021] The first term in equation (3) is a term for optimizing the predicted value of the target data so that it falls within the target range, and the second term is a term for optimizing the input plan of the control value. N represents the final input timing of the control value input plan between times k and k+h. For example, when control values ​​are input at times k, k+j, and k+N, i in the second term is i=0, j, and N. Q is a weight for the predicted value of the target data, R is a weight for the control value, and T represents transposition. The control value calculation unit 15 calculates the predicted value x of the target data passed from the prediction unit 12. k+i (i=0, 1, . . . , h) and the weight R transferred from the weight calculation unit 14 are substituted into the objective function of equation (3), and the control value u k+i Calculate.

[0022] The control value calculation unit 15 calculates the control value u k+i The control value u for the control time k is k The control value calculation unit 15 outputs the calculated control value u k+i to the prediction unit 12 for use in long-term prediction of the target data at the next control time.

[0023] Here, if the control value calculated by the control value calculation unit 15 is not appropriate, the actual results of the target data will not fall within the target range, as shown in Fig. 4. The example in Fig. 4 shows an example of a control target in which the value of the target data decreases as the control value increases. For example, this is an example of blood glucose level control by insulin administration, in which the blood glucose level, which is the control target, decreases by administering insulin. In this example, it is considered that the control value input at time t3 was too large, so that the actual results of the target data decreased too much and fell far below the target range. It is considered that the reason why a control value that causes the actual results of the target data to exceed the target range is calculated in this way is that the long-term prediction of the target data is incorrect.

[0024] Therefore, a simply assumed method for keeping the target data within the target range is to improve the accuracy of the long-term prediction of the target data by the prediction unit 12. In order to improve the prediction accuracy, for example, it is possible to refine the prediction model 21 using a statistical approach. However, this approach requires a large amount of training data for executing machine learning of the prediction model 21. For example, in the case of the prediction model 21 with the constraints of equations (1) and (2), the number of parameters to be determined is the total number of elements of the parameter matrices A, B, and C. For example, x k If is four-dimensional, A has 4×4 elements, B has 4×1 elements, and C has 4×1 elements, so a total of 24 parameters must be determined. It takes some time to collect a large amount of training data to determine such a large number of parameters. Depending on the control target, it may be necessary to respond adaptively before a sufficient amount of training data is collected. For example, in an application example of blood glucose control by insulin administration, if the blood glucose level exceeds the target range on the hyperglycemic side, arteriosclerosis may cause cerebral infarction, myocardial infarction, gangrene, etc. Also, if the blood glucose level exceeds the target range on the hypoglycemic side, hypoglycemia may directly put the patient's life at risk. In order to avoid such a situation, adaptive responses are required to keep the target data within the target range.

[0025] Therefore, the control device 10 according to the present embodiment adaptively corrects the direct control value through an optimization problem that calculates the control value based on the past control results prior to the current control time. Specifically, the control device 10 corrects the weighting for the control value in optimization, for example, R in the case of the objective function of equation (3). As described above, the control value u k Because the target data is outside the target range when is too large or too small, u k More specifically, in the example of formula (3), when R increases, the control device 10 adjusts u k When R becomes smaller, u k By utilizing the increase in R, R is corrected. In this case, since there is only one parameter to be corrected, it is possible to respond adaptively compared to the case where the prediction model 21 is refined by a statistical approach as described above. Hereinafter, the weight learning unit 13 and the weight calculation unit 14 related to the calculation of the weights will each be described in detail.

[0026] The weight learning unit 13 learns the relationship between the performance of the target data at a predetermined time and the weight corresponding to the performance. That is, this relationship is for determining the weight for the control value calculated at a predetermined time based on the performance of the target data at that time. The weight learning unit 13 uses a weight corrected based on the performance for a predetermined period from the predetermined time as the weight determined in this relationship. Specifically, the weight learning unit 13 specifies a weight associated with the performance with the closest value to the performance at the time before the control time in the already learned relationship for each control time. Then, the weight learning unit 13 adds the correspondence between the weight corrected in response to a comparison between the performance for a predetermined period from the time before the control time and the target range and the time before the control time in the already learned relationship.

[0027] The processing of the weight learning unit 13 will be described in more detail. As shown in FIG. 5, the weight learning unit 13 calculates the performance of the target data at the time kh one period (h) before the control time k by y ini (k), and the performance of the target data at time k is y kThen, the weight learning unit 13 calculates y ini (k) is associated with the time index k and stored in the weight DB 22. An example of the weight DB 22 is shown in FIG. 6. In the example of FIG. 6, the weight DB 22 stores y ini In addition, the weights in the weight DB 22 are marked with the symbol "Λ (lambda)" to distinguish them from the weight R used to calculate the control value at the control time. Here, as shown by the dashed line in the upper diagram of FIG. 6, k and y ini (k) are stored in the weight DB 22 in association with each other.

[0028] The weight learning unit 13 uses the y ini Of these, y ini (k) and the closest value of y ini Specify the weight Λ(ind1) corresponding to (ind1). Note that ind1 is y ini (k) and the closest value of y ini For example, when the control time k=4, the weight DB 22 already stores y ini When y(k) and Λ(k) are stored, ini The relationship between y(k) and Λ(k) is shown in FIG. 7. In FIG. 7, black circles represent y ini 7. In this case, the weight learning unit 13 calculates the relationship between y(k) and Λ(k) (k=1, 2, 3) as shown by the white circles in FIG. ini (4) The value of y that is closest to ini Identify Λ(1) corresponding to (1) and temporarily adopt it as Λ(4).

[0029] As shown in Fig. 5, the weight learning unit 13 calculates an index α indicating the degree to which the performance of the target data during the period from time kh to time k exceeds the upper limit of the target range, and an index β indicating the degree to which the performance exceeds the lower limit of the target range. The index α may be a value corresponding to the area of ​​the diagonal line portion in Fig. 5. The index β may be a value corresponding to the area of ​​the meshed portion in Fig. 5. For example, the index α is calculated by multiplying the performance y of the target data at each time r during the period from time kh to time k by the following formula (4): rAmong them, it may be the mean square error of the performance exceeding the upper limit U of the target range. Similarly, as shown in the following formula (5), the index β is the mean square error of the performance of the target data y r Among them, it may be the mean square error of the performance falling below the lower limit L of the target range.

[0030] α = ||y r (y r (y > U) - U|| (4) β = ||L - y r (y r (y < L)|| (5) Note that y in formula (4) r (y r (y > U) represents y exceeding the upper limit U r and y in formula (5) r (y r (y < L) represents y falling below the lower limit L r .

[0031] The weight learning unit 13 corrects the specified Λ(ind1) based on the calculated index α and index β, and calculates Λ(k) for storing in the weight DB 22. Specifically, the weight learning unit 13 corrects Λ(ind1) so that the target data becomes smaller according to the magnitude of the index α, and corrects Λ(ind1) so that the target data becomes larger according to the magnitude of the index β. In the application example of blood glucose level control by insulin administration, when the target data becomes smaller as the control value becomes larger, the weight learning unit 13 corrects Λ(ind1) to be smaller so as to increase the control value as the index α becomes larger, and calculates Λ(k). Similarly, the weight learning unit 13 corrects Λ(ind1) to be larger so as to decrease the control value as the index β becomes larger, and calculates Λ(k).

[0032] For example, when α is larger than β (including the case where β is 0), the weight learning unit 13 may calculate the corrected Λ(k) according to the following formula (6). Also, when β is larger than α (including the case where α is 0), the weight learning unit 13 may calculate the corrected Λ(k) according to the following formula (7). Also, when both α and β are 0, that is, the actual performance y of the target data at each time r in the period from time k - h to time kr If both are within the target range, Λ(ind1) may be used as Λ(k) as is, as shown in the following equation (8).

[0033] When α>β≧0 Λ(k) =Λ(ind)+(α-β) / N1×(0-Λ(ind1)) (6) When β>α≧0 Λ(k) =Λ(ind)+(β-α) / N2×(Rmax-Λ(ind1)) (7) When α=0 and β=0 Λ(k)=Λ(ind) (8)

[0034] Here, N1 and N2 are normalization constants. Furthermore, Rmax is the maximum value that can be set as the weight R. Note that the above calculation method of Λ(k) and case distinction are merely examples, and these can be appropriately changed according to the properties of the controlled object. For example, in the case of an application example of blood glucose control by insulin administration, since there is a high risk of hypoglycemia, i.e., when the target data falls below the target range, even if α>β, if β>0, the following formula (9) may be adopted. Λ(k) =Λ(ind)+β / N2×(Rmax-Λ(ind1)) (9)

[0035] As shown in FIG. 7, in the case of the above-mentioned example of control time k=4, the weight learning unit 13 applies the specified Λ(1) (white circle in FIG. 7) to the performance y ini (4)~y k The weight learning unit 13 corrects y(k) in accordance with the degree to which it exceeds the target range, and calculates Λ(4) (the shaded circle in FIG. 7). As shown by the dashed line in the lower diagram of FIG. 6, the weight learning unit 13 stores the calculated Λ(k) in the weight DB 22 in association with the time index k. The weight learning unit 13 repeats the above process for each control time k, thereby obtaining y ini A plurality of relationships between y and Λ are stored in the weight DB 22. ini An example of the relationship between y and Λ is shown in Fig. 8. In the example of Fig. 8, one circle corresponds to one y iniand Λ.

[0036] where y ini The relationship between and Λ can be expressed as Λ=f(y ini However, y ini can only be obtained with a finite number of trials, and not all continuous values ​​can be obtained. In addition, it is unclear what kind of function should be prepared as f(·) because there is no prior knowledge on this matter. If an appropriate function f(·) is not used, the corrected Λ cannot be calculated appropriately, resulting in a deterioration of control performance. On the other hand, the control device 10 according to this embodiment calculates y at control time k as described above. ini (k) and the closest past value of y ini Correct Λ for y based on the actual data. ini and the corrected Λ is stored. Then, the control device 10 repeats this process at each control time k, thereby making it possible to express an arbitrary f(·) and suppress deterioration of control performance.

[0037] The weight calculation unit 14 calculates a weight corresponding to the currently acquired result based on the relationship between the past results of the target data stored in the weight DB 22 and the weight corresponding to the past results. ini Of these, the actual data y at control time k k and the closest value of y ini The weight Λ(ind2) corresponding to (ind2) is the control value u k The weight R is used to calculate y k and the closest value of y ini This is equivalent to calculating the weight R according to the target data from time k to k+h based on the past control results.

[0038] The weight calculation unit 14 passes the calculated weight R to the control value calculation unit 15. As a result, as described above, the control value calculation unit 15 calculates a control value using the weight R. The weight R is selected from the weights Λ stored in the weight DB 22, and this Λ ​​is corrected by comparing the actual results of the target data with the target range. Therefore, by calculating the control value using the weight R, it is possible to control the target data to fall within the target range.

[0039] The control device 10 can be realized by, for example, a computer 40 shown in Fig. 9. The computer 40 includes a CPU (Central Processing Unit) 41, a memory 42 as a temporary storage area, and a non-volatile storage unit 43. The computer 40 also includes an input / output device 44 such as an input unit and a display unit, and an R / W (Read / Write) unit 45 that controls reading and writing of data from and to a storage medium 49. The computer 40 also includes a communication I / F (Interface) 46 that is connected to a network such as the Internet. The CPU 41, the memory 42, the storage unit 43, the input / output device 44, the R / W unit 45, and the communication I / F 46 are connected to one another via a bus 47.

[0040] The storage unit 43 can be realized by a hard disk drive (HDD), a solid state drive (SSD), a flash memory, or the like. A control program 50 for causing the computer 40 to function as the control device 10 is stored in the storage unit 43 as a storage medium. The control program 50 has an acquisition process 51, a prediction process 52, a weight learning process 53, a weight calculation process 54, and a control value calculation process. The storage unit 43 also has an information storage area 60 in which information constituting each of the prediction model 21 and the weight DB 22 is stored.

[0041] The CPU 41 reads out the control program 50 from the storage unit 43, expands it in the memory 42, and sequentially executes the processes of the control program 50. The CPU 41 operates as the acquisition unit 11 shown in FIG. 3 by executing the acquisition process 51. The CPU 41 also operates as the prediction unit 12 shown in FIG. 3 by executing the prediction process 52. The CPU 41 also operates as the weight learning unit 13 shown in FIG. 3 by executing the weight learning process 53. The CPU 41 also operates as the weight calculation unit 14 shown in FIG. 3 by executing the weight calculation process 54. The CPU 41 also operates as the control value calculation unit 15 shown in FIG. 3 by executing the control value calculation process 55. The CPU 41 also reads out information from the information storage area 60 and expands each of the prediction model 21 and the weight DB 22 in the memory 42. As a result, the computer 40 that has executed the control program 50 functions as the control device 10. The CPU 41 that executes the program is hardware.

[0042] The functions realized by the control program 50 can also be realized by, for example, a semiconductor integrated circuit, more specifically, an ASIC (Application Specific Integrated Circuit) or the like.

[0043] Next, the operation of the control system 100 according to this embodiment will be described. When the measurement device 30 starts measuring and outputting the target data, the control device 10 executes the control process shown in Fig. 10 at each control time k. The control process is an example of a control method of the disclosed technology. In the control process below, an example will be described in which the target data is controlled to be smaller as the control value increases, as in the case of blood glucose level control by insulin administration.

[0044] In step S10, the acquisition unit 11 acquires one period of long-term prediction of the target data, that is, the actual results of the target data at each time from time kh to time k. Next, in step S20, the weight learning unit 13 executes a weight learning process. Here, the weight learning process will be described with reference to FIG.

[0045] In step S21, the weight learning unit 13 calculates the result y of the target data at the time kh from among the results of the target data acquired in step S10. ini (k) is stored in the weight DB 22 in association with the time index k.

[0046] Next, in step S22, the weight learning unit 13 calculates the performance y of the target data for the period from time kh to time k. ini (k)~y k Next, in step S23, the weight learning unit 13 calculates an index α indicating the degree to which y exceeds the upper limit of the target range, and an index β indicating the degree to which y exceeds the lower limit of the target range. ini Of these, y ini (k) and the closest value of y ini Identify the weight Λ(ind1) corresponding to (ind1).

[0047] Next, in step S24, weight learning unit 13 determines whether β is equal to or greater than 0 and α is greater than β. That is, it determines whether the degree to which the performance data exceeds the upper limit of the target range is large. If α>β≧0, the process proceeds to step S25, and if α≦β, the process proceeds to step S26. In step S25, weight learning unit 13 corrects Λ(ind1) to be smaller in order to increase the control value, and calculates Λ(k).

[0048] On the other hand, in step S26, weight learning unit 13 determines whether α is equal to or greater than 0 and β is greater than α. That is, it determines whether the degree to which the performance data exceeds the lower limit of the target range is large. If β>α≧0, the process proceeds to step S27, and if α=β=0, the process proceeds to step S28. In step S27, weight learning unit 13 corrects Λ(ind1) to be larger in order to reduce the control value, and calculates Λ(k).

[0049] In step S28, the weight learning unit 13 sets Λ(ind1) as Λ(k) as it is. Note that, when α=β>0, if the risk of the target data exceeding the upper limit of the target range is high, the weight learning unit 13 may be pre-determined to execute the process of step S25. Also, if the risk of the target data exceeding the lower limit of the target range is high, the weight learning unit 13 may be pre-determined to execute the process of step S27. Furthermore, if the risk of exceeding the upper limit and the risk of exceeding the lower limit are equivalent, the weight learning unit 13 may be pre-determined to execute the process of step S28.

[0050] Next, in step S29, weight learning unit 13 stores Λ(k) calculated in step S25, S27, or S28 in weight DB 22 in association with time index k, ends the weight learning process, and returns to the control process (FIG. 10).

[0051] Next, in step S32, the weight calculation unit 14 calculates y ini Of these, the actual data y at control time k k and the closest value of y ini The weight Λ(ind2) corresponding to (ind2) is the control value u k Next, in step S34, the prediction unit 12 calculates the predicted value x of the target data at each of the times k, k+1, . . . , k+h by using the actual result of the target data acquired in step S10 and the control value calculated at the previous control time. k+i Predict (i = 0, 1, , h).

[0052] Next, in step S36, the control value calculation unit 15 calculates the predicted value x k+i Based on the weight R calculated in step S32, the control value u k+i Then, the control value calculation unit 15 calculates the calculated control value u k+i Of these, u k The control object is controlled by inputting the control value u k+iis passed to the prediction unit 12 for use in long-term prediction of the target data at the next control time, and the control process ends.

[0053] As described above, according to the control system of this embodiment, the control device acquires the track record of the target that varies in response to control by the system, and calculates a weight for the control value to be input in response to a comparison between the track record and a specific range. The control system then calculates a control value based on the track record and the weight, inputs the calculated control value into the system, and controls the target. This makes it possible to adaptively control the target to be controlled within a specific range without refining the prediction model, even if the prediction of the target data using the prediction model is incorrect.

[0054] Here, the control results when the disclosed technology is applied to blood glucose level control by insulin administration will be described. First, for comparison, FIG. 12 shows an example of the control result when weights for the control value are not learned and calculated. In FIG. 12, blood glucose level is the target data, and bolus insulin is an example of the control value. Note that in FIG. 12, ingested glucose is the amount of glucose ingested through meals, and is a factor that affects fluctuations in blood glucose level. The same applies to the amount of ingested carbohydrates in FIG. 2 described above. In this way, when there are factors other than the control value that affect fluctuations in the target data, the constraint equation (1) in the above prediction model can be changed to the following equation (10) by taking into account the values ​​z of other factors: k We can change the equation to one that takes into account the above. Note that D is a parameter matrix. x k+1 =Ax k +Bu k +Dz k (10) In Fig. 12, there are many times when the blood glucose level, which is the target data, is outside the target range, particularly when it is below the lower limit of the target range. In the example of Fig. 12, Fig. 13 shows a comparison of the predicted values ​​and actual results of the target data predicted at each of two certain times. At each time, there is a large discrepancy between the predicted values ​​and actual results, which is thought to be the reason why the blood glucose level, which is the target data, is outside the target range.

[0055] Fig. 14 shows an example of the control result when learning and calculating the weight for the control value as in this embodiment. It can be seen that the time and the degree to which the blood glucose level, which is the target data, is outside the target range are reduced compared to the example in Fig. 12. For example, in the example in Fig. 14, a correction is made to increase the weight Λ corresponding to the part indicated by A based on the fact that the actual result of the target data is below the target range. Then, by using this Λ ​​in the calculation of the weight R thereafter, the insulin dosage is suppressed, and the degree of hypoglycemia can be reduced, for example, as shown in the part indicated by B.

[0056] In the above embodiment, when describing application examples, blood glucose level control by insulin administration has been described as an example. However, the disclosed technology can also be applied to other control systems, such as engine control.

[0057] In the above embodiment, the control program is stored (installed) in the storage unit in advance, but the present invention is not limited to this. The program according to the disclosed technology can also be provided in a form stored in a storage medium such as a CD-ROM, a DVD-ROM, or a USB memory.

[0058] Regarding the above embodiment, the following supplementary notes are further disclosed.

[0059] (Appendix 1) Acquire the performance of the target that changes according to the control by the system, Calculating a weight for a control value to be input to the system in response to a comparison between the actual performance and a specific range; Calculating the control value based on the performance and the weight; inputting the calculated control value into the system to control the object; A control program that causes a computer to execute a process.

[0060] (Appendix 2) The control program according to claim 1, wherein the process of calculating the weight includes calculating a weight corresponding to the currently acquired performance based on a relationship between past performance and a weight corresponding to the past performance.

[0061] (Appendix 3) The control program according to claim 2, wherein the relationship is a relationship that associates the performance at a specified time with a weight calculated based on the performance for a specified period from the specified time.

[0062] (Appendix 4) and adding to the relationship, for each time when the target is controlled, a correspondence between the weighting associated with the result at a time a predetermined period before the time when the target is controlled and the result with a value closest to the result at the time before the predetermined period in the relationship, and a weighting corrected in response to a comparison between the result for the predetermined period from the time before the predetermined period and the specific range. The control program according to claim 3, further causing the computer to execute a process.

[0063] (Appendix 5) 5. The control program according to claim 4, wherein the process of calculating the weight includes obtaining the weight associated with a result that is closest to the currently obtained result in the relationship.

[0064] (Appendix 6) The control program according to any one of Supplementary Note 1 to Supplementary Note 5, characterized in that the process of calculating the control value includes calculating the control value based on a predicted value of the target according to the performance and the weight.

[0065] (Appendix 7) The control program according to claim 6, wherein the process of calculating the control value includes predicting the predicted value based on a model generated by machine learning, the track record, and the control value.

[0066] (Appendix 8) The control program according to claim 6 or 7, characterized in that the process of calculating the control value includes optimizing an objective function including a term for optimizing the predicted value of the target so as to fall within the specific range and a term for optimizing an input plan of the control value.

[0067] (Appendix 9) Acquire the performance of the target that changes according to the control by the system, Calculating a weight for a control value to be input to the system in response to a comparison between the actual performance and a specific range; Calculating the control value based on the performance and the weight; inputting the calculated control value into the system to control the object; A control device comprising a control unit that executes processing.

[0068] (Appendix 10) The control device described in Appendix 9, characterized in that the process of calculating the weight includes calculating a weight corresponding to the currently acquired performance based on a relationship between past performance and a weight corresponding to the past performance.

[0069] (Appendix 11) The control device according to claim 10, wherein the relationship is a relationship that associates the performance at a predetermined time with a weight calculated based on the performance for a predetermined period from the predetermined time.

[0070] (Appendix 12) and adding to the relationship, for each time when the target is controlled, a correspondence between the weighting associated with the result at a time a predetermined period before the time when the target is controlled and the result with a value closest to the result at the time before the predetermined period in the relationship, and a weighting corrected in response to a comparison between the result for the predetermined period from the time before the predetermined period and the specific range. The control device according to claim 11, further comprising the control unit executing a process.

[0071] (Appendix 13) The control device according to claim 12, wherein the process of calculating the weight includes obtaining the weight associated with an actual result that is closest to the actual result obtained this time in the relationship.

[0072] (Appendix 14) The control device according to any one of Supplementary Note 9 to Supplementary Note 13, characterized in that the process of calculating the control value includes calculating the control value based on a predicted value of the target according to the performance and the weight.

[0073] (Appendix 15) The control device described in Appendix 14, characterized in that the process of calculating the control value includes predicting the predicted value based on a model generated by machine learning, the track record, and the control value.

[0074] (Appendix 16) The control device according to claim 14 or 15, wherein the process of calculating the control value includes optimizing an objective function including a term for optimizing the predicted value of the target so as to fall within the specific range and a term for optimizing an input plan of the control value.

[0075] (Appendix 17) Acquire the performance of the target that changes according to the control by the system, Calculating a weight for a control value to be input to the system in response to a comparison between the actual performance and a specific range; Calculating the control value based on the performance and the weight; inputting the calculated control value into the system to control the object; A control method characterized in that the processing is executed by a computer.

[0076] (Appendix 18) The control method according to claim 17, wherein the process of calculating the weight includes calculating a weight corresponding to the currently acquired performance based on a relationship between past performance and a weight corresponding to the past performance.

[0077] (Appendix 19) 19. The control method according to claim 18, wherein the relationship is a relationship that associates the performance at a specified time with a weight calculated based on the performance for a specified period from the specified time.

[0078] (Appendix 20) Acquire the performance of the target that changes according to the control by the system, Calculating a weight for a control value to be input to the system in response to a comparison between the actual performance and a specific range; Calculating the control value based on the performance and the weight; inputting the calculated control value into the system to control the object; A storage medium storing a control program for causing a computer to execute a process. [Explanation of symbols]

[0079] 10 Control device 11 Acquisition Department 12 Prediction Department 13 Weight learning unit 14 Weight calculation unit 15 Control value calculation section 21 Predictive Models 22 Weight DB 30 Measuring Equipment 32 Processing equipment 40 Computer 41 CPU 42 Memory 43 Storage section 49 Storage medium 50 Control Program 100 Control System

Claims

1. Acquire the performance of the target that changes according to the control by the system, Calculating a weight for a control value to be input to the system in response to a comparison between the actual performance and a specific range; Calculating the control value based on the performance and the weight; A control program for inputting the calculated control value into the system and causing a computer to execute a process for controlling the target, the process of calculating the weight includes calculating a weight corresponding to the currently acquired performance based on a relationship in which the performance at a predetermined time in the past is associated with a weight calculated based on the performance for a predetermined period from the predetermined time, and adding to the relationship, for each time when the target is controlled, a correspondence between the weighting associated with the result at a time a predetermined period before the time when the target is controlled and the result with a value closest to the result at the time before the predetermined period in the relationship, and a weighting corrected in response to a comparison between the result for the predetermined period from the time before the predetermined period and the specific range. A control program comprising:

2. 2. The control program according to claim 1, wherein the process of calculating the weight includes obtaining the weight associated with a result that is closest to the currently obtained result in the relationship.

3. 3. The control program according to claim 1, wherein the process of calculating the control value includes calculating the control value based on the weight and a predicted value of the target according to the performance.

4. 4. The control program according to claim 3, wherein the process of calculating the control value includes predicting the predicted value based on a model generated by machine learning, the track record, and the control value.

5. 5. The control program according to claim 3, wherein the process of calculating the control value includes optimizing an objective function including a term for optimizing the predicted value of the target so as to fall within the specific range and a term for optimizing an input plan of the control value.

6. Acquire the performance of the target that changes according to the control by the system, Calculating a weight for a control value to be input to the system in response to a comparison between the actual performance and a specific range; Calculating the control value based on the performance and the weight; a control unit that inputs the calculated control value into the system and executes a process of controlling the target; the process of calculating the weight includes calculating a weight corresponding to the currently acquired performance based on a relationship in which the performance at a predetermined time in the past is associated with a weight calculated based on the performance for a predetermined period from the predetermined time, and adding to the relationship, for each time when the target is controlled, a correspondence between the weighting associated with the result at a time a predetermined period before the time when the target is controlled and the result with a value closest to the result at the time before the predetermined period in the relationship, and a weighting corrected in response to a comparison between the result for the predetermined period from the time before the predetermined period and the specific range. A control device comprising:

7. Acquire the performance of the target that changes according to the control by the system, Calculating a weight for a control value to be input to the system in response to a comparison between the actual performance and a specific range; Calculating the control value based on the performance and the weight; A control method in which the calculated control value is input to the system and a process of controlling the target is executed by a computer, the process of calculating the weight includes calculating a weight corresponding to the currently acquired performance based on a relationship in which the performance at a predetermined time in the past is associated with a weight calculated based on the performance for a predetermined period from the predetermined time, and adding to the relationship, for each time when the target is controlled, a correspondence between the weighting associated with the result at a time a predetermined period before the time when the target is controlled and the result with a value closest to the result at the time before the predetermined period in the relationship, and a weighting corrected in response to a comparison between the result for the predetermined period from the time before the predetermined period and the specific range. A control method comprising:

Citation Information

Patent Citations

  • Hydraulic elevator speed control device

    JP1997240934A

  • Model predictive control device

    JP2006172364A

  • Reinforcement learning controller

    JP2007233634A

  • Control device for internal combustion engine

    JP2013142376A

  • Plant controller

    JP2018063586A