Aerobic fermentation water replenishment method, device, electronic device and storage medium for livestock and poultry manure

By calculating and predicting the amount of moisture loss of fermentation materials, and automatically replenishing moisture to meet the fermentation needs, the problem of insufficient water replenishment in the prior art affecting the fermentation process, and the stability and efficiency of the fermentation process are improved.

CN119250234BActive Publication Date: 2025-06-27INTELLIGENT EQUIPMENT RESEARCH CENTER BEIJING ACADEMY OF AGRICULTURE AND FORESTRY SCIENCES
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411775131.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-05
Publication Date
2025-06-27
Estimated Expiration
2044-12-05

AI Technical Summary

Technical Problem

In the prior art, the aerobic fermentation and hydration methods of livestock and poultry manure cannot meet the hydration needs of fermentation materials, which will affect the fermentation process.

Method used

By obtaining the current and initial weights, the current moisture loss amount is calculated and the training random forest model is used to predict the moisture loss range. When the amount of moisture loss falls into the predicted range and is greater than or equal to the preset water replenishment amount, water is replenished to the fermented material, and the water replenishment temperature is within the target temperature range.

Benefits of technology

It improves the accuracy of the hydration timing, meets the hydration needs of fermented materials, stabilizes the fermentation process, and avoids micro-environment fluctuations caused by improper hydration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119250234B_ABST
    Figure CN119250234B_ABST
Patent Text Reader

Abstract

The present invention provides a method, device, electronic device and storage medium for supplementing water in the aerobic fermentation of livestock and poultry manure, belonging to the technical field of resource utilization of agricultural waste, including: obtaining the current weight; determining the current water loss amount according to the current weight and the initial weight; inputting the temperature change data and the initial weight into the trained random forest model to obtain the predicted range of the current water loss amount output by the trained random forest model; and supplementing water to the fermentation material when the current water loss amount falls within the predicted range of the current water loss amount and the current water loss amount is greater than or equal to the preset water replenishment amount. The method for supplementing water in the aerobic fermentation of livestock and poultry manure provided by the present invention solves the technical problem that the method for supplementing water in the aerobic fermentation of livestock and poultry manure in the related art cannot meet the water replenishment requirements of the fermentation material, resulting in the influence on the fermentation process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of resource utilization of agricultural waste, and particularly to an aerobic fermentation water replenishment method, device, electronic device and storage medium for livestock and poultry manure. Background Art

[0002] Livestock and poultry manure mainly refers to solid wastes such as cow dung, chicken manure, pig manure, etc., and generally needs to be fermented and decomposed before being applied to farmland as organic fertilizer. Reactor fermentation is a commonly used fermentation process at present, which is a system that ferments organic wastes such as livestock and poultry manure in a closed container with functions such as aeration and stirring. Compared with traditional natural composting, windrow composting and trough fermentation processes, it has the advantages of short fermentation cycle and small floor area.

[0003] The fermentation and decomposition process of livestock and poultry manure is mainly closely related to the activity of microorganisms. Maintaining appropriate moisture and temperature conditions during the fermentation process is an important measure to further shorten the fermentation time and improve the fermentation effect. As the aerobic fermentation process of livestock and poultry manure progresses, the moisture and temperature of the fermentation materials change rapidly and fluctuate greatly. If the moisture and temperature are not adjusted in time, it will affect the existence form of the fermentation materials and the activity of microorganisms, and have an adverse impact on the fermentation process and the quality of fermentation products.

[0004] In related technologies, the fermentation materials are replenished with water regularly or quantitatively according to manual experience. Manual water replenishment is difficult to meet the water replenishment requirements of the fermentation materials, and it is easy to cause fluctuations in the fermentation microenvironment, thereby seriously affecting the microorganism activity and fermentation process.

[0005] It can be seen that the aerobic fermentation water replenishment method for livestock and poultry manure in related technologies has the technical problem that it cannot meet the water replenishment requirements of the fermentation materials, resulting in affecting the fermentation process. Summary of the Invention

[0006] The present invention provides an aerobic fermentation water replenishment method, device, electronic device and storage medium for livestock and poultry manure, so as to solve the technical problem that the aerobic fermentation water replenishment method for livestock and poultry manure in related technologies cannot meet the water replenishment requirements of the fermentation materials, resulting in affecting the fermentation process.

[0007] The present invention provides a method for supplementing water in the aerobic fermentation of livestock and poultry manure, obtaining the current weight, where the current weight is the weight of the fermentation material at the current moment; determining the current water loss amount according to the current weight and the initial weight, where the initial weight is the weight of the fermentation material at the initial moment when fermentation starts, and the current water loss amount is used to reflect the water lost by the fermentation material during fermentation from the initial moment to the current moment; inputting the temperature change data and the initial weight into the trained random forest model to obtain the predicted range of the current water loss amount output by the trained random forest model, where the temperature change data is the temperature change process data of the fermentation material from the initial moment to the current moment; when the current water loss amount falls within the predicted range of the current water loss amount and the current water loss amount is greater than or equal to the preset water replenishment amount, supplement water to the fermentation material, where the water replenishment temperature is within the target temperature range, and the target temperature range is a temperature range determined according to the current temperature of the fermentation material at the current moment.

[0008] According to a method for supplementing water in the aerobic fermentation of livestock and poultry manure provided by the present invention, the trained random forest model is trained through the following steps: obtaining historical fermentation data, where the historical fermentation data includes temperature data and corresponding water loss amount data of different weight materials at different moments during fermentation; preprocessing the historical fermentation data and dividing it into a training data set and a test data set, where the preprocessing steps include a data cleaning step and a data normalization step; iteratively training the random forest model through the training data set, where the training process includes using cross-validation to evaluate the performance of the random forest model and adjusting the parameters of the random forest model based on the evaluation results; after the number of training times reaches the preset number of times, evaluating the performance of the random forest model using the test data set based on the mean square error method, and determining the current random forest model as the trained random forest model when the performance of the random forest model meets the conditions.

[0009] According to a method for supplementing water in the aerobic fermentation of livestock and poultry manure provided by the present invention, the determining the current water loss amount according to the current weight and the initial weight includes: multiplying the bottom area of the fermentation material by the density of water to obtain a first product; dividing the value obtained by subtracting the current weight from the initial weight by the first product to obtain the current water loss amount; where the amount of water supplemented to the fermentation material is the target water replenishment amount, and the target water replenishment amount is determined according to the preset water replenishment amount, the bottom area of the fermentation material, and the water replenishment coefficient.

[0010] According to an aerobic fermentation water replenishment method for livestock and poultry manure provided by the present invention, before replenishing water to the fermentation material, the method further includes: obtaining the current temperature; subtracting a preset temperature fluctuation value from the current temperature to obtain the minimum threshold of the target temperature range; adding the preset temperature fluctuation value to the current temperature to obtain the maximum threshold of the target temperature range; heating the temperature of the replenished water to within the target temperature range.

[0011] According to an aerobic fermentation water replenishment method for livestock and poultry manure provided by the present invention, before replenishing water to the fermentation material, the method further includes: obtaining temperature data, where the temperature data is the temperature change data of the fermentation material from the initial moment to the current moment; determining the current fermentation stage of the fermentation material according to the temperature data; and stopping water replenishment when the current fermentation stage is the fermentation end stage.

[0012] The present invention also provides an aerobic fermentation water replenishment device for livestock and poultry manure, including: an acquisition module for acquiring the current weight, where the current weight is the weight of the fermentation material at the current moment; a determination module for determining the current water loss amount according to the current weight and the initial weight, where the initial weight is the weight of the fermentation material at the initial moment when fermentation starts, and the current water loss amount is used to reflect the water lost by the fermentation material during fermentation from the initial moment to the current moment; a prediction module for inputting the temperature change data and the initial weight into a trained random forest model to obtain the predicted range of the current water loss amount output by the trained random forest model, where the temperature change data is the temperature change process data of the fermentation material from the initial moment to the current moment; and an execution module for replenishing water to the fermentation material when the current water loss amount falls within the predicted range of the current water loss amount and the current water loss amount is greater than or equal to a preset water replenishment amount, where the water replenishment temperature is within a target temperature range, and the target temperature range is a temperature range determined according to the current temperature of the fermentation material at the current moment.

[0013] The present invention also provides an aerobic fermentation water replenishment system for livestock and poultry manure, including: a fermentation box for storing the fermentation material and fermenting it; a heat preservation and water replenishment system for replenishing water to the fermentation material in the fermentation box; a weight sensor disposed inside the fermentation box for detecting the weight of the fermentation material; a temperature sensor disposed inside the fermentation box for detecting the temperature of the fermentation material; and a control system for implementing any one of the above-mentioned aerobic fermentation water replenishment methods for livestock and poultry manure.

[0014] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the aerobic fermentation water replenishment method for livestock and poultry manure as described in any one of the above is implemented.

[0015] The present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the aerobic fermentation water replenishment method for livestock and poultry manure as described in any one of the above is implemented.

[0016] The present invention also provides a computer program product, including a computer program. When the computer program is executed by a processor, the aerobic fermentation water replenishment method for livestock and poultry manure as described in any one of the above is implemented.

[0017] For the aerobic fermentation water replenishment method, device, electronic device, and storage medium for livestock and poultry manure provided by the present invention, the current water loss amount is determined according to the current weight and the initial weight. When the current water loss amount falls within the predicted range of the current water loss amount and is greater than or equal to the preset water replenishment amount, water is replenished to the fermentation material, which can improve the accuracy of the water replenishment timing. Since the temperature of the replenished water is within the target temperature range, the water replenishment requirement of the fermentation material can be met, thereby solving the technical problem in the related art that the aerobic fermentation water replenishment method for livestock and poultry manure cannot meet the water replenishment requirement of the fermentation material, resulting in the influence on the fermentation process. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art one by one. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0019] Figure 1 is one of the flow diagrams of the aerobic fermentation water replenishment method for livestock and poultry manure provided by the present invention.

[0020] Figure 2 is the structural diagram of the aerobic fermentation water replenishment system for livestock and poultry manure provided by the present invention.

[0021] Figure 3 is the second flow diagram of the aerobic fermentation water replenishment method for livestock and poultry manure provided by the present invention.

[0022] Figure 4 is the structural diagram of the aerobic fermentation water replenishment device for livestock and poultry manure provided by the present invention.

[0023] Figure 5 is the structural diagram of the electronic device provided by the present invention.

[0024] Reference numerals: 1 - Reactor protection device; 2 - Heat preservation and water replenishment system; 3 - Fermentation box body; 4 - Control system; 5 - Water inlet; 6 - Maintenance opening; 7 - Electric control valve; 8 - Cover; 9 - Water replenishment pipeline; 10 - Ventilation pipeline; 11 - Booster pump; 12 - Nozzle; 13 - Heating wire; 14 - Stirring device; 15 - Temperature sensor; 16 - Aeration device; 17 - Feeding port; 18 - Weight sensor; 19 - Ventilation point; 20 - Feeding port door handle; 21 - Liquid level sensor. Specific embodiments

[0025] To make the objectives, technical solutions and advantages of the present invention clearer, the following will clearly and completely describe the technical solutions in the present invention in conjunction with the accompanying drawings in the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by those of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0026] It should be noted that in the description of the present invention, the terms "include", "comprise" or any other variation thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the phrase "including one..." does not exclude the existence of additional identical elements in the process, method, article or device including the element. The orientation or positional relationship indicated by the terms "upper", "lower", etc. is based on the orientation or positional relationship shown in the accompanying drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus cannot be construed as a limitation of the present invention. Unless otherwise clearly defined and limited, the terms "install", "connect", "couple" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the internal communication of two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0027] The terms "first", "second", etc. in the present invention are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present invention can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are usually of the same type, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and / or" means at least one of the connected objects, and the character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0028] Livestock and poultry manure mainly refers to solid wastes such as cow dung, chicken manure, and pig manure. Generally, it needs to be fermented and decomposed before being applied to farmland as organic fertilizer. Reactor fermentation is a commonly used fermentation process at present. It is a system in which organic wastes such as livestock and poultry manure are fermented in a closed container with functions such as aeration and stirring. Compared with traditional natural composting, windrow composting, and in-vessel composting processes, it has the advantages of short fermentation cycle and small floor area. The fermentation and decomposition process of livestock and poultry manure is mainly closely related to the microbial activity. Maintaining appropriate moisture and temperature conditions during the fermentation process is an important measure to further shorten the fermentation time and improve the fermentation effect. As the aerobic fermentation process of livestock and poultry manure progresses, the moisture and temperature of the fermentation materials change rapidly and fluctuate greatly. If the moisture and temperature are not adjusted in time, it will affect the existence form of the fermentation materials and the microbial activity, and have an adverse impact on the fermentation process and the quality of the fermentation products. The existing technology mainly replenishes water for the fermentation materials regularly or quantitatively according to manual experience. It is difficult for the water replenishment time and the water replenishment amount to match the actual needs of the microorganisms during the fermentation process, and there are problems such as low water replenishment efficiency and high labor intensity. Especially when the temperature of the replenished water is quite different from the temperature of the fermentation materials, it is easy to cause fluctuations in the fermentation microenvironment, which will seriously affect the microbial activity and the fermentation process. It can be seen that the water replenishment method for aerobic fermentation of livestock and poultry manure in the related technology has the technical problem of being unable to meet the water replenishment requirements of the fermentation materials, resulting in affecting the fermentation process.

[0029] In order to solve at least some of the above problems, the following is combined with Figures 1-5 Describe the water replenishment method, device, electronic device, and storage medium for aerobic fermentation of livestock and poultry manure provided by the present invention.

[0030] The water replenishment method for aerobic fermentation of livestock and poultry manure provided in this embodiment can be applied to the scenario of replenishing water for fermentation materials during the aerobic fermentation process of livestock and poultry manure.

[0031] The water replenishment method for aerobic fermentation of livestock and poultry manure in this embodiment can be executed by a water replenishment system for aerobic fermentation of livestock and poultry manure. Specifically, it can be executed by the control system of the water replenishment system for aerobic fermentation of livestock and poultry manure.

[0032] Figure 1It is one of the flow schematic diagrams of the aerobic fermentation water replenishment method for livestock and poultry manure provided by the present invention. As Figure 1 shown, it includes but is not limited to the following steps:

[0033] Step 101: Obtain the current weight, where the current weight is the weight of the fermentation material at the current moment.

[0034] Step 102: Determine the current water loss amount according to the current weight and the initial weight. The initial weight is the weight of the fermentation material at the initial moment when fermentation starts, and the current water loss amount is used to reflect the water lost by the fermentation material during fermentation from the initial moment to the current moment.

[0035] Step 103: Input the temperature change data and the initial weight into the trained random forest model to obtain the predicted range of the current water loss amount output by the trained random forest model. The temperature change data is the process data of the temperature change of the fermentation material from the initial moment to the current moment.

[0036] Step 104: When the current water loss amount falls within the predicted range of the current water loss amount and the current water loss amount is greater than or equal to the preset water replenishment amount, add water to the fermentation material. The water replenishment temperature is within the target temperature range, and the target temperature range is the temperature range determined according to the current temperature of the fermentation material at the current moment.

[0037] The aerobic fermentation water replenishment method for livestock and poultry manure in this embodiment is applied to an aerobic fermentation water replenishment system for livestock and poultry manure. The aerobic fermentation water replenishment system for livestock and poultry manure includes: a fermentation box, a heat preservation and water replenishment system, a weight sensor, and a temperature sensor. The fermentation box is used to store the fermentation material and ferment it. The heat preservation and water replenishment system is used to add water to the fermentation material in the fermentation box. The weight sensor and the temperature sensor are arranged inside the fermentation box. The weight sensor is used to detect the weight of the fermentation material, and the temperature sensor is used to detect the temperature of the fermentation material.

[0038] Figure 2 It is the structural schematic diagram of the aerobic fermentation water replenishment system for livestock and poultry manure provided by the present invention. As Figure 2 shown, the aerobic fermentation water replenishment system for livestock and poultry manure provided in this embodiment includes a reactor protection device 1, a heat preservation and water replenishment system 2, a fermentation box 3, and a control system 4.

[0039] At the upper end of the reactor protection device, there are a feed inlet, a water replenishment inlet, and a ventilation inlet. On the side, there are a water filling port 5 and a maintenance port 6; the water filling port is used to fill water into the heat preservation and water replenishment system, and an electric control valve 7 is installed at the water filling port; the maintenance port is used to maintain the electric components of the heat preservation and water replenishment system; the feed inlet is used to add fermentation materials, and there is a cover 8 on it. Preferably, a handle is installed on the cover; the water replenishment inlet is used to replenish water to the fermentation materials and is connected to the water replenishment pipeline 9 in the heat preservation and water replenishment system; the ventilation inlet is connected to the fermentation box body through a ventilation pipeline 10 to realize the exchange and free flow of gas in the fermentation box body and the outside air.

[0040] The heat preservation and water replenishment system includes a booster pump 11, a liquid level sensor 21, and a heating wire 13; the booster pump is connected to the water replenishment pipeline, and a nozzle 12 is installed at the water outlet end of the water replenishment pipeline. There can be multiple nozzles, which are used to evenly spray the clear water at a certain temperature in the heat preservation and water replenishment system onto the fermentation materials in the fermentation box body; preferably, a maintenance port is set at the installation position of the booster pump; the liquid level sensor is used to measure the liquid level information of the stored water in the heat preservation and water replenishment system and judge whether it is necessary to add water to the heat preservation and water replenishment system according to the stored water level information; the heating wire can heat the clear water in the heat preservation and water replenishment system to the target temperature and keep the clear water in the heat preservation and water replenishment system at a constant temperature.

[0041] The fermentation box body includes a stirring device 14, a temperature sensor 15, an aeration device 16, a material taking port 17, and a weight sensor 18; the stirring device is installed on the top of the fermentation box body, and a stirring impeller is installed on the stirring device, which is used to stir the fermentation materials and keep the fermentation materials in a good ventilation state; the temperature sensor is installed on the side wall of the fermentation box body, and multiple monitoring points can be arranged at the upper, middle, and lower positions according to the size of the fermentation box body; the air outlet of the aeration device is installed on the side wall of the fermentation box body, and multiple rows are arranged to fully aerate the fermentation materials; multiple ventilation points 19 are arranged on the side wall of the fermentation box body and are connected to the ventilation holes at the top of the reactor protection device through a ventilation pipeline for the free exchange of internal and external gases; the material taking port is set at the bottom of one side of the fermentation box body and can be opened for taking out the materials after fermentation; there is a material taking port door handle 20 on the door at the material taking port; a weight sensor is installed at the bottom of the fermentation box body to record the weight change of the fermentation materials.

[0042] The control system is installed on the side wall of the reactor protection device and is electrically connected to the booster pump, liquid level sensor, heating wire, stirrer, weight sensor, etc., and is used to realize the opening and closing of all electric components in the aerobic fermentation system of livestock and poultry manure and the acquisition and feedback of data of various sensors.

[0043] In this embodiment, the current weight is obtained, where the current weight is the weight of the fermentation materials measured by the weight sensor at the current moment; the fermentation materials include livestock and poultry manure, specifically including solid wastes such as cow dung, chicken manure, and pig manure.

[0044] Further, determine the current moisture loss based on the current weight and the initial weight, where the initial weight is the weight of the fermented material at the initial moment when fermentation starts, and the current moisture loss is used to reflect the moisture lost by the fermented material during fermentation from the initial moment to the current moment.

[0045] Further, input the temperature change data and the initial weight into the trained random forest model to obtain the predicted range of the current moisture loss output by the trained random forest model, where the temperature change data is the process data of the temperature change of the fermented material from the initial moment to the current moment; here, the temperature change data is the temperature change of the fermented material measured by the temperature sensor during fermentation. Since the fermentation process is in a closed environment, for the fermented material with a fixed initial weight, the moisture loss at different moments can be predicted based on the temperature change during its fermentation process using the trained random forest model.

[0046] Further, when the current moisture loss falls within the predicted range of the current moisture loss and the current moisture loss is greater than or equal to the preset water replenishment amount, replenish water to the fermented material, where the water replenishment temperature is within the target temperature range, and the target temperature range is the temperature range determined according to the current temperature of the fermented material at the current moment.

[0047] Optionally, when the current moisture loss does not fall within the predicted range of the current moisture loss, it indicates that an abnormal situation has occurred in the fermentation process of the fermented material. At this time, it is necessary to stop the fermentation process for inspection.

[0048] It can be understood that the water replenishment temperature within the target temperature range is close to the temperature of the fermented material at the current moment. Therefore, the difference between the water replenishment temperature and the temperature of the fermented material is small, and the water replenished by the heat preservation water replenishment system to the fermented material will not cause fluctuations in the fermentation environment; at the same time, using the trained random forest model can predict the moisture loss of the fermented material based on the temperature change data, thereby increasing the stability and reliability of the fermentation process.

[0049] Through the embodiments provided in this application, the current weight is obtained, where the current weight is the weight of the fermented material at the current moment; the current moisture loss is determined according to the current weight and the initial weight, where the initial weight is the weight of the fermented material at the initial moment when fermentation starts, and the current moisture loss is used to reflect the moisture lost by the fermented material during fermentation from the initial moment to the current moment; the temperature change data and the initial weight are input into the trained random forest model to obtain the predicted range of the current moisture loss output by the trained random forest model, where the temperature change data is the temperature change process data of the fermented material from the initial moment to the current moment; when the current moisture loss falls within the predicted range of the current moisture loss and the current moisture loss is greater than or equal to the preset water replenishment amount, water is replenished to the fermented material, where the water replenishment temperature is within the target temperature range, and the target temperature range is a temperature range determined according to the current temperature of the fermented material at the current moment; the technical problem in the related art that the water replenishment method for aerobic fermentation of livestock and poultry manure cannot meet the water replenishment requirements of the fermented material, resulting in affecting the fermentation process, is solved, and the efficiency of the fermentation process is improved.

[0050] As an alternative solution, the trained random forest model is trained through the following steps:

[0051] S11, Obtain historical fermentation data, where the historical fermentation data includes temperature data and corresponding moisture loss data of different weight materials at different moments during fermentation;

[0052] S12, Preprocess the historical fermentation data and divide it into a training data set and a test data set, where the preprocessing steps include a data cleaning step and a data normalization step;

[0053] S13, Iteratively train the random forest model through the training data set, where the training process includes using cross-validation to evaluate the performance of the random forest model and adjusting the parameters of the random forest model based on the evaluation results;

[0054] S14, After the number of training times reaches the preset number, evaluate the performance of the random forest model based on the mean square error method using the test data set, and determine the current random forest model as the trained random forest model when the performance of the random forest model meets the conditions.

[0055] In this embodiment, historical fermentation data is obtained, that is, data during the historical fermentation process is collected, and this data should include temperature data and corresponding moisture loss data of different weight materials at different time points during fermentation. This data will be used as the basis for model training.

[0056] Furthermore, the historical fermentation data is preprocessed and divided into a training dataset and a test dataset: Data cleaning: Remove or correct incorrect data, outliers, duplicate records, etc. in the dataset; Data normalization: Scale the data to a small specific range, usually between 0 and 1, to eliminate the impact of different dimensions on model training; Divide the dataset: Divide the cleaned and normalized data into two parts, one part is used to train the model (training dataset), and the other part is used to evaluate the model performance (test dataset).

[0057] Furthermore, the random forest model is iteratively trained through the training dataset: Use the training dataset to train the random forest model. During the training process, the cross-validation method is adopted to evaluate the performance of the model. Cross-validation can help understand the performance of the model on unknown data and help adjust the model parameters to avoid overfitting.

[0058] Furthermore, after the number of training times reaches the preset number, the performance of the random forest model is evaluated based on the mean squared error method using the test dataset, that is, when the model training reaches the preset number of iterations, the test dataset is used to evaluate the performance of the model. The test process of the mean squared error (MSE) method is to calculate the mean squared error between the model prediction value and the actual value to quantify the prediction error of the model. If the performance of the model meets the preset conditions (for example, the MSE is lower than the preset threshold), the current random forest model is determined as the trained random forest model and can be used for subsequent prediction tasks.

[0059] Through this embodiment, the trained random forest model can be accurately obtained, thereby improving the reliability and stability of the aerobic fermentation water replenishment method for livestock and poultry manure in this embodiment.

[0060] As an optional solution, determining the current moisture loss amount according to the current weight and the initial weight includes:

[0061] S21, multiplying the bottom area of the fermentation material by the density of water to obtain a first product;

[0062] S22, dividing the value obtained by subtracting the current weight from the initial weight by the first product to obtain the current moisture loss amount;

[0063] Among them, the amount of water replenished to the fermentation material is the target water replenishment amount, and the target water replenishment amount is determined according to the preset water replenishment amount, the bottom area of the fermentation material, and the water replenishment coefficient.

[0064] It should be noted that the bottom area of the fermentation material is the bottom area of the fermentation tank.

[0065] Specifically, the current moisture loss amount during the fermentation process can be calculated by formula (1):

[0066] (1)

[0067] Wherein, is n the moisture loss at time t (mm); M 0 is the initial weight of the fermented material (kg); M n is n the weight of the fermented material at time t (kg); ρ w is the density of water (g / cm 3 ); A is the bottom area of the fermentation tank (m 2 ).

[0068] When the nth moment is the current moment, is the first product, and the calculated based on the first product, the initial weight, and the current weight is the current moisture loss.

[0069] Optionally, the amount of water replenished by the heat preservation and water replenishment system to the fermented material is the target water replenishment amount. The value obtained by multiplying the preset water replenishment amount by the bottom area of the fermentation tank and then multiplying by the water replenishment coefficient is the target water replenishment amount, and the water replenishment coefficient is a preset constant.

[0070] Specifically, the target water replenishment amount can be calculated by formula (2):

[0071] (2)

[0072] Wherein, W w is the target water replenishment amount; A is the bottom area of the fermentation tank (m 2 ); P is the preset water replenishment amount (mm), preferably, taking the value of 10; α is the water replenishment coefficient, preferably, taking the value of 0.9.

[0073] Through this embodiment, the target water replenishment amount can be accurately calculated, thereby improving the reliability and stability of the aerobic fermentation water replenishment method for livestock and poultry manure in this embodiment.

[0074] As an optional solution, before replenishing water to the fermented material, the method further includes:

[0075] S31, obtaining the current temperature;

[0076] S32, subtracting the preset temperature fluctuation value from the current temperature to obtain the minimum threshold of the target temperature range;

[0077] S33, adding the preset temperature fluctuation value to the current temperature to obtain the maximum threshold of the target temperature range;

[0078] S34. Control the temperature of the clear water stored in the heat preservation and water replenishment system to be within the target temperature range.

[0079] In this embodiment, the temperature sensor located inside the fermentation box can be used to monitor the temperature of the fermentation material during the aerobic fermentation process. By controlling the heating wire to open and close through the control system, the clear water in the heat preservation and water replenishment system is heated to within the target temperature range.

[0080] Preferably, the preset temperature fluctuation value is 2°C, that is, the target temperature range is the current temperature ± 2°C.

[0081] Through this embodiment, the target temperature range can be accurately calculated. By controlling the temperature of the clear water stored in the heat preservation and water replenishment system to be within the target temperature range, the reliability and stability of the method for supplementing water in the aerobic fermentation of livestock and poultry manure in this embodiment can be improved.

[0082] As an alternative solution, before supplementing water to the fermentation material, the method further includes:

[0083] S41. Obtain temperature data, where the temperature data is the temperature change data of the fermentation material from the initial moment to the current moment;

[0084] S42. Determine the current fermentation stage of the fermentation material according to the temperature data;

[0085] S43. Stop supplementing water when the current fermentation stage is the fermentation end stage.

[0086] In this embodiment, the current fermentation stage of the fermentation material can be determined by obtaining the temperature data of the fermentation material during the fermentation process. When the fermentation temperature has experienced stages such as the heating period, the high-temperature period, and the cooling period, and the temperature is lower than 40°C and the daily average temperature change range ≤ 2°C, it indicates that the fermentation material is in the basic fermentation stage at this time. At this time, the water replenishment operation is no longer carried out, and the heat preservation and water replenishment system is controlled to stop supplementing water.

[0087] Through this embodiment, judging the fermentation stage according to the temperature data and controlling the heat preservation and water replenishment system to stop supplementing water based on the fermentation stage can improve the reliability and stability of the method for supplementing water in the aerobic fermentation of livestock and poultry manure in this embodiment.

[0088] Figure 3 It is the second flow chart of the method for supplementing water in the aerobic fermentation of livestock and poultry manure provided by the present invention. Refer to Figure 3 , the following combines optional examples to illustrate the method for supplementing water in the aerobic fermentation of livestock and poultry manure in the embodiments of the present application. In this optional example, the following steps can be included:

[0089] S1. Determine the initial state parameters of the fermentation material. The initial state parameters of the fermentation material include the sum of the weights M a (wet weight) of solid materials such as livestock and poultry manure, bulking agent (generally organic materials with a relatively high carbon content), and microbial inoculum, as well as the actual water content. In this embodiment, M a is obtained by recording data with a weight sensor, and the actual water content is determined by sampling and drying method.

[0090] S2. Determine the initial water addition amount of the fermentation material and start fermentation. The initial water addition amount W1 is the amount of water required to adjust the water content of the fermentation material to the target water content, and can be calculated according to parameters such as the actual water content, target water content, and M a of the fermented material after mixing. The target water content is the initial water content condition of the fermentation material. Preferably, it takes a value of 0.5 - 0.6. Use a booster pump to add water to the fermentation material in the fermentation tank. The weight feedback by the weight sensor is M0. When M0 ≥ M a + W1, stop adding water; at the same time, start the stirring device, fully mix the fermentation material, and then start the formal fermentation.

[0091] S3. Obtain the temperature during fermentation and heat for insulation. Use the temperature sensor located in the fermentation tank to monitor the temperature T1 during aerobic fermentation. Through the control system, open and close the heating wire to heat the clear water in the heat preservation and water replenishment system to T1, and keep the water temperature stable at about T1 ± 2°C.

[0092] S4. Obtain the weight data of the fermentation material during fermentation and calculate the water loss amount. Record the weight change of the fermentation material through the weight sensor, and calculate the water loss amount during aerobic fermentation through the following formula:

[0093]

[0094] where, is the water loss amount (mm) at time n ; M 0 is the initial weight (kg) of the fermentation material; M n is the weight (kg) of the fermentation material at time n ; ρ w is the density of water (g / cm 3 ); A is the bottom area (m 2 ) of the fermentation tank.

[0095] S5. Determine the water replenishment time and water replenishment amount during fermentation and replenish water at a constant temperature. According to the water loss amount, judge the water replenishment time and water replenishment amount according to the following formula, and start the booster pump to carry out the water replenishment operation for the fermentation material in the fermentation tank.

[0096]

[0097]

[0098] Among them, when judging carry out the water replenishment operation; W w is the water replenishment volume (L / m 2 ); P is the water replenishment intensity (mm). In this embodiment, the value is 10; α is the water replenishment coefficient. Preferably, the value is 0.9.

[0099] S6. Obtain the liquid level information in the heating and water replenishment system and start the water adding operation. Real-time obtain the data information of the liquid level sensor. When the liquid level in the heating and water replenishment system is lower than the set value, start the electric control valve to add water to the heating and water replenishment system; when the water is added to the set value, close the electric control valve.

[0100] S7. Determine the fermentation stage and judge the stop time of the water replenishment operation. According to the monitoring data of the temperature sensor, determine the stage experienced by the aerobic fermentation temperature. When the fermentation temperature has experienced stages such as the heating period, the high-temperature period, and the cooling period, and the temperature is lower than 40°C and the daily average temperature change range ≤ 2°C, stop the water replenishment operation. Repeat steps S3 - S7 like this until the fermentation ends.

[0101] The aerobic fermentation water replenishment device for livestock and poultry manure provided by the present invention is applied to the aerobic fermentation water replenishment system for livestock and poultry manure. The aerobic fermentation water replenishment system for livestock and poultry manure includes: a fermentation tank, a heat preservation and water replenishment system, a weight sensor, and a temperature sensor. Among them, the fermentation tank is used to store the fermentation material and ferment it. The heat preservation and water replenishment system is used to replenish water to the fermentation material in the fermentation tank. The weight sensor and the temperature sensor are arranged inside the fermentation tank. The weight sensor is used to detect the weight of the fermentation material, and the temperature sensor is used to detect the temperature of the fermentation material;

[0102] Figure 4 is the structural schematic diagram of the aerobic fermentation water replenishment device for livestock and poultry manure provided by the present invention. As Figure 4 shown, the device includes:

[0103] An acquisition module 401, which is used to acquire the current weight, where the current weight is the weight of the fermentation material at the current moment;

[0104] A determination module 402, which is used to determine the current water loss amount according to the current weight and the initial weight, where the initial weight is the weight of the fermentation material at the initial moment when the fermentation starts, and the current water loss amount is used to reflect the water lost by the fermentation material during fermentation from the initial moment to the current moment;

[0105] A prediction module 403 is configured to input the temperature change data and the initial weight into the trained random forest model to obtain the predicted range of the current moisture loss output by the trained random forest model, where the temperature change data is the temperature change process data of the fermented material from the initial moment to the current moment.

[0106] An execution module 404 is configured to supplement water to the fermented material when the current moisture loss falls within the predicted range of the current moisture loss and the current moisture loss is greater than or equal to the preset water replenishment amount, where the water replenishment temperature is within the target temperature range, and the target temperature range is a temperature range determined according to the current temperature of the fermented material at the current moment.

[0107] Through the embodiments of the present application, the current weight is obtained, where the current weight is the weight of the fermented material at the current moment; the current moisture loss is determined according to the current weight and the initial weight, where the initial weight is the weight of the fermented material at the initial moment when fermentation starts, and the current moisture loss is used to reflect the moisture lost by the fermented material during fermentation from the initial moment to the current moment; the temperature change data and the initial weight are input into the trained random forest model to obtain the predicted range of the current moisture loss output by the trained random forest model, where the temperature change data is the temperature change process data of the fermented material from the initial moment to the current moment; when the current moisture loss falls within the predicted range of the current moisture loss and the current moisture loss is greater than or equal to the preset water replenishment amount, water is supplemented to the fermented material, where the water replenishment temperature is within the target temperature range, and the target temperature range is a temperature range determined according to the current temperature of the fermented material at the current moment; the technical problem that the water replenishment method for aerobic fermentation of livestock and poultry manure in the related art cannot meet the water replenishment requirements of the fermented material, resulting in affecting the fermentation process, is solved, and the efficiency of the fermentation process is improved.

[0108] It should be noted that the device for replenishing water for aerobic fermentation of livestock and poultry manure provided by the present invention can execute the method for replenishing water for aerobic fermentation of livestock and poultry manure in any of the above embodiments during specific operation, and this embodiment will not be elaborated herein.

[0109] Figure 5 is a schematic structural diagram of the electronic device provided by the present invention, as Figure 5As shown, the electronic device may include: a processor 510, a communications interface 520, a memory 530, and a communication bus 540. Among them, the processor 510, the communications interface 520, and the memory 530 complete communication with each other through the communication bus 540. The processor 510 may call logical instructions in the memory 530 to execute the method for supplementing water in aerobic fermentation of livestock and poultry manure. The method includes: obtaining the current weight, where the current weight is the weight of the fermentation material at the current moment; determining the current water loss amount according to the current weight and the initial weight, where the initial weight is the weight of the fermentation material at the initial moment when fermentation starts, and the current water loss amount is used to reflect the water lost by the fermentation material during fermentation from the initial moment to the current moment; inputting the temperature change data and the initial weight into the trained random forest model to obtain the predicted range of the current water loss amount output by the trained random forest model, where the temperature change data is the process data of the temperature change of the fermentation material from the initial moment to the current moment; when the current water loss amount falls within the predicted range of the current water loss amount and the current water loss amount is greater than or equal to the preset water replenishment amount, supplement water to the fermentation material, where the water replenishment temperature is within the target temperature range, and the target temperature range is a temperature range determined according to the current temperature of the fermentation material at the current moment.

[0110] In addition, when the logical instructions in the above-mentioned memory 530 can be implemented in the form of software function units and sold or used as an independent product, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods in various embodiments of the present invention. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.

[0111] On the other hand, the present invention also provides a computer program product. The computer program product includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the aerobic fermentation water replenishment method for livestock and poultry manure provided in the above embodiments. The method includes: obtaining the current weight, where the current weight is the weight of the fermentation material at the current moment; determining the current water loss amount according to the current weight and the initial weight, where the initial weight is the weight of the fermentation material at the initial moment when fermentation starts, and the current water loss amount is used to reflect the water lost by the fermentation material during fermentation from the initial moment to the current moment; inputting the temperature change data and the initial weight into the trained random forest model to obtain the predicted range of the current water loss amount output by the trained random forest model, where the temperature change data is the temperature change process data of the fermentation material from the initial moment to the current moment; when the current water loss amount falls within the predicted range of the current water loss amount and the current water loss amount is greater than or equal to the preset water replenishment amount, replenish water to the fermentation material, where the water replenishment temperature is within the target temperature range, and the target temperature range is a temperature range determined according to the current temperature of the fermentation material at the current moment.

[0112] On another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it is configured to execute the aerobic fermentation water replenishment method for livestock and poultry manure provided in the above embodiments. The method includes: obtaining the current weight, where the current weight is the weight of the fermentation material at the current moment; determining the current water loss amount according to the current weight and the initial weight, where the initial weight is the weight of the fermentation material at the initial moment when fermentation starts, and the current water loss amount is used to reflect the water lost by the fermentation material during fermentation from the initial moment to the current moment; inputting the temperature change data and the initial weight into the trained random forest model to obtain the predicted range of the current water loss amount output by the trained random forest model, where the temperature change data is the temperature change process data of the fermentation material from the initial moment to the current moment; when the current water loss amount falls within the predicted range of the current water loss amount and the current water loss amount is greater than or equal to the preset water replenishment amount, replenish water to the fermentation material, where the water replenishment temperature is within the target temperature range, and the target temperature range is a temperature range determined according to the current temperature of the fermentation material at the current moment.

[0113] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative work.

[0114] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the essence of the above technical solution, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiments.

[0115] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of each embodiment of the present invention.

Claims

1. A method for replenishing water by aerobic fermentation of livestock and poultry manure, applied to a control system of aerobic fermentation of livestock and poultry manure replenishing water system, characterized in that: The livestock and poultry manure aerobic fermentation and water replenishment system comprises a fermentation box, a weight sensor and a temperature sensor, wherein the weight sensor and the temperature sensor are arranged inside the fermentation box: Using the weight sensor to obtain the current weight, wherein the current weight is the weight of the fermentation material at the current moment; Determine the current water loss amount according to the current weight and the initial weight, wherein the initial weight is the weight of the fermentation material at the initial moment of fermentation, and the current water loss amount is used to reflect the water lost by the fermentation material from the initial moment to the current moment; Input the temperature change data collected by the temperature sensor and the initial weight into the trained random forest model to obtain the current water loss prediction range output by the trained random forest model, wherein the temperature change data is the temperature change process data of the fermentation material from the initial moment to the current moment; When the current moisture loss falls within the current moisture loss prediction range and the current moisture loss is greater than or equal to a preset water replenishment amount, water is replenished to the fermentation material, wherein the water replenishment temperature is within a target temperature range, and the target temperature range is a temperature range determined according to the current temperature of the fermentation material at the current moment.

2. The method for aerobic fermentation of livestock and poultry manure according to claim 1, characterized in that: The trained random forest model is obtained by training through the following steps: Acquire historical fermentation data, wherein the historical fermentation data includes temperature data of materials of different weights at different times during the fermentation process and corresponding water loss data; The historical fermentation data is preprocessed and divided into a training data set and a test data set, wherein the preprocessing step includes a data cleaning step and a data normalization step; Iteratively training a random forest model using the training data set, wherein the training process includes evaluating the performance of the random forest model using cross-validation, and adjusting parameters of the random forest model based on the evaluation results; After the number of training times reaches a preset number, the performance of the random forest model is evaluated using the test data set based on the mean square error method, and the current random forest model is determined as the trained random forest model if the performance of the random forest model meets the conditions.

3. The method for aerobic fermentation of livestock and poultry manure according to claim 1, characterized in that: The step of determining the current water loss amount according to the current weight and the initial weight comprises: Multiplying the bottom area of ​​the fermentation material by the density of water to obtain a first product; The value obtained by subtracting the current weight from the initial weight is divided by the first product to obtain the current water loss amount; The amount of water added to the fermentation material is a target water addition amount, and the target water addition amount is determined according to the preset water addition amount, the bottom area of ​​the fermentation material and the water addition coefficient.

4. The method for aerobic fermentation of livestock and poultry manure to replenish water according to claim 1, characterized in that: Before adding water to the fermented material, the method further comprises: Obtaining the current temperature; Subtracting a preset temperature fluctuation value from the current temperature to obtain a minimum threshold of the target temperature range; Adding the current temperature to the preset temperature fluctuation value obtains the maximum threshold of the target temperature range; The temperature of the water replenishment is heated to within the target temperature range.

5. The method for aerobic fermentation and water replenishment of livestock and poultry manure according to any one of claims 1 to 4, characterized in that: Before adding water to the fermented material, the method further comprises: Acquiring temperature data, wherein the temperature data is temperature change data of the fermentation material from the initial moment to the current moment; determining a current fermentation stage of the fermented material according to the temperature data; When the current fermentation stage is the fermentation end stage, water replenishment is stopped.

6. A livestock and poultry manure aerobic fermentation water replenishment device, applied to the control system of the livestock and poultry manure aerobic fermentation water replenishment system, characterized in that: The livestock and poultry manure aerobic fermentation and water replenishment system comprises a fermentation box, a weight sensor and a temperature sensor, wherein the weight sensor and the temperature sensor are arranged inside the fermentation box: An acquisition module, used to use the weight sensor to acquire the current weight, wherein the current weight is the weight of the fermentation material at the current moment; a determination module, configured to determine a current water loss amount according to the current weight and the initial weight, wherein the initial weight is the weight of the fermentation material at the initial moment of fermentation, and the current water loss amount is used to reflect the water loss of the fermentation material from the initial moment to the current moment; A prediction module, used for inputting the temperature change data collected by the temperature sensor and the initial weight into the trained random forest model to obtain the current water loss prediction range output by the trained random forest model, wherein the temperature change data is the temperature change process data of the fermentation material from the initial moment to the current moment; An execution module is used to replenish water to the fermentation material when the current water loss amount falls within the current water loss prediction range and the current water loss amount is greater than or equal to a preset water replenishment amount, wherein the water replenishment temperature is within a target temperature range, and the target temperature range is a temperature range determined according to the current temperature of the fermentation material at the current moment.

7. A livestock and poultry manure aerobic fermentation water replenishment system, characterized in that: include: A fermentation box, used for storing fermentation materials and fermenting them; A heat preservation and water supply system, used for supplying water to the fermentation material in the fermentation box; A weight sensor, which is disposed inside the fermentation box and is used to detect the weight of the fermented material; A temperature sensor is disposed inside the fermentation box and is used to detect the temperature of the fermented material; A control system for implementing the livestock and poultry manure aerobic fermentation water replenishment method as described in any one of claims 1 to 5.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the livestock and poultry manure aerobic fermentation water replenishment method as described in any one of claims 1 to 5 is implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the livestock and poultry manure aerobic fermentation water replenishment method as described in any one of claims 1 to 5 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the livestock and poultry manure aerobic fermentation water replenishment method as described in any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Method for monitoring moisture content in compost body in real time in aerobic composting process

    CN110987237A

  • Multifunctional fermentation device

    CN112279700A

  • Hierarchical control method, device and equipment for water content of material and storage medium

    CN117608252A