Mobile phone motherboard visual inspection method and system based on artificial intelligence
Through the artificial intelligence-based visual inspection system for mobile phone motherboards, distortion correction and intelligent motherboard segmentation algorithms are used to solve the problem of inaccurate image data processing in traditional inspection methods and achieve highly accurate detection and predictive maintenance of mobile phone motherboards.
Patent Information
- Application Number
- CN202410354042.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-26
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-03-26
AI Technical Summary
Traditional mobile phone motherboard inspection methods do not process image data accurately enough, resulting in inaccurate visual inspection and inability to effectively identify complex defects such as tiny cracks and defective fine solder joints.
Adopt an artificial intelligence-based mobile phone motherboard visual inspection system, including image capture module, image preprocessing module, feature extraction module, artificial intelligence analysis module, data integration module and quality assessment module, through distortion correction, intelligent motherboard segmentation algorithm and deep learning algorithm , achieving high-precision processing and defect identification of mobile phone motherboard images.
It achieves high-precision processing and high-precision visual inspection of mobile phone motherboard images, can accurately identify solder joints, component locations and circuit patterns, generate detailed defect detection reports, and perform predictive maintenance, improving the accuracy and efficiency of detection.
Smart Images

Figure CN118096720B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image data processing, and in particular to a mobile phone motherboard visual detection method and system based on artificial intelligence. Background Art
[0002] Traditional mobile phone motherboard inspection methods usually rely on manual inspection or simple rule-based automated systems. These methods may not be able to effectively identify complex defects such as tiny cracks, poor micro solder joints, etc., especially in high-productivity and precision manufacturing environments. With the rapid development of the smartphone industry, quality control of mobile phone motherboards has become increasingly important. As the core component of a mobile phone, the performance of the mobile phone motherboard directly affects the stability and performance of the entire mobile phone. Traditional mobile phone motherboard inspection methods mainly rely on manual visual inspection and simple mechanical equipment, which is not only inefficient, but also the inspection accuracy is easily affected by the subjective factors of the human operator, and cannot meet the needs of efficient and accurate production.
[0003] There are many methods for visual inspection of mobile phone motherboards. my country's invention patent "A visual automatic inspection system and inspection method for mobile phone interface circuit boards", application number: "CN201811353512.0", mainly includes: a computer and a detection unit, the input end of the computer is connected to the output end of the detection unit, the detection unit includes a spacing detection module, a width detection module and a defect detection module, and the input end of the computer is connected to the output end of the sending module, and the input end of the sending module is connected to the output end of the conversion module. The invention relates to the field of visual inspection technology. The mobile phone interface circuit board visual automatic inspection system and its inspection method, through the input end of the computer and the output end of the detection unit are connected, and the intelligent detection method is used for detection, which improves the accuracy of detection and also improves the efficiency of detection. The detection unit includes a spacing detection module, a width detection module and a defect detection module, which can be used for large-scale detection, and multiple circuit boards can be detected at the same time, improving the efficiency and level of work.
[0004] However, the above technology has at least the following technical problems: the image data processing of the mobile phone motherboard is not accurate enough, which leads to the technical problem of inaccurate visual inspection of the mobile phone motherboard. Summary of the invention
[0005] The present invention provides a method and system for visual inspection of mobile phone motherboards based on artificial intelligence, which solves the technical problem that the prior art does not accurately process the image data of mobile phone motherboards, thereby causing inaccurate visual inspection of mobile phone motherboards, and achieves the technical effect of high-precision processing of mobile phone motherboard images to drive high-precision visual inspection of mobile phone motherboards.
[0006] The mobile phone motherboard visual inspection method and system based on artificial intelligence of the present invention specifically include the following technical solutions:
[0007] The mobile phone motherboard visual inspection system based on artificial intelligence includes the following parts:
[0008] Image capture module, image preprocessing module, feature extraction module, artificial intelligence analysis module, data integration module, quality assessment module, detection prediction module;
[0009] The image capture module is used to capture the image of the mobile phone motherboard and transmit the captured mobile phone motherboard image to the image preprocessing module;
[0010] The image preprocessing module performs distortion correction on the mobile phone motherboard image captured by the image capture module, and then preprocesses the corrected image to obtain a preprocessed image, and sends the preprocessed image to the feature extraction module;
[0011] The feature extraction module uses the intelligent motherboard segmentation algorithm to distinguish different components and areas on the motherboard from the preprocessed image output by the image preprocessing module, and then extracts features from the segmented image to form a key visual feature data set, which is sent to the artificial intelligence analysis module; the key visual features include solder joints, circuit patterns, and component placement;
[0012] The artificial intelligence analysis module analyzes the key visual feature data set of the feature extraction module, identifies the mainboard defects, including solder joint problems, component misalignment or damage, obtains a defect detection report, and the defect detection report includes the type and location of the defect, and transmits the defect detection report to the data integration module;
[0013] The data integration module, based on the defect detection report of the artificial intelligence analysis module, summarizes and compares the data from different detection cycles to generate a comprehensive detection data report; sends the comprehensive detection data report to the quality assessment module, and at the same time sends the comprehensive detection data report to the detection prediction module to perform detection prediction and perform predictive maintenance on the mobile phone motherboard;
[0014] The quality assessment module performs quality assessment on each detected motherboard based on the comprehensive test data report of the data integration module to obtain a quality assessment result of the mobile phone motherboard;
[0015] The detection prediction module predicts the detection data in the comprehensive detection data report of the data integration module, identifies potential motherboard problems, and performs predictive maintenance on the mobile phone motherboard.
[0016] The mobile phone motherboard visual inspection method based on artificial intelligence includes the following steps:
[0017] S1. Capturing an image on a mobile phone motherboard, and performing distortion correction on the captured mobile phone motherboard image by constructing a distortion estimation model, designing a distortion equalizer and a color fidelity detector, and then preprocessing the distortion-corrected image to obtain a preprocessed image;
[0018] S2. Use the intelligent motherboard segmentation algorithm to segment the preprocessed image, divide the mobile phone motherboard image into different areas and components, and then extract features from the segmented mobile phone motherboard image to obtain a key visual feature data set of the mobile phone motherboard image;
[0019] S3. Use deep learning algorithms to analyze the key visual feature datasets of mobile phone motherboard images, obtain the inspection results of the mobile phone motherboard, and generate a defect inspection report. Integrate the inspection results of the mobile phone motherboard to obtain a comprehensive dataset and a comprehensive inspection data report, and perform quality assessment based on the comprehensive dataset and predictive maintenance of the mobile phone motherboard.
[0020] Preferably, the S1 specifically includes:
[0021] The image on the mobile phone mainboard is captured to obtain the original image data set of the mobile phone mainboard, and the original image data set is subjected to distortion correction to obtain the distortion-corrected mobile phone mainboard image data; the distortion-corrected mobile phone mainboard image data is then preprocessed to obtain the preprocessed mobile phone mainboard image data.
[0022] Preferably, in said S1, it further includes:
[0023] In the lens distortion process of distortion correction, a distortion estimation model is constructed to perform preliminary analysis on the original image data set of the mobile phone motherboard to obtain a quantified degree of distortion, and based on the quantified degree of distortion, it is determined whether there is distortion in the original image; when distortion occurs, distortion mapping is performed based on the quantified degree of distortion, and a correction method is selected to perform distortion correction processing.
[0024] Preferably, in said S1, it further includes:
[0025] During the distortion correction process, a distortion equalizer is designed to analyze the edge areas of the original image and identify potential lost information.
[0026] Preferably, in said S1, it further includes:
[0027] During the distortion correction process, a color fidelity controller is designed to dynamically adjust the color distortion during the distortion correction process.
[0028] Preferably, the S2 specifically includes:
[0029] The specific implementation process of the intelligent motherboard segmentation algorithm is as follows: first, the pre-processed image is mapped to map the pixel values into a bounded range; then, feature recognition is performed on the mapped image to obtain the feature intensity of the mapped image; finally, image segmentation is performed according to the feature intensity of the mapped image to obtain the segmented mobile phone motherboard image.
[0030] Preferably, in said S2, it further includes:
[0031] The segmented mobile phone motherboard image is subjected to feature extraction to evaluate the quality of solder joints and the continuity and integrity of circuit paths, detect the position and orientation of components, and finally obtain a key visual feature dataset of the mobile phone motherboard image.
[0032] The beneficial effects of the technical solution of the present invention are:
[0033] 1. By constructing a distortion estimation model, the present invention can accurately quantify the degree of distortion in the image. Accurate distortion identification and quantification provide a solid foundation for subsequent correction, ensuring the pertinence and effectiveness of the correction method. The designed distortion equalizer specifically deals with the common problem of edge information loss in distortion correction. By expanding edge information and enhancing low-intensity changes, it can effectively preserve the details of the image edge and reduce information loss in the distortion correction process. The introduction of the color fidelity ensures the authenticity and accuracy of the color in the distortion correction process, and avoids the color distortion problem by dynamically adjusting the color value.
[0034] 2. The present invention introduces an intelligent motherboard segmentation algorithm to effectively divide the mobile phone motherboard image into different areas and components through image processing technology, providing an in-depth understanding of complex electronic structures and laying a foundation for subsequent feature extraction and analysis; in the implementation process of the intelligent motherboard segmentation algorithm, by mapping pixel values into a bounded range and strengthening key details in the image, the image segmentation effect is enhanced, making subsequent feature recognition more accurate and reliable. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 A module diagram of a mobile phone motherboard visual inspection system based on artificial intelligence provided by one embodiment of the present invention;
[0036] Figure 2 The present invention is a flowchart of a method for visually inspecting a mobile phone motherboard based on artificial intelligence according to an embodiment of the present invention. DETAILED DESCRIPTION
[0037] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0038] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0039] The specific scheme of the mobile phone motherboard visual inspection method and system based on artificial intelligence provided by the present invention is described in detail below with reference to the accompanying drawings.
[0040] See attached Figure 1 , which shows a module diagram of a mobile phone motherboard visual inspection system based on artificial intelligence provided by an embodiment of the present invention, the system includes the following parts:
[0041] Image capture module, image preprocessing module, feature extraction module, artificial intelligence analysis module, data integration module, quality assessment module, detection prediction module;
[0042] The image capture module is used to capture detailed images of the mobile phone motherboard and transmit the captured mobile phone motherboard images to the image preprocessing module for further processing and optimization;
[0043] The image preprocessing module performs distortion correction on the mobile phone motherboard image captured by the image capture module by constructing a distortion estimation model, the distortion being such as lens distortion correction, and then performs preprocessing on the corrected image, the preprocessing being such as denoising, brightness adjustment, and contrast optimization, to obtain a preprocessed image, and the preprocessed image is sent to the feature extraction module;
[0044] The feature extraction module uses the intelligent motherboard segmentation algorithm to distinguish different components and areas on the motherboard from the preprocessed image output by the image preprocessing module, and then uses image processing technology to extract key visual features from the segmented image to form a key visual feature data set, and sends the key visual feature data set to the artificial intelligence analysis module for more in-depth analysis and defect identification;
[0045] The key visual features such as solder joints, circuit patterns, component placement;
[0046] The artificial intelligence analysis module uses a deep learning algorithm to analyze the extracted key visual feature data set of the feature extraction module, identify motherboard defects such as solder joint problems, component misalignment or damage, and obtain a detailed defect detection report including the type and location of the defect. The defect detection report is then transmitted to the data integration module for further data aggregation and analysis.
[0047] The data integration module, based on the defect detection report of the artificial intelligence analysis module, summarizes and compares the data from different detection cycles to generate a comprehensive detection data report, which helps to identify common problems and trends, and track detection performance; and sends the comprehensive detection data report to the quality assessment module to provide necessary data support for the assessment, and at the same time sends the comprehensive detection data report to the detection prediction module to perform detection prediction and predictive maintenance on the mobile phone motherboard;
[0048] The quality assessment module performs a comprehensive quality assessment on each tested motherboard based on the comprehensive test data report of the data integration module to obtain a quality assessment result of the mobile phone motherboard;
[0049] The detection prediction module predicts the detection data in the comprehensive detection data report of the data integration module, identifies potential motherboard problems, and realizes predictive maintenance of the mobile phone motherboard;
[0050] See attached Figure 2 , which shows a flow chart of a mobile phone motherboard visual inspection method based on artificial intelligence provided by an embodiment of the present invention, the method comprising the following steps:
[0051] S1. Capturing an image on a mobile phone motherboard, and performing distortion correction on the captured mobile phone motherboard image by constructing a distortion estimation model, designing a distortion equalizer and a color fidelity detector, and then preprocessing the distortion-corrected image to obtain a preprocessed image;
[0052] The image on the mobile phone mainboard is captured at all angles to obtain the original image data set of the mobile phone mainboard, and the original image data set is subjected to distortion correction. Specifically, in the lens distortion process of image distortion correction, a distortion estimation model is first constructed to perform a preliminary analysis on the received original image data set to obtain a quantified degree of distortion, and based on the quantified degree of distortion, it is determined whether there is distortion in the original image. If distortion occurs, distortion mapping is performed based on the quantified degree of distortion, and a suitable correction method is selected to perform distortion correction processing.
[0053] The distortion estimation model is specifically expressed as follows:
[0054]
[0055] Where D(x, y) represents the total distortion of the pixel at coordinates (x, y) in the original image; M(x, y) represents the distortion matrix of the pixel at coordinates (x, y), which contains information about the degree and direction of pixel distortion and is determined based on the distortion model and actual image data; g(R(x, y), θ i ) represents the radial distance R(x, y) and the specific angle θ i The distortion effect under θ; R(x, y) represents the radial distance from the center of the original image to the pixel point with coordinates (x, y); θ i represents the i-th considered angle, which is used to analyze distortion in different directions; S is the distortion sensitivity coefficient, which indicates the sensitivity of the original image to distortion; N is the number of accumulated terms, which represents the number of different angles considered in the estimation process. The angle refers to the angle of each point in the original image relative to the reference point (the center of the original image);
[0056] The distortion estimation model quantifies the distortion degree of the original image to obtain the quantified distortion degree D(x, y). The threshold is set according to the expert experience method. The threshold represents the minimum recognizable degree of distortion. If the distortion quantization value D(x, y) exceeds the threshold, it is considered that the original image is distorted. When it is confirmed that the original image is distorted, the distortion quantization value D(x, y) of each pixel and its corresponding position information (x, y) are collected, and then the distortion distribution diagram is used to analyze the distribution of the distortion quantization value D(x, y) in the entire original image to determine the distortion type. If the distortion quantization value of the edge area of the original image is significantly higher than that of the central area, it is barrel distortion; if the distortion quantization value of the central area of the original image is significantly higher than that of the edge area, it is pincushion distortion; further, the appropriate correction method is selected according to the distortion type. For example, for barrel distortion, an outward expansion correction method is used; for pincushion distortion, an inward compression method is used.
[0057] Furthermore, in order to avoid the loss of edge information and affect the accuracy of distortion correction during the distortion correction process, a distortion equalizer is designed to analyze the edge area of the image, identify the information that may be lost, and solve the loss of edge information during the distortion correction process. The specific implementation is expressed as follows:
[0058]
[0059] Among them, E(x, y) represents the expanded edge information; I(x+i, y+i) represents the pixel intensity of the original image at the position (x+i, y+i); ∑ represents the summation operation, which is used to calculate the sum of the pixel intensities in a specific neighborhood, reflecting the overall brightness change in the area; n represents the size of the neighborhood, which determines how far the pixels should be considered when calculating the edge intensity; i represents the pixel index in the neighborhood, from -n to n, indicating the pixel points considered around (x, y) as the center; Used to enhance low-intensity changes while suppressing high-intensity changes, helping to highlight edges without over-enhancing bright areas of the image;
[0060] Furthermore, in order to avoid the problem of image color distortion during the distortion correction process, a color fidelity device is designed. The color fidelity device dynamically adjusts the color distortion during the distortion correction process to ensure the authenticity and accuracy of the color. The specific expression is:
[0061]
[0062] Among them, C′(x, y) is the adjusted color value; C(x, y) represents the color value of the original image at the position (x, y), such as grayscale value and color vector; α is an adjustment parameter used to control the degree of color enhancement. Increasing the value of α will increase the overall brightness of the color; D(x, y) represents the total distortion degree of the pixel point at the position (x, y) of the original image, which is calculated based on the distortion estimation model and reflects the distortion intensity of the original image at this position; β is the adjustment coefficient, which controls the influence of distortion on color adjustment. Increasing the value of β means that the distortion has a greater influence on color adjustment.
[0063] The distortion-corrected image is then preprocessed to obtain a preprocessed image; the preprocessing includes denoising, brightness adjustment, contrast optimization, and image enhancement; the specific implementation process is as follows:
[0064] First, a bilateral filter is used to smooth the distortion-corrected image and reduce noise. The parameters of the bilateral filter can be adjusted to balance denoising and detail retention. The brightness and contrast of the image are automatically adjusted using histogram equalization technology. A sharpening algorithm is applied to the image after brightness and contrast adjustment to improve the clarity of details. Finally, the preprocessed image is obtained.
[0065] By constructing a distortion estimation model, the present invention can accurately quantify the degree of distortion in the image. Accurate distortion identification and quantification provide a solid foundation for subsequent correction, ensuring the pertinence and effectiveness of the correction method. The designed distortion equalizer specifically deals with the common problem of edge information loss in distortion correction. By expanding edge information and enhancing low-intensity changes, it can effectively preserve the details of the image edge and reduce information loss in the distortion correction process. The introduction of the color fidelity ensures the authenticity and accuracy of the color in the distortion correction process, and avoids the color distortion problem by dynamically adjusting the color value.
[0066] S2. Use the intelligent motherboard segmentation algorithm to segment the preprocessed image, divide the mobile phone motherboard image into different areas and components, and then extract features from the segmented mobile phone motherboard image to obtain a key visual feature data set of the mobile phone motherboard image;
[0067] The intelligent motherboard segmentation algorithm is used to segment the preprocessed image and divide the mobile phone motherboard image into different areas and components. The intelligent motherboard segmentation algorithm provides a method to identify and understand the complex electronic structure on the smartphone motherboard by accurately processing and analyzing the processed image data, and realizes the segmentation of the mobile phone motherboard image. The specific implementation process is as follows:
[0068] First, the preprocessed image is mapped to map the pixel values into a bounded range, so that the subsequent processing process is more stable and reliable; the mapping process is specifically expressed as follows:
[0069]
[0070] Wherein, P(x, y) represents the pixel value after mapping at the coordinate (x, y); Represents the pixel value of the preprocessed image at the coordinate (x, y); is the scaling factor, which is used to adjust the influence of the original pixel value and is set according to expert experience; γ represents the offset, which is used to further adjust the transformed pixel value;
[0071] The mapped image is then subjected to feature recognition to highlight details in the image that are easy to segment; the details include the edges of components and solder joints on the motherboard; the specific implementation is as follows:
[0072]
[0073] Among them, F(x, y) represents the feature intensity at the position (x, y) of the mapped image, which is used for subsequent image segmentation and reflects the feature prominence at the position (x, y); λ is the scaling factor, which is used to adjust the ratio of the overall feature intensity to ensure that the feature intensity is within a reasonable range; P(x+i, y+j) represents the pixel value at the position (x+i, y+j) of the mapped image; is the offset, which is used to adjust the pixel value to avoid excessive amplification or suppression during feature recognition; w(i, j) is the weight matrix, which determines the contribution of different pixels in the local neighborhood to the feature extraction of the central pixel (x, y); k is the size of the local neighborhood, which directly affects the granularity of feature recognition;
[0074] Finally, image segmentation is performed based on the feature intensity of the mapped image to obtain the segmented mobile phone motherboard image:
[0075]
[0076] The image is segmented according to the identified feature intensity F(x, y) and the threshold θ set by the empirical method; if the feature intensity of a pixel exceeds the threshold, it indicates that the pixel is located in an important feature area, such as a key component on a circuit board, so it is marked as 1 in the segmented image S(x, y); if the feature intensity is lower than the threshold, it indicates that the pixel is not part of the important feature area, so it is marked as 0 in the segmented image S(x, y); the final segmented image S(x, y) clearly distinguishes the key components and background area of the motherboard;
[0077] Next, feature extraction is performed on the segmented mobile phone motherboard image. For example, shape recognition algorithms, such as edge detection and contour analysis, are used to identify the shape of the solder joints. Then, size recognition technology is used to measure the size of the solder joints. Based on the information on the shape and size of the solder joints, the quality of the solder joints is evaluated in combination with the quality standards preset according to the expert experience method. For example, solder joints with irregular shapes or abnormal sizes may indicate welding quality problems. Pattern recognition technology is used to analyze the circuit pattern to evaluate the continuity and integrity of the circuit path. The Hough transform algorithm is used to detect the position and orientation of components.
[0078] After the above processing, the key visual feature dataset of the mobile phone motherboard image can be obtained.
[0079] The present invention introduces an intelligent motherboard segmentation algorithm to effectively divide the mobile phone motherboard image into different areas and components through image processing technology, providing an in-depth understanding of complex electronic structures and laying a foundation for subsequent feature extraction and analysis; in the implementation process of the intelligent motherboard segmentation algorithm, the pixel values are mapped into a bounded range and the key details in the image are enhanced, thereby enhancing the image segmentation effect and making subsequent feature recognition more accurate and reliable.
[0080] S3. Use deep learning algorithms to analyze the key visual feature dataset of mobile phone motherboard images, obtain the inspection results of the mobile phone motherboard, and generate a defect inspection report. Integrate the inspection results of the mobile phone motherboard to obtain a comprehensive dataset and a comprehensive inspection data report, and perform quality assessment based on the comprehensive dataset and predictive maintenance of the mobile phone motherboard.
[0081] First, the key visual feature dataset of the mobile phone motherboard image is preprocessed, such as removing outliers, reducing noise, and converting data formats to meet the needs of the deep learning algorithm; the deep learning algorithm uses the convolutional neural network algorithm for training and learning. The convolutional neural network algorithm analyzes the extracted key visual features, identifies different types of defects, obtains the inspection results of the mobile phone motherboard, analyzes the inspection results, and uses the report generation tool to generate a defect inspection report to achieve visual inspection of the mobile phone motherboard;
[0082] Integrate and process the test results, including various defect types, specific locations of defects, and corresponding images and feature data; use data analysis tools to merge test data from different time periods to form a comprehensive data set, and use report generation tools to generate a comprehensive test data report; the comprehensive data set contains a detailed data set of all motherboard test results in each test period; both the data analysis tool and the report generation tool use existing technologies;
[0083] Based on the comprehensive data set, the inspection data in the comprehensive data set is deeply processed according to statistical analysis and pattern recognition technology to evaluate the type and severity of each defect. During the evaluation process, each defect is classified and rated according to the quality standards preset by expert experience, and a detailed defect analysis report is obtained to form the quality evaluation results; the quality standards include defect level and allowable error range;
[0084] Finally, the comprehensive data set is processed by removing errors and outliers according to the data cleaning technology to obtain a purified data set, and then the data is converted into a unified format using the data normalization technology, and finally the data range is adjusted by the normalization method to facilitate subsequent analysis, so as to obtain a preprocessed comprehensive data set; the data cleaning technology, data normalization technology and normalization method all adopt existing technologies; the key features of the preprocessed comprehensive data set are identified and selected using statistical analysis methods and machine learning feature selection techniques to obtain a feature set related to prediction; statistical analysis methods and machine learning are technical means well known to technical personnel in this field and are not described in detail here; time series analysis (such as ARIMA model) and machine learning technology (such as random forest or neural network) are used to model the feature set related to prediction, and an algorithm model for predicting motherboard problems is constructed to obtain a preliminary prediction model; the preliminary prediction model is trained and tested using cross-validation technology, and historical data is used as a training set and a validation set to evaluate the accuracy and reliability of the model to obtain a verified prediction model; the verified prediction model is used for prediction processing to obtain prediction results, identify potential motherboard problems, and realize predictive maintenance of mobile phone motherboards.
[0085] To sum up, the mobile phone motherboard visual inspection method and system based on artificial intelligence have been completed.
[0086] The embodiment of the present invention can accurately quantify the degree of distortion in an image by constructing a distortion estimation model. Accurate distortion identification and quantification provide a solid foundation for subsequent correction, ensuring the pertinence and effectiveness of the correction method. The designed distortion equalizer specifically deals with the common problem of edge information loss in distortion correction. By extending edge information and enhancing low-intensity changes, it can effectively preserve the details of the image edge and reduce information loss in the distortion correction process. The introduction of a color fidelity filter ensures the authenticity and accuracy of colors in the distortion correction process, and avoids color distortion problems by dynamically adjusting color values.
[0087] The embodiment of the present invention introduces an intelligent motherboard segmentation algorithm to effectively divide the mobile phone motherboard image into different areas and components through image processing technology, providing an in-depth understanding of complex electronic structures and laying a foundation for subsequent feature extraction and analysis; in the implementation process of the intelligent motherboard segmentation algorithm, the pixel values are mapped into a bounded range and the key details in the image are enhanced, thereby enhancing the image segmentation effect and making subsequent feature recognition more accurate and reliable.
[0088] The order of the embodiments of the invention is for description only and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0089] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
[0090] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that the technical solutions described in the above embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention.
Claims
1. A mobile phone motherboard visual inspection method based on artificial intelligence, characterized in that: The following steps are involved: S1. Capture an image on a mobile phone mainboard, obtain an original image data set of the mobile phone mainboard, and perform distortion correction on the original image data set. In the lens distortion process of the distortion correction, construct a distortion estimation model to perform a preliminary analysis on the original image data set of the mobile phone mainboard, obtain a quantified degree of distortion, and determine whether there is distortion in the original image according to the quantified degree of distortion; when distortion occurs, perform distortion mapping according to the quantified degree of distortion, select a correction method, and perform distortion correction processing; The distortion estimation model is specifically expressed as follows: Where D(x,y) represents the total distortion of the pixel at coordinate (x,y) in the original image; M(x,y) represents the distortion matrix of the pixel at coordinate (x,y); g(R(x,y),θ i ) represents the radial distance R(x,y) and angle θ i The distortion effect under θ; R(x,y) represents the radial distance from the center of the original image to the pixel point with coordinates (x,y); θ i represents the i-th considered angle; S is the distortion sensitivity coefficient; N is the number of accumulated terms; The distortion equalizer is designed to analyze the edge area of the original image and identify potential lost information; the specific implementation is expressed as: Among them, E(x,y) represents the expanded edge information; I(x+i,y+i) represents the pixel intensity of the original image at position (x+i,y+i); Σ represents the summation operation; n represents the size of the neighborhood; i represents the pixel index in the neighborhood, from -n to n, representing the pixel points considered around (x,y) as the center; Design a color fidelity controller to dynamically adjust the color distortion during the distortion correction process; the specific expression is: Among them, C ′ (x, y) is the adjusted color value; C(x, y) represents the color value of the original image at position (x, y); α is the adjustment parameter; β is the adjustment coefficient; Then the distortion-corrected image is preprocessed to obtain preprocessed mobile phone motherboard image data; S2. Use the intelligent motherboard segmentation algorithm to segment the preprocessed image, divide the mobile phone motherboard image into different areas and components, and then extract features from the segmented mobile phone motherboard image to obtain a key visual feature data set of the mobile phone motherboard image; S3. Use deep learning algorithms to analyze the key visual feature datasets of mobile phone motherboard images, obtain the inspection results of the mobile phone motherboard, and generate a defect inspection report. Integrate the inspection results of the mobile phone motherboard to obtain a comprehensive dataset and a comprehensive inspection data report, and perform quality assessment based on the comprehensive dataset and predictive maintenance of the mobile phone motherboard.
2. The method for visual inspection of mobile phone motherboards based on artificial intelligence according to claim 1, characterized in that: The S2 specifically includes: The specific implementation process of the intelligent motherboard segmentation algorithm is as follows: first, the pre-processed image is mapped to map the pixel values into a bounded range; then, feature recognition is performed on the mapped image to obtain the feature intensity of the mapped image; finally, image segmentation is performed according to the feature intensity of the mapped image to obtain the segmented mobile phone motherboard image.
3. The method for visual inspection of mobile phone motherboards based on artificial intelligence according to claim 2 is characterized in that: In the S2, it also includes: The segmented mobile phone motherboard image is subjected to feature extraction to evaluate the quality of solder joints and the continuity and integrity of circuit paths, detect the position and orientation of components, and finally obtain a key visual feature dataset of the mobile phone motherboard image.
4. A mobile phone motherboard visual inspection system based on artificial intelligence, applied to the mobile phone motherboard visual inspection method based on artificial intelligence as claimed in claim 1, characterized in that: Includes the following sections: Image capture module, image preprocessing module, feature extraction module, artificial intelligence analysis module, data integration module, quality assessment module, detection prediction module; The image capture module is used to capture the image of the mobile phone motherboard and transmit the captured mobile phone motherboard image to the image preprocessing module; The image preprocessing module performs distortion correction on the mobile phone motherboard image captured by the image capture module, and then preprocesses the corrected image to obtain a preprocessed image, and sends the preprocessed image to the feature extraction module; The feature extraction module uses the intelligent motherboard segmentation algorithm to distinguish different components and areas on the motherboard from the preprocessed image output by the image preprocessing module, and then extracts features from the segmented image to form a key visual feature data set, and sends the key visual feature data set to the artificial intelligence analysis module; Key visual features include solder joints, circuit patterns, component placement; The artificial intelligence analysis module analyzes the key visual feature data set of the feature extraction module, identifies the mainboard defects, which include solder joint problems, component misalignment or damage, obtains a defect detection report, which includes the type and location of the defect, and transmits the defect detection report to the data integration module; The data integration module aggregates and compares data from different inspection cycles based on the defect inspection report of the artificial intelligence analysis module to generate a comprehensive inspection data report; The comprehensive test data report is sent to the quality assessment module, and the comprehensive test data report is sent to the test prediction module for test prediction and predictive maintenance of the mobile phone motherboard; The quality assessment module performs quality assessment on each detected motherboard based on the comprehensive test data report of the data integration module to obtain a quality assessment result of the mobile phone motherboard; The detection prediction module predicts the detection data in the comprehensive detection data report of the data integration module, identifies potential motherboard problems, and performs predictive maintenance on the mobile phone motherboard.
