Test result confirmation method and related device

By generating the test results matrix diagram, it is difficult to understand the problem of detecting the detection effect of detection parameters, realize the visual confirmation of the detection parameter group, and improve the efficiency of the detection parameter adjustment.

CN118469975BActive Publication Date: 2025-01-28GUANGZHOU DILIGINE PHOTONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410648717.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-23
Publication Date
2025-01-28
Estimated Expiration
2044-05-23

AI Technical Summary

Technical Problem

In the field of laser welding defect detection, it is difficult for staff to understand the detection effect of detection parameters, especially during the adjustment of detection parameters.

Method used

The test result confirmation method is used to generate the detection effect of the parameter array by generating the test results matrix diagram. This method includes a matrix diagram based on the detection parameter group detection target sample. Each line represents a target sample, and the color block represents the matching of the detection results and the actual results.

Benefits of technology

The detection effect of the detection parameter array can be visualized, helping the staff to quickly confirm and understand the detection effect of the detection parameter, and improve the efficiency of the detection parameter adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118469975B_ABST
    Figure CN118469975B_ABST
Patent Text Reader

Abstract

The present application relates to a method for confirming a test result and a related device, the method comprising: obtaining a first test parameter group and M target samples; detecting the M target samples according to the first test parameter group to obtain M first test results corresponding to the M target samples, wherein M is an integer greater than 0; generating a test result matrix diagram based on the M first test results, the test result matrix diagram comprising M rows, the M rows corresponding to the M target samples, each row in the M rows comprising 1 first color block, if the first test result of the target sample corresponding to the first color block is the same as the actual result of the corresponding target sample, the color value of the first color block is the first value. Each row in the M rows comprises 1 first color block, and the color value of the first color block is one of the first value, the second value or the third value. The method in the embodiment of the present application is used to facilitate the staff to confirm and understand the test effect of the test parameter group.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of laser welding technology, and in particular to a detection result confirmation method and related devices. Background Art

[0002] In the field of laser welding defect detection, the mainstream detection algorithm is to monitor multiple signal features during the welding process, and then compare the multiple signal features with the corresponding detection parameters to judge the welding quality. As the requirements for welding quality increase, the signal features that need to be obtained are gradually increasing, and the corresponding detection parameters will also increase. During the adjustment of detection parameters, it is difficult for staff to understand the detection effect of the detection parameters. Summary of the invention

[0003] The embodiment of the present application proposes a method for confirming a test result and a related device. The use of the embodiment of the present application is helpful for staff to confirm and understand the test effect of the test parameters.

[0004] This application is implemented using the following technical solutions.

[0005] In a first aspect, an embodiment of the present application provides a method for confirming a test result, comprising:

[0006] Take a first detection parameter group and M target samples; detect the M target samples according to the first detection parameter group to obtain M first detection results corresponding to the M target samples, where M is an integer greater than 0; generate a detection result matrix diagram based on the M first detection results, the detection result matrix diagram includes M rows, the M rows correspond to the M target samples, each of the M rows includes 1 first color block, if the first detection result of the target sample corresponding to the first color block is the same as the actual result of the corresponding target sample, the color value of the first color block is the first value; if the first detection result of the target sample corresponding to the first color block is unqualified, and the actual result of the corresponding target sample is qualified, the color value of the first color block is the second value; if the first detection result of the target sample corresponding to the first color block is qualified, and the actual result of the corresponding target sample is unqualified, the color value of the first color block is the third value.

[0007] It can be seen that in the embodiment of the present application, the first color block of each row in the detection result matrix diagram presents a different color value to represent whether the first detection result of the target sample corresponding to each row is consistent with the actual result, thereby realizing the visualization of the detection effect of the first detection parameter group, which is conducive to helping the staff confirm and understand the detection effect of the detection parameter group.

[0008] In combination with the first aspect, in a possible embodiment, each of the M rows also includes a second color block. If the first detection result of the target sample corresponding to the second color block is qualified, the color value of the second color block is the fourth value; if the first detection result of the target sample corresponding to the second color block is unqualified, the color value of the second color block is the fifth value.

[0009] It can be seen that in the embodiment of the present application, the different color values ​​of the second color block are used to represent the first detection result of the corresponding target sample obtained by detecting the first detection parameter group, and the display content in the detection result matrix diagram is increased. The staff can intuitively know the detection conclusion of the first detection parameter group, which is conducive to helping the staff confirm and understand the detection effect of the detection parameter group.

[0010] In combination with the first aspect, in a possible embodiment, the first detection parameter group includes N first detection parameters, where N is an integer greater than 0, and each of the M rows also includes N third color blocks, and the N third color blocks correspond to the N first detection parameters; if the second detection result of the target sample corresponding to the third color block is qualified, the color value of the third color block is the sixth value; if the second detection result of the target sample corresponding to the third color block is unqualified, the color value of the third color block is the seventh value; the second detection result of the target sample corresponding to the third color block is obtained by detecting the target sample according to the first detection parameter corresponding to the third color block.

[0011] It can be seen that in the embodiment of the present application, the second detection result of the target sample of the corresponding row is represented by the different color values ​​of the third color block, the detection results of N first detection parameters are displayed, and the relevant details of the detection results are added, which is conducive to further helping the staff to confirm and understand the detection effect of the detection parameter group.

[0012] In combination with the first aspect, in a possible embodiment, the detection result matrix diagram includes a qualified sample detection result matrix diagram and an unqualified sample detection result matrix diagram; the qualified sample detection result matrix diagram includes R rows, the R rows correspond to R target samples, and each row in the R rows includes 1 first color block, 1 second color block and N third color blocks; the unqualified sample detection result matrix diagram includes S rows, the S rows correspond to S target samples, and each row in the S rows includes 1 first color block, 1 second color block and N third color blocks; the N third color blocks correspond to the N first detection parameters; wherein R+S=M, R, S are integers greater than 0; in each row of the qualified sample detection result matrix diagram, if the first detection result of the target sample corresponding to the first color block is the same as the actual result of the corresponding target sample, the color value of the first color block is the first value; if the first detection result of the target sample corresponding to the first color block is unqualified, the actual result of the corresponding target sample is qualified, and the color value of the first color block is the second value; in the unqualified sample In each row of the test result matrix diagram, if the first test result of the target sample corresponding to the first color block is the same as the actual result of the corresponding target sample, the color value of the first color block is the first value; if the first test result of the target sample corresponding to the first color block is qualified and the actual result of the corresponding target sample is unqualified, the color value of the first color block is the third value; in each row of the qualified sample test result matrix diagram and the unqualified sample test result matrix diagram, if the first test result of the target sample corresponding to the second color block is qualified, the color value of the second color block is the fourth value; if the first test result of the target sample corresponding to the second color block is unqualified, the color value of the second color block is the fifth value; in each row of the qualified sample test result matrix diagram and the unqualified sample test result matrix diagram, if the second test result of the target sample corresponding to the third color block is qualified, the color value of the third color block is the sixth value; if the second test result of the target sample corresponding to the third color block is unqualified, the color value of the third color block is the seventh value.

[0013] It can be seen that in the embodiment of the present application, by dividing the test result matrix diagram into a qualified test result matrix diagram and an unqualified test result matrix diagram, the first color block corresponding to the over-killed sample will only appear in the qualified test result matrix diagram, and the first color block corresponding to the missed sample will only appear in the unqualified test result matrix diagram, so that the staff can quickly locate the relevant information of the over-killed sample and the missed sample when observing the test result matrix diagram, which is conducive to further helping the staff to confirm and understand the detection effect of the detection parameter group.

[0014] In combination with the first aspect, in a possible embodiment, after generating a detection result matrix diagram, the number of overkill samples and the number of missed samples are determined from the M target samples based on the M first verification results; the first detection result corresponding to the overkill sample is unqualified, while the actual result corresponding to the overkill sample is qualified; the first detection result corresponding to the missed sample is qualified, while the actual result corresponding to the missed sample is unqualified; if the number of overkill samples is not less than the first preset number, or the number of missed samples is not less than the second preset number, a second detection parameter group is generated according to the first detection parameter group; the number of detection parameters in the second detection parameter group is greater than or equal to the number of detection parameters in the first detection parameter group; if the number of detection parameters in the second detection parameter group is greater than the number of detection parameters in the first detection parameter group, the second detection parameter group is to change N first detection parameters. The parameter values ​​of T first detection parameters in the first detection parameter group and U second detection parameters are added to the first detection parameter group; or the second detection parameter group is obtained by adding U second detection parameters to the first detection parameter group; wherein T is an integer greater than or equal to 0 and less than or equal to N, and U is an integer greater than or equal to 0; if the number of detection parameters in the second detection parameter group is equal to the number of detection parameters in the first detection parameter group, then the second detection parameter group is obtained by changing the parameter values ​​of T first detection parameters among the N first detection parameters; the second detection parameter group is determined as the new first detection parameter group, and the above-mentioned operation of detecting M groups of target samples is repeated to obtain M first detection results of the M target samples and generate a detection result matrix diagram based on the M first detection results, until the number of overkill is less than the first preset number, and the number of underkill is less than the second preset number.

[0015] It can be seen that in the embodiment of the present application, the number of overkill samples is limited by the first preset number, and the number of missed samples is limited by the second preset number, so that the first detection parameter group is continuously adjusted and iterated to find the best, thereby improving the detection accuracy of the first detection parameter group finally obtained. Through the multiple detection result matrix diagrams generated by the first detection result of each first detection parameter group, the staff can compare the changes in the detection effect before and after the adjustment of the first detection parameter group through the multiple detection result matrix diagrams.

[0016] In a second aspect, an embodiment of the present application provides an industrial computer, comprising an acquisition unit, a detection unit and a generation unit. The acquisition unit, the detection unit and the generation unit are used to implement any method provided in the first aspect.

[0017] In a third aspect, an embodiment of the present application provides an industrial control computer, comprising: a processor, the processor is connected to a memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the industrial control computer executes a method as provided in any one of the first aspects.

[0018] In a fourth aspect, an embodiment of the present application provides a laser welding control system, comprising a laser welding system, a multi-optical sensor module, a signal processing module and an industrial control computer, wherein the industrial control computer is used to execute a method as provided in any one of the first aspects.

[0019] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program enables a computer to execute a method as provided in any one of the first aspects.

[0020] In a sixth aspect, an embodiment of the present application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer is operable to cause the computer to execute the method described in the first aspect or the second aspect.

[0021] It can be understood that the industrial control computer described in the second and third aspects, the laser welding control system described in the fourth aspect, the computer-readable storage medium described in the fifth aspect, or the computer program product described in the sixth aspect are all used to implement the method provided in any one of the first aspects. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0023] Figure 1 A schematic diagram of the system architecture of a method for confirming a test result provided in an embodiment of the present application;

[0024] Figure 2 A flow chart of a method for confirming a test result provided in an embodiment of the present application;

[0025] Figure 3 A test result matrix diagram provided in an embodiment of the present application;

[0026] Figure 4 Another test result matrix diagram provided in an embodiment of the present application;

[0027] Figure 5A A further test result matrix diagram provided in an embodiment of the present application;

[0028] Figure 5B A test result matrix diagram with separation marks provided in an embodiment of the present application;

[0029] Figure 6 A test result matrix diagram including a qualified sample test result matrix diagram and an unqualified sample test result matrix diagram provided in an embodiment of the present application;

[0030] Figure 7 A detection parameter histogram provided in an embodiment of the present application;

[0031] Figure 8 A schematic diagram of a process for generating a second detection parameter group provided in an embodiment of the present application;

[0032] Fig. 9A A schematic diagram of displaying a plurality of test result matrix diagrams provided in an embodiment of the present application;

[0033] Fig. 9B A schematic diagram for comparing a first detection result matrix diagram and a detection parameter histogram of a second detection result matrix diagram provided in an embodiment of the present application;

[0034] Fig. 9C A schematic diagram of a comparison of a first test result matrix diagram and a second test result matrix diagram of unqualified test results provided in an embodiment of the present application;

[0035] Fig.10 A schematic diagram of the structure of an industrial control computer provided in an embodiment of the present application;

[0036] Fig.11 A schematic diagram of the structure of another industrial control computer provided in an embodiment of the present application. DETAILED DESCRIPTION

[0037] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0038] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms of "a", "said" and "the" used in the embodiments of the present application, the accompanying drawings and the claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should be understood that the term "and / or" used in this article is only a kind of association relationship describing the associated objects, indicating that there can be three relationships, for example, A and / or B, which can be represented by: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are an "or" relationship. It should be understood that although the terms "first", "second" and similar words may be used in the embodiments of the present application, they do not represent any order, quantity or importance, but are only used to distinguish different components. Similarly, similar words such as "one" or "one" do not represent quantity restrictions, but represent the existence of at least one. The "multiple" involved in the embodiments of the present application refers to greater than or equal to two.

[0039] See also Figure 1 , Figure 1 A schematic diagram of the system architecture of a method for confirming a test result provided in an embodiment of the present application. Figure 1 As shown, the system 100 includes an industrial control computer 101 , a signal processing module 102 and a laser welding system 103 . The laser welding system 103 also includes a laser welding device 1031 and a multi-optical sensor module 1032 .

[0040] The laser welding device 1031 specifically includes a laser, an optical fiber, a laser welding head, etc. The laser is connected to the laser welding head through an optical fiber, and the multi-optical sensor module 1032 is coaxially installed on the laser welding head. The multi-optical sensor module is connected to the signal processing module 102, and sends the acquired optical signal to the signal processing module 102 for processing. The signal processing module 102 sends the processed optical signal to the industrial control computer 101. The industrial control computer 101 judges the welding quality of the laser welding device according to the acquired optical signal, and sends the judgment result back to the laser welding system 103.

[0041] In this embodiment, the industrial computer 101 obtains a first detection parameter group and M target samples, wherein the first detection parameter group includes multiple first detection parameters and parameter values ​​corresponding to each first detection parameter, specifically local limits, local areas, average offsets, means, standard deviations, etc. of parameters such as visible light parameters, reflected light parameters, and infrared light parameters. The target sample includes multiple sample parameters corresponding to the meaning of the first detection parameter. The industrial computer 101 determines the detection result of the target sample based on whether the multiple sample parameters corresponding to the first detection parameter in the target sample meet the corresponding first detection parameter value. The target sample here is the electrical signal obtained by the multi-optical sensor module 1032 and the signal processing module 102.

[0042] Exemplarily, if the first detection parameter group includes two detection parameters, namely, local limit and local area, each sample among the M target samples includes two sample parameters corresponding to the local limit and the local area. If the two sample parameters in the target sample are both smaller than the parameter values ​​of the local limit and the local area, the industrial control computer 101 determines that the target sample is qualified.

[0043] The industrial computer 101 detects the M target samples according to the first detection parameter group, and obtains M first detection results corresponding to the M target samples, where M is an integer greater than 0. The target samples here are used to detect the detection effect of the first detection parameter group. The target samples are obtained by the multi-optical sensor module 1032 and the signal processing module 102, and stored in the industrial computer 101. The industrial computer 101 also stores the actual results of each of the M target samples. The actual results here are used to characterize whether the corresponding target samples are actually qualified, specifically, the reliable detection results obtained by other detection methods such as manual detection, detection by precise detection devices, etc.; and the first detection results here are used to characterize whether the corresponding target samples are qualified under the standards of the first detection parameter group.

[0044] The industrial computer 101 generates a detection result matrix diagram based on the M first detection results, and the detection result matrix diagram is used to be displayed on the display, display screen and other components of the industrial computer 101, so that the staff can understand the detection effect of the first detection parameter group through the detection result matrix diagram.

[0045] The test result matrix diagram includes M rows, and the M rows correspond to M target samples. Each row in the M rows includes 1 first color block. If the first test result of the target sample corresponding to the first color block is the same as the actual result of the corresponding target sample, the color value of the first color block is the first value; if the first test result of the target sample corresponding to the first color block is unqualified, the actual result of the corresponding target sample is qualified, and the color value of the first color block is the second value; if the first test result of the target sample corresponding to the first color block is qualified, the actual result of the corresponding target sample is unqualified, and the color value of the first color block is the third value. The different color values ​​here specifically represent different colors through grayscale values ​​or RGB values. For example, when the color values ​​are all RGB values, the first value is (255, 255, 255), and the corresponding color is white; the second value is (255, 255, 0), and the corresponding color is yellow, and the third value is (128, 0, 128), and the corresponding color is purple.

[0046] It can be seen that in the embodiment of the present application, the first color block of each row in the detection result matrix diagram presents a different color value to represent whether the first detection result of the target sample corresponding to each row is consistent with the actual result, thereby realizing the visualization of the detection effect of the first detection parameter group, which is conducive to helping the staff confirm and understand the detection effect of the detection parameter group.

[0047] The specific implementation method of the solution of this application is introduced in detail below.

[0048] See also Figure 2 , Figure 2 A flow chart of a method for confirming a test result provided in an embodiment of the present application. Figure 2 As shown, the method includes:

[0049] S201: Obtain a first detection parameter group and M target samples.

[0050] Specifically, the first detection parameter group here includes N first detection parameters, each first detection parameter corresponds to a parameter value, and each target sample among the M target samples includes N sample parameters corresponding one-to-one to the first detection parameters. The sample parameters here are acquired in advance through the multi-optical sensor module 1032, and accurate detection results are determined through other detection methods.

[0051] Each target sample here is collected when the laser welding system is welding one or more target workpieces. When there is one target workpiece, multiple target samples are collected during different processing periods of the target workpiece.

[0052] The industrial control computer 101 detects the N sample parameters corresponding to the N first detection parameters in each target sample according to the values ​​of the N first detection parameters, and then determines whether each sample parameter meets the requirements of the corresponding first detection parameter, and finally determines the first detection result of the corresponding target sample according to the second detection result of each sample parameter.

[0053] In a possible embodiment, obtaining the first detection parameter group includes: calculating the parameter value of each first detection parameter in N first detection parameters according to the Standard Operating Procedure (SOP). The parameter value here is used to enable the industrial control computer to detect the target sample according to the requirements of the standard welding process.

[0054] In a possible embodiment, if the second test results of the N sample parameters in the target sample are all qualified, then the first test result of the target sample parameter is qualified; if the second test result of any one of the N sample parameters in the target sample is unqualified, then the first test result of the target sample parameter is unqualified.

[0055] S202: Detect M target samples according to the first detection parameter group to obtain M first detection results corresponding to the M target samples, where M is an integer greater than 0.

[0056] Specifically, the industrial computer 101 detects N sample parameters of each target sample in the M target samples according to the parameter values ​​of the N first detection parameters in the first detection parameter group.

[0057] Exemplarily, if one of the N first detection parameters in the first detection parameter group is the upper limit of visible light, and the value of the upper limit of visible light is 3, each of the M target samples includes a visible light sample parameter corresponding to the upper limit of visible light, if the visible light sample parameter of one of the M target samples is 2, then the first detection result of the target sample corresponding to the visible light sample parameter is qualified; if the visible light sample parameter of one of the M target samples is 4, then the first detection result of the target sample corresponding to the visible light sample parameter is unqualified.

[0058] S203: Generate a detection result matrix diagram based on the M first detection results, the detection result matrix diagram includes M rows, the M rows correspond to the M target samples, each of the M rows includes 1 first color block, and the color value of the first color block is one of the first value, the second value or the third value.

[0059] Specifically, if the first detection result of the target sample corresponding to the first color block is the same as the actual result of the corresponding target sample, the color value of the first color block is the first value; if the first detection result of the target sample corresponding to the first color block is unqualified, and the actual result of the corresponding target sample is qualified, the color value of the first color block is the second value; if the first detection result of the target sample corresponding to the first color block is qualified, and the actual result of the corresponding target sample is unqualified, the color value of the first color block is the third value.

[0060] The color block here can be a rectangle as shown in multiple figures of the embodiments of the present application, or can be other shapes, such as a circle, a diamond, etc., which are not limited here.

[0061] Each row in the test result matrix is ​​used to represent the test result of a target sample, and the first color block thereof represents whether the first test result of the target sample corresponding to the row is consistent with the actual result by presenting different colors. The actual result here refers to the real test result of the target sample obtained by the staff through other determined methods to test the target sample.

[0062] If the value of the first color block is the first value, it represents that the first detection result of the target sample corresponding to the row is the same as the actual result, for example, the first detection result and the actual result are both qualified or both unqualified; if the value of the first color block is the second value, it represents that the first detection result of the corresponding target sample is unqualified, and the corresponding actual result is qualified, that is, the target sample corresponding to the first detection result is an overkill sample; if the value of the first color block is the third value, it represents that the first detection result of the corresponding target sample is qualified, and the corresponding actual result is unqualified, that is, the target sample corresponding to the first detection result is an escape sample.

[0063] For example, see Figure 3 , Figure 3 A detection result matrix diagram provided in an embodiment of the present application includes 3 rows, each row includes a first color block, each row corresponds to 3 target samples, and 3 first detection results. The number in each color block is used to represent the color value presented by the color block. For example, the number in the first color block of the first row is "1", so the first color block presents the color of the first value.

[0064] It can be seen that the first detection result of the target sample corresponding to the first color block in the first row is the same as the actual result of the corresponding target sample, that is, the detection is correct, so the first color block in the first row is the first value. The first detection result of the target sample of the first color block in the second row is unqualified, and the actual result of the corresponding target sample is qualified, that is, the detection result is overkill, so the first color block in the second row is the second value; the first detection result of the target sample of the first color block in the second row is qualified, and the actual result of the corresponding target sample is unqualified, that is, the detection result is escape, so the first color block in the second row is the third value.

[0065] In a possible embodiment, each of the M rows also includes a second color block. If the first detection result of the target sample corresponding to the second color block is qualified, the color value of the second color block is the fourth value; if the first detection result of the target sample corresponding to the second color block is unqualified, the color value of the second color block is the fifth value.

[0066] Specifically, the second color block here is used to represent the first detection result of the target sample corresponding to each row. If the first detection result is qualified, the color of the corresponding second color block is the fourth value; if the second detection result is unqualified, the color of the corresponding second color block is the fifth value.

[0067] For example, see Figure 4 , Figure 4 Another test result matrix diagram provided in an embodiment of the present application, wherein each row includes two color blocks, namely a first color block (right color block) for representing whether the first test result is consistent with the actual result and a second color block (left color block) for representing the first test result.

[0068] Each color block is presented in a rectangle, and the number in each color block is used to identify the color value of the color presented by the rectangle. For example, the number in the second color block in the first row is "4", which indicates that the color value of the second color block is the fourth value. Figure 4 The color of the first color block in the first row is the first value, and the color of the second color block is the fourth value; the color of the first color block in the second row is the second value, and the color of the second color block is the fifth value. Therefore, the first detection result of the target sample in this row is unqualified, and the actual result is qualified, that is, the detection result is overkill; the color of the first color block in the third row is the third value, and the color of the second color block is the fourth value. Therefore, the first detection result of the target sample in this row is qualified, and the actual result is unqualified, that is, the detection result is missed.

[0069] It can be seen that in the embodiment of the present application, the different color values ​​of the second color block are used to represent the first detection result of the corresponding target sample obtained by detecting the first detection parameter group, and the display content in the detection result matrix diagram is increased. The staff can intuitively know the detection conclusion of the first detection parameter group, which is conducive to helping the staff confirm and understand the detection effect of the detection parameter group.

[0070] In a possible embodiment, the first detection parameter group includes N first detection parameters, where N is an integer greater than 0, and each of the M rows also includes N third color blocks, and the N third color blocks correspond to the N first detection parameters; if the second detection result of the target sample corresponding to the third color block is qualified, the color value of the third color block is the sixth value; if the second detection result of the target sample corresponding to the third color block is unqualified, the color value of the third color block is the seventh value; the second detection result of the target sample corresponding to the third color block is obtained by detecting the target sample according to the first detection parameter corresponding to the third color block.

[0071] Specifically, the third color block here is used to characterize the second detection result of the corresponding target sample, and the second detection result here is used to determine the first detection result of the corresponding target sample. Each row includes N third color blocks, and each third color block corresponds to a first detection parameter and a second detection result. The second detection result is obtained by detecting the sample parameters in the target sample with the corresponding first detection parameter. The third color block is used to characterize the second detection result of the corresponding target sample. If the second detection result of the target sample corresponding to the third color block is qualified, the color value of the third color block is the sixth value; if the second detection result of the target sample corresponding to the third color block is unqualified, the color value of the third color block is the seventh value.

[0072] For example, if the first detection parameter group includes three first detection parameters and corresponding parameter values, namely, a visible light lower limit threshold, a reflected light upper limit threshold, and an infrared light lower limit threshold, then a target sample includes sample parameters corresponding to the three first detection parameters. The target sample here is an optical signal obtained by the multi-optical sensor module 1032, and the sample parameter is a parameter value to be detected corresponding to the detection parameter extracted from the target sample.

[0073] During the welding process, when unqualified problems such as cold welding occur, the metal absorbs less laser energy and reflects more, and the laser reflection signal increases; the molten metal pool decreases, and the infrared light signal decreases; the molten pool also absorbs less laser energy, the generated metal vapor decreases, and the visible light signal decreases. Therefore, when the visible light lower limit value is not less than the visible light lower limit threshold, the corresponding second test result is qualified, and when the visible light lower limit value is less than the visible light lower limit threshold, the corresponding second test result is unqualified;

[0074] When the upper limit value of the reflected light is not greater than the upper limit threshold value of the reflected light, the corresponding second detection result is qualified; when the upper limit value of the reflected light is greater than the upper limit threshold value of the reflected light, the corresponding second detection result is unqualified;

[0075] When the infrared light lower limit value is not less than the infrared light lower limit threshold, the corresponding second detection result is qualified, and when the infrared light lower limit value is less than the infrared light lower limit threshold, the corresponding second detection result is unqualified.

[0076] After obtaining N second test results, the industrial computer 101 will determine the first test result of the corresponding target sample according to the N second test results. If all the N second test results are qualified, the first test result of the corresponding target sample is qualified; if any one of the N second test results is unqualified, the first test result of the corresponding target sample is unqualified.

[0077] For example, see Figure 5A , Figure 5A Another detection result matrix diagram provided in an embodiment of the present application, wherein each row includes eight different color blocks, including a first color block (the first color block from the right), a second color block (the second color block from the right) and six third color blocks (six color blocks from the left). Each color block is presented in a rectangle, and the number in the rectangle is used to represent the color value presented by the color block.

[0078] The colors of the six third color blocks in the first row are all the sixth value, and the corresponding second test results of the target samples are all qualified; therefore, the first test result of the row is also qualified, and the color of the corresponding second color block is the fourth value; at the same time, the color value of the first color block of the row is the first value, which means that the first test result of the row is consistent with the actual result.

[0079] Among the six third color blocks in the second row, two third color blocks have the seventh value, and the corresponding second detection result of the target sample is unqualified. Therefore, the first detection result of the row is unqualified, and the color of the corresponding second color block is the fifth value. At the same time, the color of the first color block of the row is the second value, which means that the actual result is qualified and the detection result is overkill;

[0080] The colors of the six third color blocks in the third row are all the sixth value, and the corresponding second test results of the target samples are all qualified, so the first test result of the row is also qualified, and the color of the corresponding second color block is the fourth value; at the same time, the color of the first color block of the row is the third value, which means that the actual result is unqualified, and the test result is a missed kill.

[0081] The first color block, the second color block and the third color block in each row are separated by blank color blocks, bold borders and other separation marks to facilitate staff observation. For example, see Figure 5B , Figure 5B A detection result matrix diagram with separation marks is provided for an embodiment of the present application, wherein there is an empty color block as a separation mark between the first color block and the second color block in each row, and between the second color block and the third color block, and the color value of the empty color block is not any of the aforementioned values. The empty color block is used to separate the first color block, the second color block and the third color block for easy observation by staff.

[0082] It can be seen that in the embodiment of the present application, the second detection result of the target sample of the corresponding row is represented by the different color values ​​of the third color block, the detection results of N first detection parameters are displayed, and the relevant details of the detection results are added, which is conducive to further helping the staff to confirm and understand the detection effect of the detection parameter group.

[0083] In a possible embodiment, the test result matrix diagram includes a qualified sample test result matrix diagram and an unqualified sample test result matrix diagram; the qualified sample test result matrix diagram includes R rows, the R rows correspond to R target samples, and each row in the R rows includes 1 first color block, 1 second color block and N third color blocks; the unqualified sample test result matrix diagram includes S rows, the S rows correspond to S target samples, and each row in the S rows includes 1 first color block, 1 second color block and N third color blocks; the N third color blocks correspond to the N first detection parameters; wherein R+S=M, R and S are integers greater than 0; in each row of the qualified sample test result matrix diagram, if the first test result of the target sample corresponding to the first color block is the same as the actual result of the corresponding target sample, the color value of the first color block is the first value; if the first test result of the target sample corresponding to the first color block is unqualified, and the actual result of the corresponding target sample is qualified, the color value of the first color block is the second value; in the unqualified sample test result matrix diagram In each row of the result matrix diagram, if the first test result of the target sample corresponding to the first color block is the same as the actual result of the corresponding target sample, the color value of the first color block is the first value; if the first test result of the target sample corresponding to the first color block is qualified and the actual result of the corresponding target sample is unqualified, the color value of the first color block is the third value; in each row of the qualified sample test result matrix diagram and the unqualified sample test result matrix diagram, if the first test result of the target sample corresponding to the second color block is qualified, the color value of the second color block is the fourth value; if the first test result of the target sample corresponding to the second color block is unqualified, the color value of the second color block is the fifth value; in each row of the qualified sample test result matrix diagram and the unqualified sample test result matrix diagram, if the second test result of the target sample corresponding to the third color block is qualified, the color value of the third color block is the sixth value; if the second test result of the target sample corresponding to the third color block is unqualified, the color value of the third color block is the seventh value.

[0084] Specifically, in the embodiment of the present application, the test result matrix diagram includes a qualified sample test result matrix diagram and an unqualified sample test result matrix diagram; the test result matrix diagram includes two parts, wherein the actual result of the target sample corresponding to each row in the qualified sample test result matrix diagram is qualified, that is to say, the color of the first color block of each row in the qualified sample test result matrix diagram will only present a first value representing that the first test result is the same as the actual result, and a second value representing that the actual result corresponding to the unqualified first test result is qualified. When the staff needs to check the relevant first test result and the second test result of the overkill sample, they directly observe the qualified sample test result matrix diagram, and quickly locate the row corresponding to the first color block with the second value in color from the diagram, so as to obtain relevant information.

[0085] The actual results of the target samples corresponding to each row in the unqualified sample test result matrix are all unqualified, that is, the color of the first color block in each row of the unqualified sample test result matrix will only present the first value representing that the first test result is the same as the actual result, and the third value representing that the actual result corresponding to the qualified first test result is unqualified. When the staff needs to check the relevant first test results and second test results of the missed samples, they can directly observe the unqualified sample test result matrix and quickly locate the row corresponding to the first color block with the third value in the figure to obtain relevant information.

[0086] The relevant descriptions of the second color block and the third color block in the qualified test result matrix diagram and the unqualified test result matrix diagram are consistent with the previous description and will not be repeated here.

[0087] For example, see Figure 6 , Figure 6 A test result matrix diagram including a qualified sample test result matrix diagram and an unqualified sample test result matrix diagram provided for an embodiment of the present application, wherein the qualified sample test result matrix diagram and the unqualified sample test result matrix diagram respectively include 3 rows, and each row includes 6 third color blocks, 1 second color block and 1 first color block. The numbers in each color block are used to characterize the color value of the corresponding color block. For the specific meaning of the different color blocks in each row, please refer to the aforementioned related content, which will not be repeated here.

[0088] In the qualified sample test result matrix, the color of the first color block in the last row is the second value, and the first color blocks in other rows are the first value. In the unqualified sample test result matrix, the color of the first color block in the last row is the third value, and the first color blocks in other rows are the first value. It can be seen that the first test result represented as unqualified is actually qualified, that is, the first color block with the second value of color will only appear in the qualified sample test result matrix; the first test result represented as qualified is actually unqualified, that is, the first color block with the third value of color will only appear in the unqualified sample test result matrix.

[0089] Furthermore, in the matrix diagram of qualified sample detection results and the matrix diagram of unqualified sample detection results, the matrix diagram can be further divided into multiple matrix diagrams. In the matrix diagram of qualified sample detection results, a matrix diagram is generated according to the color of the first color block and the rows with the same color of the first color block; or a matrix diagram is generated for the rows with the same type of target samples, etc. The types of target samples here are target samples actually collected, pre-generated target samples, etc.

[0090] It can be seen that in the embodiment of the present application, by dividing the test result matrix diagram into a qualified test result matrix diagram and an unqualified test result matrix diagram, the first color block corresponding to the over-killed sample will only appear in the qualified test result matrix diagram, and the first color block corresponding to the missed sample will only appear in the unqualified test result matrix diagram, so that the staff can quickly locate the relevant information of the over-killed sample and the missed sample when observing the test result matrix diagram, which is conducive to further helping the staff to confirm and understand the detection effect of the detection parameter group.

[0091] In a possible embodiment, the detection result matrix diagram also includes a detection parameter histogram, which includes N bar columns, the N bar columns correspond to the N first detection parameters one by one, and the height value of each bar column in the N bar columns is used to characterize the parameter value of the corresponding first detection parameter. The detection result matrix diagram also includes a summary result, which is used to record the number of third color blocks of different colors and the number of first color blocks of different colors. In other words, the summary result records the number of second detection results with qualified detection results, the number of second detection results with unqualified detection results, the number of missed kills and the number of overkills.

[0092] For example, see Figure 7 , Figure 7A detection parameter bar graph is provided for an embodiment of the present application, which includes six first detection parameters, namely, an upper limit of visible light, an upper limit of reflected light, an upper limit of infrared light, a lower limit of visible light, a lower limit of reflected light and a lower limit of infrared light. It can be seen that the parameter value of the upper limit of visible light is 3, the parameter value of the upper limit of reflected light is 2.8, the parameter value of the upper limit of infrared light is 4, the parameter value of the lower limit of visible light is 2.7, the parameter value of the lower limit of reflected light is 1, and the parameter value of the lower limit of infrared light is 1.5.

[0093] In a possible embodiment, after generating the detection result matrix diagram, the method further includes: determining the number of overkill samples and the number of missed samples from M target samples based on M first verification results; the first detection result corresponding to the overkill sample is unqualified, while the actual result corresponding to the overkill sample is qualified; the first detection result corresponding to the missed sample is qualified, while the actual result corresponding to the missed sample is unqualified; if the number of overkill samples is not less than the first preset number, or the number of missed samples is not less than the second preset number, generating a second detection parameter group according to the first detection parameter group; the number of detection parameters in the second detection parameter group is greater than or equal to the number of detection parameters in the first detection parameter group; if the number of detection parameters in the second detection parameter group is greater than the number of detection parameters in the first detection parameter group, the second detection parameter group is to change N first detection parameters. The parameter values ​​of T first detection parameters in the first detection parameter group and U second detection parameters are added to the first detection parameter group; or the second detection parameter group is obtained by adding U second detection parameters to the first detection parameter group; wherein T is an integer greater than or equal to 0 and less than or equal to N, and U is an integer greater than or equal to 0; if the number of detection parameters in the second detection parameter group is equal to the number of detection parameters in the first detection parameter group, then the second detection parameter group is obtained by changing the parameter values ​​of T first detection parameters among the N first detection parameters; the second detection parameter group is determined as the new first detection parameter group, and the above-mentioned operation of detecting M groups of target samples is repeated to obtain M first detection results of the M target samples and generate a detection result matrix diagram based on the M first detection results, until the number of overkill is less than the first preset number, and the number of underkill is less than the second preset number.

[0094] Specifically, see Figure 8 , Figure 8 A schematic diagram of a process for generating a second detection parameter group provided in an embodiment of the present application includes steps S801-S804:

[0095] S801: Determine the number of overkill samples and the number of underkill samples from M target samples based on the M first verification results.

[0096] Among them, the M first verification results correspond one-to-one to the M target samples. The number of overkill samples here means that among the M target samples, the first verification result is unqualified, and the actual result of the corresponding target sample is the number of qualified target samples, that is, the number of corresponding first color blocks with the second value of color.

[0097] The number of missed samples here refers to the number of target samples whose first verification results are qualified and whose corresponding actual results are unqualified among the M target samples, that is, the number of target samples whose corresponding first color blocks have the third value.

[0098] The greater the number of over-killed samples and missed samples, the lower the detection accuracy of the first detection parameter group.

[0099] S802: If the number of overkill samples is not less than a first preset number, or the number of underkill samples is not less than a second preset number, a second detection parameter group is generated according to the first detection parameter group.

[0100] The first preset number is greater than or equal to the second preset number, that is, the detection result of the detection parameter group finally adjusted can have overkill, but cannot have underkill. Therefore, the first preset number can also be greater than the second preset number, and the first preset number and the second preset number can be integers greater than 0 such as 1, 2, 3, etc.

[0101] When the number of overkill samples obtained by the first detection parameter group when detecting the target samples is not less than the first preset number or the number of missed samples is not less than the second preset number, it proves that the detection accuracy of the first detection parameter group is not high enough, and it is necessary to adjust the first detection parameter group for the detection parameters that cause overkill samples or missed samples to reduce the number of overkill samples and missed samples and improve the detection accuracy.

[0102] Generating the second detection parameter group according to the first detection parameter group is specifically achieved by adding a new second detection parameter to the first detection parameter group, or changing the parameter value of at least one existing first detection parameter. Therefore, the number of detection parameters in the second detection parameter group is greater than or equal to the number of detection parameters in the first detection parameter group.

[0103] If the modification to the first detection parameter group includes adding a new second detection parameter and / or changing the parameter value of at least one existing first detection parameter, the number of detection parameters in the second detection parameter group is greater than the number of detection parameters in the first detection parameter group.

[0104] If the modification to the first detection parameter group only includes changing the parameter value of at least one existing first detection parameter, the number of detection parameters in the second detection parameter group is equal to the number of detection parameters in the first detection parameter group.

[0105] It can be seen that the number of overkill samples is limited by the first preset number, and the number of missed samples is limited by the second preset number, so that the first detection parameter group is continuously adjusted and iterated to improve the detection accuracy of the first detection parameter group finally obtained.

[0106] S803: Determine the second detection parameter group as a new first detection parameter group, and repeat the above-mentioned operation of detecting M groups of target samples, obtaining M first detection results of the M target samples, and generating a detection result matrix diagram based on the M first detection results.

[0107] The second detection parameter group is generated based on the first detection parameter group, specifically by changing the parameter values ​​of T (one or more) first detection parameters in the first detection parameter group, or by adding U (one or more) second detection parameters and corresponding parameter values; or by changing the parameter values ​​of T first detection parameters in the first detection parameter group while obtaining the second detection parameter and corresponding parameter values. The second detection parameter group will be used as a new first detection parameter group to repeatedly detect M groups of target samples. If the number of overkill is still not less than the first preset number, or the number of missed kills is still not less than the second preset number, then a new detection parameter group will continue to be generated to repeatedly detect M groups of target samples until the number of overkill is less than the first preset number, and the number of missed kills is less than the second preset number.

[0108] During the multiple iterative updates of the first detection parameter group, each different detection parameter group will generate a detection result matrix diagram. When multiple detection result matrix diagrams of different detection parameter groups are generated, the industrial control computer 101 will display the detection result matrix diagrams of the multiple different detection parameter groups in chronological order.

[0109] For example, see Fig. 9A , Fig. 9A A schematic diagram of a display of multiple test result matrices provided in an embodiment of the present application. It includes four different test result matrices, each of which includes a test parameter bar graph, a qualified test result matrix, and an unqualified test result matrix. From left to right are the first test result matrix, the second test result matrix, the third test result matrix, and the fourth test result matrix, which are arranged in the order of generation time. Fig. 9A The display screen shown may include more test result diagrams, but only four test result matrix diagrams are shown here. Fig. 9A As shown in the detection parameter bar charts in the multiple detection result matrix diagrams shown, each detection parameter bar chart is different, which means that the detection parameter group will be continuously updated and iterated to make the corresponding matrix diagram have fewer missed kill and over-kill detection results, as shown in the detection parameter bar charts in the first detection parameter result matrix diagram and the second detection result matrix diagram.

[0110] For the detailed features of the test parameter bar chart, qualified test result matrix chart and unqualified test result matrix chart in each test result matrix chart, please refer to the aforementioned related content and will not be repeated here.

[0111] It can be seen that staff can Fig. 9A The screen shown can intuitively observe the detection effects of different detection parameter groups, and at the same time confirm and understand the impact of changes in detection parameters and parameter values ​​in the detection parameter group on the detection effect of the detection parameter group.

[0112] For further information, see Fig. 9B , Fig. 9B A comparison diagram of a first detection result matrix diagram and a detection parameter histogram of a second detection result matrix diagram provided in an embodiment of the present application shows that Fig. 9B The detection parameter bar graph of the second detection result matrix diagram shown in includes a detection parameter A with a changed parameter value and an additional detection parameter D. The parameter value of detection parameter A changes from 1 to 1.8, and the parameter value of detection parameter D is 1. The bars corresponding to detection parameters A and detection parameter D are distinguished from detection parameters B and detection parameter C, which have not changed, by the black color, to indicate that detection parameters A and detection parameter D are detection parameters that have been adjusted between the current detection parameter group and the previous detection parameter group. In addition, the bars corresponding to detection parameters A and detection parameter D can also be identified by text labels, changing the shape of the bars, etc., so that the staff can distinguish the labels by color, text, shape, etc., and intuitively observe the adjusted detection parameters in the corresponding detection parameter group and the corresponding adjustment type from the detection result matrix diagram.

[0113] See also Fig. 9C , Fig. 9C A schematic diagram of a comparison of unqualified detection result matrices of a first detection result matrix diagram and a second detection result matrix diagram provided for an embodiment of the present application, for ease of explanation, the first detection result matrix diagram and the second detection result matrix diagram respectively shown here only include three rows, and may include more or fewer rows in actual applications. It can be seen that due to the change in the number of detection parameters in the detection parameter group, each row in the unqualified detection result matrix diagram of the first detection result matrix diagram includes six third color blocks, while each row in the unqualified detection result matrix diagram of the second detection result matrix diagram includes seven third color blocks, that is, each row has one more third color block corresponding to the newly added detection parameter.

[0114] Since the parameter value of the visible light upper limit of the first detection parameter in the detection parameter group (corresponding to the first third color block in each row) has changed, the color of the corresponding third color block has also changed from the sixth value symbolizing qualified in the first detection result matrix diagram to the seventh value symbolizing unqualified in the second detection result matrix diagram. The numbers in the third color block here are used to represent the values ​​of the colors therein. For example, the number "7" in the figure represents that the color of the color block is the seventh value, and the second detection result of the target sample corresponding to the color block is unqualified.

[0115] The number "7" and the number "7" both indicate that the second test result of the target sample corresponding to the color block is unqualified. The color corresponding to the number "7" is different from the color corresponding to the number "7". The color corresponding to the number "7" and the color corresponding to the number "7" can be similar colors, such as the color corresponding to the number "7" is dark red, and the color corresponding to the number "7" is light red. The number "6" and the number "6" both indicate that the second test result corresponding to the third color block is qualified, but the corresponding third color blocks are different colors.

[0116] It can be seen that the detection accuracy of the first detection parameter group finally obtained is improved by the first preset number and the second preset number, and the multiple detection result matrix diagrams generated by the first detection results of multiple first detection parameter groups enable the staff to compare the changes in detection effects before and after adjustment of the first detection parameter group through the multiple detection result matrix diagrams.

[0117] Furthermore, after the detection parameter is changed, if the corresponding second detection result has not changed, the third color block corresponding to the color value of "6" and "7" will not appear in the generated detection result matrix. At this time, the color values ​​of the third color blocks corresponding to the color values ​​of "6" and "7" in the detection result matrix of the changed detection parameter need to be changed to "6" and "7", thereby indicating that the corresponding detection parameter has changed its parameter value during the last adjustment of the detection parameter group, or indicating that the detection parameter is a newly added detection parameter. Relevant personnel can understand which detection parameters have changed through the third color blocks corresponding to the color values ​​of "6" and "7" in the detection result matrix, which is conducive to helping staff understand the adjustment logic of the detection parameters according to the changes in the detection effect of the adjusted detection parameter group, that is, how to reduce the number of over-killed samples and the number of missed samples by adjusting the detection parameter group.

[0118] S804: If the number of overkill samples is less than the first preset number, and the number of underkill samples is less than the second preset number.

[0119] At this time, the detection result of the target sample detected by the first detection parameter group is highly consistent with the actual result, and the detection accuracy is high. At this time, the first detection parameter can be actually used to detect the target workpiece.

[0120] It can be seen in the scheme of the present application that the first color block in the detection result matrix diagram represents whether the first detection result of the target sample corresponding to each row is consistent with the actual result, which is helpful to help the staff understand the detection effect of the first detection parameter group. The second color block and the third color block further improve the staff's understanding of the detection effect of the first detection parameter group. The first preset number and the second preset number improve the detection accuracy of the iteratively adjusted first detection parameter group; the multiple detection result matrix diagrams generated by the first detection results of multiple first detection parameter groups enable the staff to compare the changes in the detection effect before and after the adjustment of the first detection parameter group through multiple detection result matrix diagrams.

[0121] See also Fig.10 , Fig.10 This is a schematic diagram of the structure of an industrial control computer provided in an embodiment of the present application. Fig.10 As shown, the industrial computer 1000 includes:

[0122] An acquisition unit 1001 is used to acquire a first detection parameter group and M target samples;

[0123] A detection unit 1002 is configured to detect M target samples according to a first detection parameter group to obtain M first detection results corresponding to the M target samples, where M is an integer greater than 0;

[0124] The generating unit 1003 is used to generate a detection result matrix diagram based on M first detection results, wherein the detection result matrix diagram includes M rows, the M rows correspond to the M target samples, and each of the M rows includes 1 first color block. If the first detection result of the target sample corresponding to the first color block is the same as the actual result of the corresponding target sample, the color value of the first color block is the first value; if the first detection result of the target sample corresponding to the first color block is unqualified, while the actual result of the corresponding target sample is qualified, the color value of the first color block is the second value; if the first detection result of the target sample corresponding to the first color block is qualified, while the actual result of the corresponding target sample is unqualified, the color value of the first color block is the third value.

[0125] In a possible embodiment, each of the M rows also includes a second color block. If the first detection result of the target sample corresponding to the second color block is qualified, the color value of the second color block is the fourth value; if the first detection result of the target sample corresponding to the second color block is unqualified, the color value of the second color block is the fifth value.

[0126] In a possible embodiment, the first detection parameter group includes N first detection parameters, where N is an integer greater than 0, and each of the M rows also includes N third color blocks, and the N third color blocks correspond to the N first detection parameters; if the second detection result of the target sample corresponding to the third color block is qualified, the color value of the third color block is the sixth value; if the second detection result of the target sample corresponding to the third color block is unqualified, the color value of the third color block is the seventh value; the second detection result of the target sample corresponding to the third color block is obtained by detecting the target sample according to the first detection parameter corresponding to the third color block.

[0127] In a possible embodiment, the test result matrix diagram includes a qualified sample test result matrix diagram and an unqualified sample test result matrix diagram; the qualified sample test result matrix diagram includes R rows, the R rows correspond to R target samples, and each row in the R rows includes 1 first color block, 1 second color block and N third color blocks; the unqualified sample test result matrix diagram includes S rows, the S rows correspond to S target samples, and each row in the S rows includes 1 first color block, 1 second color block and N third color blocks; the N third color blocks correspond to the N first detection parameters; wherein R+S=M, R and S are integers greater than 0; in each row of the qualified sample test result matrix diagram, if the first test result of the target sample corresponding to the first color block is the same as the actual result of the corresponding target sample, the color value of the first color block is the first value; if the first test result of the target sample corresponding to the first color block is unqualified, and the actual result of the corresponding target sample is qualified, the color value of the first color block is the second value; in the unqualified sample test result matrix diagram In each row of the result matrix diagram, if the first test result of the target sample corresponding to the first color block is the same as the actual result of the corresponding target sample, the color value of the first color block is the first value; if the first test result of the target sample corresponding to the first color block is qualified and the actual result of the corresponding target sample is unqualified, the color value of the first color block is the third value; in each row of the qualified sample test result matrix diagram and the unqualified sample test result matrix diagram, if the first test result of the target sample corresponding to the second color block is qualified, the color value of the second color block is the fourth value; if the first test result of the target sample corresponding to the second color block is unqualified, the color value of the second color block is the fifth value; in each row of the qualified sample test result matrix diagram and the unqualified sample test result matrix diagram, if the second test result of the target sample corresponding to the third color block is qualified, the color value of the third color block is the sixth value; if the second test result of the target sample corresponding to the third color block is unqualified, the color value of the third color block is the seventh value.

[0128] In a possible embodiment, after generating the detection result matrix diagram,

[0129] The acquisition unit 1001 is also specifically used to: determine the number of overkill samples and the number of missed samples from M target samples based on M first verification results; the first detection result corresponding to the overkill sample is unqualified, while the actual result corresponding to the overkill sample is qualified; the first detection result corresponding to the missed sample is qualified, while the actual result corresponding to the missed sample is unqualified; if the number of overkill samples is not less than the first preset number, or the number of missed samples is not less than the second preset number, the generation unit 1003 is also specifically used to: generate a second detection parameter group according to the first detection parameter group; the number of detection parameters in the second detection parameter group is greater than or equal to the number of detection parameters in the first detection parameter group; if the number of detection parameters in the second detection parameter group is greater than the number of detection parameters in the first detection parameter group, then the second detection parameter group is to change T first detection parameters among N first detection parameters. The parameter value of the number, and the second detection parameter group is obtained by adding U second detection parameters to the first detection parameter group; or the second detection parameter group is obtained by adding U second detection parameters to the first detection parameter group; wherein T is an integer greater than or equal to 0 and less than or equal to N, and U is an integer greater than or equal to 0; if the number of detection parameters in the second detection parameter group is equal to the number of detection parameters in the first detection parameter group, then the second detection parameter group is obtained by changing the parameter values ​​of T first detection parameters among N first detection parameters; the detection unit 1002 is also specifically used to: determine the second detection parameter group as a new first detection parameter group, repeatedly perform the above-mentioned detection of M groups of target samples, obtain M first detection results of the M target samples and generate a detection result matrix diagram based on the M first detection results, until the overkill number is less than the first preset number, and the underkill number is less than the second preset number.

[0130] It should be noted that the above-mentioned units (acquisition unit 1001, detection unit 1002 and generation unit 1003) are used to execute the relevant steps of the above-mentioned method. For example, acquisition unit 1001 is used to execute the relevant content of S201, detection unit 1002 is used to execute the relevant content of S202, and generation unit 1003 is used to execute the relevant content of S203. Each unit or module in the industrial computer 1000 can be separately or completely combined into one or several other units or modules to constitute, or one (some) of the units or modules can also be divided into multiple smaller units or modules to constitute, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present invention. The above-mentioned units or modules are divided based on logical functions. In practical applications, the functions of a unit (or module) can also be implemented by multiple units (or modules), or the functions of multiple units (or modules) can be implemented by one unit (or module).

[0131] Based on the description of the above method embodiment and device embodiment, please refer to Fig.11 , an embodiment of the present invention also provides a structural schematic diagram of another industrial control computer 1100. Fig.11 The industrial computer 1100 shown (the industrial computer 1100 may be a computer device) includes a memory 1101, a processor 1102, a communication interface 1103 and a bus 1104. The memory 1101, the processor 1102 and the communication interface 1103 are connected to each other through the bus 1104.

[0132] The memory 1101 may be a read-only memory (ROM), a static storage device, a dynamic storage device or a random access memory (RAM).

[0133] The memory 1101 can store programs. When the program stored in the memory 1101 is executed by the processor 1102, the processor 1102 and the communication interface 1103 are used to execute the various steps of the detection result confirmation method of the embodiment of the present application.

[0134] The processor 1102 can adopt a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), a graphics processing unit (GPU) or one or more integrated circuits to execute relevant programs to implement the functions that need to be performed by the units in the industrial control computer 1100 of the embodiment of the present application, or to execute the detection result confirmation method of the method embodiment of the present application.

[0135] Processor 1102 can also be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the detection result confirmation method of the present application can be completed by the hardware integrated logic circuit or software instructions in the processor 1102. The above-mentioned processor 1102 can also be a general-purpose processor, a digital signal processor (DigitalSignal Processing, DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (Field ProgrammableGate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present application can be directly embodied as a hardware decoding processor to execute, or the hardware and software modules in the decoding processor are combined and executed. The software module can be located in a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, and other mature storage media in the art. The storage medium is located in the memory 1101, and the processor 1102 reads the information in the memory 1101, and combines its hardware to complete the functions required to be performed by the units included in the industrial control computer 1100 of the embodiment of the present application, or executes the detection result confirmation method of the method embodiment of the present application.

[0136] The communication interface 1103 uses a transceiver such as, but not limited to, a transceiver to implement communication between the industrial computer 1100 and other devices or a communication network. For example, data can be obtained through the communication interface 1103 .

[0137] The bus 1104 may include a path for transmitting information between various components of the industrial computer 1100 (eg, the memory 1101 , the processor 1102 , and the communication interface 1103 ).

[0138] It should be noted that although Fig.11 The industrial computer 1100 shown only shows a memory, a processor, and a communication interface. However, in the specific implementation process, those skilled in the art should understand that the industrial computer 1100 also includes other devices necessary for normal operation. At the same time, according to specific needs, those skilled in the art should understand that the industrial computer 1100 may also include hardware devices for implementing other additional functions. In addition, those skilled in the art should understand that the industrial computer 1100 may also only include the devices necessary to implement the embodiments of the present application, and does not necessarily include Fig.11 All devices shown in .

[0139] An embodiment of the present application further provides a chip, which includes a processor and a data interface. The processor reads instructions stored in a memory through the data interface to implement the detection result confirmation method.

[0140] Optionally, as an implementation method, the chip may further include a memory, in which instructions are stored, and the processor is used to execute the instructions stored in the memory. When the instructions are executed, the processor is used to execute the detection result confirmation method.

[0141] An embodiment of the present application also provides a computer-readable storage medium, which stores instructions. When the computer-readable storage medium is executed on a computer or a processor, the computer or the processor executes one or more steps in any of the above methods.

[0142] The embodiment of the present application further provides a computer program product including instructions. When the computer program product is executed on a computer or a processor, the computer or the processor executes one or more steps in any of the above methods.

[0143] Those skilled in the art will appreciate that the functions described in conjunction with the various illustrative logic blocks, modules, and algorithm steps disclosed herein can be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions described in the various illustrative logic blocks, modules, and steps can be stored or transmitted as one or more instructions or codes on a computer-readable medium and executed by a hardware-based processing unit. Computer-readable media may include computer-readable storage media, which corresponds to tangible media, such as data storage media, or includes any media (e.g., based on a communication protocol) that facilitates the transfer of a computer program from one place to another. In this manner, computer-readable media may generally correspond to (1) non-temporary tangible computer-readable storage media, or (2) communication media, such as signals or carrier waves. Data storage media may be any available media that can be accessed by one or more computers or one or more processors to retrieve instructions, codes, and / or data structures for implementing the techniques described in this application. A computer program product may include computer-readable media.

[0144] As an example and not limitation, such computer-readable storage media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage, flash memory, or any other medium that can be used to store the desired program code in the form of instructions or data structures and can be accessed by a computer. Also, any connection is properly referred to as a computer-readable medium. For example, if instructions are transmitted from a website, server or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio and microwave are included in the definition of media. However, it should be understood that the computer-readable storage media and data storage media do not include connections, carrier waves, signals or other temporary media, but are actually directed to non-temporary tangible storage media. As used herein, disks and optical disks include compact disks (CDs), laser optical disks, optical optical disks, digital versatile disks (DVDs), and Blu-ray disks, where disks typically reproduce data magnetically, while optical disks reproduce data optically using lasers. Combinations of the above should also be included within the scope of computer-readable media.

[0145] Instructions may be executed by one or more processors, such as one or more digital signal processors (DSPs), general purpose microprocessors, application specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuits. Thus, the term "processor" as used herein may refer to any of the aforementioned structures or any other structures suitable for implementing the techniques described herein. Additionally, in some aspects, the functions described by the various illustrative logic blocks, modules, and steps described herein may be provided within dedicated hardware and / or software modules configured for encoding and decoding, or incorporated in a combined codec. Moreover, the techniques may be fully implemented in one or more circuits or logic elements.

[0146] The techniques of the present application may be implemented in a variety of devices or apparatuses, including a wireless handset, an integrated circuit (IC), or a set of ICs (e.g., a chipset). Various components, modules, or units are described in this application to emphasize functional aspects of devices for performing the disclosed techniques, but do not necessarily need to be implemented by different hardware units. In fact, as described above, the various units may be combined in an encoded hardware unit in conjunction with appropriate software and / or firmware, or provided by interoperating hardware units (including one or more processors as described above).

[0147] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the specific descriptions of the corresponding steps in the aforementioned method embodiments, and will not be repeated here.

[0148] It should be understood that in the description of the present application, unless otherwise specified, " / " indicates that the objects associated before and after are in an "or" relationship, for example, A / B can represent A or B; wherein A and B can be singular or plural. Also, in the description of the present application, unless otherwise specified, "multiple" refers to two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, wherein a, b, c can be single or multiple. In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second", etc. are used to distinguish the same items or similar items with substantially the same functions and effects. Those skilled in the art can understand that the words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not limit them to be necessarily different. Meanwhile, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete manner for ease of understanding.

[0149] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the division of the unit is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. The mutual coupling, direct coupling, or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0150] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0151] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media integrations. The available medium may be a read-only memory (ROM), or a random access memory (RAM), or a magnetic medium, such as a floppy disk, a hard disk, a tape, a disk, or an optical medium, such as a digital versatile disc (DVD), or a semiconductor medium, such as a solid state disk (SSD), etc.

[0152] The above is only a specific implementation of the embodiment of the present application, but the protection scope of the embodiment of the present application is not limited thereto, and any changes or replacements within the technical scope disclosed in the embodiment of the present application should be included in the protection scope of the embodiment of the present application. Therefore, the protection scope of the embodiment of the present application should be based on the protection scope of the claims.

[0153] The device embodiments described above are merely illustrative, wherein the units and modules described as separate components may or may not be physically separated. In addition, some or all of the units and modules may be selected according to actual needs to achieve the purpose of the present embodiment. Those of ordinary skill in the art may understand and implement the present invention without creative effort.

[0154] The above is only a specific implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for confirming a test result, characterized in that: The method comprises: Obtaining a first detection parameter group and M target samples; Detecting the M target samples according to the first detection parameter group to obtain M first detection results corresponding to the M target samples, where M is an integer greater than 0; A detection result matrix diagram is generated based on the M first detection results, wherein the detection result matrix diagram includes M rows, the M rows corresponding to the M target samples, and each of the M rows includes a first color block. If the first detection result of the target sample corresponding to the first color block is the same as the actual result of the corresponding target sample, the color value of the first color block is the first value; if the first detection result of the target sample corresponding to the first color block is unqualified, while the actual result of the corresponding target sample is qualified, the color value of the first color block is the second value; if the first detection result of the target sample corresponding to the first color block is qualified, while the actual result of the corresponding target sample is unqualified, the color value of the first color block is the third value; each of the M rows also includes a second color block. If the first detection result of the target sample corresponding to the second color block is qualified, the color value of the second color block is the fourth value; if the first detection result of the target sample corresponding to the second color block is unqualified, the color value of the second color block is the fifth value.

2. The method according to claim 1, characterized in that The first detection parameter group includes N first detection parameters, where N is an integer greater than 0, and each of the M rows further includes N third color blocks, and the N third color blocks correspond to the N first detection parameters; if the second detection result of the target sample corresponding to the third color block is qualified, the color value of the third color block is the sixth value; If the second detection result of the target sample corresponding to the third color block is unqualified, the color value of the third color block is the seventh value; The second detection result of the target sample corresponding to the third color block is obtained by detecting the target sample according to the first detection parameter corresponding to the third color block.

3. The method according to claim 2, characterized in that The test result matrix diagram includes a qualified sample test result matrix diagram and an unqualified sample test result matrix diagram; The qualified sample detection result matrix diagram includes R rows, the R rows correspond to R target samples, and each row in the R rows includes 1 first color block, 1 second color block and N third color blocks; the unqualified sample detection result matrix diagram includes S rows, the S rows correspond to S target samples, and each row in the S rows includes 1 first color block, 1 second color block and N third color blocks; the N third color blocks correspond to the N first detection parameters; wherein R+S=M, R and S are integers greater than 0; In each row of the qualified sample detection result matrix diagram, if the first detection result of the target sample corresponding to the first color block is the same as the actual result of the corresponding target sample, the color value of the first color block is the first value; if the first detection result of the target sample corresponding to the first color block is unqualified and the actual result of the corresponding target sample is qualified, the color value of the first color block is the second value; In each row of the unqualified sample detection result matrix diagram, if the first detection result of the target sample corresponding to the first color block is the same as the actual result of the corresponding target sample, the color value of the first color block is the first value; if the first detection result of the target sample corresponding to the first color block is qualified and the actual result of the corresponding target sample is unqualified, the color value of the first color block is the third value; In each row of the qualified sample test result matrix diagram and the unqualified sample test result matrix diagram, if the first test result of the target sample corresponding to the second color block is qualified, the color value of the second color block is the fourth value; if the first test result of the target sample corresponding to the second color block is unqualified, the color value of the second color block is the fifth value; In each row of the qualified sample detection result matrix diagram and the unqualified sample detection result matrix diagram, if the second detection result of the target sample corresponding to the third color block is qualified, the color value of the third color block is the sixth value; If the second detection result of the target sample corresponding to the third color block is unqualified, the color value of the third color block is the seventh value.

4. The method according to any one of claims 1 to 3, characterized in that: After generating the detection result matrix diagram, the method further includes: Based on the M first detection results, the number of overkill samples and the number of missed samples are determined from the M target samples; the first detection results corresponding to the overkill samples are unqualified, while the actual results corresponding to the overkill samples are qualified; the first detection results corresponding to the missed samples are qualified, while the actual results corresponding to the missed samples are unqualified; If the number of overkill samples is not less than a first preset number, or the number of missed samples is not less than a second preset number, a second detection parameter group is generated according to the first detection parameter group; the number of detection parameters in the second detection parameter group is greater than or equal to the number of detection parameters in the first detection parameter group; If the number of detection parameters in the second detection parameter group is greater than the number of detection parameters in the first detection parameter group, the second detection parameter group is obtained by changing the parameter values ​​of T first detection parameters among the N first detection parameters and adding U second detection parameters to the first detection parameter group; or the second detection parameter group is obtained by adding U second detection parameters to the first detection parameter group; wherein T is an integer greater than or equal to 0 and less than or equal to N, and U is an integer greater than or equal to 0; If the number of detection parameters in the second detection parameter group is equal to the number of detection parameters in the first detection parameter group, then the second detection parameter group is obtained by changing parameter values ​​of T first detection parameters among the N first detection parameters; Determine the second detection parameter group as the new first detection parameter group, repeat the above-mentioned detection of M groups of target samples, obtain M first detection results of the M target samples and generate a detection result matrix diagram based on the M first detection results, until the number of over-killed samples is less than the first preset number, and the number of missed samples is less than the second preset number.

5. An industrial computer, characterized in that: For executing the detection result confirmation method, the industrial control computer comprises: An acquisition unit, acquiring a first detection parameter group and M target samples; a detection unit, detecting the M target samples according to the first detection parameter group, and obtaining M first detection results corresponding to the M target samples, where M is an integer greater than 0; A generating unit generates a detection result matrix diagram based on the M first detection results, the detection result matrix diagram includes M rows, the M rows correspond to M target samples, each of the M rows includes a first color block, if the first detection result of the target sample corresponding to the first color block is the same as the actual result of the corresponding target sample, the color value of the first color block is the first value; if the first detection result of the target sample corresponding to the first color block is unqualified, and the actual result of the corresponding target sample is qualified, the color value of the first color block is the second value; if the first detection result of the target sample corresponding to the first color block is qualified, and the actual result of the corresponding target sample is unqualified, the color value of the first color block is the third value; each of the M rows also includes a second color block, if the first detection result of the target sample corresponding to the second color block is qualified, the color value of the second color block is the fourth value; if the first detection result of the target sample corresponding to the second color block is unqualified, the color value of the second color block is the fifth value.

6. An industrial computer, characterized in that: It comprises a processor, the processor is connected to a memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the industrial computer executes the method as described in any one of claims 1-4.

7. A laser welding control system, comprising: A laser welding system, a multi-optical sensor module, a signal processing module and an industrial computer, wherein the industrial computer is used to execute the method as described in any one of claims 1 to 4.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method according to any one of claims 1 to 4.

9. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Method, device and equipment for visually monitoring abrasion of conveying belt and storage medium

    CN115127461A

  • Detection result display method and device, computer equipment and storage medium

    CN116563278A