Device for machine learning related to feedforward control for control target, teacher data generation program, and teacher data generation method

The machine learning-based approach for generating training data improves the accuracy and adaptability of feedforward control by predicting compensation values, addressing the limitations of conventional feedforward control systems in handling disturbances and process changes.

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

Patent Information

Application Number
PCT/JP2024/007551
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 devices face challenges in accurately suppressing disturbances and adapting to changes in process characteristics due to the difficulty in updating the inverse model of the controlled process, leading to suboptimal control performance.

Method used

A machine learning-based device and method for generating training data that predicts feedforward compensation values by using a prediction model to estimate variation amounts from measured disturbance values, allowing for real-time adaptation and improved accuracy in feedforward control.

Benefits of technology

The solution enhances the accuracy of feedforward control by associating appropriate correct answers with measurement values in training data, enabling the prediction model to better predict compensation values and adapt to changes in the controlled object's characteristics, thereby improving control performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024007551_06092024_PF_FP
    Figure JP2024007551_06092024_PF_FP
Patent Text Reader

Abstract

The present invention improves the accuracy of feedforward control for a control target. A training data generation unit (130): acquires a measurement value (do), an operation amount (r), and a control amount (q); generates a first estimation value (qwh) for a primary control amount (qw) from the operation amount (r) by using a mathematical model (131) of a control element (210); generates a second estimation value (dh) for a variation amount (d) on the basis of the control amount (q) and the first estimation value (qwh) at a point in time a prescribed period (Lh) before the point in time when the control amount (q) was acquired; and outputs teacher data (Dt) in which the second estimation value (dh) for the point in time of the measurement value (do) has been associated with the measurement value (do) as a correct answer.
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 are known control devices that perform feedforward control on a control target. For example, Japanese Patent Laid-Open Publication No. 10-222207 (Patent Document 1) discloses a feedforward control device that uses a feedforward signal generator to control a predetermined process that is subject to disturbances. The feedforward control device includes a parameter learner that learns parameters required for calculations in the feedforward signal generator from parameters calculated in the feedforward signal generator.

[0003] Japanese Patent Application Publication No. 10-222207

[0004] The feedforward compensator included in the feedforward signal generator disclosed in Patent Document 1 has a predetermined configuration. Generally, a configuration for calculating a feedforward compensation value for feedback control, such as a feedforward compensator, is designed as an inverse model (inverse system) of the process to be controlled. Because designing an inverse model of a process requires analysis of the process, it is difficult to quickly update the structure of the inverse model in response to fluctuations in disturbances and changes in process characteristics. Therefore, with the feedforward control device disclosed in Patent Document 1, it may be difficult to suppress the influence of disturbances on the control of the controlled object, depending on the degree of fluctuation in the disturbance or the degree of change in the process characteristics.

[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 prediction model that predicts a specific value required to generate a feedforward compensation value for a feedback manipulated variable of a control target that is subject 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 the target value. A value obtained by subtracting the feedforward compensation value from the feedback manipulated variable is output from the control device to the control target as a manipulated variable. The control target is represented by a control element expressed as a mathematical model that receives the manipulated variable, a disturbance element that receives the disturbance, and a dead time element. The control element receives the manipulated variable and outputs a primary controlled variable. The disturbance element receives the disturbance and outputs a fluctuation variable. The dead time element delays the sum of the primary controlled variable and the fluctuation variable from being output to the outside of the control target. The prediction model predicts the fluctuation variable as a specific value from a measured value of the disturbance. The apparatus includes a learning data generation unit. The learning data generation unit acquires the measurement values, the operation variables, and the control variables, generates a first estimate of the primary control variable from the operation variables using a mathematical model of the control element, generates a second estimate of the fluctuation variable based on the control variable and the first estimate at a time that is a specific time behind the time at which the control variable was acquired, and outputs training data in which the second estimate at the time at which the measurement values ​​were acquired corresponds to the measurement values ​​as the correct answer.

[0007] According to this disclosure, since the teacher data associates appropriate correct answers with the measured values, the accuracy of feedforward control of the controlled object can be improved by performing machine learning on the predictive 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, and the learning unit approximates the relationship between the measurement value and the second estimated value expressed by the prediction model as a function with the second estimated value as a dependent variable and the measurement value as an explanatory variable.

[0009] According to this disclosure, a predictive model can be adapted in real time to the measured values ​​and the characteristics of the controlled object in parallel with feedforward control.

[0010] In the above disclosure, the device further includes a feedforward compensation unit that generates a feedforward compensation value from the amount of variation predicted by the prediction model using an inverse model of the mathematical model.

[0011] According to this disclosure, the control amount output from the controlled object after a specific time has elapsed can be made to approach a normal value corresponding to the feedback manipulated variable at a time that is a specific time before the time of the control amount.

[0012] 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 specific value required to generate a feedforward compensation value for a feedback manipulated variable of a control target that is subject 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 the target value. A value obtained by subtracting the feedforward compensation value from the feedback manipulated variable is output from the control device to the control target as a manipulated variable. The control target is represented by a control element expressed as a mathematical model that receives the manipulated variable, a disturbance element that receives the disturbance, and a dead time element. The control element receives the manipulated variable and outputs a primary controlled variable. The disturbance element receives the disturbance and outputs a fluctuation variable. The dead time element delays the sum of the primary controlled variable and the fluctuation variable from being output to the outside of the control target. The prediction model predicts the fluctuation variable as a specific value from a measured value of the disturbance. When executed by a processor, the program acquires measurement values, manipulated variables, and controlled variables, generates a first estimate of a primary controlled variable from the manipulated variable using a mathematical model of the control element, generates a second estimate of a fluctuation variable based on the controlled variable and the first estimate at a time that is a specific time period removed from the time at which the controlled variable was acquired, and outputs training data that corresponds the second estimate at the time at which the measurement value was acquired to the measurement value as the correct answer.

[0013] According to this disclosure, since an appropriate correct answer is associated with a measurement value in the training data, the accuracy of feedforward control of a control target can be improved by performing machine learning on a prediction model using the training 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.

[0014] 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 specific value required to generate a feedforward compensation value for a feedback manipulated variable of a control target that is subject 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 the target value. A value obtained by subtracting the feedforward compensation value from the feedback manipulated variable is output from the control device to the control target as a manipulated variable. The control target is represented by a control element expressed as a mathematical model that receives the manipulated variable, a disturbance element that receives the disturbance, and a dead time element. The control element receives the manipulated variable and outputs a primary controlled variable. The disturbance element receives the disturbance and outputs a fluctuation variable. The dead time element delays the sum of the primary controlled variable and the fluctuation variable from being output to the outside of the control target. The prediction model predicts the fluctuation variable as a specific value from a measured value of the disturbance. The method includes acquiring a measurement value, an operation variable, and a control variable, generating a first estimate of a primary control variable from the operation variable using a mathematical model of the control element, generating a second estimate of a fluctuation variable based on the control variable and the first estimate at the time when the control variable was acquired, and outputting training data in which the measurement value is associated with the second estimate at the time when the measurement value was acquired as the correct answer.

[0015] According to this disclosure, since the teacher data associates appropriate correct answers with the measured values, the accuracy of feedforward control of the controlled object can be improved by performing machine learning on the predictive model using the teacher data.

[0016] According to the device, program, and method disclosed herein, it is possible to improve the accuracy of feedforward control of a control target.

[0017] 1. It is a block diagram showing the functional configuration of a control device according to a first embodiment. It is a diagram showing an example of the distribution of a plurality of teacher data, and an example of a prediction model as a regression surface. It 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 generation unit, and the learning unit of FIG. 1. It is a flowchart showing a specific processing flow of the learning data generation processing of FIG. 3. It is a diagram for explaining the correspondence between the times of the measurement values, manipulated variables, controlled variables, and estimated primary controlled variables of FIG. 4, and the time of the estimated secondary controlled variable which is set back from the time of the controlled variable by a dead time. It is a block diagram showing the functional configuration of a control device according to a first modified example of the first embodiment. It is a block diagram showing the functional configuration of a control system according to a second embodiment. It is a schematic diagram showing an example of the network configuration of a control system according to a third embodiment. It is a block diagram showing an example of the hardware configuration of the control device of FIG.

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

[0019] [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 includes a feedback control unit 110, a feedforward compensation unit 120, a learning data generation unit 130, a storage unit 140, a subtractor 150, a subtractor 160, and a learning unit 170.

[0020] The control device 100 outputs a value obtained by subtracting a feedforward compensation value rf from a feedback control value rb to the control object 200 as a control value r to the control object 200 so that the control value 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.

[0021] The disturbance ds is a quantity that disturbs the state of a control system including the control device 100 and the controlled object 200. The disturbance ds includes a plurality of disturbance elements, such as the amount of light, voltage, current, and temperature that are accidentally or suddenly input to the controlled object. The measured value of the disturbance ds is expressed as do.

[0022] The transmission of information (signals) in the controlled object 200 is represented by a control element 210, a disturbance element 220, a dead time element 230, and an adder 240. The control element 210 receives a manipulated variable r and outputs a primary controlled variable qw to the adder 240. The disturbance element 220 receives a disturbance ds and outputs a fluctuation d to the adder 240. The adder 240 adds the fluctuation d to the primary controlled variable qw and outputs a secondary controlled variable qo to the dead time element 230. The dead time element 230 delays the output of the secondary controlled variable qo to the outside of the controlled object 200. Specifically, the dead time element 230 outputs the secondary controlled variable qo as a controlled variable q to the outside of the controlled object 200 after a dead time L has elapsed since receiving the secondary controlled variable qo.

[0023] 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 subtractor 160 will also be referred to as a feedforward control system.

[0024] The subtractor 150 outputs an 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 subtractor 160.

[0025] The learning data generation unit 130 generates teacher data Dt used in machine learning for the prediction model Mp. The learning data generation unit 130 acquires a measurement value do, an operation amount r, and a control amount q at each of a plurality of timings. The learning data generation unit 130 estimates a fluctuation amount d as an estimated fluctuation amount dh from the operation amount r and the control amount q. The learning data generation unit 130 outputs a combination of the measurement value do (explanatory variable) and the estimated fluctuation amount dh (objective variable) to the storage unit 140 as teacher data Dt. Note that the learning data generation unit 130 may directly output the teacher data Dt to the learning unit 170.

[0026] The fluctuation d corresponding to the measured value do at time t1 is added to the primary control variable qw at time t1 to become the secondary control variable qo. However, the timing at which the secondary control variable qo is output as the control variable q from the controlled object 200 is time t2 (= t1 + L), which is a time delay L after time t1. Therefore, the learning data generator 130 associates the measured value do at time t1 with the control variable q at time t2, rather than the control variable q at time t1. As a result, in the teacher data Dt output from the learning data generator 130, the estimated fluctuation dh of the fluctuation d at the same time as the measured value do is determined to be the correct solution for the measured value do. In other words, the teacher data Dt generated by the learning data generator 130 correctly sets the correspondence between the explanatory variables and the target variable. According to the control device 100, machine learning can be performed on the prediction model Mp using the teacher data Dt having the appropriate correspondence, thereby improving the prediction accuracy of the prediction model Mp. As a result, the accuracy of the feedforward control of the control target 200 performed using the trained prediction model Mp can be improved.

[0027] The transmission of information in the learning data generation unit 130 is represented by a mathematical model 131, a time converter 132, a subtractor 133, and an output generator 134. The mathematical model 131 is estimated as a correspondence relationship between the manipulated variable r and the primary controlled variable qw, and is represented as a function with the manipulated variable r as an argument. The mathematical model 131 is also represented as Gwh(r) below.

[0028] The mathematical model 131 receives the manipulated variable r and outputs an estimated primary controlled variable qwh (first estimated value) to the subtractor 133. The estimated primary controlled variable qwh is an estimated value corresponding to the primary controlled variable qw. The time converter 132 advances the measurement time t10 of the controlled variable q by an estimated dead time Lh (specific time) and outputs an estimated secondary controlled variable qohh to the subtractor 133. The estimated dead time Lh is an estimated value of the dead time L. The estimated secondary controlled variable qohh is an estimated value of the secondary controlled variable qo. Note that the mathematical model 131 and the estimated dead time Lh can be determined by physical modeling or system identification based on general design information in feedback control of the controlled object 200. For example, the feedback control unit 110 in an open-loop state may apply a step signal to the controlled object 200, and the gain, time constant, and dead time may be calculated from response data of the controlled variable. From these calculation results, PID (Proportional-Integral-Differential) parameters for feedback control can be determined by the Ziegler-Nichols method, the CHR (Chien-Hrones-Reswick) method, or the like.

[0029] The value obtained by subtracting the primary control amount qw acquired at time t11 from the secondary control amount qo acquired at time t11 is the fluctuation amount d at time t11. The primary control amount qw is the control amount q at time t12, when the dead time L has elapsed since time t11. The control amount q acquired at time t12 is set to the estimated secondary control amount qoh at time t11, which is set back from time t12 by the estimated dead time Lh, by the time converter 132. The value obtained by subtracting the estimated primary control amount qw at time t11 from the estimated secondary control amount qoh at time t11 is the estimated fluctuation amount dh (second estimated value), which is an estimate of the fluctuation amount d at time t11.

[0030] The subtractor 133 subtracts the estimated primary control amount qwh at the same time as the estimated secondary control amount qoh from the estimated secondary control amount qoh, and outputs the estimated fluctuation amount dh to the output generator 134. The output generator 134 outputs a combination of the measured value do and the estimated fluctuation amount dh at the same time as the measured value do to the storage unit 140 as teacher data Dt.

[0031] The learning unit 170 uses a plurality of pieces of training data Dt to approximate the relationship between the measured value d o and the estimated variation d h as a function (regression curve or regression surface) with the estimated variation d h as the objective variable and the measured value d o as the explanatory variable. The prediction model Mp includes this function. When machine learning (initial learning or additional learning) for the prediction model Mp is completed and the characteristics of the controlled object 200 have changed, the learning unit 170 resumes machine learning (additional learning) for the prediction model Mp. 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.

[0032] 2 is a diagram illustrating an example of the distribution of multiple pieces of training data Dt and an example of a prediction model Mp as a regression surface. In FIG. 2, the measurement value do includes multiple elements (dimensions) do1 and do2, and Gwh(r) = 1.23 × r.

[0033] 1 again, the feedforward compensation unit 120 obtains an estimated fluctuation amount dh from the measurement value do using the prediction model Mp. The feedforward compensation unit 120 includes an inverse model 121. The inverse model 121 is an inverse function Gwh of the mathematical model 131 that takes the estimated primary control amount qwh as an argument and outputs the manipulated variable r. -1 (qwh). The inverse model 121 receives the estimated fluctuation amount dh from the prediction model Mp.

[0034] The purpose of feedforward control is to suppress disturbances in the primary controlled variable qw due to disturbances ds. Therefore, the feedforward compensation unit 120 obtains, from the inverse model 121, a feedforward compensation value rf, which is a manipulated variable input to the control element 210 such that the value output from the control element 210 is the estimated fluctuation dh. The subtractor 160 subtracts the feedforward compensation value rf from the feedforward compensation unit 120 from the feedback manipulated variable rb and outputs the manipulated variable r (= rb - rf) to the control element 210. In the primary controlled variable qw corresponding to the manipulated variable r, the increase in the fluctuation d is suppressed in advance by the feedforward compensation value rf. Therefore, even if the fluctuation d is added to the primary controlled variable qw, the disturbance in the secondary controlled variable qo due to the fluctuation d is canceled out by the feedforward compensation value rf. As a result, the controlled variable q output from the controlled object 200 after the lapse of the dead time L approaches a normal value corresponding to the feedback manipulated variable rb at a time preceding the time of the controlled variable q by the dead time L.

[0035] According to the control device 100, since an appropriate correct answer is associated with the measurement value do in the teacher data Dt, machine learning is performed on the prediction model Mp using the teacher data Dt, thereby improving the accuracy of feedforward control of the control object 200. 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 machine learning is continued until the accuracy of the prediction model Mp becomes 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 accordance with 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.

[0036] 3 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.

[0037] 3, 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 subtractor 160, thereby ending the process.

[0038] 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 subtractor 160. In S122, the subtractor 160 outputs the difference obtained by subtracting the feedforward compensation value rf from the feedback manipulated variable rb as the manipulated variable r to the control object 200 and the learning data generation unit 130, and the process ends.

[0039] The training data generation unit 130 generates 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.

[0040] FIG. 4 is a flowchart showing a specific processing flow of the learning data generation process S130 in FIG. 3. FIG. 5 is a diagram illustrating the correspondence between the times of the measured value do, the manipulated variable r, the controlled variable q, and the estimated primary controlled variable qwh in FIG. 4 and the time of the estimated secondary controlled variable qoh, which is set back from the time of the controlled variable q by the estimated dead time Lh. FIG. 5 illustrates a case in which multiple measured values ​​do, multiple manipulated variables r, and multiple controlled variables q are acquired during a trial period from time t21 to time t24. Time t22 is the time (t21+Lh) that is the estimated dead time Lh after time t21. Time t23 (>t22) is the time (t24-Lh) that is the estimated dead time Lh before time t24.

[0041] 4 and 5 , the learning data generator 130 acquires the measurement value d o , the manipulated variable r , and the controlled variable q at each of a plurality of timings in S131, and proceeds to S132. In S132, the learning data generator 130 acquires an estimated primary controlled variable q wh from the manipulated variable r using the mathematical model 131, and proceeds to S133. The learning data generator 130 generates an estimated secondary controlled variable q oh by moving back the time of the controlled variable q by the estimated dead time Lh, and proceeds to S134. As shown in FIG. 5 , by the process of S133, the plurality of controlled variables q included in times t22 to t23 acquired in S131 are slid as a whole in the direction going back in time by the estimated dead time Lh.

[0042] 4 , the learning data generator 130 subtracts the estimated primary control variable qwh at the time of the estimated secondary control variable qoh from the estimated secondary control variable qoh to generate an estimated fluctuation variable dh, and proceeds to S135. The learning data generator 130 sets the correct answer for the measurement value do to the estimated fluctuation variable dh at the time of the measurement value do, generates training data Dt, and ends the process.

[0043] As shown in FIG. 5 , among the multiple control variables q acquired during the trial period from time t21 to t24, the time of the control variables q acquired between time t21 and t22 is returned to a time before time t21 by the processing of S133. There is no corresponding estimated primary control variable qwh before time t21. Therefore, the control variables q acquired between time t21 and t22 are not used in generating the teacher data Dt. Furthermore, there are no estimated secondary control variables qoh and estimated fluctuation variables dh between time t23 and t24. Therefore, the measurement value do, manipulated variable r, and estimated primary control variable qwh acquired during the period from time t23 to t24 are not used in generating the teacher data Dt.

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

[0045] 6 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. The remaining configuration is similar, and therefore, a description of the similar configuration will not be repeated. The subtractor 160 does not necessarily have to be included in the control device 100A.

[0046] 6, the control device 100A determines a feedforward compensation value rf of a feedback manipulated variable rb to the control object 200 such 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, the existing feedback control system can be easily expanded into a control system that includes a feedforward control system and a learning function.

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

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

[0049] Fig. 7 is a block diagram showing the functional configuration of a control system 2 according to embodiment 2. In Fig. 7, 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.

[0050] As shown in FIG. 7 , 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 a subtractor 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 subtractor 160 may be included in the feedback control device 11, not in the feedforward compensation device 12.

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

[0052] As described above, according to the device and method of the second embodiment, it is possible to improve the accuracy of feedforward control of a controlled object.

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

[0054] <Network Configuration Example of Control System> Fig. 8 is a schematic diagram showing a network configuration example of a control system 3 according to embodiment 3. As shown in Fig. 8, 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.

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

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

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

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

[0059] 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."

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

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

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

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

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

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

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

[0067] <Example of Hardware Configuration of Control Device> Fig. 9 is a block diagram showing an example of the hardware configuration of the control device 300 of Fig. 8. As shown in Fig. 7, 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.

[0068] 9, the processor 302 corresponds to an arithmetic processing unit that executes control calculations, and is configured with a central processing unit (CPU) or the like. The processor 302 may include a graphics processing unit (GPU). Specifically, the processor 302 reads a program stored in the storage 360, expands it in the main memory 304, and executes it to realize control calculations for the control object.

[0069] The main memory 304 is configured with a volatile storage device such as a dynamic random access memory (DRAM). The main memory 304 may include a static random access memory (SRAM). The storage 360 ​​is configured with a nonvolatile storage device such as a solid state drive (SSD). The storage 360 ​​may include a hard disk drive (HDD).

[0070] 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 subtractor 160), the learning data generation unit 130, and the learning unit 170 in FIG. 1.

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

[0072] 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).

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

[0074] 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 at least one of input and output of analog signals, a digital I / O unit responsible for at least one of input and output of digital signals, and a counter unit that receives pulses from an encoder or the like.

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

[0076] As described above, the device, program, and control method according to the third embodiment can improve the accuracy of feedforward control of a controlled object.

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

[0078] [Configuration 1] A device (100) for machine learning on a prediction model (Mp) that predicts a specific value required for generating 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 (100) for the controlled object (200) based on an error between a target value (qr) and the controlled variable (q) of the controlled object (200) so that the controlled variable (q) approaches the target value (qr), and a value obtained by subtracting the feedforward compensation value (rf) from the feedback manipulated variable (rb) is output from the control device (100) to the controlled object (200) as a manipulated variable (r), The controlled object (200) is represented by a control element (210) expressed as a mathematical model (131) that receives the manipulated variable (r), a disturbance element (220) that receives the disturbance (ds), and a dead time element (230), wherein the control element (210) receives the manipulated variable (r) and outputs a primary controlled variable (qw), the disturbance element (220) receives the disturbance (ds) and outputs a fluctuation amount (d), and the dead time element (230) delays the output of the sum of the primary controlled variable (qw) and the fluctuation amount (d) to the outside of the controlled object (200), and the prediction model (Mp) predicts the fluctuation amount (d) as the specific value from a measured value (do) of the disturbance (ds), and the device (100) comprises a learning data generation unit (130), wherein the learning data generation unit (130) The device (100) acquires the measurement value (do), the operation amount (r), and the control amount (q), generates a first estimate value (qw) of the primary control amount (qw) from the operation amount (r) using the mathematical model (131), generates a second estimate value (dh) of the fluctuation amount (d) based on the control amount (q) and the first estimate value (qw) at a time that is returned a specific time (Lh) from the time when the control amount (q) is acquired, and outputs teacher data (Dt) in which the second estimate value (dh) at the time when the measurement value (do) is acquired corresponds to the measurement value (do) as a correct answer.

[0079] [Configuration 2] The device (100) according to Configuration 1, further comprising a learning unit (170) 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 measurement value (d o ) and the second estimated value (d h ), which is expressed by the prediction model (Mp), as a function having the second estimated value (d h ) as a response variable and the measurement value (d o ) as an explanatory variable.

[0080] [Configuration 3] The apparatus (100) according to configuration 1 or 2, further comprising a feedforward compensation unit (120) that generates the feedforward compensation value (rf) from the fluctuation amount (d) predicted by the prediction model (Mp) using an inverse model (121) of the mathematical model (131).

[0081] [Configuration 4] A program for generating teacher data for machine learning for a prediction model (Mp) that predicts a specific value required for generating 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 (100) for the controlled object (200) based on an error between a target value (qr) and the controlled variable (q) of the controlled object (200) so that the controlled variable (q) approaches the target value (qr), and a value obtained by subtracting the feedforward compensation value (rf) from the feedback manipulated variable (rb) is output from the control device (100) to the controlled object (200) as the manipulated variable (r), The controlled object (200) is represented by a control element (210) represented as a mathematical model (131) that receives the manipulated variable (r), a disturbance element (220) that receives the disturbance (ds), and a dead time element (230), wherein the control element (210) receives the manipulated variable (r) and outputs a primary controlled variable (qw), the disturbance element (220) receives the disturbance (ds) and outputs a fluctuation amount (d), and the dead time element (230) delays the sum of the primary controlled variable (qw) and the fluctuation amount (d) from being output to the outside of the controlled object (200), and the prediction model (Mp) predicts the fluctuation amount (d) as the specific value from a measured value (do) of the disturbance (ds), and the program, when executed by a processor, acquires the measured value (do), the manipulated variable (r), and the controlled variable (q), a program for generating teacher data, the program moving back a time of the controlled variable (q) by a specific time (Lh); generating a first estimate (qwh) of the primary controlled variable (qw) from the manipulated variable (r) using the mathematical model (131); generating a second estimate (dh) of the fluctuation variable (d) by subtracting the first estimate (qwh) at the time of the controlled variable (q) from the controlled variable (q); and outputting teacher data (Dt) in which the second estimate (dh) at the time of the measured value (do) corresponds to the measured value (do) as a correct answer.

[0082] [Configuration 5] A method for generating training data for machine learning for a prediction model (Mp) that predicts a specific value required for generating 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 (100) for the controlled object (200) based on an error between a target value (qr) and the controlled variable (q) of the controlled object (200) so that the controlled variable (q) approaches the target value (qr), and a value obtained by subtracting the feedforward compensation value (rf) from the feedback manipulated variable (rb) is output from the control device (100) to the controlled object (200) as the manipulated variable (r), The controlled object (200) is represented by a control element (210) expressed as a mathematical model (131) that receives the manipulated variable (r), a disturbance element (220) that receives the disturbance (ds), and a dead time element (230), wherein the control element (210) receives the manipulated variable (r) and outputs a primary controlled variable (qw), the disturbance element (220) receives the disturbance (ds) and outputs a fluctuation amount (d), and the dead time element (230) delays the output of the sum of the primary controlled variable (qw) and the fluctuation amount (d) to the outside of the controlled object (200), and the prediction model (Mp) predicts the fluctuation amount (d) as the specific value from a measured value (do) of the disturbance (ds), and the method comprises: acquiring the measured value (do), the manipulated variable (r), and the controlled variable (q); A method for generating teacher data, comprising: generating a first estimate (qwh) of the primary control variable (qw) from the manipulated variable (r) using a mathematical model (131) of the control element (210); generating a second estimate (dh) of the fluctuation variable (d) based on the control variable (q) and the first estimate (qwh) at a time that is returned a specific time (Lh) from the time when the control variable (q) is acquired; and outputting teacher data (Dt) in which the second estimate (dh) at the time when the measurement value (do) is acquired corresponds to the measurement value (do) as a correct answer.

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

[0084] 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, 121 Inverse model, 122 Local bus, 130 Learning data generation unit, 131 Mathematical model, 132 Time converter, 133, 150, 160 Subtractor, 134 Output generator, 140 Storage unit, 170 Learning unit, 200 Control target, 200C Field device, 210 Control element, 220 Disturbance element, 222 Servo motor, 230 Dead time element, 240 Adder, 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, Dt training data, L dead time, Lh estimated dead time, Mp prediction model, Pc control program, d fluctuation amount, dh estimated fluctuation amount, do measured value, ds disturbance, eq error, q controlled variable, qo secondary controlled variable, qoh estimated secondary controlled variable, qr target value, qw primary controlled variable, qwh estimated primary controlled variable, r manipulated variable, rb feedback manipulated variable, rf feedforward compensation value.

Claims

1. An apparatus for machine learning for a prediction model that predicts a specific value required for generating a feedforward compensation value of a feedback manipulated variable to 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 controlled variable of the control object so that the controlled variable approaches the target value, a value obtained by subtracting the feedforward compensation value from the feedback manipulated variable is output from the control device to the control object as a manipulated variable, the control object is expressed by a control element expressed as a mathematical model that receives the manipulated variable, a disturbance element that receives the disturbance, and a dead time element, the control element outputs a primary controlled variable in response to the manipulated variable, the disturbance element outputs a fluctuation amount in response to the disturbance, and the dead time element delays the output of a sum of the primary controlled variable and the fluctuation amount to outside the control object, the prediction model predicts the fluctuation amount as the specific value from a measured value of the disturbance, the apparatus includes a learning data generation unit, and the learning data generation unit acquires the measured value, the manipulated variable, and the controlled variable, a first estimate of the primary controlled variable from the manipulated variable using the mathematical model; a second estimate of the fluctuation variable based on the controlled variable and the first estimate at a time that is a specific time back from the time at which the controlled variable was acquired; and outputting teacher data in which the second estimate at the time at which the measured value was acquired corresponds to the measured value as a correct answer.

2. The device described in 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 measured value and the second estimated value represented by the predictive model as a function with the second estimated value as an objective variable and the measured value as an explanatory variable.

3. The device according to claim 1 or 2, further comprising a feedforward compensation unit that generates the feedforward compensation value from the amount of fluctuation predicted by the prediction model using an inverse model of the mathematical model.

4. A program for generating teacher data for machine learning for a prediction model that predicts a specific value required for generating a feedforward compensation value of a feedback manipulation variable for a control object subjected to a disturbance, wherein the feedback manipulation 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 value obtained by subtracting the feedforward compensation value from the feedback manipulation variable is output from the control device to the control object as a manipulation variable, the control object is represented by a control element expressed as a mathematical model that receives the manipulation variable, a disturbance element that receives the disturbance, and a dead time element, the control element outputs a primary control variable in response to the manipulation variable, the disturbance element outputs a fluctuation variable in response to the disturbance, and the dead time element delays the output of the sum of the primary control variable and the fluctuation variable to the outside of the control object, the prediction model predicts the fluctuation variable as the specific value from a measurement value of the disturbance, and the teacher data generation program is executed by a processor to obtain the measurement value, the manipulation variable, and the control variable, a first estimate of the primary controlled variable from the manipulated variable using the mathematical model; a second estimate of the fluctuation variable based on the controlled variable and the first estimate at a time that is a specific time back from the time at which the controlled variable was acquired; and outputting teacher data in which the second estimate at the time at which the measured value was acquired corresponds to the measured value as a correct answer.

5. A method for generating teacher data for machine learning for a prediction model that predicts a specific value required for generating a feedforward compensation value of a feedback manipulation variable to a control object that is subjected to a disturbance, wherein the feedback manipulation 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 value obtained by subtracting the feedforward compensation value from the feedback manipulation variable is output from the control device to the control object as a manipulation variable, the control object is expressed by a control element expressed as a mathematical model that receives the manipulation variable, a disturbance element that receives the disturbance, and a dead time element, the control element outputs a primary control variable in response to the manipulation variable, the disturbance element outputs a fluctuation variable in response to the disturbance, and the dead time element delays the output of a sum of the primary control variable and the fluctuation variable to outside the control object, the prediction model predicts the fluctuation variable as the specific value from a measurement value of the disturbance, and the method for generating teacher data comprises the steps of: acquiring the measurement value, the manipulation variable, and the control variable; A method for generating teacher data, comprising: generating a first estimate of the primary control amount from the manipulated variable using the mathematical model; generating a second estimate of the fluctuation amount based on the control amount and the first estimate at a time that is a specific time back from a time when the control amount is acquired; and outputting teacher data in which the second estimate at the time when the measurement value is acquired corresponds to the measurement value as a correct answer.

Citation Information

Patent Citations

  • Controller using neural network model

    JP1993027808A

  • Disturbance estimation device, control object model estimation device, feedforward amount estimation device, and controller

    JP2010218007A

  • Control device and control method

    JP2020060827A

  • Control device

    JP2021176047A

Cited By

  • Cooperative control method for intelligent turbine controller

    CN119179291A