A visual inspection equipment usage traceability metering device and method thereof

By introducing quantitative transmission and traceability measurement devices into visual inspection equipment, and using twin scenes and uncertainty assessment algorithms, the problems of insufficient data collection and environmental impact in machine vision technology are solved, and the accuracy and reliability of algorithm calculation results are achieved. Quantitative evaluation and remote calibration.

CN117953334BActive Publication Date: 2024-09-17NATIONAL INSTITUTE OF METROLOGY CHINA
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410347619.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-26
Publication Date
2024-09-17
Estimated Expiration
2044-03-26

AI Technical Summary

Technical Problem

Existing machine vision technology is affected by insufficient data collection, uneven illumination and equipment resolution, resulting in inaccurate calculation results and a lack of quantitative evaluation from measurement angles. It cannot guarantee the accuracy and reliability of algorithm calculation results.

Method used

A visual inspection equipment consumption traceability measurement device is designed, including host initialization, twin scene configuration, data comparison and uncertainty assessment modules. Through the twin scene data set and measurement uncertainty assessment algorithm, traceability results are generated and digital or Electronic reporting ensures the accuracy and reliability of algorithm calculation results.

Benefits of technology

It realizes the quantitative evaluation of the calculation results of the machine vision algorithm, avoids insufficient data collection and environmental conditions, ensures the accuracy and reliability of the calculation results, and solves the difficulties of on-site measurement through remote calibration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117953334B
    Figure CN117953334B
Patent Text Reader

Abstract

The present invention discloses a visual inspection equipment usage traceability metering device and a method thereof. The visual inspection equipment usage traceability metering device provided in the present application avoids the problems of too little data collection and lack of unified evaluation standards, can realize quantitative evaluation of the accuracy and reliability of algorithm calculation results, and solves the problem that the visual inspection equipment usage traceability metering device cannot be moved to the site of the inspected equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a metering device technology, in particular to a visual inspection equipment usage traceability metering device and a method thereof. Background Art

[0002] At present, artificial intelligence technology is developing rapidly, and intelligent algorithms for improving productivity and production efficiency are emerging in the market. Machine vision is one of the important development directions in today's science and technology field. With the continuous innovation and development of machine vision technology, machine vision algorithms have been widely used in packaging inspection, medical, agriculture and autonomous driving. In the field of packaging inspection, machine vision algorithms can be used to screen out non-standard packaging to ensure product quality and safety; in the medical field, machine vision algorithms can analyze medical images and assist in medical diagnosis; in the agricultural field, machine vision algorithms can be used for precision agriculture and intelligent breeding to continuously improve agricultural production efficiency and output; in the field of autonomous driving, machine vision algorithms can be used to identify and analyze information such as roads, vehicles, pedestrians, etc., to improve traffic safety and efficiency. The existing technical shortcomings are as follows: First, only using an image device to shoot the physical object will result in a small amount of data collection, which will result in misjudgment and omission of the product. Secondly, there are many factors that affect the accuracy and reliability of the calculation results of the machine vision algorithm, such as uneven lighting will cause image distortion and affect the measurement accuracy; the resolution of the camera will affect the quality of the image; the selection and parameter setting of the machine vision algorithm will directly affect the results. Therefore, the accuracy and reliability of the calculation results of the machine vision algorithm cannot be guaranteed. Finally, the machine vision algorithm used in packaging inspection only provides evaluation indicators such as packaging inspection accuracy or abnormality rate, and does not quantitatively evaluate the accuracy and reliability of the algorithm calculation results from a metrological perspective. Therefore, a visual inspection equipment usage traceability measurement device and method are needed. Summary of the invention

[0003] The purpose of the present invention is to provide a visual inspection equipment usage traceability metering device and method thereof.

[0004] To achieve the above object, the present invention is implemented according to the following technical solutions:

[0005] The present invention comprises:

[0006] Host initialization module, used to initialize the host of the visual inspection and traceability measurement device;

[0007] The twin scene configuration module, in which the digital measuring tool maker configures the twin scene and scene ID, and configures the corresponding twin scene data set generation algorithm in the twin algorithm module for different scene IDs;

[0008] A data comparison module, used to configure a corresponding data comparison algorithm;

[0009] Uncertainty evaluation module, used to configure the corresponding measurement uncertainty evaluation algorithm;

[0010] The traceability report module is used to configure the corresponding digital report or electronic report template.

[0011] According to the visual inspection equipment quantity traceability metering device of claim 1, the user independently selects the scene ID that matches the inspected equipment according to needs, and makes the selection based on the twin scene and scene ID configured by the digital measuring tool maker.

[0012] Furthermore, the twin scene output module transmits the twin scene data set saved in the real-time twin scene data set module to the device under inspection, and the visual image data is first displayed on the visual inspection traceability metering screen and then received by the device under inspection.

[0013] Furthermore, the detected device inputs the received twin scene data set, calculates and obtains measurement information, and transmits the measurement information to the detected device data input module via the detected device data access interface.

[0014] Furthermore, the data comparison module calculates and obtains a comparison result based on the measurement information of the device under test, and the uncertainty assessment module calculates the measurement uncertainty of the comparison result, and finally generates a traceability result.

[0015] Furthermore, the traceability report module generates a digital report or electronic report with user information and traceability results based on the user information and traceability results, and distributes it. The user can download it through a network connection or a USB interface, but the USB interface download requires identity authentication.

[0016] In another aspect, a method for measuring traceability using visual inspection includes the following steps:

[0017] A. Initialize the host of the visual inspection and traceability measurement device;

[0018] B configures the twin scene and scene ID in the twin scene configuration module, and configures the corresponding twin scene data set generation algorithm for different scene IDs;

[0019] C The user selects the scene ID that matches the device under inspection according to their needs;

[0020] D The twin algorithm module generates a twin scene dataset corresponding to the scene ID in real time;

[0021] E transmits the twin scene data set to the device under test, calculates and obtains the comparison results and measurement uncertainty based on the measurement information, and generates traceability results; generates and distributes a digital report or electronic report with user information and traceability results.

[0022] Furthermore, the twin algorithm module generates a twin scene data set corresponding to the scene ID in real time according to the scene ID selected by the user, including arranging it according to the rules formulated by the digital measuring tool maker and configuring a unique identification ID.

[0023] Furthermore, the uncertainty assessment method specifically includes:

[0024] Select the initial solution as the current solution, set the probability distribution and the upper limit of the number of iterations;

[0025] For each iteration, a candidate solution is randomly selected according to the currently set probability distribution;

[0026] Calculate the objective function value of the candidate solution. If the objective function value of the candidate solution is smaller than that of the current solution, update the current solution to the candidate solution.

[0027] According to the performance of the candidate solutions, the probability distribution is adjusted so that in subsequent iterations, the probability of the region with better performance being selected increases.

[0028] Repeat the above process until the upper limit of iteration number is reached.

[0029] Returns the current solution as a near-optimal solution.

[0030] Furthermore, the calculation of the mean and standard deviation of the measured data is introduced into the iterative algorithm, specifically including the component , collect the measured data and calculate the mean: for each component , calculate the mean of its measured data , the formula is as follows:

[0031]

[0032] in is the number of measurements, It is The measured The value of .

[0033] A. Evaluate the Class A standard uncertainty based on the standard deviation method of the observed value and calculate the standard deviation of the measured data for each component, including:

[0034]

[0035] in is the degrees of freedom, used for an unbiased estimate of the standard deviation.

[0036] Evaluate Class B standard uncertainty based on the method of observed value distribution: If the distribution of the measured data is normal, the standard uncertainty can be directly calculated based on the normal distribution;

[0037] B Combined standard uncertainty: Combine the Type A standard uncertainty and the Type B standard uncertainty to obtain the combined standard measurement uncertainty.

[0038] The beneficial effects of the present invention are:

[0039] The present application provides a visual inspection equipment usage traceability metering device that avoids the problems of too little data collection and lack of unified evaluation standards, can realize quantitative evaluation of the accuracy and reliability of algorithm calculation results, and solves the problem that the visual inspection equipment usage traceability metering device cannot be moved to the site of the inspected equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 It is a structural schematic diagram of the traceability metering device for on-site visual inspection equipment of the present invention;

[0041] Figure 2 It is a schematic diagram of the structure of the quantity traceability metering device for remote visual inspection equipment of the present invention. DETAILED DESCRIPTION

[0042] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments. The illustrative embodiments and descriptions of the present invention are used to explain the present invention but are not intended to limit the present invention.

[0043] like Figure 1 As shown, a device for tracing and measuring the amount of on-site visual inspection equipment, the method specifically includes:

[0044] S1. Initialize the host of the visual inspection and traceability measurement device;

[0045] The digital measuring tool maker configures the twin scene and scene ID in the twin scene configuration module; configures the corresponding twin scene data set generation algorithm in the twin algorithm module for different scene IDs; configures the corresponding data comparison algorithm in the data comparison module; configures the corresponding measurement uncertainty assessment algorithm in the uncertainty assessment module; and configures the corresponding digital report (certificate) or electronic report (certificate) template in the traceability report module.

[0046] S2. The user selects the scene ID that matches the device under inspection according to their needs;

[0047] Based on the twin scenes and scene IDs configured by the digital measuring tool maker, the user can independently select the scene ID that matches the device being inspected.

[0048] S3, the twin algorithm module generates and saves the twin scene data set corresponding to the scene ID in real time;

[0049] Based on the scene ID selected by the user, the twin algorithm module generates a twin scene dataset in real time, arranges the twin scene dataset according to the rules set by the digital measuring tool maker, configures a unique identification ID and saves it to the real-time twin scene dataset module.

[0050] S4, the twin scene output module transmits the twin scene data set stored in the real-time twin scene data set module to the device under inspection;

[0051] The twin scene dataset module configured with a unique identification ID is transmitted to the device under inspection through the twin scene output module. The visual image data must first be displayed on the visual inspection traceability metering screen and then received by the device under inspection.

[0052] S5. The device under test inputs the received twin scene data set, calculates and obtains measurement information;

[0053] The inspected device inputs the received twin scene data set, or inputs the received visual image data set displayed on the visual inspection traceability metrology screen, calculates and obtains the measurement information.

[0054] S6. The measurement information of the detected device is transmitted to the detected device data input module via the detected device data access interface;

[0055] The measurement information of the inspected equipment is transmitted to the quantity traceability metering device of the visual inspection equipment, and the transmission process is transmitted to the data input module of the inspected equipment through the data access interface of the inspected equipment.

[0056] S7. Based on the measurement information of the device under test, the data comparison module calculates and obtains the comparison result, and the uncertainty assessment module calculates the measurement uncertainty of the comparison result;

[0057] Based on the measurement information of the device under test, the data comparison module compares the digital measuring tool with the measurement information, calculates and obtains the comparison result, and then the uncertainty assessment module calculates the measurement uncertainty corresponding to the data comparison result, and finally generates the traceability result;

[0058] S8. Based on the user information and traceability results, the traceability report module generates and issues a digital report (certificate) or electronic report (certificate) containing the user information and traceability results.

[0059] Based on user information and traceability results, the traceability report module generates and issues a digital report (certificate) or electronic report (certificate) with user information and traceability results. Users can download it through a network connection, which can be a wireless network connection or a wired network connection. Users can also download through the USB interface, but they must be authenticated before they can connect.

[0060] like Figure 2As shown, a remote visual inspection equipment usage traceability metering device, the method specifically includes:

[0061] S1. Initialize the visual inspection traceability measurement service device;

[0062] The digital measuring tool maker configures the twin scene and scene ID in the twin scene configuration module, configures the twin scene data set generation algorithm in the twin algorithm module, configures the data comparison algorithm in the data comparison module, configures the measurement uncertainty assessment algorithm in the uncertainty assessment module, and configures the digital report (certificate) or electronic report (certificate) template in the traceability report module.

[0063] S2. The user verifies the user information through the user login module and remotely connects to the visual inspection and traceability measurement service device;

[0064] Users can use the web service interface, SSH password login, SSH key login, etc. to remotely connect to the visual inspection traceability measurement service device through the user login module.

[0065] S3. The user selects the scene ID that matches the device under inspection according to their needs;

[0066] Based on the twin scenes and scene IDs configured by the digital measuring tool maker, the user can independently select the scene ID that matches the device being inspected.

[0067] S4, the twin algorithm module generates and saves the twin scene data set corresponding to the scene ID in real time;

[0068] Based on the scene ID selected by the user, the twin algorithm module generates a twin scene dataset in real time, arranges the twin scene dataset according to the rules set by the digital measuring tool maker, configures a unique identification ID and saves it to the real-time twin scene dataset module.

[0069] S5. The twin scene output module transmits the twin scene data set stored in the real-time twin scene data set module to the inspected device via the Internet;

[0070] The twin scene data set configured with a unique identification ID is transmitted to the visual data digital twin coupler via the Internet, and then transmitted to the device under inspection by the twin scene output module of the visual data digital twin coupler. The visual image data must first be displayed on the screen and then received by the device under inspection.

[0071] S6. The device under test inputs the received twin scene data set, calculates and obtains measurement information;

[0072] The device under test inputs the received twin scene dataset, or inputs the received visual image dataset displayed on the screen, calculates and obtains measurement information.

[0073] S7. The measurement information of the inspected equipment is transmitted to the inspected equipment data input module of the visual inspection quantity transmission and traceability measurement service device through the Internet via the inspected equipment data access interface of the visual data digital twin coupler;

[0074] The measurement information of the inspected equipment is transmitted to the visual inspection equipment quantity traceability metrology device. The transmission process is through the inspected equipment data access interface of the visual data digital twin coupler, and is transmitted to the inspected equipment data input module of the visual inspection quantity traceability metrology service device through the Internet.

[0075] S8. Based on the measurement information of the device under test, the data comparison module calculates and obtains the comparison result, and the uncertainty assessment module calculates the measurement uncertainty of the comparison result;

[0076] Based on the measurement information of the device under test, the data comparison module compares the digital measuring tool with the measurement information, calculates and obtains the comparison result, and then the uncertainty assessment module calculates the measurement uncertainty corresponding to the data comparison result, and finally generates the traceability result;

[0077] S9. Based on user information and traceability results, the traceability report module generates and issues a digital report (certificate) or electronic report (certificate) containing user information and traceability results.

[0078] Based on user information and traceability results, the traceability report module generates and issues a digital report (certificate) or electronic report (certificate) with user information and traceability results. Users can download it through a network connection, which can be a wireless network connection or a wired network connection. Users can also download through the USB interface, but they must be authenticated before they can connect.

[0079] Machine vision algorithms need to work under certain environmental conditions, such as light, temperature and other conditions. The traceability metering device for on-site visual inspection equipment presents image data on a visual inspection traceability metering screen, avoiding environmental condition requirements. The traceability metering device for on-site visual inspection equipment proposed by the present invention combines metrology technology with measurement uncertainty assessment methods, and realizes quantitative evaluation of the accuracy and reliability of algorithm calculation results in visual inspection equipment from a metrological perspective.

[0080] When the traceability measurement device for visual inspection equipment cannot be moved to the site of the inspected equipment, the reference data can be transferred to the visual data digital twin coupler for remote calibration. The measurement data and reference data of the inspected equipment are transmitted to the visual inspection traceability measurement service device via the Internet through the visual data digital twin coupler, and finally the remote calibration of the inspected equipment is realized through algorithm traceability.

[0081] A method for measuring the source of a product using visual inspection and traceability, comprising the following steps:

[0082] A. Initialize the host of the visual inspection and traceability measurement device;

[0083] B configures the twin scene and scene ID in the twin scene configuration module, and configures the corresponding twin scene data set generation algorithm for different scene IDs;

[0084] C The user selects the scene ID that matches the device under inspection according to their needs;

[0085] D The twin algorithm module generates a twin scene dataset corresponding to the scene ID in real time;

[0086] E transmits the twin scene data set to the device under test, calculates and obtains the comparison results and measurement uncertainty based on the measurement information, and generates traceability results; generates and distributes a digital report or electronic report with user information and traceability results.

[0087] Furthermore, the twin algorithm module generates a twin scene data set corresponding to the scene ID in real time according to the scene ID selected by the user, including arranging it according to the rules formulated by the digital measuring tool maker and configuring a unique identification ID.

[0088] In this embodiment, the uncertainty assessment method specifically includes:

[0089] Select the initial solution as the current solution, set the probability distribution and the upper limit of the number of iterations;

[0090] For each iteration, a candidate solution is randomly selected according to the currently set probability distribution;

[0091] Calculate the objective function value of the candidate solution. If the objective function value of the candidate solution is smaller than that of the current solution, update the current solution to the candidate solution.

[0092] According to the performance of the candidate solutions, the probability distribution is adjusted so that in subsequent iterations, the probability of the region with better performance being selected increases.

[0093] Repeat the above process until the upper limit of iteration number is reached.

[0094] Returns the current solution as a near-optimal solution.

[0095] In this implementation example, the calculation of the mean and standard deviation of the measured data is introduced into the iterative algorithm, specifically including the following steps for each input component: , collect the measured data and calculate the mean: for each component , calculate the mean of its measured data , the formula is as follows:

[0096]

[0097] in is the number of measurements, It is The measured The value of .

[0098] A. Evaluate the Class A standard uncertainty based on the standard deviation method of the observed value and calculate the standard deviation of the measured data for each component, including:

[0099]

[0100] in is the degrees of freedom, used for an unbiased estimate of the standard deviation.

[0101] Evaluate Class B standard uncertainty based on the method of observed value distribution: If the distribution of the measured data is normal, the standard uncertainty can be directly calculated based on the normal distribution;

[0102] B Combined standard uncertainty: Combine the Type A standard uncertainty and the Type B standard uncertainty to obtain the combined standard measurement uncertainty.

[0103] The technical solution of the present invention is not limited to the above-mentioned specific embodiments. All technical variations made according to the technical solution of the present invention fall within the protection scope of the present invention.

Claims

1. A visual inspection equipment quantity traceability metering device, characterized in that: include: Host initialization module, used to initialize the host of the visual inspection and traceability measurement device; The twin scene configuration module, in which the digital measuring tool maker configures the twin scene and scene ID, and configures the corresponding twin scene data set generation algorithm in the twin algorithm module for different scene IDs; A data comparison module, used to configure a corresponding data comparison algorithm; Uncertainty evaluation module, used to configure the corresponding measurement uncertainty evaluation algorithm; The traceability report module is used to configure the corresponding digital report or electronic report template; A twin scene output module, which transmits the twin scene data set stored in the real-time twin scene data set module to the device under inspection. The visual image data is first displayed on the visual inspection traceability measurement screen and then received by the device under inspection. The detected device inputs the received twin scene data set, calculates and obtains measurement information, and transmits the measurement information to the detected device data input module via the detected device data access interface; The data comparison module calculates and obtains the comparison result based on the measurement information of the device under test, and the uncertainty assessment module calculates the measurement uncertainty of the comparison result, and finally generates the traceability result; Based on the measurement information of the inspected device, the data comparison module compares the digital measuring tool with the measurement information to obtain a comparison result.

2. According to claim 1, a visual inspection equipment usage traceability metering device is characterized in that: The traceability report module generates a digital report or electronic report with user information and traceability results based on user information and traceability results, and distributes it. Users can download it through a network connection or a USB interface, but USB interface downloading requires identity authentication.

3. A measurement method using the visual inspection equipment traceability measurement device according to claim 1 or 2, characterized in that: The following steps are involved: A. Initialize the host of the visual inspection and traceability measurement device; B configures the twin scene and scene ID in the twin scene configuration module, and configures the corresponding twin scene data set generation algorithm for different scene IDs; C The user selects the scene ID that matches the device under inspection according to their needs; D The twin algorithm module generates a twin scene dataset corresponding to the scene ID in real time; E transmits the twin scene data set to the device under test, calculates and obtains the comparison results and measurement uncertainty based on the measurement information, and generates the traceability results; Generate and distribute digital or electronic reports with user information and traceability results.

4. The measuring method according to claim 3, characterized in that: The twin algorithm module generates a twin scene data set corresponding to the scene ID in real time according to the scene ID selected by the user, including arranging it according to the rules formulated by the digital measuring tool maker and configuring a unique identification ID.

5. The measuring method according to claim 3, characterized in that: The uncertainty assessment method specifically includes: Select the initial solution as the current solution, set the probability distribution and the upper limit of the number of iterations; For each iteration, a candidate solution is randomly selected according to the currently set probability distribution; Calculate the objective function value of the candidate solution. If the objective function value of the candidate solution is smaller than that of the current solution, update the current solution to the candidate solution. According to the performance of the candidate solutions, the probability distribution is adjusted so that in subsequent iterations, the probability of the region with better performance being selected increases; Repeat the above process until the upper limit of iteration number is reached; Returns the current solution as a near-optimal solution.

6. The measuring method according to claim 5, characterized in that: The calculation of the mean and standard deviation of the measured data is introduced into the iterative algorithm, including the components of each input quantity After collecting the measured data, calculate the mean: For each component x i , calculate the mean x of its measured data i , the formula is as follows: Where N is the number of measurements, x ij is the x obtained by the jth measurement i The value of A. Evaluate the Class A standard uncertainty based on the standard deviation method of the observed value and calculate the standard deviation of the measured data for each component, including: Where N-1 is the degree of freedom, used for unbiased estimation of the standard deviation; Evaluate Class B standard uncertainty based on the method of observed value distribution: If the distribution of the measured data is normal, the standard uncertainty can be directly calculated based on the normal distribution; B combined standard uncertainty: Combine the Type A standard uncertainty and Type B standard uncertainty to obtain the combined standard measurement uncertainty.

Citation Information

Cited By

  • Digital measuring tool library construction method and visual data tracing method and device for cigarette box defect detection equipment

    CN120766063A