Hydrogen and methane production two-phase anaerobic digestion process composite intelligent model-free extremum optimization control method

By designing a composite intelligent model-free extreme value optimization control method in a hydrogen- and methanogenic two-phase anaerobic digestion system, and utilizing an extended state observer and an active disturbance rejection control algorithm, the problems of slow convergence speed and insufficient disturbance rejection capability in the existing technology are solved, and the system achieves rapid convergence and efficient gas production.

CN116339149BActive Publication Date: 2026-11-27NANJING UNIV OF SCI & TECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310369556.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-10
Publication Date
2026-11-27
Estimated Expiration
2043-04-10

AI Technical Summary

Technical Problem

Existing extreme value search control algorithms suffer from slow convergence speed and insufficient anti-disturbance capability when applied to two-phase anaerobic digestion systems that produce hydrogen and methanogens, making it difficult to maintain good control performance under significant disturbances.

Method used

A composite intelligent model-free extreme value optimization control method is designed, which includes establishing a mathematical model of a two-phase anaerobic digestion system for hydrogen and methanogenesis, combining an extreme value search control algorithm, an extended state observer and an active disturbance rejection control algorithm, and using a model-free intelligent PID trajectory tracking controller and a time delay estimation algorithm to achieve rapid convergence and disturbance compensation of the system.

Benefits of technology

This improved the system's convergence speed and steady-state tracking accuracy, enhanced its robustness to changes in operating conditions, ensured that the system reached optimal operating conditions more quickly, and improved gas production efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116339149B_ABST
    Figure CN116339149B_ABST
Patent Text Reader

Abstract

The application discloses a hydrogen production and methane production two-phase anaerobic digestion process composite intelligent non-model extreme value optimization control method, which is used for maximizing the total gas production outflow rate including hydrogen and methane. The method firstly estimates the maximum value reference input track of the total gas production at the current moment on the basis of an extreme value search control algorithm; generates a gas extreme value reference tracking track according to an extended state observer, and carries out online estimation on uncertain interference items in the actual anaerobic digestion process; on the basis, the interference compensation module is improved by using the idea of extreme local model and time delay estimation, so that the gas production control input signal is obtained, the total gas production maximization and the gas production track stability are realized. Through simulation verification, the control method designed by the application can effectively improve the extreme value convergence speed of the gas production rate of the anaerobic digestion system, can further reduce the influence of input interference on the gas production track, improves the stability of the system, and has better control performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of anaerobic digestion process control, and in particular to a composite intelligent model-free extreme value optimization control method for a two-phase anaerobic digestion process involving hydrogen and methanogenesis. Background Technology

[0002] Compared to traditional single-phase anaerobic digestion, two-stage anaerobic digestion technology separates the hydrogen production and methanogenesis stages in two reactors connected in series. This allows both hydrogen-producing and methanogenic fermenting bacteria to grow under their respective optimal environmental conditions. This not only maximizes the activity of the microbial community and improves the efficiency of organic waste treatment, but also reduces the reaction volume, enhances the ability to withstand load shocks, and increases the stability of the reaction. However, at the same time, due to the increased equipment and the number of biochemical reactions, the process, operation, and process control become relatively more complex.

[0003] To further improve the efficiency of anaerobic digestion and maintain the system under optimal operating conditions, an extremum control algorithm is introduced for real-time optimization of the anaerobic digestion system. The extremum search control algorithm (Dewasme L., Wouwer V. Model-Free Extremum Seeking Control of Bioprocesses: A Review with a Worked Example. Processes, 2020, 8(1209).) is a high-performance adaptive feedback control method that can drive the system to reach the optimal operating condition range corresponding to the extremum of the objective function. After more than a decade of development, researchers have developed some relatively efficient extremum control algorithms, proposing Newtonian extremum control (Yin C., Wu S., Zhou S., et al. Design and stability analysis of multivariate extremum seeking with Newtonmethod. Journal of the Franklin Institute, 2018, 355(4):1559-1578.), sliding mode extremum control (Daaou B, Dochain D. High order sliding mode observer based extremum seeking controller for a continuous stirred tank bioreactor. 2015 3rd International Conference on Control, Engineering & Information Technology. 2015, 0525-27:1-6), and fast switching control (Vargas A., Sepíuveda-Gálvez A., Barrios-Pérez JA. fast extremum-seeking approach for the methanisation of organic waste in an anaerobicbioreactor.IFAC-PapersOnLine,2019,52(1):269-274.) etc. However, the extreme value search control algorithm has the problem of separation between the average analysis of the closed loop and the time scale in the system dynamics. When applied to slow time-varying biological processes, it leads to slow convergence speed, and it is difficult to guarantee good control performance when there is a large input disturbance.To improve the tracking accuracy and convergence speed of the controller and enhance the system's anti-disturbance capability, it is necessary to design a control method with faster dynamic response and stronger robustness for the hydrogen- and methanogenic two-phase anaerobic digestion system, based on the single extreme value search controller. Summary of the Invention

[0004] The purpose of this invention is to provide a composite intelligent model-free extreme value optimization control method for a two-phase anaerobic digestion process of hydrogen and methanogenesis, which enables the anaerobic digestion process to converge to the optimal value more quickly, thereby improving gas production efficiency.

[0005] The technical solution to achieve the objective of this invention is as follows: Firstly, this invention provides a combined intelligent model-free extreme value optimization control method for a two-phase anaerobic digestion process involving hydrogen and methanogenesis, comprising the following steps:

[0006] Step 1: Establish a mathematical model of a two-phase anaerobic digestion system for hydrogen and methane production, including kinetic process modeling of the hydrogen bioreactor and the methane bioreactor.

[0007] Step 2: Design an extreme value estimation module based on the extreme value search control algorithm to predict the extreme value input trajectory, and generate the extreme value control input at the current moment by designing an extreme value control algorithm;

[0008] Step 3: Establish an extended state observer. Based on the available input and output data, convert the reference optimal dilution rate trajectory generated by the extreme value search module into a reference gas production trajectory, and estimate the total system disturbance at the same time.

[0009] Step 4: Design a model-free intelligent PID trajectory tracking controller. Based on the concept of extreme locality model, combine active disturbance rejection control algorithm and iPD algorithm to realize extreme value trajectory tracking control.

[0010] Step 5: Design an interference compensation controller based on the time delay estimation algorithm to compensate for unknown variables and unknown interference in the system.

[0011] In a second aspect, the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the method described in the first aspect.

[0012] Thirdly, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in the first aspect.

[0013] Compared with existing technologies, the significant advantages of this invention are:

[0014] (1) The adaptive control algorithm involved in this invention has low requirements for the accuracy of model parameter identification, does not depend on precise model parameters, and still has good control effect under the premise of ensuring convergence to the gas production extreme value.

[0015] (2) The composite intelligent model-free extreme value optimization controller used in this invention can effectively compensate for the attenuation problem caused by changes in operating conditions through the disturbance estimation function of the extended state observer;

[0016] (3) The time-delay-based interference compensator used in this invention can compensate for unknown interference in the system. Compared with a single extreme value controller, it can effectively improve the steady-state tracking accuracy when the system operating conditions change.

[0017] (4) Compared with the traditional single extreme value controller, the controller designed in this invention combines the extreme value controller with the iterative model-free controller, which can significantly improve the extreme value convergence speed, make the system output converge to the system extreme value more quickly, and improve the operating efficiency.

[0018] The present invention will now be described in further detail with reference to the accompanying drawings. Attached Figure Description

[0019] Figure 1 This is the overall control flowchart of the present invention.

[0020] Figure 2 The overall structural block diagram of the composite intelligent model-free extreme value optimization control algorithm is shown.

[0021] Figure 3 This is a schematic diagram of the classic extremum control algorithm involved in this invention.

[0022] Figure 4 This is a schematic diagram of the Newton extremum control algorithm involved in this invention.

[0023] Figure 5 This is a schematic diagram of the extended state observer control algorithm involved in this invention.

[0024] Figure 6 This is a schematic diagram of the intelligent extreme value tracking control algorithm based on time delay estimation involved in this invention.

[0025] Figure 7 The diagram shows the gas production rate curve during simulation when the control algorithm of this invention uses the perturbation extremum algorithm as the estimation module.

[0026] Figure 8 The dilution rate curve is shown in the simulation when the control algorithm of this invention uses the perturbation extreme value algorithm as the estimation module.

[0027] Figure 9The diagram shows the gas production rate curve during simulation when the control algorithm of this invention uses the Newton extremum algorithm as the estimation module.

[0028] Figure 10 The dilution rate curve is shown in the simulation when the control algorithm of this invention uses the Newton extreme value algorithm as the estimation module. Detailed Implementation

[0029] To illustrate the technical solution and objectives of this invention, the invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0030] like Figure 1 , Figure 2 As shown, the composite intelligent model-free extreme value optimization control algorithm for a hydrogen- and methanogenic two-phase anaerobic digestion system designed in this invention includes the following steps:

[0031] Step 1: Establish a mathematical model of the hydrogen- and methanogenic two-phase anaerobic digestion system, including kinetic process modeling of the hydrogen bioreactor and the methane bioreactor. In the two-phase anaerobic digestion system, the anaerobic digestion process takes place in a cascade of continuously stirred bioreactors. The main substrate is lignocellulosic organic waste. Based on the standard ADM1 model and the law of conservation of mass, the influence of the conversion reactions of intermediate products such as acetic acid, propionic acid, and butyric acid on the gas production is considered. Mathematical models of the two bioreactors are established separately as a mathematical expression of the actual hydrogen- and methanogenic two-phase anaerobic digestion process system, facilitating controller design.

[0032] Step 1.1: Establish a mathematical model for the hydrogen bioreactor:

[0033]

[0034] In the formula, D1 is the dilution rate in the hydrogen bioreactor, S0 is the concentration of lignocellulose substrate, S1 is the concentration of cellobiose substrate, X1 is the concentration of acid-producing bacteria, Pr1, But1, and Ac1 are the concentrations of propionic acid, butyric acid, and acetic acid in the hydrogen bioreactor, respectively, and Q is the concentration of acid-producing bacteria. H2 S0 represents the outflow rate of hydrogen gas. in Y represents the initial organic substrate concentration, β is the biodegradation coefficient, and Y... P Y1, Y Pr1 Y But1 Y Ac1 Y H2 All are yield coefficients. μ1 is the specific growth rate of acid-producing bacteria, using the following Monod-type growth function:

[0035]

[0036] Where, μ 1max k represents the maximum specific growth rate of acid-producing bacteria.S1 This represents the saturation coefficient of acid-producing bacteria.

[0037] Step 1.2: Establish a mathematical model for the methane bioreactor:

[0038]

[0039] In the formula, D2 is the dilution rate in the methane bioreactor, and X Pr X represents the concentration of propionate-degrading bacteria. But X represents the concentration of butyrate-degrading bacteria. Ac The concentration of methanogens is given by Pr2, But2, and Ac2, which represent the concentrations of propionic acid, butyric acid, and acetic acid in the methane bioreactor, respectively. Q represents the concentration of methanogens. CH4 Y represents the efflux rate of methane. Pr2 Y But2 Y Ac2 The yield coefficients Y for propionic acid, butyric acid, and acetic acid, respectively. CH4 The production coefficient for methane. Specific growth rates (μ) of propionic, butyric, and acetic acid bacteria. Pr μ But and μ Ac All functions use the Monod type as follows:

[0040]

[0041] Where, μ Prmax μ Butmax μ Acmax The maximum specific growth rates (k) of propionic acid, butyric acid, and acetic acid degrading bacteria, respectively. SPr k SBut k SAc These are the saturation coefficients of propionic acid, butyric acid, and acetic acid, respectively.

[0042] The hydrogen bioreactor and the methane bioreactor in the system are connected in a cascade manner. Assuming the volume ratio of the two bioreactors is K, the following conditions are met: Since the growth rate of methanogenic microorganisms is significantly lower than that of acidogenic microorganisms, D1 > D2, thus it can be deduced that K > 1 is effective.

[0043] Step 2: Establish an extreme value search controller. Extreme value search control is an adaptive optimization algorithm that does not rely on the model information of the controlled system. Even when the prior knowledge of the system model is partially or completely unknown, only input and output data are needed to keep the controlled system in an extreme operating state, thereby achieving the goal of optimizing the system output. Based on the extreme value search control algorithm, an extreme value estimation module is designed to predict the extreme value input trajectory. This invention uses classical disturbance extreme value control and Newton extreme value control as examples to illustrate how to generate the extreme value control input at the current moment.

[0044] Consider the following single-input, single-output nonlinear dynamic system:

[0045]

[0046] Where the system state x∈R n Input u∈R, output y∈R, and f:R n ×R→R n h:R n →R n Smoothness. Suppose there exists a smooth control algorithm u satisfying: u = α(x, θ), such that the closed-loop system reaches a unique extreme equilibrium point (θ). * ,y * ), where y * This represents the maximum value of the system output. In a two-phase anaerobic digestion system producing hydrogen and methanogens, the dilution rate is specified as the control input, and the total gas production rate is used as the system output. Then, the static equation for the system input and output, y = f(θ), has the following relationship:

[0047]

[0048] H is the Hessian matrix output by the system, θ * The extreme points where the system gradient is 0;

[0049] The purpose of this assumption is to ensure that the nonlinear system operates at θ = θ * There exists a maximum point at that location.

[0050] The following sections will explain two optimized extreme value search control algorithms: a perturbation-based extreme value control algorithm and a Newton-based extreme value control algorithm. These algorithms enable the system output to stabilize at the extreme point even when the system model knowledge related to h and f is unknown.

[0051] Step 2.1: Design a classic disturbance extremum controller. The specific control structure block diagram is as follows: Figure 3 As shown.

[0052] The basic idea of ​​classical perturbation extremum search control is to add a slow perturbation signal S(t) to the optimal value θ. * In the estimation, the disturbance signal S(t) is generally a periodic sine function. If the periodic disturbance signal is slow enough, the dynamic system (5) can be approximated as a static relationship. Furthermore, the dynamic characteristics of the system will not affect the extreme value search process. If the system's output signal y passes through a high-pass filter s / (s+w) h After modulation by the sinusoidal signal S(t), the DC component is eliminated. Then, after demodulation by the periodic sinusoidal signal S(t), the intermediate state variable ξ, containing system gradient information, is extracted. Finally, through the convergence and filtering of the integrator, the estimated system input value is driven. Towards the optimal value θ * Approximation. It's important to note that the filter's cutoff frequency must be lower than the frequency of the periodic disturbance signal, and the integrator's gain k needs to be very small. The entire feedback control system has three time scales: the system dynamics, including the stabilizer, are the fastest; the optimization process for the periodic disturbance signal is next; and the filter estimation part in the extremum search system is the slowest. In disturbance-based extremum search control, the entire closed-loop control system can be expressed by the following formula:

[0053]

[0054] in, Let θ be the estimated value of the system control input, a and k be positive constants, and let S(t) be a periodic sine function with frequency w. η represents an approximate estimate of the system gradient information, where η is a cutoff frequency of w. h A high-pass filter.

[0055] The basic idea of ​​classical perturbation extremum search control is to add a slow perturbation signal S(t) to the optimal value θ. * In the estimation, if the periodic disturbance signal S(t) is slow enough, the dynamic system (5) can be approximated as a static relationship. Furthermore, the dynamic characteristics of the system will not affect the extreme value search process. If the system's output signal y passes through a high-pass filter s / (s+w) h After modulation by the sinusoidal signal S(t), the DC component is eliminated. Then, after demodulation by the periodic sinusoidal signal S(t), the intermediate state variable ξ, containing system gradient information, is extracted. Finally, through the convergence and filtering of the integrator, the estimated system input value is driven. Towards the optimal value θ * Approaching;

[0056] The following section will explain in detail how the controller achieves extreme value convergence.

[0057] Assume that there exists a nonlinear static mapping relationship between the input and output of the system, such as y = f(θ), where f(·) is unknown, but there exists a unique maximum point y. * =f(θ) * Therefore, the system output can be rewritten as follows:

[0058]

[0059] The basic principle of the extreme value search controller is to make θ - θ * As the error term approaches zero, the system output y correspondingly gradually approaches its maximum value y. *By combining the periodic sinusoidal perturbation signal S(t) = sin(wt) with a high-pass filter, the gradient information of the system can be obtained.

[0060] Set the optimal estimated input value of the system Compared with the actual theoretical extreme input θ * The error between them is Then we have:

[0061]

[0062] Therefore, there is Substituting into equation (8), we get:

[0063]

[0064] Based on the basic trigonometric identity 2sin 2 (wt)=1-cos(2wt), equation (10) can be expanded as:

[0065]

[0066] The above output signal is passed through a high-pass filter to obtain signal y. h The DC component in the signal is removed, while the gradient information is preserved in the jitter harmonics:

[0067]

[0068] The signal is demodulated using a periodic perturbation signal S(t) through multiplication, and then combined with basic trigonometric identities to obtain the state variables containing gradient information. And it is expanded as follows:

[0069]

[0070] right By integrating, the optimal input estimate of the system can be obtained. Since the integrator also suppresses high-frequency signals, its function can be ignored. The high-frequency part and Square the term, and we get:

[0071]

[0072] Note that due to θ * Since it is a constant value, taking the derivative of equation (9) yields...

[0073]

[0074] As long as the controller design parameters k and a are both greater than zero, then kaf″ < 0, and the system is stable. Therefore, the optimal input estimate is... It will converge to the optimal input θ * Within a very small neighborhood.

[0075] Step 2.2: Design the Newton's extremum search controller. The specific control structure block diagram is as follows: Figure 4 As shown.

[0076] In traditional disturbance-based extreme value search controllers, the system input consists of control components. It is formed by superimposing the periodic disturbance signal S(t), which satisfies:

[0077]

[0078] Define S(t) as a periodic sine function:

[0079] S(t)=asin(wt) (17)

[0080] The disturbance signal S(t) is a periodic sine function with amplitude a and frequency w, respectively;

[0081] The system output y can then be transformed using a Taylor series expansion as follows:

[0082]

[0083] The output signal is filtered by a high-pass filter to remove the DC component, resulting in the filter's output component y. h (t); will y h Multiplying (t) by the demodulated signal M(t) yields a DC component that carries gradient information. The estimated value; by expanding equation (4), the demodulated signal M(t) is obtained as follows:

[0084]

[0085] After filtering the higher harmonics with a low-pass filter, the estimated value of the gradient signal is obtained. By closing the control loop using an integrator, the optimal steady-state output can be generated. The Newton extremum search control algorithm, based on the above method, introduces a Newton optimizer in the input extremum update process, thereby weakening the influence of the integrator gain k selection on the control effect and effectively realizing the adaptive gain process. In the Newton-based extremum search controller, the control component... It can be written as:

[0086]

[0087] To calculate the estimate of the Hessian matrix An additional demodulated signal N(t)∈R needs to be introduced, and its specific expression is as follows:

[0088]

[0089] The output component y of the high-pass filter h After multiplying the demodulated signal N(t) with the DC signal N(t), and then filtering it through a low-pass filter, the resulting DC signal converges to the estimated value of the Hessian matrix.

[0090]

[0091] Solving for the inverse matrix Γ of the Hessian matrix using the Riccati equation:

[0092]

[0093] Where w r Let be the frequency of the dynamic filter. The above equation has two equilibrium points. (Unstable) (Locally exponentially stable). Therefore, the solution to the Riccati equation can asymptotically converge to the inverse of the Hessian estimate, and can effectively avoid zero-crossing phenomena that may occur in the transient phase. By adjusting the parameter w r The value of can adjust the convergence speed of the Newton extremum search control algorithm to a certain extent without affecting the amplitude of steady-state oscillation, thus achieving adjustable convergence speed.

[0094] In summary, the specific form of the Newton's extremum search control algorithm is as follows:

[0095]

[0096] Step 3: Establish the extended state observer. The specific control structure block diagram is as follows: Figure 5 As shown.

[0097] The purpose of this step is to convert the reference optimal dilution rate trajectory D (i.e., θ) generated by the extreme value search module into the reference gas production trajectory y based on the available input and output data. d (t), and at the same time, the total disturbance caused by changes in the operating variables or external environment in the system is expanded into a new state variable, a feedback mechanism is established, and the extreme value search control structure is combined to observe the extreme value trajectory of the system output in real time to achieve the desired closed-loop performance, thus ensuring the robust stability of the system.

[0098] Since, based on the assumption that the hydrogen- and methanogenic two-phase anaerobic digestion system has only one unique extremum, its dynamic behavior can be approximated as a generalized single-input single-output second-order system with the following form:

[0099]

[0100] Where u is the system input, y is the measurable system output, w represents the external disturbance, f(·) represents the known or unknown system dynamics, including the nonlinear disturbances within the system, and b0 is the control gain. Based on the design method of the extended state observer, the total disturbance of the system (25) is defined as the state variable x3, which is used as the extended state variable and satisfies x3=f(·)+w. Therefore, the above system can be reconstructed as:

[0101]

[0102] Therefore, the following third-order linear extended state observer can be established:

[0103]

[0104] Where z1, z2, z3 represent the estimated values ​​of the system state variables x1, x2, x3, β1, β2, β3 represent the observer gains, and e1 = z1 - y is the observation error. Under unknown disturbance conditions, the extended state observer can be used to determine the desired extreme value input θ obtained from the extreme value control method. d =θesc, estimate the corresponding expected extreme value output trajectory y of the system. d (i.e., state x1), and the extended state observer does not depend on the specific form of the hydrogen- and methanogenic two-phase anaerobic digestion system, and has stronger adaptability and robustness compared to other observers.

[0105] Step 4: Design a model-free intelligent trajectory tracking controller based on the idea of ​​extreme locality model to realize extreme value trajectory tracking control.

[0106] In traditional active disturbance rejection control structures, when the extended state observer can observe the total disturbance of the system in real time, the following system control variables are designed to compensate for large disturbances in the system in real time, satisfying the following conditions:

[0107]

[0108] This leads to the desired closed-loop control system performance, achieving the goal of disturbance compensation. Typically, the state error feedback control law θ0 is designed using a PD-type controller or a sliding mode controller. This invention employs a model-free intelligent PID algorithm based on a local extreme model and time delay estimation, which offers higher convergence accuracy and faster convergence speed, further improving the system's control performance.

[0109] For a two-phase anaerobic digestion system producing hydrogen and methanogens, the following extreme local model can be established using the concept of extreme locality:

[0110] y (v) (t)=F(t)+αθ0(t) (29)

[0111] Where v is the order of the system output y, set to v = 1. F is a continuously updated and iterative lumped disturbance value, which can be regarded as the sum of known system dynamics, unmodeled system dynamics and uncertainties, and some external disturbances. α is an adjustable non-physical parameter to ensure αθ and y (v) The order of the anaerobic digestion process varies with the same order, and α is assumed to be constant in this paper. By using the local modeling method, the complex high-order anaerobic digestion process can be regarded as a "virtual object". Only the transient characteristics of the system are considered. The model parameters are continuously updated and iterated through input and output data, thereby realizing the order reduction of the system.

[0112] The form of the model-free intelligent tracking controller should satisfy:

[0113]

[0114] Where R(e) is a variable related to the error e(t) = y d The convergence term related to y(t)-y(t) is generally given by the classical PID control law, y d This represents the desired output trajectory. To avoid higher-order terms in the output, the coefficient of the integral term is typically set to zero. Therefore, the corresponding iPD control strategy can be obtained as follows:

[0115]

[0116] Combining the local model, the corresponding system process error satisfies:

[0117]

[0118] When there are no unknowns in the system, that is, the influence of F on the controller is eliminated, the model-free intelligent tracking controller degenerates into the form of the classic PD control algorithm.

[0119] Step 5: Design an interference compensation controller based on the time delay estimation algorithm to further compensate for unknown variables and unknown interference in the system.

[0120] In model-free intelligent tracking control algorithms, the estimation of the disturbance term F is a key factor. To achieve online estimation of the unknown disturbance F, a time delay estimation algorithm is introduced. According to the extreme local model (29), the unknown disturbance term F can be expressed as:

[0121] F(t) = y (v) (t)-αθ0(t) (33)

[0122] Since control-related information is lacking at the current time t, it cannot be directly used to estimate the unknown disturbance; that is, θ0(t) cannot be directly used to estimate F(t). The basic idea of ​​the time delay estimation algorithm is to actively introduce a small delay τ in the control structure design, and then use historical information about the control input and observations of the system response to simultaneously compensate for unknown dynamics, external disturbances, and other uncertainties in the process system. Assuming the disturbance F(t) is continuous and the time delay τ is sufficiently small, the disturbance term can be approximately estimated as:

[0123]

[0124] Therefore, a model-free intelligent tracking controller based on time delay estimation can be defined as:

[0125]

[0126] Based on the analysis in steps 4 and 5, combined with the expected gas production output trajectory estimated by the extended state observer, the specific control structure of the final composite intelligent model-free control optimization algorithm is as follows: Figure 6 As shown, the specific expression is:

[0127]

[0128] Example

[0129] Step 1: Build a simulation model of the hydrogen- and methanogenic two-phase anaerobic digestion system in Simulink. This includes specific mathematical models of the hydrogen bioreactor and the methane bioreactor.

[0130] Step 1.1: Establish a mathematical model for the hydrogen bioreactor:

[0131]

[0132] In the formula, D1 is the dilution rate in the hydrogen bioreactor, S0 is the concentration of lignocellulose substrate, S1 is the concentration of cellobiose substrate, X1 is the concentration of acid-producing bacteria, Pr1, But1, and Ac1 are the concentrations of propionic acid, butyric acid, and acetic acid in the hydrogen bioreactor, respectively, and Q is the concentration of acid-producing bacteria. H2 S0 represents the outflow rate of hydrogen gas. in Y represents the initial organic substrate concentration, β is the biodegradation coefficient, and Y... P Y1, Y Pr1 Y But1 Y Ac1 Y H2 All are yield coefficients. μ1 is the specific growth rate of acid-producing bacteria, using the following Monod-type growth function:

[0133]

[0134] Where, μ 1max k represents the maximum specific growth rate of acid-producing bacteria. S1 This represents the saturation coefficient of acid-producing bacteria.

[0135] Step 1.2: Establish a mathematical model for the methane bioreactor:

[0136]

[0137] In the formula, D2 is the dilution rate in the methane bioreactor, and X Pr X represents the concentration of propionate-degrading bacteria. But X represents the concentration of butyrate-degrading bacteria. Ac The concentration of methanogens is given by Pr2, But2, and Ac2, which represent the concentrations of propionic acid, butyric acid, and acetic acid in the methane bioreactor, respectively. Q represents the concentration of methanogens. CH4 Y represents the efflux rate of methane. Pr2 Y But2 Y Ac2 The yield coefficients Y for propionic acid, butyric acid, and acetic acid, respectively. CH4 The production coefficient for methane. Specific growth rates (μ) of propionic, butyric, and acetic acid bacteria. Pr μ But and μ Ac All functions use the Monod type as follows:

[0138]

[0139] Where, μ Prmax μ Butmax μ Acmax The maximum specific growth rates (k) of propionic acid, butyric acid, and acetic acid degrading bacteria, respectively. SPr k SBut k SAc These are the saturation coefficients of propionic acid, butyric acid, and acetic acid, respectively.

[0140] The hydrogen bioreactor and the methane bioreactor in the system are connected in a cascade manner. Assuming the volume ratio of the two bioreactors is K, the following conditions are met:

[0141] Table 1. Model parameters of the hydrogen- and methanogenic two-phase anaerobic digestion system.

[0142]

[0143]

[0144] Step 2: Establish an extreme value search controller. Both a disturbance-based extreme value control algorithm and a Newton-based extreme value control algorithm are used to predict the extreme value control input at the current moment.

[0145] Step 2.1: Establish a perturbation-based extreme value search controller.

[0146] Based on the Matlab / Simulink simulation platform, and building upon the model established in step 1, using the dilution rate as the control input and the total production of hydrogen and methane as the optimization objective, the following extreme value search controller is designed:

[0147]

[0148] The parameters of the relevant controller are set to k = 0.015, a = 0.01, w h =0.1, w=0.07.

[0149] Step 2.2: Establish an extreme value search controller based on Newton's algorithm.

[0150] To further illustrate the superiority of the algorithm designed in this invention, a comparison is made using the Newton extremum search control algorithm, and the following Newton-based extremum search controller is established:

[0151]

[0152] Where S(t), M(t), and N(t) are all periodic perturbation signals, specifically defined as follows:

[0153]

[0154] Other controller parameters are set as follows: k = 0.02, a = 0.01, w r =0.0001, w h =0.1, w=0.1.

[0155] Step 3: Establish an extended state observer.

[0156] Based on the available input and output data, the reference optimal dilution rate trajectory D (i.e., θ) generated by the extreme value search module is converted into a reference gas production trajectory y. d (t), and simultaneously, the total disturbance in the system caused by changes in the operated variables or the external environment is expanded into a new state variable to predict the process disturbance in real time. The following third-order linear extended state observer is established:

[0157]

[0158] Where z1, z2, z3 represent the estimated values ​​of the system state variables x1, x2, x3, β1, β2, β3 represent the observer gains, and e1 = z1 - y is the observation error.

[0159] To reduce the complexity of parameter tuning in the extended state observer and enable its wider application in more scenarios, the observer gain can be designed using the "3W" method, as follows:

[0160]

[0161] Where w0 is the controller bandwidth. This design ensures that all eigenvalues ​​of the observation system are negative and that there is only one adjustment parameter. In the extended state observer, the specific parameter values ​​are b0 = 0.5 and w0 = 5.

[0162] Step 4: Design a model-free intelligent trajectory tracking controller based on the idea of ​​extremely local models.

[0163] The following control variables are designed to compensate for large disturbances in the system in real time, satisfying the following requirements:

[0164]

[0165] The state error feedback control law θ0 is designed based on the model-free intelligent tracking control method, and its specific expression is as follows:

[0166]

[0167] Set controller parameter k p =0.5, k d =0.01

[0168] Step 5: Design an interference compensation controller based on the time delay estimation algorithm to further compensate for unknown variables and unknown interference in the system.

[0169] Based on the time delay estimation concept, the unknown disturbance F can be estimated online, and can be approximated as follows:

[0170]

[0171] Set the controller parameter α = 0.2.

[0172] The superiority of the proposed control structure is illustrated by considering variations in the input substrate concentration. The total simulation duration is 4000 hours, with an initial setting of S0. in =30g / dm 3 After 2000 hours, the substrate concentration increased to 40 g / dm³. 3 After another 1000 hours, it will decrease to 20 g / dm. 3To further illustrate the superiority of the control algorithm designed in this invention, comparative simulations were conducted using the Perturbation-based extremum seeking control (PESC) and the Newton-based extremum seeking control (NESC) method, respectively, and the Compound extremum seeking intelligent model-free control (CESIMFC) algorithm.

[0173] Figure 7 The output curve of the total gas production rate in a simulated hydrogen- and methanogenic two-phase anaerobic digestion system is shown below when the control algorithm of this invention uses a perturbation-based extreme value search controller. Figure 8 The control input curve of the dilution rate in a simulated two-phase anaerobic digestion system producing hydrogen and methanogens is shown for the control algorithm of this invention using a perturbation extremum search controller. The simulation results show that when the input substrate concentration varies greatly, a single perturbation extremum control is insufficient to track the system's extreme points. However, through the estimation function of the extended state observer, the control algorithm designed in this invention can effectively compensate for the attenuation problem caused by changes in operating conditions, while also appropriately improving the system's convergence speed and further optimizing the system's control performance.

[0174] Figure 9 The output curve of the total gas production rate in a simulated hydrogen- and methanogenic two-phase anaerobic digestion system is shown below when the control algorithm of this invention uses a Newton's extremum search controller. Figure 10 The diagram shows the control input curve of the dilution rate in a simulated two-phase anaerobic digestion system producing hydrogen and methanogens when the control algorithm of this invention uses a Newtonian extreme value search controller. The simulation results show that, under conditions of significant disturbance, compared to a single Newtonian extreme value control algorithm, the proposed composite intelligent model-free extreme value optimization control structure can further accelerate the system's convergence to the theoretical maximum point, improve steady-state tracking accuracy, and combine speed and stability, resulting in better control performance.

[0175] As can be seen from the above, whether combined with a disturbance-based extreme value search control algorithm or a Newton-based extreme value search control algorithm, the composite intelligent model-free extreme value optimization control structure adopted in this invention can quickly stabilize the total gas production rate at the theoretical maximum point in a short time. Compared with the effect of a single extreme value search control, it has a faster convergence speed and higher steady-state tracking accuracy, while enhancing the system's robustness to input disturbances. This verifies the effectiveness and versatility of the composite intelligent model-free extreme value optimization control structure.

Claims

1. A composite intelligent model-free extreme value optimization control method for a two-phase anaerobic digestion process involving hydrogen and methanogenesis, characterized in that, Includes the following steps: Step 1: Establish a mathematical model of a two-phase anaerobic digestion system for hydrogen and methane production, including kinetic process modeling of the hydrogen bioreactor and the methane bioreactor. Step 2: Design an extreme value estimation module based on the extreme value search control algorithm to predict the extreme value input trajectory, and generate the extreme value control input at the current moment by designing an extreme value control algorithm; Step 3: Establish an extended state observer. Based on the available input and output data, convert the reference optimal dilution rate trajectory generated by the extreme value search module into a reference gas production trajectory, and estimate the total system disturbance at the same time. Step 4: Design a model-free intelligent PID trajectory tracking controller. Based on the concept of extreme locality modeling, combine active disturbance rejection control algorithm and iPD algorithm to achieve extreme value trajectory tracking control; specifically including the following steps: In an active disturbance rejection control (ADCC) architecture, the total disturbance of the system can be observed in real time by an extended state observer. The following system control variables are designed to compensate for large disturbances in the system in real time, satisfying the following conditions: (19) To control the input, Represented as system state variables The estimated value, The control gain is used to design the state error feedback control law using a model-free intelligent PID algorithm based on a local extreme model and time delay estimation. For a two-phase anaerobic digestion system producing hydrogen and methanogens, the following extremely local model is established: (20) in, For system output The order of is set as , It is a continuously updated and iterative concentrated perturbation value. The form of the model-free intelligent tracking controller is constant and satisfies: (21) in It is related to error The relevant convergence terms are given by the PID control law. Given the desired output trajectory, and setting the integral term coefficient to zero, the corresponding IPD control strategy is as follows: (22) Combining the local model, the corresponding system process error satisfies: (23) Step 5: Design an interference compensation controller based on the time delay estimation algorithm to compensate for unknown variables and unknown interference in the system.

2. The method according to claim 1, characterized in that, Step 1, which involves establishing a mathematical model for a two-phase anaerobic digestion system producing hydrogen and methane, includes kinetic process modeling of the hydrogen bioreactor and the methane bioreactor. Specifically, this includes the following steps: Step 1.1: Establish a mathematical model for the hydrogen bioreactor: (1) in, This refers to the dilution rate in the hydrogen bioreactor. The concentration of lignocellulose substrate, This represents the concentration of cellobiose substrate. The concentration of acid-producing bacteria. , , These represent the concentrations of propionic acid, butyric acid, and acetic acid in the hydrogen bioreactor. Let be the outflow rate of hydrogen gas. This represents the initial organic substrate concentration. The biodegradability coefficient, , , , , , All are production coefficients. The specific growth rate of acid-producing bacteria is determined using the following Monod-type growth function: (2) in, This represents the maximum specific growth rate of acid-producing bacteria. The saturation coefficient of acid-producing bacteria; Step 1.2: Establish a mathematical model for the methane bioreactor: (3) in, This refers to the dilution rate in a methane bioreactor. The concentration of propionate-degrading bacteria. The concentration of butyrate-degrading bacteria. The concentration of methanogens, , , These represent the concentrations of propionic acid, butyric acid, and acetic acid in a methane bioreactor. The outflow rate of methane is given. , , These are the yield coefficients for propionic acid, butyric acid, and acetic acid, respectively. The production coefficient of methane, and the specific growth rates of propionic, butyric, and acetic acid bacteria. , and All functions use the Monod type as follows: (4) in, , , The maximum specific growth rates of propionic acid, butyric acid, and acetic acid degrading bacteria, respectively. , , These are the saturation coefficients of propionic acid, butyric acid, and acetic acid, respectively. The hydrogen bioreactor and the methane bioreactor in the system are connected in a cascade manner. Assume the volume ratio of the two bioreactors is... ,satisfy .

3. The method according to claim 2, characterized in that, Step 2 involves designing an extreme value estimation module based on an extreme value search control algorithm to predict the extreme value input trajectory. This includes the following steps: In a two-phase anaerobic digestion system producing hydrogen and methanogens, the dilution rate is specified as a control input. The total gas production rate is used as the system output. Assuming there exists a smooth control algorithm that makes the closed-loop system reach a unique extreme equilibrium point, then the static equations for the system input and output are... The following relationship exists: (6) Where H is the Hessian matrix output by the system. The corresponding extreme points where the system gradient is 0; extreme value control algorithms based on perturbation and Newton respectively, so that in and Even when the relevant system model knowledge is unknown, the system output can remain stable at the extreme point; Step 2.1: Design a classic disturbance extremum controller: In disturbance-based extremum search control, the entire closed-loop control system is expressed by the following formula: (7) in, For system control input The estimated value, Normal values, disturbance signal For frequency A periodic sine function, This is an approximate estimate of the system gradient information. Characterizing a cutoff frequency is High-pass filter; Step 2.2: Design a Newton's extremum search controller: In a disturbance-based extreme value search controller, the system input consists of control components. and periodic disturbance signal The superposition satisfies: (8) Among them, disturbance signal The amplitude and frequency are respectively A periodic sine function that satisfies: (9) Then the system output It can be transformed by Taylor series expansion as follows: (10) The output signal is obtained by filtering out the DC component using a high-pass filter. ,Will Multiply by the demodulated signal The resulting DC component carries gradient information. The estimated value, demodulated signal for: (11) Use a low-pass filter After filtering the higher harmonics, the estimated value of the gradient signal is obtained. By using an integrator to close the control loop, the optimal steady-state output is generated. The Newton extremum search control algorithm, based on the above method, introduces a Newton optimizer into the input extremum update process. In the Newton-based extremum search controller, the control component... Can be written as: (12) To calculate the estimate of the Hessian matrix Introducing an additional demodulated signal Its specific expression is: (13) High-pass filter output components demodulated signal After multiplication and filtering by a low-pass filter, the final separated DC signal converges to the estimated value of the Hessian matrix. (14) Solving for the inverse of the Hessian matrix using a dynamic filter in the form of the Riccati equation. : (15) in The frequency of this dynamic filter; the above equation has two equilibrium points. , Therefore, the solution to the Riccati equation asymptotically converges to the inverse of the Hessian estimate by adjusting the parameters. The value of is used to adjust the convergence speed of the Newton's extremum search control algorithm.

4. The method according to claim 3, characterized in that, Step 3 establishes the extended state observer, which specifically includes the following steps: Based on the available input and output data, the reference optimal dilution rate trajectory generated by the extreme value search module will be used. Converted to reference gas production trajectory Simultaneously, the total disturbance caused by changes in the operating variables or the external environment is expanded into a new state variable, a feedback mechanism is established, and the extreme value search control structure is combined to observe the extreme value trajectory of the system output in real time to achieve the desired closed-loop performance. Since, according to the assumption, the hydrogen-producing and methanogenic two-phase anaerobic digestion system has only one unique extreme point, its dynamic behavior can be approximated as a generalized single-input single-output second-order system with the following form: (16) in For the system input, For measurable system output, This is represented as an external disturbance. This represents the known or unknown system dynamics, including nonlinear disturbances within the system. It is the control gain, based on the design method of the extended state observer, which defines the total disturbance of the system (16) as the state variable. As an expansion state quantity, it satisfies Therefore, the above system can be reconfigured as follows: (17) Therefore, the following third-order linear extended state observer can be established: (18) in, Represented as system state variables The estimated value, Indicates the observer gain. To mitigate observation errors, under unknown disturbance conditions, the desired extreme value input obtained from the extreme value control method can be obtained using an extended state observer. Estimate the corresponding expected extreme value output trajectory of the system. .

5. The method according to claim 1, characterized in that, Step 5 describes designing an interference compensation controller based on a time delay estimation algorithm to compensate for unknown variables and unknown interference in the system. This specifically includes the following steps: Unknown disturbance term Represented as: (24) Delay estimation algorithms actively introduce a delay into the control structure design. Assuming the disturbance amount It is continuous and time-delayed. If it is small enough, the disturbance term can be approximated as: (25) Therefore, model-free intelligent tracking controller Given by the following expression: (26)。 6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the method as described in any one of claims 1-5.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the steps of the method as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Extreme value search optimization active-disturbance-rejection control method of electro-hydraulic servo system

    CN113189880A