Process agent predictive dosing system and method based on neural network model
Through the process chemical prediction and administration system based on neural network model, real-time prediction and automated administration of the chemical dosage in the Fenton process is realized, which solves the problem of difficulty in controlling the drug dosage, improves the treatment efficiency and water quality compliance rate. Reduced costs and carbon emissions.
Patent Information
- Application Number
- CN202410959777.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-11-01
AI Technical Summary
When using the Fenton process, the existing sewage treatment plants have difficulty controlling the dosage of chemicals, resulting in waste of chemicals and low treatment efficiency, and rely on manual operations, with large experience dependence and errors, and low treatment efficiency.
Using a process drug prediction and administration system based on neural network model, real-time wastewater data is obtained through the detection module, historical operation data is collected, multiple neural network models are trained, and the optimal model is selected for real-time drug dose prediction and automatic administration. Dynamic Adjust the dosage.
It improves the phosphorus removal effect of the Fenton process, prevents waste of drugs, ensures that the effluent water quality meets standards, reduces the cost of drugs and carbon emissions, improves treatment efficiency, and reduces dependence on operator experience.
Smart Images

Figure CN118878053A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of sewage treatment, and in particular to a process reagent prediction and dosing system and method based on a neural network model. Background Art
[0002] The Fenton process has unique advantages in treating refractory organic pollutants and is a wastewater treatment technology with great application prospects. The Fenton process is mainly suitable for the treatment of wastewater containing refractory organic matter, such as papermaking industry wastewater, dyeing and finishing industry wastewater, coal chemical industry wastewater, petrochemical industry wastewater, fine chemical industry wastewater, fermentation industry wastewater, garbage leachate and other wastewater, as well as wastewater from centralized wastewater treatment plants in industrial parks.
[0003] One of the keys to the Fenton process is the control of the dosage of reagents. Too high a dosage of reagents may lead to waste of remaining reagents. The reagents of the Fenton process usually include hydrogen peroxide and iron salts, which are relatively expensive. If there is any waste of remaining reagents, it will bring greater costs. Too low a dosage of reagents may not effectively treat pollutants in the water, resulting in substandard effluent quality. At present, most domestic sewage treatment plants are still using the method of manual dosing of reagents, and manual dosing of reagents is largely affected by the experience of operators, and there are large errors. Different operators may add different amounts of reagents, which requires high experience from operators and is difficult for newcomers to get started. In addition, the operation of manual dosing of reagents is cumbersome, has a certain lag, and has low treatment efficiency. Summary of the invention
[0004] The purpose of the present invention is to provide a process reagent prediction and addition system and method based on a neural network model, which can realize the prediction of real-time reagent addition amount and automatic addition of reagent, and can dynamically adjust the real-time reagent addition amount according to real-time sewage data, thereby improving the phosphorus removal effect and treatment efficiency of the Fenton process, preventing the waste of reagents while ensuring that the effluent water quality meets the standards.
[0005] In order to achieve the above object, the present invention provides a process reagent prediction and dosing system based on a neural network model, which comprises:
[0006] A detection module, which is used to obtain real-time sewage data;
[0007] A collection module, which is used to collect a historical operation data group, the historical operation data group includes historical sewage data and historical dosage of reagents corresponding to the historical sewage data, and divide the historical operation data group into a training sample and a test sample;
[0008] A training module, wherein the training module trains a plurality of different neural network models according to the historical sewage data and the corresponding historical dosage of the reagent in the training sample to obtain each neural network prediction model;
[0009] A testing module, wherein the testing module inputs the historical sewage data in the test sample into each of the neural network prediction models, thereby obtaining the predicted dosage of the reagent output by each of the neural network prediction models, and then determines the optimal neural network prediction model according to the predicted dosage of the reagent of each neural network prediction model and the historical dosage of the reagent in the test sample, and uses it as the optimal neural network model;
[0010] A dosing module, which is used to add medicine to the reaction pool;
[0011] The control module is used to calculate the real-time dosage of the agent according to the real-time sewage data and the optimal neural network model, and control the dosing module to add the agent according to the real-time dosage of the agent.
[0012] Optionally, the test module compares the historical dosage of the drug in the test sample with the predicted dosage of the drug output by each of the neural network prediction models, and uses the neural network prediction model with the smallest comparison result error as the optimal neural network model.
[0013] Optionally, the test module obtains the comparison result error between the historical drug dosage in the test sample and the predicted drug dosage output by each neural network prediction model by calculating at least one of the mean square error, mean absolute error, root mean square error and mean absolute percentage error.
[0014] Optionally, the detection module includes at least one of a COD detector, a flow meter and a pH meter.
[0015] Optionally, the dosing module includes a ferrous sulfate dosing pump and a hydrogen peroxide dosing pump.
[0016] Optionally, the multiple different neural network models include a BP neural network model, a RBF neural network model and a RNN neural network model.
[0017] Optionally, the process reagent predictive dosing system includes a display screen, which is used to display the real-time sewage data and real-time reagent dosage.
[0018] According to another aspect of the present invention, the present invention also provides a process reagent prediction and dosing method based on a neural network model, which comprises:
[0019] Get real-time sewage data;
[0020] Collecting a historical operation data group, the historical operation data group includes historical sewage data and historical dosage of a reagent corresponding to the historical sewage data, and dividing the historical operation data group into a training sample and a test sample;
[0021] Training a plurality of different neural network models according to the historical sewage data and the corresponding historical dosage of the reagent in the training sample to obtain respective neural network prediction models;
[0022] Inputting the historical sewage data in the test sample into each of the neural network prediction models, thereby obtaining the predicted dosage of the reagent output by each of the neural network prediction models, and then determining the optimal neural network prediction model according to the predicted dosage of the reagent of each neural network prediction model and the historical dosage of the reagent in the test sample, and using it as the optimal neural network model;
[0023] The real-time dosage of the reagent is calculated according to the real-time sewage data and the optimal neural network model, and the dosing module is controlled to add the reagent to the reaction tank according to the real-time dosage of the reagent.
[0024] Optionally, the real-time sewage data and the historical sewage data both include at least one of inlet COD, inlet instantaneous flow rate, effluent COD, inlet pH value and COD of at least one reaction tank.
[0025] Optionally, the historical dosage of the reagent, the predicted dosage of the reagent and the real-time dosage of the reagent all include the dosage of ferrous sulfate and the dosage of hydrogen peroxide.
[0026] As configured above, the present invention trains multiple different neural network models according to the training samples collected by the acquisition module, and selects the optimal neural network model according to the test samples, so that the optimal neural network model can be used to calculate the real-time dosage of the reagent. The present invention integrates neural network models, uses the historical operation data group of the water station in previous years as the decision-making basis for the later dosage of the reagent, combines the past operating experience with the actual production in a data quantified manner, realizes the prediction of the real-time dosage of the reagent and the automatic dosage of the reagent, and can dynamically adjust the real-time dosage of the reagent according to the real-time sewage data, so that the real-time dosage of the reagent is neither too much nor too little, but the reagent is added in the most appropriate amount, thereby improving the phosphorus removal effect of the Fenton process, preventing the waste of the reagent while ensuring that the effluent water quality meets the standard, reducing the cost of the reagent and the carbon emission, and the automatic dosage of the reagent also improves the processing efficiency, and has low experience requirements for the operator, and has a relatively broad practical significance and application prospects. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Those skilled in the art should understand that the drawings are provided for a better understanding of the present invention and do not constitute any limitation on the scope of the present invention.
[0028] Figure 1 Schematic diagram of a process reagent prediction and dosing system based on a neural network model according to an embodiment of the present invention.
[0029] The reference numerals are as follows:
[0030] 1- regulating tank; 2- primary reaction tank; 3- secondary reaction tank; 4- outlet tank; 5- flow meter. DETAILED DESCRIPTION
[0031] In this document, unless otherwise specified, the terms "upper", "lower", "left", "right", "inside", "outside", "front", "back", "top", "bottom", etc. are used to indicate directions or positional relationships based on the drawings. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific direction and operation. Therefore, they cannot be understood as limiting the present invention.
[0032] The specific implementation of the present invention will be described in more detail below in conjunction with the schematic diagram. The advantages and features of the present invention will become clearer based on the following description. It should be noted that the drawings are all in a very simplified form and are not in exact proportions, and are only used to facilitate and clearly assist in explaining the purpose of the embodiments of the present invention.
[0033] Figure 1 This is a schematic diagram of a process reagent prediction and dosing system based on a neural network model according to an embodiment of the present invention. Figure 1 An embodiment of the present invention provides a process reagent prediction and dosing system based on a neural network model, which includes a detection module, a collection module, a training module, a test module, a dosing module and a control module. It can be understood that the control module is communicatively connected with the detection module and the dosing module, for example, through a network connection.
[0034] The detection module is used to detect and obtain real-time sewage data. Further, the detection module includes at least one of a COD detector, a flow meter, and a pH meter. It is understandable that the detection module is not limited to including a COD detector, a flow meter, and a pH meter. The detection module may also include a thermometer, etc. The thermometer may be used to measure the inlet water temperature, and the sewage data may also include the inlet water temperature.
[0035] The acquisition module is used to collect historical operation data groups, which include historical sewage data and historical reagent dosages corresponding to the historical sewage data. It can be understood that both real-time sewage data and historical sewage data include at least one of inlet COD, inlet instantaneous flow rate, effluent COD, inlet pH value and COD of at least one reaction tank. For example, the sewage treatment device in this embodiment includes a regulating tank 1, a primary reaction tank 2, a secondary reaction tank 3 and a water outlet tank 4 connected in series through a pipeline, the regulating tank 1 is connected with a first COD detector and a first pH detector, the first COD detector is used to measure the influent COD, and the pH detector is used to detect the influent pH value; the primary reaction tank 2 is connected with a second COD detector for detecting the COD of the primary reaction tank 2; the secondary reaction tank 3 is connected with a third COD detector for detecting the COD of the secondary reaction tank 3; the water outlet tank 4 is connected with a second pH detector for detecting the effluent COD; a flow meter 5 is provided between the regulating tank 1 and the primary reaction tank 2 for detecting the instantaneous flow of the influent; in the Fenton process of this embodiment, both the primary reaction tank 2 and the secondary reaction tank 3 need to add ferrous sulfate and hydrogen peroxide. And the historical operation data group is divided into a training sample and a test sample.
[0036] The training module trains multiple different neural network models according to the historical sewage data and the corresponding historical reagent dosage in the training sample to obtain each neural network prediction model. Exemplarily, multiple different neural network models include BP neural network model, RBF neural network model and RNN neural network model. Further, the training method includes taking the historical sewage data in the training sample as input, and using the historical reagent dosage corresponding to the historical sewage data in the training sample as output to obtain the optimal hyperparameters of each neural network model. For example, the influent COD, influent instantaneous flow, effluent COD, COD of the primary reaction tank 2, COD of the secondary reaction tank 3 and influent pH value in the historical sewage data of the training sample are used as input, and the ferrous sulfate dosage of the primary reaction tank 2, the hydrogen peroxide dosage of the primary reaction tank 2, the hydrogen peroxide dosage of the secondary reaction tank 3 and the ferrous sulfate dosage of the secondary reaction tank 3 corresponding to the historical sewage data in the training sample are used as outputs, and each neural network model is trained, thereby obtaining the optimal hyperparameters of each neural network model, and the optimal hyperparameters are determined, and each neural network prediction model can be obtained.
[0037] The test module inputs the historical sewage data in the test sample into each neural network prediction model, thereby obtaining the predicted agent dosage output by each neural network prediction model, and then determines the optimal neural network prediction model based on the predicted agent dosage of each neural network prediction model and the historical agent dosage in the test sample, and uses it as the optimal neural network model. Specifically, the historical agent dosage in the test sample is compared with the predicted agent dosage output by each neural network prediction model, and the neural network prediction model with the smallest comparison result error is used as the optimal neural network model. Preferably, the test module can obtain the comparison result error between the historical agent dosage in the test sample and the predicted agent dosage output by each neural network prediction model by calculating at least one of the mean square error, mean absolute error, root mean square error and mean absolute percentage error. In this embodiment, after calculation and analysis, it is found that the RBF neural network model has better prediction ability, and its simulation prediction accuracy is as high as 96.82%. The mean square error, mean absolute error, and root mean square error of the model are 0.061, 0.079, and 0.185, respectively, and the average absolute percentage error is 2.31%. The degree of fitting is higher than that of the BP neural network model and the RNN neural network model, and can meet the requirements of the dosage of Fenton process reagents. Therefore, the RBF neural network model is used as the optimal neural network model.
[0038] The dosing module is used to add reagents to the reaction tank. For example, in the Fenton process of the present embodiment, both the primary reaction tank 2 and the secondary reaction tank 3 need to add ferrous sulfate and hydrogen peroxide. Therefore, the dosing module includes a ferrous sulfate dosing pump and a hydrogen peroxide dosing pump. It can be understood that the ferrous sulfate dosing pump is used to measure and add ferrous sulfate, and the hydrogen peroxide dosing pump is used to measure and add hydrogen peroxide. The historical reagent dosage, the predicted reagent dosage, and the real-time reagent dosage all include the ferrous sulfate dosage and the hydrogen peroxide dosage.
[0039] The control module is used to calculate the real-time dosage of the agent according to the real-time sewage data and the optimal neural network model, and control the dosing module to put the agent according to the real-time dosage of the agent. It is understandable that the control module can calculate the real-time dosage of the agent according to at least one of the influent COD, the instantaneous influent flow, the effluent COD, the influent pH value and the COD of at least one reaction tank and the optimal neural network model. Preferably, the present invention can also dynamically adjust the real-time dosage of the agent according to the real-time sewage data. For example, when the detection module detects that the influent COD in the real-time sewage data fluctuates greatly, it means that the influent water quality may exceed the normal daily production data, and the dosage needs to be adjusted. At this time, the control module recalculates the real-time dosage of the agent according to at least one of the influent COD, the instantaneous influent flow, the effluent COD, the influent pH value and the COD of at least one reaction tank and the optimal neural network model, and controls the dosing module to put the agent according to the recalculated real-time dosage of the agent.
[0040] Understandably, please refer to Figure 1 The process reagent prediction and dosing system may also include a data storage module for storing various data, including real-time sewage data, historical operation data groups, real-time reagent dosage, etc. Exemplarily, the real-time sewage data detected by the detection module may be first transmitted to the data storage module, and the data storage module may then transmit it to the control module, and the dosing module may also transmit the real-time reagent dosage to the data storage module for archiving and recording.
[0041] As configured above, the present invention trains multiple different neural network models according to the training samples collected by the acquisition module, and selects the optimal neural network model according to the test samples, so that the optimal neural network model can be used to calculate the real-time dosage of the reagent. The present invention integrates neural network models, uses the historical operation data group of the water station in previous years as the decision-making basis for the later dosage of the reagent, combines the past operating experience with the actual production in a data quantified manner, realizes the prediction of the real-time dosage of the reagent and the automatic dosage of the reagent, and can dynamically adjust the real-time dosage of the reagent according to the real-time sewage data, so that the real-time dosage of the reagent is neither too much nor too little, but the reagent is added in the most appropriate amount, thereby improving the phosphorus removal effect of the Fenton process, preventing the waste of the reagent while ensuring that the effluent water quality meets the standard, reducing the cost of the reagent and the carbon emission, and the automatic dosage of the reagent also improves the processing efficiency, and has low experience requirements for the operator, and has a relatively broad practical significance and application prospects.
[0042] Preferably, the process reagent predictive dosing system includes a display screen, which is used to display real-time sewage data and real-time reagent dosage, so that the staff can check it at any time.
[0043] Preferably, the process reagent prediction dosing system also includes an alarm, and when the effluent COD exceeds a preset value, the alarm sounds an alarm, and the dosing mode is adjusted to manual dosing. It is understandable that the control module receives the effluent COD from the detection module, and when the effluent COD exceeds a preset value, the control module controls the alarm to sound an alarm.
[0044] Based on the above process reagent prediction and addition system, the present invention also provides a process reagent prediction and addition method based on a neural network model, which includes step S1, step S2, step S3, step S4 and step S5. Step S1, step S2, step S3, step S4 and step S5 are described in detail below.
[0045] Step S1: Acquire real-time sewage data.
[0046] Step S2: Collect a historical operation data group, which includes historical sewage data and historical reagent dosages corresponding to the historical sewage data, and divide the historical operation data group into a training sample and a test sample.
[0047] Step S3: training a plurality of different neural network models according to the historical sewage data and the corresponding historical dosage of the reagents in the training samples to obtain various neural network prediction models.
[0048] Step S4: Input the historical sewage data in the test sample into each neural network prediction model to obtain the predicted agent dosage output by each neural network prediction model, and then determine the optimal neural network prediction model based on the predicted agent dosage of each neural network prediction model and the historical agent dosage in the test sample, and use it as the optimal neural network model.
[0049] Step S5: Calculate the real-time dosage of the reagent according to the real-time sewage data and the optimal neural network model, and control the dosing module to add the reagent to the reaction tank according to the real-time dosage of the reagent.
[0050] It should be noted that references to "one embodiment", "an embodiment", "a specific embodiment", "some embodiments", etc. in the specification only indicate that the described embodiment may include a particular feature, structure or characteristic. Moreover, such phrases do not necessarily refer to the same embodiment. In addition, when a particular feature, structure or characteristic is described in conjunction with an embodiment, whether or not explicitly described, it is within the knowledge of a person skilled in the relevant art to implement such feature, structure or characteristic in conjunction with other embodiments.
[0051] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0052] It should also be noted that, although the present invention has been disclosed as a preferred embodiment, the above embodiment is not intended to limit the present invention. For any technician familiar with the art, without departing from the scope of the technical solution of the present invention, the technical content disclosed above can be used to make many possible changes and modifications to the technical solution of the present invention, or modified into equivalent embodiments of equivalent changes. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention without departing from the content of the technical solution of the present invention still falls within the scope of protection of the technical solution of the present invention.
[0053] It should also be understood that, unless otherwise specified or indicated, the terms "first", "second", "third", etc. in the specification are merely used to distinguish between the various components, elements, steps, etc. in the specification, and are not used to indicate the logical relationship or sequential relationship between the various components, elements, steps, etc.
[0054] It should also be recognized that the terms described herein are only used to describe specific embodiments and are not intended to limit the scope of the invention. It should be noted that the singular forms "a" and "an" used herein and in the appended claims include plural references unless the context clearly indicates otherwise. For example, a reference to "a step" or "a device" means a reference to one or more steps or devices, and may include secondary steps and secondary devices. All conjunctions used should be understood in the broadest sense. And, the word "or" should be understood to have the definition of a logical "or", rather than a logical "exclusive or", unless the context clearly indicates otherwise. In addition, the implementation of the method and / or device in the embodiments of the present invention may include performing the selected task manually, automatically, or in combination.
Claims
1. A process reagent prediction and dosing system based on a neural network model, characterized in that: include: A detection module, which is used to obtain real-time sewage data; A collection module, which is used to collect a historical operation data group, the historical operation data group includes historical sewage data and historical dosage of reagents corresponding to the historical sewage data, and divide the historical operation data group into a training sample and a test sample; A training module, wherein the training module trains a plurality of different neural network models according to the historical sewage data and the corresponding historical dosage of the reagent in the training sample to obtain each neural network prediction model; A testing module, wherein the testing module inputs the historical sewage data in the test sample into each of the neural network prediction models, thereby obtaining the predicted dosage of the reagent output by each of the neural network prediction models, and then determines the optimal neural network prediction model according to the predicted dosage of the reagent of each neural network prediction model and the historical dosage of the reagent in the test sample, and uses it as the optimal neural network model; A dosing module, which is used to add medicine to the reaction pool; The control module is used to calculate the real-time dosage of the agent according to the real-time sewage data and the optimal neural network model, and control the dosing module to add the agent according to the real-time dosage of the agent.
2. The process reagent prediction and dosing system based on the neural network model according to claim 1 is characterized in that: The test module compares the historical dosage of the drug in the test sample with the predicted dosage of the drug output by each of the neural network prediction models, and takes the neural network prediction model with the smallest comparison result error as the optimal neural network model.
3. The process reagent prediction and dosing system based on the neural network model as claimed in claim 2 is characterized in that: The test module obtains the comparison result error between the historical dosage of the drug in the test sample and the predicted dosage of the drug output by each neural network prediction model by calculating at least one of the mean square error, mean absolute error, root mean square error and mean absolute percentage error.
4. The process reagent prediction and dosing system based on the neural network model according to claim 1 is characterized in that: The detection module includes at least one of a COD detector, a flow meter and a pH meter.
5. The process reagent prediction and dosing system based on the neural network model according to claim 1 is characterized in that: The dosing module comprises a ferrous sulfate dosing pump and a hydrogen peroxide dosing pump.
6. The process reagent prediction and dosing system based on the neural network model according to claim 1 is characterized in that: The multiple different neural network models include a BP neural network model, a RBF neural network model and a RNN neural network model.
7. The process reagent prediction and dosing system based on the neural network model according to claim 1 is characterized in that: The process reagent prediction and addition system includes a display screen, which is used to display the real-time sewage data and the real-time reagent addition amount.
8. A method for predicting and dosing process reagents based on a neural network model, characterized in that: include: Get real-time sewage data; Collecting a historical operation data group, the historical operation data group includes historical sewage data and historical dosage of a reagent corresponding to the historical sewage data, and dividing the historical operation data group into a training sample and a test sample; Training a plurality of different neural network models according to the historical sewage data and the corresponding historical dosage of the reagent in the training sample to obtain respective neural network prediction models; Inputting the historical sewage data in the test sample into each of the neural network prediction models, thereby obtaining the predicted dosage of the reagent output by each of the neural network prediction models, and then determining the optimal neural network prediction model according to the predicted dosage of the reagent of each neural network prediction model and the historical dosage of the reagent in the test sample, and using it as the optimal neural network model; The real-time dosage of the reagent is calculated according to the real-time sewage data and the optimal neural network model, and the dosing module is controlled to add the reagent to the reaction tank according to the real-time dosage of the reagent.
9. The process reagent prediction and dosing method based on a neural network model as claimed in claim 8, characterized in that: The real-time sewage data and the historical sewage data both include at least one of inlet COD, inlet instantaneous flow, effluent COD, inlet pH value and COD of at least one reaction tank.
10. The process reagent prediction and dosing method based on a neural network model according to claim 8, characterized in that: The historical dosage of the reagent, the predicted dosage of the reagent and the real-time dosage of the reagent all include the dosage of ferrous sulfate and the dosage of hydrogen peroxide.
Citation Information
Patent Citations
Neural network model search method, image recognition method and device
CN110555514A
Sewage treatment control method and system based on deep learning and cloud computing
CN110824923A
Wastewater advanced oxidation treatment intelligent dosing system and method based on fuzzy BP neural network
CN110981021A
Prediction method of coagulant dosage based on BR-NARX neural network
CN115481720A
Precise dosing dephosphorization control method, system and equipment and readable storage medium
CN116913415A
Cited By
Intelligent dosing method for advanced treatment of sulfate pulping wastewater
CN119528297A
Terminal ultrapure water quality intelligent pre-judgment device based on RBF neural network algorithm model and pre-judgment and control method
CN119977196A
A terminal ultrapure water quality intelligent prediction device based on an RBF neural network algorithm model and a prediction and control method
CN119977196B
Method, system and equipment for optimizing dosage of chemicals in semiconductor factory affair system
CN120952278A
