Water circulation treatment device and method for rice seedling raising
By designing a water circulation treatment device for rice seedlings, using the circulating water identification module and agent identification model to automatically adjust the dosage of acidic chemicals, combined with the automatic replacement of activated carbon filters, the automation and safety issues of water quality treatment in rice seedlings are solved, ensuring the safety of rice seedlings. Water safety and water quality stability.
Patent Information
- Application Number
- CN202410937505.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-10-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing water circulation treatment method in rice seedlings cannot automatically adjust the dosage of acidic chemicals, resulting in the inability to effectively solve the alkaline problem of wastewater and affecting the safety of rice seedlings.
A water circulation treatment device for rice seedlings is designed, including a water collection channel, a circulating water treatment box, a filter pipe and a data collection module. The circulating water identification module and the agent identification model automatically determine the water quality and generate dosing instructions, and use the activated carbon filter element to filter the remaining agents. , to achieve automated processing.
It realizes the graded treatment of circulating water and automatically adjusts the dosage of acidic chemicals, avoiding the problem of substandard water quality, ensuring the safety of water for rice seedling cultivation, and ensuring the stability of water quality through the automatic replacement of activated carbon filters.
Smart Images

Figure CN118754348A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of rice seedling cultivation, and in particular to a water circulation treatment device and method for rice seedling cultivation. Background Art
[0002] Rice seedling cultivation is an important part of rice production. Rice seedling cultivation requires moderate soil pH. In some saline-alkali areas, in order to improve the survival rate of rice seedlings, it is necessary to use water circulation to reduce the salt and alkali content in the soil.
[0003] For example, a Chinese patent with the authorization announcement number CN106630385B discloses a method for rice cultivation on water by recycling aquaculture tail water; the invention is to reuse the wastewater from the aquaculture pond after purification through a water collection well, a filter tank and a modified pond, and the wastewater in the purification process can be used for rice cultivation, and the solid particles in the wastewater are adsorbed and intercepted by the developed root system of the rice, so that the rice roots form a very aerobic / anoxic zone to promote the reaction process of nitrification and denitrification. The present invention combines the characteristics of the aerated biological filter, such as high organic matter volume load, large hydraulic load, and short hydraulic retention time, and relatively reduces the investment, operation and maintenance costs; the patent uses the aquaculture wastewater for rice cultivation after treatment;
[0004] At present, the water circulation method used in large-scale rice seedling cultivation requires a large amount of water. The recycled wastewater is centrally treated by adding acidic chemicals to neutralize the wastewater and then recycling it into the soil. However, the current recycling treatment of these wastewaters cannot automatically adjust the amount of acidic chemicals added according to soil improvement, resulting in the alkalinity problem of the wastewater being solved, but the amount of acidic chemicals remaining is large, affecting rice seedling cultivation. Summary of the invention
[0005] In view of this, the purpose of the present invention is to provide a circulating treatment device and method for water used in rice seedling cultivation, so as to achieve graded treatment of wastewater, automatically adjust the amount of acidic chemical agents added, and ensure the safety of water used in rice seedling cultivation.
[0006] In order to achieve the above technical purpose, the present invention provides a rice seedling water circulation treatment device:
[0007] It includes: a water collection channel, which is laid in the nursery drainage channel; a first water pump, whose input end is connected to the water collection channel and whose output end is connected to a circulating water treatment box; a circulating water treatment box, which is internally divided into a water storage chamber, a transition chamber and a treatment chamber, and the outer surface of the circulating water treatment box is fixed with a water outlet pipe and a dosing pipe; a filter tube, which is fixed to the end of the water outlet pipe and is connected to the water outlet pipe, and a filter element fixing cylinder is connected in a sliding seal inside the filter tube, and an activated carbon filter element is magnetically fixed inside the filter element fixing cylinder; a data acquisition module, which is used to collect characteristic data of circulating water in the transition chamber; a circulating water discrimination module, which is used to input the characteristic data of circulating water into a trained circulating water discrimination model, output the category of circulating water, and generate a dosing instruction or a treatment-free instruction based on the determination of the category of circulating water; a drug recognition module, which is used to input the characteristic data of circulating water into a trained drug recognition model, output the drug dosage, and the drug dosage is used as an execution parameter of the drug administration instruction.
[0008] Preferably, a solenoid valve is fixed at one end of the water outlet pipe, and a flow rate detection module is fixed at the other end of the water outlet pipe. The flow rate detection module is used to collect the flow rate value of the water flow in the water outlet pipe t minutes after the solenoid valve is opened, and t is a value greater than 1.
[0009] Preferably, an electric push rod is fixed to the end of the filter tube, and the output end of the electric push rod is fixedly connected to the filter element fixing cylinder, and the electric push rod is used to drive the filter element fixing cylinder to slide in the filter tube to switch the position of the activated carbon filter element in the filter tube.
[0010] Preferably, the electric push rod is electrically connected to an electronic control box, which includes: a saturation identification module, which is used to compare the flow rate value with a preset flow rate value threshold, and the method for determining whether to generate a replacement instruction includes: if the flow rate value is less than the preset flow rate value threshold, a replacement instruction is generated; if the flow rate value is greater than or equal to the preset flow rate value threshold, no replacement instruction is generated, and it is determined whether to generate a replacement instruction; a control module, which is used to control the operation of the electric push rod based on the replacement instruction.
[0011] Preferably, seepage holes are evenly opened on the side of the water collecting channel, a water collecting bucket is fixed to one end of the water collecting channel close to the first water pump, and the water inlet end of the first water pump is fixedly connected to the end of the water collecting bucket; a second water pump is connected between the water storage chamber and the transition chamber through a pipeline, and a third water pump is connected between the transition chamber and the treatment chamber through a pipeline.
[0012] Preferably, two activated carbon filter elements are provided, a sealing groove is opened on the inner wall of the filter tube, a sealing strip is fixed on the outer surface of the filter element fixing cylinder, and the sealing strip is slidingly and sealingly connected to the sealing groove, sealing covers are fixed at both ends of the filter tube, the middle part of the sealing cover is slidingly and sealingly connected to the filter tube water storage chamber, a sealing plate is fixed at the end of the filter tube water storage chamber located inside the filter element fixing cylinder, the sealing plate is slidingly and sealingly connected to the filter tube, and the outer surface of the filter tube water storage chamber is sleeved with a spring for providing elastic force to the sealing plate.
[0013] Preferably, the training method of the circulating water discrimination model includes:
[0014] Pre-collect multiple groups of historical circulating water, detect each group of historical circulating water to obtain each group of historical circulating water characteristic data, the historical circulating water characteristic data includes historical pH value and historical EC value; generate corresponding actual annotations for each group of historical circulating water characteristic data according to the circulating water category at the time of collection, when the circulating water category is qualified, the actual annotation is 1, when the circulating water category is unqualified, the actual annotation is 0; each group of historical circulating water characteristic data is used as input of the first machine learning model, the first machine learning model takes the predicted annotation of each group of historical circulating water characteristic data as output, takes the actual annotation as the prediction target, and takes minimizing the sum of the prediction accuracy of all historical circulating water characteristic data as the training target; wherein the calculation formula for prediction accuracy is: zk=(ak-wk) 2 , where k is the serial number of the historical circulating water characteristic data, zk is the prediction accuracy, ak is the prediction label value corresponding to the kth group of historical circulating water characteristic data, and wk is the actual label corresponding to the kth group of historical circulating water characteristic data; the first machine learning model is trained until the sum of the prediction accuracies converges, the training is stopped, and the first machine learning model obtained by training is used as the circulating water discrimination model, and the first machine learning model is one of a naive Bayes model or a support vector machine model.
[0015] Preferably, the method for generating a dosing instruction or a treatment-free instruction based on the circulating water category includes:
[0016] If the circulating water category is qualified, a no-treatment instruction is generated; if the circulating water category is unqualified, a dosing instruction is generated.
[0017] Preferably, the training method of the drug recognition model includes: pre-collecting multiple groups of historical circulating water characteristic data and the drug dosage corresponding to each group of historical circulating water characteristic data, and converting the drug dosage corresponding to a group of historical circulating water characteristic data into a group of feature vectors;
[0018] The feature vector is used as the input of the second machine learning model. The second machine learning model takes the predicted dosage of each set of historical circulating water characteristic data as the output, takes the actual dosage flow corresponding to the set of historical circulating water characteristic data as the prediction target, and takes minimizing the sum of the prediction errors of all historical circulating water characteristic data as the training target; wherein the calculation formula of the prediction error is mp=(xp-μp) 2 , where xp is the prediction error, p is the number of the historical circulating water characteristic data, xp is the predicted reagent flow corresponding to the p-th group of historical circulating water characteristic data, and μp is the actual reagent flow corresponding to the p-th group of historical circulating water characteristic data; the second machine learning model is trained until the sum of the prediction errors converges, and the training is stopped, and the trained second machine learning model is used as the reagent identification model; the second machine learning model is any one of a deep neural network model or a deep belief network model.
[0019] A method for circulating water for rice seedling cultivation is implemented based on the above-mentioned device for circulating water for rice seedling cultivation, and the method comprises:
[0020] S1, laying a water collection channel in the drainage channel of the rice nursery, the circulating water in the rice nursery infiltrates into the water collection channel for collection, and then pumped into the water storage chamber by the first pumping pump;
[0021] S2, quantitatively pumping the circulating water in the water storage chamber into the transition chamber by the second pumping pump, and obtaining characteristic data of the circulating water in the transition chamber;
[0022] S3, inputting the circulating water characteristic data into the trained circulating water discrimination model, outputting the circulating water category, and generating a dosing instruction or a treatment-free instruction based on the circulating water category;
[0023] If a no-treatment instruction is generated, the circulating water in the transition chamber can be directly re-irrigated into the rice nursery;
[0024] If a dosing instruction is generated, the circulating water characteristic data is input into the trained drug recognition model, and the drug amount is output. The third pump pumps the circulating water from the transition chamber into the processing chamber, and the staff adds the corresponding drug amount into the processing chamber through the dosing pipe;
[0025] S4, when the water is discharged outward through the processing chamber, the solenoid valve is opened, and the circulating water is filtered through the activated carbon filter element and then discharged;
[0026] S5, obtain the flow velocity value of the water flow in the water outlet pipe, compare the flow velocity value with the preset flow velocity value threshold, and determine whether to generate a replacement instruction. If the flow velocity value is less than the preset flow velocity value threshold, a replacement instruction is generated. If the flow velocity value is greater than or equal to the preset flow velocity value threshold, no replacement instruction is generated. If a replacement instruction is generated, the electric push rod pushes the filter element fixing cylinder to switch the unsaturated activated carbon filter element for use.
[0027] It can be seen from the above technical solutions that this application has the following beneficial effects:
[0028] 1: By dividing the circulating water treatment box into a water storage chamber, a transition chamber and a treatment chamber, the circulating water entering the treatment chamber for treatment is first tested in the transition chamber to determine whether it is qualified. If it is qualified, no treatment is required. If it is unqualified, the amount of chemical agents added can be adjusted according to the water quality to avoid the circulating water failing to meet the standards after adjustment, which affects the safety of rice seedling cultivation.
[0029] 2: A filter tube is installed on the water outlet pipe, and a filter element fixing cylinder is slidably set in the filter tube. The activated carbon filter element is installed in the filter element fixing cylinder to filter residual chemicals. The saturation of the activated carbon filter element is automatically identified to achieve automatic replacement of the activated carbon filter element, thereby avoiding the decrease in filtration effect after the activated carbon filter element is saturated, resulting in a decrease in water quality after water circulation treatment, and further ensuring the safety of water used for rice seedling cultivation. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0031] Figure 1 A schematic diagram of the overall structure of a rice seedling water circulation treatment device provided by the present invention;
[0032] Figure 2 A partial cross-sectional structural schematic diagram of a rice seedling water circulation treatment device provided by the present invention;
[0033] Figure 3 A schematic diagram of the overall structure of a water outlet pipe and a filter pipe of a rice seedling water circulation treatment device provided by the present invention;
[0034] Figure 4 A schematic cross-sectional view of a filter tube of a rice seedling water circulation treatment device provided by the present invention;
[0035] Figure 5 A schematic diagram of the structure of the activated carbon filter element conversion position of a rice seedling water circulation treatment device provided by the present invention;
[0036] Figure 6 A schematic diagram of the explosion structure of a filter element fixing cylinder and an activated carbon filter element of a rice seedling water circulation treatment device provided by the present invention;
[0037] Figure 7A flowchart of a reagent identification module of a rice seedling water circulation treatment device provided by the present invention;
[0038] Figure 8 This is a schematic diagram of the structure of an electric control box of a rice seedling water circulation treatment device provided by the present invention.
[0039] Description of the drawings: 1. Water collection channel; 11. Seepage hole; 12. Water collection bucket; 2. First water pump; 3. Circulating water treatment box; 31. Water storage chamber; 32. Transition chamber; 33. Treatment chamber; 34. Water outlet pipe; 341. Solenoid valve; 342. Flow rate detection module; 35. Dosing pipe; 36. Second water pump; 37. Third water pump; 4. Filter tube; 41. Filter element fixing tube; 411. Sealing strip; 42. Sealing groove; 43. Cover; 431. Guide rod; 432. Sealing plate; 433. Spring; 5. Activated carbon filter element; 6. Electric push rod. DETAILED DESCRIPTION
[0040] The following description is merely exemplary in nature and is not intended to limit the present disclosure, application, and use. It should be understood that in all of these figures, the same or similar reference numerals indicate the same or similar parts and features. The various drawings only schematically represent the concepts and principles of the embodiments of the present disclosure, and do not necessarily show the specific dimensions and proportions of the various embodiments of the present disclosure. Specific parts in specific drawings may be exaggerated to illustrate the relevant details or structures of the embodiments of the present disclosure.
[0041] Embodiment 1
[0042] See also Figure 1 and Figure 2 As shown, a rice seedling water circulation treatment device comprises: a water collection channel 1, which is laid in the nursery drainage channel; a first pumping pump 2, whose input end is connected to the water collection channel 1, and whose output end is connected to a circulating water treatment box 3, for pumping the circulating water collected in the water collection channel 1 into the circulating water treatment box 3. In this embodiment, the first pumping pump 2 adopts a sewage pump with a filtering structure to prevent the first pumping pump 2 from being blocked by mud; the circulating water treatment box 3 is internally divided into a water storage chamber 31, a transition chamber 32 and a treatment chamber 33, see Figure 2As shown, the water storage chamber 31, the transition chamber 32 and the treatment chamber 33 are arranged in sequence. By dividing the circulating water treatment box 3 into three chambers, the side of the water collection channel 1 is evenly provided with seepage holes 11, and the water in the rice nursery soil can penetrate into the water collection channel 1 through the seepage holes 11. A water collection bucket 12 is fixed to one end of the water collection channel 1 close to the first pumping pump 2, and the water inlet end of the first pumping pump 2 is fixedly connected to the end of the water collection bucket 12; a second pumping pump 36 is connected between the water storage chamber 31 and the transition chamber 32 through a pipeline, and the transition chamber 32 is connected to the treatment chamber 33. A third pump 37 is connected between the processing chambers 33 through a pipeline; the purpose is to store circulating water through the water storage chamber 31, transfer the circulating water in the water storage chamber 31 quantitatively through the transition chamber 32, and test the water quality of the quantitative circulating water in the transition chamber 32. At this time, if the circulating water continues to enter the water storage chamber 31, it will not affect the detection accuracy of the circulating water quality in the transition chamber 32. If there is no problem with the water quality detection of the circulating water in the transition chamber 32, it can be directly discharged for use. If there is a problem, it can be transferred to the processing chamber 33 for treatment;
[0043] For details, see Figure 3 and Figure 4 As shown, a water outlet pipe 34 and a dosing pipe 35 are fixed to the outer surface of the circulating water treatment box 3. The dosing pipe 35 is used for dosing. The dosing method in this embodiment can be manual dosing or dosing by an automatic dosing machine, which is not specifically limited here. The circulating water treated by the treatment chamber 33 can be discharged from the water outlet pipe 34; the filter tube 4 is fixed to the end of the water outlet pipe 34 and is connected to the water outlet pipe 34. A filter element fixing cylinder 41 is slidingly sealed and connected inside the filter tube 4. An activated carbon filter element 5 is magnetically fixed inside the filter element fixing cylinder 41. The activated carbon filter element 5 is fixed by magnetic attraction, which facilitates the disassembly and assembly of the activated carbon filter element 5. The circulating water discharged through the water outlet pipe 34 is filtered by the activated carbon filter element 5, which can reduce the residual chemical agents in the circulating water and is more conducive to the growth of rice seedlings.
[0044] For more details, see Figure 3 and Figure 4 A solenoid valve 341 is fixed at one end of the outlet pipe 34, and a flow rate detection module 342 is fixed at the other end of the outlet pipe 34. The flow rate detection module 342 is used to collect the flow rate value of the water flow in the outlet pipe 34 after the solenoid valve 341 is opened for t minutes, and t is a value greater than the water collection channel 1. The purpose is to avoid misdetection by the flow rate detection module 342. Because if the solenoid valve 341 is not opened, the detection end of the flow rate detection module 342 is not affected by the water flow, and the detected value tends to 0. After the solenoid valve 341 is opened for a period of time, the detection is performed again. At this time, the accurate flow rate value can be detected by the flow rate detection module 342; the flow rate detection module 342 of this embodiment adopts a sensor with the function of detecting flow rate, such as an ultrasonic sensor or a turbine flow sensor, which is not specifically limited here.
[0045] See also Figure 3 , Figure 4and Figure 5 As shown, an electric push rod 6 is fixed at the end of the filter tube 4, and the output end of the electric push rod 6 is fixedly connected to the filter element fixing cylinder 41. The electric push rod 6 is used to drive the filter element fixing cylinder 41 to slide in the filter tube 4 to switch the position of the activated carbon filter element 5 in the filter tube 4. Figure 4 and Figure 5 The purpose of placing the activated carbon filter element 5 in different positions is to quickly switch to another activated carbon filter element 5 when one of the activated carbon filter elements 5 is saturated.
[0046] For further information, see Figure 3 and Figure 8 As shown, the electric push rod 6 is electrically connected to an electric control box. The specific installation position of the electric control box is not shown in the figure. It can be fixed on the filter tube 4. The electric control box includes: a saturation recognition module, which is used to compare the flow rate value with the preset flow rate value threshold to determine whether to generate a replacement instruction. If the flow rate value is less than the preset flow rate value threshold, a replacement instruction is generated. If the flow rate value is greater than or equal to the preset flow rate value threshold, no replacement instruction is generated. The preset flow rate value threshold is determined by a person skilled in the art. When the experimental activated carbon filter element 5 meets the basic filtering requirements, the flow rate value detected by the circulating water passing through the activated carbon filter element 5 is used as the preset flow rate value threshold; a control module is used to control the operation of the electric push rod 6 based on the replacement instruction. The purpose is to automatically replace the activated carbon filter element 5, reduce manual intervention, and meet the current needs of intelligent irrigation.
[0047] It should be noted that the electric push rod 6 is set to extend or retract a distance equal to half the distance of the filter element fixing tube 41 at a time, so that the electric push rod 6 works once, that is, extends once or retracts once, and the activated carbon filter element 5 can be replaced once.
[0048] For more details, see Figure 4 , Figure 5 and Figure 6 As shown, two activated carbon filter elements 5 are provided, and a sealing groove 42 is opened on the inner wall of the filter tube 4, and a sealing strip 411 is fixed on the outer surface of the filter element fixing cylinder 41, and the sealing strip 411 is slidably sealed and connected with the sealing groove 42 to ensure that after the activated carbon filter element 5 is switched, the sealing is still guaranteed, so that the circulating water can be filtered through the activated carbon filter element 5 and then discharged. Both ends of the filter tube 4 are fixed with sealing caps 43 for closing the filter tube 4, and the two ends of the filter tube 4 are connected. By removing the sealing caps 43, the activated carbon filter element 5 in the filter element fixing cylinder 41 can be taken out and replaced. For example, when one of the activated carbon filter elements 5 is saturated, the electric push rod 6 is extended or retracted once, so that the saturated activated carbon filter element 5 will be at the end of the filter tube 4, and the staff can come to replace the saturated activated carbon filter element 5 without affecting the next automatic replacement of the activated carbon filter element 5.
[0049] A guide rod 431 is slidably and sealingly connected to the middle part of the cover 43, and a sealing plate 432 is fixed to the end of the guide rod 431 located inside the filter element fixing cylinder 41. The sealing plate 432 is slidably and sealingly connected to the filter tube 4, and a spring 433 for providing elastic force to the sealing plate 432 is sleeved on the outer surface of the guide rod 431 to ensure the sealing between the filter element fixing cylinder 41 and the filter tube 4 after the filter element fixing cylinder 41 switches its position, thereby preventing circulating water from flowing into the cavity of the filter tube 4.
[0050] Embodiment 2
[0051] See also Figure 7 As shown, based on the above embodiment, a rice seedling water circulation treatment device also includes: a data acquisition module, which is used to collect circulating water characteristic data in the transition chamber 32, and the data acquisition module includes a pH meter and a conductivity meter, which are respectively used to detect the pH value and EC value of the circulating water; a circulating water discrimination module, which is used to input the circulating water characteristic data into a trained circulating water discrimination model, output the circulating water category, and generate a dosing instruction or a treatment-free instruction based on the circulating water category; a drug identification module, which is used to input the circulating water characteristic data into the trained drug identification model, and output the drug dosage, and the drug dosage is used as a parameter for executing the drug administration instruction.
[0052] The training method of the circulating water discrimination model includes:
[0053] Pre-collect multiple groups of historical circulating water, detect each group of historical circulating water to obtain each group of historical circulating water characteristic data, the historical circulating water characteristic data includes historical pH value and historical EC value; generate corresponding actual annotations for each group of historical circulating water characteristic data according to the circulating water category at the time of collection, when the circulating water category is qualified, the actual annotation is 1, when the circulating water category is unqualified, the actual annotation is 0; each group of historical circulating water characteristic data is used as the input of the first machine learning model, the first machine learning model uses the predicted annotation of each group of historical circulating water characteristic data as output, the actual annotation as the prediction target, and the minimization of the sum of the prediction accuracies of all historical circulating water characteristic data as the training target; wherein the calculation formula for prediction accuracy is: zk = (ak-wk) 2, where k is the serial number of the historical circulating water characteristic data, zk is the prediction accuracy, ak is the prediction annotation value corresponding to the kth group of historical circulating water characteristic data, and wk is the actual annotation corresponding to the kth group of historical circulating water characteristic data; the first machine learning model is trained until the sum of the prediction accuracies reaches convergence. It should be noted that the convergence standard is greater than or equal to the sum of the prediction accuracies, that is, the model gradually approaches the optimal solution or reaches a stable state during the training process. In this case, when the prediction accuracy reaches or exceeds a certain threshold, we can say that the algorithm or model has converged; specifically, when the prediction accuracy is greater than or equal to a predetermined standard, we can think that the model has accurately fitted the data to a certain extent and no further training or adjustment is required, which means that the model has learned the key patterns and features in the data and can be used for actual prediction or decision-making. The specific convergence standard is set by technicians in this field according to the specific model training situation; stop training and use the first machine learning model obtained by training as a circulating water discrimination model, and the first machine learning model is one of a naive Bayes model or a support vector machine model.
[0054] Methods for determining the type of circulating water and generating dosing instructions or treatment-free instructions include:
[0055] If the circulating water category is qualified, a treatment-free instruction is generated;
[0056] If the circulating water category is unqualified, a dosing instruction will be generated.
[0057] The training method of the drug recognition model includes:
[0058] Pre-collecting multiple groups of historical circulating water characteristic data and the dosage of medicine corresponding to each group of historical circulating water characteristic data, and converting the dosage of medicine corresponding to a group of historical circulating water characteristic data into a group of characteristic vectors;
[0059] The feature vector is used as the input of the second machine learning model. The second machine learning model takes the predicted dosage of each set of historical circulating water characteristic data as the output, takes the actual dosage flow corresponding to the set of historical circulating water characteristic data as the prediction target, and takes minimizing the sum of the prediction errors of all historical circulating water characteristic data as the training target; wherein the calculation formula of the prediction error is mp = (xp-μp) 2, where xp is the prediction error, p is the number of the historical circulating water characteristic data, xp is the predicted reagent flow corresponding to the p-th group of historical circulating water characteristic data, and μp is the actual reagent flow corresponding to the p-th group of historical circulating water characteristic data; the second machine learning model is trained until the sum of the prediction errors reaches convergence and the training is stopped. It should be noted that the convergence standard is greater than or equal to the sum of the prediction accuracies, that is, the model gradually approaches the optimal solution or reaches a stable state during the training process. In this case, when the prediction accuracy reaches or exceeds a certain threshold, we can say that the algorithm or model has converged; specifically, when the prediction accuracy is greater than or equal to a predetermined standard, we can think that the model has accurately fitted the data to a certain extent and no further training or adjustment is required, which means that the model has learned the key patterns and features in the data and can be used for actual prediction or decision-making. The specific convergence standard is set by technicians in this field according to the specific model training situation. The trained second machine learning model is used as a reagent recognition model; the second machine learning model is any one of a deep neural network model or a deep belief network model.
[0060] The purpose of this embodiment is to first determine whether the circulating water generated by rice seedling cultivation needs to be treated. If not, it can be used directly. If treatment is required, the dosage can be adjusted according to the water quality to avoid excessive or insufficient dosage affecting the water quality.
[0061] Embodiment 3
[0062] Based on the above embodiment, a method for circulating water for rice seedling cultivation is implemented based on the above device for circulating water for rice seedling cultivation, and the method includes:
[0063] S1, laying a water collection channel 1 in the drainage channel of the rice nursery, the circulating water in the rice nursery infiltrates into the water collection channel 1 for collection, and then pumped into the water storage chamber 31 through the first pumping pump 2;
[0064] S2, quantitatively pumping the circulating water in the water storage chamber 31 into the transition chamber 32 through the second pumping pump 36, and obtaining characteristic data of the circulating water in the transition chamber 32;
[0065] S3, inputting the circulating water characteristic data into the trained circulating water discrimination model, outputting the circulating water category, and generating a dosing instruction or a treatment-free instruction based on the circulating water category;
[0066] If a no-processing instruction is generated, the circulating water in the transition chamber 32 can be directly re-irrigated into the rice nursery;
[0067] If a dosing instruction is generated, the circulating water characteristic data is input into the trained drug recognition model, and the drug amount is output. The third pump 37 pumps the circulating water from the transition chamber 32 into the processing chamber 33, and the staff adds the corresponding drug amount into the processing chamber 33 through the dosing pipe 35;
[0068] It is worth mentioning that the outlet of the third pump 37 is equipped with a three-way valve (not shown), which is respectively connected to the outlet of the third pump 37, the processing chamber 33 and the drainage pipe joint (not shown). If a processing-free instruction is generated, it can be directly switched to the drainage pipe joint through the three-way valve, and the drainage pipe joint can be directly connected to the irrigation system of the rice nursery, so as to directly irrigate without processing through the processing chamber 33;
[0069] S4, when the water is discharged outward through the processing chamber 33, the solenoid valve 341 is opened, and the circulating water is filtered through the activated carbon filter element 5 and then discharged;
[0070] S5, obtain the flow velocity value of the water flow in the outlet pipe 34, compare the flow velocity value with the preset flow velocity value threshold, and determine whether to generate a replacement instruction. If the flow velocity value is less than the preset flow velocity value threshold, a replacement instruction is generated. If the flow velocity value is greater than or equal to the preset flow velocity value threshold, no replacement instruction is generated. If a replacement instruction is generated, the electric push rod 6 pushes the filter element fixing cylinder 41 to switch the unsaturated activated carbon filter element 5 for use. The purpose is to be more suitable for use in an intelligent seedling cultivation system, reduce manual intervention, and improve seedling cultivation efficiency.
[0071] The exemplary implementation scheme of the present disclosure is described in detail above with reference to the preferred embodiments. However, it can be understood by those skilled in the art that, without departing from the concept of the present disclosure, various modifications and variations can be made to the above-mentioned specific embodiments, and various technical features and structures proposed in the present disclosure can be combined in various ways without exceeding the protection scope of the present disclosure, which is determined by the attached claims.
Claims
1. A water circulation treatment device for rice seedling cultivation, characterized in that: include: The water collection channel (1) is laid in the drainage channel of the nursery; A first water pump (2), the input end of which is in communication with the water collection channel (1), and the output end of which is connected to a circulating water treatment tank (3); A circulating water treatment box (3) is internally divided into a water storage chamber (31), a transition chamber (32) and a treatment chamber (33), and a water outlet pipe (34) and a drug addition pipe (35) are fixed on the outer surface of the circulating water treatment box (3); A filter tube (4) is fixed to the end of the water outlet pipe (34) and communicated with the water outlet pipe (34); a filter element fixing cylinder (41) is slidably and sealably connected inside the filter tube (4); an activated carbon filter element (5) is magnetically fixed inside the filter element fixing cylinder (41); A data acquisition module, used for acquiring characteristic data of circulating water in the transition chamber (32); A circulating water discrimination module is used to input circulating water characteristic data into a trained circulating water discrimination model, output the circulating water category, and generate a dosing instruction or a treatment-free instruction based on the circulating water category; The medicine recognition module is used to input the circulating water characteristic data into the trained medicine recognition model and output the medicine dosage, which is used as the execution parameter of the medicine administration instruction.
2. A rice seedling water circulation treatment device according to claim 1, characterized in that: A solenoid valve (341) is fixed to one end of the water outlet pipe (34), and a flow rate detection module (342) is fixed to the other end of the water outlet pipe (34). The flow rate detection module (342) is used to collect the flow rate value of the water flow in the water outlet pipe (34) t minutes after the solenoid valve (341) is opened, where t is a value greater than the water collection channel (1).
3. A rice seedling water circulation treatment device according to claim 2, characterized in that: An electric push rod (6) is fixed to the end of the filter tube (4), and the output end of the electric push rod (6) is fixedly connected to the filter element fixing cylinder (41), and the electric push rod (6) is used to drive the filter element fixing cylinder (41) to slide in the filter tube (4) to switch the position of the activated carbon filter element (5) in the filter tube (4).
4. A rice seedling water circulation treatment device according to claim 3, characterized in that: The electric push rod (6) is electrically connected to an electric control box, which includes: A saturation identification module is used to compare the flow rate value with a preset flow rate value threshold to determine whether to generate a replacement instruction, and if the flow rate value is less than the preset flow rate value threshold, a replacement instruction is generated; If the flow rate value is greater than or equal to the preset flow rate value threshold, no replacement instruction is generated; The control module is used to control the operation of the electric push rod (6) based on the replacement instruction.
5. A rice seedling water circulation treatment device according to claim 4, characterized in that: The side of the water collecting channel (1) is evenly provided with water seepage holes (11); a water collecting bucket (12) is fixed to one end of the water collecting channel (1) close to the first water pump (2); and the water inlet end of the first water pump (2) is fixedly connected to the end of the water collecting bucket (12); a second water pump (36) is connected between the water storage chamber (31) and the transition chamber (32) via a pipeline; and a third water pump (37) is connected between the transition chamber (32) and the treatment chamber (33) via a pipeline.
6. A rice seedling water circulation treatment device according to claim 5, characterized in that: Two activated carbon filter elements (5) are provided, the inner wall of the filter tube (4) is provided with a sealing groove (42), the outer surface of the filter element fixing cylinder (41) is fixed with a sealing strip (411), and the sealing strip (411) is slidably sealedly connected to the sealing groove (42), both ends of the filter tube (4) are fixed with a sealing cover (43), the middle part of the sealing cover (43) is slidably sealedly connected to a guide rod (431), the end of the guide rod (431) located inside the filter element fixing cylinder (41) is fixed with a sealing plate (432), the sealing plate (432) is slidably sealedly connected to the filter tube (4), and the outer surface of the guide rod (431) is sleeved with a spring (433) for providing elastic force to the sealing plate (432).
7. A rice seedling water circulation treatment device according to claim 5, characterized in that: The training method of the circulating water discrimination model includes: Pre-collect multiple groups of historical circulating water, and detect each group of historical circulating water to obtain each group of historical circulating water characteristic data, the historical circulating water characteristic data including historical pH value and historical EC value; Generate corresponding actual labels for each set of historical circulating water characteristic data according to the circulating water category at the time of collection. When the circulating water category is qualified, the actual label is 1, and when the circulating water category is unqualified, the actual label is 0; use each set of historical circulating water characteristic data as the input of the first machine learning model, the first machine learning model uses the predicted labels for each set of historical circulating water characteristic data as output, the actual labels as prediction targets, and minimizing the sum of the prediction accuracies of all historical circulating water characteristic data as the training target; train the first machine learning model until the sum of the prediction accuracies converges, stop training, and use the first machine learning model obtained through training as a circulating water discrimination model. The first machine learning model is a naive Bayes model or a support vector machine model.
8. A rice seedling water circulation treatment device according to claim 7, characterized in that: The method for generating a dosing instruction or a treatment-free instruction based on the circulating water category includes: If the circulating water category is qualified, a treatment-free instruction is generated; If the circulating water category is unqualified, a dosing instruction will be generated.
9. The rice seedling raising water circulation treatment device according to claim 7, characterized in that: The training method of the drug recognition model includes: Pre-collecting multiple groups of historical circulating water characteristic data and the dosage of medicine corresponding to each group of historical circulating water characteristic data, and converting the dosage of medicine corresponding to a group of historical circulating water characteristic data into a group of characteristic vectors; The feature vector is used as the input of the second machine learning model. The second machine learning model takes the predicted dosage of medicine for each group of historical circulating water characteristic data as the output, takes the actual medicine flow corresponding to the group of historical circulating water characteristic data as the prediction target, and takes minimizing the sum of prediction errors of all historical circulating water characteristic data as the training goal; the second machine learning model is trained until the sum of prediction errors converges, and the training is stopped. The trained second machine learning model is used as the medicine recognition model; the second machine learning model is a deep neural network model or a deep belief network model.
10. A method for circulating water for rice seedling cultivation, which is implemented based on the device for circulating water for rice seedling cultivation according to any one of claims 5 to 9, characterized in that: The method comprises: S1, laying a water collection channel (1) in the drainage channel of the rice nursery, the circulating water in the rice nursery infiltrates into the water collection channel (1) for collection, and then pumped into the water storage chamber (31) through the first pumping pump (2); S2, quantitatively pumping the circulating water in the water storage chamber (31) into the transition chamber (32) by means of the second pumping pump (36), and obtaining characteristic data of the circulating water in the transition chamber (32); S3, inputting the circulating water characteristic data into the trained circulating water discrimination model, outputting the circulating water category, and generating a dosing instruction or a treatment-free instruction based on the circulating water category; If a no-processing instruction is generated, the circulating water in the transition chamber (32) can be directly re-irrigated into the rice nursery; If a dosing instruction is generated, the circulating water characteristic data is input into the trained drug recognition model, and the drug dosage is output. The third pump (37) pumps the circulating water from the transition chamber (32) into the processing chamber (33), and the staff adds the corresponding drug dosage into the processing chamber (33) through the drug adding pipe (25); S4, when the water is discharged outward through the processing chamber (33), the solenoid valve (341) is opened, and the circulating water is filtered through the activated carbon filter element (5) and then discharged; S5, obtaining the flow velocity value of the water flow in the water outlet pipe (34), comparing the flow velocity value with a preset flow velocity value threshold, and determining whether to generate a replacement instruction. If the flow velocity value is less than the preset flow velocity value threshold, a replacement instruction is generated. If the flow velocity value is greater than or equal to the preset flow velocity value threshold, no replacement instruction is generated. If a replacement instruction is generated, the electric push rod (6) pushes the filter element fixing cylinder (41) to switch the unsaturated activated carbon filter element (5) for use.
