Optimal control device and optimal control method
By using the gradient estimation part and the parameter adjustment part in the extreme value control device, the integral gain of the operation variable determination part is adaptively adjusted, which solves the problem of unstable extreme value control in the existing technology and realizes the dynamic changes of the control object process. Adaptation and stable control.
Patent Information
- Application Number
- CN202080039159.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-05-29
- Filing Date
- 2020-05-27
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2040-05-27
AI Technical Summary
Existing extreme value control technology is difficult to adapt to the dynamic changes of the control object process, resulting in unstable control.
An optimal control device is designed, which includes a first gradient estimation part, an operation quantity determination part, a second gradient estimation part and a parameter adjustment part. By estimating the Jacobian type and the Hesse type of the evaluation function, the operation quantity determination part is adjusted. Integral gain,generates a regularization signal to adaptively update the,operated variables.
It realizes adaptive extreme value control of the dynamic changes of the control object process, improves the stability and accuracy of the control, and avoids the divide-by-zero problem and sharp sign changes in the integral gain calculation.
Smart Images

Figure CN113874794B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to an optimal control device, an optimal control method, and a computer program. Background Art
[0002] In recent years, a technology called extreme value control has attracted attention as a method of plant control. Extreme value control is a model-free real-time optimal control technology that does not use a complex model of the plant. The outline of extreme value control is to search for an operation variable that is optimized based on the evaluation amount of the control variable of the control object process by forcibly changing the operation variable. When such extreme value control is applied to plant control, it is necessary to appropriately set various parameters involved in extreme value control (hereinafter referred to as "extreme value control parameters") according to the characteristics of the control object process. In the past, although several indicators related to the design of extreme value control parameters have been shown, none of them has achieved the ability to make the extreme value control operate stably in a way that is adaptable to the time changes (hereinafter referred to as "dynamic") of the control object process.
[0003] Prior art literature
[0004] Patent Literature
[0005] Patent Document 1: Japanese Patent Application Publication No. 2017-033104
[0006] Non-patent literature
[0007] Non-patent document 1: D.Nesic et.al., 'A Unifying Approach to Extremum Seeking: Adaptive Schemes Based on Estimation of Derivatives', Proc.49th IEEE Conference on Decision and Control, December 15-17, 2010)
[0008] Non-patent document 2: Yan et al, On the choice of dither in extreme seeking systems: A case study, Automatica, 44, pp. 1446-1450 (2008) Summary of the invention
[0009] Technical problem to be solved by the invention
[0010] The technical problem to be solved by the present invention is to provide an optimal control device, an optimal control method and a computer program that can adapt to the dynamics of a controlled process and make extreme value control operate more stably.
[0011] Means for solving technical problems
[0012] The optimal control device of the embodiment is an optimal control device that performs extreme value control, and the extreme value control updates the operation amount in a manner that makes the value of the control amount based on the control object process, and the value represented by the evaluation function relative to the unknown operation amount of the control object process, that is, the evaluation amount, close to the optimal value of the evaluation function. The optimal control device has a first gradient estimation unit, an operation amount determination unit, a second gradient estimation unit, and a parameter adjustment unit. The first gradient estimation unit estimates the Jacobian of the evaluation function based on the signal representing the evaluation amount. The operation amount determination unit determines the direction and amount in which the operation amount should be moved by integrating the estimated value of the Jacobian. The second gradient estimation unit estimates the Hessian of the evaluation function based on the signal representing the evaluation. The parameter adjustment unit divides the estimated value of the Jacobian input to the operation amount determination unit by the value of the estimated value of the Jacobian or Hessian based on the evaluation function and is a regularization signal adjusted to be non-zero, thereby adjusting the integral gain of the operation amount determination unit according to the change of the evaluation function. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1A This is a diagram for explaining the basic concept of extreme value control in the first embodiment.
[0014] Figure 1B This is a diagram for explaining the basic concept of extreme value control in the first embodiment.
[0015] Figure 1C This is a diagram for explaining the basic concept of extreme value control in the first embodiment.
[0016] Figure 2 It is a diagram showing a basic configuration example of an extreme value control system in the first embodiment.
[0017] Figure 3 It is a diagram showing a configuration example of an extreme value control system according to the first embodiment.
[0018] Figure 4 It is a diagram showing a specific example of the adjustment method of the extreme value control parameter in the first embodiment.
[0019] Figure 5 It is a diagram showing a first configuration example of the gradient estimator in the first embodiment.
[0020] Figure 6 It is a diagram showing a second configuration example of the gradient estimator in the first embodiment.
[0021] Figure 7This is a diagram showing a configuration example of an extreme value control system that generates a regularization signal by a first method in the first embodiment.
[0022] Figure 8 This is a diagram showing a configuration example of an extreme value control system that generates a regularization signal by a first method in the first embodiment.
[0023] Fig. 9 This is a diagram showing a configuration example of an extreme value control system that generates a regularization signal by the second method in the first embodiment.
[0024] Fig.10 This is a diagram showing a configuration example of an extreme value control system that generates a regularization signal by the second method in the first embodiment.
[0025] Fig.11 This is a diagram showing a configuration example of an extreme value control system that generates a regularization signal by the third method in the first embodiment.
[0026] Fig.12 This is a diagram for explaining an example of a regularization signal generated by the fourth method in the first embodiment.
[0027] Fig.13 This is a diagram for explaining another example of the regularization signal generated by the fourth method in the first embodiment.
[0028] Fig.14A This is a diagram for explaining an example of a result obtained by simulating the response of the operation amount without using a regularization signal in the first embodiment.
[0029] Fig. 14B This is a diagram for explaining an example of a result obtained by simulating the response of the operation amount using the sign signal of the regularization signal gradient as the regularization signal in the first embodiment.
[0030] Fig. 14C This is a diagram for explaining an example of the effect when the regularization signal generated by the fourth method is used in the first embodiment.
[0031] Fig.14D This is a diagram for explaining an example of the effect when the regularization signal generated by the fourth method is used in the first embodiment.
[0032] Fig.15 It is a diagram showing a configuration example of an extreme value control system according to the second embodiment.
[0033] Fig.16 This is a diagram showing a configuration example of an extreme value control system that generates a regularization signal by a second method in the second embodiment.
[0034] Fig.17 This is a diagram showing a configuration example of an extreme value control system that generates a regularization signal by the third method in the second embodiment.
[0035] Fig.18 It is a diagram showing an application example of the extreme value control system of the first embodiment or the second embodiment. DETAILED DESCRIPTION
[0036] Hereinafter, an optimal control device, an optimal control method, and a computer program according to an embodiment will be described with reference to the drawings.
[0037] (First Embodiment) [Outline of Extreme Value Control]
[0038] Figures 1A to 1C It is a diagram illustrating the basic concept of extreme value control.
[0039] Extreme value control is a control method that updates the operating variable in the direction of making the evaluation variable close to the optimal value while observing the change of the evaluation variable relative to the operating variable. The evaluation variable is a value that becomes the most optimized indicator of the process that is the control object (hereinafter referred to as the "control object process"), and is determined based on the control quantity of the control object process. For example, the evaluation variable is represented by a prescribed evaluation function that takes the control quantity as a variable. Regarding the evaluation quantity, as long as it is a value based on the control quantity, it can be defined based on any evaluation criterion. For example, the evaluation quantity can also be the control quantity itself. Usually, in extreme value control, the evaluation function of the control object process can be a function that is unknown relative to the operating quantity.
[0040] Specifically, in extreme value control, the manipulated variable is changed by causing a high-frequency vibration signal to act on a signal representing the manipulated variable. A high-frequency vibration signal is a signal whose value changes periodically, and is usually provided as a sine wave. In extreme value control, the manipulated variable is continuously vibrated by a high-frequency vibration signal, and the resulting change (increase or decrease) in the evaluation variable is observed. Then, based on the observed change in the evaluation variable, a new manipulated variable is calculated that changes the evaluation variable in a manner close to the optimal value (maximum value or minimum value) of the evaluation function, and the current manipulated variable is updated with the calculated new manipulated variable. Extreme value control is a control method that searches for the optimal value of the evaluation function by repeatedly performing such observations of the evaluation variable and updates of the manipulated variable.
[0041] For example, Figure 1A An evaluation function curve EV is shown which assumes a downwardly convex quadratic function as an example of an evaluation function for an unknown operation amount. Figure 1BThe result of vibrating the manipulated variable of the controlled process by the high-frequency vibration signal is that the signal representing the evaluation variable changes in a phase opposite to that of the high-frequency vibration signal (for example, the evaluation variable decreases relative to an increase in the manipulated variable). Such a change occurs when the operating point changes, for example, in a region to the left of the minimum point P10 of the evaluation function curve EV (for example, when it changes from the operating point P11 to the minimum point P10).
[0042] on the other hand, Figure 1C Indicates Figure 1B The same high-frequency vibration signal causes the manipulated variable of the controlled process to change, resulting in the signal representing the evaluation variable changing in the same phase as the high-frequency vibration signal (for example, the evaluation variable increases with an increase in the manipulated variable). Such a change occurs when the operating point changes, for example, in a region to the right of the minimum point P10 of the evaluation function curve EV (for example, when it changes from the operating point P12 toward the minimum point P10).
[0043] Therefore, as a result of periodically increasing or decreasing the manipulated variable, when the evaluation variable increases or decreases in the same phase as the manipulated variable, the manipulated variable is decreased, and when the evaluation variable increases or decreases in the opposite phase to the manipulated variable, the manipulated variable is increased, thereby making the evaluated variable close to the optimal value. In the past, PID control (Proportional-Integral-Derivative Control), which is commonly used as a control method for industrial equipment, is a target value following type of control method in which the manipulated variable is controlled in such a way that the controlled variable follows a preset target value. In contrast, extreme value control is an optimal value search type of control method that optimizes the evaluation variable, so there is no need to prepare a process model that represents the relationship between the manipulated variable and the controlled variable in advance for the controlled process as in PID control. Extreme value control with such a property can effectively function even for controlled processes such as those for which the target value cannot be set in advance, and therefore has the potential to be widely popularized in the future. On the other hand, the extreme value control system that implements extreme value control can be as follows Figure 2 The relatively simple structure shown is implemented.
[0044] Figure 2 This is a diagram showing a basic configuration example of an extreme value control system.
[0045] Figure 2The extreme value control system 9 has a modulation high-frequency vibration signal output unit 11, a high-pass filter 12 (HPF: High-Pass Filter), a demodulation high-frequency vibration signal output unit 13, a low-pass filter 14 (LPF: Low-PassFilter) and an integrator 15. In this way, the structure of the extreme value control system 9 is as complex as that of the existing PID control controller. Therefore, the extreme value control system 9 can be easily installed using hardware such as PLC (Programmable Logic Controller) like the PID control controller. Figure 2 The outline of the operation of the extreme value control system 9 will be described. In addition, here, the case of searching for the minimum value of the evaluation function as the optimal value will be described as an example.
[0046] First, the high-frequency vibration signal output unit 11 for modulation imposes a forced change on the operating quantity of the controlled process by making the high-frequency vibration signal act. For example, the high-frequency vibration signal output unit 11 for modulation causes the operating quantity of the controlled process to change periodically by making a high-frequency vibration signal such as a sine wave act. Hereinafter, this operation is referred to as modulation, and the high-frequency vibration signal used for modulation is referred to as a high-frequency vibration signal for modulation. According to the change in the operating quantity caused by the modulation, the control quantity changes. The controlled process obtains an evaluation quantity based on the control quantity that changes in this way, and feeds back the obtained evaluation quantity to the extreme value control system 9.
[0047] Generally, the control amount often changes with a certain time delay relative to the change of the manipulated amount, so the evaluation amount obtained based on the control amount also changes with a certain time delay relative to the change of the manipulated amount. In addition, the function of obtaining the evaluation amount based on the control amount does not necessarily need to be included in the controlled process. For example, the function of obtaining the evaluation amount can be included in the extreme value control system 9, or it can be realized by other devices that can be interposed between the controlled process and the extreme value control system 9.
[0048] The extreme value control system 9 updates the manipulated variable based on the evaluation amount fed back in this way so that the evaluation amount approaches the extreme value of the evaluation function. In this case, it is a premise that the evaluation function of the controlled process has a minimum value, but as mentioned above, the evaluation function is a function that is unknown with respect to the manipulated variable, so its extreme value is also unknown with respect to the manipulated variable. Therefore, the extreme value control system 9 observes the magnitude and direction of the change of the evaluation amount that changes according to the modulation based on the signal of the evaluation amount fed back, and determines a new manipulated variable based on the magnitude and direction of the observed change.
[0049] Specifically, the determination of the new operation amount is achieved by the high-pass filter 12, the demodulation high-frequency vibration signal output unit 13, the low-pass filter 14, and the integrator 15 having the following functions.
[0050] The high-pass filter 12 removes a constant value offset corresponding to the unknown minimum value from the feedback evaluation amount signal. This process is used to always adjust the unknown minimum value to zero and is a pre-processing for determining the direction (increase or decrease) in which the integrator 15 described later updates the operation amount.
[0051] The demodulation high-frequency vibration signal output unit 13 applies the demodulation high-frequency vibration signal to the signal of the evaluation amount adjusted in this way, thereby extracting the same frequency component as the modulation high-frequency vibration signal from the evaluation amount that changes according to the modulation of the operation amount. Hereinafter, this operation is referred to as demodulation, and the high-frequency vibration signal used for demodulation is referred to as the demodulation high-frequency vibration signal. The role of demodulation is as follows.
[0052] There is a case where a nonlinear element is included in the evaluation function relative to the unknown operation amount. In this case, it is assumed that the evaluation function is a nonlinear function that is convex downward (convex upward in the case of a maximum value search). It is considered that due to such nonlinear elements, there is a high possibility that higher harmonic components and subharmonic components corresponding to the frequency ω of the modulating high-frequency vibration signal appear in the evaluation amount. Demodulation is a process for eliminating the influence of such higher harmonics and subharmonics. Through this modulation, the component contained in the signal of the evaluation amount, the component with the same frequency ω as the modulating high-frequency vibration signal that changes the evaluation amount, is extracted.
[0053] The demodulated evaluation quantity signal is input to the low-pass filter 14. A steady-state component (low-frequency component) is extracted from the evaluation quantity signal by the low-pass filter 14. Specifically, it is considered that the steady-state component represents the first-order differential value of the evaluation function (hereinafter referred to as "Jacobi"), which represents the direction of change (increase or decrease) of the evaluation quantity caused by modulation.
[0054] The integrator 15 integrates the steady-state component extracted by the low-pass filter 14. The integrator 15 functions as an estimator that estimates the direction of the operation amount to be moved in order to bring the evaluation amount close to the minimum value (hereinafter referred to as the "search direction") based on the integrated value of the steady-state component. Such a method of estimating the search direction is generally called a gradient method, and is one of the basic methods for estimating the search direction in an adaptive control system.
[0055] Specifically, the integrator 15 estimates the gradient of the evaluation function based on the integral value of the steady-state component, and adjusts the search direction of the operation amount and the size of the operation amount moved in the search direction (the amount by which the operation amount is moved) based on the estimated gradient value. The operation amount adjusted in this way is modulated by the high-frequency vibration signal and input to the controlled process.
[0056] Here, the configuration is described assuming that the extreme value control system 9 searches for a minimum value, but when searching for a maximum value by the extreme value control system 9, it is sufficient to invert the sign of the gradient estimated by the integrator 15. In addition, generally, since an integrator has a low-pass characteristic, when the integrator 15 has a sufficient low-pass characteristic, the extreme value control system 9 does not necessarily need to include the low-pass filter 14.
[0057] The extreme value control system 9 realized by such a configuration has the same degree of complexity as a common PID control system in conventional process control, and can therefore be easily implemented using hardware such as a PLC (Programmable Logic Controller) similarly to the PID control system.
[0058] The basic structure of the extreme value control system is described above, but in such an existing extreme value control system, there is a technical problem that it may not be possible to realize dynamic extreme value control adapted to the controlled process. Therefore, the structure of the extreme value control system of an implementation method that can solve such a technical problem is described in detail below.
[0059] [Details of implementation]
[0060] Figure 3 It is a diagram showing a configuration example of the extreme value control system 1 according to the first embodiment.
[0061] Figure 3 The device P shown is an example of a means for realizing a process to be controlled, for example, a water treatment device for realizing a biological wastewater treatment process. The device P is equipped with various process devices for realizing the process to be controlled, and the process devices are operated based on the operation amount input from the extreme value control system 1. In addition, the device P includes various measuring devices for measuring the control amount of the process to be controlled, and outputs information representing the measured value (hereinafter referred to as "measurement information") to the extreme value control system 1. Based on the measurement information obtained from the device P, the extreme value control system 1 updates the operation amount in the direction (search direction) in which the evaluation amount of the process to be controlled approaches the optimal value.
[0062] Such basic operation of extreme value control is realized by the extreme value control system 1 of the embodiment having the same high-frequency vibration signal output unit 11 for modulation, high-pass filter 12, high-frequency vibration signal output unit 13 for demodulation, low-pass filter 14, and integrator 15 as the extreme value control system 9 of the existing structure. On the other hand, the extreme value control system 1 of the embodiment is different from the extreme value control system 9 of the existing structure in that it has a parameter adjustment unit 2 for adjusting the extreme value control parameter based on the evaluation amount signal.
[0063] For example, the extreme value control system 1 has a CPU (Central Processing Unit), a memory, an auxiliary storage device, etc. connected by a bus, and executes an extreme value control program. The extreme value control system 1 functions as a device or system having the above-mentioned functional units by executing the extreme value control program. In addition, all or part of the functions of the extreme value control system 1 can also be implemented using hardware such as ASIC (Application Specific Integrated Circuit) or PLD (Programmable Logic Device) or FPGA (Field Programmable Gate Array). The program can also be recorded in a computer-readable recording medium. Computer-readable recording media include removable media such as floppy disks, optical magnetic disks, ROMs, CD-ROMs, and storage devices such as hard disks built into computer systems. The program can also be sent via an electrical communication line.
[0064] The parameter adjustment unit 2 has a function of adaptively adjusting the extreme value control parameter according to the dynamics of the controlled process. Specifically, the parameter adjustment unit 2 adaptively adjusts the integral gain of the integrator 15 based on the gradient estimate of the evaluation function that changes moment by moment due to the dynamics.
[0065] Figure 4 : is a diagram showing a specific example of the method for adjusting the extreme value control parameter in the first embodiment. Specifically, Figure 4 The adjustment method described in Patent Document 1 is cited.
[0066] like Figure 4 As shown in No. 5 of FIG. 5 , the parameter adjustment unit 2 in this embodiment estimates the second-order differential value of the evaluation function (hereinafter referred to as "Hessian formula") based on the evaluation amount fed back from the controlled process, and uses the estimated value of the Hessian formula to determine a new integral gain. In order to adjust such an integral gain, the parameter adjustment unit 2 includes a first multiplier 21, a gradient estimation unit 22, a regularization signal output unit 23, and a second multiplier 24.
[0067] The first multiplier 21 multiplies the evaluation signal input from the high-pass filter 12 by the high-frequency vibration signal (square signal) and outputs it to the gradient estimation unit 22. The gradient estimation unit 22 extracts the Hessian signal H(t) from the output signal of the first multiplier 21 and outputs it to the regularization signal output unit 23. In this case, for example, the gradient estimation unit 22 can use the method described in non-patent document 1 to estimate the differential value of the evaluation function above the 0th order. That is, the gradient estimation unit 22 can function as a first gradient estimation unit that estimates the Jacobian of the evaluation function, or a second gradient estimation unit that estimates the Hessian of the evaluation function. Specifically, a structure that uses a low-pass filter to estimate the differential value of the evaluation function above the 0th order is described in non-patent document 1, and its basic idea is as follows.
[0068] Usually, the manipulated variable sometimes contains higher harmonic components and subharmonic components, but when the high-frequency vibration signal is provided by a sine wave, the modulated manipulated variable also changes in a sine wave shape at approximately the same frequency as the high-frequency vibration signal. Therefore, the manipulated variable U is assumed to change in a sine wave shape such as U(t) = U0 + a + sinωt, and the evaluation variable that changes according to the manipulated variable is assumed to be represented by the evaluation function J shown in formula (1).
[0069] [Formula 1]
[0070] (t)=f(U(t))=f(U0+a×sint)(1)
[0071] Formula (1) defines the evaluation quantity J(t) as an (unknown) function of the operation quantity U(t). If the dynamics of the device are considered, then f is not a function but an operator of the dynamic system. However, when the frequency ω of the high-frequency vibration signal causes a sufficiently gentle change relative to the dynamics of the device, f can be approximately regarded as a function. In this embodiment, under such a premise, f is regarded as a function. Formula (2) is obtained by Taylor expansion of formula (1).
[0072] [Formula 2]
[0073]
[0074] Here, Dkf (k is an integer greater than or equal to 1) refers to the k-th order differential related to U of the function f. Formula (3) is obtained by multiplying formula (2) by sinnωt (n is an integer greater than or equal to 1). Furthermore, if periodic averaging (or time integration) is performed on formula (3), only the component related to sinnωt remains due to the orthogonality of the sine wave, and formula (4) is obtained.
[0075] [Formula 3]
[0076]
[0077] [Formula 4]
[0078]
[0079] Here, since the amplitude a and the power n of the high-frequency vibration signal are constants, if it is assumed that the value of the nth-order differential Dnf does not change significantly in one control cycle, equation (4) can be expressed as equations (5) and (6). Then, by performing an inverse operation on equation (5), equation (7) representing the nth-order differential Dnf can be obtained.
[0080] [Formula 5]
[0081]
[0082] [Formula 6]
[0083]
[0084] [Formula 7]
[0085]
[0086] Figure 5 and Figure 6 : is a diagram showing a structural example of a gradient estimator represented by equation (7).
[0087] Specifically, Figure 5 The structure example of the Jacobian estimator (i.e., the case of n=1) is shown, which shows the structure of the Jacobian of the evaluation function obtained by processing the evaluation amount signal J(t) after the high-frequency vibration signal sinωt is acted on by a low-pass filter and then multiplying it by 2 / a. In addition, this structure is equivalent to defining a new integral gain KImod=KI×(a / 2) for the integrator 15 having an integral gain KI, so Figure 2 The conventional basic extremum control system shown can be regarded as a structure in which the Jacobian of the evaluation function is estimated by the low-pass filter 14 .
[0088] on the other hand, Figure 6 The structure example of the Hessian estimator (i.e., the case of n=2) is shown, and the following structure is shown: the square signal sin to which the high-frequency vibration signal is applied is filtered by a low-pass filter. 2 The Hessian form of the evaluation function is obtained by subtracting the second signal obtained by processing the evaluation signal J(t) of ωt 8 times and multiplying it by 1 / a2 from the first signal obtained by multiplying it by 16 times.
[0089] In addition, the parameter adjustment unit 2 can also use the Hessian equation of the evaluation function estimated by such a method as it is to adjust the integral gain, but in this case, there is a possibility that the extreme value control will become unstable due to the reasons described later. Therefore, in the extreme value control system 1 of this embodiment, the Jacobian equation estimated by the low-pass filter 14 is regularized based on the estimated value of the Hessian equation, and the regularized Jacobian equation signal is provided to the integrator 15. As a result, the extreme value control system 1 of this embodiment can avoid the instability of the extreme value control and can adaptively update the integral gain.
[0090] Specifically, the regularization signal output unit 23 generates a signal for regularizing the Jacobian signal output by the gradient estimation unit 22 (hereinafter referred to as a "regularization signal") and outputs it to the second multiplier 24. The second multiplier 24 inputs the Jacobian signal G(t) from the low-pass filter 14 and the regularization signal from the regularization signal output unit 23, and regularizes the Jacobian signal by multiplying the Jacobian signal by the regularization signal. The second multiplier 24 provides the regularized Jacobian signal Gn(t) to the integrator 15.
[0091] [First method to generate regularization signal]
[0092] Generally, "regularization" of a signal means avoiding an ill-condition where an inverse operation cannot be performed because there is no inverse when performing an inverse operation on the target signal. For example, an example of such an ill-condition is "division by zero" in a division operation.
[0093] On the other hand, Figure 4 As shown in FIG. 1 , the extreme value control system 1 of the present embodiment uses the Hessian form of the evaluation function to adaptively update the integral gain of the integrator 15, but this can be equivalently replaced by fixing the integral gain of each control cycle to a constant value obtained by dividing the Jacobian form of the evaluation function by the Hessian form (regularization) and performing extreme value control. That is, the structure of the extreme value control system 1 in the present embodiment can be regarded as a Figure 2 The basic structure shown has the addition of a structure that regularizes the Jacobian using the Hessian form.
[0094] Therefore, in this embodiment, avoiding pathological conditions such as "division by zero" in the "regularization" of the Jacobi signal is defined as "regularization", and a signal that acts on the Jacobi signal to achieve such regularization is generated as a regularized signal. Specifically, the regularized signal output unit 23 generates a signal transformation for achieving the following conditions: The signal is used as the regularization signal.
[0095] [Condition 1]
[0096] [Condition 2]
[0097] [Condition 3]
[0098] [Condition 4]
[0099] G(t) represents the Jacobian signal, and Gn(t) represents the Jacobian signal regularized by the action of the regularization signal. [Condition 1] represents the condition that Gn(t) is also 0 when G(t) is 0. [Condition 2] represents the condition that the signs of G(t) and Gn(t) are the same. [Condition 3] represents the condition that when G(t) is finite, Gn(t) is also finite (that is, division by zero does not occur). [Condition 4] represents the condition that when G(t) diverges to ∞, Gn(t) does not diverge to ∞ but converges to a positive finite value. A regularization signal having such properties is represented by equation (8), for example.
[0100] [Formula 8]
[0101] RS=1 / (δ+|H(t)|)…(8)
[0102] δ in equation (8) is a positive constant (δ>0), which represents a so-called regularization constant. H(t) represents the Hessian form of the estimated evaluation function. The regularized signal represented by equation (8) can be generated by adding the regularization constant δ to the Hessian signal and obtaining the absolute value of the Hessian signal.
[0103] For example, when searching for the minimum value (extreme value) through extreme value control, the extreme value can also be stably searched for by an evaluation function of the Mth order (M>1) whose Hessian form takes a positive value near the extreme value and an evaluation function of the Mth order (0<M<1) whose Hessian form takes a negative value near the extreme value.
[0104] In addition, the regularized signal generated using the Hessian equation does not necessarily need to be represented by a Hessian linear function such as equation (8). For example, the regularized signal can be represented by a Hessian square function such as equation (9) and equation (10), or by a Hessian M-th power (M = 1, 2, 3, ...) function such as equation (11) and equation (12).
[0105] [Formula 9]
[0106]
[0107] [Formula 10]
[0108] RS=|H(t)| / (δ+H(t)2 )…(10)
[0109] [Formula 11]
[0110]
[0111] [Formula 12]
[0112] RS=|H(t)| M-1 / (δ+|H(t)| M )…(12)
[0113] Figure 7 and Figure 8 is a diagram showing a configuration example of an extreme value control system that generates a regularization signal by the first method. Specifically, Figure 7 1 shows a configuration example in which the Jacobi signal Gn(t) regularized by the regularized signal represented by equation (8) is input to the integrator 15. Figure 8 A configuration example is shown in which the Jacobian signal Gn(t) regularized by the regularized signal represented by equation (9) is input to the integrator 15.
[0114] [Second method for generating regularization signal]
[0115] In the first method, since the Hessian signal is used in the generation of the regularization signal, some mechanism for estimating the Hessian form of the evaluation function is required. Figure 7 and Figure 8 In the extreme value control system 1 shown, a first multiplier 21 and a gradient estimation unit 22 (e.g., a low-pass filter) are required for generating a Hessian signal from the signal of the evaluation amount. In contrast, the second method is a method of generating a regularized signal by using a Jacobian estimation value instead of a Hessian estimation value without the first multiplier 21 and the gradient estimation unit 22. For example, the regularized signal generated by the second method is represented by equation (13).
[0116] [Formula 13]
[0117] RS=1 / (δ+|G(t)|)…(13)
[0118] Here, G(t) represents the Jacobian of the evaluation function estimated by the gradient estimation unit 22 or a quantity proportional to the Jacobian. In addition, the regularized signal generated in the second method does not necessarily need to be a signal represented by a linear function of the Jacobian. For example, the regularized signal generated by the second method may also be represented by an M-th power (M=1, 2, 3, ...) function of the Jacobian as in the first method (e.g., equations (14) and (15)).
[0119] [Formula 14]
[0120]
[0121] [Formula 15]
[0122] RS=|G(t)| M-1 / (δ+|G(t)| M )…(15)
[0123] Fig. 9 and Fig.10 is a diagram showing a configuration example of an extreme value control system that generates a regularization signal by the second method. Specifically, Fig. 9 The example of the structure in which the Jacobi signal Gn(t) regularized by the regularized signal represented by equation (13) is input to the integrator 15 is shown. Fig.10 The following is a configuration example in which the Jacobian signal Gn(t) regularized by the regularization signal (M=2) represented by equation (14) is input to the integrator 15. According to the second method, it is possible to suppress complication of the configuration of the extreme value control system for regularization of the Jacobian signal.
[0124] [Third method for generating regularization signal]
[0125] The third method is a method obtained by further simplifying the second method by setting δ = 0 in equations (13) to (15). In this case, the regularized signal generated by the third method is represented by equation (16).
[0126] [Formula 16]
[0127] RS=1 / |G(t)|…(16)
[0128] In the first and second methods, δ(>0) acts to avoid division by zero. Therefore, if δ is set to 0, RS will diverge to infinity when G(t)=0, and the regularized Jacobian signal Gn(t) will also diverge in the same way. Such a signal does not originally satisfy conditions 1 to 4 as a regularized signal, and therefore should not be used as a regularized signal. However, when the regularization of the Jacobian signal is defined as in equation (17), it can be used as a regularized signal.
[0129] [Formula 17]
[0130]
[0131] Formula (17) indicates that the process of dividing the Jacobian signal by the regularized signal RS of Formula (16) is defined as the regularization of the Jacobian signal. This is an operation of dividing the Jacobian signal by the absolute value of the Jacobian signal, so Gn(t) in Formula (17) takes a value of -1 or +1. That is, it can be said that the regularized signal generated by the third method is a signal that acts on the Jacobian signal and extracts its sign information (-1 or +1). Therefore, when the regularization defined by Formula (17) is performed, the signal represented by Formula (16) functions as a regularized signal in principle.
[0132] In addition, if the purpose of such regularization is to extract sign information, as long as the sign information of the Jacobian signal can be extracted, it is not necessarily necessary to actually divide G(t) by its absolute value |G(t)|. Therefore, the regularized signal output unit 23 in this case can also be configured to directly calculate sgn(G(t)). In addition, by setting it to such a structure, division by zero can be avoided. Here, sgn(x) represents a function that returns the sign of the value x.
[0133] Fig.11 This is a diagram showing a configuration example of an extreme value control system that generates a regularization signal by the third method in the first embodiment.
[0134] The sign information extracted in this way becomes a signal that only indicates the direction (increase or decrease) in which the operation amount should be moved. Fig.11 In this case, the amount of change of the manipulated variable in each control cycle is fixed, so sgn(G(t)) may be multiplied by a coefficient or the like to adjust the amount of change to a desired amount.
[0135] In addition, if equation (16) is obtained by setting δ=0 in equation (14) or equation (15) in addition to equation (13), equations (13) to (15) can be considered as equations that adjust the effect of equation (16) by using δ>0 as a parameter. In fact, in the regularization based on sgn(), only the direction in which the operation amount should be moved is provided, so if the parameters are not adjusted sufficiently and appropriately, oscillation may occur near the extreme value. In this case, the regularized signal generated by using equations (13) to (15) obtained by adjusting equation (16) by δ>0 is considered to act on the Jacobi signal in a manner that suppresses oscillation near the extreme value.
[0136] The second multiplier 24 regularizes the Jacobian signal G(t) by multiplying the regularization signal generated in this way, and outputs the regularized Jacobian signal Gn(t) to the integrator 15. Regularization of the Jacobian signal by the parameter adjustment unit 2 is represented by equation (18).
[0137] [Formula 18]
[0138] Gn(t)=Rs×G(t)…(18)
[0139] The parameter adjustment unit 2 uses the regularized Jacobian signal to adaptively update the integral gain of the integrator 15. In general, the direction in which the manipulated variable should be moved in extreme value control is represented by the sign of the gradient (Jacobian) estimated for the evaluation function with respect to the unknown manipulated variable, and the amount of movement is adjusted by the integral gain. Here, a method for adjusting the integral gain based on the idea of the mean value system (average system) described in Non-Patent Document 2 and the like is described.
[0140] The so-called mean value system is a system that represents the dynamic behavior of a system that obtains its periodic average (mean) when a periodic input is applied to a certain system. Generally, the mean value system is used in the stability analysis of extreme value control systems. For example, in non-patent document 2, the dynamics of the mean value system of an extreme value control system of a static device without dynamics are specifically recorded. The mean value system is represented by equations (19) and (20).
[0141] [Formula 19]
[0142]
[0143] [Formula 20]
[0144] KI=KI0×ω…(20)
[0145] In formula (19), G(u) represents the estimated value of the Jacobian of the evaluation function with respect to the unknown operation amount u. a represents the amplitude of the high-frequency vibration signal. P represents the power of the high-frequency vibration signal. When a sine wave is used as the high-frequency vibration signal, P = 1 / 2, when a triangular wave is used as the high-frequency vibration signal, P = 1 / 3, and when a rectangular wave is used as the high-frequency vibration signal, P = 1. τ represents the time obtained by scaling the actual time t with the frequency ω of the high-frequency vibration signal (τ = ωt), and KI0 represents the integral gain of τ on the time axis. KI0 is transformed into the integral gain KI on the time axis of the actual time t by formula (20).
[0146] Furthermore, for equation (19), by setting the equilibrium point of the operation amount u to u* and obtaining the period average u~=uu*, equation (21) is obtained. "u~" is a symbol obtained by placing "~" right above "u".
[0147] [Formula 21]
[0148]
[0149] The mean value system represented by formulas (19) and (21) is a system that expresses the dynamics of convergence in extreme value control, such as how quickly the evaluation quantity converges to the minimum value (extreme minimum) based on the vibration of the operating quantity caused by the high-frequency vibration signal. In non-patent document 2, it is assumed that the controlled process is static, but the period of the high-frequency vibration signal is set to be sufficiently long compared to the time constant of the equipment. That is, when the frequency ω of the high-frequency vibration signal is set to be sufficiently smaller than the cutoff frequency of the controlled process, the controlled process with dynamics can be approximately regarded as a static controlled process. This is also confirmed by the singular perturbation theory used in the stability analysis of extreme value control.
[0150] In addition, even in Figure 2 In the case of an extreme value control system having a basic structure composed of a high-pass filter and a low-pass filter, the cutoff frequencies of these filters can be appropriately set. When the dominant dynamics (latest dynamics) become the integrator 15 (integrator), the overall behavior of the extreme value control system can be characterized by the mean value system shown in equation (19). Therefore, in such a case, the integral gain can be adjusted using equation (19).
[0151] The Jacobian G(u) of the evaluation function in equation (19) is often a nonlinear function related to u, so equation (19) is usually a nonlinear differential equation. Here, with respect to u in equation (19), the mean value system linearized around the appropriate operating point u0 can be expressed by equation (22).
[0152] [Formula 22]
[0153]
[0154] Here, "u^" refers to the symbol with "^" placed right above "u". u^=u-u0, H(u0) represents the Jacobian of G(u). That is, H(u0) is the Hessian form of the evaluation function. Therefore, in this embodiment, the convergence speed of the extreme value control is adjusted by adaptively adjusting the integral gain KI0 in a manner proportional to the inverse of H(u0). In such an adjustment of the integral gain, the regularization signal generated by the first method (refer to equations (8) to (12)) acts in a manner that avoids division by zero caused by the estimated value of the Hessian form and suppresses a sharp sign change.
[0155] In addition, the regularized signal based on the first method derives an estimated value of the Hessian equation that changes with time from the calculation formula of the integral gain and defines it as a new signal. In this way, by deriving the factor that makes the integral gain variable from the calculation formula, the 1 / H(u0) term can be removed from the calculation formula, and the integral gain KI0 can be adjusted to a fixed value. In addition, the small constant δ (> 0) included in the definition formula of the regularized signal is used to avoid division by zero caused by the Hessian equation. When the estimated value of the Hessian equation is 0, KI0 becomes the maximum value (1 / δ times the constant term). Therefore, by determining δ based on the maximum value assumed for KI0, the integral gain can be adjusted.
[0156] Formula (22) is obtained by linearly approximating the nonlinear equation of formula (19), but as a method of suppressing the influence of the nonlinear element G(u) of formula (19), a more direct method of eliminating G(u) is considered. The second and third methods mentioned above are methods of generating regularized signals that conform to such an idea. The integral gain KI0 in formula (19) is a parameter of the adjustment object, which can be determined by the designer, so it is regarded as an operation amount that deforms the differential equation of formula (19), and a new integral gain KI0' that satisfies formula (23) is defined, thereby eliminating the nonlinear element in formula (19).
[0157] [Formula 23]
[0158]
[0159] However, if equation (23) is applied, information related to the Jacobian equation is not included in equation (19), so the information required to determine the direction in which the operation amount should be moved is lost. Therefore, instead of equation (23), the absolute value of the Jacobian equation is taken as in equation (24), thereby retaining the sign information of the Jacobian equation in equation (19). In this case, equation (19) is expressed as in equation (25).
[0160] [Formula 24]
[0161]
[0162] [Formula 25]
[0163]
[0164] If this is done, the nonlinearity of the Jacobian equation can be eliminated while retaining the information required to determine the search direction of the operation amount. That is, the regularization signal based on the third method can be said to be a signal used to derive the nonlinearity of the Jacobian equation from the calculation formula of the integral gain. Since only the sign information of the Jacobian equation is included in equation (25), the adjustment of the new integral gain KI0' becomes simple. In addition, the adjustment of KI0' is based on the situation that the transitional behavior of the extreme value control based on equation (25) becomes a straight line. Figure 5 The adjustment method shown is sufficient.
[0165] The regularization based on the third method is very simple to express. On the other hand, since the Jacobian only contains the sign information, oscillation may occur near the extreme value. In order to avoid the oscillation, the regularization based on the second method can be considered to introduce a small constant δ>0 in the third method. In this case, if the integral gain is transformed as in equation (26), the mean value system equivalent to equation (25) is expressed by equation (27).
[0166] [Formula 26]
[0167]
[0168] [Formula 27]
[0169]
[0170] The mean system of equation (27) has a smaller influence of δ when the value of the Jacobian is large, so it performs the same action as the mean system of equation (25). On the other hand, when the value of the Jacobian is small, the influence of δ increases, so the mean system of equation (27) performs an action proportional to the Jacobian. Therefore, in the regularization based on the second method, δ is set only to prevent oscillation near the extreme value, and the integral gain KI0' can be adjusted basically by the same idea as equation (25).
[0171] [Fourth method for generating regularization signal]
[0172] The regularized signal based on the fourth method is a signal represented by an approximate sign estimate value obtained by approximating the sign estimate value of the Jacobian signal by a continuous function.
[0173] If the Jacobian signal is regularized by the regularization signal generated by the fourth method, it becomes a signal that approximates the Jacobian signal (sign signal) obtained by regularizing the regularization signal based on the third method with a smooth continuous function, and is equivalent to a signal obtained by generalizing the Jacobian signal obtained by regularizing the regularization signal based on the second method.
[0174] The signal set to δ=0 in the second method is a regularized signal based on the third method. In other words, the signal into which a small constant δ>0 is introduced in the third method is a regularized signal based on the second method. However, while approximating the regularized signal based on the third method, i.e., the sign function, the approximate function that satisfies the above-mentioned conditions 1-4 of the regularized signal is not limited to the regularized signal based on the second method.
[0175] For example, if the sign function is approximated by a continuous function or a smooth continuous function, the definition of the regularized signal of conditions 1 to 4 is satisfied. There are multiple (smoothed) approximation functions of such a sign function, but they are not limited to the approximation function of the regularized signal based on the second method described above. For example, consider the following approximation function.
[0176] A. Saturation function
[0177] [Formula 28]
[0178] Gn(t)=max(-1,min(1,m(G(t)))…(28a)
[0179] Here, m(G(t)) is a strictly monotonically increasing function of G(t) satisfying m(0)=0. As a typical example, it is a power operation function of G(t) such as -sgn(G(t)) / α·|G(t)|ρ, α>0, ρ>0. For example, when ρ=1, it is equivalent to the value obtained by truncating the gradient G(t) to ±1.
[0180] BS-shaped (Sigmoid) function (hyperbolic tangent)
[0181] [Formula 29]
[0182]
[0183] C. Inverse tangent
[0184] [Formula 30]
[0185]
[0186] In addition to the AC example described above, functions such as the cumulative normal distribution function, Gompertz function, and Gudermannian function included in the generalized Sigmoid function are parallel-shifted with the origin as the center so that the range is appropriately scaled to ±1. Alternatively, functions such as replacing the time t of the step response (e.g., 1-exp(t) in the case of a first-order delay system) of a transfer function that is stable and does not produce overshoot or vibration (e.g., a high-order delay system) with G(t) (e.g., 1-exp(G(t)) in the case of a first-order delay system) and folding and joining in a point-symmetrical manner with the origin as the center (e.g., n(G(t))(1-exp(|G(t)|) in the case of a first-order delay system) also function as a smooth approximate function of the sign function and can therefore be used as a regularization signal.
[0187] Fig.12 This is a diagram for explaining an example of a regularization signal generated by the fourth method in the first embodiment. Fig.12 This is a diagram illustrating the relationship between the gradient (Jacobian signal) G(t) and the regularized Jacobian signal Gn(t), but the origin of G(t)=Gn(t)=0 corresponds to the extreme value of the extreme value search.
[0188] Approximating the regularized Jacobian signal (sign function) based on the third method with a continuous function is equivalent to adjusting the behavior of the regularized signal near the extreme value. That is, if a saturation function that truncates the gradient at ±1 is simply applied, the existing gradient-type extreme value control is directly applied as is near the extreme value. In addition, the existing extreme value control is to differentiate the evaluation function when it is exactly a quadratic function (with respect to the operation amount) and the gradient obtained becomes a first-order function (linear function). At this time, if the gradient method is applied, it has the convergence characteristics of a linear system (= convergence of an exponential function) just near the extreme value. Such convergence is generally considered to be preferred.
[0189] Therefore, if the shape of the gradient of the evaluation function is set to be G(t)∝u n Then it is proportional to the power of the operation amount u (the evaluation function is proportional to u (n+1) If Gn(t)=G(t) (1 / n) When , Gn(t)∝u becomes, so it can converge exponentially near the extreme value. In fact, the shape of the evaluation function near the extreme value is unknown, so n cannot be calculated theoretically, but by confirming the behavior near the extreme value and adjusting the selection of the approximate function of the sign function and its parameters, it is possible to fine tune the behavior near the extreme value.
[0190] For example, Fig.12 As shown, if the value of α is changed in the sigmoid function, the value of G(t) when the absolute value of the regularized signal Gn(t) becomes smaller than 1 changes, so the range A itself of the “near” extreme value can be adjusted.
[0191] Fig.13 This is a diagram for explaining another example of the regularization signal generated by the fourth method in the first embodiment. Fig.13 also with Fig.12 Similarly, the relationship between the Jacobian signal G(t) and the regularized Jacobian signal Gn(t) is shown in the figure, but the origin of G(t)=Gn(t)=0 corresponds to the extreme value of the extreme value search.
[0192] For example, Fig.13 As shown, near the extreme value B, if a continuous function with an upward convex shape and a continuous function with a downward convex shape are switched, the oscillation near the extreme value can be suppressed, or the phenomenon of not converging to the extreme value but stopping near it during the extreme value search control can be improved.
[0193] If a regularized Jacobian signal Gn(t) with an upward convex shape (for example, using an S-shaped function, α=3) is selected, Gn(t) is close to a pure sign function, so when the convergence value does not reach the extreme value, a function of such a shape is selected, and a search close to the true extreme value can be performed. However, it should be noted that if the upward convex tendency is too strong (too close to the sign function), oscillation may occur.
[0194] On the other hand, if a regularized signal Gn(t) with a downward convex shape (for example, using a saturation function, α=10, ρ=1.5) is selected, the effect of suppressing oscillation near the extreme value is confirmed. It should be noted that if the downward convex tendency becomes weaker, the search performance of the extreme value deteriorates.
[0195] Fig.14A y=u is a diagram for explaining an example of the result of simulating the response of the manipulated variable without using the regularization signal in the first embodiment. 5 The results are obtained by simulating the response of the manipulated variable when various regularization signals are applied to the virtual controlled object obtained by such a function.
[0196] Fig.14A The example shown is a comparative example in which the regularization signal is not applied, and the operation is adjusted to be smooth when the initial value is 2. At this time, if the initial value is changed to 3, the extreme value control diverges. This is because y = u 5 The first differential is y′=5u 4 , when the initial value is 2, y′=5·2 5=160, on the other hand, when the initial value is 3, y′=5·3 5 =1215, the gradient changes greatly.
[0197] Even when the initial value is set to 2, the operation amount does not converge to the extreme value (=1) within a predetermined time. This is because if u approaches 0, y' quickly approaches 0. In other words, this is because the gradient near the extreme value is substantially flat in the virtual control object.
[0198] Fig. 14B This is a diagram for explaining an example of a result obtained by simulating a response of an operation amount using a gradient sign signal as a regularization signal in the first embodiment.
[0199] Compared with the comparative example shown in 14A, Figures 14B-14D The example shown applies a regularization signal. Fig. 14B The example shown is a case where the regularization signal based on the third method, i.e., the sign function, is applied. In this case, whether the initial value is 2 or 3, the search for the extreme value can be performed at the same convergence speed, but oscillation occurs near 1, which is the extreme value. This is because the sign function is the strongest discontinuous switching function.
[0200] Fig. 14C and Fig.14D This is a diagram for explaining an example of the effect when the regularization signal generated by the fourth method is used in the first embodiment.
[0201] exist Fig. 14C In the example shown, the saturation function (ρ=1) shown in A of the fourth method is applied as a continuous approximation function of the sign function. Fig. 14B Similarly, no matter what the initial value is, the search for the extreme value can be performed at the same convergence speed, but unlike Fig.14A The same is true for the extreme value that is not reached within the specified time. This is because the gradient itself is used near the extreme value, so the same as Fig.14A Same phenomenon.
[0202] exist Fig.14D In the example shown, as a continuous approximation function of the sign function, for example, -sgn(G(t)) / α·|G(t)| shown in A of the fourth method is applied. ρ The exponential function of G(t) such as α>0, ρ>0, and ρ≠1, i.e., the saturation function, is set to α=1, ρ=1 / 5. In this example, the extreme value search can be performed regardless of the initial value, and the oscillation can be suppressed. As in this example, the continuous function that approximates the sign function is well utilized, thereby adjusting the response of the extreme value search control.
[0203] The extreme value control system using the regularization signal generated by the fourth method can be realized by, for example, Fig.11 In the illustrated configuration example, the sign function sgn() is implemented by using an approximate function based on G(t) (for example, the above-mentioned function AC).
[0204] In addition, the extreme value control system using the regularization signal generated by the fourth method can be realized by, for example, Fig. 9 and Fig.10 In the illustrated configuration example, this is achieved by performing an operation corresponding to the approximate function using the regularized signal output unit 23. That is, the operation formula in the regularized signal output unit 23 can be set in advance so that the output of the regularized signal output unit 23 becomes a value obtained by dividing the regularized Jacobian signal by G(t).
[0205] According to the fourth method, the regularization function is not limited to the function based on the third method, and by selecting the continuous approximate function and adjusting the parameters of the function, the behavior near the searched extreme value can be easily adjusted, thereby achieving more precise extreme value search control.
[0206] As described above, the regularization signal generated by the regularization signal output unit 23 has the function of deriving the complex behavior caused by the nonlinear element of the evaluation function from the mean value system that assigns the direction and amount of the operation amount to be moved, and the parameter adjustment unit 2 uses the regularization signal having such a property to regularize the Jacobian signal output by the gradient estimation unit 22. In addition, the integrator 15 integrates the regularized Jacobian using the adjusted integral gain, thereby being able to more appropriately control the search direction of the extreme value control.
[0207] The extreme value control system 1 of the first embodiment thus configured includes a parameter adjustment unit that regularizes the Jacobian signal and adaptively adjusts the integral gain based on the regularized Jacobian signal, thereby enabling extreme value control of the controlled process to be operated more stably in a dynamic adaptive manner.
[0208] Specifically, the extreme value control system 1 of the first embodiment realizes the following (1) and (2) by regularizing the Jacobian signal, thereby being able to easily adjust the integral gain without damaging the stability of the extreme value control. (1) Avoid division by zero when calculating the integral gain. (2) Maintain the sign information of the Jacobian signal (avoid abrupt sign reversal).
[0209] As a result, the operator of the controlled process can more easily and safely adjust the convergence speed of the extreme value control.
[0210] (Second Embodiment)
[0211] Fig.12 1 is a diagram showing a configuration example of an extremum control system 1 a according to the second embodiment. The extremum control system 1 a is different from the extremum control system 1 according to the first embodiment in that it further includes an operation amount shaping unit 3 . Fig.12 The extreme value control system 1a shown in the figure is an example of an extreme value control system that generates a regularized signal by the second method in the first embodiment. Fig. 9 The extreme value control system 1 shown in the embodiment is configured by adding a manipulated variable shaping unit 3. The other configurations of the extreme value control system 1a are the same as those of the extreme value control system 1 of the first embodiment, and thus the same reference numerals are used herein. Figure 3 The same reference numerals are used to indicate the same functional parts, and the description of these same functional parts will be omitted.
[0212] When using a Hessian regularized signal based on an evaluation function, a linear approximation system such as equation (22) is obtained. Therefore, it is believed that if the estimation accuracy of the Hessian is high, the operation amount and the evaluation amount can converge to the extreme value in the manner of an exponential function. It is believed that such a convergence method is also a feature of a (first-order) linear system, and by improving the estimation accuracy of the Hessian, such a feature can be easily obtained as expected.
[0213] On the other hand, when a regularized signal based on the Jacobian of the evaluation function is used, a mean value system such as equation (25) is obtained, so the convergence to the extreme value is considered to be linear. There are cases where such a linear search is required, but generally, when the operation amount or evaluation amount is far away from the target extreme value, it is required to quickly approach the extreme value, and there are many cases where the extreme value is approached little by little near the extreme value.
[0214] In the extreme value control represented by the mean value system such as equation (25), there is a high possibility of oscillation near the extreme value. Such oscillation can be suppressed by adjusting equation (25) with a small constant δ (> 0) as in the above equation (27), but this is to adjust the behavior of the extreme value search near the extreme value, rather than to adjust the entire action of the extreme value search.
[0215] Therefore, in order to adjust the behavior of the mean value system of equation (19) or equation (22) as a whole, as long as there is an operation variable u or an operation variable deviation u on the right side - That is, as long as equation (22) can be transformed into equation (29), it will be sufficient.
[0216] [Formula 31]
[0217]
[0218] Among them, F(u~) is a function that satisfies F(0)=0, and the sign of u~ is consistent with the sign of F(u~). That is, F(u~) satisfies u~×F(u~)>0. The simplest example is F(u~)=u~. In this case, equation (29) becomes a linear differential equation, and u~ converges to zero in the manner of an exponential function. In addition, u~ is considered instead of u because the optimal value u* of u is unknown. In contrast, u~ can converge to zero, so the equilibrium point of equation (29) can be set to 0. In addition, if an appropriate power operation function of u~ is used, the action point can be moved faster in the direction of the extreme value when far away from the extreme value, and the action point can be moved slowly near the extreme value.
[0219] The operation amount shaping unit 3 is used to obtain a mean value system having a behavior like that of equation (29), and by feeding back the operation amount u and multiplying it with the regularization signal, the operation amount is corrected in such a way that the farther the operating point is from the extreme value, the greater the movement toward the extreme value. For example, when the regularization signal is generated by the third method, the mean value system of equation (25) is obtained, but in order to obtain a system like equation (29), it is sufficient to multiply the right side of equation (25) by F(u~) with the focus on the equality of the differential of u and the differential of u~.
[0220] Here, u~=uu*, and the optimal value of the operation amount is unknown, so u~ cannot be used directly. However, since the operation amount u can be used, as an estimated value of u~, u~ can be approximately obtained by applying a high-pass filter to u to remove the unknown constant term u*. That is, u~ can be estimated by equation (30).
[0221] [Formula 32]
[0222]
[0223] By multiplying the signal u~ estimated by equation (30) with the regularized Jacobian signal, the extreme value search can be corrected in a manner having an exponential response characteristic. In addition, when it is desired to move the operating point to the vicinity of the extreme value at a faster speed than the exponential response characteristic, for example, the estimated value of the operating amount u~ can be set to the power value of the value obtained by equation (30), thereby making the movement range of the operating point larger.
[0224] Fig.13 FIG. 14 is a diagram showing a configuration example of an extreme value control system 1a in the second embodiment. Specifically, Fig.13 In the first embodiment, the configuration example of the extreme value control system 1 for generating the regularization signal by the second method is shown. Fig.10FIG. 14 shows an example of an extreme value control system 1 (see FIG. 14A ) which generates a regularization signal by the third method in the first embodiment. Fig.11 ) is an example of an extreme value control system 1a which is constructed by adding a manipulation amount shaping unit 3.
[0225] The extreme value control system 1a of the second embodiment thus constructed can achieve the same effects as the extreme value control system 1 of the first embodiment, and can also adjust the speed of the extreme value search more finely. Thus, when the operating point is far away from the extreme value, the operating point can be quickly moved to the vicinity of the extreme value, and the operating point can be moved slightly near the extreme value, thereby improving the speed and accuracy of the extreme value search.
[0226] (Application example)
[0227] Fig.15 It is a diagram showing an application example of the extremum control system of the first embodiment or the extremum control system of the second embodiment. Fig.15 An example of applying the extreme value control system of the embodiment to a water treatment facility 4 that implements a biological wastewater treatment process is shown. For example, Fig.15 The water treatment facility 4 shown is equipped with an anaerobic tank 41, an anaerobic tank 42, an aerobic tank 43, and a final sedimentation tank 44. The anaerobic tank 41 is a facility for activating microorganisms. The anaerobic tank 42 is a facility for removing nitrogen. The aerobic tank 43 is a facility for decomposing organic matter, removing phosphorus, and nitrifying ammonia. The final sedimentation tank 44 is a facility for precipitating activated sludge.
[0228] In the water treatment equipment 4, there are provided equipment such as a pump for conveying water and sludge between the above-mentioned equipment, a blower for supplying air into the tank, and a sensor for measuring the concentration of substances in the air or water. The chemical injection pump 411 is a pump for injecting chemicals such as a carbon source that activates microorganisms into the anaerobic tank 41. The circulation pump 431 is a pump for controlling the circulation volume of the treated water circulating between the aerobic tank 43 and the anaerobic tank 42. The blower 432 supplies air to the aerobic tank 43 to control the aeration volume. The sludge return pump 441 is a pump for returning sludge from the final sedimentation tank 44 to the anaerobic tank 42. The excess sludge extraction pump 442 is a pump for extracting excess sludge from the final sedimentation tank 44. The sensors 412 and 443 measure the water quality of the discharge water in the anaerobic tank 41 and the final sedimentation tank 44, respectively.
[0229] Usually, in such a biological wastewater treatment process, the operating amount is the return rate of the return sludge, and the control amount is the concentration of nitrogen (hereinafter referred to as "discharge nitrogen concentration") and the concentration of phosphorus (hereinafter referred to as "discharge phosphorus concentration") contained in the discharge water. The return rate is obtained by dividing the discharge amount of the return sludge pump 441 by the inflow amount. The discharge nitrogen concentration and the discharge phosphorus concentration are obtained by sensors 412 and 443. In addition, the control amount can also be set to the amount of nitrogen (hereinafter referred to as "discharge nitrogen amount") and the amount of phosphorus (hereinafter referred to as "discharge phosphorus amount") contained in the discharge water. In this case, the discharge nitrogen amount and the discharge phosphorus amount are obtained by multiplying the discharge nitrogen concentration and the discharge phosphorus concentration by the discharge amount, respectively.
[0230] The extreme value control system 1b of the application example performs extreme value control by inputting an evaluation amount based on a control amount such as the amount of discharged nitrogen and the amount of discharged phosphorus from such a water treatment device 4, thereby updating the operation amount in a manner that the evaluation amount is close to the optimal value. As an example of an evaluation function used in this case, a method is considered in which the evaluation amount is expressed as the sum of the water quality cost based on the idea of drainage levy and the electricity cost of the return sludge pump 441 (hereinafter referred to as "total cost"). The electricity cost of the return sludge pump 441 can be calculated based on the return sludge flow rate and the rated power of the return sludge pump 441. Usually, in the idea of drainage levy, the water quality cost is expressed by the following formula.
[0231] [Formula 33]
[0232] Water quality cost per unit time J1=
[0233] SS load per unit time × SS cost conversion factor
[0234] +COD load per unit time × COD cost conversion factor
[0235] + BOD load per unit time × BOD cost conversion factor
[0236] + TN load per unit time × TN cost conversion factor + TP load per unit time × TP cost conversion factor
[0237] …(31)
[0238] In formula (31), COD refers to chemical oxygen demand, BOD refers to biochemical oxygen demand, TN refers to discharged nitrogen, and TP refers to discharged phosphorus. The conversion coefficient of each cost can be determined based on the actual drainage levy or by other methods. Generally, it is known that TN and TP vary greatly by changing the return rate, so the water quality cost J1 related to the control of the return rate is defined as in formula (32).
[0239] [Formula 34]
[0240] Water quality cost J1 = TN load per unit time × TN cost conversion factor + TP load per unit time × TP cost conversion factor
[0241] …(32)
[0242] In addition to such a water quality cost, an operating cost J2 obtained by summing the power cost of the blower and the power cost of the return pump, which are indirectly changed by changing the return flow rate, can also be defined, and a function that sets the sum of the operating cost J2 and the water quality cost J1 as the total cost can be defined as an evaluation function. For example, the operating cost J2 can be defined as in formula (33).
[0243] [Formula 35]
[0244] Operation cost J2 = electricity price × blower power + electricity price × return pump power
[0245] …(33)
[0246] The extreme value control system 1b of the application example extracts a Jacobian signal based on the evaluation amount obtained by such an evaluation function, and performs extreme value control on the Jacobian signal by applying the above-mentioned regularization signal, thereby being able to adaptively update the integral gain of the dynamics of the water treatment equipment 4. As a result, the extreme value control system 1b of the application example can search for the optimal operation amount that minimizes the total cost with a more stable action. In addition, the extreme value control system of the embodiment can be applied to the control of any process technology that outputs the control amount for the input of the operation amount. For example, the control object process can also be a sewage treatment process, a combustion process, a petrochemical process, etc.
[0247] According to at least one embodiment described above, the system comprises: a first gradient estimation unit, which estimates the Jacobian form of the evaluation function; an operation amount determination unit, which determines the direction and amount in which the operation amount should be moved by integrating the estimated value of the Jacobian form; a second gradient estimation unit, which estimates the Hessian form of the evaluation function; and a parameter adjustment unit, which divides the estimated value of the Jacobian form input to the operation amount determination unit by a value based on the estimated value of the Jacobian form or the Hessian form of the evaluation function and is a regularization signal adjusted to be non-zero, thereby adjusting the integral gain of the operation amount determination unit according to changes in the evaluation function, thereby being able to adapt to the dynamics of the controlled object process and make the extreme value control operate more stably.
[0248] Several embodiments of the present invention have been described, but these embodiments are presented as examples and are not intended to limit the scope of the invention. These embodiments can be implemented in various other ways, and various omissions, substitutions, and changes can be made without departing from the scope of the subject matter of the invention. These embodiments and their variations are included in the scope or subject matter of the invention, and are also included in the invention described in the claims and the scope of their equivalents.
Claims
1. An optimal control device that performs extreme value control to update a manipulated variable based on a controlled process so that an evaluation variable, which is a value represented by an evaluation function whose manipulated variable is unknown relative to the controlled process, approaches an optimal value of the evaluation function. The optimal control device comprises: a first gradient estimating unit that estimates a Jacobian of the evaluation function based on a signal representing the evaluation amount; an operation amount determination unit that determines a direction and an amount in which the operation amount should be moved by integrating an estimated value of the Jacobian equation; a second gradient estimating unit that estimates a Hessian form of the evaluation function based on a signal representing the evaluation amount; as well as The parameter adjustment unit adjusts the integral gain of the operation quantity determination unit according to the change of the evaluation function by dividing the estimated value of the Jacobian equation input to the operation quantity determination unit by the estimated value of the Jacobian equation or the Hessian equation based on the evaluation function and adjusting the regularization signal to be non-zero.
2. The optimal control device according to claim 1, wherein: The regularization signal is a signal represented by the following value, which is the Nth root of the value obtained by adding a small positive constant δ to the Nth power value of the absolute value of the Hessian estimate, or the value obtained by dividing the M-1th power value of the absolute value of the Hessian estimate by the Mth power value of the absolute value of the Hessian estimate plus a small positive constant δ, where N>0, M≥1.
3. The optimal control device according to claim 1, wherein: The regularization signal is a signal represented by the following value, which is the Nth root of the value obtained by adding a small positive constant δ to the Nth power value of the absolute value of the estimated value of the Jacobian equation, or the value obtained by dividing the M-1th power value of the absolute value of the estimated value of the Jacobian equation by the Mth power value of the absolute value of the estimated value of the Jacobian equation plus a small positive constant δ, where N>0, M≥1.
4. The optimal control device according to claim 1, wherein: The regularization signal is a signal represented by the absolute value of the estimate of the Jacobian.
5. The optimal control device according to claim 1, wherein: The regularized signal is a signal represented by an approximate sign estimate value, where the approximate sign estimate value is obtained by approximating the sign estimate value of the Jacobian equation using a continuous function.
6. The optimal control device according to any one of claims 3 to 5, wherein: The controller further includes an operation amount shaping unit that feeds back the operation amount determined by the operation amount determining unit and multiplies the operation amount by the regularization signal, thereby correcting the operation amount so that the farther the operating point from the extreme value is, the greater the movement toward the extreme value.
7. An optimal control method, comprising: performing extreme value control to update a manipulated variable based on a controlled process, wherein the manipulated variable is an evaluation value represented by an evaluation function whose manipulated variable is unknown relative to the controlled process, so as to approximate an optimal value of the evaluation function. The optimal control method comprises the following steps: estimating a Jacobian of the evaluation function based on a signal representing the evaluation quantity; an operation amount determination step of determining a direction and an amount in which the operation amount should be moved by integrating the estimated value of the Jacobian equation; estimating a Hessian form of the evaluation function based on a signal representing the evaluation quantity; as well as The integral gain in the operation quantity determination step is adjusted according to the change of the evaluation function by dividing the estimated value of the Jacobian equation input to the operation quantity determination step by the estimated value of the Jacobian equation or the Hessian equation based on the evaluation function and the regularization signal is adjusted to be non-zero.
Citation Information
Patent Citations
Optimum control device, optimal control method, computer program and optimal control system
JP2017033104A
Detection method for MIMO system
CN101009533A
Iterative-ADP-algorithm-based optimal control method for wastewater treatment
CN106873379A
Distribution network voltage power sensitivity estimation method based on regex match tracking
CN107742885A
Control method for the movement of tool and control device
CN108027605A
