Active sludge concentration monitoring and sludge discharge regulation and control device and method based on image analysis

Through the activated sludge concentration monitoring device based on image analysis, the problem of unrefined sludge discharge management of the second sedimentation tank is solved, and fast and accurate sludge concentration detection and automated regulation are achieved, which reduces the risk of sleeve valve blockage, improves sludge discharge treatment efficiency and refined control.

CN120369709APending Publication Date: 2025-07-25TONGJI UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510430478.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-08
Publication Date
2025-07-25

AI Technical Summary

Technical Problem

The existing sewage treatment plants lack intelligent systems in the sludge discharge management of the second sedimentation tank, resulting in unbalanced sludge discharge concentration, which easily leads to clogging of sleeve valves or increased difficulty in sludge dehydration. The existing detection methods have problems such as high cost, inaccurate results or complex maintenance.

Method used

An activated sludge concentration monitoring device based on image analysis is adopted, including a sampling barrel, agitator, liquid level meter, circulation pump, transparent reactor, uniform plate and camera, and the sludge concentration is monitored through image analysis technology, and the opening of the sludge discharge sleeve valve is automatically adjusted in combination with the controller.

Benefits of technology

It realizes fast and accurate sludge concentration detection, reduces the risk of sleeve valve blockage, improves sludge removal processing efficiency and refined control, reduces manual intervention, and has automated cleaning functions and data analysis capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120369709A_ABST
    Figure CN120369709A_ABST
Patent Text Reader

Abstract

The invention discloses an active sludge concentration monitoring and sludge discharge regulation and control device and method based on image analysis, and the related active sludge concentration monitoring device comprises a case, a sampling barrel, a sampling self-priming pump, a stirrer, a liquid level meter, a circulating pump, a transparent reactor, a light homogenizing plate, a camera and a controller; the sampling barrel is connected with a liquid outlet of the sampling self-priming pump through a pipeline; the sampling barrel is connected with the circulating pump through a pipeline; the circulating pump is connected with the transparent reactor through a pipeline; the transparent reactor is also connected with the sampling barrel through a pipeline; the camera and the dodging plate are respectively arranged on two sides of the transparent reactor; openings matched with the stirrer and the liquid level meter are formed in the top of the sampling barrel, so that one end of the stirrer and one end of the liquid level meter are arranged in the sampling barrel; the controller is electrically connected with the sampling self-priming pump, the stirrer, the liquid level meter, the circulating pump, the light homogenizing plate and the camera and used for controlling the operation states of the sampling self-priming pump, the stirrer, the circulating pump and the light homogenizing plate, receiving data of the liquid level meter and the camera and analyzing the data according to images of the camera to obtain the sludge sample concentration value. The intelligent and refined regulation and control on the sludge discharge of the secondary sedimentation tank are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intelligent control of sewage treatment, and particularly to an activated sludge concentration monitoring, sludge discharge regulation device and method based on image analysis. Background Art

[0002] In the sewage treatment process, the activated sludge process is the most commonly used method. After the sewage is treated by the activated sludge process, the separation of sludge and water generally adopts sedimentation or membrane separation, and the most commonly used is to use a sedimentation tank for the separation of sludge and water. Due to the change of the influent flow rate or the change of the sludge concentration in the biological tank, if the opening of the sludge discharge sleeve valve in the secondary sedimentation tank is not adjusted in time, the change of the sludge discharge concentration is large. If the sludge discharge concentration is too high, the sleeve valve is easily blocked. Especially in the case of multiple sleeve valves in a single secondary sedimentation tank, the sludge discharge concentration is too low, the concentration of the discharged excess sludge is low, the treatment difficulty of the sludge dewatering unit increases, and the water content of the dehydrated sludge is high, which is not conducive to the subsequent external transportation and disposal of the sludge. At present, the sewage treatment plant has a low degree of refined management of the sludge discharge in the secondary sedimentation tank, and lacks an intelligent system to judge, analyze and regulate the sludge discharge in the secondary sedimentation tank.

[0003] The detection of the activated sludge concentration includes photoelectric method, ultrasonic method, microwave method, weighing method, etc. Among them, the weighing method is the national standard method, and the detection result has a high accuracy but takes a long time. Instrument analysis methods such as photoelectric method, ultrasonic method, and microwave method have certain applications in sludge concentration detection, but there are problems such as inaccurate detection results or too high instrument prices. The patent document with the publication number CN115639125A discloses a sludge concentration detection system and method, which uses three groups of sludge concentration sensors for detection, including photoelectric method, ultrasonic method, etc., and compares the detection results with each other to ensure the accuracy of the results. However, this method still has the problems of high cost and complex maintenance. The patent document with the publication number CN212780575U discloses a high-precision microwave sludge concentration measuring device based on temperature compensation, indicating that temperature has a certain influence on the measurement accuracy of the microwave method, further illustrating the limitations of the existing technology in practical applications.

[0004] In view of the above technical problems, the present invention proposes an activated sludge concentration monitoring, sludge discharge regulation device and method based on image analysis. Summary of the Invention

[0005] The purpose of the present invention is to provide an activated sludge concentration monitoring, sludge discharge regulation device and method based on image analysis in view of the defects of the existing technology.

[0006] In order to achieve the above purpose, the present invention adopts the following technical solutions:

[0007] An activated sludge concentration monitoring device based on image analysis includes a chassis, a sampling bucket, a sampling self-priming pump, a stirrer, a liquid level gauge, a circulation pump, a transparent reactor, a light homogenizing plate, a camera, and a controller arranged in the chassis;

[0008] The sampling bucket is connected to the liquid outlet of the sampling self-priming pump through a pipeline, and is used to receive and store the sludge sample discharged from the secondary sedimentation tank;

[0009] The sampling bucket is connected to a circulation pump through a pipeline, and the circulation pump is connected to a transparent reactor through a pipeline, so that the transparent reactor receives the sludge sample from the sampling bucket through the circulation pump; the transparent reactor is also connected to the sampling bucket through a pipeline, and is used to discharge the sludge sample in the transparent reactor to the sampling bucket to form a sludge circulation loop;

[0010] The camera and the light homogenizing plate are respectively arranged on both sides of the transparent reactor. The camera is used to take images of the sludge flow tank in the transparent reactor, and the light homogenizing plate is used to provide a uniform light source for the transparent reactor;

[0011] An opening adapted to the mixer and the liquid level gauge is provided at the top of the sampling bucket, so that one end of the mixer and the liquid level gauge is arranged inside the sampling bucket;

[0012] The controller is electrically connected to the sampling self-priming pump, the mixer, the liquid level gauge, the circulation pump, the light homogenizing plate, and the camera respectively, and is used to control the operating states of the sampling self-priming pump, the mixer, the circulation pump, and the light homogenizing plate, and receive the data of the liquid level gauge and the camera, and obtain the sludge sample concentration value according to the image analysis data of the camera.

[0013] Further, the position of the sampling bucket near the top is connected to external water through a water replenishment electric ball valve, and the sampling bucket is provided with an overflow port and a drain port, and the drain port is connected with a drain electric ball valve through a drain pipeline.

[0014] Further, a touch screen is also installed outside the chassis, and the touch screen is electrically connected to the controller.

[0015] Further, the material of the sampling bucket is a transparent material, and the material of the transparent reactor is a high borosilicate glass material.

[0016] Correspondingly, it also includes an activated sludge concentration monitoring method based on image analysis, including:

[0017] S11. The sampling bucket obtains the sludge sample discharged from the secondary sedimentation tank through the sampling self-priming pump, and obtains the value of the sludge sample in the sampling bucket through the liquid level gauge. When the preset value is reached, the sampling self-priming pump is turned off, and at the same time, the mixer, the light homogenizing plate, and the camera are turned on, and the mixer is used to stir the sludge sample in the sampling bucket;

[0018] S12. The transparent reactor receives the sludge sample from the sampling bucket through the circulation pump, the camera obtains the image of the sludge sample in the transparent reactor, and sends the obtained sludge sample image to the controller;

[0019] S13. The controller processes the sludge sample image and inputs the processed sludge sample image into a pre-constructed prediction model between sludge concentration and pixels, and the prediction model outputs the sludge concentration in the sludge sample image.

[0020] Further, after the step S13, it further includes:

[0021] S14. Judge whether the coefficient of variation of the sludge concentration output by the repeated detection exceeds a preset threshold, or judge whether the output sludge concentration exceeds the detection range. If so, automatically adjust the dilution ratio of the sludge sample in the sampling bucket and re-execute steps S11 - S13.

[0022] Further, the processing of the sludge sample image in the step S13 specifically is: performing angle rotation, removing redundant parts, and random cropping on the sludge sample image.

[0023] Further, after the step S14, it further includes:

[0024] S15. Display the output sludge concentration on the touch screen.

[0025] Correspondingly, it also includes a sludge discharge regulation method for an activated sludge concentration monitoring device based on image analysis, including:

[0026] S21. Obtain the sludge concentration value obtained by the activated sludge concentration online monitoring device installed at the sludge discharge outlet of the secondary sedimentation tank at a preset time interval, and simultaneously obtain the opening data of the sludge discharge sleeve valve of the secondary sedimentation tank;

[0027] S22. Judge whether the obtained sludge concentration value is within the normal range. If so, judge the currently obtained sludge concentration value and the sludge concentration value at the previous time point. If the currently obtained sludge concentration value increases, do not process it; if the currently obtained sludge concentration value decreases, reduce the opening of the sleeve valve.

[0028] Further, in the step S22, judge whether the obtained sludge concentration value is within the normal range. If the sludge concentration value is higher than the normal range, increase the opening of the sleeve valve and send an alarm signal; if the sludge concentration value is lower than the normal range, reduce the opening of the sleeve valve and send an alarm signal.

[0029] Compared with the prior art, the beneficial effects of the present invention are:

[0030] 1. The monitoring equipment of the present invention has a simple structure, low production cost, and is convenient to use.

[0031] 2. By adopting image analysis technology to monitor the sludge concentration, on the one hand, the detection speed is fast and the efficiency is high. Through processes such as automatic sampling and detection, it can generally be completed within 5 minutes. The number of daily tests can set the monitoring period according to needs. On the other hand, the detection results are less affected by water temperature and other factors, which can improve the accuracy of the detection results. The method of sampling and detecting multiple times and taking the average value can be set to further improve the accuracy of the detection results. At the same time, the detection range can be diluted and detected according to the actual situation, which is suitable for scenarios with high sludge concentration.

[0032] 3. By controlling the automatic regulation of the sludge discharge in the secondary sedimentation tank through the sludge concentration value, on the one hand, through the use of the sludge concentration value for automatic control, it provides a basis for adjusting the opening of the sleeve valve, reduces manual adjustment work, improves the efficiency of sludge reflux and excess sludge treatment, reduces the probability of sleeve valve blockage, and realizes the intelligent and refined control of the sludge discharge in the secondary sedimentation tank. On the other hand, by collecting the changes in sludge concentration data, the operating status of the secondary sedimentation tank and the situation of sewage biological treatment can be analyzed to promptly detect abnormal situations. Description of the Drawings

[0033] Figure 1 is the structural diagram of the activated sludge concentration monitoring device based on image analysis provided in Embodiment 1;

[0034] Figure 2 is the schematic diagram of the transparent reactor provided in Embodiment 1;

[0035] Among them, 1. Sampling bucket; 2. Sampling self-priming pump; 3. Stirrer; 4. Liquid level gauge; 5. Circulation pump; 6. Transparent reactor; 61. Sludge flow channel; 62. Inlet sludge pipe; 63. Outlet sludge pipe; 7. Light homogenizing plate; 8. Camera; 9. Controller; 10. Make-up water electric ball valve; 11. Drain electric ball valve; 12. Touch screen; 13. Overflow pipe; 14. Drain pipeline. Detailed Embodiments

[0036] The following specific examples illustrate the embodiments of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments. Various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that, without conflict, the following embodiments and the features in the embodiments can be combined with each other.

[0037] The purpose of the present invention is to provide an activated sludge concentration monitoring, sludge discharge regulation device and method based on image analysis for the defects of the existing technology.

[0038] Embodiment 1

[0039] This embodiment provides an activated sludge concentration monitoring device based on image analysis, as follows Figure 1 - Figure 2 As shown, it includes a chassis, a sampling bucket 1, a sampling self-priming pump 2, a stirrer 3, a liquid level gauge 4, a circulation pump 5, a transparent reactor 6, a light homogenizing plate 7, a camera 8, a controller 9, a water replenishment electric ball valve 10, a drain electric ball valve 11, a touch screen 12, an overflow pipe 13, and a drain pipe 14 arranged inside the chassis.

[0040] The sampling bucket 1 is a hollow cylindrical structure made of transparent materials such as plexiglass, and is provided with a cover plate at the top. The sampling bucket 1 serves as a temporary storage container for sludge samples and at the same time provides a circulating flow channel for sludge samples, facilitating subsequent detection and cleaning operations.

[0041] The cover plate of the sampling bucket 1 is provided with openings adapted to the stirrer 3 and the liquid level gauge 4, so that the stirrer 3 and the liquid level gauge 4 are installed on the top and inside of the sampling bucket 1 through the corresponding openings. The stirrer 3 is driven by a motor to stir the sludge sample in the sampling bucket 1, making the sample evenly distributed, avoiding sludge precipitation, and ensuring the accuracy of the detection results; the liquid level gauge 4 is used to measure the liquid level height in the sampling bucket 1 in real time, providing a liquid level control basis for sampling and emptying operations, and ensuring the accuracy of the sampling volume and the thoroughness of the emptying operation.

[0042] The bottom of the sampling bucket 1 is provided with a drain port, which is connected to one end of the drain pipe 14 through the drain port, and a drain electric ball valve 11 is provided on the drain pipe 14; the drain pipe 14 is a pipe used to drain the sludge sample in the sampling bucket 1, ensuring that the sampling bucket 1 can be completely emptied after each detection and preparing for the next sampling; the drain electric ball valve 11 is an electric ball valve. When it is necessary to drain the sludge sample in the sampling bucket 1, by controlling the opening of the drain electric ball valve 11, the sludge sample is discharged from the sampling bucket 1 through the drain pipe 14.

[0043] An overflow port is provided on one side of the sampling bucket 1 near the top, and is connected to one end of the overflow pipe 13 through the overflow port; the overflow pipe 13 is a pipe. When the liquid level in the sampling bucket 1 exceeds the set range, the excess liquid is discharged through the overflow pipe 13 to prevent the sampling bucket 1 from overflowing and ensure the stability of the liquid level in the sampling bucket 1.

[0044] An inlet is provided on the other side of the sampling bucket 1 near the top, and is connected to one end of the water inlet pipe through the inlet. A water replenishment electric ball valve 10 is provided on the water inlet pipe, and the other end of the water inlet pipe can be connected to a tap water or a medium water pipe; the water replenishment electric ball valve 10 is an electric ball valve. When cleaning the sampling bucket 1, by opening the water replenishment electric ball valve 10, cleaning water is injected into the sampling bucket 1 to complete the cleaning operation; the water replenishment electric ball valve 10 is also used to dilute high-concentration sludge samples.

[0045] Another side of the sampling bucket 1 near the top is also provided with a sampling port, and the position of this sampling port can be lower than the position of the water inlet. One end of the sampling pipeline is connected through the sampling port, and a sampling self-priming pump 2 is provided on the sampling pipeline. The other end of the sampling pipeline can be connected to the sludge discharge outlet of the secondary sedimentation tank; the sampling self-priming pump 2 is used to extract sludge samples from the secondary sedimentation tank and transport them to the sampling bucket 1 through the sampling pipeline, providing samples for subsequent sludge concentration detection.

[0046] One side of the sampling bucket 1 near the bottom is provided with a sample inlet, and one side near the top is provided with a sample outlet. One end of the sample inlet pipeline is connected through the sample inlet, and a circulation pump 5 is provided on the sample inlet pipeline. The other end of the sample inlet pipeline is also connected to the bottom of the transparent reactor 6. The top of the transparent reactor 6 is connected to one end of the sample outlet pipeline, and the other end of the sample outlet pipeline is connected to the sample outlet, so that the sampling bucket 1, the circulation pump 5, the transparent reactor 6, the sample inlet pipeline, and the sample outlet pipeline form a sludge circulation loop, and then the sludge sample in the sampling bucket 1 is transported to the transparent reactor 6 through the circulation pump 5 and the sample inlet pipeline, and then the sludge sample in the transparent reactor 6 is transported to the sampling bucket 1 through the sample outlet pipeline, so that the sludge sample circulates between the transparent reactor 6 and the sampling bucket 1, and the sludge sample remains evenly distributed during the detection process.

[0047] The transparent reactor 6 is made of high borosilicate glass, with a nominal glass thickness of 0.5 - 5 mm, a thickness deviation of no more than 0.2 mm, and a thickness difference of no more than 0.2 mm, and a glass light transmittance ≥ 85%. It is internally provided with a sludge flow groove 61, a sludge inlet pipe 62 at the bottom, and a sludge outlet pipe 63 at the top. The sludge inlet pipe 62 is connected to the other end of the sample inlet pipeline, and the sludge outlet pipe 63 is connected to one end of the sample outlet pipeline.

[0048] A light homogenizing plate 7 is provided on one side of the transparent reactor 6, and a camera 8 is provided on the other side, and the light homogenizing plate 7 and the camera 8 are opposite in position.

[0049] The light homogenizing plate 7 is a uniformly luminous plate with a luminance of 1600 nit - 6000 nit and a uniformity ≥ 75%. The light homogenizing plate 7 provides a clear and uniform background for the camera 8 to take pictures, reduces the influence of uneven light on the image acquisition of the sludge sample in the transparent reactor 6, improves the image quality, and thus improves the accuracy of sludge concentration detection.

[0050] The camera 8 is of the CCD or CMOS type, with a lens focal length F = 1.2 - 4.5 mm, 30 - 40 million pixels, a color space including but not limited to YUYV, YV12, NV12, MJPEG, and a frame rate of 15 - 200 fps. The camera 8 takes pictures of the sludge flow groove in the transparent reactor 6 and collects the image information of the sludge sample, providing the original data for subsequent image recognition and data processing.

[0051] The controller 9 integrates a relay with the MODBUS communication protocol for controlling the operating states and data processing of various components. The controller 9 is electrically connected to components such as the sampling self-priming pump 2, mixer 3, liquid level gauge 4, make-up electric ball valve 10, emptying electric ball valve 11, circulation pump 5, light homogenizing plate 7, and camera 8 through electrical lines to form a complete control loop. The controller 9 controls the operating process of the entire activated sludge monitoring device, including processes such as sampling, detection, and emptying and cleaning. The controller 9 receives the image data collected by the camera 8 and analyzes the sludge concentration through image recognition and data processing software. At the same time, according to the sludge concentration value, it controls the opening degree of the sludge discharge sleeve valve in the secondary sedimentation tank to achieve the automatic regulation function.

[0052] The touch screen 12 is installed outside the chassis and is electrically connected to the controller 9. The touch screen 12 serves as a human-machine interaction interface, displaying the operating state and data processing results of the controller 9 for the operator to view and operate. The operator can set monitoring parameters, view the sludge concentration detection results, adjust the opening degree of the sleeve valve, etc. through the touch screen 12.

[0053] The activated sludge monitoring device of this embodiment has the following beneficial effects:

[0054] 1. Simple structure: The device consists of common components such as a sampling self-priming pump, sampling bucket, mixer, liquid level gauge, circulation pump, transparent reactor, light homogenizing plate, and camera. The overall design is concise and easy to assemble and maintain.

[0055] 2. Low cost: Compared with traditional sludge concentration detection methods (such as photoelectric method, ultrasonic method, microwave method, etc.), this device uses image analysis technology and does not require expensive sensors or complex instrument equipment, reducing the production cost.

[0056] 3. Convenient to use: The degree of automation of the operation process is high. From sampling, detection to cleaning, it is automatically completed by the controller. The operator only needs to set parameters through the touch screen, reducing manual intervention.

[0057] Embodiment 2

[0058] The activated sludge concentration monitoring method provided in this embodiment is implemented based on the activated sludge concentration monitoring device based on image analysis in Embodiment 1.

[0059] The activated sludge concentration monitoring method includes:

[0060] S11. The sampling bucket obtains the sludge sample discharged from the secondary sedimentation tank through the sampling self-priming pump, and obtains the numerical value of the height of the sludge sample in the sampling bucket through the liquid level gauge. When the preset value is reached, the sampling self-priming pump is closed, and at the same time, the mixer, light homogenizing plate, and camera are turned on, and the mixer stirs the sludge sample in the sampling bucket.

[0061] S12. The transparent reactor receives the sludge sample from the sampling bucket through the circulation pump. The camera acquires the image of the sludge sample in the transparent reactor and sends the acquired sludge sample image to the controller.

[0062] S13. The controller processes the sludge sample image, inputs the processed sludge sample image into the pre-constructed prediction model between sludge concentration and pixels, and the prediction model outputs the sludge concentration in the sludge sample image.

[0063] In step S11, the sampling bucket obtains the sludge sample discharged from the secondary sedimentation tank through the sampling self-priming pump, and obtains the numerical value of the height of the sludge sample in the sampling bucket through the liquid level gauge. When the preset value is reached, the sampling self-priming pump is closed, and at the same time, the mixer, the light homogenizing plate, and the camera are turned on, and the mixer stirs the sludge sample in the sampling bucket.

[0064] The activated sludge concentration monitoring device is installed at the sludge discharge outlet of the secondary sedimentation tank. In the initial state, there is no residual sludge in the sampling bucket 1 of the activated sludge concentration monitoring device, and the emptying electric ball valve 11, the water replenishing electric ball valve 10, the mixer 3, the sampling self-priming pump 2, the circulation pump 5, the light homogenizing plate 7, the camera 8, etc. are in the closed state.

[0065] When monitoring the sludge concentration in the secondary sedimentation tank, the sampling self-priming pump 2 is turned on, and the sludge sample is pumped from the secondary sedimentation tank to the sampling bucket 1. The liquid level gauge 4 real-time displays the numerical value of the liquid level. When the liquid level of the sludge sample in the sampling bucket 1 detected by the liquid level gauge 4 reaches the set value (i.e., the preset value), the controller 9 controls the sampling self-priming pump 2 to close, and the sampling is completed. The sampling duration is recorded as t.

[0066] After a delay of a period of time t0, the light homogenizing plate 7, the camera 8, and the mixer 3 are turned on to prepare for image acquisition. At this time, the mixer 3 stirs the sludge sample in the sampling bucket 1 to ensure uniform distribution of the sample.

[0067] In step S12, the transparent reactor receives the sludge sample from the sampling bucket through the circulation pump. The camera acquires the image of the sludge sample in the transparent reactor and sends the acquired sludge sample image to the controller.

[0068] After a delay of a period of time t1, the circulation pump 5 is turned on. The circulation pump 5 transports the sludge sample in the sampling bucket 1 to the transparent reactor 6 and circulates between the transparent reactor 6 and the sampling bucket 1.

[0069] After a delay of a period of time t2, the camera 8 takes a picture of the sludge sample in the transparent reactor 6 and transmits the sludge sample image data to the controller 9.

[0070] In step S13, the controller processes the sludge sample image, inputs the processed sludge sample image into a pre-constructed prediction model between sludge concentration and pixels, and the prediction model outputs the sludge concentration in the sludge sample image.

[0071] After a delay of a period of time t3, the image recognition and data processing software in the controller 9 processes the collected image, and also stores the image data obtained from the data in the storage medium of the controller, and performs data processing according to the built-in calibration curve. The specific processing method is as follows:

[0072] Construct a prediction model: Image recognition and data processing use Python software. Collect a series of standard sample images with known sludge sample concentrations. For example, rotate the image of a certain standard sample (sludge concentration 2000mg / L) by an angle, remove the redundant parts, and randomly crop it. Randomly crop 10 pictures with a resolution of 224×224, and calculate the average pixel value of the 10 pictures as the picture pixels of the standard sample. Similarly, collect the picture pixels of other standard samples, and then establish a model between sludge concentration and pixels to obtain a prediction model and generate a py file; Use the prediction model to test a standard sample with a known sludge concentration, and repeat the test 3 times for the sludge concentration value of the sample. When the error percentage is within ±10%, the prediction model is verified to be effective, otherwise, the prediction model needs to be re-established.

[0073] Process sludge samples with unknown concentrations: Collect images of sludge samples with unknown concentrations, and perform angle rotation, remove redundant parts, and randomly crop the images to obtain 10 pictures with a resolution of 224×224. Input the 10 pictures with a resolution of 224×224 into the prediction model for prediction. The prediction model outputs the sludge concentration of the picture, and repeat the test 3 times to calculate the average value, that is, the sludge concentration value of the current sludge sample image.

[0074] In this embodiment, the sludge concentration value of the obtained current sludge sample image is also displayed on the touch screen 12.

[0075] In this embodiment, after step S13, it further includes:

[0076] S14. Determine whether the coefficient of variation of the sludge concentration output by the repeated detection exceeds a preset threshold, or determine whether the output sludge concentration exceeds the detection range. If so, automatically adjust the dilution ratio of the sludge sample in the sampling bucket and re-execute steps S11-S13.

[0077] This embodiment also needs to confirm whether the sludge sample to be detected needs to be re-detected. Specifically:

[0078] If the coefficient of variation (i.e., the standard deviation divided by the mean) of the test results after repeating the test three times reaches more than 30%, or the data processing result shows that it exceeds the detection range (the maximum known sludge concentration used when constructing the prediction model), the controller 9 automatically adjusts the dilution ratio according to the real-time detection results and re-detects the sludge sample until the concentration is within a reasonable range.

[0079] The dilution method is as follows: Open the make-up water electric ball valve 10 to introduce tap water or reclaimed water into the sampling bucket 1. When the liquid level gauge 4 shows that the liquid level reaches the set dilution liquid level, close the make-up water electric ball valve 10, and at the same time stir the sludge sample through the stirrer 3 to fully mix the sludge sample with water to achieve the purpose of dilution. The dilution ratio can be adjusted by controlling the make-up water level.

[0080] In this embodiment, after step S14, it further includes:

[0081] S15. Display the output sludge concentration on the touch screen.

[0082] Display the sludge concentration output in step S13 and the final result on the touch screen 12.

[0083] After the detection is completed, the controller 9 controls to open the emptying electric ball valve 11 after a delay of t4, and the emptying duration is t5; when the value measured by the liquid level gauge 4 shows that the emptying is completed on the touch screen 12, the controller 9 controls to close the emptying electric ball valve 11 and open the make-up water electric ball valve 10, keep the stirrer 3 in the open state, and perform the emptying process after a delay of t6. Repeat the cleaning n times, and the number of cleaning times is set according to the actual situation to ensure that there is no residual sludge in the sampling bucket 1 and the transparent reactor 6.

[0084] According to the preset monitoring period T, including the monitoring duration and the idle duration, repeat the above steps to achieve periodic monitoring; where the monitoring duration is t + t0 + t1 + t2 + t3 + t4 + t5 + n * (t5 + t6).

[0085] The active sludge concentration monitoring method based on image analysis in this embodiment has the following beneficial effects:

[0086] 1. Fast detection speed and high efficiency:

[0087] High degree of automation: The entire detection process (including sampling, image acquisition, data analysis, etc.) can be completed within 5 minutes, which is suitable for high-frequency detection requirements.

[0088] The monitoring period can be set: Users can set the monitoring period according to actual needs to achieve timed automatic detection and improve the detection efficiency.

[0089] 2. Accurate detection results and little affected by the environment:

[0090] Image analysis technology: Image analysis technology is used to monitor the sludge concentration. By establishing a model between the sludge concentration and pixels, the detection result is less affected by environmental factors such as water temperature, improving the accuracy of detection.

[0091] Taking the average value by multiple samplings: The stability and reliability of the detection result can be further improved by setting multiple samplings for detection and taking the average value.

[0092] Dilution detection function: For high-concentration sludge samples, they can be detected after dilution, expanding the detection range and being applicable to different concentration scenarios.

[0093] 3. Facilitate calibration and maintenance:

[0094] Convenient calibration: Regularly calibrate the device with sludge samples of known concentration to ensure the accuracy of the detection result.

[0095] Cleaning function: The device has an automatic cleaning function. After each detection, it automatically cleans the sampling bucket and the transparent reactor, reducing the influence of sludge residue on subsequent detections and extending the service life of the equipment.

[0096] Embodiment III

[0097] This embodiment provides a sludge discharge regulation method for an activated sludge concentration monitoring device based on image analysis, including:

[0098] S21. Obtain the sludge concentration value obtained by the on-line activated sludge concentration monitoring device installed at the sludge discharge outlet of the secondary sedimentation tank at a preset time interval, and simultaneously obtain the opening data of the sludge discharge sleeve valve of the secondary sedimentation tank;

[0099] S22. Judge whether the obtained sludge concentration value is within the normal range. If so, judge the current obtained sludge concentration value and the sludge concentration value at the previous time point. If the current obtained sludge concentration value increases, do not process it; if the current obtained sludge concentration value decreases, reduce the opening of the sleeve valve.

[0100] In step S21, obtain the sludge concentration value obtained by the on-line activated sludge concentration monitoring device installed at the sludge discharge outlet of the secondary sedimentation tank at a preset time interval, and simultaneously obtain the opening data of the sludge discharge sleeve valve of the secondary sedimentation tank.

[0101] Install the on-line activated sludge concentration monitoring device at the sludge discharge outlet of the secondary sedimentation tank to ensure that the sludge concentration data at the sludge discharge port can be obtained in real time. Set the normal range (upper and lower limits) of the sludge concentration in the controller, and set the initial opening of the sleeve valve according to the actual working conditions.

[0102] Initialize the controller and the touch screen to ensure the normal operation of the system. Automatically start the on-line monitoring device for the activated sludge concentration according to the preset monitoring period T, and conduct sludge concentration detection. The monitoring process includes steps such as sampling, image acquisition, and data processing. Finally, obtain the sludge concentration value of the current sludge discharge port, and display the monitoring results in real time through the touch screen and transmit them to the controller.

[0103] Meanwhile, the controller also obtains the opening degree data of the sludge discharge sleeve valve of the secondary sedimentation tank.

[0104] In step S12, determine whether the obtained sludge concentration value is within the normal range. If so, then compare the currently obtained sludge concentration value with the sludge concentration value at the previous time point. If the currently obtained sludge concentration value increases, no treatment is required; if the currently obtained sludge concentration value decreases, then reduce the opening degree of the sleeve valve.

[0105] The controller receives the sludge concentration data transmitted by the monitoring device and compares it with the preset upper and lower limit values.

[0106] If the current sludge concentration value is within the normal range, then determine whether there is a change in the current concentration value compared with the concentration value at the previous time point. If the current concentration value decreases, it indicates that the sludge discharge volume may be too large and the opening degree of the sleeve valve needs to be reduced; if the current concentration remains unchanged or slightly increases, it indicates that the sludge discharge volume is appropriate and the opening degree of the sleeve valve is not adjusted temporarily.

[0107] If the current sludge concentration exceeds the normal range, if the current concentration value is higher than the upper limit value, it indicates that the sludge discharge volume is insufficient, the opening degree of the sleeve valve needs to be increased, and an alarm signal is issued; if the current concentration value is lower than the lower limit value, it indicates that the sludge discharge volume is too large, the opening degree of the sleeve valve needs to be reduced, and an alarm signal is issued.

[0108] In this embodiment, according to the judgment result of the sludge concentration, the controller sends a regulation instruction to the sleeve valve through the communication module.

[0109] After adjusting the opening degree of the sleeve valve, the system continues to monitor the sludge concentration according to the preset monitoring period T. Each monitoring result will be rejudged and the opening degree of the sleeve valve will be adjusted to ensure that the sludge discharge concentration of the secondary sedimentation tank always remains within the set normal range.

[0110] In this embodiment, the sludge discharge regulation method of the activated sludge concentration monitoring device based on image analysis further includes a central processing unit and a memory. The central processing unit is respectively connected to the controller and the memory. The memory records the sludge concentration data and the corresponding sleeve valve opening degree data at different time periods every day. The central processing unit establishes an association model between the sludge concentration and the sleeve valve opening degree through data analysis, predicts the change of the sludge concentration in the future time period according to the model, and adjusts the opening degree of the sleeve valve in advance to achieve refined control.

[0111] In this embodiment, the detection results of the sludge concentration data at different time periods of each day are correlated with the opening data of the sleeve valve, and the change of the sludge concentration every day is predicted. The opening of the sleeve valve is adjusted in advance to keep the sludge discharge concentration in the secondary sedimentation tank stable. The operation status of the secondary sedimentation tank and the sewage biological treatment situation are analyzed based on the sludge concentration monitoring results, and abnormal situations can be detected in time. For example, when the opening of the sleeve valve in the secondary sedimentation tank has been adjusted to the lowest level and the sludge discharge concentration still has not increased, it is necessary to detect the sludge concentration in the biological tank to confirm whether the sludge discharge port of the sludge scraper in the secondary sedimentation tank is blocked.

[0112] The beneficial effects of the sludge discharge regulation method of the activated sludge concentration monitoring device based on image analysis are as follows:

[0113] 1. Achieve refined control of sludge discharge in the secondary sedimentation tank:

[0114] Automatically regulate the opening of the sleeve valve: Automatically regulate the opening of the sludge discharge sleeve valve in the secondary sedimentation tank according to the sludge concentration value, so that the sludge discharge concentration is maintained within the normal range, reducing the manual adjustment workload and improving the refinement degree of sludge discharge control.

[0115] Reduce the risk of sleeve valve blockage: By real-time monitoring the sludge concentration and timely adjusting the opening of the sleeve valve, the problem of sleeve valve blockage caused by too high sludge discharge concentration is avoided.

[0116] 2. Data analysis and early warning functions:

[0117] Real-time early warning: Set the upper and lower limits of the sludge concentration value. When the detection result exceeds the normal range, the system automatically sends out an alarm signal to remind the operator to deal with it in time.

[0118] Analysis of operation status: By collecting the sludge concentration data and combining with the opening data of the sleeve valve, the operation status of the secondary sedimentation tank and the sewage biological treatment situation can be analyzed, and abnormalities (such as sleeve valve blockage, abnormal sludge concentration in the biological tank, etc.) can be detected in time.

[0119] Note that the above is only the preferred embodiment of the present invention and the applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described here. Various obvious changes, re-adjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments only. Without departing from the concept of the present invention, more other equivalent embodiments can be included, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. An activated sludge concentration monitoring device based on image analysis, comprising a chassis, characterized in that, A sampling bucket, a sampling self-priming pump, a stirrer, a liquid level gauge, a circulation pump, a transparent reactor, a light homogenizing plate, a camera, and a controller disposed inside the chassis; The sampling bucket is connected to the liquid outlet of the sampling self-priming pump through a pipeline, and is used to receive and store the sludge sample discharged from the secondary sedimentation tank; The sampling bucket is connected to the circulation pump through a pipeline, and the circulation pump is connected to the transparent reactor through a pipeline, so that the transparent reactor receives the sludge sample from the sampling bucket through the circulation pump; the transparent reactor is also connected to the sampling bucket through a pipeline, and is used to discharge the sludge sample in the transparent reactor to the sampling bucket to form a sludge circulation loop; The camera and the light homogenizing plate are respectively disposed on both sides of the transparent reactor. The camera is used to capture images of the sludge flow tank in the transparent reactor, and the light homogenizing plate is used to provide a uniform light source for the transparent reactor; An opening adapted to the stirrer and the liquid level gauge is provided at the top of the sampling bucket, so that one end of the stirrer and the liquid level gauge is disposed inside the sampling bucket; The controller is electrically connected to the sampling self-priming pump, the stirrer, the liquid level gauge, the circulation pump, the light homogenizing plate, and the camera respectively, and is used to control the operating states of the sampling self-priming pump, the stirrer, the circulation pump, and the light homogenizing plate, and receive the data of the liquid level gauge and the camera, and obtain the sludge sample concentration value according to the data analyzed from the camera images.

2. The activated sludge concentration monitoring device based on image analysis according to claim 1, wherein The position of the sampling bucket near the top is connected to external water through a makeup water electric ball valve, and the sampling bucket is provided with an overflow port and a drain port. The drain port is connected with a drain electric ball valve through a drain pipeline.

3. The activated sludge concentration monitoring device based on image analysis according to claim 2, characterized in that, A touch screen is also installed outside the chassis, and the touch screen is electrically connected to the controller.

4. The activated sludge concentration monitoring device based on image analysis according to claim 2, characterized in that, The material of the sampling bucket is a transparent material, and the material of the transparent reactor is a high borosilicate glass material.

5. The monitoring method of the activated sludge concentration monitoring device based on image analysis according to any one of claims 1-4, characterized in that, Including: S11. The sampling bucket obtains the sludge sample discharged from the secondary sedimentation tank through the sampling self-priming pump, and obtains the value of the sludge sample in the sampling bucket through the liquid level gauge. When the preset value is reached, the sampling self-priming pump is turned off, and at the same time, the stirrer, the light homogenizing plate, and the camera are turned on, and the stirrer is used to stir the sludge sample in the sampling bucket; S12. The transparent reactor receives the sludge sample from the sampling bucket through the circulation pump, and the camera obtains the image of the sludge sample in the transparent reactor and sends the obtained sludge sample image to the controller; S13. The controller processes the sludge sample image, inputs the processed sludge sample image into a pre-constructed prediction model between sludge concentration and pixels, and the prediction model outputs the sludge concentration in the sludge sample image.

6. The method for monitoring the activated sludge concentration based on image analysis according to claim 5, characterized in that, After the step S13, it further includes: S14. Judge whether the coefficient of variation of the sludge concentration output by the repeated detection exceeds the preset threshold, or judge whether the output sludge concentration exceeds the detection range. If so, automatically adjust the dilution ratio of the sludge sample in the sampling bucket, and re-execute steps S11-S13.

7. The method for monitoring the activated sludge concentration based on image analysis according to claim 5, wherein The specific processing of the sludge sample image in the step S13 is: performing angle rotation, removing redundant parts, and random cropping on the sludge sample image.

8. The method for monitoring the concentration of activated sludge based on image analysis according to claim 5, wherein After the step S14, it further includes: S15. Display the output sludge concentration on the touch screen.

9. The sludge discharge regulation method of the activated sludge concentration monitoring device based on image analysis according to any one of claims 1-4, characterized in that Including: S21. Obtain the sludge concentration value obtained by the on-line monitoring device of the activated sludge concentration installed at the sludge discharge outlet of the secondary sedimentation tank at a preset time interval, and simultaneously obtain the opening data of the sludge discharge sleeve valve of the secondary sedimentation tank; S22. Judge whether the obtained sludge concentration value is within the normal range. If so, judge the currently obtained sludge concentration value and the sludge concentration value at the previous time point. If the currently obtained sludge concentration value increases, no treatment is performed; if the currently obtained sludge concentration value decreases, the opening of the sleeve valve is reduced.

10. The sludge discharge regulation method of the activated sludge concentration monitoring device based on image analysis according to claim 9, characterized in that, In step S22, it is judged whether the obtained sludge concentration value is within the normal range. If the sludge concentration value is higher than the normal range, the opening of the sleeve valve is increased and an alarm signal is sent; if the sludge concentration value is lower than the normal range, the opening of the sleeve valve is reduced and an alarm signal is sent.

Citation Information

Patent Citations

  • Sludge concentration detection system and method

    CN115639125A

  • High-precision microwave sludge concentration measuring device based on temperature compensation

    CN212780575U