Sludge settling ratio measurement method based on visual recognition
The rapid calculation of sludge settlement ratio through visual recognition technology solves the problem of long traditional experiment time, achieves efficient and accurate sludge settlement ratio measurement, simplifies the operation process, and is suitable for sludge management in sewage treatment plants.
Patent Information
- Application Number
- CN202410121453.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-30
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-01-30
AI Technical Summary
The traditional sludge sedimentation ratio experiment takes more than thirty minutes, which takes up the working time of process engineers. As a result, some sewage treatment plants tend to reduce or not conduct experiments, which reduces the sewage treatment effect.
The sludge sedimentation ratio measurement method based on visual recognition is used to capture the measuring cylinder through the camera, mark the scale, record the pixel value, perform image preprocessing and pixel summation, quickly calculate the sludge height and sedimentation ratio, simplify the operation, and reduce subjective factors. Influence.
It achieves fast and accurate sludge settlement ratio measurement, improves measurement efficiency and accuracy, is simple and easy to operate, suitable for non-professionals to complete, and reduces the work burden on process engineers.
Smart Images

Figure CN117647473B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of sludge settling ratio measurement, and in particular to a sludge settling ratio measurement method based on visual recognition. Background Art
[0002] The sludge settling ratio (SV) refers to the volume ratio of the precipitated sludge to the mixed liquid after the mixed aeration tank activated sludge mixture is quickly poured into the measuring cylinder to the full scale and left to settle for 30 minutes. It is also called the 30-min settling rate (SV30) and is expressed in %. This indicator reflects the amount of sludge in the operation of the aeration tank, which can control and adjust the discharge of activated sludge. It is also a direct response to abnormal phenomena such as sludge swelling.
[0003] The sampling and process observation time of traditional sludge settling ratio experiments often takes more than 30 minutes, which will take up a lot of working time of process engineers. Therefore, some sewage treatment plants tend to reduce or even not conduct sludge settling ratio experimental observations, which greatly reduces the sewage treatment effect. Summary of the invention
[0004] The present invention provides a sludge settling ratio measurement method based on visual recognition. Through visual recognition, the sludge settling ratio measurement can be completed quickly, thereby improving the measurement efficiency and accuracy.
[0005] The embodiment of this specification discloses a method for measuring sludge settling ratio based on visual recognition, including:
[0006] When the aeration tank is in the aeration state, pass the mixed solution in the aeration tank into the measuring cylinder;
[0007] A camera is used to photograph the measuring cylinder;
[0008] Mark the scale of the measuring cylinder in the camera image;
[0009] Record the pixel value in the screen corresponding to the marked scale;
[0010] Preprocess the captured images;
[0011] For the preprocessed image, sum the pixels row by row from top to bottom;
[0012] Determine whether the sum of the pixels in the current row is less than a preset threshold. If so, the current row is the sludge height liquid level, end the pixel summing, and calculate the sludge height and sludge settling ratio according to the marked scale of the current row; otherwise, continue to sum the pixels.
[0013] In some embodiments of this specification, the setting process of the preset threshold is as follows:
[0014] Based on the preprocessed image, the pixels of the row where the supernatant is located in the image are summed to obtain a first pixel sum value, and then the pixels of the row where the sediment is located in the image are summed to obtain a second pixel sum value, and the pre-set threshold is equal to the average of the first pixel sum value and the second pixel sum value.
[0015] In some embodiments of the present specification, the first pixel point sum value is a value obtained by summing the pixel points of any row where the supernatant is located, and the second pixel point sum value is a value obtained by summing the pixel points of any row where the sediment is located.
[0016] In some embodiments of the present specification, the first pixel point sum value is a value obtained by summing up the pixels of all rows where the supernatant is located and then taking the average value, and the second pixel point sum value is a value obtained by summing up the pixels of all rows where the sediment is located and then taking the average value.
[0017] In some embodiments of the present specification, the process of preprocessing the captured image is: first scaling the image, then filtering it, and finally binarizing the image.
[0018] In some embodiments of the present specification, when marking the scale of the measuring cylinder in the image captured by the camera, marking is performed every 100 ml to reduce the influence of distortion on the measurement.
[0019] In some embodiments of this specification, when the camera is used to photograph the measuring cylinder, the camera is photographed once per minute and the measurement is completed in 30 minutes.
[0020] In some embodiments of the present specification, a sludge settling ratio measurement method based on visual recognition is implemented by a measurement system, wherein the measurement system includes a test box, wherein the test box has a built-in measuring cylinder, a camera, a liquid level sensor, and a water inlet pump for connecting to an aeration tank, wherein the water inlet pump is connected to the measuring cylinder, the liquid level sensor is arranged on the measuring cylinder, and the camera is aimed at the measuring cylinder.
[0021] In some embodiments of the present specification, the aeration pump current of the aeration tank is detected. When the current exceeds a preset value, the water inlet pump is turned on to intake water to extract the mixed solution of the aeration tank into the measuring cylinder; it is determined whether the liquid level of the measuring cylinder reaches 1000 ml. If so, the water inlet pump is turned off, otherwise, water intake continues.
[0022] The embodiments of this specification can at least achieve the following beneficial effects:
[0023] Just wait for the aeration tank to be in the aeration state, pass the mixed solution in the aeration tank into the measuring cylinder, shoot the measuring cylinder, mark the scale of the measuring cylinder in the camera shooting picture, record the pixel value in the picture corresponding to the marked scale, pre-process the captured picture, and sum the pixels of the pre-processed picture from top to bottom, and judge whether the sum of the pixels in the current row is less than the preset threshold. If so, the current row is the sludge height liquid level, end the pixel summation, and calculate the sludge height and sludge settling ratio according to the marked scale of the current row; otherwise, continue to sum the pixels. The whole measurement process is simple, easy to understand and easy to use. The measurement can be completed without professional engineers. Moreover, through visual recognition, the influence of subjective factors on the measurement results can be reduced, and the sludge settling ratio measurement can be completed quickly, which improves the measurement efficiency and accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0025] Figure 1 It is a schematic diagram of a flow chart of a method for measuring sludge settling ratio based on visual recognition involved in some embodiments of the present invention;
[0026] Figure 2 A schematic diagram of a value obtained by summing up the pixels in a row where a sinking liquid is located in some embodiments of the present invention;
[0027] Figure 3 A schematic diagram of a value obtained by summing up the pixels in a row where the supernatant is located in some embodiments of the present invention;
[0028] Figure 4 is a schematic diagram of a measurement system involved in some embodiments of the present invention. DETAILED DESCRIPTION
[0029] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present invention. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.
[0030] In addition, the term "connection" and other terms 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 directly connected or indirectly connected through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0031] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0032] It should be noted that the sludge settling ratio (SV) refers to the volume ratio of the precipitated sludge to the mixed liquid after the mixed aeration tank activated sludge mixture is quickly poured into the measuring cylinder to the full scale and allowed to settle for 30 minutes. It is also called the 30-min settling rate (SV30) and is expressed in %. This indicator reflects the amount of sludge in the operation of the aeration tank, which can control and adjust the discharge of activated sludge. It is also a direct response to abnormal phenomena such as sludge swelling.
[0033] The steps for determining the SV30 value are as follows:
[0034] Step S1, rinse a clean 1000 ml measuring cylinder with distilled water, spin dry and let stand;
[0035] Step S2, placing the suction port of the siphon pipe at the outlet of the aeration tank (i.e., the outlet where the mixed liquid in the aeration tank flows into the secondary sedimentation tank), using a suction bulb to suck out the mixed liquid in the aeration tank, and forming a siphon;
[0036] Step S3, placing the mixed solution in a 1000 ml measuring cylinder through a siphon, bringing the liquid level to the 1000 ml mark, and starting to calculate the sedimentation time from this point;
[0037] Step S4, leaving the 1000 ml measuring cylinder filled with sludge to stand for 30 min, observing the process and characteristics of activated sludge flocculation and sedimentation, and recording the sludge volume below the sludge interface at 1 min, 3 min, 5 min, 10 min, 15 min, 20 min, and 30 min respectively;
[0038] Step S5, the 30-minute sedimentation rate (SV30) can be calculated by the sludge volume (ml) at the 30th minute.
[0039] The SV value can reflect the amount of sludge, sludge cohesion, and sedimentation performance during the normal operation of the aeration tank. It can be used to control the discharge of residual sludge. The normal value of SV is generally between 15% and 30%. If it is lower than this value, it means that the sludge has good sedimentation performance, but it may also be that the sludge is not active enough, so less or no sludge discharge or increased aeration volume can be required; if it is higher than this value, it means that sludge discharge is required, or measures should be taken to increase the aeration volume, or the filamentous bacteria may cause the sludge to expand, so it is necessary to increase the sludge intake or reduce the aeration volume.
[0040] Specifically, SV30 reflects both the sedimentation and concentration performance of the sludge and the size of the sludge concentration to a certain extent. When the sedimentation performance is good, the SV30 is small, otherwise it is high. When the sludge concentration is high, the SV30 is large, otherwise it is small. When the sludge SV30 is measured to be high, it may be that the sludge concentration has increased or the sedimentation performance has deteriorated. Regardless of the reason, the sludge should be discharged in time to reduce the SV30 value. When the sludge is discharged by this method, it should be carried out gradually and slowly, and the sludge should not be discharged too much in one day. For example, when the SV30 is reduced from 50% to 30% by sludge discharge, 3 to 5 days can be used to gradually achieve a uniform increase in the sludge discharged every day. It must not be large or small, so as to avoid the entire activated sludge system being destroyed or the capacity being reduced.
[0041] Based on the above principles, Figure 1 As shown, the embodiment of this specification discloses a method for measuring sludge settling ratio based on visual recognition, including:
[0042] When the aeration tank is in the aeration state, pass the mixed solution in the aeration tank into the measuring cylinder;
[0043] A camera is used to photograph the measuring cylinder;
[0044] Mark the scale of the measuring cylinder in the camera image;
[0045] Record the pixel value in the screen corresponding to the marked scale;
[0046] Preprocess the captured images;
[0047] For the preprocessed image, sum the pixels row by row from top to bottom;
[0048] Determine whether the sum of the pixels in the current row is less than a preset threshold. If so, the current row is the sludge height liquid level, end the pixel summing, and calculate the sludge height and sludge settling ratio according to the marked scale of the current row; otherwise, continue to sum the pixels.
[0049] In some embodiments, the process of setting the preset threshold is as follows:
[0050] Based on the preprocessed image, the pixels of the row where the supernatant is located in the image are summed to obtain a first pixel sum value, and then the pixels of the row where the sediment is located in the image are summed to obtain a second pixel sum value. The preset threshold is equal to the average of the first pixel sum value and the second pixel sum value. Figure 2 and Figure 3 As shown, Figure 2 The "25726" in the figure is the value obtained by summing the pixels in the row where the sink is located. Figure 3 The "35033" in the figure is the value obtained by summing the pixels of the row where the supernatant is located. The preset threshold is the average of 25726 and 35033, which is 30379.5. When the pixels are summed row by row from top to bottom of the image, once the sum of the pixels of a row from top to bottom is less than 30379.5, it is considered that the row is the sludge height liquid level, that is, the highest point of the sinking liquid.
[0051] In some embodiments, the first pixel point sum value is a value obtained by summing the pixel points in any row where the supernatant is located, and the second pixel point sum value is a value obtained by summing the pixel points in any row where the sinker is located.
[0052] In some embodiments, the first pixel point sum value is the value obtained by summing up the pixels of all rows where the supernatant is located and then taking the average value, and the second pixel point sum value is the value obtained by summing up the pixels of all rows where the sediment is located and then taking the average value.
[0053] In some embodiments, the process of preprocessing the captured image is: first scaling the image, then filtering it, and finally binarizing the image.
[0054] In some embodiments, when marking the scale of the measuring cylinder in the camera shot picture, mark once every 100 ml to reduce the influence of distortion on the measurement. The camera shot picture has a certain distortion, and the purpose of this segmented marking is to reduce the influence of distortion on the measurement.
[0055] In some embodiments, when the measuring cylinder is photographed using a camera, the camera is photographed once per minute and the measurement is completed in 30 minutes.
[0056] In some embodiments, the sludge settling ratio measurement method based on visual recognition is implemented by a measurement system, such as Figure 4 As shown, the measurement system includes a test box, which has a 1000 ml measuring cylinder, a camera, a liquid level sensor and a water inlet pump connected to the aeration tank. The water inlet pump is connected to the 1000 ml measuring cylinder. The liquid level sensor is arranged on the 1000 ml measuring cylinder to detect the liquid level of the 1000 ml measuring cylinder; the camera is aimed at the 1000 ml measuring cylinder.
[0057] In the above technical solution, 1000 ml of the mixed liquid sample is generally taken and measured with a full-scale 1000 ml measuring cylinder. The height of the mud surface after standing for 30 minutes is exactly the value of SV. Therefore, in order to facilitate calculation and achieve the purpose of fast operation, a 1000 ml measuring cylinder is used in the measuring system.
[0058] In some embodiments, the current of an aeration pump of an aeration tank is detected. When the current exceeds a preset value, it is considered that the aeration pump is working, and thus the aeration tank is considered to be in an aerated state. Water inlet is turned on through a water inlet pump to extract a mixed solution from the aeration tank into a measuring cylinder. It is determined whether the liquid level in the measuring cylinder reaches 1000 ml. If so, the water inlet pump is turned off. Otherwise, water inlet continues.
[0059] In some embodiments, the measurement system also includes a drain valve, a cleaning brush, a fill light and a main control circuit board. The test box is provided with a water inlet and a drain outlet. The water inlet pump is connected to the aeration tank through the water inlet, the drain valve is connected to the drain outlet, and the camera, liquid level sensor, water inlet pump, drain valve, cleaning brush and fill light are all connected to the main control circuit board.
[0060] In summary, multiple specific embodiments of the present invention are disclosed. Under the condition that there is no self-contradiction, the various embodiments can be freely combined to form new embodiments, that is, the embodiments belonging to the replacement schemes can be freely replaced but cannot be combined with each other; the embodiments that do not belong to the replacement schemes can be combined with each other, and these new embodiments also belong to the essential content of the present invention.
[0061] The above embodiments describe multiple specific implementations of the present invention, but those skilled in the art should understand that various changes or modifications may be made to these implementations without departing from the principles and essence of the present invention, but these changes and modifications are all within the scope of protection of the present invention.
Claims
1. A method for measuring sludge settling ratio based on visual recognition, characterized in that: include: When the aeration tank is in the aeration state, pass the mixed solution in the aeration tank into the measuring cylinder; Using a camera to photograph the measuring cylinder; Mark the scale of the measuring cylinder in the camera image; Record the pixel value in the screen corresponding to the marked scale; Preprocess the captured images; For the preprocessed image, sum the pixels row by row from top to bottom; Determine whether the sum of the pixels in the current row is less than a preset threshold. If so, the current row is the sludge height liquid level, end the pixel summing, and calculate the sludge height and sludge settling ratio according to the marked scale of the current row; if not, continue to sum the pixels; The process of setting the preset threshold is as follows: Based on the preprocessed image, summing the pixels of the row where the supernatant is located in the image to obtain a first pixel sum value, and then summing the pixels of the row where the sinker is located in the image to obtain a second pixel sum value, wherein the preset threshold value is equal to the average of the first pixel sum value and the second pixel sum value; The first pixel sum value is a value obtained by summing the pixels of any row where the supernatant is located, and the second pixel sum value is a value obtained by summing the pixels of any row where the sediment is located; or the first pixel sum value is a value obtained by summing the pixels of all rows where the supernatant is located and then taking the average, and the second pixel sum value is a value obtained by summing the pixels of all rows where the sediment is located and then taking the average.
2. The method for measuring sludge settling ratio based on visual recognition according to claim 1, characterized in that: When marking the scale of the measuring cylinder in the camera shot image, mark once every 100 ml to reduce the influence of distortion on the measurement.
3. The method for measuring sludge settling ratio based on visual recognition according to claim 1, characterized in that: When the camera is used to photograph the measuring cylinder, the camera is photographed once per minute and the measurement is completed in 30 minutes.
4. The method for measuring sludge settling ratio based on visual recognition according to claim 1, characterized in that: It is achieved through a measuring system, which includes a test box, which has a measuring cylinder, a camera, a liquid level sensor and a water inlet pump connected to the aeration tank. The water inlet pump is connected to the measuring cylinder, the liquid level sensor is arranged on the measuring cylinder, and the camera is aimed at the measuring cylinder.
5. The method for measuring sludge settling ratio based on visual recognition according to claim 4, characterized in that: Detect the aeration pump current of the aeration tank. When the current exceeds a preset value, start the water inlet pump to draw water to extract the mixed solution of the aeration tank into the measuring cylinder; determine whether the liquid level of the measuring cylinder reaches 1000 ml. If so, turn off the water inlet pump, otherwise continue to let water in.
Citation Information
Patent Citations
Sewage treatment method and system based on activated sludge process
CN114882031A
Sludge settling ratio measuring method and system based on image processing
CN115266494A
Sewage grade identification method and device based on image
CN115619998A
Sewage monitoring method and monitoring system
CN117929305A
Automatic Measurement System for Sludge Settling Velocity
US20230047418A1
