Sewage treatment accurate feeding system based on real-time feedback control

By combining the M5 Model Tree and GTO algorithms to optimize the coagulant dosage, and using the neural network model to identify conveyor belt abnormalities, the problem of inaccurate material use and the impact of the conveyor belt operating status in sewage treatment is solved, achieving more efficient sewage treatment and Resource utilization.

CN118619429AActive Publication Date: 2024-09-10XIAMEN MUNICIPAL ENG CO
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411073946.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2024-09-10
Estimated Expiration
2044-08-07

AI Technical Summary

Technical Problem

Inaccurate material use in existing sewage treatment results in poor treatment results or waste of resources, the bottle setting method is expensive and time-consuming, and the operating status of the conveyor belt affects the uniformity of material delivery.

Method used

The M5 Model Tree algorithm and GTO algorithm are combined to model the coagulant dosage, the neural network model is used to identify the abnormal operating status of the conveyor belt, the coagulant metering is optimized through real-time sensor monitoring and wireless communication, and the attention module is added to improve the accuracy of fault diagnosis.

Benefits of technology

It achieves more accurate prediction of coagulant dosage, avoids waste of resources, improves sewage treatment efficiency and resource utilization, and ensures accurate input of coagulant.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118619429A
    Figure CN118619429A
Patent Text Reader

Abstract

The invention belongs to the field of sewage treatment, and particularly discloses a sewage treatment accurate feeding system based on real-time feedback control, which comprises a sensor module, a coagulant metering control module, a coagulant transmission module and a fault diagnosis module. According to the method, the M5 (M5 Model Tree) algorithm and the GTO (thermal goilet troops optimister) algorithm are combined to model the optimal dosage of the coagulant during sewage treatment, the GOT algorithm is used to calculate the size of the minimum leaf and the optimal value of the segmentation threshold to optimize the M5 algorithm, the optimal dosage of the coagulant is accurately determined, and the situation of waste or insufficient dosage is avoided; a neural network model with an attention mechanism is developed, various abnormal operation states are identified by using vibration signals of a feeding conveying belt, and particularly, an attention module is added, so that the effectiveness of operation state classification is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of sewage treatment, and in particular to a sewage treatment precision feeding system based on real-time feedback control. Background Art

[0002] Effective sewage treatment can alleviate the pressure of water shortage, avoid sewage contamination of soil, prevent soil quality decline and adverse effects on crops, and is of great significance for protecting water resources, maintaining ecological balance and protecting human health. In sewage treatment, if the materials are not used accurately, it will lead to poor sewage treatment effect or waste of resources, and fail to achieve the expected treatment effect. The bottle determination method is currently one of the main methods for determining the amount of coagulant, but this method is expensive and time-consuming and requires laboratory equipment; at the same time, the running state of the feeding conveyor belt also has a certain impact on the precise material. For example, if the conveyor belt speed is unstable, it may lead to uneven material delivery. The deviation of the conveyor belt may cause the material to fail to reach the designated location accurately, resulting in material deviation. Summary of the invention

[0003] In view of the above situation, in order to overcome the defects of the prior art, the present invention provides a sewage treatment precision feeding system based on real-time feedback control. In sewage treatment, inaccurate material use will lead to poor sewage treatment effect or waste of resources, and fail to achieve the expected treatment effect. The bottle determination method, which is the main method for determining the amount of coagulant at present, is expensive and time-consuming, and requires laboratory equipment. The present invention combines the M5 (M5 Model Tree) algorithm and the GTO (the gorillatroops optimizer) algorithm to model the optimal amount of coagulant in sewage treatment, and uses the GOT algorithm to calculate the optimal value of the minimum leaf size and the segmentation threshold to optimize the M5 algorithm, accurately determine the optimal amount of coagulant, adapt to different sewage characteristics and complex situations, improve the prediction accuracy of the model, help to more scientifically and reasonably determine the amount of coagulant, avoid waste or insufficient dosage, and achieve more efficient sewage treatment and resource utilization; in view of the technical problem that the running state of the feeding conveyor belt also has a certain influence on the precise material, the present invention develops a neural network model with an attention mechanism, uses the vibration signal of the feeding conveyor belt to identify various abnormal running states, and especially adds an attention module to improve the effectiveness of running state classification.

[0004] The technical solution adopted by the present invention is as follows: The present invention provides a sewage treatment precision feeding system based on real-time feedback control, the sewage treatment precision feeding system based on real-time feedback control comprises a sensor module, a coagulant metering control module, a coagulant transmission module and a fault diagnosis module; The sensor module installs the sensor at a key position in the sewage treatment process to obtain sensor data, which includes sewage volume, sewage turbidity, conductivity, dissolved solids, salinity, pH value, water temperature and oxygen content, and transmits the sensor data to the coagulant metering control module in real time through a wireless communication network; The coagulant metering control module models the optimal amount of coagulant during sewage treatment and calculates the coagulant metering in real time; The coagulant transmission module transmits the coagulant to the sewage pool through the feeding conveyor belt; The fault diagnosis module detects the running status of the feeding conveyor belt to ensure that the coagulant can be accurately fed into the sewage pool; The coagulant metering control module models the optimal amount of coagulant during sewage treatment by the M5-GTO method, and the M5-GTO method specifically includes the following steps: Step A1: collecting a sewage treatment sample set, wherein the sewage treatment sample set includes sewage volume, sewage turbidity, conductivity, dissolved solids, salinity, pH value, water temperature, oxygen content and corresponding coagulant dosage, and dividing the sewage treatment sample set into a training set and a test set in a ratio of 7:3; Step A2: Create and initialize the coagulant estimation model according to the M5 algorithm, input the training set into the coagulant estimation model for training, and after the training is completed, input the test set into the trained coagulant estimation model for testing. The objective function of the coagulant estimation model is defined as the mean square error during the test. The formula used is as follows: ; In the formula, is the objective function of the estimation model, is the estimated model output coagulant dosage, It is the coagulant metering in the sewage treatment sample set. is the number of samples in the sewage treatment sample set; Step A3: Use the GTO algorithm to randomly generate an initial population. Each individual in the initial population contains a position and a fitness value. The position of the individual is composed of the minimum leaf size and the split threshold. The minimum leaf size and the split threshold are key parameters in the M5 algorithm. Step A4: During the test period, the M5 algorithm is executed on each individual to calculate the objective function of each individual; Step A5: Use the GTO algorithm to update the initial population, and select the individual with the smallest objective function from all individuals in the population as the minimum leaf size and split threshold; Step A6: Set the maximum number of iterations. When the maximum number of iterations is reached, terminate the GTO algorithm and output the optimal solution. Otherwise, continue to iterate. Step A7: Input the sensor data into the coagulant estimation model to calculate the coagulant dosage; The fault diagnosis module detects whether the feeding conveyor belt operates normally through an attention-based fault detection method, and the attention-based fault detection method specifically includes the following steps: Step B1: collecting a vibration signal set, wherein the vibration signal set includes a historical vibration signal image of the feeding conveyor belt and a corresponding state, wherein the state includes a normal state, a stuck state, a deviation state, and a loose state; Step B2: Divide the historical vibration signal image by state, transform the historical vibration signal image from a one-dimensional time series signal to a two-dimensional time-frequency image through continuous wavelet transform, and obtain the wavelet feature image under each state. The formula used is as follows: ; In the formula, is the wavelet transform function, is the scaling parameter, Define the translation and time positioning of the wavelet, It's time. is at the time The vibration signal at is a bandpass filter that oscillates in the time domain; Step B3: Divide the wavelet feature image into a training signal set and a test signal set in a ratio of 8:2, create and initialize a convolutional neural network as a fault judgment model, scale the wavelet feature image, input the training signal set into the fault judgment model, and generate a feature map in the convolution layer. The formula used is as follows: ; In the formula, is the feature map, It is layer convolution, It is Features, is the activation function, is the number of wavelet eigenimages, is the convolution operator, is the weight, is bias; Step B4: Define a scaling exponential linear function as an activation function so that the distribution of the output of each layer is normally distributed. The scaling exponential linear function is as follows: ; In the formula, is a scaled exponential linear function, is the scale constant; Step B5: Place an attention module after batch normalization. The attention module includes a spatial attention module and a channel attention module. The spatial attention module obtains a spatial attention map by accumulating spatial relationships. The formula used is as follows: ; In the formula, represents the standard convolution operation, is a sigmoid function, is the convolutional layer, is the concatenation function, is the spatial attention map, and is the feature map of local features, and Yes Two-dimensional feature maps for two pooling operations, is the Hadamard product operation; Step B6: The channel attention module obtains the channel attention map through global pooling. The formula used is as follows: ; In the formula, Indicates a shared full connection operation. is a shared fully connected layer, is the channel attention map, is the wavelet eigenimage; Step B7: Fuse the spatial attention map and the channel attention map in the multi-feature fusion block and calculate the probability score of each state. The formula used is as follows: ; In the formula, is the probability score, Indicates different states. is the dimension of the output layer, is the softmax parameter for classification, is the transpose, It is feature mapping of features; Step B8: Input the test signal set into the fault judgment model, and use gradient descent to update all weights of the fault judgment model. The formula used is as follows: ; In the formula, is the learning rate, is a small term that prevents division by zero, It's time The sum of the gradients at time It's time The squared gradient of and is a hyperparameter that controls and The exponential decay rate of is the gradient of the subsequent time step; Step B9: using an accelerometer to capture the vibration signal image of the feeding conveyor belt in real time, inputting the vibration signal image into a fault judgment model, and the fault judgment model outputs the operating status of the feeding conveyor belt.

[0005] The beneficial effects achieved by the present invention using the above scheme are as follows: (1) In view of the fact that inaccurate use of materials will lead to poor sewage treatment effects or waste of resources and fail to achieve the expected treatment effects, the bottle determination method, which is currently the main method for determining the amount of coagulant, is expensive and time-consuming and requires laboratory equipment. The present invention combines the M5 (M5 Model Tree) algorithm and the GTO (the gorilla troops optimizer) algorithm to model the optimal amount of coagulant in sewage treatment, and uses the GOT algorithm to calculate the optimal value of the minimum leaf size and the segmentation threshold to optimize the M5 algorithm, accurately determine the optimal amount of coagulant, adapt to different sewage characteristics and complex situations, improve the prediction accuracy of the model, and help to determine the amount of coagulant more scientifically and reasonably, avoid waste or insufficient dosage, and achieve more efficient sewage treatment and resource utilization; (2) In order to solve the technical problem that the running state of the feeding conveyor belt also has a certain impact on the precision of materials, the present invention develops a neural network model with an attention mechanism, which uses the vibration signal of the feeding conveyor belt to identify various abnormal running states, and especially adds an attention module to improve the effectiveness of running state classification. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] Figure 1 It is a flow chart of the attention-based fault detection method in the fault diagnosis module of the present invention.

[0007] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention. DETAILED DESCRIPTION

[0008] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments; based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0009] Example 1: See Figure 1, this embodiment provides a sewage treatment precision feeding system based on real-time feedback control, the sewage treatment precision feeding system based on real-time feedback control includes a sensor module, a coagulant metering control module, a coagulant transmission module and a fault diagnosis module; The sensor module installs the sensor at a key position in the sewage treatment process to obtain sensor data, which includes sewage volume, sewage turbidity, conductivity, dissolved solids, salinity, pH value, water temperature and oxygen content, and transmits the sensor data to the coagulant metering control module in real time through a wireless communication network; The coagulant metering control module models the optimal amount of coagulant during sewage treatment and calculates the coagulant metering in real time; The coagulant transmission module transmits the coagulant to the sewage pool through the feeding conveyor belt; The fault diagnosis module detects the running status of the feeding conveyor belt to ensure that the coagulant can be accurately fed into the sewage pool.

[0010] Embodiment 2: This embodiment is based on the above embodiment. The coagulant metering control module models the optimal amount of coagulant during sewage treatment by the M5-GTO method. The M5-GTO method specifically includes the following steps: Step A1: collecting a sewage treatment sample set, wherein the sewage treatment sample set includes sewage volume, sewage turbidity, conductivity, dissolved solids, salinity, pH value, water temperature, oxygen content and corresponding coagulant dosage, and dividing the sewage treatment sample set into a training set and a test set in a ratio of 7:3; Step A2: Create and initialize the coagulant estimation model according to the M5 algorithm, input the training set into the coagulant estimation model for training, and after the training is completed, input the test set into the trained coagulant estimation model for testing. The objective function of the coagulant estimation model is defined as the mean square error during the test. The formula used is as follows: ; In the formula, is the objective function of the estimation model, is the estimated model output coagulant dosage, It is the coagulant metering in the sewage treatment sample set. is the number of samples in the sewage treatment sample set; Step A3: Use the GTO algorithm to randomly generate an initial population. Each individual in the initial population contains a position and a fitness value. The position of the individual is composed of the minimum leaf size and the split threshold. The minimum leaf size and the split threshold are key parameters in the M5 algorithm. Step A4: During the test period, the M5 algorithm is executed on each individual to calculate the objective function of each individual; Step A5: Use the GTO algorithm to update the initial population, and select the individual with the smallest objective function from all individuals in the population as the minimum leaf size and split threshold; Step A6: Set the maximum number of iterations. When the maximum number of iterations is reached, terminate the GTO algorithm and output the optimal solution. Otherwise, continue to iterate. Step A7: Input the sensor data into the coagulant estimation model to calculate the coagulant dosage.

[0011] Through the above operations, inaccurate use of materials will lead to poor sewage treatment effect or waste of resources, and fail to achieve the expected treatment effect. The bottle determination method, which is the main method for determining the amount of coagulant at present, is expensive and time-consuming, and requires laboratory equipment. The present invention combines the M5 algorithm and the GOT algorithm to model the optimal amount of coagulant in sewage treatment, and uses the GOT algorithm to calculate the optimal value of the minimum leaf size and the segmentation threshold to optimize the M5 algorithm, accurately determine the optimal amount of coagulant, adapt to different sewage characteristics and complex situations, improve the prediction accuracy of the model, help to determine the amount of coagulant more scientifically and reasonably, avoid waste or insufficient dosage, and achieve more efficient sewage treatment and resource utilization.

[0012] Example 3, see Figure 1 This embodiment is based on the above embodiment. The fault diagnosis module detects whether the feeding conveyor belt operates normally through an attention-based fault detection method. The attention-based fault detection method specifically includes the following steps: Step B1: collecting a vibration signal set, wherein the vibration signal set includes a historical vibration signal image of the feeding conveyor belt and a corresponding state, wherein the state includes a normal state, a stuck state, a deviation state, and a loose state; Step B2: Divide the historical vibration signal image by state, transform the historical vibration signal image from a one-dimensional time series signal to a two-dimensional time-frequency image through continuous wavelet transform, and obtain the wavelet feature image under each state. The formula used is as follows: ; In the formula, is the wavelet transform function, is the scaling parameter, Define the translation and time positioning of the wavelet, It's time. is at the time The vibration signal at is a bandpass filter that oscillates in the time domain; Step B3: Divide the wavelet feature image into a training signal set and a test signal set in a ratio of 8:2, create and initialize a convolutional neural network as a fault judgment model, scale the wavelet feature image, input the training signal set into the fault judgment model, and generate a feature map in the convolution layer. The formula used is as follows: ; In the formula, is the feature map, It is layer convolution, It is Features, is the activation function, is the number of wavelet eigenimages, is the convolution operator, is the weight, is bias; Step B4: Define a scaling exponential linear function as an activation function so that the distribution of the output of each layer is normally distributed. The scaling exponential linear function is as follows: ; In the formula, is a scaled exponential linear function, is the scale constant; Step B5: Place an attention module after batch normalization. The attention module includes a spatial attention module and a channel attention module. The spatial attention module obtains a spatial attention map by accumulating spatial relationships. The formula used is as follows: ; In the formula, represents the standard convolution operation, is a sigmoid function, is the convolutional layer, is the concatenation function, is the spatial attention map, and is the feature map of local features, and Yes Two-dimensional feature maps for two pooling operations, is the Hadamard product operation; Step B6: The channel attention module obtains the channel attention map through global pooling. The formula used is as follows: ; In the formula, Indicates a shared full connection operation. is a shared fully connected layer, is the channel attention map, is the wavelet eigenimage; Step B7: Fuse the spatial attention map and the channel attention map in the multi-feature fusion block and calculate the probability score of each state. The formula used is as follows: ; In the formula, is the probability score, Indicates different states. is the dimension of the output layer, is the softmax parameter for classification, is the transpose, It is feature mapping of features; Step B8: Input the test signal set into the fault judgment model, and use gradient descent to update all weights of the fault judgment model. The formula used is as follows: ; In the formula, is the learning rate, is a small term that prevents division by zero, It's time The sum of the gradients at time It's time The squared gradient of and is a hyperparameter that controls and The exponential decay rate of is the gradient of the subsequent time step; Step B9: using an accelerometer to capture the vibration signal image of the feeding conveyor belt in real time, inputting the vibration signal image into a fault judgment model, and the fault judgment model outputs the operating status of the feeding conveyor belt.

[0013] Through the above operations, in order to solve the technical problem that the running state of the feeding conveyor belt also has a certain impact on the precision of the material, the present invention has developed a neural network model with an attention mechanism, which uses the vibration signal of the feeding conveyor belt to identify various abnormal running states, and especially adds an attention module to improve the effectiveness of the running state classification.

[0014] Embodiment 4: This embodiment is based on the above embodiment. In embodiment 3, the vibration signal is measured by two accelerometers named Benstone 786A. The two accelerometers are connected in two perpendicular directions. During the measurement, the sampling rate is fixed at 51.2kHz and each signal time is 20s.

[0015] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0016] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

[0017] The present invention and its embodiments are described above, and such description is not restrictive. The drawings show only one embodiment of the present invention, and the actual structure is not limited thereto. In short, if ordinary technicians in the field are inspired by it, without departing from the purpose of the invention, they can design a structure and embodiment similar to the technical solution without creativity, which should belong to the protection scope of the present invention.

Claims

1. A precise feeding system for sewage treatment based on real-time feedback control, characterized in that: It includes a sensor module, a coagulant metering control module, a coagulant transmission module and a fault diagnosis module; The sensor module installs the sensor at a key position in the sewage treatment process to obtain sensor data, which includes sewage volume, sewage turbidity, conductivity, dissolved solids, salinity, pH value, water temperature and oxygen content, and transmits the sensor data to the coagulant metering control module in real time through a wireless communication network; The coagulant metering control module models the optimal amount of coagulant during sewage treatment and calculates the coagulant metering in real time; The coagulant transmission module transmits the coagulant to the sewage pool through the feeding conveyor belt; The fault diagnosis module detects the running status of the feeding conveyor belt to ensure that the coagulant can be accurately fed into the sewage pool.

2. According to claim 1, a sewage treatment precision feeding system based on real-time feedback control is characterized in that: The coagulant metering control module models the optimal amount of coagulant during sewage treatment by the M5-GTO method, and the M5-GTO method specifically includes the following steps: Step A1: collecting a sewage treatment sample set, wherein the sewage treatment sample set includes sewage volume, sewage turbidity, conductivity, dissolved solids, salinity, pH value, water temperature, oxygen content and corresponding coagulant dosage, and dividing the sewage treatment sample set into a training set and a test set in a ratio of 7:3; Step A2: Create and initialize a coagulant estimation model according to the M5 algorithm, input the training set into the coagulant estimation model for training, and after the training is completed, input the test set into the trained coagulant estimation model for testing, and define the objective function of the coagulant estimation model as the mean square error during the test period; Step A3: Use the GTO algorithm to randomly generate an initial population. Each individual in the initial population contains a position and a fitness value. The position of the individual is composed of the minimum leaf size and the split threshold. The minimum leaf size and the split threshold are key parameters in the M5 algorithm. Step A4: During the test period, the M5 algorithm is executed on each individual to calculate the objective function of each individual; Step A5: Use the GTO algorithm to update the initial population, and select the individual with the smallest objective function from all individuals in the population as the minimum leaf size and split threshold; Step A6: Set the maximum number of iterations. When the maximum number of iterations is reached, terminate the GTO algorithm and output the optimal solution. Otherwise, continue to iterate. Step A7: Input the sensor data into the coagulant estimation model to calculate the coagulant dosage.

3. A sewage treatment precision feeding system based on real-time feedback control according to claim 2, characterized in that: The fault diagnosis module detects whether the feeding conveyor belt operates normally through an attention-based fault detection method, and the attention-based fault detection method specifically includes the following steps: Step B1: collecting a vibration signal set, wherein the vibration signal set includes a historical vibration signal image of the feeding conveyor belt and a corresponding state, wherein the state includes a normal state, a stuck state, a deviation state, and a loose state; Step B2: Divide the historical vibration signal image by state, transform the historical vibration signal image from a one-dimensional time series signal into a two-dimensional time-frequency image by continuous wavelet transform, and obtain a wavelet feature image under each state; Step B3: Divide the wavelet feature image into a training signal set and a test signal set in a ratio of 8:2, create and initialize a convolutional neural network as a fault judgment model, scale the wavelet feature image, input the training signal set into the fault judgment model, and generate a feature map in the convolution layer. The formula used is as follows: ; In the formula, is the feature map, It is layer convolution, It is Features, is the activation function, is the number of wavelet eigenimages, is the convolution operator, is the weight, is bias; Step B4: Define a scaling exponential linear function as an activation function so that the distribution of the output of each layer is normally distributed. The scaling exponential linear function is as follows: ; In the formula, is a scaled exponential linear function, is the scale constant; Step B5: Place an attention module after batch normalization. The attention module includes a spatial attention module and a channel attention module. The spatial attention module obtains a spatial attention map by accumulating spatial relationships. The formula used is as follows: ; In the formula, represents the standard convolution operation, is a sigmoid function, is the convolutional layer, is the concatenation function, is the spatial attention map, and is the feature map of local features, and Yes Two-dimensional feature maps for two pooling operations, is the Hadamard product operation; Step B6: The channel attention module obtains the channel attention map through global pooling. The formula used is as follows: ; In the formula, Indicates a shared full connection operation. is a shared fully connected layer, is the channel attention map, is the wavelet eigenimage; Step B7: Fuse the spatial attention map and the channel attention map in the multi-feature fusion block and calculate the probability score of each state. The formula used is as follows: ; In the formula, is the probability score, Indicates different states. is the dimension of the output layer, is the softmax parameter for classification, is the transpose, It is feature mapping of features; Step B8: input the test signal set into the fault judgment model, and use gradient descent to update all weights of the fault judgment model; Step B9: using an accelerometer to capture the vibration signal image of the feeding conveyor belt in real time, inputting the vibration signal image into a fault judgment model, and the fault judgment model outputs the operating status of the feeding conveyor belt.

Citation Information

Patent Citations

  • Precise control method for adding amount of coagulant for treatment of coal-containing wastewater of thermal power plant

    CN108975553A

  • Optimal dosage prediction method based on FCM-ANFIS model

    CN115206444A

  • Path planning method based on artificial chimpanzee army optimization algorithm

    CN116625368A

  • Intelligent dosing control system of integrated sewage treatment equipment

    CN118210237A

  • System and method for automatic control of coagulant does

    KR1020100115852A