CN117784590A - PID control method and system for microbial fuel cell - Google Patents
PID control method and system for microbial fuel cell Download PDFInfo
- Publication number
- CN117784590A CN117784590A CN202410216837.3A CN202410216837A CN117784590A CN 117784590 A CN117784590 A CN 117784590A CN 202410216837 A CN202410216837 A CN 202410216837A CN 117784590 A CN117784590 A CN 117784590A
- Authority
- CN
- China
- Prior art keywords
- fuel cell
- microbial fuel
- pid control
- parameters
- pid
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000000813 microbial effect Effects 0.000 title claims abstract description 141
- 239000000446 fuel Substances 0.000 title claims abstract description 137
- 238000000034 method Methods 0.000 title claims abstract description 42
- 239000012895 dilution Substances 0.000 claims abstract description 13
- 238000010790 dilution Methods 0.000 claims abstract description 13
- 239000000243 solution Substances 0.000 claims description 20
- 239000003016 pheromone Substances 0.000 claims description 13
- 238000013178 mathematical model Methods 0.000 claims description 12
- 238000005457 optimization Methods 0.000 claims description 9
- 239000000758 substrate Substances 0.000 claims description 9
- 238000003860 storage Methods 0.000 claims description 5
- QTBSBXVTEAMEQO-UHFFFAOYSA-M Acetate Chemical compound CC([O-])=O QTBSBXVTEAMEQO-UHFFFAOYSA-M 0.000 claims description 3
- 238000010276 construction Methods 0.000 claims description 3
- GPRLSGONYQIRFK-UHFFFAOYSA-N hydron Chemical compound [H+] GPRLSGONYQIRFK-UHFFFAOYSA-N 0.000 claims description 3
- 239000011159 matrix material Substances 0.000 claims description 3
- 238000005070 sampling Methods 0.000 claims description 3
- 238000004590 computer program Methods 0.000 claims 2
- 244000005700 microbiome Species 0.000 description 9
- 230000003993 interaction Effects 0.000 description 4
- 230000005611 electricity Effects 0.000 description 3
- 239000002803 fossil fuel Substances 0.000 description 3
- WQZGKKKJIJFFOK-GASJEMHNSA-N Glucose Natural products OC[C@H]1OC(O)[C@H](O)[C@@H](O)[C@@H]1O WQZGKKKJIJFFOK-GASJEMHNSA-N 0.000 description 2
- 241000282414 Homo sapiens Species 0.000 description 2
- 241000257303 Hymenoptera Species 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 2
- 239000008103 glucose Substances 0.000 description 2
- 239000012528 membrane Substances 0.000 description 2
- 230000002906 microbiologic effect Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 239000002351 wastewater Substances 0.000 description 2
- 239000010405 anode material Substances 0.000 description 1
- QVGXLLKOCUKJST-UHFFFAOYSA-N atomic oxygen Chemical compound [O] QVGXLLKOCUKJST-UHFFFAOYSA-N 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000003054 catalyst Substances 0.000 description 1
- 239000010406 cathode material Substances 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000002485 combustion reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000005518 electrochemistry Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000003912 environmental pollution Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- -1 however Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000001301 oxygen Substances 0.000 description 1
- 229910052760 oxygen Inorganic materials 0.000 description 1
- 238000010248 power generation Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 241000894007 species Species 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/30—Hydrogen technology
- Y02E60/50—Fuel cells
Landscapes
- Fuel Cell (AREA)
Abstract
The invention belongs to the technical field of energy control, and particularly relates to a PID control method and system of a microbial fuel cell, wherein the PID control method comprises the following steps: acquiring parameters of a microbial fuel cell; constructing a PID controller of the microbial fuel cell according to the acquired parameters; and controlling the dilution ratio of the microbial fuel cell based on the input of the controller constructed by the time delay estimation and the PID control, optimizing the parameters of the constructed PID controller by adopting an improved ant colony algorithm to obtain the maximum output voltage of the microbial fuel cell, and completing the PID control on the microbial fuel cell.
Description
Technical Field
The invention belongs to the technical field of energy control, and particularly relates to a PID control method and system of a microbial fuel cell.
Background
The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art.
Microbial fuel cells are a new energy technology that utilizes microorganisms in wastewater as catalysts to convert chemical energy of organic matters in wastewater into electric energy. At present, the energy supply required by human beings mainly comes from the combustion of fossil fuels, however, fossil fuels in nature are limited, and the transitional use of fossil fuels can not only cause energy crisis, but also inevitably cause the problem of environmental pollution. Therefore, human beings are very urgent to find a new green renewable energy source, so research on microbial fuel cells is advantageous to solve the above problems.
The internal reactions of microbial fuel cells are very complex, involving multiple disciplines of microbiology, electrochemistry, control, materials, etc. The internal structure of the double-chamber microbial fuel cell with high power generation efficiency consists of an anode, a cathode and a proton exchange membrane between the anode and the cathode. When the substrate of the microbial fuel cell is glucose, the microorganisms of the anode oxidize and decompose the glucose to generate protons and electrons, the protons are transferred to the cathode through the proton exchange membrane, the electrons reach the cathode through an external circuit, and meanwhile, the electrons release electric energy through the external circuit, and the electrons are combined with oxygen at the cathode to generate water.
The current use of microbial fuel cells is in the laboratory stage; the choice and control of the type of anode and cathode materials and the electricity-producing microorganisms are all important factors affecting the electricity production of microbial fuel cells. To the inventors' knowledge, microbial fuel cells are in fact a complex class of nonlinear systems, and the electrical performance is affected by a number of external factors as well as internal factors such as interactions between microorganisms within the microbial fuel cell. The microbial fuel cell has low electricity generation speed, unstable output voltage, and is easily affected by internal and external uncertainty factors, and how to realize the control of the output voltage of the microbial fuel cell by controlling the input of the microbial fuel cell and the change of the substrate concentration is a problem to be solved.
Disclosure of Invention
In order to solve the above problems, the present invention provides a PID control method and system for a microbial fuel cell, which controls the input of the microbial fuel cell by PID, optimizes PID parameters by using an improved ant colony algorithm, and counteracts external disturbance of the microbial fuel cell and the influence of interactions between various microorganisms inside the microbial fuel cell by using time delay estimation, so that the microbial fuel cell rapidly and stably generates a maximum output voltage.
According to some embodiments, the first aspect of the present invention provides a PID control method of a microbial fuel cell, which adopts the following technical scheme:
a PID control method of a microbial fuel cell, comprising:
acquiring parameters of a microbial fuel cell;
constructing a PID controller of the microbial fuel cell according to the acquired parameters;
and controlling the dilution ratio of the microbial fuel cell based on the input of the controller constructed by the time delay estimation and the PID control, optimizing the parameters of the constructed PID controller by adopting an improved ant colony algorithm to obtain the maximum output voltage of the microbial fuel cell, and completing the PID control on the microbial fuel cell.
As a further technical limitation, the reference value of the state is set asThen->,/>Then, the error dynamics are: />,/>Is a constant matrix; the control input is selected to be +.>Wherein->,/>Is->Can be expressed asWherein L is the sampling period, when L is infinitely small, then +.>The method comprises the steps of carrying out a first treatment on the surface of the At this time, control input。
As a further technical limitation, optimizing parameters of the constructed PID controller by adopting an improved ant colony algorithm, specifically, encoding the parameters of the PID controller by binary numbers, dividing an initial population into a plurality of sub-populations which are equal in size and in which pheromones cannot be communicated, respectively carrying out path selection and iteration of each sub-population in different modes, merging the sub-populations after the sub-populations reach the maximum iteration times, carrying out the pheromone communication of the merged sub-populations, and continuously carrying out normal optimizing operation of the ant colony algorithm on the sub-populations, wherein the maximum iteration times is set to be 100; obtaining an optimal solution Z, wherein the output voltage of the corresponding microbial fuel cell is f (Z), and a plurality of new solutions Z are randomly generated 1 ,Z 2 ,…Z n Where n is a finite value. At this time, the corresponding output voltage is f (Z 1 ),f(Z 2 ),…,f(Z n ) The method comprises the steps of carrying out a first treatment on the surface of the F (Z) and f (Z) 1 ),f(Z 2 ),…,f(Z n ) In contrast, if f (Z) is maximum, x=z, f (X) =f (Z); otherwise, the maximum f (Z q ) Q is [1, n ]]I.e. x=z q , f(X)=f(Z q ) Then, in a new solution Z q And the old solution Z is the upper and lower bounds of the local optimization range, the ant colony optimization algorithm is utilized to perform local optimization, and the optimal solution X=Z is output a ,f(X)=f(Z a ) A is [1, n ]]The method comprises the steps of carrying out a first treatment on the surface of the And when the set maximum iteration number reaches 100, outputting an optimal solution to obtain the optimal PID control parameters of the microbial fuel cell.
As a further technical definition, prior to constructing the PID controller of the microbial fuel cell, a mathematical model of the microbial fuel cell is obtained from the obtained microbial fuel cell parameters, and the total voltage of the microbial fuel cell is obtained from the obtained mathematical model of the microbial fuel cell.
As a further technical definition, the microbial fuel cell parameters in the constructed mathematical model of the microbial fuel cell are analyzed according to the obtained total voltage of the microbial fuel cell, so as to obtain the time delay estimation and the PID controller of the microbial fuel cell.
Further, according to the obtained mathematical model and time delay estimation of the microbial fuel cell and the PID controller, an expression of the dilution ratio of the microbial fuel cell is obtained; and controlling the state of the microbial fuel cell by controlling the dilution ratio.
As a further technical definition, the acquired microbial fuel cell parameters include at least substrate concentration, microbial content, acetate concentration, hydrogen ion concentration, microbial growth rate, and substrate utilization in the microbial fuel cell.
According to some embodiments, a second aspect of the present invention provides a PID control system of a microbial fuel cell, which adopts the following technical scheme:
a PID control system for a microbial fuel cell, comprising:
an acquisition module configured to acquire microbial fuel cell parameters;
a construction module configured to construct a PID controller of the microbial fuel cell according to the acquired parameters;
and the control module is configured to control the dilution rate of the microbial fuel cell based on the delay estimation and the input of a controller constructed by PID control, optimize the parameters of the constructed PID controller by adopting an improved ant colony algorithm, obtain the maximum output voltage of the microbial fuel cell and finish the PID control of the microbial fuel cell.
According to some embodiments, a third aspect of the present invention provides a computer-readable storage medium, which adopts the following technical solutions:
a computer-readable storage medium having stored thereon a program which, when executed by a processor, implements the steps in the PID control method of a microbial fuel cell according to the first aspect of the present invention.
According to some embodiments, a fourth aspect of the present invention provides an electronic device, which adopts the following technical solutions:
an electronic device comprising a memory, a processor and a program stored on the memory and running on the processor, the processor implementing the steps in the PID control method of a microbial fuel cell according to the first aspect of the present invention when executing the program.
Compared with the prior art, the invention has the beneficial effects that:
the invention uses the time delay estimation and the PID controller to control the input of the microbial fuel cell, uses the improved ant colony algorithm to optimize the PID parameter, and uses the time delay estimation to offset the external disturbance of the microbial fuel cell and the interaction among various microorganisms in the microbial fuel cell, so that the microbial fuel cell can quickly and stably generate the maximum output voltage.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments and are incorporated in and constitute a part of this specification, illustrate and explain the embodiments and together with the description serve to explain the embodiments.
FIG. 1 is a flow chart of a PID control method of a microbial fuel cell according to a first embodiment of the invention;
FIG. 2 is a flow chart of inputs constructed based on delay estimation and PID controllers in accordance with a first embodiment of the invention;
FIG. 3 is a flowchart of optimizing parameters of a PID controller based on an improved ant colony algorithm according to an embodiment of the invention;
fig. 4 is a block diagram of the PID control system of the microbial fuel cell according to the second embodiment of the present invention.
Detailed Description
The invention will be further described with reference to the drawings and examples.
It should be noted that the following detailed description is exemplary and is intended to provide further explanation of the present application. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of exemplary embodiments according to the present invention. As used herein, the singular is also intended to include the plural unless the context clearly indicates otherwise, and furthermore, it is to be understood that the terms "comprises" and/or "comprising" when used in this specification are taken to specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof.
In the present invention, terms such as "upper", "lower", "left", "right", "front", "rear", "vertical", "horizontal", "side", "bottom", etc. refer to an orientation or a positional relationship based on that shown in the drawings, and are merely relational terms, which are used for convenience in describing structural relationships of various components or elements of the present invention, and do not denote any one of the components or elements of the present invention, and are not to be construed as limiting the present invention.
In the present invention, terms such as "fixedly attached," "connected," "coupled," and the like are to be construed broadly and refer to either a fixed connection or an integral or removable connection; can be directly connected or indirectly connected through an intermediate medium. The specific meaning of the terms in the present invention can be determined according to circumstances by those skilled in the art or relevant scientific research and is not to be construed as limiting the invention.
Embodiments of the invention and features of the embodiments may be combined with each other without conflict.
Example 1
The embodiment of the invention introduces a PID control method of a microbial fuel cell.
A PID control method of a microbial fuel cell as shown in fig. 1, comprising:
a PID control method of a microbial fuel cell, comprising:
acquiring parameters of a microbial fuel cell;
constructing a PID controller of the microbial fuel cell according to the acquired parameters;
and controlling the dilution ratio of the microbial fuel cell based on the input of the controller constructed by the time delay estimation and the PID control, optimizing the parameters of the constructed PID controller by adopting an improved ant colony algorithm to obtain the maximum output voltage of the microbial fuel cell, and completing the PID control on the microbial fuel cell.
As one or more embodiments, prior to constructing the PID controller of the microbial fuel cell, a mathematical model of the microbial fuel cell is obtained from the obtained microbial fuel cell parameters, i.e.
;
;
;
;
Wherein state x 1 ,x 2 ,x 3 ,x 4 Respectively represents the substrate concentration, the microorganism content, the acetate concentration and the hydrogen ion concentration, and、/>,/>representing unknown microbiological dynamics in a microbiological fuel cell,/->Is a disturbance input, +.>Represents maximum substrate utilization,/->Represents the maximum microorganism growth rate, Q represents the half-saturation constant; n represents an initial substrate concentration value, b represents a microbial attenuation coefficient, and u represents a dilution ratio of the microbial fuel cell. Thus, only state x is needed 1 ,x 2 And the analysis is carried out, so that the control of the output voltage can be completed.
State x in mathematical model for microbial fuel cell 1 ,x 2 Analysis is performed such that x= [ x ] 1 ,x 2 ] T At this point, the mathematical model of the nonlinear microbial fuel cell can be converted into:
;
wherein,=/>,/>,,/>the method comprises the steps of carrying out a first treatment on the surface of the Then->The method comprises the steps of carrying out a first treatment on the surface of the Which is a kind ofIn (I)>。
As shown in fig. 2, the state of the microbial fuel cell is controlled by controlling the dilution ratio u, so that the state is quickly stabilized to reach a desired value, and the microbial fuel cell is quickly generated with a stable output voltage, and the reference value of the state is set asThen->,/>Then, the error dynamics are: />,/>Is a constant matrix; the control input is selected to be +.>Wherein->,/>Is->Can be expressed asWherein L is the sampling period, when L is infinitely small, then +.>The method comprises the steps of carrying out a first treatment on the surface of the At this time, control input。
As one or more embodiments, the present example optimizes parameters of the constructed PID controller using the modified ant colony algorithm as shown in fig. 3, to achieve maximum power output of the microbial fuel cell.
In the embodiment, in the initial stage, the initial population number is set to be 40, 40 binary character strings are generated according to a random method, the heuristic factor is set to be 2, the pheromone volatilization factor is set to be 0.5, and the pheromone factor is set to be 2; the population is divided into three sub-populations with the same size, the three populations generate respective pheromones, different species cannot be mutually identified, and the three populations are optimized in different modes.
Population one: information such as pheromone, heuristic factors and the like in a normal ant colony algorithm is adopted for optimizing.
Population II: while taking information such as pheromone, heuristic factors and the like into consideration for path selection, a new mechanism is introduced, namely, when each ant makes path selection, the method comprises the following steps ofRandom movement is carried out on the probability of (2); where T represents the current iteration number and T represents the maximum iteration number. As the algorithm iterates, t increases, resulting in +.>The value of (2) gradually decreases.
Population III: in the process of path selection, ants consider information such as pheromones and heuristic factors. At the same time, a randomly generated probability P is introduced. When P is larger than 0.5, the ant updates the path according to the normal ant colony algorithm, namely, the ant guides the ant according to the pheromone concentration and the heuristic factor. When P is smaller than 0.5, ants choose to randomly move, and are not constrained by pheromones and heuristic factors.
And taking the output voltage of the microbial fuel cell as a cost function, wherein the maximum iteration number is 100, and when the maximum iteration number is reached, combining the three sub-populations and intercommunicating the pheromones. The normal optimizing operation of the ant colony algorithm is continued to the population,setting the maximum iteration number as 100; obtaining an optimal solution Z, wherein the output voltage of the corresponding microbial fuel cell is f (Z), and a plurality of new solutions Z are randomly generated 1 ,Z 2 ,…Z n Where n is a finite value. At this time, the corresponding output voltage is f (Z 1 ),f(Z 2 ),…,f(Z n ) The method comprises the steps of carrying out a first treatment on the surface of the F (Z) and f (Z) 1 ),f(Z 2 ),…,f(Z n ) In contrast, if f (Z) is maximum, x=z, f (X) =f (Z); otherwise, the maximum f (Z q ) Q is [1, n ]]I.e. x=z q , f(X)=f(Z q ) Then, in a new solution Z q And the old solution Z is the upper and lower bounds of the local optimization range, the ant colony optimization algorithm is utilized to perform local optimization, and the optimal solution X=Z is output a ,f(X)=f(Z a ) A is [1, n ]]The method comprises the steps of carrying out a first treatment on the surface of the When the set maximum iteration number 100 is reached, the optimal solution is output. At this time, the microbial fuel cell is realized at the maximum power output.
The embodiment optimizes PID parameters by using an improved ant colony algorithm through time delay estimation and PID control of the input of the microbial fuel cell, and counteracts the influence of external disturbance of the microbial fuel cell and interaction among various microorganisms inside the microbial fuel cell by using the time delay estimation, so that the microbial fuel cell can quickly and stably generate the maximum output voltage.
Example two
The second embodiment of the invention introduces a PID control system of a microbial fuel cell.
A PID control system of a microbial fuel cell as shown in fig. 4, comprising:
an acquisition module configured to acquire microbial fuel cell parameters;
a construction module configured to construct a PID controller of the microbial fuel cell according to the acquired parameters;
and the control module is configured to control the dilution rate of the microbial fuel cell based on the delay estimation and the input of a controller constructed by PID control, optimize the parameters of the constructed PID controller by adopting an improved ant colony algorithm, obtain the maximum output voltage of the microbial fuel cell and finish the PID control of the microbial fuel cell.
The detailed steps are the same as those of the PID control method of the microbial fuel cell provided in the first embodiment, and will not be described herein.
Example III
The third embodiment of the invention provides a computer readable storage medium.
A computer-readable storage medium having stored thereon a program which, when executed by a processor, implements the steps in a PID control method of a microbial fuel cell according to the first embodiment of the present invention.
The detailed steps are the same as those of the PID control method of the microbial fuel cell provided in the first embodiment, and will not be described herein.
Example IV
The fourth embodiment of the invention provides electronic equipment.
An electronic device comprising a memory, a processor and a program stored on the memory and running on the processor, wherein the processor implements the steps in the PID control method of a microbial fuel cell according to the first embodiment of the present invention when executing the program.
The detailed steps are the same as those of the PID control method of the microbial fuel cell provided in the first embodiment, and will not be described herein.
The above description is only a preferred embodiment of the present embodiment, and is not intended to limit the present embodiment, and various modifications and variations can be made to the present embodiment by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present embodiment should be included in the protection scope of the present embodiment.
Claims (10)
1. A PID control method of a microbial fuel cell, comprising:
acquiring parameters of a microbial fuel cell;
constructing a PID controller of the microbial fuel cell according to the acquired parameters;
and controlling the dilution ratio of the microbial fuel cell based on the input of the controller constructed by the time delay estimation and the PID control, optimizing the parameters of the constructed PID controller by adopting an improved ant colony algorithm to obtain the maximum output voltage of the microbial fuel cell, and completing the PID control on the microbial fuel cell.
2. The PID control method of a microbial fuel cell according to claim 1, wherein a reference value of a state is set based on a mathematical model of a microbial fuel cell system asThen->,/>Then, the error dynamics are: />,/>Is a constant matrix; the control input is selected to be +.>Wherein,/>Is->Can be expressed asWherein L is the sampling period, when L is infinitely small, then +.>The method comprises the steps of carrying out a first treatment on the surface of the At this time, control input。
3. The PID control method of a microbial fuel cell as claimed in claim 1, wherein the parameters of the constructed PID controller are optimized by adopting an improved ant colony algorithm, specifically, the parameters of the PID controller are encoded by binary numbers, an initial population is divided into a plurality of sub-populations which are equal in size and in which pheromones cannot be communicated, path selection and iteration of each sub-population are respectively carried out in different ways, the sub-populations are combined after the sub-populations reach the maximum iteration times, the pheromones of the combined sub-populations are communicated, normal optimizing operation of the ant colony algorithm is continued on the sub-populations, and the maximum iteration times are set as 100; obtaining an optimal solution Z, wherein the output voltage of the corresponding microbial fuel cell is f (Z), and a plurality of new solutions Z are randomly generated 1 ,Z 2 ,…Z n Wherein n is a finite value; the corresponding output voltage is f (Z 1 ),f(Z 2 ),…,f(Z n ) The method comprises the steps of carrying out a first treatment on the surface of the F (Z) and f (Z) 1 ),f(Z 2 ),…,f(Z n ) In contrast, if f (Z) is maximum, x=z, f (X) =f (Z); otherwise, the maximum f (Z q ) Q is [1, n ]]I.e. x=z q , f(X)=f(Z q ) Then, in a new solution Z q And the old solution Z is the upper and lower bounds of the local optimization range, the ant colony optimization algorithm is utilized to perform local optimization, and the optimal solution X=Z is output a ,f(X)=f(Z a ) A is [1, n ]]The method comprises the steps of carrying out a first treatment on the surface of the And when the set maximum iteration number reaches 100, outputting an optimal solution to obtain the optimal PID control parameters of the microbial fuel cell.
4. A PID control method of a microbial fuel cell as claimed in claim 1, characterized in that a mathematical model of the microbial fuel cell is obtained from the obtained parameters of the microbial fuel cell, and the total voltage of the microbial fuel cell is obtained from the obtained mathematical model of the microbial fuel cell, before the PID controller of the microbial fuel cell is constructed.
5. The PID control method of a microbial fuel cell as claimed in claim 4, wherein the time delay estimation and PID controller of the constructed mathematical model of the microbial fuel cell are obtained by analyzing the parameters of the microbial fuel cell according to the obtained total voltage of the microbial fuel cell.
6. The PID control method of a microbial fuel cell as claimed in claim 5, wherein an expression of the dilution ratio of the microbial fuel cell is obtained based on the obtained mathematical model and time delay estimation of the microbial fuel cell and the PID controller; and controlling the state of the microbial fuel cell by controlling the dilution ratio.
7. A method of PID control of a microbial fuel cell as claimed in claim 1, characterized in that the obtained microbial fuel cell parameters comprise at least the substrate concentration, the microbial content, the acetate concentration, the hydrogen ion concentration, the microbial growth rate and the substrate utilization rate in the microbial fuel cell.
8. A PID control system of a microbial fuel cell, comprising:
an acquisition module configured to acquire microbial fuel cell parameters;
a construction module configured to construct a PID controller of the microbial fuel cell according to the acquired parameters;
and the control module is configured to control the dilution rate of the microbial fuel cell based on the delay estimation and the input of a controller constructed by PID control, optimize the parameters of the constructed PID controller by adopting an improved ant colony algorithm, obtain the maximum output voltage of the microbial fuel cell and finish the PID control of the microbial fuel cell.
9. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, realizes the steps of the PID control method of a microbial fuel cell according to any one of claims 1-7.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and running on the processor, characterized in that the processor implements the steps of the PID control method of a microbial fuel cell according to any of claims 1-7 when executing the program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410216837.3A CN117784590B (en) | 2024-02-28 | 2024-02-28 | PID control method and system for microbial fuel cell |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410216837.3A CN117784590B (en) | 2024-02-28 | 2024-02-28 | PID control method and system for microbial fuel cell |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117784590A true CN117784590A (en) | 2024-03-29 |
CN117784590B CN117784590B (en) | 2024-05-10 |
Family
ID=90402189
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410216837.3A Active CN117784590B (en) | 2024-02-28 | 2024-02-28 | PID control method and system for microbial fuel cell |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117784590B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040137294A1 (en) * | 2003-01-13 | 2004-07-15 | Kolodziej Jason R. | H-infinity control with integrator compensation for anode pressure control in a fuel cell stack |
CN112563541A (en) * | 2020-12-11 | 2021-03-26 | 昆明理工大学 | Fuel cell cathode pressure control method for improving particle swarm PID |
EP3868624A1 (en) * | 2020-02-21 | 2021-08-25 | Baidu USA LLC | Method and system for actuating a control substem of an autonomous driving vehicle |
CN113341689A (en) * | 2021-04-29 | 2021-09-03 | 中国人民解放军海军工程大学 | Improved micro gas turbine fuzzy PID control method based on optimization algorithm |
CN113359436A (en) * | 2021-05-13 | 2021-09-07 | 齐鲁工业大学 | T-S fuzzy performance-guaranteeing control method and system for microbial fuel cell |
CN115629537A (en) * | 2022-12-22 | 2023-01-20 | 南京净环热冶金工程有限公司 | Heating furnace combustion control method and system based on subgroup improved particle swarm optimization PID |
CN117518780A (en) * | 2023-12-04 | 2024-02-06 | 陕西旭氢时代科技有限公司 | Fuel cell cogeneration system control method based on simulation model |
-
2024
- 2024-02-28 CN CN202410216837.3A patent/CN117784590B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040137294A1 (en) * | 2003-01-13 | 2004-07-15 | Kolodziej Jason R. | H-infinity control with integrator compensation for anode pressure control in a fuel cell stack |
EP3868624A1 (en) * | 2020-02-21 | 2021-08-25 | Baidu USA LLC | Method and system for actuating a control substem of an autonomous driving vehicle |
CN112563541A (en) * | 2020-12-11 | 2021-03-26 | 昆明理工大学 | Fuel cell cathode pressure control method for improving particle swarm PID |
CN113341689A (en) * | 2021-04-29 | 2021-09-03 | 中国人民解放军海军工程大学 | Improved micro gas turbine fuzzy PID control method based on optimization algorithm |
CN113359436A (en) * | 2021-05-13 | 2021-09-07 | 齐鲁工业大学 | T-S fuzzy performance-guaranteeing control method and system for microbial fuel cell |
CN115629537A (en) * | 2022-12-22 | 2023-01-20 | 南京净环热冶金工程有限公司 | Heating furnace combustion control method and system based on subgroup improved particle swarm optimization PID |
CN117518780A (en) * | 2023-12-04 | 2024-02-06 | 陕西旭氢时代科技有限公司 | Fuel cell cogeneration system control method based on simulation model |
Non-Patent Citations (3)
Title |
---|
焦斌;: "基于改进粒子群优化算法的比例―积分―微分控制器", 上海电机学院学报, no. 05, 30 October 2006 (2006-10-30) * |
蒋中: "遗传算法在PID参数优化中的应用", 安徽建筑工业学院学报, no. 01, 20 March 2000 (2000-03-20) * |
邱占芝: "基于神经网络的PID网络化控制系统建模与仿真", 《系统仿真学报》, vol. 30, no. 4, 30 April 2018 (2018-04-30), pages 1424 - 1429 * |
Also Published As
Publication number | Publication date |
---|---|
CN117784590B (en) | 2024-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Patel et al. | Parametrized control-oriented mathematical model and adaptive backstepping control of a single chamber single population microbial fuel cell | |
CN106654319B (en) | A kind of PEMFC system temperature modeling method based on mutation particle swarm and differential evolution hybrid algorithm | |
Logan | Exoelectrogenic bacteria that power microbial fuel cells | |
Najafpour et al. | The enhancement of a microbial fuel cell for electrical output using mediators and oxidizing agents | |
CN102931424A (en) | Fuel battery | |
Zhang et al. | Application of coRNA-GA based RBF-NN to model proton exchange membrane fuel cells | |
Miao et al. | Metamodel based design optimization approach in promoting the performance of proton exchange membrane fuel cells | |
Koók et al. | Directions of membrane separator development for microbial fuel cells: A retrospective analysis using frequent itemset mining and descriptive statistical approach | |
Alrewq et al. | Investigation into the characteristics of proton exchange membrane fuel cell‐based power system | |
Zhang et al. | Parameter identification of proton exchange membrane fuel cell based on swarm intelligence algorithm | |
CN113359436B (en) | T-S fuzzy protection performance control method and system of microbial fuel cell | |
CN117784590B (en) | PID control method and system for microbial fuel cell | |
Su et al. | Rigdelet neural networks-based maximum power point tracking for a PEMFC connected to the network with interleaved boost converter optimized by improved satin bowerbird optimization | |
Rittmann et al. | Understanding the distinguishing features of a microbial fuel cell as a biomass-based renewable energy technology | |
Yewale et al. | Dynamic analysis and multiple model control of continuous microbial fuel cell (CMFC) | |
Aimin et al. | Dynamic performance analysis and neural network predictive control of microbial fuel cell | |
CN114970192A (en) | Multi-target intelligent control method for fuel cell system | |
Yewale et al. | Dynamic analysis and split range control for maximization of operating range of continuous microbial fuel cell | |
Luo et al. | Model reference adaptive control for microbial fuel cell (MFC) | |
Capodaglio et al. | Formulation And Preliminary Application Of An Integrated Model Of Microbial Fuel Cell Processes. | |
Monier et al. | Microbial Fuel Cells: From biomass (waste) to electricity | |
Guo et al. | Microbial Metabolism Kinetics and Interactions in Bioelectrosynthesis System | |
Tanneru et al. | On modeling and optimization of micro-photosynthetic power cells | |
Bayrak et al. | Determining the Effects of Operating Conditions on Current Density of a PEMFC by Using Taguchi Method and ANOVA | |
Ma et al. | Dynamic analysis of microbial fuel cell electrochemical model |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |