Device for carrying out machine learning relating to feedforward control with respect to control object, program for generating teaching data, and method for generating teaching data

The machine learning device improves feedforward control accuracy by differentiating between measured and unmeasured disturbance elements and adapting to changes in the controlled object's characteristics, addressing the limitations of conventional systems in detecting all disturbance elements and maintaining high control accuracy.

WO2024181534A1PCT designated stage expired Publication Date: 2024-09-06OMRON CORP

Patent Information

Application Number
PCT/JP2024/007548
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-02
Filing Date
2024-02-29
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Conventional feedforward control systems for controlled objects face accuracy issues due to incomplete detection of disturbances, leading to suboptimal performance in predicting compensation signals, especially when undetected elements are present.

Method used

A machine learning device and method that generates training data by distinguishing between measured and unmeasured disturbance elements, using a prediction model to improve feedforward compensation accuracy by associating correct answers with measurement values, and adapting the model in real-time to changes in the controlled object's characteristics.

Benefits of technology

Enhances the accuracy of feedforward control for controlled objects by accurately predicting compensation values and adapting to changes, thereby reducing the need for extensive sensor measurements and maintaining high control accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024007548_06092024_PF_FP
    Figure JP2024007548_06092024_PF_FP
Patent Text Reader

Abstract

The present invention improves the accuracy of feedforward control with respect to a control object. This device (100): identifies, from among a plurality of first combinations, each of a plurality of second combinations including measurement values (do) and operation quantities (r) on the basis of comparison of an error (eq) and a first reference value; identifies each of a plurality of first components (rf) for association with a first element (dsk) and each of a plurality of second components (rb) for association with a second element (dsu) in the plurality of operation quantities (r) included in each of the plurality of second combinations; and outputs respectively associated teaching data (Dt) using the plurality of first components (rf) as correct answers for the plurality of measurement values (do) included in each of the second combinations at a plurality of timings.
Need to check novelty before this filing date? Find Prior Art

Description

Apparatus for machine learning related to feedforward control of a control target, training data generation program, and training data generation method

[0001] The present disclosure relates to an apparatus for machine learning related to feedforward control of a control target, a program for generating teacher data, and a method for generating teacher data.

[0002] Conventionally, there have been known configurations for performing feedforward control on a controlled object. For example, Japanese Patent Laid-Open Publication No. 4-326101 (Patent Document 1) discloses a neural network control device that includes a disturbance occurrence detector that detects disturbances that affect a controlled system and controls self-learning of a neural network feedforward compensator based on the detected disturbance value.

[0003] Japanese Patent Application Publication No. 4-326101

[0004] In the configuration disclosed in Patent Document 1, a detected value of a disturbance affecting a controlled system is used for self-learning of a neural network feedforward compensator. In this regard, the disturbance affecting a controlled system may include multiple elements. If it is not possible to detect all of these elements, the self-learning using the detected value of the disturbance cannot accurately extract the relationship between the feedforward compensation signal and the disturbance, including the undetected elements. As a result, the accuracy of prediction of the feedforward compensation signal by the neural network feedforward compensator may decrease.

[0005] The present disclosure has been made to solve the above-mentioned problems, and its purpose is to improve the accuracy of feedforward control of a control target.

[0006] An apparatus according to one aspect of the present disclosure is an apparatus for machine learning of a predictive model that predicts a feedforward compensation value of a feedback manipulated variable for a controlled object subjected to a disturbance. The feedback manipulated variable is determined by feedback control of a control device for the controlled object based on an error between a target value and a controlled variable of the controlled object so that the controlled variable approaches the target value. The sum of the feedback manipulated variable and the feedforward compensation value is output from the control device to the controlled object as a manipulated variable. The disturbance includes a first element and a second element. The predictive model predicts the feedforward compensation value from a measured value of the first element. The apparatus includes a learning data generation unit. The learning data generation unit identifies, based on a comparison between the error and a first reference value, each of a plurality of second combinations including a measurement value and an operation variable from among a plurality of first combinations including a target value, an operation variable corresponding to the target value, a measurement value, and a control variable corresponding to both the measurement value and the operation variable, which are acquired at a plurality of timings; identifies, for the plurality of operation variables included in each of the plurality of second combinations, a plurality of first components corresponding to a first element and a plurality of second components corresponding to a second element; and outputs teacher data in which the plurality of first components correspond as correct answers to the plurality of measurement values ​​included in each of the second combinations at a plurality of timings.

[0007] According to this disclosure, among manipulated variables included in the results of feedforward control, a first component corresponding to a measured element that requires feedforward control is identified as a feedforward compensation value, rather than the manipulated variable itself, as a correct answer to be associated with the measured element. As a result, an appropriate correct answer is associated with the measured value in the training data. Therefore, according to this disclosure, by performing machine learning on a prediction model using the training data, it is possible to improve the accuracy of feedforward control of a controlled object.

[0008] In the above disclosure, the device further includes a learning unit that performs machine learning on the prediction model using teacher data. The learning unit approximates a relationship between the plurality of measurement values ​​and the plurality of first components expressed by the prediction model as a function with the feedforward compensation value as a response variable and the measurement values ​​as explanatory variables, and terminates the machine learning when a ratio of the number of fourth combinations among the plurality of second combinations whose absolute values ​​of the measurement values ​​are greater than the second reference value to the number of third combinations among the plurality of first combinations whose absolute values ​​of the measurement values ​​are greater than the second reference value is greater than a third reference value.

[0009] According to this disclosure, because teacher data is selected from the results of feedforward control, it is possible to adapt the prediction model to the characteristics of disturbances and the controlled object in real time in parallel with the feedforward control. Furthermore, according to this disclosure, because machine learning continues until the accuracy of the prediction model becomes sufficiently high, it is possible to sufficiently improve the accuracy of feedforward control of the controlled object.

[0010] In the above disclosure, the learning unit may resume machine learning when the machine learning is completed and the ratio is smaller than a third reference value.

[0011] According to this disclosure, the prediction model is re-adapted to the characteristics of the controlled object in response to changes in the characteristics of the controlled object, thereby making it possible to suppress a decrease in the accuracy of feedforward control due to changes in the characteristics of the controlled object.

[0012] In the above disclosure, the second element does not need to be measured, and according to this disclosure, the cost of a sensor or the like required to measure the second element can be reduced.

[0013] A training data generation program according to another aspect of the present disclosure is a program for machine learning of a prediction model that predicts a feedforward compensation value of a feedback manipulated variable for a control target that is subjected to a disturbance. The feedback manipulated variable is determined by feedback control of a control device for the control target based on an error between a target value and a controlled variable of the control target so that the controlled variable approaches the target value. The sum of the feedback manipulated variable and the feedforward compensation value is output from the control device to the control target as the manipulated variable. The disturbance includes a first element and a second element. The prediction model predicts the feedforward compensation value from a measured value of the first element. When executed by a processor, the teacher data generation program identifies, based on a comparison between the error and a first reference value, a plurality of second combinations including a measurement value and an operation quantity from a plurality of first combinations including a target value, an operation quantity corresponding to the target value, a measurement value, and a control quantity corresponding to both the measurement value and the operation quantity, which are obtained at a plurality of timings; identifies a plurality of first components corresponding to a first element and a plurality of second components corresponding to a second element for a plurality of operation quantities included in each of the plurality of second combinations; and outputs teacher data in which the plurality of first components correspond as correct answers to a plurality of measurement values ​​included in each of the second combinations at a plurality of timings.

[0014] According to this disclosure, among the manipulated variables included in the results of feedforward control, a first component corresponding to a measured element that requires feedforward control is identified as a feedforward compensation value, rather than the manipulated variable itself, as a correct answer to be associated with the measured value. As a result, an appropriate correct answer is associated with the measured value in the training data. Therefore, according to this disclosure, by performing machine learning on a prediction model using the training data, the accuracy of feedforward control of a control target can be improved. Note that the invention according to the present disclosure can also be realized as a non-transitory computer-readable medium that stores the above program.

[0015] A method for generating teacher data according to another aspect of the present disclosure is a machine learning method for a prediction model that predicts a feedforward compensation value of a feedback manipulated variable for a control target that is subjected to a disturbance. The feedback manipulated variable is determined by feedback control of a control device for the control target based on an error between a target value and a controlled variable of the control target so that the controlled variable approaches the target value. The sum of the feedback manipulated variable and the feedforward compensation value is output from the control device to the control target as the manipulated variable. The disturbance includes a first element and a second element. The prediction model predicts the feedforward compensation value from a measured value of the first element. The method for generating teacher data includes: identifying, from among a plurality of first combinations each including a target value, an operation variable corresponding to the target value, a measurement value, and a control variable corresponding to both the measurement value and the operation variable, a plurality of second combinations each including a measurement value and an operation variable based on a comparison between the error and a first reference value; identifying, for a plurality of operation variables each included in the plurality of second combinations, a plurality of first components corresponding to a first element and a plurality of second components corresponding to a second element; and outputting teacher data in which the plurality of first components correspond to a plurality of measurement values ​​each included in the second combinations at a plurality of times as correct answers.

[0016] According to this disclosure, among manipulated variables included in the results of feedforward control, a first component corresponding to a measured element that requires feedforward control is identified as a feedforward compensation value, rather than the manipulated variable itself, as a correct answer to be associated with the measured element. As a result, an appropriate correct answer is associated with the measured value in the training data. Therefore, according to this disclosure, by performing machine learning on a prediction model using the training data, it is possible to improve the accuracy of feedforward control of a controlled object.

[0017] According to the device, teacher data generation program, and teacher data generation method disclosed herein, the accuracy of feedforward control of a control object can be improved.

[0018] 5( a ) is a block diagram showing the functional configuration of a control device according to a first embodiment. It is a Venn diagram showing the inclusion relationships of four data sets each including four combinations. It is a diagram showing time charts of disturbances, measurement values, manipulated variables, and controlled variables during a trial period when a prediction model has not yet been learned. It is a diagram showing measurement values, manipulated variables, and controlled variables acquired during the trial period shown in FIG. 3 when the absolute value of the error is smaller than a reference value. It is a diagram for explaining the process of separating manipulated variables into measured components and unmeasured components. It is a diagram plotting points identified by the measurement values ​​of FIG. 4 and the feedforward compensation value of FIG. 5( d ), which have the same sample number (measurement time). It is a diagram for explaining the process of deriving a prediction function based on two data sets acquired during two trial periods. It is a diagram showing how the controlled variable improves by increasing the number of trials for acquiring training data. It is a diagram showing a flowchart showing the flow of processes performed by the feedback control system, feedforward control system, learning data generation unit, and learning unit of FIG. 1. It is a flowchart showing a specific process flow of the learning data generation process of FIG. 9. It is a flowchart showing a specific process flow of the machine learning process of FIG. 9. Fig. 15 is a diagram showing a flow of additional learning processing performed by the learning unit of Fig. 2. Fig. 16 is a block diagram showing a functional configuration of a control device according to a first modified example of embodiment 1. Fig. 17 is a block diagram showing a functional configuration of a control system according to embodiment 2. Fig. 18 is a schematic diagram showing an example of a network configuration of a control system according to embodiment 3. Fig. 19 is a block diagram showing an example of a hardware configuration of the control device of Fig. 15.

[0019] 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.

[0020] [Embodiment 1] <Application Example> Fig. 1 is a block diagram showing the functional configuration of a control device 100 according to embodiment 1. As shown in Fig. 1, the control device 100 (learning device) includes a feedback control unit 110, a feedforward compensation unit 120, a learning data generation unit 130, a storage unit 140, a subtractor 150, an adder 160, and a learning unit 170.

[0021] The control device 100 outputs the sum of a feedback control variable rb and a feedforward compensation value rf to the control object 200 as a control variable r to the control object 200 so that the control variable q, which is the output value of the control object 200 subjected to a disturbance ds, approaches a target value qr. The storage unit 140 stores a prediction model Mp and training data Dt. The control device 100 and the control object 200 may be connected via a network (e.g., the Internet or a cloud system) and located remotely from each other. Examples of machine learning algorithms used to construct the prediction model Mp include a deep binary tree and a support vector machine.

[0022] 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 multiple disturbance elements, such as the amount of light, voltage, current, and temperature that are accidentally or suddenly input to the controlled object. Of the multiple disturbance elements included in the disturbance ds, the disturbance element that is measured by a measuring device such as a sensor is referred to as a measured element dsk (first element), and the disturbance element that is not measured is referred to as a non-measured element dsu (second element). Furthermore, the measurement value of the measured element dsk is referred to as do.

[0023] The multiple disturbance elements included in the disturbance ds can be determined as multiple factors expected to affect the quality characteristic value (controlled variable 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. Among the multiple factors, factors that cause relatively large fluctuations in the controlled variable q during a reference time interval for feedback control (e.g., the sampling time or time constant of feedback control) are designated as measured elements dsk, while factors that cause relatively small fluctuations in the controlled variable q or unknown factors are designated as unmeasured elements dsu. In other words, the fluctuation of the controlled variable q based on the measured elements during the reference time interval is larger than the fluctuation of the controlled variable q based on the unmeasured elements during the reference time interval. For example, factors that cause abrupt or discontinuous fluctuations in the controlled variable q that are difficult to track with feedback control (e.g., material properties such as curvature or yield strength) are designated as measured elements dsk. There is a relatively high need to perform feedforward control on the measured elements dsk, which can prepare for abrupt fluctuations in advance. On the other hand, factors that cause gradual or continuous fluctuations in the controlled variable q that can be tracked by feedback control (for example, the ambient temperature of the controlled object or thermal expansion of the controlled object due to processing heat) are considered to be non-measured elements dsu. Since the non-measured elements dsu can be tracked by feedback control, there is relatively little need to perform feedforward control. Note that these factors may be considered non-measured elements in order to reduce the cost of sensors and the like required to measure them.

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

[0025] 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. The feedforward compensation unit 120 predicts a feedforward compensation value rf from the measured value do using the prediction model Mp 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 and the learning data generation unit 130.

[0026] The learning data generator 130 generates training data Dt used in machine learning for the prediction model Mp. The learning data generator 130 acquires, at multiple timings, multiple combinations Cm1 (first combinations) including a target value qr, an operation amount r corresponding to the target value qr, a measurement value d o, and a control amount q corresponding to both the measurement value d o and the operation amount r. Among the multiple combinations Cm1, the learning data generator 130 identifies multiple combinations Cm2 (second combinations) including the measurement value d o and the operation amount r when the absolute value of the error eq is smaller than a reference value α (first reference value) (when high-precision control is performed on the control object 200). The reference value α can be determined as appropriate based on, for example, an actual machine experiment, a simulation, a product specification value, or a control value for a certain manufacturing process.

[0027] The training data generation unit 130 identifies multiple measured components (first components) corresponding to the measured element dsk and multiple unmeasured components (second components) corresponding to the unmeasured element dsu for the multiple manipulated variables r included in each of the multiple combinations Cm2. The measured and unmeasured components correspond to the feedforward compensation value rf and the feedback manipulated variable rb, respectively. The training data generation unit 130 outputs training data Dt to the storage unit 140, in which multiple measured components (correct answers) are associated with multiple measured values ​​do. The training data Dt is stored in the storage unit 140, separated by trial period for acquiring a set of training data. Note that the training data generation unit 130 may directly output the training data Dt to the learning unit 170.

[0028] The learning unit 170 approximates the relationship between the measurement value d o and the feedforward compensation value rf (measurement component) as a function (regression curve or regression surface) with the feedforward compensation value rf as the objective variable and the measurement value d o as the explanatory variable. The prediction model Mp includes this function. If the ratio Cr of the number of combinations Cm4 (fourth combinations) among the multiple combinations Cm2 in which the absolute value of the measurement value d o is greater than the reference value β (second reference value) to the number of combinations Cm3 (third combinations) among the multiple combinations Cm1 in which the absolute value of the measurement value d o is greater than the reference value β (third reference value) is greater than the reference value δ (third reference value), the learning unit 170 determines that the number of timings in which high-precision control of the control target 200 is performed has increased to a desired level even when the measurement component of the disturbance ds is relatively large, and terminates machine learning for the prediction model Mp. Note that the reference value β may be determined as the maximum absolute value of the measurement value d o when the control system is in a steady state. The reference value β can be determined appropriately based on, for example, actual machine experiments, simulations, product specifications, or manufacturing process control values.

[0029] When machine learning (initial learning or additional learning) for the prediction model Mp is completed and the ratio Cr is equal to or less than the reference value δ, the learning unit 170 determines that the characteristics of the controlled object 200 have changed and resumes machine learning (additional learning) for the prediction model Mp. The reference value δ can be determined appropriately based on, for example, actual machine experiments, simulations, product specifications, or management values ​​for a certain manufacturing process. The characteristics of the controlled object 200 include, for example, the correspondence between the measured value d o and the manipulated variable r and the controlled variable q.

[0030] FIG. 2 is a Venn diagram showing the inclusion relationships of four data sets Scm1, Scm2, Scm3, and Scm4, each containing four combinations Cm1 to Cm4. Data set Scm1 is a data set that includes all of the combinations Cm1, each including a target value qr, an operation amount r, a measurement value do, and a controlled variable q. Data set Scm2 is a data set that includes all of the combinations Cm2, from data set Scm1, that include the measurement value do and the operation amount r when the absolute value of the error eq is smaller than a reference value α. Data set Scm3 is a data set that includes all of the combinations Cm3, from data set Scm1, when the absolute value of the measurement value do is greater than a reference value β. Data set Scm4 is a data set that includes all of the combinations Cm4, from data set Scm2, where the absolute value of the measurement value do is greater than the reference value β. As shown in FIG. 5, data set Scm1 includes data sets Scm2 and Scm3. Data set Scm4 is the intersection (intersection) of data sets Scm2 and Scm3.

[0031] In the control device 100, the correct answer to be associated with the measurement value do of the manipulated variable r included in the feedforward control result is not the manipulated variable r itself, but rather the measured component of the manipulated variable r that corresponds to the measured element dsk requiring feedforward control, which is identified as the feedforward compensation value rf. According to the control device 100, since an appropriate correct answer is associated with the measurement value do in the teacher data Dt, the accuracy of the feedforward control of the control object 200 can be improved by performing machine learning on the prediction model Mp using the teacher data Dt. Furthermore, according to the control device 100, the prediction model Mp can be adapted to the measurement value do and the characteristics of the control object 200 in real time in parallel with the feedforward control. Furthermore, since the machine learning continues until the accuracy of the prediction model Mp is sufficiently high, the accuracy of the feedforward control of the control object 200 can be sufficiently improved. Furthermore, since the prediction model Mp is re-adapted to the characteristics in response to changes in the characteristics of the control object 200, a decrease in the accuracy of the feedforward control due to changes in the characteristics of the control object 200 can be suppressed.

[0032] FIG. 3 shows time charts of the disturbance ds, the measurement value d0, the manipulated variable r, and the controlled variable q during a trial period when the prediction model Mp has not yet been trained. FIG. 3 plots 8,000 pieces of data acquired over 6,400 seconds. As shown in FIG. 3, the measured variable dsk and the measured value d0 change more rapidly at times t1, t2, t3, and t4 (t1<t2<t3<t4) than at other time periods, while forming a nearly flat, step-like graph at other time periods. The unmeasured variable dsu changes uniformly and continuously, forming a linear graph. The manipulated variable r changes sharply at times t1, t2, t3, and t4, similar to the measured variable dsk, while changing continuously at other time periods, similar to the unmeasured variable dsu. Spike-like noise occurs in the controlled variable q at times t1, t2, t3, and t4.

[0033] 4 is a diagram showing the measurement value do, the operation amount r, and the control amount q obtained during the trial period shown in FIG. 3 when the absolute value of the error eq is smaller than the reference value α. FIG. 5 is a diagram for explaining the process of separating the operation amount r into a measured component and a non-measured component. The operation amount r in FIG. 5(a) corresponds to the operation amount r in FIG. 4, and the operation amount r in FIG. 5(d) corresponds to the operation amount r in FIG. 3. The sample numbers on the horizontal axes of FIGS. 4 and 5 are numbers assigned in the order in which the data was obtained. The same applies to FIG. 8, which will be described later.

[0034] Referring to FIG. 5, the difference in (b) is the (n+1)th manipulated variable r n+1 The nth operation amount r n The value obtained by subtracting r n+1 -r n ) In (b), outliers ot1, ot2, ot3, and ot4 are detected at times t1 to t4, respectively. Each of the outliers ot1 to ot4 has an absolute value (|r n+1 -r n |).

[0035] In (c), the non-measured components extracted by performing offset processing on each of the multiple data shown in (a) are plotted. In this offset processing, the sum of outliers corresponding to the measurement time is subtracted from each of the multiple data. Specifically, the outlier subtracted from the manipulated variable r from time 0 (measurement start) to time t1 is ot0. The outlier subtracted from the manipulated variable r from time t1 to t2 is the sum of ot0 and ot1. The outlier subtracted from the manipulated variable r from time t2 to t3 is the sum of ot0 to ot2. The outlier subtracted from the manipulated variable r from time t3 to t4 is the sum of ot0 to ot3. The outlier subtracted from the manipulated variable r from time t4 onwards is the sum of ot0 to ot4. Based on the non-measured components plotted in (c), the correspondence between the sample number (or time) and the non-measured component of the manipulated variable r is approximated as a function of the non-measured component. The non-measured component of the manipulated variable r is a manipulated variable determined by feedback control to correspond to the non-measured element dsu. Therefore, the unmeasured component of the manipulated variable r, which is approximated as a function in this way, is shown as the feedback manipulated variable rb in (d). The manipulated variable r is the sum of the feedback manipulated variable rb and the feedforward compensation value rf. Therefore, in (d), the feedforward compensation value rf is derived by subtracting the feedback manipulated variable rb from the manipulated variable r.

[0036] 6 is a diagram plotting points identified by the measured values ​​d 0 in FIG. 4 and the feedforward compensation values ​​rf in FIG. 5(d), which have the same sample number (measurement time). As shown in FIG. 6, by regression analysis based on the plotted points (teacher data), the correspondence between the measured values ​​d 0 and the feedforward compensation values ​​rf is approximated as a prediction function Fn1 having the measured values ​​d 0 and the feedforward compensation values ​​rf as explanatory variables and objective variables, respectively. Note that a machine learning algorithm such as Gaussian process regression can be used to approximate the correspondence between the measured values ​​d 0 and the feedforward compensation values ​​rf as a function.

[0037] FIG. 7 is a diagram illustrating a process for deriving a prediction function Fn12 based on two data sets acquired during two trial periods Tp1 and Tp2. As shown in FIG. 7 , the points (teacher data) derived during each of the trial periods Tp1 and Tp2 are calculated by subtracting an offset value from the feedforward compensation values ​​rf. These points are used as new teacher data to derive the prediction function Fn12. The offset value may be determined using the measurement values ​​do12 included in the overlapping range Rg of the prediction functions Fn1 and Fn2 corresponding to the trial periods Tp1 and Tp2. Specifically, the offset value may be the absolute value of the difference between the average value rfa of the feedforward compensation values ​​rf1 and rf2 corresponding to the measurement value do12 in the prediction functions Fn1 and Fn2 and the feedforward compensation value rf1 or rf2 (half the difference between the feedforward compensation values ​​rf1 and rf2). The offset value may be determined so that the sum of the offset values ​​for all points included in the two trial periods Tp1 and Tp2 is minimized.

[0038] 8 is a diagram illustrating how the control variable q improves as the number of trials for acquiring training data increases. As shown in FIG. 8 , spike-like noise occurs at times t11, t12, t13, and t14 during the first trial period. However, because machine learning using the training data generated during the first trial period is performed on the prediction model Mp, the magnitude of the spike-like noise occurring at times t21, t22, t23, and t24 during the second trial period and the magnitude of the spike-like noise occurring at times t31, t32, t33, and t34 during the third trial period are smaller than the magnitude of the spike-like noise occurring at times t11, t12, t13, and t14 during the first trial period.

[0039] 9 is a diagram showing a flowchart illustrating the flow of processing performed by each of the feedback control system, feedforward control system, learning data generation unit 130, and learning unit 170 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 and the learning unit 170 are executed, for example, in response to the first execution of the routine corresponding to the flowchart of the feedforward control system. Hereinafter, steps will simply be abbreviated as S.

[0040] 9, in S111, the subtractor 150 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 controlled variable rb based on the error eq, and outputs the determined value to the adder 160, thereby completing the process.

[0041] In S121, the feedforward compensation unit 120 determines a feedforward compensation value rf from the measurement value do and outputs the determined value to 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 learning data generation unit 130, and the process ends.

[0042] The training data generation unit 130 generates training data Dt in S130 and ends the process. The learning unit 170 performs machine learning on the prediction model Mp using the training data Dt in S170 and ends the process.

[0043] 10 is a flowchart showing a specific processing flow of the training data generation process S130 of FIG. 9 . As shown in FIG. 10 , the training data generation unit 130 acquires a plurality of combinations Cm1 at a plurality of timings in S131 and proceeds to S132. In S132, the training data generation unit 130 identifies a plurality of combinations Cm2 from the plurality of combinations Cm1, each of which includes a measurement value do and an operation amount r for which the absolute value of the error eq is smaller than the reference value α, and proceeds to S133. In S133, the training data generation unit 130 identifies a plurality of measurement components corresponding to the measurement element dsk and a plurality of non-measurement components corresponding to the non-measurement element dsu for the operation amounts r included in each of the plurality of combinations Cm2, and proceeds to S134. In S134, the learning data generation unit 130 outputs training data Dt in which multiple measurement components (feedforward compensation values ​​rf) are respectively associated with multiple measurement values ​​do included in the combination Cm2 at multiple timings as correct answers, and then ends the processing.

[0044] FIG. 11 is a flowchart showing a specific process flow of the machine learning process S170 of FIG. 9 . As shown in FIG. 11 , in S171, the learning unit 170 acquires newly added teacher data Dt and proceeds to S172. In S172, the learning unit 170 approximates the relationship between the measurement value d o represented by the prediction model Mp and the feedforward compensation value rf as a measurement component of the manipulated variable r as a function (regression curve) with the feedforward compensation value rf as the objective variable and the measurement value d o as the explanatory variable, and proceeds to S173. In S173, the learning unit 170 calculates the ratio Cr (=M2 / M1) of the number M2 of combinations Cm4 among the multiple combinations Cm2 whose absolute value of the measurement value d o is greater than the reference value β to the number M1 of combinations Cm3 among the multiple combinations Cm1 whose absolute value of the measurement value d o is greater than the reference value β, and proceeds to S174. In S174, the learning unit 170 determines whether the ratio Cr is greater than a reference value δ. If the ratio Cr is equal to or less than the reference value δ (NO in S174), the learning unit 170 determines that the accuracy of the feedforward control of the control object 200 is insufficient, and returns the process to S171. If the ratio Cr is greater than the reference value δ (YES in S174), the learning unit 170 determines that the accuracy of the feedforward control of the control object 200 has sufficiently improved, and ends the machine learning.

[0045] FIG. 12 is a diagram showing the flow of additional learning processing performed by the learning unit 170 of FIG. 2 . The processing shown in FIG. 12 is executed, for example, at each sampling time after the initial machine learning has started. As shown in FIG. 12 , in S171A, the learning unit 170 determines whether machine learning has ended and whether the ratio Cr is equal to or less than the reference value δ. If machine learning has not ended or if the ratio Cr is greater than the reference value δ (NO in S171A), the learning unit 170 determines that the characteristics of the controlled object 200 have not changed and the existing trained prediction model Mp is adapted to the controlled object 200, and terminates the processing. If machine learning has ended and the ratio Cr is equal to or less than the reference value δ (YES in S171A), the learning unit 170 determines that the characteristics of the controlled object 200 have changed since the previous machine learning ended, and resumes machine learning on the prediction model Mp in S170 similar to FIG. 9 in order to re-adapt the prediction model Mp to the characteristics of the controlled object 200. According to the control device 100, additional learning is performed on the prediction model Mp in response to changes in the characteristics of the controlled object 200, so that a decrease in the accuracy of feedforward control due to changes in the characteristics of the controlled object 200 can be suppressed.

[0046] [First Modification of First Embodiment] In the first embodiment, a configuration including both a feedback control system and a feedforward control system has been described. In a first modification of the first embodiment, a configuration not including a feedback control system will be described.

[0047] 13 is a block diagram showing the functional configuration of a control device 100A according to a first modification of the first embodiment. The configuration of the control device 100A is the same as that of the control device 100 in FIG. 1 except that the subtractor 150 and the feedback control unit 110 are removed. Since the remaining configuration is the same, the description of the similar configuration will not be repeated. It should be noted that the adder 160 does not necessarily have to be included in the control device 100A.

[0048] 13, the control device 100A determines a feedforward compensation value rf of a feedback manipulated variable rb to the control object 200 so that a controlled variable q of the control object 200 that receives a measured value do approaches a target value qr. According to the control device 100A, by adding a control device to an existing feedback control system while leaving the existing feedback control system, it is possible to easily expand the existing feedback control system into a control system that includes a feedforward control system and a learning function.

[0049] As described above, according to the device and the method for generating teacher data according to the first embodiment and the first modification, it is possible to improve the accuracy of feedforward control of a control target.

[0050] [Embodiment 2] In the first embodiment, a case where a feedback control system, a feedforward control system, and a configuration for performing machine learning on a predictive model are included in a single control device has been described. In the second embodiment, a configuration will be described in which the feedback control system, the feedforward control system, and a configuration for performing machine learning on a predictive model are separated into separate devices.

[0051] Fig. 14 is a block diagram showing the functional configuration of a control system 2 according to embodiment 2. In Fig. 14, components denoted by the same reference symbols as those in Fig. 1 have the same functions as the components identified by the same reference symbols described in embodiment 1, and therefore description of these similar components will not be repeated.

[0052] As shown in FIG. 14 , the control system 2 includes a feedback control device 11, a feedforward compensation device 12, a training data generation device 13, a storage device 14, and a learning device 17. The training data generation device 13, the storage device 14, and the learning device 17 correspond to the training data generation unit 130, the storage unit 140, and the learning unit 170, respectively, in FIG. 1 . The feedback control device 11 includes a feedback control unit 110 and a subtractor 150. The feedforward compensation device 12 includes a feedforward compensation unit 120 and an adder 160. The feedback control device 11, the feedforward compensation device 12, the training data generation device 13, the storage device 14, the learning device 17, and the control target 200 may be connected to each other via a network and located remotely from each other. Note that the adder 160 may be included in the feedback control device 11, not in the feedforward compensation device 12.

[0053] According to the control system 2, an existing control system can be easily expanded by adding a feedforward compensation device, a learning data generation device, and a learning device to the existing feedback control device while leaving the existing feedback control device in place.

[0054] As described above, according to the device and the method for generating teacher data according to the second embodiment, it is possible to improve the accuracy of feedforward control of a control target.

[0055] Third Embodiment In a third 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.

[0056] <Network Configuration Example of Control System> Fig. 15 is a schematic diagram showing a network configuration example of a control system 3 according to embodiment 3. As shown in Fig. 15, the control system 3 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 300 that is a processing entity that executes a control program, and peripheral devices connected to the control device 300. The control device 300 has a functional configuration similar to that of the control device 100 shown in Fig. 1.

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

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

[0059] The field network 20 preferably 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 preferred because it guarantees data arrival time.

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

[0061] In the control system 3, the field device 200C 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 200C is an example of a "controlled object."

[0062] Servo drivers 220_1 and 220_2 drive corresponding ones of servo motors 222_1 and 222_2 in accordance with command values ​​(such as a position command value or a speed command value) from control device 300. In this manner, control device 300 can control field device 200C.

[0063] The control device 300 is also connected to other devices via a higher-level network 32. The higher-level network 32 is connected to the Internet 900, an external network, via a gateway 700. The higher-level network 32 may use 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.

[0064] 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.

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

[0066] A support device 400 can be connected to the control device 300. The support device 400 may be connected to the control device 300 via the higher-level network 32 or the Internet 900. The support device 400 is a device that assists the control device 300 in making the preparations necessary for controlling the 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 300, a setting environment for setting configuration information (configuration) for the control device 300 and various devices connected to the control device 300, a function for outputting generated programs to the control device 300, and a function for online correction and modification of programs executed on the control device 300.

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

[0068] The control device 300 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 on multiple different lines within one production site.

[0069] <Example of Hardware Configuration of Control Device> Fig. 16 is a block diagram showing an example of the hardware configuration of the control device 300 of Fig. 15. As shown in Fig. 14, the control device 300 includes a processor 302, a main memory 304, a storage 360, a memory card interface 312, a host network controller 306, a field network controller 308, a local bus controller 316, and a USB (Universal Serial Bus) controller 370 that provides a USB interface. These components are connected via a processor bus 318.

[0070] 16, 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 360, expands it in the main memory 304, and executes it, thereby realizing control calculations for a control target.

[0071] 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), etc. The storage 360 ​​is configured with a non-volatile storage device such as a solid state drive (SSD) and / or a hard disk drive (HDD), etc.

[0072] The storage 360 ​​stores a control program Pc, training data Dt, and a prediction model Mp. The storage 360 ​​corresponds to the memory unit 140 in FIG. 1. The control program Pc includes a program for comprehensively controlling the control device 300 and realizing each function of the control device 300. In other words, the processor 302 that executes the control program Pc corresponds to the feedback control system (feedback control unit 110 and subtractor 150), the feedforward control system (feedforward compensation unit 120 and adder 160), the learning data generation unit 130, and the learning unit 170 in FIG. 1.

[0073] 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.

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

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

[0076] The local bus controller 316 exchanges data with any of the functional units 380 constituting the control device 300 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.

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

[0078] As described above, according to the device, the teacher data generation program, and the teacher data generation method of the third embodiment, it is possible to improve the accuracy of feedforward control of a control object.

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

[0080] [Configuration 1] An apparatus (100) for machine learning on a prediction model (Mp) that predicts a feedforward compensation value (rf) of a feedback manipulated variable (rb) to a control object (200) that receives a disturbance (ds), wherein the feedback manipulated variable (rb) is determined by feedback control of a control device of the control object based on an error (eq) between a target value (qr) and a controlled variable (q) of the control object (200) so that the controlled variable (q) approaches the target value (qr), a sum of the feedback manipulated variable (rb) and the feedforward compensation value (rf) is output from the control device to the control object (200) as a manipulated variable (r), the disturbance (ds) includes a first element (dsk) and a second element (dsu), and the prediction model (Mp) predicts the feedforward compensation value (rf) from a measured value (do) of the first element (dsk), The device (100) includes a learning data generation unit (130), wherein the learning data generation unit (130) identifies, among a plurality of first combinations (Cm1) including the target value (qr), the operation amount (r) corresponding to the target value (qr), the measurement value (do), and the control amount (q) corresponding to both the measurement value (do) and the operation amount (r), based on a comparison between the error (eq) and a first reference value (α), a plurality of second combinations (Cm2) including the measurement value (do) and the operation amount (r), each of which is acquired at a plurality of timings; and identifies, among a plurality of operation amounts (r) included in each of the plurality of second combinations (Cm2), a plurality of first components (rf) corresponding to the first element (dsk) and a plurality of second components (rb) corresponding to the second element (dsu), An apparatus (100) outputs training data (Dt) in which the plurality of first components (rf) correspond to the plurality of measurement values ​​(do) respectively included in the second combination (Cm2) at the plurality of timings as correct answers.

[0081] [Configuration 2] The device (100) according to Configuration 1 further includes a learning unit that performs the machine learning on the prediction model (Mp) using the teacher data (Dt), wherein the learning unit (170) approximates the relationship between the plurality of measurement values ​​(d o ) and the plurality of first components (rf) expressed by the prediction model (Mp) as a function having the feedforward compensation value (rf) as a response variable and the measurement values ​​(d o ) as an explanatory variable, and terminates the machine learning when a ratio of the number of fourth combinations among the plurality of second combinations (Cm2) whose absolute values ​​of the measurement values ​​(d o ) are greater than the second reference value to the number of third combinations among the plurality of first combinations (Cm1) whose absolute values ​​of the measurement values ​​(d o ) are greater than the second reference value is greater than a third reference value.

[0082] [Configuration 3] The device (100) according to Configuration 2, wherein the learning unit (170) resumes the machine learning when the machine learning ends and the ratio is smaller than the third reference value.

[0083] [Configuration 4] The apparatus (100) of any one of configurations 1 to 3, wherein the second element (dsu) is not measured.

[0084] [Configuration 5] A program for generating teacher data for machine learning for a prediction model (Mp) that predicts a feedforward compensation value (rf) of a feedback manipulated variable (rb) to a controlled object (200) that receives a disturbance (ds), wherein the feedback manipulated variable (rb) is determined by feedback control of a control device of the controlled object based on an error (eq) between a target value (qr) and a controlled variable (q) of the controlled object (200) so that the controlled variable (q) approaches the target value (qr), a sum of the feedback manipulated variable (rb) and the feedforward compensation value (rf) is output from the control device to the controlled object (200) as a manipulated variable (r), the disturbance (ds) includes a first element (dsk) and a second element (dsu), and the prediction model (Mp) predicts the feedforward compensation value (rf) from a measured value (do) of the first element (dsk), and the program for generating teacher data is executed by a processor to a plurality of second combinations (Cm2) including the measurement value (do) and the operation amount (r) based on a comparison of the error (eq) and a first reference value (α) among a plurality of first combinations (Cm1) including the target value (qr), the operation amount (r) corresponding to the target value (qr), the measurement value (do), and the control amount (q) corresponding to both the measurement value (do) and the operation amount (r), which are obtained at a plurality of timings; a plurality of first components (rf) corresponding to the first element (dsk) and a plurality of second components (rb) corresponding to the second element (dsu) in the plurality of operation amounts (r) respectively included in the plurality of second combinations (Cm2); and a teacher data generation program which outputs teacher data (Dt) in which the plurality of first components (rf) correspond to the plurality of measurement values ​​(do) respectively included in the second combinations (Cm2) at the plurality of timings as correct answers.

[0085] [Configuration 6] A method for generating teacher data for machine learning for a prediction model (Mp) that predicts a feedforward compensation value (rf) of a feedback manipulated variable (rb) to a control object (200) that receives a disturbance (ds), wherein the feedback manipulated variable (rb) is determined by feedback control of a control device of the control object based on an error (eq) between a target value (qr) and a controlled variable (q) of the control object (200) so that the controlled variable (q) approaches the target value (qr), a sum of the feedback manipulated variable (rb) and the feedforward compensation value (rf) is output from the control device to the control object (200) as a manipulated variable (r), the disturbance (ds) includes a first element (dsk) and a second element (dsu), and the prediction model (Mp) predicts the feedforward compensation value (rf) from a measured value (do) of the first element (dsk), and the method for generating teacher data includes: Among a plurality of first combinations (Cm1) including the target value (qr), the manipulated variable (r) corresponding to the target value (qr), the measured value (do), and the controlled variable (q) corresponding to both the measured value (do) and the manipulated variable (r), which are acquired at a plurality of timings, based on a comparison of the error (eq) with a first reference value (α), identifying a plurality of second combinations (Cm2) including the measured value (do) and the manipulated variable (r); and identifying a plurality of first components (rf) corresponding to the first element (dsk) and a plurality of second components (rb) corresponding to the second element (dsu) in the plurality of manipulated variables (r) respectively included in the plurality of second combinations (Cm2); A method for generating teacher data, comprising: outputting teacher data (Dt) in which the plurality of first components (rf) correspond to the plurality of measurement values ​​(do) respectively included in the second combinations (Cm2) at the plurality of timings as correct answers.

[0086] [Configuration 7] The method for generating teacher data according to Configuration 6, further comprising a method for generating a trained model by performing the machine learning on the prediction model (Mp) using the teacher data (Dt), wherein the method for generating the trained model comprises: a step of approximating the relationship between the plurality of measurement values ​​(do) and the plurality of first components (rf), expressed by the prediction model (Mp), as a function having the feedforward compensation value (rf) as a response variable and the measurement values ​​(do) as an explanatory variable; and a step of terminating the machine learning when a ratio of the number of fourth combinations among the plurality of second combinations (Cm2), whose absolute values ​​of the measurement values ​​(do) are greater than the second reference value, to the number of third combinations among the plurality of first combinations (Cm1), whose absolute values ​​of the measurement values ​​(do) are greater than the second reference value, is greater than a third reference value.

[0087] [Configuration 8] The method for generating training data according to Configuration 7, further comprising the step of restarting the machine learning when the machine learning has ended and the ratio is smaller than the third reference value.

[0088] 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.

[0089] 2, 3 Control system, 11 Feedback control device, 12 Feedforward compensation device, 13 Learning data generation device, 14 Storage device, 17 Learning device, 20 Field network, 32 Upper network, 100, 100A, 300 Control device, 110 Feedback control unit, 120 Feedforward compensation unit, 122 Local bus, 130 Learning data generation unit, 140 Storage unit, 150 Subtractor, 160 Adder, 170 Learning unit, 200 Control target, 200C Field device, 222 Servo motor, 302 Processor, 304 Main memory, 306 Upper network controller, 308 Field network controller, 312 Memory card interface, 314 Memory card, 316 Local bus controller, 318 Processor bus, 360 Storage, 370 Controller, 380 Functional unit, 400 Support device, 500 Display device, 600 Server device, 700 gateway, 900 Internet, Cm1 to Cm4 combination, Cr ratio, Dt teacher data, Fn1, Fn2, Fn12 prediction function, Mp prediction model, Pc control program, Rg overlap range, Scm1 to Scm4 data set, Tp1, Tp2 trial period, dsk measurement element, do, do12 measurement value, ds disturbance, dsu non-measurement element, eq error, ot1 to ot4 outlier, q controlled variable, qr target value, r manipulated variable, rb feedback manipulated variable, rf, rf1, rf2 feedforward compensation value.

Claims

1. An apparatus for machine learning for a prediction model predicting a feedforward compensation value of a feedback manipulated variable for a controlled object subjected to a disturbance, wherein the feedback manipulated variable is determined by feedback control of a control device of the controlled object based on an error between a target value and a controlled variable of the controlled object so that the controlled variable approaches the target value, a sum of the feedback manipulated variable and the feedforward compensation value is output from the control device to the controlled object as a manipulated variable, the disturbance includes a first element and a second element, and the prediction model predicts the feedforward compensation value from a measured value of the first element, the apparatus comprising a learning data generation unit, the learning data generation unit: among a plurality of first combinations including the target value, the manipulated variable corresponding to the target value, the measured value, and the controlled variable corresponding to both the measured value and the manipulated variable, which are obtained at a plurality of timings, based on a comparison between the error and a first reference value, a device that identifies a plurality of first components corresponding to the first element and a plurality of second components corresponding to the second element for a plurality of manipulated variables respectively included in the plurality of second combinations, and outputs teacher data in which the plurality of first components correspond as correct answers to a plurality of measurement values ​​respectively included in the second combinations at the plurality of timings.

2. The device of claim 1, further comprising a learning unit that performs the machine learning on the predictive model using the teacher data, wherein the learning unit approximates the relationship between the multiple measurement values ​​and the multiple first components represented by the predictive model as a function with the feedforward compensation value as a response variable and the measurement values ​​as explanatory variables, and terminates the machine learning when a ratio of the number of fourth combinations among the multiple second combinations, whose absolute values ​​of the measurement values ​​are greater than the second reference value, to the number of third combinations among the multiple first combinations, whose absolute values ​​of the measurement values ​​are greater than the second reference value, is greater than a third reference value.

3. The device according to claim 2, wherein the learning unit resumes the machine learning when the machine learning is terminated and the ratio is smaller than the third reference value.

4. An apparatus according to any one of claims 1 to 3, wherein the second element is not measured.

5. A program for generating teacher data for machine learning for a prediction model predicting a feedforward compensation value of a feedback manipulated variable for a control object subjected to a disturbance, wherein the feedback manipulated variable is determined by feedback control of a control device of the control object based on an error between a target value and a control variable of the control object so that the control variable approaches the target value, a sum of the feedback manipulated variable and the feedforward compensation value is output from the control device to the control object as a manipulated variable, the disturbance includes a first element and a second element, the prediction model predicts the feedforward compensation value from a measurement value of the first element, and the program for generating teacher data is executed by a processor to: identify a plurality of second combinations including the measurement value and the manipulated variable based on a comparison between the error and a first reference value from a plurality of first combinations including the target value, the manipulated variable corresponding to the target value, the measurement value, and the control variable corresponding to both the measurement value and the manipulated variable, which are obtained at a plurality of timings, a program for generating teacher data, the program identifying a plurality of first components corresponding to the first element and a plurality of second components corresponding to the second element for a plurality of operation amounts respectively included in the plurality of second combinations, and outputting teacher data in which the plurality of first components correspond as correct answers to a plurality of measurement values ​​respectively included in the second combinations at the plurality of timings.

6. A method for generating teacher data for machine learning for a prediction model predicting a feedforward compensation value of a feedback manipulation amount for a control object subjected to a disturbance, wherein the feedback manipulation amount is determined by feedback control of a control device of the control object based on an error between a target value and a control amount of the control object so that the control amount approaches the target value, a sum of the feedback manipulation amount and the feedforward compensation value is output from the control device to the control object as a manipulation amount, the disturbance includes a first element and a second element, and the prediction model predicts the feedforward compensation value from a measurement value of the first element, and the method for generating teacher data includes: identifying, based on a comparison between the error and a first reference value, each of a plurality of second combinations including the measurement value and the manipulation amount from a plurality of first combinations including the target value, the manipulation amount corresponding to the target value, the measurement value, and the control amount corresponding to both the measurement value and the manipulation amount, which are obtained at a plurality of timings; A method for generating teacher data comprising: identifying a plurality of first components corresponding to the first element and a plurality of second components corresponding to the second element in a plurality of operation amounts respectively included in the plurality of second combinations; and outputting teacher data in which the plurality of first components correspond as correct answers to a plurality of measurement values ​​respectively included in the second combinations at the plurality of timings.

Citation Information

Patent Citations

  • Neural network controller

    JP1992326101A

  • Machine learning device, servo control device, servo control system, and machine learning method

    JP2018169695A

  • Model-free adaptive control for industrial processes

    US6556980B1

Cited By

  • Deep learning-based robot cerebellum reinforcement learning method and system

    CN121756371A