Device for machine learning about feedforward control over control object, training data generation program, and training data generation method
The device improves feedforward control accuracy by predicting feedforward compensation values through machine learning, distinguishing measurable and non-measurable disturbance elements, and generating training data to enhance precision and adapt to changing conditions.
Patent Information
- Application Number
- JP2023032163
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-02
- Publication Date
- 2024-09-12
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The accuracy of feedforward control for controlled objects is compromised when not all disturbance elements are detected, leading to inaccurate prediction by neural network type feedforward compensators.
A device for machine learning that predicts feedforward compensation values using a prediction model, which identifies and separates measurable and non-measurable disturbance elements, generating training data to improve the accuracy of feedforward control by associating correct answers with measured values.
Enhances the accuracy of feedforward control by adapting to disturbance characteristics in real-time and reducing the need for additional sensors, ensuring high precision even with changes in the controlled object's characteristics.
Smart Images

Figure 2024124173000001
Abstract
Description
[Technical field]
[0001] The present disclosure relates to an apparatus for machine learning regarding feedforward control of a control object, a program for generating teacher data, and a method for generating teacher data. [Background technology]
[0002] Conventionally, a configuration for performing feedforward control on a controlled object has been known. For example, Japanese Patent Laid-Open Publication No. 4-326101 (Patent Document 1) discloses a neural network control device equipped with a disturbance occurrence detector that detects disturbances affecting a controlled system and controls self-learning of a neural network type feedforward compensator based on the disturbance detection value. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Application Publication No. 4-326101 Summary of the Invention [Problem to be solved by the invention]
[0004] In the configuration disclosed in Patent Document 1, a detection value of a disturbance affecting a controlled system is used for self-learning of a neural network type feedforward compensator. In this regard, a disturbance affecting a controlled system may include a plurality of elements. If it is not possible to detect all of these, the self-learning using the detection value of the disturbance cannot extract an accurate relationship between the disturbance including the undetected elements and the feedforward compensation signal. As a result, the accuracy of prediction of the feedforward compensation signal by the neural network type feedforward compensator may decrease.
[0005] The present disclosure has been made to solve the above-mentioned problems, and has an object to improve the accuracy of feedforward control of a control target. [Means for solving the problem]
[0006] An apparatus according to one aspect of the present disclosure is an apparatus for machine learning for a prediction model that predicts a feedforward compensation value of a feedback manipulated variable to a control target subjected to a disturbance. The feedback manipulated variable is determined by feedback control of a control device of 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 a 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 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 generating unit. The learning data generation unit identifies a plurality of second combinations including a measured value and an operating amount based on a comparison of the error with a first reference value from a plurality of first combinations including a target value, an operating amount corresponding to the target value, a measured value, and a control amount corresponding to both the measured value and the operating amount, respectively, and identifies a plurality of first components corresponding to a first element and a plurality of second components corresponding to a second element in the plurality of operating amounts respectively included in the plurality of second combinations, and outputs teacher data in which the plurality of first components correspond as correct answers to the plurality of measured values respectively included in the second combinations at the plurality of times.
[0007] According to this disclosure, among the manipulated variables included in the result of the feedforward control, a first component for corresponding to a measurement element that requires feedforward control among the manipulated variables is specified as a feedforward compensation value, rather than the manipulated variable itself, as a correct answer to be associated with the measurement value. As a result, an appropriate correct answer is associated with the measurement value in the teacher data. Therefore, according to this disclosure, the accuracy of the feedforward control of the control target can be improved by performing machine learning on a prediction model using the teacher data.
[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 the relationship between the multiple measurement values and the multiple 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 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.
[0009] According to this disclosure, since 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. Also, according to this disclosure, since machine learning is continued until the accuracy of the prediction model becomes sufficiently high, it is possible to sufficiently improve the accuracy of the feedforward control for the controlled object.
[0010] In the above disclosure, the learning unit may resume the machine learning when the machine learning is terminated and the ratio is smaller than a third reference value.
[0011] According to this disclosure, since the predictive model is re-adapted to the characteristics of the controlled object in response to changes in the characteristics of the controlled object, it is possible to suppress a decrease in accuracy of feedforward control due to changes in the characteristics of the controlled object.
[0012] In the above disclosure, the second element does not have to be measured.
[0013] According to this disclosure, the cost of a sensor or the like required to measure the second element can be reduced.
[0014] A program for generating teacher data according to another aspect of the present disclosure is a program for machine learning for a prediction model that predicts a feedforward compensation value of a feedback manipulated variable to a control target subjected to a disturbance. The feedback manipulated variable is determined by feedback control of a control device of the control target based on an error between a target value and a control variable of the control target so that the control variable approaches a 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 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. The program for generating teacher data is executed by a processor to identify, based on a comparison between the error and a first reference value, a plurality of second combinations including a measurement value and an operation amount from a plurality of first combinations including a target value, an operation amount corresponding to the target value, a measurement value, and a control amount corresponding to both the measurement value and the operation amount, obtained at a plurality of timings; identify, for the plurality of operation amounts 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 output 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.
[0015] According to this disclosure, among the manipulated variables included in the result of the feedforward control, a first component for corresponding to a measured element that requires feedforward control among the manipulated variables is specified as a feedforward compensation value, instead of 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 teacher data. Therefore, according to this disclosure, the accuracy of the feedforward control for the controlled object can be improved by performing machine learning on the prediction model using the teacher data. 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.
[0016] A method for generating teacher data according to another aspect of the present disclosure is a method for machine learning for a prediction model that predicts a feedforward compensation value of a feedback manipulated variable to a control target subjected to a disturbance. The feedback manipulated variable is determined by feedback control of a control device of 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 a 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 a 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 a plurality of second combinations including a measurement value and an operation amount based on a comparison of an error and a first reference value from a plurality of first combinations including a target value, an operation amount corresponding to the target value, a measurement value, and a control amount corresponding to both the measurement value and the operation amount, obtained at a plurality of timings; identifying a plurality of first components corresponding to a first element and a plurality of second components corresponding to a second element in the plurality of operation amounts included in each of 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 included in each of the second combinations at the plurality of timings.
[0017] According to this disclosure, among the manipulated variables included in the result of the feedforward control, a first component for corresponding to a measurement element that requires feedforward control among the manipulated variables is specified as a feedforward compensation value, rather than the manipulated variable itself, as a correct answer to be associated with the measurement value. As a result, an appropriate correct answer is associated with the measurement value in the teacher data. Therefore, according to this disclosure, the accuracy of the feedforward control of the control target can be improved by performing machine learning on a prediction model using the teacher data. Effect of the Invention
[0018] According to the device, teacher data generation program, and teacher data generation method of the present disclosure, it is possible to improve the accuracy of feedforward control of a control object. [Brief description of the drawings]
[0019] [Figure 1] 2 is a block diagram showing a functional configuration of a control device according to the first embodiment. FIG. [Diagram 2] This is a Venn diagram showing the inclusion relationships of four data sets, each of which contains four combinations. [Diagram 3] 13A to 13C are diagrams showing time charts of disturbances, measured values, manipulated variables, and controlled variables during a trial period when a predictive model has not yet been learned. [Figure 4] 4 is a diagram showing measurement values, manipulated variables, and controlled variables obtained in the trial period shown in FIG. 3, in which the absolute value of the error is smaller than a reference value. FIG. [Diagram 5] 11 is a diagram for explaining a process of dividing an operation amount into a measured component and a non-measured component. FIG. [Figure 6] 5(d) is a plot of points identified by the measurement values in FIG. 4 and the feedforward compensation values in FIG. 5(d) having the same sample number (measurement time). [Figure 7] FIG. 13 is a diagram for explaining a process of deriving a prediction function based on two data sets acquired in two trial periods. [Figure 8] FIG. 13 is a diagram showing how the control amount is improved by increasing the number of trials for acquiring training data. [Figure 9] 2 is a flowchart showing the flow of processing performed by each of a feedback control system, a feedforward control system, a learning data generating unit, and a learning unit in FIG. 1. FIG. [Figure 10] 10 is a flowchart showing a specific process flow of the learning data generation process of FIG. 9. [Figure 11] 10 is a flowchart showing a specific process flow of the machine learning process in FIG. 9. [Figure 12] 3 is a diagram showing a flow of additional learning processing performed by a learning unit in FIG. 2. [Figure 13]FIG. 2 is a block diagram showing a functional configuration of a control device according to a first modified example of the first embodiment. [Figure 14] FIG. 11 is a block diagram showing a functional configuration of a control system according to a second embodiment. [Figure 15] FIG. 11 is a schematic diagram showing an example of a network configuration of a control system according to a third embodiment. [Figure 16] 16 is a block diagram showing an example of a hardware configuration of the control device shown in FIG. 15. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0020] Hereinafter, the 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 characters and, in principle, the description thereof will not be repeated.
[0021] [Embodiment 1] <Application Examples> Fig. 1 is a block diagram showing a 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.
[0022] The control device 100 outputs the sum of the feedback manipulated variable rb and the feedforward compensation value rf to the control object 200 as the manipulated variable r to the control object 200 so that the controlled variable q, which is the output value of the control object 200 subjected to the disturbance ds, approaches the target value qr. The storage unit 140 stores the prediction model Mp and the teacher data Dt. The control device 100 and the control object 200 may be connected via a network (for example, the Internet or a cloud system) and may be located remotely from each other. The machine learning algorithm for constructing the prediction model Mp may be a deep binary tree or a support vector machine.
[0023] 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, including, for example, 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 measurement element dsk (first element), and the disturbance element that is not measured is referred to as a non-measurement element dsu (second element). In addition, the measurement value of the measurement element dsk is referred to as do.
[0024] The disturbance elements included in the disturbance ds can be determined as a plurality of factors that are expected to affect the quality characteristic value (control amount q) of the control object 200 based on previously obtained knowledge such as a characteristic-fishing diagram of the target device of the control object 200. Among the plurality of factors, a factor that causes a relatively large fluctuation in the control amount q in a reference time interval for feedback control (for example, a sampling time or time constant of feedback control) is set as a measured element dsk, and a factor that causes a relatively small fluctuation in the control amount q or an unknown factor is set as a non-measured element dsu. That is, the fluctuation of the control amount q based on the measured element in the reference time interval is larger than the fluctuation of the control amount q based on the non-measured element in the reference time interval. For example, a factor that causes a steep or discontinuous fluctuation in the control amount q that is difficult to follow by feedback control (for example, material characteristics such as material curvature or strength) is set as the measured element dsk. There is a relatively high need to perform feedforward control for the measured element dsk, which can prepare for steep 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 temperature around the controlled object, or the thermal expansion of the controlled object due to processing heat) are considered to be non-measured elements dsu. Since non-measured elements dsu can be tracked by feedback control, there is a relatively low need to perform feedforward control. Note that the factors may be considered to be non-measured elements in order to reduce the cost of sensors and the like required to measure them.
[0025] Hereinafter, a configuration including feedback control section 110 and subtractor 150 will also be referred to as a feedback control system, and a configuration including feedforward compensation section 120 and adder 160 will also be referred to as a feedforward control system.
[0026] 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 control object 200 and the learning data generation unit 130.
[0027] The learning data generating unit 130 generates teacher data Dt used in machine learning for the prediction model Mp. The learning data generating unit 130 acquires a plurality of combinations Cm1 (first combinations) including a target value qr, an operation amount r corresponding to the target value qr, a measurement value do, and a control amount q corresponding to both the measurement value do and the operation amount r at a plurality of timings. The learning data generating unit 130 identifies a plurality of combinations Cm2 (second combinations) including the measurement value do 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 target 200) from among the plurality of combinations Cm1. The reference value α can be appropriately determined based on, for example, an actual machine experiment, a simulation, a product specification value, or a management value of a certain manufacturing process.
[0028] The learning data generation unit 130 identifies a plurality of measurement components (first components) corresponding to the measurement element dsk and a plurality of non-measurement components (second components) corresponding to the non-measurement element dsu in a plurality of operation amounts r included in each of a plurality of combinations Cm2. The measurement components and the non-measurement components correspond to the feedforward compensation value rf and the feedback operation amount rb, respectively. The learning data generation unit 130 outputs teacher data Dt in which a plurality of measurement components (correct answers) are associated with a plurality of measurement values do, to the storage unit 140. The teacher data Dt is stored in the storage unit 140, classified for each trial period for acquiring a set of learning data (data set). The learning data generation unit 130 may directly output the teacher data Dt to the learning unit 170.
[0029] The learning unit 170 approximates the relationship between the measurement value do 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 do as the explanatory variable. The prediction model Mp includes the function. When the ratio Cr of the number of combinations Cm4 (fourth combinations) in which the absolute value of the measurement value do is greater than the reference value β among the multiple combinations Cm2 to the number of combinations Cm3 (third combinations) in which the absolute value of the measurement value do is greater than the reference value β (second reference value) among the multiple combinations Cm1 is greater than the reference value δ (third reference value), the learning unit 170 determines that the number of timings in which high-precision control is performed on the control target 200 has increased to a desired level even if the measurement component of the disturbance ds is relatively large, and ends the machine learning for the prediction model Mp. The reference value β may be determined as the maximum absolute value of the measurement value do when the control system is in a steady state. The reference value β can be determined appropriately based on, for example, an actual machine experiment, a simulation, a product specification value, or a management value of the manufacturing process.
[0030] 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 control object 200 have changed and resumes machine learning (additional learning) for the prediction model Mp. The reference value δ can be appropriately determined based on, for example, an actual machine experiment, a simulation, a product specification value, or a management value of a certain manufacturing process. The characteristics of the control object 200 include, for example, the correspondence between the measurement value do and the operation amount r and the control amount q.
[0031] FIG. 2 is a Venn diagram showing the inclusion relationship of four data sets Scm1, Scm2, Scm3, and Scm4 each including four combinations Cm1 to Cm4. Data set Scm1 is a data set including all combinations Cm1 including a target value qr, an operation amount r, a measurement value do, and a control amount q. Data set Scm2 is a data set including all combinations Cm2 including the measurement value do and the operation amount r when the absolute value of the error eq is smaller than a reference value α, in the data set Scm1. Data set Scm3 is a data set including all combinations Cm3 in the data set Scm1 when the absolute value of the measurement value do is larger than a reference value β. Data set Scm4 is a data set including all combinations Cm4 in the data set Scm2 where the absolute value of the measurement value do is larger than a reference value β. As shown in FIG. 5, data set Scm1 includes data sets Scm2 and Scm3. Data set Scm4 is a common part (intersection) of data sets Scm2 and Scm3.
[0032] In the control device 100, among the operation amounts r included in the result of feedforward control, as the correct answer to be associated with the measured value do, not the operation amount r itself, but the measurement component for corresponding to the measurement element dsk for which feedforward control is necessary among the operation amounts r is specified as the feedforward compensation value rf. According to the control device 100, since an appropriate correct answer is associated with the measured value do in the teacher data Dt, by performing machine learning on the prediction model Mp using the teacher data Dt, the accuracy of the feedforward control for the control target 200 can be improved. Also, according to the control device 100, the prediction model Mp can be adapted to the measured value do and the characteristics of the control target 200 in real time in parallel with the feedforward control. Also, since the machine learning is continued until the accuracy of the prediction model Mp becomes sufficiently high, the accuracy of the feedforward control for the control target 200 can be sufficiently improved. Further, since the prediction model Mp is re-adapted to the characteristics according to the change in the characteristics of the control target 200, it is possible to suppress a decrease in the accuracy of the feedforward control due to the change in the characteristics of the control target 200.
[0033] FIG. 3 is a diagram showing time charts of the disturbance ds, the measured value do, the operation amount r, and the control amount q during a trial period when the prediction model Mp is unlearned. In FIG. 3, 8000 data acquired in 6400 seconds are plotted. As shown in FIG. 3, the measurement element dsk and the measured value do change more steeply at each of the times t1, t2, t3, t4 (t1 < t2 < t3 < t4) than in other time zones, and form a substantially flat step-shaped graph in other time zones. The non-measurement element dsu changes uniformly and continuously to form a graph on a straight line. The operation amount r changes steeply at each of the times t1, t2, t3, t4 in the same manner as the measurement element dsk, and changes continuously in the same manner as the non-measurement element dsu in other time zones. Spike-like noise occurs in the control amount q at each of the times t1, t2, t3, t4.
[0034] FIG. 4 is a diagram showing the measurement value do, the operation amount r, and the control amount q when the absolute value of the error eq is smaller than the reference value α, among the measurement value do, the operation amount r, and the control amount q acquired during the trial period shown in FIG. 3. FIG. 5 is a diagram for explaining the process of dividing the operation amount r into a measured component and a non-measured component. The operation amount r in (a) of FIG. 5 corresponds to the operation amount r in FIG. 4, and the operation amount r in (d) of FIG. 5 corresponds to the operation amount r in FIG. 3. The sample numbers on the horizontal axis of FIG. 4 and FIG. 5 are numbers assigned in the order in which the data is acquired. The same applies to FIG. 8 described later.
[0035] Referring to Figure 5, the difference in (b) is the n+1th operation amount r n+1 nth control variable r n minus (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 |) is a difference.
[0036] In (c), the non-measured components extracted by performing offset processing on each of the multiple data shown in (a) are plotted. In the offset processing, the sum of outliers according to the time of measurement is subtracted from each of the multiple data. Specifically, the outlier subtracted from the operation amount r from time 0 (start of measurement) to time t1 is ot0. The outlier subtracted from the operation amount r from time t1 to t2 is the sum of ot0 and ot1. The outlier subtracted from the operation amount r from time t2 to t3 is the sum of ot0 to ot2. The outlier subtracted from the operation amount r from time t3 to t4 is the sum of ot0 to ot3. The outlier subtracted from the operation amount r after time t4 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 components of the operation amount r is approximated as a function of the non-measured components. The non-measured components of the operation amount r are operation amounts determined by feedback control to correspond to the non-measured element dsu. Therefore, the unmeasured component of the manipulated variable r 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.
[0037] Fig. 6 is a diagram in which points specified by the measurement value do in Fig. 4 and the feedforward compensation value rf in Fig. 5(d), which have the same sample number (measurement time), are plotted. As shown in Fig. 6, by regression analysis based on the plotted points (teacher data), the correspondence relationship between the measurement value do and the feedforward compensation value rf is approximated as a prediction function Fn1 having the measurement value do and the feedforward compensation value 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 relationship between the measurement value do and the feedforward compensation value rf as a function.
[0038] FIG. 7 is a diagram for explaining a process of deriving a prediction function Fn12 based on two data sets acquired in two trial periods Tp1 and Tp2. As shown in FIG. 7, a point obtained by subtracting an offset value from the feedforward compensation value rf of the point (teacher data) derived in each of the trial periods Tp1 and Tp2 is used as new teacher data, and the prediction function Fn12 is derived. The offset value may be determined using the measurement value do12 included in the overlapping range Rg of the prediction functions Fn1 and Fn2 corresponding to the trial periods Tp1 and Tp2, respectively. Specifically, 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) can be set as the offset value. 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.
[0039] 8 is a diagram showing how the control amount q is improved by increasing the number of trials for acquiring teacher data. As shown in FIG. 8, spike-like noise occurs at times t11, t12, t13, and t14 in the first trial period. However, since machine learning using the teacher data generated in 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 in the second trial period and the magnitude of the spike-like noise occurring at times t31, t32, t33, and t34 in the third trial period are smaller than the magnitude of the spike-like noise occurring at times t11, t12, t13, and t14 in the first trial period.
[0040] 9 is a diagram showing a flowchart showing the flow of processing performed by each of the feedback control system, the feedforward control system, the learning data generating unit 130, and the learning unit 170 in FIG. 1. The routines corresponding to the respective flowcharts of the feedback control system and the feedforward control system are executed, for example, at each sampling time. The routines corresponding to the respective flowcharts of the learning data generating unit 130 and the learning unit 170 are executed, for example, in response to the first execution of the routines corresponding to the respective flowcharts of the feedforward control system. In the following, a step will simply be abbreviated as S.
[0041] 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 manipulated variable rb based on the error eq, and outputs the determined value to the adder 160, thereby completing the process.
[0042] 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.
[0043] The training data generation unit 130 generates the training data Dt in S130 and ends the process. The training unit 170 performs machine learning on the prediction model Mp using the training data Dt in S170 and ends the process.
[0044] Fig. 10 is a flowchart showing a specific process flow of the learning data generation process S130 in Fig. 9. As shown in Fig. 10, in S131, the learning data generation unit 130 acquires a plurality of combinations Cm1 at a plurality of timings, and proceeds to process S132. In S132, the learning data generation unit 130 identifies a plurality of combinations Cm2 including a measurement value do and an operation amount r when the absolute value of the error eq is smaller than a reference value α, among the plurality of combinations Cm1, and proceeds to process S133. In S133, the learning 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, in the plurality of operation amounts r included in each of the plurality of combinations Cm2, and proceeds to process S134. In S134, the learning data generation unit 130 outputs teacher data Dt in which a plurality of measurement components (feedforward compensation values rf) correspond to a plurality of measurement values do included in the combinations Cm2 at a plurality of timings as correct answers, and ends the process.
[0045] 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 do expressed 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 an objective variable and the measurement value do as an explanatory variable, and proceeds to S173. In S173, the learning unit 170 calculates a ratio Cr (=M2 / M1) of the number M2 of combinations Cm4 in which the absolute value of the measurement value do is greater than the reference value β among the multiple combinations Cm2 to the number M1 of combinations Cm3 in which the absolute value of the measurement value do is greater than the reference value β among the multiple combinations Cm1, 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 increased sufficiently, and ends the machine learning.
[0046] 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 at each sampling time, for example, after the initial machine learning is started. As shown in FIG. 12, in S171A, the learning unit 170 judges whether the machine learning is finished and the ratio Cr is equal to or less than the reference value δ. If the machine learning is not finished or the ratio Cr is greater than the reference value δ (NO in S171A), the characteristics of the control object 200 have not changed and the existing learned prediction model Mp is adapted to the control object 200, and the learning unit 170 ends the processing. If the machine learning is finished and the ratio Cr is equal to or less than the reference value δ (YES in S171A), the learning unit 170 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 control object 200, since the characteristics of the control object 200 have changed after the previous machine learning is finished. 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 the feedforward control due to changes in the characteristics of the controlled object 200 can be suppressed.
[0047] [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 the first modification of the first embodiment, a configuration not including a feedback control system will be described.
[0048] Fig. 13 is a block diagram showing a functional configuration of a control device 100A according to a first modification of the first embodiment. The configuration of the control device 100A is a configuration in which the subtractor 150 and the feedback control unit 110 are removed from the control device 100 in Fig. 1. Since the rest is similar, the description of the similar configuration will not be repeated. Note that the adder 160 does not have to be included in the control device 100A.
[0049] 13, the control device 100A determines a feedforward compensation value rf of a feedback operation amount rb to the control object 200 such that a control amount q of the control object 200 receiving a measurement 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 to a control system including a feedforward control system and a learning function.
[0050] 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.
[0051] [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 prediction model are included in one control device is described. In the second embodiment, a configuration is described in which the feedback control system, the feedforward control system, and a configuration for performing machine learning on a prediction model are separated into separate devices.
[0052] Fig. 14 is a block diagram showing a 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 reference symbols described in embodiment 1, and therefore description of the similar components will not be repeated.
[0053] As shown in FIG. 14, the control system 2 includes a feedback control device 11, a feedforward compensation device 12, a learning data generation device 13, a storage device 14, and a learning device 17. The learning data generation device 13, the storage device 14, and the learning device 17 correspond to the learning data generation unit 130, the storage unit 140, and the learning unit 170 in FIG. 1, respectively. 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 learning 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 may be located remotely from each other. The adder 160 may be included in the feedback control device 11 instead of the feedforward compensation device 12.
[0054] According to the control system 2, the existing control system can be easily expanded by adding a feedforward compensation device, a learning data generating device, and a learning device to the existing feedback control device while leaving the existing feedback control device in place.
[0055] 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.
[0056] [Embodiment 3] In the 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.
[0057] <Control system network configuration example> Fig. 15 is a schematic diagram showing an example of a network configuration of a control system 3 according to the third embodiment. 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 similar functional configuration to the control device 100 shown in Fig. 1.
[0058] 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.
[0059] The control calculations executed in 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 amount) 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 on disturbances input to the field device 200C and a control amount resulting from the actual operation of the field device 200C according to the command value. The command value for the field device 200C is determined by adding a feedforward compensation value predicted from the disturbance by a prediction model to a manipulation amount provisionally calculated based on an error between a control target value (target value) calculated based on a control program executed by the control device 300 and an actual control amount.
[0060] 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.
[0061] Any field device 200C can be connected to the field network 20. The field device 200C includes an actuator that exerts some physical action on a robot or a conveyor in the field, and an input / output device that exchanges information with the field.
[0062] 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."
[0063] The servo drivers 220_1 and 220_2 drive corresponding ones of the servo motors 222_1 and 222_2 in accordance with command values (such as a position command value or a speed command value) from the control device 300. In this manner, the control device 300 can control the field device 200C.
[0064] 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, 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 general 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.
[0065] The server device 600 may be a database system or a manufacturing execution system (MES). The manufacturing execution system acquires information from the manufacturing device or facility to be controlled, monitors and manages the entire production, and may handle order information, quality information, shipping information, and the like. In addition, a device that provides an information system service may be connected to the upper network 32. The information system service may be a process that acquires information from the manufacturing device or facility to be controlled and performs macro or micro analysis. For example, the information system service may be data mining that extracts some characteristic tendency contained in the information from the manufacturing device or facility to be controlled, or a machine learning tool that performs machine learning based on the information from the facility or machine to be controlled.
[0066] The display device 500 receives operations from a user, outputs commands to the control device 300 in response to the user operations, and also graphically displays the results of calculations performed by the control device 300, etc.
[0067] 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 supports the preparations required for the control device 300 to control the control target. Specifically, the support device 400 provides a development environment (program creation and editing tools, parsers, compilers, etc.) for the program executed by the control device 300, a setting environment for setting configuration information (configuration) of the control device 300 and various devices connected to the control device 300, a function for outputting the generated program to the control device 300, and a function for correcting and changing the program executed on the control device 300 online.
[0068] In the control system 3, the control device 300, the support device 400, and the display device 500 are configured as separate entities, but a configuration in which all or part of these functions are integrated into a single device may be adopted.
[0069] The control device 300 may be used not only at one production site but also at other production sites, and may also be used at a plurality of different lines at one production site.
[0070] <Example of control device hardware configuration> Fig. 16 is a block diagram showing an example of a 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 controller 370 that provides a USB (Universal Serial Bus) interface. These components are connected via a processor bus 318.
[0071] 16, the processor 302 corresponds to an arithmetic processing unit that executes control calculations, and is composed of 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 to realize control calculations for a control target.
[0072] 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 360 is configured with a non-volatile storage device such as a solid state drive (SSD) and / or a hard disk drive (HDD).
[0073] The storage 360 stores a control program Pc, teacher 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. That is, 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.
[0074] 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.
[0075] The host network controller 306 transmits and receives data to and from any information processing device connected to the host network 32 (eg, a local area network) via the host network 32 .
[0076] The field network controller 308 transmits and receives data to and from any device such as the servo motors 222_1 and 222_2 via the field network 20.
[0077] The local bus controller 316 transmits and receives data to and from any functional unit 380 constituting the control device 300 via the local bus 122. The functional unit 380 may be, for example, an analog I / O unit responsible for input and / or output of analog signals, a digital I / O unit responsible for input and / or output of digital signals, and a counter unit that receives pulses from an encoder or the like.
[0078] 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.
[0079] As described above, according to the device, the program for generating teacher data, and the method for generating teacher data according to the third embodiment, it is possible to improve the accuracy of feedforward control of a control target.
[0080] <Additional Notes> The present embodiment as described above includes the following technical idea.
[0081] [Configuration 1] A machine learning device (100) for a prediction model (Mp) that predicts a feedforward compensation value (rf) of a feedback control amount (rb) to a control target (200) subjected to a disturbance (ds), 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); The 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), The prediction model (Mp) predicts the feedforward compensation value (rf) from the measurement value (do) of the first element (dsk), The device (100) includes a learning data generation unit (130), The learning data generation unit (130) 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 acquired at a plurality of timings, a plurality of second combinations (Cm2) including the measurement value (do) and the operation amount (r) are identified based on a comparison between the error (eq) and a first reference value (α); In a plurality of manipulated variables (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) are respectively specified; An apparatus (100) 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.
[0082] [Configuration 2] A learning unit that performs the machine learning on the prediction model (Mp) using the teacher data (Dt), The learning unit (170) A relationship between the plurality of measurement values (do) and the plurality of first components (rf), which is expressed by the prediction model (Mp), is approximated as a function having the feedforward compensation value (rf) as a response variable and the measurement values (do) as explanatory variables; The device (100) described in configuration 1, wherein the machine learning is terminated when a ratio of a number of fourth combinations (Cm2) in which the absolute value of the measurement value (do) is greater than the second reference value to a number of third combinations (Cm1) in which the absolute value of the measurement value (do) is greater than the second reference value is greater than a third reference value.
[0083] [Configuration 3] The apparatus (100) according to configuration 2, wherein the learning unit (170) resumes the machine learning when the machine learning is terminated and the ratio is smaller than the third reference value.
[0084] [Configuration 4] The apparatus (100) according to any one of configurations 1 to 3, wherein the second element (dsu) is not measured.
[0085] [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 control target (200) subjected to a disturbance (ds), 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); The 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), The prediction model (Mp) predicts the feedforward compensation value (rf) from the measurement value (do) of the first element (dsk), The program for generating teacher data is executed by a processor, 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 acquired at a plurality of timings, a plurality of second combinations (Cm2) including the measurement value (do) and the operation amount (r) are identified based on a comparison between the error (eq) and a first reference value (α); In a plurality of manipulated variables (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) are respectively specified; A teacher data generating program that outputs teacher data (Dt) in which the multiple first components (rf) correspond to the multiple measurement values (do) included in the second combinations (Cm2) at the multiple timings as correct answers.
[0086] [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 target (200) subjected to a disturbance (ds), comprising: 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); The 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), The prediction model (Mp) predicts the feedforward compensation value (rf) from the measurement value (do) of the first element (dsk), The method for generating teacher data includes: identifying, from 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 (α); 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 a plurality of manipulated variables (r) included in each of 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.
[0087] [Configuration 7] The method further includes a method of performing the machine learning on the prediction model (Mp) using the teacher data (Dt) to generate a trained model, The method for generating the trained model includes: A step of approximating a relationship between the plurality of measurement values (do) and the plurality of first components (rf), which is 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 explanatory variables; and terminating the machine learning when a ratio of a number of fourth combinations (Cm2) in which the absolute value of the measurement value (do) is greater than the second reference value to a number of third combinations (Cm1) in which the absolute value of the measurement value (do) is greater than the second reference value is greater than a third reference value.
[0088] [Configuration 8] The method for generating teacher data described in configuration 7, wherein the method for generating a trained model further includes a step of resuming the machine learning when the machine learning is terminated and the ratio is smaller than the third reference value.
[0089] The embodiments disclosed herein are intended to be combined appropriately within the scope of the present invention. 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 scope and meaning equivalent to the claims. [Explanation of symbols]
[0090] 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~Cm4 Combination, Cr Ratio, Dt Teacher data, Fn1,Fn2,Fn12 Prediction function, Mp Prediction model, Pc Control program, Rg Overlap range, Scm1~Scm4 Data set, Tp1,Tp2 Trial period, dsk Measurement element, do,do12 Measurement value, ds Disturbance, dsu Non-measurement element, eq Error, ot1~ot4 Outlier, q Control amount, qr Target value, r Operation amount, rb Feedback operation amount, 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 control target subjected to a disturbance, comprising: 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, The predictive model predicts the feedforward compensation value from a measurement value of the first element; The device includes a training data generation unit, The learning data generation unit identifying a plurality of second combinations including the measurement value and the operation amount, among a plurality of first combinations including the target value, the operation amount corresponding to the target value, the measurement value, and the control amount corresponding to both the measurement value and the operation amount, which are acquired at a plurality of timings, based on a comparison between the error and a first reference value; 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 manipulated variables included in each of the second combinations; An apparatus that outputs teacher data in which the plurality of first components correspond as correct answers to the plurality of measurement values respectively included in the second combinations at the plurality of timings.
2. A learning unit that performs the machine learning on the prediction model using the teacher data, The learning unit is approximating a relationship between the plurality of measurement values and the plurality of first components, which is expressed by the prediction model, as a function having the feedforward compensation value as a response variable and the measurement values as explanatory variables; The device according to claim 1 , further comprising: terminating the machine learning when a ratio of a number of fourth combinations among the plurality of second combinations, the absolute values of the measurement values of which are greater than the second reference value, to a number of third combinations among the plurality of first combinations, the absolute values of the measurement values of which 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. The apparatus of 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 that predicts a feedforward compensation value of a feedback manipulated variable for a control target subjected to a disturbance, comprising: 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, The predictive model predicts the feedforward compensation value from a measurement value of the first element; The program for generating teacher data is executed by a processor, identifying a plurality of second combinations including the measurement value and the operation amount, among a plurality of first combinations including the target value, the operation amount corresponding to the target value, the measurement value, and the control amount corresponding to both the measurement value and the operation amount, which are acquired at a plurality of timings, based on a comparison between the error and a first reference value; 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 manipulated variables included in each of the second combinations; A teacher data generating program that outputs teacher data in which the multiple first components correspond to the multiple measurement values included in the second combinations at the multiple timings as correct answers.
6. A method for generating teacher data for machine learning for a prediction model that predicts a feedforward compensation value of a feedback manipulated variable for a control target subjected to a disturbance, comprising: 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, The predictive model predicts the feedforward compensation value from a measurement value of the first element; The method for generating teacher data includes: identifying, from 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, each of the first combinations being acquired at a plurality of timings, based on a comparison between the error and a first reference value; 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 manipulated variables included in each of the second combinations; and outputting teacher data in which the plurality of first components correspond to a plurality of measurement values respectively included in the second combinations at the plurality of timings as correct answers.
Citation Information
Patent Citations
Neural network controller
JP1992326101A
