A battery defect detection method and system based on deep learning
By collecting a variety of data during the battery manufacturing and testing process and using deep learning methods to build a three-dimensional model, it solves the problems of low manual detection efficiency and difficulty in detecting internal defects in the existing technology, and achieves comprehensive and accurate detection of batteries.
Patent Information
- Application Number
- CN202311139139.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-04
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2043-09-04
AI Technical Summary
Existing battery defect detection methods rely on manual inspection, which is inefficient and difficult to detect internal defects of the battery, and cannot fully evaluate the appearance and internal condition of the battery.
Using a method based on deep learning, by simultaneously collecting a variety of data (images, temperature, charging, discharging, vibration, smell, etc.) during the battery manufacturing and testing process, an initial and basic three-dimensional model is established, and compared using a convolutional neural network To detect battery defects.
It achieves accurate detection of external surface and internal defects of the battery, improves detection efficiency and accuracy, and can comprehensively evaluate the status of the battery.
Smart Images

Figure CN117152098B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of battery detection, and in particular to a battery defect detection method and system based on deep learning. Background Art
[0002] The demand for batteries in production and life is constantly expanding. In the process of battery production, batteries with product defects will be produced to a greater or lesser extent. The defect detection method usually adopted by major battery manufacturers is to confirm whether there are defects such as cracks on the appearance of the battery through manual inspection. However, this detection method has low detection efficiency, and the entire detection process depends to a large extent on the detection experience of the inspector. The detection accuracy is also low, and only the appearance of the battery is detected, and some defects inside the battery cannot be found. Summary of the invention
[0003] Based on the above problems, the present invention proposes a battery defect detection method and system based on deep learning. Through the solution of the present invention, not only can it be accurately detected whether there are defects on the outer surface of the battery, but also the defects inside the battery can be detected.
[0004] In view of this, one aspect of the present invention proposes a battery defect detection method based on deep learning, comprising:
[0005] During the manufacturing process of all batteries, the first image data of all links are collected synchronously;
[0006] Testing the battery, and synchronously collecting second image data, first temperature data, first charging data, first discharging data, first vibration data, and first odor data of the battery during the testing process;
[0007] establishing an initial three-dimensional model of the battery according to the first image data;
[0008] Obtaining first three-dimensional image data and first sound data according to the second image data;
[0009] Modifying the initial three-dimensional model according to the first three-dimensional image data to obtain a basic three-dimensional model;
[0010] Inputting the first sound data, the first temperature data, the first charging data, the first discharging data, the first vibration data and the first smell data into a trained convolutional neural network to obtain a basic working model of the battery;
[0011] Acquire third image data, second temperature data, second charging data, second discharging data, second vibration data, and second odor data of the battery to be detected;
[0012] extracting second sound data from the third image data;
[0013] Obtaining a three-dimensional model of the battery to be inspected according to the third image data;
[0014] Inputting the second sound data, the second temperature data, the second charging data, the second discharging data, the second vibration data and the second smell data into the convolutional neural network to obtain a first working model of the battery to be detected;
[0015] Comparing the to-be-detected three-dimensional model with the basic three-dimensional model to obtain a first comparison result;
[0016] Comparing the first working model with the basic working model to obtain a second comparison result;
[0017] A defect detection result of the battery to be detected is obtained according to the first comparison result and the second comparison result.
[0018] Optionally, the step of synchronously collecting the first image data of all links in the manufacturing process of all batteries includes:
[0019] Using a laser radar scanning device to obtain static point cloud data of the manufacturing equipment of the battery, and combining the operation data of the manufacturing equipment to obtain dynamic point cloud data of the manufacturing equipment during the manufacturing process of the battery;
[0020] Using the laser radar scanning device to obtain first point cloud data of the battery during the manufacturing process;
[0021] According to the dynamic point cloud data, background removal is performed on the first point cloud data to obtain battery point cloud data of the battery;
[0022] The battery point cloud data is used as the first image data.
[0023] Optionally, the step of testing the battery and synchronously collecting the second image data, the first temperature data, the first charging data, the first discharging data, the first vibration data and the first odor data of the battery during the test includes:
[0024] Testing the battery, during the testing process, using the laser radar scanning device to collect second point cloud data of the battery to obtain the first three-dimensional image data;
[0025] Using a sound collection device to collect the first sound data generated by the battery during the test;
[0026] using the first three-dimensional image data and the first sound data as the second image data;
[0027] Using a temperature sensor to collect the first temperature data of the battery during the test;
[0028] reading the first charging data and the first discharging data of the battery during a test from a power management module of the battery;
[0029] Using a vibration sensor to collect the first vibration data generated by the battery during the test;
[0030] The first odor data generated by the battery during the test is collected using an odor sensor.
[0031] Optionally, the step of comparing the to-be-detected three-dimensional model with the basic three-dimensional model to obtain a first comparison result includes:
[0032] Randomly select a point from the three-dimensional model to be detected as a first base point, and calculate the first distance from the first base point to other points, use the coordinates of the two points and the first distance as a first data group, and arrange the first data groups from small to large according to the first distance to form a data sequence to be detected;
[0033] Traverse the other N-1 points of the three-dimensional model to be detected, perform the operation in the previous step, and obtain N data sequences to be detected;
[0034] Randomly select a point from the basic three-dimensional model as a second base point, and calculate the second distance from the second base point to each other point, use the coordinates of the two points and the second distance as a second data group, and arrange the second data groups in ascending order according to the second distance to form a basic data sequence;
[0035] Traverse the other M-1 points of the basic three-dimensional model, perform the operation in the previous step, and obtain M basic data sequences;
[0036] Compare the N to-be-detected data sequences with the M basic data sequences one by one based on the first distance and the second distance, and pair the to-be-detected data sequences with the same number of the first distance and the second distance reaching a preset number with the basic data sequences one by one;
[0037] The first comparison result is obtained by comparing the coordinates corresponding to the paired data sequence to be detected and the basic data sequence.
[0038] Optionally, the step of comparing the to-be-detected three-dimensional model with the basic three-dimensional model to obtain a first comparison result includes:
[0039] According to the third image data, the first depth information of each coordinate point in the first data group is added to the first data group;
[0040] According to the first image data and the second image data, the second depth information of each coordinate point in the second data group is added to the second data group;
[0041] The step of comparing the coordinates corresponding to the paired data sequence to be detected and the basic data sequence to obtain the first comparison result is specifically:
[0042] comparing the coordinate points corresponding to the paired data sequence to be detected and the basic data sequence and the first depth information and the second depth information corresponding to the coordinate points to determine whether the difference value is within a preset range;
[0043] When the difference value is within a preset range, determining that the battery to be tested is qualified;
[0044] When the difference value exceeds a preset range, it is determined that the battery to be tested is unqualified.
[0045] Another aspect of the present invention provides a battery defect detection system based on deep learning, comprising: a control processing device, a laser radar scanning device equipped with a sound collection module, and a data collection device; wherein,
[0046] The laser radar scanning device is configured as follows:
[0047] During the manufacturing process of all batteries, the first image data of all links are collected synchronously;
[0048] synchronously collecting second image data of the battery during the test process of the battery;
[0049] The data acquisition device is configured to: synchronously acquire first temperature data, first charging data, first discharging data, first vibration data and first odor data of the battery during the test of the battery;
[0050] The control processing device is configured to:
[0051] establishing an initial three-dimensional model of the battery according to the first image data;
[0052] Obtaining first three-dimensional image data and first sound data according to the second image data;
[0053] Modifying the initial three-dimensional model according to the first three-dimensional image data to obtain a basic three-dimensional model;
[0054] Inputting the first sound data, the first temperature data, the first charging data, the first discharging data, the first vibration data and the first smell data into a trained convolutional neural network to obtain a basic working model of the battery;
[0055] Acquire third image data, second temperature data, second charging data, second discharging data, second vibration data, and second odor data of the battery to be detected;
[0056] extracting second sound data from the third image data;
[0057] Obtaining a three-dimensional model of the battery to be inspected according to the third image data;
[0058] Inputting the second sound data, the second temperature data, the second charging data, the second discharging data, the second vibration data and the second smell data into the convolutional neural network to obtain a first working model of the battery to be detected;
[0059] Comparing the to-be-detected three-dimensional model with the basic three-dimensional model to obtain a first comparison result;
[0060] Comparing the first working model with the basic working model to obtain a second comparison result;
[0061] A defect detection result of the battery to be detected is obtained according to the first comparison result and the second comparison result.
[0062] Optionally, in the step of synchronously collecting the first image data of all links in the manufacturing process of all batteries, the laser radar scanning device is specifically configured as follows:
[0063] Acquire static point cloud data of the battery manufacturing equipment;
[0064] Acquiring first point cloud data of the battery during the manufacturing process;
[0065] The control processing device is configured to:
[0066] Combine the operation data of the manufacturing equipment to obtain the dynamic point cloud data of the manufacturing equipment during the manufacturing process of the battery
[0067] According to the dynamic point cloud data, background removal is performed on the first point cloud data to obtain battery point cloud data of the battery;
[0068] The battery point cloud data is used as the first image data.
[0069] Optionally, in synchronously collecting the second image data of the battery during the test of the battery, the laser radar scanning device is specifically configured as follows:
[0070] Collecting the second point cloud data of the battery to obtain the first three-dimensional image data;
[0071] Using a sound collection module to collect the first sound data generated by the battery during the test;
[0072] using the first three-dimensional image data and the first sound data as the second image data;
[0073] In the step of synchronously collecting the first temperature data, the first charging data, the first discharging data, the first vibration data and the first odor data of the battery during the test of the battery, the data collection device is configured as follows:
[0074] Using a temperature sensor to collect the first temperature data of the battery during the test;
[0075] reading the first charging data and the first discharging data of the battery during a test from a power management module of the battery;
[0076] Using a vibration sensor to collect the first vibration data of the battery during the test;
[0077] The first odor data generated by the battery during the test is collected using an odor sensor.
[0078] Optionally, in the step of comparing the to-be-detected three-dimensional model with the basic three-dimensional model to obtain a first comparison result, the control processing device is specifically configured to:
[0079] Randomly select a point from the three-dimensional model to be detected as a first base point, and calculate the first distance from the first base point to other points, use the coordinates of the two points and the first distance as a first data group, and arrange the first data groups from small to large according to the first distance to form a data sequence to be detected;
[0080] Traverse the other N-1 points of the three-dimensional model to be detected, perform the operation in the previous step, and obtain N data sequences to be detected;
[0081] Randomly select a point from the basic three-dimensional model as a second base point, and calculate the second distance from the second base point to each other point, use the coordinates of the two points and the second distance as a second data group, and arrange the second data groups in ascending order according to the second distance to form a basic data sequence;
[0082] Traverse the other M-1 points of the basic three-dimensional model, perform the operation in the previous step, and obtain M basic data sequences;
[0083] Compare the N to-be-detected data sequences with the M basic data sequences one by one based on the first distance and the second distance, and pair the to-be-detected data sequences with the same number of the first distance and the second distance reaching a preset number with the basic data sequences one by one;
[0084] The first comparison result is obtained by comparing the coordinates corresponding to the paired data sequence to be detected and the basic data sequence.
[0085] Optionally, in the step of comparing the to-be-detected three-dimensional model with the basic three-dimensional model to obtain a first comparison result, the control processing device is specifically configured to:
[0086] According to the third image data, the first depth information of each coordinate point in the first data group is added to the first data group;
[0087] According to the first image data and the second image data, the second depth information of each coordinate point in the second data group is added to the second data group;
[0088] The step of comparing the coordinates corresponding to the paired data sequence to be detected and the basic data sequence to obtain the first comparison result is specifically:
[0089] comparing the coordinate points corresponding to the paired data sequence to be detected and the basic data sequence and the first depth information and the second depth information corresponding to the coordinate points to determine whether the difference value is within a preset range;
[0090] When the difference value is within a preset range, determining that the battery to be tested is qualified;
[0091] When the difference value exceeds a preset range, it is determined that the battery to be tested is unqualified.
[0092] The technical solution of the present invention is adopted, and the battery defect detection method based on deep learning includes: in the manufacturing process of all batteries, synchronously collecting first image data of all links; testing the battery, and synchronously collecting second image data, first temperature data, first charging data, first discharging data, first vibration data and first odor data of the battery during the test; establishing an initial three-dimensional model of the battery according to the first image data; obtaining first three-dimensional image data and first sound data according to the second image data; modifying the initial three-dimensional model according to the first three-dimensional image data to obtain a basic three-dimensional model; inputting the first sound data, the first temperature data, the first charging data, the first discharging data, the first vibration data and the first odor data into a trained convolutional neural network to obtain a basic three-dimensional model of the battery. This working model; obtain the third image data, second temperature data, second charging data, second discharging data, second vibration data and second odor data of the battery to be detected; extract the second sound data from the third image data; obtain the three-dimensional model to be detected of the battery to be detected according to the third image data; input the second sound data, the second temperature data, the second charging data, the second discharging data, the second vibration data and the second odor data into the convolutional neural network to obtain the first working model of the battery to be detected; compare the three-dimensional model to be detected with the basic three-dimensional model to obtain a first comparison result; compare the first working model with the basic working model to obtain a second comparison result; obtain the defect detection result of the battery to be detected according to the first comparison result and the second comparison result. Through the scheme of the present invention, not only can it be accurately detected whether there are defects on the outer surface of the battery, but also the defects inside the battery can be detected. BRIEF DESCRIPTION OF THE DRAWINGS
[0093] Figure 1 is a flow chart of a battery defect detection method based on deep learning provided by an embodiment of the present invention;
[0094] Figure 2 It is a schematic block diagram of a battery defect detection system based on deep learning provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0095] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0096] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.
[0097] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof 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.
[0098] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0099] Refer to the following Figure 1 to Figure 2 To describe a battery defect detection method and system based on deep learning provided according to some embodiments of the present invention.
[0100] like Figure 1 As shown, an embodiment of the present invention provides a battery defect detection method based on deep learning, comprising:
[0101] During the manufacturing process of all batteries, the first image data of all links are collected synchronously;
[0102] Testing the battery, and synchronously collecting second image data, first temperature data, first charging data, first discharging data, first vibration data, and first odor data of the battery during the testing process;
[0103] establishing an initial three-dimensional model of the battery according to the first image data;
[0104] Obtaining first three-dimensional image data and first sound data according to the second image data;
[0105] Modifying the initial three-dimensional model according to the first three-dimensional image data to obtain a basic three-dimensional model;
[0106] Inputting the first sound data, the first temperature data, the first charging data, the first discharging data, the first vibration data and the first smell data into a trained convolutional neural network to obtain a basic working model of the battery;
[0107] Acquire third image data, second temperature data, second charging data, second discharging data, second vibration data, and second odor data of the battery to be detected;
[0108] extracting second sound data from the third image data;
[0109] Obtaining a three-dimensional model of the battery to be inspected according to the third image data;
[0110] Inputting the second sound data, the second temperature data, the second charging data, the second discharging data, the second vibration data and the second smell data into the convolutional neural network to obtain a first working model of the battery to be detected;
[0111] Comparing the to-be-detected three-dimensional model with the basic three-dimensional model to obtain a first comparison result;
[0112] Comparing the first working model with the basic working model to obtain a second comparison result;
[0113] A defect detection result of the battery to be detected is obtained according to the first comparison result and the second comparison result.
[0114] It can be understood that in this embodiment, the laser radar scanning device equipped with a sound collection module can be used to collect the first / second / third image data containing sound data and point cloud data, and the initial three-dimensional model of the battery can be established according to the first image data, and then the first three-dimensional image data can be obtained according to the second image data. The initial three-dimensional model is modified by using the first three-dimensional image data to obtain a basic three-dimensional model, and the basic three-dimensional model of the battery is finally obtained by using the point cloud data collected from the battery production process and the point cloud data collected during the test process. The first temperature data, first charging data, first discharging data, first vibration data and first odor data of the battery collected synchronously during the test process are input into the trained convolutional neural network to obtain the basic working model of the battery. The third image data (including the second sound data and the three-dimensional point cloud data of the electron to be detected), the second temperature data, the second charging data, the second discharging data, the second vibration data and the second odor data of the battery to be detected are obtained, and the second sound data is extracted from the third image data; the second sound data, the second temperature data, the second charging data, the second discharging data, the second vibration data and the second odor data are input into the convolutional neural network to obtain the first working model of the battery to be detected. Then, the three-dimensional model to be inspected of the battery to be inspected is obtained based on the third image data; the three-dimensional model to be inspected is compared with the basic three-dimensional model to obtain a first comparison result; the first working model is compared with the basic working model to obtain a second comparison result; and the defect detection result of the battery to be inspected is obtained based on the first comparison result and the second comparison result. Through the scheme of this embodiment, not only can the outer surface of the battery be accurately detected to determine whether there are defects, but also the defects inside the battery can be detected.
[0115] In some possible implementations of the present invention, the step of synchronously collecting first image data of all links in the manufacturing process of all batteries includes:
[0116] Using a laser radar scanning device to obtain static point cloud data of the manufacturing equipment of the battery, and combining the operation data of the manufacturing equipment to obtain dynamic point cloud data of the manufacturing equipment during the manufacturing process of the battery;
[0117] Using the laser radar scanning device to obtain first point cloud data of the battery during the manufacturing process;
[0118] According to the dynamic point cloud data, background removal is performed on the first point cloud data to obtain battery point cloud data of the battery;
[0119] The battery point cloud data is used as the first image data.
[0120] It is understandable that the operation data includes demonstration video data of the manufacturing equipment, historical operation video data, motion trajectory data of each component during operation, etc. In this embodiment, a laser radar scanning device is used to obtain static point cloud data of the manufacturing equipment of the battery, and the dynamic point cloud data of the manufacturing equipment during the manufacturing process of the battery is obtained in combination with the operation data of the manufacturing equipment; the laser radar scanning device is used to obtain the first point cloud data of the battery during the manufacturing process; based on the dynamic point cloud data, the background of the first point cloud data is removed to obtain the battery point cloud data of the battery; the battery point cloud data is used as the first image data. Through this solution, the data belonging to the manufacturing equipment can be removed from the point cloud data collected synchronously during the manufacturing process of the battery, thereby improving the accuracy of the battery point cloud data.
[0121] In some possible implementations of the present invention, the step of testing the battery and synchronously collecting the second image data, the first temperature data, the first charging data, the first discharging data, the first vibration data and the first odor data of the battery during the test includes:
[0122] Testing the battery, during the testing process, using the laser radar scanning device to collect second point cloud data of the battery to obtain the first three-dimensional image data;
[0123] Using a sound collection device to collect the first sound data generated by the battery during the test;
[0124] using the first three-dimensional image data and the first sound data as the second image data;
[0125] Using a temperature sensor to collect the first temperature data of the battery during the test;
[0126] reading the first charging data and the first discharging data of the battery during a test from a power management module of the battery;
[0127] Using a vibration sensor to collect the first vibration data generated by the battery during the test;
[0128] The first odor data generated by the battery during the test is collected using an odor sensor.
[0129] It is understandable that there may be visual differences between the battery during the manufacturing process and the test process (such as appearance, structure, color, etc.), and the various data generated during the test process have a very high reference value for battery evaluation. In this embodiment, the battery is tested. During the test process, the second point cloud data of the battery is collected by the laser radar scanning device to obtain the first three-dimensional image data; the first sound data generated by the battery during the test process is collected by the sound collection device; the first three-dimensional image data and the first sound data are used as the second image data; the first temperature data of the battery during the test process is collected by the temperature sensor; the first charging data and the first discharging data of the battery during the test process are read from the power management module of the battery; the first vibration data generated by the battery during the test process is collected by the vibration sensor; and the first odor data generated by the battery during the test process is collected by the odor sensor. By collecting a variety of data generated during the test process, multiple dimensions of data support can be provided for establishing a working model and conducting detection / evaluation of the battery.
[0130] In some possible implementations of the present invention, the step of comparing the three-dimensional model to be detected with the basic three-dimensional model to obtain a first comparison result includes:
[0131] Randomly select a point from the three-dimensional model to be detected as a first base point, and calculate the first distance from the first base point to other points, use the coordinates of the two points and the first distance as a first data group, and arrange the first data groups from small to large according to the first distance to form a data sequence to be detected;
[0132] Traverse the other N-1 points of the three-dimensional model to be detected, perform the operation in the previous step, and obtain N data sequences to be detected;
[0133] Randomly select a point from the basic three-dimensional model as a second base point, and calculate the second distance from the second base point to each other point, use the coordinates of the two points and the second distance as a second data group, and arrange the second data groups in ascending order according to the second distance to form a basic data sequence;
[0134] Traverse the other M-1 points of the basic three-dimensional model, perform the operation in the previous step, and obtain M basic data sequences;
[0135] Compare the N to-be-detected data sequences with the M basic data sequences one by one based on the first distance and the second distance, and pair the to-be-detected data sequences with the same number of the first distance and the second distance reaching a preset number with the basic data sequences one by one;
[0136] The first comparison result is obtained by comparing the coordinates corresponding to the paired data sequence to be detected and the basic data sequence; wherein N and M are both positive integers.
[0137] It can be understood that the appearance inspection of the battery is an important part of its product inspection. In order to ensure the convenience, accuracy and efficiency of the appearance inspection, in this embodiment, the three-dimensional point cloud data of the battery to be inspected is collected, and a three-dimensional model of the battery to be inspected is generated according to the three-dimensional point cloud data to be inspected, and then the coordinate points of the three-dimensional model to be inspected and the corresponding basic three-dimensional model are compared to obtain the inspection result.
[0138] In some possible implementations of the present invention, the step of comparing the three-dimensional model to be detected with the basic three-dimensional model to obtain a first comparison result includes:
[0139] According to the third image data, the first depth information of each coordinate point in the first data group is added to the first data group;
[0140] According to the first image data and the second image data, the second depth information of each coordinate point in the second data group is added to the second data group;
[0141] The step of comparing the coordinates corresponding to the paired data sequence to be detected and the basic data sequence to obtain the first comparison result is specifically:
[0142] Compare the coordinate points corresponding to the paired data sequence to be detected and the basic data sequence and the first depth information and the second depth information corresponding to the coordinate points to determine whether the difference value is within a preset range;
[0143] When the difference value is within a preset range, determining that the battery to be tested is qualified;
[0144] When the difference value exceeds a preset range, it is determined that the battery to be tested is unqualified.
[0145] It is understandable that in order to make the comparison result more accurate, the coordinate information, depth information and color information carried in the point cloud data can be used for comparison, such as using the coordinate information and depth information to detect whether the surface roughness and curvature meet the standards, and using the coordinate information, depth information and color information to detect whether the surface color meets the standards. In this embodiment, according to the three-dimensional point cloud data contained in the third image data, the first depth information corresponding to each coordinate point in the first data group is supplemented to the first data group; according to the three-dimensional point cloud data contained in the first image data and the second image data, the second depth information corresponding to each coordinate point in the second data group is supplemented to the second data group; the coordinate points corresponding to the paired data sequence to be detected and the basic data sequence and the first depth information and the second depth information corresponding to the coordinate points are compared to determine whether the difference value is within the preset range to determine whether the battery to be detected is qualified.
[0146] It should be noted that, in some possible embodiments of the present invention, the structure of the (first / second) data group is: (first / second) base point coordinate value, (first / second) base point depth information, (first / second) base point color information, other point coordinate values, other point depth information, other point color information, and the distance between the (first / second) base point and other points.
[0147] In some possible embodiments of the present invention, the step of comparing the three-dimensional model to be detected with the basic three-dimensional model to obtain a first comparison result further includes:
[0148] According to the third image data, the first color information corresponding to each coordinate point in the first data group is added to the first data group;
[0149] According to the first image data and the second image data, the second color information corresponding to each coordinate point in the second data group is added to the second data group;
[0150] Compare the coordinate points corresponding to the paired data sequence to be detected and the standard data sequence and the first color information and the second color information corresponding to the coordinate points to determine whether the color difference value is within a preset range;
[0151] When the color difference value is within a preset range, it is determined that the electronic product to be tested is qualified;
[0152] When the color difference value exceeds a preset range, it is determined that the electronic product to be inspected is unqualified.
[0153] See also Figure 2Another embodiment of the present invention provides a battery defect detection system based on deep learning, comprising: a control processing device, a laser radar scanning device equipped with a sound collection module, and a data collection device; wherein,
[0154] The laser radar scanning device is configured as follows:
[0155] During the manufacturing process of all batteries, the first image data of all links are collected synchronously;
[0156] synchronously collecting second image data of the battery during the test process of the battery;
[0157] The data acquisition device is configured to: synchronously acquire first temperature data, first charging data, first discharging data, first vibration data and first odor data of the battery during the test of the battery;
[0158] The control processing device is configured to:
[0159] establishing an initial three-dimensional model of the battery according to the first image data;
[0160] Obtaining first three-dimensional image data and first sound data according to the second image data;
[0161] Modifying the initial three-dimensional model according to the first three-dimensional image data to obtain a basic three-dimensional model;
[0162] Inputting the first sound data, the first temperature data, the first charging data, the first discharging data, the first vibration data and the first smell data into a trained convolutional neural network to obtain a basic working model of the battery;
[0163] Acquire third image data, second temperature data, second charging data, second discharging data, second vibration data, and second odor data of the battery to be detected;
[0164] extracting second sound data from the third image data;
[0165] Obtaining a three-dimensional model of the battery to be inspected according to the third image data;
[0166] Inputting the second sound data, the second temperature data, the second charging data, the second discharging data, the second vibration data and the second smell data into the convolutional neural network to obtain a first working model of the battery to be detected;
[0167] Comparing the to-be-detected three-dimensional model with the basic three-dimensional model to obtain a first comparison result;
[0168] Comparing the first working model with the basic working model to obtain a second comparison result;
[0169] A defect detection result of the battery to be detected is obtained according to the first comparison result and the second comparison result.
[0170] It can be understood that in this embodiment, the laser radar scanning device equipped with a sound collection module can be used to collect the first / second / third image data containing sound data and point cloud data, and the initial three-dimensional model of the battery can be established according to the first image data, and then the first three-dimensional image data can be obtained according to the second image data. The initial three-dimensional model is modified by using the first three-dimensional image data to obtain a basic three-dimensional model, and the basic three-dimensional model of the battery is finally obtained by using the point cloud data collected from the battery production process and the point cloud data collected during the test process. The first temperature data, first charging data, first discharging data, first vibration data and first odor data of the battery collected synchronously during the test process are input into the trained convolutional neural network to obtain the basic working model of the battery. The third image data (including the second sound data and the three-dimensional point cloud data of the electron to be detected), the second temperature data, the second charging data, the second discharging data, the second vibration data and the second odor data of the battery to be detected are obtained, and the second sound data is extracted from the third image data; the second sound data, the second temperature data, the second charging data, the second discharging data, the second vibration data and the second odor data are input into the convolutional neural network to obtain the first working model of the battery to be detected. Then, the three-dimensional model to be inspected of the battery to be inspected is obtained based on the third image data; the three-dimensional model to be inspected is compared with the basic three-dimensional model to obtain a first comparison result; the first working model is compared with the basic working model to obtain a second comparison result; and the defect detection result of the battery to be inspected is obtained based on the first comparison result and the second comparison result. Through the scheme of this embodiment, not only can the outer surface of the battery be accurately detected to determine whether there are defects, but also the defects inside the battery can be detected.
[0171] It should be known that Figure 2 The block diagram of the deep learning-based battery defect detection method is for illustration only, and the number of modules shown therein does not limit the protection scope of the present invention.
[0172] In some possible implementations of the present invention, in the step of synchronously collecting the first image data of all links in the manufacturing process of all batteries, the laser radar scanning device is specifically configured as follows:
[0173] Acquire static point cloud data of the battery manufacturing equipment;
[0174] Acquiring first point cloud data of the battery during the manufacturing process;
[0175] The control processing device is configured to:
[0176] Combine the operation data of the manufacturing equipment to obtain the dynamic point cloud data of the manufacturing equipment during the manufacturing process of the battery
[0177] According to the dynamic point cloud data, background removal is performed on the first point cloud data to obtain battery point cloud data of the battery;
[0178] The battery point cloud data is used as the first image data.
[0179] It is understandable that the operation data includes demonstration video data of the manufacturing equipment, historical operation video data, motion trajectory data of each component during operation, etc. In this embodiment, a laser radar scanning device is used to obtain static point cloud data of the manufacturing equipment of the battery, and the dynamic point cloud data of the manufacturing equipment during the manufacturing process of the battery is obtained in combination with the operation data of the manufacturing equipment; the laser radar scanning device is used to obtain the first point cloud data of the battery during the manufacturing process; based on the dynamic point cloud data, the background of the first point cloud data is removed to obtain the battery point cloud data of the battery; the battery point cloud data is used as the first image data. Through this solution, the data belonging to the manufacturing equipment can be removed from the point cloud data collected synchronously during the manufacturing process of the battery, thereby improving the accuracy of the battery point cloud data.
[0180] In some possible implementations of the present invention, in the synchronous collection of the second image data of the battery during the test of the battery, the laser radar scanning device is specifically configured as follows:
[0181] Collecting the second point cloud data of the battery to obtain the first three-dimensional image data;
[0182] Using a sound collection module to collect the first sound data generated by the battery during the test;
[0183] using the first three-dimensional image data and the first sound data as the second image data;
[0184] In the step of synchronously collecting the first temperature data, the first charging data, the first discharging data, the first vibration data and the first odor data of the battery during the test of the battery, the data collection device is configured as follows:
[0185] Using a temperature sensor to collect the first temperature data of the battery during the test;
[0186] reading the first charging data and the first discharging data of the battery during a test from a power management module of the battery;
[0187] Using a vibration sensor to collect the first vibration data of the battery during the test;
[0188] The first odor data generated by the battery during the test is collected using an odor sensor.
[0189] It is understandable that there may be visual differences between the battery during the manufacturing process and the test process (such as appearance, structure, color, etc.), and the various data generated during the test process have a very high reference value for battery evaluation. In this embodiment, the battery is tested. During the test process, the second point cloud data of the battery is collected by the laser radar scanning device to obtain the first three-dimensional image data; the first sound data generated by the battery during the test process is collected by the sound collection device; the first three-dimensional image data and the first sound data are used as the second image data; the first temperature data of the battery during the test process is collected by the temperature sensor; the first charging data and the first discharging data of the battery during the test process are read from the power management module of the battery; the first vibration data generated by the battery during the test process is collected by the vibration sensor; and the first odor data generated by the battery during the test process is collected by the odor sensor. By collecting a variety of data generated during the test process, multiple dimensions of data support can be provided for establishing a working model and conducting detection / evaluation of the battery.
[0190] In some possible implementations of the present invention, in the step of comparing the three-dimensional model to be detected with the basic three-dimensional model to obtain a first comparison result, the control processing device is specifically configured as follows:
[0191] Randomly select a point from the three-dimensional model to be detected as a first base point, and calculate the first distance from the first base point to other points, use the coordinates of the two points and the first distance as a first data group, and arrange the first data groups from small to large according to the first distance to form a data sequence to be detected;
[0192] Traverse the other N-1 points of the three-dimensional model to be detected, perform the operation in the previous step, and obtain N data sequences to be detected;
[0193] Randomly select a point from the basic three-dimensional model as a second base point, and calculate the second distance from the second base point to each other point, use the coordinates of the two points and the second distance as a second data group, and arrange the second data groups in ascending order according to the second distance to form a basic data sequence;
[0194] Traverse the other M-1 points of the basic three-dimensional model, perform the operation in the previous step, and obtain M basic data sequences;
[0195] Compare the N to-be-detected data sequences with the M basic data sequences one by one based on the first distance and the second distance, and pair the to-be-detected data sequences with the same number of the first distance and the second distance reaching a preset number with the basic data sequences one by one;
[0196] The first comparison result is obtained by comparing the coordinates corresponding to the paired data sequence to be detected and the basic data sequence; wherein N and M are both positive integers.
[0197] It can be understood that the appearance inspection of the battery is an important part of its product inspection. In order to ensure the convenience, accuracy and efficiency of the appearance inspection, in this embodiment, the three-dimensional point cloud data of the battery to be inspected is collected, and a three-dimensional model of the battery to be inspected is generated according to the three-dimensional point cloud data to be inspected, and then the coordinate points of the three-dimensional model to be inspected and the corresponding basic three-dimensional model are compared to obtain the inspection result.
[0198] In some possible implementations of the present invention, in the step of comparing the three-dimensional model to be detected with the basic three-dimensional model to obtain a first comparison result, the control processing device is specifically configured as follows:
[0199] According to the third image data, the first depth information of each coordinate point in the first data group is added to the first data group;
[0200] According to the first image data and the second image data, the second depth information of each coordinate point in the second data group is added to the second data group;
[0201] The step of comparing the coordinates corresponding to the paired data sequence to be detected and the basic data sequence to obtain the first comparison result is specifically:
[0202] Compare the coordinate points corresponding to the paired data sequence to be detected and the basic data sequence and the first depth information and the second depth information corresponding to the coordinate points to determine whether the difference value is within a preset range;
[0203] When the difference value is within a preset range, determining that the battery to be tested is qualified;
[0204] When the difference value exceeds a preset range, it is determined that the battery to be tested is unqualified.
[0205] It is understandable that in order to make the comparison result more accurate, the coordinate information, depth information and color information carried in the point cloud data can be used for comparison, such as using the coordinate information and depth information to detect whether the surface roughness and curvature meet the standards, and using the coordinate information, depth information and color information to detect whether the surface color meets the standards. In this embodiment, according to the three-dimensional point cloud data contained in the third image data, the first depth information corresponding to each coordinate point in the first data group is supplemented to the first data group; according to the three-dimensional point cloud data contained in the first image data and the second image data, the second depth information corresponding to each coordinate point in the second data group is supplemented to the second data group; the coordinate points corresponding to the paired data sequence to be detected and the basic data sequence and the first depth information and the second depth information corresponding to the coordinate points are compared to determine whether the difference value is within the preset range to determine whether the battery to be detected is qualified.
[0206] It should be noted that, in some possible embodiments of the present invention, the structure of the (first / second) data group is: (first / second) base point coordinate value, (first / second) base point depth information, (first / second) base point color information, other point coordinate values, other point depth information, other point color information, and the distance between the (first / second) base point and other points.
[0207] In some possible embodiments of the present invention, the step of comparing the three-dimensional model to be detected with the basic three-dimensional model to obtain a first comparison result further includes:
[0208] According to the third image data, the first color information corresponding to each coordinate point in the first data group is added to the first data group;
[0209] According to the first image data and the second image data, the second color information corresponding to each coordinate point in the second data group is added to the second data group;
[0210] Compare the coordinate points corresponding to the paired data sequence to be detected and the standard data sequence and the first color information and the second color information corresponding to the coordinate points to determine whether the color difference value is within a preset range;
[0211] When the color difference value is within a preset range, it is determined that the electronic product to be tested is qualified;
[0212] When the color difference value exceeds a preset range, it is determined that the electronic product to be inspected is unqualified.
[0213] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0214] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0215] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the above-mentioned units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0216] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0217] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0218] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the above-mentioned methods of each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or CD-ROM and other media that can store program codes.
[0219] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash drive, a read-only memory (English: Read-Only Memory, abbreviated as: ROM), a random access memory (English: Random Access Memory, abbreviated as: RAM), a magnetic disk or an optical disk, etc.
[0220] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
[0221] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions without departing from the spirit and scope of the present invention, and can make various changes and modifications, including the combination of the above-mentioned different functions and implementation steps, including software and hardware implementation methods, all of which are within the scope of protection of the present invention.
Claims
1. A battery defect detection method based on deep learning, characterized in that: include: During the manufacturing process of all batteries, the first image data of all links are collected synchronously; Testing the battery, and synchronously collecting second image data, first temperature data, first charging data, first discharging data, first vibration data, and first odor data of the battery during the testing process; establishing an initial three-dimensional model of the battery according to the first image data; Obtaining first three-dimensional image data and first sound data according to the second image data; Modifying the initial three-dimensional model according to the first three-dimensional image data to obtain a basic three-dimensional model; Inputting the first sound data, the first temperature data, the first charging data, the first discharging data, the first vibration data and the first smell data into a trained convolutional neural network to obtain a basic working model of the battery; Acquire third image data, second temperature data, second charging data, second discharging data, second vibration data, and second odor data of the battery to be detected; extracting second sound data from the third image data; Obtaining a three-dimensional model of the battery to be inspected according to the third image data; Inputting the second sound data, the second temperature data, the second charging data, the second discharging data, the second vibration data and the second smell data into the convolutional neural network to obtain a first working model of the battery to be detected; Comparing the to-be-detected three-dimensional model with the basic three-dimensional model to obtain a first comparison result; Comparing the first working model with the basic working model to obtain a second comparison result; Obtaining a defect detection result of the battery to be detected according to the first comparison result and the second comparison result; The step of synchronously collecting the first image data of all links in the manufacturing process of all batteries includes: Using a laser radar scanning device to obtain static point cloud data of the manufacturing equipment of the battery, and combining the operation data of the manufacturing equipment to obtain dynamic point cloud data of the manufacturing equipment during the manufacturing process of the battery, the operation data includes demonstration video data of the manufacturing equipment, historical operation video data, and motion trajectory data of each component during the operation process; Using the laser radar scanning device to obtain first point cloud data of the battery during the manufacturing process; According to the dynamic point cloud data, background removal is performed on the first point cloud data to obtain battery point cloud data of the battery; Using the battery point cloud data as the first image data; The step of testing the battery and synchronously collecting the second image data, the first temperature data, the first charging data, the first discharging data, the first vibration data and the first smell data of the battery during the test includes: Testing the battery, during the testing process, using the laser radar scanning device to collect second point cloud data of the battery to obtain the first three-dimensional image data; Using a sound collection device to collect the first sound data generated by the battery during the test; using the first three-dimensional image data and the first sound data as the second image data; Using a temperature sensor to collect the first temperature data of the battery during the test; reading the first charging data and the first discharging data of the battery during a test from a power management module of the battery; Using a vibration sensor to collect the first vibration data generated by the battery during the test; The first odor data generated by the battery during the test is collected using an odor sensor.
2. The battery defect detection method based on deep learning according to claim 1, characterized in that: The step of comparing the three-dimensional model to be detected with the basic three-dimensional model to obtain a first comparison result includes: Randomly select a point from the three-dimensional model to be detected as a first base point, and calculate the first distance from the first base point to other points, use the coordinates of the two points and the first distance as a first data group, and arrange the first data groups from small to large according to the first distance to form a data sequence to be detected; Traverse the other N-1 points of the three-dimensional model to be detected, perform the operation in the previous step, and obtain N data sequences to be detected; Randomly select a point from the basic three-dimensional model as a second base point, and calculate the second distance from the second base point to each other point, use the coordinates of the two points and the second distance as a second data group, and arrange the second data groups in ascending order according to the second distance to form a basic data sequence; Traverse the other M-1 points of the basic three-dimensional model, perform the operation in the previous step, and obtain M basic data sequences; Compare the N to-be-detected data sequences with the M basic data sequences one by one based on the first distance and the second distance, and pair the to-be-detected data sequences with the same number of the first distance and the second distance reaching a preset number with the basic data sequences one by one; The first comparison result is obtained by comparing the coordinates corresponding to the paired data sequence to be detected and the basic data sequence.
3. The battery defect detection method based on deep learning according to claim 2, characterized in that: The step of comparing the three-dimensional model to be detected with the basic three-dimensional model to obtain a first comparison result includes: According to the third image data, the first depth information of each coordinate point in the first data group is added to the first data group; According to the first image data and the second image data, the second depth information of each coordinate point in the second data group is added to the second data group; The step of comparing the coordinates corresponding to the paired data sequence to be detected and the basic data sequence to obtain the first comparison result is specifically: comparing the coordinate points corresponding to the paired data sequence to be detected and the basic data sequence and the first depth information and the second depth information corresponding to the coordinate points to determine whether the difference value is within a preset range; When the difference value is within a preset range, determining that the battery to be tested is qualified; When the difference value exceeds a preset range, it is determined that the battery to be tested is unqualified.
4. A battery defect detection system based on deep learning, characterized in that: include: A control processing device, a laser radar scanning device equipped with a sound collection module, and a data collection device; wherein, The laser radar scanning device is configured as follows: During the manufacturing process of all batteries, the first image data of all links are collected synchronously; synchronously collecting second image data of the battery during the test process of the battery; The data acquisition device is configured to: synchronously acquire first temperature data, first charging data, first discharging data, first vibration data and first odor data of the battery during the test of the battery; The control processing device is configured to: establishing an initial three-dimensional model of the battery according to the first image data; Obtaining first three-dimensional image data and first sound data according to the second image data; Modifying the initial three-dimensional model according to the first three-dimensional image data to obtain a basic three-dimensional model; Inputting the first sound data, the first temperature data, the first charging data, the first discharging data, the first vibration data and the first smell data into a trained convolutional neural network to obtain a basic working model of the battery; Acquire third image data, second temperature data, second charging data, second discharging data, second vibration data, and second odor data of the battery to be detected; extracting second sound data from the third image data; Obtaining a three-dimensional model of the battery to be inspected according to the third image data; Inputting the second sound data, the second temperature data, the second charging data, the second discharging data, the second vibration data and the second smell data into the convolutional neural network to obtain a first working model of the battery to be detected; Comparing the to-be-detected three-dimensional model with the basic three-dimensional model to obtain a first comparison result; Comparing the first working model with the basic working model to obtain a second comparison result; Obtaining a defect detection result of the battery to be detected according to the first comparison result and the second comparison result; In the step of synchronously collecting the first image data of all links in the manufacturing process of all batteries, the laser radar scanning device is specifically configured as follows: Acquire static point cloud data of the battery manufacturing equipment; Acquiring first point cloud data of the battery during the manufacturing process; The control processing device is configured to: Combined with the operation data of the manufacturing equipment, dynamic point cloud data of the manufacturing equipment in the manufacturing process of the battery is obtained, wherein the operation data includes demonstration video data of the manufacturing equipment, historical operation video data, and motion trajectory data of each component during the operation process; According to the dynamic point cloud data, background removal is performed on the first point cloud data to obtain battery point cloud data of the battery; Using the battery point cloud data as the first image data; In synchronously collecting the second image data of the battery during the test of the battery, the laser radar scanning device is specifically configured as follows: Collecting the second point cloud data of the battery to obtain the first three-dimensional image data; Using a sound collection module to collect the first sound data generated by the battery during the test; using the first three-dimensional image data and the first sound data as the second image data; In the step of synchronously collecting the first temperature data, the first charging data, the first discharging data, the first vibration data and the first odor data of the battery during the test of the battery, the data collection device is configured as follows: Using a temperature sensor to collect the first temperature data of the battery during the test; reading the first charging data and the first discharging data of the battery during a test from a power management module of the battery; Using a vibration sensor to collect the first vibration data of the battery during the test; The first odor data generated by the battery during the test is collected using an odor sensor.
5. The battery defect detection system based on deep learning according to claim 4, characterized in that: In the step of comparing the to-be-detected three-dimensional model with the basic three-dimensional model to obtain a first comparison result, the control processing device is specifically configured as follows: Randomly select a point from the three-dimensional model to be detected as a first base point, and calculate the first distance from the first base point to other points, use the coordinates of the two points and the first distance as a first data group, and arrange the first data groups from small to large according to the first distance to form a data sequence to be detected; Traverse the other N-1 points of the three-dimensional model to be detected, perform the operation in the previous step, and obtain N data sequences to be detected; Randomly select a point from the basic three-dimensional model as a second base point, and calculate the second distance from the second base point to each other point, use the coordinates of the two points and the second distance as a second data group, and arrange the second data groups in ascending order according to the second distance to form a basic data sequence; Traverse the other M-1 points of the basic three-dimensional model, perform the operation in the previous step, and obtain M basic data sequences; Compare the N to-be-detected data sequences with the M basic data sequences one by one based on the first distance and the second distance, and pair the to-be-detected data sequences with the same number of the first distance and the second distance reaching a preset number with the basic data sequences one by one; The first comparison result is obtained by comparing the coordinates corresponding to the paired data sequence to be detected and the basic data sequence.
6. The battery defect detection system based on deep learning according to claim 5, characterized in that: In the step of comparing the to-be-detected three-dimensional model with the basic three-dimensional model to obtain a first comparison result, the control processing device is specifically configured as follows: According to the third image data, the first depth information of each coordinate point in the first data group is added to the first data group; According to the first image data and the second image data, the second depth information of each coordinate point in the second data group is added to the second data group; The step of comparing the coordinates corresponding to the paired data sequence to be detected and the basic data sequence to obtain the first comparison result is specifically: comparing the coordinate points corresponding to the paired data sequence to be detected and the basic data sequence and the first depth information and the second depth information corresponding to the coordinate points to determine whether the difference value is within a preset range; When the difference value is within a preset range, determining that the battery to be tested is qualified; When the difference value exceeds a preset range, it is determined that the battery to be tested is unqualified.
Citation Information
Patent Citations
Monitoring system and method for hydrogen fuel cell
CN115986172A
Intelligent detection system of electronic product
CN116664520A
