A gas recovery rate correction method for animal breathing calorimetry device
By injecting gas into each chamber of the animal respiratory calorimeter device for testing, the gas uniformity error and instrument error are calculated and corrected, which solves the problem of gas recovery rate deviation in multi-chamber combination and achieves accurate correction and correction of gas recovery rate. Data consistency.
Patent Information
- Application Number
- CN202411088068.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-10-18
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In a multi-chamber animal respiration calorimeter device, due to the systematic error between each cabin, the gas recovery rate results are greatly deviated and lose authenticity. A method is urgently needed to eliminate errors and correct the measurement data of each cabin.
By injecting gas into each cabin for testing, collecting exhaust time, gas concentration and temperature data, calculating gas uniformity errors and instrument errors, and performing fitting curve correction based on these errors to achieve gas recovery rate correction.
By eliminating gas uniformity errors and instrument errors, the gas recovery rates of each cabin are considered under the same measurement, achieving accurate correction of gas recovery rates and improving the authenticity and consistency of measurement data.
Smart Images

Figure CN118614904B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of animal breath calorimetry, and in particular to a gas recovery rate correction method for an animal breath calorimetry device. Background Art
[0002] For all animals, the biggest energy loss is heat gain, which accounts for about 40-60% of the energy consumed. Postprandial heat gain is the increase in body heat production (heat gain) after livestock eat, and heat gain is caused by the production of more heat than basal heat after eating (postprandial heat). According to the heat production formula, the animal's consumption needs to be obtained. Quantity (oxygen quantity), production Amount (amount of carbon dioxide) and production The amount of methane (methane) can determine the heat production of animals. The multi-chambered "open circuit negative pressure" breath calorimeter system (abbreviated as: breath calorimeter) is currently widely used internationally to measure the heat production of pigs, cattle, sheep, poultry, small animals, birds, insects and other animals. Quantity, production Quantity and production Determination of quantity.
[0003] However, during the process of equipment manufacturing and system assembly, the environmental data in each respiratory metabolic chamber may not be exactly the same, and the accuracy of the flow meters in each chamber may not be exactly the same. Therefore, before the equipment is officially used, it is necessary to use an external gas and , simulated animal production and The concentration of gas is measured in each cabin. According to the industry-recognized standard, the gas recovery rate in each cabin should be between 96% and 104%. However, when multiple cabins are connected, due to the systematic errors between the cabins, the gas recovery rate results will be more biased, the data will be confusing, and the authenticity will be lost. Therefore, a method to eliminate the errors of each cabin and correct the measurement data of each cabin is urgently needed to achieve the correction of the gas recovery rate measured in each cabin. Summary of the invention
[0004] In order to solve the technical problem that the gas recovery rate loses its authenticity, the present application provides a gas recovery rate correction method for an animal breathing calorimeter. The technical solution adopted is as follows:
[0005] The present application proposes a gas recovery rate correction method for an animal breathing calorimeter, the method comprising the following steps:
[0006] Inject gas from a cylinder into the cabin for testing, collect the exhaust time during the test, the gas concentration and corresponding temperature in each cabin and outdoors at each moment during the test, and the weight of the cylinder before and after the gas is injected;
[0007] For any gas, the gas uniformity error of each cabin is obtained according to the change characteristics of the gas concentration at all times in each cabin, the difference between the fitting value of the gas concentration corresponding to the fitting straight line at all times and the gas concentration, and the correlation between the gas concentration at all times in each cabin and the corresponding temperature;
[0008] The gas recovery rate and instrument error of each cabin are obtained according to the exhaust time in the test, the gas concentration in each cabin and outdoors at each moment, and the weight difference before and after the cylinder is injected with gas;
[0009] The instrument error and gas uniformity error of each chamber are combined with the gas recovery rate fitting curve of each chamber, and the gas recovery rate is corrected by the fitting curve.
[0010] In the above scheme, according to the temperature in the cabin and , The relationship between the concentration changes, as well as the changing trends and amplitudes of the concentrations of various gases in the cabin, is used to calculate the gas uniformity error of the cabin, and to measure the fluctuation impact caused by uneven gas mixing; the difference between the gas injection volume and the gas recovery volume of the cabin is then used to calculate the instrument error of the cabin, and to measure the data measurement error caused by the instrument accuracy; finally, the relative comprehensive error is calculated, and the relationship between the relative comprehensive error and the gas recovery rate is used to obtain the equation of the correction fitting curve to achieve the correction of the gas recovery rate. The present application takes into account the error caused by the inconsistent uniformity of gas mixing in each cabin through the gas uniformity error, and takes into account the error caused by the inconsistent instrument accuracy in each cabin through the instrument error. By eliminating these two errors, the gas recovery rates of all cabins are considered under the same metric, thereby achieving the correction of the gas recovery rates of all cabins.
[0011] In one embodiment, the method of injecting gas from a cylinder into the cabin for testing is:
[0012] For each gas, open the main valve of the cylinder and adjust the valve flow through the flow meter so that the cylinder is injected into the cabin at a preset flow and preset time. When the gas concentration in the cabin reaches the peak, exhaust is performed at the preset flow. At the same time, the intake flow of outdoor air is collected through the flow meter at the air inlet. When the difference between the gas concentration in the cabin and the gas concentration outdoors is less than the gas concentration threshold, stop exhausting.
[0013] In one embodiment, the method for obtaining the gas uniformity error of each cabin according to the change characteristics of the gas concentration at all times in each cabin, the difference between the fitting value of the gas concentration corresponding to the fitting straight line at all times and the gas concentration, and the correlation between the gas concentration at all times in each cabin and the corresponding temperature is:
[0014] The gas concentration of each cabin at all times is divided into two parts, each part is taken as a sub-concentration sequence, for each sub-concentration sequence, a first quantity and a second quantity are obtained according to the difference between adjacent gas concentrations in the sub-concentration sequence, and the fitting degree of the fitting line is obtained according to the difference between the fitting line of the sub-concentration sequence and the sub-concentration sequence;
[0015] A fitting curve is constructed based on the gas concentration and corresponding temperature at all times to obtain the standard temperature and the gas concentration corresponding to the standard temperature in each cabin;
[0016] The gas uniformity error of each cabin is taken as the first quantity, the second quantity, the fitting degree of the fitting straight line, and the difference between the gas concentration corresponding to the standard temperature of each cabin and the gas concentration corresponding to the standard temperature of all cabins.
[0017] In one embodiment, the gas concentration of each chamber at all times is divided into two parts, each part is used as a sub-concentration sequence, for each sub-concentration sequence, the first quantity and the second quantity are obtained according to the difference between adjacent gas concentrations in the sub-concentration sequence, and the method for obtaining the fitting degree of the fitting line according to the difference between the fitting line of the sub-concentration sequence and the sub-concentration sequence is:
[0018] The gas concentration of each cabin at all times is recorded as a gas concentration sequence, the maximum value in the gas concentration sequence is obtained, and the data point corresponding to the maximum value is recorded as the demarcation point; the gas concentration corresponding to the demarcation point and the left side of the demarcation point is recorded as an ascending sub-concentration sequence; the gas concentration corresponding to the demarcation point and the right side of the demarcation point is recorded as a descending sub-concentration sequence;
[0019] Calculate the first-order difference sequence of the ascending sub-concentration sequence and the descending sub-concentration sequence, record them as the ascending difference sequence and the descending difference sequence respectively, count the number of negative numbers in the ascending difference sequence as the first quantity, and count the number of positive numbers in the descending difference sequence as the second quantity;
[0020] Perform straight-line fitting on the descending difference sequence to obtain a descending difference straight line, obtain the straight-line slope of the descending difference straight line and the residual of each data point therein, and calculate the fitting degree of the descending difference straight line according to the straight-line slope of the descending difference straight line and the residuals of all corresponding data points;
[0021] The fitting degree of the descending difference line is positively correlated with the slope of the line and the residual of the data point.
[0022] In one embodiment, the method of constructing a fitting curve according to the gas concentration and the corresponding temperature at all times, obtaining the standard temperature, and obtaining the gas concentration corresponding to the standard temperature on the fitting curve of each cabin is:
[0023] For each gas, the gas concentration and temperature at each moment constitute a two-dimensional point, and all the two-dimensional points corresponding to each gas are subjected to curve fitting to obtain a fitting curve recorded as a temperature-concentration correlation curve; a temperature-concentration correlation curve is obtained for each cabin;
[0024] Calculate the mean of all temperatures and record it as the standard temperature. Obtain the gas concentration at the standard temperature of each temperature-concentration related curve in each cabin, and take the mean of the gas concentrations at the standard temperature in all cabins as the mean gas concentration.
[0025] In one embodiment, the method of using the first quantity, the second quantity, the fitting degree of the fitting straight line, and the difference between the gas concentration corresponding to the standard temperature of each cabin and the gas concentration corresponding to the standard temperature of all cabins as the gas uniformity error of each cabin is:
[0026] The sum of the first quantity and the second quantity is taken as the monotonicity of the curve, and the sum of the monotonicity of the curve and the degree of fitting is taken as the concentration uniformity judgment value; the absolute value of the difference between the gas concentration at the standard temperature of each cabin and the mean value of the gas concentration at the standard temperature is taken as the temperature uniformity judgment value; the product of the temperature uniformity judgment value and the concentration uniformity judgment value is taken as the uniformity error of each gas;
[0027] The mean of the uniformity error of each gas is taken as the gas uniformity error of the cabin.
[0028] In one embodiment, the method for obtaining the gas recovery rate and instrument error of each cabin according to the exhaust time in the test, the gas concentration in each cabin and outdoors at each moment, and the weight difference before and after the cylinder is injected with gas is:
[0029] The average value of all gas concentrations collected outdoors is taken as the outdoor gas concentration during the exhaust process, and the product of the outdoor gas concentration, the exhaust time and the intake air flow rate is taken as the outdoor gas volume;
[0030] The absolute value of the difference in weight before and after the cylinder is filled with gas is taken as the gas injection amount;
[0031] Obtain the gas concentration at the beginning of the exhaust phase, and take the product of the gas concentration and the volume of the chamber as the initial gas volume; obtain the gas concentration after the exhaust phase ends, and take the product of the gas concentration and the volume of the chamber as the terminal gas volume; take the difference between the initial gas volume and the terminal gas volume as the first difference, and take the sum of the first difference and the outdoor gas volume as the gas recovery volume;
[0032] The instrument error of each chamber is obtained based on the gas recovery amount, outdoor gas amount, and gas injection amount.
[0033] In one embodiment, the method for obtaining the gas recovery rate and instrument error of each cabin according to the gas recovery amount, the outdoor gas amount, and the gas injection amount is:
[0034] The difference between the gas recovery amount and the outdoor gas amount is recorded as the gas recovery difference, the ratio of the gas recovery difference to the gas injection amount is recorded as the gas recovery rate, and the difference between the gas recovery rate and the constant 1 is recorded as the gas error;
[0035] The mean of the gas errors of all gases in each chamber is taken as the instrument error of the chamber.
[0036] In one embodiment, the method of combining the instrument error and the gas uniformity error of each chamber with the gas recovery rate fitting curve of each chamber and correcting the gas recovery rate through the fitting curve is:
[0037] The instrument error and gas uniformity error of the cabin are normalized, and the average of the normalized instrument error and gas uniformity error of each cabin is taken as the comprehensive error of the cabin;
[0038] The cabin with the smallest comprehensive error is taken as the reference cabin, the difference between the comprehensive error of each cabin and the comprehensive error of the reference cabin is recorded as the comprehensive error difference, and the ratio of the comprehensive error difference to the comprehensive error of the reference cabin is recorded as the relative comprehensive error of the cabin;
[0039] The difference between the gas recovery rate of each compartment and the gas recovery rate of the reference compartment is recorded as the gas recovery rate difference, and the ratio of the gas recovery rate difference to the gas recovery rate of the reference compartment is recorded as the relative gas recovery rate of the compartment;
[0040] Taking the relative gas recovery rate and the relative comprehensive error as one data point, curve fitting is performed on all data points corresponding to all cabins to obtain the relative error curve;
[0041] The corrected gas recovery rate is obtained based on the error relative curve and the gas recovery rate of each chamber.
[0042] In one embodiment, the method for obtaining the corrected gas recovery rate according to the relative error curve and the gas recovery rate of each chamber is:
[0043] The relative comprehensive error is introduced into the relative error curve to obtain the relative gas recovery rate after curve correction, and the corrected gas recovery rate is obtained by combining the relative gas recovery rate after curve correction with the gas recovery rate corresponding to the reference cabin;
[0044] The first sum is obtained by adding a constant 1 to the relative gas recovery rate after curve correction, and the product of the first sum and the gas recovery rate of the reference chamber is taken as the corrected gas recovery rate of each chamber.
[0045] The beneficial effects of this application are:
[0046] According to the temperature in the cabin , The relationship between the concentration changes, as well as the changing trends and amplitudes of the concentrations of various gases in the cabin, is used to calculate the gas uniformity error of the cabin, and to measure the fluctuation impact caused by uneven gas mixing; the difference between the gas injection volume and the gas recovery volume of the cabin is then used to calculate the instrument error of the cabin, and to measure the data measurement error caused by the instrument accuracy; finally, the relative comprehensive error is calculated, and the relationship between the relative comprehensive error and the gas recovery rate is used to obtain the equation of the correction fitting curve to achieve the correction of the gas recovery rate. The present application takes into account the error caused by the inconsistent uniformity of gas mixing in each cabin through the gas uniformity error, and takes into account the error caused by the inconsistent instrument accuracy in each cabin through the instrument error. By eliminating these two errors, the gas recovery rates of all cabins are considered under the same metric, thereby achieving the correction of the gas recovery rates of all cabins. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0048] Figure 1 A flow chart of a gas recovery rate correction method for an animal breathing calorimetry device provided in one embodiment of the present application;
[0049] Figure 2 This is the layout diagram of the breath calorimetry device;
[0050] Figure 3 These are curve diagrams for uniform and non-uniform gas mixing. DETAILED DESCRIPTION
[0051] In order to further explain the technical means and effects adopted by the present application to achieve the predetermined invention purpose, the following is a detailed description of the gas recovery rate correction method for an animal breathing calorimeter device proposed in the present application, its specific implementation method, structure, features and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0052] 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.
[0053] An embodiment of a gas recovery rate correction method for an animal breathing calorimeter:
[0054] The following is a detailed description of a specific scheme of a gas recovery rate correction method for an animal breathing calorimeter provided by the present application in conjunction with the accompanying drawings.
[0055] See also Figure 1 , which shows a flow chart of a gas recovery rate correction method for an animal breathing calorimeter provided by an embodiment of the present application, the method comprising the following steps:
[0056] Step S001, inject gas from a cylinder into the cabin for testing, collect the exhaust time during the test, the gas concentration and corresponding temperature in each cabin and outdoors at each moment during the test, and the weight of the cylinder before and after the gas is injected.
[0057] The device for measuring animal respiration heat includes an animal respiration metabolism chamber, a gas analyzer, a data acquisition controller, a gas line, a solenoid valve, a micro air pump, a flow meter, a signal data line, and a control solenoid valve cable. Figure 2 As shown, Figure 2 1 is an animal respiratory metabolism cabin, 2 is a 6mm airway tube, 3 is a solenoid valve, 4 is a micro air pump, 5 is a flow meter, 6 is a signal data line, 7 is a control solenoid valve cable, 8 is a 6mm airway tube into the analyzer, and the gas analyzer includes an oxygen sensor, a carbon dioxide sensor and a methane sensor.
[0058] The respiratory metabolic chamber has an exhaust port and an air inlet. Since there is no fan at the air inlet, when the exhaust fan is working, the air inlet naturally and passively takes in air into the respiratory metabolic chamber. No other places can leak. At this time, the passively entering outdoor air mixes with the gas in the chamber, and then the mixed gas is pumped out to the outdoors. Due to the gas flow rate: exhaust volume (L / min) > intake volume (L / min), negative air pressure is generated in the respiratory metabolic chamber. In order to automatically balance the micro-negative pressure in the respiratory metabolic chamber, the outdoor air is passively forced to enter the corresponding outdoor air (volume) from the air inlet, thereby maintaining the micro-negative pressure gas balance in the respiratory metabolic chamber.
[0059] Before measuring the breath thermometry of animals, external gas is needed to detect whether the measured concentration values of the gas injected into each chamber in the system are the same. Only when the concentration values are the same, it means that the device has stability, reliability and accuracy and can be used to measure the breath thermometry of animals.
[0060] Therefore, the and Inject them into the cabin respectively and carry out correction test.
[0061] Will The main valve of the cylinder is opened, and the valve flow is adjusted by using the connected flow meter. In this embodiment, the valve flow is taken as the empirical value of 50 L / min. After 160 seconds, the cabin is quickly closed. When When the concentration reaches the peak value, the exhaust pump is turned on to start exhausting, the exhaust flow rate is 500 L / min, and the intake flow rate of outdoor air is collected through the flow meter at the air inlet. When the concentration in the cabin is close to that in the outdoors, the test is terminated and the exhaust time is counted. Concentration and the Outdoors The difference in concentration is less than The concentration threshold is 50ppm, which is considered to be indoors or outdoors. The concentration is close, of which 50ppm is an empirical value obtained after multiple tests. The empirical values obtained in different locations may be different and can be set by the implementer. After the main valve of the cylinder is opened, the gas analyzer collects Concentration, which is collected every 20 seconds, and one is obtained for each compartment concentration sequence, the same time for outdoor The concentration is measured by obtaining an external source Concentration sequence: Each time the concentration is collected, the temperature in the cabin is collected by the temperature sensor to obtain a temperature sequence recorded as the first temperature sequence.
[0062] Will The main valve of the cylinder is opened, and the valve flow is adjusted by using the connected flow meter. The actual flow rate is the empirical value of 2.01 L / min. After 190 seconds, the cabin is quickly closed. When When the concentration reaches the peak value, the exhaust pump is turned on to start exhausting, the exhaust flow rate is 500 L / min, and the intake flow rate of outdoor air is collected through the flow meter at the air inlet. When the concentration in the cabin is close to that in the outdoors, the test is terminated and the exhaust time is counted. Concentration and the Outdoors The difference in concentration is less than The concentration threshold is 0.5ppm, which is considered to be indoors or outdoors. The concentration is close, of which 0.5ppm is an empirical value obtained after multiple tests. The empirical values obtained in different locations may be different. After the main valve of the cylinder is opened, the gas analyzer collects Concentration, which is collected every 20 seconds, and one is obtained for each compartment concentration sequence, the same time for outdoor The concentration is measured by obtaining an external source Concentration sequence: Each time the concentration is collected, the temperature in the cabin is collected by the temperature sensor to obtain a temperature sequence recorded as the second temperature sequence.
[0063] In this embodiment, the volume of the cabin is 31048L, and the implementer can set it according to his own cabin volume.
[0064] Then measure Cylinders and The weight of a cylinder before and after it is filled with gas during testing.
[0065] So far, the temperature at all times, and concentration, exhaust time, Cylinders and The weight of the cylinder before and after it is filled with gas.
[0066] Step S002, for any kind of gas, obtain the gas uniformity error of each cabin based on the change characteristics of the gas concentration in each cabin at all times, the difference between the fitting value of the fitting straight line corresponding to the gas concentration at all times and the gas concentration, and the correlation between the gas concentration and the corresponding temperature in each cabin at all times.
[0067] Using external gas and , simulated animal production and When measuring the gas recovery rate of each cabin, due to various reasons, the final gas recovery rate measurement results will deviate greatly from the actual situation, and the gas recovery rates between cabins will be inconsistent. The reasons that have the greatest impact and will cause large deviations are as follows: 1. When the gas in the cabin is not evenly mixed, it will cause large fluctuations in the test data before and after the various gas concentrations. The condition for the final end of the test is that the detected gas concentration is close to that of the outdoors. If the gas is not evenly mixed, it may cause the test to end early or late, and then the final measured gas recovery rate will have a large error. 2. Since the cabins do not share a flow meter, when the flow meter is used to control the cabin's intake and exhaust flow, the inconsistent accuracy of the flow meters in different cabins will cause errors in the measurement results of the intake and exhaust flow. 3. All cabins share a gas analyzer. If the gas concentration measured by the gas analyzer is in error, the gas recovery rates of all cabins will be in error.
[0068] When the gas is injected into the cabin, if the gas is mixed evenly, the concentration of the gas detected in the cabin is strictly monotonically increasing; when the gas is exhausted by the exhaust pump, the concentration of the gas detected in the cabin is strictly monotonically decreasing, and the amplitude of the decrease is getting smaller and smaller. When the gas is mixed unevenly, the fluctuation of the gas concentration at each moment is not strictly monotonous, and the amplitude of the decrease during exhaust is also fluctuating. Based on this analysis, the concentration change curves when the gas is mixed evenly and unevenly are obtained, such as Figure 3 As shown; Figure 3 Curve 1 in the middle is the curve corresponding to the concentration sequence when the gas is mixed evenly, and curve 2 is the curve corresponding to the concentration sequence when the gas is mixed unevenly.
[0069] For each compartment the corresponding compartment Concentration series and compartments The concentration sequence is analyzed; for any concentration sequence, the data point corresponding to the maximum concentration is recorded as the demarcation point, and the concentration sequence is divided into two sequences according to the demarcation point, which are recorded as sub-concentration sequences. The demarcation point exists in both sub-concentration sequences, and the sub-concentration sequence with the demarcation point on the far right is recorded as the rising sub-concentration sequence, and the sub-concentration sequence with the demarcation point on the far left is recorded as the falling sub-concentration sequence. Then, the first-order difference sequences of the rising sub-concentration sequence and the falling sub-concentration sequence are calculated respectively, recorded as the rising difference sequence and the falling difference sequence, and the first-order difference sequence is used as input. The least squares method is used for linear fitting to obtain the corresponding straight lines, which are recorded as the rising difference straight line and the falling difference straight line, and the corresponding straight line equations are obtained.
[0070] It should be noted that the least square method is only a straight line fitting method in this embodiment, and the implementer can use other straight line fitting methods to fit the difference sequence, such as the gradient descent method.
[0071] The number of negative numbers in the rising difference sequence is recorded as the first number, and the number of positive numbers in the falling difference sequence is recorded as the second number. For the falling difference sequence, the linear slope of the falling difference line and the residuals of all data points of the fitted line are calculated. The larger the first number is, the more likely the rising sub-concentration sequence is to increase monotonically, that is, the more likely the curve is to fluctuate and the more uneven the gas is. Similarly, the larger the second number is, the more uneven the gas is. For the fitted line, a positive number indicates that the trend of the falling sub-concentration sequence is correct, and the residuals of the fitted line data points indicate the degree of deviation from the fitted line. The smaller the residuals are, the less the degree of fitting of the line is.
[0072] The calculation of the residual and the slope is a well-known technique and will not be described in detail in this embodiment.
[0073] The fitting degree of the descending difference line is calculated based on the linear slope of the descending difference line and the residuals of all corresponding data points.
[0074] The fitting degree of the descending difference line is positively correlated with the slope of the line and the residual of the data point.
[0075] It should be noted that positive correlation means that when one variable increases, the other variable also increases, and the two variables change in the same direction. When one variable changes from large to small or from small to large, the other variable also changes from large to small or from small to large. The specific relationship can be a multiplication relationship, an addition relationship, or the idempotence of an exponential function, which is determined by actual application and is not specifically limited in this application.
[0076] Preferably, in one embodiment of the present application, the residuals of all data are added together as the straight line residual, and the product of the straight line residual and the straight line slope is the fitting degree of the descending difference straight line.
[0077] Preferably, in one embodiment of the present application, the residuals of all data are averaged as the straight line residual, the straight line residual is used as the base of the exponential function, the slope of the straight line is used as the exponent of the exponential function, and the result of the exponential function is the degree of fit of the descending difference straight line.
[0078] Furthermore, changes in temperature will also affect the uniformity of gas mixing. When the temperature is higher, the diffusion rate and movement speed of gas molecules will increase, which will increase the frequency of collisions between molecules and help mix different gas molecules. When the temperature is lower, due to the different densities between gases, the gases will produce a certain degree of stratification, resulting in uneven gas mixing.
[0079] Because when collecting data, we get the and The concentration and its corresponding temperature are Concentration series and For any concentration sequence, the temperature at the same time is used as the horizontal coordinate, and the concentration at the same time is used as the vertical coordinate; therefore, for any concentration sequence, it is combined with all temperatures to obtain a number of two-dimensional points.
[0080] For any concentration sequence, all the corresponding two-dimensional points are used as input, and the least square method is used to fit the curves of all the two-dimensional points, and the fitting curve functions of these two-dimensional points are output. The fitting curve obtained by the concentration sequence of any gas and its corresponding temperature sequence can determine the influence of temperature on the concentration change of the gas, and the change of gas concentration reflects the change of gas mixing uniformity, so the change of gas mixing uniformity can be reflected by temperature.
[0081] It should be noted that the least square method here only serves to perform curve fitting on all two-dimensional points, and implementers may also use other curve fitting methods, such as the kernel method, for processing.
[0082] For each chamber and each gas, a fitting curve of temperature and concentration can be obtained. The average temperature of all temperatures is taken and recorded as the standard temperature. The fitting curve of temperature and concentration is recorded as the temperature-concentration correlation curve. When the temperature is the standard temperature, the gas concentration corresponding to the temperature-concentration correlation curve is obtained. At the standard temperature, the gas concentrations of all chambers corresponding to the temperature-concentration correlation curve are averaged and recorded as the gas concentration mean.
[0083] The gas uniformity error in each chamber is obtained according to the first quantity, the second quantity, the fitting degree of the descending difference straight line, the gas concentration at the standard temperature and the mean gas concentration of each chamber.
[0084] The gas uniformity error is positively correlated with the first quantity, the second quantity, the fitting degree of the descending difference straight line, and the gas concentration at the standard temperature, respectively, and the gas uniformity error is negatively correlated with the mean gas concentration at the standard temperature.
[0085] It should be noted that negative correlation means that as one variable increases, the other variable decreases accordingly, and the two variables change in opposite directions. When one variable changes from large to small or from small to large, the other variable also changes from small to large or from large to small. The specific relationship can be a ratio relationship, a subtraction relationship, etc., which is determined by actual application, and this application does not impose any special restrictions.
[0086] Preferably, in one embodiment of the present application, the sum of the first quantity and the second quantity is taken as the monotonicity of the curve, and the sum of the fitting degree of the curve monotonicity and the descending difference straight line is taken as the concentration uniformity judgment value; the absolute value of the difference between the gas concentration at the standard temperature of each cabin and the mean gas concentration at the standard temperature is taken as the temperature uniformity judgment value; the product of the temperature uniformity judgment value and the concentration uniformity judgment value is taken as the uniformity error of each gas.
[0087] Preferably, in one embodiment of the present application, the sum of the first quantity and the second quantity is taken as the monotonicity of the curve, and the sum of the fitting degree of the curve monotonicity and the descending difference straight line is taken as the concentration uniformity judgment value; the absolute value of the difference between the gas concentration at the standard temperature of each cabin and the mean gas concentration at the standard temperature is taken as the temperature uniformity judgment value; the temperature uniformity judgment value is taken as the exponent of the exponential function, the concentration uniformity judgment value is taken as the base of the exponential function, and the value of the exponential function is the uniformity error of each gas.
[0088] Among them, if the difference between the gas concentration of each cabin and the gas concentration of most cabins is small, it means that the gas in the cabin is uniform. If the difference between the gas concentration of each cabin and the gas concentration of most cabins is large, it means that the gas is not uniform. The more uneven the gas is, the fluctuation of the concentration sequence corresponding to the gas does not conform to the strict monotonic change, and thus the gas uniformity error of the cabin is greater.
[0089] Get each cabin and The uniformity error of the two gases, the mean of the uniformity error of the two gases is calculated as the gas uniformity error of each chamber.
[0090] At this point, the gas uniformity error of each chamber is obtained.
[0091] Step S003, obtaining the gas recovery rate and instrument error of each cabin according to the exhaust time in the test, the gas concentration in each cabin and outdoors at each moment, and the weight difference before and after the cylinder is injected with gas.
[0092] For each gas, the change in weight of the corresponding cylinder before and after gas injection is the actual amount of gas injected. The intake flow rate of outdoor air is obtained by the flow meter, and the gas concentration is obtained by the gas analyzer. The amount of recovered gas can be measured based on the intake flow rate and the gas concentration at each moment.
[0093] Will and Any gas in the chamber is recorded as the target gas. When there is no error between the flow meter and the gas detector in the chamber, the difference between the gas recovery amount and the gas injection amount is the amount of gas entering from the outdoors, and the instrument error is 0 at this time.
[0094] Therefore, the gas recovery amount, gas injection amount and outdoor gas amount are calculated separately;
[0095] Calculate the change in weight of the cylinder before and after, and use the change in weight as the amount of gas injected.
[0096] Obtain outdoor gas volume according to outdoor gas concentration, exhaust time and intake air flow rate;
[0097] Since the collection of outdoor gas concentration is a discrete process and the outdoor gas concentration changes slightly, the mean of all outdoor gas concentrations is calculated as the outdoor gas concentration during the exhaust process. Therefore, the product of the outdoor gas concentration, exhaust time and intake air flow is calculated as the outdoor gas volume.
[0098] The gas recovery volume is the difference between the gas volume at the beginning of the exhaust phase and the gas volume after the exhaust is received, and the sum of the outdoor gas volume. Get the gas concentration at the beginning of the exhaust phase, and let the product of the gas concentration and the cabin volume be the initial gas volume; get the gas concentration after the exhaust phase ends, and let the product of the gas concentration and the cabin volume be the terminal gas volume; let the difference between the initial gas volume and the terminal gas volume be the first difference, and let the sum of the first difference and the outdoor gas volume be the gas recovery volume;
[0099] Let the difference between the gas recovery amount and the outdoor gas amount be recorded as the gas recovery difference, let the ratio of the gas recovery difference to the gas injection amount be the gas recovery rate, and the difference between the gas recovery rate and the constant 1 be the gas error. When an error occurs in the instrument in the cabin, the difference between the gas recovery amount and the gas injection amount is the error amount of the instrument. If the gas error obtained by the cabin instrument is negative, it means that the measurement value of the instrument is too small; if the gas error obtained by the cabin instrument is positive, it means that the measurement value of the instrument is too large.
[0100] Get and Gas error in each compartment; Gas error and The mean of the gas errors is taken as the instrument error of the chamber.
[0101] At this point, the instrument error of each cabin has been obtained.
[0102] Step S004, combining the instrument error and gas uniformity error of each cabin with the gas recovery rate fitting curve of each cabin, and correcting the gas recovery rate through the fitting curve.
[0103] The gas uniformity error is the error calculated based on the changes in the temperature and concentration of each gas in the cabin; the instrument error is the error obtained based on the difference between the amount of gas discharged and the amount of gas injected. Since the exhaust process is continuous and the measurement of gas concentration is discrete, the real-time gas concentration changes are not and cannot be combined when considering the instrument error. If the test ends early or late due to gas unevenness, if there is no error in the instrument at this time, the early or late end of the test can be found based on the instrument error, and then the correction of the gas recovery rate can be calculated; however, if there is an error in the instrument, it is impossible to determine whether the test ends early or late, and the specific error caused by the early or late end, based only on the instrument error, so that the gas recovery rate of the cabin cannot be accurately corrected. Therefore, when the gas recovery rate is corrected at the end, it is necessary to combine these two types of errors to calculate the comprehensive error.
[0104] The instrument error and gas uniformity error of the cabin are normalized by linear normalization, and the sum of the normalized instrument error and gas uniformity error in the same cabin is taken as the comprehensive error of the cabin.
[0105] It should be noted that, in this embodiment, linear normalization is only a normalization method for the two errors, and the implementer may also use other algorithms to normalize the errors, such as maximum and minimum value normalization.
[0106] The comprehensive errors of all cabins are obtained, the cabin with the smallest comprehensive error is taken as the reference cabin, and based on the comprehensive error of the reference cabin, the relative comprehensive error between each cabin and the reference cabin is calculated;
[0107] The difference between the comprehensive error of each cabin and the comprehensive error of the reference cabin is recorded as the comprehensive error difference, and the ratio of the comprehensive error difference to the comprehensive error of the reference cabin is recorded as the relative comprehensive error of the cabin;
[0108] The difference between the gas recovery rate of each chamber and the gas recovery rate of the reference chamber is recorded as the gas recovery rate difference, and the ratio of the gas recovery rate difference to the gas recovery rate of the reference chamber is recorded as the relative gas recovery rate of the chamber.
[0109] Thus, a relative gas recovery rate and a relative comprehensive error are obtained for each cabin, with the relative comprehensive error as the horizontal coordinate and the relative gas recovery rate as the vertical coordinate. Each cabin corresponds to a data point, and all data points corresponding to all cabins are constructed by curve fitting to construct an error relative curve. In this way, the corresponding relationship between the relative comprehensive error and the relative gas recovery rate is measured.
[0110] The relative comprehensive error is introduced into the relative error curve obtained by the above curve fitting to obtain the relative gas recovery rate after curve correction;
[0111] The above method for obtaining the relative gas recovery rate is: let the difference between the gas recovery rate of each cabin and the gas recovery rate of the reference cabin be recorded as the gas recovery rate difference, and record the ratio of the gas recovery rate difference to the gas recovery rate of the reference cabin as the relative gas recovery rate of the cabin.
[0112] The relative gas recovery rate is obtained by the gas recovery rate of each cabin and the gas recovery rate of the reference cabin; the relative gas recovery rate is replaced by the relative gas recovery rate after curve correction, the gas recovery rate of the reference cabin remains unchanged, and the corrected gas recovery rate of each cabin is calculated in reverse.
[0113] The first sum is obtained by adding a constant 1 to the relative gas recovery rate after curve correction, and the product of the first sum and the gas recovery rate of the reference chamber is taken as the corrected gas recovery rate of each chamber.
[0114] At this point, the gas recovery rate of each chamber is calibrated.
[0115] It should be noted that the above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
[0116] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
Claims
1. A gas recovery rate correction method for an animal breathing calorimeter, characterized in that: The method comprises the following steps: Inject gas from a cylinder into the cabin for testing, collect the exhaust time during the test, the gas concentration and corresponding temperature in each cabin and outdoors at each moment during the test, and the weight of the cylinder before and after the gas is injected; For any gas, the gas uniformity error of each cabin is obtained according to the change characteristics of the gas concentration at all times in each cabin, the difference between the fitting value of the gas concentration at all times and the fitting straight line and the gas concentration, and the correlation between the gas concentration at all times in each cabin and the corresponding temperature; The method for obtaining the gas uniformity error of each cabin according to the change characteristics of the gas concentration at all times in each cabin, the difference between the fitting value of the gas concentration corresponding to the fitting straight line at all times and the gas concentration, and the correlation between the gas concentration at all times in each cabin and the corresponding temperature is: The gas concentration of each cabin at all times is divided into two parts, each part is taken as a sub-concentration sequence, for each sub-concentration sequence, a first quantity and a second quantity are obtained according to the difference between adjacent gas concentrations in the sub-concentration sequence, and the fitting degree of the fitting line is obtained according to the difference between the fitting line of the sub-concentration sequence and the sub-concentration sequence; A fitting curve is constructed based on the gas concentration and corresponding temperature at all times to obtain the standard temperature and the gas concentration corresponding to the standard temperature in each cabin; The gas uniformity error of each cabin is taken as the difference between the first quantity, the second quantity, the fitting degree of the fitting straight line, and the gas concentration corresponding to the standard temperature of each cabin and the gas concentration corresponding to the standard temperature of all cabins; The sum of the first quantity, the second quantity, and the degree of fitting is taken as a concentration uniformity judgment value; the uniformity error of each gas is obtained according to the difference between the gas concentration in each cabin at the standard temperature and the mean gas concentration, combined with the concentration uniformity judgment value, and the gas uniformity error of the cabin is obtained according to the uniformity errors of all gases; The gas recovery rate and instrument error of each cabin are obtained according to the exhaust time in the test, the gas concentration in each cabin and outdoors at each moment, and the weight difference before and after the cylinder is injected with gas; The instrument error and gas uniformity error of each chamber are combined with the gas recovery rate fitting curve of each chamber, and the gas recovery rate is corrected by the fitting curve; The sum of the normalized instrument error and gas uniformity error in the same cabin is taken as the comprehensive error of the cabin; the cabin with the smallest comprehensive error is taken as the reference cabin, the difference between the comprehensive error of each cabin and the comprehensive error of the reference cabin is recorded as the comprehensive error difference, and the ratio of the comprehensive error difference to the comprehensive error of the reference cabin is recorded as the relative comprehensive error of the cabin; the difference between the gas recovery rate of each cabin and the gas recovery rate of the reference cabin is recorded as the gas recovery rate difference, and the ratio of the gas recovery rate difference to the gas recovery rate of the reference cabin is recorded as the relative gas recovery rate of the cabin; with the relative comprehensive error of each cabin as the horizontal axis, the relative gas recovery rate as the vertical axis, and each cabin as a data point, the error relative curve is constructed by curve fitting for all data points corresponding to all cabins; the relative comprehensive error is introduced into the error relative curve to obtain the relative gas recovery rate after curve correction, and the corrected gas recovery rate is obtained in combination with the gas recovery rate of the reference cabin.
2. A gas recovery rate correction method for an animal breathing calorimeter as claimed in claim 1, characterized in that: The method of injecting gas from a cylinder into the cabin for testing is: For each gas, open the main valve of the cylinder and adjust the valve flow through the flow meter so that the cylinder is injected into the cabin at a preset flow and preset time. When the gas concentration in the cabin reaches the peak, exhaust is performed at the preset flow. At the same time, the intake flow of outdoor air is collected through the flow meter at the air inlet. When the difference between the gas concentration in the cabin and the gas concentration outdoors is less than the gas concentration threshold, stop exhausting.
3. A gas recovery rate correction method for an animal breathing calorimeter as claimed in claim 1, characterized in that: The method of dividing the gas concentration of each cabin at all times into two parts, taking each part as a sub-concentration sequence, obtaining the first quantity and the second quantity according to the difference between the adjacent gas concentrations in the sub-concentration sequence, and obtaining the fitting degree of the fitting line according to the difference between the fitting line of the sub-concentration sequence and the sub-concentration sequence is as follows: The gas concentration of each cabin at all times is recorded as a gas concentration sequence, the maximum value in the gas concentration sequence is obtained, and the data point corresponding to the maximum value is recorded as the demarcation point; the gas concentration corresponding to the demarcation point and the left side of the demarcation point is recorded as an ascending sub-concentration sequence; the gas concentration corresponding to the demarcation point and the right side of the demarcation point is recorded as a descending sub-concentration sequence; Calculate the first-order difference sequence of the ascending sub-concentration sequence and the descending sub-concentration sequence, record them as the ascending difference sequence and the descending difference sequence respectively, count the number of negative numbers in the ascending difference sequence as the first quantity, and count the number of positive numbers in the descending difference sequence as the second quantity; Perform straight-line fitting on the descending difference sequence to obtain a descending difference straight line, obtain the straight-line slope of the descending difference straight line and the residual of each data point therein, and calculate the fitting degree of the descending difference straight line according to the straight-line slope of the descending difference straight line and the residuals of all corresponding data points; The fitting degree of the descending difference line is positively correlated with the slope of the line and the residual of the data point.
4. A gas recovery rate correction method for an animal breathing calorimeter as claimed in claim 1, characterized in that: The method of constructing a fitting curve according to the gas concentration and the corresponding temperature at all times, obtaining the standard temperature, and obtaining the gas concentration corresponding to the standard temperature on the fitting curve of each cabin is as follows: For each gas, the gas concentration and temperature at each moment constitute a two-dimensional point, and all the two-dimensional points corresponding to each gas are subjected to curve fitting to obtain a fitting curve which is recorded as a temperature-concentration correlation curve; Obtain temperature-concentration correlation curves for each compartment; Calculate the mean of all temperatures and record it as the standard temperature. Obtain the gas concentration at the standard temperature of each temperature-concentration related curve in each cabin, and take the mean of the gas concentrations at the standard temperature in all cabins as the mean gas concentration.
5. A gas recovery rate calibration method for an animal breathing calorimeter as claimed in claim 1, characterized in that: The method of taking the difference between the gas concentration corresponding to the standard temperature of each cabin and the gas concentration corresponding to the standard temperature of all cabins as the gas uniformity error of each cabin is: The sum of the first quantity and the second quantity is taken as the monotonicity of the curve, and the sum of the monotonicity of the curve and the degree of fitting is taken as the concentration uniformity judgment value; the absolute value of the difference between the gas concentration at the standard temperature of each cabin and the mean value of the gas concentration at the standard temperature is taken as the temperature uniformity judgment value; the product of the temperature uniformity judgment value and the concentration uniformity judgment value is taken as the uniformity error of each gas; The mean of the uniformity error of each gas is taken as the gas uniformity error of the cabin.
6. A gas recovery rate calibration method for an animal breathing calorimeter as claimed in claim 1, characterized in that: The method for obtaining the gas recovery rate and instrument error of each cabin according to the exhaust time in the test, the gas concentration in each cabin and outdoors at each moment, and the weight difference before and after the cylinder is injected with gas is as follows: The average value of all gas concentrations collected outdoors is taken as the outdoor gas concentration during the exhaust process, and the product of the outdoor gas concentration, the exhaust time and the intake air flow rate is taken as the outdoor gas volume; The absolute value of the difference in weight before and after the cylinder is filled with gas is taken as the gas injection amount; Obtain the gas concentration at the beginning of the exhaust phase, and take the product of the gas concentration and the volume of the chamber as the initial gas volume; obtain the gas concentration after the exhaust phase ends, and take the product of the gas concentration and the volume of the chamber as the terminal gas volume; take the difference between the initial gas volume and the terminal gas volume as the first difference, and take the sum of the first difference and the outdoor gas volume as the gas recovery volume; The instrument error of each chamber is obtained based on the gas recovery amount, outdoor gas amount, and gas injection amount.
7. A gas recovery rate calibration method for an animal breathing calorimeter as claimed in claim 6, characterized in that: The method for obtaining the gas recovery rate and instrument error of each cabin according to the gas recovery amount, outdoor gas amount, and gas injection amount is: The difference between the gas recovery amount and the outdoor gas amount is recorded as the gas recovery difference, the ratio of the gas recovery difference to the gas injection amount is recorded as the gas recovery rate, and the difference between the gas recovery rate and the constant 1 is recorded as the gas error; The mean of the gas errors of all gases in each chamber is taken as the instrument error of the chamber.
8. A gas recovery rate calibration method for an animal breathing calorimeter as claimed in claim 1, characterized in that: The method of combining the instrument error and gas uniformity error of each cabin with the gas recovery rate fitting curve of each cabin and correcting the gas recovery rate through the fitting curve is: The instrument error and gas uniformity error of the cabin are normalized, and the average of the normalized instrument error and gas uniformity error of each cabin is taken as the comprehensive error of the cabin; The cabin with the smallest comprehensive error is taken as the reference cabin, the difference between the comprehensive error of each cabin and the comprehensive error of the reference cabin is recorded as the comprehensive error difference, and the ratio of the comprehensive error difference to the comprehensive error of the reference cabin is recorded as the relative comprehensive error of the cabin; The difference between the gas recovery rate of each compartment and the gas recovery rate of the reference compartment is recorded as the gas recovery rate difference, and the ratio of the gas recovery rate difference to the gas recovery rate of the reference compartment is recorded as the relative gas recovery rate of the compartment; Taking the relative gas recovery rate and the relative comprehensive error as one data point, curve fitting is performed on all data points corresponding to all cabins to obtain the relative error curve; The corrected gas recovery rate is obtained based on the error relative curve and the gas recovery rate of each chamber.
9. A gas recovery rate calibration method for an animal breathing calorimeter as claimed in claim 8, characterized in that: The method for obtaining the corrected gas recovery rate according to the relative error curve and the gas recovery rate of each compartment is: The relative comprehensive error is introduced into the relative error curve to obtain the relative gas recovery rate after curve correction, and the corrected gas recovery rate is obtained by combining the relative gas recovery rate after curve correction with the gas recovery rate corresponding to the reference cabin; The first sum is obtained by adding a constant 1 to the relative gas recovery rate after curve correction, and the product of the first sum and the gas recovery rate of the reference chamber is taken as the corrected gas recovery rate of each chamber.
Citation Information
Patent Citations
Tracking, analysing and assessment of human body movements using a subject-specific digital twin model of the human body
AU2022204095A1
Inspection method of detection accuracy of open type animal breathing calorimetric system
CN102706486A
