CN117570852B - Method, device and equipment for detecting polar lug vertex coordinates - Google Patents

Method, device and equipment for detecting polar lug vertex coordinates Download PDF

Info

Publication number
CN117570852B
CN117570852B CN202410051652.1A CN202410051652A CN117570852B CN 117570852 B CN117570852 B CN 117570852B CN 202410051652 A CN202410051652 A CN 202410051652A CN 117570852 B CN117570852 B CN 117570852B
Authority
CN
China
Prior art keywords
tab
area
region
determining
vertex
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.)
Active
Application number
CN202410051652.1A
Other languages
Chinese (zh)
Other versions
CN117570852A (en
Inventor
杨牧
郑晔
张董
赵海江
赵亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Techmach Corp
Original Assignee
Techmach Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Techmach Corp filed Critical Techmach Corp
Priority to CN202410051652.1A priority Critical patent/CN117570852B/en
Publication of CN117570852A publication Critical patent/CN117570852A/en
Application granted granted Critical
Publication of CN117570852B publication Critical patent/CN117570852B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/002Measuring arrangements characterised by the use of optical techniques for measuring two or more coordinates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/136Segmentation; Edge detection involving thresholding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Abstract

The invention provides a method, a device and equipment for detecting the vertex coordinates of a tab, which comprise the steps of collecting an original image containing the tab and a battery cell; in an original image, a first area containing the top point of the left side of a tab and a second area containing the top point of the right side of the tab are obtained, and a first non-tab area and a second non-tab area are segmented; performing a closing operation on the first non-tab region and the second non-tab region respectively to obtain a first closed region and a second closed region, and splitting the first closed region and the second closed region to obtain a plurality of independent first preselected regions in the first closed region and a plurality of independent second preselected regions in the second closed region; selecting a region with the largest area of the first preselected region as a first target region, and selecting a region with the largest area of the second preselected region as a second target region; based on the relation between the first target area, the second target area and the battery cell, the left vertex coordinate and the right vertex coordinate of the tab are determined, so that the accuracy of detecting the left vertex coordinate and the right vertex coordinate of the tab is ensured.

Description

Method, device and equipment for detecting polar lug vertex coordinates
Technical Field
The present invention relates to the field of tab coordinate detection technologies, and in particular, to a tab vertex coordinate detection method, device and equipment.
Background
In the winding process of lithium batteries, tab alignment is an important parameter in reflecting the quality of the battery cells, and is generally affected by the rolls of the winding machine. At present, fluctuation conditions of a winding machine roller are reflected by detecting the change conditions of the vertex coordinates of the pole lugs, so that manufacturers are assisted in adjusting the roller, and the pole lug alignment degree is improved.
Therefore, how to accurately determine the tab vertex coordinates becomes a technical problem to be solved by those skilled in the art.
Disclosure of Invention
The invention provides a method, a device and equipment for detecting tab vertex coordinates, which are used for solving the defect of inaccurate tab vertex coordinate detection in the prior art.
The invention provides a method for detecting the vertex coordinates of a tab, which is characterized by comprising the following steps:
collecting an original image containing a tab and a battery cell;
acquiring a first area containing the left side vertex of the tab and a second area containing the right side vertex of the tab in the original image;
based on the imaging characteristics of the non-tab regions, a first non-tab region is partitioned in the first region and a second non-tab region is partitioned in the second region by utilizing a local threshold;
performing a closed operation with a circle as a structural element on the first non-tab region and the second non-tab region respectively to obtain a first closed region and a second closed region;
Splitting the first closed region and the second closed region respectively to obtain a plurality of independent first preselected regions in the first closed region and a plurality of independent second preselected regions in the second closed region;
determining the area of each first preselected area in the plurality of independent first preselected areas, selecting the area with the largest area of the first preselected area as a first target area, determining the area of each second preselected area in the plurality of independent second preselected areas, and selecting the area with the largest area of the second preselected area as a second target area;
and determining the left vertex coordinate of the tab based on the relation between the first target area and the battery cell, and determining the right vertex coordinate of the tab based on the relation between the second target area and the battery cell.
According to the method for detecting the vertex coordinates of the tab, the method for determining the left vertex coordinates of the tab based on the relation between the first target area and the battery cell comprises the following steps:
determining a first minimum bounding rectangle of the first target area;
generating a left horizontal detection line based on left lower corner row coordinate information of the first minimum bounding rectangle;
Determining a first intersection of the left horizontal detection line with the first target region;
and determining the rightmost coordinate value of the first intersection as the left vertex coordinate of the tab.
According to the method for detecting the tab vertex coordinates provided by the invention, the determination of the tab right vertex coordinates based on the relationship between the second target area and the battery cell comprises the following steps:
determining a second minimum bounding rectangle of the second target area;
generating a right horizontal detection line based on the right lower corner row coordinate information of the second minimum bounding rectangle;
determining a second intersection of the right horizontal detection line with the second target region;
and determining the leftmost coordinate value of the second intersection as the tab right vertex coordinate.
According to the method for detecting the vertex coordinates of the tab, the first non-tab area and the second non-tab area are respectively subjected to a closed operation with a circle as a structural element to obtain a first closed area and a second closed area, and the method comprises the following steps:
scattering the first non-tab areas to obtain a plurality of first non-tab independent units;
scattering the second non-tab areas to obtain a plurality of second non-tab independent units;
removing interference units in all the first non-tab independent units and all the second non-tab independent units;
And respectively performing a closing operation with a circle as a structural element on the first non-tab area and the second non-tab area from which the interference unit is removed to obtain a first closing area and a second closing area.
According to the method for detecting the vertex coordinates of the tab, the removing of the interference units in all the first non-tab independent units and all the second non-tab independent units includes:
determining the length value of each first non-tab independent unit and each second non-tab independent unit;
the first non-tab independent unit and the second non-tab independent unit with the length value smaller than a preset length value are used as interference units;
and removing the interference unit.
According to the method for detecting the vertex coordinates of the tab, the closing operation with the circle as a structural element is performed on the first non-tab area and the second non-tab area from which the interference unit is removed, so as to obtain a first closed area and a second closed area, and the method comprises the following steps:
combining the first non-tab areas after the interference units are removed based on the distance between the first non-tab independent units to obtain a plurality of first combined areas;
Combining the second non-tab areas after the interference units are removed based on the distance between the second non-tab independent units to obtain a plurality of second combined areas;
and performing a closing operation with a circle as a structural element on the first merging region and the second merging region respectively to obtain a first closing region and a second closing region.
According to the tab vertex coordinate detection method provided by the invention, based on the imaging characteristics of non-tab regions, a first non-tab region is partitioned in the first region and a second non-tab region is partitioned in the second region by utilizing a local threshold, and the method comprises the following steps:
determining a gray value mean value and a gray value variance of each pixel in the non-tab region;
inputting the gray value mean value and the gray value variance to a preset formula, and outputting the magnitude of a local threshold value;
determining a first non-tab region and a second non-tab region based on the magnitude of the local threshold;
the preset formula is:
wherein,representing local threshold value->Representing the gray value mean,/-, and>the variance of the gray value is represented,Rwhich represents the total number of pixels,krepresenting the coefficients.
According to the method for detecting the vertex coordinates of the tab, in the original image, a first area containing the vertex on the left side of the tab and a second area containing the vertex on the right side of the tab are obtained, and the method comprises the following steps:
Determining a gray value of the original image;
based on the gray value, preliminarily determining a left vertex of the tab, a right vertex of the tab and a battery cell in the original image;
and acquiring a first area containing the left side vertex of the tab and a second area containing the right side vertex of the tab.
The invention also provides a tab vertex coordinate detection device, which comprises:
the acquisition module is used for acquiring an original image containing the electrode lug and the battery cell;
the acquisition module is used for acquiring a first area containing the top point of the left side of the tab and a second area containing the top point of the right side of the tab in the original image;
the segmentation module is used for segmenting a first non-tab region in the first region and a second non-tab region in the second region by utilizing a local threshold based on the imaging characteristics of the non-tab regions;
the closed operation module is used for respectively carrying out closed operation by taking a circle as a structural element on the first non-tab area and the second non-tab area to obtain a first closed area and a second closed area;
the splitting module is used for splitting the first closed region and the second closed region respectively to obtain a plurality of independent first preselected regions in the first closed region and a plurality of independent second preselected regions in the second closed region;
The determining module is used for determining the area of each first preselected area in the plurality of independent first preselected areas, selecting the area with the largest area of the first preselected areas as a first target area, determining the area of each second preselected area in the plurality of independent second preselected areas, and selecting the area with the largest area of the second preselected area as a second target area; and determining the left vertex coordinate of the tab based on the relation between the first target area and the battery cell, and determining the right vertex coordinate of the tab based on the relation between the second target area and the battery cell.
The invention also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes any one of the pole lug vertex coordinate detection methods when executing the program.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a tab vertex coordinate detection method as described in any of the above.
The invention provides a method, a device and equipment for detecting the vertex coordinates of a tab, which comprise the steps of collecting an original image containing the tab and a battery cell; acquiring a first area containing the left side vertex of the tab and a second area containing the right side vertex of the tab in an original image; based on the imaging characteristics of the non-tab regions, a first non-tab region is partitioned in a first region and a second non-tab region is partitioned in a second region by utilizing a local threshold; performing a closed operation with a circle as a structural element on the first non-tab region and the second non-tab region respectively to obtain a first closed region and a second closed region; splitting the first closed region and the second closed region respectively to obtain a plurality of independent first preselected regions in the first closed region and a plurality of independent second preselected regions in the second closed region; determining the area of each first preselected area in a plurality of independent first preselected areas, selecting the area with the largest area of the first preselected area as a first target area, determining the area of each second preselected area in a plurality of independent second preselected areas, and selecting the area with the largest area of the second preselected area as a second target area; based on the relation between the first target area and the battery cell, the left vertex coordinate of the tab is determined, based on the relation between the second target area and the battery cell, the right vertex coordinate of the tab is determined, the left vertex coordinate and the right vertex coordinate of the tab are determined by combining the relation between the non-tab area and the battery cell in a mode of identifying the non-tab area through an image, and the accuracy of detecting the left vertex coordinate and the right vertex coordinate of the tab is guaranteed.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a method for detecting tab vertex coordinates according to an embodiment of the present invention;
FIG. 2 is a schematic illustration of an original image provided by the present invention;
FIG. 3 is a schematic view of a second non-tab region provided by the present invention;
FIG. 4 is a schematic diagram of a second non-tab independent unit provided by the present invention;
fig. 5 is a schematic diagram of the second non-tab independent unit provided by the present invention after removing the interference unit;
FIG. 6 is a schematic illustration of a second closure zone provided by the present invention;
FIG. 7 is a schematic illustration of a second target area provided by the present invention;
fig. 8 is a schematic structural diagram of a tab vertex coordinate detecting device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The following describes a method, a device and equipment for detecting the vertex coordinates of a tab according to the present invention with reference to fig. 1 to 9.
Fig. 1 is a schematic flow chart of a method for detecting tab vertex coordinates according to an embodiment of the present invention, fig. 2 is a schematic diagram of an original image according to the present invention, fig. 3 is a schematic diagram of a second non-tab area according to the present invention, fig. 4 is a schematic diagram of a second non-tab independent unit according to the present invention, fig. 5 is a schematic diagram of a second non-tab independent unit according to the present invention after removing an interference unit, fig. 6 is a schematic diagram of a second closed area according to the present invention, and fig. 7 is a schematic diagram of a second target area according to the present invention.
As shown in fig. 1, the method for detecting the vertex coordinates of the tab according to the embodiment of the present invention mainly includes the following steps:
101. And collecting an original image containing the electrode lugs and the battery cells.
In a specific implementation, first, a side image is acquired for an original image including the tab and the cell, typically the original image. The original image refers to an imaged image, as shown in fig. 2, which is a black-and-white image. The middle black part is a lug, and the black-white alternate line parts on the two sides are electric cores.
102. In the original image, a first region including the left side vertex of the tab and a second region including the right side vertex of the tab are acquired.
The boundary position of the lug and the battery cell in the image can be clearly obtained through the original image, so that the region at the boundary position is obtained, the first region comprises the left-side vertex of the lug, and the second region comprises the right-side vertex of the lug. The block diagram shown in fig. 2 is changed into a first region and a second region, wherein the left frame is a first region containing the left side vertex of the tab, and the right frame is a second region containing the right side vertex of the tab. Wherein, partial lines of the block diagram are blocked by the black area, and the first area and the second area are rectangular diagrams.
103. Based on the imaging characteristics of the non-tab regions, a first non-tab region is segmented in a first region and a second non-tab region is segmented in a second region by utilizing a local threshold.
After the first area and the second area are obtained, the first area and the second area are cut for convenient analysis and processing in subsequent steps, the first area and the second area are extracted, then accurate identification is carried out in the first area and the second area, and the left-side vertex coordinates and the right-side vertex coordinates of the tab are detected.
The gray value distribution of the tab area is relatively uniform, and the imaging characteristic of the non-tab area, namely the battery cell area, is black and white alternate layered texture. Therefore, based on the imaging characteristics, the first non-tab region can be separated in the first region by a local threshold method, and the second non-tab region can be separated in the second region.
As shown in fig. 3, a schematic view of the second non-tab region obtained by the separation in the second region is shown. The gray portion in fig. 3 is the second non-tab region, and includes a larger portion and a smaller portion.
And based on the non-tab region imaging characteristics, utilizing a local threshold to segment a first non-tab region within the first region and a second non-tab region within the second region, comprising: determining a gray value mean value and a gray value variance of each pixel in the non-tab region; inputting the gray value mean value and the gray value variance to a preset formula, and outputting the magnitude of a local threshold value; determining a first non-tab region and a second non-tab region based on the magnitude of the local threshold; the preset formula is (1):
(1)
Wherein,representing local threshold value->Representing the gray value mean,/-, and>the variance of the gray value is represented,Rwhich represents the total number of pixels,krepresenting the coefficients. The set window size at the time of local threshold calculation is 51,k0.3.
Therefore, the local threshold value can be calculated for each pixel in the image independently according to the gray information of the local image, so that the first tab area and the second tab area are obtained through accurate segmentation.
104. And respectively performing a closing operation with a circle as a structural element on the first non-tab region and the second non-tab region to obtain a first closing region and a second closing region.
The first non-tab area and the second non-tab area both comprise a plurality of independent non-tab units, so that the first non-tab area is scattered to obtain a plurality of first non-tab independent units; scattering the second non-tab areas to obtain a plurality of second non-tab independent units; fig. 4 is a schematic diagram of a second non-tab independent unit, and a right side schematic diagram. It can be seen from fig. 4 that the plurality of non-tab independent units also include a plurality of interference units, for example, white spots inside the tabs are the interference units.
Therefore, the interference units in all the first non-tab independent units and all the second non-tab independent units need to be removed, and specifically, the length values of each first non-tab independent unit and each second non-tab independent unit can be determined; the method comprises the steps that a first non-tab independent unit and a second non-tab independent unit with length values smaller than a preset length value are used as interference units; and removing the interference unit. Through the length characteristics, the interference units in image recognition can be effectively removed, and the accuracy of pole lug vertex detection is ensured.
As shown in fig. 5, in order to remove the image after the interference unit on the basis of fig. 4, the second non-tab area without small interference is effectively screened.
And then, respectively performing a closing operation with a circle as a structural element on the first non-tab area and the second non-tab area of the interference removing unit to obtain a first closing area and a second closing area, wherein the second closing area in the current image can be clearly seen to comprise two parts, one part is larger and the other part is smaller as shown in fig. 6. Specifically, the first non-tab areas after the interference unit is removed are combined based on the distance between the independent units of each first non-tab to obtain a plurality of first combined areas; combining the second non-tab areas after the interference unit is removed based on the distance between the second non-tab independent units to obtain a plurality of second combined areas; and performing a closing operation with a circle as a structural element on the first merging region and the second merging region respectively to obtain a first closing region and a second closing region. Merging refers to merging independent units relatively close to each other so that the adjacent independent units as a whole are subjected to subsequent analysis processing.
105. And splitting the first closed region and the second closed region respectively to obtain a plurality of independent first preselected regions in the first closed region and a plurality of independent second preselected regions in the second closed region.
After the first closed region and the second closed region are obtained, the first closed region and the second closed region need to be split, i.e. the non-communicated region is divided into a first preselected region and a second preselected region which are independent. Wherein there may be a plurality of first preselected regions located within the first closed region and there may be a plurality of second preselected regions located within the second closed region as well. The second closed region in fig. 6 is two-part, after splitting, and for regions with other interference items, it is possible that after splitting, a plurality of independent second preselected regions are included, which in this embodiment is not explicitly defined.
106. And determining the area of each first preselected area in a plurality of independent first preselected areas, selecting the area with the largest area of the first preselected area as a first target area, determining the area of each second preselected area in a plurality of independent second preselected areas, and selecting the area with the largest area of the second preselected area as a second target area.
After the steps, a plurality of first preselected areas and a plurality of second preselected areas are obtained, wherein the first preselected areas comprise left vertex coordinates of the pole lugs, and the second preselected areas comprise right vertex coordinates. Thus, a final further screening is required to exclude interference terms in the first preselected region and the second preselected region. Specifically, the area of each first preselected area and the area of each second preselected area are determined respectively by excluding the areas. And after area comparison, a first preselected area with the largest area is reserved in the first preselected area, and a second preselected area with the largest area is reserved in the second preselected area. Finally, the first preselected area with the largest area is taken as a first target area, and the second preselected area with the largest area is taken as a second target area.
The first target region includes the left vertex coordinates of the tab, and the second target region includes the right vertex coordinates of the tab.
As shown in fig. 7, the second target area includes coordinates of the right vertex of the tab.
107. And determining the left vertex coordinate of the tab based on the relation between the first target area and the battery cell, and determining the right vertex coordinate of the tab based on the relation between the second target area and the battery cell.
The first target area and the second target area cover the cell portion of the root portion of the tab, and as shown in fig. 7, the right vertex position of the tab is the lower left corner of the second target area. Thus, a second minimum bounding rectangle of the second target area may be determined first; generating a right horizontal detection line based on the right lower corner row coordinate information of the second minimum bounding rectangle; determining a second intersection of the right horizontal detection line and the second target area; and determining the leftmost coordinate value of the second intersection as the tab right vertex coordinate.
Similarly, a first minimum circumscribed rectangle of the first target area is determined; generating a left horizontal detection line based on left lower corner row coordinate information of the first minimum bounding rectangle; determining a first intersection of the left horizontal detection line and the first target area; and determining the rightmost coordinate value of the first intersection as the left vertex coordinate of the tab.
And finally determining the tab vertex coordinates, namely the tab left vertex coordinates and the tab right vertex coordinates. Fig. 3 to fig. 7 are only schematic diagrams of the detection of the right vertex of the tab, and are the same as the detection principle of the left vertex of the tab, so that the detection of the left vertex of the tab is not schematically shown and can be understood in comparison with each other.
Further, on the basis of the above embodiment, in the original image in this embodiment, acquiring a first area including a vertex on a left side of the tab and a second area including a vertex on a right side of the tab includes: determining a gray value of an original image; based on the gray value, preliminarily determining the left side vertex of the tab, the right side vertex of the tab and the battery cell in the original image; and acquiring a first area containing the left side vertex of the tab and a second area containing the right side vertex of the tab.
Specifically, the lug part and the battery cell part can be roughly identified through the gray value of the original image, so that the left boundary between the battery cell and the lug comprises the left vertex of the lug, and the right boundary between the battery cell and the lug comprises the right vertex of the lug. Therefore, only the larger first area and second area need be acquired. The system may automatically acquire the image information according to the relation of the gray threshold values, or may acquire the image information manually, so long as the first region including the left-side vertex of the tab and the second region including the right-side vertex of the tab can be effectively acquired, and the size and shape of the first region and the second region are not limited.
According to the method, the left vertex coordinates and the right vertex coordinates of the tab can be accurately obtained through the modes of area primary selection, non-tab area determination, interference factor elimination, non-tab area determination and external rectangle obtaining of the tab vertex coordinates, so that the coordinate obtaining efficiency can be improved, and the accuracy can be ensured.
Based on the same general inventive concept, the present invention also protects a tab vertex coordinate detection device, and the tab vertex coordinate detection device provided by the present invention is described below, and the tab vertex coordinate detection device described below and the tab vertex coordinate detection method described above may be referred to correspondingly.
Fig. 8 is a schematic structural diagram of a tab vertex coordinate detecting device according to an embodiment of the present invention.
As shown in fig. 8, a tab vertex coordinate detection device provided by an embodiment of the present invention includes:
the acquisition module 801 is used for acquiring an original image containing the electrode lug and the battery cell;
an acquiring module 802, configured to acquire, in an original image, a first area including a vertex on a left side of a tab and a second area including a vertex on a right side of the tab;
the segmentation module 803 is configured to segment a first non-tab region in a first region and segment a second non-tab region in a second region by using a local threshold based on the non-tab region imaging feature;
the closing operation module 804 is configured to perform a closing operation with a circle as a structural element on the first non-tab region and the second non-tab region, so as to obtain a first closed region and a second closed region;
a splitting module 805, configured to split the first closed region and the second closed region respectively, to obtain a plurality of independent first preselected regions in the first closed region and a plurality of independent second preselected regions in the second closed region;
a determining module 806, configured to determine an area of each first preselected area in the multiple independent first preselected areas, select an area with a largest area of the first preselected areas as a first target area, determine an area of each second preselected area in the multiple independent second preselected areas, and select an area with a largest area of the second preselected areas as a second target area; and determining the left vertex coordinate of the tab based on the relation between the first target area and the battery cell, and determining the right vertex coordinate of the tab based on the relation between the second target area and the battery cell.
The device for detecting the vertex coordinates of the electrode lug comprises the steps of collecting an original image containing the electrode lug and the battery cell; acquiring a first area containing the left side vertex of the tab and a second area containing the right side vertex of the tab in an original image; based on the imaging characteristics of the non-tab regions, a first non-tab region is partitioned in a first region and a second non-tab region is partitioned in a second region by utilizing a local threshold; performing a closed operation with a circle as a structural element on the first non-tab region and the second non-tab region respectively to obtain a first closed region and a second closed region; splitting the first closed region and the second closed region respectively to obtain a plurality of independent first preselected regions in the first closed region and a plurality of independent second preselected regions in the second closed region; determining the area of each first preselected area in a plurality of independent first preselected areas, selecting the area with the largest area of the first preselected area as a first target area, determining the area of each second preselected area in a plurality of independent second preselected areas, and selecting the area with the largest area of the second preselected area as a second target area; based on the relation between the first target area and the battery cell, the left vertex coordinate of the tab is determined, based on the relation between the second target area and the battery cell, the right vertex coordinate of the tab is determined, the left vertex coordinate and the right vertex coordinate of the tab are determined by combining the relation between the non-tab area and the battery cell in a mode of identifying the non-tab area through an image, and the accuracy of detecting the left vertex coordinate and the right vertex coordinate of the tab is guaranteed.
Further, the determining module 806 in this embodiment is specifically configured to:
determining a first minimum bounding rectangle of the first target area;
generating a left horizontal detection line based on left lower corner row coordinate information of the first minimum bounding rectangle;
determining a first intersection of the left horizontal detection line with the first target region;
and determining the rightmost coordinate value of the first intersection as the left vertex coordinate of the tab.
Further, the determining module 806 in this embodiment is specifically configured to:
determining a second minimum bounding rectangle of the second target area;
generating a right horizontal detection line based on the right lower corner row coordinate information of the second minimum bounding rectangle;
determining a second intersection of the right horizontal detection line with the second target region;
and determining the leftmost coordinate value of the second intersection as the tab right vertex coordinate.
Further, the closing operation module 804 in this embodiment is specifically configured to:
scattering the first non-tab areas to obtain a plurality of first non-tab independent units;
scattering the second non-tab areas to obtain a plurality of second non-tab independent units;
removing interference units in all the first non-tab independent units and all the second non-tab independent units;
And respectively performing a closing operation with a circle as a structural element on the first non-tab area and the second non-tab area from which the interference unit is removed to obtain a first closing area and a second closing area.
Further, the closing operation module 804 in this embodiment is specifically configured to:
determining the length value of each first non-tab independent unit and each second non-tab independent unit;
the first non-tab independent unit and the second non-tab independent unit with the length value smaller than a preset length value are used as interference units;
and removing the interference unit.
Further, the closing operation module 804 in this embodiment is specifically configured to:
combining the first non-tab areas after the interference units are removed based on the distance between the first non-tab independent units to obtain a plurality of first combined areas;
combining the second non-tab areas after the interference units are removed based on the distance between the second non-tab independent units to obtain a plurality of second combined areas;
and performing a closing operation with a circle as a structural element on the first merging region and the second merging region respectively to obtain a first closing region and a second closing region.
Further, the splitting module 803 in this embodiment is specifically configured to:
determining a gray value mean value and a gray value variance of each pixel in the non-tab region;
inputting the gray value mean value and the gray value variance to a preset formula, and outputting the magnitude of a local threshold value;
determining a first non-tab region and a second non-tab region based on the magnitude of the local threshold;
the preset formula is:
wherein,representing local threshold value->Representing the gray value mean,/-, and>the variance of the gray value is represented,Rwhich represents the total number of pixels,krepresenting the coefficients.
Further, the acquiring module 802 in this embodiment is specifically configured to:
determining a gray value of the original image;
based on the gray value, preliminarily determining a left vertex of the tab, a right vertex of the tab and a battery cell in the original image;
and acquiring a first area containing the left side vertex of the tab and a second area containing the right side vertex of the tab.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
As shown in fig. 9, the electronic device may include: processor 910, communication interface (Communications Interface), memory 930, and communication bus 940, wherein processor 910, communication interface 920, and memory 930 communicate with each other via communication bus 940. Processor 910 may invoke logic instructions in memory 930 to perform a tab vertex coordinate detection method comprising: collecting an original image containing a tab and a battery cell; acquiring a first area containing the left side vertex of the tab and a second area containing the right side vertex of the tab in the original image; based on the imaging characteristics of the non-tab regions, a first non-tab region is partitioned in the first region and a second non-tab region is partitioned in the second region by utilizing a local threshold; performing a closed operation with a circle as a structural element on the first non-tab region and the second non-tab region respectively to obtain a first closed region and a second closed region; splitting the first closed region and the second closed region respectively to obtain a plurality of independent first preselected regions in the first closed region and a plurality of independent second preselected regions in the second closed region; determining the area of each first preselected area in the plurality of independent first preselected areas, selecting the area with the largest area of the first preselected area as a first target area, determining the area of each second preselected area in the plurality of independent second preselected areas, and selecting the area with the largest area of the second preselected area as a second target area; and determining the left vertex coordinate of the tab based on the relation between the first target area and the battery cell, and determining the right vertex coordinate of the tab based on the relation between the second target area and the battery cell.
Further, the logic instructions in the memory 930 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In still another aspect, the present invention further provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the tab vertex coordinate detection method provided by the above methods, the method comprising: collecting an original image containing a tab and a battery cell; acquiring a first area containing the left side vertex of the tab and a second area containing the right side vertex of the tab in the original image; based on the imaging characteristics of the non-tab regions, a first non-tab region is partitioned in the first region and a second non-tab region is partitioned in the second region by utilizing a local threshold; performing a closed operation with a circle as a structural element on the first non-tab region and the second non-tab region respectively to obtain a first closed region and a second closed region; splitting the first closed region and the second closed region respectively to obtain a plurality of independent first preselected regions in the first closed region and a plurality of independent second preselected regions in the second closed region; determining the area of each first preselected area in the plurality of independent first preselected areas, selecting the area with the largest area of the first preselected area as a first target area, determining the area of each second preselected area in the plurality of independent second preselected areas, and selecting the area with the largest area of the second preselected area as a second target area; and determining the left vertex coordinate of the tab based on the relation between the first target area and the battery cell, and determining the right vertex coordinate of the tab based on the relation between the second target area and the battery cell.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. The tab vertex coordinate detection method is characterized by comprising the following steps of:
collecting an original image containing a tab and a battery cell;
acquiring a first area containing the left side vertex of the tab and a second area containing the right side vertex of the tab in the original image;
based on the imaging characteristics of the non-tab regions, a first non-tab region is partitioned in the first region and a second non-tab region is partitioned in the second region by utilizing a local threshold;
performing a closed operation with a circle as a structural element on the first non-tab region and the second non-tab region respectively to obtain a first closed region and a second closed region;
Splitting the first closed region and the second closed region respectively to obtain a plurality of independent first preselected regions in the first closed region and a plurality of independent second preselected regions in the second closed region;
determining the area of each first preselected area in the plurality of independent first preselected areas, selecting the area with the largest area of the first preselected area as a first target area, determining the area of each second preselected area in the plurality of independent second preselected areas, and selecting the area with the largest area of the second preselected area as a second target area;
determining a left vertex coordinate of the tab based on the relation between the first target area and the battery cell, and determining a right vertex coordinate of the tab based on the relation between the second target area and the battery cell; the first target area and the second target area cover the cell part of the root part of the pole lug, the position of the right top point of the pole lug is the left lower corner point of the second target area, and the position of the left top point of the pole lug is the right lower corner point of the first target area;
the determining the left vertex coordinate of the tab based on the relation between the first target area and the battery cell includes: determining a first minimum bounding rectangle of the first target area; generating a left horizontal detection line based on left lower corner row coordinate information of the first minimum bounding rectangle; determining a first intersection of the left horizontal detection line with the first target region; determining the rightmost coordinate value of the first intersection as the left vertex coordinate of the tab;
The determining the coordinates of the right vertex of the tab based on the relationship between the second target area and the battery cell includes: determining a second minimum bounding rectangle of the second target area; generating a right horizontal detection line based on the right lower corner row coordinate information of the second minimum bounding rectangle; determining a second intersection of the right horizontal detection line with the second target region; and determining the leftmost coordinate value of the second intersection as the tab right vertex coordinate.
2. The method for detecting tab vertex coordinates according to claim 1, wherein the performing a closed operation with a circle as a structural element on the first non-tab region and the second non-tab region to obtain a first closed region and a second closed region includes:
scattering the first non-tab areas to obtain a plurality of first non-tab independent units;
scattering the second non-tab areas to obtain a plurality of second non-tab independent units;
removing interference units in all the first non-tab independent units and all the second non-tab independent units;
and respectively performing a closing operation with a circle as a structural element on the first non-tab area and the second non-tab area from which the interference unit is removed to obtain a first closing area and a second closing area.
3. The tab vertex coordinate detection method according to claim 2, wherein the removing of the interference units in all the first non-tab independent units and all the second non-tab independent units includes:
determining the length value of each first non-tab independent unit and each second non-tab independent unit;
the first non-tab independent unit and the second non-tab independent unit with the length value smaller than a preset length value are used as interference units;
and removing the interference unit.
4. The method for detecting tab vertex coordinates according to claim 2, wherein the performing a closed operation with a circle as a structural element on the first non-tab region and the second non-tab region from which the interference unit is removed to obtain a first closed region and a second closed region, respectively, includes:
combining the first non-tab areas after the interference units are removed based on the distance between the first non-tab independent units to obtain a plurality of first combined areas;
combining the second non-tab areas after the interference units are removed based on the distance between the second non-tab independent units to obtain a plurality of second combined areas;
And performing a closing operation with a circle as a structural element on the first merging region and the second merging region respectively to obtain a first closing region and a second closing region.
5. The method for detecting tab vertex coordinates according to any one of claims 1 to 4, wherein the dividing a first non-tab region into the first region and a second non-tab region into the second region by using a local threshold based on the non-tab region imaging characteristics comprises:
determining a gray value mean value and a gray value variance of each pixel in the non-tab region;
inputting the gray value mean value and the gray value variance to a preset formula, and outputting the magnitude of a local threshold value;
determining a first non-tab region and a second non-tab region based on the magnitude of the local threshold;
the preset formula is:
wherein,representing local threshold value->Representing the gray value mean,/-, and>the variance of the gray value is represented,Rwhich represents the total number of pixels,krepresenting the coefficients.
6. The method according to any one of claims 1 to 4, wherein the acquiring, in the original image, a first region including a left-side vertex of the tab and a second region including a right-side vertex of the tab includes:
Determining a gray value of the original image;
based on the gray value, preliminarily determining a left vertex of the tab, a right vertex of the tab and a battery cell in the original image;
and acquiring a first area containing the left side vertex of the tab and a second area containing the right side vertex of the tab.
7. The utility model provides a utmost point ear summit coordinate detection device which characterized in that includes:
the acquisition module is used for acquiring an original image containing the electrode lug and the battery cell;
the acquisition module is used for acquiring a first area containing the top point of the left side of the tab and a second area containing the top point of the right side of the tab in the original image;
the segmentation module is used for segmenting a first non-tab region in the first region and a second non-tab region in the second region by utilizing a local threshold based on the imaging characteristics of the non-tab regions;
the closed operation module is used for respectively carrying out closed operation by taking a circle as a structural element on the first non-tab area and the second non-tab area to obtain a first closed area and a second closed area;
the splitting module is used for splitting the first closed region and the second closed region respectively to obtain a plurality of independent first preselected regions in the first closed region and a plurality of independent second preselected regions in the second closed region;
The determining module is used for determining the area of each first preselected area in the plurality of independent first preselected areas, selecting the area with the largest area of the first preselected areas as a first target area, determining the area of each second preselected area in the plurality of independent second preselected areas, and selecting the area with the largest area of the second preselected area as a second target area; determining a left vertex coordinate of the tab based on the relation between the first target area and the battery cell, and determining a right vertex coordinate of the tab based on the relation between the second target area and the battery cell; the first target area and the second target area cover the cell part of the root part of the pole lug, the position of the right top point of the pole lug is the left lower corner point of the second target area, and the position of the left top point of the pole lug is the right lower corner point of the first target area; the determining the left vertex coordinate of the tab based on the relation between the first target area and the battery cell includes: determining a first minimum bounding rectangle of the first target area; generating a left horizontal detection line based on left lower corner row coordinate information of the first minimum bounding rectangle; determining a first intersection of the left horizontal detection line with the first target region; determining the rightmost coordinate value of the first intersection as the left vertex coordinate of the tab; the determining the coordinates of the right vertex of the tab based on the relationship between the second target area and the battery cell includes: determining a second minimum bounding rectangle of the second target area; generating a right horizontal detection line based on the right lower corner row coordinate information of the second minimum bounding rectangle; determining a second intersection of the right horizontal detection line with the second target region; and determining the leftmost coordinate value of the second intersection as the tab right vertex coordinate.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the tab vertex coordinate detection method of any of claims 1 to 6 when the program is executed by the processor.
CN202410051652.1A 2024-01-15 2024-01-15 Method, device and equipment for detecting polar lug vertex coordinates Active CN117570852B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410051652.1A CN117570852B (en) 2024-01-15 2024-01-15 Method, device and equipment for detecting polar lug vertex coordinates

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410051652.1A CN117570852B (en) 2024-01-15 2024-01-15 Method, device and equipment for detecting polar lug vertex coordinates

Publications (2)

Publication Number Publication Date
CN117570852A CN117570852A (en) 2024-02-20
CN117570852B true CN117570852B (en) 2024-03-26

Family

ID=89862722

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410051652.1A Active CN117570852B (en) 2024-01-15 2024-01-15 Method, device and equipment for detecting polar lug vertex coordinates

Country Status (1)

Country Link
CN (1) CN117570852B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005166850A (en) * 2003-12-02 2005-06-23 Juki Corp Part recognition method and apparatus thereof
JP2010060509A (en) * 2008-09-05 2010-03-18 Olympus Corp Method, system, apparatus and program for determining image pattern, and computer readable recording medium to which this program is saved
CN111986159A (en) * 2020-07-24 2020-11-24 苏州威华智能装备有限公司 Electrode defect detection method and device for solar cell and storage medium
WO2021169335A1 (en) * 2020-02-25 2021-09-02 华南理工大学 Visual online detection method for laser welding point of lithium battery tab
CN114714037A (en) * 2022-04-19 2022-07-08 惠州亿纬集能有限公司 Welding deviation rectifying method for soft package battery
CN115272172A (en) * 2022-06-07 2022-11-01 国网湖北省电力有限公司超高压公司 Automatic switch cabinet terminal graph identification method suitable for non-table type primitives
CN115690077A (en) * 2022-11-14 2023-02-03 广州大学 Bubble plate back defect detection method and system
CN116026243A (en) * 2022-12-29 2023-04-28 重庆太蓝新能源有限公司 Method, device, equipment and storage medium for detecting edge sealing of soft package battery
CN116168082A (en) * 2022-12-29 2023-05-26 凌云光技术股份有限公司 Positioning method and positioning device for tab
CN117109447A (en) * 2023-10-24 2023-11-24 钛玛科(北京)工业科技有限公司 Self-adaptive tab width detection method, device and equipment
CN117232399A (en) * 2023-08-25 2023-12-15 广东利元亨智能装备股份有限公司 Tab detection method and device, computer equipment and medium
CN117274160A (en) * 2023-08-17 2023-12-22 钛玛科(北京)工业科技有限公司 Method for aligning lithium battery winding tab with closed loop

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005166850A (en) * 2003-12-02 2005-06-23 Juki Corp Part recognition method and apparatus thereof
JP2010060509A (en) * 2008-09-05 2010-03-18 Olympus Corp Method, system, apparatus and program for determining image pattern, and computer readable recording medium to which this program is saved
WO2021169335A1 (en) * 2020-02-25 2021-09-02 华南理工大学 Visual online detection method for laser welding point of lithium battery tab
CN111986159A (en) * 2020-07-24 2020-11-24 苏州威华智能装备有限公司 Electrode defect detection method and device for solar cell and storage medium
CN114714037A (en) * 2022-04-19 2022-07-08 惠州亿纬集能有限公司 Welding deviation rectifying method for soft package battery
CN115272172A (en) * 2022-06-07 2022-11-01 国网湖北省电力有限公司超高压公司 Automatic switch cabinet terminal graph identification method suitable for non-table type primitives
CN115690077A (en) * 2022-11-14 2023-02-03 广州大学 Bubble plate back defect detection method and system
CN116026243A (en) * 2022-12-29 2023-04-28 重庆太蓝新能源有限公司 Method, device, equipment and storage medium for detecting edge sealing of soft package battery
CN116168082A (en) * 2022-12-29 2023-05-26 凌云光技术股份有限公司 Positioning method and positioning device for tab
CN117274160A (en) * 2023-08-17 2023-12-22 钛玛科(北京)工业科技有限公司 Method for aligning lithium battery winding tab with closed loop
CN117232399A (en) * 2023-08-25 2023-12-15 广东利元亨智能装备股份有限公司 Tab detection method and device, computer equipment and medium
CN117109447A (en) * 2023-10-24 2023-11-24 钛玛科(北京)工业科技有限公司 Self-adaptive tab width detection method, device and equipment

Also Published As

Publication number Publication date
CN117570852A (en) 2024-02-20

Similar Documents

Publication Publication Date Title
CN110648322B (en) Cervical abnormal cell detection method and system
CN110913243B (en) Video auditing method, device and equipment
CN107871319B (en) Method and device for detecting beam limiter area, X-ray system and storage medium
WO2021109697A1 (en) Character segmentation method and apparatus, and computer-readable storage medium
CN106780522A (en) A kind of bone marrow fluid cell segmentation method based on deep learning
CN113592783B (en) Accurate quantification method and device for cell basic index in cornea confocal image
CN114240978B (en) Cell edge segmentation method and device based on adaptive morphology
CN111402267A (en) Segmentation method, device and terminal for epithelial cell nucleus in prostate cancer pathological image
CN109975196B (en) Reticulocyte detection method and system
CN113706564A (en) Meibomian gland segmentation network training method and device based on multiple supervision modes
CN114862861B (en) Lung lobe segmentation method and device based on few-sample learning
CN113160185A (en) Method for guiding cervical cell segmentation by using generated boundary position
CN113484867B (en) Method for detecting density of fish shoal in closed space based on imaging sonar
CN110544262A (en) cervical cell image segmentation method based on machine vision
CN117109447B (en) Self-adaptive tab width detection method, device and equipment
CN117570852B (en) Method, device and equipment for detecting polar lug vertex coordinates
CN111738310B (en) Material classification method, device, electronic equipment and storage medium
CN116342589B (en) Cross-field scratch defect continuity detection method and system
CN115100648B (en) Method and device for filtering multi-channel fluorescent impurities in cell microscopic image
CN111353987A (en) Cell nucleus segmentation method and device
CN116363097A (en) Defect detection method and system for photovoltaic panel
CN115578362A (en) Defect detection method and device for electrode coating, electronic device and medium
CN114581446A (en) Battery core abnormity detection method and system of laminated battery
CN114550171B (en) Cell instance segmentation model construction method, cell instance segmentation method and device
CN117420152B (en) Visual inspection method, visual inspection device, computer equipment and computer readable storage medium

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