Battery positive and negative direction detection method and system
The image samples of the lithium battery module are obtained through the image acquisition module, and the positive and negative electrode directions of the single battery are automatically judged, which solves the problems of low manual detection accuracy and high cost in lithium battery production, and realizes high-precision and low-cost automated detection.
Patent Information
- Application Number
- CN202411531522.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2025-02-18
AI Technical Summary
During the production and packaging process of lithium batteries, they are prone to installation errors in the positive and negative electrode directions, resulting in short circuits that may occur in the subsequent confluence installation process. The existing solutions rely on manual inspection, which has low accuracy and high cost.
The image acquisition module is used to obtain the image samples of the battery module, and the pixel difference between adjacent single cells is determined through the marking point information, and then the positive and negative electrode directions are determined to realize automatic detection.
It improves the accuracy of defect detection during the assembly process of lithium battery systems, reduces labor costs, and enhances the automation and accuracy of detection.
Smart Images

Figure CN119470466A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of new energy technology, and in particular to a method and system for detecting the positive and negative directions of a battery. Background Art
[0002] With the development of battery technology, lithium batteries are widely used in production and life. However, during the production and packaging process of lithium batteries, it is easy for the positive and negative poles of the batteries to be installed in the wrong direction, which may lead to a short circuit in the subsequent convergence installation process.
[0003] Existing solutions usually use traditional methods such as manual inspection to perform defect detection, which not only reduces the accuracy of defect detection, but also greatly increases labor costs.
[0004] There is an urgent need for a lithium battery positive and negative electrode detection solution to improve the accuracy of lithium battery defect detection and reduce labor costs. Summary of the invention
[0005] In view of this, an object of the present invention is to provide a method and system for detecting the positive and negative directions of a battery, so as to improve the accuracy of defect detection during the grouping process of a lithium battery system and reduce labor costs.
[0006] In order to achieve the above purpose, the technical solution adopted by the embodiment of the present invention is as follows:
[0007] In a first aspect, the present invention provides a method for detecting the positive and negative directions of a battery, the method comprising the following steps:
[0008] Using an image acquisition module to obtain an image sample of a battery module, wherein the battery module includes a plurality of single cells, and the image sample includes marker point information of each single cell; the marker point information is used to characterize the positive electrode point position information and / or negative electrode point position information of the single cell;
[0009] Determine the pixel difference between adjacent single cells according to the coordinates of the marker point information;
[0010] The positive and negative pole directions between adjacent single cells are determined based on the pixel difference, and each single cell is traversed to obtain the positive and negative pole detection results.
[0011] Optionally, the step of determining the pixel difference between adjacent single cells according to the marker point information includes:
[0012] Traverse each single battery on the image sample to determine the landmark information of each single battery;
[0013] According to the preset direction, the difference in coordinates of the marking point information between adjacent single cells is used as the pixel difference between adjacent single cells.
[0014] Optionally, according to a preset direction, the step of using the coordinate difference of the marker point information between adjacent single cells as the pixel difference between adjacent single cells includes:
[0015] Along a preset direction, taking any single battery as the initial position; and determining the marking point information on the single battery at the initial position to obtain a first coordinate;
[0016] Determine the information of the marking point on the single battery adjacent to the initial position along the preset direction to obtain the second coordinate;
[0017] The difference between the first coordinate and the second coordinate is determined to obtain the pixel difference between adjacent single cells.
[0018] Optionally, along the vertical direction, taking any single battery as the initial position, the step of determining the positive and negative directions between adjacent single batteries according to the pixel difference includes:
[0019] Determine whether the absolute value of the pixel difference between adjacent single cells is equal to a first preset threshold; if it is equal to the first preset threshold, determine that the positive or negative directions of the current adjacent single cells are the same; if it is not equal to the first preset threshold, determine that the positive or negative directions of the current adjacent single cells are opposite.
[0020] Optionally, after the step of determining that the positive or negative directions of the adjacent single cells are opposite, the step further includes:
[0021] Determine whether the pixel difference between the current adjacent single cells is positive. If it is positive, determine that the single cell at the initial position satisfies the first rule, and the single cell adjacent to the initial position satisfies the second rule; if it is negative, determine that the single cell at the initial position satisfies the second rule, and the single cell adjacent to the initial position satisfies the first rule; wherein the positive or negative direction corresponding to the first rule is opposite to the positive or negative direction corresponding to the second rule.
[0022] Optionally, when the marker point information is used to characterize the negative pole position information of a single cell, the first rule satisfies: the left end of the single cell is the positive pole and the right end is the negative pole; the second rule satisfies: the left end of the single cell is the negative pole and the right end is the positive pole.
[0023] Optionally, when the preset direction is the horizontal direction, taking any single battery as the initial position, the step of determining the positive and negative directions between adjacent single batteries according to the pixel difference includes:
[0024] Determine whether the pixel difference between adjacent single cells is equal to a second preset threshold; if it is equal to the second preset threshold, determine that the positive or negative directions between the current adjacent single cells are the same; otherwise, determine whether the pixel difference between adjacent single cells is equal to a third preset threshold; if it is equal to the second preset threshold, determine that the positive or negative directions between the current adjacent single cells are opposite.
[0025] Optionally, when the image acquisition module includes at least two image acquisition units, the step of acquiring an image sample of the battery module using the image acquisition module includes:
[0026] Different image regions of the same battery module are respectively captured by each image acquisition unit to obtain samples of the corresponding image regions, thereby forming image samples of the battery module, wherein overlapping regions exist between samples with adjacent center points.
[0027] Optionally, the step of forming an image sample of a battery module includes:
[0028] Screening the complete single cell battery images in the sample, and taking the complete single cell battery images as target image samples; wherein the target image samples at least include positive pole point information and negative pole point information;
[0029] For any sample, according to the arrangement of each single battery in the current sample, with any target image sample as the origin, the coordinates of each target image sample are determined according to the distance in the horizontal and vertical directions to obtain the image sample of the battery module.
[0030] In a second aspect, the present invention provides a battery positive and negative direction detection system, including a control device and a camera device;
[0031] A camera device, used to obtain image samples of the battery module in real time and send them to the control device;
[0032] A control device is used to implement the battery positive and negative direction detection method as described in any one of the first aspects above.
[0033] The battery positive and negative direction detection method and system provided by the present invention have the following beneficial effects:
[0034] The image sample of the battery module is obtained by using the image acquisition module, wherein the battery module includes a plurality of single cells, and the image sample includes the mark point information of each single cell; the mark point information is used to characterize the positive point information and / or negative point information of the single cell. Subsequently, the pixel difference between adjacent single cells is determined based on the coordinates of the mark point information; then, the positive and negative directions between adjacent single cells are determined based on the pixel difference, and each single cell is traversed to obtain the positive and negative detection results. Finally, it is determined whether the positive and negative detection results are consistent with the standard positive and negative order of the battery module, and then the positive and negative detection results are obtained. The present invention provides a positive and negative electrode detection scheme for lithium batteries, which can improve the defect detection accuracy in the grouping process of lithium battery systems and reduce labor costs.
[0035] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0037] Figure 1 A flowchart of the steps of a method for detecting the positive and negative directions of a battery in an embodiment of the present invention is shown;
[0038] Figure 2 A schematic diagram of an image sample in this embodiment is shown;
[0039] Figure 3 A schematic diagram of the steps of step 101 in an embodiment of the present invention is shown;
[0040] Figure 4 A schematic diagram showing an arrangement of the individual cells under the battery module in an embodiment of the present invention is shown;
[0041] Figure 5 A schematic diagram of the steps of step 102 in an embodiment of the present invention is shown;
[0042] Figure 6 A schematic diagram of the steps of step 1022 in an embodiment of the present invention is shown;
[0043] Figure 7 Another schematic diagram of the arrangement of the single cells under the battery module in the embodiment of the present invention is shown;
[0044] Figure 8 A schematic diagram of the steps of step 103 in an embodiment of the present invention is shown;
[0045] Fig. 9 The first arrangement mode of adjacent single cells in the vertical direction in an embodiment of the present invention is shown;
[0046] Fig.10 The second arrangement mode of adjacent single cells in the vertical direction in the embodiment of the present invention is shown;
[0047] Fig.11 The third arrangement mode of adjacent single cells in the vertical direction in the embodiment of the present invention is shown;
[0048] Fig.12 An arrangement of adjacent single cells in the horizontal direction in an embodiment of the present invention is shown;
[0049] Fig.13 Another arrangement of adjacent single cells in the horizontal direction in an embodiment of the present invention is shown;
[0050] Fig.14 A schematic structural diagram of a battery positive and negative direction detection system in an embodiment of the present invention is shown.
[0051] Icon: 100-battery positive and negative direction detection system; 101-control device; 102-camera device; 103-image acquisition module. DETAILED DESCRIPTION
[0052] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0053] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present invention.
[0054] It should be noted that relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0055] As described in the background technology, lithium battery systems are prone to the problem of incorrect installation of the positive and negative poles of the batteries during the production and grouping process, and most existing solutions rely on manual inspection, which not only reduces the accuracy of battery system defect detection, but also increases labor costs.
[0056] Based on the above problems, the present invention provides a method for detecting the positive and negative directions of a battery. Figure 1 , Figure 1 A flow chart of the steps of a method for detecting the positive and negative directions of a battery is shown. In this embodiment, the method for detecting the positive and negative directions of a battery includes steps 101 to 103.
[0057] Step 101: Use an image acquisition module to obtain an image sample of a battery module.
[0058] The battery module includes a plurality of single cells, and the image sample includes the mark point information of each single cell; the mark point information is used to represent the positive electrode point information or the negative electrode point information of the single cell.
[0059] Step 102: Determine the pixel difference between adjacent single cells based on the coordinates of the marker point information.
[0060] Step 103: determine the positive and negative pole directions between adjacent single cells according to the pixel difference, and traverse each single cell to obtain the positive and negative pole detection results.
[0061] This embodiment uses an image acquisition module to obtain the mark point information corresponding to each single cell under the battery module to form an image sample of the battery module, wherein the mark point information represents the positive or negative point information of the single cell. Then, the coordinate difference, i.e., the pixel difference, of the mark point information corresponding to adjacent single cells in a preset direction can be used to determine the corresponding positive and negative directions, and then after traversing each single cell, the positive and negative detection results can be obtained, thereby improving the accuracy of lithium battery system defect detection, especially the positive and negative deviations, and reducing labor costs.
[0062] In order to further improve the detection accuracy of the positive and negative poles of the battery, the positive and negative pole detection results can be compared with the standard positive and negative pole sequence of the battery module to obtain the positive and negative pole deviation detection results, and then the positive and negative directions of the batteries at the corresponding positions can be adjusted using the positive and negative pole deviation detection results.
[0063] It should be noted that the present embodiment does not limit the above-mentioned method of adjusting the positive and negative directions of the batteries at corresponding positions, which can be done manually or automatically. For example, based on the positive and negative pole deviation detection results, after determining that the battery with deviation (the positive or negative pole of the battery is placed incorrectly) can be replaced or swapped by an automated adjustment method or a manual method.
[0064] In order to ensure that all single cells in the battery module are detected, that is, to ensure the detection range of the battery module, in a possible implementation method, each single cell in the battery module can be collected in a partitioned manner. In this embodiment, the image acquisition module may include at least two image acquisition units. Based on this, step 101 of using the image acquisition module to obtain an image sample of the battery module includes:
[0065] Different image regions of the same battery module are respectively captured by each image acquisition unit to obtain samples of the corresponding image regions, thereby forming image samples of the battery module, wherein overlapping regions exist between samples with adjacent center points.
[0066] Assuming that the image acquisition unit is an industrial camera, you can select lenses of different sizes to adjust the field of view of the industrial camera, thereby adjusting the image area of the current industrial camera. When the image acquisition module includes 4 industrial cameras, please refer to Figure 2 , Figure 2 An example of the image acquisition module in this embodiment acquiring image samples of the battery module is shown. There are overlapping areas between the samples, that is, there are overlapping areas between samples with adjacent center points. For example, when the image acquisition module includes 4 industrial cameras, four image areas A, B, C and D are photographed respectively. Taking the image area A as an example, it forms overlapping area E and overlapping area F with the image area B and the image area C respectively. Similarly, taking the image area D as an example, it forms overlapping area G and overlapping area H with the image area B and the image area C respectively.
[0067] To ensure that no single cell is missed, in this embodiment, the width of the overlapping area must be greater than or equal to the width of the single cell. Figure 2 Taking the horizontal direction as an example, the width l of the E overlapping region, the F overlapping region, the G overlapping region and the H overlapping region is greater than the length m of the single battery.
[0068] After partitioning, please refer to Figure 3 , Figure 3 A schematic diagram of the sub-steps of step 101 in this embodiment is shown, that is, step 101 of forming an image sample of a battery module in this embodiment also includes step 1011 and step 1012 .
[0069] Step 1011, screening complete single-cell battery images in the sample, and taking the complete single-cell battery images as target image samples; wherein the target image samples at least include positive pole point position information and negative pole point position information;
[0070] Step 1012: for any sample, according to the arrangement of each single battery in the current sample, with any target image sample as the origin, the coordinates of each target image sample are determined according to the distance in the horizontal and vertical directions to obtain the image sample of the battery module.
[0071] In this embodiment, corresponding samples can be collected by partitioning through multiple industrial cameras. The individual samples do not need to be spliced into a complete image. In order to ensure the accuracy of the detection, the corresponding single cell images in the samples can be screened to screen out complete single cell images, and the complete single cell images at least include positive pole point information and negative pole point information.
[0072] For the sample information corresponding to any area, its corresponding coordinates can be determined according to the arrangement of each single battery, and the image sample of the battery module can be constructed with the sample information corresponding to each area. That is, the image sample of the battery module in this embodiment is composed of sample information of multiple areas, and the sample information of each area includes the coordinate information corresponding to the complete single battery, especially the marker point information.
[0073] It should be noted that the marker point information in this embodiment represents the positive pole point information or negative pole point information of the single cell. In one possible implementation method, it can be determined from the physical position, that is, a certain image close to the positive pole point information or negative pole point information of the single cell is used as a reference. For example, a two-dimensional code and / or an explosion-proof valve are often set on the single cell, and the two-dimensional code and / or the explosion-proof valve are close to the positive pole point information or negative pole point information of the single cell due to the settings of different manufacturers. In this embodiment, the marker point (two-dimensional code and / or explosion-proof valve) can be close to the single cell with negative pole point information, that is, the marker point information represents the negative pole point information of the single cell.
[0074] In this embodiment, please refer to Figure 4 , Figure 4 A schematic diagram of the arrangement of the individual cells under the battery module in this embodiment is shown, wherein the battery module includes a plurality of individual cells, each of which is arranged in a matrix form, i.e., forming an N*M matrix array, and the samples of different image areas obtained by taking pictures with an industrial camera will not change the above matrix array. Based on this, the samples of each image area can take the bottom corner of the current image area as the origin, and construct a rectangular coordinate system in the vertical and horizontal directions, thereby determining the coordinates of the target individual cell under the sample, especially the corresponding marker point information, i.e., the coordinates of the marker point.
[0075] In this embodiment, please refer to Figure 5 , Figure 5 The schematic diagram of the steps of step 102 in this embodiment is shown. Step 102 of determining the pixel difference between adjacent single cells according to the marker point information includes step 1021 and step 1022 .
[0076] Step 1021, traverse each single battery on the image sample to determine the landmark information of each single battery;
[0077] Step 1022: according to a preset direction, the difference in coordinates of the marker point information between adjacent single cells is used as the pixel difference between adjacent single cells.
[0078] Based on the previous embodiment, this embodiment traverses each single cell on the image sample to determine the mark point information of the corresponding single cell. In a possible implementation method, the lower left corner of the sample of each image area (which can be the page corner at the lower left corner of the image area, or the blank space of the single cell near the lower left corner of the image area) is used as the origin, and a rectangular coordinate system is constructed in the vertical and horizontal directions to determine the coordinates of the target single cell under the sample, especially the corresponding mark point information, that is, the coordinates of the mark point. Then, according to the horizontal direction or the vertical direction, the difference in the coordinates of the mark point information between adjacent single cells is determined as the pixel difference between adjacent single cells.
[0079] Please refer to Figure 6 , Figure 6 A schematic diagram of the steps of step 1022 in this embodiment is shown, wherein step 1022 includes step 1022-1 to step 1022-2.
[0080] Step 1022-1, along a preset direction, taking any single battery as the initial position; and determining the mark point information on the single battery at the initial position to obtain a first coordinate;
[0081] Step 1022-2, determining the marking point information on the single battery cell adjacent to the initial position along the preset direction to obtain the second coordinate;
[0082] Step 1022 - 3 : Determine the difference between the first coordinate and the second coordinate to obtain the pixel difference between adjacent single cells.
[0083] It should be noted that this embodiment does not limit the specific direction of the preset direction, and the preset direction may be a horizontal direction or a vertical direction.
[0084] In this embodiment, the preset direction may include a horizontal direction and a vertical direction. Figure 4 Based on this, assuming that the battery module includes multiple rows and columns, for example, a 3*4 matrix array, please refer to Figure 7 , Figure 7Another schematic diagram of the arrangement of the cells under the battery module in this embodiment is shown. When the horizontal direction is the preset direction, and the cell at the row number i=1 and the column number j=1 is the initial position, at this time, in the horizontal direction, the cell adjacent to the cell at the row number i=1 and the column number j=1 is the cell at the row number i=1 and the column number j=2, and the pixel difference between the adjacent cells is the difference between the horizontal coordinates of the mark point information on the above two cells. It should be noted that if the horizontal direction is the preset direction, and the cell at the row number i=1 and the column number j=2 is the initial position, at this time, in the horizontal direction, the cell adjacent to the cell at the row number i=1 and the column number j=2 may be the cell at the row number i=1 and the column number j=1 and the cell adjacent to the cell at the row number i=1 and the column number j=3, and two pixel differences are determined accordingly. Furthermore, based on the pixel difference between the cell at row number i=1 and column number j=2 and the cell at row number i=1 and column number j=1, it can be determined whether the positive and negative directions of the cells at row number i=1 and column number j=2 and the cell at row number i=1 and column number j=1 are the same or opposite in the horizontal direction. And based on the pixel difference between the cell at row number i=1 and column number j=2 and the cell at row number i=1 and column number j=3, it can be determined whether the positive and negative directions of the cells at row number i=1 and column number j=2 and the cell at row number i=1 and column number j=3 are the same or opposite in the horizontal direction.
[0085] Similarly, when the vertical direction is used as the preset direction, and the cell at row number i=1 and column number j=1 is used as the initial position, at this time in the vertical direction, the cell adjacent to the cell at row number i=1 and column number j=1 is the cell at row number i=2 and column number j=1, and the pixel difference between the adjacent cells is the difference between the horizontal coordinates of the mark point information on the two cells. It should be noted that if the vertical direction is used as the preset direction, and the cell at row number i=2 and column number j=1 is used as the initial position, at this time in the vertical direction, the cell adjacent to the cell at row number i=2 and column number j=1 may be the cell at row number i=1 and column number j=1 and the cell adjacent to the cell at row number i=3 and column number j=1, and two pixel differences are determined accordingly. Furthermore, in the vertical direction, it can be determined whether the positive and negative directions of the cells at row number i=2 and column number j=1 are the same or opposite to those of the cells at row number i=1 and column number j=1. It can also be determined whether the positive and negative directions of the cells at row number i=2 and column number j=1 are the same or opposite to those of the cells at row number i=3 and column number j=1.
[0086] In summary, this embodiment only provides an implementation method for determining adjacent single cells and determining pixel differences between adjacent single cells.
[0087] In one possible implementation, if the vertical direction is used as the preset direction and any single battery is used as the initial position, please refer to Figure 8 , Figure 8 A schematic diagram of the steps of step 103 in this embodiment is shown, wherein step 103 includes steps 1031 to 1032.
[0088] Step 1031, determine whether the absolute value of the pixel difference between adjacent single cells is equal to a first preset threshold; if it is equal to the first preset threshold, determine that the positive or negative directions of the current adjacent single cells are the same; if it is not equal to the first preset threshold, determine that the positive or negative directions of the current adjacent single cells are opposite.
[0089] Please continue to refer to Figure 8 , after the step of determining in step 1031 whether the positive or negative directions of the adjacent single cells are opposite, the method further includes step 1032 .
[0090] Step 1032, determine whether the pixel difference between the current adjacent single cells is positive. If it is positive, determine that the single cell at the initial position satisfies the first rule, and the single cell adjacent to the initial position satisfies the second rule; if it is negative, determine that the single cell at the initial position satisfies the second rule, and the single cell adjacent to the initial position satisfies the first rule; wherein the positive or negative direction corresponding to the first rule is opposite to the positive or negative direction corresponding to the second rule.
[0091] In this embodiment, when the marker point information is used to characterize the negative pole position information of a single cell, the first rule is satisfied: the left end of the single cell is the positive pole and the right end is the negative pole; the second rule is satisfied: the left end of the single cell is the negative pole and the right end is the positive pole.
[0092] Please refer to Fig. 9 , Fig.10 as well as Fig.11 , Fig. 9 , Fig.10 as well as Fig.11 Shows three arrangements of adjacent single cells in the vertical direction. Please refer to Fig. 9 , in determining the pixel difference y between adjacent cells 1 The absolute value of is equal to the first preset threshold d 1 After that, it satisfies: |y 1 |=d 1 , then the positive or negative direction between the adjacent single cells is the same. In this embodiment, the pixel difference y between the adjacent single cells 1 The corresponding calculation formula can satisfy: 1 =x a -x b ; where x a is the mark point information on the single battery adjacent to the initial position; x b is the mark point information on the single battery at the initial position; |.| is an absolute value operator. In this embodiment, the first preset threshold value d 1 Can be zero.
[0093] When the absolute value of the pixel difference between adjacent single cells is not equal to the first preset threshold value d 1 After that, it can be determined that the positive or negative directions of the adjacent single cells are opposite. Fig.10 If the pixel difference between the current adjacent cells is positive, then: x a -x b>0, then correspondingly, in the vertical direction, the mark point information on the single cell adjacent to the initial position is located to the right of the mark point information on the single cell at the initial position. When the mark point information is used to represent the negative pole position information of the single cell, the left end of the single cell at the initial position is the positive pole and the right end is the negative pole. Correspondingly, the left end of the single cell adjacent to the initial position is the negative pole and the right end is the positive pole.
[0094] Similarly, see Fig.11 If the pixel difference between the current adjacent cells is negative, it indicates that: x a -x b <0, then correspondingly, in the vertical direction, the mark point information on the single cell adjacent to the initial position is located to the left of the mark point information on the single cell at the initial position. When the mark point information is used to represent the negative pole position information of the single cell, the left end of the single cell at the initial position is the negative pole and the right end is the positive pole. Correspondingly, the left end of the single cell adjacent to the initial position is the positive pole and the right end is the negative pole.
[0095] It should be noted that the present embodiment does not limit the determination of the positive / negative direction of the current single cell. In a possible implementation, the arrangement order of the two adjacent single cells may be determined according to the arrangement of the current single cells.
[0096] In another possible implementation, when the preset direction is the horizontal direction, step 103 is: determine whether the pixel difference between adjacent single cells is equal to a second preset threshold; if it is equal to the second preset threshold, determine that the positive or negative directions of the current adjacent single cells are the same; otherwise, determine whether the pixel difference between adjacent single cells is equal to a third preset threshold; if it is equal to the third preset threshold, determine that the positive or negative directions of the current adjacent single cells are opposite.
[0097] Please refer to Fig.12 and Fig.13 , Fig.12 and Fig.13 Shows two arrangements of adjacent single cells in the horizontal direction. Please refer to Fig.12 , when the pixel difference between adjacent single cells is equal to the second preset threshold d 2 , that is, y 1 =d 2 , it is determined that the positive or negative directions of the adjacent single cells are the same. If they are different, please refer to Fig.13 , it is further determined whether the pixel difference between the adjacent single cells is equal to the third preset threshold value d 3 , if so, it is determined that the positive or negative directions of the current adjacent single cells are opposite.
[0098] In this embodiment, the second preset threshold d 2When two single cells of the same specification are placed in the same way, (for example, refer to Fig.12 , in the manner of positive on the left and negative on the right) the interval between each flag bit information is determined. Similarly, the third preset threshold d 3 When two single cells of the same specification are placed in different ways, (for example, refer to Fig.13 The single battery at the initial position is in the form of positive on the left and negative on the right, and the single battery adjacent to the initial position is in the form of negative on the left and positive on the right.) The interval between each flag bit information is determined.
[0099] After the positive and negative relationship between adjacent single cells is determined, in order to determine the positive and negative order of each single cell in the horizontal direction, in a possible implementation method, if the positive or negative direction between the current adjacent single cells is determined to be the same, the positive and negative direction of any single cell among the current adjacent single cells can be used to determine the positive and negative direction of the other single cell. Similarly, if the positive or negative directions between the current adjacent single cells are opposite, the positive and negative direction of any single cell among the current adjacent single cells can be used to determine the positive and negative direction of the other single cell.
[0100] Specifically, the positive and negative directions of any single cell among the currently adjacent single cells can be determined according to the arrangement of each single cell. For example, under normal circumstances, the arrangement of each single cell remains consistent along the horizontal direction, that is, the arrangement order of each single cell in the horizontal direction is consistent, which is positive on the left and negative on the right, or negative on the left and positive on the right, to ensure that each single cell is arranged in series in the horizontal direction.
[0101] In another possible implementation method, the positive / negative relationship of the single cells at the lower boundary of each image area can be determined preferentially, and then the single cells at each boundary are used as the initial position, and the positive / negative relationship of the single cells corresponding to each column of the current row is determined in sequence along the horizontal position to obtain the positive and negative detection results.
[0102] Based on this, this embodiment can determine the positive and negative directions of the single cells in the horizontal direction according to the arrangement of each single cell, and then determine the positive and negative directions of the adjacent single cells according to the pixel difference between the adjacent single cells.
[0103] In summary, this embodiment provides a method for detecting the positive and negative directions of a battery, which can obtain image samples of a battery module by using an image acquisition module, wherein the battery module includes multiple single cells, and the image samples include the mark point information of each single cell; the mark point information is used to characterize the positive point information and / or negative point information of the single cell. Subsequently, the pixel difference between adjacent single cells is determined based on the coordinates of the mark point information; then, the positive and negative directions between adjacent single cells are determined based on the pixel difference, and each single cell is traversed to obtain the positive and negative detection results. The present invention can improve the accuracy of lithium battery defect detection and reduce labor costs.
[0104] Similar to the previous embodiment, please refer to Fig.14 This embodiment also provides a structural schematic diagram of a battery positive and negative direction detection system, wherein the battery positive and negative direction detection system 100 includes a control device 101 and a camera device 102; the camera device 102 includes multiple image acquisition modules 103, and each image acquisition module 103 is connected to the control device 101.
[0105] The camera device is used to obtain image samples of the battery module in real time and send them to the control device; the control device is used to implement the battery positive and negative direction detection method as described in any one of the first aspects above, that is, to implement the following steps: obtain image samples of the battery module by using an image acquisition module, wherein the battery module includes multiple single cells, and the image samples include the mark point information of each single cell; the mark point information is used to characterize the positive point position information and / or negative point position information of the single cell. Then, the pixel difference between adjacent single cells is determined based on the coordinates of the mark point information; then, the positive and negative directions between adjacent single cells are determined based on the pixel difference, and each single cell is traversed to obtain the positive and negative detection results.
[0106] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0107] In addition, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.
[0108] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0109] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for detecting the positive and negative directions of a battery, characterized in that: The battery positive and negative direction detection method comprises the following steps: Using an image acquisition module to acquire an image sample of a battery module, wherein the battery module includes a plurality of single cells, and the image sample includes marker point information of each single cell; the marker point information is used to characterize the positive pole point position information and / or negative pole point position information of the single cell; Determine the pixel difference between adjacent single cells according to the coordinates of the marker point information; The positive and negative pole directions between adjacent single cells are determined according to the pixel difference, and each single cell is traversed to obtain the positive and negative pole detection results.
2. The method for detecting the positive and negative directions of a battery according to claim 1, characterized in that: The step of determining the pixel difference between adjacent single cells according to the marker point information comprises: Traversing each single battery on the image sample to determine the landmark information of each single battery; According to a preset direction, the difference in coordinates of the marking point information between adjacent single cells is used as the pixel difference between adjacent single cells.
3. The method for detecting the positive and negative directions of a battery according to claim 2, characterized in that: The step of using the coordinate difference of the mark point information between adjacent single cells as the pixel difference between adjacent single cells according to the preset direction comprises: Along a preset direction, taking any single battery as an initial position; and determining the marking point information on the single battery at the initial position to obtain a first coordinate; Determine the marking point information on the single battery cell adjacent to the initial position along a preset direction to obtain a second coordinate; The difference between the first coordinate and the second coordinate is determined to obtain the pixel difference between adjacent single cells.
4. The method for detecting the positive and negative directions of a battery according to claim 1 or 2, characterized in that: In the vertical direction, taking any single battery as the initial position, the step of determining the positive and negative directions between adjacent single batteries according to the pixel difference includes: Determine whether the absolute value of the pixel difference between adjacent single cells is equal to a first preset threshold; if it is equal to the first preset threshold, determine that the positive or negative directions of the current adjacent single cells are the same; if it is not equal to the first preset threshold, determine that the positive or negative directions of the current adjacent single cells are opposite.
5. The method for detecting the positive and negative directions of a battery according to claim 4, characterized in that: After the step of determining that the positive or negative directions of the adjacent single cells are opposite, the following step further includes: Determine whether the pixel difference between the current adjacent single cells is positive. If it is positive, determine that the single cell at the initial position satisfies the first rule, and the single cell adjacent to the initial position satisfies the second rule; if it is negative, determine that the single cell at the initial position satisfies the second rule, and the single cell adjacent to the initial position satisfies the first rule; wherein the positive or negative direction corresponding to the first rule is opposite to the positive or negative direction corresponding to the second rule.
6. The method for detecting the positive and negative directions of a battery according to claim 5, characterized in that: When the marker point information is used to characterize the negative pole position information of the single cell, the first rule satisfies: the left end of the single cell is the positive terminal and the right end is the negative terminal; the second rule satisfies: the left end of the single cell is the negative terminal and the right end is the positive terminal.
7. The method for detecting the positive and negative directions of a battery according to claim 4, characterized in that: When the preset direction is the horizontal direction, taking any single battery as the initial position, the step of determining the positive and negative directions between adjacent single batteries according to the pixel difference includes: Determine whether the pixel difference between adjacent single cells is equal to a second preset threshold; if it is equal to the second preset threshold, determine that the positive or negative directions of the current adjacent single cells are the same; otherwise, determine whether the pixel difference between adjacent single cells is equal to a third preset threshold; if it is equal to the second preset threshold, determine that the positive or negative directions of the current adjacent single cells are opposite.
8. The method for detecting the positive and negative directions of a battery according to claim 1, characterized in that: When the image acquisition module includes at least two image acquisition units, the step of acquiring an image sample of the battery module by using the image acquisition module includes: The image acquisition units are used to respectively acquire different image regions of the same battery module to obtain samples of the corresponding image regions, thereby forming image samples of the battery module, wherein overlapping regions exist between samples with adjacent center points.
9. The method for detecting the positive and negative directions of a battery according to claim 8, characterized in that: The step of forming an image sample of a battery module comprises: Screening the complete single cell battery image in the sample, and using the complete single cell battery image as the target image sample; wherein the target image sample at least includes the positive pole point position information and the negative pole point position information; For any sample, according to the arrangement of the single cells under the current sample, with any target image sample as the origin, the coordinates of each target image sample are determined according to the distance in the horizontal and vertical directions to obtain the image sample of the battery module.
10. A battery positive and negative direction detection system, characterized in that: Including control equipment and camera equipment; The camera device is used to obtain image samples of the battery module in real time and send them to the control device; The control device is used to implement the battery positive and negative direction detection method according to any one of claims 1 to 9.
Citation Information
Cited By
Alarm device for abnormal replacement and installation of battery pack of electric vehicle
CN119649525A