CN113110629A - Aquatic product microenvironment gas regulation and control method, system and device - Google Patents

Aquatic product microenvironment gas regulation and control method, system and device Download PDF

Info

Publication number
CN113110629A
CN113110629A CN202110394856.1A CN202110394856A CN113110629A CN 113110629 A CN113110629 A CN 113110629A CN 202110394856 A CN202110394856 A CN 202110394856A CN 113110629 A CN113110629 A CN 113110629A
Authority
CN
China
Prior art keywords
gas
error
flow rate
value
coefficient
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
Application number
CN202110394856.1A
Other languages
Chinese (zh)
Other versions
CN113110629B (en
Inventor
张小栓
左轩夷
王想
刘鹏飞
马正
李振波
吴迪
张峰源
傅泽田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Agricultural University
Original Assignee
China Agricultural University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Agricultural University filed Critical China Agricultural University
Priority to CN202110394856.1A priority Critical patent/CN113110629B/en
Publication of CN113110629A publication Critical patent/CN113110629A/en
Application granted granted Critical
Publication of CN113110629B publication Critical patent/CN113110629B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D11/00Control of flow ratio
    • G05D11/02Controlling ratio of two or more flows of fluid or fluent material
    • G05D11/13Controlling ratio of two or more flows of fluid or fluent material characterised by the use of electric means
    • G05D11/139Controlling ratio of two or more flows of fluid or fluent material characterised by the use of electric means by measuring a value related to the quantity of the individual components and sensing at least one property of the mixture
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A40/00Adaptation technologies in agriculture, forestry, livestock or agroalimentary production
    • Y02A40/80Adaptation technologies in agriculture, forestry, livestock or agroalimentary production in fisheries management
    • Y02A40/81Aquaculture, e.g. of fish

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Flow Control (AREA)
  • Feedback Control In General (AREA)

Abstract

The invention provides a method, a system and a device for regulating and controlling aquatic product microenvironment gas, wherein the specific regulating and controlling method comprises the steps of obtaining gas components of aquatic product microenvironment mixed gas; randomly selecting a first gas in the gas components, and calculating a stable flow rate value of the first gas; calculating a stable flow rate value of each other second gas except the first gas in the gas components by adopting a flow rate adjustment algorithm; filling different component gases into the microenvironment of the aquatic product according to the stable flow rate value of the first gas and the stable flow rate value of each second gas. The flow rate of the second gas can be continuously regulated by adopting a flow rate regulation algorithm, so that the concentration of the second gas can quickly reach a target value, the time for the concentration of the second gas to reach the target value is greatly shortened, and the gas regulation efficiency is greatly improved; in addition, the accuracy of calculating the stable flow rate of the gas is ensured by finally calculating the stable flow rate value of the gas, so that the rapid and accurate regulation and control of the microenvironment gas of the aquatic products are realized.

Description

Aquatic product microenvironment gas regulation and control method, system and device
Technical Field
The invention relates to the field of aquatic product microenvironment gas regulation, in particular to a method, a system and a device for aquatic product microenvironment gas regulation.
Background
Because the fresh products have the properties of easy deterioration and easy corrosion, the freshness of the aquatic products is the most main quality index of the aquatic products and is also the main determinant factor of the price of the aquatic products. The modified atmosphere preservation technology is a technology for prolonging the storage life and the shelf life of food by adjusting environmental gas. The existing gas-regulating fresh-keeping technology can not realize continuous gas output in different proportions, has low gas regulating and controlling precision and can not reach the required gas proportion. Therefore, a gas regulating method, system and device with high gas regulating precision are needed.
Disclosure of Invention
The invention aims to provide a method, a system and a device for regulating and controlling aquatic product microenvironment gas, which can overcome the defects of inaccurate and discontinuous gas regulation and control in the existing gas regulation technology and improve the precision and the efficiency of gas regulation and control.
In order to achieve the purpose, the invention provides the following scheme:
a method for regulating and controlling aquatic product microenvironment gas, comprising the following steps:
obtaining gas components of the aquatic product microenvironment mixed gas;
randomly selecting one gas in the gas components, recording as a first gas, and calculating a stable flow rate value of the first gas according to the concentration ratio of the first gas to the mixed gas and the preset total flow rate of the mixed gas;
calculating a stable flow rate value of each second gas except the first gas in the gas components by adopting a flow rate adjustment algorithm to obtain a stable flow rate value of each second gas;
filling different component gases into the aquatic product microenvironment according to the stable flow rate value of the first gas and the stable flow rate value of each second gas.
A aquatic product microenvironment gas regulation system comprising:
the gas component acquisition module is used for acquiring gas components of the aquatic product microenvironment mixed gas;
the first gas flow rate regulation and control module is used for randomly selecting one gas from the gas components, recording the gas as a first gas, and calculating a stable flow rate value of the first gas according to the concentration ratio of the first gas to the mixed gas and the preset total flow rate of the mixed gas;
the second gas flow rate regulating and controlling module is used for calculating a stable flow rate value of each second gas except the first gas in the gas components by adopting a flow rate regulating algorithm to obtain the stable flow rate value of each second gas;
and the aquatic product microenvironment inflation module is used for inflating different component gases into aquatic product microenvironments according to the stable flow rate value of the first gas and the stable flow rate value of each second gas.
An aquatic product microenvironment gas regulation device comprising: the gas mixing device comprises a plurality of gas bottles, a plurality of mass flow controllers, a gas mixing chamber, a gas concentration sensor and a PLC (programmable logic controller);
the output end of each gas bottle is connected with the input end of one mass flow controller, the output end of each mass flow controller is connected with the input end of the gas mixing chamber, and the output end of the gas mixing chamber is connected with the gas concentration sensor; the mass flow controller and the gas concentration sensor are both connected with the PLC;
the PLC is used for executing a gas regulation and control method and sending control signals to the mass flow controller and the gas concentration sensor;
and the mass flow controller is used for adjusting the flow rate of the gas in the gas path according to the control signal sent by the PLC.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects:
the invention provides a method, a system and a device for regulating and controlling aquatic product microenvironment gas, wherein the specific regulating and controlling method comprises the steps of obtaining gas components of aquatic product microenvironment mixed gas; randomly selecting one gas from the gas components, recording the gas as a first gas, and calculating a stable flow rate value of the first gas according to the concentration ratio of the first gas to the mixed gas and a preset total flow rate of the mixed gas; calculating a stable flow rate value of each second gas except the first gas in the gas components by adopting a flow rate adjustment algorithm to obtain a stable flow rate value of each second gas; and filling different component gases into the aquatic product microenvironment according to the stable flow rate value of the first gas and the stable flow rate value of each second gas, so as to realize continuous output of the gases. The flow rate adjusting algorithm can continuously adjust and control the flow rate of the second gas, so that the concentration of the second gas can quickly reach a target value, the time for the concentration of the second gas to reach the target value is greatly shortened, and the gas adjusting and controlling efficiency is greatly improved; in addition, the stable gas flow rate value is finally calculated by continuously regulating and controlling the gas flow rate, so that the second gas can meet the requirement of the target gas concentration value, and meanwhile, the accuracy of calculating the stable gas flow rate is ensured, thereby realizing rapid and accurate regulation and control of the aquatic product microenvironment gas.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a flow chart of a method for regulating and controlling aquatic product microenvironment gas provided by embodiment 1 of the invention;
FIG. 2 is a flow chart of a method for calculating a stable flow rate value of each of the second gases according to example 1 of the present invention;
FIG. 3 is a simulation comparison graph of a second gas flow rate control algorithm provided in example 1 of the present invention;
fig. 4 is a block diagram of a system for regulating and controlling aquatic product microenvironment gas provided in embodiment 2 of the present invention;
fig. 5 is a structural diagram of a microenvironment gas regulation and control device for aquatic products provided by embodiment 3 of the present invention;
fig. 6 is an electrical schematic diagram of a aquatic product microenvironment gas regulation and control device provided in embodiment 3 of the present invention;
description of the symbols:
300: a gas bottle; 301: a pressure reducing valve; 302: an electromagnetic valve; 303: a mass flow controller; 304: a one-way valve; 305: a gas mixing chamber; 306: a gas concentration sensor; 307: a PLC controller; 401: a 4G GPRS module; 402: a power supply module; 403: a D/A conversion module; 404: an HMI touch screen; 405: an intermediate relay; 406: and an A/D conversion module.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention aims to provide a method, a system and a device for regulating and controlling aquatic product microenvironment gas, which can overcome the defects of inaccurate and discontinuous gas regulation and control in the existing gas regulation technology and improve the precision and the efficiency of gas regulation and control.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Example 1
Referring to fig. 1, the present embodiment provides a method for regulating and controlling aquatic product microenvironment gas, including:
step S1: obtaining gas components of the aquatic product microenvironment mixed gas;
step S2: randomly selecting one gas from the gas components, recording the gas as a first gas, and calculating a stable flow rate value of the first gas according to the concentration ratio of the first gas to the mixed gas and a preset total flow rate of the mixed gas; namely L1=M1L wherein L1The flow rate of the first gas, L the total flow rate of the mixed gas, M1Is the concentration ratio of the first gas to the mixed gas.
And after the stable flow rate value of the first gas is obtained, fixing the flow rate, and then regulating and controlling the flow rates of other gases.
Step S3: calculating a stable flow rate value of each second gas except the first gas in the gas components by adopting a flow rate adjustment algorithm to obtain a stable flow rate value of each second gas;
in order to more accurately calculate the stable flow rate of each second gas, when the types of the second gases are more, the flow rate control of each second gas may be selected in turn, that is, the stable flow rate of one second gas is calculated and then the stable flow rate of the next second gas is calculated. The stable flow rate of the first gas is calculated, so that the flow rate of the first gas is fixed, one of the second gases is regulated and controlled, after the stable flow rate value is obtained, the stable flow rate value of the second gas is fixed, the flow rate regulation and control of the next second gas are continued, and after the stable flow rate value is obtained, the stable flow rate value of the second gas is fixed, and the flow rate regulation and control of the next second gas are continued; and continuously regulating and controlling the flow rate of the rest second gas according to the rule until all the second gas is regulated and controlled to a stable flow rate value, fixing the stable flow rate value, and finally realizing the full mixing of the component gases.
Step S4: filling different component gases into the aquatic product microenvironment according to the stable flow rate value of the first gas and the stable flow rate value of each second gas.
The details of step S3 are described below. Considering the existing gas regulation method, the required mixture is obtained according to the preset mixed gas concentrationThe concentration ratios of the plurality of gases are the same as the flow rates of the plurality of gases, so that the flow rates of the plurality of component gases in the mixed gas can be obtained by the following formula: m1:M2:···:Mn-1:Mn=L1:L2:···:Ln-1:LnWherein M is1Representing the concentration ratio of the first gas; m2Representing the concentration ratio of the second gas; mn-1The concentration ratio of the N-1 gas is expressed; mnRepresenting the concentration ratio of the Nth gas; l is1Representing a desired flow rate of the first gas; l is2Representing a desired flow rate of the first gas; l isn-1Representing the required flow rate of the N-1 gas; l isnIndicating the desired flow rate of the nth gas. The gas is directly filled into the gas microenvironment according to the flow rate proportion of each combined gas obtained through calculation, and the gas is filled at a fixed flow rate, so that on one hand, the time required for the concentration of each gas to reach the concentration threshold value of each gas is longer, on the other hand, because the device has a certain error, the concentration of the gas obtained under the flow rate proportion may not be the required concentration proportion, because the regulation and control device has a certain error, the concentration of the gas does not reach the target value when the flow rate reaches the target value under the error, and if the flow rate at the moment is taken as a stable flow rate value, the concentration proportion of each gas in the gas regulation and control inevitably has an error, and the accuracy of the gas regulation and control is influenced. Therefore, in this embodiment, the stable flow rate of the first gas is calculated only by the required concentration value and the total flow rate of the mixed gas, and for other gases, the flow rate adjustment algorithm is used to calculate the stable flow rate.
Therefore, in this embodiment, as shown in fig. 2, in step S3, the calculating a stable flow rate value by using a flow rate adjustment algorithm to obtain a stable flow rate value of each of the second gases specifically includes:
step S31: according to ti-1The flow rate of the second gas v is calculated by a time-of-day flow rate control algorithmi-1Obtaining the flow velocity v of the second gasi-1T under controliA second gas concentration value at time; 1, 2.; t is t0The flow rate control algorithm at the moment is an initial flow rate control algorithm;
step S32: judging the tiWhether the concentration value of the second gas is equal to the target concentration value of the second gas at the moment or not is judged to obtain a judgment result;
step S321: when the judgment result is negative, according to the tiTime second gas concentration value and ti-1Updating the initial flow rate control algorithm by the second gas concentration value at the moment to obtain tiA flow rate control algorithm at time tiTime of day flow rate control algorithm replacement ti-1The flow rate control algorithm at the moment is to make i equal to i +1, and the step is returned toi-1The flow rate of the second gas v is calculated by a time-of-day flow rate control algorithmi-1Obtaining the flow velocity v of the second gasi-1T under controliTime second gas concentration value' until said tiAt a time a second gas concentration value is equal to a target concentration value for the second gas; t is t0The second gas concentration value at the moment is 0;
step S322: when the judgment result is yes, the flow velocity v of the second gas is determinedi-1As the stable flow rate values of the second gases, the stable flow rate value of each of the second gases is obtained.
The flow rate adjusting process adopts a continuously updated flow rate control algorithm, in the gas adjusting and controlling process, in the process of adjusting the flow rate of a gas to a stable flow rate, multiple times of flow rate adjustment and control are possibly needed, the flow rate control algorithm needed by each time of speed regulation control is updated on the basis of the initial flow rate control algorithm, so that the flow rate control algorithm after each time of updating is obtained, the flow rate control algorithm after each time of updating is more suitable for the current concentration value error and concentration value error change rate of the mixed gas, therefore, the control algorithm of the initial flow rate is needed to be set at first, and the initial flow rate control algorithm is established according to a control rule. In step S321, the expression of the initial flow rate control algorithm is:
Figure BDA0003018209160000061
wherein, V0A flow rate value representing the primary control output; alpha is alpha0Representing an initial error coefficient; beta is a0Representing an initial error accumulation coefficient; gamma ray0Representing an initial error rate of change coefficient;
Figure BDA0003018209160000062
the error of the concentration value of the gas is shown,
Figure BDA0003018209160000063
indicating the rate of change of the error in the gas concentration value,
Figure BDA0003018209160000064
indicating the accumulated value of the gas concentration value error.
It should be noted that, for each of the second gases except the first gas in the mixed gas component, a continuously updated flow rate control algorithm is adopted to continuously regulate and control the gas flow rate, so that the gas concentration can quickly reach a target value, and the flow rate is regulated and controlled by continuously updating the flow rate control algorithm, thereby greatly shortening the time for the gas concentration to reach the target value and greatly improving the gas regulation and control efficiency; in addition, the subsequent stable flow rate of the gas is determined by adopting the judgment condition that the gas concentration reaches the target value, and the accuracy of the stable flow rate value is improved, so that the defect that whether the gas concentration meets the requirement or not is effectively overcome, the accuracy of calculating the stable flow rate of the gas is ensured, and the regulation and control precision of the microenvironment gas of the aquatic product is further ensured.
In step S321, the step is based on the tiTime second gas concentration value and ti-1Updating the initial flow rate control algorithm by the second gas concentration value at the moment to obtain tiThe flow rate control algorithm at a moment specifically comprises the following steps:
(1) according to the tiCalculating t from the concentration value of the second gas and the target value of the concentration of the second gas at the momentiA second gas concentration error at a time; t is tiAt the moment of time, the second gas concentration error is tiTime of second gas concentration value-secondA target concentration of the gas;
(2) according to the ti-1Calculating t from the concentration value of the second gas and the target value of the concentration of the second gas at the momenti-1A second gas concentration error at a time;
(3) according to the tiTime second gas concentration error and said ti-1Time second gas concentration error calculation tiA second gas concentration error rate of change at time; t is tiAt the moment, the second gas concentration error change rate is equal to (t)iTime second gas concentration error-ti-1Time second gas concentration error)/(ti-ti-1);
(4) According to the tiTime second gas concentration error and said tiUpdating the initial flow rate control algorithm at the second gas concentration error change rate at the moment to obtain tiThe flow rate control algorithm at time, expressed as:
Figure BDA0003018209160000071
αiis tiA time error coefficient; beta is aiIs tiA time error accumulation coefficient; gamma rayiIs tiA time error rate of change coefficient; ga() The flow rate control algorithm is an updating rule;
Figure BDA0003018209160000072
the step (4) specifically comprises the following steps:
(4-1) according to said tiTime second gas concentration error and said tiCalculating an initial error coefficient updating amount, an initial error accumulation coefficient updating amount and an initial error change rate coefficient updating amount according to the second gas concentration error change rate at the moment;
(4-2) calculating t from the initial error coefficient and the initial error coefficient update amountiA time error coefficient; calculating t according to the initial error accumulation coefficient and the initial error accumulation coefficient updating amountiA time error accumulation coefficient; according to the initial error change rate coefficient and the initial errorRate of change coefficient update amount calculation tiA time error rate of change coefficient.
Figure BDA0003018209160000073
Figure BDA0003018209160000074
Figure BDA0003018209160000075
First, the method according to the t in step (4-1) will be explained in detailiTime second gas concentration error and said tiCalculating the initial error coefficient update amount according to the second gas concentration error change rate at the moment, specifically comprising:
(a0) determining an error coefficient actual interval and an error coefficient quantitative interval of the initial error coefficient, and calculating an error reduction coefficient according to the value of the error coefficient actual interval and the value of the error coefficient quantitative interval;
(b0) determining the tiCalculating an error quantitative change coefficient according to the value of the error actual interval and the value of the error quantitative change interval;
(c0) determining the tiCalculating an error change rate quantitative change coefficient according to the value of the error change rate actual interval and the value of the error change rate quantitative change interval;
(d0) according to the tiTime second gas concentration error, tiObtaining an error coefficient variable value by the second gas concentration error change rate, the error quantitative change coefficient and the error change rate quantitative change coefficient at the moment;
the step (d0) specifically includes:
(d0-1) according to said tiTime of day second gas concentrationCalculating an error variable value by the error and the error variable coefficient; error variable value tiThe second gas concentration error x error quantitative change coefficient at the time.
(d0-2) according to said tiCalculating an error change rate variable value by the second gas concentration error change rate and the error change rate variable coefficient at the moment; error rate of change becomes tiThe second gas concentration error rate of change x the error rate of change delta at the time.
(d0-3) querying a first regression table according to the error variable value to obtain an error regression grade; inquiring a first regression table according to the error change rate variable value to obtain an error change rate regression grade; the first regression table is an error and error change rate regression table;
(d0-4) inquiring an error coefficient control rule table according to the error regression grade and the error change rate regression grade to obtain an error coefficient regression grade;
(d0-5) inquiring a second regression table according to the regression grade of the error coefficient to obtain a variable value of the number of the error coefficient; the second regression table is an error coefficient, accumulation coefficient and error change rate coefficient regression table.
(e0) And calculating the updating amount of the error coefficient according to the variable value of the error coefficient number and the error reduction coefficient. Error coefficient updating quantity is equal to error coefficient quantity variable value multiplied by error reduction coefficient;
next, the explanation will be made on the basis of t in step (4-1)iTime second gas concentration error and said tiCalculating the initial error accumulation coefficient updating amount according to the change rate of the second gas concentration error at the moment, which specifically comprises the following steps:
(a1) determining an error accumulation coefficient actual interval and an error accumulation coefficient quantitative interval of the initial error accumulation coefficient, and calculating an error accumulation reduction coefficient according to the value of the error accumulation coefficient actual interval and the value of the error accumulation coefficient quantitative interval;
(b1) determining the tiCalculating the error according to the value of the error actual interval and the value of the error quantitative intervalA delta coefficient of variation;
(c1) determining the tiCalculating an error change rate quantitative change coefficient according to the value of the error change rate actual interval and the value of the error change rate quantitative change interval;
(d1) according to the tiTime second gas concentration error, tiObtaining an error system quantity variable value and an error change rate variable value by the second gas concentration error change rate, the error change rate variable coefficient and the error change rate variable coefficient at the moment;
the step (d1) specifically includes:
(d1-1) according to said tiCalculating an error variable value by the second gas concentration error and the error variable coefficient at the moment;
(d1-2) according to said tiCalculating an error change rate variable value by the second gas concentration error change rate and the error change rate variable coefficient at the moment;
(d1-3) querying a first regression table according to the error variable value to obtain an error regression grade; inquiring a first regression table according to the error change rate variable value to obtain an error change rate regression grade; the first regression table is an error and error change rate regression table;
(d1-4) inquiring an error accumulation coefficient control rule table according to the error regression grade and the error change rate regression grade to obtain an error accumulation coefficient regression grade;
(d1-5) inquiring a second regression table according to the regression grade of the error accumulation coefficient to obtain a variable value of the error accumulation coefficient quantity; the second regression table is an error coefficient, accumulation coefficient and error change rate coefficient regression table.
(e1) And calculating the updating amount of the error accumulation coefficient according to the variable value of the error accumulation coefficient and the error accumulation reduction coefficient.
Finally, the step (4-1) is explained in detail based on the tiTime second gas concentration error and said tiCalculating the initial error rate of change system from the second gas concentration error rate of change at the momentThe number updating amount specifically includes:
(a2) determining an error change rate coefficient actual interval and an error change rate coefficient quantitative interval of the initial error change rate coefficient, and calculating an error change rate reduction coefficient according to a value of the error change rate coefficient actual interval and a value of the error change rate coefficient quantitative interval;
(b2) determining the tiCalculating an error quantitative change coefficient according to the value of the error actual interval and the value of the error quantitative change interval;
(c2) determining the tiCalculating an error change rate quantitative change coefficient according to the value of the error change rate actual interval and the value of the error change rate quantitative change interval;
(d2) according to the tiTime second gas concentration error, tiObtaining an error coefficient variable value by the second gas concentration error change rate, the error quantitative change coefficient and the error change rate quantitative change coefficient at the moment;
the step (d2) specifically includes:
(d2-1) according to said tiCalculating an error variable value by the second gas concentration error and the error variable coefficient at the moment;
(d2-2) according to said tiCalculating an error change rate variable value by the second gas concentration error change rate and the error change rate variable coefficient at the moment;
(d2-3) querying a first regression table according to the error variable value to obtain an error regression grade; inquiring a first regression table according to the error change rate variable value to obtain an error change rate regression grade; the first regression table is an error and error change rate regression table;
(d1-4) inquiring an error change rate coefficient control rule table according to the error regression grade and the error change rate regression grade to obtain an error change rate coefficient regression grade;
(d2-5) querying a second regression table according to the regression grade of the error change rate coefficient to obtain an error change rate coefficient quantitative change value; the second regression table is an error coefficient, accumulation coefficient and error change rate coefficient regression table.
(e2) And calculating the updating amount of the error change rate coefficient according to the error change rate coefficient quantitative change value and the error change rate reduction coefficient.
It should be noted that the error and error change rate regression table, the error coefficient, the accumulation coefficient and error change rate coefficient regression table, the error change rate coefficient control rule table, the error accumulation coefficient control rule table, and the error change rate coefficient control rule table are obtained according to actual experience.
In order to make the calculation process of the initial error coefficient update amount, the initial error accumulation coefficient update amount and the initial error change rate coefficient update amount more clear to those skilled in the art, the following example is illustrated:
1) the actual range of gas concentration error is [ -40,40 [ -40]% VOL, input variable (gas concentration error)
Figure BDA0003018209160000111
The variable interval of (a) is { -6, -5, -4, -3, -2, -1,0,1,2,3,4,5,6}, and the corresponding variable coefficient is
Figure BDA0003018209160000112
2) The real interval of the error change rate of the gas concentration value is [ -4,4 [ -4 [ ]]% VOL, input variable (gas concentration value error rate of change)
Figure BDA0003018209160000113
The variable interval of (a) is B { -6, -5, -4, -3, -2, -1,0,1,2,3,4,5,6}, and the corresponding variable coefficient is B { -6 {
Figure BDA0003018209160000114
3) The real interval of the error coefficient of the gas concentration value is [ -0.6,0.6 [ -0.6 [ ]]Output variable (error coefficient of gas concentration value) alphaiThe variable interval of (a) is C { -6, -5, -4, -3, -2, -1,0,1,2,3,4,5,6}, and the corresponding reduction coefficient is
Figure BDA0003018209160000115
4) The real interval of the error accumulation coefficient of the gas concentration value is [ -0.03,0.03]Output variable (gas concentration value error accumulation coefficient) betaiThe variable interval of (D) is { -6, -5, -4, -3, -2, -1,0,1,2,3,4,5,6}, and the corresponding reduction coefficient is
Figure BDA0003018209160000116
5) The real interval of the error change rate coefficient of the gas concentration value is [ -0.3,0.3]Output variable (gas concentration value error rate of change coefficient) gammaiThe variable interval of (a) is E { -6, -5, -4, -3, -2, -1,0,1,2,3,4,5,6}, and the corresponding reduction coefficient is
Figure BDA0003018209160000117
6) Will input variable
Figure BDA0003018209160000118
And an output variable alphai、βi、γiThe regression grades of (1) are divided into seven grades of NB (negative large), NM (negative medium), NS (negative small), ZO (zero), PS (positive small), PM (positive medium) and PB (positive large);
7) error in concentration value of gas
Figure BDA0003018209160000119
Is calculated by the formula
Figure BDA00030182091600001110
Obtained if AiIf the decimal contains decimal, rounding can be adopted;
8) error rate of change of concentration value of gas
Figure BDA00030182091600001111
Is calculated by the formula
Figure BDA00030182091600001112
Obtained if BiIf the decimal contains decimal, rounding can be adopted;
9) a is obtained by inquiring the error and error change rate regression table shown in the following tablei、BiRegression grade corresponding to the maximum value of the regression degree;
10) according to Ai、BiInquiring an error coefficient control rule table of a third table to obtain an error coefficient regression grade, inquiring an error accumulation coefficient control rule table of a fourth table to obtain an error accumulation coefficient regression grade, and inquiring an error change rate coefficient control rule table of a fifth table to obtain an error change rate coefficient regression grade;
11) respectively inquiring the error coefficient, the accumulation coefficient and the error change rate coefficient regression table according to the regression grade of each coefficient obtained in the previous step, and recording the quantitative change value corresponding to the maximum value of the regression grade of each coefficient as Ci、Di、Ei
12) The error coefficient update amount of the gas concentration value is
Figure BDA0003018209160000121
The gas concentration value error accumulation coefficient is updated by
Figure BDA0003018209160000122
The error change rate coefficient of the gas concentration value is updated by
Figure BDA0003018209160000123
Table-error and error rate of change regression table
-6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6
NB 1 0.5 0 0 0 0 0 0 0 0 0 0 0
NM 0 0.5 1 0.5 0 0 0 0 0 0 0 0 0
NS 0 0 0 0.5 1 0.5 0 0 0 0 0 0 0
ZO 0 0 0 0 0 0.5 1 0.5 0 0 0 0 0
PS 0 0 0 0 0 0 0 0.5 1 0.5 0 0 0
PM 0 0 0 0 0 0 0 0 0 0.5 1 0.5 0
PB 0 0 0 0 0 0 0 0 0 0 0 0.5 1
Error coefficient, accumulation coefficient and error change rate coefficient regression table
-6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6
NB 1 0.5 0 0 0 0 0 0 0 0 0 0 0
NM 0 0.5 1 0.5 0 0 0 0 0 0 0 0 0
NS 0 0 0 0.5 1 0.5 0 0 0 0 0 0 0
ZO 0 0 0 0 0 0.5 1 0.5 0 0 0 0 0
PS 0 0 0 0 0 0 0 0.5 1 0.5 0 0 0
PM 0 0 0 0 0 0 0 0 0 0.5 1 0.5 0
PB 0 0 0 0 0 0 0 0 0 0 0 0.5 1
Table three error coefficient control rule table
Figure BDA0003018209160000131
Table four error accumulation coefficient control rule table
Figure BDA0003018209160000132
Table five error change rate coefficient control law table
Figure BDA0003018209160000133
Fig. 3 is a simulation comparison graph of the second gas flow rate control algorithm, with time on the abscissa and step value (concentration set point) on the ordinate. The simulation comparison graph comprises a common algorithm simulation curve and a control algorithm simulation curve after the updating rule is updated. Wherein, the E curve is a control algorithm with an updating rule, and the F curve is a common algorithm. Compared with the two curves, the adjusting time of the control algorithm using the updating rule is far shorter than that of the common control algorithm. The control algorithm using the update rule has almost no overshoot, and directly reaches a stable state, so that the control algorithm with the update rule has better performance, faster adjustment speed and shorter regulation and control time than the common control algorithm.
Example 2
As shown in fig. 4, this embodiment provides a microenvironment gas regulation system for aquatic products, including:
the gas component acquisition module T1 is used for acquiring gas components of the aquatic product microenvironment mixed gas;
the first gas flow rate regulating and controlling module T2 is used for randomly selecting one gas from the gas components, recording the gas as a first gas, and calculating a stable flow rate value of the first gas according to the concentration ratio of the first gas in the mixed gas and the preset total flow rate of the mixed gas;
the second gas flow rate regulating and controlling module T3 is used for calculating a stable flow rate value of each other second gas except the first gas in the gas components by adopting a flow rate regulating algorithm to obtain a stable flow rate value of each second gas;
and the aquatic product microenvironment inflation module T4 is used for inflating different component gases into aquatic product microenvironments according to the stable flow rate value of the first gas and the stable flow rate value of each second gas.
Example 3
As shown in fig. 5, this embodiment provides a gaseous regulation and control device of aquatic products microenvironment, includes: a plurality of gas bottles 300, a plurality of mass flow controllers 303, a gas mixing chamber 305, a gas concentration sensor 306 and a PLC 307;
the output end of each gas bottle 300 is connected with the input end of one mass flow controller 303, the output end of each mass flow controller 303 is connected with the input end of the gas mixing chamber 305, and the output end of the gas mixing chamber 305 is connected with the gas concentration sensor; the mass flow controller 303 and the gas concentration sensor 306 are both connected to the PLC controller 307;
the PLC controller 307 is configured to execute a gas regulation method and send control signals to the mass flow controller 307 and the gas concentration sensor 306;
the mass flow controller 303 is configured to adjust a flow rate of the gas in the gas path according to a control signal sent by the PLC controller 307.
In order to control the gas, a pressure reducing valve 301, an electromagnetic valve 302, and a check valve 304 may be provided in the gas line.
A pressure reducing valve 301 and an electromagnetic valve 302 are connected between the gas bottle 300 and the mass flow controller 307 in sequence;
a check valve 304 is connected between the mass flow controller 307 and the gas mixing chamber 305;
a pressure reducing valve 301 for reducing and keeping constant the high pressure in the high-pressure gas cylinder 300, protecting the mass flow controller 307;
and the electromagnetic valve 302 is used for controlling the on-off of each gas path and adding mixed gas into the aquatic product package.
The mass flow controller 303 is used for receiving a signal of the PLC 307 and adjusting the gas flow rate of the gas path;
a check valve 304 for keeping the gas continuously output in one direction, preventing the gas from flowing back, and preventing the external air from affecting the mixed gas in the gas mixing chamber 305;
a gas mixing chamber 305, the internal structure of which contributes to the mixing of gases for the thorough mixing of a plurality of gases;
and the gas concentration sensor 306 is used for detecting the concentration of the mixed gas in real time and feeding back the concentration.
According to the embodiment of the invention, the concentration of the mixed gas is detected in real time through the gas sensor 306, the optimal control algorithm suitable for the current control is obtained according to the current concentration value error and the error change rate of the mixed gas and the control rule, the control quantity calculated by the control algorithm is converted into a current signal and is sent to the mass flow controller 303, and the mass flow controller 303 adjusts the flow speed of the gas output, so that the concentration of the mixed gas is controlled more accurately and more quickly.
Fig. 6 shows an electrical equipment structure diagram of the aquatic product packaging microenvironment gas regulation and control device. The electrical apparatus includes: the system comprises an electromagnetic valve 302, a mass flow controller 303, a gas concentration sensor 306, a PLC 307, a 4G GPRS module 401, a power supply module 402, a D/A conversion module 403, an HMI touch screen 404, an intermediate relay 405 and an A/D conversion module 406.
The mass flow controller 303 is connected with a PLC 307 through a D/A conversion module 403;
the gas concentration sensor 306 is connected with the PLC 307 through an A/D conversion module 406;
the 4G GPRS module 401 and the HMI touch screen 404 are both in communication connection with the PLC 307;
one end of the intermediate relay 405 is connected with the PLC controller 307; the other end of the intermediate relay 405 is connected with the electromagnetic valve 302;
and the power supply module 402 is connected with all the modules and supplies power to all the modules.
The PLC controller 307 includes a processor and a register, in which computer program instructions are stored, and the processor executes the computer program instructions, and the computer program instructions include the method for regulating and controlling the gas in the water product in example 1. The 4G GPRS module 401 uploads the data in the register to the cloud service through the Modbus protocol by using the PLC controller 307, so as to implement a remote monitoring function. Meanwhile, the remote controller can send signals to control the PLC. The HMI touch screen 404 implements a field detection control operation function according to a human-computer interaction interface. The mass flow controller 303 further adjusts the gas flow rate of the gas path according to the control signal sent by the PLC controller 307. The intermediate relay 405 controls the solenoid valve 302 to open and close by turning on and off the intermediate relay, and indirectly controls the solenoid valve 302 by the PLC controller 307. And a D/a conversion module 403, configured to convert the digital quantity signal sent by the PLC controller 307 into a current signal required by the mass flow controller 303. And an a/D conversion module 406, configured to convert the current signal sent by the gas concentration sensor 306 into a digital quantity signal.
For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In view of the above, the present disclosure should not be construed as limiting the invention.

Claims (10)

1. A method for regulating and controlling aquatic product microenvironment gas is characterized by comprising the following steps:
obtaining gas components of the aquatic product microenvironment mixed gas;
randomly selecting one gas in the gas components, recording as a first gas, and calculating a stable flow rate value of the first gas according to the concentration ratio of the first gas to the mixed gas and the preset total flow rate of the mixed gas;
calculating a stable flow rate value of each second gas except the first gas in the gas components by adopting a flow rate adjustment algorithm to obtain a stable flow rate value of each second gas;
filling different component gases into the aquatic product microenvironment according to the stable flow rate value of the first gas and the stable flow rate value of each second gas.
2. The method according to claim 1, wherein the calculating the stable flow rate value using the flow rate adjustment algorithm to obtain the stable flow rate value of each of the second gases comprises:
according to ti-1The flow rate of the second gas v is calculated by a time-of-day flow rate control algorithmi-1Obtaining the flow velocity v of the second gasi-1T under controliA second gas concentration value at time; 1, 2.; t is t0The flow rate control algorithm at the moment is an initial flow rate control algorithm;
judging the tiWhether the concentration value of the second gas is equal to the target concentration value of the second gas at the moment or not is judged to obtain a judgment result;
when the judgment result is negative, according to the tiTime second gas concentration value and ti-1Updating the initial flow rate control algorithm by the second gas concentration value at the moment to obtain tiA flow rate control algorithm at time tiTime of day flow rate control algorithm replacement ti-1The flow rate control algorithm at the moment is to make i equal to i +1, and the step is returned toi-1The flow rate of the second gas v is calculated by a time-of-day flow rate control algorithmi-1Obtaining the flow velocity v of the second gasi-1T under controliTime second gas concentration value' until said tiAt a time a second gas concentration value is equal to a target concentration value for the second gas; t is t0The second gas concentration value at the moment is 0;
when the judgment result is yesThen the flow rate v of the second gas is adjustedi-1As the stable flow rate values of the second gases, the stable flow rate value of each of the second gases is obtained.
3. The method of claim 2, wherein, when the flow rate of each of the second gases is regulated, the stable flow rate value of one of the second gases is calculated and then the stable flow rate value of the next second gas is calculated.
4. The method of claim 2, wherein the initial flow rate control algorithm is expressed by:
Figure FDA0003018209150000021
wherein, V0A flow rate value representing the primary control output; alpha is alpha0Representing an initial error coefficient; beta is a0Representing an initial error accumulation coefficient; gamma ray0Representing an initial error rate of change coefficient;
Figure FDA0003018209150000022
the error of the concentration value of the gas is shown,
Figure FDA0003018209150000023
indicating the rate of change of the error in the gas concentration value,
Figure FDA0003018209150000024
indicating the accumulated value of the gas concentration value error.
5. The method of claim 2, wherein said t is based on saidiTime second gas concentration value and ti-1Updating the initial flow rate control algorithm by the second gas concentration value at the moment to obtain tiThe flow rate control algorithm at a moment specifically comprises the following steps:
according to the tiA value of a second gas concentration at a time and a target value of the concentration of the second gasCalculating tiA second gas concentration error at a time;
according to the ti-1Calculating t from the concentration value of the second gas and the target value of the concentration of the second gas at the momenti-1A second gas concentration error at a time;
according to the tiTime second gas concentration error and said ti-1Time second gas concentration error calculation tiA second gas concentration error rate of change at time;
according to the tiTime second gas concentration error and said tiUpdating the initial flow rate control algorithm at the second gas concentration error change rate at the moment to obtain tiA flow rate control algorithm at a time.
6. The method of claim 5, wherein the t is based on the measured signal strengthiTime second gas concentration error and said tiUpdating the initial flow rate control algorithm at the second gas concentration error change rate at the moment to obtain tiThe flow rate control algorithm at a moment specifically comprises the following steps:
according to the tiTime second gas concentration error and said tiCalculating an initial error coefficient updating amount, an initial error accumulation coefficient updating amount and an initial error change rate coefficient updating amount according to the second gas concentration error change rate at the moment;
calculating t according to the initial error coefficient and the initial error coefficient updating amountiA time error coefficient; calculating t according to the initial error accumulation coefficient and the initial error accumulation coefficient updating amountiA time error accumulation coefficient; calculating t according to the initial error change rate coefficient and the initial error change rate coefficient update amountiA time error rate of change coefficient.
7. The method of claim 6, wherein the t is based on the timeiTime second gas concentration error and said tiCalculating the initial error coefficient update amount according to the second gas concentration error change rate at the moment, specifically comprising:
determining an error coefficient actual interval and an error coefficient quantitative interval of the initial error coefficient, and calculating an error reduction coefficient according to the value of the error coefficient actual interval and the value of the error coefficient quantitative interval;
determining the tiCalculating an error quantitative change coefficient according to the value of the error actual interval and the value of the error quantitative change interval;
determining the tiCalculating an error change rate quantitative change coefficient according to the value of the error change rate actual interval and the value of the error change rate quantitative change interval;
according to the tiTime second gas concentration error, tiObtaining an error coefficient variable value by the second gas concentration error change rate, the error quantitative change coefficient and the error change rate quantitative change coefficient at the moment;
and calculating the updating amount of the error coefficient according to the variable value of the error coefficient number and the error reduction coefficient.
8. The method of claim 7, wherein the t is based on the timeiTime second gas concentration error, tiObtaining an error coefficient variable value by the second gas concentration error change rate, the error variable coefficient and the error change rate variable coefficient at the moment, and specifically comprising:
according to the tiCalculating an error variable value by the second gas concentration error and the error variable coefficient at the moment;
according to the tiCalculating an error change rate variable value by the second gas concentration error change rate and the error change rate variable coefficient at the moment;
inquiring a first regression table according to the error variable value to obtain an error regression grade; inquiring a first regression table according to the error change rate variable value to obtain an error change rate regression grade; the first regression table is an error and error change rate regression table;
inquiring an error coefficient control rule table according to the error regression grade and the error change rate regression grade to obtain an error coefficient regression grade;
inquiring a second regression table according to the regression grade of the error coefficient to obtain a variable value of the number of the error coefficient; the second regression table is an error coefficient, accumulation coefficient and error change rate coefficient regression table.
9. A system for realizing aquatic product microenvironment gas regulation according to any one of claims 1 to 8, comprising:
the gas component acquisition module is used for acquiring gas components of the aquatic product microenvironment mixed gas;
the first gas flow rate regulation and control module is used for randomly selecting one gas from the gas components, recording the gas as a first gas, and calculating a stable flow rate value of the first gas according to the concentration ratio of the first gas to the mixed gas and the preset total flow rate of the mixed gas;
the second gas flow rate regulating and controlling module is used for calculating a stable flow rate value of each second gas except the first gas in the gas components by adopting a flow rate regulating algorithm to obtain the stable flow rate value of each second gas;
and the aquatic product microenvironment inflation module is used for inflating different component gases into aquatic product microenvironments according to the stable flow rate value of the first gas and the stable flow rate value of each second gas.
10. An aquatic products microenvironment gas regulation and control device, comprising: the gas mixing device comprises a plurality of gas bottles, a plurality of mass flow controllers, a gas mixing chamber, a gas concentration sensor and a PLC (programmable logic controller);
the output end of each gas bottle is connected with the input end of one mass flow controller, the output end of each mass flow controller is connected with the input end of the gas mixing chamber, and the output end of the gas mixing chamber is connected with the gas concentration sensor; the mass flow controller and the gas concentration sensor are both connected with the PLC;
the PLC controller is used for executing the gas regulation method of any one of claims 1 to 8 and sending control signals to the mass flow controller and the gas concentration sensor;
and the mass flow controller is used for adjusting the flow rate of the gas in the gas path according to the control signal sent by the PLC.
CN202110394856.1A 2021-04-13 2021-04-13 Aquatic product microenvironment gas regulation and control method, system and device Active CN113110629B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110394856.1A CN113110629B (en) 2021-04-13 2021-04-13 Aquatic product microenvironment gas regulation and control method, system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110394856.1A CN113110629B (en) 2021-04-13 2021-04-13 Aquatic product microenvironment gas regulation and control method, system and device

Publications (2)

Publication Number Publication Date
CN113110629A true CN113110629A (en) 2021-07-13
CN113110629B CN113110629B (en) 2022-05-17

Family

ID=76716493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110394856.1A Active CN113110629B (en) 2021-04-13 2021-04-13 Aquatic product microenvironment gas regulation and control method, system and device

Country Status (1)

Country Link
CN (1) CN113110629B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04303217A (en) * 1991-03-30 1992-10-27 Nippon Sanso Kk Device and method for gas addition
JP2004141754A (en) * 2002-10-23 2004-05-20 Mitsubishi Heavy Ind Ltd Apparatus and method for denitrifying stack gas
CN208169990U (en) * 2018-01-09 2018-11-30 丁五行 Mixed gas suitable for mass flow mixing method fills error-compensating apparatus
CN111280117A (en) * 2020-03-04 2020-06-16 中国农业大学 Environment control method, device and system for keep-alive storage and transportation of aquatic products
CN111408289A (en) * 2020-03-30 2020-07-14 山东重山光电材料股份有限公司 Method and system for industrially continuously mixing gas with high precision
CN112540154A (en) * 2020-10-26 2021-03-23 三河市清源绿创环境技术股份有限公司 Intelligent gas distribution method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04303217A (en) * 1991-03-30 1992-10-27 Nippon Sanso Kk Device and method for gas addition
JP2004141754A (en) * 2002-10-23 2004-05-20 Mitsubishi Heavy Ind Ltd Apparatus and method for denitrifying stack gas
CN208169990U (en) * 2018-01-09 2018-11-30 丁五行 Mixed gas suitable for mass flow mixing method fills error-compensating apparatus
CN111280117A (en) * 2020-03-04 2020-06-16 中国农业大学 Environment control method, device and system for keep-alive storage and transportation of aquatic products
CN111408289A (en) * 2020-03-30 2020-07-14 山东重山光电材料股份有限公司 Method and system for industrially continuously mixing gas with high precision
CN112540154A (en) * 2020-10-26 2021-03-23 三河市清源绿创环境技术股份有限公司 Intelligent gas distribution method and system

Also Published As

Publication number Publication date
CN113110629B (en) 2022-05-17

Similar Documents

Publication Publication Date Title
CN101479682B (en) Flow controller delivery of a specified quantity of a fluid
CN107561941A (en) A kind of full working scope qualified discharge control method of fired power generating unit denitrating system
CN109343349A (en) A kind of SCR denitrating flue gas Optimal Control System and method based on ammonia spraying amount compensator
JP2000323464A (en) Apparatus and method for supplying gas for semiconductor manufacturing apparatus
CN101636641A (en) The controller gain scheduling that is used for mass flow controller
CN204595644U (en) Based on the aluminum-bar heating furnace temperature of combustion automaton of neural network
CN113110629B (en) Aquatic product microenvironment gas regulation and control method, system and device
CN115344064A (en) Valve flow control method and device and electronic equipment
CN111408289A (en) Method and system for industrially continuously mixing gas with high precision
CN111880504A (en) Intelligent dynamic partition ammonia injection control method and system
CN107131756B (en) The modified control method of ac arc furnace rise fall of electrodes real-time online
CN202734516U (en) Feedforward type atmosphere control system for bell jar furnace
CN104949283A (en) Air valve adjusting method and system for controlling air volume
KR102264839B1 (en) Method and system for controlling a flow ratio controller using feedback
CN101943888B (en) Method for controlling output of belt weigher system
WO2014210059A1 (en) Method and system for controlling a flow ratio controller using feed-forward adjustment
CN113778141B (en) Fluid pipeline flow control system with sectional PID control
JPH01321508A (en) Oxygen density controller
CN202484267U (en) Closed-loop control system for temperature of gearbox on top of blast furnace
CN212180747U (en) Gas divider
CN202582216U (en) Diffusion furnace chamber atmosphere stabilizing device
CN113325693A (en) Improved PID control method and device for SCR denitration system
CN109062059B (en) Batch process prediction control method based on system augmentation model
CN109635421B (en) Weibull model-based dynamic optimization method for detection period of general pressure gauge
CN112624121A (en) Polycrystalline silicon production control system and control method

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