Industrial product quality detection system and method based on machine vision
By calculating the amount of light loss and adjusting the illumination intensity in the machine vision quality inspection system, the problem of poor image quality caused by poor light conditions in the inspection area is solved, and the accuracy and reliability of the inspection results are improved.
Patent Information
- Application Number
- CN202410966778.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-10-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When the existing machine vision quality inspection system has poor light conditions in the inspection area, it results in poor image quality, which in turn affects the accuracy of the inspection results.
Obtain environmental and image information through the data acquisition module, calculate the amount of light loss, judge the lighting conditions based on the preset threshold, and adjust the lighting intensity to ensure detection under appropriate lighting conditions.
It improves the accuracy of detection results, avoids recognition errors caused by poor light conditions, and ensures image quality and reliability of detection results.
Smart Images

Figure CN118758945A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of quality inspection, and in particular to a system and method for industrial product quality inspection based on machine vision. Background Art
[0002] The machine vision quality inspection system is an automated inspection system based on machine vision technology. It uses high-resolution industrial cameras, image processing technology and deep learning algorithms to quickly and accurately inspect the quality of industrial products. This system plays an increasingly important role in modern manufacturing, especially in production environments that require high precision, high efficiency and high reliability.
[0003] In our daily lives, the industrial products that are most often inspected by machine vision quality inspection systems are smart devices, such as tablet computers. When performing quality inspections, this system uses industrial cameras to obtain surface image information of tablet computers, and then uses image processing algorithms to perform feature extraction, defect identification, and positioning operations on the collected images. Then, based on the image processing results, the product quality is judged, such as whether there are defects, whether the size is qualified, etc. Finally, the quality judgment results are fed back to the production line, and unqualified products are removed or marked, and emergency measures such as alarms or shutdowns may be triggered, thereby achieving fast and accurate quality inspections of industrial products.
[0004] When the existing machine vision quality inspection system performs quality inspection on tablet computers, if the lighting conditions in the inspection area are poor, then when collecting surface image information of the tablet computer, the image quality will be relatively poor. When the collected images are subsequently subjected to feature extraction and defect identification, the poor image quality will lead to errors in the identification results, resulting in insufficient reliability of the given inspection results, affecting the accuracy of the inspection results. Summary of the invention
[0005] The purpose of the present invention is to provide an industrial product quality inspection system and method based on machine vision to solve the following technical problems:
[0006] How to improve the accuracy of industrial product testing results.
[0007] The purpose of the present invention can be achieved through the following technical solutions:
[0008] A system and method for industrial product quality inspection based on machine vision, the system comprising:
[0009] A data acquisition module, including an environment acquisition unit and an image acquisition unit, wherein the environment acquisition unit is used to acquire environmental information data during the detection operation;
[0010] The image acquisition unit is used to capture image information data of the tablet computer during the inspection operation;
[0011] An identification and recording module, comprising an identification unit and a recording unit, wherein the identification unit is used to extract data according to image information data of the tablet computer;
[0012] The recording unit is used to record the operating status data and historical data of the lighting lamp during the detection operation;
[0013] The data processing module includes a data calculation unit and an analysis and comparison unit, wherein the data calculation unit is used to calculate the light loss amount of the lighting lamp during the detection operation according to the environmental information data, the lighting lamp operation status data and the historical data;
[0014] The analysis and comparison unit is used to determine whether the lighting conditions of the current detection operation are good or not according to the light loss coefficient of the lighting lamp when performing the detection operation and the preset light loss coefficient threshold;
[0015] An adjustment module, used to adjust the light intensity of the lighting lamp when it is determined that the light conditions of the current detection operation are poor;
[0016] A detection and analysis module, comprising a region division unit and a detection unit, wherein the region division unit is used to divide the appearance image of the tablet computer into a plurality of regions;
[0017] The detection unit is used to calculate the appearance damage index of the tablet computer in combination with the image information data of the tablet computer after adjusting the illumination intensity of the illuminating lamp, and to judge the appearance quality of the tablet computer in combination with a preset appearance damage index threshold.
[0018] Furthermore, the calculation process of the data calculation unit includes:
[0019] By formula Calculate the light loss coefficient at the i-th time point ;
[0020] Where i is a data collection at a fixed time interval, is the temperature at the i-th time point, is the preset temperature, for The standard value of is the air humidity at the i-th time point, is the preset air humidity, is the dust content in the air at the i-th time point, For the preset dust content, is the influence coefficient of the external light source intensity at the i-th time point, which is obtained based on the test according to the influence of the external light source intensity at the i-th time point on the light loss coefficient at the i-th time point. and 2 is the weight coefficient, is the error influence coefficient.
[0021] Furthermore, the calculation process of the data calculation unit also includes:
[0022] By formula Calculate and obtain the error influence coefficient;
[0023] Among them, a is any data collection at a fixed time interval in the past period of time, b is the total number of collections in the past period of time, is the voltage of the lighting lamp at any data collection time in the past period of time, For all The average value of is the proportionality coefficient, which is set according to empirical fitting. For all The maximum value in For all The minimum value in .
[0024] Furthermore, the process of analyzing the comparison unit includes:
[0025] By calculating the light loss coefficient at the i-th time point With the preset light loss coefficient threshold Make a comparison;
[0026] like ,The system determines that the light loss at this time point is low, indicating that the lighting conditions for the current inspection operation are good and no adjustment is required, and the inspection operation can be carried out directly;
[0027] like ,The system determines that the light loss at this time point is high, indicating that the lighting conditions of the current inspection operation are poor and the lighting intensity of the lighting needs to be adjusted.
[0028] Furthermore, the process of adjusting the illumination intensity of the lighting lamp includes:
[0029] By formula Calculate the adjusted light intensity at the i-th time point ;
[0030] in, is the preset light intensity, To adjust the coefficient comparison table function, according to The influence of the value range of on the adjusted light intensity at the i-th time point is obtained based on the test. is the aging coefficient of the lighting light source, which is set based on empirical fitting.
[0031] Furthermore, the detection process of the detection unit includes:
[0032] When the light intensity of the lighting lamp is adjusted;
[0033] By formula Calculate the appearance damage index of a tablet ;
[0034] Where t is any area in a tablet computer. is the total number of regions, is the crack area of the tth region in a tablet computer, is the stain area of the tth region in a tablet computer, is the spot area of the tth region in a tablet computer, is the weight coefficient of the tth region, which is set according to empirical fitting. It is the total surface area of a tablet computer.
[0035] Furthermore, the detection process of the detection unit also includes:
[0036] By calculating the appearance damage index of a tablet With preset appearance damage index threshold Make a comparison;
[0037] like ,The system judges that the appearance of the tablet computer is severely damaged and the quality is unqualified, and feeds back the judgment result to the production line to remove or mark the unqualified products;
[0038] Otherwise, it is judged that there is no damage to the appearance of the tablet computer.
[0039] A method for detecting industrial product quality based on machine vision, the method comprising:
[0040] S1: Collect environmental information data and image information data of the tablet computer during the inspection operation through the data acquisition module;
[0041] S2: extracting data based on the image information data of the tablet computer through the recognition and recording module, and recording the operating status data and historical data of the lighting lamp during the detection operation;
[0042] S3: calculating, by a calculation unit, the amount of light loss of the lighting lamp during the detection operation according to the environmental information data, the lighting lamp operation status data and the historical data;
[0043] S4: The analysis and comparison unit is used to determine whether the lighting conditions of the current detection operation are good according to the light loss coefficient of the lighting lamp during the detection operation and the preset light loss coefficient threshold value. If yes, proceed to step S5; otherwise, proceed to step S6;
[0044] S5: When the adjustment module determines that the lighting conditions of the current detection operation are poor, the lighting intensity of the lighting lamp is adjusted;
[0045] S6: calculating the appearance damage index of the tablet computer by combining the image information data of the tablet computer through the detection unit, and judging the appearance quality of the tablet computer by combining a preset appearance damage index threshold.
[0046] Beneficial effects of the present invention:
[0047] (1) The present invention calculates the light loss of the lighting lamp when performing the detection operation according to the collected and recorded information through the data calculation unit, and then judges whether the lighting conditions of the current detection operation are good through the analysis and comparison unit combined with the preset light loss coefficient threshold. When it is judged that the lighting conditions are poor, the lighting intensity of the lighting lamp is adjusted in time through the adjustment module, thereby avoiding the relatively poor quality of collecting the surface image information of the tablet computer due to the poor lighting conditions in the detection area, resulting in errors in the image recognition results, resulting in insufficient reliability of the detection results, thereby improving the accuracy of the detection results.
[0048] (2) The present invention calculates the light loss coefficient at the i-th time point by With the preset light loss coefficient threshold By making a comparison, the amount of light loss at that point in time can be analyzed, and then whether the lighting conditions of the current inspection operation are good can be determined based on the analysis results. Through such a setting, when it is determined that the lighting conditions of the current inspection operation are poor, the light intensity of the lighting lamp can be adjusted in time to avoid the relatively poor quality of the surface image information of the tablet computer due to the poor lighting conditions in the inspection area, which leads to errors in the recognition results due to the poor image quality during the subsequent feature extraction and defect identification of the collected images, resulting in insufficient reliability of the given inspection results.
[0049] (3) The present invention can improve the accuracy of the light intensity after adjustment at the i-th time point by combining the light loss coefficient at the i-th time point with the aging coefficient of the lighting source. This can not only avoid the situation where the surface image information of the tablet computer is collected with poor quality due to low light intensity, but also avoid the situation where the image is overexposed due to excessive light intensity, which affects the image quality. This ensures that the current light intensity is more suitable for the detection operation and the reliability and accuracy of the subsequent detection results.
[0050] (4) The present invention calculates the appearance damage index of a tablet computer by With preset appearance damage index threshold By collecting the image data of the tablet computer under appropriate lighting conditions, the quality of the image information can be guaranteed. The image information is then digitized for calculation and compared with the preset appearance damage index threshold. The appearance of the tablet computer can be accurately judged. When the appearance quality of the tablet computer is judged to be unqualified, the judgment result can be fed back to the production line, and the unqualified products can be removed or marked, thereby improving the reliability and accuracy of the detection results. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] The present invention will be further described below in conjunction with the accompanying drawings.
[0052] Figure 1 It is a schematic block diagram of an industrial product quality inspection system based on machine vision in the present invention;
[0053] Figure 2 It is a flow chart of an industrial product quality detection method based on machine vision in the present invention. DETAILED DESCRIPTION
[0054] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. 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.
[0055] See also Figure 1 As shown, in one embodiment, the present application provides an industrial product quality inspection system and method based on machine vision, the system comprising:
[0056] A data acquisition module, including an environment acquisition unit and an image acquisition unit, wherein the environment acquisition unit is used to acquire environmental information data during the detection operation;
[0057] The image acquisition unit is used to capture image information data of the tablet computer during the inspection operation;
[0058] An identification and recording module, comprising an identification unit and a recording unit, wherein the identification unit is used to extract data according to image information data of the tablet computer;
[0059] The recording unit is used to record the operating status data and historical data of the lighting lamp during the detection operation;
[0060] The data processing module includes a data calculation unit and an analysis and comparison unit, wherein the data calculation unit is used to calculate the light loss amount of the lighting lamp during the detection operation according to the environmental information data, the lighting lamp operation status data and the historical data;
[0061] The analysis and comparison unit is used to determine whether the lighting conditions of the current detection operation are good or not according to the light loss coefficient of the lighting lamp when performing the detection operation and the preset light loss coefficient threshold;
[0062] An adjustment module, used to adjust the light intensity of the lighting lamp when it is determined that the light conditions of the current detection operation are poor;
[0063] A detection and analysis module, comprising a region division unit and a detection unit, wherein the region division unit is used to divide the appearance image of the tablet computer into a plurality of regions;
[0064] The detection unit is used to calculate the appearance damage index of the tablet computer in combination with the image information data of the tablet computer after adjusting the illumination intensity of the lighting lamp, and to judge the appearance quality of the tablet computer in combination with a preset appearance damage index threshold;
[0065] Through the above technical scheme, this embodiment provides a data acquisition module for collecting environmental information data and image information data of the tablet computer during the detection operation, and then extracting data according to the image information data of the tablet computer through the recognition and recording module, and recording the operating status data and historical data of the lighting lamp during the detection operation, and then calculating the light loss amount of the lighting lamp during the detection operation according to the collected and recorded information through the data calculation unit, and judging whether the lighting conditions of the current detection operation are good according to the light loss coefficient of the lighting lamp during the detection operation and the preset light loss coefficient threshold through the analysis and comparison unit, when it is judged that the lighting conditions of the current detection operation are in a good state, the tablet computer quality detection operation can be directly carried out, otherwise, the light intensity of the lighting lamp is adjusted through the adjustment module, and after the light intensity of the lighting lamp is adjusted, the appearance damage index of the tablet computer is calculated by the detection unit in combination with the image information data of the tablet computer, and the appearance quality of the tablet computer is judged in combination with the preset appearance damage index threshold;
[0066] Through such a setting, the system calculates the light loss of the lighting lamp during the detection operation according to the collected and recorded information through the data calculation unit, and then judges whether the lighting conditions of the current detection operation are good through the analysis and comparison unit combined with the preset light loss coefficient threshold, and adjusts the light intensity of the lighting lamp in time through the adjustment module when the lighting conditions are judged to be poor, thereby avoiding the situation that the quality of the surface image information of the tablet computer is relatively poor due to the poor lighting conditions in the detection area, resulting in errors in the image recognition results, resulting in insufficient reliability of the detection results, thereby improving the accuracy of the detection results;
[0067] It should be noted that the recognition unit is a trained neural network model, and the training process of the neural network model is a prior art and will not be described in detail here.
[0068] The calculation process of the data calculation unit includes:
[0069] By formula Calculate the light loss coefficient at the i-th time point ;
[0070] Where i is a data collection at a fixed time interval, is the temperature at the i-th time point, is the preset temperature, for The standard value of can be set according to the allowable error fitting in the empirical data. is the air humidity at the i-th time point, is the preset air humidity, is the dust content in the air at the i-th time point, For the preset dust content, is the influence coefficient of the external light source intensity at the i-th time point, which is obtained based on the test according to the influence of the external light source intensity at the i-th time point on the light loss coefficient at the i-th time point. and 2 is the weight coefficient, which is set based on empirical fitting. is the error influence coefficient;
[0071] This embodiment provides the light loss coefficient at the i-th time point , can be obtained by formula It is calculated that the light intensity of the lighting lamp may cause the luminous efficiency of the light source to decrease at high temperature, and low temperature may affect the startup and luminous stability of the light source, and the humidity and dust in the air may affect the heat dissipation and light transmittance of the light source, thereby affecting the uniformity and stability of the illumination. Therefore, when the air humidity and dust content at the i-th time point are higher, and the difference between the temperature at the i-th time point and the preset temperature is greater, the light loss coefficient at the i-th time point is greater, indicating that the light conditions in the detection area at this time point are poor, and it is necessary to adjust the light intensity of the lighting lamp in time to improve the image quality when collecting the surface image information of the tablet computer. On the contrary, when the air humidity and dust content at the i-th time point are lower, and the difference between the temperature at the i-th time point and the preset temperature is smaller, the light loss coefficient at the i-th time point is smaller, indicating that the light conditions in the detection area at this time point are better, and it is not necessary to adjust the light intensity of the lighting lamp to perform quality inspection operations, thereby avoiding the poor image quality causing errors in the recognition results, resulting in insufficient reliability of the given detection results.
[0072] The calculation process of the data calculation unit also includes:
[0073] By formula Calculate and obtain the error influence coefficient;
[0074] Among them, a is any data collection at a fixed time interval in the past period of time, b is the total number of collections in the past period of time, is the voltage of the lighting lamp at any data collection time in the past period of time, For all The average value of is the proportionality coefficient, which is set according to empirical fitting. For all The maximum value in For all The minimum value in ;
[0075] Through the above technical solution, this embodiment provides an error influence coefficient, which can be expressed by the formula It is obtained by calculation. The voltage dispersion coefficient of the lighting lamp in the past period of time can be calculated through this formula, which can reflect the voltage stability of the lighting lamp in the past period of time. Since the fluctuation and instability of the power supply voltage may cause unstable light emission of the light source, the voltage dispersion coefficient of the lighting lamp in the past period of time can be calculated as the error influence coefficient to improve the accuracy of the light loss coefficient at the ith time point, thereby improving the judgment of whether the lighting conditions of the detection operation are good.
[0076] The process of analyzing the analysis comparison unit includes:
[0077] By calculating the light loss coefficient at the i-th time point With the preset light loss coefficient threshold Make a comparison;
[0078] like ,The system determines that the light loss at this time point is low, indicating that the lighting conditions for the current inspection operation are good and no adjustment is required, and the inspection operation can be carried out directly;
[0079] like ,The system determines that the light loss at this time point is high, indicating that the lighting conditions for the current inspection operation are poor and the lighting intensity of the lighting needs to be adjusted;
[0080] Through the above technical solution, the light loss coefficient at the i-th time point is With the preset light loss coefficient threshold By making a comparison, the amount of light loss at that time point can be analyzed, and then whether the lighting conditions of the current inspection operation are good or not can be determined based on the analysis results. By making such a setting, when it is determined that the lighting conditions of the current inspection operation are poor, the lighting intensity of the lighting lamp can be adjusted in time, thereby avoiding the situation that the surface image information of the tablet computer is of relatively poor quality due to the poor lighting conditions in the inspection area, so that when the collected images are subsequently subjected to feature extraction and defect identification, errors may occur in the identification results due to the poor image quality, resulting in insufficient reliability of the given inspection results;
[0081] It should be noted that the above light loss coefficient threshold The setting can be fitted according to empirical data.
[0082] The process of adjusting the illumination intensity of the lighting lamp comprises:
[0083] By formula Calculate the adjusted light intensity at the i-th time point ;
[0084] in, is the preset light intensity, To adjust the coefficient comparison table function, according to The influence of the value range of on the adjusted light intensity at the i-th time point is obtained based on the test. is the aging coefficient of the lighting source, which is set based on empirical fitting;
[0085] Through the above technical solution, this embodiment provides the light intensity adjusted at the i-th time point , can be obtained by formula It is calculated that as the use time increases, the light source will gradually age, resulting in problems such as decreased luminous efficiency, spectral drift and uneven lighting. Therefore, by combining the light loss coefficient at the i-th time point with the lighting light source aging coefficient, the accuracy of the adjusted light intensity at the i-th time point can be improved. This can not only avoid the poor quality of surface image information of the tablet computer due to low light intensity, but also avoid the situation where the image is overexposed due to excessive light intensity and affects the image quality, thereby ensuring that the current light intensity is more suitable for the detection operation and ensuring the reliability and accuracy of subsequent detection results.
[0086] The detection process of the detection unit includes:
[0087] When the light intensity of the lighting lamp is adjusted;
[0088] By formula Calculate the appearance damage index of a tablet ;
[0089] Where t is any area in a tablet computer. is the total number of regions, is the crack area of the tth region in a tablet computer, is the stain area of the tth region in a tablet computer, is the spot area of the tth region in a tablet computer, is the weight coefficient of the tth region, which is set according to empirical fitting. is the total surface area of a tablet computer;
[0090] Through the above technical solution, this embodiment provides an appearance damage index of a tablet computer. , can be obtained by formula It is calculated that since cracks, stains and spots are the main parameters affecting the appearance quality of tablet computers, the larger the crack area, stain area and spot area in the t-th region of a tablet computer, the larger the appearance damage index of the tablet computer, indicating that the quality is unqualified. Conversely, the smaller the crack area, stain area and spot area in the t-th region of a tablet computer, the smaller the appearance damage index of the tablet computer, indicating that the appearance quality of the tablet computer is good. By collecting image data of the tablet computer under appropriate lighting conditions, the quality of the image information can be guaranteed. After that, the image information is digitized, and an accurate judgment can be made on the appearance quality of the tablet computer, thereby improving the accuracy of the detection results.
[0091] The detection process of the detection unit also includes:
[0092] By calculating the appearance damage index of a tablet With preset appearance damage index threshold Make a comparison;
[0093] like ,The system judges that the appearance of the tablet computer is severely damaged and the quality is unqualified, and feeds back the judgment result to the production line to remove or mark the unqualified products;
[0094] Otherwise, it is judged that there is no damage to the appearance of the tablet computer;
[0095] Through the above technical solution, this embodiment calculates the appearance damage index of a tablet computer by With preset appearance damage index threshold By collecting the image data of the tablet computer under appropriate lighting conditions, the quality of the image information can be guaranteed. After that, the image information is digitized for calculation and compared with the preset appearance damage index threshold, an accurate judgment can be made on the appearance of the tablet computer. When the appearance quality of the tablet computer is judged to be unqualified, the judgment result is fed back to the production line, and the unqualified products are removed or marked, thereby improving the reliability and accuracy of the detection results;
[0096] It should be noted that the above preset appearance damage index threshold It can be set based on experience fitting.
[0097] See also Figure 2 As shown, a method for industrial product quality inspection based on machine vision, the method comprising:
[0098] S1: Collect environmental information data and image information data of the tablet computer during the inspection operation through the data acquisition module;
[0099] S2: extracting data based on the image information data of the tablet computer through the recognition and recording module, and recording the operating status data and historical data of the lighting lamp during the detection operation;
[0100] S3: calculating, by a calculation unit, the amount of light loss of the lighting lamp during the detection operation according to the environmental information data, the lighting lamp operation status data and the historical data;
[0101] S4: The analysis and comparison unit is used to determine whether the lighting conditions of the current detection operation are good according to the light loss coefficient of the lighting lamp during the detection operation and the preset light loss coefficient threshold value. If yes, proceed to step S5; otherwise, proceed to step S6;
[0102] S5: When the adjustment module determines that the lighting conditions of the current detection operation are poor, the lighting intensity of the lighting lamp is adjusted;
[0103] S6: calculating the appearance damage index of the tablet computer by combining the image information data of the tablet computer through the detection unit, and judging the appearance quality of the tablet computer by combining a preset appearance damage index threshold;
[0104] Through the above technical solution, when the method of this embodiment is used, the environmental information data and the image information data of the tablet computer during the detection operation are first collected by the data acquisition module, and then the identification and recording module is used to extract data according to the image information data of the tablet computer, and the operating status data and historical data of the lighting lamp during the detection operation are recorded. Then, the calculation unit is used to calculate the light loss amount of the lighting lamp during the detection operation according to the environmental information data, the operating status data of the lighting lamp and the historical data, and the analysis and comparison unit is used to judge whether the lighting conditions of the current detection operation are good according to the light loss coefficient of the lighting lamp during the detection operation, combined with the preset light loss coefficient threshold. When it is judged that the lighting conditions of the current detection operation are good, the appearance damage index of the tablet computer is calculated by the detection unit in combination with the image information data of the tablet computer, and the appearance quality of the tablet computer is judged in combination with the preset appearance damage index threshold. When it is judged that the lighting conditions of the current detection operation are good, it is necessary to timely adjust the light intensity of the lighting lamp through the adjustment module, and then the appearance damage index of the tablet computer is calculated and analyzed by the detection unit in combination with the image information data of the tablet computer;
[0105] Through such a setting, the data calculation unit calculates the amount of light loss of the lighting lamp when performing the detection operation, and the analysis and comparison unit combines the preset light loss coefficient threshold for analysis, so as to accurately judge whether the lighting conditions of the current detection operation are good, and when it is judged that the lighting conditions are poor, the light intensity of the lighting lamp is adjusted in time through the adjustment module, thereby avoiding the relatively poor quality of collecting the surface image information of the tablet computer due to the poor lighting conditions in the detection area, resulting in errors in the image recognition results, and the lack of reliability of the detection results, thereby improving the accuracy of the detection results.
[0106] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.
Claims
1. An industrial product quality inspection system based on machine vision, It is characterized in that The system comprises: A data acquisition module, including an environment acquisition unit and an image acquisition unit, wherein the environment acquisition unit is used to acquire environmental information data during the detection operation; The image acquisition unit is used to capture image information data of the tablet computer during the inspection operation; An identification and recording module, comprising an identification unit and a recording unit, wherein the identification unit is used to extract data according to image information data of the tablet computer; The recording unit is used to record the operating status data and historical data of the lighting lamp during the detection operation; The data processing module includes a data calculation unit and an analysis and comparison unit, wherein the data calculation unit is used to calculate the light loss amount of the lighting lamp during the detection operation according to the environmental information data, the lighting lamp operation status data and the historical data; The analysis and comparison unit is used to determine whether the lighting conditions of the current detection operation are good or not according to the light loss coefficient of the lighting lamp when performing the detection operation and the preset light loss coefficient threshold; An adjustment module, used to adjust the light intensity of the lighting lamp when it is determined that the light conditions of the current detection operation are poor; A detection and analysis module, comprising a region division unit and a detection unit, wherein the region division unit is used to divide the appearance image of the tablet computer into a plurality of regions; The detection unit is used to calculate the appearance damage index of the tablet computer in combination with the image information data of the tablet computer after adjusting the illumination intensity of the illuminating lamp, and to judge the appearance quality of the tablet computer in combination with a preset appearance damage index threshold.
2. According to claim 1, an industrial product quality inspection system based on machine vision, It is characterized in that The calculation process of the data calculation unit includes: By formula Calculate the light loss coefficient at the i-th time point ; Where i is a data collection at a fixed time interval, is the temperature at the i-th time point, is the preset temperature, for The standard value of is the air humidity at the i-th time point, is the preset air humidity, is the dust content in the air at the i-th time point, For the preset dust content, is the influence coefficient of the external light source intensity at the i-th time point, which is obtained based on the test according to the influence of the external light source intensity at the i-th time point on the light loss coefficient at the i-th time point. and 2 is the weight coefficient, is the error influence coefficient.
3. The industrial product quality inspection system based on machine vision according to claim 2, It is characterized in that The calculation process of the data calculation unit also includes: By formula Calculate and obtain the error influence coefficient; Among them, a is any data collection at a fixed time interval in the past period of time, b is the total number of collections in the past period of time, is the voltage of the lighting lamp at any data collection time in the past period of time, For all The average value of is the proportionality coefficient, which is set according to empirical fitting. For all The maximum value in For all The minimum value in .
4. The industrial product quality inspection system based on machine vision according to claim 3, It is characterized in that The process of analyzing the analysis comparison unit includes: By calculating the light loss coefficient at the i-th time point With the preset light loss coefficient threshold Make a comparison; like ,The system determines that the light loss at this time point is low, indicating that the lighting conditions for the current inspection operation are good and no adjustment is required, and the inspection operation can be carried out directly; like ,The system determines that the light loss at this time point is high, indicating that the lighting conditions of the current inspection operation are poor and the lighting intensity of the lighting needs to be adjusted.
5. The industrial product quality inspection system based on machine vision according to claim 4, It is characterized in that The process of adjusting the illumination intensity of the lighting lamp comprises: By formula Calculate the adjusted light intensity at the i-th time point ; in, is the preset light intensity, To adjust the coefficient comparison table function, according to The influence of the value range of on the adjusted light intensity at the i-th time point is obtained based on the test. is the aging coefficient of the lighting light source, which is set based on empirical fitting.
6. The industrial product quality inspection system based on machine vision according to claim 5, It is characterized in that The detection process of the detection unit includes: When the light intensity of the lighting lamp is adjusted; By formula Calculate the appearance damage index of a tablet ; Where t is any area in a tablet computer. is the total number of regions, is the crack area of the tth region in a tablet computer, is the stain area of the tth region in a tablet computer, is the spot area of the tth region in a tablet computer, is the weight coefficient of the tth region, which is set according to empirical fitting. It is the total surface area of a tablet computer.
7. The industrial product quality inspection system based on machine vision according to claim 6, It is characterized in that The detection process of the detection unit also includes: By calculating the appearance damage index of a tablet With preset appearance damage index threshold Make a comparison; like ,The system judges that the appearance of the tablet computer is severely damaged and the quality is unqualified, and feeds back the judgment result to the production line to remove or mark the unqualified products; Otherwise, it is judged that there is no damage to the appearance of the tablet computer.
8. A method for industrial product quality inspection based on machine vision, It is characterized in that The method adopts an industrial product quality inspection system based on machine vision as described in claims 1-7, and the method comprises: S1: Collect environmental information data and image information data of the tablet computer during the inspection operation through the data acquisition module; S2: extracting data based on the image information data of the tablet computer through the recognition and recording module, and recording the operating status data and historical data of the lighting lamp during the detection operation; S3: calculating, by a calculation unit, the amount of light loss of the lighting lamp during the detection operation according to the environmental information data, the lighting lamp operation status data and the historical data; S4: The analysis and comparison unit is used to determine whether the lighting conditions of the current detection operation are good according to the light loss coefficient of the lighting lamp during the detection operation and the preset light loss coefficient threshold value. If yes, proceed to step S5; otherwise, proceed to step S6; S5: When the adjustment module determines that the lighting conditions of the current detection operation are poor, the lighting intensity of the lighting lamp is adjusted; S6: calculating the appearance damage index of the tablet computer by combining the image information data of the tablet computer through the detection unit, and judging the appearance quality of the tablet computer by combining a preset appearance damage index threshold.
Citation Information
Cited By
Chip appearance inspection system based on photometric stereo vision
CN119738411A
Relay surface detection system based on machine vision technology
CN119827508A
MES-based production process visual monitoring management system and method
CN119942454A
A production process visual monitoring management system and method based on MES
CN119942454B
Intelligent quality detection system based on machine vision
CN120369618A
