Battery piece sorting method and device, computer equipment, storage medium and program product
By collecting color values in the detection channel of the battery cell and calculating the color difference value, combined with the color value distribution interval in the database, the problem of high misjudgment rate of battery cell sorting in the prior art is solved, and the accuracy of sorting is improved.
Patent Information
- Application Number
- CN202510050719.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-13
- Publication Date
- 2025-04-11
AI Technical Summary
In the prior art, the AOI detection method has a large misjudgment rate in the sorting process of battery cells, which is about 7%.
By collecting the color value of the battery cell in the first detection channel and the second detection channel, and calculating the color difference value, if the color difference value is lower than the preset threshold, it is determined whether the battery cell is of normal color according to the color value distribution interval in the database.
Improve the accuracy of battery cell sorting and reduce the misjudgment rate.
Smart Images

Figure CN119793936A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of photovoltaic technology, and in particular to a cell sorting method, device, computer equipment, storage medium and program product. Background Art
[0002] With the gradual development of photovoltaic power generation technology, distributed photovoltaic power generation and household photovoltaics are gradually promoted, and people's aesthetic needs are gradually increasing, which requires photovoltaic modules to have better color consistency.
[0003] In the prior art, the process from cells to photovoltaic modules generally undergoes AOI (Automated Optical Inspection) inspection, and then the inspected cells are graded by color. Finally, multiple cells of the same grade are laminated and assembled into photovoltaic modules. However, the inventors found that the existing AOI inspection method still has a large misjudgment rate in the cell sorting process, and its misjudgment rate is about 7%. Summary of the invention
[0004] The embodiments of the present application provide a battery cell sorting method to solve or alleviate one or more technical problems in the prior art.
[0005] As one aspect of an embodiment of the present application, an embodiment of the present application provides a battery cell sorting method, comprising: Acquire a first color value of a first battery cell acquired in a first detection channel, and acquire a second color value of a second battery cell acquired in a second detection channel; Calculating a color difference between the first color value and the second color value; If the color difference value is lower than a preset threshold, whether the first battery cell is a battery cell with normal color is determined based on the color value distribution interval of multiple battery cells stored in the database and the first color value, and whether the second battery cell is a battery cell with normal color is determined based on the color value distribution interval of multiple battery cells stored in the database and the second color value.
[0006] In one embodiment, N first inspection stations are provided in the first inspection channel, and N second inspection stations are provided in the second inspection channel, and the installation positions of the first inspection station and the second inspection station correspond one to one; M first color sensors are provided on the first inspection station, and M second color sensors are provided on the second inspection station, and the installation positions of the first color sensors and the second color sensors correspond one to one; when the first battery cell is located at the first inspection station and the second battery cell is located at the second inspection station, the setting orientation of the first color sensor relative to the first battery cell is the same as the setting orientation of the corresponding second color sensor relative to the second battery cell; N and M are integers greater than or equal to 1; the obtaining of the first color value of the first battery cell acquired in the first inspection channel and the obtaining of the second color value of the second battery cell acquired in the second inspection channel include: Acquire N*M first color values obtained by collecting the color value of the first battery cell by the M first color sensors at each of the first inspection stations when the first battery cell is located at each of the first inspection stations in sequence; When the second battery cell is located at each of the second inspection stations in sequence, N*M second color values are obtained by collecting the color value of the second battery cell by a plurality of second color sensors at each of the second inspection stations.
[0007] In one implementation, when N=3, calculating the color difference between the first color value and the second color value includes: Respectively calculating the absolute differences between the M first color values collected at the first first detection station and the M second color values correspondingly collected at the first second detection station to obtain a first set of color difference values; Respectively calculating the absolute differences between the M first color values collected at the second first detection station and the M second color values correspondingly collected at the second second detection station to obtain a second set of color difference values; The absolute differences between the M first color values collected at the third first detection station and the corresponding M second color values collected at the third second detection station are calculated respectively to obtain a third set of color difference values.
[0008] In one embodiment, if the color difference value is lower than a preset threshold, determining whether the first battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the first color value, and determining whether the second battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the second color value include: If each color difference value in the first group of color difference values, each color difference value in the second group of color difference values, and each color difference value in the three groups of color difference values are all lower than the preset threshold value, then determine whether the first battery cell is a battery cell with normal color based on the color value distribution intervals of the multiple battery cells stored in the database and the N*M first color values, and determine whether the second battery cell is a battery cell with normal color based on the color value distribution intervals of the multiple battery cells stored in the database and the N*M second color values.
[0009] In one embodiment, if the color difference value is lower than a preset threshold, determining whether the first battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the first color value, and determining whether the second battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the second color value include: If the average value of all color difference values in the first group of color difference values, the average value of all color difference values in the second group of color difference values, and the average value of all color difference values in the three groups of color difference values are all lower than the preset threshold, then determine whether the first battery cell is a battery cell with normal color based on the color value distribution intervals of the multiple battery cells stored in the database and the N*M first color values, and determine whether the second battery cell is a battery cell with normal color based on the color value distribution intervals of the multiple battery cells stored in the database and the N*M second color values.
[0010] In one embodiment, the first inspection station and the corresponding second inspection station are used as a group of inspection stations, the database has three, and one group of inspection stations is associated with one database, and if the color difference value is lower than a preset threshold, determining whether the first battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the first color value, and determining whether the second battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the second color value include: If each color difference value in the first group of color difference values, each color difference value in the second group of color difference values, and each color difference value in the three groups of color difference values are all lower than the preset threshold value, then according to the color value distribution interval of multiple battery cells stored in the first database, the M first color values collected at the first first inspection station, the color value distribution interval of multiple battery cells stored in the second database, the M first color values collected at the second first inspection station, the color value distribution interval of multiple battery cells stored in the third database, and the M first color values collected at the third first inspection station, it is determined whether the first battery cell is a battery cell with normal color; If each color difference value in the first group of color difference values, each color difference value in the second group of color difference values, and each color difference value in the three groups of color difference values are all lower than the preset threshold value, then determine whether the second battery cell is a battery cell with normal color based on the color value distribution interval of multiple battery cells stored in the first database, the M second color values collected at the first second inspection station, the color value distribution interval of multiple battery cells stored in the second database, the M second color values collected at the second second inspection station, the color value distribution interval of multiple battery cells stored in the third database, and the M second color values collected at the third second inspection station.
[0011] In one embodiment, the first inspection station and the corresponding second inspection station are used as a group of inspection stations, the database has N, and a group of inspection stations is associated with one database, and if the color difference value is lower than a preset threshold, determining whether the first battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the first color value, and determining whether the second battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the second color value include: If the average value of all color difference values in the first group of color difference values, the average value of all color difference values in the second group of color difference values, and the average value of all color difference values in the three groups of color difference values are all lower than the preset threshold, then according to the color value distribution intervals of multiple battery cells stored in the first database, the M first color values collected at the first first inspection station, the color value distribution intervals of multiple battery cells stored in the second database, the M first color values collected at the second first inspection station, the color value distribution intervals of multiple battery cells stored in the third database, and the M first color values collected at the third first inspection station, it is determined whether the first battery cell is a battery cell with normal color; If the average value of all color difference values in the first group of color difference values, the average value of all color difference values in the second group of color difference values, and the average value of all color difference values in the three groups of color difference values are all lower than the preset threshold, then determine whether the second battery cell is a battery cell with normal color based on the color value distribution range of multiple battery cells stored in the first database, the M second color values collected at the first second inspection station, the color value distribution range of multiple battery cells stored in the second database, the M second color values collected at the second second inspection station, the color value distribution range of multiple battery cells stored in the third database, and the M second color values collected at the third second inspection station.
[0012] In one embodiment, the determining whether the first battery cell is a battery cell with normal color according to the color value distribution intervals of the plurality of battery cells stored in the first database, the M first color values collected at the first first detection station, the color value distribution intervals of the plurality of battery cells stored in the second database, the M first color values collected at the second first detection station, the color value distribution intervals of the plurality of battery cells stored in the third database, and the M first color values collected at the third first detection station includes: Determine whether the M first color values collected at the first first inspection station are all within the color value distribution range of the plurality of battery cells stored in the first database; If the M first color values collected at the first first inspection station are all within the color value distribution range of the multiple battery cells stored in the first database, then continue to determine whether the M first color values collected at the second first inspection station are all within the color value distribution range of the multiple battery cells stored in the second database; If the M first color values collected at the second first inspection station are all within the color value distribution range of the multiple battery cells stored in the second database, then continue to determine whether the M first color values collected at the third first inspection station are all within the color value distribution range of the multiple battery cells stored in the third database; If the M first color values collected at the third first inspection station are all within the color value distribution range of the plurality of cells stored in the third database, it is determined that the first cell is a cell with normal color; The method of determining whether the second battery cell is a battery cell with normal color according to the color value distribution intervals of the plurality of battery cells stored in the first database, the M second color values collected at the first second inspection station, the color value distribution intervals of the plurality of battery cells stored in the second database, the M second color values collected at the second second inspection station, the color value distribution intervals of the plurality of battery cells stored in the third database, and the M second color values collected at the third second inspection station comprises: Determine whether the M second color values collected at the first second inspection station are all within the color value distribution range of the plurality of battery cells stored in the first database; If the M second color values collected at the first second inspection station are all within the color value distribution range of the multiple battery cells stored in the first database, then continue to determine whether the M second color values collected at the second second inspection station are all within the color value distribution range of the multiple battery cells stored in the second database; If the M second color values collected at the second second inspection station are all within the color value distribution range of the multiple battery cells stored in the second database, then continue to determine whether the M second color values collected at the third second inspection station are all within the color value distribution range of the multiple battery cells stored in the third database; If the M second color values collected at the third second inspection station are all within the color value distribution range of the plurality of battery cells stored in the third database, it is determined that the second battery cell is a battery cell with normal color.
[0013] In one embodiment, the method further comprises: If the M first color values collected at the first first inspection station are all within the color value distribution range of the plurality of battery cells stored in the first database, the M first color values collected at the first first inspection station are recorded in the first database; If the M first color values collected at the second first inspection station are all within the color value distribution range of the plurality of battery cells stored in the second database, the M first color values collected at the second first inspection station are recorded in the second database; If the M first color values collected at the third first inspection station are all within the color value distribution range of multiple battery cells stored in the third database, the M first color values collected at the third first inspection station are recorded in the third database.
[0014] In one embodiment, the method further comprises: If the M first color values collected at the second first inspection station are not all within the color value distribution range of the plurality of battery cells stored in the second database, the M first color values collected at the first first inspection station are deleted from the first database; or If the M first color values collected at the third first inspection station are not all within the color value distribution range of the multiple battery cells stored in the third database, the M first color values collected at the first first inspection station will be deleted from the first database, and the M first color values collected at the second first inspection station will be deleted from the second database.
[0015] As another aspect of the embodiment of the present application, the embodiment of the present application further provides a battery cell sorting device, including: An acquisition module, used to acquire a first color value of a first battery cell acquired in a first detection channel, and to acquire a second color value of a second battery cell acquired in a second detection channel; A calculation module, used for calculating a color difference between the first color value and the second color value; A determination module is used to determine whether the first battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the first color value if the color difference value is lower than a preset threshold, and to determine whether the second battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the second color value.
[0016] As another aspect of an embodiment of the present application, an embodiment of the present application further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described above when executing the computer program.
[0017] As another aspect of an embodiment of the present application, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described above are implemented.
[0018] As another aspect of an embodiment of the present application, an embodiment of the present application further provides a computer program product, including a computer program, which implements the steps of the method described above when executed by a processor.
[0019] The technical solution provided by the embodiment of the present application has the following advantages: By first obtaining the first color value of the first battery cell acquired in the first detection channel, and obtaining the second color value of the second battery cell acquired in the second detection channel; then, calculating the color difference value between the first color value and the second color value, and then comparing the first battery cell with the second battery cell according to the color difference value, it is determined whether the first battery cell and the second battery cell are battery cells with abnormal colors. If the color difference value is lower than the preset threshold, it indicates that the color difference between the first battery cell and the second battery cell is small, and it can be preliminarily determined that the first battery cell and the second battery cell are both battery cells with normal colors. At this time, in order to obtain a more accurate judgment result, it is further possible to combine the color value distribution intervals of multiple battery cells stored in the database and the first color value to determine whether the first battery cell is a battery cell with normal colors, and to combine the color value distribution intervals of multiple battery cells stored in the database and the second color value to determine whether the second battery cell is a battery cell with normal colors. When the first color value is within the color value distribution range of multiple battery cells with normal colors stored in the database, the first battery cell can be determined to be a battery cell with normal colors; when the second color value is also within the color value distribution range of multiple battery cells with normal colors stored in the database, the second battery cell can be determined to be a battery cell with normal colors. The above battery cell sorting method first compares the color values of two battery cells with each other, and then compares them with the color values of battery cells with normal colors stored in the database, thereby improving the accuracy of battery cell sorting.
[0020] The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present application will be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in the present application and should not be regarded as limiting the scope of the present application.
[0022] Figure 1 A schematic flow chart of a battery cell sorting method according to an embodiment of the present application.
[0023] Figure 2 A schematic diagram showing the angles for color collection on the four velvet surfaces of a cell; Figure 3 It is a schematic diagram of the testing table and testing station; Figure 4A flowchart is provided for refining the steps of determining whether the first battery cell is a battery cell with normal color based on the color value distribution intervals of multiple battery cells stored in the first database, the M first color values collected at the first first inspection station, the color value distribution intervals of multiple battery cells stored in the second database, the M first color values collected at the second first inspection station, the color value distribution intervals of multiple battery cells stored in the third database, and the M first color values collected at the third first inspection station.
[0024] Figure 5 A flowchart is provided for refining the steps of determining whether the second battery cell is a battery cell with normal color based on the color value distribution intervals of multiple battery cells stored in the first database, M second color values collected at the first second inspection station, the color value distribution intervals of multiple battery cells stored in the second database, M second color values collected at the second second inspection station, the color value distribution intervals of multiple battery cells stored in the third database, and M second color values collected at the third second inspection station.
[0025] Figure 6 A program module diagram of an embodiment of a single crystal furnace shutdown device described in the present application; Figure 7 A schematic diagram of the hardware structure of a computer device for executing a single crystal furnace shutdown method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0026] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present application. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.
[0027] Explanation of the name of this application: Detection channel: refers to the channel that detects and transmits the color of the battery cells during the battery cell sorting process.
[0028] Inspection station: refers to the working position where the color of the battery cells is inspected during the battery cell sorting process.
[0029] Solar cell: Also known as a solar cell or photovoltaic cell, it is a semiconductor device that converts sunlight into electrical energy.
[0030] Color sensor: A sensor that collects the color value of the battery cell.
[0031] Figure 1 FIG. 1 is a schematic flow chart of a cell sorting method according to an embodiment of the present application. Figure 1As shown, the cell sorting method includes: S10, obtaining a first color value of a first battery cell acquired through a first detection channel, and obtaining a second color value of a second battery cell acquired through a second detection channel.
[0032] In an embodiment of the present application, when the battery cells are color-sorted, the two battery cells to be sorted (the first battery cell and the second battery cell) will be placed in the first detection channel and the second detection channel respectively for sorting operations. After the first battery cell and the second battery cell are placed in the first detection channel and the second detection channel respectively, each detection channel will transfer the battery cells to a pre-set detection station for detection. For example, the first detection channel will transfer the first battery cell to the first detection station for detection, and the second detection channel will transfer the second battery cell to the second detection station for detection. When the first battery cell arrives at the first detection station, the color sensor set at the first detection station will collect the color value of the first battery cell, thereby obtaining a first color value. When the second battery cell arrives at the second detection station, the color sensor set at the second detection station will collect the color value of the second battery cell, thereby obtaining a second color value.
[0033] In an embodiment of the present application, the first color value of the first battery cell collected in the first detection channel can be directly obtained from the color sensor set at the first detection station, and the first color value of the second battery cell collected in the second detection channel can be directly obtained from the color sensor set at the second detection station.
[0034] In another embodiment, after the color sensor disposed at the first detection station collects the first color value of the first battery cell, the first color value will be transmitted to the terminal device; after the color sensor disposed at the second detection station collects the second color value of the second battery cell, the second color value will also be transmitted to the terminal device. In this case, the first color value of the first battery cell collected in the first detection channel can be obtained from the terminal device, and the second color value of the second battery cell collected in the second detection channel can be obtained from the terminal device.
[0035] The first color value and the second color value may be RGB values for characterizing the color of the battery cell, or may be CMYK values for characterizing the color of the battery cell, or may be HSL values for characterizing the color of the battery cell.
[0036] As an example, when the color value of the battery cell (including the first color value and the second color value) is represented by RGB values, the color value can be obtained by processing in the following manner: After acquiring the color image of the battery cell, the color sensor extracts the pixel values of the three color channels R, G, and B from the color image; The pixel values of each color channel are accumulated and summed respectively to obtain the pixel accumulation value of each color channel; Determine the average pixel value of each color channel based on the pixel accumulation value of each color channel; The average pixel values of each color channel are combined to obtain the color value of the battery cell, that is, the color value is (the average pixel value of the R channel, the average pixel value of the G channel, and the average pixel value of the B channel).
[0037] S11, calculating a color difference between the first color value and the second color value.
[0038] The color difference value=|the first color value-the second color value|, that is, the color difference value is the absolute value of the first color value and the second color value.
[0039] In one example, the first color value and the second color value are represented by RGB values. When calculating the color difference between the first color value and the second color value, the first color value and the second color value may be converted into a first grayscale value and a second grayscale value, respectively. Then, the difference between the first grayscale value and the second grayscale value is calculated. Finally, the color difference value is represented by the absolute value of the difference. That is, the color difference value is: |the first grayscale value - the second grayscale value| In another example, the first color value and the second color value are represented by RGB values. When calculating the color difference between the first color value and the second color value, the first difference between the R value in the first color value and the R value in the second color value, the second difference between the G value in the first color value and the G value in the second color value, and the third difference between the B value in the first color value and the B value in the second color value can be calculated respectively. Then, the color difference value is represented by the absolute values of the first difference, the second difference and the third difference, that is, the color difference value (represented by RGB values) is: (|the first difference|, |the second difference|, |the third difference|).
[0040] S12, if the color difference value is lower than a preset threshold, determining whether the first battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the first color value, and determining whether the second battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the second color value.
[0041] The preset threshold is a pre-set value, which can be set and modified according to actual conditions.
[0042] The color value distribution interval can be determined by the maximum color value and the minimum color value contained in the color data of multiple battery cells with normal colors stored in the database, that is, the color value distribution interval is the minimum color value to the maximum color value.
[0043] In one example, in the color data of multiple cells with normal colors stored in the database, the maximum color value is A, the minimum color value is B, and the color value distribution interval is B~A.
[0044] It should be noted that the plurality of battery cells stored in the database are battery cells determined to be of normal color after detection.
[0045] In an embodiment of the present application, when determining whether the first battery cell is a battery cell with normal color, it can be determined by determining whether the first color value is within the color value distribution interval. When the first color value is within the color value distribution interval, it can be determined that the first battery cell is a battery cell with normal color; when the first color value is outside the color value distribution interval, it can be determined that the first battery cell is a battery cell with abnormal color. Similarly, when determining whether the second battery cell is a battery cell with normal color, it can be determined by determining whether the second color value is within the color value distribution interval. When the second color value is within the color value distribution interval, it can be determined that the second battery cell is a battery cell with normal color; when the second color value is outside the color value distribution interval, it can be determined that the second battery cell is a battery cell with abnormal color.
[0046] In this embodiment, when the color difference value is higher than or equal to the preset threshold, it can be directly determined that both the first cell and the second cell are cells with abnormal colors, or it can be determined that at least one of the first cell and the second cell is a cell with abnormal colors.
[0047] In the embodiment of the present application, the first color value of the first battery cell acquired in the first detection channel and the second color value of the second battery cell acquired in the second detection channel are firstly acquired; then, the color difference value between the first color value and the second color value is calculated, and then the first battery cell and the second battery cell can be compared according to the color difference value, so as to determine whether the first battery cell and the second battery cell are battery cells with abnormal colors. If the color difference value is lower than the preset threshold value, it indicates that the color difference between the first battery cell and the second battery cell is small, and it can be preliminarily determined that the first battery cell and the second battery cell are both battery cells with normal colors. At this time, in order to obtain a more accurate judgment result, the color value distribution interval of multiple battery cells stored in the database and the first color value can be further combined to determine whether the first battery cell is a battery cell with normal colors, and the color value distribution interval of multiple battery cells stored in the database and the second color value can be combined to determine whether the second battery cell is a battery cell with normal colors. When the first color value is within the color value distribution range of multiple battery cells with normal colors stored in the database, the first battery cell can be determined to be a battery cell with normal colors; when the second color value is also within the color value distribution range of multiple battery cells with normal colors stored in the database, the second battery cell can be determined to be a battery cell with normal colors. The above battery cell sorting method first compares the color values of two battery cells with each other, and then compares them with the color values of battery cells with normal colors stored in the database, thereby improving the accuracy of battery cell sorting.
[0048] In one embodiment, in order to further improve the accuracy of battery cell sorting, N first inspection stations are provided in the first inspection channel, and N second inspection stations are provided in the second inspection channel, and the installation positions of the first inspection stations correspond one-to-one to the installation positions of the second inspection stations; M first color sensors are provided at the first inspection stations, and M second color sensors are provided at the second inspection stations, and the installation positions of the first color sensors correspond one-to-one to the installation positions of the second color sensors; when the first battery cell is located at the first inspection station and the second battery cell is located at the second inspection station, the setting orientation of the first color sensor relative to the first battery cell is the same as the setting orientation of the corresponding second color sensor relative to the second battery cell; N and M are integers greater than or equal to 1.
[0049] In the embodiment of the present application, by respectively setting N first detection stations and second detection stations in the first detection channel and the second detection channel, it is possible to achieve repeated comparison of the detection data of the N detection stations, thereby improving the accuracy of battery cell sorting. In addition, in order to further improve the accuracy of battery cell sorting, M color sensors can be set at each detection station, that is, M color sensors can be set at the first detection station and the second detection station, respectively, so that the color values of the battery cell at different angles can be collected by the M color sensors, and then data comparison can be performed based on the color values collected at different angles, thereby improving the accuracy of battery cell sorting.
[0050] It should be noted that in order to ensure the credibility of the color values collected by the color sensor, the color sensors at the same detection station need to ensure that the lighting conditions they are in are as consistent as possible, so that the error benchmarks between them are kept consistent.
[0051] In one embodiment, since the battery cell itself absorbs light to generate electricity, the color performance of the battery cell will be greatly different when observed at different angles. When observed perpendicular to the battery cell, the battery cell appears dark blue and its color characteristics are obscured. However, the inventors have discovered that when observing the oblique section perpendicular to the pyramid velvet surface of the battery cell, the basic color of the battery cell can be observed to the greatest extent. Based on this discovery, when the present application sets a color sensor at each inspection station, the setting position of the color sensor can be determined by using the direction parallel to the main grid of the battery cell as the X-axis and the direction perpendicular to the main grid (or parallel to the fine grid) as the Y-axis as the coordinate system. In addition, since the pyramid distribution, edges and angles of the battery cell and the main grid can be basically determined to be fixed, when setting a color sensor at each inspection station, it can be used. Figure 2 The color sensor is set at the angle (45°) shown in the coordinate system. When the color sensor is set at the above angle, it can be basically regarded that the color sensor is perpendicular to the pyramid oblique surface. In other words, when the color sensor is set at the above angle, the maximum Figure 2 As shown, a color sensor is respectively set at position 1, position 2, position 3 and position 4, so that at most four velvet color values of the battery cell can be collected by the color sensor.
[0052] In one example, the first detection channel A and the second detection channel B can be set on the detection table, and 3 detection positions are set on each detection channel, that is, 3 detection positions (first detection positions) are set on the first detection channel A, and 3 detection positions (second detection positions) are set on the second detection channel B. In this way, a total of 6 detection positions are set on the detection table. For the convenience of subsequent comparison, the corresponding detection positions in the two channels A and B can be combined into one detection position, thereby forming Figure 3The inspection stations 1, 2 and 3 are shown.
[0053] Correspondingly, when color sensors are set on the first detection channel and the second detection channel in the above manner, the acquisition of the first color value of the first battery cell collected in the first detection channel and the acquisition of the second color value of the second battery cell collected in the second detection channel include: acquiring N*M first color values obtained by collecting the color value of the first battery cell by M first color sensors at each of the first detection stations when the first battery cell is sequentially located at each of the first detection stations; acquiring N*M second color values obtained by collecting the color value of the second battery cell by multiple second color sensors at each of the second detection stations when the second battery cell is sequentially located at each of the second detection stations.
[0054] In this embodiment, see Figure 2 and Figure 3 , and taking N=3, M=4 as an example, when the first battery cell is located at the detection station 1, the four color sensors set at the detection station 1 will collect the four first color values obtained by collecting the color value of the first battery cell, and the four second color values obtained by collecting the color value of the second battery cell by the four color sensors set at the detection station 1 will be obtained. When the first battery cell and the second battery cell are located at the detection station 2, the four first color values obtained by collecting the color value of the first battery cell by the four color sensors set at the detection station 2 will continue to be obtained, and the four second color values obtained by collecting the color value of the second battery cell by the four color sensors set at the detection station 2 will be obtained. When the first battery cell and the second battery cell are located at the detection station 3, the four first color values obtained by collecting the color value of the first battery cell by the four color sensors set at the detection station 3 will continue to be obtained, and the four second color values obtained by collecting the color value of the second battery cell by the four color sensors set at the detection station 3 will be obtained. After the color sensors arranged on the inspection station 1, the inspection station 2 and the inspection station 3 collect the color values of the first battery cell and the second battery cell, a total of 4*3=12 first color values and 4*3=12 second color values can be obtained.
[0055] In the embodiment of the present application, by acquiring the color values of the battery cells at multiple angles and multiple inspection stations, it is convenient to subsequently implement multi-angle data comparison and multi-inspection station data comparison to improve the accuracy of battery cell sorting.
[0056] In one embodiment, when N=3, the calculation of the color difference between the first color value and the second color value includes: respectively calculating the absolute differences between the M first color values collected at the first first detection station and the corresponding M second color values collected at the first second detection station, to obtain a first group of color difference values; respectively calculating the absolute differences between the M first color values collected at the second first detection station and the corresponding M second color values collected at the second second detection station, to obtain a second group of color difference values; respectively calculating the absolute differences between the M first color values collected at the third first detection station and the corresponding M second color values collected at the third second detection station, to obtain a third group of color difference values.
[0057] In one example, taking M=4 as an example, the absolute differences between the four first color values collected at the first first detection station (assuming they are A1, A2, A3, and A4) and the four second color values collected at the first second detection station (assuming they are B1, B2, B3, and B4) will be calculated respectively, that is, the absolute difference between A1 and B1, the absolute difference between A2 and B2, the absolute difference between A3 and B3, and the absolute difference between A4 and B4 will be calculated respectively. After obtaining the four absolute differences, these four absolute differences will be used as the first group of color values, that is, the first group of color difference values is: {|A1-B1|, |A2-B2|, |A3-B3|, |A4-B4|}.
[0058] Similarly, the absolute differences between the four first color values collected at the second first detection station (assuming they are C1, C2, C3, and C4) and the four corresponding second color values collected at the second second detection station (assuming they are D1, D2, D3, and D4) will be calculated, that is, the absolute difference between C1 and D1, the absolute difference between C2 and D2, the absolute difference between C3 and D3, and the absolute difference between C4 and D4 will be calculated. After obtaining the four absolute differences, these four absolute differences will be used as the second group of color values, that is, the first group of color difference values is: {|C1-D1|, |C2-D2|, |C3-D3|, |C4-D4|}.
[0059] Similarly, the absolute differences between the four first color values collected at the third first detection station (assuming they are E1, E2, E3, and E4) and the four corresponding second color values collected at the third second detection station (assuming they are F1, F2, F3, and F4) will be calculated, that is, the absolute difference between E1 and F1, the absolute difference between E2 and F2, the absolute difference between E3 and F3, and the absolute difference between E4 and F4 will be calculated. After obtaining the four absolute differences, these four absolute differences will be used as the third group of color values, that is, the first group of color difference values are: {|E1-F1|, |E2-F2|, |E3-F3|, |E4-F4|}.
[0060] In the embodiment of the present application, the color difference between the first battery cell and the second battery cell is characterized by using three groups of color difference values, so that the color difference between the first battery cell and the second battery cell can be determined more accurately.
[0061] In one embodiment, if the color difference value is lower than a preset threshold, determining whether the first battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the first color value, and determining whether the second battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the second color value includes: if each color difference value in the first group of color difference values, each color difference value in the second group of color difference values, and each color difference value in the three groups of color difference values are all lower than the preset threshold, determining whether the first battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the N*M first color values, and determining whether the second battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the N*M second color values.
[0062] In an embodiment of the present application, when each color difference value in the first group of color difference values, each color difference value in the second group of color difference values, and each color difference value in the three groups of color difference values are all lower than the preset threshold value, it can be further determined whether the N*M first color values are all within the color value distribution range. If the N*M first color values are all within the color value distribution range, it can be determined that the first battery cell is a battery cell with normal color; if there is a first color value among the N*M first color values that is not within the color value distribution range, it can be determined that the first battery cell is a battery cell with abnormal color.
[0063] Similarly, if the N*M second color values are all within the color value distribution range, it can be determined that the second battery cell is a battery cell with normal color; if there is a second color value among the N*M second color values that is not within the color value distribution range, it can be determined that the second battery cell is a battery cell with abnormal color.
[0064] It should be noted that, when determining whether a battery cell is a battery cell with normal color, the battery cell may be determined to be a battery cell with normal color when it is determined that more than a preset number of color values are within the color value distribution range. The preset number may be set according to actual conditions, and its specific value is not limited.
[0065] In one implementation, if there is a color value lower than the preset threshold value in each color difference value in the first group of color difference values, it can be directly determined that the first battery cell and the second battery cell are battery cells with abnormal colors.
[0066] Similarly, if there is a color difference value lower than the preset threshold value among the color difference values in the second group of color difference values, it can also be directly determined that the first battery cell and the second battery cell are battery cells with abnormal colors.
[0067] Similarly, if there is a color difference value lower than the preset threshold value among the color difference values in the third group of color difference values, it can also be directly determined that the first battery cell and the second battery cell are battery cells with abnormal colors.
[0068] In one embodiment, if there is a color difference value lower than the preset threshold value among the color difference values in the first group of color difference values, it is possible to further combine the color value distribution intervals of multiple battery cells stored in the database and the acquired first color value and second color value to determine whether the first battery cell and the second battery cell are battery cells with normal colors.
[0069] Similarly, if there is a color difference value lower than the preset threshold value among the color difference values in the second group of color difference values, it is possible to further combine the color value distribution intervals of multiple battery cells stored in the database and the obtained first color value and second color value to determine whether the first battery cell and the second battery cell are battery cells with normal colors.
[0070] Similarly, if there is a color difference value lower than the preset threshold value among the color difference values in the third group of color difference values, it is possible to further combine the color value distribution intervals of multiple battery cells stored in the database and the first color value and the second color value obtained to determine whether the first battery cell and the second battery cell are battery cells with normal colors.
[0071] In the embodiment of the present application, when it is determined that all the color difference values in the three groups of color difference values are lower than the preset threshold value, it is determined whether the first battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the N*M first color values, and it is determined whether the second battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the N*M second color values, thereby improving the accuracy of battery cell selection.
[0072] In one embodiment, if the color difference value is lower than a preset threshold, determining whether the first battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the first color value, and determining whether the second battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the second color value includes: if the average value of all color difference values in the first group of color difference values, the average value of all color difference values in the second group of color difference values, and the average value of all color difference values in the three groups of color difference values are all lower than the preset threshold, determining whether the first battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the N*M first color values, and determining whether the second battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the N*M second color values.
[0073] In an embodiment of the present application, when the average value of all color difference values in the first group of color difference values, the average value of all color difference values in the second group of color difference values, and the average value of all color difference values in the three groups of color difference values are all lower than the preset threshold value, it can be further determined whether the N*M first color values are all within the color value distribution range. If the N*M first color values are all within the color value distribution range, it can be determined that the first battery cell is a battery cell with normal color; if there is a first color value among the N*M first color values that is not within the color value distribution range, it can be determined that the first battery cell is a battery cell with abnormal color.
[0074] Similarly, if the N*M second color values are all within the color value distribution range, it can be determined that the second battery cell is a battery cell with normal color; if there is a second color value among the N*M second color values that is not within the color value distribution range, it can be determined that the second battery cell is a battery cell with abnormal color.
[0075] It should be noted that, when determining whether a battery cell is a battery cell with normal color, the battery cell may be determined to be a battery cell with normal color when it is determined that more than a preset number of color values are within the color value distribution range. The preset number may be set according to actual conditions, and its specific value is not limited.
[0076] In the embodiment of the present application, when it is determined that the average color difference values of the three groups of color difference values are all lower than the preset threshold value, it is determined whether the first battery cell is a battery cell with normal color based on the color value distribution intervals of the multiple battery cells stored in the database and the N*M first color values, and it is determined whether the second battery cell is a battery cell with normal color based on the color value distribution intervals of the multiple battery cells stored in the database and the N*M second color values, thereby improving the sorting rate of battery cells with normal color.
[0077] In one embodiment, the first inspection station and the corresponding second inspection station are regarded as a group of inspection stations, and the database has 3, and one group of inspection stations is associated with one database, that is, the first database is associated with the first group of inspection stations, the second database is associated with the second group of inspection stations, and the third database is associated with the third group of inspection stations.
[0078] Correspondingly, if the color difference value is lower than a preset threshold, determining whether the first battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the first color value, and determining whether the second battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the second color value include: if each color difference value in the first group of color difference values, each color difference value in the second group of color difference values, and each color difference value in the three groups of color difference values are all lower than the preset threshold, then according to the color value distribution interval of multiple battery cells stored in the first database, the M first color values collected at the first first detection station, the color value distribution interval of multiple battery cells stored in the second database, the M first color values collected at the second first detection station, and the third Determine whether the first battery cell is a battery cell with normal color based on the color value distribution range of multiple battery cells stored in the first database and the M first color values collected at the third first inspection station; if each color difference value in the first group of color difference values, each color difference value in the second group of color difference values, and each color difference value in the three groups of color difference values are all lower than the preset threshold, then determine whether the second battery cell is a battery cell with normal color based on the color value distribution range of multiple battery cells stored in the first database, the M second color values collected at the first second inspection station, the color value distribution range of multiple battery cells stored in the second database, the M second color values collected at the second second inspection station, the color value distribution range of multiple battery cells stored in the third database, and the M second color values collected at the third second inspection station.
[0079] Among them, the color value distribution ranges of multiple battery cells stored in the first database can be pre-collected by the color sensor set on the first group of inspection stations for multiple battery cells that have been judged to have normal colors, and then a color value set is formed by all the collected color values. Thereafter, the color value distribution range corresponding to the color is determined based on the color value set.
[0080] Similarly, the color value distribution ranges of multiple battery cells stored in the second database can be pre-collected by a color sensor set on the second group of inspection stations for multiple battery cells that have been judged to have normal colors, and then a color value set is formed from all the collected color values. Thereafter, the corresponding color value distribution range is determined based on the color value set.
[0081] Similarly, the color value distribution ranges of multiple battery cells stored in the third database can be pre-collected by a color sensor set on the third group of inspection stations for multiple battery cells that have been judged to have normal colors, and then a color value set is formed from all the collected color values. Thereafter, the corresponding color value distribution range is determined based on the color value set.
[0082] In an embodiment of the present application, after determining that each color difference value in the first group of color difference values, each color difference value in the second group of color difference values, and each color difference value in the three groups of color difference values are all lower than the preset threshold, the color value distribution intervals of the multiple battery cells stored in the first database, the M first color values collected at the first first inspection station, the color value distribution intervals of the multiple battery cells stored in the second database, the M first color values collected at the second first inspection station, the color value distribution intervals of the multiple battery cells stored in the third database, and the M first color values collected at the third first inspection station are combined to determine whether the first battery cell is a battery cell with normal color.
[0083] Similarly, when it is determined that each color difference value in the first group of color difference values, each color difference value in the second group of color difference values, and each color difference value in the three groups of color difference values are all lower than the preset threshold, the color value distribution range of multiple battery cells stored in the first database, the M second color values collected at the first second inspection station, the color value distribution range of multiple battery cells stored in the second database, the M second color values collected at the second second inspection station, the color value distribution range of multiple battery cells stored in the third database, and the M second color values collected at the third second inspection station will be combined to determine whether the second battery cell is a battery cell with normal color.
[0084] In an embodiment of the present application, after determining that each color difference value in the first group of color difference values, each color difference value in the second group of color difference values, and each color difference value in the three groups of color difference values are all lower than the preset threshold, the color value distribution intervals in multiple databases and the color values collected by each inspection station are combined to determine whether the battery cell is a battery cell with normal color, thereby achieving multiple comparisons of the battery cells and improving the accuracy of battery cell selection.
[0085] In one embodiment, the first inspection station and the corresponding second inspection station are regarded as a group of inspection stations, and the database has N, and one group of inspection stations is associated with one database, that is, the first database is associated with the first group of inspection stations, the second database is associated with the second group of inspection stations, and the third database is associated with the third group of inspection stations.
[0086] Correspondingly, if the color difference value is lower than a preset threshold, determining whether the first battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the first color value, and determining whether the second battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the second color value include: if the average value of all color difference values in the first group of color difference values, the average value of all color difference values in the second group of color difference values, and the average value of all color difference values in the three groups of color difference values are all lower than the preset threshold, then according to the color value distribution interval of multiple battery cells stored in the first database, the M first color values collected at the first first detection station, the color value distribution interval of multiple battery cells stored in the second database, the M first color values collected at the second first detection station, and the third Whether the first battery cell is a battery cell with normal color is determined based on the color value distribution range of multiple battery cells stored in the first database and the M first color values collected at the third first inspection station; if the average value of all color difference values in the first group of color difference values, the average value of all color difference values in the second group of color difference values and the average value of all color difference values in the three groups of color difference values are all lower than the preset threshold, then whether the second battery cell is a battery cell with normal color is determined based on the color value distribution range of multiple battery cells stored in the first database, the M second color values collected at the first second inspection station, the color value distribution range of multiple battery cells stored in the second database, the M second color values collected at the second second inspection station, the color value distribution range of multiple battery cells stored in the third database and the M second color values collected at the third second inspection station.
[0087] Among them, the color value distribution ranges of multiple battery cells stored in the first database can be pre-collected by the color sensor set on the first group of inspection stations for multiple battery cells that have been judged to have normal colors, and then a color value set is formed by all the collected color values. Thereafter, the color value distribution range corresponding to the color is determined based on the color value set.
[0088] Similarly, the color value distribution ranges of multiple battery cells stored in the second database can be pre-collected by a color sensor set on the second group of inspection stations for multiple battery cells that have been judged to have normal colors, and then a color value set is formed from all the collected color values. Thereafter, the corresponding color value distribution range is determined based on the color value set.
[0089] Similarly, the color value distribution ranges of multiple battery cells stored in the third database can be pre-collected by a color sensor set on the third group of inspection stations for multiple battery cells that have been judged to have normal colors, and then a color value set is formed from all the collected color values. Thereafter, the corresponding color value distribution range is determined based on the color value set.
[0090] In an embodiment of the present application, after determining that the average value of all color difference values in the first group of color difference values, the average value of all color difference values in the second group of color difference values, and the average value of all color difference values in the three groups of color difference values are all lower than the preset threshold, the color value distribution intervals of multiple battery cells stored in the first database, the M first color values collected at the first first inspection station, the color value distribution intervals of multiple battery cells stored in the second database, the M first color values collected at the second first inspection station, the color value distribution intervals of multiple battery cells stored in the third database, and the M first color values collected at the third first inspection station are combined to determine whether the first battery cell is a battery cell with normal color.
[0091] Similarly, when it is determined that the average value of all color difference values in the first group of color difference values, the average value of all color difference values in the second group of color difference values, and the average value of all color difference values in the three groups of color difference values are all lower than the preset threshold, the color value distribution range of multiple battery cells stored in the first database, the M second color values collected at the first second inspection station, the color value distribution range of multiple battery cells stored in the second database, the M second color values collected at the second second inspection station, the color value distribution range of multiple battery cells stored in the third database, and the M second color values collected at the third second inspection station will be combined to determine whether the second battery cell is a battery cell with normal color.
[0092] In an embodiment of the present application, after determining that the average value of all color difference values in the first group of color difference values, the average value of all color difference values in the second group of color difference values, and the average value of all color difference values in the three groups of color difference values are all lower than the preset threshold, the color value distribution intervals in multiple databases and the color values collected by each inspection station will continue to be combined to determine whether the battery cell is a battery cell with normal color, thereby achieving multiple comparisons of the battery cells and improving the accuracy of battery cell selection.
[0093] In one embodiment, see Figure 4 , the step of determining whether the first battery cell is a battery cell with normal color according to the color value distribution intervals of the plurality of battery cells stored in the first database, the M first color values collected at the first first detection station, the color value distribution intervals of the plurality of battery cells stored in the second database, the M first color values collected at the second first detection station, the color value distribution intervals of the plurality of battery cells stored in the third database, and the M first color values collected at the third first detection station includes steps S40-S43: Step S40, determining whether the M first color values collected at the first first inspection station are all within the color value distribution range of the plurality of battery cells stored in the first database.
[0094] Among them, if the M first color values collected at the first first inspection station are all within the color value distribution range of multiple battery cells stored in the first database, step S41 is continued to be executed; if the M first color values collected at the first first inspection station are not all within the color value distribution range of multiple battery cells stored in the first database, the first battery cell is determined to be a battery cell with abnormal color.
[0095] Step S41, determining whether the M first color values collected at the second first detection station are all within the color value distribution range of the plurality of battery cells stored in the second database.
[0096] Among them, if the M first color values collected at the second first inspection station are all within the color value distribution range of multiple battery cells stored in the second database, continue to execute step S42; if the M first color values collected at the second first inspection station are not all within the color value distribution range of multiple battery cells stored in the second database, it is determined that the first battery cell is a battery cell with abnormal color.
[0097] Step S42, determining whether the M first color values collected at the third first detection station are all within the color value distribution range of the plurality of battery cells stored in the third database.
[0098] Among them, if the M first color values collected at the third first inspection station are all within the color value distribution range of multiple battery cells stored in the third database, step S43 is executed; if the M first color values collected at the third first inspection station are not all within the color value distribution range of multiple battery cells stored in the third database, the first battery cell is determined to be a battery cell with abnormal color.
[0099] Step S43: determining that the first battery cell is a battery cell with normal color.
[0100] Correspondingly, see Figure 5 , the step of determining whether the second battery cell is a battery cell with normal color according to the color value distribution intervals of the plurality of battery cells stored in the first database, the M second color values collected at the first second inspection station, the color value distribution intervals of the plurality of battery cells stored in the second database, the M second color values collected at the second second inspection station, the color value distribution intervals of the plurality of battery cells stored in the third database, and the M second color values collected at the third second inspection station comprises steps S50-S53: Step S50, determining whether the M second color values collected at the first second inspection station are all within the color value distribution range of the plurality of battery cells stored in the first database.
[0101] Among them, if the M second color values collected at the first second inspection station are all within the color value distribution range of multiple battery cells stored in the first database, step S51 is continued to be executed; if the M second color values collected at the first second inspection station are not all within the color value distribution range of multiple battery cells stored in the first database, the second battery cell is determined to be a battery cell with abnormal color.
[0102] Step S41, determining whether the M second color values collected at the second second inspection station are all within the color value distribution range of the plurality of battery cells stored in the second database.
[0103] Among them, if the M second color values collected at the second second inspection station are all within the color value distribution range of multiple battery cells stored in the second database, step S52 is continued to be executed; if the M second color values collected at the second second inspection station are not all within the color value distribution range of multiple battery cells stored in the second database, the second battery cell is determined to be a battery cell with abnormal color.
[0104] Step S52, determining whether the M second color values collected at the third second inspection station are all within the color value distribution range of the plurality of battery cells stored in the third database.
[0105] Among them, if the M second color values collected at the third second inspection station are all within the color value distribution range of multiple battery cells stored in the third database, step S53 is executed; if the M second color values collected at the third second inspection station are not all within the color value distribution range of multiple battery cells stored in the third database, the second battery cell is determined to be a battery cell with abnormal color.
[0106] Step S53: determining that the second battery cell is a battery cell with normal color.
[0107] In the embodiment of the present application, the first battery cell and the second battery cell are determined to be battery cells with normal colors only after comparison with three databases. The above comparison method can improve the accuracy of battery cell sorting.
[0108] In one embodiment, the method further includes: if the M first color values collected at the first first inspection station are all within the color value distribution range of the multiple battery cells stored in the first database, the M first color values collected at the first first inspection station are recorded in the first database; if the M first color values collected at the second first inspection station are all within the color value distribution range of the multiple battery cells stored in the second database, the M first color values collected at the second first inspection station are recorded in the second database; if the M first color values collected at the third first inspection station are all within the color value distribution range of the multiple battery cells stored in the third database, the M first color values collected at the third first inspection station are recorded in the third database.
[0109] In the embodiment of the present application, in order to ensure that the color differences of the sorted normal-color battery cells are concentrated in the same area, when the M first color values collected at the first first detection station are within the color value distribution range of multiple battery cells stored in the first database, the M first color values collected at the first first detection station will be recorded in the first database to update the color value data stored in the first database, thereby updating the color value distribution range. When the M first color values collected at the second first detection station are within the color value distribution range of multiple battery cells stored in the second database, the M first color values collected at the second first detection station will be recorded in the second database to update the color value data stored in the second database, thereby updating the color value distribution range. When the M first color values collected at the third first inspection station are within the color value distribution range of multiple battery cells stored in the third database, the M first color values collected at the third first inspection station will be recorded in the third database to update the color value data stored in the third database, thereby updating the color value distribution range.
[0110] Similarly, when the M second color values collected at the first second inspection station are all within the color value distribution range of the multiple battery cells stored in the first database, the M second color values collected at the first second inspection station will be recorded in the first database to update the color value data stored in the first database, thereby updating the color value distribution range. When the M second color values collected at the second second inspection station are all within the color value distribution range of the multiple battery cells stored in the second database, the M second color values collected at the second second inspection station will be recorded in the second database to update the color value data stored in the second database, thereby updating the color value distribution range. When the M second color values collected at the third second inspection station are all within the color value distribution range of multiple battery cells stored in the third database, the M second color values collected at the third second inspection station will be recorded in the third database to update the color value data stored in the third database, thereby updating the color value distribution range.
[0111] In one embodiment, the method further includes: if the M first color values collected at the second first inspection station are not all within the color value distribution range of the multiple battery cells stored in the second database, the M first color values collected at the first first inspection station are deleted from the first database; or if the M first color values collected at the third first inspection station are not all within the color value distribution range of the multiple battery cells stored in the third database, the M first color values collected at the first first inspection station are deleted from the first database, and the M first color values collected at the second first inspection station are deleted from the second database.
[0112] In an embodiment of the present application, in order to ensure the overall stability of the sorted battery cells, when the M first color values collected at the second first inspection station are not all within the color value distribution range of the multiple battery cells stored in the second database, the M first color values collected at the first first inspection station will be deleted from the first database, so that only the color values of battery cells with normal colors are stored in the first database.
[0113] Similarly, when the M first color values collected at the third first inspection station are not all within the color value distribution range of the multiple battery cells stored in the third database, the M first color values collected at the first first inspection station will be deleted from the first database, and the M first color values collected at the second first inspection station will be deleted from the second database, so that the second database and the third database only store the color values of battery cells with normal colors.
[0114] Similarly, when the M second color values collected at the second second inspection station are not all within the color value distribution range of the multiple battery cells stored in the second database, the M second color values collected at the first second inspection station will be deleted from the first database, so that only the color values of battery cells with normal colors are stored in the first database.
[0115] Similarly, when the M second color values collected at the third second inspection station are not all within the color value distribution range of the multiple battery cells stored in the third database, the M second color values collected at the first second inspection station will be deleted from the first database, and the M second color values collected at the second second inspection station will be deleted from the second database, so that the second database and the third database only store the color values of battery cells with normal colors.
[0116] See also Figure 6, is a program module diagram of an embodiment of a battery cell sorting device 600 of the present application.
[0117] In the embodiment of the present application, the cell sorting device 600 includes a series of computer program instructions stored in the memory. When the computer program instructions are executed by the processor, the cell sorting function of each embodiment of the present application can be implemented. In some embodiments, based on the specific operations implemented by each part of the computer program instructions, the cell sorting device 600 can be divided into one or more modules. The specific modules that can be divided are as follows: An acquisition module 601 is used to acquire a first color value of a first battery cell acquired in a first detection channel, and to acquire a second color value of a second battery cell acquired in a second detection channel; A calculation module 602, configured to calculate a color difference between the first color value and the second color value; Determination module 603 is used to determine whether the first battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the first color value if the color difference value is lower than a preset threshold, and to determine whether the second battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the second color value.
[0118] Figure 7 The hardware architecture diagram of a computer device 700 suitable for implementing a battery cell sorting method according to an embodiment of the present application is schematically shown. In this embodiment, the computer device 700 is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions. Figure 7 As shown, the computer device 700 includes at least but is not limited to: a memory 701, a processor 702, and a network interface 703 that can communicate with each other through a system bus. Among them: The memory 701 includes at least one type of computer-readable storage medium, which may be volatile or non-volatile. Specifically, the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 701 may be an internal storage module of the computer device 700, such as a hard disk or memory of the computer device 700. In other embodiments, the memory 701 may also be an external storage device of the computer device 700, such as a plug-in hard disk equipped on the computer device 700, a smart memory card (Smart Media Card, referred to as SMC), a secure digital (Secure Digital, referred to as SD) card, a flash card, etc. Of course, the memory 701 may also include both the internal storage module of the computer device 700 and its external storage device. In this embodiment, the memory 701 is generally used to store the operating system and various application software installed in the computer device 700, such as the program code of the battery cell sorting method, etc. In addition, the memory 701 can also be used to temporarily store various data that have been output or will be output.
[0119] In some embodiments, the processor 702 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other cell sorting chip. The processor 702 is generally used to control the overall operation of the computer device 700, such as performing control and processing related to data interaction or communication with the computer device 700. In this embodiment, the processor 702 is used to run the program code stored in the memory 701 or process data.
[0120] The network interface 703 may include a wireless network interface or a wired network interface, and the network interface 703 is generally used to establish a communication link between the computer device 700 and other computer devices. For example, the network interface 703 is used to connect the computer device 700 to an external terminal through a network, and to establish a cell sorting channel and a communication link between the computer device 700 and the external terminal. The network may be a wireless or wired network such as an intranet, the Internet, the Global System of Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), 4G network, 5G network, Bluetooth, Wi-Fi, etc.
[0121] It should be pointed out that Figure 7 Only a computer device having components 701 to 703 is shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.
[0122] In this embodiment, the cell sorting method stored in the memory 701 may be divided into one or more program modules and executed by one or more processors (processor 702 in this embodiment) to complete the present application.
[0123] An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the battery cell sorting method in the embodiment are implemented.
[0124] In this embodiment, the computer-readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the computer-readable storage medium may be an internal storage unit of a computer device, such as a hard disk or memory of the computer device. In other embodiments, the computer-readable storage medium may also be an external storage device of a computer device, such as a plug-in hard disk, a smart memory card (Smart Media Card, referred to as SMC), a secure digital (Secure Digital, referred to as SD) card, a flash card, etc. equipped on the computer device. Of course, the computer-readable storage medium may also include both an internal storage unit of a computer device and an external storage device thereof. In this embodiment, the computer-readable storage medium is generally used to store an operating system and various application software installed on a computer device, such as the program code of the battery cell sorting method in the embodiment, etc. In addition, the computer-readable storage medium may also be used to temporarily store various types of data that have been output or are to be output.
[0125] An embodiment of the present application provides a computer program product, including a computer program, which implements the steps of the battery cell sorting method in the embodiment when executed by a processor.
[0126] In the description of this specification, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0127] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A battery cell sorting method, characterized in that: include: Acquire a first color value of a first battery cell acquired in a first detection channel, and acquire a second color value of a second battery cell acquired in a second detection channel; Calculating a color difference between the first color value and the second color value; If the color difference value is lower than a preset threshold, whether the first battery cell is a battery cell with normal color is determined based on the color value distribution interval of multiple battery cells stored in the database and the first color value, and whether the second battery cell is a battery cell with normal color is determined based on the color value distribution interval of multiple battery cells stored in the database and the second color value.
2. The method according to claim 1, characterized in that The first detection channel is provided with N first detection stations, the second detection channel is provided with N second detection stations, and the installation positions of the first detection stations correspond one to one with the second detection stations; the first detection station is provided with M first color sensors, the second detection station is provided with M second color sensors, and the installation positions of the first color sensors correspond one to one with the second color sensors; when the first battery cell is located at the first detection station and the second battery cell is located at the second detection station, the setting orientation of the first color sensor relative to the first battery cell is the same as the setting orientation of the corresponding second color sensor relative to the second battery cell; N and M are integers greater than or equal to 1; the obtaining of the first color value of the first battery cell acquired in the first detection channel and the obtaining of the second color value of the second battery cell acquired in the second detection channel include: Acquire N*M first color values obtained by collecting the color value of the first battery cell by the M first color sensors at each of the first inspection stations when the first battery cell is located at each of the first inspection stations in sequence; When the second battery cell is located at each of the second inspection stations in sequence, N*M second color values are obtained by collecting the color value of the second battery cell by a plurality of second color sensors at each of the second inspection stations.
3. The method according to claim 2, characterized in that When N=3, calculating the color difference between the first color value and the second color value includes: Respectively calculating the absolute differences between the M first color values collected at the first first detection station and the M second color values correspondingly collected at the first second detection station to obtain a first set of color difference values; Respectively calculating the absolute differences between the M first color values collected at the second first detection station and the M second color values correspondingly collected at the second second detection station to obtain a second set of color difference values; The absolute differences between the M first color values collected at the third first detection station and the corresponding M second color values collected at the third second detection station are calculated respectively to obtain a third set of color difference values.
4. The method according to claim 3, characterized in that If the color difference value is lower than a preset threshold, determining whether the first battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the first color value, and determining whether the second battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the second color value include: If each color difference value in the first group of color difference values, each color difference value in the second group of color difference values, and each color difference value in the three groups of color difference values are all lower than the preset threshold value, then determine whether the first battery cell is a battery cell with normal color based on the color value distribution intervals of the multiple battery cells stored in the database and the N*M first color values, and determine whether the second battery cell is a battery cell with normal color based on the color value distribution intervals of the multiple battery cells stored in the database and the N*M second color values.
5. The method according to claim 3, characterized in that: If the color difference value is lower than a preset threshold, determining whether the first battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the first color value, and determining whether the second battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the second color value include: If the average value of all color difference values in the first group of color difference values, the average value of all color difference values in the second group of color difference values, and the average value of all color difference values in the three groups of color difference values are all lower than the preset threshold, then determine whether the first battery cell is a battery cell with normal color based on the color value distribution intervals of the multiple battery cells stored in the database and the N*M first color values, and determine whether the second battery cell is a battery cell with normal color based on the color value distribution intervals of the multiple battery cells stored in the database and the N*M second color values.
6. The method according to claim 3, characterized in that: The first inspection station and the corresponding second inspection station are used as a group of inspection stations, the database has N, and a group of inspection stations is associated with one database, and if the color difference value is lower than a preset threshold, determining whether the first battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the first color value, and determining whether the second battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the second color value include: If each color difference value in the first group of color difference values, each color difference value in the second group of color difference values, and each color difference value in the three groups of color difference values are all lower than the preset threshold value, then according to the color value distribution interval of multiple battery cells stored in the first database, the M first color values collected at the first first inspection station, the color value distribution interval of multiple battery cells stored in the second database, the M first color values collected at the second first inspection station, the color value distribution interval of multiple battery cells stored in the third database, and the M first color values collected at the third first inspection station, it is determined whether the first battery cell is a battery cell with normal color; If each color difference value in the first group of color difference values, each color difference value in the second group of color difference values, and each color difference value in the three groups of color difference values are all lower than the preset threshold value, then determine whether the second battery cell is a battery cell with normal color based on the color value distribution interval of multiple battery cells stored in the first database, the M second color values collected at the first second inspection station, the color value distribution interval of multiple battery cells stored in the second database, the M second color values collected at the second second inspection station, the color value distribution interval of multiple battery cells stored in the third database, and the M second color values collected at the third second inspection station.
7. The method according to claim 3, characterized in that The first inspection station and the corresponding second inspection station are used as a group of inspection stations, the database has three, and one group of inspection stations is associated with one database, and if the color difference value is lower than a preset threshold, determining whether the first battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the first color value, and determining whether the second battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the second color value include: If the average value of all color difference values in the first group of color difference values, the average value of all color difference values in the second group of color difference values, and the average value of all color difference values in the three groups of color difference values are all lower than the preset threshold, then according to the color value distribution intervals of multiple battery cells stored in the first database, the M first color values collected at the first first inspection station, the color value distribution intervals of multiple battery cells stored in the second database, the M first color values collected at the second first inspection station, the color value distribution intervals of multiple battery cells stored in the third database, and the M first color values collected at the third first inspection station, it is determined whether the first battery cell is a battery cell with normal color; If the average value of all color difference values in the first group of color difference values, the average value of all color difference values in the second group of color difference values, and the average value of all color difference values in the three groups of color difference values are all lower than the preset threshold, then determine whether the second battery cell is a battery cell with normal color based on the color value distribution range of multiple battery cells stored in the first database, the M second color values collected at the first second inspection station, the color value distribution range of multiple battery cells stored in the second database, the M second color values collected at the second second inspection station, the color value distribution range of multiple battery cells stored in the third database, and the M second color values collected at the third second inspection station.
8. The method according to claim 6 or 7, characterized in that: The step of determining whether the first battery cell is a battery cell with normal color according to the color value distribution intervals of the plurality of battery cells stored in the first database, the M first color values collected at the first first detection station, the color value distribution intervals of the plurality of battery cells stored in the second database, the M first color values collected at the second first detection station, the color value distribution intervals of the plurality of battery cells stored in the third database, and the M first color values collected at the third first detection station comprises: Determine whether the M first color values collected at the first first inspection station are all within the color value distribution range of the plurality of battery cells stored in the first database; If the M first color values collected at the first first inspection station are all within the color value distribution range of the multiple battery cells stored in the first database, then continue to determine whether the M first color values collected at the second first inspection station are all within the color value distribution range of the multiple battery cells stored in the second database; If the M first color values collected at the second first inspection station are all within the color value distribution range of the multiple battery cells stored in the second database, then continue to determine whether the M first color values collected at the third first inspection station are all within the color value distribution range of the multiple battery cells stored in the third database; If the M first color values collected at the third first inspection station are all within the color value distribution range of the plurality of cells stored in the third database, it is determined that the first cell is a cell with normal color; The method of determining whether the second battery cell is a battery cell with normal color according to the color value distribution intervals of the plurality of battery cells stored in the first database, the M second color values collected at the first second inspection station, the color value distribution intervals of the plurality of battery cells stored in the second database, the M second color values collected at the second second inspection station, the color value distribution intervals of the plurality of battery cells stored in the third database, and the M second color values collected at the third second inspection station comprises: Determine whether the M second color values collected at the first second inspection station are all within the color value distribution range of the plurality of battery cells stored in the first database; If the M second color values collected at the first second inspection station are all within the color value distribution range of the multiple battery cells stored in the first database, then continue to determine whether the M second color values collected at the second second inspection station are all within the color value distribution range of the multiple battery cells stored in the second database; If the M second color values collected at the second second inspection station are all within the color value distribution range of the multiple battery cells stored in the second database, then continue to determine whether the M second color values collected at the third second inspection station are all within the color value distribution range of the multiple battery cells stored in the third database; If the M second color values collected at the third second inspection station are all within the color value distribution range of the plurality of battery cells stored in the third database, it is determined that the second battery cell is a battery cell with normal color.
9. The method according to claim 8, characterized in that The method further comprises: If the M first color values collected at the first first inspection station are all within the color value distribution range of the plurality of battery cells stored in the first database, the M first color values collected at the first first inspection station are recorded in the first database; If the M first color values collected at the second first inspection station are all within the color value distribution range of the plurality of battery cells stored in the second database, the M first color values collected at the second first inspection station are recorded in the second database; If the M first color values collected at the third first inspection station are all within the color value distribution range of multiple battery cells stored in the third database, the M first color values collected at the third first inspection station are recorded in the third database.
10. The method according to claim 9, characterized in that The method further comprises: If the M first color values collected at the second first inspection station are not all within the color value distribution range of the plurality of battery cells stored in the second database, the M first color values collected at the first first inspection station are deleted from the first database; or If the M first color values collected at the third first inspection station are not all within the color value distribution range of the multiple battery cells stored in the third database, the M first color values collected at the first first inspection station will be deleted from the first database, and the M first color values collected at the second first inspection station will be deleted from the second database.
11. A battery cell sorting device, characterized in that: include: An acquisition module, used to acquire a first color value of a first battery cell acquired in a first detection channel, and to acquire a second color value of a second battery cell acquired in a second detection channel; A calculation module, used for calculating a color difference between the first color value and the second color value; A determination module is used to determine whether the first battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the first color value if the color difference value is lower than a preset threshold, and to determine whether the second battery cell is a battery cell with normal color according to the color value distribution interval of multiple battery cells stored in the database and the second color value.
12. A computer device, characterized in that: The computer device comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the method according to any one of claims 1 to 10 when executing the computer program.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.
14. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.