A waterproof detection system

By introducing air pressure adjustment module and bubble detection module into the waterproof detection system, and using image processing technology to identify and count bubbles, the problems of water pressure adjustment and detection results accuracy in the existing system are solved, and the waterproof performance of the sample being tested is achieved. Efficient and accurate assessment.

CN118533383BActive Publication Date: 2025-01-07GUANGDONG LECROY NEW ENERGY CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410688379.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2025-01-07
Estimated Expiration
2044-05-30

AI Technical Summary

Technical Problem

The existing waterproof detection system cannot flexibly adjust the water pressure conditions, resulting in inaccurate detection results and poor visualization performance, and the waterproof performance of the sample being tested cannot be comprehensively evaluated.

Method used

The air pressure in the sealed container is controlled through the air pressure adjustment module, simulates the water pressure environment at different water depths, and uses the bubble detection module to identify and count bubbles through image processing technology to determine the waterproof performance of the sample being tested.

Benefits of technology

The accuracy and reliability of the waterproof performance detection of the sample being tested is achieved, and intuitive detection results are provided, which can more comprehensively evaluate the waterproof performance and reduce human interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118533383B_ABST
    Figure CN118533383B_ABST
Patent Text Reader

Abstract

The present invention provides a waterproof detection system, which includes: an air pressure regulating module, a bubble detection module and a bubble judgment module. The present invention identifies and counts bubbles generated in a sealed container, and extracts and analyzes the characteristics of the bubbles through image processing technology; when the number or size of the bubbles exceeds a preset threshold, it is determined that bubbles are detected, indicating that the sample under test does not meet the waterproof requirements. The present invention can accurately control the air pressure in the sealed container to simulate the water pressure environment at different water depths; through the adjustment of the air pressure, the conversion of water depth and water pressure values ​​is achieved, providing reliable test conditions for waterproof detection; the air pressure regulating module ensures the controllability and stability of the test environment, improves the accuracy and reliability of the detection; enables the waterproof detection system to simulate a variety of actual use scenarios, thereby more comprehensively evaluating the waterproof performance of the sample under test. The present invention realizes the automated, efficient and accurate detection of the waterproof performance of the sample under test.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of air tightness measurement, and in particular to a waterproof detection system. Background Art

[0002] In the field of new energy, the samples to be tested can be various devices or components that are in contact or may be in contact with the liquid environment. These devices or components need to ensure their waterproof performance during manufacturing and use to ensure their normal operation and prevent damage or performance degradation caused by liquid intrusion. Samples that may be tested in the field of new energy include new energy vehicle components, solar energy equipment, wind energy equipment, energy storage systems and underwater equipment. Through waterproof and airtightness testing, water pressure conditions at different water depths can be simulated to test the waterproof performance of the tested samples. If the tested sample does not produce bubbles during the test, it means that its waterproof performance is good; if bubbles are produced, it means that there is a waterproof problem and further improvement or repair is required. This test method can help manufacturers ensure product quality and improve product reliability and durability. However, the existing test method is complicated to operate, and the numerical error of the simulated water pressure is large, which cannot effectively reflect the relationship between the current water pressure and airtightness, resulting in inaccurate results of waterproof testing.

[0003] Prior art 1, application number: CN 202210990110.1 discloses a battery detection device for new energy vehicles, including a water storage tank, the upper end of the water storage tank is fixedly connected to two symmetrically arranged support plates, the outer side of one of the support plates is fixedly connected to a motor, the output shaft of the motor passes through the support plate, and is fixedly connected to a rotating rod rotatably connected to the support plate, and the outer arc surface of the rotating rod is fixedly connected to multiple groups of auxiliary plates. This new type of battery detection device for new energy vehicles is configured to be fixedly connected to the rotating rod by setting the auxiliary plate and the rotating rod, the connecting rod and the auxiliary plate are rotatably connected, the connecting member and the connecting rod are rotatably connected, the placement box is fixedly connected to the connecting rod, and the output shaft of the motor is fixedly connected to the rotating rod, so that the battery is placed in the placement box, and the battery enters the water storage tank driven by the motor for waterproof detection, and is taken out after the detection is completed. Although it is convenient to operate and has high operating efficiency, it is suitable for use in assembly line operations. However, it cannot achieve the adjustment of different water pressures, and the waterproof detection results are not intuitive, resulting in poor operability of the equipment.

[0004] Prior art 2, application number: CN202310566846.0 discloses a waterproof energy storage power supply and a waterproof detection method, including a power supply body, a microprocessing unit, a detection circuit module located inside a waterproof shell, a water inlet detection board located on the side wall of the waterproof shell, and an output port for accessing a load; the water inlet detection board is vertically installed on the side wall of the waterproof shell; the signal line of the water inlet detection board is introduced into the waterproof shell and connected to the detection circuit module; the microprocessing unit is used to collect voltage signals and judge the water inlet state of the water inlet detection board according to the voltage signal. Although the detection circuit module converts the resistance change signal of the water inlet detection board into a voltage signal, so that the microprocessing unit judges the water inlet state according to the voltage signal, thereby controlling the power supply of the output port to the load and controlling the power output of the internal battery pack according to the water inlet state, the power output can be controlled in time after the energy storage power supply is flooded, preventing the output port from continuing to supply power when water is flooded, thereby improving the safety of the energy storage power supply and extending the service life. However, the waterproof performance of multiple tested samples is not detected, and the waterproof performance of the product cannot be guaranteed when it leaves the factory. The use of a water inlet detection board undoubtedly increases the production cost.

[0005] Prior art three, application number: CN 202310841409.5 discloses a photovoltaic power generation energy storage equipment safety monitoring device, including a workbench and a waterproof detection unit; the waterproof detection unit includes an outer cover, an electric telescopic rod, an inner cover and an inner capsule assembly located in the inner cover; the electric telescopic rod is fixed on the inner wall of the top of the outer cover, and the end of the electric telescopic rod away from the outer cover is fixedly connected to the inner cover; the inner capsule assembly includes a wrapping bag, a paraffin bag, a tie rope and a rotating column; the end of the tie rope close to the workbench is fixed on the inner wall of the paraffin bag, the tie rope passes through the limit rope along the inner wall of the paraffin bag, and the other end passes through the center position of the upper end of the inner cover and is fixed on the rotating column; although it achieves the technical effect that if the battery cell is damaged before the energy storage battery is waterproof tested and lithium is precipitated, or the battery packaging shell is severely damaged during the seismic test, the precipitated lithium will react with water or short-circuit when encountering water during the waterproof test, and effective isolation and protection can be performed in this process. However, its waterproof structure is complicated, and the result of waterproof test cannot be intuitive.

[0006] At present, the existing technologies 1, 2 and 3 have the problem that the water pressure conditions cannot be flexibly adjusted and the visualization performance of the waterproof detection results is poor. Therefore, the present invention provides a waterproof detection system, which controls the air pressure of the horizontal plane to realize the conversion and calculation of the water pressure values ​​of different water depths, simulates the water pressure of the tested sample to be equivalent to the water pressure of different water depths to achieve a simple and intuitive detection purpose, and at the same time detects bubbles to determine whether the tested sample meets the corresponding waterproof requirements. Summary of the invention

[0007] In order to solve the above technical problems, the present invention provides a waterproof detection system, comprising:

[0008] The air pressure regulating module is responsible for controlling the air pressure on the horizontal surface of the sealed container containing the sample to be tested, so as to realize the conversion of water pressure values ​​at different water depths;

[0009] The bubble detection module is responsible for identifying and counting the bubbles generated in the sealed container, and extracting and analyzing the characteristics of the bubbles through image processing technology;

[0010] The bubble judgment module is responsible for judging that bubbles are detected when the number or size of bubbles exceeds a preset threshold, indicating that the tested sample does not meet the waterproof requirements.

[0011] Optional, bubble detection module, including:

[0012] The feature extraction submodule is responsible for obtaining the real-time image of the water in the sealed container, performing image enhancement preprocessing on the real-time image, and extracting the bubble target features from the preprocessed real-time image using a machine learning algorithm;

[0013] The image segmentation submodule is responsible for marking bubbles in the real-time image and obtaining images of bubbles of different sizes;

[0014] The counting processing submodule is responsible for classifying the image according to the preset bubble size division program, locating bubbles of the same size standard, generating identification boxes, calibrating bubble clusters of different sizes in the image, obtaining the total number of different bubbles, and generating bubble counting results.

[0015] Optional feature extraction submodule, including:

[0016] The image preprocessing unit is responsible for graying, filtering and binarization preprocessing of the real-time image of water in the sealed container to enhance the visibility of the bubble target in the image;

[0017] The bubble processing unit is responsible for extracting the contour, shape and size characteristics of the bubble target by using morphological operations, and extracting the characteristics of the bubble target by detecting the edge and calculating the area of ​​the region;

[0018] The feature description unit is responsible for describing the extracted bubble target features using feature vectors, classifying different bubble targets using support vector machines, and further identifying and distinguishing bubbles.

[0019] Optional, bubble handling unit, comprising:

[0020] The edge detection subunit is responsible for detecting the edges of the bubble targets in the image, and based on the detected edges, the image is segmented to separate the bubble target area from the background to form different areas.

[0021] The area calculation subunit is responsible for calculating the area of ​​each segmented area and obtaining the size information of the bubble target by calculating the area of ​​the area;

[0022] The information acquisition subunit is responsible for extracting the contour shape and size features describing the bubble target based on the calculated edge information and area information of the bubble target.

[0023] Optional, counting processing submodule, including:

[0024] The information statistics unit is responsible for classifying the bubbles in the image according to the preset bubble size classification program and counting the number of bubbles of different sizes; based on the classification statistical information, the total number of bubbles is generated, that is, the cumulative number of bubbles in all classifications;

[0025] The position identification unit is responsible for generating identification frames or calibration information for bubbles of the same size standard, which is used to identify the clustering positions of different bubbles in the image;

[0026] The analysis report unit is responsible for generating analysis reports, including statistical charts of the number of bubbles, heat maps of bubble locations, and distribution maps of bubble sizes.

[0027] Optional, information statistics unit, including:

[0028] The size calculation subunit is responsible for calculating the minimum circumscribed circle of the bubble contour based on the detected bubble contour, and calculating the center coordinates and radius of the minimum circumscribed circle through the cv2.minEnclosingCircle() function; for each detected bubble contour, the radius is used as the radial size;

[0029] The bubble classification subunit is responsible for classifying the radial size of bubbles into different size categories according to a preset size threshold;

[0030] The quantity counting subunit is responsible for recording the number of bubbles in each size category according to the size threshold and generating the total number of bubbles in each size category, that is, obtaining the cumulative number of bubbles in all categories.

[0031] Optionally, in the bubble classification subunit, bubbles smaller than a threshold are classified as small bubbles, and bubbles larger than the threshold are classified as large bubbles.

[0032] Optional, size calculation subunit, including:

[0033] The contour list component is responsible for finding the coordinate point set of the contour using the cv2.findContours() function. The cv2.findContours() function accepts a binary image as input and returns a list of all contours in the image;

[0034] The function call component is responsible for calling the cv2.minEnclosingCircle() function to calculate the minimum circumscribed circle for each detected bubble contour, traversing the contours list, and for each contour, calling the cv2.minEnclosingCircle() function to calculate the minimum circumscribed circle; the cv2.minEnclosingCircle() function accepts the point set of the contour as input and returns the center coordinates and radius of the minimum circumscribed circle;

[0035] The calculation execution component is responsible for finding a minimum circle that surrounds all points according to the input contour point set, that is, the minimum circumscribed circle. The center coordinates and radius of the minimum circumscribed circle are calculated and used as the return value of the function to obtain the center coordinates of the minimum circumscribed circle (center x ,center y ) and radius radius.

[0036] Optionally, each contour in the contour list component is an array containing the coordinates of the contour points, and the contours are stored in the contours variable.

[0037] Optional, bubble judgment module, including:

[0038] The information receiving submodule is responsible for receiving the cumulative number of bubbles in all categories, and stops receiving the number of bubbles after reaching the specified waterproof detection time;

[0039] The information judgment submodule is responsible for determining that bubbles are detected when the number or size of a certain type of bubbles exceeds the corresponding preset threshold;

[0040] The result indication submodule is responsible for outputting a corresponding indication signal when it is determined that bubbles are detected, indicating that the tested sample does not meet the waterproof requirement.

[0041] The air pressure regulating module of the present invention can accurately control the air pressure in the sealed container and simulate the water pressure environment under different water depths; through the adjustment of air pressure, the conversion of water depth and water pressure value is realized, providing reliable test conditions for waterproof detection; the air pressure regulating module ensures the controllability and stability of the test environment, improves the accuracy and reliability of detection; enables the waterproof detection system to simulate a variety of actual use scenarios, so as to more comprehensively evaluate the waterproof performance of the tested sample. The bubble detection module captures the bubble generation in the sealed container in real time, uses image processing technology to identify and count the bubbles, and extracts the characteristics of the bubbles (such as size, shape and quantity, etc.) for analysis; realizes the automatic identification and counting of bubbles, and improves the detection efficiency; the application of image processing technology makes bubble detection more accurate and reliable, and reduces the interference of human factors. The bubble judgment module provides a clear judgment standard for waterproof detection, making the detection result more objective and quantifiable; by setting a reasonable threshold, it can ensure that the waterproof detection system accurately distinguishes samples with different waterproof performance, and improves the accuracy and reliability of detection.

[0042] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.

[0043] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0045] Figure 1 This is a block diagram of a waterproof detection system in Embodiment 1 of the present invention;

[0046] Figure 2 This is a block diagram of the air pressure regulating module in Example 2 of the present invention;

[0047] Figure 3 This is a block diagram of a numerical calculation submodule in Embodiment 3 of the present invention;

[0048] Figure 4 This is a block diagram of a bubble detection module in Embodiment 4 of the present invention;

[0049] Figure 5 This is a block diagram of a feature extraction submodule in Embodiment 5 of the present invention;

[0050] Figure 6 This is a block diagram of a bubble processing unit in Embodiment 6 of the present invention;

[0051] Figure 7 This is a block diagram of the counting processing submodule in Example 7 of the present invention;

[0052] Figure 8 This is a block diagram of an information statistics unit in Embodiment 8 of the present invention;

[0053] Fig. 9 This is a block diagram of a size calculation subunit in Embodiment 9 of the present invention;

[0054] Fig.10 This is a block diagram of a bubble determination module in Embodiment 10 of the present invention;

[0055] Fig.11 This is a schematic diagram of the waterproof detection system in Example 11 of the present invention. DETAILED DESCRIPTION

[0056] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0057] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the embodiments of the present application. The singular forms of "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0058] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims. In the description of the present application, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar objects, and do not have to be used to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to the specific circumstances.

[0059] Example 1: Figure 1 As shown, an embodiment of the present invention provides a waterproof detection system, comprising:

[0060] The air pressure regulating module is responsible for controlling the air pressure on the horizontal surface of the sealed container containing the sample to be tested, so as to realize the conversion of water pressure values ​​at different water depths;

[0061] The bubble detection module is responsible for identifying and counting the bubbles generated in the sealed container, and extracting and analyzing the characteristics of the bubbles through image processing technology;

[0062] The bubble judgment module is responsible for judging that bubbles are detected when the number or size of bubbles exceeds a preset threshold, indicating that the tested sample does not meet the waterproof requirements.

[0063] The working principle and beneficial effects of the above technical solution are as follows: the air pressure regulating module of this embodiment controls the air pressure of the horizontal surface in the sealed container containing the sample to be tested, and realizes the conversion of water pressure values ​​at different water depths; the bubble detection module identifies and counts the bubbles generated in the sealed container, and extracts and analyzes the characteristics of the bubbles through image processing technology; the bubble judgment module determines that bubbles are detected when the number or size of bubbles exceeds a preset threshold, indicating that the sample to be tested does not meet the waterproof requirements. The air pressure regulating module of the above scheme can accurately control the air pressure in the sealed container and simulate the water pressure environment at different water depths; through the adjustment of air pressure, the conversion of water depth and water pressure values ​​is realized, providing reliable test conditions for waterproof detection; the air pressure regulating module ensures the controllability and stability of the test environment, improves the accuracy and reliability of the detection; enables the waterproof detection system to simulate a variety of actual use scenarios, thereby more comprehensively evaluating the waterproof performance of the sample to be tested. The bubble detection module captures the bubble generation in the sealed container in real time, uses image processing technology to identify and count the bubbles, and extracts the characteristics of the bubbles (such as size, shape and quantity, etc.) for analysis; it realizes the automatic identification and counting of bubbles, and improves the detection efficiency; the application of image processing technology makes bubble detection more accurate and reliable, and reduces the interference of human factors. The bubble judgment module provides a clear judgment standard for waterproof detection, making the test results more objective and quantifiable; by setting a reasonable threshold, it can ensure that the waterproof detection system can accurately distinguish samples with different waterproof properties, improving the accuracy and reliability of detection.

[0064] In summary, the various modules in the waterproof detection system of this embodiment cooperate with each other to jointly realize the automated, efficient and accurate detection of the waterproof performance of the sample under test.

[0065] Example 2: Figure 2 As shown, based on Example 1, the air pressure regulating module provided by the embodiment of the present invention includes:

[0066] The numerical calculation submodule is responsible for obtaining the target water depth of the tested sample for air tightness testing, calculating the water pressure value of the target water depth according to the target water depth, and obtaining the air pressure value that needs to be loaded on the horizontal surface according to the water pressure value;

[0067] The command control submodule is responsible for receiving control commands, which include air pressure value and its loading time, and determining the output air pressure value and air pressure adjustment mode according to the control commands;

[0068] The threshold comparison submodule is responsible for issuing another control instruction to obtain the real-time air pressure value of the horizontal surface in the sealed container, and determine whether to continue pressurizing based on the difference between the real-time air pressure value and the air pressure value to be loaded; when the difference is within the preset range, stop pressurizing; if it exceeds the preset range, continue pressurizing.

[0069] The working principle and beneficial effects of the above technical scheme are as follows: the numerical calculation submodule of this embodiment obtains the target water depth for testing the air tightness of the sample under test, calculates the water pressure value of the target water depth according to the target water depth, and obtains the air pressure value that needs to be loaded on the horizontal surface according to the water pressure value; the instruction control submodule receives the control instruction, which includes the air pressure value and its loading time, and determines the output air pressure value and the air pressure adjustment mode according to the control instruction; the threshold comparison submodule issues another control instruction to obtain the real-time air pressure value of the horizontal surface in the sealed container, and determines whether to continue pressurizing according to the difference between the real-time air pressure value and the air pressure value that needs to be loaded; when the difference is within the preset range, stop pressurizing; if it exceeds the preset range, continue pressurizing. The numerical calculation submodule of the above scheme can calculate the corresponding water pressure value according to the target water depth of the air tightness test of the sample under test, and determine the air pressure value to be loaded into the horizontal plane of the sealed container according to the calculated water pressure value; through the numerical calculation submodule, it can be ensured that the waterproof detection system can accurately calculate the required air pressure value according to different test requirements, and the accurate calculation provides reliable data support for the subsequent air pressure adjustment, which helps to improve the accuracy and reliability of the detection. The command control submodule determines the output air pressure value and the air pressure adjustment mode (such as gradual pressurization, pressure maintenance, etc.) according to the control command received; the flexibility and controllability of the air pressure adjustment are ensured, and the air pressure can be accurately adjusted according to different test requirements; by controlling the time and mode of air pressure loading, the water pressure changes in the actual use scenario can be better simulated, so as to more comprehensively evaluate the waterproof performance of the sample under test. The threshold comparison submodule ensures the accuracy and stability of the air pressure adjustment by real-time monitoring and adjusting the air pressure value; by stopping or continuing pressurization in time, the influence of excessive or too low air pressure on the test results can be avoided, thereby improving the accuracy and reliability of the detection.

[0070] In summary, each submodule in the air pressure regulating module of this embodiment has its own unique technical effects and significance. They work together to achieve precise air pressure control and regulation, and provide a reliable and stable air pressure environment for the waterproof detection system; precise air pressure control is crucial for waterproof detection, because it directly affects the accurate evaluation of the waterproof performance of the sample under test. The numerical calculation submodule, the command control submodule and the threshold comparison submodule form a complete closed-loop control system in the air pressure regulation process; the numerical calculation submodule is responsible for calculating the required air pressure value according to the target water depth, providing a clear target for the subsequent air pressure regulation. The command control submodule issues specific control instructions based on these target values ​​to ensure that the air pressure regulating device can pressurize according to the preset mode and time. The threshold comparison submodule monitors the change of the air pressure value in real time, and judges whether it is necessary to continue pressurizing or stop pressurizing by comparing with the target value, thereby realizing precise control of the air pressure. The application of this closed-loop control system enables the waterproof detection system to accurately control the air pressure value and maintain a stable air pressure environment according to different test requirements; it is crucial to ensure the accuracy and reliability of the test. At the same time, by continuously optimizing and improving the performance and functions of these sub-modules, the efficiency and accuracy of the waterproof detection system can be further improved, providing more reliable technical support for the waterproof performance evaluation of the tested samples.

[0071] Example 3: Figure 3 As shown, based on Example 2, the numerical calculation submodule provided in this embodiment of the present invention includes:

[0072] The parameter setting unit is responsible for determining a plurality of different water pressure values ​​as test points, and the test points cover the expected test range; at each test point, the water pressure in the sealed container is adjusted to a predetermined value using an air pump and a pressure gauge; under stable water pressure conditions, each water pressure value is measured multiple times, and the corresponding air pressure value and temperature value are recorded;

[0073] The temperature correction unit is responsible for temperature correction of the air pressure value. The nonlinear model is selected and the calibration formula is used to calibrate the air pressure value. Air pressure value = a*water pressure value + b*temperature + c*water pressure value *temperature + d, where a represents the influence coefficient of water pressure value on air pressure value, b represents the influence coefficient of temperature on air pressure value, c is the interaction term coefficient, which represents the influence of the interaction effect between water pressure value and temperature on air pressure value, and d is the constant term, which represents the reference value or offset of air pressure value when water pressure value and temperature are both 0;

[0074] The formula verification unit is responsible for verifying the accuracy of the calibration formula using a standard verification data set and adjusting the calibration formula based on the verification results.

[0075] The working principle and beneficial effects of the above technical solution are as follows: the parameter setting unit of this embodiment determines multiple different water pressure values ​​as test points, and the test points cover the expected test range; at each test point, an air pump and a pressure gauge are used to adjust the water pressure in the sealed container to a predetermined value; under stable water pressure conditions, each water pressure value is measured multiple times, and the corresponding air pressure value and temperature value are recorded; the temperature correction unit performs temperature correction on the air pressure value, selects a nonlinear model, and uses a calibration formula to calibrate the air pressure value, air pressure value = a*water pressure value+b*temperature+c*water pressure value*temperature+d, where a represents the influence coefficient of the water pressure value on the air pressure value, b does not represent the influence coefficient of the temperature on the air pressure value, c is the interaction term coefficient, which represents the influence of the interaction effect between the water pressure value and the temperature on the air pressure value, and d is a constant term, which represents the reference value or offset of the air pressure value when the water pressure value and the temperature are both 0; the formula verification unit uses a standard verification data set to verify the accuracy of the calibration formula, and adjusts the calibration formula according to the verification result. The parameter setting unit of the above scheme determines multiple different water pressure values ​​as test points to ensure that the test range fully covers the expected water pressure changes, uses an air pump and a pressure gauge to accurately adjust the water pressure in the sealed container to a predetermined value, ensures the stability of the test conditions, and performs multiple measurements at each water pressure value to reduce random errors and improve measurement accuracy; through the designed test points and stable test conditions, a reliable data basis is provided for subsequent calibration and verification; multiple measurements can reduce measurement errors and improve data reliability and consistency. The temperature correction unit selects a nonlinear model to perform temperature correction on the air pressure value to more accurately reflect the nonlinear effect of temperature on the air pressure value; the calibration formula is used to comprehensively consider the effects of water pressure value, temperature and their interaction effects on the air pressure value, thereby improving the accuracy of calibration; by adjusting the coefficients a, b, c and d, it can flexibly adapt to changes in air pressure under different conditions; the application of nonlinear models can more accurately describe actual physical phenomena and improve the accuracy of calibration; comprehensive consideration of multiple influencing factors and their interaction effects makes the calibration results more comprehensive and reliable; the calibration formula is adjusted according to the verification results to further optimize the calibration effect; through the application of the verification data set, the performance of the calibration formula can be objectively evaluated to ensure its effectiveness in practical applications; formula adjustment based on the verification results can continuously improve the calibration accuracy and meet higher application requirements.

[0076] In summary, the various units in the numerical calculation submodule of this embodiment, through their respective technical effects, jointly achieve accurate measurement and calibration of the air pressure value; not only the accuracy and reliability of the test data are improved, but also strong data support is provided for subsequent applications. At the same time, by continuously optimizing and adjusting the calibration formula, the calibration accuracy can be continuously improved to meet the ever-changing application requirements.

[0077] Since the pressure of a gas is closely related to its temperature, according to the ideal gas law, when the temperature changes, the pressure of the gas will also change accordingly. Therefore, when calculating the air pressure value, it is necessary to ensure that the temperature in the container remains constant, or to correct the air pressure value according to the temperature change; in order to more accurately determine the air pressure value that needs to be loaded on the horizontal surface, it is necessary to perform calibration formulas for correction; these formulas can take into account the influence of the above factors, so as to obtain an air pressure value that is closer to the actual situation.

[0078] Example 4: Figure 4 As shown, based on Example 1, the bubble detection module provided by the embodiment of the present invention includes:

[0079] The feature extraction submodule is responsible for obtaining the real-time image of the water in the sealed container, performing image enhancement preprocessing on the real-time image, and extracting the bubble target features from the preprocessed real-time image using a machine learning algorithm;

[0080] The image segmentation submodule is responsible for marking bubbles in the real-time image and obtaining images of bubbles of different sizes;

[0081] The counting processing submodule is responsible for classifying the image according to the preset bubble size division program, locating bubbles of the same size standard, generating identification boxes, calibrating bubble clusters of different sizes in the image, obtaining the total number of different bubbles, and generating bubble counting results.

[0082] The working principle and beneficial effects of the above technical solution are as follows: the feature extraction submodule of this embodiment obtains the real-time image of water in the sealed container, performs image enhancement preprocessing on the real-time image, and uses the machine learning algorithm to extract the bubble target features of the preprocessed real-time image; the image segmentation submodule marks the images of multiple bubbles in the real-time image to obtain images of bubbles of different sizes; the counting processing submodule classifies the image according to the preset bubble size division program, locates bubbles of the same size standard, generates an identification frame, calibrates the clustering of bubbles of different sizes in the image, obtains the total number of bubbles of different sizes, and generates a bubble counting result. The feature extraction submodule of the above scheme accurately extracts the features of the bubbles, provides an accurate data basis for subsequent image segmentation and counting processing, thereby ensuring the accuracy and reliability of the bubble detection system. The image segmentation submodule divides the complex real-time image into separate bubble targets, provides a clear bubble image for subsequent counting processing, so as to accurately count bubbles of different sizes. The counting processing submodule realizes the effective statistics of bubbles of different sizes in the real-time image by identifying and counting bubbles of standard size, provides accurate bubble quantity information for the bubble detection system, and further improves the reliability and practicality of the detection system.

[0083] Example 5: Figure 5As shown, based on Example 4, the feature extraction submodule provided in this embodiment of the present invention includes:

[0084] The image preprocessing unit is responsible for graying, filtering and binarization preprocessing of the real-time image of water in the sealed container to enhance the visibility of the bubble target in the image;

[0085] The bubble processing unit is responsible for extracting the contour, shape, size and other features of the bubble target by using morphological operations, and extracting the features of the bubble target by detecting the edge and calculating the area of ​​the region;

[0086] The feature description unit is responsible for describing the extracted bubble target features using feature vectors, classifying different bubble targets using support vector machines, and further identifying and distinguishing bubbles.

[0087] The working principle and beneficial effects of the above technical solution are as follows: the image preprocessing unit of this embodiment performs grayscale, filtering and binarization preprocessing on the real-time image of water in a sealed container to enhance the visibility of the bubble target in the image; the bubble processing unit uses morphological operations to extract the contour, shape and size and other features of the bubble target, and extracts the features of the bubble target by detecting edges and calculating the area of ​​the region; the feature description unit describes the extracted bubble target features using feature vectors, and uses a support vector machine to classify different bubble targets to further identify and distinguish bubbles. The image preprocessing unit of the above scheme performs grayscale, filtering and binarization preprocessing on the real-time image of water in a sealed container to enhance the visibility of the bubble target in the image, remove noise, and highlight the bubble target; through preprocessing, the image is easier to analyze and process, the detection accuracy and reliability of the bubble target are improved, and a better foundation is provided for subsequent feature extraction and classification. The bubble processing unit uses morphological operations to extract the contour, shape, size and other features of the bubble target, and extracts the features of the bubble target by detecting the edge and calculating the area of ​​the region; through morphological operations and edge detection and other technologies, the key features of the bubble target, such as the contour, shape and size, can be accurately extracted, providing important information for subsequent feature description and classification. Through feature description and classification, the feature description unit can quantify the key features of the bubble target, improve the recognition and classification accuracy of the bubble target, and provide a reliable basis for subsequent bubble counting and monitoring.

[0088] To sum up, the various units of this embodiment cooperate with each other in the bubble target feature extraction. Through the steps of image preprocessing, bubble processing and feature description, the characteristics of the bubble target can be effectively extracted and described, and the accurate identification and classification of the bubble target can be achieved, providing support for the stable operation and effective monitoring of the bubble detection system.

[0089] Example 6: Figure 6As shown, based on Example 5, the bubble processing unit provided in this embodiment of the present invention includes:

[0090] The edge detection subunit is responsible for detecting the edges of the bubble targets in the image, and based on the detected edges, the image is segmented to separate the bubble target area from the background to form different areas.

[0091] The area calculation subunit is responsible for calculating the area of ​​each segmented area and obtaining the size information of the bubble target by calculating the area of ​​the area;

[0092] The information acquisition subunit is responsible for extracting features such as the contour shape and size of the bubble target based on the calculated edge information and area information of the bubble target.

[0093] The working principle and beneficial effects of the above technical solution are as follows: the edge detection subunit of this embodiment detects the edge of the bubble target in the image, and performs regional segmentation on the image according to the detected edge, and separates the bubble target area in the image from the background to form different areas; the area calculation subunit calculates the area of ​​each segmented area, and obtains the size information of the bubble target by calculating the area of ​​the area; the information acquisition subunit extracts the features such as the contour shape and size of the bubble target based on the edge information and area information of the calculated bubble target. The edge detection subunit of the above scheme can accurately locate the edge of the bubble target through edge detection, provide a basis for subsequent regional segmentation and feature extraction, and help separate the bubble target area from the background. The area calculation subunit can quantify the size of the bubble target by calculating the area of ​​the area, provide important features for subsequent bubble target classification and identification, and help distinguish bubble targets of different sizes. The information acquisition subunit can more comprehensively describe the bubble target by extracting the contour shape and size of the bubble target, and provide important information for further bubble target analysis, identification and monitoring.

[0094] To summarize, the edge detection subunit, area calculation subunit and information acquisition subunit of the present embodiment collaborate in the bubble processing unit to achieve accurate description and analysis of the bubble target through steps such as edge detection, area calculation and feature extraction, thereby providing key support for the identification, classification and monitoring of the bubble target, and playing a vital role in the overall performance of the bubble processing unit.

[0095] Example 7: Figure 7 As shown, based on Example 4, the counting processing submodule provided in this embodiment of the present invention includes:

[0096] The information statistics unit is responsible for classifying the bubbles in the image according to the preset bubble size classification program and counting the number of bubbles of different sizes; based on the classification statistical information, the total number of bubbles is generated, that is, the cumulative number of bubbles in all classifications;

[0097] The position identification unit is responsible for generating identification frames or calibration information for bubbles of the same size standard, which is used to identify the clustering positions of different bubbles in the image;

[0098] The analysis report unit is responsible for generating analysis reports, including statistical charts of the number of bubbles, heat maps of bubble locations, and distribution maps of bubble sizes.

[0099] The working principle and beneficial effects of the above technical solution are as follows: the information statistics unit of this embodiment classifies the bubbles in the image according to the preset bubble size classification procedure, and counts the number of bubbles of different sizes; according to the classification statistical information, the total number of bubbles is generated, that is, the cumulative number of bubbles in all categories; the position identification unit generates an identification frame or calibration information for bubbles of the same size standard, which is used to identify the clustering positions of different bubbles in the image; the analysis report unit generates an analysis report, including a statistical chart of the number of bubbles, a heat map of the bubble position, and a distribution map of the bubble size. The above scheme can accurately count the number of bubbles of different sizes through the information statistics unit, providing important data for subsequent analysis and decision-making. The total number of generated bubbles can provide a grasp of the overall number of bubbles; through the position identification unit, bubbles of the same size standard can be identified, helping users to more intuitively understand the clustering position of bubbles in the image, which is helpful for further analysis and understanding of the distribution of bubbles; through the analysis report unit, the bubble detection and counting results can be displayed to the user in the form of charts and images, and the user can more intuitively understand the number, position and size distribution of bubbles, so as to make further data analysis and decision-making.

[0100] To sum up, the information statistics unit, position identification unit and analysis report unit of this embodiment work together in the counting processing submodule to provide users with comprehensive bubble detection and counting results by counting the number of bubbles, identifying the bubble positions and generating analysis reports. This can help to more accurately understand and analyze the characteristics and distribution of bubbles, thereby supporting subsequent data analysis and decision-making processes.

[0101] Example 8: Figure 8 As shown, based on Example 7, the information statistics unit provided by the embodiment of the present invention includes:

[0102] The size calculation subunit is responsible for calculating the minimum circumscribed circle of the bubble contour based on the detected bubble contour, and calculating the center coordinates and radius of the minimum circumscribed circle through the cv2.minEnclosingCircle() function; for each detected bubble contour, the radius is used as the radial size;

[0103] The bubble classification subunit is responsible for classifying the radial size of bubbles into different size categories according to a preset size threshold; bubbles smaller than the threshold are classified as small bubbles, and bubbles larger than the threshold are classified as large bubbles;

[0104] The quantity counting subunit is responsible for recording the number of bubbles in each size category according to the size threshold and generating the total number of bubbles in each size category, that is, obtaining the cumulative number of bubbles in all categories.

[0105] The working principle and beneficial effects of the above technical solution are as follows: the size calculation subunit of this embodiment calculates the minimum circumscribed circle of the bubble contour according to the detected bubble contour, and calculates the center coordinates and radius of the minimum circumscribed circle through the cv2.minEnclosingCircle() function; for each detected bubble contour, the radius is used as the radial size; the bubble classification subunit divides the radial size of the bubble into different size categories according to the preset size threshold; bubbles less than the threshold are classified as small bubbles, and bubbles greater than the threshold are classified as large bubbles; the number statistics subunit records the number of bubbles in each size category according to the size threshold, generates the total number of bubbles in each size category, and obtains the cumulative number of bubbles in all categories. The size calculation subunit of the above scheme can obtain the size information of each bubble by calculating the minimum circumscribed circle and radius of the bubble, which is then used for subsequent bubble size classification and number statistics. The bubble classification subunit can classify bubbles according to size, so as to perform more sophisticated data analysis and report generation. For example, the distribution of bubbles in different size ranges under different conditions can be analyzed to study the generation and evolution of bubbles. The quantity statistics subunit can understand the quantity distribution of bubbles in different size categories through quantity statistics, providing a basis for further data analysis and conclusions. For example, the density and quantity change trend of bubbles in different size ranges can be compared to reveal the characteristics and behavior of bubbles.

[0106] To sum up, the size calculation subunit, bubble division subunit and quantity statistics subunit of this embodiment work together to extract bubble size information from the image, classify and statistically analyze the bubbles, and thus provide important data support and decision-making basis for bubble research, process optimization, etc.

[0107] Example 9: Fig. 9 As shown, based on Example 8, the size calculation subunit provided in this embodiment of the present invention includes:

[0108] The contour list component is responsible for finding the coordinate point set of the contour using the cv2.findContours() function. The cv2.findContours() function accepts a binary image as input and returns a list of all contours in the image; each contour is an array containing the coordinates of the contour points, and the contours are stored through the contours variable;

[0109] The function call component is responsible for calling the cv2.minEnclosingCircle() function to calculate the minimum circumscribed circle for each detected bubble contour. It traverses the contours list and calls the cv2.minEnclosingCircle() function for each contour to calculate the minimum circumscribed circle. The cv2.minEnclosingCircle() function accepts the point set of the contour as input and returns the center coordinates and radius of the minimum circumscribed circle.

[0110] The calculation execution component is responsible for finding a minimum circle that surrounds all points according to the input contour point set, that is, the minimum circumscribed circle. The center coordinates and radius of the minimum circumscribed circle are calculated and used as the return value of the function to obtain the center coordinates (center_x, center_y) and radius of the minimum circumscribed circle.

[0111] The working principle and beneficial effects of the above technical solution are as follows: the contour list component of this embodiment uses the cv2.findContours() function to find the coordinate point set of the contour. The cv2.findContours() function accepts a binary image as input and returns a list of all contours in the image. Each contour is an array containing the coordinates of the contour points, and the contours are stored through the contours variable. The function call component calls the cv2.minEnclosingCircle() function for each detected bubble contour to calculate the minimum circumscribed circle, traverses the contours list, and for each contour, calls c The cv2.minEnclosingCircle() function is used to calculate the minimum circumscribed circle; the cv2.minEnclosingCircle() function accepts the point set of the contour as input and returns the center coordinates and radius of the minimum circumscribed circle; the calculation execution component cv2.minEnclosingCircle()` function finds a minimum circle that surrounds all points, that is, the minimum circumscribed circle, based on the input contour point set. The center coordinates and radius of the minimum circumscribed circle are calculated and used as the return value of the function to obtain the center coordinates (center_x, center_y) and radius radius of the minimum circumscribed circle. The contour list component of the above scheme extracts the contour information of the bubble in the image, providing the necessary data basis for subsequent calculations. By finding each contour in the image, the shape and position of the bubble can be determined. The function call component calculates the minimum circumscribed circle of each bubble to determine the size and position of the bubble. The minimum circumscribed circle can help accurately describe the size and shape of the bubble. The calculation execution component obtains the size information of the bubble by calculating the center and radius of the minimum circumscribed circle. This information can be used to further analyze and process the bubble data, such as calculating the area, perimeter and other characteristics of the bubble.

[0112] In summary, the components of this embodiment cooperate with each other, and through contour extraction, minimum circumscribed circle calculation and size analysis, accurate measurement and analysis of bubble size in bubble images are achieved, providing a basis for subsequent data processing and application. Through the above, the functions in OpenCV can be used to find the coordinate point set of the contour, calculate the minimum circumscribed circle of the bubble contour, and obtain the center coordinates and radius of the minimum circumscribed circle. This information can be used for subsequent bubble size analysis and classification.

[0113] Example 10: Fig.10 As shown, based on Example 1, the bubble judgment module provided in this embodiment of the present invention includes:

[0114] The information receiving submodule is responsible for receiving the cumulative number of bubbles in all categories, and stops receiving the number of bubbles after reaching the specified waterproof detection time;

[0115] The information judgment submodule is responsible for determining that bubbles are detected when the number or size of a certain type of bubbles exceeds the corresponding preset threshold;

[0116] The result indication submodule is responsible for outputting a corresponding indication signal when it is determined that bubbles are detected, indicating that the tested sample does not meet the waterproof requirement.

[0117] The working principle and beneficial effects of the above technical solution are as follows: the information receiving submodule of this embodiment receives the cumulative number of bubbles in all categories, and stops receiving the number information of bubbles after reaching the specified waterproof detection time; the information judgment submodule determines that bubbles are detected when the number or size of a certain type of bubbles exceeds the corresponding preset threshold; the result indication submodule outputs a corresponding indication signal when it is determined that bubbles are detected, indicating that the sample under test does not meet the waterproof requirements. The information receiving submodule of the above scheme collects and manages the bubble quantity information to ensure that sufficient data is obtained within the specified detection time for subsequent judgment; by controlling the timing of information reception, the bubble quantity information can be accurately obtained to provide a data basis for subsequent judgment. The information judgment submodule judges the number or size of bubbles according to the preset threshold to determine whether bubbles are detected; by setting a reasonable threshold, potential leakage or non-compliance with waterproof requirements can be accurately identified to ensure the quality and safety of the sample under test. The result indication submodule provides effective feedback based on the judgment result to warn the operator or system user that there is a problem; by outputting an indication signal or alarm, measures can be taken in time to deal with the detected bubble situation to avoid further damage or risk.

[0118] In summary, this embodiment realizes accurate judgment and effective indication of bubble detection results, provides a reliable monitoring and feedback mechanism for the waterproof detection system, and ensures the safety and quality of the tested samples; the indication result is very important for the waterproof detection system, which can timely detect samples with leakage or that do not meet the waterproof requirements to prevent further damage or safety hazards. At the same time, the indication result can also be used as a basis for system monitoring and recording, and used to analyze and improve the waterproof detection process, and improve the accuracy and reliability of the system.

[0119] Embodiment 11: Based on Embodiments 1 to 10, the waterproof detection system provided in the embodiment of the present invention further comprises: a sealed container 1, liquid water 2, bubbles 3, a sample to be tested 4, a bubble detection device 5, an air pressurization area 6, a sealed container cover 7, an air inlet 8, an air pipe 9, a barometer 10, and an air pump 11;

[0120] Among them, the interior of the sealed container 1 is filled with liquid water 2, the sample to be tested 4 is placed at the bottom of the sealed container 1, bubbles 3 are generated from the sample to be tested 4, a bubble detection device 5 is installed on the upper left half of the sealed container 1, the upper half of the sealed container 1 is an air pressurization area 6, the top is a sealed container cover 7, an air inlet 8 is installed in the middle position of the sealed container cover 7, the air inlet 8 is connected to the air pump 11 through an air pipe 9, and a barometer 10 is installed on the air pipe 9.

[0121] The working principle and beneficial effects of the above technical solution are as follows: the bubble detection device 5 of this embodiment identifies and counts the bubbles 3 generated in the sealed container 1 through image processing technology, extracts the characteristics of the bubbles and analyzes them; the bubbles 3 are generated in the sample to be tested 4, and when the number or size of the bubbles exceeds a preset threshold, the bubble judgment module determines that bubbles are detected; after the bubbles are detected, the system indicates through an indication signal or an alarm that the sample to be tested 4 does not meet the waterproof requirements, and reminds the user to deal with it in time.

[0122] The sealed container 1 of this embodiment contains liquid water 2 and a sample to be tested 4 to provide a detection environment. Bubbles 3 are generated from the sample to be tested 4 as a detection object; the bubble detection device 5 recognizes and counts the bubbles 3 through image processing technology, extracts and analyzes features, and realizes the bubble detection function; the air pressurization area 6 is used to control the air pressure in the sealed container 1, adjust the water depth and water pressure value, and help generate bubbles 3; the sealed container cover 7, the air inlet 8, the air pipe 9, and the air pump 11 inject gas into the sealed container 1 through the air pump 11 to control the generation and number of bubbles; the barometer 10 monitors the air pressure changes in the sealed container 1 to help adjust the conditions for bubble generation.

[0123] These structures of this embodiment cooperate with each other to realize the detection of bubbles in the sealed container and the evaluation of the waterproof performance; by accurately controlling the conditions and quantity of bubble generation, combined with the analysis of the bubble detection device, potential leakage problems can be discovered in time to ensure the waterproof performance of the sample being tested. This design improves the accuracy and reliability of the waterproof detection system and provides users with an effective waterproof detection solution.

[0124] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A waterproof detection system, characterized in that: Include: The air pressure regulating module is responsible for controlling the air pressure on the horizontal surface of the sealed container containing the sample to be tested, so as to realize the conversion of water pressure values ​​at different water depths; The bubble detection module is responsible for identifying and counting the bubbles generated in the sealed container, and extracting and analyzing the characteristics of the bubbles through image processing technology; The bubble judgment module is responsible for judging that bubbles are detected when the number or size of bubbles exceeds a preset threshold, indicating that the tested sample does not meet the waterproof requirements; Gas pressure regulating module, including: The numerical calculation submodule is responsible for obtaining the target water depth of the tested sample for air tightness testing, calculating the water pressure value of the target water depth according to the target water depth, and obtaining the air pressure value that needs to be loaded on the horizontal surface according to the water pressure value; The command control submodule is responsible for receiving control commands, which include air pressure value and its loading time, and determining the output air pressure value and air pressure adjustment mode according to the control commands; The threshold comparison submodule is responsible for issuing another control instruction to obtain the real-time air pressure value of the horizontal surface in the sealed container, and determine whether to continue pressurizing according to the difference between the real-time air pressure value and the air pressure value to be loaded; when the difference is within the preset range, the pressurization is stopped; if it exceeds the preset range, the pressurization is continued; Numerical calculation submodule, including: The parameter setting unit is responsible for determining a plurality of different water pressure values ​​as test points, and the test points cover the expected test range; at each test point, the water pressure in the sealed container is adjusted to a predetermined value using an air pump and a pressure gauge; Under stable water pressure conditions, measure each water pressure value multiple times and record the corresponding air pressure and temperature values; The temperature correction unit is responsible for temperature correction of the air pressure value. The nonlinear model is selected and the calibration formula is used to calibrate the air pressure value. Air pressure value = a*water pressure value + b*temperature + c*water pressure value *temperature + d, where a represents the influence coefficient of water pressure value on air pressure value, b represents the influence coefficient of temperature on air pressure value, c is the interaction term coefficient, which represents the influence of the interaction effect between water pressure value and temperature on air pressure value, and d is the constant term, which represents the reference value or offset of air pressure value when water pressure value and temperature are both 0; The formula verification unit is responsible for verifying the accuracy of the calibration formula using a standard verification data set and adjusting the calibration formula based on the verification results.

2. The waterproof detection system according to claim 1, characterized in that: Bubble detection module, including: The feature extraction submodule is responsible for obtaining the real-time image of the water in the sealed container, performing image enhancement preprocessing on the real-time image, and extracting the bubble target features from the preprocessed real-time image using a machine learning algorithm; The image segmentation submodule is responsible for marking bubbles in the real-time image and obtaining images of bubbles of different sizes; The counting processing submodule is responsible for classifying the image according to the preset bubble size division program, locating bubbles of the same size standard, generating identification boxes, calibrating bubble clusters of different sizes in the image, obtaining the total number of different bubbles, and generating bubble counting results.

3. The waterproof detection system according to claim 2, characterized in that: Feature extraction submodule, including: The image preprocessing unit is responsible for graying, filtering and binarization preprocessing of the real-time image of water in the sealed container to enhance the visibility of the bubble target in the image; The bubble processing unit is responsible for extracting the contour, shape and size characteristics of the bubble target by using morphological operations, and extracting the characteristics of the bubble target by detecting the edge and calculating the area of ​​the region; The feature description unit is responsible for describing the extracted bubble target features using feature vectors, classifying different bubble targets using support vector machines, and further identifying and distinguishing bubbles.

4. The waterproof detection system according to claim 3, characterized in that: Bubble treatment unit, comprising: The edge detection subunit is responsible for detecting the edges of the bubble targets in the image, and based on the detected edges, the image is segmented to separate the bubble target area from the background to form different areas. The area calculation subunit is responsible for calculating the area of ​​each segmented area and obtaining the size information of the bubble target by calculating the area of ​​the area; The information acquisition subunit is responsible for extracting the contour shape and size features describing the bubble target based on the calculated edge information and area information of the bubble target.

5. The waterproof detection system according to claim 2, characterized in that: The counting processing submodule includes: The information statistics unit is responsible for classifying the bubbles in the image according to the preset bubble size classification program and counting the number of bubbles of different sizes; based on the classification statistical information, the total number of bubbles is generated, that is, the cumulative number of bubbles in all classifications; The position identification unit is responsible for generating identification frames or calibration information for bubbles of the same size standard, which is used to identify the clustering positions of different bubbles in the image; The analysis report unit is responsible for generating analysis reports, including statistical charts of the number of bubbles, heat maps of bubble locations, and distribution maps of bubble sizes.

6. The waterproof detection system according to claim 5, characterized in that: Information statistics unit, including: The size calculation subunit is responsible for calculating the minimum circumscribed circle of the bubble contour based on the detected bubble contour, and calculating the center coordinates and radius of the minimum circumscribed circle through the cv2.minEnclosingCircle() function; for each detected bubble contour, the radius is used as the radial size; The bubble classification subunit is responsible for classifying the radial size of bubbles into different size categories according to a preset size threshold; The quantity counting subunit is responsible for recording the number of bubbles in each size category according to the size threshold and generating the total number of bubbles in each size category, that is, obtaining the cumulative number of bubbles in all categories.

7. The waterproof detection system according to claim 6, characterized in that: In the bubble classification subunit, bubbles smaller than a threshold are classified as small bubbles, and bubbles larger than a threshold are classified as large bubbles.

8. The waterproof detection system according to claim 6, characterized in that: Size calculation subunit, including: The contour list component is responsible for finding the coordinate point set of the contour using the cv2.findContours() function. The cv2.findContours() function accepts a binary image as input and returns a list of all contours in the image; The function call component is responsible for calling the cv2.minEnclosingCircle() function to calculate the minimum circumscribed circle for each detected bubble contour, traversing the contours list, and for each contour, calling the cv2.minEnclosingCircle() function to calculate the minimum circumscribed circle; the cv2.minEnclosingCircle() function accepts the point set of the contour as input and returns the center coordinates and radius of the minimum circumscribed circle; The calculation execution component is responsible for finding a minimum circle that surrounds all points according to the input contour point set, that is, the minimum circumscribed circle. The center coordinates and radius of the minimum circumscribed circle are calculated and used as the return value of the function to obtain the center coordinates of the minimum circumscribed circle (center x ,center y ) and radius radius.

9. The waterproof detection system according to claim 8, characterized in that: Each contour in the contour list component is an array containing the coordinates of the contour points, and the contours are stored through the contours variable.

10. The waterproof detection system according to claim 1, characterized in that: Bubble judgment module, including: The information receiving submodule is responsible for receiving the cumulative number of bubbles in all categories, and stops receiving the number of bubbles after reaching the specified waterproof detection time; The information judgment submodule is responsible for determining that bubbles are detected when the number or size of a certain type of bubbles exceeds the corresponding preset threshold; The result indication submodule is responsible for outputting a corresponding indication signal when it is determined that bubbles are detected, indicating that the tested sample does not meet the waterproof requirement.

Citation Information

Patent Citations

  • Battery detection device for new energy automobile

    CN115406585A

  • A safety monitoring device for photovoltaic power generation and energy storage equipment

    CN116577028B

  • Waterproof energy storage power supply and waterproof detection method

    CN116632970A

  • Apparatus for battery pack water immersion tests

    CN107389464A

  • Water immersion method bubble detection method based on machine vision

    CN116007851A