Pole piece surface defect detection method, system and equipment and readable storage medium
Through pseudo-color processing and color contrast analysis, the problem of missed detection and misdetection caused by relying on pre-stored defect categories in the existing technology is solved, and high accuracy of pole piece surface defect detection is achieved.
Patent Information
- Application Number
- CN202410674363.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-09-10
AI Technical Summary
Existing pole piece surface defect detection methods rely on pre-stored defect categories, resulting in the inability to detect new defect categories, resulting in missed detections and false detections, affecting detection accuracy.
By performing pseudo-color processing on the target image of the pole piece to be detected, a target pseudo-color image is generated, and a defect-free pseudo-color image is obtained from the preset pseudo-color pole piece library, and color contrast analysis is performed to determine the abnormal color area and type, thereby determining Defect detection results avoid relying on pre-stored defect categories.
It improves the accuracy of pole piece surface defect detection, avoids missed detections and misdetections, and ensures the reliability of detection results.
Smart Images

Figure CN118628447A
Abstract
Description
Technical Field
[0001] The present application relates to the field of battery manufacturing technology, and in particular to a method, system, device and readable storage medium for detecting surface defects of a pole piece. Background Art
[0002] During the battery manufacturing process, if there are defects such as scratches, particles, color difference, etc. on the surface of the pole piece, it may lead to reduced battery capacity, slower charging speed, shortened battery life, overheating, short circuit, etc., which will affect the performance and safety of the battery. It can be seen that the defect detection of the pole piece surface is a key means to ensure battery performance and safety.
[0003] In the related art, defect detection on the electrode surface is usually achieved based on CCD (Charge-coupled Device) inspection. However, since this method relies on the electrode surface defect categories pre-stored in the front-end system, once a new defect category appears, the CCD will not be able to detect and identify the defect, which will cause problems such as missed detection and false detection, making it impossible to guarantee the accuracy of defect detection. Summary of the invention
[0004] The present application provides a method, system, device and readable storage medium for detecting surface defects of a pole piece, so as to effectively improve the accuracy of detecting surface defects of a pole piece.
[0005] In a first aspect, an embodiment of the present application provides a method for detecting surface defects of a pole piece, comprising the following steps:
[0006] Performing pseudo-color processing on the target image corresponding to the electrode to be detected to generate a target pseudo-color image;
[0007] Acquire a defect-free pseudo-color image corresponding to the electrode to be inspected from a preset pseudo-color electrode library;
[0008] Performing color comparison analysis on the target pseudo-color image and the defect-free pseudo-color image to obtain abnormal color areas and abnormal color types;
[0009] The defect detection result of the electrode to be detected is determined according to the abnormal color area and the abnormal color type.
[0010] In combination with the first aspect, in one embodiment, before the step of performing pseudo-color processing on the target image corresponding to the electrode to be detected, the method further includes:
[0011] Determine whether a first image captured by a fast camera and a second image captured by a high-resolution camera are images captured at the same time;
[0012] If yes, taking the second image as the target image;
[0013] If not, super-resolution processing is performed on the first image to obtain a third image, and the third image is used as the target image.
[0014] In combination with the first aspect, in one embodiment, when the target image is a third image, performing pseudo-color processing on the target image corresponding to the electrode to be detected to generate a target pseudo-color image includes:
[0015] Performing pseudo color processing on the third image to obtain a first pseudo color image;
[0016] A target color difference corresponding to the first pseudo-color image is acquired from a preset color difference library, and color correction is performed on the first pseudo-color image according to the target color difference to obtain a target pseudo-color image.
[0017] In combination with the first aspect, in one embodiment, performing pseudo-color processing on a target image corresponding to the electrode to be detected to generate a target pseudo-color image includes:
[0018] Performing super-resolution processing on the image captured by the fast camera to obtain a target image;
[0019] Performing pseudo-color processing on the target image to obtain an initial pseudo-color image;
[0020] A target color difference corresponding to the initial pseudo-color image is acquired from a preset color difference library, and color correction is performed on the initial pseudo-color image according to the target color difference to obtain a target pseudo-color image.
[0021] In combination with the first aspect, in one embodiment, determining the defect detection result of the electrode to be detected according to the abnormal color area and the abnormal color type includes:
[0022] When the abnormal color area is greater than the preset abnormal color area threshold or the abnormal color type is greater than the preset abnormal color type threshold, the defect detection result of the electrode to be detected is determined to be unqualified;
[0023] When the abnormal color area is less than or equal to the preset abnormal color area threshold and the abnormal color type is less than or equal to the preset abnormal color type threshold, the defect detection result of the electrode to be detected is determined to be qualified.
[0024] In combination with the first aspect, in one embodiment, the abnormal color area threshold corresponding to the positive electrode sheet to be detected is greater than the abnormal color area threshold corresponding to the negative electrode sheet to be detected, and the abnormal color type threshold corresponding to the positive electrode sheet to be detected is greater than the abnormal color type threshold corresponding to the negative electrode sheet to be detected.
[0025] In a second aspect, an embodiment of the present application provides a pole piece surface defect detection system, including: an image acquisition unit and an image detection unit;
[0026] The image acquisition unit is used to photograph the electrode to be detected to obtain a target image;
[0027] The image detection unit is used to perform pseudo-color processing on the target image corresponding to the pole piece to be detected to generate a target pseudo-color image; obtain a defect-free pseudo-color image corresponding to the pole piece to be detected from a preset pseudo-color pole piece library; perform color comparison analysis on the target pseudo-color image and the defect-free pseudo-color image to obtain abnormal color area and abnormal color type; determine the defect detection result of the pole piece to be detected based on the abnormal color area and abnormal color type.
[0028] In combination with the second aspect, in one embodiment, the image acquisition unit includes a target camera and a lighting module, the target camera is used to photograph the pole piece to be inspected, and the lighting module is used to provide lighting for the pole piece to be inspected.
[0029] In conjunction with the second aspect, in one implementation, the image detection unit is further used to:
[0030] Determine whether a first image captured by a fast camera and a second image captured by a high-resolution camera are images captured at the same time;
[0031] If yes, taking the second image as the target image;
[0032] If not, super-resolution processing is performed on the first image to obtain a third image, and the third image is used as the target image.
[0033] In combination with the second aspect, in one implementation, when the target image is a third image, the image detection unit is specifically configured to:
[0034] Performing pseudo color processing on the third image to obtain a first pseudo color image;
[0035] A target color difference corresponding to the first pseudo-color image is acquired from a preset color difference library, and color correction is performed on the first pseudo-color image according to the target color difference to obtain a target pseudo-color image.
[0036] In conjunction with the second aspect, in one implementation, the image detection unit is further configured to:
[0037] Performing super-resolution processing on the image captured by the fast camera to obtain a target image;
[0038] Performing pseudo-color processing on the target image to obtain an initial pseudo-color image;
[0039] A target color difference corresponding to the initial pseudo-color image is acquired from a preset color difference library, and color correction is performed on the initial pseudo-color image according to the target color difference to obtain a target pseudo-color image.
[0040] In conjunction with the second aspect, in one implementation, the image detection unit is further configured to:
[0041] When the abnormal color area is greater than the preset abnormal color area threshold or the abnormal color type is greater than the preset abnormal color type threshold, the defect detection result of the electrode to be detected is determined to be unqualified;
[0042] When the abnormal color area is less than or equal to the preset abnormal color area threshold and the abnormal color type is less than or equal to the preset abnormal color type threshold, the defect detection result of the electrode to be detected is determined to be qualified.
[0043] In combination with the second aspect, in one embodiment, the abnormal color area threshold corresponding to the positive electrode sheet to be detected is greater than the abnormal color area threshold corresponding to the negative electrode sheet to be detected, and the abnormal color type threshold corresponding to the positive electrode sheet to be detected is greater than the abnormal color type threshold corresponding to the negative electrode sheet to be detected.
[0044] In the third aspect, an embodiment of the present application provides a pole piece surface defect detection device, which includes a processor, a memory, and an AAAA program stored in the memory and executable by the processor, wherein when the pole piece surface defect detection program is executed by the processor, the steps of the pole piece surface defect detection method as described above are implemented.
[0045] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a pole piece surface defect detection program is stored, wherein when the pole piece surface defect detection program is executed by a processor, the steps of the pole piece surface defect detection method as described above are implemented.
[0046] The beneficial effects brought by the technical solution provided in the embodiments of the present application include:
[0047] A target pseudo-color image is generated by performing pseudo-color processing on the target image corresponding to the pole piece to be inspected, so as to realize the defect detection on the pole piece surface based on the pseudo-color principle, thereby improving the accuracy of defect detection; at the same time, a defect-free pseudo-color image corresponding to the pole piece to be inspected is obtained from the preset pseudo-color pole piece library, so as to obtain the abnormal color area and abnormal color type by performing color comparison analysis between the target pseudo-color image and the defect-free pseudo-color image, and then the defect detection result of the pole piece to be inspected can be determined according to the abnormal color area and abnormal color type, without relying on the pre-stored pole piece surface defect category, so as to avoid missed detection and false detection problems, thereby effectively improving the accuracy of defect detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 This is a flow chart of an embodiment of a method for detecting surface defects of a pole piece of the present application;
[0049] Figure 2 This is a schematic diagram of an original image of a positive electrode sheet to be tested obtained by taking a picture with a camera in the embodiment of the present application;
[0050] Figure 3 A pseudo-color image schematic diagram corresponding to the positive electrode sheet to be tested involved in the embodiment of the present application;
[0051] Figure 4 A schematic diagram of a defect determination process involved in the embodiment of the present application;
[0052] Figure 5 This is a schematic diagram of an original image of a negative electrode sheet to be tested obtained by taking a picture with a camera in the embodiment of the present application;
[0053] Figure 6 A schematic diagram of a pseudo-color image corresponding to the negative electrode sheet to be detected involved in the embodiment of the present application;
[0054] Figure 7 This is a schematic diagram of the hardware structure of the pole piece surface defect detection equipment involved in the embodiment of the present application.
[0055] In the picture: 1-target bubble, 2-dark blue bubble, 3-target scratch, 4-blue stripe. DETAILED DESCRIPTION
[0056] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0057] First, some technical terms in the present application are explained to facilitate those skilled in the art to understand the present application.
[0058] Fast camera: Also known as high-speed camera, fast continuous shooting camera and high-speed shutter camera, it has a high shooting speed and continuous shooting capability. It can capture high-speed motion or rapidly changing scenes in an instant, that is, it can take multiple continuous photos in an instant to capture the precise moment.
[0059] High-resolution camera: It refers to a camera that has a high number of pixels and is able to capture photos with more details and clarity.
[0060] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0061] In a first aspect, an embodiment of the present application provides a method for detecting surface defects of a pole piece.
[0062] In one embodiment, referring to Figure 1 , Figure 1 This is a flow chart of an embodiment of the electrode surface defect detection method of the present application. Figure 1 As shown, the pole piece surface defect detection method includes:
[0063] Step S10: performing pseudo-color processing on the target image corresponding to the electrode to be detected to generate a target pseudo-color image.
[0064] Exemplarily, in this embodiment, a fast camera, a high-resolution camera, or a combination of the two can be used to perform matrix image acquisition on the electrode to be inspected to obtain a corresponding rectangular image (i.e., a target image, it should be noted that the target image is a black and white image or a grayscale image); then, the target image is pseudo-colored to generate a target pseudo-color image, so as to realize defect detection on the electrode surface based on the pseudo-color principle, thereby improving the accuracy of defect detection.
[0065] It can be understood that the principle of pseudo color processing is to use a transformation method to map each grayscale level of a grayscale image to a point in a color space, thereby transforming a grayscale image or a color image into a pseudo color image. Among them, the pseudo color image transformation method satisfies the following model:
[0066]
[0067] Specifically, the pseudo-color image conversion process is as follows: the grayscale image F(x, y) is sent to the red, green, and blue converters (i.e., T R ( * ), T G ( * ) and TB ( * )), and then the three converters are sent to the red, green and blue guns of the color picture tube to synthesize the pseudo colors corresponding to the red, green and blue channels (i.e. R(x, y), G(x, y) and B(x, y)). Through this transformation, the defective part on the electrode can be displayed with a different color from the normal electrode. For example, see Figure 2 As shown in the figure, assuming that the electrode to be detected is a positive electrode and there is a target bubble 1 on its surface, after pseudo-color image processing, Figure 3 As shown in the bright red target pseudo-color image, the target bubble 1 on the target pseudo-color image becomes a dark blue bubble 2.
[0068] It should be noted that the specific method and principle of how to implement pseudo color conversion of grayscale images based on pseudo color processing are common knowledge in the art, and will not be described in detail here for the sake of brevity.
[0069] Step S20: Acquire a defect-free pseudo-color image corresponding to the electrode to be inspected from a preset pseudo-color electrode library.
[0070] Exemplarily, in this embodiment, defect detection will be performed based on abnormal colors, which does not require the early collection of a large number of defect images as a basic database, but only requires pre-pseudo-color processing of the prepared defect-free pole piece to achieve defect identification on the pole piece surface. Therefore, in this embodiment, a pseudo-color pole piece library corresponding to defect-free pole pieces will be created in advance, that is, image acquisition and pseudo-color image processing will be performed on pole pieces made of different materials and without any defects on the surface, respectively, to obtain defect-free pseudo-color images corresponding to each defect-free pole piece, so as to form a preset pseudo-color pole piece library. Therefore, when performing defect detection on the pole piece to be detected, a defect-free pseudo-color image can be directly screened out from the preset pseudo-color pole piece library, and the defect-free pole piece corresponding to the defect-free pseudo-color image is made of the same material as the pole piece to be detected.
[0071] Step S30: performing color comparison analysis on the target pseudo-color image and the defect-free pseudo-color image to obtain abnormal color areas and abnormal color types.
[0072] Exemplarily, in this embodiment, after obtaining the target pseudo-color image and the defect-free pseudo-color image corresponding to the electrode to be inspected, the abnormal color area and abnormal color type of the electrode to be inspected can be determined by performing color contrast analysis on the two and calculating the area corresponding to the abnormal color, thereby quickly screening out abnormal points.
[0073] Step S40: determining the defect detection result of the electrode to be detected according to the abnormal color area and the abnormal color type.
[0074] Exemplarily, it can be understood that the more abnormal color types there are, the larger the abnormal color area tends to be, and the larger the abnormal color area is, the more defects there are on the surface of the electrode, which may lead to problems such as low battery capacity or lithium deposition in the electrode. Therefore, according to the size of the abnormal color area and the number of abnormal color types, it can be quickly and accurately determined whether the electrode to be tested has defects. For example, when the abnormal color area is too large or there are too many abnormal color types, it can be determined that the electrode to be tested has defects, and the final disposal command for the abnormal electrode to be tested is transmitted to the central computer, such as marking or sending an alarm command to the system, etc.
[0075] It can be seen that this embodiment generates a target pseudo-color image by performing pseudo-color processing on the target image corresponding to the pole piece to be inspected, so as to realize defect detection on the pole piece surface based on the pseudo-color principle, thereby improving the accuracy of defect detection; at the same time, a defect-free pseudo-color image corresponding to the pole piece to be inspected is obtained from the preset pseudo-color pole piece library, so as to obtain the abnormal color area and the abnormal color type by performing color comparison analysis between the target pseudo-color image and the defect-free pseudo-color image, and then the defect detection result of the pole piece to be inspected can be determined according to the abnormal color area and the abnormal color type, without relying on the pre-stored pole piece surface defect category, so as to avoid missed detection and false detection problems, thereby effectively improving the accuracy of defect detection.
[0076] Furthermore, in one embodiment, before the step of performing pseudo-color processing on the target image corresponding to the electrode to be detected, the method further includes:
[0077] Determine whether a first image captured by a fast camera and a second image captured by a high-resolution camera are images captured at the same time;
[0078] If yes, taking the second image as the target image;
[0079] If not, super-resolution processing is performed on the first image to obtain a third image, and the third image is used as the target image.
[0080] Exemplarily, it is understandable that a high-resolution camera can capture photos with more details and clarity, but its shooting speed is relatively poor; however, in the actual manufacturing process of the electrode, such as the die-cutting and winding processes, the running speed is very fast. Therefore, if the shooting speed of the high-resolution camera cannot keep up with the running speed of the equipment, the electrode will be missed, resulting in missed detection. Therefore, in order to achieve comprehensive detection of the electrode without affecting the output of the battery, this embodiment can realize the image acquisition of the electrode to be detected in operation by combining a high-resolution camera and a fast camera that can quickly capture photos. It is understandable that the high-resolution camera and the fast camera are symmetrically arranged on the left and right sides of the electrode to be detected, respectively, so as to simultaneously capture the image of the electrode to be detected, and the image output by the high-resolution camera is a high-resolution image, while the image output by the fast camera is a low-resolution image, such as the pixels of the low-resolution image are 200-600P, and the pixels of the high-resolution image are greater than 720P.
[0081] In this embodiment, in order to avoid the problem of missed detection, for the first image output by the fast camera and the second image output by the high-resolution camera, it can be determined whether the first image and the second image are images at the same time according to the timestamps corresponding to the images, that is, whether the pole pieces corresponding to the two images are the same; if the two are images at the same time, it means that the high-resolution camera has not missed the image. At this time, the second image output by the high-resolution camera can be directly used as the target image for subsequent pseudo-color processing. Of course, the first image output by the fast camera can also be used as the target image, but because the resolution of the first image is not very high, it can be used as the target image after being subjected to super-resolution processing to obtain a high-resolution image; it can be understood that the super-resolution processing can realize the restoration of the low-resolution image to the high-resolution image, and the resolution of the high-resolution image is basically consistent with that of the image taken by the high-resolution camera, which can provide a basic guarantee for the accuracy of subsequent defect detection. It should be noted that the method and principle of super-resolution processing are common knowledge in the field, and for the sake of brevity of description, they will not be repeated here.
[0082] If the first image and the second image are not images taken at the same time, it means that the high-resolution camera missed a certain position in the electrode to be detected, and the second image cannot be used as the target image of this position. At this time, defect detection of this position can only be achieved based on the first image, but the first image output by the fast camera cannot be directly used as the target image. Since the resolution of the first image is not very high, it can be processed by super-resolution to obtain a high-resolution third image, and then the third image can be used as the target image to provide a basic guarantee for the accuracy of subsequent defect detection.
[0083] Furthermore, in one embodiment, when the target image is the third image, performing pseudo-color processing on the target image corresponding to the electrode to be detected to generate a target pseudo-color image includes:
[0084] Performing pseudo color processing on the third image to obtain a first pseudo color image;
[0085] A target color difference corresponding to the first pseudo-color image is acquired from a preset color difference library, and color correction is performed on the first pseudo-color image according to the target color difference to obtain a target pseudo-color image.
[0086] Exemplarily, it is understandable that since there is less pixel information in a low-resolution image, it is necessary to supplement the pixel information through interpolation and other methods when it is converted to a high-resolution image, so that the color information is distorted, that is, the low-resolution image may produce a certain color difference after being converted into a pseudo-color image. Therefore, in this embodiment, a fast camera and a high-resolution camera can be used to simultaneously capture images of each position of a defect-free electrode, and the image capture results can be processed in pseudo-color respectively; then, the image color fitting analysis and comparison are performed based on the two pseudo-color images at the same position to obtain the chromaticity difference value, so as to realize the color difference calibration, that is, to obtain the color difference value corresponding to each position, and form a preset color difference library.
[0087] In this embodiment, if defect detection of the electrode to be inspected is achieved by obtaining a third image through super-resolution processing of the first image captured by a fast camera, it is necessary to perform pseudo-color processing on the third image to obtain a first pseudo-color image, and then screen out a target color difference from a preset color difference library according to the electrode position corresponding to the first pseudo-color image; then, the first pseudo-color image is color corrected using the target color difference to overcome the color difference problem caused by the low-resolution image conversion process, thereby obtaining a target pseudo-color image, which can further improve the accuracy of subsequent defect detection.
[0088] Furthermore, in one embodiment, the pseudo-color processing of the target image corresponding to the electrode to be detected to generate a target pseudo-color image includes:
[0089] Performing super-resolution processing on the image captured by the fast camera to obtain a target image;
[0090] Performing pseudo-color processing on the target image to obtain an initial pseudo-color image;
[0091] A target color difference corresponding to the initial pseudo-color image is acquired from a preset color difference library, and color correction is performed on the initial pseudo-color image according to the target color difference to obtain a target pseudo-color image.
[0092] Exemplarily, in this embodiment, if only a fast camera is used to realize image acquisition of the electrode to be inspected, in order to further improve the accuracy of defect detection, the image taken by the fast camera will be super-resolution processed to obtain a high-resolution target image, and then the target image will be pseudo-color processed to obtain an initial pseudo-color image; at the same time, in order to overcome the color difference problem caused by the low-resolution image conversion process, the target color difference will be screened out from the preset color difference library according to the electrode position corresponding to the initial pseudo-color image; then the initial pseudo-color image will be color corrected by the target color difference to obtain a target pseudo-color image, thereby effectively improving the accuracy of subsequent defect detection.
[0093] Further, in one embodiment, the step of determining the defect detection result of the electrode to be detected according to the abnormal color area and the abnormal color type includes:
[0094] When the abnormal color area is greater than the preset abnormal color area threshold or the abnormal color type is greater than the preset abnormal color type threshold, the defect detection result of the electrode to be detected is determined to be unqualified;
[0095] When the abnormal color area is less than or equal to the preset abnormal color area threshold and the abnormal color type is less than or equal to the preset abnormal color type threshold, the defect detection result of the electrode to be detected is determined to be qualified.
[0096] Exemplarily, in the present embodiment, the specific value settings of the abnormal color area threshold and the abnormal color type threshold can be determined according to the type of electrode (such as a positive electrode or a negative electrode), the material used to make the electrode, etc., and are not limited here. It should be understood that as long as any one of the abnormal color area and the abnormal color type is greater than its corresponding threshold, the electrode to be tested can be judged to be unqualified, otherwise it is judged to be qualified. Specifically, when the abnormal color area is greater than the abnormal color area threshold or the abnormal color type is greater than the abnormal color type threshold, the defect detection result of the electrode to be tested is judged to be unqualified; and when the abnormal color area is less than or equal to the abnormal color area threshold and the abnormal color type is less than or equal to the abnormal color type threshold, the defect detection result of the electrode to be tested is judged to be qualified.
[0097] Furthermore, in one embodiment, the abnormal color area threshold corresponding to the positive electrode sheet to be detected is greater than the abnormal color area threshold corresponding to the negative electrode sheet to be detected, and the abnormal color type threshold corresponding to the positive electrode sheet to be detected is greater than the abnormal color type threshold corresponding to the negative electrode sheet to be detected.
[0098] For example, in this embodiment, in order to further realize the comprehensive detection of the electrode surface, the positive electrode and negative electrode of the battery will be inspected for defects respectively, that is, the positive and negative areas corresponding to the same position of the electrode will be inspected for defects. The two inspections can be performed in parallel or in sequence, which is not limited here. Among them, the active materials in the positive electrode include commonly used positive electrode materials such as lithium iron phosphate, lithium cobalt phosphate, lithium iron manganese phosphate and lithium nickel cobalt manganese oxide; and the active materials in the negative electrode include natural graphite, artificial graphite, silicon oxide, silicon oxide and graphite silicon oxide composite materials.
[0099] It should be noted that the defect detection methods and principles for positive and negative electrodes are similar, but the defect judgment criteria for the two are different. Specifically, for negative electrodes, if there are many defects on the surface, that is, a large abnormal color area and a large number of abnormal color types, lithium precipitation will occur, resulting in safety problems such as fire and explosion; for positive electrodes, although there are many surface defects and lithium precipitation will not occur, if there are too many defects, it is easy to cause low battery capacity problems. Therefore, the abnormal color area threshold corresponding to the positive electrode to be detected can be set slightly larger than the abnormal color area threshold corresponding to the negative electrode to be detected, and the abnormal color type threshold corresponding to the positive electrode to be detected can be set slightly larger than the abnormal color type threshold corresponding to the negative electrode to be detected. For example, the abnormal color area threshold corresponding to the positive electrode to be detected is set to 10mm 2 , and the abnormal color area threshold corresponding to the negative electrode to be detected is set to 5mm 2 The abnormal color category threshold corresponding to the positive electrode to be detected is set to 4, while the abnormal color category threshold corresponding to the negative electrode to be detected is set to 2.
[0100] The following combination Figures 2 to 4 The defect detection principle of the electrode to be detected is explained. Since the defect detection principles of the positive electrode to be detected and the negative electrode to be detected are similar, only the positive electrode to be detected is taken as an example. It is assumed that the active material of the positive electrode to be detected is lithium iron phosphate, and its corresponding abnormal color area threshold N = 10mm 2 And the abnormal color type threshold n=4 types.
[0101] First, positive electrode sheets are prepared through slurry mixing, coating and rolling processes, and defect-free positive electrode sheets are selected for pseudo-color image processing to construct a preset pseudo-color electrode sheet library and a preset color difference library; when the positive electrode sheet to be inspected undergoes a die-cutting process, a high-resolution camera and a fast camera respectively capture a rectangular electrode sheet image as clearly as possible with the assistance of lighting equipment, and the length and width of the rectangular electrode sheet image are consistent with the length and width of the battery to be produced; then the captured rectangular electrode sheet image is subjected to super-resolution processing and pseudo-color processing to obtain a rectangular pseudo-color image, wherein, if Figure 2As shown in the figure, there is a target bubble 1 on the surface of the positive electrode to be detected. After pseudo-color image processing, Figure 3 As shown in the large red rectangular pseudo-color image, the target bubble 1 on the rectangular pseudo-color image becomes a dark blue bubble 2.
[0102] According to Figure 4 In the defect determination process shown, the abnormal color is first identified by the system and its area is calculated. When the number of abnormal colors on the rectangular pseudo-color image is greater than n, it is considered that there are too many defects that are not conducive to the production of high-quality batteries, and the battery can be determined to be unqualified, and a marking instruction is output to the central computer to mark the electrode; when the number of abnormal colors on the rectangular pseudo-color image is less than or equal to n, it is further determined whether the total area of all abnormal colors on the rectangular pseudo-color image exceeds N. If so, it means that the area of the abnormal color is too large, which may easily lead to low battery capacity, and therefore it is determined to be unqualified; if not, it is determined to be qualified.
[0103] It can be understood that the present embodiment can realize the colorization of the positive electrode sheet or the negative electrode sheet through the pseudo color processing method. Compared with the traditional method of graying the positive electrode sheet or the negative electrode sheet, the color image can more intuitively identify abnormal points. Figure 5 As shown in FIG. 3 , for the negative electrode to be tested, there is a shallow target scratch 3 on its surface, and there are many types of such scratches. If the traditional detection method is used, a large amount of defect category data is required as a prerequisite, and some scratches are not obvious, so they are not easy to be identified by the traditional detection method. Figure 6 As shown, this embodiment is based on the ability to display an abnormal color on that part of the scratches after pseudo-color processing, that is, the pseudo-color image of the negative electrode sheet to be detected after pseudo-color processing will be displayed as green in a large area, while the target scratch 3 will become a blue stripe 4. The blue stripe 4 can make the scratches on the surface of the negative electrode sheet to be detected can be clearly identified, thereby effectively improving the accuracy of defect detection.
[0104] In summary, this embodiment converts black and white or grayscale images into color images through pseudo-color processing technology to improve the visual effect of the image, and comprehensively and quickly performs sampling through the combination of a low-cost fast camera and a high-resolution camera to achieve comprehensive detection of the electrode, and can continuously learn and update the system by constructing a comparison between super-resolution and high-resolution images, thereby achieving accurate detection; at the same time, this embodiment can also automatically identify and mark defects, thereby improving detection efficiency and accuracy, and can effectively improve the product quality and production efficiency of battery electrodes.
[0105] In a second aspect, an embodiment of the present application also provides a pole piece surface defect detection system.
[0106] In one embodiment, a pole piece surface defect detection system includes: an image acquisition unit and an image detection unit;
[0107] The image acquisition unit is used to photograph the electrode to be detected to obtain a target image;
[0108] The image detection unit is used to perform pseudo-color processing on the target image corresponding to the pole piece to be detected to generate a target pseudo-color image; obtain a defect-free pseudo-color image corresponding to the pole piece to be detected from a preset pseudo-color pole piece library; perform color comparison analysis on the target pseudo-color image and the defect-free pseudo-color image to obtain abnormal color area and abnormal color type; determine the defect detection result of the pole piece to be detected based on the abnormal color area and abnormal color type.
[0109] Furthermore, in one embodiment, the image acquisition unit includes a target camera and a lighting module, the target camera is used to photograph the pole piece to be inspected, and the lighting module is used to provide lighting for the pole piece to be inspected.
[0110] Exemplarily, in this embodiment, the target camera can be a fast camera, a high-resolution camera, or a combination of a fast camera and a high-resolution camera. In order to enable the camera to capture a clearer image of the pole piece to be detected, a lighting module will be arranged for each camera to provide lighting for image acquisition through the lighting module. Of course, only one lighting module may be arranged to provide lighting for all cameras through the lighting module. The specific arrangement can be determined according to actual needs and is not limited here.
[0111] Furthermore, in one embodiment, the image detection unit is also used for:
[0112] Determine whether a first image captured by a fast camera and a second image captured by a high-resolution camera are images captured at the same time;
[0113] If yes, taking the second image as the target image;
[0114] If not, super-resolution processing is performed on the first image to obtain a third image, and the third image is used as the target image.
[0115] Furthermore, in one embodiment, when the target image is a third image, the image detection unit is specifically configured to:
[0116] Performing pseudo color processing on the third image to obtain a first pseudo color image;
[0117] A target color difference corresponding to the first pseudo-color image is acquired from a preset color difference library, and color correction is performed on the first pseudo-color image according to the target color difference to obtain a target pseudo-color image.
[0118] Furthermore, in one embodiment, the image detection unit is further configured to:
[0119] Performing super-resolution processing on the image captured by the fast camera to obtain a target image;
[0120] Performing pseudo-color processing on the target image to obtain an initial pseudo-color image;
[0121] A target color difference corresponding to the initial pseudo-color image is acquired from a preset color difference library, and color correction is performed on the initial pseudo-color image according to the target color difference to obtain a target pseudo-color image.
[0122] Furthermore, in one embodiment, the image detection unit is further configured to:
[0123] When the abnormal color area is greater than the preset abnormal color area threshold or the abnormal color type is greater than the preset abnormal color type threshold, the defect detection result of the electrode to be detected is determined to be unqualified;
[0124] When the abnormal color area is less than or equal to the preset abnormal color area threshold and the abnormal color type is less than or equal to the preset abnormal color type threshold, the defect detection result of the electrode to be detected is determined to be qualified.
[0125] Furthermore, in one embodiment, the abnormal color area threshold corresponding to the positive electrode sheet to be detected is greater than the abnormal color area threshold corresponding to the negative electrode sheet to be detected, and the abnormal color type threshold corresponding to the positive electrode sheet to be detected is greater than the abnormal color type threshold corresponding to the negative electrode sheet to be detected.
[0126] Among them, the functional implementation of each unit in the above-mentioned pole piece surface defect detection system corresponds to the various steps in the above-mentioned pole piece surface defect detection method embodiment, and its functions and implementation processes will not be repeated here one by one.
[0127] In a third aspect, an embodiment of the present application provides a pole piece surface defect detection device, which may be a personal computer (PC), a laptop computer, a server, or other device with data processing capabilities.
[0128] Reference Figure 7 , Figure 7 Schematic diagram of the hardware structure of the pole piece surface defect detection device involved in the embodiment of the present application. In the embodiment of the present application, the pole piece surface defect detection device may include a processor, a memory, a communication interface and a communication bus.
[0129] The communication bus may be of any type and is used to interconnect the processor, the memory, and the communication interface.
[0130] The communication interface includes input / output (I / O) interface, physical interface and logical interface, etc., which are used to realize the interconnection of devices inside the electrode surface defect detection device, and the interface used to realize the interconnection between the electrode surface defect detection device and other devices (such as other computing devices or user devices). The physical interface can be an Ethernet interface, a fiber optic interface, an ATM interface, etc.; the user device can be a display (Display), a keyboard (Keyboard), etc.
[0131] The memory can be various types of storage media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), flash memory, optical storage, hard disk, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), etc.
[0132] The processor may be a general-purpose processor, which may call the pole piece surface defect detection program stored in the memory and execute the pole piece surface defect detection method provided in the embodiment of the present application. For example, the general-purpose processor may be a central processing unit (CPU). The method executed when the pole piece surface defect detection program is called may refer to the various embodiments of the pole piece surface defect detection method of the present application, which will not be repeated here.
[0133] Those skilled in the art will understand that Figure 7 The hardware structure shown in the figure does not constitute a limitation on the present application, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0134] In a fourth aspect, an embodiment of the present application also provides a computer-readable storage medium.
[0135] The readable storage medium of the present application stores a pole piece surface defect detection program, wherein when the pole piece surface defect detection program is executed by a processor, the steps of the pole piece surface defect detection method as described above are implemented.
[0136] Among them, the method implemented when the pole piece surface defect detection program is executed can refer to the various embodiments of the pole piece surface defect detection method of the present application, and will not be repeated here.
[0137] It should be noted that the serial numbers of the above-mentioned embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.
[0138] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices. The terms "first", "second" and "third" are used to distinguish different objects, etc., and do not represent a sequence, nor do they limit "first", "second" and "third" to different types.
[0139] In the description of the embodiments of the present application, "exemplary", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary", "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "for example" or "for example" is intended to present related concepts in a specific way.
[0140] In the description of the embodiments of the present application, unless otherwise specified, “ / ” means or, for example, A / B can mean A or B; the “and / or” in the text is merely a description of the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, “multiple” refers to two or more than two.
[0141] In some processes described in the embodiments of the present application, multiple operations or steps that appear in a specific order are included, but it should be understood that these operations or steps may not be executed in the order in which they appear in the embodiments of the present application or in parallel, and the sequence number of the operation is only used to distinguish the different operations, and the sequence number itself does not represent any execution order. In addition, these processes may include more or fewer operations, and these operations or steps may be executed in sequence or in parallel, and these operations or steps may be combined.
[0142] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present application.
[0143] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for detecting surface defects of a pole piece, characterized in that: The following steps are involved: Performing pseudo-color processing on the target image corresponding to the electrode to be detected to generate a target pseudo-color image; Acquire a non-defective pseudo-color image corresponding to the electrode to be inspected from a preset pseudo-color electrode library; Performing color comparison analysis on the target pseudo-color image and the defect-free pseudo-color image to obtain abnormal color areas and abnormal color types; The defect detection result of the electrode to be detected is determined according to the abnormal color area and the abnormal color type.
2. The method for detecting surface defects of a pole piece according to claim 1, characterized in that: Before the step of performing pseudo-color processing on the target image corresponding to the electrode to be detected, the method further includes: Determine whether a first image captured by a fast camera and a second image captured by a high-resolution camera are images captured at the same time; If yes, taking the second image as the target image; If not, super-resolution processing is performed on the first image to obtain a third image, and the third image is used as the target image.
3. The method for detecting surface defects of a pole piece according to claim 2, characterized in that: When the target image is the third image, performing pseudo-color processing on the target image corresponding to the electrode to be detected to generate a target pseudo-color image includes: Performing pseudo color processing on the third image to obtain a first pseudo color image; A target color difference corresponding to the first pseudo-color image is acquired from a preset color difference library, and color correction is performed on the first pseudo-color image according to the target color difference to obtain a target pseudo-color image.
4. The method for detecting surface defects of a pole piece according to claim 1, characterized in that: The pseudo-color processing is performed on the target image corresponding to the electrode to be detected to generate a target pseudo-color image, including: Performing super-resolution processing on the image captured by the fast camera to obtain a target image; Performing pseudo-color processing on the target image to obtain an initial pseudo-color image; A target color difference corresponding to the initial pseudo-color image is acquired from a preset color difference library, and color correction is performed on the initial pseudo-color image according to the target color difference to obtain a target pseudo-color image.
5. The method for detecting surface defects of a pole piece according to claim 1, characterized in that: The step of determining the defect detection result of the electrode to be detected according to the abnormal color area and the abnormal color type includes: When the abnormal color area is greater than the preset abnormal color area threshold or the abnormal color type is greater than the preset abnormal color type threshold, the defect detection result of the electrode to be detected is determined to be unqualified; When the abnormal color area is less than or equal to the preset abnormal color area threshold and the abnormal color type is less than or equal to the preset abnormal color type threshold, the defect detection result of the electrode to be detected is determined to be qualified.
6. The method for detecting surface defects of a pole piece according to claim 5, characterized in that: The abnormal color area threshold corresponding to the positive electrode sheet to be detected is greater than the abnormal color area threshold corresponding to the negative electrode sheet to be detected, and the abnormal color type threshold corresponding to the positive electrode sheet to be detected is greater than the abnormal color type threshold corresponding to the negative electrode sheet to be detected.
7. A pole piece surface defect detection system, characterized in that: include: Image acquisition unit and image detection unit; The image acquisition unit is used to photograph the electrode to be detected to obtain a target image; The image detection unit is used to perform pseudo-color processing on the target image corresponding to the pole piece to be detected to generate a target pseudo-color image; obtain a defect-free pseudo-color image corresponding to the pole piece to be detected from a preset pseudo-color pole piece library; perform color comparison analysis on the target pseudo-color image and the defect-free pseudo-color image to obtain abnormal color area and abnormal color type; determine the defect detection result of the pole piece to be detected based on the abnormal color area and abnormal color type.
8. The pole piece surface defect detection system according to claim 7, characterized in that: The image acquisition unit includes a target camera and a lighting module. The target camera is used to photograph the pole piece to be detected, and the lighting module is used to provide lighting for the pole piece to be detected.
9. A pole piece surface defect detection device, characterized in that: The pole piece surface defect detection device includes a processor, a memory, and an AAAA program stored in the memory and executable by the processor, wherein when the pole piece surface defect detection program is executed by the processor, the steps of the pole piece surface defect detection method as described in any one of claims 1 to 6 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a pole piece surface defect detection program, wherein when the pole piece surface defect detection program is executed by a processor, the steps of the pole piece surface defect detection method according to any one of claims 1 to 6 are implemented.
