A method for evaluating and maintaining the life of printed circuit electronic components

Non-destructive testing of printed circuit boards is carried out through image processing technology, defect information is identified and lifespan is evaluated, which solves the problems of damage and detection complexity caused by disassembly in the existing technology, and achieves fast and accurate lifespan evaluation and testing of printed circuit electronic components. maintain.

CN118261877BActive Publication Date: 2024-10-11泰山科技学院
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410370840.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-29
Publication Date
2024-10-11
Estimated Expiration
2044-03-29

AI Technical Summary

Technical Problem

The existing technology requires physical disassembly and chemical decapsulation in the life assessment of printed circuit electronic components, resulting in component damage. The detection process is complex and not suitable for batch or rapid detection, and online monitoring cannot be achieved.

Method used

Using image processing technology, by taking visible light and X-ray images of printed circuit boards, using a multi-layer detection network to identify defect information, segment chip areas for defect detection, evaluate component life and provide maintenance recommendations, avoiding physical disassembly and chemical decapsulation damage, improving detection efficiency.

Benefits of technology

It achieves fast and accurate non-destructive testing of printed circuit electronic components, saves testing consumables, improves testing efficiency, and provides online monitoring capabilities, suitable for batch testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118261877B_ABST
    Figure CN118261877B_ABST
Patent Text Reader

Abstract

The present invention provides a method for life assessment and maintenance of electronic components of a printed circuit. The present invention can locate the area where the chip is located by overall identification of the printed circuit board, and can avoid the influence of other areas of the circuit board by segmenting the image of the corresponding area of ​​the X-ray for defect detection. When performing chip area detection, the present invention introduces a large-scale convolution kernel and a coordinate attention module to increase the perception field of view for multi-scale chip targets. At the same time, in order to improve the accuracy of feature maps, too many pre-downsampling operations are avoided as much as possible. Through the above method, the present invention can complete the life assessment of the entire printed circuit electronic component without physical and chemical disassembly, which greatly saves detection consumables and improves detection efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image processing, and in particular to a method for realizing rapid nondestructive detection of electronic components of printed circuits and evaluating their lifespan by utilizing image processing technology. Background Art

[0002] With the rapid development of electric vehicle technology, the reliability and life assessment of printed circuit electronic components have become increasingly important. Failure of printed circuit electronic components often leads to reduced performance of electric vehicles and even safety accidents. Therefore, accurately evaluating and maintaining the functional status of these components is crucial to ensure the safe operation of electric vehicles.

[0003] Traditional methods for life assessment and maintenance of printed circuit electronic components usually include steps such as physical disassembly and chemical decapsulation to conduct detailed inspections of the internal structure of the components. This method can directly observe defects inside the components, such as microcracks, short circuits, welding problems, etc. However, this technology has shortcomings: during the disassembly and decapsulation process, the pins and other sensitive structures of the components are easily damaged, which may cause the original defects to be covered up or new damage to occur. Physical disassembly and chemical decapsulation are time-consuming and complex processes, and are not suitable for batch or rapid testing. Since the detection process destroys the components, they cannot be monitored online.

[0004] In view of the above problems, it is necessary to develop a new life assessment method for printed circuit electronic components, which can quickly and accurately detect defects of printed circuit electronic components without the need for physical disassembly, and can estimate the service life of printed circuit electronic components and provide maintenance recommendations. Summary of the invention

[0005] The present invention provides a method for evaluating and maintaining the life of electronic components of a printed circuit, the method comprising the following steps:

[0006] S1: using an image acquisition device to obtain an image of a printed circuit board to be inspected, wherein the printed circuit board image includes a visible light image and an X-ray image of the printed circuit board acquired at the same shooting position;

[0007] S2: using the first detection network to identify the visible light image of the printed circuit board to obtain defect information of the printed circuit board;

[0008] S3: using a second detection network to identify the visible light image of the printed circuit board to obtain chip position information;

[0009] S4: using the chip position information obtained in step S3 to segment the chip area in the X-ray image, and inputting the chip area image into a third detection network to obtain chip internal defect information;

[0010] S5: Evaluate the service life of printed circuit electronic components and provide maintenance recommendations based on printed circuit board defects and chip internal defect information.

[0011] The present invention provides a printed circuit electronic component life assessment and maintenance system, the system comprising:

[0012] Photographing device: the photographing device photographs an image of the printed circuit board to be inspected, wherein the printed circuit board image includes a visible light image and an X-ray image of the printed circuit board acquired at the same photographing position;

[0013] Printed circuit board defect detection module: The printed circuit board defect detection module uses a first detection network to identify the visible light image of the printed circuit board to obtain printed circuit board defect information;

[0014] Chip position detection module: The chip position defect detection module uses a second detection network to identify the visible light image of the printed circuit board to obtain chip position information;

[0015] Chip defect detection module: The chip defect detection module segments the chip area in the X-ray image using the chip position information identified by the chip position detection module, and inputs the chip area image into the third detection network to obtain chip internal defect information;

[0016] Lifetime assessment and maintenance module: The lifetime assessment and maintenance module assesses the lifespan of printed circuit electronic components based on printed circuit board defects and chip internal defect information and provides maintenance recommendations.

[0017] An electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned printed circuit electronic component life assessment and maintenance method when executing the computer program.

[0018] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements the above-mentioned printed circuit electronic component life assessment and maintenance method.

[0019] Compared with the prior art, the present invention aims to solve the defect of damaging components when physical and chemical disassembly is used in the process of life assessment of printed circuit electronic components in the prior art, and further proposes a method for non-destructive testing without disassembly. The present invention can locate the area where the chip is located by overall identification of the printed circuit board, and can avoid the influence of other areas of the circuit board by segmenting the X-ray corresponding area image for defect detection. When performing chip area, the present invention introduces large-scale convolution kernels and coordinate attention modules to increase the perception field of view for multi-scale chip targets. At the same time, in order to improve the accuracy of the feature map, too many pre-downsampling operations are avoided as much as possible. Through the above method, the present invention can complete the life assessment of the entire printed circuit electronic components without physical and chemical disassembly, which greatly saves detection consumables and improves detection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0021] Figure 1 It is the first detection network structure diagram in this application;

[0022] Figure 2 is a schematic diagram of the residual module in the first detection network in the present application, wherein (a) is the first residual module, (b) is the second and third residual modules, and (c) is the fourth and fifth residual modules;

[0023] Figure 3 It is the second detection network structure diagram in this application;

[0024] Figure 4 It is the jump module in the second detection network in this application;

[0025] Figure 5 This is the third detection network structure diagram in this application. DETAILED DESCRIPTION

[0026] The embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0027] The following describes the implementation methods of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The present application can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that, in the absence of conflict, the following embodiments and the features in the embodiments can be combined with each other. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work belong to the scope of protection of the present application.

[0028] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein can be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present application, it should be understood by those skilled in the art that an aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number and aspect described herein can be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein can be used to implement this device and / or practice this method.

[0029] Additionally, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the examples can be practiced without these specific details.

[0030] The embodiment of this specification proposes a method for life assessment and maintenance of printed circuit electronic components, the method comprising the following steps:

[0031] S1: using an image acquisition device to obtain an image of a printed circuit board to be inspected, wherein the printed circuit board image includes a visible light image and an X-ray image of the printed circuit board acquired at the same shooting position;

[0032] S2: using the first detection network to identify the visible light image of the printed circuit board to obtain defect information of the printed circuit board;

[0033] S3: using a second detection network to identify the visible light image of the printed circuit board to obtain chip position information;

[0034] S4: using the chip position information obtained in step S3 to segment the chip area in the X-ray image, and inputting the chip area image into a third detection network to obtain chip internal defect information;

[0035] S5: Evaluate the service life of printed circuit electronic components and provide maintenance recommendations based on printed circuit board defects and chip internal defect information.

[0036] The printed circuit board defect information includes five defect categories and corresponding position information of short circuit, open circuit, notch, burr and solder leak, and the chip internal defect information includes chip internal cracks and corresponding position information.

[0037] In order to evaluate the service life of electronic components of printed circuits, the present invention classifies the defect information that may exist on the printed circuit into different levels of importance, selects a higher precision identification method for defects with a higher degree of importance, and adopts a general identification method for defects with a general degree of harm, that is, defects with a lower degree of importance. The present invention uses an image acquisition device to photograph the circuit board of the electric vehicle to be detected. For the defect detection inside the chip, the present invention first identifies the chip area in the visible light, and divides the corresponding area of ​​the X-ray image according to the identified position, and uses the segmented X-ray image to identify the defect. The scheme of first positioning and then identifying is conducive to the detection model to more accurately identify the crack defects in the chip. The chip will be packaged with high-density wiring inside it. Compared with the cracks on the substrate, the internal cracks have a more serious impact on the safety of electronic equipment. The traditional scheme often identifies the X-ray image of the entire circuit board. This identification method introduces too many noise factors, that is, the overall identification method will identify the basic crack defects of the circuit board, and the cracks on the circuit board substrate usually do not affect the overall life. The life estimation based on this has a large error with the actual use of printed circuit electronic components of the circuit board. The X-ray local image crack recognition method adopted by the present invention effectively eliminates the interference introduced by other parts of the circuit board and accurately identifies cracks in the chip, a defect that seriously affects the life of electronic devices.

[0038] The method of evaluating the service life of printed circuit electronic components and providing maintenance suggestions based on printed circuit board defects and chip internal defect information specifically includes:

[0039] The influence weights of short circuit, open circuit, notch, burr and solder leak in the printed circuit board defects are set to 5, 4, 2, 1 and 3 respectively, and the influence weight of internal crack of chip is 5. The influence weight indicates the potential threat degree of each detected defect to the function of the circuit board. The life assessment calculation method is:

[0040] Lifespan score = basic lifespan score - ∑ (impact weight * number of defects)

[0041] The basic life score is 100. When the life score is lower than 80, it indicates high risk and needs to be replaced or repaired immediately. When the life score is in the range of [80,90], it indicates medium risk and needs to be inspected and preventive maintenance in the near future. When the life score is higher than 90 points, it indicates normal use and regular inspections should be carried out as planned.

[0042] The first detection network includes a first feature extraction network, a first residual network and a first detection head;

[0043] The first feature extraction network includes two convolutional layers and one pooling layer, and the convolution kernel size is 3*3; the pooling window is 2*2;

[0044] The first residual network includes seven residual modules, each of which includes three convolutional layers with convolution kernels of 3*3, 1*1 and 3*3 respectively. The feature map after convolution processing is fused with the input feature map of the current residual module; a pooling layer with a 2*2 window is set after the first, third and fifth residual modules;

[0045] The first detection head includes a region proposal network and a region pooling network;

[0046] The input of the region proposal network is the output of the seventh residual module. After the feature map enters the region proposal network, it is first subjected to a 3*3 convolution process, and then a two-way convolution process is performed. One branch feature map is subjected to a 1*1 convolution, an activation layer, a scale scaling, and a softmax layer, and then fused with the other branch after a 1*1 convolution process to obtain a feature map with a proposal box.

[0047] The input of the regional pooling network is the output feature map of the seventh residual module and the output feature map of the region proposal network. The Roi pooling layer maps the feature map with the region proposal box to the output feature map of the residual module and inputs it into the fully connected layer after pooling to obtain the category and location information of the image.

[0048] The training set of the first detection network is derived from a printed circuit board defect data set released by a laboratory of Peking University. The defects in the data set are sorted and classified to obtain a data set of five types of defects with labeled information, including short circuit, open circuit, gap, burr, and solder leak.

[0049] The second detection network includes a second feature extraction module, a spatial pyramid pooling module and a second detection head;

[0050] The second feature extraction network includes five feature extraction blocks Conv1-Conv5, the feature extraction block Conv1 includes a convolution layer and a normalization layer, the convolution kernel in the convolution layer is 3*3, and the step size is 2; Conv2-Conv4 each includes a skip connection module and a downsampling layer; Conv5 only includes a skip connection module;

[0051] The jump connection module is first connected to a depth-wise separable convolution, the depth-wise separable convolution kernel is 7*7, the step size is 1, and the edge padding is 3. The output of the depth-wise separable convolution is processed by the normalization layer, the coordinate attention layer and two convolution volumes in sequence, and then scaled and fused with the input feature map of the jump connection module to obtain the output of the jump connection module;

[0052] The spatial pyramid pooling module performs multi-branch pooling processing on the output feature map of Conv5, and splices the branch feature maps and inputs them into the second detection head module.

[0053] The second detection head network includes four fusion modules, wherein fusion module 1 is used to splice the output feature map of Conv4 with the feature map after convolution and upsampling of the spatial pyramid pooling module, fusion module 2 is used to splice the feature map of Conv3 with the output feature map of fusion module 1 after convolution and upsampling; fusion module 3 is used to splice the feature map of Conv2 with the output feature map of fusion module 2 after convolution and upsampling; fusion module 4 is used to downsample the output feature maps of fusion module 1 and fusion module 3 and splice them with the output feature map of the spatial pyramid pooling module; the spatial pyramid pooling module, fusion modules 3 and 4 are respectively connected to Yolohead to output the target category and position.

[0054] The second detection network is used to detect chip targets on printed circuit boards. The chips on the circuit boards include various categories, and the sizes and shapes of different chips are not uniform. Therefore, the designed target recognition network needs to be able to detect targets of different scales. The higher the accuracy of the feature map, the easier it is to identify small-scale targets, and the larger the convolution kernel field of view, the easier it is to detect large-scale targets. Therefore, the second detection network uses a downsampling method with a Conv1 step size of 2 to improve the accuracy of the feature map. At the same time, a large-scale convolution kernel of 7*7 is used in the jump connection module to extract spatial information with a larger field of view for identifying large-size chips. At the same time, the coordinate attention layer is introduced to extract the relationship between long-distance positions in the feature map to improve the target detection capability.

[0055] The training set of the second detection network is a self-built automobile circuit board data set of the present invention. The present invention collects printed circuit boards of mainstream electric vehicles on the market in recent years, shoots the collected printed circuit boards of electric vehicles at a fixed angle, and manually annotates the photographed images. The annotation information includes the location information of the microcontroller (MCU), EthernetPHY chip, CAN chip and LIN chip in the image.

[0056] The third detection network includes a third feature extraction module, a correction module and an encoding-decoding module;

[0057] The third feature extraction module uses a ResNet-50 network structure to perform feature extraction;

[0058] The input of the correction module is the output of the third convolution layer and the output of the fourth convolution layer of ResNet-50. The output feature map of the fourth convolution layer is input to the multi-channel normalization module after 2*2 deconvolution and 3*3 convolution. The output feature map of the third convolution layer is input to the multi-channel normalization module after 3*3 convolution. The feature maps output by the two multi-channel normalization modules are fused and nonlinearly activated and then input to the encoding-decoding module to obtain the internal defect information of the chip;

[0059] The input of the multi-channel normalization module is a feature map with a batch size of N, a number of channels of C, and a size of (H, W). The number of channels in each channel category is preset to C1, and the number of channels in the last channel category may not be C1, and the channels are divided into non-overlapping channel categories, Indicates rounding up. Each time a normalized pixel set is performed, the batch of the feature map where the pixels in the set are located is required to be the same batch, and the channel of the feature map where the pixels are located belongs to the same channel category. The mean and variance var of the pixels in the same channel category are calculated, and the planned pixel is obtained. ,in, Avoid 0 in the denominator for constants;

[0060] More specifically, assuming that the input feature map batch N = 100, the number of channels is C = 7, the feature map size is (64*64), and the number of channels in each channel category is preset to C1 = 3, then the batch feature maps can be divided into There are non-overlapping channel categories, category 1 is channels 1-3, category 2 is channels 4-6, and category 3 is channel 7. Therefore, when performing the first normalization operation, the mean and variance of the pixels in channels 1-3 and batch 1 are calculated and the pixels in this set are normalized; when performing the second normalization operation, the mean and variance of the pixels in channels 4-6 and batch 1 are calculated and the pixels in this set are normalized; and so on.

[0061] The training set of the third detection network is a self-built X-ray chip data set of the present invention, and cracks are manually annotated on the captured images.

[0062] The present invention provides a printed circuit electronic component life assessment and maintenance system, the system comprising:

[0063] Photographing device: the photographing device photographs an image of the printed circuit board to be inspected, wherein the printed circuit board image includes a visible light image and an X-ray image of the printed circuit board acquired at the same photographing position;

[0064] Printed circuit board defect detection module: The printed circuit board defect detection module uses a first detection network to identify the visible light image of the printed circuit board to obtain printed circuit board defect information;

[0065] Chip position detection module: The chip position defect detection module uses a second detection network to identify the visible light image of the printed circuit board to obtain chip position information;

[0066] Chip defect detection module: The chip defect detection module segments the chip area in the X-ray image using the chip position information identified by the chip position detection module, and inputs the chip area image into the third detection network to obtain chip internal defect information;

[0067] Lifetime assessment and maintenance module: The lifetime assessment and maintenance module assesses the lifespan of printed circuit electronic components based on printed circuit board defects and chip internal defect information and provides maintenance recommendations.

[0068] An electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned printed circuit electronic component life assessment and maintenance method when executing the computer program.

[0069] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements the above-mentioned printed circuit electronic component life assessment and maintenance method.

[0070] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0071] In this specification, the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the embodiments described later, the description is relatively simple, and the relevant parts can be referred to the partial description of the previous embodiments.

[0072] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A method for life assessment and maintenance of printed circuit electronic components, the method comprising the following steps: S1: using an image acquisition device to obtain an image of a printed circuit board to be inspected, wherein the printed circuit board image includes a visible light image and an X-ray image of the printed circuit board acquired at the same shooting position; S2: using the first detection network to identify the visible light image of the printed circuit board to obtain defect information of the printed circuit board; S3: using a second detection network to identify the visible light image of the printed circuit board to obtain chip position information; S4: using the chip position information obtained in step S3 to segment the chip area in the X-ray image, and inputting the chip area image into a third detection network to obtain chip internal defect information; S5: Evaluate the service life of printed circuit electronic components based on printed circuit board defects and chip internal defect information and provide maintenance recommendations; Wherein, the first detection network includes a first feature extraction network, a first residual network and a first detection head; The first feature extraction network includes two convolutional layers and one pooling layer, and the convolution kernel size is 3*3; the pooling window is 2*2; The first residual network includes seven residual modules, each of which includes three convolutional layers with convolution kernels of 3*3, 1*1 and 3*3 respectively. The feature map after convolution processing is fused with the input feature map of the current residual module. A pooling layer with a 2*2 window is set after the first, third and fifth residual modules. The first detection head includes a region proposal network and a region pooling network; The input of the region proposal network is the output of the seventh residual module. After the feature map enters the region proposal network, it is first subjected to a 3*3 convolution process, and then a two-way convolution process is performed. One branch feature map is subjected to a 1*1 convolution, an activation layer, a scale scaling, and a softmax layer, and then fused with the other branch after a 1*1 convolution process to obtain a feature map with a proposal box. The input of the regional pooling network is the output feature map of the seventh residual module and the output feature map of the regional proposal network. The Roi pooling layer maps the feature map with the regional proposal box to the output feature map of the residual module and inputs it to the fully connected layer after pooling to obtain the category and location information of the image; The second detection network includes a second feature extraction module, a spatial pyramid pooling module and a second detection head; The second feature extraction network includes five feature extraction blocks Conv1-Conv5, the feature extraction block Conv1 includes a convolution layer and a normalization layer, the convolution kernel in the convolution layer is 3*3, and the step size is 2; Conv2-Conv4 each includes a skip connection module and a downsampling layer; Conv5 only includes a skip connection module; The jump connection module is first connected to a depth-wise separable convolution, the depth-wise separable convolution kernel is 7*7, the step size is 1, and the edge padding is 3. The output of the depth-wise separable convolution is scaled after passing through the normalization layer, the coordinate attention layer and two convolution processes in sequence, and then fused with the input feature map of the jump connection module to obtain the output of the jump connection module; The spatial pyramid pooling module performs multi-branch pooling processing on the output feature map of Conv5, and splices the branch feature maps and inputs them into the second detection head module; The third detection network includes a third feature extraction module, a correction module and an encoding-decoding module; The third feature extraction module uses a ResNet-50 network structure to perform feature extraction; The input of the correction module is the output of the third convolution layer and the output of the fourth convolution layer of ResNet-50. The output feature map of the fourth convolution layer is input to the multi-channel normalization module after 2*2 deconvolution and 3*3 convolution. The output feature map of the third convolution layer is input to the multi-channel normalization module after 3*3 convolution. The feature maps output by the two multi-channel normalization modules are fused and nonlinearly activated and then input to the encoding-decoding module to obtain the internal defect information of the chip; The input of the multi-channel normalization module is a feature map with a batch size of N, a number of channels of C, and a size of (H, W). The number of channels in each channel category is preset to C1, and the number of channels in the last channel category is not C1, and the channels are divided into non-overlapping channel categories, Indicates rounding up. Each time a normalized pixel set is performed, the batch of the feature map where the pixels in the set are located is required to be the same batch, and the channel of the feature map where the pixels are located belongs to the same channel category. The mean and variance var of the pixels in the same channel category are calculated, and the planned pixel is obtained. ; Where p is the pixel value to be normalized, is the normalized pixel value, Avoid 0 in the denominator for constants.

2. The printed circuit electronic component life assessment and maintenance method according to claim 1, characterized in that: The printed circuit board defect information includes five defect categories and corresponding position information of short circuit, open circuit, notch, burr and solder leak, and the chip internal defect information includes chip internal cracks and corresponding position information.

3. The printed circuit electronic component life assessment and maintenance method according to claim 1, characterized in that: The method of evaluating the service life of printed circuit electronic components and providing maintenance suggestions based on printed circuit board defects and chip internal defect information specifically includes: The influence weights of short circuit, open circuit, notch, burr and solder leak in the printed circuit board defects are set to 5, 4, 2, 1 and 3 respectively, and the influence weight of internal crack of chip is 5. The influence weight indicates the potential threat degree of each detected defect to the function of the circuit board. The life assessment calculation method is: Lifespan score = basic lifespan score - ∑ (impact weight * number of defects); The basic life score is 100. When the life score is lower than 80, it indicates high risk and needs to be replaced or repaired immediately. When the life score is in the range of [80,90], it indicates medium risk and needs to be inspected and preventive maintenance in the near future. When the life score is higher than 90 points, it indicates normal use and regular inspections should be carried out as planned.

4. A printed circuit electronic component life assessment and maintenance system, used to execute the printed circuit electronic component life assessment and maintenance method according to any one of claims 1 to 3, the system comprising: Photographing device: the photographing device photographs an image of the printed circuit board to be inspected, wherein the printed circuit board image includes a visible light image and an X-ray image of the printed circuit board acquired at the same photographing position; Printed circuit board defect detection module: The printed circuit board defect detection module uses a first detection network to identify the visible light image of the printed circuit board to obtain printed circuit board defect information; Chip position detection module: The chip position defect detection module uses a second detection network to identify the visible light image of the printed circuit board to obtain chip position information; Chip defect detection module: The chip defect detection module segments the chip area in the X-ray image using the chip position information identified by the chip position detection module, and inputs the chip area image into the third detection network to obtain chip internal defect information; Lifetime assessment and maintenance module: The lifetime assessment and maintenance module assesses the lifespan of printed circuit electronic components based on printed circuit board defects and chip internal defect information and provides maintenance recommendations.

5. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the printed circuit electronic component life assessment and maintenance method as claimed in any one of claims 1 to 3 when executing the computer program.

6. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the printed circuit electronic component life assessment and maintenance method according to any one of claims 1 to 3.