A fully automatic online nondestructive testing method for lithium battery cells

Through the fully automatic online non-destructive testing method, the use of trays and micro-focus X-ray sources combined with advanced algorithms solves the problem of difficulty in detecting damage and identification of bare battery cells in the existing technology, achieving efficient and accurate lithium battery cell detection, and improving lithium battery performance. Battery stability.

CN114594114BActive Publication Date: 2024-09-20GOOD VISION PRECISION INSTR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210231878.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-09
Publication Date
2024-09-20
Estimated Expiration
2042-03-09

AI Technical Summary

Technical Problem

Existing lithium battery detection methods require grabbing bare cells, which results in damage to the isolation film and deformation of the tabs. The imaging of the wound cells is blurred, making software identification difficult, affecting detection accuracy and lithium battery stability.

Method used

A fully automatic online non-destructive testing method is adopted. Bare batteries are placed on a pallet, and micro-focus X-ray sources and dynamic detectors are used for detection. Algorithms such as Gaussian filtering, SIFT features, and deep learning convolutional neural networks are combined to identify the cathode and anode of the battery core. Line segment and curl features avoid contact damage and improve detection accuracy.

Benefits of technology

It achieves efficient identification of the curling and stacking conditions of the battery core without damaging the bare battery core, improves detection accuracy and work efficiency, and avoids damage to the bare battery core and detection errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114594114B
    Figure CN114594114B
Patent Text Reader

Abstract

The present invention discloses a fully automatic online nondestructive testing method for lithium battery cells. In the case of no contact with the battery, no damage will be caused to the wound bare battery cells. The bare battery cells are placed on a tray, which increases the working efficiency of the machine (two or more batteries can be placed at the same time). The bare battery cells are directly irradiated with X-rays to avoid damage to the bare battery cells. A software algorithm is used to identify whether one battery is curled or stacked at its four corners, thereby detecting the alignment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of lithium battery cell detection, and in particular to a fully automatic online nondestructive detection method for lithium battery cells. Background Art

[0002] The composition of lithium-ion secondary rechargeable batteries is as follows: battery cell + protection circuit board. The battery cell is the power storage part of the rechargeable battery after removing the protection circuit board. The quality of the battery cell directly determines the quality of the rechargeable battery.

[0003] With the country's emphasis on environmental protection, the new energy industry has benefited greatly. In particular, the production capacity and energy supply of lithium-ion power batteries for new energy vehicles have increased. Lithium-ion power batteries are the most widely used type of batteries due to their large storage capacity and long life. The core manufacturing process of lithium-ion batteries is divided into lamination process and winding process. Winding batteries have simple production control, large factory output, and high market penetration.

[0004] The existing lithium battery inspection requires the cell to be grabbed, sucked or turned over. During the X-ray inspection, the bare cell has not yet been capped (thermal packaging). Grabbing the bare cell can easily cause damage to the isolation film and deformation of the tabs. The process of grabbing the bare cell increases the movement of the whole machine and prolongs the whole machine cycle.

[0005] At the same time, the X-ray side imaging of the wound battery cell is fuzzy, and the software algorithm cannot recognize it. The more layers of the bare battery cell are wound, the fuzzier the imaging is, and the more difficult it is for the software to recognize it. In the subsequent processing and packaging, the slight error of the wound battery cell will also affect the stability of the lithium battery. Summary of the invention

[0006] The main purpose of the present invention is to propose a fully automatic online nondestructive testing method for lithium batteries, which aims to avoid damaging the batteries by grabbing them by changing the detection method of the bare batteries, and at the same time improve the detection accuracy of the bare batteries by changing the software algorithm.

[0007] To achieve the above object, the present invention proposes a fully automatic online nondestructive testing method for lithium batteries, comprising:

[0008] S1: Place the bare battery cells on the tray, and the material gripper clamps the tray to the incoming material conveyor line;

[0009] S2: The incoming material conveyor line conveys the pallet to the barcode scanning station and stops, and the barcode scanning station obtains the battery barcode;

[0010] S3: After obtaining the battery barcode, the battery barcode is transported to a detection device, wherein the detection device includes a micro-focus application dynamic detector and a micro-focus X-ray source;

[0011] S4: The micro-focus X-ray source emits X-rays, which penetrate the first corner of the bare cell or scan the remaining corners in sequence. The micro-focus uses a dynamic detector to obtain image data for background correction, gain correction, and defect correction, and then transmits it to the industrial computer for algorithm flow;

[0012] S5: Algorithm flow:

[0013] 1. First, analyze the image imaging effect and determine whether it meets the requirements;

[0014] 2. When in normal state, the image is processed by Gaussian filtering;

[0015] 3. Obtain the corresponding pixel value after Gaussian filtering of the image;

[0016] 4. Obtain the ROI area position according to the battery position, that is, use the mask technology to extract the bare battery cathode line segment in the ROI area of ​​the pure color background image;

[0017] 5. Filter abnormal cathode line segments according to grayscale mean and variance;

[0018] 6. Extract the cathode line segment directional gradient histogram and preliminarily locate the endpoint of the cathode line segment;

[0019] 7. Extract the SIFT features of the cathode segment and preliminarily locate the endpoints of the anode segment;

[0020] S6: According to steps 6 and 7 in S5, the image curling features are extracted, the multi-scale recognition results are integrated with ZF morphological statistics, and the results are calculated.

[0021] Preferably, in S5, 1. first, a filtering operation is performed on the sample image to reduce noise; 2. the gradient direction and gradient amplitude of the filtered image are calculated, and a gradient map is generated; 3. a binarization operation is performed according to the grayscale features of the gradient image.

[0022] Preferably, in step 2 of S5,

[0023] When the image is normal: 1. When the image is blurred, the image enhancement component performs image enhancement processing on the image;

[0024] 2. When the image is overexposed, the global grayscale is weakened;

[0025] 3. Enhance global contrast when the image is underexposed;

[0026] 4. When the lighting is uneven, histogram equalization is performed.

[0027] Preferably, in steps 6 and 7 of S5:

[0028] 1. Extract the edge between the anode layers through edge extraction;

[0029] 2. Eliminate the non-extending anode and cathode edges by using the gradient linear regression method;

[0030] 3. Based on the remaining edge lines in step 2, calculate the vertices of the anode through KMEAN cluster analysis.

[0031] Preferably, in steps 6 and 7 of S5, the following are obtained: ① locating the ROI region position according to the battery position; ② locating the ROI region position according to the battery position.

[0032] Preferably, according to ① and ②, ZF geometric morphology and statistical algorithms are used to accurately locate the anode and cathode points.

[0033] Preferably, after precise positioning, a deep learning ultra-high-level convolutional neural network model is loaded, and graphic convolution features are extracted to obtain image curling features.

[0034] Preferably, a final result is generated, and an existing neural network model is trained based on the result to obtain a database.

[0035] The technical solution of the present invention does not cause damage to the bare cells without contacting the batteries. The bare cells are placed on a tray, which increases the working efficiency of the machine (two or more cells can be placed at the same time). The bare cells are directly irradiated with X-rays, and a software algorithm is used to identify one battery and detect whether the four corners are curled or stacked, thereby avoiding damage to the bare cells. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 It is a flow chart of the present invention;

[0037] Figure 2 It is step 6 in S5;

[0038] Figure 3 It is step 7 in S5;

[0039] Figure 4 The first embodiment of the qualified image;

[0040] Figure 5 The second embodiment of the qualified image;

[0041] Figure 6 The first embodiment of the unqualified image;

[0042] Figure 7 This is the second embodiment of the unqualified image. DETAILED DESCRIPTION

[0043] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. 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.

[0044] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back, top, bottom, inside, outside, vertical, horizontal, longitudinal, counterclockwise, clockwise, circumferential, radial, axial...), then the directional indication is only used to explain the relative position relationship, movement status, etc. between the components in a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0045] In addition, if there are descriptions involving "first" or "second" etc. in the embodiments of the present invention, the descriptions of "first" or "second" etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0046] like Figures 1 to 6 As shown, a fully automatic online nondestructive testing method for lithium battery cells includes:

[0047] S1: Place the bare battery cells on the tray, and the material gripper clamps the tray to the incoming material conveyor line;

[0048] S2: The incoming material conveyor line conveys the pallet to the barcode scanning station and stops, and the barcode scanning station obtains the battery barcode;

[0049] S3: After obtaining the battery barcode, the barcode is transmitted to a detection device, wherein the detection device includes an image enhancement component and a flat panel detector;

[0050] S3: After obtaining the battery barcode, the battery barcode is transported to a detection device, wherein the detection device includes a micro-focus application dynamic detector and a micro-focus X-ray source (so as to obtain a multi-dimensional image);

[0051] S4: The micro-focus X-ray source emits X-rays, which penetrate the first corner of the bare cell or scan the remaining corners in sequence. The micro-focus uses a dynamic detector to obtain image data for background correction, gain correction, and defect correction, and then transmits it to the industrial computer for algorithm flow;

[0052] S5: Algorithm flow:

[0053] 1. First, analyze the image imaging effect and determine whether it meets the requirements;

[0054] 2. When in normal state, the image is processed by Gaussian filtering;

[0055] 3. Obtain the corresponding pixel value after Gaussian filtering of the image;

[0056] 4. Obtain the ROI area position according to the battery position, that is, use the mask technology to extract the bare battery cathode line segment in the ROI area of ​​the pure color background image;

[0057] 5. Filter abnormal cathode line segments according to grayscale mean and variance;

[0058] 6. Extract the directional gradient histogram of the cathode line segment and preliminarily locate the endpoint of the cathode line segment;

[0059] 7. Extract the SIFT features of the cathode segment and preliminarily locate the endpoints of the anode segment;

[0060] S6: According to steps 6 and 7 in S5, the image curling features are extracted, the multi-scale recognition results are integrated with ZF morphological statistics, and the results are calculated.

[0061] In the embodiment of the present invention, in S5, 1. first, a filtering operation is performed on the sample image to reduce noise; 2. the gradient direction and gradient amplitude of the filtered image are calculated, and a gradient map is generated; 3. a binarization operation is performed according to the grayscale features of the gradient image.

[0062] In the embodiment of the present invention, in step 2 in S5,

[0063] When the image is normal: 1. When the image is blurred, the image enhancement component performs image enhancement processing (such as color adjustment) on the image;

[0064] 2. When the image is overexposed, the global grayscale is weakened;

[0065] 3. Enhance global contrast when the image is underexposed;

[0066] 4. When the lighting is uneven, histogram equalization is performed.

[0067] In the embodiment of the present invention, in steps 6 and 7 of S5:

[0068] 1. Extract the edge between the anode layers through edge extraction;

[0069] 2. Eliminate the non-extending anode and cathode edges by using the gradient linear regression method;

[0070] 3. Based on the remaining edge lines in step 2, calculate the vertices of the anode through KMEAN cluster analysis.

[0071] In the embodiment of the present invention, in steps 6 and 7 of S5, the following are obtained: ① locating the ROI region position according to the battery position; ② locating the ROI region position according to the battery position.

[0072] In the embodiment of the present invention, according to ① and ②, ZF geometric morphology and statistical algorithms are used to accurately locate the anode and cathode points.

[0073] In an embodiment of the present invention, after precise positioning, a deep learning ultra-high-level convolutional neural network model is loaded, and graphic convolution features are extracted to obtain image curling features.

[0074] In an embodiment of the present invention, a final result is generated, and an existing neural network model is trained based on the result to obtain a database.

[0075] Gaussian filtering is a linear smoothing filter that is suitable for eliminating Gaussian noise and is widely used in the noise reduction process of image processing. Gaussian filtering is the process of weighted averaging the entire image. The value of each pixel is obtained by weighted averaging the value of itself and other pixels in the neighborhood. The specific operation of Gaussian filtering is: use a template (or convolution, mask) to scan each pixel in the image, and use the weighted average grayscale value of the pixels in the neighborhood determined by the template to replace the value of the central pixel of the template.

[0076] Image region of interest (ROI) extraction uses mask technology to extract the cathode and anode segments of the battery cell in the ROI area of ​​the pure color background image;

[0077] 1. cv2.cvtColor(img, cv2.COLOR_BGR2HSV) function

[0078] img is the original image to be converted to color space

[0079] cv2.COLOR_BGR2HSV converts the original image RGB color space to HSV color space;

[0080] 2. cv2.inRange(hsv, (h_min, s_min, v_min), (h_max, s_max, v_max)) function, cv2.inRange function can obtain a binary mask image of different colors by setting different min and max thresholds of h, s, and v;

[0081] 3. cv.bitwise_and(img1, img2, mask), cv.bitwise_or(img1, img2, mask) and cv.bitwise_not(img) The first function is the bitwise AND operation function, which performs bitwise AND operation on the three components R, G, and B of img1 and img2 in the mask area. The second function is the bitwise OR operation function, which performs bitwise OR operation on the three components R, G, and B of img1 and img2 in the mask area. The third function is the bitwise inversion operation function, which performs bitwise inversion operation on the three components R, G, and B of img;

[0082] 4. The cv.add(img1, img2) function adds img1 and img2. The sizes of img1 and img2 must be the same.

[0083] HOG feature is a feature descriptor used for object detection in computer vision and image processing. It constructs features by calculating and counting the gradient direction histogram of the local area of ​​the image. Hog feature combined with SVM classifier has been widely used in image recognition. In an image, the appearance and shape of the local target can be well described by the directional density distribution of the gradient or edge. (Essence: statistical information of the gradient, and the gradient mainly exists at the edge). First, the image is divided into small connected areas, which we call cell units. Then the gradient or edge direction histogram of each pixel in the cell unit is collected. Finally, these histograms are combined to form a feature descriptor. These local histograms are contrast-normalized in a larger range of the image (we call it an interval or block). The method used is: first calculate the density of each histogram in this interval (block), and then normalize each cell unit in the interval according to this density. After this normalization, better effects can be obtained for lighting changes and shadows. It can maintain good invariance to geometric and optical deformations of the image, which only appear in a larger spatial domain. Secondly, the cathode and anode segments can be accurately obtained under the conditions of coarse spatial sampling, fine directional sampling and strong local optical normalization.

[0084] The HOG feature extraction method is to take an image (the target or scanning window you want to detect):

[0085] 1) Grayscale (treat the image as a three-dimensional image of x, y, z (grayscale));

[0086] 2) Use the Gamma correction method to standardize the color space of the input image; the purpose is to adjust the contrast of the image, reduce the impact of local shadows and lighting changes in the image, and suppress noise interference;

[0087] 3) Calculate the gradient (including size and direction) of each pixel in the image; this is mainly to capture contour information while further weakening the interference of lighting;

[0088] 4) Divide the image into small cells (e.g. 6*6 pixels / cell);

[0089] 5) Count the gradient histogram of each cell (the number of different gradients) to form the descriptor of each cell;

[0090] 6) Every few cells are grouped into a block (for example, 3*3 cells / block), and the feature descriptors of all cells in a block are concatenated to obtain the HOG feature descriptor of the block.

[0091] 7) Connect the HOG feature descriptors of all blocks in the image in series to get the HOG feature descriptor of the image (the target you want to detect). This is the final feature vector that can be used for classification.

[0092] (1) Standardized gamma space and color space

[0093] In order to reduce the influence of lighting factors, the entire image needs to be normalized first. In the texture intensity of the image, the local surface exposure contributes a large proportion, so this compression process can effectively reduce the local shadows and lighting changes in the image. Because color information is not very useful, it is usually converted into a grayscale image first;

[0094] (2) Calculate image gradient

[0095] Calculate the gradient of the image in the horizontal and vertical directions, and calculate the gradient direction value of each pixel position based on this; the derivative operation can not only capture the contour, human shadow and some texture information, but also further weaken the influence of lighting.

[0096] The most commonly used method is: first use the [-1,0,1] gradient operator to perform a convolution operation on the original image to obtain the gradient component gradscalx in the x direction (horizontal direction, with the right as the positive direction), then use the [1,0,-1]T gradient operator to perform a convolution operation on the original image to obtain the gradient component gradscaly in the y direction (vertical direction, with the upward direction as the positive direction). Then use the above formula to calculate the gradient size and direction of the pixel.

[0097] Descriptive statistics is a discipline that studies how to obtain data that reflect objective phenomena, and processes and displays the collected data in the form of charts and graphs, and then derives the regular quantitative characteristics that reflect objective phenomena through comprehensive summary and analysis.

[0098] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the inventive concept of the present invention, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present invention.

Claims

1. A fully automatic online nondestructive testing method for lithium batteries. It is characterized in that include: S1: Place the bare battery cells on the tray, and the material gripper clamps the tray to the incoming material conveyor line; S2: The incoming material conveyor line conveys the pallet to the barcode scanning station and stops, and the barcode scanning station obtains the battery barcode; S3: After obtaining the battery barcode, the battery barcode is transported to a detection device, wherein the detection device includes a micro-focus application dynamic detector and a micro-focus X-ray source; S4: The micro-focus X-ray source emits X-rays, which penetrate the first corner of the bare cell or scan the remaining corners in sequence. The micro-focus uses a dynamic detector to obtain image data for background correction, gain correction, and defect correction, and then transmits it to the industrial computer for algorithm flow; S5: Algorithm flow:

1. First, analyze the image imaging effect and determine whether it meets the requirements; 2. When in normal state, the image is processed by Gaussian filtering; 3. Obtain the corresponding pixel value after Gaussian filtering of the image; 4. Obtain the ROI area position according to the battery position, that is, use the mask technology to extract the bare battery cathode line segment in the ROI area of ​​the pure color background image; 5. Filter abnormal cathode line segments according to grayscale mean and variance; 6. Extract the directional gradient histogram of the cathode line segment and preliminarily locate the endpoint of the cathode line segment; 7. Extract the SIFT features of the cathode segment and preliminarily locate the endpoints of the anode segment; S6: According to steps 6 and 7 in S5, the image curling features are extracted, the multi-scale recognition results are integrated with ZF morphological statistics, and the results are calculated.

2. The fully automatic online nondestructive testing method for lithium batteries as claimed in claim 1, Features: In S5, 1. first, a filtering operation is performed on the sample image to reduce noise; 2. Calculate the gradient direction and gradient amplitude of the filtered image and generate a gradient map; 3. Perform binarization operation based on the grayscale features of the gradient image.

3. The fully automatic online nondestructive testing method for lithium batteries as claimed in claim 1, Features: In step 2 of S5, When the image is normal:

1. When the image is blurred, the image enhancement component performs image enhancement processing on the image; 2. When the image is overexposed, the global grayscale is weakened; 3. Enhance global contrast when the image is underexposed; 4. When the lighting is uneven, histogram equalization is performed.

4. The fully automatic online nondestructive testing method for lithium batteries as claimed in claim 1, Features: In steps 6 and 7 of S5 shown:

1. Extract the edge between the anode layers through edge extraction; 2. Eliminate the non-extending anode and cathode edges by using the gradient linear regression method; 3. Based on the remaining edge lines in step 2, calculate the vertices of the anode through KMEAN cluster analysis.

5. The fully automatic online nondestructive testing method for lithium batteries as claimed in claim 1, Features: In steps 6 and 7 of S5 shown in FIG. 1 , the following are obtained: ① locating the ROI region position according to the battery position; ② locating the ROI region position according to the battery position.

6. The fully automatic online nondestructive testing method for lithium batteries as claimed in claim 5, Features: According to ① and ②, ZF geometric morphology and statistical algorithms are used to accurately locate the positive and negative poles.

7. The fully automatic online nondestructive testing method for lithium batteries as claimed in claim 6, Features: After precise positioning, the deep learning ultra-high-level convolutional neural network model is loaded, and the graphic convolution features are extracted to obtain the image curling features.

8. The fully automatic online nondestructive testing method for lithium batteries as claimed in claim 7, Features: Generate the final result, train the existing neural network model based on the result, and obtain the database.