Arithmetic unit, arithmetic method, and program
The arithmetic device automates control parameter calculation for hybrid control systems, addressing inefficiencies in conventional setups by seamlessly switching between AI and PID control, reducing workload and enhancing control efficiency and stability.
Patent Information
- Application Number
- JP2023030449
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-09-09
- Estimated Expiration
- 2043-02-28
AI Technical Summary
Conventional hybrid control devices require manual or time-consuming adjustments of control parameters for PID control, leading to a significant workload and inefficiency in feedback control.
An arithmetic device that automatically calculates control parameters during first control using learning data, allowing seamless switching between AI and PID control functions without prior user setup, thereby reducing workload and enhancing control efficiency.
The device reduces the workload associated with feedback control by automating the calculation of control parameters, enabling efficient and accurate control parameter adjustment, especially during startup and when approaching target values, thus improving user convenience and control stability.
Smart Images

Figure 00000000_0000
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a computing device, a computing method, and a program. [Background technology]
[0002] Conventionally, techniques related to device control are known. For example, Patent Document 1 discloses a control device that switches between controlling a controlled device by a first control unit or a second control unit. The first control unit outputs an operation amount of the controlled device corresponding to a measured value by at least one of feedback control and feedforward control. The second control unit outputs an operation amount of the controlled device corresponding to a measured value by using a model learned using learning data.
[0003] Patent Document 1 discloses an example of a hybrid control device that can switch between an AI (Artificial Intelligence) control function and a PID (Proportional-Integral-Differential) control function depending on the situation. This type of control device executes control by switching between the AI control function and the PID control function depending on the desired controllability. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Patent Publication No. 2021-174259 Summary of the Invention [Problem to be solved by the invention]
[0005] Conventional hybrid control devices can switch between AI control and PID control functions to execute control, but the control parameters of the PID control function must be checked and set in advance. The control parameters can be obtained by manual adjustment by an expert or by automatic adjustment using methods such as the limit sensitivity method and step response method. However, these adjustments take a long time and involve a large workload.
[0006] The present disclosure aims to provide a calculation device, a calculation method, and a program that can reduce the workload associated with feedback control of a controlled device. [Means for solving the problem]
[0007] A calculation device according to some embodiments includes a calculation unit that, when a first control is being executed in which a functional output value corresponding to a measurement value measured for a controlled device is output using a model learned using learning data, calculates a control parameter to be used for a second control in which a control output value to the controlled device corresponding to the measurement value by feedback control is output to the controlled device based on the measurement value and a target value for the measurement value.
[0008] This allows the arithmetic device to reduce the workload related to feedback control of the controlled device. When the first control is being executed, the arithmetic device calculates the control parameters to be used in the second control based on the measured value and the target value for the measured value. This allows the arithmetic device, as a hybrid control device, to automatically calculate the control parameters during the first control. Therefore, the user does not need to set the control parameters to be used in the second control in advance.
[0009] In one embodiment, the calculation device includes a first control unit that outputs the function output value to a second control unit and executes the first control, and a second control unit that acquires the control parameters from the calculation unit and executes the second control, and the control target equipment may be controlled by the first control unit or the second control unit.
[0010] This allows the arithmetic device to execute various arithmetic processes related to the calculation of the control parameters and various processes for controlling the controlled device by itself, thereby improving the convenience for the user of the arithmetic device.
[0011] In one embodiment of the calculation device, the calculation unit may acquire the function output value based on the first control, and start acquiring the measurement value when an amount of change in the acquired function output value exceeds a threshold value as a starting point for calculating the control parameter.
[0012] This allows the arithmetic device to execute various arithmetic processes related to the calculation of the control parameters at appropriate timing when the function output value fluctuates significantly and the measured value approaches the target value, thereby reducing the arithmetic load of the arithmetic device by suppressing arithmetic processes at unnecessary timing.
[0013] In one embodiment, the calculation unit may calculate a plurality of parameters for calculating the control parameter based on an amount of change per unit time of the measurement value.
[0014] This allows the arithmetic device to more accurately calculate the control parameters, for example in the case shown in FIG. 3 where the measured value asymptotically approaches the target value.
[0015] In one embodiment, the control parameters may include parameters corresponding to at least one of proportional control, integral control, and differential control. This allows the calculation device to execute the feedback control by the second control unit as PID control. The calculation device can control the controlled device by the PID control by the second control unit so as to reduce the difference between the target value and the current measured value.
[0016] A calculation method according to some embodiments includes, when a first control is being executed in which a functional output value corresponding to a measurement value measured for a controlled device is output using a model learned using learning data, a step of calculating a control parameter to be used for a second control in which a control output value to the controlled device corresponding to the measurement value by feedback control is output to the controlled device based on the measurement value and a target value for the measurement value.
[0017] As a result, the arithmetic device executing the arithmetic method can reduce the workload related to feedback control of the controlled device. When the first control is being executed, the arithmetic device calculates the control parameters to be used in the second control based on the measured value and the target value for the measured value. As a result, the arithmetic device can automatically calculate the control parameters during the first control as a hybrid control device. Therefore, the user does not need to set the control parameters to be used in the second control in advance.
[0018] A program according to some embodiments causes a computing device to perform an operation including, when a first control is being executed in which a functional output value corresponding to a measurement value measured for a controlled device is output using a model learned using learning data, calculating a control parameter to be used for a second control in which a control output value to the controlled device corresponding to the measurement value by feedback control is output to the controlled device based on the measurement value and a target value for the measurement value.
[0019] This allows the arithmetic device to reduce the workload related to feedback control of the controlled device. When the first control is being executed, the arithmetic device calculates the control parameters to be used in the second control based on the measured value and the target value for the measured value. This allows the arithmetic device, as a hybrid control device, to automatically calculate the control parameters during the first control. Therefore, the user does not need to set the control parameters to be used in the second control in advance. Effect of the Invention
[0020] According to the present disclosure, it is possible to provide a calculation device, a calculation method, and a program capable of reducing the workload related to feedback control of a controlled device. [Brief description of the drawings]
[0021] [Figure 1] FIG. 1 is a block diagram showing an example of a configuration of a system including a computing device according to an embodiment of the present disclosure. [Diagram 2] 2 is a functional block diagram showing an example of the configuration of a calculation unit in FIG. 1. [Diagram 3] 2 is a schematic diagram for explaining an example of a calculation process by a calculation unit in FIG. 1. [Figure 4] 2 is a flowchart showing an example of processing executed by the arithmetic device of FIG. 1. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0022] An embodiment of the present disclosure will be mainly described below with reference to the accompanying drawings.
[0023] Fig. 1 is a block diagram showing an example of a configuration of a system 1 including a computing device 10 according to an embodiment of the present disclosure. With reference to Fig. 1, an example of a configuration of the system 1 including the computing device 10 according to an embodiment will be mainly described. The system 1 includes a facility 20 in addition to the computing device 10. The facility 20 includes at least one control target device 21 and at least one sensor 22.
[0024] The facility 20 is equipped with equipment including at least one control target device 21. For example, the facility 20 may be a plant, or may be a composite device in which a plurality of devices are combined. In the present disclosure, the "plant" includes, for example, industrial plants such as chemical and bio, as well as wellheads including gas fields and oil fields, and plants that manage and control their surroundings. In addition, the plant may include plants that manage and control power generation such as hydroelectric, thermal, and nuclear power, plants that manage and control environmental power generation such as solar and wind power, and plants that manage and control water supply and sewage, dams, etc.
[0025] The controlled device 21 is an instrument, a machine, or a device, and controls, for example, at least one physical quantity in the process of the facility 20. The controlled device 21 includes, for example, actuators such as valves, pumps, heaters, fans, motors, and switches. In the present disclosure, the "physical quantity" includes, for example, the temperature, pressure, flow rate, and pH of fluids including gases and liquids generated in the facility 20 in which the controlled device 21 is located, as well as the corrosion degree and vibration amount of the facility 20. Without being limited thereto, the physical quantity may include state parameters including temperature and pressure related to actuators including valves, motors, and switches.
[0026] In one embodiment, as an example, a plurality of control target devices 21 are arranged in the facility 20. The control target devices 21 may be of different types from each other, or at least some of the control target devices 21 may be of the same type.
[0027] The control target device 21 may be controlled from the outside via a network (not shown) in a wired or wireless manner, or may be manually controlled. The control target device 21 is controlled by a calculation device 10 that functions as a control device described later. When the system 1 is equipped with a plurality of control target devices 21, the plurality of control target devices 21 may have a relationship in which they are controlled in conjunction with each other. For example, the relationship includes a master-slave relationship and other relationships in which they are not controlled independently.
[0028] The controlled device 21 acquires a control output value MV output from the arithmetic device 10, and is controlled by the arithmetic device 10 so that the current value of the physical quantity approaches a target value SV that is preset as a set value. For example, the controlled device 21 may be subjected to feedback control so as to reduce the difference between the target value SV and the current value. The set target value SV may be a fixed value, or may be changed as appropriate.
[0029] The sensor 22 includes a module capable of measuring physical quantities inside and outside the facility 20. More specifically, the sensor 22 includes a module that executes a measurement process on the physical quantity to be measured and acquires a measurement value PV. The sensor 22 provides the calculation device 10 with measurement data including the measurement value PV obtained by the measurement.
[0030] The measurement data includes a physical quantity for the arithmetic device 10 to control the controlled device 21. The measurement data may indicate a measurement value PV of a physical quantity measured for the controlled device 21, and may indicate, for example, an output value by the controlled device 21 or a value that changes depending on the output value.
[0031] The arithmetic device 10 may be any general-purpose electronic device such as a PC (Personal Computer) or a smartphone, or may be another electronic device dedicated to the system 1. Without being limited thereto, the arithmetic device 10 may be one or multiple server devices capable of communicating with each other.
[0032] The arithmetic device 10 performs various arithmetic processes described later, and also functions as a control device that controls the controlled device 21. The arithmetic device 10 switches between the first control and the second control to control the controlled device 21. In the present disclosure, the "first control" includes, for example, a control to output a function output value FV corresponding to a measurement value PV measured for the controlled device 21 by using a model M learned using learning data. The function output value FV corresponds to a control output value MV finally output from the arithmetic device 10 as an operation amount for controlling the controlled device 21. The "second control" includes, for example, a control to output a control output value MV to the controlled device 21 corresponding to a measurement value PV measured for the controlled device 21 by feedback control.
[0033] The calculation device 10 includes a first control unit 11, a second control unit 12, a calculation unit 13, and a storage unit 14.
[0034] The first control unit 11 includes one or more processors. In the present disclosure, the term "processor" includes, for example, a general-purpose processor or a dedicated processor specialized for a specific process. The first control unit 11 outputs a function output value FV to the second control unit 12 to execute the first control. More specifically, the first control unit 11 acquires a measurement value PV measured for the control target device 21 from a sensor 22 of the facility 20. The first control unit 11 acquires a target value SV of control for the measurement value PV, for example, by an input from a user. The first control unit 11 acquires a model M trained using the training data.
[0035] The model M may be generated, for example, in the arithmetic device 10, or may be generated in another device different from the arithmetic device 10. The model M is generated by a learning process executed using measurement data including a measurement value PV obtained by the sensor 22 and learning data including a control output value MV output from the second control unit 12. The generated model M inputs the measurement value PV and outputs a function output value FV.
[0036] The first control unit 11 outputs a function output value FV corresponding to the acquired measurement value PV and target value SV to the second control unit 12 using the model M. The first control unit 11 provides an AI control function for the control-target device 21 by outputting the function output value FV as a control output value MV to the control-target device 21 via the second control unit 12. The first control unit 11 may output a control output value MV corresponding to the measurement value PV for each of the multiple control-target devices 21, and provide an AI control function for each of the multiple control-target devices 21.
[0037] The first control unit 11 outputs a signal S to the second control unit 12 for switching the second control unit 12 between operation in auto mode and operation in manual mode. In the present disclosure, the "auto mode" includes, for example, a mode in which, in response to a measurement value PV being input to the second control unit 12, the second control unit 12 calculates and outputs a control output value MV to the controlled device 21 corresponding to the measurement value PV. The auto mode corresponds to the second control. The "manual mode" includes, for example, a mode in which, in response to a function output value FV corresponding to the control output value MV to be output by the second control unit 12 being input from the first control unit 11 to the second control unit 12, the second control unit 12 outputs the control output value MV. The manual mode corresponds to the first control.
[0038] The second control unit 12 includes one or more processors. The second control unit 12 acquires a control parameter CP from the calculation unit 13 and executes the second control. In the present disclosure, the control parameter CP includes a parameter corresponding to at least one of proportional control (P control), integral control (I control), or differential control (D control).
[0039] The second control unit 12 outputs a control output value MV to the control target device 21 according to the measurement value PV, for example, by PID control based on the control parameter CP calculated by the calculation unit 13. As a result, the second control unit 12 drives the control target device 21 with the control output value MV. The second control unit 12 provides a PID control function for the control target device 21. The second control unit 12 may output a control output value MV according to the measurement value PV for each of the multiple control target devices 21, and provide a PID control function for each of the multiple control target devices 21. The second control unit 12 provides such a PID control function in an operation in an auto mode based on the signal S acquired from the first control unit 11.
[0040] In order to execute feedback control in the auto mode, the second control unit 12 acquires a measurement value PV measured for the controlled device 21 from the sensor 22 of the facility 20. Similarly, the second control unit 12 acquires a target value SV of control for the measurement value PV, for example, from an input by a user. The second control unit 12 acquires a control parameter CP calculated by the calculation unit 13 from the calculation unit 13.
[0041] The second control unit 12 calculates a control output value MV based on the acquired measurement value PV and target value SV, and the control parameter CP calculated by the calculation unit 13. The second control unit 12 calculates a control output value MV that reduces the difference between the target value SV set by, for example, a user, and the current measurement value PV.
[0042] On the other hand, when the second control unit 12 acquires a signal S for switching to operation in the manual mode from the first control unit 11, the second control unit 12 contributes to providing the AI control function by the first control unit 11 in the operation in the manual mode. In the manual mode, the second control unit 12 acquires a function output value FV from the first control unit 11 corresponding to a control output value MV to be output by the second control unit 12. The second control unit 12 outputs the corresponding control output value MV based on the acquired function output value FV. As a result, the second control unit 12 outputs the control output value MV to the controlled device 21 so as to reduce the difference between the target value SV and the current measured value PV.
[0043] The arithmetic device 10 functions as a control device that switches between controlling the control target device 21 by the first control unit 11 or the second control unit 12. The arithmetic device 10 functions as a hybrid control device that can use, for example, an AI control function by the first control unit 11 and a PID control function by the second control unit 12 while switching according to the situation. The arithmetic device 10 executes control by switching between the AI control function and the PID control function according to the desired controllability.
[0044] For example, the first control unit 11 may execute such switching control by switching the operation mode of the second control unit 12 to an auto mode or a manual mode. By setting the second control unit 12 in the auto mode, the first control unit 11 causes the second control unit 12 to exert a PID control function to control the control target device 21. By setting the second control unit 12 in the manual mode, the first control unit 11 itself exerts an AI control function to control the control target device 21.
[0045] The storage unit 14 includes any storage device such as a hard disk drive (HDD), a solid state drive (SSD), an electrically erasable programmable read-only memory (EEPROM), a read-only memory (ROM), and a random access memory (RAM). The storage unit 14 stores information necessary to realize the operation of the arithmetic device 10. The storage unit 14 stores information obtained by the operation of the arithmetic device 10. For example, the storage unit 14 stores system programs, application programs, and various data acquired by any means such as communication.
[0046] The storage unit 14 may function as a main storage device, an auxiliary storage device, or a cache memory. The storage unit 14 is not limited to being built into the arithmetic device 10, and may be an external storage device connected via a digital input / output port such as a USB (Universal Serial Bus).
[0047] The calculation unit 13 includes one or more processors. The processors included in the first control unit 11, the second control unit 12, and the calculation unit 13 may be different from each other, or may be at least partially common to each other.
[0048] When the first control is being executed by the first control unit 11, the calculation unit 13 acquires a function output value FV based on the first control by the first control unit 11 from the first control unit 11. The calculation unit 13 starts acquiring a measurement value PV when the amount of change in the function output value FV acquired from the first control unit 11 exceeds a threshold value.
[0049] The calculation unit 13 acquires a measurement value PV measured for the control target device 21 from the sensor 22 of the facility 20. Similarly, the calculation unit 13 acquires a target value SV for control with respect to the measurement value PV, for example, from an input by a user.
[0050] The calculation unit 13 calculates a control parameter CP to be used in the second control based on a measured value PV and a target value SV for the measured value PV when the first control is being executed by the first control unit 11. The calculation unit 13 calculates the control parameter CP during operation of the AI control function, including, for example, at start-up and when the target value SV is changed. The calculation unit 13 outputs the calculated control parameter CP to the second control unit 12 as the control parameter CP when the second control is executed by the second control unit 12, and causes it to be reflected.
[0051] Fig. 2 is a functional block diagram showing an example of the configuration of the calculation unit 13 in Fig. 1. Fig. 3 is a schematic diagram for explaining an example of a calculation process by the calculation unit 13 in Fig. 1. The graph in the upper half of Fig. 3 shows the time change of the measurement value PV when the first control is executed by the first control unit 11 and the measurement value PV gradually approaches the target value SV. The graph in the lower half of Fig. 3 shows the time change of the function output value FV output from the first control unit 11 when the first control is executed by the first control unit 11. The calculation unit 13 starts acquiring the measurement value PV when the function output value FV rises sharply as shown in the graph and the amount of change exceeds a threshold value.
[0052] 2, the calculation unit 13 has a first calculation unit 131, a second calculation unit 132, a third calculation unit 133, a fourth calculation unit 134, and a control parameter calculation unit 135. As shown in Fig. 3, the calculation unit 13 calculates a plurality of parameters for calculating the control parameter CP based on the amount of change per unit time of the measured value PV. In the present disclosure, the "plurality of parameters" includes, for example, a maximum value of the slope R corresponding to the amount of change per unit time of the measured value PV, a setting value K, a dead time L, and a time constant T.
[0053] 2, the input to the calculation unit 13 includes, for example, a target value SV, a function output value FV, and a measurement value PV controlled by the AI control function. The output from the calculation unit 13 includes, for example, three parameters corresponding to P control, I control, and D control, respectively, as control parameters CP.
[0054] In the calculation unit 13, a plurality of parameters are calculated in four blocks, namely, a first calculation unit 131, a second calculation unit 132, a third calculation unit 133, and a fourth calculation unit 134, based on the above input. The first calculation unit 131 calculates the maximum value of the slope R corresponding to the amount of change per unit time of the measured value PV. The second calculation unit 132 calculates a setting value K. The third calculation unit 133 calculates the dead time L. The fourth calculation unit 134 calculates the time constant T.
[0055] 3, the first calculator 131 calculates a slope R per unit time from the acquired current measurement value PV and the measurement value PV from the previous unit time ago. In this disclosure, the "unit time" includes, for example, 1 s. The slope R is expressed, for example, by the following formula (1). R = (current measured value PV - previous measured value PV) / 1 (1)
[0056] When the first calculation unit 131 calculates the maximum value of the slope R based on the flowchart in FIG. 4 described later, the second calculation unit 132, the third calculation unit 133, and the fourth calculation unit 134 calculate the setting value K, the dead time L, and the time constant T, respectively.
[0057] When the first calculation unit 131 calculates the maximum value of the slope R, the second calculation unit 132 calculates a preset target value SV as the setting value K. When the update of the maximum value of the slope R stops according to the flowchart in Fig. 4 described later, the second calculation unit 132 calculates the target value SV as the setting value K. That is, the second calculation unit 132 calculates the setting value K by the following formula (2). Setting value K = target value SV (2)
[0058] The third calculation unit 133 calculates the dead time L based on the maximum value of the gradient R calculated by the first calculation unit 131, using the following formula (3). L = (R × T R -PV R +PV0) / R (3) Here, T R represents the time when the maximum value of the slope R is obtained. PV R represents the measurement value PV when the maximum value of the slope R is obtained. PV0 represents the measurement value PV when the calculation unit 13 starts acquiring the measurement value PV.
[0059] The fourth calculation unit 134 calculates the time constant T based on the maximum value of the gradient R calculated by the first calculation unit 131, using the following formula (4). T=K / R (4) Here, K is the setting value K calculated by the second calculation unit 132.
[0060] The control parameter calculation unit 135 acquires the maximum value of the gradient R calculated by the first calculation unit 131, the set value K calculated by the second calculation unit 132, the dead time L calculated by the third calculation unit 133, and the time constant T calculated by the fourth calculation unit 134. The control parameter calculation unit 135 calculates the control parameters CP based on the acquired multiple parameters. For example, the control parameter calculation unit 135 calculates the control parameters CP including three parameters related to PID control using the Ziegler-Nichols step response method or the Chien-Hrones-Reswick (CHR) method.
[0061] The control parameter calculation unit 135 outputs the calculated control parameter CP to the second control unit 12, and reflects it in feedback control such as PID control in the second control unit 12, in preparation for switching from the first control to the second control. After that, when switching to the second control, the second control unit 12 executes, for example, PID control using the control parameter CP calculated by the control parameter calculation unit 135. The timing of switching from the first control to the second control is, for example, the time T R This includes any time after the time required for outputting the control parameter CP has elapsed and before the measurement value PV coincides with the target value SV.
[0062] Fig. 4 is a flowchart showing an example of processing executed by the arithmetic device 10 of Fig. 1. An example of the operation realized by the arithmetic unit 13 of the arithmetic device 10 will be mainly described with reference to Fig. 3 as well as Fig. 4 as needed.
[0063] In step S100, the calculation unit 13 acquires the function output value FV based on the first control by the first control unit 11 from the first control unit 11 while the first control is being executed by the first control unit 11.
[0064] In step S101, the calculation unit 13 determines whether the amount of change in the function output value FV acquired in step S100 has exceeded a threshold. If the calculation unit 13 determines that the amount of change in the function output value FV has exceeded the threshold, the calculation unit 13 executes the process of step S102. If the calculation unit 13 determines that the amount of change in the function output value FV has not exceeded the threshold, the calculation unit 13 executes the process of step S100 again.
[0065] In step S102, when the calculation unit 13 determines in step S101 that the amount of change in the function output value FV has exceeded the threshold, the calculation unit 13 starts acquiring the measurement value PV from the point when the amount of change in the function output value FV has exceeded the threshold as the starting point for calculating the control parameter CP. At this time, the calculation unit 13 stores the measurement value PV0 at the time when the acquisition of the measurement value PV started in the storage unit 14 as information.
[0066] In step S103, the first calculation unit 131 of the operation unit 13 acquires the current measurement value PV measured for the controlled device 21 from the sensor 22 of the facility 20.
[0067] In step S104, the first calculation unit 131 of the operation unit 13 calculates a slope R per unit time from the current measurement value PV acquired in step S103 and the measurement value PV from the previous unit time ago, using equation (1).
[0068] In step S105, the first calculation unit 131 of the calculation unit 13 determines whether the slope R calculated in step S104 has increased with respect to the slope R calculated in the previous step while step S104 is repeated from step S107 through step S103. For example, the first calculation unit 131 determines whether the slope R calculated in step S104 is greater than the maximum value of the slope R calculated in the previous step. If the first calculation unit 131 determines that the slope R has increased, it executes the process of step S106. If the first calculation unit 131 determines that the slope R has not increased, it executes the process of step S108.
[0069] In step S106, if the first calculation unit 131 of the calculation unit 13 determines in step S105 that the slope R has increased, it updates the immediately previous slope R to the current increased value.
[0070] In step S107, the first calculation unit 131 of the operation unit 13 stores, as information, in the storage unit 14, the measurement value PV, the time, and the slope R when the slope R is updated in step S106.
[0071] In step S108, when the second calculation unit 132, the third calculation unit 133, and the fourth calculation unit 134 of the calculation unit 13 determine that the slope R is not increasing in step S105, they calculate the setting value K, the dead time L, and the time constant T, among the multiple parameters, based on the above formulas (2) to (4), respectively. For example, in a graph of the measured value PV that increases monotonically toward the target value SV, as shown in the upper half of Figure 3, the fact that the slope R is not increasing indicates that the time T R This means that the maximum value of the slope R is obtained at
[0072] The calculation unit 13 calculates the maximum value of the slope R stored in the storage unit 14 in step S107, and the time T R , and the measured value PV R and the measured value PV0 stored in storage unit 14 in step S102, calculation unit 13 calculates dead time L, one of the above multiple parameters, according to equation (3). Calculation unit 13 calculates a preset target value SV as a setting value K using equation (2). In step S107, calculation unit 13 calculates a time constant T according to equation (4) using the maximum value of slope R stored in storage unit 14 and the calculated setting value K.
[0073] In step S109, the calculation unit 13 calculates a control parameter CP based on the multiple parameters obtained up to step S108. When the first control is being performed, the calculation unit 13 calculates the control parameter CP to be used in the second control based on the measurement value PV and a target value SV for the measurement value PV.
[0074] In step S110, the calculation unit 13 outputs the control parameter CP calculated in step S109 to the second control unit 12.
[0075] According to the arithmetic device 10 of the embodiment as described above, it is possible to reduce the workload related to the feedback control of the control target device 21. When the first control is being executed, the arithmetic device 10 calculates the control parameters CP to be used in the second control based on the measured value PV and the target value SV for the measured value PV. This allows the arithmetic device 10, as a hybrid type control device, to automatically calculate the control parameters CP during the first control. Therefore, the user does not need to set the control parameters CP to be used in the second control in advance.
[0076] As a result, the user can easily perform operations related to feedback control. Even if the user does not adjust the control parameter CP in advance by trial and error, the calculation device 10 calculates the control parameter CP during start-up control using the AI control function, and switches to the PID control function near the target value SV, thereby realizing stable control. In a hybrid control device, the user can adjust the control parameter CP of PID control, which requires experience and time, in a short time and with a small workload.
[0077] The arithmetic device 10 has a first control unit 11 and a second control unit 12, and functions as a control device that switches between controlling the control-target device 21 by the first control unit 11 or the second control unit 12. This allows the arithmetic device 10 to independently execute various arithmetic processes related to the calculation of the control parameter CP and various processes for controlling the control-target device 21. This improves the convenience of the user who uses the arithmetic device 10.
[0078] The arithmetic device 10 acquires the function output value FV based on the first control, and starts acquiring the measurement value PV when the amount of change in the acquired function output value FV exceeds a threshold. This allows the arithmetic device 10 to execute various arithmetic processes related to the calculation of the control parameter CP at an appropriate timing when the function output value FV fluctuates significantly and the measurement value PV approaches the target value SV. Therefore, the arithmetic device 10 can suppress arithmetic processes at unnecessary timing and reduce the calculation load.
[0079] The calculation device 10 calculates a plurality of parameters for calculating the control parameter CP based on the amount of change per unit time of the measured value PV. This allows the calculation device 10 to calculate the control parameter CP with higher accuracy. For example, the calculation device 10 can calculate the control parameter CP with higher accuracy in a case such as that shown in FIG. 3 in which the measured value PV monotonically approaches the target value SV.
[0080] Since the control parameter CP includes a parameter corresponding to at least one of proportional control, integral control, and differential control, the arithmetic device 10 can execute the feedback control by the second control unit 12 as PID control. The arithmetic device 10 can control the controlled device 21 by the PID control by the second control unit 12 so as to reduce the difference between the target value SV and the current measured value PV.
[0081] The system 1 switches between controlling the control target device 21 by the first control unit 11 or the second control unit 12 of the arithmetic device 10. In this way, when the control cannot be performed satisfactorily by either the first control unit 11 or the second control unit 12, the system 1 can also perform the control satisfactorily by the other. In addition, unlike the case where the control target device 21 is controlled only by the first control unit 11, the system 1 can allocate part of the control to the second control unit 12. Therefore, the system 1 can also simplify the learning of the model M used in the first control unit 11.
[0082] The computing device 10 can be configured, for example, by equipping an existing PID controller with the AI control function and the computing function related to the control parameter CP. This makes it possible for the computing device 10 to easily achieve both a significant improvement in the control characteristics related to the rise of the measured value PV and stability in PID control in a steady state, compared to an existing PID controller.
[0083] Although the present disclosure has been described based on the drawings and examples, it should be noted that those skilled in the art can make various modifications and alterations based on the present disclosure. Therefore, it should be noted that these modifications and alterations are included in the scope of the present disclosure. For example, the functions included in each configuration or each step can be rearranged so as not to be logically inconsistent, and multiple configurations or steps can be combined or divided into one.
[0084] For example, a general-purpose electronic device such as a smartphone or a computer can function as the arithmetic device 10 according to the embodiment described above. Specifically, a program describing the processing contents for realizing each function of the arithmetic device 10 according to the embodiment is stored in the memory of the electronic device, and the program is read and executed by a processor of the electronic device. Therefore, the present disclosure can also be realized as a program executable by a processor.
[0085] Alternatively, the present disclosure may be realized as a non-transitory computer-readable medium storing a program executable by one or more processors to cause the computing device 10 according to an embodiment to execute each function. It should be understood that these are also included within the scope of the present disclosure.
[0086] In the above embodiment, the arithmetic device 10 has been described as functioning as a control device that switches between controlling the control-target device 21 by the first control unit 11 or the second control unit 12, but is not limited thereto. The arithmetic device 10 may function as a server device that has the first control unit 11 that performs the first control and the second control unit 12 that acquires the control parameter CP from the arithmetic device 13 and performs the second control, and is communicably connected to the control device that switches between controlling the control-target device 21 by the first control unit 11 or the second control unit 12.
[0087] The arithmetic device 10 may be configured as a device other than the hybrid-type control device having the above-mentioned first control unit 11 and second control unit 12. The arithmetic device 10 may be configured as a device that mainly executes various arithmetic processing by the arithmetic unit 13, and may be configured separately from the hybrid-type control device.
[0088] As a result, the computing device 10 does not require a load related to processing as a hybrid control device, and only requires a computation load based on various computation processes by the computing unit 13. Therefore, the computing device 10 can reduce the load related to its operation.
[0089] In the above embodiment, the calculation device 10 has been described as starting to acquire the measurement value PV when the amount of change in the acquired function output value FV exceeds a threshold value, but this is not limited thereto. The calculation device 10 may start to acquire the measurement value PV based on other conditions different from the conditions based on the amount of change in the function output value FV. For example, the calculation device 10 may start to acquire the measurement value PV when the absolute value of the acquired function output value FV exceeds a threshold value. The calculation device 10 may constantly acquire the measurement value PV instead of starting to acquire the measurement value PV at a specific timing.
[0090] In the above embodiment, the calculation device 10 calculates a plurality of parameters for calculating the control parameter CP based on the amount of change per unit time of the measured value PV, but this is not limited to the above. The calculation device 10 may calculate the plurality of parameters based on another calculation method other than the method based on the amount of change per unit time of the measured value PV. The calculation device 10 may calculate the control parameter CP based on another calculation method other than the method based on the plurality of parameters.
[0091] In the above embodiment, the control parameter CP includes a parameter corresponding to at least one of proportional control, integral control, and differential control, but is not limited thereto. The feedback control executed by the second control unit 12 of the calculation device 10 may be a control other than the PID control.
[0092] In the above embodiment, the first control unit 11 switches the operation mode of the second control unit 12 between the auto mode and the manual mode to switch between the AI control function and the PID control function, but this is not limited thereto. The arithmetic device 10 may have other components such as a switching unit that executes such switching control in addition to the first control unit 11 and the second control unit 12. Such switching control may be executed by the switching unit instead of the first control unit 11.
[0093] In the above embodiment, as shown in Fig. 3, the measurement value PV under the first control approaches the target value SV while monotonically increasing, but is not limited to this. The measurement value PV under the first control may approach the target value SV while monotonically decreasing, or may not change monotonically at all.
[0094] Some of the embodiments of the present disclosure will be described below as examples. However, it should be noted that the embodiments of the present disclosure are not limited to these examples. [Appendix 1] a calculation unit that calculates, when a first control is being executed in which a function output value corresponding to a measured value measured for a control target device is output by using a model learned using learning data, a control parameter to be used in a second control in which a control output value corresponding to the measured value is output to the control target device by feedback control, based on the measured value and a target value for the measured value; Equipped with Computing device. [Appendix 2] 2. The computing device of claim 1, a first control unit that outputs the function output value to a second control unit to execute the first control; the second control unit acquiring the control parameters from the calculation unit and executing the second control; Equipped with The control target device is controlled by the first control unit or the second control unit. Computing device. [Appendix 3] 3. The computing device according to claim 1 or 2, the calculation unit acquires the function output value based on the first control, and starts acquiring the measurement values when a change amount of the acquired function output value exceeds a threshold value as a starting point for calculating the control parameter. Computing device. [Appendix 4] 4. A computing device according to any one of claims 1 to 3, the calculation unit calculates a plurality of parameters for calculating the control parameter based on an amount of change per unit time of the measurement value; Computing device. [Appendix 5] 5. A computing device according to any one of claims 1 to 4, The control parameters include parameters corresponding to at least one of proportional control, integral control, or differential control. Computing device. [Appendix 6] a step of calculating, when a first control is being executed in which a function output value corresponding to a measurement value measured for a control target device is output by using a model trained using learning data, a control parameter used in a second control in which a control output value corresponding to the measurement value is output to the control target device by feedback control, based on the measurement value and a target value for the measurement value; Calculation method. [Appendix 7] A computing device, executing an operation including a step of calculating, when a first control is being executed in which a function output value corresponding to a measurement value measured for a control target device is output by using a model learned using learning data, a control parameter to be used in a second control in which a control output value corresponding to the measurement value is output to the control target device by feedback control, based on the measurement value and a target value for the measurement value; program. [Explanation of symbols]
[0095] 1 System 10 Arithmetic unit 11 First Control Section 12 Second Control Section 13 Arithmetic section 131 First Calculation Section 132 Second Calculation Section 133 Third Calculation Section 134 4th Calculation Section 135 Control parameter calculation unit 14 Storage section 20 Equipment 21 Controlled Equipment 22 Sensors CP Control Parameter FV Function output value K setting value L Wasted time M Models MV Control output value PV measurement value R Tilt S signal SV target value T time constant
Claims
1. a calculation unit that calculates, when a first control is being executed in which a function output value corresponding to a measured value measured for a control target device is output by using a model learned using learning data, a control parameter to be used in a second control in which a control output value corresponding to the measured value is output to the control target device by feedback control, based on the measured value and a target value for the measured value; Equipped with Computing device.
2. 2. The computing device according to claim 1, a first control unit that outputs the function output value to a second control unit to execute the first control; the second control unit acquiring the control parameters from the calculation unit and executing the second control; Equipped with The control target device is controlled by the first control unit or the second control unit. Computing device.
3. 3. The computing device according to claim 1, the calculation unit acquires the function output value based on the first control, and starts acquiring the measurement values when a change amount of the acquired function output value exceeds a threshold value as a starting point for calculating the control parameter. Computing device.
4. 3. The computing device according to claim 1, the calculation unit calculates a plurality of parameters for calculating the control parameter based on an amount of change per unit time of the measurement value; Computing device.
5. 3. The computing device according to claim 1, The control parameters include parameters corresponding to at least one of proportional control, integral control, or differential control. Computing device.
6. a step of calculating, when a first control is being executed in which a function output value corresponding to a measurement value measured for a control target device is output by using a model trained using learning data, a control parameter used in a second control in which a control output value corresponding to the measurement value is output to the control target device by feedback control, based on the measurement value and a target value for the measurement value; Calculation method.
7. The computing device includes: executing an operation including a step of calculating, when a first control is being executed in which a function output value corresponding to a measurement value measured for a control target device is output by using a model learned using learning data, a control parameter used in a second control in which a control output value corresponding to the measurement value is output to the control target device by feedback control, based on the measurement value and a target value for the measurement value; program.
Citation Information
Patent Citations
Controller
JP1995191710A
Controller
JP1996194503A
Control device, pressure test device and control method
JP2019087068A
Control system and control method
JP2021144287A
Controller, control method, and control program
JP2021174259A
