A method and system for unattended monitoring of sewage treatment in plateau service areas

Through the use of unattended monitoring methods and recurrent neural network models, the problem of low efficiency of sewage treatment facilities in high-altitude areas in extreme environments has been solved, automated monitoring and control has been achieved, and the efficiency and sustainability of sewage treatment have been improved.

CN118444699BActive Publication Date: 2024-09-06北京新桥技术发展有限公司 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410905158.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-08
Publication Date
2024-09-06
Estimated Expiration
2044-07-08

AI Technical Summary

Technical Problem

Sewage treatment facilities in high-altitude areas have low treatment efficiency in extreme environments and lack automatic monitoring systems, resulting in low sewage treatment efficiency.

Method used

Adopting an unattended monitoring method, by collecting sewage treatment and electric energy monitoring data, training the recurrent neural network model for condition monitoring and control, using the expert strategy model to output abnormal causes and control strategies, optimizing the monitoring model and electric energy monitoring model, and realizing automated monitoring and control. control.

Benefits of technology

It improves the efficiency of automated monitoring of sewage treatment, ensures timely and effective treatment of sewage, and enhances the sustainability of sewage treatment in high-altitude areas.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118444699B
    Figure CN118444699B
Patent Text Reader

Abstract

The present invention relates to the field of data processing technology, and in particular to an unattended monitoring method and system for sewage treatment in a plateau service area, comprising step S1, collecting sewage treatment monitoring data and electric energy monitoring data; step S2, monitoring the sewage treatment state; step S3, monitoring the electric energy state and controlling the electric energy device; step S4, outputting the abnormal cause and control strategy, and controlling the sewage treatment; step S5, feeding back the sewage treatment control result; step S6, optimizing the sewage treatment monitoring model and the electric energy monitoring model; step S7, when the feedback result is invalid monitoring, re-control until the feedback result is not invalid monitoring; step S8, alarming the user; step S9, adjusting the alarm judgment process; step S10, correcting the duration of the abnormality. The present invention improves the sewage monitoring efficiency of the plateau service area by monitoring the sewage treatment process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to an unattended monitoring method and system for sewage treatment in a plateau service area. Background Art

[0002] The high altitude areas of the plateau have rugged terrain, numerous mountainous areas, and are relatively remote. Some areas face difficulties in electricity supply. What is more difficult is that the special environment of high altitude areas, such as low temperature, low pressure, and hypoxia, leads to low efficiency of traditional sewage treatment methods in such extreme environments, long treatment cycles, and extremely unsatisfactory results. It is particularly important to realize unattended monitoring of sewage treatment facilities, which can not only realize automatic monitoring and alarm, but also significantly improve sewage treatment efficiency and ensure that sewage is treated in a timely and effective manner. Through the use of scientific and technological means, we can better cope with the various problems faced by sewage treatment in plateau areas and provide strong guarantees for the sustainable development of plateau areas.

[0003] Chinese patent publication number: CN113880354A discloses a process for sewage treatment under high altitude conditions, which belongs to the field of sewage treatment technology. It first removes large floating objects in sewage, and then uses a cyclone reaction sedimentation tank to separate sewage and sludge, and distributes them to different links for treatment; sewage enters the peristaltic bed biofilter through a heat exchanger, and flows into the solar thermal reactor after treatment in the peristaltic bed biofilter; sewage is discharged or returned to the heat exchanger after treatment in the solar thermal reactor; sludge and biofilm shed from the solar thermal reactor are both sent to the sludge concentration tank for sedimentation and dehydration to obtain a sludge layer with a high concentration, and then the sludge layer is mechanically dehydrated and finally subjected to solar drying treatment. However, this scheme does not monitor the sewage treatment process, and cannot realize automatic monitoring and control of plateau service areas under high altitude conditions, and the sewage monitoring efficiency of plateau service areas is low. Summary of the invention

[0004] To this end, the present invention provides an unattended monitoring method and system for sewage treatment in plateau service areas, so as to overcome the problem of low sewage monitoring efficiency in plateau service areas caused by the failure to monitor the sewage treatment process in the prior art and the inability to realize automatic monitoring and control of plateau service areas under high altitude conditions.

[0005] To achieve the above objectives, on the one hand, the present invention provides an unattended monitoring method for sewage treatment in a plateau service area, comprising:

[0006] Step S1, collecting sewage treatment monitoring data and electric energy monitoring data;

[0007] Step S2, training a sewage treatment monitoring model according to the sewage treatment monitoring data, and monitoring the sewage treatment status;

[0008] Step S3, training the power monitoring model according to the power monitoring data, monitoring the power state, and controlling the power device according to the power state;

[0009] Step S4, inputting sewage treatment data with abnormal sewage treatment status into the expert strategy model, outputting the abnormal cause and control strategy, and controlling the sewage treatment;

[0010] Step S5, providing feedback on the sewage treatment control result;

[0011] Step S6, when the feedback result is monitoring to be optimized, the sewage treatment monitoring model is optimized, and when the abnormal cause includes temperature data, the power monitoring model is optimized;

[0012] Step S7, when the feedback result is invalid monitoring, the abnormal data is adjusted, and the abnormal cause and control strategy are re-output according to the adjusted abnormal data, and re-control is performed until the feedback result is not invalid monitoring;

[0013] Step S8, making an alarm judgment based on the number of re-control times, and issuing an alarm to the user;

[0014] Step S9, adjusting the alarm judgment process according to the duration of the abnormality;

[0015] Step S10, correcting the duration of the abnormality according to the cause of the abnormality.

[0016] Furthermore, in the step S2, when monitoring the sewage treatment status, the sewage treatment monitoring data is cleaned and normalized, the sewage treatment monitoring data is divided into a training set, a validation set and a test set, a recurrent neural network model is selected as the neural network architecture of the sewage treatment monitoring model, an Adam optimizer and a cross entropy loss function are selected to train the recurrent neural network model, the preprocessed training set is loaded into the recurrent neural network model, forward propagation is performed through the recurrent neural network model, the output value of the model is calculated, the loss function value is calculated according to the output value of the recurrent neural network model and the true value, the gradient is calculated by the back propagation algorithm, and the weight and bias of the model are updated, and the process of forward propagation, loss calculation and back propagation is repeated until a preset training round is reached, the performance of the recurrent neural network model is verified on the validation set, and the recurrent neural network model that meets the performance is output as a sewage treatment monitoring model, and the sewage treatment monitoring data collected in real time is input into the sewage treatment monitoring model, and the sewage treatment status is output, and the sewage treatment status includes abnormal sewage treatment status and normal sewage treatment status.

[0017] Further, in step S3, when monitoring the power state, the power monitoring model is trained according to the power monitoring data, and the power monitoring data collected in real time is input into the power monitoring model, the power monitoring model outputs the power state, and the power state is monitored. The power state includes a sufficient power state, a balanced power state, and a insufficient power state. The power device is controlled according to the power state, wherein:

[0018] When the monitoring result shows that the power is sufficient, the energy storage device is charged;

[0019] When the monitoring result is an electric energy balance state, the electric energy device is not controlled;

[0020] When the monitoring result is insufficient power, discharge is performed through the energy storage device. When the power in the energy storage device is insufficient, power is supplied through an external circuit.

[0021] Furthermore, in the step S4, the sewage treatment data with abnormal sewage treatment status is input into the expert strategy model, and the abnormal cause and control strategy are output, and the sewage treatment is controlled according to the control strategy.

[0022] Furthermore, in step S5, when the sewage treatment control result is fed back, the abnormal duration T of the sewage treatment state is obtained, and the abnormal duration T of the sewage treatment state is compared with each preset abnormal duration of the sewage treatment state, and the sewage treatment control result is fed back according to the comparison result, wherein:

[0023] When T<T1, the feedback sewage treatment control result is effective monitoring;

[0024] When T1≤T<T2, the feedback sewage treatment control result is to be optimized and monitored;

[0025] When T2<T, the feedback sewage treatment control result is invalid monitoring;

[0026] T1 is the duration of the first preset abnormal sewage treatment state, T2 is the duration of the second preset abnormal sewage treatment state, and 0<T1<T2.

[0027] Furthermore, in step S6, when the feedback result is monitoring to be optimized, the sewage treatment monitoring data of the abnormal sewage treatment state within the duration of the abnormal sewage treatment state is used as a sewage treatment monitoring optimization training set to optimize the sewage treatment monitoring model, and when the abnormal cause includes temperature data, the electric energy monitoring data within the duration of the abnormal sewage treatment state is used as an electric energy monitoring optimization training set to optimize the electric energy monitoring model.

[0028] Furthermore, in step S7, when the feedback result is invalid monitoring, the abnormal data is adjusted, and the adjusted abnormal data is set as the sewage treatment monitoring data within the current monitoring cycle and the previous monitoring cycle, and the adjusted abnormal data is input into the expert strategy model, and the abnormal cause and control strategy are re-output for re-control. If the feedback result is still invalid, the abnormal data continues to be adjusted, and the abnormal data that continues to be adjusted is the sewage treatment monitoring data within the current monitoring cycle and the monitoring cycle of the previous adjustment number, and the abnormal cause and control strategy continue to be re-output until the feedback result is not invalid monitoring.

[0029] Furthermore, in step S8, when the user is warned, the re-control number n is compared with the preset re-control number n0, and an alarm is determined based on the comparison result, wherein:

[0030] When n>n0, it is determined to issue an alarm;

[0031] When n≤n0, it is determined that no alarm will be issued, and the sewage treatment monitoring data within the number of re-control times is used as the sewage treatment monitoring adjustment optimization training set to optimize the sewage treatment monitoring model. When the abnormal cause includes temperature data, the electric energy monitoring data within the number of re-control times is used as the electric energy monitoring adjustment optimization training set to optimize the electric energy monitoring model.

[0032] Furthermore, in step S9, when adjusting the alarm judgment process, the abnormal duration T is compared with the second preset sewage treatment state abnormal duration T2, and the alarm judgment process is adjusted according to the comparison result, wherein:

[0033] When T≤T2, no adjustment is made to the alarm judgment process;

[0034] When T>T2, adjust the alarm judgment process and set the adjustment coefficient P=0.6+ e -(T-T2)-1 , e is the base of the natural logarithm, the preset number of re-controls n0 is adjusted according to the adjustment coefficient P, the adjusted preset number of re-controls is np0, and np0=P×n0 is set;

[0035] In step S10, the duration of the abnormality is corrected according to the cause of the abnormality, wherein:

[0036] When the abnormal cause does not include temperature data, no correction is made to the duration of the abnormality;

[0037] When the abnormal cause includes temperature data, the duration of the abnormality is corrected, and the correction coefficient is set to r, 0.8≤r<1.

[0038] On the other hand, the present invention also provides an unattended monitoring system for sewage treatment in a plateau service area, comprising:

[0039] Data acquisition module, used to collect sewage treatment monitoring data and electric energy monitoring data;

[0040] The sewage treatment status monitoring module is used to train the sewage treatment monitoring model according to the sewage treatment monitoring data and monitor the sewage treatment status;

[0041] The power state monitoring module is used to train the power monitoring model according to the power monitoring data, monitor the power state, and control the power device according to the power state;

[0042] The sewage treatment control module is used to input the sewage treatment data with abnormal sewage treatment status into the expert strategy model, output the abnormal cause and control strategy, and control the sewage treatment;

[0043] Sewage treatment feedback module, used to provide feedback on sewage treatment control results;

[0044] A feedback optimization module is used to optimize the sewage treatment monitoring model when the feedback result is monitoring to be optimized, and to optimize the power monitoring model when the abnormal cause includes temperature data;

[0045] The feedback adjustment module is used to adjust the abnormal data when the feedback result is invalid monitoring, and re-output the abnormal cause and control strategy according to the adjusted abnormal data, and re-control until the feedback result is not invalid monitoring;

[0046] The alarm module is used to make alarm judgments based on the number of re-control times and to warn users;

[0047] The alarm adjustment module is used to adjust the alarm judgment process according to the duration of the abnormality;

[0048] The adjustment correction module is used to correct the duration of the abnormality according to the cause of the abnormality.

[0049] Compared with the prior art, the beneficial effects of the present invention are that the method collects sewage treatment monitoring data and electric energy monitoring data through step S1 to facilitate monitoring of the sewage treatment process, the method collects sewage treatment monitoring data and electric energy monitoring data through step S2 to monitor the sewage treatment state, the method trains the electric energy monitoring model through step S3 to monitor the electric energy state, and thus controls the electric energy device, the method outputs abnormal causes and control strategies according to the expert strategy model through step S4 to control sewage treatment, the method feeds back the sewage treatment control results through step S5 to improve the sewage monitoring efficiency, the method optimizes the sewage treatment monitoring model through step S6 when the feedback result is to be optimized monitoring to improve the accuracy of the output results of the sewage treatment monitoring model, and when the abnormal cause includes temperature data, optimizes the electric energy monitoring model to optimize the electric energy monitoring model that provides electric energy monitoring for temperature changes when the temperature affects the monitoring, Improve the accuracy of the electric energy monitoring model. When the feedback result is invalid monitoring, the method adjusts the abnormal data and re-controls it through step S7 until the feedback result is not invalid monitoring, so as to optimize the monitoring result by adjusting the abnormal data, re-control according to the monitoring result, realize the cyclic optimization of invalid monitoring, and improve the efficiency of sewage treatment monitoring. The method makes an alarm judgment according to the number of re-controls through step S8, and warns the user, so that when the cyclic optimization cannot solve the invalid monitoring problem, the user is promptly warned to ensure the normal progress of sewage treatment. The method adjusts the alarm judgment process according to the duration of the abnormality through step S9, so as to improve the sensitivity of the alarm judgment when the duration of the abnormality is too long. The method corrects the duration of the abnormality according to the cause of the abnormality through step S10, so as to shorten the duration of the abnormality when the temperature data is the cause of the abnormality, increase the attention to the temperature influencing factors, and further improve the efficiency of sewage treatment monitoring. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 This is a flow chart of the unattended monitoring method for sewage treatment in plateau service areas according to this embodiment;

[0051] Figure 2 It is a structural schematic diagram of the unmanned monitoring system for sewage treatment in plateau service areas in this embodiment. DETAILED DESCRIPTION

[0052] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0053] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.

[0054] In addition, it should be noted that in the description 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 indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0055] See also Figure 1 As shown, it is a flow chart of the unattended monitoring method for sewage treatment in plateau service areas of this embodiment, and the method includes:

[0056] Step S1, collecting sewage treatment monitoring data and electric energy monitoring data;

[0057] Step S2, training a sewage treatment monitoring model according to the sewage treatment monitoring data, and monitoring the sewage treatment status;

[0058] Step S3, training the power monitoring model according to the power monitoring data, monitoring the power state, and controlling the power device according to the power state;

[0059] Step S4, inputting sewage treatment data with abnormal sewage treatment status into the expert strategy model, outputting the abnormal cause and control strategy, and controlling the sewage treatment;

[0060] Step S5, providing feedback on the sewage treatment control result;

[0061] Step S6, when the feedback result is monitoring to be optimized, the sewage treatment monitoring model is optimized, and when the abnormal cause includes temperature data, the power monitoring model is optimized;

[0062] Step S7, when the feedback result is invalid monitoring, the abnormal data is adjusted, and the abnormal cause and control strategy are re-output according to the adjusted abnormal data, and re-control is performed until the feedback result is not invalid monitoring;

[0063] Step S8, making an alarm judgment based on the number of re-control times, and issuing an alarm to the user;

[0064] Step S9, adjusting the alarm judgment process according to the duration of the abnormality;

[0065] Step S10, correcting the duration of the abnormality according to the cause of the abnormality.

[0066] Specifically, the method is set in a sewage treatment device in a plateau service area, and the process of the sewage treatment device in the plateau service area is monitored and controlled to realize automatic monitoring and control of the plateau service area under high altitude conditions, thereby improving the sewage monitoring efficiency of the plateau service area. The method collects sewage treatment monitoring data and electric energy monitoring data through step S1 to facilitate monitoring of the sewage treatment process. The method uses step S2 to monitor the sewage treatment status of the sewage treatment model. The method trains the electric energy monitoring model through step S3 to monitor the electric energy status and control the electric energy device. The method outputs abnormal causes and control strategies according to the expert strategy model through step S4 to control sewage treatment. The method feeds back the sewage treatment control results through step S5 to improve the sewage monitoring efficiency. The method optimizes the sewage treatment monitoring model through step S6 when the feedback result is to be optimized monitoring to improve the accuracy of the output results of the sewage treatment monitoring model. When the abnormal cause includes temperature data, the electric energy monitoring model is optimized , so as to optimize the electric energy monitoring model that provides electric energy monitoring for temperature changes when the temperature affects the monitoring, and improve the accuracy of the electric energy monitoring model. The method adjusts the abnormal data and re-controls when the feedback result is invalid monitoring through step S7 until the feedback result is not invalid monitoring, so as to optimize the monitoring result by adjusting the abnormal data, re-control according to the monitoring result, realize the cyclic optimization of invalid monitoring, and improve the efficiency of sewage treatment monitoring. The method makes an alarm judgment according to the number of re-controls through step S8, and warns the user, so that when the cyclic optimization cannot solve the invalid monitoring problem, the user is promptly warned to ensure the normal progress of sewage treatment. The method adjusts the alarm judgment process according to the duration of the abnormality through step S9, so as to improve the sensitivity of the alarm judgment when the duration of the abnormality is too long. The method corrects the duration of the abnormality according to the cause of the abnormality through step S10, so as to shorten the duration of the abnormality when the temperature data is the cause of the abnormality, increase the attention to the temperature influencing factors, and further improve the efficiency of sewage treatment monitoring.

[0067] Specifically, the sewage treatment device in the plateau service area described in this embodiment includes a water inlet, a grille, a grit tank, an anaerobic tower, an anoxic tank, an aerobic tank, a secondary sedimentation tank and a water outlet, which are connected in sequence through pipes. A constant temperature device and an ultraviolet protection device are provided outside the anaerobic tower, the anoxic tank and the aerobic tank. The constant temperature device is externally connected to a solar cell panel, an energy storage device and an external circuit. The solar cell panel converts solar energy into electrical energy to provide electrical energy for the constant temperature device. When the electrical energy is sufficient, the energy storage device stores the excess electrical energy converted from solar energy, and an external power supply is connected through the external circuit.

[0068] Specifically, in step S1, the sewage treatment monitoring data refers to data that can reflect the effectiveness of sewage treatment during the sewage treatment process, including sewage data and temperature data. The sewage data includes water inlet time period, water inlet volume, screen sewage discharge volume, sand settling volume, secondary sedimentation tank sewage discharge volume and water outlet volume. The water inlet time period refers to the time period representing the current time. This embodiment does not limit the setting method of the water inlet time period. Those skilled in the art can freely set it according to actual needs, as long as the demand for the representation of the amount of water inlet is met. For example, it can be set as the peak water inlet time period at 11:00-14:00 during the peak water consumption period, and as the low-peak water inlet time period at 12:00-5:00 during the low-peak water consumption period. The water inlet volume is collected in real time by an electromagnetic flowmeter, and the weight change of the intercepted objects on the screen is monitored in real time by installing an automatic weighing system at the screen. The screen sewage discharge volume is collected in real time by integrating the weight change over time, and the concentration of the sand settling is monitored in real time by installing a sand-water separator at the outlet of the sedimentation tank and using a turbidity meter in combination. , the amount of sand settling is collected in real time according to the time integral of the concentration change, the sludge concentration meter and flow meter are installed at the sludge discharge port of the secondary sedimentation tank, and the sewage discharge of the secondary sedimentation tank is calculated according to the real-time monitoring of the sludge concentration and flow rate, and the flow meter is installed at the outlet to monitor the water outlet in real time. The temperature data includes the temperature of the anaerobic tower, the temperature of the anoxic tank and the temperature of the aerobic tank. The temperature of the anaerobic tower is collected by setting a temperature sensor in the thermostat of the anaerobic tower, the temperature of the anoxic tank is collected by setting a temperature sensor in the thermostat of the anoxic tank, and the temperature of the aerobic tank is collected by setting a temperature sensor in the thermostat of the aerobic tank. The electric energy monitoring data refers to the data reflecting the state of electric energy in the process of converting solar energy into electric energy and electric energy consumption, including sunshine intensity, weather data, access energy consumption and residual electric energy. The sunshine intensity is measured in real time by a light sensor, and weather data is collected in real time from the Meteorological Bureau through a public API interface. The access energy consumption is collected in real time through the electric meter, and the residual electric energy is collected in real time through the smart electric meter.

[0069] Specifically, in step S2, when monitoring the sewage treatment status, the sewage treatment monitoring data is cleaned and normalized, the sewage treatment monitoring data is divided into a training set, a validation set and a test set, a recurrent neural network model is selected as the neural network architecture of the sewage treatment monitoring model, an Adam optimizer and a cross entropy loss function are selected to train the recurrent neural network model, the preprocessed training set is loaded into the recurrent neural network model, forward propagation is performed through the recurrent neural network model, the output value of the model is calculated, the loss function value is calculated according to the output value of the recurrent neural network model and the true value, the gradient is calculated by the back propagation algorithm, and the weight and bias of the model are updated, and the process of forward propagation, loss calculation and back propagation is repeated until a preset training round is reached, the performance of the recurrent neural network model is verified on the validation set, and the recurrent neural network model that meets the performance is output as a sewage treatment monitoring model, and the sewage treatment monitoring data collected in real time is input into the sewage treatment monitoring model, and the sewage treatment status is output, and the sewage treatment status includes abnormal sewage treatment status and normal sewage treatment status.

[0070] Specifically, the step S2 inputs the real-time collected sewage treatment monitoring data into the sewage treatment monitoring model and outputs the sewage treatment status to achieve real-time monitoring of the sewage treatment status.

[0071] Specifically, the data cleaning includes removing abnormal values, missing values ​​or erroneous data in the sewage treatment monitoring data, and completing them by interpolation and other methods. This embodiment does not limit the setting of parameters such as the number of layers of the neural network, the number of neurons in each layer, and the activation function. Technical personnel in this field can freely set them according to actual needs, as long as the accuracy requirements of the model output are met. The preset training rounds refer to the preset values ​​of the rounds when training the model, such as 10 rounds. The performance satisfaction refers to the accuracy of the output value of the recurrent neural network model reaching the preset accuracy, such as setting it to reach 95%.

[0072] Specifically, in step S3, when monitoring the power state, the power monitoring model is trained according to the power monitoring data, and the power monitoring data collected in real time is input into the power monitoring model, the power monitoring model outputs the power state, and the power state is monitored. The power state includes a sufficient power state, a balanced power state, and a insufficient power state. The power device is controlled according to the power state, wherein:

[0073] When the monitoring result shows that the power is sufficient, the energy storage device is charged;

[0074] When the monitoring result is an electric energy balance state, the electric energy device is not controlled;

[0075] When the monitoring result is insufficient power, discharge is performed through the energy storage device. When the power in the energy storage device is insufficient, power is supplied through an external circuit.

[0076] Specifically, step S3 outputs the power state through the power monitoring model, monitors the power state, and controls the power device according to the power state, thereby ensuring that stable power is provided to the constant temperature device, so as to ensure that the anaerobic tower, anoxic tank and aerobic tank are in a constant temperature condition that is conducive to sewage treatment during the sewage treatment process.

[0077] It can be understood that this embodiment does not limit the training method of the electric energy monitoring model. Technical personnel in this field can freely set it according to actual conditions, as long as the need for accurate judgment of the electric energy status is met. For example, the training method of the electric energy monitoring model can be set to be the same as the training method of the sewage treatment monitoring model.

[0078] Specifically, the sufficient electric energy state refers to a state in which the electric energy converted from solar energy is sufficient, the balanced electric energy state refers to a state in which the electric energy converted from solar energy can only be used for sewage treatment, the insufficient electric energy state refers to a state in which the electric energy converted from solar energy is insufficient for sewage treatment, and the electric energy device refers to a device for providing electric energy in a sewage treatment device, including solar panels, energy storage devices and external circuits.

[0079] Specifically, in step S4, the sewage treatment data with abnormal sewage treatment status is input into the expert strategy model, and the abnormal cause and control strategy are output, and the sewage treatment is controlled according to the control strategy.

[0080] Specifically, the step S4 outputs the abnormal cause and control strategy through the expert strategy model to control the sewage treatment according to the control strategy, thereby realizing intelligent control of the sewage treatment and improving the monitoring efficiency of the sewage treatment.

[0081] Specifically, the expert strategy model refers to a model obtained by training a neural network according to an expert database, and the expert database refers to a database with abnormal data-abnormal causes-control strategies as corresponding contents. This embodiment does not limit the training process of the expert strategy model, and those skilled in the art can freely set it according to actual needs, and only need to meet the accurate output requirements for abnormal causes and control strategies. For example, it can be set by sorting out historical abnormal data, corresponding abnormal causes and corresponding control strategies in the expert database, checking the data in the expert database, removing duplicate, erroneous or incomplete records, labeling the abnormal data, abnormal causes and control strategies, extracting features closely related to the abnormal causes from the abnormal data, selecting the most representative features through statistical analysis or machine learning technology to improve the performance of the model, using one-hot encoding to encode classification features, and dividing the data in the expert database into training sets, The validation set and the test set use data enhancement technology to expand the training set, such as data duplication, noise addition, data transformation, etc., select a multilayer perceptron as the expert strategy model, initialize the weights and biases of the expert strategy model, input the data in the training set into the expert strategy model, calculate the output of the expert strategy model, calculate the loss function value according to the output and label of the expert strategy model, calculate the gradient through the back propagation algorithm, and update the weights and biases of the expert strategy model. Repeat the process of forward propagation, loss function calculation and back propagation until the model performance meets the requirements, and output the expert strategy model. The abnormal cause refers to the cause that causes the abnormal data. For example, when abnormal data is generated due to the anaerobic tower temperature, the anoxic pool temperature and the aerobic pool temperature, the temperature data is used as the abnormal cause. The control strategy refers to the control method preset for the abnormal data and the abnormal cause. For example, when the abnormal cause is temperature data, the control strategy is set to control the temperature heating power.

[0082] Specifically, in step S5, when the sewage treatment control result is fed back, the duration T of the abnormal sewage treatment state is obtained, and the duration T of the abnormal sewage treatment state is compared with each preset duration of the abnormal sewage treatment state, and the sewage treatment control result is fed back according to the comparison result, wherein:

[0083] When T<T1, the feedback sewage treatment control result is effective monitoring;

[0084] When T1≤T<T2, the feedback sewage treatment control result is to be optimized and monitored;

[0085] When T2<T, the feedback sewage treatment control result is invalid monitoring;

[0086] T1 is the duration of the first preset abnormal sewage treatment state, T2 is the duration of the second preset abnormal sewage treatment state, and 0<T1<T2.

[0087] Specifically, the step S5 provides feedback on the sewage treatment control result so as to facilitate subsequent optimization according to the feedback result.

[0088] Specifically, the duration of the abnormal sewage treatment status refers to the duration during which the abnormal sewage treatment status continues to be maintained, and the duration of the abnormal sewage treatment status can be obtained through the built-in clock. The first preset duration of the abnormal sewage treatment status refers to the preset value of the duration during which the sewage treatment control result is effective monitoring. The second preset duration of the abnormal sewage treatment status refers to the preset value of the duration during which the sewage treatment control result is invalid monitoring. This embodiment does not specifically limit the value of each preset duration of the abnormal sewage treatment status. Technical personnel in this field can freely set it according to actual needs, as long as the feedback requirements for the sewage treatment control results are met, such as T1=10S, T2=60s.

[0089] Specifically, in step S6, when the feedback result is monitoring to be optimized, the sewage treatment monitoring data of the abnormal sewage treatment state within the duration of the abnormal sewage treatment state is used as the sewage treatment monitoring optimization training set to optimize the sewage treatment monitoring model, and when the abnormal cause includes temperature data, the electric energy monitoring data within the duration of the abnormal sewage treatment state is used as the electric energy monitoring optimization training set to optimize the electric energy monitoring model.

[0090] It can be understood that this embodiment does not limit the optimization method of the sewage treatment monitoring model and the electric energy monitoring model. Technical personnel in this field can freely set it according to actual needs, and only need to meet the demand for improving the output accuracy of the sewage treatment monitoring model and the electric energy monitoring model.

[0091] Specifically, in step S7, when the feedback result is invalid monitoring, the abnormal data is adjusted, and the adjusted abnormal data is set as the sewage treatment monitoring data in the current monitoring cycle and the previous monitoring cycle, and the adjusted abnormal data is input into the expert strategy model, and the abnormal cause and control strategy are re-output for re-control. If the feedback result is still invalid, the abnormal data continues to be adjusted, and the abnormal data that continues to be adjusted is the sewage treatment monitoring data in the current monitoring cycle and the monitoring cycle of the previous adjustment number, and the abnormal cause and control strategy continue to be re-output until the feedback result is not invalid monitoring.

[0092] Specifically, the monitoring cycle refers to the preset value of the cycle for monitoring the sewage treatment status and the electric energy status. For example, the monitoring cycle can be set to 24 hours. The forward adjustment number refers to the count of the forward accumulated adjustment number with the current adjustment number as a reference. For example, if the current adjustment number is one, the adjusted abnormal data is the sewage treatment monitoring data in the current monitoring cycle and the previous monitoring cycle. If the current adjustment number is two, the adjusted abnormal data is the sewage treatment monitoring data in the current monitoring cycle and the previous two monitoring cycles.

[0093] Specifically, in step S8, when the user is warned, the number of re-control times n is compared with the preset number of re-control times n0, and an alarm is determined based on the comparison result, wherein:

[0094] When n>n0, it is determined to issue an alarm;

[0095] When n≤n0, it is determined that no alarm will be issued, and the sewage treatment monitoring data within the number of re-control times is used as the sewage treatment monitoring adjustment optimization training set to optimize the sewage treatment monitoring model. When the abnormal cause includes temperature data, the electric energy monitoring data within the number of re-control times is used as the electric energy monitoring adjustment optimization training set to optimize the electric energy monitoring model.

[0096] Specifically, the number of re-control times refers to the number of controls in which the abnormal data is adjusted and re-controlled when the feedback result is invalid monitoring, until the feedback result is not invalid monitoring. The preset number of re-control times refers to the preset value of the number of re-control times that reflects the alarm requirement, such as 10 times. This embodiment does not limit the alarm method, and technical personnel in this field can freely set it according to actual needs, and only need to meet the prompt requirements of dangerous situations. For example, the alarm method can be set to send the alarm information to the maintenance personnel terminal to prompt the maintenance personnel to perform emergency repairs.

[0097] Specifically, in step S9, when adjusting the alarm judgment process, the abnormal duration T is compared with the second preset sewage treatment state abnormal duration T2, and the alarm judgment process is adjusted according to the comparison result, wherein:

[0098] When T≤T2, no adjustment is made to the alarm judgment process;

[0099] When T>T2, adjust the alarm judgment process and set the adjustment coefficient P=0.6+ e -(T-T2)-1 , e is the base of the natural logarithm, the preset number of re-control times n0 is adjusted according to the adjustment coefficient P, the adjusted preset number of re-control times is np0, and np0=P×n0 is set.

[0100] Specifically, in step S10, the duration of the abnormality is corrected according to the cause of the abnormality, wherein:

[0101] When the abnormal cause does not include temperature data, no correction is made to the duration of the abnormality;

[0102] When the abnormal cause includes temperature data, the duration of the abnormality is corrected, and the correction coefficient is set to r, 0.8≤r<1.

[0103] Specifically, the optimal value of the correction coefficient in this embodiment is r=0.87.

[0104] See also Figure 2 As shown, it is a schematic diagram of the structure of the unattended monitoring system for sewage treatment in plateau service areas of this embodiment, and the structure includes:

[0105] Data acquisition module, used to collect sewage treatment monitoring data and electric energy monitoring data;

[0106] The sewage treatment status monitoring module is used to train the sewage treatment monitoring model according to the sewage treatment monitoring data and monitor the sewage treatment status;

[0107] The power state monitoring module is used to train the power monitoring model according to the power monitoring data, monitor the power state, and control the power device according to the power state;

[0108] The sewage treatment control module is used to input the sewage treatment data with abnormal sewage treatment status into the expert strategy model, output the abnormal cause and control strategy, and control the sewage treatment;

[0109] Sewage treatment feedback module, used to provide feedback on sewage treatment control results;

[0110] A feedback optimization module is used to optimize the sewage treatment monitoring model when the feedback result is monitoring to be optimized, and to optimize the power monitoring model when the abnormal cause includes temperature data;

[0111] The feedback adjustment module is used to adjust the abnormal data when the feedback result is invalid monitoring, and re-output the abnormal cause and control strategy according to the adjusted abnormal data, and re-control until the feedback result is not invalid monitoring;

[0112] The alarm module is used to make alarm judgments based on the number of re-control times and to warn users;

[0113] The alarm adjustment module is used to adjust the alarm judgment process according to the duration of the abnormality;

[0114] The adjustment correction module is used to correct the duration of the abnormality according to the cause of the abnormality.

[0115] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.

Claims

1. An unattended monitoring method for sewage treatment in a plateau service area, characterized in that: include: Step S1, collecting sewage treatment monitoring data and electric energy monitoring data; Step S2, training a sewage treatment monitoring model according to the sewage treatment monitoring data, and monitoring the sewage treatment status; Step S3, training the power monitoring model according to the power monitoring data, monitoring the power state, and controlling the power device according to the power state; Step S4, inputting sewage treatment data with abnormal sewage treatment status into the expert strategy model, outputting the abnormal cause and control strategy, and controlling the sewage treatment; Step S5, providing feedback on the sewage treatment control result; Step S6, when the feedback result is monitoring to be optimized, the sewage treatment monitoring model is optimized, and when the abnormal cause includes temperature data, the power monitoring model is optimized; Step S7, when the feedback result is invalid monitoring, the abnormal data is adjusted, and the abnormal cause and control strategy are re-output according to the adjusted abnormal data, and re-control is performed until the feedback result is not invalid monitoring; Step S8, making an alarm judgment based on the number of re-control times, and issuing an alarm to the user; Step S9, adjusting the alarm judgment process according to the duration of the abnormality; Step S10, correcting the duration of the abnormality according to the cause of the abnormality; Wherein, the electric energy device is used to provide electric energy for the constant temperature device.

2. The unattended monitoring method for sewage treatment in plateau service areas according to claim 1 is characterized in that: In the step S2, when monitoring the sewage treatment status, the sewage treatment monitoring data is cleaned and normalized, the sewage treatment monitoring data is divided into a training set, a validation set and a test set, a recurrent neural network model is selected as the neural network architecture of the sewage treatment monitoring model, an Adam optimizer and a cross entropy loss function are selected to train the recurrent neural network model, the preprocessed training set is loaded into the recurrent neural network model, forward propagation is performed through the recurrent neural network model, the output value of the model is calculated, the loss function value is calculated according to the output value of the recurrent neural network model and the true value, the gradient is calculated by the back propagation algorithm, and the weight and bias of the model are updated, and the process of forward propagation, loss calculation and back propagation is repeated until a preset training round is reached, the performance of the recurrent neural network model is verified on the validation set, and the recurrent neural network model that meets the performance is output as a sewage treatment monitoring model, and the sewage treatment monitoring data collected in real time is input into the sewage treatment monitoring model, and the sewage treatment status is output, and the sewage treatment status includes abnormal sewage treatment status and normal sewage treatment status.

3. The unattended monitoring method for sewage treatment in plateau service areas according to claim 2 is characterized in that: In the step S3, when monitoring the power state, the power monitoring model is trained according to the power monitoring data, and the power monitoring data collected in real time is input into the power monitoring model, the power monitoring model outputs the power state, and the power state is monitored. The power state includes a sufficient power state, a balanced power state, and a insufficient power state. The power device is controlled according to the power state, wherein: When the monitoring result shows that the power is sufficient, the energy storage device is charged; When the monitoring result is an electric energy balance state, the electric energy device is not controlled; When the monitoring result is insufficient power, discharge is performed through the energy storage device. When the power in the energy storage device is insufficient, power is supplied through an external circuit.

4. The unattended monitoring method for sewage treatment in plateau service areas according to claim 3 is characterized in that: In the step S4, the sewage treatment data with abnormal sewage treatment status is input into the expert strategy model, and the abnormal cause and control strategy are output, and the sewage treatment is controlled according to the control strategy.

5. The unattended monitoring method for sewage treatment in plateau service areas according to claim 1 is characterized in that: In step S5, when the sewage treatment control result is fed back, the duration T of the abnormal sewage treatment state is obtained, and the duration T of the abnormal sewage treatment state is compared with each preset duration of the abnormal sewage treatment state, and the sewage treatment control result is fed back according to the comparison result, wherein: When T<T1, the feedback sewage treatment control result is effective monitoring; When T1≤T<T2, the feedback sewage treatment control result is to be optimized and monitored; When T2<T, the feedback sewage treatment control result is invalid monitoring; T1 is the duration of the first preset abnormal sewage treatment state, T2 is the duration of the second preset abnormal sewage treatment state, and 0<T1<T2.

6. The unattended monitoring method for sewage treatment in plateau service areas according to claim 5 is characterized in that: In step S6, when the feedback result is monitoring to be optimized, the sewage treatment monitoring data of the abnormal sewage treatment state within the duration of the abnormal sewage treatment state is used as the sewage treatment monitoring optimization training set to optimize the sewage treatment monitoring model, and when the abnormal cause includes temperature data, the electric energy monitoring data within the duration of the abnormal sewage treatment state is used as the electric energy monitoring optimization training set to optimize the electric energy monitoring model.

7. The unattended monitoring method for sewage treatment in plateau service areas according to claim 6 is characterized in that: In step S7, when the feedback result is invalid monitoring, the abnormal data is adjusted, and the adjusted abnormal data is set as the sewage treatment monitoring data in the current monitoring cycle and the previous monitoring cycle, and the adjusted abnormal data is input into the expert strategy model, and the abnormal cause and control strategy are re-output for re-control. If the feedback result is still invalid, the abnormal data continues to be adjusted, and the abnormal data that continues to be adjusted is the sewage treatment monitoring data in the current monitoring cycle and the monitoring cycle of the previous adjustment number, and the abnormal cause and control strategy continue to be re-output until the feedback result is not invalid monitoring.

8. The unattended monitoring method for sewage treatment in plateau service areas according to claim 7 is characterized in that: In step S8, when the user is warned, the re-control number n is compared with the preset re-control number n0, and an alarm is determined based on the comparison result, wherein: When n>n0, it is determined to issue an alarm; When n≤n0, it is determined that no alarm will be issued, and the sewage treatment monitoring data within the number of re-control times is used as the sewage treatment monitoring adjustment optimization training set to optimize the sewage treatment monitoring model. When the abnormal cause includes temperature data, the electric energy monitoring data within the number of re-control times is used as the electric energy monitoring adjustment optimization training set to optimize the electric energy monitoring model.

9. The unattended monitoring method for sewage treatment in plateau service areas according to claim 8 is characterized in that: In step S9, when adjusting the alarm judgment process, the abnormal duration T is compared with the second preset sewage treatment state abnormal duration T2, and the alarm judgment process is adjusted according to the comparison result, wherein: When T≤T2, no adjustment is made to the alarm judgment process; When T>T2, adjust the alarm judgment process and set the adjustment coefficient P=0.6+ e -(T-T2)-1 , e is the base of the natural logarithm, the preset number of re-controls n0 is adjusted according to the adjustment coefficient P, the adjusted preset number of re-controls is np0, and np0=P×n0 is set; In step S10, the duration of the abnormality is corrected according to the cause of the abnormality, wherein: When the abnormal cause does not include temperature data, no correction is made to the duration of the abnormality; When the abnormal cause includes temperature data, the duration of the abnormality is corrected, and the correction coefficient is set to r, 0.8≤r<1.

10. A system using the unattended monitoring method for sewage treatment in a plateau service area according to any one of claims 1 to 9, characterized in that: include: Data acquisition module, used to collect sewage treatment monitoring data and electric energy monitoring data; The sewage treatment status monitoring module is used to train the sewage treatment monitoring model according to the sewage treatment monitoring data and monitor the sewage treatment status; The power state monitoring module is used to train the power monitoring model according to the power monitoring data, monitor the power state, and control the power device according to the power state; The sewage treatment control module is used to input the sewage treatment data with abnormal sewage treatment status into the expert strategy model, output the abnormal cause and control strategy, and control the sewage treatment; Sewage treatment feedback module, used to provide feedback on sewage treatment control results; A feedback optimization module is used to optimize the sewage treatment monitoring model when the feedback result is monitoring to be optimized, and to optimize the power monitoring model when the abnormal cause includes temperature data; The feedback adjustment module is used to adjust the abnormal data when the feedback result is invalid monitoring, and re-output the abnormal cause and control strategy according to the adjusted abnormal data, and re-control until the feedback result is not invalid monitoring; The alarm module is used to make alarm judgments based on the number of re-control times and to warn users; The alarm adjustment module is used to adjust the alarm judgment process according to the duration of the abnormality; Adjustment and correction module, used to correct the duration of abnormality according to the cause of the abnormality; Wherein, the electric energy device is used to provide electric energy for the constant temperature device.