Overlapping signal recognition method for sealed relay based on machine learning and confidence rate

Through the overlapping signal identification method based on machine learning, the confidence rate is used to identify the overlapping signals in the sealed relay, which solves the problem of low accuracy of excess object detection in the existing technology and achieves efficient excess object detection.

CN116756482BActive Publication Date: 2024-08-30HARBIN INST OF TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310421746.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-19
Publication Date
2024-08-30
Estimated Expiration
2043-04-19

AI Technical Summary

Technical Problem

Existing excess object detection research ignores overlapping signals, resulting in low detection accuracy and reliability in real application scenarios, and existing machine learning methods fail to effectively identify mixed excess object signals and component signals.

Method used

An overlapping signal identification method for sealed relays based on machine learning and confidence rate is adopted. By creating a sample set, extracting sound features, training a classifier and calculating the confidence rate, overlapping signals are identified to improve the accuracy of redundant object detection.

Benefits of technology

It achieves 100% identification and detection results in real application scenarios, significantly improving the reliability and detection sensitivity of excess detection in sealed relays.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116756482B
    Figure CN116756482B
Patent Text Reader

Abstract

The present invention discloses a method for identifying overlapping signals of sealed relays based on machine learning and confidence rate. First, a sealed relay sample set 1 is taken as the research object, and an optimal recognition model is trained through the steps of data acquisition, signal preprocessing, feature extraction, data set construction, model training, parameter optimization, etc. Secondly, a sealed relay sample set 2 is taken as the research object, and a standard confidence rate is obtained through the steps of data acquisition, signal preprocessing, feature extraction, overlapping set construction, confidence rate calculation, etc. Finally, a sealed relay to be tested is taken as the research object, and multiple sets to be tested are constructed through the steps of data acquisition, signal preprocessing, feature extraction, etc., and are predicted respectively using the optimal recognition model. According to the prediction results, the confidence rates of the multiple sets to be tested are calculated, compared with the standard confidence rates, and the overlapping signal recognition results are obtained after comprehensive analysis. The present invention effectively improves the reliability of redundant object detection in sealed relays.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a method for identifying overlapping signals of a sealed relay, and in particular to a method for identifying overlapping signals of a sealed relay based on machine learning and confidence rate. Background Art

[0002] Sealed relays, as a common electronic component, are an important foundation for aerospace equipment. The production process of sealed relays is complex, and particles such as aluminum chips, solder particles, and hot melt adhesive particles may be left inside the sealed relays in some links. These particles that are independent of the internal components of the object and destroy the stable physical state are called excess matter. Normally, sealed relays work in a super-weightless state, and the remaining excess matter is in a random motion state. It will collide with the internal components of the sealed relay to damage it, or adhere to the surface of the circuit board to cause short circuits and open circuits, and even slide to generate static electricity and electromagnetic interference. These will cause the sealed relay to fail, and then affect the normal operation of aerospace equipment. Therefore, it is particularly important to detect excess matter on the sealed relay before leaving the factory.

[0003] The particle impact noise detection (PIND) method is currently a widely used method for detecting unwanted objects. Specifically, by applying sufficient mechanical excitation to the sealed relay to be tested, the unwanted objects that may exist inside it are in a random motion state, thereby generating a collision signal or a sliding signal. The acoustic emission sensor is placed on the surface of the sealed relay to be tested to capture the signal, and the presence of unwanted objects inside the sealed relay to be tested is determined by judging whether the signal is captured. In the detection of unwanted objects, the signal generated by the collision or sliding of unwanted objects is called the unwanted object signal. In the early days, the inspectors found that the detection result was not reliable if the acoustic emission sensor captured the signal and judged that there was unwanted objects inside the sealed relay to be tested. This is because under mechanical excitation, the loose components inside the sealed relay to be tested will also generate vibration signals, which are called component signals. The presence of component signals will seriously interfere with the accuracy of unwanted object detection. Therefore, accurately identifying unwanted object signals and component signals is the key to accurate unwanted object detection.

[0004] In the early days, many scholars used signal processing technology to conduct research on the identification of redundant signals and component signals. For example, Gao Hongliang et al. constructed acoustic models of redundant signals and component signals respectively, and used wavelet denoising algorithm and threshold method to identify the two signals. Chen Jinbao et al. studied the obvious periodic characteristics of component signals and proposed a component signal detection algorithm, but did not perform more processing on redundant signals. Liu Haijiang et al. analyzed the periodic differences in pulse sequences in redundant signals and component signals, and proposed an algorithm to effectively identify the two signals. With the development and application of machine learning, extracting sound features from the two signals to quantify the differences in their acoustic characteristics, and then constructing data sets and training classifiers to effectively identify the two signals has brought new ideas to the research. For example, Li Xiang et al. extracted classic sound features in the time domain and frequency domain to construct data sets, trained a classifier based on multi-layer perceptron, and was able to effectively identify the data of the two labels of the source redundant signals and component signals. Li Chaoran et al. introduced the idea of ​​ensemble learning, trained a classifier based on parameter optimization XGBoost, and further improved the classification accuracy of the classifier on the data of the two labels. In addition, Liang Xiaowen, Ma Yuanyuan and others also used decision trees, random forests and support vector machines to classify data with two labels from two signals, respectively, and achieved good classification accuracy.

[0005] In summary, the existing research on redundant object detection or the research on the identification of redundant object signals and component signals has the following problems: First, whether using signal processing technology or machine learning methods, the existing research is based on pure redundant object signals or component signals, and on this basis, suitable acoustic models, detection algorithms or classifiers are trained. In fact, the practicality and generalization of these acoustic models, detection algorithms or classifiers are very poor. Because in real application scenarios, redundant objects and internal loose components generate signals at the same time, the signals of redundant objects are bursty and random, while the component signals are periodic and stable. In many cases, the randomly occurring redundant object signals are mixed with the stably occurring component signals. In this way, there are few separate and pure redundant object signals. Therefore, the above acoustic models, detection algorithms or classifiers do not work. Secondly, the existing research ignores overlapping signals. As mentioned above, it is normal for redundant object signals to be mixed with component signals. Therefore, in-depth analysis of overlapping signals and trying to dig out the information of redundant object signals are the key to truly realizing redundant object detection, rather than analyzing two single-tone signals under ideal conditions. Finally, existing research based on machine learning methods has stopped at training a classifier with good performance to achieve effective classification of data with two labels, the source of the redundant signal and the component signal, and has not further given the identification results of the redundant signal and the component signal. In other words, the general procedure steps for using these methods for redundant detection have not been given. In other words, these studies have not been applied in real application scenarios, and have certain academic reference value, but low practicality. Summary of the invention

[0006] In view of the deficiency of ignoring overlapping signals in existing research on redundant object detection, the present invention takes overlapping signals that exist in large numbers in real application scenarios as the research object, and provides a sealed relay overlapping signal recognition method based on machine learning and confidence rate to improve the accuracy of existing redundant object detection.

[0007] The objective of the present invention is achieved through the following technical solutions:

[0008] A method for identifying overlapping signals of a sealed relay based on machine learning and confidence rate comprises the following steps:

[0009] Step 1: According to the properties of the excess material detected from the sealed relay in the real application scenario, a sealed relay sample set 1 is prepared, and the samples are numbered respectively, wherein: the sample containing no excess material but containing loose components is numbered 0, the sample containing no loose components but containing excess material of the first material is numbered 1, the sample containing no loose components but containing excess material of the second material is numbered 2, ..., the sample containing no loose components but containing excess material of the Nth material is numbered N;

[0010] Step 2: Perform PIND detection on the samples in the sealed relay sample set 1 in sequence according to the numbers in step 1, and obtain and save a single-tone signal respectively. After the last sample completes the PIND detection, a complete round of testing is completed, and multiple single-tone signals are obtained; by repeating multiple rounds of testing, multiple single-tone signals corresponding to each sample are obtained;

[0011] Step 3: Extract applicable sound features from multiple domains and establish a sound feature library; perform frame processing and pulse extraction on the single-tone signal, calculate the feature value from each frame signal, and add labels to obtain multiple data, among which: the label of the data belonging to the component signal is set to "0", and the label of the data belonging to the redundant signal is set to "1", and the recognition data set is constructed from the data of these two types of labels;

[0012] Step 4: Train multiple classifiers on the recognition data set respectively, and compare to obtain the best performing classifier; use the grid search method to optimize the internal parameters of the classifier to achieve the best classification performance, thereby obtaining the optimal classifier, which is called the optimal recognition model;

[0013] Step 5: Referring to step 1, prepare a sealed relay sample set 2, and number the samples respectively, wherein: the sample containing both the excess material and the loose components of the first material is numbered 1, the sample containing both the excess material and the loose components of the second material is numbered 2, ..., the sample containing both the excess material and the loose components of the Nth material is numbered N;

[0014] Step 6: Perform PIND detection on the samples in the sealed relay sample set 2 in sequence according to the numbers in step 5, and obtain and save a segment of overlapping signals respectively. After the last sample completes the PIND detection, a complete round of testing ends, and multiple segments of overlapping signals are obtained; by repeating multiple rounds of testing, multiple segments of overlapping signals corresponding to each sample are obtained;

[0015] Step 7: Perform frame processing and pulse extraction on the overlapping signals, calculate the feature value of the sound feature library in step 3 from each frame signal, and obtain multiple unlabeled data; multiple unlabeled data belonging to the same frame signal combination are used to construct an overlapping set, thereby constructing multiple overlapping sets, which are named overlapping set 1, overlapping set 2, ..., overlapping set N respectively;

[0016] Step 8: Use the optimal recognition model obtained in step 4 to predict the overlapping sets respectively, calculate the ratio of the number of data with labels predicted as "0" in each overlapping set to the total number of data, called the confidence rate, and thus obtain multiple confidence rates; take the lower limit of all confidence rates to obtain the standard confidence rate;

[0017] Step 9: Perform PIND detection on the sealed relay to be tested, and obtain and save a section of the signal to be tested;

[0018] Step 10: Perform frame processing and pulse extraction on the signal to be tested, calculate the feature value of the sound feature library in step 3 from each frame signal, and obtain multiple unlabeled data; multiple unlabeled data belonging to the same frame signal combination form a test set, thereby constructing multiple test sets, which are named test set 1, test set 2, ..., test set N respectively;

[0019] Step 11: Use the optimal recognition model obtained in step 4 to predict the test set in turn, calculate the confidence rate of each test set, and thus obtain multiple confidence rates; compare the currently calculated confidence rate with the standard confidence rate in turn. If all currently calculated confidence rates are greater than the standard confidence rate, it indicates that there is no overlapping signal in the current signal to be tested. If more than one currently calculated confidence rate is less than the standard confidence rate, it indicates that there is an overlapping signal in the current signal to be tested.

[0020] Compared with the prior art, the present invention has the following advantages:

[0021] (1) This invention is the first to shift the focus of research on improving the reliability of redundant object detection to overlapping signals, providing a new idea for the research of redundant object detection. In real application scenarios, overlapping signals contain a large number of redundant signals. Taking overlapping signals as the research object and trying to mine the information of redundant signals from them can improve the accuracy and reliability of redundant object detection.

[0022] (2) This invention applies the classification mechanism of the classifier in machine learning to the recognition of overlapping signals for the first time. The classifier classifies data based on data distribution. The difference in acoustic characteristics between the redundant signal and the component signal is also retained in the overlapping signal. This difference can be quantified as a feature vector, thereby achieving data classification and signal recognition.

[0023] (3) The present invention proposes definitions of confidence rate and detection accuracy applicable to redundant object detection. Confidence rate is the key to achieve the conversion from the classification result of feature vector to the recognition result of overlapping signal, and detection accuracy is the key to achieve the conversion from the recognition result of overlapping signal to the redundant object detection result required by engineering application.

[0024] (4) The method proposed in the present invention achieves significant and stable recognition and detection effects in real application scenarios. The method proposed in the present invention has carried out multiple overlapping signal recognition tests and sealed relay redundant object detection tests in real application scenarios, verifying its feasibility and practicality. The detection accuracy achieved by the method proposed in the present invention is 100%, and the overlapping signal recognition results obtained are stable and reliable. Compared with existing research, the detection sensitivity of the present invention for redundant object signals is greatly improved, which effectively improves the reliability of sealed relay redundant object detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 The implementation process of the overlapping signal identification method for the sealed relay;

[0026] Figure 2 This is a sealed relay sample;

[0027] Figure 3 The waveform diagram of the single-tone signal collected in the real application scenario, a-residual signal, b-component signal;

[0028] Figure 4 is the confidence rate of 50 overlapping sets in six parts;

[0029] Figure 5 The average confidence rate of six materials in the sealed relay sample set with different weights. DETAILED DESCRIPTION

[0030] The technical solution of the present invention is further described below in conjunction with the accompanying drawings, but is not limited thereto. Any modification or equivalent replacement of the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention should be included in the protection scope of the present invention.

[0031] The present invention takes overlapping signals that appear in large numbers in real application scenarios as research objects, and provides a sealed relay overlapping signal recognition method based on machine learning and confidence rate to improve the accuracy of existing redundant object detection. The biggest difference between overlapping signals and single-tone signals is that single-tone signals have only one acoustic characteristic, while overlapping signals contain the acoustic characteristics of redundant object signals and component signals at the same time. In the present invention, the difference in the acoustic characteristics of the two signals is quantified by extracting sound features in multiple domains, and the changes caused by the difference in acoustic characteristics, i.e., the changes in classification results, are intuitively displayed by using the classification mechanism of the classifier in machine learning. Therefore, with reference to the redundant object detection information in real application scenarios, real sealed relay samples are made, and a classifier with good performance is trained to effectively classify the data of the two labels of the source redundant object signal and the component signal. The classifier is applied to predict the data of the source overlapping signal, analyze the distribution characteristics of the two label data, and use the confidence rate to quantify the distribution characteristics, i.e., the difference in the acoustic characteristics of the two signals, and determine the standard confidence rate. On this basis, with the classifier and the standard confidence rate as reference, the recognition result of the overlapping signal of the sealed relay to be tested is given, and then the redundant object detection result is given.

[0032] The core idea of ​​the above method lies in the three transfers of the research object. Due to the limitations of confidentiality management and other factors, it is impossible to obtain authorization to directly disassemble the sealed relay for research. Therefore, the present invention makes two batches of samples according to the use model and packaging process of the sealed relay in the real application scenario. The first batch of samples includes samples containing only one material of excess but not loose components, and samples containing no excess but loose components, which are called sealed relay sample set one. The second batch of samples includes samples containing both excess and loose components of one material, which are called sealed relay sample set two. First, taking the sealed relay sample set one as the research object, through data acquisition, signal preprocessing, feature extraction, data set construction, model training, parameter optimization and other steps, a classifier with optimal classification performance is trained, which is called the optimal recognition model. Secondly, taking the sealed relay sample set two as the research object, through data acquisition, signal preprocessing, feature extraction, overlapping set construction, confidence rate calculation and other steps, a standard confidence rate is obtained. Finally, taking the sealed relay to be tested as the research object, through data acquisition, signal preprocessing, feature extraction and other steps, multiple sets to be tested are constructed, and the optimal recognition model is used to predict them respectively. According to the prediction results, the confidence rates of multiple sets to be tested are calculated and compared with the standard confidence rates. After comprehensive analysis, the overlapping signal recognition results are obtained. Figure 1 As shown, the specific implementation steps are as follows:

[0033] Step 1: According to the properties of the excess materials detected from the sealed relay in the actual application scenario, a sealed relay sample set 1 is prepared, and the samples are numbered respectively, where: the sample that does not contain excess materials but contains loose components is numbered 0, the sample that does not contain loose components but contains excess materials of the first material is numbered 1, the sample that does not contain loose components but contains excess materials of the second material is numbered 2, ..., the sample that does not contain loose components but contains excess materials of the Nth material is numbered N.

[0034] Step 2: Place the samples in sequence according to the numbers in step 1 on the DZJC-III particle impact noise excess automatic detection system for PIND detection, and obtain and save a single tone signal (the acquisition time is 10 seconds). After the last sample completes the PIND detection, a complete round of tests is completed and multiple single tone signals are obtained; by repeating multiple rounds of tests, multiple single tone signals corresponding to each sample are obtained.

[0035] Step three: extract applicable sound features from multiple domains and establish a sound feature library; perform frame processing and pulse extraction on the single-tone signal, calculate the feature value from each frame signal, and add labels to obtain multiple data, among which: the label of the data belonging to the component signal is set to "0", and the label of the data belonging to the redundant signal is set to "1", and the identification data set is constructed from the data of these two types of labels; the multiple domains include time domain, frequency domain, time-frequency domain, Mel-frequency cepstral coefficient domain, packet transform domain, Hilbert-Huang transform, fractal theory, chaotic system, etc.

[0036] Step 4: Train multiple classifiers on the recognition data set respectively, and compare to obtain the best performing classifier; with the help of grid search method, optimize the internal parameters of the classifier to optimize its classification performance, thereby obtaining the optimal classifier, called the optimal recognition model, where: the classifiers include k-nearest neighbor, conventional support vector machine, support vector machine based on kernel function, decision tree, random forest, XGBoost, BP neural network, recurrent neural network, convolutional neural network, etc.

[0037] At this point, the task of the recognition model training part of the training phase of the method proposed in the present invention is completed, and the obtained optimal recognition model can be used for overlapping signal recognition.

[0038] Step 5: Referring to step 1, prepare sealed relay sample set 2, and number the samples respectively, where: the sample containing both the excess material and loose components of the first material is numbered 1, the sample containing both the excess material and loose components of the second material is numbered 2, ..., the sample containing both the excess material and loose components of the Nth material is numbered N.

[0039] Step six: According to the numbers in step five, place the samples in sequence on the DZJC-III particle collision noise and excess material automatic detection system for PIND detection, and obtain and save a segment of overlapping signals respectively (the acquisition time is 10 seconds). After the last sample completes the PIND detection, a complete round of tests is completed and multiple overlapping signals are obtained; by repeating multiple rounds of tests, multiple overlapping signals corresponding to each sample are obtained.

[0040] Step 7: Perform frame processing and pulse extraction on the overlapping signals, calculate the feature values ​​of the sound feature library in step 3 from each frame signal, and obtain multiple unlabeled data; construct an overlapping set from multiple unlabeled data belonging to the same frame signal combination, and thus construct multiple overlapping sets, which are named overlapping set 1, overlapping set 2,..., overlapping set N respectively.

[0041] Step 8: Use the optimal recognition model obtained in step 4 to predict the overlapping sets respectively, and calculate the ratio of the number of data whose labels are predicted to be "0" in each overlapping set to the total number of data, which is called the confidence rate, thereby obtaining multiple confidence rates; take the lower limit of all confidence rates to obtain the standard confidence rate.

[0042] At this point, the task of the overlapping signal recognition part of the method proposed in the present invention in the training phase is completed, and the obtained standard confidence rate can be used for overlapping signal recognition.

[0043] Step 9: Place the sealed relay to be tested on the DZJC-III particle impact noise excess automatic detection system to carry out PIND detection, and obtain and save a section of the signal to be tested (the acquisition time is 10 seconds).

[0044] Step 10: Perform frame processing and pulse extraction on the signal to be tested, calculate the feature value of the sound feature library in step 3 from each frame signal, and obtain multiple unlabeled data; multiple unlabeled data belonging to the same frame signal combination construct a test set, thereby constructing multiple test sets, which are named test set 1, test set 2,..., test set N respectively.

[0045] Step 11: Use the optimal recognition model obtained in step 4 to predict the test set in turn, calculate the confidence rate of each test set, and thus obtain multiple confidence rates; compare the currently calculated confidence rate with the standard confidence rate in turn. If all currently calculated confidence rates are greater than the standard confidence rate, it indicates that there is no overlapping signal in the current signal to be tested. If more than one currently calculated confidence rate is less than the standard confidence rate, it indicates that there is an overlapping signal in the current signal to be tested.

[0046] At this point, the task of the method proposed in the present invention in the testing phase is completed.

[0047] Example:

[0048] 1. Sample preparation and signal acquisition

[0049] At the current manufacturing level, the number of excess materials remaining inside the sealed relay rarely exceeds 1, and the specific materials include copper wire, solder particles, aluminum particles, hot melt adhesive particles, PVC particles and silicone particles. Their weight distribution ranges from 0.2mg to 2mg. This embodiment makes samples of excess materials of the above six materials, and the weight is the smallest 0.02mg. In the process of making sealed relay samples, this embodiment places no more than 1 excess sample inside each sample. Figure 2The produced sealed relay samples (parts) are given. Among them, the upper row is the sealed relay sample set one (part), none of which contain loose components but contain samples of excess materials of one material. The lower row is the sealed relay sample set two, which both contain loose components and samples of excess materials of one material. In addition, this embodiment produces a sealed relay sample that contains loose components but does not contain samples of excess materials, and adds it to the first row of samples to form a complete sealed relay sample set one. In this way, the samples in the sealed relay sample set one are numbered 1, 2, ..., 7, and the samples in the sealed relay sample set two are numbered 1, 2, ..., 6, respectively.

[0050] Referring to the above steps 2 and 5, this embodiment places the samples in the sealed relay sample set 1 and the sealed relay sample set 2 on the DZJC-III type particle collision noise redundant automatic detection system to carry out PIND detection. By repeating 100 rounds of tests, 700 single-tone signals and 600 overlapping signals were obtained respectively.

[0051] 2. Feature extraction

[0052] Machine learning cannot process signals directly, but needs to convert signals into data. Feature extraction is a commonly used conversion method in the field of signal detection. It selects sound features that can describe the acoustic characteristics of the signal from the time domain, frequency domain, and high-order domain, and converts the signal into multiple feature values ​​through feature calculation, thereby constructing multiple feature vectors. Feature vectors of different categories construct data sets, which can train classifiers to complete signal classification or recognition tasks.

[0053] The excess signal is generated by the collision or sliding of the excess with the inner wall or internal components of the sealed relay, and its frequency is concentrated between 130kHz and 180kHz. The component signal is generated by the vibration of the loose components inside the sealed relay, and its frequency is concentrated between 15kHz and 100kHz. Figure 3 The waveforms of the redundant signal and component signal collected by special equipment in real application scenarios are given.

[0054] from Figure 3 It can be seen that the pulses in the redundant signal are random spike pulse sequences, which vary randomly in time and have large time intervals between each other. In contrast, the pulses of the component signal vary approximately periodically in time, and the amplitude and duration of the pulse sequence in each cycle are approximately equal. Therefore, the sound features in the time domain and frequency domain can clearly describe the difference in acoustic characteristics between the two signals. With the help of the feature selection method based on multi-index combination sorting, this embodiment selects 12 sound features to construct a sound feature library, as shown in Table 1.

[0055] Table 1 Sound feature library

[0056]

[0057] 3. Identify datasets and overlapping sets

[0058] The collected single tone signals and overlapping signals are framed. In this way, these signals are processed into multiple frame signals, including useful frame signals and zero frame signals. The useful frame signal is formed on the basis of the pulse, and the zero frame signal is formed on the basis of the zero signal used to connect the pulse. Endpoint detection refers to accurately finding the starting point and ending point of a pulse from a section of signal. Its purpose is to separate the effective pulse from the useless zero signal. In this embodiment, endpoint detection can accurately find the starting point and ending point of multiple continuous useful frame signals formed by pulses, that is, the starting frame signal and the ending frame signal, from multiple continuous frame signals. Multiple continuous useful frame signals formed by each pulse are regarded as a frame signal combination.

[0059] In this embodiment, a total of 700 segments of single-tone signals and 600 segments of overlapping signals are collected, wherein the 700 segments of single-tone signals are composed of 100 segments of component signals and 100 segments of redundant signals of six materials. These signals are respectively subjected to frame processing and endpoint detection to obtain multiple useful frame signals. The values ​​of 12 sound features in the sound feature library are calculated on each useful frame signal to construct multiple feature vectors. For those useful frame signals obtained by component signal processing, the feature vectors they construct are set with a label of "0". For those useful frame signals obtained by redundant signal processing, the feature vectors they construct are set with a label of "1". These labeled feature vectors construct a recognition data set, and their specific description is shown in Table 2. In addition, for those useful frame signals obtained by overlapping signal processing, according to the frame signal combination to which they belong, the feature vectors they construct are combined together to construct multiple overlapping sets for the study of overlapping signal recognition.

[0060] Table 2 Recognition dataset

[0061]

[0062] 4. Optimal recognition model

[0063] Commonly used classifiers with good performance in machine learning include k-nearest neighbor, radial basis kernel function support vector machine (RBF-SVM), decision tree, random forest, XGBoost, etc. In this embodiment, ten-fold cross validation is performed on the recognition data set, and the above five classifiers are trained respectively, and their average classification accuracy is calculated, as shown in Table 3. In addition, this embodiment also trains BP neural network and recurrent neural network, and compares them with the above five classifiers.

[0064] Table 3 Average classification accuracy of different classifiers on the recognition dataset

[0065]

[0066]

[0067] As can be seen from Table 3, XGBoost has achieved the highest average classification accuracy, and its advantages are obvious. Random forest and RBF-SVM also achieved high average classification accuracy. XGBoost and random forest are both classifiers based on ensemble learning ideas. They are strong classifiers composed of multiple base classifiers, and their classification performance is more outstanding. SVM is often used to solve low-dimensional binary classification problems. After using radial basis function as kernel function, RB-SVM can map high-dimensional multi-classification problems into high-dimensional space, and then use hyperplane for segmentation. Therefore, RBF-SVM also achieved satisfactory average classification accuracy. Decision tree is the base classifier of XGBoost and random forest, and the average classification accuracy achieved is lower than that of the two, and the performance is average. The three factors that affect the classification performance of kNN include k value selection, distance measurement and voting weight. In the recognition data set, the data distribution of column feature vectors corresponding to different sound features is very different. For example, the data of pulse left-right symmetry is distributed in the range of 0 to 1, and the data of cepstral coefficients is distributed in the range of 5000 to 10000, which is more than 10000 times different. Therefore, the distance metric of kNN is no longer sensitive, and its classification performance has declined. In contrast, the performance of BP neural network and recurrent neural network is average, especially BP neural network, which has achieved the lowest average classification accuracy. BP neural network is prone to fall into the trap of local minimum, and the classification results are overly dependent on the weights randomly set during initialization. Compared with BP neural network, the average classification accuracy achieved by recurrent neural network has been significantly improved, but compared with other better classifiers, there is still a large gap.

[0068] In summary, this embodiment uses XGBoost as a classifier. With the help of the grid search method, the internal parameters of XGBoost are optimized, including the total number of iterations, the depth of the decision tree, and the learning rate. Specifically, the search range of the total number of iterations is set to 0 to 1000, and the step size is set to 1. The search range of the decision tree depth is set to 0 to 20, and the step size is set to 1. The search range of the learning rate is set to 0 to 1, and the step size is set to 0.01. Finally, the optimal value of the total number of iterations is 158, the optimal value of the decision tree depth is 9, and the optimal value of the learning rate is 0.13. On this basis, the average classification accuracy achieved by parameter optimization XGBoost is 94.68%, which is 1.56% higher than before parameter optimization. So far, the optimal recognition model is obtained.

[0069] 5. Overlapping signal recognition

[0070] This embodiment constructs multiple overlapping sets, which are derived from 600 overlapping signals. Considering that the sealed relay sample set 2 contains samples of six materials, each sample generates 100 overlapping signals. Therefore, this embodiment divides the overlapping set into six parts, corresponding to six samples respectively. This embodiment randomly selects 50 overlapping sets from each part, a total of 300 overlapping sets, and uses the optimal recognition model to make predictions on each overlapping set. In this way, the labels of multiple unlabeled feature vectors in each overlapping set are predicted, and the author calculates the confidence rate of each overlapping set based on this.

[0071] In statistics, confidence rate is also called confidence level, which refers to a confidence interval and refers to the credibility of a certain event happening in this confidence interval. In this embodiment, the confidence rate defined refers to the credibility of the labels of multiple unlabeled feature vectors in the overlapping set being predicted as "0", that is, component signals. On this basis, the confidence rates of 50 overlapping sets in six parts are calculated respectively, and plotted as follows: Figure 4 Scatter plot shown.

[0072] from Figure 4 It can be seen that all 300 confidence rates are distributed in the range of 60% to 75%. Moreover, the six colors of scattered points shown in the figure show a relatively obvious stratification phenomenon. That is, the 50 scattered points corresponding to sample four, that is, the excess samples corresponding to hot melt adhesive particles, are distributed in the bottom layer. Further up, there are 50 scattered points corresponding to sample six, sample five and sample three, that is, the excess samples corresponding to silicone particles, PVC particles and aluminum particles, respectively. At the top layer, there are 50 scattered points corresponding to sample one and sample two, that is, the excess samples corresponding to copper wire and solder particles, which are distributed alternately. Figure 4 It can be seen that the confidence rate corresponding to the bottom layer is the smallest, and the confidence rate corresponding to the top layer is the largest. From the definition of confidence rate, the confidence rate at the bottom layer represents that in the corresponding overlapping set or frame signal combination, the number of unlabeled feature vectors or useful frame signals corresponding to the redundant signal accounts for a large proportion. In other words, in the pulses corresponding to each overlapping set or frame signal combination, the proportion of the redundant signal is relatively large. This embodiment analyzes this. Table 4 lists Figure 2 Mohs hardness and density of six materials shown.

[0073] Table 4 Mohs hardness and density of six materials

[0074]

[0075] From the perspective of Mohs hardness, the Mohs hardness of hot melt adhesive particles, silicone particles, PVC particles, copper wire, aluminum particles and solder particles decreases in turn, which is basically consistent with the change trend analyzed above. Among them, the distribution ranges of the Mohs hardness of hot melt adhesive particles and silicone particles, silicone particles and PVC particles partially overlap, but the distinction is generally clear. Generally speaking, when other conditions are the same, the greater the Mohs hardness of the object, the greater the energy of the excess signal generated by the collision, resulting in a greater proportion of the excess signal in the overlapping signal composed of the component signal. This also explains why the change trend of the Mohs hardness of the six materials shown in Table 4 is basically consistent with the change trend of the confidence rate. It is worth noting that the change trend of the Mohs hardness of copper wire and aluminum particles is exactly opposite to the change trend of the confidence rate. Therefore, this embodiment continues to analyze from the perspective of density. As mentioned above, the weight of the excess samples of the six materials selected in this embodiment is 0.02 mg. We know that when the weight is the same, the greater the density of the object, the smaller the volume. In this way, the density of three non-metallic materials such as hot melt adhesive particles, PVC particles and silicone particles is significantly lower than that of three metal materials such as copper wire, solder particles and aluminum particles. In this way, the volume of the three non-metallic materials must be greater than that of the three metal objects. Considering that the hardness of the three non-metallic materials is also significantly higher than that of the three metal materials, the confidence rate of the three non-metallic materials must be lower than that of the three metal materials. In addition, the density of silicone particles is not much different from that of PVC particles, but its confidence rate is still higher than that of PVC particles, indicating that the Mohs hardness of the silicone particles used in this embodiment should be close to 70. Among the three metal materials, the Mohs hardness of aluminum particles is slightly lower than that of copper wire, but its density is much lower than that of copper wire, indicating that its volume is larger. This also explains why the confidence rate of aluminum particles is higher than that of copper wire. The Mohs hardness of solder particles is only half of that of copper wire, but its density is also lower than that of copper wire, indicating that its volume is slightly larger. This also explains why the confidence rates of solder particles and copper wire alternate. Overall, the confidence rate of copper wire is smaller, indicating that the Mohs hardness plays a leading role.

[0076] Through calculation, the average confidence rates of the six materials are as follows: copper wire is 62.26%, solder particles are 63.92%, aluminum particles are 65.66%, hot melt adhesive particles are 67.90%, PVC particles are 70.02%, and silicone particles are 70.28%. The largest of them is hot melt adhesive particles 70.28%. The average classification accuracy achieved by the optimal recognition model on the recognition data set is 93.12%. For a test data set constructed by a single tone signal, the labels of its internal feature vectors should be equal and unique, either all "0" or all "1". However, the optimal recognition model can only correctly predict the labels of about 93% of the feature vectors in the test data set, and the labels of the remaining about 7% of the feature vectors are predicted incorrectly. From another perspective, in a single tone signal, multiple frame signal combinations are obtained through frame processing and endpoint detection, and then multiple overlapping sets are constructed. If this single tone signal is a component signal, the optimal recognition model predicts that the proportion of feature vectors with the label "0" in the overlapping set is about 93%, and the confidence rate of each overlapping set should be calculated to be about 93%. Similarly, if this single tone signal is a redundant signal, the confidence rate of each overlapping set should be calculated to be about 7%. In this way, if this signal is an overlapping signal, the optimal recognition model's preference for a certain label will decrease, that is, the proportion of feature vectors predicted to be a certain label will be slightly lower than 93%, and the proportion of feature vectors predicted to be another label will be slightly higher than 7%. This is essentially the confidence rate. This explains Figure 4 The reason why the confidence rates corresponding to different materials shown hover between 60% and 75%. This is also the core of the overlapping signal recognition proposed by the present invention. On the whole, in the single-tone signal, that is, the component signal, the confidence rate obtained is about 93%. In the overlapping signal, the upper limit of the confidence rate obtained is 70.28%, which is about 71%. This embodiment takes the median of the two, 82%, as the standard confidence rate. That is: if the confidence rate obtained is lower than the standard confidence rate, it means that this is an overlapping signal or a superfluous signal, otherwise it is a component signal. It can be seen that such a division not only makes the confidence rate of the overlapping signal clearly distinguishable from the confidence rate of the single-tone signal (component signal), but also retains a certain amount of flexibility to ensure that the confidence rate of the overlapping signal will not exceed the standard confidence rate in some extreme cases, thereby ensuring the reliability of overlapping signal recognition. At this point, the standard confidence rate is obtained.

[0077] 6. General procedure steps

[0078] The following provides general procedure steps for applying the method proposed in the present invention to detect excess objects in sealed relays in real application scenarios, which is also a detailed description of steps nine to eleven in the test phase.

[0079] Step 1: Place the sealed relay to be tested on a dedicated device to carry out PIND detection, and obtain and save a test signal.

[0080] Step 2: Perform frame processing and pulse extraction on the signal to be tested, calculate the feature value of the sound feature library from each frame signal, and obtain multiple unlabeled feature vectors. Multiple feature vectors belonging to the same frame signal combination construct a test set, thereby constructing multiple test sets, which are named test set 1, test set 2, ..., test set N.

[0081] Step 3: Use the optimal recognition model to predict the test set in turn, calculate the confidence rate of each test set, and obtain multiple confidence rates. Compare the calculated multiple confidence rates with the standard confidence rate of 82% in turn. If all calculated confidence rates are greater than 82%, it indicates that the current signal to be tested is a component signal, and there is no redundant material inside the sealed relay to be tested. If more than one calculated confidence rate is less than 82%, it indicates that the current signal to be tested is an overlapping signal or a redundant signal, and there is redundant material inside the sealed relay to be tested.

[0082] 7. Performance evaluation indicators

[0083] In order to evaluate the classification performance of the classifier, this embodiment selects classification accuracy as the evaluation index. Assume that the data set or set is D = {(x1, y1), (x2, y2), ..., (x m ,y m )}, where y i is the eigenvector x i The true label, T i is the predicted label given by the classifier. The classification accuracy of the classifier on D is expressed as the ratio of the number of feature vectors with correct label prediction to the total number of feature vectors, that is:

[0084]

[0085] Where I is the indicator function. i =y i When I(T i =y i )=1.

[0086] In addition, this embodiment proposes a definition of detection accuracy applicable to redundant object detection. Assume that the redundant object detection event E includes n detection tasks, that is, n sealed relays to be tested, represented by E = {T1, T2, ..., T n}. In the detection task T j In the above method, the recognition results of the set to be tested given by the optimal recognition model are sequentially judged, and the number of redundant signals or overlapping signals is counted, and then the redundant detection result is obtained as p(T j ). At the same time, the sealed relay to be tested is opened physically to confirm that the real identification result is R j If p(Tj ) and R j If they are consistent, the detection task is considered successful. The detection accuracy is expressed as the ratio of the number of successful detection tasks to the total number of detection tasks in the redundant object detection event E, and its calculation formula is:

[0087]

[0088] Where I is the indicator function. When p(T j )=R j When I(p(T j )=R j )=1.

[0089] Example 2: Standard confidence rate robustness verification

[0090] Referring to the production process of the sealed relay sample set 2 in Example 1, this embodiment re-produces seven sealed relay sample sets for generating overlapping signals. It should be noted that the weight of the excess sample used in each new sealed relay sample set is different, which are 0.4mg, 0.8mg, 0.16mg, 0.32mg, 0.64mg, 1.28mg and 2mg respectively, and the rest of the settings are the same. These samples are placed on the DZJC-III type particle collision noise excess automatic detection system to carry out PIND detection. Through the steps of data acquisition, signal preprocessing, feature extraction and overlapping set construction, multiple overlapping sets of new sealed relay sample sets corresponding to different weights are obtained, as well as multiple overlapping sets of excess samples corresponding to six materials in each sample set. Similarly, for each new sealed relay sample set, 50 overlapping sets are randomly selected from the multiple overlapping sets of excess samples corresponding to each material, for a total of 300 overlapping sets, and the optimal recognition model is used to predict on each overlapping set, and the average confidence rate of each material is calculated. Finally, the average confidence rate of each material in the seven new sealed relay sample sets is obtained. Combined with the average confidence rate of each material in the above sealed relay sample set 2, the following is drawn: Figure 5 Comparison chart shown.

[0091] from Figure 5 It can be seen that as the weight of the excess sample gradually increases, the average confidence rate of the six materials in the corresponding sealed relay sample set also gradually decreases, and the overall trend is stable and consistent. This shows that when the Mohs hardness of the object remains unchanged, as its weight gradually increases, the energy of the excess signal generated by its collision is greater, resulting in a greater proportion of the excess signal in the overlapping signal composed of the component signal. In this way, the average confidence rate of each material will gradually decrease, which is consistent with Figure 5Therefore, the set standard confidence rate of 82% is fully applicable to the sealed relay samples made of larger excess weight samples. In fact, this is also the reason why the smallest excess weight samples are selected to make sealed relay samples. In addition, Figure 5 As shown in the figure, the average confidence rates of copper wire and solder particles are still intertwined, which is consistent with Figure 4 The results shown are consistent. So far, this embodiment verifies that the standard confidence rate set is robust.

[0092] Example 3: Overlapping signal identification and verification

[0093] In a real application scenario, a sealed relay to be tested is found and placed on the DZJC-III type particle collision noise redundant automatic detection system for PIND detection. Through the steps of data acquisition, signal preprocessing and feature extraction, 23 test sets are constructed. The author uses the optimal recognition model to make predictions respectively and calculates 23 confidence rates (rounded to integers), as shown in Table 5.

[0094] Table 5 Confidence rates of 23 test sets

[0095]

[0096] It can be seen from Table 5 that the confidence rates of the test sets numbered 1, 8, 11, and 15 are lower than the standard confidence rates, indicating that the pulses corresponding to them are overlapping signals. The confidence rate of the test set numbered 10 is significantly lower than the standard confidence rate, indicating that the pulses corresponding to them are redundant signals. The confidence rates of the remaining numbered test sets are significantly higher than the standard confidence rates, indicating that they all come from component signals. Referring to step three in Example 1, at this time, five calculated confidence rates are lower than the standard confidence rates, indicating that there are redundant objects inside the current sealed relay to be tested.

[0097] Example 4: Redundant Object Detection and Verification

[0098] In this embodiment, 10 sealed relays to be tested are found in a real application scenario, and they are placed on the DZJC-III type particle collision noise redundant automatic detection system to carry out PIND detection. Through the steps of data acquisition, signal preprocessing and feature extraction, multiple test sets are constructed respectively. The optimal recognition model is used to make predictions respectively, the confidence rate of each test set is calculated, and the overlapping signal recognition results of the 10 sealed relays to be tested are counted, as shown in Table 6.

[0099] Table 6 Overlapping signal identification results of 10 tested sealed relays

[0100]

[0101] As can be seen from Table 6, the detection results of the excess objects of the 10 sealed relays to be tested are all correct. If the 10 sealed relays to be tested are regarded as a superfluous object detection event, the detection accuracy obtained by the method proposed in the present invention is 100%. This effectively illustrates the feasibility and practicality of the method proposed in the present invention. Specifically, there are excess objects inside the sealed relays to be tested numbered 3, 5, 9, and 10, and overlapping signals are identified in the test sets corresponding to these sealed relays to be tested. Especially on the sealed relays to be tested numbered 3 and 9, no excess object signals are identified in their corresponding test sets. Therefore, the existing excess object signal and component signal identification method cannot determine the existence of excess object signals, and thus the excess object detection result given is that there is no excess object. Obviously, this is incorrect. In this way, the detection accuracy obtained by these methods is only 80%, and their detection sensitivity to excess object signals is low. In addition, multiple overlapping signals are identified in the test sets corresponding to the sealed relays to be tested numbered 3, 5, 9, and 10. This also illustrates the importance of conducting overlapping signal research. Therefore, in real application scenarios, relying on the overlapping signal recognition method proposed in the present invention to detect redundant objects is more accurate and reliable than relying on a redundant object detection method that can only recognize single-tone signals, which fully highlights the necessity of carrying out the present invention.

Claims

1. A method for identifying overlapping signals of sealed relays based on machine learning and confidence rate, characterized in that The method comprises the following steps: Step 1: According to the properties of the excess material detected from the sealed relay in the real application scenario, a sealed relay sample set 1 is prepared, and the samples are numbered respectively, wherein: the sample containing no excess material but containing loose components is numbered 0, the sample containing no loose components but containing excess material of the first material is numbered 1, the sample containing no loose components but containing excess material of the second material is numbered 2, ..., the sample containing no loose components but containing excess material of the Nth material is numbered N; Step 2: Perform PIND detection on the samples in the sealed relay sample set 1 in sequence according to the numbers in step 1, and obtain and save a single-tone signal respectively. After the last sample completes the PIND detection, a complete round of testing is completed, and multiple single-tone signals are obtained; by repeating multiple rounds of testing, multiple single-tone signals corresponding to each sample are obtained; Step 3: Extract applicable sound features from multiple domains and establish a sound feature library; perform frame processing and pulse extraction on the single-tone signal, calculate the feature value from each frame signal, and add labels to obtain multiple data, among which: the label of the data belonging to the component signal is set to "0", and the label of the data belonging to the redundant signal is set to "1", and the recognition data set is constructed from the data of these two types of labels; Step 4: Train multiple classifiers on the recognition data set respectively, and compare to obtain the best performing classifier; use the grid search method to optimize the internal parameters of the classifier to achieve the best classification performance, thereby obtaining the optimal classifier, which is called the optimal recognition model; Step 5: Referring to step 1, prepare a sealed relay sample set 2, and number the samples respectively, wherein: the sample containing both the excess material and the loose components of the first material is numbered 1, the sample containing both the excess material and the loose components of the second material is numbered 2, ..., the sample containing both the excess material and the loose components of the Nth material is numbered N; Step 6: Perform PIND detection on the samples in the sealed relay sample set 2 in sequence according to the numbers in step 5, and obtain and save a segment of overlapping signals respectively. After the last sample completes the PIND detection, a complete round of testing ends, and multiple segments of overlapping signals are obtained; by repeating multiple rounds of testing, multiple segments of overlapping signals corresponding to each sample are obtained; Step 7: Perform frame processing and pulse extraction on the overlapping signals, calculate the feature value of the sound feature library in step 3 from each frame signal, and obtain multiple unlabeled data; multiple unlabeled data belonging to the same frame signal combination are used to construct an overlapping set, thereby constructing multiple overlapping sets, which are named overlapping set 1, overlapping set 2, ..., overlapping set N respectively; Step 8: Use the optimal recognition model obtained in step 4 to predict the overlapping sets respectively, and calculate the ratio of the number of data with labels predicted as "0" in each overlapping set to the total number of data, which is called the confidence rate, and thus obtain multiple confidence rates; take the lower limit of all confidence rates to obtain the standard confidence rate; Step 9: Perform PIND detection on the sealed relay to be tested, and obtain and save a section of the signal to be tested; Step 10: Perform frame processing and pulse extraction on the signal to be tested, calculate the feature value of the sound feature library in step 3 from each frame signal, and obtain multiple unlabeled data; multiple unlabeled data belonging to the same frame signal combination form a test set, thereby constructing multiple test sets, which are named test set 1, test set 2, ..., test set N respectively; Step 11: Use the optimal recognition model obtained in step 4 to predict the test set in turn, calculate the confidence rate of each test set, and thus obtain multiple confidence rates; compare the currently calculated confidence rate with the standard confidence rate in turn. If all currently calculated confidence rates are greater than the standard confidence rate, it indicates that there is no overlapping signal in the current signal to be tested. If more than one currently calculated confidence rate is less than the standard confidence rate, it indicates that there is an overlapping signal in the current signal to be tested.

2. The method for identifying overlapping signals of sealed relays based on machine learning and confidence rate according to claim 1 is characterized in that The multiple domains include time domain, frequency domain, time-frequency domain, Mel-frequency cepstral coefficient domain, packet transform domain, Hilbert-Huang transform, fractal theory, and chaotic system.

3. The method for identifying overlapping signals of sealed relays based on machine learning and confidence rate according to claim 1 is characterized in that The classifiers include k-nearest neighbor, conventional support vector machine, kernel function-based support vector machine, decision tree, random forest, XGBoost, BP neural network, recurrent neural network, and convolutional neural network.

Citation Information

Patent Citations

  • Automatic remainder detection device and method for spaceborne electronic equipment

    CN102788709A

  • Detection system and real-time detection method for remainder in satellite structure platform hole and medium

    CN110816902A