Battery piece microdefect automatic identification system based on 3D machine vision

Through 3D machine vision technology, including 3D visual sensing and deep learning algorithms, the problem of micro defect detection during cell welding is solved, efficient and accurate detection of highly relevant defects is achieved, and production quality and efficiency are improved.

CN119000709APending Publication Date: 2024-11-22JIANG SU XIN YOU PENG KE JI YOU XIAN GONG SI

Patent Information

Application Number
CN202411100534.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The prior art is difficult to effectively detect micro defects during cell welding, especially highly related defects, such as pits and bumps. The traditional 2D visual solution has poor detection effect, and there is subjectivity and inconsistency in manual visual inspection. It is difficult to meet the needs of efficient and accurate testing.

Method used

Adopt a battery cell micro defect automatic identification system based on 3D machine vision, including 3D vision sensing module, mechanical transmission module, 3D image processing module and machine learning module, and collect 3D images through high-precision depth cameras to denoising and register images and geometric correction, combined with deep learning algorithms to build defect recognition models and realize automated detection.

Benefits of technology

It significantly improves the detection ability of highly relevant defects, improves detection efficiency and accuracy, reduces errors caused by human factors, and realizes automated and accurate defect identification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119000709A_ABST
    Figure CN119000709A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of battery piece detection, and discloses a battery piece microdefect automatic identification system based on 3D machine vision, which comprises a 3D vision sensing module, a mechanical transmission module, a 3D image processing module, a machine learning module, a user interaction module and a report generation module. A 3D image of a battery piece welding area is comprehensively collected through a high-precision depth camera, a defect recognition model is constructed through a deep learning algorithm, and accurate defect recognition of the battery piece 3D image is achieved, including the number, the position and the type of defects. And the graphical user interface provides real-time image display, defect list display and parameter setting functions, so that the interaction of operators is facilitated. And the system finally generates a detailed detection report.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of battery cell detection, and in particular to a battery cell micro-defect automatic recognition system based on 3D machine vision. Background Art

[0002] In the production process of solar cells, the welding process is a key link to ensure the effective connection between the cells and interconnects, busbars and other components. Due to various complex factors in the welding process, cell welding defects often occur, which not only affect the electrical performance of the cells, but may also cause safety issues, resulting in a decrease in the overall performance of the battery assembly and a shortened lifespan.

[0003] The main defects of cell welding include welding cracks, incomplete welding, slag inclusions and pores, explosion points, pinholes, pits, convex points, polarization and black spots, etc. The causes of these defects are varied, mainly including the following aspects:

[0004] Improper welding parameters: Improper settings of parameters such as welding current, voltage, welding speed, arc length, etc., lead to insufficient or excessive welding energy, resulting in defects such as incomplete penetration, pores or cracks.

[0005] Welding material problems: The welding rod or wire is of poor quality, with problems such as rust, oil or moisture. Gas and impurities are easily generated during welding, forming pores and slag inclusions.

[0006] Poor welding environment: such as excessive wind speed, high humidity, insufficient cleanliness, etc., will affect the welding quality and increase the probability of pores and cracks.

[0007] Welding equipment failure: Aging, improper maintenance or operating errors of welding equipment may also lead to welding defects.

[0008] At present, the detection of battery cell welding defects mainly relies on traditional manual visual inspection and automated inspection using image processing technology. Although manual visual inspection is easy to operate, it is greatly affected by the operator's experience, is highly subjective, and it is difficult to ensure the consistency and accuracy of the inspection. With the expansion of production scale and the improvement of automation, manual visual inspection can no longer meet the needs of efficient and accurate inspection. Although image processing technology has a certain application in weld detection, traditional 2D vision solutions cannot obtain the spatial coordinate information of objects, and the detection effect of defects related to height (such as pits, bumps, etc.) is not good. Therefore, we propose an automatic recognition system for battery cell micro-defects based on 3D machine vision. Summary of the invention

[0009] The purpose of the present invention is to provide a battery cell micro-defect automatic identification system based on 3D machine vision to solve the problems raised in the above background technology.

[0010] To achieve the above object, the present invention provides the following technical solution: a battery cell micro-defect automatic identification system based on 3D machine vision, comprising:

[0011] 3D visual sensor module, used to obtain detailed surface morphology information of the battery cell; the 3D visual sensor module includes an image capture unit and a light source control unit. The image capture unit uses a high-precision depth camera to perform comprehensive 3D image acquisition of the battery cell welding area; the light source control unit is used to adjust the lighting conditions to reduce the impact of reflections and shadows on image quality;

[0012] A mechanical transmission module is used to automatically and stably transfer the battery cells to the bottom of the image capture unit for inspection;

[0013] A 3D image processing module is used to pre-process the collected 3D images and optimize the image data; the 3D image processing module includes an image denoising unit, a registration and alignment unit and a geometric correction unit; the image denoising unit uses 3D image filtering technology to denoise and smooth the image; the image registration and alignment unit is used to align the same object in different images to the same coordinate system in multi-view images; the geometric correction unit is used to correct geometric distortion in the image, including perspective deformation and distortion of the image;

[0014] A machine learning module, used to identify defects in the cell images output by the 3D image processing module, wherein the machine learning module constructs a defect recognition model based on a deep learning algorithm, and the defect recognition model is used to determine whether there are defects in the cell in the image and the number, location and type of defects that exist;

[0015] The user interaction module provides a graphical user interface for operators to interact with the system. The interface design includes a real-time image display window for displaying cell images collected by the 3D vision sensor module; a defect list display area for listing defect information identified by the machine learning module, including the number, location and type of defects; and a parameter setting panel for operators to adjust system detection parameters, including lighting conditions, image preprocessing algorithm parameters and defect recognition thresholds.

[0016] The report generation module is used to organize the data and results collected during the system detection process into a report format for output.

[0017] Preferably, the mechanical transmission module comprises a battery cell fixing device, a transmission guide rail and a driving device; the battery cell fixing device is used to firmly clamp the battery cell; the transmission guide rail is used to achieve smooth transmission of the battery cell; the driving device is used to provide power to control the battery cell fixing device to move along the transmission guide rail;

[0018] The driving device starts and drives the transmission guide rail to move, the battery sheet is placed on the fixing device and is firmly clamped, and as the transmission guide rail moves, the fixing device carries the battery sheet and moves along a predetermined path to the bottom of the image capture unit.

[0019] Preferably, the image denoising unit uses Gaussian filtering to remove noise points in the 3D image, and obtains the denoised image by convolution of a three-dimensional Gaussian kernel and calculation of a three-dimensional Gaussian function. The calculation formula of the three-dimensional Gaussian function is:

[0020]

[0021] Among them, x, y, z represent the coordinates of each voxel of the three-dimensional image in the three-dimensional space, G(x, y, z) represents the coordinates of the voxel after the three-dimensional Gaussian function is calculated, σ is the standard deviation of the three-dimensional Gaussian function, e is the base of the natural logarithm, and π is the number of pi.

[0022] Preferably, the registration and alignment unit aligns the same object in the multi-view images to the same coordinate system in the following manner:

[0023] i) Collecting 3D image data from multiple perspectives including the battery cell welding area;

[0024] ii) Select an image from one perspective as a reference image, and transform the images from other perspectives to align them with the reference image;

[0025] iii) Using feature extraction algorithms, key feature points are extracted from each image and the corresponding relationship between the feature points is established;

[0026] iv) calculating a coordinate transformation matrix according to the correspondence between the feature points, where the coordinate transformation matrix is ​​used to transform the feature points in the non-reference image into the coordinate system of the reference image;

[0027] v) applying a coordinate transformation matrix to transform the coordinates of the non-reference image, so as to align the same object in the multi-view images to the same coordinate system;

[0028] The coordinate transformation matrix is ​​calculated using the following formula:

[0029]

[0030] Among them, T is the coordinate transformation matrix, R is the rotation matrix, which represents the rotation relationship between images, and t is the translation vector, which represents the translation relationship between images.

[0031] Preferably, the geometric correction unit corrects the image using a perspective transformation matrix to eliminate perspective deformation and distortion; the perspective transformation matrix is ​​expressed as:

[0032]

[0033] Where H is the perspective transformation matrix, h ij is the element in the matrix, which is calculated by the direct linear transformation DLT algorithm.

[0034] Preferably, the types of welding defects include welding cracks, incomplete penetration, slag inclusions, pores, explosion points, pinholes, pits, protrusions, polarization and black spots.

[0035] Preferably, the step of constructing and training the defect recognition model by the machine learning module includes:

[0036] Step 1: Construct a 3D convolutional neural network model, which includes an input layer, multiple hidden layers, and multiple output layers; the input layer is used to receive the preprocessed 3D cell image data; the hidden layer is used to extract image features; and the multiple output layers are used to output the number, location, and type of defects respectively;

[0037] Step 2: Prepare a training dataset containing a large number of 3D cell images labeled with the number, location, and type of defects;

[0038] Step 3: Use the training data set to train the 3D convolutional neural network model, and adjust the model parameters through forward propagation and back propagation algorithms to minimize the difference between the number, location, and type of defects predicted by the output layer and the actual labels;

[0039] Step 4: During the training process, an appropriate loss function is used to evaluate the accuracy of the model prediction and the model parameters are updated according to the gradient of the loss function.

[0040] Step 5: Repeat steps 3 and 4 until the performance of the model on the validation set reaches the predetermined standard or the training reaches the predetermined number of iterations;

[0041] Step 6: Save the trained model for subsequent cell defect identification.

[0042] Preferably, the method for evaluating the performance of a defect recognition model is as follows: prepare a test data set containing battery cell images with known defect numbers, locations, and types; use a trained defect recognition model to perform defect recognition on the images in the test data set to obtain the number, locations, and types of defects predicted by the model; compare the number, locations, and types of defects predicted by the model with the known number, locations, and types of defects in the test data set, and calculate the accuracy, recall, and F1 score of the model recognition; and evaluate the performance of the model based on the calculation results of the accuracy, recall, and F1 score.

[0043] Preferably, the report generation module designs a report template according to a predetermined format and structure, and the content of the template includes a cell image, defect recognition results, detection parameters and detection time.

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

[0045] The system uses a 3D visual sensing module, which can fully and accurately obtain detailed surface morphology information of the battery cell. Compared with the traditional 2D visual solution, it significantly improves the detection ability of height-related defects (such as pits, bumps, etc.). The automated detection process replaces manual visual inspection, greatly improving the detection efficiency and reducing the detection errors caused by human factors.

[0046] The machine learning module builds a powerful defect recognition model based on deep learning algorithms, which can accurately determine whether there are defects in the battery cell, as well as the number, location and type of defects, thereby improving the comprehensiveness and accuracy of defect recognition. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 It is the overall structure diagram of the present invention;

[0048] Figure 2 Figure 1 is a working step diagram for the registration and alignment unit;

[0049] Figure 3 It is the working step diagram of the geometric correction unit;

[0050] Figure 4 Diagram of the training steps for the defect recognition model. DETAILED DESCRIPTION

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

[0052] See also Figure 1-4 The present invention provides a technical solution: a battery cell micro-defect automatic recognition system based on 3D machine vision, comprising:

[0053] 3D visual sensing module: The 3D visual sensing module used in this system includes an image capture unit and a light source control unit. The image capture unit uses a high-precision depth camera that can perform comprehensive 3D image acquisition of the battery cell welding area and capture detailed surface morphology information. The light source control unit is responsible for adjusting the lighting conditions to reduce the impact of reflections and shadows on image quality, ensuring that the captured images are clear and accurate.

[0054] Mechanical transmission module: The mechanical transmission module is responsible for automatically and stably transmitting the battery cells to the bottom of the image capture unit for detection. The module uses a sophisticated mechanical design and transmission device to ensure that the battery cells are accurately and stably positioned during the transmission process, avoiding image blur or distortion caused by vibration or displacement.

[0055] 3D image processing module: The 3D image processing module pre-processes the collected 3D images to optimize the image data. This module includes an image denoising unit, a registration and alignment unit, and a geometric correction unit. The image denoising unit uses 3D image filtering technology to denoise and smooth the image to improve the clarity and contrast of the image. The registration and alignment unit is used to align the same object in different images to the same coordinate system in multi-view images to ensure the accuracy of subsequent processing. The geometric correction unit is used to correct the geometric distortion in the image, including the perspective deformation and distortion of the image, so that the image can more realistically and accurately reflect the actual morphology of the battery cell.

[0056] Machine Learning Module: The machine learning module is responsible for defect recognition of the cell images output by the 3D image processing module. This module builds a defect recognition model based on the deep learning algorithm, which can determine whether there are defects in the cell in the image and the number, location and type of defects. Through a large amount of data training and algorithm optimization, the model can achieve efficient and accurate defect recognition.

[0057] User interaction module: The user interaction module provides a graphical user interface for operators to interact with the system. The interface design includes a real-time image display window for displaying the cell images collected by the 3D vision sensor module; a defect list display area for listing the defect information identified by the machine learning module, including the number, location and type of defects; and a parameter setting panel that allows operators to adjust system detection parameters according to actual needs, such as lighting conditions, image preprocessing algorithm parameters and defect recognition thresholds.

[0058] Report generation module: The report generation module is responsible for organizing the data and results collected during the system inspection process into a report format for output. This module can automatically generate a detailed inspection report, including inspection time, cell information, defect details, etc., to facilitate operators to analyze and archive the inspection results.

[0059] The present invention uses a high-precision depth camera to collect 3D images of the battery cell welding area, and realizes automatic identification of defects through image processing, machine learning and other steps. It has the advantages of high efficiency, accuracy, and high degree of automation, and can significantly improve the production quality and efficiency of battery cells.

[0060] The present invention will be further described below in conjunction with Examples 1 to 3:

[0061] Embodiment 1:

[0062] The mechanical transmission module mainly includes three parts: battery cell fixing device, transmission guide rail and driving device.

[0063] The cell fixture is used to firmly clamp the cell to ensure that the cell does not move or shake during the transfer process. For example, the device can use a spring clamping mechanism to adapt to cells of different thicknesses and sizes by adjusting the preload of the spring to ensure that the clamping force is moderate and does not damage the cell. At the same time, soft materials such as rubber pads can also be set on the clamping mechanism to increase the stability of the clamping and protect the surface of the cell from being scratched.

[0064] The transmission rail is used to achieve the smooth transmission of the battery cells. The rail can be a high-precision linear rail, and its surface is precisely ground and polished to ensure the stability and accuracy of the battery cells during the transmission process. Components such as sliders and guide wheels can also be set on the rail to reduce friction resistance and improve the stability of transmission. In addition, the design of the rail also takes into account the needs of easy maintenance and replacement. For example, a modular design is adopted to facilitate the disassembly, cleaning and replacement of the rail.

[0065] The drive device is the power source of the mechanical transmission module. It is used to provide power and control the movement of the battery fixture along the transmission rail. The drive device can be a combination of a servo motor and a reducer to achieve precise positioning and speed control of the battery fixture by accurately controlling the speed and direction of the motor. For example, the servo motor can use a closed-loop control system to achieve precise position control of the battery fixture by feedback of position information through an encoder. The reducer can be a high-precision reducer such as a planetary reducer or a worm gear reducer to ensure accurate transmission ratio and high transmission efficiency.

[0066] In the actual working process, the drive device starts and drives the transmission rail to move. The operator places the battery cell on the fixture and firmly clamps the battery cell by adjusting the preload force of the clamping mechanism. As the transmission rail moves, the fixture carries the battery cell along a predetermined path to the bottom of the image capture unit. For example, after setting the transmission speed and path in the operation interface, the drive device is started, the servo motor starts to rotate and drives the transmission rail to move after being decelerated by the reducer. The battery cell fixture moves smoothly along the rail to transfer the battery cell to the bottom of the image capture unit for image acquisition and defect recognition. In this process, the mechanical transmission module can ensure the stability and accuracy of the battery cell, providing a reliable foundation for subsequent image acquisition and defect recognition.

[0067] Embodiment 2:

[0068] In the 3D image processing module, the image denoising unit is responsible for removing noise from the 3D image to improve the quality and clarity of the image. Gaussian filtering is a widely used image denoising technology, which obtains the denoised image through the convolution of a three-dimensional Gaussian kernel and the calculation of a three-dimensional Gaussian function. The three-dimensional Gaussian function is the core of this method, and its calculation formula is:

[0069]

[0070] Among them, x, y, z represent the coordinates of each voxel of the three-dimensional image in three-dimensional space, G(x, y, z) represents the coordinates of the voxel after the three-dimensional Gaussian function is calculated, σ is the standard deviation of the three-dimensional Gaussian function, e is the base of the natural logarithm, and π is the circumference of a circle. The specific denoising steps are as follows:

[0071] Step 1. Determine the standard deviation σ: Select an appropriate standard deviation σ value based on the noise level of the image and the desired degree of denoising. A larger σ value will result in a stronger denoising effect, but may also make the image too blurry. If the noise level in the image is low, a relatively small σ value can be selected to slightly remove the noise while preserving the image details as much as possible. For example, the σ value may be between 0.5 and 1.0. For images with moderate noise levels, a moderate σ value can be selected to balance the denoising effect and image detail preservation. For example, the σ value may be between 1.0 and 2.0.

[0072] Step 2: Construct a three-dimensional Gaussian kernel: According to the selected σ value, construct a three-dimensional Gaussian kernel. This kernel is a three-dimensional matrix, each element of which is calculated by a three-dimensional Gaussian function.

[0073] Step 3: Convolution operation: Convolve the constructed 3D Gaussian kernel with the original 3D image. This step is equivalent to sliding the Gaussian kernel over each voxel of the image and performing a weighted average of the surrounding voxels according to the weight in the kernel to obtain the denoised voxel value.

[0074] Step 4: Get the denoised image: Repeat the above convolution operation until all voxels in the image are processed. Finally, a denoised 3D image will be obtained, in which the noise is effectively removed and the important features of the image are retained.

[0075] The registration unit is a key part in multi-view 3D image processing. This unit is responsible for aligning the same object in images of different views to the same coordinate system. The following are the specific implementation steps of the registration unit:

[0076] Step 1: Collect 3D image data from multiple perspectives including the welding area of ​​the battery cell. This data can be obtained through a 3D scanner or other 3D imaging equipment to ensure that the image from each perspective contains the required welding area.

[0077] Step 2: Select an image from one perspective as a reference image, and transform the images from other perspectives to visually align them with the reference image.

[0078] Step 3: Extract key feature points from each image using a feature extraction algorithm. The key feature points are corner points and edge points in the image. After extracting the feature points, establish a correspondence between the feature points, that is, determine which feature points in different images represent the same physical location.

[0079] Step 4: Calculate the coordinate transformation matrix based on the correspondence between the feature points. The transformation matrix is ​​used to transform the feature points in the non-reference image into the coordinate system of the reference image. The coordinate transformation matrix is ​​calculated using the following formula: Among them, T is the coordinate transformation matrix, R is the rotation matrix, which represents the rotation relationship between images, and t is the translation vector, which represents the translation relationship between images. By solving this matrix, we can get the rotation and translation parameters required to align the non-reference image to the reference image.

[0080] Step 5: Apply the coordinate transformation matrix to transform the non-reference image. Use the previously calculated coordinate transformation matrix to update the coordinates of each pixel in the non-reference image so that it is aligned with the reference image. After completing this step, the same object in the multi-view images will be aligned to the same coordinate system.

[0081] The geometric correction unit uses a perspective transformation matrix to correct the image. The following are the specific implementation steps:

[0082] Step 1: Determine the perspective transformation matrix H, which is a 3x3 matrix whose elements are calculated by the direct linear transformation (DLT) algorithm. The DLT algorithm is an effective mathematical tool that can calculate the perspective transformation matrix based on corresponding points in the image.

[0083] Before calculating the perspective transformation matrix, some corresponding points in the image are selected, which are points that have clear positions in both the original image and the desired corrected image. For example, select the four corner points of a rectangle in the original image and specify the positions where these four corner points should correspond in the desired corrected image.

[0084] Step 2: Use the DLT algorithm to calculate the perspective transformation matrix H based on these corresponding points. The DLT algorithm takes into account the geometric relationships in the image and calculates the perspective transformation matrix that can best map these corresponding points. The perspective transformation matrix is ​​expressed as:

[0085]

[0086] Where H is the perspective transformation matrix, hij is the element in the matrix, which is calculated by the direct linear transformation DLT algorithm.

[0087] After obtaining the perspective transformation matrix H, it can be used to correct the image. The correction process involves applying the perspective transformation matrix to each pixel in the image to eliminate perspective deformation and distortion. Specifically, for each pixel in the image, its new coordinates in the corrected image are calculated based on its coordinates and the perspective transformation matrix.

[0088] Step 3: Rearrange the pixels in the image according to the calculated new coordinates to obtain a corrected image. This corrected image will eliminate the perspective deformation and distortion in the original image, making the objects in the image look more natural and real.

[0089] Suppose there is a 3D image of the welding area of ​​a battery cell taken from above, and the welding lines in the image appear curved due to perspective deformation. In order to correct this image, first select a rectangular area in the image, which contains the welding lines that need to be corrected. Specify the position and shape that this rectangular area should correspond to in the desired corrected image, that is, a standard rectangle. Use the DLT algorithm to calculate the perspective transformation matrix H based on the corresponding points of the two rectangular areas. Finally, apply this perspective transformation matrix to correct the original image to obtain a corrected image that eliminates perspective deformation and distortion, and the welding lines will appear more intuitive and accurate.

[0090] Embodiment 3:

[0091] The steps of constructing and training the defect recognition model by the machine learning module include:

[0092] Step 1. Build a 3D convolutional neural network model: Build a 3D convolutional neural network model, which consists of an input layer, multiple hidden layers, and multiple output layers. The input layer is responsible for receiving the pre-processed 3D cell image data, which is registered, aligned, and denoised to ensure image quality and consistency. The hidden layer is used to extract features from the image. Multiple output layers are designed to output the number, location, and type of defects to achieve comprehensive defect recognition.

[0093] Step 2: Prepare a training data set: In order to train the 3D convolutional neural network model, prepare a training data set containing a large number of 3D cell images. The images in the training data set have been marked with the number, location and type of defects to ensure that the model can learn accurate defect recognition capabilities. Types of welding defects include welding cracks, incomplete penetration, slag inclusions, pores, explosion points, pinholes, pits, bumps, polarization and black spots.

[0094] Step 3: Train the 3D convolutional neural network model: Use the prepared training data set to train the 3D convolutional neural network model. During the training process, the forward propagation algorithm is used to calculate the output of the model and compare it with the real mark. Then, the parameters of the model are adjusted by the back propagation algorithm to minimize the difference between the number, location and type of defects predicted by the output layer and the real mark. The above steps are iterated continuously until the performance of the model meets the production requirements.

[0095] Step 4: Evaluate the accuracy of model predictions: During the training process, a loss function is used to evaluate the accuracy of model predictions. The loss function can quantify the difference between the model predictions and the true labels and provide a basis for adjusting the model parameters. The model parameters are updated according to the gradient of the loss function to further optimize the performance of the model.

[0096] Step 5: Iterate training until the predetermined standard is reached: Repeat steps 3 and 4, continuously training and adjusting the model until the performance of the model on the validation set reaches the predetermined standard or the training reaches the predetermined number of iterations.

[0097] Step 6: Save the trained model: After the performance of the model on the validation set reaches the predetermined standard or the training reaches the predetermined number of iterations, save the trained model.

[0098] The method for evaluating the performance of the defect recognition model is to prepare a test data set containing cell images with known defect quantity, location and type. The test data set is independent of the training data set and is used to objectively evaluate the recognition ability of the model. Each image in the data set is accurately annotated to ensure the accuracy of the defect information. The images in the test data set are identified using the trained defect recognition model. The model outputs the predicted defect quantity, location and type in each image.

[0099] Compare the number, location, and type of defects predicted by the model with the number, location, and type of defects known in the test data set. By comparing the prediction results with the true annotations, the accuracy, recall, and F1 score of the model recognition can be calculated. Accuracy is the ratio of the number of defects correctly identified by the model to the total number of identified defects. Accuracy reflects the accuracy of model recognition. Recall is the ratio of the number of defects correctly identified by the model to the total number of true defects. Recall reflects the model's ability to detect defects. The F1 score is the harmonic mean of accuracy and recall. The F1 score comprehensively considers the accuracy and detection ability of the model and is a more comprehensive performance indicator. Based on the calculation results of accuracy, recall, and F1, the performance of the model can be objectively evaluated. If the accuracy, recall, and F1 score of the model are all high, it means that the model has good performance in the battery cell defect recognition task and can accurately identify the number, location, and type of defects. Conversely, if these indicators are low, the model structure or training process needs to be further optimized to improve its recognition ability.

[0100] Through the above method, the machine learning module can effectively identify welding defects in battery cells to improve product quality and reliability.

[0101] The report generation module designs a report template according to a predetermined format and structure, and the content of the template includes a cell image, defect recognition results, detection parameters and detection time.

[0102] In order to intuitively display the inspection object, the template contains the insertion position of the battery cell image. When the actual report is generated, the battery cell image obtained during the inspection will be inserted into the corresponding position.

[0103] The defect identification results list in detail all defects detected by the defect identification model, including information such as the number, location, type and possible severity of the defects.

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

[0105] 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. The battery cell micro-defect automatic identification system based on 3D machine vision is characterized by: include: 3D visual sensor module, used to obtain detailed surface morphology information of the battery cell; the 3D visual sensor module includes an image capture unit and a light source control unit. The image capture unit uses a high-precision depth camera to perform comprehensive 3D image acquisition of the battery cell welding area; the light source control unit is used to adjust the lighting conditions to reduce the impact of reflections and shadows on image quality; A mechanical transmission module is used to automatically and stably transfer the battery cells to the bottom of the image capture unit for inspection; A 3D image processing module is used to pre-process the collected 3D images and optimize the image data; the 3D image processing module includes an image denoising unit, a registration and alignment unit, and a geometric correction unit; the image denoising unit uses 3D image filtering technology to denoise and smooth the image; The image registration and alignment unit is used to align the same object in different images to the same coordinate system in the multi-view images; the geometric correction unit is used to correct the geometric distortion in the image, including the perspective deformation and distortion of the image; A machine learning module, used to identify defects in the cell images output by the 3D image processing module, wherein the machine learning module constructs a defect recognition model based on a deep learning algorithm, and the defect recognition model is used to determine whether there are defects in the cell in the image and the number, location and type of defects that exist; The user interaction module provides a graphical user interface for operators to interact with the system; the interface design includes a real-time image display window for displaying the cell images collected by the 3D vision sensor module; The defect list display area is used to list the defect information identified by the machine learning module, including the number, location, and type of defects; Parameter setting panel, used by operators to adjust system detection parameters, including lighting conditions, image preprocessing algorithm parameters and defect recognition thresholds; The report generation module is used to organize the data and results collected during the system detection process into a report format for output.

2. The automatic cell micro-defect recognition system based on 3D machine vision according to claim 1 is characterized in that: The mechanical transmission module includes a battery cell fixing device, a transmission guide rail and a driving device; the battery cell fixing device is used to firmly clamp the battery cell; the transmission guide rail is used to achieve smooth transmission of the battery cell; the driving device is used to provide power to control the battery cell fixing device to move along the transmission guide rail; The driving device starts and drives the transmission guide rail to move, the battery sheet is placed on the fixing device and is firmly clamped, and as the transmission guide rail moves, the fixing device carries the battery sheet and moves along a predetermined path to the bottom of the image capture unit.

3. The automatic identification system for micro-defects of battery cells based on 3D machine vision according to claim 2 is characterized in that: The image denoising unit uses Gaussian filtering to remove noise points in the 3D image, and obtains the denoised image by convolution of a three-dimensional Gaussian kernel and calculation of a three-dimensional Gaussian function. The calculation formula of the three-dimensional Gaussian function is: Among them, x, y, z represent the coordinates of each voxel of the three-dimensional image in the three-dimensional space, G(x, y, z) represents the coordinates of the voxel after the three-dimensional Gaussian function is calculated, σ is the standard deviation of the three-dimensional Gaussian function, e is the base of the natural logarithm, and π is the number of pi.

4. The automatic identification system for micro-defects of battery cells based on 3D machine vision according to claim 3 is characterized in that: The method by which the registration and alignment unit aligns the same object in the multi-view images to the same coordinate system is: i) Collecting 3D image data from multiple perspectives including the battery cell welding area; ii) Select an image from one perspective as a reference image, and transform the images from other perspectives to align them with the reference image; iii) Using feature extraction algorithms, key feature points are extracted from each image and the corresponding relationship between the feature points is established; iv) calculating a coordinate transformation matrix according to the correspondence between the feature points, where the coordinate transformation matrix is ​​used to transform the feature points in the non-reference image into the coordinate system of the reference image; v) applying a coordinate transformation matrix to transform the coordinates of the non-reference image, so as to align the same object in the multi-view images to the same coordinate system; The coordinate transformation matrix is ​​calculated using the following formula: Among them, T is the coordinate transformation matrix, R is the rotation matrix, which represents the rotation relationship between images, and t is the translation vector, which represents the translation relationship between images.

5. The automatic identification system for micro-defects of battery cells based on 3D machine vision according to claim 4 is characterized in that: The geometric correction unit corrects the image using a perspective transformation matrix to eliminate perspective deformation and distortion; the perspective transformation matrix is ​​expressed as: Where H is the perspective transformation matrix, h ij is the element in the matrix, which is calculated by the direct linear transformation DLT algorithm.

6. The automatic identification system for micro-defects of battery cells based on 3D machine vision according to claim 1 is characterized in that: The types of welding defects include welding cracks, incomplete penetration, slag inclusions, pores, explosion points, pinholes, pits, convex points, polarization and black spots.

7. The automatic identification system for micro-defects of battery cells based on 3D machine vision according to claim 6 is characterized in that: The steps of constructing and training the defect recognition model by the machine learning module include: Step 1: Construct a 3D convolutional neural network model, which includes an input layer, multiple hidden layers, and multiple output layers; the input layer is used to receive the preprocessed 3D cell image data; the hidden layer is used to extract image features; and the multiple output layers are used to output the number, location, and type of defects respectively; Step 2: Prepare a training dataset containing a large number of 3D cell images labeled with the number, location, and type of defects; Step 3: Use the training data set to train the 3D convolutional neural network model, and adjust the model parameters through forward propagation and back propagation algorithms to minimize the difference between the number, location, and type of defects predicted by the output layer and the actual labels; Step 4: During the training process, an appropriate loss function is used to evaluate the accuracy of the model prediction and the model parameters are updated according to the gradient of the loss function. Step 5: Repeat steps 3 and 4 until the performance of the model on the validation set reaches the predetermined standard or the training reaches the predetermined number of iterations; Step 6: Save the trained model for subsequent cell defect identification.

8. The automatic identification system for micro-defects of battery cells based on 3D machine vision according to claim 7, characterized in that: The method for evaluating the performance of the defect recognition model is as follows: prepare a test data set containing battery cell images with known defect numbers, locations and types; use the trained defect recognition model to perform defect recognition on the images in the test data set to obtain the number, location and type of defects predicted by the model; compare the number, location and type of defects predicted by the model with the number, location and type of defects known in the test data set, and calculate the accuracy, recall and F1 score of the model recognition; and evaluate the performance of the model based on the calculation results of the accuracy, recall and F1 score.

9. The automatic identification system for micro-defects of battery cells based on 3D machine vision according to claim 1, characterized in that: The report generation module designs a report template according to a predetermined format and structure, and the content of the template includes a cell image, defect recognition results, detection parameters and detection time.

Citation Information

Patent Citations

  • Pipeline defect detecting, positioning and ranging system based on binocular stereoscopic vision

    CN115272271A

  • Automobile stamping part defect detection system and method

    CN116840242A

  • Plastic master batch quality inspection method and system based on machine vision

    CN117095005A

  • Photovoltaic module defect detection method and system based on binocular vision

    CN117788400A

  • Defect detection system based on visual identification technology

    CN118470005A

Cited By

  • Visual inspection system for appearance defects of pressure sensor

    CN119198754A

  • On-line detection method and system for coating quality of automobile skylight glass

    CN119915841A

  • Intelligent detection method and system of battery detection equipment based on image recognition

    CN121599975A

  • Intelligent detection method and system of battery detection equipment based on image recognition

    CN121599975B