USPatent applicationPatented

Deep learning-based method for predicting settleability of activated sludge

Granted 30 Sep 2025 · no office action yet

Life of the application

6 dated events
⤢ drag to zoom20242026202820302032203420362038204020422044ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Description

5 parts
›CROSS-REFERENCE TO RELATED APPLICATIONS

The contents of Chinese Patent Application No. 202210433941.9 filed Apr. 24, 2022 and any intervening amendments thereto are incorporated herein by reference. Inquiries from the public to applicants or assignees concerning this document or the related applications should be directed to: Matthias Scholl P.C., Attn.: Dr. Matthias Scholl Esq., 245 First Street, 18th Floor, Cambridge, MA 02142.

›BACKGROUND

The disclosure relates to the field of wastewater treatment technology, and more particularly, to a deep learning-based method for predicting the settleability of activated sludge.

Activated sludge process is widely utilized in urban wastewater treatment. However, within its biological treatment system, sludge bulking frequently arises. The phenomenon results in effects such as weakened sludge structure, reduced density, compressed settleability, and challenges in effectively separating sludge from water. Consequently, these issues have an impact on the quality of the discharged water. When sludge bulking occurs, a significant duration is required for adjustments in order to bring a wastewater treatment plant back to its regular operational state. Within the monitoring regimen of the sewage treatment plant, both settled Sludge volume (SV) and Mixed Liquor Suspended Solid (MLSS) concentration, which serve as measures of activated sludge settleability, are monitored daily. The daily monitoring facilitates the calculation of the Sludge Volume Index (SVI) and assessment of the settleability of the activated sludge. Hence, ensuring prompt, effective, and precise monitoring of activated sludge settleability can offer advance notification regarding sludge bulking, thereby ensuring the stable operation of the wastewater treatment plant.

At present, identifying sludge bulking problems typically involves conducting laboratory tests to determine the SVI. The SVI determination method is simple but time-consuming. Alternatively, in practical situations, the settleability of the activated sludge can also be assessed through microscopic observation, which is a simpler and quicker method. However, the method relies on human observation, introducing the potential for subjective errors that compromise the accuracy of the determination results.

›SUMMARY

To solve the aforesaid problems, the disclosure provides a deep learning-based method for predicting the settleability of activated sludge.

The deep learning-based method comprises:

(1) collecting a plurality of activated sludge samples, acquiring raw data of images of the plurality of activated sludge samples, cleaning the raw data of the images, and standardizing data sizes of the images; (2) calculating a sludge volume index (SVI) for each of the plurality of activated sludge samples; (3) establishing, by using a ResNet50 deep neural network, a model for predicting the settleability of activated sludge; and (4) predicting the settleability of a target activated sludge using the model established in (3); where, (3) is implemented as follows: ( 301 ) separating, by using the sludge volume index for each of the plurality of activated sludge samples obtained in (2), the plurality of activated sludge samples into a bulking sample set and a non-bulking sample set; ( 302 ) augmenting the bulking sample set or the non-bulking sample set, to equalize the sample sizes between the bulking sample set and the non-bulking sample set; ( 303 ) dividing a dataset for establishing the model into a training set, a validation set, and a testing set, and optimizing hyperparameters of the model; ( 304 ) selecting optimal hyperparameters of the model, training the model to predict the settleability of activated sludge, and assessing the classification performance of the model using the testing set.

In a class of this embodiment, in (1), the raw data of the images of the plurality of activated sludge samples are acquired using a high-throughput image acquisition system, and the raw data of the images is cleaned by removing blurry images and erroneous samples.

In a class of this embodiment, in (2), for each of the plurality of activated sludge samples, the sludge volume index (SVI) is calculated using experimentally determined settled sludge volume (SV) and mixed liquor suspended solids (MLSS) concentration, following a calculation formula:

In a class of this embodiment, in ( 301 ), a threshold for SVI is defined; when the SVI of the activated sludge falls below the SVI threshold, the activated sludge sample is classified as bulking; otherwise, the activated sludge sample is classified as non-bulking; and the SVI threshold is set within the range of 150 to 190 mL·g −1 .

In a class of this embodiment, in ( 302 ), the augmenting comprises separately rotating the images by 90°, 180°, and 270° for the bulking sample set or the non-bulking sample set.

In a class of this embodiment, in ( 303 ), the dataset is split into the training set and the testing set in proportion; during model training process, the training set is further automatically split into an operational training set and a validation set.

In a class of this embodiment, in ( 303 ), the hyperparameters of the model are optimized; the hyperparameters comprise an optimizer and a learning rate; the optimizer is stochastic gradient descent; and the learning rate is optimized using the ReduceLROnPlateau callback function, thereby improving the speed of network convergence during training.

In a class of this embodiment, in ( 304 ), while training the model to predict the settleability of activated sludge, the loss is calculated using a cross-entropy loss function.

In a class of this embodiment, in ( 304 ), when assessing the classification performance of the model using the testing set, four metrics—Accuracy, Precision, Recall, and F1 score are used to measure and analyze the classification capabilities of the model; the formula for calculating Accuracy is as follows:

In a class of this embodiment, the method for applying the model to predict the settleability of activated sludge, the method comprises:

( 401 ) collecting a plurality of activated sludge samples to be tested; and acquiring, by using a high-throughput image acquisition system, image data of the plurality of activated sludge sample to be tested; ( 402 ) automatically standardizing the data size of the images for the plurality of activated sludge sample to be tested; and ( 403 ) inputting the standardized image data of the plurality of activated sludge samples to be tested into the model, generating operational output results, and thereby determining whether the tested activated sludge samples have undergone bulking.

The disclosure relies on the images collected from the activated sludge. After performing essential data cleaning and resizing of image dimensions, the ResNet50 deep neural network is used to establish a binary classification model to predict the bulking of the activated sludge. The binary classification model takes the image data of the activated sludge as input and generates an output that indicates whether the activated sludge has undergone bulking.

The following advantages are associated with the disclosure:

(1) the disclosed model demonstrates both reliability and efficiency, resulting in accurate outcomes; the input data is readily accessible, leading to a significant reduction in detection time; with the SVI threshold set at 190 mL·g −1 , the prediction accuracy achieves 92.9%; and (2) the disclosed model allows for quick detection and provides a user-friendly experience; and the images are directly employed as input data for model training, thereby removing the necessity for intricate image preprocessing and feature extraction procedures.

›BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a flowchart illustrating a process according to the example of the disclosure;

FIG. 2 is a schematic diagram of the structure of the ResNet50 deep neural network according to the example of the disclosure;

FIG. 3 shows a curve of the loss function during model training with an SVI threshold set at 150 mL·g −1 according to the example of the disclosure;

FIG. 4 shows a curve of the loss function during model training with an SVI threshold set at 190 mL·g −1 according to the example of the disclosure;

FIG. 5 shows a confusion matrix representing the classification results when an SVI threshold is set at 150 mL·g −1 according to the example of the disclosure;

FIG. 6 shows a confusion matrix representing the classification results when an SVI threshold is set at 190 mL·g −1 according to the example of the disclosure; and

FIG. 7 exhibits the Receiver Operating Characteristic (ROC) curve of the model when an SVI threshold is set at 190 mL·g −1 according to the example of the disclosure.

›DETAILED DESCRIPTION

To further illustrate the disclosure, embodiments detailing a deep learning-based method for predicting the settleability of activated sludge are described below. It should be noted that the following embodiments are intended to describe and not to limit the disclosure.

As shown in FIG. 1 , the disclosure provides a deep learning-based method for predicting the settleability of activated sludge, and the method comprises:

(1) Sample collection, image acquisition, and image processing: sample collection: a plurality of activated sludge samples were collected from aerobic tanks of 41 domestic wastewater treatment plants and stored in a refrigerator at 4° C.; an interval between the sample collection and the image acquisition was limited to a maximum of 24 hours; the plurality of activated sludge samples were diluted at different ratios; specifically, 10 sets of replicates were prepared for original activated sludge samples, samples diluted by a factor of one, and samples diluted by a factor of four; and 100 μL of each replicate was dispensed into an individual well of a 96-well plate; image acquisition: the image data of the plurality of activated sludge samples was acquired using the EVOS™ M7000 imaging system; and the images were captured at a 40× magnification, resulting in image dimensions of 26,000×26,000 pixels; and image cleaning and image resizing: data cleaning was conducted to remove duplicate and unclear data samples from the acquired image data; furthermore, to maintain uniformity in the input image sizes for the model, all images were resized to dimensions of 288×288 pixels; (2) SVI measurement for activated sludge: 1 μL of a mixture comprising both activated sludge and water was collected from an aeration tank and transferred into a clean 1000 mL·graduated cylinder; the activated sludge was thoroughly mixed with water and allowed to stand for 30 minutes; the scale value V 0 (mL) was measured at the interface between the activated sludge layer and the supernatant liquid; and the settled sludge volume(SV) of the activated sludge was calculated using the following formula:

Model evaluation: to evaluate the classification performance of the model, a set of 719 instances of images for the test samples were employed; four metrics—Accuracy, Precision, Recall, and F1 score were used to measure and analyze the classification capabilities of the model; and the formula for calculating Accuracy is as follows

Using the trained model on the 719 instances within the test set and setting the SVI threshold at 150 mL·g −1 , among 169 instances of bulking activated sludge images, 158 instances were categorized as bulking, while 11 instances were categorized as non-bulking based on the predictions. Furthermore, among the 550 instances of non-bulking activated sludge images, 470 instances were identified as non-bulking, while 80 instances were categorized as bulking. The corresponding confusion matrix was depicted in FIG. 5 . The results revealed that the model achieved an accuracy level of 87.3%. The following table presented the values for Precision, Recall and F1-score:

Using the trained model on the 719 instances within the test set and setting the SVI threshold at 190 mL·g −1 , among 148 instances of bulking activated sludge images, 129 instances were categorized as bulking, while 19 instances were categorized as non-bulking based on the predictions. Furthermore, among the 571 instances of non-bulking activated sludge images, 539 instances were identified as non-bulking, while 32 instances were categorized as bulking. The corresponding confusion matrix was depicted in FIG. 6 . The results revealed that the model achieved an accuracy level of 92.9%. The following table presented the values for Precision, Recall, and F1-score:

When setting the SVI threshold to 190 mL-g −1 , the Receiver Operating Characteristic (ROC) curve of the model was depicted in FIG. 7 . The Area Under Curve (AUC) value reached 0.908, reflecting a strong level of confidence in the model predictions and a high degree of model reliability.

(4) Prediction of the settleability of the activated sludge in a target wastewater treatment plant: ( 401 ) a plurality of activated sludge samples were collected from a target wastewater treatment plant and processed; the image data of the plurality of activated sludge samples was acquired using the EVOS™ M7000 imaging system, employing the same method as described in 1); ( 402 ) the image data was then cleaned and resized to dimensions of 288×288 pixels, employing the same method as described in 1); and ( 403 ) the image data was input into the trained model with an SVI threshold set at 190 mL-g −1 , producing operational output results; and the classification results for the activated sludge samples indicated the absence of activated sludge bulking.

The disclosure achieves a consistency between the activated sludge categories derived from the model and the real SVI assessments, leading to a prediction accuracy of 92.9%.

It will be obvious to those skilled in the art that changes and modifications may be made, and therefore, the aim in the appended claims is to cover all such changes and modifications.

›Tables in the description — 2
CategoriesPrecisionRecallF1
Bulking0.6640.9350.776
Non-bulking0.9780.8550.912
Weighted average0.9040.8730.880
CategoriesPrecisionRecallF1
Bulking0.8010.8720.835
Non-bulking0.9660.9440.955
Weighted average0.9320.9290.930

Claims as granted

10 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

2 codes
IPC · International Patent Classification
Section C — Chemistry; metallurgy
  • C02F3/12
Section G — Physics
  • G06T7/62

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomOct 2023Jan 2024Apr 2024Jul 2024Oct 2024Jan 2025Apr 2025Jul 2025Oct 2025USPTOApplicantNotice of allowance
USPTOApplicanthover for detail · click to open
Pendency
2.1 y
760 days filing → grant
Office actions
0
none on record
Examiner
Siamak Harandi
art unit 2662 · TC 2600
Citations: 4 back · 0 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom20242026202820302032203420362038204020422044Owner 1
Titlehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock