Control apparatus

The control device addresses PID control systems' inability to adjust output profiles by using time-varying weighting coefficients, optimizing PID gain values for precise and stable control.

JP2024162543APending Publication Date: 2024-11-21HITACHI LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023078134
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-05-10
Publication Date
2024-11-21

AI Technical Summary

Technical Problem

Existing PID control systems struggle to automatically adjust the output profile during response, particularly in reducing overshoot and ensuring convergence, due to the use of a weighting coefficient applied to the change in input signal.

Method used

A control device that automatically tunes PID gain values using a weighting coefficient that varies with time, prioritizing error reduction in specific periods through methods like data-driven control FRIT, to achieve desired output profiles.

Benefits of technology

The system effectively reduces errors and overshoot by optimizing PID gain values, enhancing control precision and performance by prioritizing error reduction in critical periods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024162543000001_ABST
    Figure 2024162543000001_ABST
Patent Text Reader

Abstract

To provide a technique for automatically adjusting a gain value of PID control to give priority to an output in a specific period during a response, such as an overshoot occurrence period, and to obtain a desired profile in a control system using the PID control.SOLUTION: A control apparatus for automatically tuning a PID gain value of PID control, is provided with means for calculating a desired output z(t) of a control target at a certain time t, and means for automatically tuning each control gain value of the PID control so that a value based on a value d1(t)(=w(t)×e(t)) obtained by multiplying an error e(t) between an output y(t) of the control target and a desired output z(t) at a certain time t by a weighting factor w(t) or a value d2(t)(=w(t)×e(t)2) obtained by multiplying the square of the error e(t) between the output y(t) and the desired output z(t) by the weighting factor w(t) becomes small.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a control device, and more particularly to a control device that automatically tunes a gain value of PID control so that the response of a controlled object has a desired profile. [Background technology]

[0002] Background of the present technology is JP 2008-181221 A (Patent Document 1). This document states, "A PID control device including a PID parameter determination means for determining PID parameters for controlling a PID controlled object, and a control means for controlling the controlled object using the PID parameters determined by the PID parameter determination means, characterized in that the PID parameter determination means is configured to determine the PID parameters so that a generalized output φ(t+k) expressed by φ(t+k)=y(t+k)-r(t)+λΔu(t) is reduced, where u(t), y(t) and r(t) are the input to the controlled object, the output from the controlled object and the target value at time t, respectively, λ is a weighting coefficient for the difference between the inputs, k is a dead time and Δ is a difference operator (see [Claim 1])." [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2008-181221 A Summary of the Invention [Problem to be solved by the invention]

[0004] However, the above-mentioned prior art (Patent Document 1) tunes the gain value so that the input signal does not change significantly by using an equation containing a term in which a weighting coefficient is applied to the change in the input signal to the controlled object as the value used for automatic tuning, and does not automatically adjust the output profile from the controlled object during a specific period during a response such as an overshoot. [Means for solving the problem]

[0005] In order to solve the above problems, the configurations described in the claims are adopted, for example. The present application includes a plurality of means for solving the above problems, for example: In a device that automatically tunes the PID gain value of a PID control, A means for calculating a desired output z(t) of a controlled object at a certain time t; The error e(t) between the output y(t) of the controlled object at a certain time t and the desired output z(t) is The value d1(t) multiplied by the weighting coefficient w(t) (= w(t) × e(t)), or The square of the error e(t) between the output y(t) and the desired output z(t) The value d2(t) (=w(t)×e(t)^2) multiplied by the weighting coefficient w(t) So that the value based on A means for automatically tuning each control gain value of PID control. The control device is characterized by comprising:

[0006] Also, for example, A means for calculating a control target r(t); The control target r(t) is set as a control target of the PID control, The control target r(t) is used as an input to a means for computing a desired output z(t). The control device is characterized by the above.

[0007] Also, for example, The value of the weighting coefficient w(t) is set to be larger in a period in which the error e(t) is desired to be small than in other periods. The control device is characterized by the above.

[0008] Also, for example, The weighting coefficient w(t) is k×z(t) that is proportional to the desired output z(t) of the controlled object when the control target changes stepwise. The control device is characterized by the above.

[0009] Also, for example, The weighting coefficient w(t) is a Gaussian distribution whose average value exists in the period in which the error e(t) is desired to be small. The control device is characterized by the above.

[0010] Also, for example, The value based on d1(t) is the square sum error Σd1(t)^2 of d1(t). The control device is characterized by the above.

[0011] Also, for example, The means for automatically tuning each control gain value of the PID control is a data-driven control FRIT. The control device is characterized by the above.

[0012] Also, for example, As an input of the means for automatically tuning each control gain value of the PID control, The present invention provides a method for switching between a value based on the weighting coefficient w(t) (d1(t) or d2(t)) and a value based on the e(t). The control device is characterized by the above.

[0013] Also, for example, The object controlled by the control device is temperature control of a heating furnace or the like. Rotation speed control or position control using a motor The control device is characterized by the above. Effect of the Invention

[0014] According to the present invention, an evaluation value (objective function) used when automatically tuning the gain value of PID control is a value based on d1(t) (=w(t)×e(t)) or d2(t) (=w(t)×e(t)^2) obtained by multiplying the error e(t) between the output y(t) of the control object at a certain time t and the desired output z(t) by a weighting coefficient w(t) when calculating the desired output z(t) at a certain time t. When e(t) (or a value based on e(t)) is used as the evaluation value, the error e(t) at any time t is treated equally when automatically tuning the gain value of PID control, so that the gain value is automatically tuned to reduce the error at the initial response or during a transient period when the error e(t) is likely to be large. There are many cases where tuning such a gain value does not cause any problem, but on the other hand, there are also cases where, for example, suppression of overshoot, convergence, etc. are prioritized over reducing the error at the initial response or during a transient period. In response to such a request, if e(t) is used as the evaluation value, it is difficult to obtain a gain value that realizes a desired profile. In the present invention, a value based on d1(t) or d2(t), which is a value obtained by multiplying e(t) by a weighting coefficient w(t) that takes various values ​​at time t, is used as the evaluation value. For example, when tuning to a PID gain value that reduces the error between the output y(t) of the control target and the desired output z(t) in a certain response period, the value of the weighting coefficient w(t) in that period is made relatively larger than the value of the weighting coefficient w(t) in other periods. In this case, since the evaluation value in that period is larger than the evaluation value in other periods, the tuning value is determined so as to prioritize reducing the evaluation value in that period. For example, when tuning to a gain value that suppresses the above-mentioned overshoot, the value of the weighting coefficient w(t) in a period in which an overshoot is likely to occur or in a period in which an overshoot actually occurred when tuning using the conventional e(t) is set to be larger than the value of the weighting coefficient w(t) in other periods, so that the gain value is determined so as to prioritize reducing the evaluation value in the period in which the overshoot occurs.

[0015] As described above, according to the present invention, automatic tuning can be performed by giving priority to reducing the error in the profile of the output from the controlled object during a specific period of time. This makes it possible to tune to a PID control gain value that achieves more accurate control, thereby achieving higher accuracy and performance of the control system. [Brief description of the drawings]

[0016] [Figure 1] FIG. [Diagram 2] FIG. 2 is a system diagram of a control device in the first to fourth embodiments. [Diagram 3] FIG. 2 is a diagram showing a control device and a controlled object in the first and second embodiments. [Figure 4] FIG. 4 is a diagram showing the processing of a PID controller in the first to third embodiments. [Diagram 5] FIG. 4 is a diagram showing the processing of a desired output value calculation unit in the first to third embodiments. [Figure 6] FIG. 13 is a diagram showing the processing of a weighting coefficient calculation unit in the first and third embodiments. [Figure 7] FIG. 13 is a diagram showing the process of a PID controller gain value adjuster in the first to fourth embodiments. [Figure 8] FIG. 11 is a diagram showing the process of a weighting coefficient calculation unit in the second embodiment. [Figure 9] FIG. 11 is a diagram showing a control device and a controlled object in a third embodiment. [Figure 10] FIG. 11 is a diagram showing the process of a PID controller gain value adjuster in the third embodiment. [Figure 11] FIG. 13 is a diagram showing a control device and a controlled object in a fourth embodiment. [Figure 12] FIG. 13 is a diagram showing the processing of a PID controller in the fourth embodiment. [Figure 13] FIG. 13 is a diagram showing the process of a desired output value calculation unit in the fourth embodiment. [Figure 14] FIG. 13 is a diagram showing the process of a weighting coefficient calculation unit in the fourth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] Hereinafter, the embodiments will be described with reference to the drawings. EXAMPLES

[0018] In this embodiment, a device for automatically tuning PID gain values ​​of PID control is described, which is characterized by comprising: a means for calculating a desired output of a controlled object at a certain time t; and a means for automatically tuning each control gain value of the PID control so that a value based on a value obtained by multiplying a weighting coefficient by the error between the output of the controlled object at a certain time t and the desired output, or a value obtained by multiplying a weighting coefficient by the square of the error between the output and the desired output, becomes small.

[0019] Also, a means for calculating a control target is provided, the control target being a control target for the PID control, and the control target being an input of a means for calculating a desired output.

[0020] Moreover, the value of the weighting coefficient is set to be larger in a period in which it is desired to reduce the error than in other periods.

[0021] The weighting coefficient is a value that is proportional to a desired output of the controlled object when the control target undergoes a step change.

[0022] Moreover, the value based on the value obtained by multiplying the error between the output of the controlled object and the desired output by a weighting coefficient is the square sum error of the value.

[0023] The means for automatically tuning each control gain value of the PID control is the data driven control FRIT.

[0024] The object of control by the control device is temperature control of a heating furnace.

[0025] 1 is a control block diagram showing the concept of this control device 1. A desired output is calculated by a desired output value calculation unit 2 that calculates a desired output of a controlled object at a certain time t, and each control gain value of a PID controller 5 is automatically tuned by a PID controller gain value adjustment unit 4 so that a value based on a value obtained by multiplying an error e between a controlled variable (output from the controlled object) at a certain time t and the desired output by a weighting coefficient w becomes small.

[0026] FIG. 2 is a system diagram of the control device 1 that implements each of the above processes. The control device 1 is provided with an input circuit 26 that processes signals from the outside. The signals from the outside here may be, for example, sensor signals that detect a controlled variable (output from a controlled object). These signals from the outside pass through the input circuit 26 and become input signals, which are then sent to the input / output port 27. Each piece of input information sent to the input / output port 27 passes through the data bus 25 and is written into the RAM 24. Alternatively, it is stored in the storage device 21. The processes described below are written in the ROM 23 or the storage device 21, and are executed by the CPU 22. At that time, the values ​​written in the RAM 24 or the storage device 21 are used as appropriate to perform calculations. Among the calculation results, information (values) to be sent to the outside are sent through the data bus 25 to the input / output port 27, and sent as an output signal to the output circuit 28. The signals are output from the output circuit 28 to the outside. The signals to the outside here refer to manipulated variables (inputs to the controlled object), etc.

[0027] That is, the desired output value calculation unit 2, the weighting coefficient calculation unit 3, and the PID controller gain value adjustment unit 4 shown in Fig. 1 are all realized by the CPU 22 shown in Fig. 2 executing the processes written in the ROM 23 or the storage device 21. Similarly, various means and functional units described below are also realized by the CPU 22 shown in Fig. 2 executing the processes written in the ROM 23 or the storage device 21.

[0028] Figure 3 shows, in a block diagram, the relationship between the control device 1 and the heating furnace 31 controlled by the control device 1. The control target is the target temperature, the manipulated variable is the target valve opening for adjusting the amount of gas / fuel supplied to the heating furnace 31, and the controlled variable is the temperature inside the heating furnace 31.

[0029] The details of each process will be described below.

[0030] <PID controller 5 (Figure 4)> In this process, the target valve opening TgVO, which is the manipulated variable, is calculated. Specifically, as shown in Figure 4. Let the difference between the target temperature Tg_Tdeg and the temperature Temp, which is the controlled variable, be f, and based on f, the target valve opening TgVO is calculated by PID control. The adjusted PID gain values Kp_new, Ki_new, and Kd_new are the values calculated by the PID controller gain adjustment unit 4 and are updated as appropriate.

[0031] There are many documents on PID control, so it will not be elaborated here. As the update timing of the adjusted PID gain values, it is performed when it is desired to update the performance of the PID controller 5, such as when the profile of the controlled variable has deviated significantly from the desired profile.

[0032] <Desired output value calculation unit 2 (Figure 5)> In this process, based on the control target, a desired profile of the output of the controlled object (the temperature of the heating furnace 31) is calculated. Specifically, as shown in Figure 5.

[0033] For the target temperature Tg_Tdeg, which is the control target, a desired output (temperature profile) De_Tdeg is calculated using, for example, a transfer function. The control target can be, for example, a step signal, a ramp signal, etc.

[0034] In Figure 5, the transfer function is represented by a first-order lag system of 1 / (1 + τs), but it is not limited to this, and it may be of higher order or may have a dead time, etc.

[0035] <Weight coefficient calculation unit 3 (Figure 6)> In this process, the weighting coefficient w is calculated. Specifically, as shown in FIG. 6, the desired output De_Tdeg with respect to the target temperature Tg_Tdeg is calculated using the same function as the transfer function used in the desired output value calculation unit 2. Let w = De_Tdeg / Tg_Tdeg. For example, if Tg_Tdeg is a step-changing value, the profile of De_Tdeg will be the waveform of a step response. Therefore, the weighting coefficient w will have a profile that approaches 1 as time passes. Based on this profile of the weighting coefficient w, weighting will be performed to place more importance on stability as control performance.

[0036] <PID controller gain value adjustment unit 4 (FIG. 7)> In this process, the PID controller gain value is adjusted. Specifically, as shown in FIG. 7.

[0037] The adjusted PID gain values are determined so that the difference d weighted by the above-described weighting coefficient w is minimized. Let the obtained P gain value, I gain value, and D gain value of the PID controller 5 be Kp_new, Ki_new, and Kd_new, respectively.

[0038] As an evaluation function for evaluating the difference d, for example, the L2 norm (sum of squared errors) where J2 = ||d||, or the L1 norm where J1 = |d|, etc. can be considered.

[0039] The determination of the PID gain values that minimize J1 and J2 reduces to an optimization problem. There are various methods for optimization, but in this embodiment, FRIT (Fictitious Reference Iterative Tuning) is used to optimize the PID gain values. FRIT is an optimization method that can be optimized offline using only a set of manipulated variable and controlled variable signals. Since there are many documents on the details, they will not be elaborated here. This process can be performed either offline or online.

[0040] In this configuration, a value d obtained by multiplying the error e between the output Temp of the control target and the desired output De_Tdeg by a weighting factor w is used as an evaluation value (objective function) used when automatically tuning the gain value of the PID control. The weighting factor w is a value that is proportional to the desired output De_Tdeg when the control target undergoes a step change. Therefore, the weighting factor w has a profile that approaches 1 over time. That is, the magnitude of the error becomes relatively large over time, and the error in that region is emphasized in optimizing the PID gain value. That is, weighting is performed to give more importance to stabilization as a control performance, and a PID gain value that emphasizes stabilization is obtained as an optimal value.

[0041] The above-mentioned configuration and operation improve the stabilization of the control system, improves the stabilization of the temperature in the heating furnace 31 with respect to the target temperature, and increases the reliability of temperature control.

[0042] In this embodiment, the PID control gain value is automatically tuned so as to reduce a value based on a value d obtained by multiplying the error e between the controlled variable and the desired output by the weighting coefficient w (the L2 norm of d (square sum error)). However, the PID control gain value may be automatically tuned so as to reduce a value based on a value obtained by multiplying the square of the error between the controlled variable and the desired output by a weighting coefficient. EXAMPLES

[0043] In this embodiment, a device for automatically tuning PID gain values ​​of PID control is described, which is characterized by comprising: a means for calculating a desired output of a controlled object at a certain time t; and a means for automatically tuning each control gain value of the PID control so that a value based on a value obtained by multiplying a weighting coefficient by the error between the output of the controlled object at a certain time t and the desired output, or a value obtained by multiplying a weighting coefficient by the square of the error between the output and the desired output, becomes small.

[0044] Also, means for calculating a control target is provided, and the control target is set as the control target of the PID control and input to means for calculating a desired output.

[0045] Also, the value of the weight coefficient becomes larger in a period in which it is desired to reduce the error than in other periods.

[0046] Also, the weight coefficient is a value having a Gaussian distribution in which an average value exists in a period in which it is desired to reduce the error.

[0047] Also, a value based on the value obtained by multiplying the error between the output of the controlled object and the desired output by the weight coefficient is the sum of squared errors of the value.

[0048] Also, the means for automatically tuning each control gain value of the PID control is data-driven control FRIT.

[0049] Also, the object controlled by the control device is the temperature control of the heating furnace 31.

[0050] FIG. 2 is a system diagram of the control device 1 that implements each of the above processes. Since it is the same as that in the first embodiment, it will not be described in detail.

[0051] FIG. 3 shows a block diagram of the relationship between the control device 1 and the heating furnace 31 controlled by the control device 1. Since it is the same as that in the first embodiment, it will not be described in detail.

[0052] Hereinafter, details of each process will be described.

[0053] <PID Controller 5 (FIG. 4)> In this process, the target valve opening TgVO, which is the manipulated variable, is calculated. Specifically, as shown in FIG. 4, since it is the same as that in the first embodiment, it will not be described in detail.

[0054] <Desired Output Value Calculation Unit 2 (FIG. 5)> In this process, based on the control target, a desired profile of the output of the controlled object (the temperature of the heating furnace 31) is calculated. Specifically, as shown in FIG. 5, since it is the same as that in the first embodiment, it will not be described in detail.

[0055] <Weight coefficient calculation unit 3 (Fig. 8)> In this process, the weight coefficient w is calculated. Specifically, it is shown in Fig. 8. The weight coefficient w is calculated as the value shown in the following formula. w = 1 / √(2πσ 2 ) × exp((t - μ) 2 / 2σ 2 )

[0056] The weight coefficient w is a Gaussian distribution with an average value of μ and a variance of σ 2 . For example, if the value of μ is set to the time zone when overshoot is likely to occur in the control response, the error in that time zone will be emphasized more than the errors in other time zones. σ 2 defines the width of the time zone to be emphasized. If set to a large value, the errors in a wider time zone before and after the overshoot area (time zone) will be emphasized. If set to a small value, the errors in a narrower time zone before and after the overshoot area (time zone) will be emphasized.

[0057] <PID controller gain value adjustment unit 4 (Fig. 7)> In this process, the PID controller gain value is adjusted. Specifically, it is shown in Fig. 7, but since it is the same as in Example 1, it will not be described in detail.

[0058] In this configuration, a value d obtained by multiplying the error e between the output Temp of the control target and the desired output De_Tdeg by a weighting factor w is used as an evaluation value (objective function) used when automatically tuning the gain value of the PID control. The weighting factor w is a value that results in a Gaussian distribution in which the average value exists in a period in which the error is desired to be reduced. Therefore, the weighting factor w has a profile in which the value in a predetermined time period is relatively large and the values ​​before and after the time period are relatively small. That is, as described above, for example, when it is desired to suppress an overshoot, the magnitude of the error in the time period becomes relatively large by setting the average value of the Gaussian distribution in a time period in which an overshoot is likely to occur, and the error in the time period is emphasized in optimizing the PID gain value. That is, weighting is performed so as to give more importance to the suppression of overshoot as a control performance, and a PID gain value that emphasizes overshoot-lessness is obtained as an optimal value.

[0059] The above configuration and operation improve the stability of the control system, suppress the temperature in the heating furnace 31 from overshooting the target temperature, and increase the reliability of temperature control.

[0060] In this embodiment, the PID control gain value is automatically tuned so as to reduce a value based on a value d obtained by multiplying the error e between the controlled variable and the desired output by the weighting coefficient w (the L2 norm of d (square sum error)). However, the PID control gain value may be automatically tuned so as to reduce a value based on a value obtained by multiplying the square of the error between the controlled variable and the desired output by a weighting coefficient. EXAMPLES

[0061] In this embodiment, a device for automatically tuning PID gain values ​​of PID control is described, which is characterized by comprising: a means for calculating a desired output of a controlled object at a certain time t; and a means for automatically tuning each control gain value of the PID control so that a value based on a value obtained by multiplying a weighting coefficient by the error between the output of the controlled object at a certain time t and the desired output, or a value obtained by multiplying a weighting coefficient by the square of the error between the output and the desired output, becomes small.

[0062] Also, a means for calculating a control target is provided, the control target being a control target for the PID control, and the control target being an input of a means for calculating a desired output.

[0063] Moreover, the value of the weighting coefficient is set to be larger in a period in which it is desired to reduce the error than in other periods.

[0064] The weighting coefficient is a value that is proportional to a desired output of the controlled object when the control target undergoes a step change.

[0065] Moreover, the value based on the value obtained by multiplying the error between the output of the controlled object and the desired output by a weighting coefficient is the square sum error of the value.

[0066] The means for automatically tuning each control gain value of the PID control is the data driven control FRIT.

[0067] In addition, as an input to the means for automatically tuning each control gain value of the PID control, a value based on the value multiplied by the weighting coefficient (d1(t) or d2(t)) or a value based on the e(t) is switched.

[0068] The control device controls the temperature of the heating furnace 31 .

[0069] 2 is a system diagram of the control device 1 that implements the above-mentioned processes, which is the same as in the first embodiment and will not be described in detail.

[0070] FIG. 9 shows in a block diagram the relationship between the control device 1 and the heating furnace 31 controlled by the control device 1. Based on either a value obtained by multiplying the error e between the control amount (output from the controlled object) and the desired output at a certain time t by the weighting factor w or a value based on the error e, the PID controller gain value adjustment unit 4 automatically tunes each control gain value of the PID controller 5 so that the value becomes smaller. The control target is the target temperature, the manipulated variable is the target valve opening for adjusting the amount of gas / fuel supplied to the heating furnace 31, and the control amount is the temperature inside the heating furnace 31.

[0071] The details of each process will be described below.

[0072] <PID controller 5 (FIG. 4)> In this process, the target valve opening TgVO, which is the manipulated variable, is calculated. Specifically, as shown in FIG. 4, since it is the same as in the first embodiment, it will not be described in detail.

[0073] <Desired output value calculation unit 2 (FIG. 5)> In this process, based on the control target, a desired profile of the output (temperature of the heating furnace 31) of the controlled object is calculated. Specifically, as shown in FIG. 5, since it is the same as in the first embodiment, it will not be described in detail.

[0074] <Weighting factor calculation unit 3 (FIG. 6)> In this process, the weighting factor w is calculated. Specifically, as shown in FIG. 6, since it is the same as in the first embodiment, it will not be described in detail.

[0075] <PID controller gain value adjustment unit 4 (FIG. 10)> In this process, the adjustment of the PID controller gain value is performed. Specifically, as shown in FIG. 10, although it is schematically the same as in the first embodiment, it will not be described in detail.

[0076] In this configuration, as an evaluation value (objective function) used when automatically tuning the gain value of the PID control, a value d obtained by multiplying the error e between the output Temp of the control object and the desired output De_Tdeg by a weighting coefficient w, or the error e is used. It is possible to switch which one to use. The weighting coefficient w is a value that is proportional to the desired output De_Tdeg when the control object undergoes a step change. Therefore, the weighting coefficient w has a profile that approaches 1 as time passes. That is, as time passes, the magnitude of the error becomes relatively large, and the error in that region is emphasized in optimizing the PID gain value. That is, when a value based on the weighted error d is used as the evaluation value (objective function), weighting is performed to give more importance to stabilization as the control performance, and a PID gain value that gives more importance to stabilization is obtained as the optimal value. On the other hand, when a value based on the error e is used, a PID gain value is obtained in which the output Temp of the control object traces the desired output De_Tdeg over the entire responsiveness as the control performance.

[0077] The above configuration and operation allow the selection of tuning that prioritizes stabilization of the control system or tuning that prioritizes performance over the entire response period. As a result, the variation of control performance for the target temperature of the heating furnace 31 increases, and the performance of temperature control is improved. EXAMPLES

[0078] In this embodiment, a device for automatically tuning PID gain values ​​of PID control is described, which is characterized by comprising: a means for calculating a desired output of a controlled object at a certain time t; and a means for automatically tuning each control gain value of the PID control so that a value based on a value obtained by multiplying a weighting coefficient by the error between the output of the controlled object at a certain time t and the desired output, or a value obtained by multiplying a weighting coefficient by the square of the error between the output and the desired output, becomes small.

[0079] Also, means for calculating a control target is provided, and the control target is set as the control target of the PID control and input to means for calculating a desired output for the control target.

[0080] Also, the value of the weighting coefficient becomes larger in a period in which it is desired to reduce the error than in other periods.

[0081] Also, the weighting coefficient is a value in a proportional relationship with the desired output of the controlled object when the control target changes stepwise.

[0082] Also, a value based on the value obtained by multiplying the error between the output of the controlled object and the desired output by the weighting coefficient is the sum of squared errors of the value.

[0083] Also, the means for automatically tuning each control gain value of the PID control is data-driven control FRIT.

[0084] Also, the object controlled by the control device is rotational speed control using a motor.

[0085] FIG. 2 is a system diagram of the control device 1 that implements each of the above processes. Since it is the same as in the first embodiment, it will not be described in detail.

[0086] FIG. 11 shows a block diagram of the relationship between the control device 1 and the motor 32 controlled by the control device 1. The control target is the target rotational speed, the manipulated variable is the target voltage for adjusting the current amount to the motor 32, and the controlled variable is the rotational speed of the motor 32.

[0087] Hereinafter, details of each process will be described.

[0088] <PID controller 5 (FIG. 12)> In this process, the target voltage TgV, which is the manipulated variable, is calculated. Specifically, as shown in FIG. 12, the difference between the target rotational speed Tg_N and the rotational speed N, which is the controlled variable, is defined as f, and the target voltage TgV is calculated by PID control based on f. The adjusted PID gain values Kp_new, Ki_new, and Kd_new are values calculated by the PID controller gain value adjustment unit 4 and are updated as appropriate.

[0089] There are many documents on PID control, so it will not be described in detail here. As the update timing of the adjusted PID gain value, it is performed when it is desired to update the performance of the PID controller 5, such as when the profile of the controlled variable has deviated considerably from the desired profile.

[0090] <Desired output value calculation unit 2 (Fig. 13)> In this process, based on the control target, a desired profile of the output (rotation speed of the motor 32) of the controlled object is calculated. Specifically, it is shown in Fig. 13.

[0091] For the target rotation speed Tg_N which is the control target, a desired output (rotation speed profile) De_N is calculated using, for example, a transfer function or the like. The control target can be, for example, a step signal, a ramp signal, etc.

[0092] In Fig. 13, the transfer function is represented by a first-order lag system of 1 / (1 + τs), but it is not limited thereto, and it may be higher-order or may have a dead time or the like.

[0093] <Weight coefficient calculation unit 3 (Fig. 14)> In this process, the weight coefficient w is calculated. Specifically, it is shown in Fig. 14. Using the same function as the transfer function used in the desired output value calculation unit 2, a desired output De_N with respect to the target rotation speed Tg_N is calculated. Let w = De_N / Tg_N. For example, if Tg_N is a value that changes stepwise, the profile of De_N will be the waveform of a step response. Therefore, the weight coefficient w will have a profile that approaches 1 as time passes. Based on this profile of the weight coefficient w, weighting will be done to place more importance on stability as control performance.

[0094] <PID controller gain value adjustment unit 4 (Fig. 7)> In this process, the adjustment of the PID controller gain value is performed. Specifically, it is shown in Fig. 7, but since it is the same as in the first embodiment, it will not be described in detail.

[0095] In this configuration, a value d obtained by multiplying the error e between the output N of the control target and the desired output De_N by a weighting factor w is used as an evaluation value (objective function) used when automatically tuning the gain value of the PID control. The weighting factor w is a value that is proportional to the desired output De_N when the control target undergoes a step change. Therefore, the weighting factor w has a profile that approaches 1 over time. That is, as time passes, the magnitude of the error becomes relatively large, and the error in that region is emphasized in optimizing the PID gain value. That is, weighting is performed to give more importance to stabilization as a control performance, and a PID gain value that emphasizes stabilization is obtained as an optimal value.

[0096] The above-mentioned configuration and operation improve the stabilization of the control system, improves the stabilization of the target rotation speed of the motor 32, and increases the reliability of the rotation speed control.

[0097] In this embodiment, the PID control gain value is automatically tuned so as to reduce a value based on a value d obtained by multiplying the error e between the controlled variable and the desired output by the weighting coefficient w (the L2 norm of d (square sum error)). However, the PID control gain value may be automatically tuned so as to reduce a value based on a value obtained by multiplying the square of the error between the controlled variable and the desired output by a weighting coefficient.

[0098] Although several embodiments have been described above, these are merely examples for the purpose of explaining the present invention, and the scope of the present invention is not limited to these embodiments. The present invention can be implemented in various other forms.

[0099] In the above description, "RAM 24" refers to one or more memory devices (hereinafter, simply referred to as "memory") that are an example of one or more storage devices, and may typically be a primary storage device. At least one memory device in the memory may be a volatile memory device or a non-volatile memory device.

[0100] In the above description, the "storage device 21" may be one or more persistent storage devices, which are an example of one or more storage devices. The persistent storage device may typically be a non-volatile storage device (e.g., an auxiliary storage device), and more specifically, may be, for example, a hard disk drive (HDD), a solid state drive (SSD), a non-volatile memory express (NVME) drive, or a storage class memory (SCM).

[0101] In the above description, the "storage device 21" may include a memory.

[0102] In the above description, the "CPU 22" may be one or more processor devices (hereinafter, simply referred to as a "processor"). The at least one processor device may typically be a microprocessor device such as a CPU (Central Processing Unit) 22, but may also be another type of processor device such as a GPU (Graphics Processing Unit). The at least one processor device may be a single-core or multi-core. The at least one processor device may be a processor core. The at least one processor device may also be a broader processor device such as a circuit that is a collection of gate arrays written in a hardware description language that performs part or all of the processing (e.g., a Field-Programmable Gate Array (FPGA), a Complex Programmable Logic Device (CPLD), or an Application Specific Integrated Circuit (ASIC)).

[0103] In the above description, functions are sometimes described using the expression "yyy unit", but the functions may be realized by one or more computer programs being executed by a processor, or by one or more hardware circuits (e.g., FPGA or ASIC), or by a combination thereof. When a function is realized by a program being executed by a processor, the function may be at least a part of the processor, since the predetermined processing is performed using the storage device 21 and / or the interface device, etc., as appropriate. Processing described with a function as the subject may be processing performed by a processor or the control device 1 having the processor. A program may be installed from a program source. The program source may be, for example, a program distribution computer or a computer-readable recording medium (e.g., a non-transitory recording medium). The description of each function is an example, and multiple functions may be combined into one function, or one function may be divided into multiple functions.

[0104] In addition, in the above explanation, the process is sometimes explained with a "program" as the subject, but the process explained with a program as the subject may be a process performed by a processor or a control device 1 having the processor. Furthermore, two or more programs may be realized as one program, and one program may be realized as two or more programs.

[0105] In the above description, the "control device 1" may be a system composed of one or more physical computers, or may be a system (e.g., a cloud computing system) realized on a group of physical computing resources (e.g., a cloud platform). The control device 1 "displaying" the display information may mean displaying the display information on a display device possessed by the computer, or the computer may transmit the display information to a display computer (in the latter case, the display information is displayed by the display computer). [Explanation of symbols]

[0106] 1 Control device 2. Desired output value calculation section 3. Weighting coefficient calculation section 4. PID controller gain value adjustment section 5 PID Controller 21 Control device memory device 22 Control device CPU 23 Control device ROM 24 Controller RAM 25 Data bus of the control device 26 Control device input circuit 27 Control Unit I / O Ports 28 Output circuit of control device 31 Heating furnace 32 Motor

Claims

1. In a device for automatically tuning a PID gain value of a PID control, A means for calculating a desired output z(t) of a controlled object at a certain time t; The error e(t) between the output y(t) of the controlled object at a certain time t and the desired output z(t) is A value d1(t) (= w(t) × e(t)) multiplied by a weighting coefficient w(t), or The square of the error e(t) between the output y(t) and the desired output z(t) The value d2(t) (= w(t) × e(t)^2) multiplied by the weighting coefficient w(t) So that the value based on A means for automatically tuning each control gain value of the PID control. A control device comprising:

2. In claim 1, A means for calculating a control target r(t); The control target r(t) is set as a control target of the PID control, The control target r(t) is input to a means for computing a desired output z(t). A control device comprising:

3. In claim 1, The value of the weighting coefficient w(t) is set to be larger in a period in which it is desired to reduce the error e(t) than in other periods. A control device comprising:

4. In claim 1, The weighting factor w(t) is k×z(t) which is proportional to the desired output z(t) of the control target when the control target changes stepwise. A control device comprising:

5. In claim 1, The weighting coefficient w(t) is a Gaussian distribution whose average value exists in a period in which the error e(t) is desired to be small. A control device comprising:

6. In claim 1, The value based on d1(t) is the square sum error Σd1(t)^2 of d1(t). A control device comprising:

7. In claim 1, The means for automatically tuning each control gain value of the PID control is data driven control FRIT. A control device comprising:

8. In claim 1, As an input of the means for automatically tuning each control gain value of the PID control, The present invention provides a method for switching between a value based on the weighting coefficient w(t) (d1(t) or d2(t)) and a value based on the e(t). A control device comprising:

9. In claim 1, The object controlled by the control device is temperature control of a heating furnace or the like. Rotation speed control or position control using a motor A control device comprising:

Citation Information

Patent Citations

  • Control device

    JP2020149178A

  • Three term (PID) controllers

    US4214300A

  • PID controller and PID control method

    JP2008181221A