Terminal detection tooling
By using a potentiometer displacement sensor and a terminal detection result processor in the terminal detection tooling, the voltage signal is automatically analyzed, which solves the problems of low accuracy and manual intervention of traditional terminal detection tooling, and achieves higher detection accuracy and stability.
Patent Information
- Application Number
- CN202411054771.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-08-02
AI Technical Summary
Traditional terminal detection tooling uses mechanical or simple electronic sensors, which have limited accuracy and require manual operation, resulting in unstable detection results and reliability issues.
A terminal detection tooling is designed, which includes a cable protection shell, a detection pen holder and an induction detection device. The built-in potentiometer displacement sensor converts the mechanical displacement into voltage data, and uses the terminal detection result processor to automatically analyze the voltage signal to reduce Human intervention.
It improves detection accuracy and stability, reduces manual errors by automatically processing voltage signals, and enhances the reliability of terminal detection.
Smart Images

Figure CN118583038B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of terminal detection, and in particular, to a terminal detection tool. Background Art
[0002] Terminal inspection tooling is a mechanical and electronic device specially designed to inspect electronic terminals and connectors. It is commonly used in the electronics manufacturing industry to ensure the quality and correct installation of terminals and connectors.
[0003] However, traditional terminal inspection tools use mechanical or simple electronic sensors, which may have limited accuracy. In addition, traditional terminal inspection tools usually require manual operation, including steps such as placing, connecting and disconnecting test equipment, which is easily affected by human factors, resulting in instability and reliability issues in test results.
[0004] Therefore, an optimized terminal inspection tool is desired. Summary of the invention
[0005] This summary is provided to introduce concepts in a brief form that will be described in detail in the detailed description below. This summary is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.
[0006] In a first aspect, the present application provides a terminal detection tool, the terminal detection tool comprising:
[0007] Cable protection housing;
[0008] A detection pen holder accommodated in the cable protection housing;
[0009] A terminal detection and eccentricity calibration port received in the detection pen barrel, wherein the terminal detection and eccentricity calibration port is used to install the terminal to be detected;
[0010] An inductive detection device, wherein the inductive detection device includes a built-in potentiometer-type displacement sensor for converting the mechanical displacement of the terminal to be detected into voltage data and transmitting the voltage data to a terminal detection result processor;
[0011] The terminal detection result processor is used to determine the terminal detection result based on the voltage data.
[0012] Optionally, the terminal detection result processor is further used to: discretely sample the voltage data to obtain a time series of voltage sampling points; calculate the gradient values of each voltage sampling point in the time series of the voltage sampling points to obtain a time series of voltage gradient values; respectively sequence encode the time series of the voltage gradient values and the time series of the voltage sampling points to obtain a voltage gradient time series associated implicit feature vector and a voltage sampling point time series associated implicit feature vector; input the voltage gradient time series associated implicit feature vector and the voltage sampling point time series associated implicit feature vector into a feature vector dynamic interaction integration module based on a gating mechanism to obtain a voltage multi-dimensional time series pattern feature representation vector as a voltage multi-dimensional time series pattern feature representation; and obtain the terminal detection result based on the voltage multi-dimensional time series pattern feature representation.
[0013] Optionally, sequence encoding is performed on the time series of the voltage gradient values and the time series of the voltage sampling points to obtain a voltage gradient time series associated implicit feature vector and a voltage sampling point time series associated implicit feature vector, comprising: inputting the time series of the voltage gradient values and the time series of the voltage sampling points into a dual-branch structure sequence encoder including a convolutional neural network model and a bidirectional gated recurrent unit respectively to obtain the voltage gradient time series associated implicit feature vector and the voltage sampling point time series associated implicit feature vector.
[0014] Optionally, the voltage gradient time series associated implicit feature vector and the voltage sampling point time series associated implicit feature vector are input into a feature vector dynamic interaction integration module based on a gating mechanism to obtain a voltage multi-dimensional time series pattern feature representation vector, including: inputting the voltage gradient time series associated implicit feature vector and the voltage sampling point time series associated implicit feature vector into a feature union module for cascade processing to obtain a voltage gradient sampling point time series associated implicit joint feature vector; inputting the voltage gradient sampling point time series associated implicit joint feature vector into a gating response function to obtain a voltage gradient sampling point time series associated implicit information integration response gating value; using the voltage gradient sampling point time series associated implicit information integration response gating value as a weight, calculating the position-weighted sum of the voltage gradient time series associated implicit feature vector and the voltage sampling point time series associated implicit feature vector to obtain the voltage multi-dimensional time series pattern feature representation vector.
[0015] Optionally, inputting the voltage gradient sampling point timing-associated implicit joint eigenvector into a gating response function to obtain a voltage gradient sampling point timing-associated implicit information integrated response gating value includes: calculating the matrix product of the voltage gradient sampling point timing-associated implicit joint eigenvector and a parameter matrix, and then adding the obtained eigenvector to a bias vector by position to obtain a voltage gradient sampling point timing-associated implicit joint bias eigenvector; and inputting the voltage gradient sampling point timing-associated implicit joint bias eigenvector into a sigmoid activation function to obtain the voltage gradient sampling point timing-associated implicit information integrated response gating value.
[0016] Optionally, taking the voltage gradient sampling point timing-associated implicit information integrated response gating value as a weight, calculating the position-wise weighted sum of the voltage gradient timing-associated implicit feature vector and the voltage sampling point timing-associated implicit feature vector to obtain the voltage multi-dimensional timing pattern feature representation vector, including: calculating the position-wise product between the voltage gradient timing-associated implicit feature vector and the voltage gradient sampling point timing-associated implicit information integrated response gating value to obtain a voltage gradient timing-associated implicit gating adjustment vector; calculating the position-wise product between the voltage sampling point timing-associated implicit feature vector and one minus the voltage gradient sampling point timing-associated implicit information integrated response gating value to obtain a voltage sampling point timing-associated implicit gating adjustment vector; and adding the voltage gradient timing-associated implicit gating adjustment vector and the voltage sampling point timing-associated implicit gating adjustment vector by position to obtain the voltage multi-dimensional timing pattern feature representation vector.
[0017] Optionally, obtaining the terminal detection result based on the voltage multi-dimensional timing pattern feature representation includes: inputting the voltage multi-dimensional timing pattern feature representation vector into a classifier-based terminal detection result generator to obtain the terminal detection result.
[0018] The above technical solution includes: a cable protection shell; a detection pen holder contained in the cable protection shell; a terminal detection and eccentricity calibration port contained in the detection pen holder, wherein the terminal detection and eccentricity calibration port is used to install the terminal to be detected; an inductive detection device, wherein the inductive detection device includes a built-in potentiometer displacement sensor, which is used to convert the mechanical displacement of the terminal to be detected into voltage data and transmit the voltage data to a terminal detection result processor; the terminal detection result processor is used to determine the terminal detection result based on the voltage data. In this way, the built-in potentiometer displacement sensor can accurately capture the mechanical displacement of the terminal and convert it into voltage data, and the terminal detection result processor can automatically complete the analysis of the voltage signal and the judgment of the terminal detection result, thereby reducing manual intervention and improving the detection accuracy and stability.
[0019] Other features and advantages of the present application will be described in detail in the subsequent detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The above and other features, advantages and aspects of the embodiments of the present application will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale. In the drawings:
[0021] Figure 1 It is a schematic structural diagram of a terminal inspection pen tooling according to an exemplary embodiment.
[0022] Figure 2 It is another structural schematic diagram of a terminal inspection pen tooling according to an exemplary embodiment.
[0023] Figure 3 is a flowchart of the terminal detection result processor according to an exemplary embodiment.
[0024] Figure 4 It is a block diagram of an electronic device according to an exemplary embodiment.
[0025] Figure 5 It is a diagram of an application scenario of a terminal detection tool according to an exemplary embodiment.
[0026] Among them, 1. Cable protection shell; 2. Detection pen holder; 3. Eccentric calibration port; 4. Inductive detection device; 5. Terminal detection result processor; 41. Built-in potentiometer displacement sensor. DETAILED DESCRIPTION
[0027] The embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be construed as being limited to the embodiments described herein. Instead, these embodiments are provided to provide a more thorough and complete understanding of the present application. It should be understood that the drawings and embodiments of the present application are only for exemplary purposes and are not intended to limit the scope of protection of the present application.
[0028] It should be understood that the various steps described in the method implementation of the present application can be performed in different orders and / or performed in parallel. In addition, the method implementation may include additional steps and / or omit the steps shown. The scope of the present application is not limited in this respect.
[0029] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0030] It should be noted that the concepts such as "first" and "second" mentioned in this application are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0031] It should be noted that the modifications of "one" and "plurality" mentioned in the present application are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0032] The names of the messages or information exchanged between multiple devices in the embodiments of the present application are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0033] In order to solve the above problems, the present application provides a terminal detection tool, including: a cable protection shell; a detection pen holder contained in the cable protection shell; a terminal detection and eccentricity calibration port contained in the detection pen holder, wherein the terminal detection and eccentricity calibration port is used to install the terminal to be detected; an inductive detection device, wherein the inductive detection device includes a built-in potentiometer displacement sensor, which is used to convert the mechanical displacement of the terminal to be detected into voltage data and transmit the voltage data to a terminal detection result processor; the terminal detection result processor is used to determine the terminal detection result based on the voltage data. In this way, the built-in potentiometer displacement sensor can accurately capture the mechanical displacement of the terminal and convert it into voltage data, and the terminal detection result processor can automatically complete the analysis of the voltage signal and the judgment of the terminal detection result, thereby reducing manual intervention and improving the detection accuracy and stability.
[0034] The specific implementation of the present application is described in detail below with reference to the accompanying drawings.
[0035] Figure 1 It is a schematic structural diagram of a terminal inspection pen tooling according to an exemplary embodiment. Figure 2 FIG. 1 is another schematic diagram of a terminal inspection pen tooling according to an exemplary embodiment. Figure 1 and Figure 2As shown, the present application proposes a terminal detection tool, comprising: a cable protection shell 1; a detection pen barrel 2 accommodated in the cable protection shell 1; a terminal detection and eccentricity calibration port 3 accommodated in the detection pen barrel 2, wherein the terminal detection and eccentricity calibration port 3 is used to install the terminal to be detected; an induction detection device 4, wherein the induction detection device 4 includes a built-in potentiometer-type displacement sensor 41, which is used to convert the mechanical displacement of the terminal to be detected into voltage data and transmit the voltage data to a terminal detection result processor 5; the terminal detection result processor 5 is used to determine the terminal detection result based on the voltage data.
[0036] Among them, the functions of the terminal detection pen include: converting the mechanical displacement into a resistance value or voltage that is in a straight line or any function through the built-in potentiometer displacement sensor, and reading the displacement value through the instrument conversion. The terminal is judged by the read value whether it is in place, and the front end of the terminal detection pen has a sensor installed to judge whether the product is plugged in.
[0037] The method of using the terminal test pen includes: inserting the terminal test pen into the connector, and after the front-end sensor senses the connector insertion signal, it reads the value, and the instrument will output an OK or NG signal after judgment.
[0038] The function of the terminal inspection pen is to detect the presence of connector pin terminals, whether the terminals are skewed, and whether the terminals are properly inserted.
[0039] It is worth mentioning that in the technical solution of the present application, since the mechanical displacement is a short-term dynamic fluctuation process, the generated voltage data is essentially a voltage curve, and the terminal detection result can be obtained by analyzing the voltage curve. In particular, in a specific example of the present application, the terminal detection result is used to indicate whether there is a connector pin terminal, whether the terminal is skewed, and whether the terminal is inserted in place.
[0040] Correspondingly, in the above-mentioned terminal detection result processor, it receives the voltage data generated by the induction detection device, and uses the signal processing and analysis technology based on deep learning to perform the timing analysis and pattern association of the voltage data, so as to automatically obtain the terminal detection result according to the voltage multi-dimensional timing pattern characteristics between the timing association feature information of the voltage data sampling point and the timing association feature information of the voltage gradient value. In this way, the built-in potentiometer displacement sensor can accurately capture the mechanical displacement of the terminal and convert it into voltage data, and at the same time, the terminal detection result processor can automatically complete the analysis of the voltage signal and the judgment of the terminal detection result, thereby reducing manual intervention and improving the detection accuracy and stability.
[0041] Figure 3is a flowchart of the terminal detection result processor according to an exemplary embodiment. Figure 3 As shown, the method includes:
[0042] Step S101, discretely sampling the voltage data to obtain a time series of voltage sampling points;
[0043] Step S102, calculating the gradient value of each voltage sampling point in the time series of the voltage sampling points to obtain a time series of voltage gradient values;
[0044] Step S103, performing sequence encoding on the time series of the voltage gradient value and the time series of the voltage sampling points respectively to obtain a voltage gradient time series associated implicit feature vector and a voltage sampling point time series associated implicit feature vector;
[0045] Step S104, inputting the voltage gradient time series associated implicit feature vector and the voltage sampling point time series associated implicit feature vector into a feature vector dynamic interaction integration module based on a gating mechanism to obtain a voltage multi-dimensional time series pattern feature representation vector as a voltage multi-dimensional time series pattern feature representation;
[0046] Step S105: obtaining the terminal detection result based on the voltage multi-dimensional timing pattern characteristic representation.
[0047] Specifically, in the technical solution of the present application, first of all, it is considered that the voltage data is a continuous signal. Therefore, in order to be able to convert the continuous voltage signal into discrete data points, so as to facilitate the subsequent timing feature analysis and processing, in the technical solution of the present application, the voltage data is discretely sampled to obtain a time series of voltage sampling points. That is, by means of discrete processing, the continuous voltage signal can be converted into a digital signal of discrete time to obtain a time series of voltage sampling points, which is helpful for the subsequent fine-grained analysis of the timing characteristics of the voltage signal, so as to discover the time law and change pattern of the voltage signal, so as to better understand the voltage dynamic fluctuation process during the terminal detection process.
[0048] Next, it is considered that each voltage sampling point in the time series of the voltage sampling points contains the time dynamic change trend and fluctuation of the voltage at each time point. Based on this, in order to more clearly understand and analyze the voltage change rate and rapid change trend of the voltage signal at each sampling point, in the technical solution of the present application, the gradient value of each voltage sampling point in the time series of the voltage sampling points is calculated to obtain the time series of the voltage gradient value. It is worth mentioning that the gradient value can be used as one of the important features of the signal to describe the slope and change rate of the signal. These features are very critical for distinguishing different types of signals or identifying specific patterns. Specifically, by calculating the gradient value of each voltage sampling point, the rate of change of the voltage signal at different time points can be reflected, which is convenient for understanding the time series change trend of the voltage signal, including rapid change, slow change or stable state, and provides richer input for the subsequent fine-grained analysis of the time series characteristics of the voltage signal.
[0049] Then, it is considered that both the time series of the voltage gradient value and the time series of the voltage sampling points have local temporal implicit feature information in the time dimension, and there is a mutual dependence relationship between different time spans between each time series. And considering that the convolutional neural network can effectively extract local temporal features when processing sequence data. The gated recurrent unit is suitable for capturing the mutual long-term dependence between different time spans in the time series data. Based on this, in the technical solution of the present application, the time series of the voltage gradient value and the time series of the voltage sampling points are respectively input into a dual-branch structure sequence encoder including a convolutional neural network model and a bidirectional gated recurrent unit to respectively capture and mine the local temporal implicit feature information of the voltage information contained in the time series of the voltage gradient value and the time series of the voltage sampling points and the mutual dependence relationship between different time scales, thereby obtaining the voltage gradient temporal association implicit feature vector and the voltage sampling point temporal association implicit feature vector.
[0050] In one embodiment of the present application, sequence encoding is performed on the time series of the voltage gradient values and the time series of the voltage sampling points to obtain a voltage gradient time series associated implicit feature vector and a voltage sampling point time series associated implicit feature vector, including: inputting the time series of the voltage gradient values and the time series of the voltage sampling points into a dual-branch structure sequence encoder including a convolutional neural network model and a bidirectional gated recurrent unit respectively to obtain the voltage gradient time series associated implicit feature vector and the voltage sampling point time series associated implicit feature vector.
[0051] Furthermore, it is considered that the voltage gradient time-related implicit feature vector and the voltage sampling point time-related implicit feature vector respectively represent the dynamic change information of the voltage signal over time and the time-related information of the actual value of the original voltage signal over time. Therefore, in order to effectively integrate the different voltage signal time-related feature information expressed by the two, the overall time-related changes of the voltage can be more comprehensively described and understood, thereby improving the expression ability of the model. In the technical solution of the present application, the voltage gradient time-related implicit feature vector and the voltage sampling point time-related implicit feature vector are input into the feature vector dynamic interaction integration module based on the gating mechanism to obtain the voltage multi-dimensional time-related pattern feature representation vector. In detail, the feature vector dynamic interaction integration module based on the gating mechanism first combines the voltage gradient time-related implicit feature vector and the voltage sampling point time-related implicit feature vector to comprehensively and comprehensively consider the change speed and trend of the voltage signal, providing a richer input for the subsequent feature interaction integration to obtain a joint feature vector. Then, the obtained joint feature vector is input into the gate response function to dynamically weight the different time-series correlation features in the joint feature vector to highlight the important voltage interaction features and suppress the unimportant features to obtain a gate value. Finally, the gate value is used as a weight to perform weighted integration on the voltage gradient time-series correlation implicit feature vector and the voltage sampling point time-series correlation implicit feature vector to dynamically adjust the contribution ratio of the voltage gradient time-series correlation implicit feature vector and the voltage sampling point time-series correlation implicit feature vector in the integration process, so that the integrated voltage multi-dimensional time-series pattern feature representation vector can more comprehensively reflect the characteristics of the original voltage signal, thereby improving the representation ability and performance of the model.
[0052] In one embodiment of the present application, the voltage gradient timing-associated implicit feature vector and the voltage sampling point timing-associated implicit feature vector are input into a feature vector dynamic interaction integration module based on a gating mechanism to obtain a voltage multi-dimensional timing pattern feature representation vector, including: inputting the voltage gradient timing-associated implicit feature vector and the voltage sampling point timing-associated implicit feature vector into a feature union module for cascade processing to obtain a voltage gradient sampling point timing-associated implicit joint feature vector; inputting the voltage gradient sampling point timing-associated implicit joint feature vector into a gating response function to obtain a voltage gradient sampling point timing-associated implicit information integration response gating value; using the voltage gradient sampling point timing-associated implicit information integration response gating value as a weight to calculate the position-weighted sum of the voltage gradient timing-associated implicit feature vector and the voltage sampling point timing-associated implicit feature vector to obtain the voltage multi-dimensional timing pattern feature representation vector.
[0053] Furthermore, in one embodiment of the present application, the voltage gradient sampling point timing-associated implicit joint feature vector is input into a gated response function to obtain a voltage gradient sampling point timing-associated implicit information integrated response gating value, including: calculating the matrix product of the voltage gradient sampling point timing-associated implicit joint feature vector and a parameter matrix, and then adding the obtained feature vector to a bias vector by position to obtain a voltage gradient sampling point timing-associated implicit joint bias feature vector; and inputting the voltage gradient sampling point timing-associated implicit joint bias feature vector into a sigmoid activation function to obtain the voltage gradient sampling point timing-associated implicit information integrated response gating value.
[0054] Furthermore, in one embodiment of the present application, the voltage gradient sampling point timing-associated implicit information integrated response gating value is used as a weight to calculate the position-wise weighted sum of the voltage gradient timing-associated implicit feature vector and the voltage sampling point timing-associated implicit feature vector to obtain the voltage multi-dimensional temporal pattern feature representation vector, including: calculating the position-wise product between the voltage gradient timing-associated implicit feature vector and the voltage gradient sampling point timing-associated implicit information integrated response gating value to obtain a voltage gradient timing-associated implicit gating adjustment vector; calculating the position-wise product between the voltage sampling point timing-associated implicit feature vector and one minus the voltage gradient sampling point timing-associated implicit information integrated response gating value to obtain a voltage sampling point timing-associated implicit gating adjustment vector; and adding the voltage gradient timing-associated implicit gating adjustment vector and the voltage sampling point timing-associated implicit gating adjustment vector by position to obtain the voltage multi-dimensional temporal pattern feature representation vector.
[0055] Specifically, the voltage gradient time series associated implicit feature vector and the voltage sampling point time series associated implicit feature vector are input into a feature vector dynamic interactive integration module based on a gating mechanism to obtain a voltage multi-dimensional time series pattern feature representation vector, including: inputting the voltage gradient time series associated implicit feature vector and the voltage sampling point time series associated implicit feature vector into a feature vector dynamic interactive integration module based on a gating mechanism, and processing them with the following dynamic integration formula to obtain the voltage multi-dimensional time series pattern feature representation vector;
[0056] Wherein, the dynamic integration formula is:
[0057]
[0058]
[0059] in, and are respectively the voltage gradient time series associated implicit feature vector and the voltage sampling point time series associated implicit feature vector, It is cascade processing. is the parameter matrix, is the bias vector, is the sigmoid function, is the voltage gradient sampling point temporal association implicit information integration response gating value, is the voltage multi-dimensional timing pattern feature representation vector.
[0060] Then, the voltage multi-dimensional time series pattern feature representation vector is input into the terminal detection result generator based on the classifier to obtain the terminal detection result. That is, the voltage multi-dimensional time series pattern feature representation obtained by the dynamic interaction of the voltage gradient time series associated implicit feature vector and the voltage sampling point time series associated implicit feature vector is used for classification processing to automatically obtain the terminal detection result. In particular, in a specific example of the present application, the terminal detection result is used to indicate whether there is a connector pin terminal, whether the terminal is skewed, and whether the terminal is inserted in place. In this way, the built-in potentiometer displacement sensor can accurately capture the mechanical displacement of the terminal and convert it into voltage data, and the terminal detection result processor can automatically complete the analysis of the voltage signal and the judgment of the terminal detection result, thereby reducing manual intervention and improving the detection accuracy and stability.
[0061] In one embodiment of the present application, the terminal detection result is obtained based on the voltage multi-dimensional timing pattern feature representation, including: inputting the voltage multi-dimensional timing pattern feature representation vector into a classifier-based terminal detection result generator to obtain the terminal detection result.
[0062] In the technical solution of the present application, the voltage gradient time-series associated implicit feature vector and the voltage sampling point time-series associated implicit feature vector respectively represent the local time-series associated features of the voltage sampling point and the local time-series associated features of the voltage gradient value. Considering that the voltage gradient value is obtained by differential calculation based on the voltage sampling point, there is a gradient difference between the time series of the voltage sampling point and the time series of the voltage gradient value in the source time-series distribution space. Similarly, after sequence encoding by the dual-branch structure sequence encoder including the convolutional neural network model and the bidirectional gated recurrent unit, there is also a technical problem of feature ladder misalignment between the voltage gradient time-series associated implicit feature vector and the voltage sampling point time-series associated implicit feature vector, which will cause the voltage multi-dimensional time-series pattern feature representation vector obtained by inputting the voltage gradient time-series associated implicit feature vector and the voltage sampling point time-series associated implicit feature vector into the feature vector dynamic interactive integration module based on the gating mechanism to have feature aggregation class representation imbalance caused by feature distribution gradient differences. Therefore, when performing dynamic interactive integration of feature vectors based on the gating mechanism, it is expected to further compensate for the extreme category deviation caused by the imbalance of correspondence ratio under the fine-grained distribution of time series, and improve the accuracy of classification results.
[0063] Therefore, preferably, in a specific example of the present application, the voltage multi-dimensional time series pattern feature representation vector is input into a terminal detection result generator based on a classifier to obtain the terminal detection result, including:
[0064] Calculating the first norm and the second norm of the mean vector of the voltage gradient time series associated implicit feature vector and the voltage sampling point time series associated implicit feature vector;
[0065] Calculating a weighted sum of the inverse of the square root of the second norm and the first norm, and performing point multiplication with the point-added sum vector of the voltage gradient time series associated implicit feature vector and the voltage sampling point time series associated implicit feature vector to obtain a first voltage multi-dimensional time series pattern feature correction sub-vector;
[0066] Performing a dot product of the voltage gradient time series associated implicit feature vector and the voltage sampling point time series associated implicit feature vector and the square root of the length of the voltage multi-dimensional time series pattern feature representation vector to obtain a second voltage multi-dimensional time series pattern feature correction sub-vector;
[0067] Calculating a weighted sum of the first voltage multi-dimensional timing pattern feature correction sub-vector and the second voltage multi-dimensional timing pattern feature correction sub-vector to obtain a voltage multi-dimensional timing pattern feature correction vector;
[0068] Performing a dot multiplication of the voltage multi-dimensional timing pattern feature correction vector and the voltage multi-dimensional timing pattern feature representation vector to obtain a corrected voltage multi-dimensional timing pattern feature representation vector;
[0069] The corrected voltage multi-dimensional time series pattern feature representation vector is input into a classifier-based terminal detection result generator to obtain a terminal detection result.
[0070] The calculation formula of the voltage multi-dimensional timing pattern characteristic correction vector is expressed as:
[0071]
[0072] in, and are respectively the voltage gradient time series associated implicit feature vector and the voltage sampling point time series associated implicit feature vector, is its mean vector, and represent the first norm and second norm of the mean vector of the voltage gradient time series associated implicit feature vector and the voltage sampling point time series associated implicit feature vector respectively, is the length of the voltage multi-dimensional timing pattern characteristic representation vector, and and is the weighted sum weight as a hyperparameter, It means adding by position. represents dot product, represents the voltage multi-dimensional timing pattern characteristic correction vector.
[0073] Therefore, based on the mean vector norm between the voltage gradient time series association implicit feature vector and the voltage sampling point time series association implicit feature vector, the constrained representation of the structured foreground and background distinction of the superfluid of the voltage gradient time series association implicit feature vector and the voltage sampling point time series association implicit feature vector is used to model the feature-level key correspondence between the feature vectors of the voltage gradient time series association implicit feature vector and the voltage sampling point time series association implicit feature vector, and the global association relationship between the corresponding features is adjusted, so as to perform positive fine-grained correspondence suggestions through the unbalanced proportion control between the corresponding feature values of the voltage gradient time series association implicit feature vector and the voltage sampling point time series association implicit feature vector, so as to avoid the extreme imbalance of categories between the feature vectors of the voltage gradient time series association implicit feature vector and the voltage sampling point time series association implicit feature vector by focusing on the focus.
[0074] In this way, by correcting the voltage multi-dimensional timing pattern feature representation vector through the voltage multi-dimensional timing pattern feature correction vector, the accuracy of the terminal detection result obtained by the voltage multi-dimensional timing pattern feature representation vector input into the terminal detection result generator based on the classifier can be improved. In this way, the built-in potentiometer displacement sensor can accurately capture the mechanical displacement of the terminal and convert it into voltage data, and the terminal detection result processor can automatically complete the analysis of the voltage signal and the judgment of the terminal detection result, which reduces manual intervention and improves the detection accuracy and stability.
[0075] In summary, the above scheme is adopted to receive the voltage data generated by the induction detection device, and adopt the signal processing and analysis technology based on deep learning to perform the timing analysis and pattern association of the voltage data, so as to automatically obtain the terminal detection result according to the voltage multi-dimensional timing pattern characteristics between the timing association feature information of the voltage data sampling point and the timing association feature information of the voltage gradient value. In this way, the built-in potentiometer displacement sensor can accurately capture the mechanical displacement of the terminal and convert it into voltage data, and the terminal detection result processor can automatically complete the analysis of the voltage signal and the judgment of the terminal detection result, thereby reducing manual intervention and improving the detection accuracy and stability.
[0076] Reference below Figure 4 , which shows a schematic diagram of the structure of an electronic device 600 suitable for implementing the embodiment of the present application. The terminal device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0077] like Figure 4 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. Various programs and data required for the operation of the electronic device 600 are also stored in the random access memory 603. The processing device 601, the read-only memory 602, and the random access memory 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0078] Typically, the following devices may be connected to the input / output interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 4 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0079] In particular, according to the embodiments of the present application, the above reference process Figure 3 The described process may be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a non-transitory computer readable medium, the computer program including a method for executing the process. Figure 3 In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the read-only memory 602. When the computer program is executed by the processing device 601, the above functions defined in the method of the embodiment of the present application are executed.
[0080] It should be noted that the computer-readable medium mentioned above in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0081] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0082] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0083] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0084] The modules involved in the embodiments described in this application can be implemented by software or hardware. The name of the module does not limit the module itself in some cases. For example, the test parameter acquisition module can also be described as a "module for acquiring device test parameters corresponding to the target device".
[0085] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0086] In the context of the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0087] Figure 5 is an application scenario diagram of a terminal detection tool according to an exemplary embodiment. Figure 5As shown, in this application scenario, first, voltage data is obtained (for example, Figure 5 Then, the obtained voltage data is input to a server (for example, Figure 5 In S) as shown in , the server is capable of processing the voltage data based on a terminal detection tooling algorithm to determine a terminal detection result.
[0088] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other to form a technical solution.
[0089] In addition, although each operation is described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or to be performed in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the application. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0090] Although the subject matter has been described in language specific to structural features and / or method logic actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims. Regarding the device in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Claims
1. A terminal detection tool, characterized in that: include: Cable protection housing; A detection pen holder accommodated in the cable protection housing; A terminal detection and eccentricity calibration port received in the detection pen barrel, wherein the terminal detection and eccentricity calibration port is used to install the terminal to be detected; An inductive detection device, wherein the inductive detection device includes a built-in potentiometer-type displacement sensor for converting the mechanical displacement of the terminal to be detected into voltage data and transmitting the voltage data to a terminal detection result processor; The terminal detection result processor is used to determine the terminal detection result based on the voltage data; The terminal detection result processor is further used for: Discretely sampling the voltage data to obtain a time series of voltage sampling points; Calculating the gradient value of each voltage sampling point in the time series of the voltage sampling points to obtain a time series of voltage gradient values; Sequence encoding is performed on the time series of the voltage gradient value and the time series of the voltage sampling points to obtain a voltage gradient time series associated implicit feature vector and a voltage sampling point time series associated implicit feature vector; Inputting the voltage gradient time series associated implicit feature vector and the voltage sampling point time series associated implicit feature vector into a feature vector dynamic interaction integration module based on a gating mechanism to obtain a voltage multi-dimensional time series pattern feature representation vector as a voltage multi-dimensional time series pattern feature representation; Based on the voltage multi-dimensional time series pattern characteristic representation, obtaining the terminal detection result; Inputting the voltage gradient time series associated implicit feature vector and the voltage sampling point time series associated implicit feature vector into a feature vector dynamic interaction integration module based on a gating mechanism to obtain a voltage multi-dimensional time series pattern feature representation vector, including: Inputting the voltage gradient time series associated implicit feature vector and the voltage sampling point time series associated implicit feature vector into a feature combination module for cascade processing to obtain a voltage gradient sampling point time series associated implicit combination feature vector; Inputting the voltage gradient sampling point timing-related implicit joint feature vector into a gated response function to obtain a voltage gradient sampling point timing-related implicit information integrated response gated value; Using the voltage gradient sampling point time series associated implicit information integrated response gate value as a weight, a position-weighted sum of the voltage gradient time series associated implicit feature vector and the voltage sampling point time series associated implicit feature vector is calculated to obtain the voltage multi-dimensional time series pattern feature representation vector; The voltage gradient sampling point timing-associated implicit information integrated response gate value is used as a weight to calculate the position-weighted sum of the voltage gradient timing-associated implicit feature vector and the voltage sampling point timing-associated implicit feature vector to obtain the voltage multi-dimensional timing pattern feature representation vector, including: Calculating the positional product between the voltage gradient timing-associated implicit feature vector and the voltage gradient sampling point timing-associated implicit information integration response gating value to obtain a voltage gradient timing-associated implicit gating adjustment vector; Calculating the positional product of the voltage sampling point timing-associated implicit feature vector and one minus the voltage gradient sampling point timing-associated implicit information integration response gating value to obtain a voltage sampling point timing-associated implicit gating adjustment vector; The voltage gradient timing-associated implicit gating adjustment vector and the voltage sampling point timing-associated implicit gating adjustment vector are added according to their positions to obtain the voltage multi-dimensional timing pattern feature representation vector.
2. The terminal detection tool according to claim 1, characterized in that: The time series of the voltage gradient values and the time series of the voltage sampling points are sequence-encoded to obtain a voltage gradient time series associated implicit feature vector and a voltage sampling point time series associated implicit feature vector, comprising: inputting the time series of the voltage gradient values and the time series of the voltage sampling points into a dual-branch structure sequence encoder including a convolutional neural network model and a bidirectional gated recurrent unit respectively to obtain the voltage gradient time series associated implicit feature vector and the voltage sampling point time series associated implicit feature vector.
3. The terminal detection tool according to claim 2, characterized in that: Inputting the voltage gradient sampling point timing-related implicit joint feature vector into a gated response function to obtain a voltage gradient sampling point timing-related implicit information integrated response gated value, including: After calculating the matrix product of the voltage gradient sampling point time series associated implicit joint eigenvector and the parameter matrix, the obtained eigenvector and the bias vector are added according to the position to obtain the voltage gradient sampling point time series associated implicit joint bias eigenvector; The voltage gradient sampling point temporal association implicit joint bias feature vector is input into a sigmoid activation function to obtain the voltage gradient sampling point temporal association implicit information integration response gating value.
4. The terminal detection tool according to claim 3, characterized in that: Based on the voltage multi-dimensional timing pattern feature representation, the terminal detection result is obtained, including: inputting the voltage multi-dimensional timing pattern feature representation vector into a terminal detection result generator based on a classifier to obtain the terminal detection result.
Citation Information
Patent Citations
Load energized electronic test pencil
CA2085724A1
Method of determining defective insertion of terminal
CN101946375A
Terminal height inspecting mechanism of automatic welding line
CN105547222A
Step and skirt panel safety gap measurement and hidden danger positioning system and method for escalator
CN106629366A
Wire harness detection device
CN115951143A
