Mobile phone mainboard visual detection method and system based on artificial intelligence

Through the visual inspection method of mobile phone motherboards based on artificial intelligence, using image acquisition, processing and convolutional neural network models, automatic detection and intelligent management and control of mobile phone motherboards are realized, solving the problem of low detection efficiency in the existing technology, and realizing Accurate and rapid identification of defective products and timely repair.

CN118864441AInactive Publication Date: 2024-10-29SHENZHEN HUADAFENG ELECTRONICS CO LTD

Patent Information

Application Number
CN202411135561.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-10-29
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing mobile phone motherboard testing equipment cannot realize automated visual inspection, cannot accurately and quickly identify unqualified mobile phone motherboards, and cannot conduct repair and control in a timely manner, resulting in low detection efficiency.

Method used

Using methods based on artificial intelligence, through image acquisition, processing, convolutional neural network model construction and optimization, detection and identification, and intelligent control modules, automatic visual inspection and intelligent control of mobile phone motherboards are realized, and defective products can be accurately and quickly identified and processed Return for repair promptly.

Benefits of technology

It improves the efficiency of visual inspection of mobile phone motherboards, enables accurate and rapid identification of defective products and timely repair processing, and improves inspection efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118864441A_ABST
    Figure CN118864441A_ABST
Patent Text Reader

Abstract

The invention discloses a mobile phone mainboard visual detection method and system based on artificial intelligence, and belongs to the technical field of mobile phone mainboard detection, and the method comprises the following steps: S1, collecting a real-time image of a mobile phone mainboard, processing the real-time image of the mobile phone mainboard, and determining a feature image of the mobile phone mainboard; s2, constructing a convolutional neural network model, optimizing the convolutional neural network model, and determining an optimal mobile phone mainboard visual detection model; and S3, detecting and identifying the mobile phone mainboard feature image. The mobile phone mainboard visual inspection device solves the problems that the existing mobile phone mainboard cannot be subjected to automatic visual inspection, the unqualified mobile phone mainboard cannot be accurately and quickly identified, and the visual inspection efficiency of the mobile phone mainboard is reduced, and can be used for carrying out automatic visual inspection on the mobile phone mainboard, accurately and quickly identifying the unqualified mobile phone mainboard, and improving the visual inspection efficiency of the mobile phone mainboard. And the identified unqualified mobile phone mainboard can be repaired and controlled in time, so that the visual inspection efficiency of the mobile phone mainboard can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of mobile phone motherboard detection, and in particular to a mobile phone motherboard visual detection method and system based on artificial intelligence. Background Art

[0002] With the continuous development of science and technology, mobile phones have become an indispensable part of people's daily life. Among them, the mobile phone motherboard is an indispensable component in the mobile phone. When the mobile phone motherboard is produced, visual inspection equipment is needed to inspect the mobile phone motherboard in order to detect defective products in time.

[0003] The Chinese patent with publication number CN220626236U discloses a mobile phone motherboard defect detection device, including a device body and a conveying module and a detection module arranged inside the device body; the conveying module is used to convey and move the mobile phone motherboard to a predetermined position and fix it; the detection module includes a detection light source and multiple detection cameras evenly distributed outside the detection light source; the detection module performs multi-angle photo detection on the mobile phone motherboard on the conveying module; the mobile phone motherboard is automatically transported by the conveying module, the mobile phone motherboard is separated from the conveying chain by a lifting mechanism, and fixed by side pushing to ensure the stability of the mobile phone motherboard, so as to better take pictures of the mobile phone motherboard without causing distortion of the picture, and the position of the detection module is flexibly adjusted by the first guide rail and the second guide rail to take multi-angle and all-round photos of the mobile phone motherboard, so as to achieve a one-time photo detection success and improve the detection efficiency. However, the patent has the following defects:

[0004] The existing mobile phone motherboard cannot be automatically visually inspected, cannot accurately and quickly identify unqualified mobile phone motherboards, and cannot promptly repair and control the identified unqualified mobile phone motherboards, which reduces the efficiency of visual inspection of mobile phone motherboards. Summary of the invention

[0005] The purpose of the present invention is to provide an artificial intelligence-based visual inspection method and system for mobile phone motherboards, which can perform automated visual inspection of mobile phone motherboards, can accurately and quickly identify unqualified mobile phone motherboards, and can promptly carry out repair and control of the identified unqualified mobile phone motherboards, which can improve the visual inspection efficiency of mobile phone motherboards and solve the problems raised in the above-mentioned background technology.

[0006] To achieve the above object, the present invention provides the following technical solutions:

[0007] The mobile phone motherboard visual inspection method based on artificial intelligence includes the following steps:

[0008] S1: collecting real-time images of mobile phone motherboards based on artificial intelligence, processing the real-time images of mobile phone motherboards, and determining characteristic images of mobile phone motherboards based on artificial intelligence;

[0009] S2: According to the requirements of mobile phone motherboard visual inspection, a convolutional neural network model is constructed, and the convolutional neural network model is optimized to determine the optimal mobile phone motherboard visual inspection model;

[0010] S3: Detect and identify the mobile phone motherboard feature image based on the optimal mobile phone motherboard visual detection model, and determine the mobile phone motherboard visual detection and recognition result based on artificial intelligence;

[0011] S4: Based on the visual inspection and recognition results of mobile phone motherboards, formulate an intelligent management and control plan for mobile phone motherboard visual inspection to perform intelligent management and control of mobile phone motherboards.

[0012] According to another aspect of the present invention, a mobile phone motherboard visual inspection system based on artificial intelligence is provided, which is used to implement the mobile phone motherboard visual inspection method based on artificial intelligence as described above, including:

[0013] Image acquisition module, used to collect real-time images of mobile phone motherboard based on artificial intelligence;

[0014] Image processing module, used to process the real-time image of the mobile phone motherboard based on artificial intelligence;

[0015] Model building module, used to build artificial intelligence-based convolutional neural network models;

[0016] Model optimization module, used to optimize the convolutional neural network model based on artificial intelligence;

[0017] Detection and identification module, used to perform artificial intelligence-based detection and identification of mobile phone motherboards;

[0018] The intelligent management and control module is used to perform intelligent management and control of the mobile phone motherboard based on artificial intelligence.

[0019] Preferably, the image acquisition module includes:

[0020] The motherboard placement platform is used to place the mobile phone motherboard to be tested;

[0021] Place the mobile phone motherboard to be tested on the motherboard placement platform;

[0022] According to the visual inspection requirements of the mobile phone motherboard, the position of the mobile phone motherboard placed on the motherboard placement platform is adjusted so that the mobile phone motherboard is located at a suitable image acquisition position;

[0023] An image acquisition unit, used for acquiring images of a mobile phone mainboard;

[0024] Based on machine vision technology, a camera is used to collect visual images of the mobile phone motherboard;

[0025] Determine the real-time image of the mobile phone motherboard based on artificial intelligence.

[0026] Preferably, the image processing module includes:

[0027] Image noise reduction unit, used to perform noise reduction on real-time images of mobile phone motherboards based on artificial intelligence;

[0028] Get real-time images of mobile phone motherboards based on artificial intelligence;

[0029] Based on the median filter, the real-time image of the mobile phone motherboard based on artificial intelligence is subjected to noise reduction processing;

[0030] Remove noise from real-time images of mobile phone motherboards based on artificial intelligence;

[0031] Image enhancement unit, used to enhance the real-time image of the mobile phone motherboard based on artificial intelligence;

[0032] Get the real-time image of the mobile phone motherboard based on artificial intelligence after noise reduction;

[0033] Enhance the real-time image of the mobile phone motherboard based on artificial intelligence after noise reduction;

[0034] Purposefully emphasize the overall or local characteristics of the mobile phone motherboard real-time image, make the original unclear mobile phone motherboard real-time image clear, expand the difference between the characteristics of different objects in the mobile phone motherboard real-time image, suppress the uninteresting features, improve the quality of the mobile phone motherboard real-time image, and enhance the interpretation and recognition effect of the mobile phone motherboard real-time image;

[0035] A feature extraction unit, used to extract features from a real-time image of a mobile phone motherboard based on artificial intelligence;

[0036] Get enhanced AI-based real-time images of mobile phone motherboards;

[0037] Perform feature extraction on the enhanced AI-based real-time image of the mobile phone motherboard;

[0038] Determine the characteristic image of the mobile phone motherboard based on artificial intelligence.

[0039] Preferably, the image enhancement unit further includes:

[0040] Grayscale processing module, used for grayscale processing of real-time images of mobile phone motherboard;

[0041] A region division module is used to extract the mainboard image region of the mobile phone mainboard in the real-time image of the mobile phone mainboard, and obtain the mainboard image region and the background region corresponding to the real-time image of the mobile phone mainboard;

[0042] A first grayscale value extraction module, used to extract the grayscale values ​​of all pixels in the mainboard image area;

[0043] The mainboard gray value coefficient acquisition module is used to obtain the mainboard gray value coefficient according to the gray values ​​of all pixels in the mainboard image area; wherein the mainboard gray value coefficient is obtained by the following formula:

[0044]

[0045] Among them, Z represents the gray value coefficient of the motherboard; n represents the number of all pixels in the motherboard image area; H i Represents the gray value of the i-th pixel in the motherboard image area; H zp Represents the grayscale average of all pixels in the motherboard image area; H zmax and H zmin Respectively represent the maximum and minimum grayscale values ​​of all pixels in the motherboard image area; H zj They represent the median value of the grayscale values ​​of all pixels in the mainboard image area;

[0046] A second grayscale value extraction module is used to extract the grayscale values ​​of all pixels in the background area;

[0047] The background gray value coefficient acquisition module is used to obtain the background gray value coefficient according to the gray values ​​of all pixels in the background area; wherein the background gray value coefficient is obtained by the following formula:

[0048]

[0049] Where B represents the background gray value coefficient; m represents the number of all pixels in the background area; H bi Represents the gray value of the i-th pixel in the background area; H bp Represents the grayscale average of all pixels in the background area; H bmax and H bmin Respectively represent the maximum and minimum grayscale values ​​of all pixels in the background area; H bj Respectively represent the median value of the grayscale values ​​of all pixels in the background area;

[0050] The grayscale adjustment module is used to compare the grayscale value coefficient of the mainboard with the grayscale value coefficient of the background, and adjust the grayscale value of the mainboard image area according to the comparison result.

[0051] Preferably, the grayscale adjustment module includes:

[0052] A coefficient comparison module, used for comparing the gray value coefficient of the mainboard with the gray value coefficient of the background;

[0053] A first adjustment determination module, configured to determine that when the difference between the gray value coefficient of the mainboard and the gray value coefficient of the background exceeds a preset gray value coefficient difference threshold, there is no need to adjust the gray value of the mainboard image area;

[0054] The second adjustment determination module is used to obtain the target grayscale value of the pixel points contained in each mainboard image area by using the difference between the mainboard grayscale value coefficient and the background grayscale value coefficient when the difference between the mainboard grayscale value coefficient and the background grayscale value coefficient does not exceed the preset grayscale coefficient difference threshold; wherein the target grayscale value is obtained by the following formula:

[0055]

[0056] Among them, H m represents the target grayscale value corresponding to the pixels contained in the mainboard image area; k represents the number of pixels connected to each pixel; H j represents the gray value of the jth adjacent pixel of each pixel; H0 represents the gray value corresponding to each pixel; B represents the background gray value coefficient; Z represents the mainboard gray value coefficient; C represents the preset gray coefficient difference threshold; H bj Respectively represent the median grayscale value of all pixels in the background area; H zj They represent the median value of the grayscale values ​​of all pixels in the mainboard image area;

[0057] The grayscale adjustment execution module is used to traverse all the pixel points contained in the mainboard image area and adjust the grayscale value of the pixel points according to the target grayscale value corresponding to each pixel point.

[0058] Preferably, the model building module includes:

[0059] A data collection unit, used to collect historical images of the mobile phone motherboard;

[0060] According to the visual inspection requirements of mobile phone motherboards, a large number of historical images of mobile phone motherboards that can reflect the visual inspection characteristics of mobile phone motherboards are collected;

[0061] A data partitioning unit, used for partitioning the historical image of the mobile phone mainboard;

[0062] Acquire historical images of mobile phone motherboards that can reflect visual inspection characteristics of mobile phone motherboards;

[0063] Dividing the historical images of mobile phone motherboards that can reflect the visual inspection characteristics of mobile phone motherboards;

[0064] Determine the training and test sets for building and optimizing convolutional neural network models;

[0065] Model training unit, used to build convolutional neural network model;

[0066] According to the requirements of mobile phone motherboard visual inspection, select a deep learning framework suitable for mobile phone motherboard visual inspection;

[0067] Based on the training set, train the selected deep learning framework suitable for mobile phone motherboard visual inspection;

[0068] Determine the convolutional neural network model based on artificial intelligence.

[0069] Preferably, the model optimization module includes:

[0070] Performance testing unit, used to perform performance testing on artificial intelligence-based convolutional neural network models;

[0071] Get artificial intelligence-based convolutional neural network models;

[0072] Based on the test set, the performance of the artificial intelligence-based convolutional neural network model is tested;

[0073] Determine the performance test results based on the convolutional neural network model;

[0074] An optimization and adjustment unit, used to optimize and adjust the convolutional neural network model based on artificial intelligence;

[0075] Obtain performance test results based on convolutional neural network models;

[0076] Mining and analyzing the performance test results based on the convolutional neural network model;

[0077] Determine the optimization adjustment plan based on the convolutional neural network model;

[0078] Optimize and adjust the convolutional neural network model based on the optimization adjustment scheme;

[0079] Determine the optimal visual inspection model for mobile phone motherboards.

[0080] Preferably, the detection and identification module includes:

[0081] A data extraction unit, used to extract the characteristic image of the mobile phone motherboard based on artificial intelligence;

[0082] According to the visual inspection requirements of mobile phone motherboards, extract the feature images of mobile phone motherboards based on artificial intelligence;

[0083] A detection and identification unit, used to detect and identify the mobile phone motherboard;

[0084] Obtain the optimal visual inspection model for mobile phone motherboards;

[0085] Input the extracted AI-based mobile phone motherboard feature image into the optimal mobile phone motherboard visual inspection model;

[0086] Detect and identify the mobile phone motherboard feature images based on the optimal mobile phone motherboard visual inspection model;

[0087] Determine the AI-based visual inspection and recognition results of mobile phone motherboards.

[0088] Preferably, the intelligent management and control module includes:

[0089] Solution formulation unit, used to formulate intelligent control solutions for visual inspection of mobile phone motherboards;

[0090] Obtain the visual inspection and recognition results of mobile phone motherboards based on artificial intelligence;

[0091] Mining and analyzing the results of visual inspection and recognition of mobile phone motherboards based on artificial intelligence;

[0092] Determine the intelligent control solution for visual inspection of mobile phone motherboards based on artificial intelligence;

[0093] Intelligent control unit, used for intelligent control of mobile phone motherboard;

[0094] Obtain an AI-based intelligent control solution for visual inspection of mobile phone motherboards;

[0095] Intelligent control of mobile phone motherboards based on the intelligent control solution of mobile phone motherboard visual detection;

[0096] Among them, mobile phone motherboards that pass the visual inspection are automatically transported to the qualified area;

[0097] The mobile phone motherboards that fail the visual inspection are automatically transported to the unqualified area, and the mobile phone motherboards that fail the visual inspection are classified and marked as unqualified, and the repair personnel are intelligently guided to repair the unqualified mobile phone motherboards in a timely manner.

[0098] Compared with the prior art, the present invention has the following beneficial effects:

[0099] The present invention collects real-time images of mobile phone mainboards based on artificial intelligence, processes the real-time images of mobile phone mainboards, determines characteristic images of mobile phone mainboards based on artificial intelligence, constructs a convolutional neural network model according to visual detection requirements of mobile phone mainboards, optimizes the convolutional neural network model, determines an optimal visual detection model for mobile phone mainboards, detects and identifies characteristic images of mobile phone mainboards based on the optimal visual detection model for mobile phone mainboards, determines visual detection and identification results of mobile phone mainboards based on artificial intelligence, formulates an intelligent management and control scheme for visual detection of mobile phone mainboards based on the visual detection and identification results of mobile phone mainboards, performs intelligent management and control on mobile phone mainboards, can perform automated visual detection on mobile phone mainboards, can accurately and quickly identify unqualified mobile phone mainboards, can promptly perform repair management and control on identified unqualified mobile phone mainboards, and can improve the visual detection efficiency of mobile phone mainboards. BRIEF DESCRIPTION OF THE DRAWINGS

[0100] Figure 1 It is a flow chart of the mobile phone motherboard visual inspection method based on artificial intelligence of the present invention;

[0101] Figure 2 It is a framework diagram of the mobile phone motherboard visual inspection system based on artificial intelligence of the present invention. DETAILED DESCRIPTION

[0102] 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.

[0103] In order to solve the existing problem that the mobile phone motherboard cannot be automatically inspected visually, the unqualified mobile phone motherboard cannot be accurately and quickly identified, and the unqualified mobile phone motherboard cannot be repaired and controlled in time, which reduces the efficiency of visual inspection of mobile phone motherboards, please refer to Figure 1-Figure 2 , this embodiment provides the following technical solutions:

[0104] The mobile phone motherboard visual inspection system based on artificial intelligence includes: image acquisition module, image processing module, model building module, model optimization module, detection and recognition module and intelligent management and control module.

[0105] It should be noted that through the interactive communication between the image acquisition module, the image processing module, the model building module, the model optimization module, the detection and identification module and the intelligent management and control module, the mobile phone motherboard can be automatically visually inspected, unqualified mobile phone motherboards can be accurately and quickly identified, and the identified unqualified mobile phone motherboards can be promptly repaired and controlled, which can improve the visual inspection efficiency of mobile phone motherboards.

[0106] Among them, the image acquisition module is used to collect real-time images of the mobile phone motherboard based on artificial intelligence;

[0107] In this embodiment, as a preferred technical solution of the present invention, the image acquisition module includes:

[0108] The motherboard placement platform is used to place the mobile phone motherboard to be tested;

[0109] Place the mobile phone motherboard to be tested on the motherboard placement platform;

[0110] According to the visual inspection requirements of the mobile phone motherboard, the position of the mobile phone motherboard placed on the motherboard placement platform is adjusted so that the mobile phone motherboard is located at a suitable image acquisition position;

[0111] An image acquisition unit, used for acquiring images of a mobile phone mainboard;

[0112] Based on machine vision technology, a camera is used to collect visual images of the mobile phone motherboard;

[0113] Determine the real-time image of the mobile phone motherboard based on artificial intelligence.

[0114] Among them, the image processing module is used to process the real-time image of the mobile phone motherboard based on artificial intelligence;

[0115] In this embodiment, as a preferred technical solution of the present invention, the image processing module includes:

[0116] Image noise reduction unit, used to perform noise reduction on real-time images of mobile phone motherboards based on artificial intelligence;

[0117] Get real-time images of mobile phone motherboards based on artificial intelligence;

[0118] Based on the median filter, the real-time image of the mobile phone motherboard based on artificial intelligence is subjected to noise reduction processing;

[0119] Remove noise from real-time images of mobile phone motherboards based on artificial intelligence;

[0120] Image enhancement unit, used to enhance the real-time image of the mobile phone motherboard based on artificial intelligence;

[0121] Get the real-time image of the mobile phone motherboard based on artificial intelligence after noise reduction;

[0122] Enhance the real-time image of the mobile phone motherboard based on artificial intelligence after noise reduction;

[0123] Purposefully emphasize the overall or local characteristics of the mobile phone motherboard real-time image, make the original unclear mobile phone motherboard real-time image clear, expand the difference between the characteristics of different objects in the mobile phone motherboard real-time image, suppress the uninteresting features, improve the quality of the mobile phone motherboard real-time image, and enhance the interpretation and recognition effect of the mobile phone motherboard real-time image;

[0124] A feature extraction unit, used to extract features from a real-time image of a mobile phone motherboard based on artificial intelligence;

[0125] Get enhanced AI-based real-time images of mobile phone motherboards;

[0126] Perform feature extraction on the enhanced AI-based real-time image of the mobile phone motherboard;

[0127] Determine the characteristic image of the mobile phone motherboard based on artificial intelligence.

[0128] Specifically, the image enhancement unit further includes:

[0129] Grayscale processing module, used for grayscale processing of real-time images of mobile phone motherboard;

[0130] A region division module is used to extract the mainboard image region of the mobile phone mainboard in the real-time image of the mobile phone mainboard, and obtain the mainboard image region and the background region corresponding to the real-time image of the mobile phone mainboard;

[0131] A first grayscale value extraction module, used to extract the grayscale values ​​of all pixels in the mainboard image area;

[0132] The mainboard gray value coefficient acquisition module is used to obtain the mainboard gray value coefficient according to the gray values ​​of all pixels in the mainboard image area; wherein the mainboard gray value coefficient is obtained by the following formula:

[0133]

[0134] Among them, Z represents the gray value coefficient of the motherboard; n represents the number of all pixels in the motherboard image area; H i Represents the gray value of the i-th pixel in the motherboard image area; H zp Represents the grayscale average of all pixels in the motherboard image area; H zmax and H zmin Respectively represent the maximum and minimum grayscale values ​​of all pixels in the motherboard image area; H zj They represent the median value of the grayscale values ​​of all pixels in the mainboard image area;

[0135] A second grayscale value extraction module is used to extract the grayscale values ​​of all pixels in the background area;

[0136] The background gray value coefficient acquisition module is used to obtain the background gray value coefficient according to the gray values ​​of all pixels in the background area; wherein the background gray value coefficient is obtained by the following formula:

[0137]

[0138] Where B represents the background gray value coefficient; m represents the number of all pixels in the background area; H bi Represents the gray value of the i-th pixel in the background area; H bp Represents the grayscale average of all pixels in the background area; H bmax and H bmin Respectively represent the maximum and minimum grayscale values ​​of all pixels in the background area; H bj Respectively represent the median value of the grayscale values ​​of all pixels in the background area;

[0139] The grayscale adjustment module is used to compare the grayscale value coefficient of the mainboard with the grayscale value coefficient of the background, and adjust the grayscale value of the mainboard image area according to the comparison result.

[0140] The technical effect of the above technical solution is: by calculating the gray value coefficients (including gray value average, maximum value, minimum value and intermediate value) of the mainboard image area and the background area respectively, the solution can more finely control the brightness distribution of different areas in the image. By comparing the gray value coefficient of the mainboard with the gray value coefficient of the background, the gray adjustment module can dynamically adjust the gray value of the mainboard image area, thereby enhancing the contrast between the mainboard and the background, making the details of the mainboard clearer, and facilitating subsequent image analysis and recognition work.

[0141] The grayscale processing module converts the color image into a grayscale image, reducing the complexity and amount of calculation of data processing while retaining the main features of the image. The region division module accurately extracts the motherboard image area, avoiding the interference of background information, and further improving the efficiency and accuracy of image processing.

[0142] This technical solution achieves adaptive adjustment of grayscale value by calculating grayscale value coefficient and comparing the difference between the mainboard and the background. This adaptive adjustment method can be flexibly processed according to the actual situation of different images, making the image enhancement effect more stable and reliable.

[0143] In the process of mobile phone motherboard detection and analysis, clear images are the key to ensuring the accuracy of the detection results. Through the above image enhancement processing, the clarity and contrast of the motherboard image can be significantly improved, thereby improving the accuracy and efficiency of detection.

[0144] For users who need to use image processing technology to assist in mobile phone motherboard detection or analysis, the implementation of this technical solution can reduce the possibility of misjudgment and missed detection, and improve the smoothness and satisfaction of work. At the same time, the automated and intelligent image processing process also reduces the burden of manual operation and improves overall work efficiency.

[0145] In summary, this technical solution achieves effective enhancement of the real-time image of the mobile phone motherboard through fine grayscale processing and grayscale value coefficient calculation, thereby improving image quality, detection accuracy and user experience.

[0146] Specifically, the grayscale adjustment module includes:

[0147] A coefficient comparison module, used for comparing the gray value coefficient of the mainboard with the gray value coefficient of the background;

[0148] A first adjustment determination module, configured to determine that when the difference between the gray value coefficient of the mainboard and the gray value coefficient of the background exceeds a preset gray value coefficient difference threshold, there is no need to adjust the gray value of the mainboard image area;

[0149] The second adjustment determination module is used to obtain the target grayscale value of the pixel points contained in each mainboard image area by using the difference between the mainboard grayscale value coefficient and the background grayscale value coefficient when the difference between the mainboard grayscale value coefficient and the background grayscale value coefficient does not exceed the preset grayscale coefficient difference threshold; wherein the target grayscale value is obtained by the following formula:

[0150]

[0151] Among them, H m represents the target grayscale value corresponding to the pixels contained in the mainboard image area; k represents the number of pixels connected to each pixel; H j represents the gray value of the jth adjacent pixel of each pixel; H0 represents the gray value corresponding to each pixel; B represents the background gray value coefficient; Z represents the mainboard gray value coefficient; C represents the preset gray coefficient difference threshold; H bj Respectively represent the median grayscale value of all pixels in the background area; H zj They represent the median value of the grayscale values ​​of all pixels in the mainboard image area;

[0152] The grayscale adjustment execution module is used to traverse all the pixel points contained in the mainboard image area and adjust the grayscale value of the pixel points according to the target grayscale value corresponding to each pixel point.

[0153] The technical effect of the above technical solution is that the grayscale adjustment module can accurately determine the difference between the grayscale value coefficient of the mainboard and the grayscale value coefficient of the background through the coefficient comparison module. This difference directly reflects the grayscale contrast between the mainboard image area and the background area. Based on this difference, the grayscale adjustment module can adopt different strategies to adjust the grayscale.

[0154] The first adjustment determination module and the second adjustment determination module jointly implement an adaptive grayscale adjustment strategy. When the difference between the grayscale value coefficient of the mainboard and the grayscale value coefficient of the background exceeds the preset grayscale coefficient difference threshold, it is considered that the contrast between the mainboard and the background is sufficient and no further adjustment is required. When the difference does not exceed the threshold, the target grayscale value of each pixel point in the mainboard image area is calculated based on the difference to achieve a more refined grayscale adjustment.

[0155] When calculating the target grayscale value, not only the grayscale value coefficient of the main board, the grayscale value coefficient of the background and the grayscale coefficient difference threshold are considered, but also the grayscale value of each pixel connected to each other (Hj) and the grayscale median value of the background area and the main board image area (Hbj and Hzj) are introduced. This adjustment method that considers neighborhood information can make the adjusted image smoother and reduce noise and artifacts.

[0156] Through the above-mentioned fine and adaptive grayscale adjustment process, the quality of the real-time image of the mobile phone motherboard can be significantly improved. The details of the motherboard image area will be clearer, and the contrast with the background will be more appropriate, which is conducive to subsequent image analysis and recognition work.

[0157] In the process of mobile phone motherboard detection or analysis, high-quality images are the key factor to ensure the accuracy and efficiency of the detection results. Through the optimization of the grayscale adjustment module, the detection results can be made more reliable while reducing the possibility of misjudgment and missed detection. In addition, the automated grayscale adjustment process also reduces the burden of manual operation and improves overall work efficiency.

[0158] In summary, this technical solution achieves high-quality processing of real-time images of mobile phone motherboards through a sophisticated grayscale adjustment strategy and an adjustment method that considers neighborhood information, thereby improving image quality, detection accuracy, and efficiency.

[0159] Among them, the model building module is used to build a convolutional neural network model based on artificial intelligence;

[0160] In this embodiment, as a preferred technical solution of the present invention, the model building module includes:

[0161] A data collection unit, used to collect historical images of the mobile phone motherboard;

[0162] According to the visual inspection requirements of mobile phone motherboards, a large number of historical images of mobile phone motherboards that can reflect the visual inspection characteristics of mobile phone motherboards are collected;

[0163] A data partitioning unit, used for partitioning the historical image of the mobile phone mainboard;

[0164] Acquire historical images of mobile phone motherboards that can reflect visual inspection characteristics of mobile phone motherboards;

[0165] Dividing the historical images of mobile phone motherboards that can reflect the visual inspection characteristics of mobile phone motherboards;

[0166] Determine the training and test sets for building and optimizing convolutional neural network models;

[0167] Model training unit, used to build convolutional neural network model;

[0168] According to the requirements of mobile phone motherboard visual inspection, select a deep learning framework suitable for mobile phone motherboard visual inspection;

[0169] Based on the training set, train the selected deep learning framework suitable for mobile phone motherboard visual inspection;

[0170] Determine the convolutional neural network model based on artificial intelligence.

[0171] Among them, the model optimization module is used to optimize the convolutional neural network model based on artificial intelligence;

[0172] In this embodiment, as a preferred technical solution of the present invention, the model optimization module includes:

[0173] Performance testing unit, used to perform performance testing on artificial intelligence-based convolutional neural network models;

[0174] Get artificial intelligence-based convolutional neural network models;

[0175] Based on the test set, the performance of the artificial intelligence-based convolutional neural network model is tested;

[0176] Determine the performance test results based on the convolutional neural network model;

[0177] An optimization and adjustment unit, used to optimize and adjust the convolutional neural network model based on artificial intelligence;

[0178] Obtain performance test results based on convolutional neural network models;

[0179] Mining and analyzing the performance test results based on the convolutional neural network model;

[0180] Determine the optimization adjustment plan based on the convolutional neural network model;

[0181] Optimize and adjust the convolutional neural network model based on the optimization adjustment scheme;

[0182] Determine the optimal visual inspection model for mobile phone motherboards.

[0183] Among them, the detection and identification module is used to perform artificial intelligence-based detection and identification of the mobile phone motherboard;

[0184] In this embodiment, as a preferred technical solution of the present invention, the detection and identification module includes:

[0185] A data extraction unit, used to extract the characteristic image of the mobile phone motherboard based on artificial intelligence;

[0186] According to the visual inspection requirements of mobile phone motherboards, extract the feature images of mobile phone motherboards based on artificial intelligence;

[0187] A detection and identification unit, used to detect and identify the mobile phone motherboard;

[0188] Obtain the optimal visual inspection model for mobile phone motherboards;

[0189] Input the extracted AI-based mobile phone motherboard feature image into the optimal mobile phone motherboard visual inspection model;

[0190] Detect and identify the mobile phone motherboard feature images based on the optimal mobile phone motherboard visual inspection model;

[0191] Determine the AI-based visual inspection and recognition results of mobile phone motherboards.

[0192] Among them, the intelligent management and control module is used to perform intelligent management and control of the mobile phone motherboard based on artificial intelligence.

[0193] In this embodiment, as a preferred technical solution of the present invention, the intelligent management and control module includes:

[0194] Solution formulation unit, used to formulate intelligent control solutions for visual inspection of mobile phone motherboards;

[0195] Obtain the visual inspection and recognition results of mobile phone motherboards based on artificial intelligence;

[0196] Mining and analyzing the results of visual inspection and recognition of mobile phone motherboards based on artificial intelligence;

[0197] Determine the intelligent control solution for visual inspection of mobile phone motherboards based on artificial intelligence;

[0198] Intelligent control unit, used for intelligent control of mobile phone motherboard;

[0199] Obtain an AI-based intelligent control solution for visual inspection of mobile phone motherboards;

[0200] Intelligent control of mobile phone motherboards based on the intelligent control solution of mobile phone motherboard visual detection;

[0201] Among them, mobile phone motherboards that pass the visual inspection are automatically transported to the qualified area;

[0202] The mobile phone motherboards that fail the visual inspection are automatically transported to the unqualified area, and the mobile phone motherboards that fail the visual inspection are classified and marked as unqualified, and the repair personnel are intelligently guided to repair the unqualified mobile phone motherboards in a timely manner.

[0203] Therefore, by collecting real-time images of mobile phone motherboards based on artificial intelligence, processing the real-time images of mobile phone motherboards, determining feature images of mobile phone motherboards based on artificial intelligence, building a convolutional neural network model according to the visual inspection requirements of mobile phone motherboards, optimizing the convolutional neural network model, determining the optimal mobile phone motherboard visual inspection model, detecting and identifying feature images of mobile phone motherboards based on the optimal mobile phone motherboard visual inspection model, determining visual inspection and identification results of mobile phone motherboards based on artificial intelligence, formulating an intelligent management and control plan for mobile phone motherboard visual inspection based on the visual inspection and identification results of mobile phone motherboards, and performing intelligent management and control of mobile phone motherboards. Mobile phone motherboards can be automatically visually inspected, unqualified mobile phone motherboards can be accurately and quickly identified, and the identified unqualified mobile phone motherboards can be promptly repaired and controlled, which can improve the visual inspection efficiency of mobile phone motherboards.

[0204] In order to better demonstrate the visual inspection process of mobile phone motherboards based on artificial intelligence, this embodiment provides a visual inspection method of mobile phone motherboards based on artificial intelligence, which is implemented based on a visual inspection system of mobile phone motherboards based on artificial intelligence, and includes the following steps:

[0205] S1: collecting real-time images of mobile phone motherboards based on artificial intelligence, processing the real-time images of mobile phone motherboards, and determining characteristic images of mobile phone motherboards based on artificial intelligence;

[0206] S2: According to the requirements of mobile phone motherboard visual inspection, a convolutional neural network model is constructed, and the convolutional neural network model is optimized to determine the optimal mobile phone motherboard visual inspection model;

[0207] S3: Detect and identify the mobile phone motherboard feature image based on the optimal mobile phone motherboard visual detection model, and determine the mobile phone motherboard visual detection and recognition result based on artificial intelligence;

[0208] S4: Based on the visual inspection and recognition results of mobile phone motherboards, formulate an intelligent management and control plan for mobile phone motherboard visual inspection to perform intelligent management and control of mobile phone motherboards.

[0209] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0210] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A mobile phone motherboard visual inspection method based on artificial intelligence, characterized in that: The steps include: S1: collecting real-time images of mobile phone motherboards based on artificial intelligence, processing the real-time images of mobile phone motherboards, and determining characteristic images of mobile phone motherboards based on artificial intelligence; S2: According to the requirements of mobile phone motherboard visual inspection, a convolutional neural network model is constructed, and the convolutional neural network model is optimized to determine the optimal mobile phone motherboard visual inspection model; S3: Detect and identify the mobile phone motherboard feature image based on the optimal mobile phone motherboard visual detection model, and determine the mobile phone motherboard visual detection and recognition result based on artificial intelligence; S4: Based on the visual inspection and recognition results of mobile phone motherboards, formulate an intelligent management and control plan for mobile phone motherboard visual inspection to perform intelligent management and control of mobile phone motherboards.

2. A mobile phone motherboard visual inspection system based on artificial intelligence, used to implement the mobile phone motherboard visual inspection method based on artificial intelligence as claimed in claim 1, characterized in that: include: Image acquisition module, used to collect real-time images of mobile phone motherboard based on artificial intelligence; Image processing module, used to process the real-time image of the mobile phone motherboard based on artificial intelligence; Model building module, used to build artificial intelligence-based convolutional neural network models; Model optimization module, used to optimize the convolutional neural network model based on artificial intelligence; Detection and identification module, used to perform artificial intelligence-based detection and identification of mobile phone motherboards; The intelligent management and control module is used to perform intelligent management and control of the mobile phone motherboard based on artificial intelligence.

3. The mobile phone motherboard visual inspection system based on artificial intelligence according to claim 2 is characterized in that: The image acquisition module comprises: The motherboard placement platform is used to place the mobile phone motherboard to be tested; Place the mobile phone motherboard to be tested on the motherboard placement platform; According to the visual inspection requirements of the mobile phone motherboard, the position of the mobile phone motherboard placed on the motherboard placement platform is adjusted so that the mobile phone motherboard is located at a suitable image acquisition position; An image acquisition unit, used for acquiring images of a mobile phone mainboard; Based on machine vision technology, a camera is used to collect visual images of the mobile phone motherboard; Determine the real-time image of the mobile phone motherboard based on artificial intelligence.

4. The mobile phone motherboard visual inspection system based on artificial intelligence according to claim 3 is characterized in that: The image processing module comprises: Image noise reduction unit, used to perform noise reduction on real-time images of mobile phone motherboards based on artificial intelligence; Get real-time images of mobile phone motherboards based on artificial intelligence; Based on the median filter, the real-time image of the mobile phone motherboard based on artificial intelligence is subjected to noise reduction processing; Remove noise from real-time images of mobile phone motherboards based on artificial intelligence; Image enhancement unit, used to enhance the real-time image of the mobile phone motherboard based on artificial intelligence; Get the real-time image of the mobile phone motherboard based on artificial intelligence after noise reduction; Enhance the real-time image of the mobile phone motherboard based on artificial intelligence after noise reduction; A feature extraction unit, used to extract features from a real-time image of a mobile phone motherboard based on artificial intelligence; Get enhanced AI-based real-time images of mobile phone motherboards; Perform feature extraction on the enhanced AI-based real-time image of the mobile phone motherboard; Determine the characteristic image of the mobile phone motherboard based on artificial intelligence.

5. The mobile phone motherboard visual inspection system based on artificial intelligence according to claim 4 is characterized in that: The image enhancement unit further includes: Grayscale processing module, used for grayscale processing of real-time images of mobile phone motherboard; A region division module is used to extract the mainboard image region of the mobile phone mainboard in the real-time image of the mobile phone mainboard, and obtain the mainboard image region and the background region corresponding to the real-time image of the mobile phone mainboard; A first grayscale value extraction module, used to extract the grayscale values ​​of all pixels in the mainboard image area; The mainboard gray value coefficient acquisition module is used to obtain the mainboard gray value coefficient according to the gray values ​​of all pixels in the mainboard image area; wherein the mainboard gray value coefficient is obtained by the following formula: Among them, Z represents the gray value coefficient of the motherboard; n represents the number of all pixels in the motherboard image area; H i Represents the gray value of the i-th pixel in the motherboard image area; H zp Represents the grayscale average of all pixels in the motherboard image area; H zmax and H zmin Respectively represent the maximum and minimum grayscale values ​​of all pixels in the motherboard image area; H zj They represent the median value of the grayscale values ​​of all pixels in the mainboard image area; A second grayscale value extraction module is used to extract the grayscale values ​​of all pixels in the background area; The background gray value coefficient acquisition module is used to obtain the background gray value coefficient according to the gray values ​​of all pixels in the background area; wherein the background gray value coefficient is obtained by the following formula: Where B represents the background gray value coefficient; m represents the number of all pixels in the background area; H bi Represents the gray value of the i-th pixel in the background area; H bp Represents the grayscale average of all pixels in the background area; H bmax and H bmin Respectively represent the maximum and minimum grayscale values ​​of all pixels in the background area; H bj Respectively represent the median value of the grayscale values ​​of all pixels in the background area; The grayscale adjustment module is used to compare the grayscale value coefficient of the mainboard with the grayscale value coefficient of the background, and adjust the grayscale value of the mainboard image area according to the comparison result.

6. The mobile phone motherboard visual inspection system based on artificial intelligence according to claim 5 is characterized in that: The grayscale adjustment module comprises: A coefficient comparison module, used for comparing the gray value coefficient of the mainboard with the gray value coefficient of the background; A first adjustment determination module, configured to determine that when the difference between the gray value coefficient of the mainboard and the gray value coefficient of the background exceeds a preset gray value coefficient difference threshold, there is no need to adjust the gray value of the mainboard image area; The second adjustment determination module is used to obtain the target grayscale value of the pixel points contained in each mainboard image area by using the difference between the mainboard grayscale value coefficient and the background grayscale value coefficient when the difference between the mainboard grayscale value coefficient and the background grayscale value coefficient does not exceed the preset grayscale coefficient difference threshold; wherein the target grayscale value is obtained by the following formula: Among them, H m represents the target grayscale value corresponding to the pixels contained in the mainboard image area; k represents the number of pixels connected to each pixel; H j represents the gray value of the jth adjacent pixel of each pixel; H0 represents the gray value corresponding to each pixel; B represents the background gray value coefficient; Z represents the mainboard gray value coefficient; C represents the preset gray coefficient difference threshold; H bj Respectively represent the median grayscale value of all pixels in the background area; H zj They represent the median value of the grayscale values ​​of all pixels in the mainboard image area; The grayscale adjustment execution module is used to traverse all the pixel points contained in the mainboard image area and adjust the grayscale value of the pixel points according to the target grayscale value corresponding to each pixel point.

7. The mobile phone motherboard visual inspection system based on artificial intelligence according to claim 4 is characterized in that: The model building module includes: A data collection unit, used to collect historical images of the mobile phone motherboard; According to the visual inspection requirements of mobile phone motherboards, a large number of historical images of mobile phone motherboards that can reflect the visual inspection characteristics of mobile phone motherboards are collected; A data partitioning unit, used for partitioning the historical image of the mobile phone mainboard; Acquire historical images of mobile phone motherboards that can reflect visual inspection characteristics of mobile phone motherboards; Dividing the historical images of mobile phone motherboards that can reflect the visual inspection characteristics of mobile phone motherboards; Determine the training and test sets for building and optimizing convolutional neural network models; Model training unit, used to build convolutional neural network model; According to the requirements of mobile phone motherboard visual inspection, select a deep learning framework suitable for mobile phone motherboard visual inspection; Based on the training set, train the selected deep learning framework suitable for mobile phone motherboard visual inspection; Determine the convolutional neural network model based on artificial intelligence.

8. The mobile phone motherboard visual inspection system based on artificial intelligence according to claim 5 is characterized in that: The model optimization module includes: Performance testing unit, used to perform performance testing on artificial intelligence-based convolutional neural network models; Get artificial intelligence-based convolutional neural network models; Based on the test set, the performance of the artificial intelligence-based convolutional neural network model is tested; Determine the performance test results based on the convolutional neural network model; An optimization and adjustment unit, used to optimize and adjust the convolutional neural network model based on artificial intelligence; Obtain performance test results based on convolutional neural network models; Mining and analyzing the performance test results based on the convolutional neural network model; Determine the optimization adjustment plan based on the convolutional neural network model; Optimize and adjust the convolutional neural network model based on the optimization adjustment scheme; Determine the optimal visual inspection model for mobile phone motherboards.

9. The mobile phone motherboard visual inspection system based on artificial intelligence according to claim 6 is characterized in that: The detection and identification module comprises: A data extraction unit, used to extract the characteristic image of the mobile phone motherboard based on artificial intelligence; According to the visual inspection requirements of mobile phone motherboards, extract the feature images of mobile phone motherboards based on artificial intelligence; A detection and identification unit, used to detect and identify the mobile phone motherboard; Obtain the optimal visual inspection model for mobile phone motherboards; Input the extracted AI-based mobile phone motherboard feature image into the optimal mobile phone motherboard visual inspection model; Detect and identify the mobile phone motherboard feature images based on the optimal mobile phone motherboard visual inspection model; Determine the AI-based visual inspection and recognition results of mobile phone motherboards.

10. The mobile phone motherboard visual inspection system based on artificial intelligence according to claim 7 is characterized in that: The intelligent management and control module includes: The plan formulation unit is used to formulate intelligent control plans for visual inspection of mobile phone motherboards; Obtain the visual inspection and recognition results of mobile phone motherboards based on artificial intelligence; Mining and analyzing the results of visual inspection and recognition of mobile phone motherboards based on artificial intelligence; Determine the intelligent control solution for visual inspection of mobile phone motherboards based on artificial intelligence; Intelligent control unit, used for intelligent control of mobile phone motherboard; Obtain an AI-based intelligent control solution for visual inspection of mobile phone motherboards; Intelligent control of mobile phone motherboards based on the intelligent control solution of mobile phone motherboard visual detection; Among them, mobile phone motherboards that pass the visual inspection are automatically transported to the qualified area; The mobile phone motherboards that fail the visual inspection are automatically transported to the unqualified area, and the mobile phone motherboards that fail the visual inspection are classified and marked as unqualified, and the repair personnel are intelligently guided to repair the unqualified mobile phone motherboards in a timely manner.

Citation Information

Patent Citations

  • Highly adaptive image contrast enhancing method based on data driving technology

    CN104463806A

  • Image enhancement method in low-illumination environment

    CN106780375A

  • Mobile phone mainboard visual detection method and system based on artificial intelligence

    CN118096720A

  • Vision inspection system using distance learning of product defect image

    WO2022065621A1

Cited By

  • 3C equipment AI detection effect evaluation method and system and medium

    CN120045906A

  • A 3C device AI detection effect evaluation method, system and medium

    CN120045906B