Battery cell inspection method and apparatus, electronic device, and storage medium

By acquiring multiple cell projection images for three-dimensional reconstruction and slicing, the problem of unclear imaging and low efficiency in cell detection is solved, achieving more accurate and efficient detection.

WO2024222811A1PCT designated stage expired Publication Date: 2024-10-31WUXI LEAD INTELLIGENT EQUIP CO LTD

Patent Information

Application Number
PCT/CN2024/089869
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-28
Filing Date
2024-04-25
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

When using existing battery cell detection methods to detect defects in lithium battery cells after hot pressing, conventional projection imaging is easily interfered by the tabs, resulting in unclear imaging. Moreover, the industrial CT system requires a complete 360-degree scan, a large amount of data, and three-dimensional reconstruction. The construction is time-consuming and inefficient.

Method used

By acquiring multiple cell projection images from different angles, three-dimensional reconstruction is performed, and slices are sliced ​​in the preset direction to determine the detection results and improve the accuracy and efficiency of detection.

Benefits of technology

It achieves accurate three-dimensional reconstruction and detection of the area of ​​interest of the battery cell, reduces the three-dimensional reconstruction time, improves detection efficiency, avoids complete reconstruction of the entire battery cell, and reconstructs only the area of ​​interest.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024089869_31102024_PF_FP_ABST
    Figure CN2024089869_31102024_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure provide a battery cell inspection method and apparatus, an electronic device, and a storage medium. The method comprises: acquiring a plurality of battery cell projected images, the plurality of battery cell projected images corresponding to a plurality of projection angles, and the battery cell projected images comprising a region of interest of a battery cell; performing three-dimensional reconstruction on the region of interest according to the plurality of battery cell projected images and the projection angles corresponding to the battery cell projected images, to obtain a three-dimensional image corresponding to the region of interest; slicing the three-dimensional image according to a preset direction, to obtain a slice image corresponding to the preset direction; and determining an inspection result of the battery cell according to the slice image.
Need to check novelty before this filing date? Find Prior Art

Description

Battery cell detection method, device, electronic device and storage medium

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on April 28, 2023, with application number 202310492934.0, and application name “Battery Cell Detection Method, Device, Electronic Device and Storage Medium”, all contents of which are incorporated by reference into this application. Technical Field

[0002] The present disclosure relates to the technical field of battery cell detection, and in particular to a battery cell detection method, device, electronic equipment, and storage medium. Background Art

[0003] In the manufacturing of lithium battery cells, defect detection of hot-pressed cells is a key step in cell process quality inspection. Conventional inspection methods allow for the detection of defects by photographing the cells without damaging them. Conventional imaging methods use projection, but are susceptible to interference from the tabs of laminated cells, resulting in unclear images and inaccurate cell inspection results. Conventional industrial CT (Computed Tomography) systems typically require a full 360-degree scan of the cell, followed by three-dimensional reconstruction of the data obtained. This method requires a large amount of data to be collected, and the three-dimensional reconstruction of the cell is time-consuming, resulting in low cell inspection efficiency.

[0004] Summary of the Invention

[0005] The embodiments of the present disclosure provide a battery cell detection method, device, electronic device, and storage medium, which can improve the accuracy and efficiency of battery cell detection.

[0006] According to a first aspect of an embodiment of the present disclosure, a battery cell detection method is provided, the method comprising:

[0007] Acquire a plurality of battery cell projection images, where the plurality of battery cell projection images correspond to a plurality of projection angles of the battery cell, and the battery cell projection images include a region of interest of the battery cell;

[0008] Performing three-dimensional reconstruction on a region of interest of the battery cell according to the multiple battery cell projection images and the projection angle corresponding to each of the battery cell projection images to obtain a three-dimensional image corresponding to the region of interest of the battery cell;

[0009] Slicing the three-dimensional image in a preset direction to obtain a slice image corresponding to the preset direction;

[0010] Determine the detection result of the battery cell according to the slice image.

[0011] Optionally, performing three-dimensional reconstruction on the region of interest of the battery cell according to the multiple battery cell projection images to obtain a three-dimensional image corresponding to the region of interest of the battery cell includes:

[0012] Performing filtering on the plurality of battery cell projection images to obtain filtered images corresponding to the plurality of battery cell projection images respectively;

[0013] The region of interest of the battery cell is three-dimensionally reconstructed according to the filtered images respectively corresponding to the multiple battery cell projection images to obtain a three-dimensional image corresponding to the region of interest of the battery cell.

[0014] Optionally, the battery cell is placed on a rotating platform, and an imaging device is provided around the rotating platform, the imaging device is used to collect the multiple battery cell projection images, and the three-dimensional reconstruction of the region of interest of the battery cell is performed according to the multiple battery cell projection images and the projection angle corresponding to each of the battery cell projection images to obtain a three-dimensional image corresponding to the region of interest of the battery cell, including:

[0015] Acquiring preset position information corresponding to the imaging device and relative position information between the imaging device and the rotating platform;

[0016] According to the multiple cell projection images, the projection angle corresponding to each cell projection image, the preset position information and the relative position information, the region of interest of the cell is three-dimensionally reconstructed to obtain a three-dimensional image corresponding to the region of interest of the cell.

[0017] Optionally, the performing three-dimensional reconstruction on the region of interest of the battery cell according to the multiple battery cell projection images, the projection angle corresponding to each of the battery cell projection images, the preset position information, and the relative position information to obtain a three-dimensional image corresponding to the region of interest of the battery cell includes:

[0018] extracting image features of each of the cell projection images;

[0019] The region of interest of the cell is three-dimensionally reconstructed according to the image features and projection angle corresponding to each cell projection image, the preset position information, and the relative position information to obtain a three-dimensional image corresponding to the region of interest of the cell.

[0020] Optionally, the rotating platform drives the battery cell to rotate; and before performing three-dimensional reconstruction on the region of interest of the battery cell based on the multiple battery cell projection images, the projection angle corresponding to each of the battery cell projection images, the preset position information, and the relative position information to obtain a three-dimensional image corresponding to the region of interest of the battery cell, the method further includes:

[0021] Acquire a target rotation angle corresponding to each of the battery cell projection images, where the target rotation angle is the angle at which the rotating platform rotates when the imaging device captures the battery cell projection image; wherein the target rotation angle is within a preset rotation range;

[0022] The projection angle corresponding to each of the battery cell projection images is determined according to the target rotation angle corresponding to each of the battery cell projection images.

[0023] Optionally, the performing three-dimensional reconstruction on the region of interest of the battery cell according to the multiple battery cell projection images, the projection angle corresponding to each of the battery cell projection images, the preset position information, and the relative position information to obtain a three-dimensional image corresponding to the region of interest of the battery cell includes:

[0024] determining target position information of the region of interest of the battery cell in each of the battery cell projection images in three-dimensional space according to the projection angle corresponding to each of the battery cell projection images;

[0025] determining, according to the plurality of battery cell projection images and target position information corresponding to each battery cell projection image, a portion of three-dimensional pixel points corresponding to a region of interest of the battery cell in the three-dimensional space;

[0026] Determining the inclination angle of the battery cell according to the target battery cell projection image and the target rotation angle corresponding to the target battery cell projection image; wherein the inclination angle is the angle at which the battery cell is tilted relative to the vertical direction, and the target battery cell projection image is any battery cell projection image whose corresponding target rotation angle is not a preset angle;

[0027] The region of interest of the cell is partially 3D reconstructed according to the partial 3D pixel points, the tilt angle of the cell, the preset position information and the relative position information to obtain a 3D image corresponding to the region of interest of the cell.

[0028] Optionally, determining the tilt angle of the battery cell according to the target battery cell projection image and the target rotation angle corresponding to the target battery cell projection image includes:

[0029] Identify a projection area corresponding to a cell in the target cell projection image, and determine a projection tilt angle of the cell based on the projection area, where the projection tilt angle of the cell is an angle formed by projecting the tilt angle of the cell onto the target cell projection image;

[0030] The tilt angle of the battery cell is determined according to the projection tilt angle and a target rotation angle corresponding to the target battery cell projection image.

[0031] Optionally, determining the detection result of the battery cell according to the slice image includes: inputting the slice image into a trained artificial intelligence model, and performing electrode area recognition on the slice image by the artificial intelligence model to obtain the positive electrode area of ​​the battery cell and the negative electrode area of ​​the battery cell in the slice image, wherein the artificial intelligence model is trained based on a sample image set, and the sample image set includes a plurality of sample images divided into positive electrode areas and negative electrode areas;

[0032] Determining the alignment of the electrode sheets of the battery cell according to the positive electrode sheet area of ​​the battery cell and the negative electrode sheet area of ​​the battery cell;

[0033] The detection result of the battery cell is determined according to the alignment of the electrode pieces.

[0034] Optionally, the preset direction includes a first preset direction and a second preset direction, the first preset direction corresponds to a length direction of the battery cell, and the second preset direction corresponds to a width direction of the battery cell; slicing the three-dimensional image according to the preset direction to obtain a slice image corresponding to the preset direction includes:

[0035] Slicing the three-dimensional image according to the first preset direction to obtain a first slice image corresponding to the first preset direction;

[0036] Slicing the three-dimensional image according to the second preset direction to obtain a second slice image corresponding to the second preset direction;

[0037] The step of determining the alignment of the electrode sheets of the battery cell according to the positive electrode sheet area and the negative electrode sheet area of ​​the battery cell comprises:

[0038] determining a first electrode sheet alignment of the battery cell according to a positive electrode sheet region of the battery cell and a negative electrode sheet region of the battery cell in the first slice image, wherein the first electrode sheet alignment includes a portion of the negative electrode sheet that exceeds the positive electrode sheet in the length direction;

[0039] The second electrode sheet alignment of the battery cell is determined according to the positive electrode sheet area and the negative electrode sheet area of ​​the battery cell in the second slice image, where the second electrode sheet alignment includes the portion of the negative electrode sheet that exceeds the positive electrode sheet in the width direction.

[0040] According to a second aspect of an embodiment of the present disclosure, a battery cell detection device is provided, the device comprising:

[0041] An image acquisition module is used to acquire a plurality of battery cell projection images, wherein the plurality of battery cell projection images correspond to a plurality of projection angles of the battery cell, and the battery cell projection images include a region of interest of the battery cell;

[0042] an image reconstruction module, configured to perform three-dimensional reconstruction of the region of interest of the battery cell according to the multiple battery cell projection images and the projection angle corresponding to each of the battery cell projection images, so as to obtain a three-dimensional image corresponding to the region of interest of the battery cell;

[0043] An image slicing module, configured to slice the three-dimensional image in a preset direction to obtain a slice image corresponding to the preset direction;

[0044] An image detection module is used to determine a detection result of the battery cell based on the slice image.

[0045] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:

[0046] a memory storing executable program code;

[0047] a processor coupled to the memory;

[0048] The processor calls the executable program code stored in the memory to execute the method according to the first aspect of the embodiment of the present disclosure.

[0049] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, which stores a computer program, wherein when the computer program is executed by a processor, the processor causes the processor to execute the method described in the first aspect of the embodiment of the present disclosure.

[0050] Through the battery cell detection method, device, electronic device and storage medium provided by the embodiments of the present disclosure, the electronic device can obtain multiple battery cell projection images, which correspond to multiple acquisition angles of the battery cell, and the battery cell projection images include the battery cell's region of interest. The electronic device can perform three-dimensional reconstruction of the battery cell projection area based on the multiple battery cell projection images to obtain a three-dimensional image corresponding to the battery cell's region of interest, and can slice the three-dimensional image according to a preset direction to obtain a slice image corresponding to the preset direction. The battery cell detection result is then determined based on the slice image. After using the multiple battery cell projection images to perform three-dimensional reconstruction of the battery cell's region of interest, the obtained three-dimensional image has more accurate and comprehensive battery cell information than the two-dimensional image obtained by projection. The slice image is obtained according to the preset direction, and the slice image can also be made more accurate than the two-dimensional image obtained by projection, thereby improving the accuracy of battery cell detection. There is no need to reconstruct the entire battery cell, but only the battery cell's region of interest is reconstructed, which also reduces the time required for three-dimensional reconstruction and improves the efficiency of battery cell detection. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0052] FIG1-A is a schematic diagram of an electrode piece of a battery cell provided in an embodiment of the present disclosure;

[0053] FIG1-B is a schematic diagram of an application scenario of a battery cell detection method provided by an embodiment of the present disclosure;

[0054] FIG2 is a schematic flow chart of a battery cell detection method provided by an embodiment of the present disclosure;

[0055] FIG3 is a schematic diagram of an application scenario of electrode alignment detection for a battery cell provided by an embodiment of the present disclosure;

[0056] FIG4 is a schematic flow chart of another battery cell detection method provided by an embodiment of the present disclosure;

[0057] FIG5 is a schematic diagram of an inclination angle of a battery cell provided by an embodiment of the present disclosure;

[0058] FIG6-A is a schematic diagram of a first slice image provided by an embodiment of the present disclosure;

[0059] FIG6-B is a schematic diagram of a second slice image provided by an embodiment of the present disclosure;

[0060] FIG7 is a modular schematic diagram of a battery cell detection device provided by an embodiment of the present disclosure;

[0061] FIG8 is a structural block diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0062] The following will be combined with the accompanying drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the embodiments described are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without making any creative efforts are within the scope of protection of the present disclosure.

[0063] It should be noted that the terms "including" and "having" in the embodiments of the present disclosure and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or are inherent to these processes, methods, products or devices.

[0064] It will be understood that the terms "first," "second," etc. used in the present disclosure may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element.

[0065] In the related art, the detection of the electrode alignment of the battery cell is usually to select a suitable projection angle, project the corner area of ​​the battery cell, and obtain the projection image corresponding to the angle area of ​​the battery cell. The electronic device can determine the distance from the corner point of the negative electrode sheet to the corner point of the positive electrode sheet in the projection image, and it is believed that the distance from the corner point of the negative electrode sheet to the corner point of the positive electrode sheet can be used to characterize the electrode alignment of the battery cell. However, the electrode alignment of the battery cell can refer to the part of the negative electrode sheet that exceeds the positive electrode sheet in the length and width direction, as shown in Figure 1-A. Figure 1-A is this A schematic diagram of a battery cell electrode provided in an embodiment of the disclosure, wherein a negative electrode 101 and a positive electrode 102 are superimposed, the distance from the corner point of the negative electrode to the corner point of the positive electrode is d, the portion of the width of the negative electrode that exceeds the width of the positive electrode is x, and the portion of the length of the negative electrode that exceeds the length of the positive electrode is y. According to the Pythagorean theorem, the square of the distance from the corner point of the negative electrode to the corner point of the positive electrode can be equal to the square of the portion of the length of the negative electrode that exceeds the length of the positive electrode plus the square of the portion of the width of the negative electrode that exceeds the width of the positive electrode, that is, x 2 +y 2 =d 2 .

[0066] However, if the portion of the negative electrode sheet's length that exceeds the positive electrode sheet's length and the portion of the negative electrode sheet's width that exceeds the positive electrode sheet's width change at the same time, the distance from the corner point of the negative electrode sheet to the corner point of the positive electrode sheet may remain unchanged. If the portion of the negative electrode sheet's length that exceeds the positive electrode sheet's length increases and the portion of the negative electrode sheet's width that exceeds the positive electrode sheet's width decreases, the distance from the corner point of the negative electrode sheet to the corner point of the positive electrode sheet may remain unchanged. Therefore, it is not accurate to detect the electrode alignment of the battery cell by the distance from the corner point of the negative electrode sheet to the corner point of the positive electrode sheet.

[0067] The embodiments of the present disclosure provide a battery cell detection method, device, electronic device, and storage medium, which can improve the accuracy and efficiency of battery cell detection.

[0068] The following is a detailed description with reference to the accompanying drawings.

[0069] As shown in Figure 1-B, Figure 1-B is a schematic diagram of an application scenario of a battery cell detection method provided by an embodiment of the present disclosure. The application scenario may include an electronic device 110, and the electronic device 110 may include but is not limited to a mobile phone, a tablet computer, a wearable device, a laptop computer, a PC (Personal Computer), etc.

[0070] Among them, the electronic device 110 can obtain multiple battery cell projection images, and the multiple battery cell projection images correspond to multiple projection angles of the battery cell, and the battery cell projection images include the battery cell's region of interest. Based on the multiple battery cell projection images, the electronic device 110 can also perform three-dimensional reconstruction of the battery cell's region of interest to obtain a three-dimensional image corresponding to the battery cell's region of interest, and slice the three-dimensional image according to a preset direction to obtain a slice image corresponding to the preset direction, and then determine the battery cell detection result based on the slice image. As shown in Figure 2, Figure 2 is a flow chart of a battery cell detection method provided in an embodiment of the present disclosure. The battery cell detection method can be applied to the electronic device in the above embodiment. The battery cell detection method may include the following steps:

[0071] Step 210: Acquire multiple battery cell projection images.

[0072] The electronic device can obtain multiple cell projection images. Optionally, the electronic device can be an imaging device that can directly capture multiple cell projection images. The electronic device can also be connected to the imaging device for communication and receive multiple cell projection images sent by the imaging device. The imaging device can include a light beam output device and a light beam detection device. The cell projection image can be an image formed by the light beam detection device detecting the light beam after passing through the cell when the light beam output device outputs the light beam at a projection angle. Optionally, the imaging device can be a CT device that can perform X-ray scanning on the cell at different projection angles to obtain multiple cell projection images. The light beam output device can be an X-ray tube, and the light beam detection device can be an X-ray detector.

[0073] The multiple battery cell projection images may correspond to multiple projection angles. The present disclosure does not impose any restrictions on the projection angles. The multiple battery cell projection images refer to images obtained by photographing the battery cells at different projection angles. Optionally, the multiple battery cell projection images may be obtained by photographing different imaging devices, or may be images obtained by the same imaging device at different shooting angles. For example, one battery cell projection image may be an image projected from the front of the battery cell, that is, the light beam output device outputs a light beam in the direction of the front of the battery cell, and another image may be an image projected from the side of the battery cell, that is, the light beam output device outputs a light beam in the direction of the side of the battery cell. By acquiring multiple battery cell projection images, the electronic device can obtain more comprehensive and accurate battery cell information, avoiding the information loss and errors caused by a single projection image.

[0074] Among them, the cell projection image includes the cell's region of interest, which can be used to obtain data required for cell detection. Optionally, the electronic device can determine the position of the cell's region of interest based on the type of cell detection. For example, the cell detection type can be a pole piece alignment detection, and the pole piece alignment of the cell can refer to the portion of the negative pole piece that exceeds the positive pole piece in the length and width direction. In this case, the cell's region of interest can be determined to be the cell's corner area. For another example, the cell detection type can be a cell tab detection, and the cell's region of interest can be determined to be the cell's tab area. Optionally, the cell's region of interest can also include, but is not limited to, the cell's pole piece area, the entire cell area, etc., and the disclosed embodiments do not limit this.

[0075] As shown in Figure 3, Figure 3 is a schematic diagram of an application scenario for detecting the alignment of pole pieces of a battery cell provided by an embodiment of the present disclosure. The application scenario may include an imaging device 310, a battery cell 320 and a rotating platform 330, wherein the imaging device 310 may include a light beam output device 311 and a light beam detection device 312. The battery cell 320 is placed on the rotating platform 330 and may be placed at the center of the rotating platform 330 so that the rotating platform 330 drives the battery cell 320 to rotate. The imaging device 310 may remain stationary, and the rotation angle of the rotating platform 330 may correspond to the projection angle of the imaging device 310 for collecting the battery cell projection image. The battery cell 320 may be in the shape of a rectangular parallelepiped. The light beam output device 311 outputs a light beam, and the light beam may pass through the corner area of ​​the battery cell 320. The light beam detection device 312 detects the light beam after passing through the corner area of ​​the battery cell 320, thereby generating a battery cell projection image.

[0076] It should be noted that, since the electrode alignment of the battery cell 320 includes the portion of the negative electrode that exceeds the positive electrode in both the length and width directions, compared to other areas of the battery cell 320, the electronic device can determine not only the portion of the negative electrode that exceeds the positive electrode in the length direction, but also the portion of the negative electrode that exceeds the positive electrode in the width direction based on the corner area of ​​the battery cell 320, while the electronic device can only determine one of the two based on other areas. In addition, compared to other areas of the battery cell 320, since the geometric shape of the corner area of ​​the battery cell 320 is more clear and the battery cell projection image can be captured from various projection angles, the electronic device performs three-dimensional reconstruction of the corner area of ​​the battery cell 320, and the generated three-dimensional image has higher accuracy and higher reconstruction efficiency.

[0077] Step 220 : Perform three-dimensional reconstruction on the region of interest of the battery cell according to the multiple battery cell projection images and the projection angle corresponding to each battery cell projection image, to obtain a three-dimensional image corresponding to the region of interest of the battery cell.

[0078] The electronic device can perform three-dimensional reconstruction on the region of interest of the battery cell according to the multiple battery cell projection images and the projection angles corresponding to the respective battery cell projection images, and obtain a three-dimensional image corresponding to the region of interest of the battery cell.

[0079] Optionally, the electronic device can perform three-dimensional reconstruction of the region of interest of the battery cell through a three-dimensional reconstruction algorithm, thereby improving the efficiency of the three-dimensional reconstruction. Optionally, the three-dimensional reconstruction algorithm can include a back-projection reconstruction algorithm. The electronic device can back-project each battery cell projection image back into the three-dimensional space based on multiple battery cell projection images and the projection angle corresponding to each battery cell projection image, generate back-projection data corresponding to each battery cell projection image, and then superimpose the back-projection data corresponding to each battery cell projection image to generate a voxel data set corresponding to the region of interest of the battery cell. The voxel data set includes multiple voxels, and the voxel is used to represent a small cube in the three-dimensional space. Finally, the electronic device can obtain a three-dimensional image corresponding to the region of interest of the battery cell by performing operations such as volume rendering or section rendering on the voxel data set. Optionally, the electronic device can also perform three-dimensional reconstruction of the region of interest of the battery cell through other three-dimensional reconstruction algorithms, such as a filtering reconstruction algorithm. The embodiment of the present disclosure does not limit the three-dimensional reconstruction algorithm, and any type of three-dimensional reconstruction algorithm can be selected to perform three-dimensional reconstruction of the region of interest of the battery cell.

[0080] Taking the back projection of the first cell projection image as an example, where the first cell projection image is any one of multiple cell projection images, the electronic device can interpolate and weight each projected pixel point in the first cell projection image to obtain the three-dimensional coordinates corresponding to each projected pixel point. That is, the electronic device can obtain the back projection data corresponding to each cell projection image, where the projected pixel point refers to the pixel point corresponding to the cell in the cell projection image. In other words, the electronic device can extend each projected pixel point in the three-dimensional space in the reverse direction along the corresponding projection angle, and then calculate the three-dimensional coordinates corresponding to each pixel point.

[0081] In one embodiment, before reconstructing the three-dimensional image corresponding to the region of interest of the battery cell, the electronic device may also obtain preset position information corresponding to the imaging device, as well as relative position information between the imaging device and the rotating platform, and then perform three-dimensional reconstruction of the region of interest of the battery cell based on the multiple battery cell projection images, the projection angle corresponding to each battery cell projection image, the preset position information, and the relative position information, to obtain the three-dimensional image corresponding to the region of interest of the battery cell. Optionally, the electronic device may determine the position information of the three-dimensional image in three-dimensional space based on the projection angle corresponding to each battery cell projection image, the preset position information corresponding to the imaging device, and the relative position information between the imaging device and the rotating platform, and then generate the three-dimensional image corresponding to the region of interest of the battery cell based on the multiple battery cell projection images and the position information of the three-dimensional image in three-dimensional space.

[0082] The imaging device and the rotating platform may be pre-set, and the preset position information corresponding to the imaging device may include the position information of the light beam output device and the position information of the light beam detection device. Optionally, the preset position information of the imaging device may also include the position information of the light beam output device or the position information of the light beam detection device and the relative position information between the light beam output device and the light beam detection device. The relative position information between the imaging device and the rotating platform may include the relative position information between the light beam output device and the rotating platform and / or the relative position information between the light beam detection device and the rotating platform. Optionally, the battery cell may be placed at the center of the rotating platform, and the relative position information between the imaging device and the rotating platform may be the relative position information between the center of the imaging device and the rotating platform.

[0083] When the preset position information includes the position information of the light beam output device, the relative position information between the imaging device and the rotating platform may be the relative position information between the position information of the light beam output device and the rotating platform. The electronic device may determine the position information of the light beam detection device based on the relative position information between the light beam output device and the light beam detection device and the position information of the light beam output device, and may determine the position information of the rotating platform based on the relative position information between the light beam output device and the rotating platform and the position information of the light beam output device. When the preset position information includes the position information of the light beam detection device, the relative position information between the imaging device and the rotating platform may be the relative position information between the position information of the light beam detection device and the rotating platform. The electronic device may determine the position information of the light beam output device based on the relative position information between the light beam output device and the light beam detection device and the position information of the light beam detection device, and may determine the position information of the rotating platform based on the relative position information between the light beam detection device and the rotating platform and the position information of the light beam detection device.

[0084] Step 230 , slicing the three-dimensional image according to a preset direction to obtain a slice image corresponding to the preset direction.

[0085] While 3D images can be used to display the morphological information of an object in three spatial directions, battery cell inspection applications require observing the internal structure of the cell from different directions. Therefore, slicing the 3D image is necessary to obtain slice images along different directions.

[0086] The electronic device can slice the three-dimensional image according to a preset direction to obtain a slice image corresponding to the preset direction. The slice image may refer to a two-dimensional image obtained by selecting a plane in the three-dimensional space and projecting the three-dimensional image onto the plane. The preset direction may include multiple directions. The electronic device can slice the three-dimensional image according to each preset direction to obtain a slice image corresponding to each preset direction, that is, it can obtain slice images corresponding to multiple preset directions. Optionally, the electronic device can slice the three-dimensional image according to a preset direction at a target position in the area of ​​interest of the battery cell. The target position can be preset or determined according to the type of detection of the battery cell. For example, the type of detection of the battery cell can be electrode alignment detection, and the target position can be the position where the positive electrode and the negative electrode in the battery cell overlap.

[0087] In one embodiment, the electronic device can further filter the multiple cell projection images to obtain filtered images corresponding to the multiple cell projection images. Based on the filtered images corresponding to the multiple cell projection images, the electronic device can then perform a three-dimensional reconstruction of the cell region of interest to obtain a three-dimensional image corresponding to the cell region of interest. Implementing this embodiment can remove noise from the cell projection images, thereby improving the accuracy of the three-dimensional reconstruction.

[0088] Step 240: Determine the detection result of the battery cell according to the slice image.

[0089] The electronic device can perform image processing on the slice image to obtain the detection result of the battery cell. Optionally, the electronic device can use an image processing algorithm to extract features from the slice image to obtain feature data of the slice image, and then determine whether the battery cell meets the preset detection conditions based on the feature data of the slice image to determine the detection result of the battery cell. Optionally, the detection type of the battery cell detection can be electrode alignment detection. The electronic device can obtain the length and width of the negative electrode sheet and the length and width of the positive electrode sheet of the battery cell based on the feature data of the slice image. The electronic device can determine the alignment of the first electrode sheet of the battery cell based on the length of the negative electrode sheet and the length of the positive electrode sheet, and can also determine the alignment of the second electrode sheet of the battery cell based on the width of the negative electrode sheet and the width of the positive electrode sheet, thereby determining whether the first electrode sheet alignment and the second electrode sheet alignment respectively meet the corresponding preset detection conditions to determine the detection result of the battery cell. The detection types of battery cell detection can also include but are not limited to battery electrode defect detection, battery structural damage detection, battery electrode impurity detection, etc., which are not limited in the present disclosure, and the electronic device can obtain corresponding detection results based on the detection type.

[0090] Optionally, before performing image processing on the slice image, the electronic device may also pre-process the slice image. The pre-processing may include but is not limited to filtering processing, enhancement processing, binarization processing, etc., wherein filtering processing can remove noise in the slice image to smooth the image, enhancement processing can improve the contrast and clarity of the slice image, and binarization processing can convert the slice image into a black and white binary image for easy image processing.

[0091] Optionally, the electronic device can use an image processing algorithm to extract features from the slice image to obtain feature data of the slice image. The feature data may include but is not limited to the shape, size, density, etc. of the battery cell. For example, the electronic device can use a morphological algorithm to extract the outline of the battery cell in the slice image and calculate the shape features such as the area, perimeter, and aspect ratio of the battery cell. The electronic device can also use an edge detection algorithm to extract the edge features of the battery cell in the slice image to calculate the length, curvature, etc. of the battery cell. The electronic device can also use a grayscale change analysis algorithm to calculate density features such as density changes inside the battery cell. The embodiment of the present disclosure does not limit the image processing algorithm of the slice image.

[0092] In an embodiment of the present disclosure, the electronic device can obtain multiple battery cell projection images, which correspond to multiple acquisition angles of the battery cell, and the battery cell projection images include the battery cell's region of interest. The electronic device can perform three-dimensional reconstruction of the battery cell projection area based on the multiple battery cell projection images to obtain a three-dimensional image corresponding to the battery cell's region of interest, and can slice the three-dimensional image in a preset direction to obtain a slice image corresponding to the preset direction, and then determine the battery cell detection result based on the slice image. After using the multiple battery cell projection images to perform three-dimensional reconstruction of the battery cell's region of interest, the obtained three-dimensional image has more accurate and comprehensive battery cell information than the two-dimensional image obtained by projection. Then obtaining the slice image in the preset direction can also make the slice image more accurate than the two-dimensional image obtained by projection, thereby improving the accuracy of battery cell detection. There is no need to reconstruct the entire battery cell, but only the battery cell's region of interest is reconstructed, which also reduces the time required for three-dimensional reconstruction and improves the efficiency of battery cell detection.

[0093] As shown in FIG4 , FIG4 is a flow chart of another battery cell detection method provided by an embodiment of the present disclosure. The battery cell detection method can be applied to the electronic device in the above embodiment. The battery cell detection method may include the following steps:

[0094] Step 402: Acquire multiple cell projection images.

[0095] Step 404: Acquire preset position information corresponding to the imaging device and relative position information between the imaging device and the rotating platform.

[0096] The methods of steps 402 to 404 may refer to the methods in the above embodiment and will not be described in detail.

[0097] Step 406: Obtain the target rotation angle corresponding to the projection image of each battery cell.

[0098] When the rotating platform drives the battery cells to rotate, the position of the imaging device can remain unchanged. Since the rotation of the rotating platform drives the battery cells to rotate, the projection angle of the imaging device relative to the battery cells changes. Therefore, the electronic device can obtain the target rotation angle corresponding to each battery cell projection image. The target rotation angle is the angle at which the rotating platform rotates when the imaging device captures the battery cell projection image, and the target rotation angle is within a preset rotation range. In one example, the preset rotation range is [-θ, θ]. The rotating platform can rotate from an angle of -θ to an angle of θ, and θ can be less than 180 degrees. That is, the battery cells do not need to rotate one full rotation. The rotation speed of the rotating platform is fixed, and the imaging device can capture battery cell projection images at a fixed frequency. That is, the imaging device can capture a battery cell projection image once every time the rotating platform rotates a fixed angle, and capture multiple battery cell projection images during the rotation of the rotating platform. Optionally, the electronic device can determine the target rotation angle corresponding to each battery cell projection image based on the rotation speed of the rotating platform and the fixed frequency at which the imaging device captures battery cell projection images.

[0099] Step 408 : determining the projection angle corresponding to each cell projection image according to the target rotation angle corresponding to each cell projection image.

[0100] The electronic device can determine the projection angle corresponding to each cell projection image based on the target rotation angle corresponding to each cell projection image. Optionally, the electronic device can determine a reference rotation angle among multiple target rotation angles, and determine the projection angle corresponding to the cell projection image corresponding to the reference rotation angle as the reference projection angle, and then determine the angle difference between the projection angle corresponding to each cell projection image and the reference projection angle based on the angle difference between the target rotation angle corresponding to each cell projection image and the reference rotation angle, thereby obtaining the projection angle corresponding to each cell projection image. In one example, the reference projection angle can be that the front of the cell is parallel to the light beam output by the light beam output device, as shown in FIG3 , and the reference rotation angle corresponding to the reference projection angle can be 0 degrees.

[0101] After step 408 , the electronic device may execute step 410 or step 414 , which correspond to different 3D reconstruction methods.

[0102] Step 410: extract image features of the projection images of each battery cell.

[0103] The electronic device can extract image features from the projected image of each battery cell. These image features may include, but are not limited to, edge features, corner features, texture features, and feature points, and are not limited in the present embodiment. These image features are used to reconstruct a 3D image. Generally speaking, the more image features extracted, the more accurate the reconstructed 3D image, but the electronic device also requires more time to perform the 3D reconstruction.

[0104] Step 412 : Perform three-dimensional reconstruction on the region of interest of the cell according to the image features and projection angle, preset position information, and relative position information corresponding to the projection image of each cell, to obtain a three-dimensional image corresponding to the region of interest of the cell.

[0105] Optionally, the electronic device can reconstruct the shape, size and other information of the three-dimensional image based on the image features and projection angles corresponding to the projection images of each battery cell, and then determine the position information of the three-dimensional image in the three-dimensional space based on the preset position information and relative position information, thereby determining the three-dimensional image corresponding to the area of ​​interest of the battery cell.

[0106] In the embodiment of the present disclosure, the electronic device can also obtain the target rotation angle corresponding to each battery cell projection image, which is within a preset rotation range, and determine the projection angle corresponding to each battery cell projection image based on the target rotation angle corresponding to each battery cell projection image, that is, the projection angle can also be within a certain range. The electronic device then extracts the image features of each battery cell projection image, and performs three-dimensional reconstruction of the area of ​​interest of the battery cell based on the image features and projection angle, preset position information and relative position information corresponding to each battery cell projection image to obtain a three-dimensional image corresponding to the area of ​​interest of the battery cell. The electronic device does not need to project the battery cell image around the battery cell, which reduces the scanning time of the imaging device on the battery cell, can speed up the construction process of the three-dimensional image, and improve the efficiency of battery cell detection.

[0107] Step 414 : determining target position information of the region of interest of the battery cell in each battery cell projection image in the three-dimensional space according to the projection angle corresponding to each battery cell projection image.

[0108] The electronic device can determine the target position information of the area of ​​interest of the battery cell in each battery cell projection image in three-dimensional space based on the projection angle corresponding to each battery cell projection image. Optionally, the first battery cell projection image is any battery cell projection image among multiple battery cell projection images. The electronic device can determine the image position information of the area of ​​interest of the battery cell in the first battery cell projection image, and then determine the target position information of the area of ​​interest of the battery cell in the first battery cell projection image in three-dimensional space based on the projection angle and image position information corresponding to the first battery cell projection image.

[0109] Step 416 : determining a portion of three-dimensional pixel points corresponding to the region of interest of the battery cell in the three-dimensional space based on the multiple battery cell projection images and the target position information corresponding to each battery cell projection image.

[0110] The electronic device can determine the portion of three-dimensional pixel points corresponding to the region of interest of the cell in three-dimensional space based on the multiple cell projection images and the target position information corresponding to each cell projection image. Optionally, the electronic device can use a matching and registration algorithm to match the overlapping positions in the region of interest of the cell at different projection angles, and fuse the image information of the overlapping positions in the multiple cell projection images to determine the portion of three-dimensional pixel points corresponding to the region of interest of the cell in three-dimensional space.

[0111] Step 418 : determining the tilt angle of the cell according to the target cell projection image and the target rotation angle corresponding to the target cell projection image.

[0112] Among them, the target battery cell projection image is any battery cell projection image whose corresponding target rotation angle is not a preset angle. When the rotating platform rotates to the preset angle, the front of the battery cell is parallel to the light beam output by the light beam output device, then the light beam can pass through the battery cell in parallel, and the inclination angle of the battery cell cannot be projected in the battery cell projection image. The electronic device cannot determine the inclination angle of the battery cell based on the battery cell projection image corresponding to the preset angle. The inclination angle is the angle at which the battery cell is tilted relative to the vertical direction, as shown in Figure 5. Figure 5 is a schematic diagram of the inclination angle of a battery cell provided in an embodiment of the present disclosure. Battery cell 510 is a vertically placed battery cell. The angle at which battery cell 510 is tilted relative to the vertical direction is 0 degrees, then the inclination angle of battery cell 510 is 0 degrees. Battery cell 520 is not a vertically placed battery cell. The angle at which battery cell 520 is tilted relative to the vertical direction is φ, then the inclination angle of battery cell 520 is φ.

[0113] In one embodiment, the electronic device can identify the projection area corresponding to the battery cell in the target battery cell projection image, determine the projection tilt angle of the battery cell based on the projection area, and then determine the tilt angle of the battery cell based on the projection tilt angle and the target rotation angle corresponding to the target battery cell projection image.

[0114] Among them, the projection area corresponding to the cell in the target cell projection image can refer to the projection image corresponding to the region of interest of the cell, the projection tilt angle of the cell is the angle formed by the projection of the tilt angle of the cell on the target cell projection image, and the target rotation angle can be used to represent the angle formed by the projection of the tilt angle of the cell on a plane perpendicular to the plane to which the target cell projection image belongs. Specifically, if the preset angle is 0 degrees, that is, when the rotating platform rotates to 0 degrees, the front of the cell is parallel to the light beam output by the light beam output device, and the preset rotation range of the rotating platform is [-θ, θ], then the electronic device can calculate the absolute value of the target rotation angle, or calculate the difference between the target rotation angle and the preset angle as another projection tilt angle corresponding to the tilt angle of the cell. The electronic device can determine the tilt angle of the cell based on the projection tilt angle and the other projection tilt angle. From mathematical knowledge, it can be known that the tilt angle of the cell can be calculated based on the angle formed by the projection of the tilt angle of the cell onto two mutually perpendicular planes.

[0115] Step 420 : performing local 3D reconstruction on the region of interest of the cell according to some 3D pixel points, the tilt angle of the cell, the preset position information, and the relative position information to obtain a 3D image corresponding to the region of interest of the cell.

[0116] Among them, local 3D reconstruction can refer to reconstructing and filling the unknown parts around the known 3D pixel points or areas in 3D space through calculation and reasoning to obtain a complete 3D image. Optionally, the part of the 3D pixel points can be used as the known 3D pixel points. Based on the tilt angle, preset position information and relative position information of the battery cell, the electronic device can reconstruct and fill the part of the battery cell's area of ​​interest except for the part of the 3D pixel points to obtain a 3D image corresponding to the battery cell's area of ​​interest.

[0117] In one embodiment, the electronic device can use an image processor to perform local 3D reconstruction of the region of interest of each cell corresponding to the projection area of ​​each cell based on the cell's tilt angle, preset position information, and relative position information, thereby obtaining a 3D image corresponding to the region of interest of the cell. This embodiment utilizes the general computing power of the image processor, which is more suitable for local 3D reconstruction than a central processing unit (CPU), thereby increasing the speed of 3D reconstruction and the efficiency of cell detection.

[0118] In the embodiment of the present disclosure, compared with the three-dimensional reconstruction method of steps 410 to 412, the local three-dimensional reconstruction method of steps 414 to 420 can further accelerate the speed at which the electronic device calculates the three-dimensional image corresponding to the area of ​​interest of the battery cell, so that the speed of battery cell detection meets the detection speed requirements on the industrial production line, thereby ensuring the safety of each battery cell produced industrially.

[0119] Step 422 , slicing the three-dimensional image according to a preset direction to obtain a slice image corresponding to the preset direction.

[0120] In one embodiment, the preset direction includes a first preset direction and a second preset direction, the first preset direction corresponding to the length direction of the battery cell, and the second preset direction corresponding to the width direction of the battery cell. The electronic device can slice the three-dimensional image according to the first preset direction to obtain a first slice image corresponding to the first preset direction, and slice the three-dimensional image according to the second preset direction to obtain a second slice image corresponding to the second preset direction. As shown in Figure 6-A, Figure 6-A is a schematic diagram of a first slice image provided by an embodiment of the present disclosure, and the white area can be a pole piece of the battery cell. As shown in Figure 6-B, Figure 6-B is a schematic diagram of a second slice image provided by an embodiment of the present disclosure.

[0121] In step 424, the slice image is input into the trained artificial intelligence model, and the slice image is identified by the artificial intelligence model to obtain the positive electrode area of ​​the battery cell and the negative electrode area of ​​the battery cell in the slice image.

[0122] The artificial intelligence model is trained based on a sample image set, which includes multiple sample images divided into positive electrode areas and negative electrode areas. When there are multiple slice images, the electronic device can input each slice image into the trained artificial intelligence model, and use the artificial intelligence model to identify the electrode area of ​​each slice image to obtain the positive electrode area and the negative electrode area of ​​the battery cell in each slice image.

[0123] Optionally, the slice image may include a first slice image and a second slice image. The electronic device may input the first slice image into a trained artificial intelligence model, and perform electrode area recognition on the first slice image through the artificial intelligence model to obtain the positive electrode area of ​​the battery cell and the negative electrode area of ​​the battery cell in the first slice image. As shown in Figure 6-A, the longer white strip area in the white area may be the negative electrode area 610, and the shorter white strip area in the white area may be the positive electrode area 620. The electronic device may also input the second slice image into a trained artificial intelligence model, and perform electrode area recognition on the second slice image through the artificial intelligence model to obtain the positive electrode area of ​​the battery cell and the negative electrode area of ​​the battery cell in the second slice image.

[0124] Step 426 : Determine the alignment of the electrode sheets of the battery cell according to the positive electrode sheet area of ​​the battery cell and the negative electrode sheet area of ​​the battery cell.

[0125] Optionally, the electronic device can determine the length of the positive electrode sheet area and the length of the negative electrode sheet area of ​​the battery cell, and subtract the length of the positive electrode sheet area from the length of the negative electrode sheet area to obtain the electrode alignment of the battery cell. As shown in Figure 6-A, the first slice image includes multiple positive electrode sheet areas and multiple negative electrode sheet areas. Taking one of the negative electrode sheet areas 610 and one positive electrode sheet area 620 as an example, the electronic device can determine the length of the negative electrode sheet area 610 and the length of the positive electrode sheet area 620, and subtract the length of the negative electrode sheet area 610 from the length of the positive electrode sheet area 620 to obtain the first electrode alignment of the battery cell. Optionally, the electronic device can also calculate the first average value of the lengths of multiple negative electrode sheet areas and the second average value of the lengths of multiple positive electrode sheet areas in the first slice image, and subtract the second average value from the first average value to obtain the first electrode alignment of the battery cell. The calculation method of the second electrode alignment shown in Figure 6-B is the same as the calculation method of the first electrode alignment, and will not be repeated here.

[0126] In one embodiment, the slice image may include a first slice image and a second slice image. The first electrode alignment of the battery cell is determined based on the positive electrode area of ​​the battery cell and the negative electrode area of ​​the battery cell in the first slice image. The first electrode alignment includes the part of the negative electrode sheet that exceeds the positive electrode sheet in the length direction. The electronic device also determines the second electrode alignment of the battery cell based on the positive electrode area of ​​the battery cell and the negative electrode area of ​​the battery cell in the second slice image. The second electrode alignment includes the part of the negative electrode sheet that exceeds the positive electrode sheet in the width direction. The first electrode alignment and the second electrode alignment can constitute the electrode alignment of the battery cell.

[0127] Step 428: Determine the test result of the battery cell based on the electrode alignment.

[0128] Optionally, the electronic device can determine whether the electrode alignment is within a preset alignment range. If the electrode alignment is within the preset alignment range, the inspection result of the battery cell is determined to be qualified. If the electrode alignment is not within the preset alignment range, the inspection result of the battery cell is determined to be unqualified.

[0129] When the electrode alignment includes a first electrode alignment and a second alignment, the electronic device can determine whether the first electrode alignment is within a preset first alignment range, and determine whether the second electrode alignment is within a preset second alignment range. If the first electrode alignment is within the preset first alignment range and the second electrode alignment is within the preset second alignment range, the inspection result of the battery cell is determined to be qualified. If the first electrode alignment is not within the preset first alignment range, or the second electrode alignment is not within the preset second alignment range, the inspection result of the battery cell is determined to be unqualified.

[0130] In the embodiment of the present disclosure, by determining a first slice image in the length direction of the battery cell and determining the first pole piece alignment based on the first slice image, and determining a second slice image in the width direction of the battery cell and determining the second pole piece alignment based on the second slice image, it is possible to judge whether the pole piece alignment in the length and the pole piece alignment in the width of the battery cell meet the preset requirements, thereby improving the accuracy of battery cell detection.

[0131] As shown in FIG7 , FIG7 is a modular schematic diagram of a battery cell detection device provided by an embodiment of the present disclosure. The battery cell detection device 700 may include an image acquisition module 710 , an image reconstruction module 720 , an image slicing module 730 , and an image detection module 740 , wherein:

[0132] An image acquisition module 710 is configured to acquire a plurality of cell projection images corresponding to a plurality of projection angles of the cell, and the cell projection images include a region of interest of the cell;

[0133] An image reconstruction module 720 is configured to perform three-dimensional reconstruction of a region of interest of a cell according to the plurality of cell projection images and the projection angles corresponding to the projection images of the respective cell projection images, to obtain a three-dimensional image corresponding to the region of interest of the cell;

[0134] An image slicing module 730 is configured to slice the three-dimensional image in a preset direction to obtain a slice image corresponding to the preset direction;

[0135] The image detection module 740 is used to determine the detection result of the battery cell according to the slice image.

[0136] In one embodiment, the image reconstruction module 720 is also used to perform filtering processing on multiple battery cell projection images to obtain filtered images corresponding to the multiple battery cell projection images; based on the filtered images corresponding to the multiple battery cell projection images, the region of interest of the battery cell is three-dimensionally reconstructed to obtain a three-dimensional image corresponding to the region of interest of the battery cell.

[0137] In one embodiment, the battery cells are placed on a rotating platform, and an imaging device is arranged around the rotating platform, and the imaging device is used to collect multiple battery cell projection images; the image reconstruction module 720 is also used to obtain preset position information corresponding to the imaging device, and the relative position information between the imaging device and the rotating platform; based on the multiple battery cell projection images, the projection angle corresponding to each battery cell projection image, the preset position information and the relative position information, the area of ​​interest of the battery cell is three-dimensionally reconstructed to obtain a three-dimensional image corresponding to the area of ​​interest of the battery cell.

[0138] In one embodiment, the image reconstruction module 720 is also used to extract image features of the projection images of each battery cell; based on the image features and projection angles, preset position information and relative position information corresponding to the projection images of each battery cell, the region of interest of the battery cell is three-dimensionally reconstructed to obtain a three-dimensional image corresponding to the region of interest of the battery cell.

[0139] In one embodiment, the rotating platform drives the battery cell to rotate; the battery cell detection device 700 also includes an angle determination module, which is used to obtain the target rotation angle corresponding to each battery cell projection image, and the target rotation angle is the angle at which the rotating platform rotates when the imaging device captures the battery cell projection image; wherein the target rotation angle is within a preset rotation range; according to the target rotation angle corresponding to each battery cell projection image, the projection angle corresponding to each battery cell projection image is determined.

[0140] In one embodiment, the image reconstruction module 720 is further used to determine the target position information of the region of interest of the battery cell in each battery cell projection image in three-dimensional space based on the projection angle corresponding to each battery cell projection image; determine some three-dimensional pixel points corresponding to the region of interest of the battery cell in three-dimensional space based on multiple battery cell projection images and the target position information corresponding to each battery cell projection image; determine the inclination angle of the battery cell based on the target battery cell projection image and the target rotation angle corresponding to the target battery cell projection image; wherein the inclination angle is the angle at which the battery cell is tilted relative to the vertical direction, and the target battery cell projection image is any battery cell projection image whose corresponding target rotation angle is not a preset angle; perform local three-dimensional reconstruction of the region of interest of the battery cell based on some three-dimensional pixel points, the inclination angle of the battery cell, the preset position information and the relative position information to obtain a three-dimensional image corresponding to the region of interest of the battery cell.

[0141] In one embodiment, the image reconstruction module 720 is also used to identify the projection area corresponding to the battery cell in the target battery cell projection image, and determine the projection tilt angle of the battery cell based on the projection area. The projection tilt angle of the battery cell is the angle formed by the projection of the tilt angle of the battery cell on the target battery cell projection image; the tilt angle of the battery cell is determined based on the projection tilt angle and the target rotation angle corresponding to the target battery cell projection image.

[0142] In one embodiment, the image detection module 740 is also used to input the slice image into a trained artificial intelligence model, and perform electrode area recognition on the slice image through the artificial intelligence model to obtain the positive electrode area of ​​the battery cell and the negative electrode area of ​​the battery cell in the slice image. The artificial intelligence model is trained based on a sample image set, and the sample image set includes multiple sample images divided into positive electrode areas and negative electrode areas; based on the positive electrode area of ​​the battery cell and the negative electrode area of ​​the battery cell, the electrode alignment of the battery cell is determined; based on the electrode alignment, the detection result of the battery cell is determined.

[0143] In one embodiment, the preset direction includes a first preset direction and a second preset direction, the first preset direction corresponds to the length direction of the battery cell, and the second preset direction corresponds to the width direction of the battery cell; the image slicing module 730 is also used to slice the three-dimensional image according to the first preset direction to obtain a first slice image corresponding to the first preset direction; slice the three-dimensional image according to the second preset direction to obtain a second slice image corresponding to the second preset direction; the image detection module 740 is also used to determine the first electrode alignment of the battery cell based on the positive electrode area of ​​the battery cell and the negative electrode area of ​​the battery cell in the first slice image, the first electrode alignment includes the portion of the negative electrode sheet that exceeds the positive electrode sheet in the length direction; determine the second electrode alignment of the battery cell based on the positive electrode area of ​​the battery cell and the negative electrode area of ​​the battery cell in the second slice image, the second electrode alignment includes the portion of the negative electrode sheet that exceeds the positive electrode sheet in the width direction.

[0144] In an embodiment of the present disclosure, the electronic device can obtain multiple battery cell projection images, which correspond to multiple acquisition angles of the battery cell, and the battery cell projection images include the battery cell's region of interest. The electronic device can perform three-dimensional reconstruction of the battery cell projection area based on the multiple battery cell projection images to obtain a three-dimensional image corresponding to the battery cell's region of interest, and can slice the three-dimensional image in a preset direction to obtain a slice image corresponding to the preset direction, and then determine the battery cell detection result based on the slice image. After using the multiple battery cell projection images to perform three-dimensional reconstruction of the battery cell's region of interest, the obtained three-dimensional image has more accurate and comprehensive battery cell information than the two-dimensional image obtained by projection. Then obtaining the slice image in the preset direction can also make the slice image more accurate than the two-dimensional image obtained by projection, thereby improving the accuracy of battery cell detection. There is no need to reconstruct the entire battery cell, but only the battery cell's region of interest is reconstructed, which also reduces the time required for three-dimensional reconstruction and improves the efficiency of battery cell detection.

[0145] As shown in FIG8 , in one embodiment, an electronic device is provided, which may include:

[0146] A memory 810 storing executable program code;

[0147] a processor 820 coupled to the memory 810;

[0148] The processor 820 calls the executable program code stored in the memory 810 to implement the battery cell detection method provided in the above embodiments.

[0149] The memory 810 may include a random access memory (RAM) or a read-only memory (ROM). The memory 810 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 810 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. The data storage area may also store data created by the electronic device during use.

[0150] The processor 820 may include one or more processing cores. The processor 820 utilizes various interfaces and circuits to connect various components within the electronic device. It executes instructions, programs, code sets, or instruction sets stored in the memory 810, as well as accesses data stored in the memory 810, to perform various functions of the electronic device and process data. Optionally, the processor 820 may be implemented using at least one of the following hardware forms: a digital signal processing (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 820 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem handles wireless communications. It is understood that the modem may not be integrated into the processor 820 and may be implemented separately via a communications chip.

[0151] It is understandable that the electronic device may include more or fewer structural elements than those in the above structural block diagram, for example, a power module, physical buttons, WiFi (Wireless Fidelity) module, speakers, Bluetooth modules, sensors, etc., which are not limited here.

[0152] An embodiment of the present disclosure provides a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute the methods described in the above embodiments.

[0153] In addition, the embodiments of the present disclosure further provide a computer program product. When the computer program product is run on a computer, the computer can execute all or part of the steps in any one of the battery cell detection methods described in the above embodiments.

[0154] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium capable of carrying or storing data.

[0155] The above is a detailed introduction to a battery cell detection method, device, electronic device and storage medium provided in the embodiments of the present disclosure. Specific examples are used in this article to illustrate the principles and implementation methods of the present disclosure. The description of the above embodiments is only used to help understand the method of the present disclosure and its core ideas. At the same time, for general technical personnel in this field, according to the ideas of the present disclosure, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present disclosure.

Claims

1. A battery cell detection method, characterized in that: The method comprises: Acquire a plurality of battery cell projection images, wherein the plurality of battery cell projection images correspond to a plurality of projection angles of the battery cell, and the battery cell projection images include a region of interest of the battery cell; Performing three-dimensional reconstruction on the region of interest of the battery cell according to the multiple battery cell projection images and the projection angle corresponding to each of the battery cell projection images to obtain a three-dimensional image corresponding to the region of interest of the battery cell; Slicing the three-dimensional image in a preset direction to obtain a slice image corresponding to the preset direction; The detection result of the battery cell is determined according to the slice image.

2. The method according to claim 1, characterized in that The three-dimensional reconstruction of the region of interest of the battery cell according to the multiple battery cell projection images to obtain a three-dimensional image corresponding to the region of interest of the battery cell includes: Performing filtering processing on the multiple battery cell projection images to obtain filtered images corresponding to the multiple battery cell projection images respectively; According to the filtered images respectively corresponding to the plurality of cell projection images, a region of interest of the cell is three-dimensionally reconstructed to obtain a three-dimensional image corresponding to the region of interest of the cell.

3. The method according to any one of claims 1 to 2, characterized in that: The battery cell is placed on a rotating platform, and an imaging device is arranged around the rotating platform, and the imaging device is used to collect the multiple battery cell projection images; the three-dimensional reconstruction of the region of interest of the battery cell is performed according to the multiple battery cell projection images and the projection angle corresponding to each of the battery cell projection images to obtain a three-dimensional image corresponding to the region of interest of the battery cell, including: Acquiring preset position information corresponding to the imaging device and relative position information between the imaging device and the rotating platform; According to the multiple battery cell projection images, the projection angles corresponding to the respective battery cell projection images, the preset position information and the relative position information, the region of interest of the battery cell is three-dimensionally reconstructed to obtain a three-dimensional image corresponding to the region of interest of the battery cell.

4. The method according to claim 3, characterized in that The three-dimensional reconstruction of the region of interest of the battery cell is performed according to the multiple battery cell projection images, the projection angle corresponding to each of the battery cell projection images, the preset position information and the relative position information to obtain a three-dimensional image corresponding to the region of interest of the battery cell, including: Extracting image features of each of the cell projection images; According to the image features and projection angles corresponding to the projection images of the respective battery cells, the preset position information and the relative position information, the region of interest of the battery cell is three-dimensionally reconstructed to obtain a three-dimensional image corresponding to the region of interest of the battery cell.

5. The method according to claim 3, characterized in that: The rotating platform drives the battery cell to rotate; before performing three-dimensional reconstruction on the region of interest of the battery cell according to the multiple battery cell projection images, the projection angle corresponding to each of the battery cell projection images, the preset position information and the relative position information to obtain a three-dimensional image corresponding to the region of interest of the battery cell, the method further includes: Acquire a target rotation angle corresponding to each of the battery cell projection images, where the target rotation angle is the angle at which the rotating platform rotates when the imaging device captures the battery cell projection image; wherein the target rotation angle is within a preset rotation range; The projection angle corresponding to each of the battery cell projection images is determined according to the target rotation angle corresponding to each of the battery cell projection images.

6. The method according to claim 3, characterized in that The three-dimensional reconstruction of the region of interest of the battery cell is performed according to the multiple battery cell projection images, the projection angle corresponding to each of the battery cell projection images, the preset position information and the relative position information to obtain a three-dimensional image corresponding to the region of interest of the battery cell, including: Determining target position information of the region of interest of the battery cell in each of the battery cell projection images in three-dimensional space according to the projection angle corresponding to each of the battery cell projection images; Determine, according to the multiple battery cell projection images and target position information corresponding to each battery cell projection image, a portion of three-dimensional pixel points corresponding to the region of interest of the battery cell in the three-dimensional space; Determine the inclination angle of the battery cell according to the target battery cell projection image and the target rotation angle corresponding to the target battery cell projection image; wherein the inclination angle is the angle at which the battery cell is inclined relative to the vertical direction, and the target battery cell projection image is any battery cell projection image whose corresponding target rotation angle is not a preset angle; According to the partial three-dimensional pixel points, the tilt angle of the battery cell, the preset position information and the relative position information, a local three-dimensional reconstruction is performed on the region of interest of the battery cell to obtain a three-dimensional image corresponding to the region of interest of the battery cell.

7. The method according to claim 6, characterized in that The determining the tilt angle of the battery cell according to the target battery cell projection image and the target rotation angle corresponding to the target battery cell projection image includes: Identify a projection area corresponding to a cell in the projection image of the target cell, and determine a projection inclination angle of the cell according to the projection area, wherein the projection inclination angle of the cell is an angle formed by projecting the inclination angle of the cell onto the projection image of the target cell; The tilt angle of the battery cell is determined according to the projection tilt angle and a target rotation angle corresponding to the target battery cell projection image.

8. The method according to any one of claims 1 to 2 and 4 to 7, characterized in that: Determining the detection result of the battery cell according to the slice image includes: Inputting the slice image into a trained artificial intelligence model, and performing electrode area recognition on the slice image through the artificial intelligence model to obtain the positive electrode area of ​​the battery cell and the negative electrode area of ​​the battery cell in the slice image, wherein the artificial intelligence model is trained based on a sample image set, and the sample image set includes a plurality of sample images divided into positive electrode areas and negative electrode areas; Determining the alignment of the electrode sheets of the battery cell according to the positive electrode sheet area of ​​the battery cell and the negative electrode sheet area of ​​the battery cell; The detection result of the battery cell is determined according to the alignment of the electrode pieces.

9. The method according to claim 8, characterized in that The preset direction includes a first preset direction and a second preset direction, the first preset direction corresponds to the length direction of the battery cell, and the second preset direction corresponds to the width direction of the battery cell; The step of slicing the three-dimensional image according to a preset direction to obtain a slice image corresponding to the preset direction includes: Slicing the three-dimensional image according to the first preset direction to obtain a first slice image corresponding to the first preset direction; Slicing the three-dimensional image according to the second preset direction to obtain a second slice image corresponding to the second preset direction; The step of determining the electrode sheet alignment of the battery cell according to the positive electrode sheet area of ​​the battery cell and the negative electrode sheet area of ​​the battery cell comprises: Determine, according to the positive electrode sheet area of ​​the battery cell and the negative electrode sheet area of ​​the battery cell in the first slice image, a first electrode sheet alignment of the battery cell, wherein the first electrode sheet alignment includes a portion of the negative electrode sheet that is more than the positive electrode sheet in the length direction; The second electrode sheet alignment of the battery cell is determined according to the positive electrode sheet area of ​​the battery cell and the negative electrode sheet area of ​​the battery cell in the second slice image, wherein the second electrode sheet alignment includes a portion of the negative electrode sheet that is larger than the positive electrode sheet in the width direction.

10. A battery cell detection device, characterized in that: The device comprises: An image acquisition module, used to acquire a plurality of battery cell projection images, wherein the plurality of battery cell projection images correspond to a plurality of projection angles of the battery cell, and the battery cell projection images include a region of interest of the battery cell; An image reconstruction module, used for performing three-dimensional reconstruction of the region of interest of the battery cell according to the multiple battery cell projection images and the projection angle corresponding to each of the battery cell projection images, to obtain a three-dimensional image corresponding to the region of interest of the battery cell; An image slicing module, used for slicing the three-dimensional image in a preset direction to obtain a slice image corresponding to the preset direction; An image detection module is used to determine the detection result of the battery cell according to the slice image.

11. An electronic device, characterized in that: include: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the method according to any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Image-based motion compensation of image data

    CN104424659A

  • System and method for generating computed tomography slice image

    CN106256326A

  • Detection device, defect detection method and device, computer equipment and storage medium

    CN115508389A

  • Battery cell detection method and device, electronic equipment and storage medium

    CN116739982A

Cited By

  • Image filtering method and device, storage medium and computer program product

    CN119168909A

  • Method and device for detecting tiny foreign matter particles in battery and medium

    CN119534491A