Flexible printed circuit harness defect detection method

Through the combination of high-precision sensor array and infrared thermal imaging technology, the Fourier transform and deep learning model are used for data fusion analysis, which solves the problems of insufficient detection accuracy and limited coverage of micro defects in flexible printed circuit wiring harnesses, and accurately locates and classifies hidden defects, and improves the ability to control production quality.

CN120064382AActive Publication Date: 2025-05-30CHANGDE FUBO INTELLIGENCE TECH CO LTD

Patent Information

Application Number
CN202510507128.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-22
Publication Date
2025-05-30
Estimated Expiration
2045-04-22

AI Technical Summary

Technical Problem

When detecting tiny defects of flexible printed circuit wiring harnesses, the accuracy is insufficient and the coverage is limited, making it difficult to detect and locate hidden defects in a timely manner, such as microcracks and poor contact.

Method used

The high-precision sensor array collects the wire harness resistance change data in real time, combines infrared thermal imaging technology to obtain temperature distribution information, and uses Fourier transform and deep learning models to perform data fusion analysis to achieve accurate positioning and classification of small defects, and uses Kalman filtering algorithm to dynamically predict defect locations.

Benefits of technology

It realizes rapid positioning and identification of hidden defects within the full length of the flexible printed circuit wiring harness, improves detection accuracy and coverage, and enhances the ability of production quality control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120064382A_ABST
    Figure CN120064382A_ABST
Patent Text Reader

Abstract

The invention provides a flexible printed circuit wiring harness defect detection method, which comprises the following steps: acquiring wiring harness resistance change data in real time through a high-precision sensor array, acquiring temperature distribution information in combination with an infrared thermal imaging technology, and performing data fusion analysis by using Fourier transform and a deep learning model to realize accurate positioning and classification of tiny defects. The Kalman filtering algorithm is also adopted to dynamically predict the defect position, and the configuration of the sensor is adaptively adjusted according to the detection result, so that the detection precision is improved. The multi-source data fusion real-time monitoring method can effectively identify hidden defects such as microcracks and poor contact in the wire harness production process, provides accurate data support for production quality control, facilitates timely discovery and solution of potential problems, and improves the production efficiency and the product reliability of the flexible printed circuit wire harness.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent manufacturing technology, and in particular to a method for detecting defects in a flexible printed circuit harness. Background Art

[0002] As a key technology in the field of modern electronic manufacturing, flexible printed circuit harnesses are widely used in high-reliability scenarios such as smart devices, automotive electronics, and aerospace. The optimization of their production methods directly determines product quality and system stability. Flexible harnesses, with their lightness, high density, and bendability, have become a core component that promotes the miniaturization and integration of electronic devices. However, how to ensure the continuity and reliability of harnesses while achieving efficient production is a technical bottleneck that needs to be broken through.

[0003] Current production inspection methods, such as traditional end-to-end continuity testing, are easy to operate, but often have significant limitations when faced with high-density multi-layer flexible wiring harnesses. These methods can usually only determine whether the circuit is connected or disconnected, and cannot accurately locate the specific location of minor defects, and are not sensitive enough to detect hidden problems such as microcracks or poor contact. This extensive inspection method is difficult to meet the stringent requirements of quality control in complex wiring harness structures, resulting in potential defects that may evolve into major failures in subsequent use.

[0004] In the production process of flexible printed circuit harnesses, the core challenges faced by defect detection are mainly concentrated on two technical factors: first, the detection accuracy is not enough to capture physical damage or resistance changes at the micron level, and second, the detection range is difficult to cover the entire length of the harness and achieve real-time online monitoring. Due to the particularity of flexible materials and the complexity of multi-layer structures, tiny defects may be concealed in production, and the low resolution and offline operation mode of traditional detection technology make these problems difficult to be discovered and located in time. This not only increases the rework cost, but may also affect the final reliability of the product.

[0005] Therefore, how to quickly locate and identify hidden defects such as microcracks and breakpoints by improving detection accuracy and coverage in the production of flexible printed circuit harnesses has become a key issue in quality control. The solution to this problem requires a technical breakthrough in the limitations of traditional detection methods and the development of a systematic solution that can continuously monitor and accurately locate defects over the entire length. Summary of the invention

[0006] In order to solve the technical problems raised in the above background technology, the present invention provides a method for detecting defects of a flexible printed circuit harness, the method comprising: S1. Obtain the real-time resistance data of the flexible printed circuit wire harness during the production process. Collect the resistance change values of each line segment through a high-precision sensor array, and perform signal amplification processing for micron-level fluctuations to obtain a preliminary resistance change distribution map; S2. Extract the abnormal fluctuation region from the resistance change distribution map, analyze the signal frequency characteristics using Fourier transform, determine whether there is a periodic change caused by a minor defect, and determine the coordinates of the potential physical damage location; S3. For the coordinates of the physical damage location, deploy an infrared thermal imager within the entire length of the wire harness to obtain the temperature distribution data on the surface of the wire harness during the production process. Through the spatial correspondence relationship between the thermal anomaly points and the resistance anomaly points, obtain a preliminary positioning set of hidden defects; S4. Through the preliminary positioning set of hidden defects, call the pre-established deep learning model to perform fusion analysis on the infrared thermal imaging data and the resistance change data, judge the specific types of microcracks or poor contacts, and determine the defect classification results with high confidence; S5. According to the defect classification results, generate a defect distribution vector for the entire length of the wire harness, and combine it with the time stamp sequence recorded in the real-time monitoring system to obtain the dynamic change trend of each defect during the production process; S6. Extract the evolution characteristics of the defects from the dynamic change trend, use the Kalman filter algorithm to predict and correct the defect positions, and determine the precise defect coordinate set within the entire length of the wire harness for the fast positioning requirement; S7. Through the precise defect coordinate set, generate a real-time monitoring report, and combine it with the equipment operation parameters during the production process to judge whether the defects exceed the preset defect threshold range, and obtain the production link data that needs to be adjusted; S8. According to the production link data, update the sensor configuration scheme of the real-time monitoring system, increase the sampling frequency for the areas with insufficient detection accuracy, obtain the optimized resistance change and temperature distribution data, and determine the new round of defect positioning results.

[0007] Optionally, the step S1, obtaining the real-time resistance data of the flexible printed circuit wire harness during the production process, collecting the resistance change values of each line segment through a high-precision sensor array, and performing signal amplification processing for micron-level fluctuations to obtain a preliminary resistance change distribution map, includes: Step S11. Collect the resistance data of each line segment through the sensor array, and use high-precision acquisition technology to process micron-level changes to obtain a real-time resistance data stream; Step S12. Extract the resistance fluctuation characteristics from the real-time resistance data stream, and use wavelet transform to perform signal amplification processing on micron-level changes to obtain an enhanced resistance fluctuation signal; Step S13. According to the enhanced resistance fluctuation signal, use the difference method to calculate the resistance change value of each line segment to obtain a resistance change data set; Step S14, if the fluctuation value in the resistance change dataset exceeds the preset fluctuation value threshold, then perform secondary calibration on the signal amplification result of the corresponding line segment using the least squares method to obtain the calibrated resistance change data; Step S15, classify the calibrated resistance change data using the K-means clustering algorithm to determine the resistance change category of each line segment; Step S16, generate a preliminary resistance change distribution map through the resistance change category, and obtain the resistance change trend of each line segment in the distribution map; Step S17, according to the resistance change trend, use the bilinear interpolation method to smooth the distribution map to obtain the optimized resistance change distribution map.

[0008] Optionally, in step S2, extract the abnormal fluctuation region from the resistance change distribution map, analyze the signal frequency characteristics using Fourier transform, determine whether there is a periodic change caused by a micro defect, and determine the coordinate of the potential physical damage position, including: Step S21, obtain the resistance change data through the distribution map and extract the abnormal fluctuation region; Step S22, use the fast Fourier transform (FFT) algorithm from the abnormal fluctuation region to obtain the signal frequency characteristics; Step S23, analyze the periodic change for the signal frequency characteristics to determine whether there is a regular fluctuation; Step S24, if the periodic change exceeds the preset periodic change threshold, then determine the existence of a micro defect; Step S25, obtain the coordinate of the physical damage through the signal frequency corresponding to the micro defect; Step S26, perform coordinate mapping using the bilinear interpolation method to determine the specific position of the physical damage in the distribution map; Step S27, compare the position coordinate with the resistance change data to judge the boundary of the damage range.

[0009] Optionally, in step S27, compare the position coordinate with the resistance change data to judge the boundary of the damage range, including: Step S271, obtain the resistance change data through the position coordinate and judge the boundary extraction result; Step S272, extract features from the resistance change data, and use the principal component analysis algorithm for dimensionality reduction to obtain the change analysis features; Step S273, calculate the coordinate offset according to the change analysis features to determine the position mapping relationship; Step S274, extract the boundary point set based on the position mapping relationship to judge the boundary of the damage range; Step S275, if the boundary point set exceeds a pre-set boundary point set threshold, determine the range determination result; Step S276, according to the range determination result, use the bilinear interpolation method to interpolate the boundary points to obtain the boundary coordinates of the damage range; Step S277, by comparing the boundary coordinates of the damage range with the resistance change data, obtain the boundary judgment basis.

[0010] Optionally, in step S4, through the preliminary positioning set of hidden defects, call a pre-established deep learning model to perform fusion analysis on the infrared thermal imaging data and the resistance change data, judge the specific types of microcracks or poor contacts, and determine the defect classification result with high confidence, including: Step S41, through the preliminary positioning set of hidden defects, use an infrared thermal imager to obtain infrared thermal imaging data, use a resistance tester to obtain resistance change data, and determine the preliminary analysis basis; Step S42, from the infrared thermal imaging data and the resistance change data, adopt a convolutional neural network model, pre-train the model on the training set, input the two types of data, and obtain the feature extraction result; Step S43, for the feature extraction result, use a support vector machine classifier to analyze the distribution characteristics of microcrack types and poor contacts, and judge the specific categories of defects; Step S44, if the feature intensity of the microcrack type exceeds a preset feature intensity threshold, adjust the weight parameters through the convolutional neural network model to determine the microcrack classification output; Step S45, if the distribution characteristics of the poor contact are consistent with the resistance change data, input the infrared thermal imaging data into the support vector machine classifier to obtain the poor contact classification output; Step S46, according to the microcrack classification output and the poor contact classification output, use the weighted average method to fuse and analyze the process results to judge the final type of defect classification; Step S47, through the final type of defect classification, call a confidence evaluation method based on probability to determine the confidence output of the classification result.

[0011] Optionally, in step S46, according to the microcrack classification output and the poor contact classification output, use the weighted average method to fuse and analyze the process results to judge the final type of defect classification, including: Step S461, extract the feature vectors of the two types of data from the microcrack classification and the poor contact classification output as the basis for preliminary fusion; Step S462, for the extracted feature vectors, use the weighted average method to process the distribution characteristics of microcrack classification and poor contact to obtain the fused feature vectors; Step S463: Based on the fused feature vectors, adjust the parameters through a pre-established neural network model to judge the tendency of defect classification. Step S464: According to the judgment result, obtain the preliminary type distribution of defect classification and determine the sorting result of type tendency. Step S465: According to the sorting result, use a support vector machine classifier to process the output of the fusion process to obtain the adjusted type of defect classification. Step S466: According to the adjusted type, re-fuse the analysis results by the weighted average method to determine the final type of defect classification. Step S467: According to the final type, extract the core features of the classification output from the result fusion to judge the integrity of business analysis.

[0012] Optionally, in step S5: According to the defect classification result, generate a defect distribution vector of the full length of the wire harness, and combine it with the time stamp sequence recorded in the real-time monitoring system to obtain the dynamic change trend of each defect in the production process, including: Step S51: Obtain the defect distribution data of the full length of the wire harness through the defect classification result and generate a distribution vector representation. Step S52: Extract the time stamp sequence from the real-time monitoring system, align the time stamp with the distribution vector in time, and generate a time-defect distribution matrix. Step S53: Based on the time-defect distribution matrix, calculate the change value of each defect at different time points to generate a time change sequence. Step S54: According to the time change sequence, adopt the moving average method to extract the preliminary dynamic trend. Step S55: For the preliminary dynamic trend, set a sliding window with a fixed size, calculate the change rate within the window, and generate smooth trend data. Step S56: If there are abnormal points in the smooth trend data, use the mean filtering method to replace the values of the abnormal points with the mean value within the window to generate a stable trend result. Step S57: According to the stable trend result, with time as the independent variable and defect distribution as the dependent variable, use the linear regression algorithm to calculate the long-term change slope of each defect to generate a trend direction value. Step S58: According to the trend direction value, accumulate the slope values at each time point to generate an accumulated change slope sequence, and determine the dynamic change trend of each defect in the production process.

[0013] Optionally, in step S6: Extract the evolution characteristics of the defect from the dynamic change trend, use the Kalman filtering algorithm to predict and correct the defect position, and determine the precise defect coordinate set within the full length of the wire harness for fast positioning requirements, including: Step S61: Obtain defect evolution data from dynamic changes, extract key features using the principal component analysis method, and obtain an evolution feature set; Step S62: Use the Kalman filter algorithm to filter the evolution feature set to obtain a preliminarily predicted defect position; Step S63: For the preliminarily predicted defect position, use the least squares method for correction to determine optimized defect position data; Step S64: Extract the position change law from the optimized defect position data through linear regression analysis to obtain the position distribution of the entire length of the wire harness; Step S65: If the position distribution exceeds the preset position distribution threshold, use the K-nearest neighbor algorithm to match the fast positioning requirement to obtain an adjusted defect position set; Step S66: According to the position distribution within the entire length of the wire harness and the adjusted defect position set, use the interpolation method to determine an accurate coordinate set; Step S67: Obtain the final defect location result through the mapping relationship between the coordinate set and the defect position.

[0014] Optionally, step S8: According to the production link data, update the sensor configuration scheme of the real-time monitoring system, increase the sampling frequency for areas with insufficient detection accuracy, obtain optimized resistance change and temperature distribution data, and determine a new round of defect location results, including: Step S81: Obtain the configuration data of the real-time monitoring system from the production link, generate sensor configuration update data, and extract preliminary optimization parameters; Step S82: Update the sampling frequency of the monitoring system according to the sampling frequency adjustment value in the preliminary optimization parameters, obtain the adjusted resistance change data, and draw a resistance change trend graph; Step S83: Combine the resistance change trend graph with the sampling frequency adjustment value to generate optimized temperature distribution data and calculate the temperature distribution uniformity; Step S84: If the temperature distribution uniformity is lower than the uniformity threshold, readjust the sensor configuration, obtain updated monitoring data, and generate a preliminary defect location result; Step S85: According to the preliminary defect location result, use the K-means algorithm to cluster the resistance change data and temperature distribution data, extract the defect distribution characteristics after clustering, and generate accurate defect positions; Step S86: According to the accurate defect positions, adjust the parameter configuration of the real-time monitoring system, obtain optimized system operation data, and calculate the system stability; Step S87: If the system stability meets the preset conditions, use the support vector machine algorithm to verify the defect location result, generate verified defect distribution data, and determine the final optimization result.

[0015] Optionally, in step S86, according to the exact defect position, adjust the parameter configuration of the real-time monitoring system, obtain the optimized system operation data, and calculate the system stability, including: Step S861: Generate defect distribution data based on the exact defect and position information, use the KMeans algorithm to cluster the defect distribution data, extract the feature distribution, and obtain a preliminary classification result; Step S862: For the preliminary classification result, obtain the dynamically updated data from the real-time monitoring, calculate the data change trend, and determine the change characteristics; Step S863: Update the parameter configuration according to the change characteristics, obtain the adjusted operation data, and judge the data consistency; Step S864: If the data consistency is lower than the consistency threshold, regenerate the optimized operation data to obtain the stable parameters; Step S865: Adjust the monitoring system through the stable parameters, obtain the optimized dynamic data, and calculate the system response time; Step S866: Verify the operation data according to the system response time, generate the verified distribution data, and determine the final feature distribution; Step S867: If the final feature distribution meets the preset conditions, use the support vector machine to classify the distribution data to obtain the classified operation status.

[0016] A method for detecting defects in a flexible printed circuit wire harness provided by the present invention collects the wire harness resistance change data in real time through a high-precision sensor array, combines the infrared thermal imaging technology to obtain the temperature distribution information, and uses the Fourier transform and the deep learning model for data fusion analysis to realize the precise positioning and classification of micro-defects. The present invention also uses the Kalman filter algorithm to dynamically predict the defect position and adaptively adjust the sensor configuration according to the detection result to improve the detection accuracy. This real-time monitoring method of multi-source data fusion can effectively identify hidden defects in the wire harness production process, such as micro-cracks and poor contacts, etc., provides accurate data support for production quality control, helps to timely discover and solve potential problems, and improves the production efficiency and product reliability of the flexible printed circuit wire harness. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 It is a flowchart of a method for detecting defects in a flexible printed circuit wire harness of the present invention.

[0018] Figure 2 It is a flowchart of the second embodiment of a method for detecting defects in a flexible printed circuit wire harness of the present invention. DETAILED DESCRIPTION OF THE INVENTION

[0019] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts belong to the scope of protection of the present invention.

[0020] As Figure 1 - Figure 2 , a method for detecting defects in a flexible printed circuit harness provided by the present invention may specifically include: S1. Obtain real-time resistance data of the flexible printed circuit harness during the production process, collect the resistance change values of each line segment through a high-precision sensor array, perform signal amplification processing on micron-level fluctuations, and obtain a preliminary resistance change distribution map.

[0021] Optionally, this step further includes: Step S11. Collect the resistance data of each line segment through the sensor array, and use high-precision acquisition technology to process micron-level changes to obtain real-time resistance data streams.

[0022] Step S12. Extract the resistance fluctuation characteristics from the real-time resistance data streams, use wavelet transform to perform signal amplification processing on micron-level changes, and obtain enhanced resistance fluctuation signals.

[0023] Step S13. According to the enhanced resistance fluctuation signals, use the difference method to calculate the resistance change values of each line segment to obtain a resistance change data set.

[0024] Step S14. If the fluctuation value in the resistance change data set exceeds the preset fluctuation value threshold, then perform secondary calibration on the signal amplification result of the corresponding line segment using the least squares method to obtain calibrated resistance change data.

[0025] Step S15. Use the K-means clustering algorithm to classify the calibrated resistance change data to determine the resistance change category of each line segment.

[0026] Step S16. Generate a preliminary resistance change distribution map through the resistance change category, and obtain the resistance change trend of each line segment in the distribution map.

[0027] Step S17. According to the resistance change trend, use bilinear interpolation to smooth the distribution map to obtain an optimized resistance change distribution map.

[0028] Exemplarily, when collecting the resistance data of each line segment through the sensor array, a high-precision acquisition technology can be imagined to be applied to the microcircuit detection scenario.

[0029] Exemplarily, assume this is a manufacturing process of a flexible electronic skin. The sensor array is distributed on tiny line segments on the skin surface, and each line segment is only a few micrometers in length. During the acquisition process, the sensors record the resistance values at a frequency of 1000 times per second, capturing micrometer-level changes caused by external pressure or temperature. This high-precision acquisition can ensure that the real-time resistance data stream contains sufficient details, providing a reliable basis for subsequent analysis. When extracting the resistance fluctuation characteristics from the real-time resistance data stream, wavelet transform is an effective tool.

[0030] It should be noted that wavelet transform can amplify the weak fluctuations of micrometer-level changes by decomposing the signal into different frequency components.

[0031] For example, in a flexible electronic skin, when a certain line segment is slightly pressed, its resistance may rise slightly from 10 ohms to 10.2 ohms. Wavelet transform separates and enhances this subtle change, generating a clear fluctuation signal. The advantage of this signal amplification process is that even if the initial change is extremely small, it can be accurately captured and used for further analysis. When calculating the resistance change value based on the enhanced resistance fluctuation signal, the difference method can intuitively reflect the dynamic changes of each line segment.

[0032] Specifically, assume that the resistance value of a certain line segment changes from 10 ohms to 10.5 ohms within 1 second, and the difference method calculates the change value to be 0.5 ohms. By repeating this process for all line segments, a resistance change data set is obtained. This method is simple and efficient, can quickly quantify the change trend, and provides data support for subsequent judgment of the fluctuation value threshold. If the fluctuation value in the resistance change data set exceeds the preset fluctuation value threshold, for example, the set threshold is 0.3 ohms, then the signal of the over-standard line segment needs to be calibrated again.

[0033] In a possible implementation, the change value of a certain line segment is 0.5 ohms, exceeding the fluctuation value threshold. The least squares method is used to fit the amplified signal of this line segment to eliminate noise interference, and finally the adjusted change value after calibration is adjusted to 0.45 ohms. This calibration can improve the accuracy of the data, avoid misjudgment caused by noise, and enhance the reliability of subsequent classification. When using the K-means clustering algorithm to classify the calibrated resistance change data, the line segments can be divided into three categories: stable, slightly fluctuating, and significantly fluctuating.

[0034] For example, the change values in the range of 0 - 0.1 ohms are classified as the stable category, 0.1 - 0.3 ohms as the slightly fluctuating category, and those exceeding 0.3 ohms as the significantly fluctuating category.

[0035] In an embodiment, among 10 line segments in a certain area, 8 belong to the stable category and 2 belong to the significantly fluctuating category. This classification helps to quickly identify abnormal line segments and lays a foundation for the subsequent generation of the distribution map. When generating a preliminary distribution map through the resistance change categories, the change trend of each line segment can be visually displayed.

[0036] Preferably, assume that there are 100 line segments in a certain area of the electronic skin. The distribution map shows that most of the line segments near the edge are significantly fluctuating types, and most of the central areas are stable types. This reflects the trend that the edge is more vulnerable to external forces, providing a basis for optimizing the design. When using the bilinear interpolation method to smooth the distribution map according to the resistance change trend.

[0037] It can be understood that this method makes the transition of the distribution map more natural through the weighted average of neighboring points.

[0038] For example, the change value of a certain line segment is 0.45 ohms, the neighboring line segment is 0.1 ohms, and the smoothed value after interpolation is about 0.3 ohms. The optimized distribution map is not only beautiful but also can more accurately reflect the overall change law, helping to discover potential problems and improve the detection accuracy.

[0039] S2. Extract the abnormal fluctuation area from the resistance change distribution map, analyze the signal frequency characteristics using Fourier transform, judge whether there is a periodic change caused by a micro defect, and determine the coordinate of the potential physical damage position.

[0040] Optionally, this step further includes: Step S21. Obtain the resistance change data through the distribution map and extract the abnormal fluctuation area.

[0041] Step S22. Use the fast Fourier transform (FFT) algorithm from the abnormal fluctuation area to obtain the signal frequency characteristics.

[0042] Step S23. Analyze the periodic change for the signal frequency characteristics and judge whether there is a regular fluctuation.

[0043] Step S24. If the periodic change exceeds the preset periodic change threshold, it is determined that there is a micro defect.

[0044] Step S25. Obtain the position coordinate of the physical damage through the signal frequency corresponding to the micro defect.

[0045] Step S26. Use the bilinear interpolation method for coordinate mapping to determine the specific position of the physical damage in the distribution map.

[0046] Step S27. Judge the boundary of the damage range by comparing the position coordinate with the resistance change data.

[0047] Exemplarily, after obtaining the resistance change data through the distribution map, extracting the abnormal fluctuation area is the key starting point for subsequent analysis.

[0048] It can be understood that the distribution map shows the resistance change of each line segment in the flexible printed circuit harness, and the abnormal fluctuation area often means potential problems.

[0049] For example, in the detection of flexible electronic skin, if the resistance change value in a certain area suddenly jumps from an average of 0.2 ohms to 0.8 ohms, this may indicate an abnormality in that area. When extracting, an abnormal area can be marked by setting a dynamic range, such as an area deviating more than 2 times from the mean. This method can quickly lock the area that needs attention. When using the fast Fourier transform algorithm on the abnormal fluctuation area, the purpose is to convert the time-domain signal into a frequency-domain signal and extract the frequency characteristics.

[0050] Exemplarily, assume that the resistance value in a certain abnormal area shows irregular fluctuations within 1 second. The fast Fourier transform can decompose the frequency components corresponding to these fluctuations.

[0051] Specifically, after the transformation, a significant 5-hertz frequency peak may be found, indicating that the fluctuations have a certain periodicity. The extraction of this frequency characteristic provides a quantitative basis for subsequent judgment. When analyzing the periodic changes in the signal frequency characteristics, it is necessary to determine whether the fluctuations are regular.

[0052] In a possible implementation, if the 5-hertz frequency peak continuously appears and the amplitude is stable, it can be considered that there are regular fluctuations. On the contrary, if the frequency distribution is scattered, for example, random peaks of 3 hertz, 7 hertz, and 10 hertz appear simultaneously, it may be just noise interference. This analysis can effectively distinguish between true periodic signals and disordered perturbations. If the periodic change exceeds the preset periodic change threshold, it can be inferred that there are minor defects.

[0053] Preferably, assume that the periodic change threshold is set to a frequency amplitude exceeding 0.5 units, and the 5-hertz peak in a certain area reaches 0.7 units, exceeding the periodic change threshold. At this time, it can be determined that there may be defects such as minor cracks or material fatigue in this area. This judgment method improves the sensitivity of defect detection. When obtaining the physical damage position coordinates through the signal frequency corresponding to the minor defect, the frequency characteristics play a positioning role.

[0054] For example, the 5-hertz periodic fluctuations may correspond to the mechanical stress concentration area of a specific line segment.

[0055] In one embodiment, through a pre-established frequency-position mapping table, 5 hertz is associated with the 25th line segment in the distribution map. This method utilizes the correspondence between signal characteristics and physical positions. When using the bilinear interpolation method for coordinate mapping, the position of the damage in the distribution map can be determined more precisely.

[0056] Specifically, assume that the coordinates of the 25th line segment are x = 5 and y = 3, and the frequency characteristics of the adjacent line segments are weak. After interpolation, the coordinates of the damage center may be obtained as x = 5.2 and y = 3.1. This smooth mapping can refine the positioning accuracy and avoid position ambiguity. When determining the boundary of the damage range by comparing the position coordinates with the resistance change data, the original data can be combined for verification.

[0057] In one embodiment, the resistance change value of the line segment near the coordinates x = 5.2 and y = 3.1 is 0.8 ohms, and it gradually drops below 0.3 ohms at the boundary. Through comparison, the damage range can be delimited as a region centered on these coordinates with a radius of about 2 line segment units. This boundary judgment helps to comprehensively grasp the distribution of the damage.

[0058] It should be noted that each of the above steps is closely linked. From the extraction of the abnormal area to the determination of the boundary, a complete analysis chain is formed. The implementation of each technical theme closely revolves around the detection requirements of the flexible printed circuit harness, ensuring the rigor and practicality of the logic.

[0059] Optionally, in step S27, when determining the boundary of the damage range by comparing the position coordinates with the resistance change data, it further includes: Step S271, obtaining the resistance change data through the position coordinates and judging the boundary extraction result.

[0060] Step S272, extracting features from the resistance change data, performing dimensionality reduction using the principal component analysis algorithm, and obtaining the change analysis features.

[0061] Step S273, calculating the coordinate offset according to the change analysis features and determining the position mapping relationship.

[0062] Step S274, extracting the boundary point set based on the position mapping relationship and judging the boundary of the damage range.

[0063] Step S275, if the boundary point set exceeds the pre-set boundary point set threshold, then determine the range determination result.

[0064] Step S276, according to the range determination result, using bilinear interpolation to interpolate the boundary points to obtain the coordinates of the damage range boundary.

[0065] Step S277, comparing the coordinates of the damage range boundary with the resistance change data to obtain the boundary judgment basis.

[0066] Exemplarily, when obtaining the resistance change data through the position coordinates and judging the boundary extraction result, it can be understood that the core of this process is to start from the known coordinate points and analyze in combination with the distribution of the resistance change.

[0067] In a possible implementation, assume that a certain position coordinate is x = 5, y = 3, and the corresponding resistance change value is 2.1 milliohms. By comparing the resistance values with the surrounding coordinates, such as 1.8 milliohms at x = 4, y = 3 and 2.3 milliohms at x = 6, y = 3, it can be preliminarily judged that this point may be near the boundary. This method relies on the continuity of data and can quickly locate the abnormal area.

[0068] Specifically, when extracting features from the resistance change data and using the principal component analysis algorithm for dimensionality reduction, the purpose is to simplify the high-dimensional data into a set of key features.

[0069] Exemplarily, assume that the original data contains multi-dimensional information such as resistance values, time, and position. Principal component analysis can transform these variables into a few principal components. For example, the first principal component reflects the overall change trend, and the second principal component highlights local fluctuations. This way of dimensionality reduction helps to reduce redundant information and facilitates subsequent analysis.

[0070] In one embodiment, when calculating the coordinate offset and determining the position mapping relationship according to the change analysis features, the offset can be calculated through the distribution of eigenvalues.

[0071] For example, the value of the first principal component changes from 0.5 to 0.8 in a certain area. Combining with the coordinate grid, it is speculated that the offset is about 0.3 units. The establishment of this mapping relationship provides a basis for subsequent boundary extraction.

[0072] Preferably, when extracting the boundary point set based on the position mapping relationship and judging the boundary of the damage range, it can be screened by setting a threshold for the boundary point set.

[0073] For example, points with an offset greater than 0.2 are classified into the boundary point set. Assume that 10 boundary points are extracted in a certain area, distributed between x = 4 to 6 and y = 2 to 4. This indicates that the damage range may be concentrated within this grid. This method improves the accuracy of boundary recognition.

[0074] When determining the range result if the boundary point set exceeds the pre-set boundary point set threshold, it should be noted that the selection of the boundary point set threshold is crucial.

[0075] For example, if the pre-set upper limit of the boundary point set is 8, and 10 are actually extracted, it is confirmed that the range has exceeded the expectation. This determination method can effectively distinguish normal fluctuations from abnormal damage.

[0076] When using bilinear interpolation to interpolate boundary points according to the range determination result to obtain boundary coordinates, in one possible implementation, assuming that interpolation is required between boundary points x = 4, y = 2 and x = 6, y = 4, and the combined resistance change values are 2.0 and 2.5 milliohms respectively, the value of the intermediate point x = 5, y = 3 can be estimated to be 2.25 milliohms, and the corresponding precise coordinates are generated therefrom. This interpolation method can refine the boundary description.

[0077] For example, when obtaining the boundary judgment basis by comparing the boundary coordinates of the damage range with the resistance change data, the resistance value of the boundary coordinates x = 5, y = 3 is 2.25 milliohms, which is significantly different from the 1.5 milliohms of the surrounding non-boundary points, indicating that the boundary division is reasonable. This comparison verifies the reliability of the range determination and provides data support for subsequent analysis.

[0078] It can be understood that the implementation of each of the above steps is carried out around the analysis of the relationship between resistance change and position, progressing step by step. From feature extraction to boundary interpolation, each step provides support for the final judgment of the damage range. This method can improve the positioning accuracy and analysis efficiency in practical applications.

[0079] S3. For the physical damage position coordinates, deploy an infrared thermal imager within the full length range of the wire harness to obtain the temperature distribution data on the surface of the wire harness during the production process, and obtain the preliminary positioning set of hidden defects through the spatial correspondence relationship between the thermal anomaly points and the resistance anomaly points.

[0080] Optionally, this step further includes: Step S31. Deploy an infrared thermal imager along the full length of the wire harness to obtain the temperature distribution data on the surface of the wire harness during the production process, and generate a temperature distribution image.

[0081] Step S32. Extract the temperature values in the temperature distribution image, use a preset temperature threshold to judge the abnormal area, and determine the set of thermal anomaly points.

[0082] Step S33. Detect the resistance distribution within the full length range of the wire harness through a resistance measuring device, extract the resistance anomaly point data, and generate a set of resistance anomaly points.

[0083] Step S34. Perform a spatial comparison between the set of thermal anomaly points and the set of resistance anomaly points to obtain the set of overlapping areas.

[0084] Step S35. In the set of overlapping areas, use the K-means clustering algorithm to perform a preliminary positioning of the defects and generate a set of defect positions.

[0085] Step S36. Combine the temperature distribution image and the resistance distribution data to perform a spatial feature analysis on the areas in the set of defect positions and generate a corrected set of positions.

[0086] Step S37: In the corrected positioning set, use the support vector machine algorithm to classify the defects and determine the final hidden defect positioning result.

[0087] Exemplarily, when deploying an infrared thermal imager along the entire length of the wire harness, it can be understood that this method utilizes thermal imaging technology to capture subtle changes in the surface temperature of the wire harness.

[0088] Exemplarily, on the production line of a flexible printed circuit wire harness, the infrared thermal imager is installed above the conveyor belt, covering the entire length range of the wire harness. Through real-time scanning, the acquired data reflects the temperature conditions of each part of the wire harness. For example, the surface temperature of a certain section of the wire harness is 35 degrees, while another section suddenly rises to 45 degrees. The generation of this temperature distribution image provides intuitive basic data for subsequent analysis. When extracting temperature values from the temperature distribution image, a reasonable temperature threshold needs to be set to determine the abnormal area.

[0089] For example, assume that the normal temperature range is 30 to 40 degrees, and the temperature threshold is set such that areas exceeding 40 degrees are marked as abnormal.

[0090] In one embodiment, an image of a certain wire harness shows that the temperature in the area near the edge reaches 43 degrees, which is significantly high, and these points are included in the set of thermal abnormal points. This method can quickly screen out potential problem areas and improve the detection efficiency. When detecting the wire harness with a resistance measurement device, the purpose is to obtain specific data on the resistance distribution.

[0091] Preferably, use a high-precision multimeter to measure the wire harness section by section and record the resistance value of each section.

[0092] For example, the resistance value of a certain section jumps from a normal 0.3 ohm to 0.9 ohm, and such abnormal points are extracted to form a set of resistance abnormal points. The independence of this data provides a reliable basis for subsequent comparison. When performing a spatial comparison between the set of thermal abnormal points and the set of resistance abnormal points, the overlap of the problem areas can be found.

[0093] Specifically, assume that the thermal abnormal points are concentrated in wire segments 10 to 15, and the resistance abnormal points also coincide in this range. Then these overlapping areas may hide defects. This comparison method utilizes the complementarity of multi-source data and enhances the accuracy of positioning. When using the K-means clustering algorithm to perform a preliminary positioning of the overlapping area, the algorithm will group the abnormal points according to the spatial distribution.

[0094] Exemplarily, assume that there are 20 abnormal points in the overlapping area, the value of K is set to 3, and after clustering, it is divided into three groups, which are concentrated near wire segments 12, 14, and 16 respectively. This grouping provides a structured result for the preliminary positioning of the defects and facilitates subsequent analysis. When performing a spatial feature analysis by combining the temperature distribution image and the resistance distribution data, the positioning result can be further corrected.

[0095] In a possible implementation, the 12th line segment after clustering shows a temperature of 42 degrees and a resistance of 0.8 ohms, while the temperature and resistance in the adjacent area gradually return to normal. By comparing these features, the corrected positioning may lock the center of the defect at the 12.5th line segment. This refinement process improves the accuracy of the positioning. When using the support vector machine algorithm to classify the defects, the purpose is to distinguish the types of the defects.

[0096] For example, when inputting the corrected positioning set data and combining the temperature and resistance features, the algorithm may classify a certain defect as "material fatigue" and another as "poor contact".

[0097] In one embodiment, the features of the 12.5th line segment are marked as material fatigue, and this result provides a clear basis for judgment for the final hidden defect positioning. This classification method can effectively guide the subsequent maintenance decision-making.

[0098] S4. Through the preliminary positioning set of hidden defects, call the pre-established deep learning model to perform fusion analysis on the infrared thermal imaging data and the resistance change data, judge the specific types of microcracks or poor contact, and determine the defect classification result with high confidence.

[0099] Optionally, this step further includes: Step S41. Through the preliminary positioning set of hidden defects, use an infrared thermal imager to obtain infrared thermal imaging data, and use a resistance tester to obtain resistance change data to determine the basis for preliminary analysis.

[0100] Step S42. From the infrared thermal imaging data and the resistance change data, adopt a convolutional neural network model, pre-train the model on the training set, input the two types of data, and obtain the feature extraction result.

[0101] Step S43. For the feature extraction result, use a support vector machine classifier to analyze the distribution characteristics of microcrack types and poor contact, and judge the specific categories of the defects.

[0102] Step S44. If the feature intensity of the microcrack type exceeds the preset feature intensity threshold, then adjust the weight parameters through the convolutional neural network model to determine the microcrack classification output.

[0103] Step S45. If the distribution characteristics of the poor contact are consistent with the resistance change data, then input the infrared thermal imaging data into the support vector machine classifier to obtain the poor contact classification output.

[0104] Step S46. According to the microcrack classification output and the poor contact classification output, use the weighted average method to fuse and analyze the process results to judge the final type of the defect classification.

[0105] Step S47: Based on the final type of defect classification, call the probability-based confidence evaluation method to determine the confidence output of the classification result.

[0106] Exemplarily, when obtaining infrared thermal imaging data and resistance change data through the preliminary positioning set of hidden defects, it can be understood that this step lays the foundation for subsequent analysis.

[0107] Exemplarily, on a wire harness production line, an infrared thermal imager is placed at a fixed position. When scanning a certain section of the wire harness, the temperature change trend from 38 degrees to 42 degrees is recorded. At the same time, a resistance tester measures section by section, and it is found that the resistance in a certain area rises from 0.4 ohms to 0.7 ohms. These data respectively reflect the abnormal fluctuations of temperature and resistance, providing the original basis for the next step of processing.

[0108] In a possible implementation, when extracting features from infrared thermal imaging data and resistance change data, a convolutional neural network model is used to process multi-dimensional information. The model has pre-learned a large number of wire harness defect samples on the training set, such as the distribution shape of temperature abnormal areas and the amplitude of resistance mutations.

[0109] Specifically, when inputting a thermal imaging map showing that the temperature of a certain section reaches 44 degrees and combining it with the resistance data of 0.8 ohms, the model extracts the edge features and change trends of the abnormal area through the convolutional layer. This method can convert complex data into an analyzable feature set, facilitating subsequent classification. When using a support vector machine classifier for the feature extraction results, the purpose is to distinguish microcracks and poor contacts.

[0110] Preferably, the classifier sets the temperature gradient feature and resistance jump feature of microcracks according to the training data.

[0111] For example, if the temperature of a certain section of the wire harness rises rapidly from 36 degrees to 43 degrees and the resistance changes from 0.3 ohms to 0.9 ohms, the classifier determines it as the microcrack type. In another embodiment, if the temperature only fluctuates slightly to 41 degrees while the resistance changes frequently, it may be a manifestation of poor contact. This classification method helps to quickly identify the defect category. If the microcrack feature intensity exceeds the feature intensity threshold, such as the temperature difference exceeds 5 degrees or the resistance change is greater than 0.5 ohms, the convolutional neural network will adjust the weight parameters.

[0112] In one embodiment, when the temperature of a certain wire harness area reaches 45 degrees and the resistance is 1.0 ohm, the model clearly classifies it as a microcrack through multiple iterations of optimization. This dynamic adjustment improves the adaptability of the classification.

[0113] It should be noted that if the distribution characteristics of poor contact are consistent with the resistance change, for example, the resistance fluctuates repeatedly between 0.6 and 0.8 ohms, the thermal imaging data will be input into the support vector machine classifier again.

[0114] In a possible implementation, the temperature of a certain wire harness section is stable at 40 degrees, but the resistance data is abnormal. The classifier combines two types of information to confirm that it is a poor contact. This complementary verification improves the credibility of the result. When fusing the results using the weighted average method according to the classification outputs of microcracks and poor contacts, the contributions of the two types of data can be balanced.

[0115] For example, the classification weight of microcracks is set to 0.6, and that of poor contacts is 0.4. The final fused result tends to the more significant defect type.

[0116] Specifically, a certain area is determined to be a defect dominated by microcracks after comprehensive analysis. This method enhances the comprehensiveness of the judgment. When evaluating the confidence based on the final type of defect classification, a probability-based method is invoked.

[0117] Exemplarily, a wire harness defect is classified as a microcrack, and the calculated confidence reaches 0.9, indicating that the result is highly reliable. In another embodiment, the confidence of poor contact is 0.85. This quantitative evaluation provides a clear basis for subsequent decision-making and effectively guides the repair or optimization process.

[0118] Optionally, step S46, according to the classification outputs of microcracks and poor contacts, uses the weighted average method to fuse the analysis process results and judge the final type of defect classification, further includes: Step S461, extract the feature vectors of the two types of data from the classification outputs of microcracks and poor contacts as the basis for preliminary fusion.

[0119] Step S462, for the extracted feature vectors, use the weighted average method to process the distribution characteristics of microcrack classification and poor contact to obtain the fused feature vectors.

[0120] Step S463, according to the fused feature vectors, adjust the parameters through a pre-established neural network model to judge the tendency of defect classification.

[0121] Step S464, according to the judgment result, obtain the preliminary type distribution of defect classification and determine the sorting result of type tendency.

[0122] Step S465, according to the sorting result, use a support vector machine classifier to process the output of the fusion process to obtain the adjusted type of defect classification.

[0123] Step S466, according to the adjusted type, fuse the analysis results again using the weighted average method to determine the final type of defect classification.

[0124] Step S467, according to the final type, extract the core features of the classification output from the result fusion to judge the integrity of business analysis.

[0125] In a possible implementation, when extracting feature vectors from the outputs of micro-crack classification and poor contact classification, the principal component analysis (PCA) method can be adopted.

[0126] Specifically, for micro-crack classification, features such as crack length, width, and depth can be extracted; for poor contact, features such as contact area and pressure distribution can be extracted. These features form the basis for preliminary fusion.

[0127] Exemplarily, assume that the output of micro-crack classification contains 3 feature vectors [0.8, 0.6, 0.4], and the output of poor contact classification contains 2 feature vectors [0.7, 0.5]. When using the weighted average method, weights 0.6 and 0.4 can be assigned to micro-cracks and poor contact respectively, resulting in a fused feature vector [0.48, 0.36, 0.24, 0.28, 0.2].

[0128] It should be noted that the pre-established neural network model can be a multi-layer perceptron (MLP). By adjusting the number of neurons in the hidden layer and the activation function, the tendency of defect classification can be effectively judged.

[0129] For example, using the ReLU activation function and two hidden layers (each layer containing 10 neurons) can improve the model's fitting ability for non-linear features.

[0130] In one embodiment, the preliminary type distribution of defect classification may be as follows: micro-crack type A (40%), micro-crack type B (30%), poor contact type C (20%), poor contact type D (10%). Based on this distribution, the sorting result of type tendency can be determined.

[0131] Preferably, the support vector machine classifier can adopt the radial basis function (RBF) kernel function. By adjusting the kernel function parameters and the penalty factor, the classification effect can be optimized.

[0132] For example, setting the kernel function parameter γ = 0.1 and the penalty factor C = 1 can avoid overfitting while ensuring classification accuracy.

[0133] It can be understood that the final defect classification type is obtained through multiple fusions and adjustments. This method can comprehensively consider various features and classification results, improving the accuracy and reliability of classification. Extracting the core features of the classification output from the result fusion can help judge the integrity of business analysis and ensure that no important defect features or classification bases are missed.

[0134] S5. According to the defect classification results, generate a defect distribution vector for the entire length of the wire harness, and combine it with the time stamp sequence recorded in the real-time monitoring system to obtain the dynamic change trend of each defect during the production process.

[0135] Optionally, this step further includes: Step S51: Obtain the defect distribution data of the entire length of the wire harness based on the defect classification result, and generate a distribution vector representation.

[0136] Step S52: Extract the time stamp sequence from the real-time monitoring system, align the time stamp with the distribution vector according to time, and generate a time-defect distribution matrix.

[0137] Step S53: Based on the time-defect distribution matrix, calculate the change value of each defect at different time points, and generate a time change sequence.

[0138] Step S54: According to the time change sequence, adopt the moving average method to extract the preliminary dynamic trend.

[0139] Step S55: For the preliminary dynamic trend, set a sliding window with a fixed size, calculate the change rate within the window, and generate smooth trend data.

[0140] Step S56: If there are abnormal points in the smooth trend data, then use the mean filtering method to replace the values of the abnormal points with the mean value within the window, and generate a stable trend result.

[0141] Step S57: According to the stable trend result, with time as the independent variable and defect distribution as the dependent variable, use the linear regression algorithm to calculate the long-term change slope of each defect, and generate a trend direction value.

[0142] Step S58: According to the trend direction value, accumulate the slope values at each time point, generate an accumulated change slope sequence, and determine the dynamic change trend of each defect during the production process.

[0143] Exemplarily, obtain the defect distribution data of the entire length of the wire harness based on the defect classification result, and generate a distribution vector representation.

[0144] It can be understood that this step integrates the scattered defect information into an overall view.

[0145] For example, on a wire harness production line, a certain section of the wire harness is 10 meters long. Through detection, 3 defects are found, located at 2 meters, 5 meters, and 8 meters respectively, and the type of each defect is known. The distribution vector can record these positions and their corresponding defect categories, forming an ordered data structure for subsequent analysis. Extract the time stamp sequence from the real-time monitoring system, align the time stamp with the distribution vector according to time, and generate a time-defect distribution matrix.

[0146] Specifically, the monitoring equipment on the production line records data every 5 minutes.

[0147] Exemplarily, a certain defect first appears at 9:00 and intensifies at 9:05. After the time stamp sequence is corresponded to the defect location, a two-dimensional matrix is formed, with the horizontal axis being time and the vertical axis being the defect distribution. This matrix intuitively reflects the change of the defect over time. Based on the time-defect distribution matrix, calculate the change value of each defect at different time points to generate a time change sequence.

[0148] In a possible implementation, the resistance value at a certain defect location is 0.5 ohms at 9:00 and rises to 0.8 ohms at 9:05, with a change value of 0.3 ohms. By comparing point by point in time, a sequence is obtained, clearly showing the evolution process of the defect. This sequence provides a basis for dynamic analysis. According to the time change sequence, the moving average method is used to extract the preliminary dynamic trend.

[0149] Preferably, take the average value of 3 time points to smooth the data.

[0150] For example, the resistance change sequence of a certain defect is 0.5, 0.8, 0.6 ohms, and the moving average result is 0.63 ohms. This method can reduce noise interference and highlight the trend direction, helping to more accurately grasp the defect change law. For the preliminary dynamic trend, set a sliding window of a fixed size, calculate the change rate within the window, and generate smooth trend data.

[0151] In one embodiment, the sliding window is set to 5 minutes, and the resistance change rate of a certain defect within the window drops from 0.06 ohms / minute to 0.02 ohms / minute. This smoothing process can better reflect the stability and volatility of the defect and improve the readability of the trend. If there are abnormal points in the smooth trend data, the mean filtering method is used to replace the value of the abnormal point with the mean value within the window to generate a stable trend result.

[0152] It should be noted that the resistance suddenly increases to 1.2 ohms at a certain time point, while the data before and after are both about 0.7 ohms. Replace the abnormal value with the window mean value of 0.7 ohms. This processing can eliminate accidental errors and make the trend more valuable for reference. According to the stable trend result, with time as the independent variable and the defect distribution as the dependent variable, use the linear regression algorithm to calculate the long-term change slope of each defect to generate a trend direction value.

[0153] For example, the resistance value of a certain defect slowly rises from 0.4 ohms to 0.9 ohms over time, and the slope shows a positive value, indicating that the defect is deteriorating. This quantitative result provides a basis for predicting the development of the defect. According to the trend direction value, accumulate the slope values of each time point to generate a cumulative change slope sequence, and determine the dynamic change trend of each defect during the production process.

[0154] In a possible implementation, the cumulative slope of a certain defect gradually increases from 0 to 0.5, indicating that its impact is gradually expanding. This cumulative analysis can help identify key defects and optimize production decisions.

[0155] S6. Extract the evolution characteristics of the defect from the dynamic change trend, use the Kalman filter algorithm to predict and correct the defect position, and determine the set of accurate defect coordinates within the entire length of the wire harness according to the rapid positioning requirement.

[0156] Optionally, this step further includes: Step S61. Obtain the defect evolution data from the dynamic change, use the principal component analysis method to extract the key features, and obtain the evolution feature set.

[0157] Step S62. Use the Kalman filter algorithm to filter the evolution feature set to obtain the preliminarily predicted defect position.

[0158] Step S63. For the preliminarily predicted defect position, use the least squares method for correction to determine the optimized defect position data.

[0159] Step S64. Extract the position change law from the optimized defect position data through linear regression analysis to obtain the position distribution within the entire length of the wire harness.

[0160] Step S65. If the position distribution exceeds the preset position distribution threshold, use the K-nearest neighbor algorithm to match the rapid positioning requirement to obtain the adjusted set of defect positions.

[0161] Step S66. Determine the set of accurate coordinates according to the position distribution within the entire length of the wire harness and the adjusted set of defect positions by using the interpolation method.

[0162] Step S67. Obtain the final defect positioning result through the mapping relationship between the coordinate set and the defect position.

[0163] Exemplarily, after obtaining the defect evolution data from the dynamic change, the principal component analysis method can be used to extract the key features.

[0164] For example, on a wire harness production line, the defect data of a certain section of the wire harness includes multi-dimensional information such as resistance value, position offset, and surface wear degree. Through principal component analysis, these complex multi-variable data can be reduced in dimension, the main information can be retained, and a simplified evolution feature set can be generated.

[0165] Specifically, assume that the defect evolution data of a certain wire harness contains 3 dimensions. After analysis, it is found that the contribution rate of the resistance change to the overall defect trend reaches 70%, the position offset contributes 20%, and the surface wear only accounts for 10%. This method can highlight the key factors and facilitate subsequent processing.

[0166] In a possible implementation, after the evolution feature set is generated, the Kalman filter algorithm is used for filtering to obtain the preliminarily predicted defect position.

[0167] Exemplarily, the resistance value of a certain defect fluctuates at multiple time points, such as 0.6 ohm, 0.7 ohm, 0.65 ohm. The Kalman filter predicts that the defect position at the next time point may be 5.2 meters by fusing historical data and the current measurement value. This method can effectively reduce noise interference and improve the stability of the prediction. For the preliminarily predicted defect position, the least squares method can be used for correction to optimize the defect position data.

[0168] It should be noted that assuming the predicted position is 5.2 meters, but the actual detection data shows that the defect is closer to 5.0 meters. The least squares method adjusts the predicted value to 5.05 meters by fitting multiple groups of data. This correction can improve the accuracy of the position and lay a foundation for subsequent analysis. Through linear regression analysis, the position change law can be extracted from the optimized defect position data to obtain the position distribution of the entire length of the wire harness.

[0169] In one embodiment, the total length of a certain wire harness is 10 meters, and the defect position slowly moves from 2 meters to 2.5 meters. Linear regression shows that the position increases linearly with time. The extraction of this law helps to understand the movement characteristics of the defect. If the position distribution exceeds the preset position distribution threshold, for example, the defect deviation exceeds 0.3 meters, the K-nearest neighbor algorithm is used to match the rapid positioning requirement to obtain the adjusted defect position set.

[0170] Preferably, based on the similar defect patterns in the historical data, the K-nearest neighbor algorithm finds the nearest 3 neighbors and comprehensively judges that the defect position should be adjusted to 2.4 meters. This matching method can quickly respond to abnormal situations. According to the position distribution within the total length of the wire harness and the adjusted defect position set, the interpolation method can be used to determine the precise coordinate set.

[0171] For example, there is no intermediate data between the two points of 2.4 meters and 5.05 meters in the defect position. The interpolation method calculates that there may be potential defect coordinates at 3.5 meters through linear interpolation. This method can fill the data gap and improve the integrity of the positioning. Through the mapping relationship between the coordinate set and the defect position, the final defect positioning result is obtained.

[0172] Specifically, the defect coordinate set of a certain wire harness is 2.4 meters, 3.5 meters, 5.05 meters, corresponding one by one to the resistance values of 0.7 ohm, 0.6 ohm, 0.8 ohm, forming a complete positioning view. This mapping can intuitively display the defect distribution and provide a reliable basis for production adjustment.

[0173] S7. Generate a real-time monitoring report based on the set of precise defect coordinates. Combine the equipment operation parameters during the production process to determine whether the defects exceed the preset defect threshold range, and obtain the production process data that needs to be adjusted.

[0174] Optionally, this step further includes: Step S71. Obtain coordinate data from the set of defect coordinates, use the K-means clustering algorithm to cluster the coordinate data, determine the distribution characteristics of the defects, and obtain the defect aggregation area.

[0175] Step S72. Extract spatial features from the defect aggregation area, match them with the equipment operation parameters, determine the correlation between the defects and the equipment operation status, and obtain a preliminary correlation result.

[0176] Step S73. According to the preliminary correlation result, obtain the preset defect threshold range, and determine whether the defects exceed the defect threshold range through comparative analysis to obtain the defective data exceeding the standard.

[0177] Step S74. Extract the corresponding production process from the defective data exceeding the standard, use linear regression to analyze the correlation between the production process data and the defects, and obtain the set of affected processes.

[0178] Step S75. Obtain the change trend of the operation parameters from the set of affected processes, and determine which parameters exceed the normal range to obtain the set of parameters to be adjusted.

[0179] Step S76. According to the set of parameters to be adjusted, generate an adjustment plan in combination with the process data, determine the parameter optimization direction, and obtain the production process adjustment data.

[0180] Step S77. Extract the optimized operation parameters from the production process adjustment data, and determine whether the defect distribution is improved through simulation verification to obtain the final monitoring result.

[0181] Exemplarily, after obtaining the coordinate data from the set of defect coordinates, the K-means clustering algorithm can be used to group these data to identify the distribution characteristics of the defects.

[0182] For example, on a wire harness production line, assume that the set of defect coordinates includes multiple points such as 2.4 meters, 3.5 meters, and 5.0 meters. The K-means algorithm calculates the distances between these points and divides them into two clusters, one concentrated in the 2-3 meter interval and the other concentrated near 5 meters. This clustering method can intuitively reflect the defect aggregation area and facilitate subsequent analysis.

[0183] In a possible implementation, when extracting spatial features from the defect aggregation area, the distance and density between defect points can be concerned.

[0184] Specifically, the spacing between defect points in the 2 - 3 meter area is relatively small and the density is relatively high, while the defects near 5 meters are more scattered. Match these spatial characteristics with the equipment operation parameters, such as the temperature or speed during equipment operation, to determine the correlation.

[0185] Exemplarily, assume that when the temperature rises, the number of defects in the 2 - 3 meter area increases. Then the preliminary correlation result shows that the temperature may be the influencing factor.

[0186] It should be noted that according to the preliminary correlation result, a preset defect threshold range can be set, such as the defect density not exceeding 5 per meter. Through comparative analysis, if the density in the 2 - 3 meter area reaches 7 per meter, it is classified as substandard defect data. This judgment method helps to screen out the abnormal areas that need key attention. When extracting the corresponding production links from the substandard defect data, the specific processes can be traced back.

[0187] For example, the defects in the 2 - 3 meter area may occur in the insulation layer coating process. Use linear regression to analyze the relationship between data such as temperature and pressure in this process and the number of defects to obtain the set of influencing processes.

[0188] Preferably, it is found through analysis that for every 10 - degree increase in temperature, the number of defects increases by 2, indicating that the temperature is the key influencing factor.

[0189] In one embodiment, obtain the change trend of the operation parameters from the set of influencing processes. For example, the temperature rises from 50 degrees to 70 degrees, exceeding the normal range of 60 degrees. Thus, it is determined that the set of parameters to be adjusted is temperature control. Such trend analysis can lock in the specific parameters that need to be optimized. When generating an adjustment plan according to the set of parameters to be adjusted, the optimization direction can be proposed in combination with the process data.

[0190] For example, reduce the temperature from 70 degrees to 55 degrees and adjust the pressure to a stable value to form production process adjustment data. This scheme design provides clear guidance for subsequent optimization. After extracting the optimized operation parameters from the production process adjustment data, verify through simulation whether the defect distribution improves.

[0191] For example, after the temperature is reduced to 55 degrees, the defect density in the 2 - 3 meter area drops from 7 per meter to 3 per meter, indicating that the adjustment is effective. Such simulation verification can provide a reliable basis for the final monitoring result and optimize the production quality.

[0192] S8, according to the production process data, update the sensor configuration plan of the real - time monitoring system, increase the sampling frequency for areas with insufficient detection accuracy, obtain the optimized resistance change and temperature distribution data, and determine a new round of defect location results.

[0193] Optionally, this step further includes: Step S81: Obtain the configuration data of the real-time monitoring system from the production process, generate sensor configuration update data, and extract preliminary optimization parameters.

[0194] Step S82: Update the sampling frequency of the monitoring system according to the sampling frequency adjustment value in the preliminary optimization parameters, obtain the adjusted resistance change data, and draw a resistance change trend graph.

[0195] Step S83: Combine the resistance change trend graph and the sampling frequency adjustment value to generate optimized temperature distribution data and calculate the temperature distribution uniformity.

[0196] Step S84: If the temperature distribution uniformity is lower than the preset uniformity threshold, readjust the sensor configuration, obtain the updated monitoring data, and generate a preliminary defect location result.

[0197] Step S85: According to the preliminary defect location result, use the K-means algorithm to cluster the resistance change data and temperature distribution data, extract the defect distribution characteristics after clustering, and generate the accurate defect location.

[0198] Step S86: According to the accurate defect location, adjust the parameter configuration of the real-time monitoring system, obtain the optimized system operation data, and calculate the system stability.

[0199] Step S87: If the system stability meets the preset conditions, use the support vector machine algorithm to verify the defect location result, generate the verified defect distribution data, and determine the final optimization result.

[0200] Exemplarily, after obtaining the configuration data of the real-time monitoring system from the production process, sensor configuration update data can be generated.

[0201] For example, on a wire harness production line, the real-time monitoring system may include multiple resistance sensors and temperature sensors, and its configuration data covers the sampling frequency and sensitivity.

[0202] Exemplarily, assuming the initial sampling frequency is 10 times per second, by analyzing the real-time data of the production process, it is found that the resistance changes rapidly in some areas, and the preliminary optimization parameters suggest increasing the frequency to 15 times per second. This adjustment can capture key changes more timely.

[0203] In a possible implementation, after updating the monitoring system according to the sampling frequency adjustment value, the adjusted resistance change data can be obtained and a trend graph can be drawn.

[0204] Specifically, after adjusting the frequency to 15 times per second, the resistance value of a certain section of the wire harness fluctuates from 2 ohms to 2.5 ohms within 1 minute, and the trend graph shows that the fluctuation period is shortened. In this way, the law of resistance change can be observed more clearly.

[0205] It should be noted that when generating temperature distribution data by combining the resistance change trend graph and the sampling frequency adjustment value, the uniformity can be calculated through the collaborative work among sensors.

[0206] For example, the trend graph shows that the area with frequent resistance fluctuations corresponds to a temperature increase. The temperature distribution data indicates that the temperature of a certain wire harness section rises from 50 degrees to 65 degrees, while another section remains stable at 55 degrees, resulting in a decrease in uniformity. If the preset uniformity threshold is that the temperature difference does not exceed 8 degrees, the current difference of 10 degrees is lower than the requirement.

[0207] In one embodiment, if the temperature distribution uniformity does not meet the standard, the sensor configuration is readjusted. For example, the number of sensors in a certain area is increased from 2 to 3. The updated monitoring data shows that the temperature difference is reduced to 6 degrees. The preliminary defect location result generated thereby may point to the area with abnormal resistance.

[0208] Preferably, the K-means algorithm is used to cluster the resistance change data and the temperature distribution data to extract features.

[0209] For example, the point with a resistance value of 2.5 ohms and a temperature of 65 degrees is grouped into a cluster, and it is found that the defects are concentrated within a certain 2-meter section, and the precise location is confirmed.

[0210] It can be understood that after adjusting the monitoring system parameters according to the precise defect location, for example, further increasing the sampling frequency to 20 times per second in this area, the system operation data shows that the fluctuation detection is more stable. When calculating the system stability, if the resistance change amplitude is controlled within 0.2 ohms within 10 consecutive minutes, the preset condition is met. This kind of adjustment can improve the monitoring accuracy.

[0211] In one embodiment, if the system stability meets the standard, the support vector machine algorithm is used to verify the defect location result.

[0212] For example, by inputting the defect distribution data after clustering, the algorithm confirms that the abnormal points within the 2-meter section are effectively separated from the normal points in other areas, generating the verified defect distribution data. The final optimization result shows that the adjusted configuration makes the defect detection more accurate, facilitating subsequent production optimization.

[0213] For example, from multiple aspects, increasing the number of sensors can improve the data resolution, while increasing the sampling frequency enhances the real-time performance. The combination of the two makes the correlation between the temperature distribution and the resistance change clearer. This multi-dimensional support method can effectively lock the defect location and optimize the system operation, providing reliable support for production quality.

[0214] Optionally, step S86, according to the precise defect location, adjusting the parameter configuration of the real-time monitoring system, obtaining the optimized system operation data, and calculating the system stability, further includes: Step S861: Generate defect distribution data based on the precise defect and location information, use the KMeans algorithm to cluster the defect distribution data, extract the feature distribution, and obtain the preliminary classification result.

[0215] Step S862: For the preliminary classification result, obtain the dynamically updated data from the real-time monitoring, calculate the data change trend, and determine the change characteristics.

[0216] Step S863: Update the parameter configuration according to the change characteristics, obtain the adjusted operation data, and judge the data consistency.

[0217] Step S864: If the data consistency is lower than the preset consistency threshold, regenerate the optimized operation data to obtain the stable parameters.

[0218] Step S865: Adjust the monitoring system through the stable parameters, obtain the optimized dynamic data, and calculate the system response time.

[0219] Step S866: Verify the operation data according to the system response time, generate the verified distribution data, and determine the final feature distribution.

[0220] Step S867: If the final feature distribution meets the preset conditions, use the support vector machine to classify the distribution data to obtain the classified operation status.

[0221] Exemplarily, generating defect distribution data based on the precise defect and location information is the basic link for optimizing the real-time monitoring system.

[0222] For example, in semiconductor production, the defect distribution data may come from the tiny cracks or impurity points on the wafer surface, and the generation of these data depends on the signal changes captured by the sensors.

[0223] In a possible implementation, the wafer can be scanned by high-precision sensors to record the resistance and temperature values of each area, and a defect distribution data table containing coordinate information can be generated. This data table can intuitively reflect the spatial distribution characteristics of the defects and provide a basis for subsequent analysis. When using the KMeans algorithm to cluster the defect distribution data, the purpose is to group similar defect features.

[0224] For example, in the wafer production scenario, the defect points with similar resistance change amplitudes can be grouped into one category, and features such as "concentrated distribution" or "dispersed distribution" can be extracted.

[0225] Exemplarily, if the resistance value fluctuation in a certain area is between 10 - 15 milliohms, while in another area it is between 5 - 8 milliohms, KMeans can separate these two types of defect points. This classification helps to identify potential causes of defects, such as local overheating of equipment or material inhomogeneity. For the preliminary classification results, when obtaining dynamic update data from real-time monitoring, it can be understood that the system needs to continuously track changes in the production process.

[0226] Specifically, sensor data can be collected every 5 seconds to observe whether the resistance value shows an upward or downward trend over time.

[0227] In one embodiment, if the resistance value of a certain defect area gradually rises from 10 milliohms to 12 milliohms, it may indicate that the temperature in this area is accumulating and further attention is needed. The determination of this change characteristic provides data support for subsequent adjustments. After updating the parameter configuration according to the change characteristic, obtaining the adjusted operation data and judging the consistency are the keys to ensuring the reliability of the system.

[0228] For example, if the sampling frequency of a certain area is increased from once per second to three times per second, the system will generate denser data points.

[0229] Preferably, the consistency can be judged by comparing the fluctuation ranges of the new and old data. For example, if the fluctuation of the new data is controlled within ±2 milliohms, while the old data is ±5 milliohms, it indicates that the adjustment is effective. This consistency check can significantly improve the monitoring accuracy. If the consistency is lower than the preset consistency threshold, when regenerating optimized operation data, it can be achieved by increasing the number of sensors or adjusting the sampling timing.

[0230] In one possible implementation, if the data fluctuation in a certain area still exceeds the standard, 2 additional sensors can be deployed in this area to form a multi-point monitoring network. This method can effectively make up for the deficiencies of a single sensor and ensure the stability of the data. After adjusting the monitoring system through stable parameters, calculating the system response time is to evaluate the optimization effect.

[0231] For example, in the adjusted system, if the delay from the sensor receiving the signal to outputting data is shortened from 200 milliseconds to 150 milliseconds, it indicates that the system responds more quickly to defects. This rapid response can promptly capture abnormal situations in production. When verifying the operation data according to the system response time and generating verified distribution data.

[0232] It should be noted that the accuracy of the distribution characteristics can be confirmed by comparing historical data and new data.

[0233] For example, if it is found after verification that the defect distribution in a certain area changes from "random" to "concentrated along the edge", it may indicate an abnormality in the edge part of the production equipment. This verified data provides a reliable basis for the final decision. When using a support vector machine to classify the distribution data, if the final feature distribution meets the preset conditions, the operating state can be divided into two categories: "normal" and "abnormal".

[0234] Specifically, if the temperature distribution uniformity in a certain area reaches more than 95% and the resistance fluctuation is less than 10 milliohms, it can be classified as "normal".

[0235] In one embodiment, after learning from historical samples, the support vector machine can accurately identify abnormal areas. This classification method helps to quickly locate the root cause of the problem and improve production efficiency.

[0236] A method for detecting defects in a flexible printed circuit harness provided by the present invention collects data on the change in the resistance of the harness in real time through a high-precision sensor array, obtains temperature distribution information by combining infrared thermal imaging technology, and uses Fourier transform and a deep learning model for data fusion analysis to achieve precise positioning and classification of minute defects. The present invention also uses the Kalman filtering algorithm to dynamically predict the defect position and adaptively adjusts the sensor configuration according to the detection results to improve the detection accuracy. This real-time monitoring method of multi-source data fusion can effectively identify hidden defects in the harness production process, such as microcracks and poor contacts, etc., provides accurate data support for production quality control, helps to timely discover and solve potential problems, and improves the production efficiency and product reliability of the flexible printed circuit harness.

[0237] The above content is only an example and explanation of the structure of the present invention. Those skilled in the art of this technology make various modifications or supplements or use similar methods to replace the specific embodiments described, as long as they do not deviate from the structure of the invention or exceed the scope defined by this claim book, they should all belong to the protection scope of the present invention.

Claims

1. A method for detecting defects in a flexible printed circuit harness, characterized in that: The method comprises: S1, obtains the real-time resistance data of the flexible printed circuit harness during the production process, collects the resistance change value of each line segment through a high-precision sensor array, performs signal amplification processing for micron-level fluctuations, and obtains a preliminary resistance change distribution map; S2, extract the abnormal fluctuation area from the resistance change distribution map, use Fourier transform to analyze the signal frequency characteristics, determine whether there are periodic changes caused by tiny defects, and determine the coordinates of the potential physical damage location; S3, according to the coordinates of the physical damage location, infrared thermal imagers are deployed throughout the entire length of the wire harness to obtain the temperature distribution data on the surface of the wire harness during the production process. The preliminary positioning set of hidden defects is obtained through the spatial correspondence between the thermal abnormal points and the resistance abnormal points; S4, through the preliminary positioning set of hidden defects, calls the pre-established deep learning model to perform fusion analysis on infrared thermal imaging data and resistance change data, judges the specific type of microcracks or poor contact, and determines the defect classification result with high confidence; S5, based on the defect classification results, the defect distribution vector of the entire length of the wire harness is generated, and combined with the timestamp sequence recorded in the real-time monitoring system, the dynamic change trend of each defect in the production process is obtained; S6, extracts the evolution characteristics of defects from the dynamic change trend, uses the Kalman filter algorithm to predict and correct the defect position, and determines the precise defect coordinate set within the entire length of the harness for rapid positioning needs; S7, through the accurate defect coordinate set, generates a real-time monitoring report, combined with the equipment operation parameters of the production process, determines whether the defect exceeds the preset defect threshold range, and obtains the production link data that needs to be adjusted; S8, based on the production data, updates the sensor configuration of the real-time monitoring system, increases the sampling frequency for areas with insufficient detection accuracy, obtains optimized resistance change and temperature distribution data, and determines a new round of defect location results.

2. The method according to claim 1, characterized in that The step S1, obtaining the real-time resistance data of the flexible printed circuit harness during the production process, collecting the resistance change value of each line segment through a high-precision sensor array, performing signal amplification processing for micron-level fluctuations, and obtaining a preliminary resistance change distribution map, includes: Step S11, collecting resistance data of each line segment through a sensor array, using high-precision acquisition technology to process micron-level changes, and obtaining a real-time resistance data stream; Step S12, extracting resistance fluctuation characteristics from the real-time resistance data stream, using wavelet transform to amplify the signal of micron-level changes, and obtaining an enhanced resistance fluctuation signal; Step S13, calculating the resistance change value of each line segment using a differential method according to the enhanced resistance fluctuation signal to obtain a resistance change data set; Step S14, if the fluctuation value in the resistance change data set exceeds the preset fluctuation value threshold, the signal amplification result of the corresponding line segment is subjected to secondary calibration using the least square method to obtain calibrated resistance change data; Step S15, using a K-means clustering algorithm to classify the calibrated resistance change data to determine the resistance change category of each line segment; Step S16, generating a preliminary resistance change distribution map according to the resistance change category, and obtaining the resistance change trend of each line segment in the distribution map; Step S17, according to the resistance change trend, the distribution graph is smoothed using a bilinear interpolation method to obtain an optimized resistance change distribution graph.

3. The method according to claim 1, characterized in that The step S2 extracts the abnormal fluctuation area from the resistance change distribution diagram, uses Fourier transform to analyze the signal frequency characteristics, determines whether there are periodic changes caused by tiny defects, and determines the coordinates of the potential physical damage position, including: Step S21, obtaining resistance change data through the distribution diagram and extracting abnormal fluctuation areas; Step S22, using a fast Fourier transform (FFT) algorithm from the abnormal fluctuation area to obtain a signal frequency feature; Step S23, analyzing the periodic changes of the signal frequency characteristics to determine whether there are regular fluctuations; Step S24, if the periodic change exceeds a preset periodic change threshold, it is determined that a minor defect exists; Step S25, obtaining the location coordinates of the physical damage through the signal frequency corresponding to the tiny defect; Step S26, using bilinear interpolation method to perform coordinate mapping to determine the specific location of the physical damage in the distribution map; Step S27, determining the damage range boundary by comparing the position coordinates with the resistance change data.

4. The method according to claim 3, characterized in that: The step S27, determining the damage range boundary by comparing the position coordinates with the resistance change data, includes: Step S271, obtaining resistance change data through position coordinates and determining boundary extraction results; Step S272, extracting features from the resistance change data, and using a principal component analysis algorithm to perform dimensionality reduction to obtain change analysis features; Step S273, calculating the coordinate offset according to the change analysis feature and determining the position mapping relationship; Step S274, extracting a boundary point set based on the position mapping relationship to determine the damage range boundary; Step S275, if the boundary point set exceeds the preset boundary point set threshold, determining the range determination result; Step S276, interpolating the boundary points using bilinear interpolation method according to the range determination result to obtain the boundary coordinates of the damage range; Step S277, comparing the damage range boundary coordinates with the resistance change data to obtain a basis for boundary judgment.

5. The method according to claim 1, characterized in that The step S4, through the preliminary positioning set of hidden defects, calls the pre-established deep learning model, performs fusion analysis on the infrared thermal imaging data and the resistance change data, determines the specific type of microcracks or poor contact, and determines a high-confidence defect classification result, including: Step S41, through the preliminary positioning set of hidden defects, using an infrared thermal imager to obtain infrared thermal imaging data, using a resistance tester to obtain resistance change data, and determining a preliminary analysis basis; Step S42, using a convolutional neural network model from the infrared thermal imaging data and the resistance change data, pre-training the model on a training set, inputting two types of data, and obtaining feature extraction results; Step S43, using a support vector machine classifier to analyze the distribution characteristics of microcrack types and poor contact based on the feature extraction results, and determine the specific category of the defect; Step S44, if the characteristic intensity of the microcrack type exceeds a preset characteristic intensity threshold, the weight parameter is adjusted through the convolutional neural network model to determine the microcrack classification output; Step S45, if the distribution characteristics of poor contact are consistent with the resistance change data, the infrared thermal imaging data is input into the support vector machine classifier to obtain a poor contact classification output; Step S46, based on the microcrack classification output and the poor contact classification output, the weighted average method is used to fuse the analysis process results to determine the final type of defect classification; Step S47, calling a probability-based confidence assessment method according to the final type of defect classification to determine the confidence output of the classification result.

6. The method according to claim 5, characterized in that The step S46, based on the microcrack classification output and the poor contact classification output, uses the weighted average method to fuse the analysis process results to determine the final type of defect classification, including: Step S461, extracting feature vectors of the two types of data from the classification outputs of microcrack classification and poor contact as the basis for preliminary fusion; Step S462, for the extracted feature vector, a weighted average method is used to process the distribution characteristics of microcrack classification and poor contact to obtain a fused feature vector; Step S463, according to the fused feature vector, the parameters are adjusted through the pre-established neural network model to determine the tendency of defect classification; Step S464, according to the judgment result, obtain the preliminary type distribution of the defect classification, and determine the sorting result of the type tendency; Step S465, based on the sorting result, the output of the fusion process is processed using a support vector machine classifier to obtain an adjustment type of defect classification; Step S466, according to the adjustment type, the analysis results are integrated again by weighted average method to determine the final type of defect classification; Step S467, based on the final type, extract the core features of the classification output from the result fusion to determine the completeness of the business analysis.

7. The method according to claim 1, characterized in that The step S5 generates a defect distribution vector of the entire length of the wire harness according to the defect classification result, and obtains the dynamic change trend of each defect in the production process in combination with the timestamp sequence recorded in the real-time monitoring system, including: Step S51, obtaining defect distribution data of the entire length of the wire harness through defect classification results, and generating a distribution vector representation; Step S52, extracting a timestamp sequence from the real-time monitoring system, aligning the timestamps with the distribution vectors in time, and generating a time-defect distribution matrix; Step S53, based on the time-defect distribution matrix, calculate the change value of each defect at different time points to generate a time change sequence; Step S54, extracting preliminary dynamic trends using a moving average method based on the time-varying sequence; Step S55, for the preliminary dynamic trend, set a sliding window of fixed size, calculate the rate of change within the window, and generate smooth trend data; Step S56, if there are abnormal points in the smoothed trend data, a mean filtering method is used to replace the value of the abnormal point with the mean value in the window to generate a stable trend result; Step S57, based on the stable trend result, taking time as the independent variable and defect distribution as the dependent variable, a linear regression algorithm is used to calculate the long-term change slope of each defect to generate a trend direction value; Step S58, according to the trend direction value, the slope value at each time point is accumulated to generate a cumulative change slope sequence, and the dynamic change trend of each defect in the production process is determined.

8. The method according to claim 1, characterized in that The step S6 extracts the evolution characteristics of the defect from the dynamic change trend, uses the Kalman filter algorithm to predict and correct the defect position, and determines the precise defect coordinate set within the entire length of the wire harness for rapid positioning requirements, including: Step S61, acquiring defect evolution data from dynamic changes, extracting key features using a principal component analysis method, and obtaining an evolution feature set; Step S62, using the Kalman filter algorithm to filter the evolution feature set to obtain a preliminary predicted defect location; Step S63, using the least square method to correct the initially predicted defect position and determine the optimized defect position data; Step S64, extracting the position change rule from the optimized defect position data through linear regression analysis to obtain the position distribution of the entire length of the wire harness; Step S65, if the location distribution exceeds the preset location distribution threshold, the K nearest neighbor algorithm is used to match the rapid positioning requirements to obtain an adjusted defect location set; Step S66, using an interpolation method to determine a precise coordinate set according to the position distribution within the entire length of the wire harness and the adjusted defect position set; Step S67, obtaining the final defect location result through the mapping relationship between the coordinate set and the defect position.

9. The method according to claim 1, characterized in that: The step S8, based on the production link data, updates the sensor configuration scheme of the real-time monitoring system, increases the sampling frequency for the area with insufficient detection accuracy, obtains the optimized resistance change and temperature distribution data, and determines the new round of defect location results, including: Step S81, obtaining configuration data of the real-time monitoring system from the production link, generating sensor configuration update data, and extracting preliminary optimization parameters; Step S82, updating the sampling frequency of the monitoring system according to the sampling frequency adjustment value in the preliminary optimization parameters, acquiring the adjusted resistance change data, and drawing a resistance change trend graph; Step S83, combining the resistance change trend graph and the sampling frequency adjustment value, generating optimized temperature distribution data, and calculating the temperature distribution uniformity; Step S84, if the temperature distribution uniformity is lower than the uniformity threshold, readjust the sensor configuration, obtain updated monitoring data, and generate a preliminary defect location result; Step S85, based on the preliminary defect location results, the resistance change data and the temperature distribution data are clustered using the K-means algorithm, the defect distribution characteristics after clustering are extracted, and the precise defect location is generated; Step S86, adjusting the parameter configuration of the real-time monitoring system according to the precise defect location, obtaining the optimized system operation data, and calculating the system stability; Step S87, if the system stability meets the preset conditions, the defect location result is verified using the support vector machine algorithm, the verified defect distribution data is generated, and the final optimization result is determined.

10. The method according to claim 9, characterized in that The step S86, according to the precise defect location, adjusts the parameter configuration of the real-time monitoring system, obtains the optimized system operation data, and calculates the system stability, including: Step S861, generating defect distribution data based on precise defect and location information, clustering the defect distribution data using the KMeans algorithm, extracting feature distribution, and obtaining preliminary classification results; Step S862, for the preliminary classification results, dynamically update data is obtained from real-time monitoring, data change trends are calculated, and change characteristics are determined; Step S863, update parameter configuration according to the change characteristics, obtain adjusted operation data, and determine data consistency; Step S864: if the data consistency is lower than the consistency threshold, regenerate the optimized operation data to obtain stable parameters; Step S865, adjusting the monitoring system by stabilizing the parameters, obtaining optimized dynamic data, and calculating the system response time; Step S866, verifying the operation data according to the system response time, generating verified distribution data, and determining the final feature distribution; Step S867: If the final feature distribution meets the preset conditions, the support vector machine is used to classify the distribution data to obtain the classified operating status.

Citation Information

Patent Citations

  • Cable defect detection method and system based on large model

    CN118115483A

  • Thermal defect detection system and method for live cable

    CN118243240A

  • Power cable local defect aging diagnosis and evaluation method and system and storage medium

    CN118625060A

  • Flexible circuit board testing method and system based on multi-dimensional data

    CN119146858A

  • Method And System For Locating Defects On An Electric Cable

    US20190162772A1

Cited By

  • Method and system for automatically detecting defects of static arc contact based on image recognition

    CN120471921A

  • Partition detection method for board card quality

    CN120801426A

  • Material quality detection method and device based on quantum sensor detection

    CN121032330A

  • Infrared thermal imaging and machine learning fused metal plate crack real-time detection system

    CN121186128A