A waterproof performance testing method for waterproof connector
By collecting and analyzing the pressure and sound wave data inside the waterproof connector and calculating the leakage index, the error problem caused by relying on single data detection in the prior art is solved, and more accurate and reliable waterproof performance testing is achieved.
Patent Information
- Application Number
- CN202411659709.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2044-11-20
AI Technical Summary
When detecting the waterproof performance of the waterproof connector, the prior art relies on a single pressure data detection, which easily leads to test errors due to the decrease in sensor accuracy.
Collect pressure data and acoustic wave data at each moment inside the waterproof connector, analyze the characteristic indicators in the pressure sequence and acoustic wave sequence, such as the decline index, fluctuation index and leakage index, and determine the leakage index of each connector through clustering analysis and characteristic analysis.
By comprehensively analyzing pressure and acoustic wave data, the reliability and accuracy of waterproof performance testing of waterproof connectors is improved, testing errors are reduced, and a more accurate waterproof performance evaluation is provided.
Smart Images

Figure CN119147181B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of connector waterproof testing, and in particular to a method for testing the waterproof performance of a waterproof connector. Background Art
[0002] At present, the existing technology usually uses atmospheric pressure to simulate water pressure, uses a fixture to seal the connector, and allows compressed air to enter the connector through an airtightness tester. The airtightness test is completed by using the airtightness tester's sensor to sense the changes in gas in real time, thereby evaluating the waterproof performance of the connector.
[0003] However, when the air tightness detection method is used to detect the connector, usually only the internal pressure data of the waterproof connector is detected by an air tightness tester. This single data detection method is too dependent on the sensor's acquisition accuracy. If the pressure sensor built into the air tightness tester causes the data acquisition accuracy to decrease due to long-term operation, then only a single pressure data is analyzed at this time, which can easily cause errors in the waterproof performance test of the waterproof connector. Summary of the invention
[0004] In order to solve the above technical problems, the purpose of this application is to provide a method for testing the waterproof performance of a waterproof connector. The technical solutions adopted are as follows:
[0005] The present invention provides a method for testing the waterproof performance of a waterproof connector, the method comprising the following steps:
[0006] Collect the pressure data and sound wave data at each moment inside each waterproof connector of the same batch, and form the pressure sequence and sound wave sequence of each waterproof connector respectively;
[0007] Analyze the decreasing degree of the elements in the pressure sequence and the discrete degree of the decreasing amount, and determine the decreasing index of the pressure sequence in combination with the distribution range of the elements in the pressure sequence; analyze the trend change of the sound wave sequence to determine the overall change index of the sound wave sequence; analyze the changing trend of the discrete degree of all sound wave data between each peak value and its adjacent peak value in the sound wave sequence, and determine the fluctuation index of the sound wave sequence in combination with the overall change index;
[0008] Based on the difference in the distribution of elements in the pressure sequence and the sound wave sequence of any waterproof connector and the other waterproof connectors of the same batch, the distinctive characteristic degree of each waterproof connector is determined; the drop index and the fluctuation index form the leakage vector of each waterproof connector, the leakage vectors of all waterproof connectors of the same batch are clustered, the distribution of all leakage vectors in the cluster where the leakage vector of each waterproof connector is located is analyzed, and the leakage index of each waterproof connector is obtained in combination with the distinctive characteristic degree;
[0009] All waterproof connectors of the same batch are tested for their waterproof performance based on the leakage index.
[0010] In one embodiment, determining the decline index includes:
[0011] Obtain the first-order difference sequence of the pressure sequence of each waterproof connector, and determine the stability coefficient of the pressure sequence based on the difference between the average level of all elements in the pressure sequence and the average level of all negative elements in its first-order difference sequence;
[0012] Calculate the range of all elements in the pressure series;
[0013] The degree of dispersion of negative elements in the first-order difference sequence of the pressure sequence is calculated, recorded as the difference divergence, and the fusion result of the extreme difference and the difference divergence is calculated. The decline index is the ratio of the fusion result to the stability coefficient.
[0014] In one embodiment, the stability coefficient is the absolute value of the ratio of the average level of all elements in the pressure sequence to the average level of all negative elements in its first-order difference sequence.
[0015] In one embodiment, the overall change index is determined as follows:
[0016] A sequence decomposition algorithm is used to obtain the trend item of each element in the sound wave sequence to form a trend sequence of the sound wave sequence, and the slope of the fitting line of all elements in the trend sequence is obtained. The overall change index is the absolute value of the slope.
[0017] In one embodiment, the process of determining the volatility index is:
[0018] Based on the variation trend of the discrete degree, determining the trend variation index of the sound wave sequence;
[0019] The fluctuation index is a fusion result of the trend change index and the overall change index.
[0020] In one embodiment, determining the trend change index includes:
[0021] The positions of the peaks in the acoustic wave sequence and their corresponding discrete degrees are grouped into two-dimensional data groups. Straight-line fitting is performed on all the two-dimensional data groups in the acoustic wave sequence. The mean of the distances between all the two-dimensional data groups and the corresponding fitting straight lines is calculated. The absolute value of the slope of the fitting straight line corresponding to the acoustic wave sequence and the fusion result of the mean are used as the trend change index of the acoustic wave sequence.
[0022] In one embodiment, the process of determining the distinctive feature degree is:
[0023] Calculate the mean of the difference between the last element in the pressure sequence of any waterproof connector and the last element in the pressure sequences of all other waterproof connectors, and record it as the first mean;
[0024] Calculate the mean of the difference between the last element in the acoustic wave sequence of any waterproof connector and the acoustic wave sequences of all other waterproof connectors, and record it as the second mean;
[0025] The average of the first average value and the second average value is used as the distinguishing characteristic degree of any waterproof connector.
[0026] In one embodiment, the leakage index is calculated as follows: ; In the formula, is the leakage index of the ith waterproof connector, is the mean value of the modulus of all leakage vectors in the cluster where the leakage vector of the i-th waterproof connector is located, is the distinctive characteristic of the i-th waterproof connector, is the number of all leakage vectors in the cluster where the leakage vector of the i-th waterproof connector is located.
[0027] In one embodiment, the waterproof performance test of all waterproof connectors of the same batch based on the leakage index includes:
[0028] The segmentation threshold of the leakage index of all waterproof connectors in the same batch is obtained. If the leakage index of the waterproof connector is greater than or equal to the segmentation threshold, it is determined that its waterproof performance is unqualified; otherwise, it is determined that its waterproof performance is qualified.
[0029] This application has at least the following beneficial effects:
[0030] The present application collects pressure data and sound wave data at each moment inside each waterproof connector of the same batch to form a pressure sequence and a sound wave sequence of each waterproof connector respectively; analyzes the degree of decrease of the elements in the pressure sequence and the discrete degree of the decrease amount, and determines the decrease index of the pressure sequence in combination with the distribution range of the elements in the pressure sequence; the decrease index reflects the degree of change of the decrease of the elements in the pressure sequence, further reflects the possibility of abnormal waterproof performance of the waterproof connector, and considers the stability and discrete degree of the pressure sequence change, thereby improving the reliability of the waterproof performance test of the waterproof connector; further, analyzes the trend change of the sound wave sequence to determine the overall change index of the sound wave sequence; analyzes the changing trend of the discrete degree of all sound wave data between each peak value and its adjacent peak value in the sound wave sequence, and determines the fluctuation index of the sound wave sequence in combination with the overall change index; the fluctuation index reflects the changing trend of the elements in the sound wave sequence, and further reflects the waterproof performance of the waterproof connector with reference to the changing trend of the elements in the sound wave sequence, thereby improving the waterproof performance of the waterproof connector. The accuracy of water performance test; based on the difference in element distribution in the pressure sequence and acoustic wave sequence of any waterproof connector and the other waterproof connectors in the same batch, the distinctive characteristic degree of each waterproof connector is determined; the decline index and the fluctuation index form the leakage vector of each waterproof connector, the leakage vectors of all waterproof connectors in the same batch are clustered, and the distribution of all leakage vectors in the cluster where the leakage vector of each waterproof connector is located is analyzed, and the leakage index of each waterproof connector is obtained in combination with the distinctive characteristic degree; the leakage index reflects the possibility of leakage in each waterproof connector, and comprehensively considers the changing trends of the pressure sequence and acoustic wave sequence of the waterproof connector, thereby improving the accuracy of the waterproof performance test of the waterproof connector; finally, the waterproof performance test of all waterproof connectors in the same batch is performed based on the leakage index, which avoids the problem of large errors in the waterproof performance test of the waterproof connector using a single data, and combines the pressure data and acoustic wave data of the waterproof connector to accurately and comprehensively test the waterproof performance of the waterproof connector. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0032] Figure 1 A flowchart of a method for testing the waterproof performance of a waterproof connector provided in one embodiment of the present application;
[0033] Figure 2 It is a schematic diagram of normalized acoustic wave data;
[0034] Figure 3 It is a schematic diagram of the STL sequence decomposition of the sound wave sequence;
[0035] Figure 4 Construct a flow chart for the leakage index of waterproof connectors. DETAILED DESCRIPTION
[0036] In order to further explain the technical means and effects adopted by the present application to achieve the predetermined invention purpose, the following is a detailed description of the waterproof performance test method of a waterproof connector proposed in the present application, its specific implementation method, structure, features and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0037] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
[0038] The following is a detailed description of a method for testing the waterproof performance of a waterproof connector provided by the present application in conjunction with the accompanying drawings.
[0039] See also Figure 1 , which shows a flowchart of a method for testing the waterproof performance of a waterproof connector provided by an embodiment of the present application, the method comprising the following steps:
[0040] S1, collecting the pressure data and sound wave data at each moment inside each waterproof connector of the same batch, and forming the pressure sequence and sound wave sequence of each waterproof connector respectively.
[0041] In this embodiment, compressed air is used as the test medium, and the compressed air is filled into the waterproof connectors of the same batch to be tested for waterproof performance through the air tightness detector. When the internal pressure of the waterproof connector reaches the pressure of 1 meter water depth, the air filling is stopped. After the air filling is stopped, the internal pressure of the waterproof connector is greater than the external pressure. Due to the large differential pressure between the inside and the outside, once there is a leak in the waterproof connector, the gas will rush out from the leak to generate turbulence.
[0042] It should be noted that the current waterproof performance requirement for waterproof connectors is to meet the IPX7 standard, that is, when placed in water at a depth of 1 meter and submerged for 30 minutes, no water will penetrate into the waterproof connector.
[0043] In this embodiment, any waterproof connector from the same batch is analyzed, and the pressure data inside the waterproof connector is obtained in real time through an air tightness detector. In this embodiment, the pressure data collection interval is 1 second; the acoustic wave data of the waterproof connector is collected by an ultrasonic sensor, the acoustic wave data collection frequency is 50kHZ, and the distance from the waterproof connector is 2cm. In this embodiment, the collected acoustic wave signal is denoised using a wavelet denoising algorithm.
[0044] It should be noted that the pressure data collection interval, the sound wave data collection frequency, and the distance can be set by the implementer according to actual conditions, and this embodiment does not limit this.
[0045] In this embodiment, the collection time of pressure data and sound wave signal is set to 30 minutes. The implementer can set it according to the actual situation. The de-noised sound wave signal is sampled according to the data collection time of the pressure data to obtain 1800 sound wave data. All the pressure data and sound wave data collected by the waterproof connector are sequentially composed into the pressure sequence and sound wave sequence of the waterproof connector according to the time sequence.
[0046] At this point, the pressure sequence and sound wave sequence of each waterproof connector in the same batch can be obtained; in order to eliminate the dimensional influence between the pressure sequence and the sound wave sequence, the pressure sequence and the sound wave sequence of all waterproof connectors are subjected to Z-score normalization processing; it should be understood that the wavelet denoising algorithm and the Z-score normalization processing are both existing public technologies, which will not be described in detail in this embodiment, and the implementer can choose other existing feasible denoising algorithms and normalization processing methods according to the actual situation, which will not be limited in this embodiment. The schematic diagram of the normalized sound wave data is shown in the figure. Figure 2 As shown, Figure 2 The horizontal axis is the element order in the sound wave sequence, and the vertical axis is the normalized sound wave data.
[0047] S2, analyzing the decreasing degree of the elements in the pressure sequence and the discrete degree of their decreasing amounts, and determining the decreasing index of the pressure sequence in combination with the distribution range of the elements in the pressure sequence; analyzing the trend change of the sound wave sequence to determine the overall change index of the sound wave sequence; analyzing the changing trend of the discrete degree of all sound wave data between each peak in the sound wave sequence and its adjacent peaks, and determining the fluctuation index of the sound wave sequence in combination with the overall change index.
[0048] Taking the i-th waterproof connector of the same batch as an example for analysis, if the sealing effect of the i-th waterproof connector is good and there is no gas leakage, the internal pressure of the i-th waterproof connector is relatively stable and will not drop significantly. If the sealing effect of the i-th waterproof connector is not good, the internal pressure of the i-th waterproof connector will drop, and even if the size of the leakage gap remains unchanged, the pressure drop speed at different times will be inconsistent due to the change in internal pressure.
[0049] It should be noted that: because waterproof connectors are assembled, there are no perfect fits between the assembled parts. Therefore, even for connectors with good waterproof performance, the internal pressure will drop slightly over time, which is reflected in the pressure sequence as a slight drop in the elements.
[0050] Get the first-order difference sequence of the pressure sequence of the ith waterproof connector, calculate the mean of all elements in the pressure sequence of the ith waterproof connector, record it as the global mean, calculate the mean of all negative elements in the first-order difference sequence of the pressure sequence of the ith waterproof connector, record it as the differential mean, and record the absolute value of the ratio of the global mean to the differential mean as the stability coefficient of the pressure sequence of the ith waterproof connector. The larger the stability coefficient is, the smaller the amplitude of the decrease in the element value in the pressure sequence of the ith waterproof connector is, and the higher the stability of the overall fluctuation of the pressure sequence is. It should be noted that: in order to avoid the situation where the denominator is 0 in the calculation process of the stability coefficient, a preset value greater than 0 is added to the denominator during the calculation process. In this embodiment, the preset value greater than 0 is 0.1, and the implementer can set it according to the actual situation. This embodiment is not limited here.
[0051] The decrease degree of the elements in the pressure sequence of the waterproof connector is analyzed, and the decrease index of the pressure sequence of each waterproof connector is calculated, mainly including: calculating the range of all elements in the pressure sequence and the discrete degree of the negative elements in the corresponding first-order difference sequence, recorded as the difference divergence, and calculating the fusion result of the range and the difference divergence. The decrease index is the ratio of the fusion result to the stability coefficient.
[0052] It should be noted that the degree of discreteness may be calculated using variance, standard deviation, coefficient of variation, etc. This embodiment uses variance as the method for calculating the degree of discreteness. Fusion means combining multiple variables in a manner that enhances the overall effect, which may be achieved using multiplication, addition, or a mixture of addition and multiplication. This embodiment uses multiplication as the method for calculating fusion.
[0053] In this embodiment, the specific calculation method of the drop index of the pressure sequence of each waterproof connector is: ; In the formula, is the decline index of the pressure sequence of the i-th waterproof connector; B is the extreme value of the pressure sequence of the i-th waterproof connector; is the variance of all negative elements in the first-order difference sequence of the pressure sequence of the i-th waterproof connector, recorded as the differential divergence; C is the stability coefficient of the pressure sequence of the i-th waterproof connector.
[0054] If the range value B of the pressure sequence is larger, it means that the pressure change amplitude in the pressure sequence of the i-th waterproof connector is more significant; if the difference divergence The larger the stability coefficient C is, the more significant the volatility between negative elements in the first-order difference sequence is, indicating that the difference in the pressure drop of the connector at different times is greater, and the worse the sealing effect of the connector is; if the stability coefficient C is smaller, it means that in the pressure sequence of the i-th waterproof connector, the drop between adjacent elements is higher, and the pressure inside the waterproof connector is more unstable. Therefore, if the drop index The larger it is, the more the internal pressure of the i-th waterproof connector changes frequently, and the greater the pressure drop, the greater the possibility that the sealing effect and waterproof performance of the i-th waterproof connector are worse.
[0055] In addition, if the assembly effect of the i-th waterproof connector is very good, the airtightness is very strong, and no turbulence occurs, the distribution of the collected acoustic wave data is relatively consistent; if the assembly effect of the i-th waterproof connector is not good, there are gaps, and turbulence occurs. Due to the unstable characteristics of turbulence, the elements in the acoustic wave sequence will fluctuate greatly; and when turbulence just occurs, the internal pressure of the connector is large, and the turbulence intensity is large. As the internal pressure decreases, the turbulence intensity gradually decreases, which is reflected in the acoustic wave sequence as the initial element fluctuations are large and the element values are large. As the pressure decreases, the turbulence intensity gradually weakens, the element fluctuations decrease, and the element values become smaller.
[0056] In order to accurately analyze the trend of element changes in the sound wave sequence and the amplitude of element changes, the sound wave sequence is further decomposed and the data trend is extracted to more accurately reflect the data change characteristics in the sound wave sequence.
[0057] The acoustic wave sequence of the i-th waterproof connector is used as the input of the STL (Seasonal and Trend decomposition using Loess) sequence decomposition algorithm to obtain the trend items of each element in the acoustic wave sequence, and the trend items of all elements in the acoustic wave sequence are combined into a trend sequence of the acoustic wave sequence. Each trend item in the trend sequence and its corresponding position sequence are combined into two-dimensional data points, and the least squares method is used to perform straight line fitting on all the two-dimensional data points in the trend sequence. The absolute value of the slope of the fitting line is recorded as the overall change index of the corresponding acoustic wave sequence. The larger the overall change index, the greater the amplitude of the data trend change in the acoustic wave sequence, and the greater the possibility of abnormal air tightness of the waterproof connector. The schematic diagram of the STL sequence decomposition of the acoustic wave sequence is shown in the figure. Figure 3 As shown, Figure 3 The horizontal axis is the order of elements in the sound wave sequence, and the vertical axis is the output of the STL sequence decomposition algorithm: residual term, seasonal term, and trend term.
[0058] All peaks in the acoustic wave sequence of each waterproof connector are obtained through the AMPD (Automatic multiscale-based peak detection) peak detection algorithm. Among them, the STL decomposition algorithm, the least squares method, and the AMPD peak detection algorithm are all existing well-known technologies and will not be described in detail. The implementer can choose other existing feasible sequence decomposition algorithms, straight line fitting algorithms, and peak detection algorithms according to actual conditions, and this embodiment does not limit this.
[0059] Taking the u-th peak in the sound wave sequence of the i-th waterproof connector as an example, the subsequence composed of all sound wave data between the u-th peak and the u-1-th peak is recorded as the leading range sequence of the u-th peak. It should be noted that: if the u-th peak is the first peak in the sound wave sequence, the subsequence composed of all sound wave data before the u-th peak is recorded as the leading range sequence of the u-th peak, so the leading range sequence of each peak in the sound wave sequence can be obtained.
[0060] Calculate the variance of all the acoustic wave data in the leading range sequence of each peak value in the acoustic wave sequence, recorded as the leading variance, take the position sequence corresponding to each peak value in the acoustic wave sequence and the leading variance corresponding to it as each two-dimensional data group, use the least square method to perform straight line fitting on the two-dimensional data group corresponding to all the peak values in the acoustic wave sequence, recorded as the peak variance fitting straight line. Calculate the shortest distance between each two-dimensional data group of the acoustic wave sequence and the peak variance fitting straight line, and find the mean of all the shortest distances corresponding to the acoustic wave sequence; take the product of the absolute value of the slope of the peak variance fitting straight line and the mean as the trend change index of the corresponding acoustic wave sequence. Among them, the distance calculation between the point and the line is an existing known technology, which will not be described in detail here.
[0061] It should be understood that the mean reflects the degree of change of each front range sequence over time. If the mean is smaller, it means that the local fluctuation degree of the acoustic wave data has remained stable, and the overall change of the acoustic wave sequence is relatively stable; and if the mean is larger, it means that the local fluctuation degree of the acoustic wave data at different times changes more, which is more consistent with the random characteristics caused by turbulence, and the waterproof connector is more likely to leak. The smaller the absolute value of the slope of the peak variance fitting line, the smaller the change in the fluctuation trend between the peak values; the larger the absolute value of the slope of the peak variance fitting line, the more obvious the change in the fluctuation degree of the acoustic wave sequence over time. Therefore, the larger the trend change index of the acoustic wave sequence, the more it means that the fluctuation degree of the acoustic wave data in the acoustic wave sequence is not stable, and the corresponding waterproof connector is more likely to leak.
[0062] Combining the overall change index and trend change index of the acoustic wave sequence of each waterproof connector, the fluctuation index of the acoustic wave sequence of each waterproof connector is calculated. The specific calculation method is: ; In the formula, is the fluctuation index of the acoustic wave sequence of the ith waterproof connector; F is the overall change index of the acoustic wave sequence of the ith waterproof connector; G is the trend change index of the acoustic wave sequence of the ith waterproof connector.
[0063] If the overall change index F of the sound wave sequence is larger, it means that the trend change amplitude of the sound wave sequence is more obvious; if the trend change index G of the sound wave sequence is larger, it means that the local fluctuation of the sound wave sequence is more unstable, has greater random characteristics, and has obvious overall trend changes. Therefore, if the fluctuation index of the sound wave sequence is The larger it is, the greater the possibility that the local volatility of the acoustic wave sequence of the i-th waterproof connector has changed and the data has changed significantly, which reflects that the waterproof performance of the i-th waterproof connector is worse.
[0064] S3, based on the difference in element distribution in the pressure sequence and the sound wave sequence between any waterproof connector and the other waterproof connectors of the same batch, determine the distinctive characteristic degree of each waterproof connector; the drop index and the fluctuation index constitute the leakage vector of each waterproof connector, cluster the leakage vectors of all waterproof connectors of the same batch, analyze the distribution of all leakage vectors in the cluster where the leakage vector of each waterproof connector is located, and combine the distinctive characteristic degree to obtain the leakage index of each waterproof connector.
[0065] Furthermore, in order to avoid errors in the waterproof performance test of the waterproof connector and ensure the accuracy of the waterproof performance test, when analyzing the pressure sequences and sound wave sequences of each waterproof connector of the same batch, the differences in the pressure sequences and sound wave sequences of different waterproof connectors can be compared to identify abnormal waterproof connectors, improve detection accuracy and prevent false detection.
[0066] Since, for the pressure sequence and sound wave sequence of each waterproof connector, the last element therein represents the final floating state of the pressure sequence and the sound wave sequence, therefore, for the i-th waterproof connector in the same batch, the mean of the absolute value of the difference between the last element in the pressure sequence of the i-th waterproof connector and the last element in the pressure sequences of all other waterproof connectors is calculated, which is recorded as the first mean; the mean of the absolute value of the difference between the last element in the sound wave sequence of the i-th waterproof connector and the last element in the sound wave sequences of all other waterproof connectors is calculated, which is recorded as the second mean; the mean of the first mean and the second mean of the i-th waterproof connector is used as the distinctive characteristic of the i-th waterproof connector.
[0067] The larger the distinctive characteristic degree is, the greater the difference between the waterproof performance of the ith waterproof connector and other waterproof connectors in the same batch is, and the greater the possibility of leakage in the ith waterproof connector is. Based on this, the distinctive characteristic degree of each waterproof connector in the same batch can be obtained.
[0068] Taking the ith waterproof connector as an example, the drop index of the pressure sequence of the ith waterproof connector and the fluctuation index of the sound wave sequence are combined to form the leakage vector of the ith waterproof connector, which is recorded as The same method is used to obtain the leakage vectors of all waterproof connectors in the same batch.
[0069] The leakage vectors of all waterproof connectors in the same batch are used as the input of the DPC (density peaks clustering) density clustering algorithm, and the cross-validation method is used to obtain the cutoff distance of the DPC clustering algorithm. The output of the DPC density clustering algorithm is each clustering cluster. Among them, the DPC density clustering algorithm and the cross-validation method are both existing well-known technologies and will not be repeated here. The implementer can choose other existing feasible clustering algorithms according to actual conditions, such as the DBSCAN clustering algorithm, the K-means clustering algorithm, etc.
[0070] Calculate the leakage index of each waterproof connector. The specific calculation method is: , where is the leakage index of the ith waterproof connector, is the mean value of the modulus of all leakage vectors in the cluster where the leakage vector of the i-th waterproof connector is located, is the distinctive characteristic of the i-th waterproof connector, is the number of all leakage vectors in the cluster where the leakage vector of the i-th waterproof connector is located. The leakage index construction flow chart of the waterproof connector is as follows: Figure 4 shown.
[0071] Mean It reflects the average leakage intensity of the cluster where the leakage vector of the i-th waterproof connector is located. The larger the value is, the more significant the leakage characteristics of the waterproof connector in the cluster are, and the greater the possibility that the waterproof performance of the waterproof connector in the cluster is unqualified. Reflects the difference between the ith waterproof connector and other waterproof connectors, The larger the value is, the greater the difference in waterproof performance between the ith waterproof connector and other waterproof connectors is, and the greater the possibility that the ith waterproof connector is abnormal. reflects the prevalence of the i-th waterproof connector. If The smaller it is, the fewer connectors have the same waterproof performance as the ith waterproof connector, and the greater the possibility that the ith waterproof connector is abnormal. The larger the value is, the greater the difference between the ith waterproof connector and other waterproof connectors is, and the more serious the leakage is, the greater the possibility that the waterproof performance of the ith waterproof connector is unqualified.
[0072] S4, performing a waterproof performance test on all waterproof connectors of the same batch based on the leakage index.
[0073] The leakage index of all waterproof connectors in the same batch is obtained and used as the input of the Otsu threshold method. The output is the segmentation threshold. The waterproof connectors with a leakage index greater than or equal to the segmentation threshold are judged as unqualified in waterproof performance, and the waterproof connectors with a leakage index less than the segmentation threshold are judged as qualified in waterproof performance.
[0074] It should be noted that the Otsu threshold method is an existing well-known technology, and implementers can choose other existing feasible threshold segmentation algorithms at their own discretion, and this embodiment does not limit this.
[0075] It should be noted that the above sequence of the embodiments of the present application is for description only and does not represent the advantages and disadvantages of the embodiments. The above is a description of a specific embodiment of this specification. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0076] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
[0077] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present application should be included in the protection scope of the present application.
Claims
1. A method for testing the waterproof performance of a waterproof connector, characterized in that: The method comprises the following steps: Collect the pressure data and sound wave data at each moment inside each waterproof connector of the same batch, and form the pressure sequence and sound wave sequence of each waterproof connector respectively; Analyze the decreasing degree of the elements in the pressure sequence and the discrete degree of the decreasing amount, and determine the decreasing index of the pressure sequence in combination with the distribution range of the elements in the pressure sequence; analyze the trend change of the sound wave sequence to determine the overall change index of the sound wave sequence; analyze the changing trend of the discrete degree of all sound wave data between each peak value and its adjacent peak value in the sound wave sequence, and determine the fluctuation index of the sound wave sequence in combination with the overall change index; Based on the difference in the distribution of elements in the pressure sequence and the sound wave sequence of any waterproof connector and the other waterproof connectors of the same batch, the distinctive characteristic degree of each waterproof connector is determined; the drop index and the fluctuation index form the leakage vector of each waterproof connector, the leakage vectors of all waterproof connectors of the same batch are clustered, the distribution of all leakage vectors in the cluster where the leakage vector of each waterproof connector is located is analyzed, and the leakage index of each waterproof connector is obtained in combination with the distinctive characteristic degree; Performing a waterproof performance test on all waterproof connectors of the same batch based on the leakage index; The determination process of the distinguishing characteristic degree is: Calculate the mean of the difference between the last element in the pressure sequence of any waterproof connector and the last element in the pressure sequences of all other waterproof connectors, and record it as the first mean; Calculate the mean of the difference between the last element in the acoustic wave sequence of any waterproof connector and the acoustic wave sequences of all other waterproof connectors, and record it as the second mean; The average of the first average value and the second average value is used as the distinguishing characteristic degree of any waterproof connector.
2. A waterproof performance testing method for a waterproof connector as claimed in claim 1, characterized in that: The determination of the decline index includes: Obtain the first-order difference sequence of the pressure sequence of each waterproof connector, and determine the stability coefficient of the pressure sequence based on the difference between the average level of all elements in the pressure sequence and the average level of all negative elements in its first-order difference sequence; Calculate the range of all elements in the pressure series; The degree of dispersion of negative elements in the first-order difference sequence of the pressure sequence is calculated, recorded as the difference divergence, and the fusion result of the extreme difference and the difference divergence is calculated. The decline index is the ratio of the fusion result to the stability coefficient.
3. A waterproof performance testing method for a waterproof connector as claimed in claim 2, characterized in that: The stability coefficient is the absolute value of the ratio of the average level of all elements in the pressure sequence to the average level of all negative elements in its first-order difference sequence.
4. A waterproof performance testing method for a waterproof connector as claimed in claim 1, characterized in that: The determination process of the overall change index is: A sequence decomposition algorithm is used to obtain the trend item of each element in the sound wave sequence to form a trend sequence of the sound wave sequence, and the slope of the fitting line of all elements in the trend sequence is obtained. The overall change index is the absolute value of the slope.
5. A waterproof performance testing method for a waterproof connector as claimed in claim 1, characterized in that: The determination process of the volatility index is: Based on the variation trend of the discrete degree, determining the trend variation index of the sound wave sequence; The fluctuation index is a fusion result of the trend change index and the overall change index.
6. A waterproof performance testing method for a waterproof connector as claimed in claim 5, characterized in that: The determination of the trend change index includes: The positions of the peaks in the acoustic wave sequence and their corresponding discrete degrees are grouped into two-dimensional data groups. Straight-line fitting is performed on all the two-dimensional data groups in the acoustic wave sequence. The mean of the distances between all the two-dimensional data groups and the corresponding fitting straight lines is calculated. The absolute value of the slope of the fitting straight line corresponding to the acoustic wave sequence and the fusion result of the mean are used as the trend change index of the acoustic wave sequence.
7. A method for testing the waterproof performance of a waterproof connector as claimed in claim 1, characterized in that: The leakage index is calculated as follows: ; In the formula, is the leakage index of the ith waterproof connector, is the mean value of the modulus of all leakage vectors in the cluster where the leakage vector of the i-th waterproof connector is located, is the distinctive characteristic of the i-th waterproof connector, is the number of all leakage vectors in the cluster where the leakage vector of the i-th waterproof connector is located.
8. A method for testing the waterproof performance of a waterproof connector as claimed in claim 1, characterized in that: The waterproof performance test of all waterproof connectors of the same batch based on the leakage index includes: The segmentation threshold of the leakage index of all waterproof connectors in the same batch is obtained. If the leakage index of the waterproof connector is greater than or equal to the segmentation threshold, it is determined that its waterproof performance is unqualified; otherwise, it is determined that its waterproof performance is qualified.
Citation Information
Patent Citations
Ultrasonic leak detection device based on deep learning
CN115420437A
Method and system for monitoring and diagnosing running state of circulating pump
CN118535945A