CN117704968A - Lithium battery winding OverHang detection method and system based on image projection - Google Patents
Lithium battery winding OverHang detection method and system based on image projection Download PDFInfo
- Publication number
- CN117704968A CN117704968A CN202410167273.9A CN202410167273A CN117704968A CN 117704968 A CN117704968 A CN 117704968A CN 202410167273 A CN202410167273 A CN 202410167273A CN 117704968 A CN117704968 A CN 117704968A
- Authority
- CN
- China
- Prior art keywords
- dimensional discrete
- discrete array
- value
- lithium battery
- calculating
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 229910052744 lithium Inorganic materials 0.000 title claims abstract description 95
- WHXSMMKQMYFTQS-UHFFFAOYSA-N Lithium Chemical compound [Li] WHXSMMKQMYFTQS-UHFFFAOYSA-N 0.000 title claims abstract description 90
- 238000001514 detection method Methods 0.000 title claims abstract description 39
- 238000004804 winding Methods 0.000 title claims abstract description 24
- 238000000034 method Methods 0.000 claims description 24
- 238000010276 construction Methods 0.000 claims description 8
- 230000008859 change Effects 0.000 claims description 6
- 238000012545 processing Methods 0.000 claims description 5
- HBBGRARXTFLTSG-UHFFFAOYSA-N Lithium ion Chemical compound [Li+] HBBGRARXTFLTSG-UHFFFAOYSA-N 0.000 claims description 3
- 238000000605 extraction Methods 0.000 claims description 3
- 229910001416 lithium ion Inorganic materials 0.000 claims description 3
- 230000005611 electricity Effects 0.000 claims 1
- 230000009286 beneficial effect Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 229910000733 Li alloy Inorganic materials 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000001989 lithium alloy Substances 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 239000007773 negative electrode material Substances 0.000 description 1
- 239000011255 nonaqueous electrolyte Substances 0.000 description 1
- 239000007774 positive electrode material Substances 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0004—Industrial image inspection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/13—Edge detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/70—Determining position or orientation of objects or cameras
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/80—Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P70/00—Climate change mitigation technologies in the production process for final industrial or consumer products
- Y02P70/50—Manufacturing or production processes characterised by the final manufactured product
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Secondary Cells (AREA)
Abstract
The invention relates to the technical field of lithium batteries and discloses a lithium battery winding OverHang detection method and system based on image projection, wherein image shooting is carried out on a lithium battery to be detected, and an original image is determined; extracting an effective area of an original image, calculating an average gray value of each column of the image in the effective area, and constructing a one-dimensional discrete array; calculating the one-dimensional discrete array to obtain a one-dimensional discrete array, and determining the edge position of the negative electrode plate and the edge position of the diaphragm according to the one-dimensional discrete array; calibrating a negative electrode identification position and a positive electrode identification position based on the edge position of the negative electrode plate and the edge position of the diaphragm; and calculating the OverHang value according to the negative electrode identification position and the positive electrode identification position, converting the two-dimensional image into a one-dimensional discrete array, and analyzing the one-dimensional discrete array, so that the detection data quantity and the detection time are reduced, the detection accuracy of the lithium battery OverHang is improved, and the service performance of the lithium battery is improved.
Description
Technical Field
The invention relates to the technical field of lithium batteries, in particular to a lithium battery winding OverHang detection method and system based on image projection.
Background
Lithium batteries are a type of battery using a nonaqueous electrolyte solution with lithium metal or a lithium alloy as a positive/negative electrode material. Lithium metal batteries were first proposed and studied in 1912. The chemical characteristics of lithium metal are very active, so that the processing, storage and use of lithium metal have very high requirements on environment. With the development of science and technology, lithium batteries have become the mainstream. Lithium batteries can be broadly divided into two categories: lithium metal batteries and lithium ion batteries. Lithium ion batteries do not contain lithium in the metallic state and are rechargeable.
In the current design of the lithium battery with the winding structure, the negative electrode has an area allowance in the width and length directions compared with the positive electrode, and the OverHang refers to that the length of the negative electrode plate is more than the part outside the positive electrode plate in the width direction. In the measurement in the width direction, since a diaphragm is provided between the negative electrode sheet and the positive electrode sheet, the portion of the negative electrode sheet beyond the positive electrode sheet cannot be directly measured. The lithium battery has high detection precision and high speed requirement. In the related art, the x-ray image is generally adopted to calculate the OverHang of the battery, however, the method has certain limitation, is complex in calculation, low in precision and low in calculation universality, and does not meet the detection requirement of the lithium battery.
Therefore, how to provide a lithium battery winding OverHang detection method and system based on image projection is a technical problem to be solved at present.
Disclosure of Invention
Aiming at the problems in the prior art, the invention aims to provide a lithium battery winding OverHang detection method and system based on image projection.
In order to achieve the above purpose, the invention provides a lithium battery winding OverHang detection method based on image projection, which comprises the following steps:
shooting an image of the lithium battery to be detected, and determining an original image of the lithium battery to be detected;
extracting an effective area of the original image, wherein the effective area is an overlength detection area of the lithium battery to be detected;
calculating the average gray value of each column of the image in the effective area, and constructing a one-dimensional discrete array A1;
calculating the one-dimensional discrete array A1 to obtain a one-dimensional discrete array A4, and determining the edge position of the negative electrode plate and the edge position of the diaphragm according to the one-dimensional discrete array A4;
calibrating a negative electrode identification position and a positive electrode identification position based on the edge position of the negative electrode piece and the edge position of the diaphragm;
and calculating the OverHang value of the lithium battery to be detected according to the negative electrode identification position and the positive electrode identification position.
Further, when calculating the average gray value of each column of the image in the effective area and constructing the one-dimensional discrete array A1, the method includes:
the one-dimensional discrete array A1 is calculated according to the following formula:
;
wherein r is i For the number of rows of the bottom-most pixels of the ith column in the active area,for the number of rows of the top-most pixels of the ith column in the effective area, gray is the gray value of the pixels in the effective area, and n is the number of the pixels in the ith column in the effective area.
Further, when the one-dimensional discrete array A1 is calculated to obtain a one-dimensional discrete array A4, the method includes:
taking the index value of the one-dimensional discrete array A1 as an x-axis coordinate value, taking the element value of the one-dimensional discrete array A1 as a y-axis coordinate value, and performing polynomial curve fitting based on a least square method to obtain a continuous function;
Calculating the continuous functionIs>And second derivative->;
From the second derivativeThe points of 0 are combined into a one-dimensional discrete array A2, wherein the one-dimensional discrete array A2 represents a continuous function +.>The junctions of the concave functions and the convex functions;
substituting the one-dimensional discrete array A2 into the first derivative in turnCalculating a corresponding first derivative value, and obtaining a one-dimensional discrete array A3 according to the first derivative value, wherein the one-dimensional discrete array A3 is a gradient value of gray level change corresponding to all suspected edges;
comparing the one-dimensional discrete array A3 with a preset judgment threshold value, extracting points with absolute values larger than the judgment threshold value in the one-dimensional discrete array A3, and obtaining a one-dimensional discrete array A4, wherein the one-dimensional discrete array A4 is a suspected edge conforming to a set gradient value.
Further, when determining the edge position of the negative electrode plate and the edge position of the diaphragm according to the one-dimensional discrete array A4, the method comprises the following steps:
taking the maximum value in the one-dimensional discrete array A4 as the edge position of the negative electrode plate;
the minimum value in the one-dimensional discrete array A4 is taken as the edge position of the diaphragm.
Further, when calculating the OverHang value of the lithium battery to be detected according to the negative electrode identification position and the positive electrode identification position, the method includes:
calculating a first distance d1 of the negative electrode pole piece relative to the negative electrode identification position;
calculating a first distance d2 of the positive pole piece relative to the positive pole identification position;
calculating the over Hang value of the lithium battery to be detected according to the first distance d1 and the first distance d2; wherein,
calculating the OverHang value of the lithium battery to be detected according to the following formula:
OverHang=d2×(P1)-d1×(P2);
wherein, overHang is the OverHang value of the lithium battery to be detected, P1 is the resolution of the positive camera, and P2 is the resolution of the negative camera.
In order to achieve the above object, the present invention further provides a lithium battery winding OverHang detection system based on image projection, the system comprising:
the shooting module is used for shooting images of the lithium battery to be detected and determining an original image of the lithium battery to be detected;
the extraction module is used for extracting an effective area of the original image, wherein the effective area is an overHang detection area of the lithium battery to be detected;
the construction module is used for calculating the average gray value of each column of the image in the effective area and constructing a one-dimensional discrete array A1;
the determining module is used for carrying out calculation processing on the one-dimensional discrete array A1 to obtain a one-dimensional discrete array A4, and determining the edge position of the negative electrode plate and the edge position of the diaphragm according to the one-dimensional discrete array A4;
the calibration module is used for calibrating the negative electrode identification position and the positive electrode identification position based on the edge position of the negative electrode plate and the edge position of the diaphragm;
and the calculating module is used for calculating the over-Hang value of the lithium battery to be detected according to the negative electrode identification position and the positive electrode identification position.
Further, the construction module is specifically configured to:
the construction module is used for calculating the one-dimensional discrete array A1 according to the following formula:
;
wherein r is i For the number of rows of the bottom-most pixels of the ith column in the active area,for the number of rows of the top-most pixels of the ith column in the effective area, gray is the gray value of the pixels in the effective area, and n is the number of the pixels in the ith column in the effective area.
Further, the determining module is specifically configured to:
the determining module is configured to use the index value of the one-dimensional discrete array A1 as an x-axis coordinate value, use the element value of the one-dimensional discrete array A1 as a y-axis coordinate value, and perform polynomial curve fitting based on a least square method to obtain a continuous function;
The determining module is used for calculating the continuous functionIs>And second derivative->;
The determining module is used for determining the second derivativePoint of 0Is combined into a one-dimensional discrete array A2, wherein the one-dimensional discrete array A2 represents a continuous function +.>The junctions of the concave functions and the convex functions;
the determining module is used for substituting the one-dimensional discrete array A2 into the first derivative in turnCalculating a corresponding first derivative value, and obtaining a one-dimensional discrete array A3 according to the first derivative value, wherein the one-dimensional discrete array A3 is a gradient value of gray level change corresponding to all suspected edges;
the determining module is configured to compare the one-dimensional discrete array A3 with a preset judgment threshold, extract a point in the one-dimensional discrete array A3 where an absolute value is greater than the judgment threshold, and obtain a one-dimensional discrete array A4, where the one-dimensional discrete array A4 is a suspected edge that conforms to a set gradient value.
Further, the determining module is specifically configured to:
the determining module is used for taking the maximum value in the one-dimensional discrete array A4 as the edge position of the negative pole piece;
the determining module is used for taking the minimum value in the one-dimensional discrete array A4 as the edge position of the diaphragm.
Further, the computing module is specifically configured to:
the calculation module is used for calculating a first distance d1 of the negative pole piece relative to the negative pole identification position;
the calculation module is used for calculating a first distance d2 of the positive pole piece relative to the positive pole identification position;
the calculation module is used for calculating the OverHang value of the lithium battery to be detected according to the first distance d1 and the first distance d2; wherein,
the calculation module is used for calculating the over Hang value of the lithium battery to be detected according to the following formula:
OverHang=d2×(P1)-d1×(P2);
wherein, overHang is the OverHang value of the lithium battery to be detected, P1 is the resolution of the positive camera, and P2 is the resolution of the negative camera.
The invention provides a lithium battery winding OverHang detection method and system based on image projection, which have the following beneficial effects compared with the prior art:
the invention discloses a lithium battery winding OverHang detection method and system based on image projection, wherein the method comprises the following steps: shooting an image of the lithium battery to be detected, and determining an original image of the lithium battery to be detected; extracting an effective area of an original image, calculating an average gray value of each column of the image in the effective area, and constructing a one-dimensional discrete array A1; calculating the one-dimensional discrete array A1 to obtain a one-dimensional discrete array A4, and determining the edge position of the negative electrode plate and the edge position of the diaphragm according to the one-dimensional discrete array A4; calibrating a negative electrode identification position and a positive electrode identification position based on the edge position of the negative electrode plate and the edge position of the diaphragm; according to the method, the two-dimensional image is converted into a one-dimensional discrete array, and then the one-dimensional discrete array is analyzed, so that the detection data quantity and the detection time are reduced, the detection accuracy of the lithium battery over-Hang is improved, and the service performance of the lithium battery is improved.
Drawings
Fig. 1 shows a schematic flow chart of a lithium battery winding OverHang detection method based on image projection in an embodiment of the invention;
fig. 2 shows a schematic structural diagram of a lithium battery winding OverHang detection system based on image projection in an embodiment of the invention.
Detailed Description
The following describes in further detail the embodiments of the present invention with reference to the drawings and examples. The following examples are illustrative of the invention and are not intended to limit the scope of the invention.
In the description of the present application, it should be understood that the terms "center," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like indicate orientations or positional relationships based on the orientation or positional relationships shown in the drawings, merely to facilitate description of the present application and simplify the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and therefore should not be construed as limiting the present application.
The terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more.
In the description of the present application, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the terms in this application will be understood by those of ordinary skill in the art in a specific context.
The following is a description of preferred embodiments of the invention, taken in conjunction with the accompanying drawings.
As shown in fig. 1, an embodiment of the invention discloses a lithium battery winding OverHang detection method based on image projection, which comprises the following steps:
s110: shooting an image of the lithium battery to be detected, and determining an original image of the lithium battery to be detected;
in this embodiment, an industrial camera may be used to capture images of the lithium battery to be detected.
S120: extracting an effective area of the original image, wherein the effective area is an overlength detection area of the lithium battery to be detected;
s130: calculating the average gray value of each column of the image in the effective area, and constructing a one-dimensional discrete array A1;
in some embodiments of the present application, when calculating the average gray value of each column of the image in the effective area, constructing the one-dimensional discrete array A1 includes:
the one-dimensional discrete array A1 is calculated according to the following formula:
;
wherein r is i For the number of rows of the bottom-most pixels of the ith column in the active area,for the number of rows of the top-most pixels of the ith column in the effective area, gray is the gray value of the pixels in the effective area, and n is the number of the pixels in the ith column in the effective area.
In this embodiment, a part of the one-dimensional discrete array A1 is exemplified as follows:
the beneficial effects of the technical scheme are as follows: the one-dimensional discrete array A1 is obtained, so that a foundation can be laid for detecting the over-Hang value of the lithium battery to be detected, and the accuracy of the over-Hang value of the lithium battery to be detected is ensured.
S140: calculating the one-dimensional discrete array A1 to obtain a one-dimensional discrete array A4, and determining the edge position of the negative electrode plate and the edge position of the diaphragm according to the one-dimensional discrete array A4;
in some embodiments of the present application, when performing calculation processing on the one-dimensional discrete array A1 to obtain a one-dimensional discrete array A4, the method includes:
taking the index value of the one-dimensional discrete array A1 as an x-axis coordinate value, taking the element value of the one-dimensional discrete array A1 as a y-axis coordinate value, and performing polynomial curve fitting based on a least square method to obtain a continuous function;
Calculating the continuous functionIs>And second derivative->;
From the second derivativeThe points of 0 are combined into a one-dimensional discrete array A2, wherein the one-dimensional discrete array A2 represents a continuous function +.>The junctions of the concave functions and the convex functions;
substituting the one-dimensional discrete array A2 into the first derivative in turnCalculating a corresponding first derivative value, and obtaining a one-dimensional discrete array A3 according to the first derivative value, wherein the one-dimensional discrete array A3 is a gradient value of gray level change corresponding to all suspected edges;
comparing the one-dimensional discrete array A3 with a preset judgment threshold value, extracting points with absolute values larger than the judgment threshold value in the one-dimensional discrete array A3, and obtaining a one-dimensional discrete array A4, wherein the one-dimensional discrete array A4 is a suspected edge conforming to a set gradient value.
In this embodiment, since the OverHang detection area of each lithium battery to be detected is different, the obtained one-dimensional discrete array is also different, and the corresponding continuous function is further obtainedThat is, different, thus calculating the continuous function +.>Can be used, not onlyThe following are given as examples.
In this embodiment, the one-dimensional discrete array A2 is a suspected edge in the effective area.
In this embodiment, a part of the one-dimensional discrete array A2 is exemplified as follows:
in this embodiment, a part of the one-dimensional discrete array A3 is exemplified as follows:
in this embodiment, the determination threshold may be set according to actual situations, and is not particularly limited herein.
In this embodiment, a part of the one-dimensional discrete array A4 is exemplified as follows:
the beneficial effects of the technical scheme are as follows: the invention can process the one-dimensional discrete array A1, thereby providing reliable data support for the determination of the edge position of the negative electrode plate and the edge position of the diaphragm.
In some embodiments of the present application, when determining the anode electrode tab edge position and the separator edge position from the one-dimensional discrete array A4, the method includes:
taking the maximum value in the one-dimensional discrete array A4 as the edge position of the negative electrode plate;
the minimum value in the one-dimensional discrete array A4 is taken as the edge position of the diaphragm.
S150: calibrating a negative electrode identification position and a positive electrode identification position based on the edge position of the negative electrode piece and the edge position of the diaphragm;
in this embodiment, since the edge position of the negative electrode plate and the edge position of the diaphragm are determined, the edge position of the positive electrode plate can be determined, the position of the left side (10 mm/camera resolution of the negative electrode) of the diaphragm in the effective area for negative electrode detection is calibrated as the negative electrode identification position, and the position of the left side (10 mm/camera resolution of the positive electrode) of the diaphragm in the effective area for positive electrode detection is calibrated as the positive electrode identification position.
S160: and calculating the OverHang value of the lithium battery to be detected according to the negative electrode identification position and the positive electrode identification position.
In some embodiments of the present application, when calculating the OverHang value of the lithium battery to be detected according to the negative electrode identification position and the positive electrode identification position, the method includes:
calculating a first distance d1 of the negative electrode pole piece relative to the negative electrode identification position;
calculating a first distance d2 of the positive pole piece relative to the positive pole identification position;
calculating the over Hang value of the lithium battery to be detected according to the first distance d1 and the first distance d2; wherein,
calculating the OverHang value of the lithium battery to be detected according to the following formula:
OverHang=d2×(P1)-d1×(P2);
wherein, overHang is the OverHang value of the lithium battery to be detected, P1 is the resolution of the positive camera, and P2 is the resolution of the negative camera.
The beneficial effects of the technical scheme are as follows: the invention greatly reduces the detection data volume and the detection time, realizes the accurate detection of the over-Hang value of the lithium battery to be detected, and further can effectively improve the service performance of the lithium battery.
In order to further explain the technical idea of the invention, the technical scheme of the invention is described with specific application scenarios.
Correspondingly, as shown in fig. 2, the application further provides a lithium battery winding OverHang detection system based on image projection, and the system comprises:
the shooting module is used for shooting images of the lithium battery to be detected and determining an original image of the lithium battery to be detected;
the extraction module is used for extracting an effective area of the original image, wherein the effective area is an overHang detection area of the lithium battery to be detected;
the construction module is used for calculating the average gray value of each column of the image in the effective area and constructing a one-dimensional discrete array A1;
the determining module is used for carrying out calculation processing on the one-dimensional discrete array A1 to obtain a one-dimensional discrete array A4, and determining the edge position of the negative electrode plate and the edge position of the diaphragm according to the one-dimensional discrete array A4;
the calibration module is used for calibrating the negative electrode identification position and the positive electrode identification position based on the edge position of the negative electrode plate and the edge position of the diaphragm;
and the calculating module is used for calculating the over-Hang value of the lithium battery to be detected according to the negative electrode identification position and the positive electrode identification position.
In some embodiments of the present application, the building block is specifically configured to:
the construction module is used for calculating the one-dimensional discrete array A1 according to the following formula:
;
wherein r is i For the number of rows of the bottom-most pixels of the ith column in the active area,for the number of rows of the top-most pixels of the ith column in the effective area, gray is the gray value of the pixels in the effective area, and n is the number of the pixels in the ith column in the effective area.
In some embodiments of the present application, the determining module is specifically configured to:
the determining module is configured to use the index value of the one-dimensional discrete array A1 as an x-axis coordinate value, use the element value of the one-dimensional discrete array A1 as a y-axis coordinate value, and perform polynomial curve fitting based on a least square method to obtain a continuous function;
The determining module is used for calculating the continuous functionIs>And second derivative->;
The determining module is used for determining the second derivativeThe points of 0 are combined into a one-dimensional discrete array A2, wherein the one-dimensional discrete array A2 represents a continuous function +.>The junctions of the concave functions and the convex functions;
the determining module is used for substituting the one-dimensional discrete array A2 into the first derivative in turnCalculating a corresponding first derivative value, and obtaining a one-dimensional discrete array A3 according to the first derivative value, wherein the one-dimensional discrete array A3 is a gradient value of gray level change corresponding to all suspected edges;
the determining module is configured to compare the one-dimensional discrete array A3 with a preset judgment threshold, extract a point in the one-dimensional discrete array A3 where an absolute value is greater than the judgment threshold, and obtain a one-dimensional discrete array A4, where the one-dimensional discrete array A4 is a suspected edge that conforms to a set gradient value.
In some embodiments of the present application, the determining module is specifically configured to:
the determining module is used for taking the maximum value in the one-dimensional discrete array A4 as the edge position of the negative pole piece;
the determining module is used for taking the minimum value in the one-dimensional discrete array A4 as the edge position of the diaphragm.
In some embodiments of the present application, the computing module is specifically configured to:
the calculation module is used for calculating a first distance d1 of the negative pole piece relative to the negative pole identification position;
the calculation module is used for calculating a first distance d2 of the positive pole piece relative to the positive pole identification position;
the calculation module is used for calculating the OverHang value of the lithium battery to be detected according to the first distance d1 and the first distance d2; wherein,
the calculation module is used for calculating the over Hang value of the lithium battery to be detected according to the following formula:
OverHang=d2×(P1)-d1×(P2);
wherein, overHang is the OverHang value of the lithium battery to be detected, P1 is the resolution of the positive camera, and P2 is the resolution of the negative camera.
In the description of the above embodiments, particular features, structures, materials, or characteristics may be combined in any suitable manner in any one or more embodiments or examples.
Although the invention has been described hereinabove with reference to embodiments, various modifications thereof may be made and equivalents may be substituted for elements thereof without departing from the scope of the invention. In particular, the features of the disclosed embodiments may be combined with each other in any manner as long as there is no structural conflict, and the entire description of these combinations is not made in the present specification merely for the sake of omitting the descriptions and saving resources. Therefore, it is intended that the invention not be limited to the particular embodiment disclosed, but that the invention will include all embodiments falling within the scope of the appended claims.
Those of ordinary skill in the art will appreciate that: the above is only a preferred embodiment of the present invention, and the present invention is not limited thereto, but it is to be understood that the present invention is described in detail with reference to the foregoing embodiments, and modifications and equivalents of some of the technical features described in the foregoing embodiments may be made by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. The lithium battery winding OverHang detection method based on image projection is characterized by comprising the following steps of:
shooting an image of the lithium battery to be detected, and determining an original image of the lithium battery to be detected;
extracting an effective area of the original image, wherein the effective area is an overlength detection area of the lithium battery to be detected;
calculating the average gray value of each column of the image in the effective area, and constructing a one-dimensional discrete array A1;
calculating the one-dimensional discrete array A1 to obtain a one-dimensional discrete array A4, and determining the edge position of the negative electrode plate and the edge position of the diaphragm according to the one-dimensional discrete array A4;
calibrating a negative electrode identification position and a positive electrode identification position based on the edge position of the negative electrode piece and the edge position of the diaphragm;
and calculating the OverHang value of the lithium battery to be detected according to the negative electrode identification position and the positive electrode identification position.
2. The method for detecting the lithium battery winding OverHang based on image projection according to claim 1, wherein when calculating the average gray value of each column of the image in the effective area, constructing a one-dimensional discrete array A1 comprises:
the one-dimensional discrete array A1 is calculated according to the following formula:
;
wherein r is i For the number of rows of the bottom-most pixels of the ith column in the active area,for the number of rows of the top-most pixels of the ith column in the effective area, gray is the gray value of the pixels in the effective area, and n is the number of the pixels in the ith column in the effective area.
3. The method for detecting the lithium battery winding OverHang based on the image projection according to claim 1, wherein when the one-dimensional discrete array A1 is calculated, the method comprises the following steps:
taking the index value of the one-dimensional discrete array A1 as an x-axis coordinate value, taking the element value of the one-dimensional discrete array A1 as a y-axis coordinate value, and performing polynomial curve fitting based on a least square method to obtain a continuous function;
Calculating the continuous functionIs>And second derivative->;
From the second derivativeThe points of 0 are combined into a one-dimensional discrete array A2, wherein the one-dimensional discrete array A2 represents a continuous function +.>The junctions of the concave functions and the convex functions;
substituting the one-dimensional discrete array A2 into the first derivative in turnCalculating a corresponding first derivative value, and obtaining a one-dimensional discrete array A3 according to the first derivative value, wherein the one-dimensional discrete array A3 is a gradient value of gray level change corresponding to all suspected edges;
comparing the one-dimensional discrete array A3 with a preset judgment threshold value, extracting points with absolute values larger than the judgment threshold value in the one-dimensional discrete array A3, and obtaining a one-dimensional discrete array A4, wherein the one-dimensional discrete array A4 is a suspected edge conforming to a set gradient value.
4. The method for detecting the lithium battery winding OverHang based on image projection according to claim 1, wherein when determining the edge position of the negative electrode piece and the edge position of the diaphragm according to the one-dimensional discrete array A4, the method comprises the following steps:
taking the maximum value in the one-dimensional discrete array A4 as the edge position of the negative electrode plate;
the minimum value in the one-dimensional discrete array A4 is taken as the edge position of the diaphragm.
5. The method for detecting the lithium battery winding OverHang based on image projection according to claim 1, wherein when calculating the OverHang value of the lithium battery to be detected according to the negative electrode identification position and the positive electrode identification position, the method comprises the following steps:
calculating a first distance d1 of the negative electrode pole piece relative to the negative electrode identification position;
calculating a first distance d2 of the positive pole piece relative to the positive pole identification position;
calculating the over Hang value of the lithium battery to be detected according to the first distance d1 and the first distance d2; wherein,
calculating the OverHang value of the lithium battery to be detected according to the following formula:
OverHang=d2×(P1)-d1×(P2);
wherein, overHang is the OverHang value of the lithium battery to be detected, P1 is the resolution of the positive camera, and P2 is the resolution of the negative camera.
6. Lithium electricity coiling OverHang detecting system based on image projection, characterized in that, the system includes:
the shooting module is used for shooting images of the lithium battery to be detected and determining an original image of the lithium battery to be detected;
the extraction module is used for extracting an effective area of the original image, wherein the effective area is an overHang detection area of the lithium battery to be detected;
the construction module is used for calculating the average gray value of each column of the image in the effective area and constructing a one-dimensional discrete array A1;
the determining module is used for carrying out calculation processing on the one-dimensional discrete array A1 to obtain a one-dimensional discrete array A4, and determining the edge position of the negative electrode plate and the edge position of the diaphragm according to the one-dimensional discrete array A4;
the calibration module is used for calibrating the negative electrode identification position and the positive electrode identification position based on the edge position of the negative electrode plate and the edge position of the diaphragm;
and the calculating module is used for calculating the over-Hang value of the lithium battery to be detected according to the negative electrode identification position and the positive electrode identification position.
7. The image projection-based lithium ion battery winding OverHang detection system of claim 6, wherein the construction module is specifically configured to:
the construction module is used for calculating the one-dimensional discrete array A1 according to the following formula:
;
wherein r is i For the number of rows of the bottom-most pixels of the ith column in the active area,for the number of rows of the top-most pixels of the ith column in the effective area, gray is the gray value of the pixels in the effective area, and n is the number of the pixels in the ith column in the effective area.
8. The image projection-based lithium battery winding OverHang detection system of claim 6, wherein the determination module is specifically configured to:
the saidThe determining module is used for taking the index value of the one-dimensional discrete array A1 as an x-axis coordinate value, taking the element value of the one-dimensional discrete array A1 as a y-axis coordinate value, and performing polynomial curve fitting based on a least square method to obtain a continuous function;
The determining module is used for calculating the continuous functionIs>And second derivative->;
The determining module is used for determining the second derivativeThe points of 0 are combined into a one-dimensional discrete array A2, wherein the one-dimensional discrete array A2 represents a continuous function +.>The junctions of the concave functions and the convex functions;
the determining module is used for substituting the one-dimensional discrete array A2 into the first derivative in turnCalculating a corresponding first derivative value, and obtaining a one-dimensional discrete array A3 according to the first derivative value, wherein the one-dimensional discrete array A3 is a gradient value of gray level change corresponding to all suspected edges;
the determining module is configured to compare the one-dimensional discrete array A3 with a preset judgment threshold, extract a point in the one-dimensional discrete array A3 where an absolute value is greater than the judgment threshold, and obtain a one-dimensional discrete array A4, where the one-dimensional discrete array A4 is a suspected edge that conforms to a set gradient value.
9. The image projection-based lithium battery winding OverHang detection system of claim 6, wherein the determination module is specifically configured to:
the determining module is used for taking the maximum value in the one-dimensional discrete array A4 as the edge position of the negative pole piece;
the determining module is used for taking the minimum value in the one-dimensional discrete array A4 as the edge position of the diaphragm.
10. The image projection-based lithium battery winding OverHang detection system of claim 6, wherein the computing module is specifically configured to:
the calculation module is used for calculating a first distance d1 of the negative pole piece relative to the negative pole identification position;
the calculation module is used for calculating a first distance d2 of the positive pole piece relative to the positive pole identification position;
the calculation module is used for calculating the OverHang value of the lithium battery to be detected according to the first distance d1 and the first distance d2; wherein,
the calculation module is used for calculating the over Hang value of the lithium battery to be detected according to the following formula:
OverHang=d2×(P1)-d1×(P2);
wherein, overHang is the OverHang value of the lithium battery to be detected, P1 is the resolution of the positive camera, and P2 is the resolution of the negative camera.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410167273.9A CN117704968B (en) | 2024-02-06 | 2024-02-06 | Lithium battery winding OverHang detection method and system based on image projection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410167273.9A CN117704968B (en) | 2024-02-06 | 2024-02-06 | Lithium battery winding OverHang detection method and system based on image projection |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117704968A true CN117704968A (en) | 2024-03-15 |
CN117704968B CN117704968B (en) | 2024-05-14 |
Family
ID=90148364
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410167273.9A Active CN117704968B (en) | 2024-02-06 | 2024-02-06 | Lithium battery winding OverHang detection method and system based on image projection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117704968B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104091977A (en) * | 2014-05-06 | 2014-10-08 | 无锡日联科技有限公司 | Detection method of coiled lithium ion battery |
CN113313711A (en) * | 2021-07-29 | 2021-08-27 | 浙江双元科技股份有限公司 | Camera, system and detection method for detecting width of lithium battery pole piece |
CN113313677A (en) * | 2021-05-17 | 2021-08-27 | 武汉工程大学 | Quality detection method for X-ray image of wound lithium battery |
CN114018160A (en) * | 2021-11-09 | 2022-02-08 | 北京深点视觉科技有限公司 | Lug imaging device and lug size detection method |
CN114549531A (en) * | 2022-04-26 | 2022-05-27 | 广州市易鸿智能装备有限公司 | Lithium battery winding overhung centering correction control system and method |
CN115790384A (en) * | 2023-02-13 | 2023-03-14 | 钛玛科(北京)工业科技有限公司 | Polishing imaging method and device based on gravure coating |
WO2023070552A1 (en) * | 2021-10-29 | 2023-05-04 | 宁德时代新能源科技股份有限公司 | Method and apparatus for testing coverage of jelly roll of battery during winding, and device |
CN116359221A (en) * | 2023-01-31 | 2023-06-30 | 广东利元亨智能装备股份有限公司 | Lithium battery detection method, system, computer equipment and readable storage medium |
WO2023206020A1 (en) * | 2022-04-25 | 2023-11-02 | 宁德时代新能源科技股份有限公司 | Overhang measurement method and apparatus for battery electrode plate, and device and storage medium |
-
2024
- 2024-02-06 CN CN202410167273.9A patent/CN117704968B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104091977A (en) * | 2014-05-06 | 2014-10-08 | 无锡日联科技有限公司 | Detection method of coiled lithium ion battery |
CN113313677A (en) * | 2021-05-17 | 2021-08-27 | 武汉工程大学 | Quality detection method for X-ray image of wound lithium battery |
CN113313711A (en) * | 2021-07-29 | 2021-08-27 | 浙江双元科技股份有限公司 | Camera, system and detection method for detecting width of lithium battery pole piece |
WO2023070552A1 (en) * | 2021-10-29 | 2023-05-04 | 宁德时代新能源科技股份有限公司 | Method and apparatus for testing coverage of jelly roll of battery during winding, and device |
CN114018160A (en) * | 2021-11-09 | 2022-02-08 | 北京深点视觉科技有限公司 | Lug imaging device and lug size detection method |
WO2023206020A1 (en) * | 2022-04-25 | 2023-11-02 | 宁德时代新能源科技股份有限公司 | Overhang measurement method and apparatus for battery electrode plate, and device and storage medium |
CN114549531A (en) * | 2022-04-26 | 2022-05-27 | 广州市易鸿智能装备有限公司 | Lithium battery winding overhung centering correction control system and method |
CN116359221A (en) * | 2023-01-31 | 2023-06-30 | 广东利元亨智能装备股份有限公司 | Lithium battery detection method, system, computer equipment and readable storage medium |
CN115790384A (en) * | 2023-02-13 | 2023-03-14 | 钛玛科(北京)工业科技有限公司 | Polishing imaging method and device based on gravure coating |
Also Published As
Publication number | Publication date |
---|---|
CN117704968B (en) | 2024-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108413864B (en) | Object size measuring method and related equipment | |
WO2024108847A1 (en) | Roller, spot inspection method and apparatus, coiled-material conveying method and apparatus, and device and medium | |
CN115829913B (en) | Bare cell appearance detection method, bare cell appearance detection device, bare cell appearance detection computer equipment and bare cell appearance storage medium | |
CN117280513A (en) | Method and device for detecting defects of battery pole piece insulating coating and computer equipment | |
CN112577421A (en) | Battery cell detection method, device and equipment | |
CN110378898B (en) | Beacon positioning method, device, storage medium and equipment | |
KR102667112B1 (en) | Method, device, equipment, storage medium for overhang detection of battery pole pieces | |
WO2023070552A1 (en) | Method and apparatus for testing coverage of jelly roll of battery during winding, and device | |
CN115593884B (en) | Pole piece stockline position grabbing method, system, device, equipment and storage medium | |
CN115824038B (en) | Calibration ruler, calibration method and device, and detection method and device | |
CN115841451B (en) | Method and device for detecting number of lugs | |
JP7094345B2 (en) | Deterioration judgment system and deterioration judgment method for secondary batteries | |
CN115872209B (en) | Automatic centering CCD closed loop deviation rectifying control system | |
CN117704968B (en) | Lithium battery winding OverHang detection method and system based on image projection | |
WO2023028897A1 (en) | Battery winding method, battery winding system, battery, and electrical device | |
CN113326836B (en) | License plate recognition method, license plate recognition device, server and storage medium | |
CN115861311B (en) | Method for detecting a slot mark, controller and computer-readable storage medium | |
CN117078662A (en) | Detection method and device for laminated battery, image processing equipment and medium | |
CN116538918A (en) | Lithium battery material measurement correction method and device | |
CN115824037A (en) | Detection method and detection device for laminated electrode assembly | |
US20240062423A1 (en) | Calibration scale, calibration method and apparatus, and detection method and apparatus | |
CN117751381A (en) | Method and device for detecting appearance of tab of battery cell assembly and electronic equipment | |
US20240104713A1 (en) | Method and device for detecting number of tabs | |
EP4397610A1 (en) | Roller, spot inspection method and apparatus, coiled-material conveying method and apparatus, and device and medium | |
CN116883398B (en) | Detection method, system, terminal equipment and medium based on galvanic pile assembly production line |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |