Livestock and poultry manure aerobic fermentation water replenishing method and device, electronic equipment and storage medium

A predictive water replenishment method using a trained random forest model addresses the inefficiencies in existing water replenishment systems, ensuring timely and accurate water addition within target temperature ranges to stabilize the fermentation process and enhance microbial activity.

CN119250234AActive Publication Date: 2025-01-03INTELLIGENT EQUIPMENT RESEARCH CENTER BEIJING ACADEMY OF AGRICULTURE AND FORESTRY SCIENCES
View PDF 11 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The existing methods for replenishing water during aerobic fermentation of livestock and poultry manure fail to meet the water replenishment demand of the fermentation materials, leading to fluctuations in the fermentation microenvironment and affecting microbial activity and the fermentation process.

Method used

A method utilizing a trained random forest model to predict water loss based on weight and temperature changes, coupled with a system that replenishes water within a target temperature range when the predicted water loss exceeds a preset amount, ensuring accurate and timely water replenishment.

Benefits of technology

The method improves the accuracy and reliability of water replenishment, stabilizing the fermentation process by matching water demand with microbial needs, thereby enhancing fermentation efficiency and product quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119250234A_ABST
    Figure CN119250234A_ABST
Patent Text Reader

Abstract

The invention provides a livestock and poultry manure aerobic fermentation water supplementing method and device, electronic equipment and a storage medium, and belongs to the technical field of agricultural waste resource utilization. Determining the current moisture 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 a current moisture loss prediction range output by the trained random forest model; under the condition that the current moisture loss amount falls into the current moisture loss amount prediction range and the current moisture loss amount is greater than or equal to the preset water supplementing amount, supplementing moisture to the fermentation material. The livestock and poultry manure aerobic fermentation water replenishing method provided by the invention solves the technical problem that a livestock and poultry manure aerobic fermentation water replenishing method in the prior art cannot meet the water replenishing requirement of a fermentation material, so that the fermentation process is influenced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of agricultural waste resource utilization, and in particular to a method, device, electronic equipment and storage medium for aerobic fermentation of livestock and poultry manure. Background Art

[0002] Livestock and poultry manure mainly refers to solid waste such as cow manure, chicken manure, and pig manure, which generally need to be fermented and decomposed before they can be applied to farmland as organic fertilizer. Reactor fermentation is a commonly used fermentation process. It is a system that ferments organic waste such as livestock and poultry manure in a closed container with aeration and stirring functions. Compared with traditional natural composting, windrowing and tank fermentation processes, it has the advantages of short fermentation cycle and small footprint.

[0003] The fermentation and decomposition process of livestock and poultry manure is 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 fermented materials change rapidly and fluctuate greatly. If the moisture and temperature are not adjusted in time, it will affect the existence form and microbial activity of the fermented materials, and have an adverse effect on the fermentation process and the quality of the fermented products.

[0004] In the related art, the fermentation materials are replenished with water at a fixed time or in a fixed amount according to manual experience. However, manual replenishment is difficult to meet the water replenishment needs of the fermentation materials and is likely to cause fluctuations in the fermentation microenvironment, thereby seriously affecting the microbial activity and the fermentation process.

[0005] It can be seen that the water replenishment method for aerobic fermentation of livestock and poultry manure in the related art cannot meet the water replenishment demand of the fermentation material, resulting in technical problems that affect the fermentation process. Summary of the invention

[0006] The present invention provides a method, device, electronic equipment and storage medium for replenishing water during aerobic fermentation of livestock and poultry manure, which are used to solve the technical problem that the method for replenishing water during aerobic fermentation of livestock and poultry manure in the related art cannot meet the water replenishment demand of the fermented materials, thus affecting the fermentation process.

[0007] The present invention provides a method for replenishing water during aerobic fermentation of livestock and poultry manure, which comprises obtaining a current weight, wherein the current weight is the weight of the fermented material at the current moment; determining a current water loss amount according to the current weight and an initial weight, wherein the initial weight is the weight of the fermented material at the initial moment when the fermentation starts, and the current water loss amount is used to reflect the water lost by the fermented material from the initial moment to the current moment; inputting temperature change data and the initial weight into a trained random forest model to obtain a current water loss amount prediction range output by the trained random forest model, wherein the temperature change data is the temperature change process data of the fermented material from the initial moment to the current moment; replenishing water to the fermented material when the current water loss amount falls within the current water loss amount 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 fermented material at the current moment.

[0008] According to a method for aerobic fermentation and water replenishment of livestock and poultry manure provided by the present invention, the trained random forest model is trained by the following steps: obtaining 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; preprocessing the historical fermentation data and dividing it 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 the random forest model through the training data set, wherein 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 a preset number, the test data set is used to evaluate the performance of the random forest model based on the mean square error method, and when the performance of the random forest model meets the conditions, the current random forest model is determined as the trained random forest model.

[0009] According to a method for replenishing water during aerobic fermentation of 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, comprising: multiplying the bottom area of ​​the fermented 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; wherein the amount of water replenished to the fermented material is a target water replenishment amount, and the target water replenishment amount is determined according to the preset water replenishment amount, the bottom area of ​​the fermented material and the water replenishment coefficient.

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

[0011] According to a method for replenishing water in aerobic fermentation of livestock and poultry manure provided by the present invention, before replenishing water to the fermented material, the method also includes: acquiring temperature data, wherein the temperature data is temperature change data of the fermented material from the initial moment to the current moment; determining the current fermentation stage of the fermented material according to the temperature data; and stopping replenishing water when the current fermentation stage is the fermentation end stage.

[0012] The present invention also provides a livestock and poultry manure aerobic fermentation water replenishment device, comprising: an acquisition module, used to obtain a current weight, wherein the current weight is the weight of the fermented material at the current moment; a determination module, used to determine the current water loss amount according to the current weight and the initial weight, wherein the initial weight is the weight of the fermented material at the initial moment of starting fermentation, and the current water loss amount is used to reflect the water lost by the fermented material from the initial moment to the current moment; a prediction module, used to input the temperature change data and the initial weight into a trained random forest model to obtain a current water loss amount prediction range output by the trained random forest model, wherein the temperature change data is the temperature change process data of the fermented material from the initial moment to the current moment; an execution module, used to replenish water to the fermented material when the current water loss amount falls within the current water loss amount 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 fermented material at the current moment.

[0013] The present invention also provides an aerobic fermentation and water replenishment system for livestock and poultry manure, comprising: a fermentation box, used to store and ferment the fermented material; a heat preservation and water replenishment system, used to replenish water to the fermented material in the fermentation box; a weight sensor, the weight sensor is arranged inside the fermentation box, and is used to detect the weight of the fermented material; a temperature sensor, the temperature sensor is arranged inside the fermentation box, and is used to detect the temperature of the fermented material; a control system, used to implement any of the above-mentioned aerobic fermentation and water replenishment methods for livestock and poultry manure.

[0014] The present invention also provides 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 program, the aerobic fermentation and water replenishment method for livestock and poultry manure as described 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 and water replenishment method for livestock and poultry manure as described in any one of the above methods is implemented.

[0016] The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned methods for aerobic fermentation and water replenishment of livestock and poultry manure.

[0017] The livestock and poultry manure aerobic fermentation water replenishment method, device, electronic device and storage medium provided by the present invention determine the current water loss amount according to the current weight and the initial weight, and replenish water to the fermentation material when the current water loss amount falls within the current water loss prediction range and is greater than or equal to the preset water replenishment amount, thereby improving the accuracy of the water replenishment timing; since the temperature of the replenished water is within the target temperature range, the water replenishment demand of the fermentation material can be met, thereby solving the technical problem that the livestock and poultry manure aerobic fermentation water replenishment method in the related art cannot meet the water replenishment demand of the fermentation material, resulting in affecting 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 drawings required for use in the embodiments or the description of the prior art will be briefly introduced one by one below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

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

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

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

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

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

[0024] Figure numerals: 1-reactor protection device; 2-insulation and water supply system; 3-fermentation box; 4-control system; 5-water inlet; 6-inspection port; 7-electric control valve; 8-sealing cover; 9-water supply pipe; 10-ventilation pipe; 11-boosting 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. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0026] It should be noted that in the description of the present invention, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "include one..." do not exclude the existence of other identical elements in the process, method, article or device including the elements. The orientation or position relationship indicated by the terms "upper", "lower" and the like is based on the orientation or position relationship shown in the drawings, which 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 therefore cannot be understood as a limitation of the present invention. Unless otherwise clearly specified and limited, the terms "installed", "connected" and "connected" 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 a direct connection, or it can be an indirect connection through an intermediate medium, or it can be a connection between the two elements. For those skilled 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, and are not used 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 generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" means at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0028] Livestock and poultry manure mainly refers to solid wastes such as cow dung, chicken manure, and pig manure, which generally need to be fermented and decomposed before they can be applied to farmland as organic fertilizer. Reactor fermentation is a commonly used fermentation process. It is a system that ferments organic wastes such as livestock and poultry manure in a closed container with aeration and stirring functions. Compared with traditional natural composting, windrow and trough fermentation processes, it has the advantages of short fermentation cycle and small footprint. The fermentation and decomposition process of livestock and poultry manure is 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. With the advancement of the aerobic fermentation process of livestock and poultry manure, the moisture and temperature of the fermented materials change rapidly and fluctuate greatly. If the moisture and temperature are not adjusted in time, it will affect the existence form and microbial activity of the fermented materials, and have an adverse effect on the fermentation process and the quality of the fermented products. The existing technology mainly replenishes water to the fermented materials at a fixed time or in a fixed amount based on manual experience. The replenishment time and amount are difficult to match with the actual needs of the microorganisms in the fermentation process, and there are problems such as low replenishment efficiency and high labor intensity. In particular, when the replenishment temperature is greatly different from the temperature of the fermentation material, it is easy to cause fluctuations in the fermentation microenvironment, which seriously affects the activity of microorganisms and the fermentation process. It can be seen that the livestock and poultry manure aerobic fermentation water replenishment method in the related technology cannot meet the water replenishment needs of the fermentation material, resulting in technical problems that affect the fermentation process.

[0029] In order to at least solve some of the above problems, the following Figure 1-Figure 5 The invention describes the livestock and poultry manure aerobic fermentation water replenishment method, device, electronic equipment and storage medium.

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

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

[0032] Figure 1FIG. 1 is one of the flow diagrams of the method for aerobic fermentation and water replenishment of livestock and poultry manure provided by the present invention, such as Figure 1 As shown, including but not limited to the following steps: Step 101, obtaining the current weight, wherein the current weight is the weight of the fermentation material at the current moment; Step 102, determining 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 loss of the fermentation material from the initial moment to the current moment; Step 103, inputting the temperature change data 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; Step 104, when the current moisture loss amount falls within the current moisture loss prediction range and the current moisture loss amount is greater than or equal to the preset water replenishment amount, water is added to the fermentation material, wherein 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.

[0033] The livestock and poultry manure aerobic fermentation water replenishment method in this embodiment is applied to the livestock and poultry manure aerobic fermentation water replenishment system, and the livestock and poultry manure aerobic fermentation water replenishment system includes: a fermentation box, a heat preservation and water replenishment system, a weight sensor and a temperature sensor, wherein the fermentation box is used to store and ferment the fermentation material, the heat preservation and water replenishment system is used to replenish 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.

[0034] Figure 2 Schematic diagram of the structure of the livestock and poultry manure aerobic fermentation water replenishment system provided by the present invention, such as Figure 2 As shown, the livestock and poultry manure aerobic fermentation and water replenishment system 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.

[0035] A feed port, a water replenishment port and a vent are provided at the upper end of the reactor protection device, and a water addition port 5 and a maintenance port 6 are provided on the side; the water addition port is used to add water to the thermal insulation water replenishment system, and an electric control valve 7 is installed at the water addition port; the maintenance port is used to repair the electric components of the thermal insulation water replenishment system; the feed port is used for adding fermentation materials, and a cover 8 is provided on it, and preferably, a handle is installed on the cover; the water replenishment port is used to replenish water to the fermentation material, and is connected with the water replenishment pipe 9 in the thermal insulation water replenishment system; the vent is connected with the fermentation box through a ventilation pipe 10, so as to realize the exchange and free circulation of gas in the fermentation box and the outside air.

[0036] The thermal insulation 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 pipe, and a nozzle 12 is installed at the water outlet of the water replenishment pipe. There can be multiple nozzles for uniformly spraying clean water at a certain temperature in the thermal insulation and water replenishment system onto the fermentation material in the fermentation box; preferably, an inspection port is provided at the installation position of the booster pump; the liquid level sensor is used to measure the liquid level information of the water stored in the thermal insulation and water replenishment system, and determine whether it is necessary to add water to the thermal insulation and water replenishment system according to the water level information; the heating wire can heat the clean water in the thermal insulation and water replenishment system to the target temperature and maintain the clean water in the thermal insulation and water replenishment system at a constant temperature.

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

[0038] 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, agitator, weight sensor, etc. It is used to realize the opening and closing of all electric components in the aerobic fermentation system of livestock and poultry manure and the collection and feedback of various sensor data.

[0039] In this embodiment, the current weight is obtained, wherein the current weight is the weight of the fermentation material measured by the weight sensor at the current moment; the fermentation material includes livestock and poultry manure, specifically including solid waste such as cow manure, chicken manure, and pig manure.

[0040] Furthermore, the current water loss is determined based on 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 is used to reflect the water lost by the fermentation material from the initial moment to the current moment.

[0041] Furthermore, the temperature change data and the initial weight are input 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; here, the temperature change data is the temperature change of the fermentation material during the fermentation process measured by the temperature sensor. Since the fermentation process is in a closed environment, for the fermentation material with a fixed initial weight, the water loss at different moments can be predicted based on the trained random forest model according to the temperature change during the fermentation process.

[0042] Furthermore, when the current moisture loss amount falls within the current moisture loss prediction range and the current moisture loss amount is greater than or equal to the preset water replenishment amount, water is added to the fermentation material, wherein 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.

[0043] Optionally, when the current water loss amount does not fall within the current water loss amount prediction range, it indicates that an abnormality has occurred in the fermentation process of the fermented material, and the fermentation process needs to be stopped for inspection.

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

[0045] Through the embodiments provided by the present application, the current weight is obtained, wherein 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, wherein the initial weight is the weight of the fermented material at the initial moment when the fermentation starts, and the current moisture loss is used to reflect the moisture lost by the fermented material 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 current moisture loss prediction range output by the trained random forest model, wherein 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 current moisture loss prediction range and the current moisture loss is greater than or equal to the preset water replenishment amount, water is replenished to the fermented material, wherein 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 water replenishment method for aerobic fermentation of livestock and poultry manure in the related art is solved, and there is a technical problem that the water replenishment demand of the fermented material cannot be met, resulting in an impact on the fermentation process, thereby improving the efficiency of the fermentation process.

[0046] As an alternative, the trained random forest model is trained by the following steps: S11, obtaining 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; S12, preprocessing the historical fermentation data and dividing it into a training data set and a test data set, wherein the preprocessing step includes a data cleaning step and a data normalization step; S13, iteratively training the 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 the parameters of the random forest model based on the evaluation results; S14, after the number of training times reaches a preset number, the performance of the random forest model is evaluated using a test data set based on a mean square error method, and the current random forest model is determined as a trained random forest model if the performance of the random forest model meets the conditions.

[0047] In this embodiment, historical fermentation data is obtained, that is, data from historical fermentation processes are collected, which should include temperature data and corresponding water loss data of materials of different weights at different time points during the fermentation process. These data will serve as the basis for model training.

[0048] Furthermore, the historical fermentation data are preprocessed and divided into a training data set and a test data set: Data cleaning: remove or correct erroneous data, outliers, duplicate records, etc. in the data set; 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 data set: divide the cleaned and normalized data into two parts, one for training the model (training data set), and the other for evaluating the model performance (test data set).

[0049] Furthermore, the random forest model is iteratively trained through the training data set: the random forest model is trained using the training data set. During the training process, the cross-validation method is used 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.

[0050] Furthermore, after the number of trainings reaches a preset number, the performance of the random forest model is evaluated using a test data set based on the mean square error method, that is, when the model training reaches a preset number of iterations, the test data set is used to evaluate the performance of the model. The testing process of the mean square error (MSE) method is to calculate the mean square 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.

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

[0052] As an alternative, the current water loss is determined based on the current weight and initial weight, including: S21, multiplying the bottom area of ​​the fermentation material by the density of water to obtain a first product; S22, dividing the value obtained by subtracting the current weight from the initial weight by the first product to obtain the current water loss; Among them, the amount of water added to the fermentation material is the 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.

[0053] It should be noted that the bottom area of ​​the fermentation material is the bottom area of ​​the fermentation box.

[0054] Specifically, the current water loss during the fermentation process can be calculated using formula (1): (1) in, for n Moisture loss at each moment (mm); M 0 is the initial weight of the fermentation material (kg); M n for n The weight of the fermented material at the moment (kg); ρ w is the density of water (g / cm 3 ); A is the bottom area of ​​the fermentation tank (m 2 ).

[0055] When time n is the current time, is the first product, calculated based on the first product, initial weight and current weight is the current water loss.

[0056] Optionally, the amount of water added to the fermentation material by the insulation and water replenishment system is the target water replenishment amount. The value obtained by multiplying the preset water replenishment amount by the bottom area of ​​the fermentation box and then by the water replenishment coefficient is the target water replenishment amount, and the water replenishment coefficient is a preset constant.

[0057] Specifically, the target water replenishment amount can be calculated by formula (2): (2) in, W w is the target water replenishment amount; A is the bottom area of ​​the fermentation box (m 2 ); P is the preset water replenishment amount (mm), preferably, the value is 10; α is the water replenishment coefficient, preferably, the value is 0.9.

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

[0059] As an optional solution, before adding water to the fermentation material, the method further comprises: S31, obtaining the current temperature; S32, subtracting the preset temperature fluctuation value from the current temperature to obtain the minimum threshold of the target temperature range; S33, adding the current temperature to the preset temperature fluctuation value to obtain the maximum threshold of the target temperature range; S34, controlling the heat preservation and water replenishment system to heat the temperature of the stored clean water to within the target temperature range.

[0060] In this embodiment, a temperature sensor located in the fermentation box can be used to monitor the temperature of the fermentation material during aerobic fermentation, and the heating wire can be turned on and off by the control system to heat the clean water in the insulation and water replenishment system to a target temperature range.

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

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

[0063] As an optional solution, before adding water to the fermentation material, the method further comprises: S41, acquiring temperature data, wherein the temperature data is temperature change data of the fermentation material from the initial moment to the current moment; S42, determining the current fermentation stage of the fermentation material according to the temperature data; S43, when the current fermentation stage is the fermentation end stage, stop replenishing water.

[0064] 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 gone through stages such as a heating period, a high temperature period, and a cooling period, and the temperature is lower than 40°C and the daily average temperature change range is ≤2°C, it means that the fermentation material is in the basic fermentation stage. At this time, water replenishment operations are no longer performed, and the thermal insulation and water replenishment system is controlled to stop replenishing water.

[0065] Through this embodiment, the fermentation stage is judged according to the temperature data, and the heat preservation and water replenishment system is controlled to stop replenishing water based on the fermentation stage, so that the reliability and stability of the livestock and poultry manure aerobic fermentation and water replenishment method of this embodiment can be improved.

[0066] Figure 3 This is the second flow diagram of the method for aerobic fermentation and water replenishment of livestock and poultry manure provided by the present invention, see Figure 3 The following is an explanation of the livestock and poultry manure aerobic fermentation water replenishment method of the present application embodiment in conjunction with an optional example. In this optional example, the following steps may be included: S1, determine the initial state parameters of the fermentation material. The initial state parameters of the fermentation material include the sum of the weight of the mixed solid materials such as livestock and poultry manure, bulking agent (generally organic materials with a relatively high carbon content) and microbial inoculants M a (wet weight) and actual water content. a The data is recorded by the weight sensor and the actual moisture content is measured by sampling using the drying method.

[0067] S2, determine the initial amount of water added to the fermentation material and start fermentation. The initial amount of water added W1 is the amount of water required to adjust the moisture content of the fermentation material to the target moisture content. It can be adjusted according to the actual moisture content of the fermentation material after mixing, the target moisture content and M a The target water content is the initial water content of the fermented material, preferably, it is 0.5-0.6. The booster pump is used to add water to the fermented material in the fermentation box. The weight fed back by the weight sensor is M0. When M0 ≥ M a +W1, stop adding water; at the same time, start the stirring device, and start formal fermentation after fully mixing the fermentation materials.

[0068] S3, obtain the temperature during the fermentation process, and heat and keep warm. Use the temperature sensor located in the fermentation box to monitor the temperature T1 during the aerobic fermentation process, and turn on and off the heating wire through the control system to heat the clean water in the insulation and water replenishment system to T1, and stabilize the water temperature at about T1±2℃.

[0069] S4, obtaining the weight data of the fermentation material during the fermentation process and calculating the water loss. The weight change of the fermentation material is recorded by a weight sensor, and the water loss during the aerobic fermentation process is calculated by the following formula: in, for n Moisture loss at each moment (mm); M 0 is the initial weight of the fermentation material (kg); M n for n The weight of the fermented material at the moment (kg); ρ w is the density of water (g / cm 3 ); A is the bottom area of ​​the fermentation box (m 2 ).

[0070] S5, determine the water replenishment time and water replenishment amount during the fermentation process, and replenish water at a constant temperature. According to the amount of water loss, the water replenishment time and water replenishment amount are determined according to the following formula, and the additional pump is started to replenish water to the fermented materials in the fermentation box.

[0071] Among them, in judging In the case of , start water replenishment operation; W w is the water replenishment volume (L / m 2 ); P is water replenishment intensity (mm), in this embodiment, the value is 10; α is the water replenishment coefficient, preferably, the value is 0.9.

[0072] S6, obtain the liquid level information in the heating and water supply system and start the water supply operation. The data information of the liquid level sensor is obtained in real time. When the liquid level in the heating and water supply system is lower than the set value, the electric control valve is started to add water to the heating and water supply system; when the water is added to the set value, the electric control valve is closed.

[0073] S7, determine the fermentation stage and judge the stop time of water replenishment operation. According to the temperature sensor monitoring data, determine the aerobic fermentation temperature stage. When the fermentation temperature has gone through the heating period, high temperature period, cooling period and other stages, and the temperature is lower than 40°C and the daily average temperature change range is ≤2°C, no water replenishment operation is performed. Repeat steps S3-S7 until the fermentation is completed.

[0074] The livestock and poultry manure aerobic fermentation water replenishment device provided by the present invention is applied to the livestock and poultry manure aerobic fermentation water replenishment system, and the livestock and poultry manure aerobic fermentation water replenishment system comprises: a fermentation box, a heat preservation water replenishment system, a weight sensor and a temperature sensor, wherein the fermentation box is used to store and ferment the fermentation material, the heat preservation water replenishment system is used to replenish 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; Figure 4 Schematic diagram of the structure of the aerobic fermentation and water replenishment device for livestock and poultry manure provided by the present invention. Figure 4 As shown, the device comprises: An acquisition module 401 is used to acquire the current weight, wherein the current weight is the weight of the fermentation material at the current moment; Determination module 402, for determining 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 loss of the fermentation material from the initial moment to the current moment; Prediction module 403, used for inputting temperature change data and 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; The execution module 404 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 the preset water replenishment amount, wherein 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.

[0075] Through the embodiments of the present application, the current weight is obtained, wherein the current weight is the weight of the fermentation material at the current moment; the current moisture loss is determined according to the current weight and the initial weight, wherein the initial weight is the weight of the fermentation material at the initial moment when the fermentation starts, and the current moisture loss is used to reflect the moisture lost by the fermentation material 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 current moisture 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 the preset water replenishment amount, water is replenished to the fermentation material, wherein 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; the water replenishment method for aerobic fermentation of livestock and poultry manure in the related art is solved, and there is a technical problem that the water replenishment demand of the fermentation material cannot be met, resulting in an impact on the fermentation process, thereby improving the efficiency of the fermentation process.

[0076] It should be noted that the livestock and poultry manure aerobic fermentation and water replenishment device provided by the present invention can execute the livestock and poultry manure aerobic fermentation and water replenishment method of any of the above embodiments during specific operation, which will not be described in detail in this embodiment.

[0077] Figure 5 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 5As shown, the electronic device may include: a processor (processor) 510, a communication interface (Communications Interface) 520, a memory (memory) 530 and a communication bus 540, wherein the processor 510, the communication interface 520, and the memory 530 communicate with each other through the communication bus 540. The processor 510 can call the logic instructions in the memory 530 to execute the aerobic fermentation water replenishment method for livestock and poultry manure, which includes: obtaining the current weight, wherein the current weight is the weight of the fermented material at the current moment; determining the current moisture loss amount according to the current weight and the initial weight, wherein the initial weight is the weight of the fermented material at the initial moment when the fermentation starts, and the current moisture loss amount is used to reflect the moisture lost by the fermented material 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 current moisture loss amount prediction range output by the trained random forest model, wherein 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 amount falls within the current moisture loss amount prediction range and the current moisture loss amount is greater than or equal to the preset water replenishment amount, replenishing water to the fermented material, wherein 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.

[0078] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0079] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by the computer, the computer can execute the aerobic fermentation water replenishment method for livestock and poultry manure provided by the above embodiments, and the method includes: obtaining the current weight, wherein the current weight is the weight of the fermented material at the current moment; determining the current moisture loss amount according to the current weight and the initial weight, wherein the initial weight is the weight of the fermented material at the initial moment of starting the fermentation, and the current moisture loss amount is used to reflect the moisture lost by the fermentation material 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 current moisture loss amount prediction range output by the trained random forest model, wherein 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 amount falls within the current moisture loss amount prediction range and the current moisture loss amount is greater than or equal to the preset water replenishment amount, replenishing water to the fermented material, wherein 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.

[0080] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the processor executes the method for aerobic fermentation and water replenishment of livestock and poultry manure provided in the above-mentioned embodiments, the method comprising: obtaining the current weight, wherein the current weight is the weight of the fermented material at the current moment; determining the current moisture loss amount according to the current weight and the initial weight, wherein the initial weight is the weight of the fermented material at the initial moment of starting the fermentation, and the current moisture loss amount is used to reflect the moisture lost by the fermentation material 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 current moisture loss amount prediction range output by the trained random forest model, wherein 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 amount falls within the current moisture loss amount prediction range and the current moisture loss amount is greater than or equal to the preset water replenishment amount, replenishing water to the fermented material, wherein 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.

[0081] The device embodiments described above are merely illustrative, wherein 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, i.e., they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.

[0082] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method 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 this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for 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 embodiment.

[0083] 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 it. Although the present invention 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. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for aerobic fermentation of livestock and poultry manure, characterized in that: include: Obtaining 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; Inputting the temperature change data 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 replenishing device, characterized in that: include: An acquisition module, used 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 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 the fermentation material and fermenting it; 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

  • Octane loss value prediction method based on particle swarm optimization random forest parameters

    CN112686296A

  • Intelligent water replenishing and oxygen increasing device for solid waste compost

    CN113860932A

  • Organic garbage aerobic fermentation equipment and process

    CN114226419A