Learning apparatus, control apparatus, machine learning program, control program, machine learning method, and control method for predictive control for controlled object

By using a combination of linear and non-linear learning algorithms to provide reliability information, the learning device enhances predictive control reliability and efficiency by limiting operations to reliable ranges and optimizing data storage.

JP2025116959APending Publication Date: 2025-08-12OMRON CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2024011518
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-01-30
Publication Date
2025-08-12

AI Technical Summary

Technical Problem

Existing predictive control systems do not consider the reliability of predictions made by predictive models, which can lead to unreliable control outcomes and unexpected behavior of controlled objects.

Method used

A learning device generates a pre-trained model using a linear learning algorithm for Gaussian process regression and a non-linear learning algorithm for decision trees, providing reliability information on the model outputs to improve predictive control by limiting operations outside reliable ranges and optimizing data storage.

Benefits of technology

This approach enhances the reliability and efficiency of predictive control by ensuring operations are only performed within reliable ranges and optimizing data collection, thereby improving the overall control accuracy and reducing unexpected behavior.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025116959000001_ABST
    Figure 2025116959000001_ABST
Patent Text Reader

Abstract

To improve the reliability of predictive control for a controlled object.SOLUTION: A learning apparatus generates a pre-learned model Mr by a first learning algorithm that uses a first learning data set Ds1. Each piece of learning data included in the first learning data set Ds1 includes a measurement value of a disturbance and a correction value corresponding to the disturbance. The learning apparatus generates a prediction model Mp by a second learning algorithm that uses a second learning data set Ds2 including inputs to the pre-learned model Mr and outputs of the pre-learned model Mr corresponding to the inputs. The output of the pre-learned model Mr includes specific information that allows defining the reliability of the output.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present disclosure relates to a learning device, a control device, a machine learning program, a control program, a machine learning method, and a control method for predictive control of a control object. [Background technology]

[0002] Conventionally, configurations for performing predictive control of a control object are known. For example, Japanese Patent Application Laid-Open No. 2022-139055 (Patent Document 1) discloses a control system including a controller that controls a control amount of the control object for machining a workpiece by having the control object act on the workpiece via a tool according to a set value, and a predictor that corrects the set value in accordance with a disturbance acting on at least one of the workpiece or the tool. The predictor is constructed based on a first prediction model that receives a disturbance as input and outputs a set value for setting a quality characteristic value to a quality characteristic target value.

[0003] Patent Document 1 discloses a configuration in which a first prediction model is generated by a support vector machine, and a predictor has a second prediction model generated by a decision tree model. In machine learning for the second prediction model, a pair of a virtual value of a disturbance and a virtual value of a setting value output by the first prediction model for the virtual value of the disturbance is used as training data. Because the training data generated by the first prediction model is high-quality training data for machine learning, an algorithm that does not require a large amount of computational resources can be used in machine learning for the second prediction model. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Japanese Patent Publication No. 2022-139055 Summary of the Invention [Problem to be solved by the invention]

[0005] In controlling a controlled object, it is desirable to perform predictive control only when the output of the predictive model is deemed reliable, from the viewpoints of ensuring product quality and avoiding unexpected behavior of the controlled object, etc. However, Patent Document 1 does not take into consideration the reliability of predictions made by the predictive model.

[0006] The present disclosure has been made to solve the above-mentioned problems, and its purpose is to improve the reliability of predictive control of a control target. [Means for solving the problem]

[0007] A learning device according to one aspect of the present disclosure is a learning device for machine learning of a prediction model that predicts a correction value of a manipulated variable for a control target subjected to a disturbance. The learning device includes a first storage unit and a learning unit. A first learning data set is stored in the first storage unit. The learning unit generates a pre-training model by a linear learning algorithm using the first training data set. Each piece of training data included in the first training data set includes a measured value of a disturbance and a correction value corresponding to the disturbance. The learning unit generates a prediction model by a non-linear learning algorithm using a second training data set including an input to the pre-training model and an output of the pre-training model corresponding to the input. The output of the pre-training model includes specific information that can define the reliability of the output.

[0008] According to this disclosure, the output of a predictive model includes specific information that can define the reliability of the output, thereby improving the reliability of predictive control of a controlled object.

[0009] In the above disclosure, the learning unit may identify a first range in which the reliability is greater than a first threshold and a second range in which the reliability is less than a second threshold within the range of input to the prediction model, and output the first range and the second range.

[0010] According to this disclosure, in the operation of predictive control, the reliability of predictive control can be further improved by not performing predictive control outside the first range. Also, in the operation of predictive control, the efficiency of collecting learning data for predictive control can be improved by limiting the storage of learning data to the data storage range.

[0011] In the above disclosure, all of the inputs to the pre-trained model included in the second training data set may be included in the first range.

[0012] According to this disclosure, the first range in which predictive control is performed includes all of the learning data, thereby further improving the reliability of the predictive control range of the trained prediction model.

[0013] In the above disclosure, the linear learning algorithm may include Gaussian process regression, the specific information may include a Gaussian distribution, and the non-linear learning algorithm may include a decision tree.

[0014] According to this disclosure, the linear learning algorithm for the pre-training model includes Gaussian process regression, and the nonlinear learning algorithm for the predictive model includes a decision tree, thereby achieving high speed, reliability, and efficiency of predictive control.

[0015] A control device for controlling a control target using a prediction model generated by the learning device disclosed above may include a control unit and a second storage unit. The control unit may control the control target by correcting an manipulated variable using an output of the prediction model when the reliability is greater than a first threshold, and may control the control target without correcting the manipulated variable when the reliability is less than the first threshold.

[0016] According to this disclosure, predictive control is not performed outside the first range, thereby making it possible to further improve the reliability of predictive control.

[0017] In the above disclosure, the control unit may store the input and output of the prediction model in the second storage unit when the reliability is less than a second threshold.

[0018] According to this disclosure, the storage of learning data is limited to the data storage range, thereby making it possible to efficiently collect learning data for predictive control.

[0019] A control program for controlling a control object using a predictive model generated by the learning device disclosed above, when executed by a processor, may cause the processor to control the control object by correcting the manipulated variable using the output of the predictive model if the reliability is greater than a first threshold, and to control the control object without correcting the manipulated variable if the reliability is less than the first threshold.

[0020] According to this disclosure, predictive control is not performed outside the first range, thereby making it possible to further improve the reliability of predictive control.

[0021] A control method for controlling a control object using a predictive model generated by a learning device in the above disclosure may include a step of correcting an operating variable using the output of the predictive model to control the control object when the reliability is greater than a first threshold, and a step of controlling the control object without correcting the operating variable when the reliability is less than the first threshold.

[0022] According to this disclosure, predictive control is not performed outside the first range, thereby making it possible to further improve the reliability of predictive control.

[0023] A machine learning program according to another aspect of the present disclosure is a machine learning program for machine learning a predictive model that predicts a correction value of a manipulated variable for a controlled object subjected to a disturbance. When executed by a processor, the machine learning program causes the processor to generate a pre-trained model by a linear learning algorithm using a first training data set, where each training data item included in the first training data set includes a measured value of a disturbance and a correction value corresponding to the disturbance. The machine learning program further causes the processor to generate a predictive model by a non-linear learning algorithm using a second training data set including an input to the pre-trained model and an output of the pre-trained model corresponding to the input. The output of the pre-trained model includes specific information that can define the reliability of the output.

[0024] A machine learning method according to another aspect of the present disclosure is a machine learning method for machine learning a predictive model that predicts a correction value of a manipulated variable for a controlled object subjected to a disturbance. The machine learning method generates a pre-trained model by a linear learning algorithm using a first training data set. Each training data set included in the first training data set includes a measured value of a disturbance and a correction value corresponding to the disturbance. The machine learning method further includes a step of generating a predictive model by a non-linear learning algorithm using a second training data set including an input for the pre-trained model and an output of the pre-trained model corresponding to the input. The output of the pre-trained model includes specific information that can define a reliability of the output. [Effects of the Invention]

[0025] The learning device, control device, machine learning program, control program, machine learning method, and control method according to the present disclosure can improve the reliability of predictive control of a control target. [Brief explanation of the drawings]

[0026] [Figure 1] 1 is a block diagram showing a functional configuration of a control system according to a first embodiment. [Figure 2] FIG. 2 is a diagram for explaining the flow of machine learning performed by the learning unit in FIG. 1. [Figure 3] 2 is a flowchart showing an example of the flow of processing performed by each of a learning unit, a feedback control system, a feedforward control system, and a learning data generating unit in FIG. 1. FIG. [Figure 4] 4 is a flowchart showing an example of a specific processing flow of the machine learning processing of FIG. 3. [Figure 5] 4 is a flowchart showing an example of a specific processing flow of the feedforward compensation value determination processing of FIG. 3. [Figure 6] 4 is a flowchart showing an example of a specific processing flow of the learning data storage processing of FIG. 3. [Figure 7] FIG. 2(c) shows a learning dataset used in machine learning for the prediction model according to the first embodiment together with FIG. [Figure 8] 10 is a flowchart showing an example of a specific processing flow of machine learning processing according to a modification of the first embodiment. [Figure 9] FIG. 10 is a schematic diagram illustrating an example of a network configuration of a control system according to a second embodiment. [Figure 10] 10 is a block diagram showing an example of the hardware configuration of the control device shown in FIG. 9. [Figure 11] 10 is a schematic diagram illustrating an example of the hardware configuration of the support device in FIG. 9. [Figure 12] 12 is a flowchart showing an example of the flow of a prediction model generation process performed by a processor that executes the support program of FIG. [Figure 13] 13 is a diagram showing an example of a case where a time-series data tab is selected on the GUI screen displayed in the processing for setting the range of the quality characteristic value shown in FIG. 12. FIG. [Figure 14] 13 is a diagram showing an example of a case where a scatter plot matrix tab is selected on the GUI screen displayed in the processing for setting the range of the quality characteristic value shown in FIG. 12. FIG. [Figure 15] 13 is a diagram showing an example of a case where a feature table tab is selected on the GUI screen displayed in the processing for setting the range of quality characteristic values shown in FIG. 12. FIG. [Figure 16]13 is a diagram showing an example of a GUI screen displayed in the process of checking the predicted control range in FIG. 12. FIG. [Figure 17] FIG. 17 is a diagram showing a scatter diagram displayed on the GUI screen of FIG. 16 when the dimension of the explanatory variable is 1. [Figure 18] FIG. 17 is a diagram showing a scatter diagram displayed on the GUI screen of FIG. 16 when the dimension of the explanatory variable is three. [Figure 19] FIG. 13 is a diagram showing an example of a GUI screen displayed in the prediction model evaluation process of FIG. 12 when a prediction accuracy evaluation tab is selected. [Figure 20] 13 is a diagram showing an example of a case where a quality characteristic value evaluation tab is selected on the GUI screen displayed in the evaluation process of the prediction model of FIG. 12. FIG. DETAILED DESCRIPTION OF THE INVENTION

[0027] Hereinafter, embodiments will be described in detail with reference to the drawings. In the drawings, the same or corresponding parts are designated by the same reference numerals, and their description will not be repeated in principle.

[0028] [Embodiment 1] <Application example> FIG. 1 is a block diagram showing the functional configuration of a control system 1 according to the first embodiment. As shown in FIG. 1, the control system 1 includes a control device 100 and a learning device 400. The control device 100 and the learning device 400 may be connected via a network (for example, the Internet or a cloud system) and may be located remotely from each other. Alternatively, the control device 100 and the learning device 400 may be configured as an integrated device.

[0029] The learning device 400 includes a learning unit 410 and a memory unit 420 (first memory unit). The memory unit 420 stores a pre-training model Mr, a prediction model Mp, a learning dataset Ds1 (first learning dataset), and a learning dataset Ds2 (second learning dataset).

[0030] The machine learning algorithm (first learning algorithm) used to construct the pre-trained model Mr includes a linear learning algorithm (e.g., Gaussian process regression, ensemble learning, or support vector regression). The machine learning algorithm uses a training dataset Ds1. In Gaussian process regression, the mean value of the Gaussian distribution is used as the output (predicted value) of the pre-trained model Mr, while in ensemble learning, the mean value of the predicted values of multiple learning models (weak learners) is used as the output of the pre-trained model Mr.

[0031] The machine learning algorithm (second learning algorithm) used to construct the prediction model Mp includes a nonlinear learning algorithm (e.g., a decision tree or a neural network). The learning dataset Ds2 is used in the machine learning algorithm. The output of the prediction model Mp includes specific information (e.g., a Gaussian distribution or multiple predicted values of multiple learning models used in ensemble learning) that can define the reliability of the output. For example, the smaller the variance of the Gaussian distribution corresponding to the output of the prediction model Mp or the variance of the predicted values of multiple weak learners, the higher the reliability of the output. If the inference time is defined as the time interval between when explanatory variables are input to a model and when a target variable is output, the inference time of the prediction model Mp is shorter than that of the pre-training model Mr. In other words, the prediction model Mp is faster than the pre-training model Mr in terms of predictive control.

[0032] The learning device 400 outputs the learned prediction model Mp and reliability information of the output of the prediction model Mp to the control device 100. The reliability information includes the range of inputs of the prediction model Mp (prediction control range) in which the reliability of the output of the prediction model Mp is greater than a prediction threshold (e.g., 0.5), and the range of inputs of the prediction model Mp (data storage range) in which the reliability of the output of the prediction model Mp is less than a storage threshold (e.g., 0.7).

[0033] The control device 100 includes a feedback control unit 110, a feedforward compensation unit 120 (control unit), a learning data generation unit 130 (control unit), a storage unit 140, a subtractor 150, and an adder 160. The storage unit 140 stores a prediction model Mp, control information Inc, and learning data set Ds1A received from the learning device 400. The control information Inc includes a predicted control range and a data storage range received from the learning device 400.

[0034] The control device 100 outputs the sum of a feedback control amount rb to the control object 200 and a feedforward compensation value rf as a control amount r to the control object 200 so that a control amount q, which is an output value of the control object 200 subjected to a disturbance ds, approaches a target value qr. The feedforward compensation value rf corresponds to a correction value of the control amount r. The control device 100 and the control object 200 are connected via a network (for example, the Internet or a cloud system) and may be located remotely from each other.

[0035] The disturbance ds is a quantity that disturbs the state of a control system including the control device 100 and the controlled object 200. The disturbance ds includes a plurality of disturbance elements, such as the amount of light, voltage, current, and temperature that are accidentally or suddenly input to the controlled object. The plurality of disturbance elements can be determined as a plurality of factors that are expected to affect the quality characteristic value (control amount q) of the controlled object 200 based on previously obtained knowledge such as a characteristic diagram of the target device of the controlled object 200.

[0036] Hereinafter, a configuration including the feedback control unit 110 and the subtractor 150 will also be referred to as a feedback control system, and a configuration including the feedforward compensation unit 120 and the adder 160 will also be referred to as a feedforward control system.

[0037] The subtractor 150 outputs the error eq (=qr-q) between the target value qr and the controlled variable q to the feedback control unit 110. The feedback control unit 110 determines a feedback manipulated variable rb based on the error eq and outputs it to the adder 160. When the measured value d0 at each sampling timing is within the predicted control range, the feedforward compensation unit 120 predicts a feedforward compensation value rf from the measured value d0 of the disturbance ds using the prediction model Mp and outputs the predicted feedforward compensation value rf to the learning data generation unit 130. When the measured value d0 at each sampling timing is within the predicted control range, the feedforward compensation unit 120 outputs the feedforward compensation value rf to the adder 160. When the measured value d0 at each sampling timing is not within the predicted control range, the feedforward compensation unit 120 sets the feedforward compensation value rf to 0 and outputs it to the adder 160. The adder 160 outputs the sum of the feedback manipulated variable rb and the feedforward compensation value rf as the manipulated variable r to the controlled object 200.

[0038] The training data generation unit 130 generates a training data set Ds1A (second training data set) used in additional training of the prediction model Mp (updating the prediction model Mp). When the measurement value do at each sampling timing is included in the data storage range, the training data generation unit 130 acquires the measurement value do, the manipulated variable r, the feedforward compensation value rf, and the controlled variable q. The training data generation unit 130 stores training data including a combination of the measurement value do (explanatory variable) and the feedforward compensation value rf (objective variable) in the storage unit 140 as elements of the training data set Ds1A. The training data generation unit 130 may transmit the training data to the learning device 400 each time it generates it, or may transmit the training data set Ds1A collectively to the learning device 400. The training data set Ds1A is used by the learning device 400 in additional training of the prediction model Mp (updating the prediction model Mp). Note that the configuration of each piece of training data included in the training data set Ds1 of the learning device 400 is the same as the configuration of each piece of training data included in the training data set Ds1A.

[0039] FIG. 2 is a diagram illustrating the flow of machine learning performed by the learning unit 410 in FIG. 1. Graphs (a), (b), (c), and (d) showing the correspondence between explanatory variables (input) and response variables (output) are also shown in FIG. 2. In FIG. 2, the curve Vt shows the true correspondence between the explanatory variables and response variables. In FIG. 2, in order to clearly illustrate the features of the present disclosure, a case where the explanatory variables are one-dimensional is shown. The number of dimensions of the explanatory variables may be two or more. The explanatory variables x1, x2, x3, x4, x5, and x6 are in descending order of magnitude. The expected range of explanatory variables is from x1 to x6.

[0040] FIG. 2(a) is a graph showing a prediction model Mp9 according to a comparative example. The prediction model Mp9 has been trained using a decision tree that uses the training dataset Ds1. As shown in FIG. 2(a), in the range of explanatory variables in which the training data included in the training dataset Ds1 are distributed, the error between the output of the prediction model Mp9 and the true value is relatively small. However, in the range of explanatory variables in which the training data included in the training dataset Ds1 are not distributed, the error is relatively large.

[0041] Therefore, in order to distribute the training data across the entire range of expected explanatory variables, the training unit 410 of the training device 400 according to the first embodiment first generates the trained pre-trained model Mr shown in FIG. 2(b) by Gaussian process regression using the training dataset Ds1. A linear learning algorithm such as Gaussian process regression makes it easier to reduce the error between the objective variable and the true value in the range of explanatory variables where the training data is not distributed compared to the case of using a nonlinear learning algorithm such as a decision tree. For example, as shown in FIG. 2(b), in the range of explanatory variables where the training data included in the training dataset Ds1 is not distributed, the error between the output of the pre-trained model Mr and the true value for the explanatory variables x3 and x6 is smaller than that shown in FIG. 2(a).

[0042] Next, as shown in FIG. 2(c), the learning unit 410 inputs multiple explanatory variables distributed throughout the entire range of the expected explanatory variables into the pre-learning model Mr and obtains multiple objective variables output from the pre-learning model Mr. The learning unit 410 generates multiple combinations (predicted surface data) in which the multiple explanatory variables correspond to the multiple objective variables, as a learning dataset Ds2 (second learning dataset). The multiple explanatory variables input to the pre-learning model Mr are preferably mesh data that are evenly distributed within the range of the expected explanatory variables to prevent bias in the distribution of the multiple explanatory variables. FIG. 2(c) illustrates a case in which the multiple explanatory variables distributed throughout the entire range of the expected explanatory variables are mesh data.

[0043] If the linear learning algorithm for generating the pre-trained model Mr is Gaussian process regression, the output of the pre-trained model Mr will include a Gaussian distribution. The learning unit 410 defines the reliability of the output of the pre-trained model Mr based on the variance of the Gaussian distribution. The smaller the variance of the Gaussian distribution, the greater the reliability of the output of the pre-trained model Mr.

[0044] The lower the reliability of the output of the pre-training model Mr, the lower the reliability of the prediction accuracy and the greater the need for additional training. Therefore, in order to limit the cases in which predictive control is performed to a range in which the reliability of the explanatory variables is relatively high, the learning unit 410 generates the training data set Ds2 and identifies a range (first range) of explanatory variables with reliability greater than a prediction threshold (first threshold) as the predictive control range. In FIG. 2(c), the range of explanatory variables between x1 and x5 is the predictive control range. The prediction threshold can be determined appropriately based on, for example, actual machine experiments, simulations, product specifications, or manufacturing process control values.

[0045] The learning unit 410 specifies a range (second range) of explanatory variables with a reliability lower than a storage threshold (second threshold) as the data storage range to limit the range in which learning data for additional learning is saved to a range in which the reliability of the explanatory variables is relatively low. In FIG. 2(c), the data storage range is the range of explanatory variables from x2 to x4 and from x5 to x6. The storage threshold can be determined appropriately based on, for example, actual machine experiments, simulations, product specifications, or manufacturing process control values. Note that the magnitude relationship between the prediction threshold and the storage threshold is not particularly limited; the prediction threshold may be greater than the storage threshold, the prediction threshold may be smaller than the storage threshold, or the prediction threshold and the storage threshold may be the same.

[0046] The learning unit 410 generates a prediction model Mp by a decision tree using the learning data set Ds2. As shown in Fig. 2(d), the error between the output of the prediction model Mp and the true value for the explanatory variables x3 and x6 is smaller than that shown in Fig. 2(a).

[0047] According to the learning device 400, the predictive model Mp used in the operation of predictive control is trained using a nonlinear learning algorithm, thereby enabling high-speed predictive control. Furthermore, in the operation of predictive control, predictive control is not performed outside the predictive control range, thereby further improving the reliability of predictive control. Furthermore, in the operation of predictive control, the storage of learning data is limited to the data storage range, thereby enabling the efficient collection of learning data for predictive control. In other words, according to the learning device 400, high-speed, reliable, and efficient predictive control can be achieved.

[0048] 3 is a flowchart showing an example of the flow of processing performed by each of the learning unit 410, the feedback control system, the feedforward control system, and the learning data generation unit 130 in FIG. 1. The routines corresponding to the flowcharts of the feedback control system and the feedforward control system are executed, for example, at each sampling time. The routines corresponding to the flowcharts of the learning data generation unit 130 are executed, for example, in response to the first execution of the routines corresponding to the flowcharts of the feedforward control system. Hereinafter, steps will simply be abbreviated as S.

[0049] 3, in S400, the learning unit 410 performs machine learning processing to generate a trained prediction model Mp, and then the process proceeds to S410. In S410, the learning unit 410 transmits the trained prediction model Mp, the predicted control range, and the data storage range to the control device 100, and then the process ends.

[0050] In S111, the subtractor 150 of the feedback control system calculates the error eq between the target value qr and the controlled variable q, and outputs the error eq to the feedback control unit 110. In S312, the feedback control unit 110 determines the feedback manipulated variable rb based on the error eq, outputs the determined feedback manipulated variable rb to the adder 160, and ends the process.

[0051] In S121, the feedforward compensation unit 120 of the feedforward control system determines a feedforward compensation value rf from the measurement value do and outputs it to the learning data generation unit 130 and the adder 160. In S122, the adder 160 outputs the sum of the feedback manipulated variable rb and the feedforward compensation value rf as the manipulated variable r to the control object 200, and the process ends.

[0052] The learning data generation unit 130 saves the learning data in S130 and ends the process.

[0053] 4 is a flowchart showing an example of a specific processing flow of the machine learning process S400 in FIG. 3. As shown in FIG. 4, in S401, the learning unit 410 generates a pre-learning model Mr by Gaussian process regression using a learning dataset Ds1, and the process proceeds to S402. In S402, the learning unit 410 generates mesh data consisting of multiple explanatory variables in an expected range so that the explanatory variables input to the prediction model Mp are evenly distributed throughout the entire expected range, with respect to the explanatory variables input to the prediction model Mp, and the process proceeds to S403. In S403, the learning unit 410 identifies a predicted control range and a data storage range based on a Gaussian distribution included in the output of the pre-learning model Mr when mesh data in the expected range is input to the pre-learning model Mr, and the process proceeds to S404. In S404, the learning unit 410 inputs mesh data of the expected range into the pre-trained model Mr, generates a training data set Ds2 including a combination of the mesh data and the output of the pre-trained model, and proceeds to S405. In S405, the learning unit 410 generates a prediction model Mp by a decision tree using the training data set Ds2, and then ends the process.

[0054] 5 is a flowchart showing an example of a specific processing flow of the feedforward compensation value determination processing of FIG. 3. As shown in FIG. 5, in S1211, the feedforward compensation unit 120 predicts a feedforward compensation value rf from the measurement value dō of the disturbance ds using the prediction model Mp, and the processing proceeds to S1212. In S1212, the feedforward compensation unit 120 outputs the feedforward compensation value rf to the learning data generation unit 130, and the processing proceeds to S1213. In S1213, the feedforward compensation unit 120 determines whether the measurement value dō of the disturbance ds is included in the predicted control range. If the measurement value dō of the disturbance ds is included in the predicted control range (YES in S1213), the feedforward compensation unit 120 proceeds to S1215. If the measured value do of the disturbance ds is not included in the predictive control range (NO in S1213), the feedforward compensation unit 120 sets the feedforward compensation value rf to 0 in S1214 and proceeds to S1215. In S1215, the feedforward compensation unit 120 outputs the feedforward compensation value rf to the adder 160 and ends the process.

[0055] Fig. 6 is a flowchart showing an example of a specific processing flow of the learning data saving process S130 in Fig. 3. As shown in Fig. 6, in S131, the learning data generating unit 130 determines whether the measured value do of the disturbance ds is included in the data saving range. If the measured value do is included in the data saving range (YES in S131), the learning data generating unit 130 stores the feedforward compensation value rf and the measured value do in the storage unit 140 in S132 and ends the processing. If the measured value do is not included in the data saving range (NO in S131), the learning data generating unit 130 ends the processing.

[0056] [Modification of the first embodiment] In the first embodiment, a case has been described in which mesh data generated so as to distribute explanatory variables evenly across the entire expected range for the explanatory variables input to the prediction model Mp is used to generate a learning dataset used in machine learning for the prediction model Mp. Predictive control is not performed for explanatory variables that are not included in the predictive control range. Therefore, in machine learning for the prediction model Mp, the need for learning data corresponding to explanatory variables included in the predictive control range is relatively high, and the need for learning data corresponding to explanatory variables that are not included in the predictive control range is relatively low. Therefore, in a modification of the first embodiment, a case has been described in which mesh data generated so as to distribute explanatory variables evenly across the entire predictive control range is used to generate a learning dataset used in machine learning for the prediction model Mp. By using the mesh data in machine learning for the prediction model Mp, it is possible to further improve the reliability of the predictive control range of the trained prediction model Mp.

[0057] Fig. 7 is a diagram showing Fig. 2(c) together with a learning dataset Ds2A used in machine learning for the prediction model Mp according to embodiment 1. In Fig. 7, explanatory variables x1, x2, and x4 to x6 are the same as the explanatory variables x1, x2, and x4 to x6, respectively, in Fig. 2. That is, similar to Fig. 2(c), the range of explanatory variables from x1 to x5 is the predictive control range.

[0058] As shown in FIG. 7, the learning unit 410 generates mesh data consisting of multiple explanatory variables evenly distributed throughout the entire predictive control range. The learning unit 410 inputs the mesh data to a pre-training model Mr and acquires multiple objective variables output from the pre-training model Mr. The learning unit 410 generates multiple combinations (prediction surface data) in which the multiple explanatory variables correspond to the multiple objective variables, respectively, as a training dataset Ds2A (second training dataset). Comparing the training datasets Ds2 and Ds2A, the training dataset Ds2A is more densely distributed in the predictive control range than the training dataset Ds2. By performing machine learning on the predictive model Mp using the training dataset Ds2A, the reliability of the trained predictive model Mp in the predictive control range can be further improved compared to when the training dataset Ds2 is used.

[0059] FIG. 8 is a flowchart showing an example of a specific processing flow of the machine learning process S400 according to the variation of the first embodiment. The flowchart shown in FIG. 8 is a flowchart in which S414 is added to the flowchart of FIG. 4 and S404 and S405 of FIG. 4 are replaced with S415 and S416, respectively. As shown in FIG. 8, the learning unit 410 executes S401 and S402 as in the first embodiment, and then, in S414, generates mesh data composed of multiple explanatory variables included in the predictive control range so as to be distributed throughout the entire predictive control range, and the process proceeds to S415. In S415, the learning unit 410 inputs the mesh data of the predictive control range to the pre-training model Mr to generate a training data set Ds2A including a combination of the mesh data and the output of the pre-training model Mr, and the process proceeds to S416. In S416, the learning unit 410 generates a prediction model Mp by a decision tree using the training data set Ds2A, and then ends the process.

[0060] As described above, the learning device, control device, machine learning method, and control method according to the first embodiment and the modifications can improve the reliability of predictive control of a controlled object.

[0061] [Embodiment 2] In the second embodiment, as an example of the control device according to the first embodiment, a configuration in which the control device includes a PLC (Programmable Logic Controller) will be described.

[0062] <Example of control system network configuration> 9 is a schematic diagram showing an example of a network configuration of a control system 2 according to the second embodiment. As shown in FIG. 9, the control system 2 includes a device group in which a plurality of devices are configured to be able to communicate with each other. Typically, the devices may include a control device 100 that is a processing entity that executes a control program, and peripheral devices connected to the control device 100. The control device 100 in FIG. 9 has the same functional configuration as the control device 100 shown in FIG. 1.

[0063] The control device 100 corresponds to an industrial controller that controls control targets such as various facilities or devices. The control device 100 is a type of computer that executes control calculations, and typically includes a PLC (Programmable Logic Controller). The control device 100 is connected to field devices 200 via a field network 20. The control device 100 exchanges data with at least one field device 200 via the field network 20.

[0064] The control calculations executed by the control device 100 include a process of collecting data collected or generated in the field device 200, a process of generating data such as a command value (operation amount) for the field device 200, and a process of transmitting the generated output data to the target field device 200. The data collected or generated in the field device 200 includes data related to a disturbance input to the field device 200 and a control amount resulting from the actual operation of the field device 200 in accordance with the command value. The command value for the field device 200 is determined by adding a feedforward compensation value predicted from the disturbance using a prediction model to a control amount provisionally calculated based on the error between a control target value (target value) calculated based on a control program executed by the control device 100 and the actual control amount.

[0065] It is preferable that the field network 20 employs a bus or network that performs periodic communication. Known examples of such buses or networks that perform periodic communication include EtherCAT (registered trademark), EtherNet / IP (registered trademark), DeviceNet (registered trademark), and CompoNet (registered trademark). EtherCAT (registered trademark) is preferable because it guarantees the arrival time of data.

[0066] Any field device 200 can be connected to the field network 20. The field device 200 includes an actuator that exerts some physical action on a robot or conveyor in the field, and an input / output device that exchanges information with the field.

[0067] In the control system 2, the field device 200 includes a plurality of servo drivers 220_1 and 220_2 and a plurality of servo motors 222_1 and 222_2 connected to the plurality of servo drivers 220_1 and 220_2, respectively. The field device 200 is an example of the control target 200 in Fig. 1. The control target may include, for example, a sensor or an arm robot.

[0068] The servo drivers 220_1 and 220_2 drive the corresponding servo motors of the servo motors 222_1 and 222_2 in accordance with a command value (for example, a position command value or a speed command value) from the control device 100. In this manner, the control device 100 can control the field device 200.

[0069] The control device 100 is also connected to other devices via a higher-level network 32. The higher-level network 32 is connected to the Internet 900, which is an external network, via a gateway 700. The higher-level network 32 may employ Ethernet (registered trademark) or EtherNet / IP (registered trademark), which are common network protocols. More specifically, at least one server device 600 and at least one display device 500 may be connected to the higher-level network 32.

[0070] The server device 600 may be a database system or a manufacturing execution system (MES). The manufacturing execution system acquires information from controlled manufacturing equipment or facilities to monitor and manage the entire production, and may also handle order information, quality information, shipping information, and the like. In addition to these, a device providing information services may be connected to the upper network 32. Possible information services include processing that acquires information from controlled manufacturing equipment or facilities and performs macro or micro analysis. For example, possible information services include data mining that extracts some characteristic trend contained in information from controlled manufacturing equipment or facilities, or machine learning tools that perform machine learning based on information from controlled facilities or machines.

[0071] The display device 500 receives operations from the user, outputs commands to the control device 100 in response to the user operations, and graphically displays the results of calculations performed by the control device 100, etc.

[0072] A support device 400 can be connected to the control device 100. The support device 400 may be connected to the control device 100 via a higher-level network 32 or the Internet 900. The support device 400 is a device that supports the control device 100 in making preparations necessary for controlling a control target. Specifically, the support device 400 provides a development environment (such as a program creation and editing tool, a parser, and a compiler) for programs executed by the control device 100, a setting environment for setting configuration information (configuration) for the control device 100 and various devices connected to the control device 100, a function for outputting generated programs to the control device 100, a function for online correction and modification of programs executed on the control device 100, and a machine learning function for a prediction model Mp. The support device 400 has a functional configuration similar to that of the learning device 400 shown in FIG. 1.

[0073] In the control system 2, the control device 100, the support device 400, and the display device 500 are configured as separate entities, but a configuration may be adopted in which all or part of these functions are integrated into a single device.

[0074] The control device 100 is not limited to being used only at one production site, but may also be used at other production sites, and may also be used at multiple different lines within one production site.

[0075] <Example of control device hardware configuration> Fig. 10 is a block diagram showing an example of the hardware configuration of the control device 100 of Fig. 9. As shown in Fig. 14, the control device 100 includes a processor 302, a main memory 304, a storage 140, a memory card interface 312, an upper network controller 306, a field network controller 308, a local bus controller 316, and a USB controller 370 that provides a USB (Universal Serial Bus) interface. These components are connected via a processor bus 318.

[0076] 10, the processor 302 corresponds to an arithmetic processing unit that executes control calculations, and is configured with a CPU (Central Processing Unit) and / or a GPU (Graphics Processing Unit), etc. Specifically, the processor 302 reads out a program stored in the storage 140, expands it in the main memory 304, and executes it to realize control calculations for a control target.

[0077] The main memory 304 is configured with a volatile storage device such as a dynamic random access memory (DRAM) and / or a static random access memory (SRAM). The storage 140 is configured with a non-volatile storage device such as a solid state drive (SSD) and / or a hard disk drive (HDD).

[0078] The storage 140 stores a control program Pc, a learning data set Ds1A, a prediction model Mp, and control information Inc. The storage 140 corresponds to the memory unit 140 in FIG. 1. The control program Pc includes a program for comprehensively controlling the control device 100 and realizing each function of the control device 100. That is, the processor 302 that executes the control program Pc realizes the feedback control system (feedback control unit 110 and subtractor 150), the feedforward control system (feedforward compensation unit 120 and adder 160), and the learning data generation unit 130 in FIG. 1.

[0079] The memory card interface 312 accepts a memory card 314, which is an example of a removable storage medium. The memory card interface 312 is capable of reading and writing any data from and to the memory card 314.

[0080] The host network controller 306 exchanges data with any information processing device connected to the host network 32 (for example, a local area network) via the host network 32 .

[0081] The field network controller 308 exchanges data with any devices such as the servo motors 222_1 and 222_2 via the field network 20.

[0082] The local bus controller 316 exchanges data with any of the functional units 380 constituting the control device 100 via the local bus 122. The functional units 380 include, for example, an analog I / O unit responsible for inputting and / or outputting analog signals, a digital I / O unit responsible for inputting and / or outputting digital signals, and a counter unit that receives pulses from an encoder or the like.

[0083] The USB controller 370 exchanges data with any information processing device via a USB connection. The USB controller 370 is connected to a support device 400, for example.

[0084] Fig. 11 is a schematic diagram showing an example of the hardware configuration of the support device 400 in Fig. 9. As an example, the support device 400 is realized by a computer that follows a general-purpose architecture executing a program.

[0085] 11, the support device 400 includes a processor 430, a volatile memory 404, a non-volatile memory 420, a display 450, a keyboard 411, a mouse 412, a memory card interface 414, and an external device interface 418. These components are connected to each other via a processor bus 408 so that they can communicate with each other.

[0086] The processor 430 is composed of a CPU, a GPU, and the like, and performs various processes by reading a program (for example, a support program Psp) stored in the non-volatile memory 420, expanding it in the volatile memory 404, and executing it. The support program Psp includes a machine learning program for the prediction model Mp. In other words, the processor 430 that executes the support program Psp realizes the learning unit 410 in FIG. 1. The non-volatile memory 420 corresponds to the storage unit 420 in FIG. 1.

[0087] In the support device 400, the processor 430 executes a predetermined program to provide the functions required for the support device 400. Some or all of the functions may be implemented using a dedicated hardware circuit (for example, an ASIC or FPGA).

[0088] The volatile memory 404 is configured by various volatile storage devices such as DRAM, SRAM, etc. The non-volatile memory 420 is configured by non-volatile storage devices such as SSD and / or HDD, for example.

[0089] The non-volatile memory 420 stores an OS (Operating System) for realizing basic functions, as well as a support program Psp, learning data sets Ds1 and Ds2, a pre-learning model Mr, and a prediction model Mp for providing the functions of the support device 400. The support program Psp defines instructions for causing a computer to function as the support device 400.

[0090] The display 450 outputs processing results and the like from the processor 430. The keyboard 411 and mouse 412 accept user operations when creating various programs such as user programs or when the user inputs setting values and the like according to the object to be controlled.

[0091] The memory card interface 414 is configured so that the memory card 115 can be attached and detached, and various data (such as a user program) can be written to the memory card 115 and various data can be read from the memory card 115 .

[0092] The external device interface 418 exchanges data with any external device, such as the control device 100, via a network.

[0093] Although not shown in the figure, the support device 400 may be equipped with an optical drive, and a program (such as a support program) stored in an optical recording medium such as a DVD (Digital Versatile Disc) that non-transiently stores computer-readable programs is read and installed in the non-volatile memory 420.

[0094] The support program Psp and the like executed in the support device 400 may be installed via a computer-readable DVD, or may be installed by downloading from a server device 600 or the like on a network. In addition, the functions provided by the support device 400 may be realized by using some of the modules provided by the OS.

[0095] FIG. 12 is a flowchart showing an example of the flow of the prediction model generation process performed by the processor 430 executing the support program Psp of FIG. 11. As shown in FIG. 12, in S101, the processor 430 reads the training dataset Ds1. For example, the processor 430 reads feature data from a pre-specified path (target folder). If the target folder contains multiple CSV (Comma Separated Values) files, the processor 430 merges and reads the CSV files present in the first three levels below the target folder in chronological order. If the sampling function, the number of feature data files present in the target folder, or the file size is enormous, the processor 430 samples the data to a readable size. The processor 430 reads the role of each variable (quality characteristic value, objective variable, and explanatory variable) assigned by the event definition file.

[0096] In S102, the processor 430 cleanses the training dataset Ds1. For example, if there is missing data in the data read in S101 (read data), the processor 430 skips the corresponding record (row) and displays the number of missing cases on the history screen. If there is a type conversion error in the read data, the processor 430 skips the corresponding record (row) and displays the number of type conversion errors on the history screen. A type conversion error can occur, for example, when a record contains data other than numeric values.

[0097] In S103, the processor 430 displays a GUI (Graphical User Interface) screen on which the range of quality characteristic values of training data used in machine learning can be set. After S103, the processor 430 displays a GUI screen on which the range of explanatory variables (prediction control range) using the prediction model Mp can be confirmed in S104. After S104, the processor 430 displays a GUI screen on which the evaluation results of the trained prediction model can be confirmed in S105. After S105, the processor 430 ends the prediction model generation process.

[0098] FIG. 13 is a diagram showing an example of a GUI screen 810 displayed in the quality characteristic value range setting process S103 of FIG. 12 when the time-series data tab is selected. As shown in FIG. 13, the GUI screen 810 displays time-series data for a quality characteristic value (product thickness) and two explanatory variables (material thickness and mold temperature). The user can switch between displaying and hiding the time-series data for the quality characteristic value and the explanatory variables by inputting values into check boxes on the left side of the screen 810. The user can set a training range 811 for the quality characteristic value of the learning data used for machine learning in the learning dataset Ds1 by inputting values into a numerical value setting control 812.

[0099] The user can determine a range of quality characteristic values appropriate for machine learning for the predictive model Mp based on the number of training data (learning data), the estimated Cpk (process capability index) when the predictive model Mp is applied to predictive control (after application of the predictive model), and the training data coverage. When the training range 811 is narrowed, the estimated Cpk improves, but the number of training data decreases. As a result, the training data coverage of the trained predictive model Mp decreases. When the training range 811 is widened, the estimated Cpk decreases, but the number of training data increases. As a result, the training data coverage of the trained predictive model Mp increases. If the user sets the training range 811 and the number of training data falls below the minimum number required to generate the predictive model Mp, a warning is displayed on the GUI screen 810.

[0100] FIG. 14 is a diagram showing an example in which the scatter plot matrix tab is selected on the GUI screen 810 displayed in the quality characteristic value range setting process S103 of FIG. 12. FIG. 14 shows the scatter plot matrix tab when the dimension of the explanatory variables is two. As shown in FIG. 14, the scatter plot matrix tab shows a scatter plot 821 of training data indicated by circles and non-training data indicated by crosses. The scatter plot 821 is shown as a diagram showing the correspondence between two explanatory variables and is divided into multiple rectangles. A range 822 within the scatter plot 821 is the range (upper and lower limit values) of the explanatory variables set in the event definition file. The training data coverage rate is the ratio of the number of rectangles in which training data is plotted to the number of rectangles included in the range 822.

[0101] FIG. 15 is a diagram showing an example of a GUI screen 810 displayed in the quality characteristic value range setting process S103 of FIG. 12 when the feature table tab is selected. As shown in FIG. 15, the training data set Ds1 is shown as table data. Each training data item included in the training data set Ds1 is shown as a row (record) of the table data. Each row is classified into training data, non-training data, and deleted data by different colors. The user can change the classification of the training data corresponding to the selected row to training data, non-training data, or deleted data.

[0102] FIG. 16 is a diagram showing an example of a GUI screen 840 displayed in the process S104 for confirming the predicted control range in FIG. 12. Below, FIGS. 14 and 13 will also be referenced in addition to FIG. 16 as needed. As shown in FIG. 16, the GUI screen 840 displays a scatter plot 841, the coverage rate before data augmentation, and the coverage rate after data augmentation. The scatter plot 841 is a diagram showing the correspondence between two explanatory variables and is divided into multiple rectangles. As in FIG. 14, the scatter plot 841 plots training data indicated by circles. A range 842 within the scatter plot 841 is the range of the explanatory variables set in the event definition file. A range 843 within the range 842 corresponds to the predicted control range. A range 844 within the range 842 corresponds to the data storage range. The coverage rate before data augmentation is the ratio of the number of rectangles in which training data is plotted to the number of rectangles included in the range 842, and is consistent with the training data coverage rate in FIG. 14. The coverage rate after data augmentation is the training data coverage rate corresponding to the learning dataset Ds2. That is, the coverage rate after data expansion is the ratio of the number of rectangles included in ranges 843 and 844 to the number of rectangles included in range 842. Depending on the coverage rate after data expansion, the user can select whether to output the prediction model Mp or return to screen 810 in FIG. 13 and reset the quality characteristic range.

[0103] Fig. 17 is a diagram showing a scatter plot displayed on the GUI screen 840 of Fig. 16 when the dimension of the explanatory variable is 1. Fig. 18 is a diagram showing a scatter plot displayed on the GUI screen 840 of Fig. 16 when the dimension of the explanatory variable is 3. Note that even when the dimension of the explanatory variable is 1 or 3, scatter plots corresponding to Figs. 17 and 18, respectively, are displayed on the GUI screen 820 of Fig. 8.

[0104] Fig. 19 is a diagram showing an example in which the prediction accuracy evaluation tab is selected on the GUI screen 850 displayed in the evaluation process S105 of the prediction model Mp in Fig. 12. As shown in Fig. 19, the prediction model Mp is evaluated by the root mean squared error (RMSE) and the coefficient of determination R2 between the predicted corrected value (predicted value) and the actually measured corrected value (actual value). The smaller the RMSE, the higher the prediction accuracy of the prediction model Mp. Furthermore, the closer R2 is to 1, the higher the prediction accuracy of the prediction model Mp.

[0105] Fig. 20 is a diagram showing an example in which the quality characteristic value evaluation tab is selected on the GUI screen 850 displayed in the evaluation process S105 of the prediction model Mp in Fig. 12. As shown in Fig. 20, Cpk before and Cpk after application of the prediction model are shown. The user can compare the two and select whether to start operation of predictive control using the trained prediction model Mp or to reconstruct the prediction model Mp.

[0106] As described above, the learning device, control device, machine learning program, control program, machine learning method, and control method according to the second embodiment can improve the reliability of predictive control of a control target.

[0107] <Additional Notes> The present embodiment as described above includes the following technical idea.

[0108] [Configuration 1] A learning device (400) for machine learning of a prediction model (Mp) that predicts a correction value (rf) of a manipulated variable (r) for a controlled object (200) subjected to a disturbance (ds), a first storage unit (420) in which a first learning data set (Ds1) is stored; a learning unit (410) that generates a pre-trained model (Mr) by a linear learning algorithm using the first training data set (Ds1); each learning data included in the first learning data set (Ds1) includes a measurement value of the disturbance (ds) and the correction value (rf) corresponding to the disturbance (ds); The learning unit (410) generates the prediction model (Mp) by a nonlinear learning algorithm using a second learning data set (Ds2) including an input to the pre-learning model (Mr) and an output of the pre-learning model (Mr) corresponding to the input; A learning device (400) in which the output of the pre-trained model (Mr) includes specific information that can define the reliability of the output.

[0109] [Configuration 2] The learning device (400) according to configuration 1, wherein the learning unit (410) identifies a first range in which the reliability is greater than a first threshold and a second range in which the reliability is less than a second threshold within the range of the input of the prediction model (Mp), and outputs the first range and the second range.

[0110] [Configuration 3] A learning device (400) according to configuration 2, wherein all of the inputs to the pre-trained model (Mr) included in the second training data set (Ds2) are included in the first range.

[0111] [Configuration 4] the linear learning algorithm comprises Gaussian process regression; the specific information includes a Gaussian distribution; The learning device (400) according to any one of configurations 1 to 3, wherein the nonlinear learning algorithm includes a decision tree.

[0112] [Configuration 5] a control unit (120, 130) that controls the control target (200) using the prediction model (Mp) generated by the learning device (400) according to configuration 2 or 3; a second storage unit (140); The control unit (120, 130) If the reliability is greater than the first threshold, the control object (200) is controlled by correcting the manipulated variable (r) using the output of the prediction model (Mp); If the reliability is smaller than the first threshold, the controlled object (200) is controlled without correcting the manipulated variable (r); If the reliability is smaller than the second threshold, the control device (100) stores the input and output of the prediction model (Mp) in the second storage unit (140).

[0113] [Configuration 6] The control device according to configuration 5, wherein the control unit (120, 130) stores the input and output of the prediction model (Mp) in the second storage unit (140) when the reliability is smaller than the second threshold.

[0114] [Configuration 7] A control program (Pc) for controlling the controlled object (200) using the prediction model (Mp) generated by the learning device (400) according to configuration 2 or 3, wherein the control program (Pc), when executed by a processor (302), causes the processor (302) to: If the reliability is greater than the first threshold, the control system corrects the manipulated variable using the output of the prediction model, and controls the controlled object. When the reliability is smaller than the first threshold, the control program (Pc) controls the controlled object (200) without correcting the manipulated variable (r).

[0115] [Configuration 8] A control method for controlling the controlled object (200) using the prediction model (Mp) generated by the learning device (400) according to configuration 2 or 3, comprising: When the reliability is greater than the first threshold, correcting the manipulated variable (r) using the output of the prediction model (Mp) to control the controlled object (200); If the reliability is smaller than the first threshold, controlling the controlled object (200) without correcting the manipulated variable (r).

[0116] [Configuration 9] A machine learning program (Psp) for machine learning of a prediction model (Mp) that predicts a correction value (rf) of a manipulated variable (r) for a controlled object (200) that receives a disturbance (ds), wherein the machine learning program (Psp), when executed by a processor (430), causes the processor (430) to: generating a pre-trained model (Mr) by a linear learning algorithm using a first training data set (Ds1); Each piece of learning data included in the first learning data set (Ds1) includes a measurement value of the disturbance (ds) and the correction value (rf) corresponding to the disturbance (ds), and the machine learning program (Psp) further causes the processor (302) to: generating the prediction model (Mp) by a nonlinear learning algorithm using a second learning data set (Ds2) including inputs to the pre-trained model (Mr) and outputs of the pre-trained model (Mr) corresponding to the inputs; A machine learning program (Psp) in which the output of the pre-trained model (Mr) includes specific information that can define the reliability of the output.

[0117] [Configuration 10] A machine learning method for machine learning a prediction model (Mp) that predicts a correction value (rf) of a manipulated variable (r) for a controlled object (200) subjected to a disturbance (ds), generating a pre-trained model (Mr) by a linear learning algorithm using a first training data set (Ds1); Each piece of learning data included in the first learning data set (Ds1) includes a measurement value of the disturbance (ds) and the correction value (rf) corresponding to the disturbance (ds), and the machine learning method further includes: generating the prediction model (Mp) by a nonlinear learning algorithm using a second learning data set (Ds2) including inputs to the pre-trained model (Mr) and outputs of the pre-trained model (Mr) corresponding to the inputs; A machine learning method, wherein the output of the pre-trained model (Mr) includes specific information that allows defining the reliability of the output.

[0118] The embodiments disclosed herein are intended to be implemented in appropriate combinations within the scope of compatibility. The embodiments disclosed herein should be considered to be illustrative and not restrictive in all respects. The scope of the present invention is defined by the claims, not the above description, and is intended to include all modifications within the meaning and scope of the claims. [Explanation of symbols]

[0119] 1,2 Control system, 20 Field network, 32 Upper network, 100 Control device, 110 Feedback control unit, 115, 314 Memory card, 120 Feedforward compensation unit, 122 Local bus, 130 Learning data generation unit, 140 Storage (storage unit), 150 Subtractor, 160 Adder, 200 Field device (controlled object), 222 Servo motor, 302, 430 Processor, 304 Main memory, 306 Upper network controller, 308 Field network controller, 312, 414 Memory card interface, 316 Local bus controller, 318, 408 Processor bus, 370 Controller, 380 Functional unit, 400 Support device (learning device), 404 Volatile memory, 410 Learning unit, 411 Keyboard, 412 Mouse, 418 External device interface, 420 Non-volatile memory (storage unit), 450 Display, 500 display device, 600 server device, 700 gateway, 810, 820, 840, 850 GUI screen, 811 training range, 812 numerical setting control, 821, 841 scatter plot, 822, 842~844 range, 900 Internet, Ds1, Ds1A, Ds2, Ds2A learning dataset, Inc control information, Mp, Mp9 prediction model, Mr pre-training model, Pc control program, Psp support program, Vt curve, do measured value, ds disturbance, eq error, q controlled variable, qr target value, r manipulated variable, rb feedback manipulated variable, rf feedforward compensation value.

Claims

1. A learning device for machine learning of a prediction model that predicts a correction value of a manipulated variable for a control target subjected to a disturbance, a first storage unit in which a first training dataset is stored; a learning unit that generates a pre-trained model by a first learning algorithm using the first training data set; each learning data set included in the first learning data set includes a measurement value of the disturbance and the correction value corresponding to the disturbance; the learning unit generates the prediction model by a second learning algorithm using a second learning dataset including an input to the pre-learned model and an output of the pre-learned model corresponding to the input; A learning device in which the output of the pre-trained model includes specific information that can define the reliability of the output.

2. 2. The learning device according to claim 1, wherein the learning unit identifies a first range in which the reliability is greater than a first threshold and a second range in which the reliability is less than a second threshold within the range of input to the prediction model, and outputs the first range and the second range.

3. The learning device according to claim 2 , wherein all of the inputs to the pre-trained model included in the second training data set are included in the first range.

4. the first learning algorithm comprises Gaussian process regression; the specific information includes a Gaussian distribution; The second learning algorithm includes a decision tree. The learning device according to any one of claims 1 to 3.

5. A control device for controlling the controlled object using the prediction model generated by the learning device according to claim 2 or 3, A control unit; a second storage unit, The control unit When the reliability is greater than the first threshold, the manipulated variable is corrected using the output of the prediction model to control the controlled object; When the reliability is smaller than the first threshold, the control device controls the controlled object without correcting the manipulated variable.

6. The control device according to claim 5 , wherein the control unit stores the input and output of the prediction model in the second storage unit when the reliability is smaller than the second threshold.

7. 4. A control program for controlling the controlled object using the prediction model generated by the learning device according to claim 2 or 3, wherein the control program, when executed by a processor, causes the processor to: When the reliability is greater than the first threshold, the manipulated variable is corrected using the output of the prediction model to control the controlled object; When the reliability is smaller than the first threshold, the control program controls the controlled object without correcting the manipulated variable.

8. 4. A control method for controlling a control target using the prediction model generated by the learning device according to claim 2 or 3, comprising: When the reliability is greater than the first threshold, correcting the manipulated variable using an output of the prediction model to control the controlled object; and controlling the controlled object without correcting the manipulated variable when the reliability is smaller than the first threshold value.

9. 1. A machine learning program for machine learning of a prediction model that predicts a correction value of a manipulated variable for a controlled object that is subjected to a disturbance, the machine learning program, when executed by a processor, causes the processor to: generating a pre-trained model by a first training algorithm using a first training data set; Each piece of learning data included in the first learning data set includes a measurement value of the disturbance and the correction value corresponding to the disturbance, and the machine learning program further causes the processor to: generating the predictive model by a second training algorithm using a second training data set that includes inputs to the pre-trained model and outputs of the pre-trained model corresponding to the inputs; A machine learning program in which the output of the pre-trained model includes specific information that can define the confidence level of the output.

10. A machine learning method for machine learning a prediction model that predicts a correction value of a manipulated variable for a control target that is subjected to a disturbance, comprising: generating a pre-trained model by a first training algorithm using a first training data set; Each piece of learning data included in the first learning data set includes a measurement value of the disturbance and the correction value corresponding to the disturbance, and the machine learning method further includes: generating the predictive model by a second learning algorithm using a second learning data set that includes inputs to the pre-trained model and outputs of the pre-trained model corresponding to the inputs; A machine learning method in which the output of the pre-trained model includes specific information that can define the confidence of the output.

Citation Information

Patent Citations

  • Control system, prediction model generation device, and computer program

    JP2022139055A