Abstract
Surface defects of lithium batteries seriously affect the product quality and may lead to safety risks. In order to accurately identify the surface defects of lithium battery, a novel defect detection approach is proposed based on improved K-nearest neighbor (KNN) and Euclidean clustering segmentation. Firstly, an improved voxel density strategy for KNN is proposed to speed up the effect for point filtering. Then, the improved clustering segmentation strategy is applied to distinguish point clouds with defect features. The outline fitting algorithm based on the least square method is applied to determine geometric features of each surface defect which are used to classify defect types. Furthermore, experimental results show that the proposed surface defect detection method reaches 99.2% accuracy and 35.3-ms average time consumption for data processing. Finally, an industrial application example of lithium battery production is demonstrated, which meets the requirements of industrial application. All these reports exhibited that the industrial visual inspection system with rapid measurement is an effective method and guarantees for accelerating industrial production and manufacturing in the future.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
Nowadays, with the increasing demand for electricity, lithium battery has become the most commonly used electric energy storage device due to its advantages of lightweight and high energy density [1,2,3]. However, many new energy vehicle and electric tools with lithium battery are usually damaged because of the integrity of the battery system in the process of complex industrial production [4]. Moreover, many safe accidents in daily scenario are caused by defective lithium batteries that are due to the limitations of the detection method. Thus, an efficient identification approach for surface defect detection is a challenging issue and decides whether the lithium battery can be manufactured with high efficiency and low risk.
Due to the poor working conditions of defect identification, direct identification approaches for surface defect detection are hard to be checked permanently and efficiently, so many indirect identification methods are proposed through the image information of industrial machine vision reflecting surface defect detection such as 2D industrial machine vision and 3D industrial machine vision [5,6,7]. However, the disadvantage of 2D industrial machine vision is being unable to obtain the height information. The 3D surface reconstruction of the object can be detected by the extraction of 3D point cloud features. Therefore, it becomes an active research field by using machine vision technology to identify surface detects in industries.
Many researchers have worked on the problem of surface defection and proposed different solutions [8,9,10]. However, most of them have worked on the qualitative surface defect detection and few researchers study the quantitative detection of surface defect detection. To the best of our knowledge, the quantitative detection of surface defect detection has almost not been dealt with. Considering the roughness and height of surface defect detection, a 3-dimensional visual measurement system would be an effective way to solve the problem. Based on the past work on K-neighbors algorithm [11] and Euclidean clustering segmentation [12], this paper tries to tackle this problem.
Bearing the above observation in mind, we apply an integration approach of improved K-neighbors algorithm and Euclidean clustering segmentation to solving the problem of surface defect detection and the rest of this paper is organized as follows. Surface defect detection approaches and 3D point data processing methods are reviewed in section 2. Section 3 proposes the integration approach of improved K-neighbors algorithm with voxel density strategy, and introduces Euclidean clustering segmentation optimized with separation degree parameter to distinguish height feature region and improve segmentation algorithm. Section 4 provides an experimental example by selecting the optimal algorithm parameters and carries out the surface defect recognition to verify the accuracy, efficiency, and outperforming. An industrial example of lithium battery automation production based on the proposed system was demonstrated to specify the application effect in Section 5. Our conclusions and future work are summarized in Section 6.
2 Literature review
Recent publications relevant to this paper are mainly concerned with two research streams: surface defect detection approach and 3D point data processing method. In this section, we try to summarize the relevant literatures.
2.1 Surface defect detection approach
For surface defect detection approach, many researchers had worked on the problem and proposed different solutions for the last decades. The traditional two-dimensional vision algorithm uses a series of algorithms such as threshold [13], filter [14], and morphology [15] to analyze the image, and uses the geometric shape and gray difference of the defects to recognize and classify the defects. The following scholars have contributed to this field. Liu Y et al. [16] proposed an automatic flaw inspection scheme with rapid detection of the defects in the potential defect region extracted from the ROI image for online real-time detection on LIBE surface. Liu Z. Y. et al. [17] proposed a deep-learning method based on the deformable convolution and concatenate feature pyramid neural networks for improving the inspection to adaptively extract the features of defect shape and location. Hao et al. [18] proposed a steel surface defect inspection network to extract complex features from multi-shape steel surface defects using deformable convolution. In Zhao et al. [19], an improved 3D laser image scanning system (3D-LDS) was established to improve the inspection accuracy using a deep CNN architecture combined fully connected networks and fully convolutional network. The 2D image does not provide enough information to enable recognition between different typologies of defects, and from the 3D point cloud features are extracted to detect and classify the defect. Yan et al. [20] constructed a composite vision system enabling simultaneous 3D-depth information and 2D-gray imaging features to obtain the welding bead boundary reliably and accurately. Carlos A. Madrigal et al. [21] propose a novel 3D local descriptor called the Model Point Feature Histogram (MPFH) for defect detection. Qian et al. [22] propose a real-time 360° 3D surface defect inspection approach based on fringe projection profilometry without any auxiliary equipment for position control.
2.2 Point cloud data processing method
Traditionally, machine learning algorithms [23,24,25], such as K-nearest neighbors (KNN), support vector machine (SVM), and K-means clustering methods, and some regression algorithms were used to solve the problems with classification and clustering. In fact, as a perfect integration approach of K-neighbors filtering algorithm and Euclidean clustering segmentation, 3D data processing could solve complex identification systems in a manner of high-defect processing efficiency, fine local characteristics, and better generalization performance compared with traditional machine vision detection. As a vital task of data calculation, the classification algorithm parameters have a great influence on the generalization performance and processing effect, and the process of parameters selection was complex and would consume a vast calculation time. Applying traditional Euclidean clustering methods in point cloud segmentation could cause sub-segmentation and slow the convergence speed [26]. Thus, several AI-based clustering algorithms were proposed to solve this problem such as multi-view-based clustering algorithm, density-based spatial clustering algorithm, depth-neural-network-based clustering algorithm, etc. Dhanachandra et al. [27] proposed clustering technique is based on the density estimation of the surrounding pixel values. Lei et al. [28] proposed an image segmentation algorithm based on improved fuzzy clustering. Zhou et al. [29] proposed an unsupervised segmentation framework based on a novel deep image clustering (DIC) model that consists of a feature transformation subnetwork (FTS) and a trainable deep clustering subnetwork (DCS) for unsupervised image clustering. Liu H. et al. [30] put forward a multi-objective fuzzy clustering algorithm with multiple spatial information (MFCMSI) for noisy color image segmentation.
2.3 Discussion
However, although many approaches to detect and recognize surface detects and 3D reconstruction of piece methods for surface defect problems have been proposed in above literatures, they have some common disadvantages summarized as follows. Firstly, the usual method through 2D image to reflect the change of surface defects is not possible to perform precise metrology of the defect and it is needed to determine the appropriate lighting system in the specific domain of an application for a new detection of identification. Secondly, the methods through 3D reconstruction of piece and 3D point data processing to identify the surface defects are only realized on the character remodeling, and these data information usually have not been extracted completely from the 3D surface model. Finally, few researches have focused on the three-dimensional defect quantification for surface defect detection.
In this paper, an integration approach based on improved K-neighbors algorithm and Euclidean clustering segmentation is proposed to identify the surface defects. A simulation example and a comparison with other algorithms are carried out, and the proposed approach is proved feasible and efficient.
3 The proposed approach
The solution of defect detection system is illustrated in Fig. 1 to recognize surface defects. Our system began with obtaining the depth image by the structured light system; and as a result, the 3D point cloud model is obtained by the depth image (Fig. 1a), followed by the calculation of the model that filter the point cloud data (Fig. 1b), and then segment the model by European clustering algorithm (Fig. 1c), that fit each region using the least squares to estimate and quantify the defect information (Fig. 1d). By quantifying defect information of the coordinate center position, defect area, defect height, and shape size, each point on the 3D surface is classified into one of four types of defects-bubble, fold, warping, and pit. In this work, it is considered that with this set of primitives it is possible to describe any typology of the defect. Finally, from these regions are extracted 2D features to recognize the defect in a classification stage.
The flowchart of the proposed approach for improved KNN filtering algorithm and improved Euclidean clustering algorithm in defect identification is shown in Fig. 2.
3.1 Image acquisition
The depth image is obtained from the 3D structured light system. We use a (CMOS) camera (Teledyne DalsaG3-GM12-M2590, On-Semi Python 5000 p1) to capture the laser fringes moving on the mobile platform, which are emitted by a line laser of our choice, and the height information is stored in the sheet of light model of the computer terminal, and then the depth image of the target image is obtained. This depth image acquisition and the 3D reconstruction system are shown in Fig. 3. The specific parameters of the hardware are shown in Table 1.
3.2 Improved K-neighbors algorithm
There are two problems in the process of three-dimensional data model acquisition. One of the problems is that there is a lot of point cloud data in the model, which affects the speed of data processing, and another problem exists with some inevitably noisy data, e.g., outliers, which need to be removed to ensure the integrity of the capture data model. Therefore, if we use voxels as computational units (Fig. 4a) to handle voxel grids, the processing speed of K-neighborhood and the accuracy of outlier processing will be greatly improved. Outlier as a form of noise can easily be an inlier of structures and generate a very large number of structures.
Given a point cloud of the sample 3D surface called S set, the S sets are represented by a voxel grid cube with side length l0 that can greatly reduce the efficiency of point cloud data processing. Pi represents the grid coordinate which is the center of gravity of point cloud data in a unit; let Pi ∈ S be point on the surface. The K nearest neighbors include neighbors Pij in the sphere with radius d0 which are represented by set Qk. The problem of choosing d0 affects the size of filtering area and the number of K-adjacent points. The problem of choosing the number k and distance d0 is called the correct scaling factor, which affects the estimation of outliers. The correct outlier estimation can effectively remove the model noise. The selection of parameter k determines whether the point is an outlier in Qk domain directly. These outliers are far away from the model and can be effectively filtered by setting d0 and k parameters (Fig. 4b).
However, there are some sparse noises generated by reflection in data acquisition, which are close to the main body of the model and cannot be removed effectively. In order to correctly judge whether the set of point clouds represented by the voxel grid is a sparse point group, we introduce the density parameter ρ (Fig. 4c), which represents the voxel density of the voxel grid in the region Qk. This value reflects the number of point clouds contained in the voxel, indirectly identifying and filtering noise. In Fig. 4 it is shown how to estimate Pi with ρ.
The structure restricted to the l0 parameter is defined as a set of voxels, where point Pi is a collection of solid points pij, and voxel grids represent surface variations in a simple manner. Region Qk = {pi} (i = 1,2, .... k) is represented by a k structure, where the parameters pij and n are used to represent this Pi structure. Therefore, we propose a method to evaluate the voxel structure Pi in the Qk region, where the concept of voxel density is added to the measure of Pi, and then their structure density ρ is calculated. This is shown in Eq. (1), where ni represents the number of point clouds in the structure Pi found on the surface. Figure 4 shows the density estimation method for the voxel point Pi. By setting a density threshold, we estimate the density of the noise near the real model. The density value ρ directly reflects the proportion of the voxel grid in the set Qk; this indirectly illustrates the sparsity of the points within the voxel grid, which should be filtered out. In Fig. 4c, the density of Pi will be defined.
The effect of voxel density can be seen in Fig. 4c. If the number of points in the Pi Cloud ni is 2 (blue grid) and the maximum (nij)max in the Qk neighborhood is 6 (purple grid), then the density ρi of Pi points in the Qk set is 1/3. If the threshold ρ0 we set is greater than ρi, then the Pi point will be considered sparse and eliminated.
3.3 Clustering segmentation
As can be seen in Fig. 5, the defect segmentation is divided into three parts: data acquisition, data processing, and results display. Considering that the defects exist separately, we need to use Euclidean clustering algorithm to segment the model, but the defects near the location cannot be distinguished because of sub-segmentation. For this situation, we study the existence of plane region in under-segmentation. Segmentation with an undistinguishable under-segmentation region, as the most important processing link, needs to be further improved. Comparing the feature of defects with a flat area and a defect area, the degree of point-z separation Sz would be introduced to further segment the defects.
Firstly, the seed point pi of the spatial points in region R is selected. In this paper, we take any point pi in the under-partitioned region and obtain all points pi∈ S, S = { pi ∈1,2, ... , n } by spatial index within a certain distance. We get the z value for each pi point, which is its height value. Besides, in the process of parameter evaluation, we introduce the degree of point-z separation Sz as a feature to evaluate the seed point pi, where the formula of Sz is shown in Eq. (2). We set S0, and if the value of Sz is less than S0 it is considered to be a plane set, and so on. All point clusters could be divided into a plane set (Q) and a defect set (A, B, ...) with the feature of height difference, so that the segmentation is finished. At last, different colors are used to represent defects segmentation results.
where zave denotes average height, \({z}_{ave}=\frac{\sum_1^n{z}_i}{n}\). The standard deviation Sz is introduced to describe the discreteness of point pi in region R. When the query point pi is located on a flat plane, the height difference in region R is small, and the smoothness Sz is small too. That means region R is the smoother, and the standard deviation Sz is smaller. Therefore, by judging the value of Sz, we separate the point cloud set with the plane features and detect the defects with complex height variations from the improved Euclidean segmentation to solve the problem of under-segmentation.
Figure 6 expresses the clustering relationship between defect sets and plane sets. There may be plane set point cloud data in defect A set, which needs to be further divided into plane set Q by using the threshold Sz. Set Q as a separate category includes smoothed points that would not be considered as a defect set A, and eventually filtered set Q out while retaining the remaining clustering results A and B set.
3.4 Quantification and classification
The final task is to fit the point cloud data and quantify the defect information, after segmentation is completed. Four kinds of defects with height feature would be classified by the necessary information of 2D features such as geometric shape defect size defect and height. As a solution, we choose “plane” primitives to fit the defect. We assess and categorize defects with high-profile features, focusing on bubbles, folds, warps, and pits. In space coordinates, the expression for a plane can be written as Eq. (3).
Least squares are used to fit a plane with discrete points in defect set, that is, to find a plane z = a0x + a1y + a2 that is closest to each point. According to the least squares, the deviation Q = ∑ (a0x + a1y + a2)2 is the smallest. That is to say, we require a set of a0, a1, a2 to fit plane so that Q is the smallest value for the given discrete points. Setting the first derivative of S to 0, we could get Eq. (4).
Then we project the point cloud into the fitting plane, and use the edge projection technique to get the plane projection of the defect fitting, so as to calculate the defect area, the maximum diameter of the defect, the center of gravity of the defect, and so on. It should be noted that the fitted defect plane cannot accurately represent the actual shape and height of the defect, but it can also be used to obtain other useful information about the defect. The useful characteristics such as area and maximum diameter of the defect, and the center of gravity coordinates will vary depending on what the fitting plane looks like. For the height information, the maximum height difference between the z-axis coordinates of the point cloud is determined to indicate the height of the defect.
In the process of defect classification, four types of defects with the coordinate information are divided into external and internal defects. Along the edge of an object’s surface position is used as the boundary between external and internal parts. The external part has fold and warping defect that could be distinguished by the difference of their own height, the lower for the fold, the reverse is warping. The internal part can be divided into fold, bubble, and pit, in which we can judge whether it is a pit according to the height value of positive and negative, and judge whether it is a bubble according to the size characteristics of the defects. After analysis of lithium-ion batteries, Table 2 classification criteria will be set. According to the coordinates of the center point of the defect, the defect boundary value is 10 mm which is used to judge whether it is on the edge of the tested object. In the former case, if the defect is outside, the defect with height h more than 2 mm is a warping, and the other situation is a fold. In the latter case, if the defect is inside, the defect with height h less than 0 is a pit. Otherwise, if the defect with height h is more than 0, the defect with diameter d less than 12 mm is a bubble and its diameter d more than 12 is a fold.
4 Experimental example and discussion
In this section, an experimental example was put forward to verify the feasibility and efficiency of the proposed approach. The relation model of clustering segmentation, classification, and defect quantification was established and the surface height defect could be effectively identified by the quantitative defect identification in through the relation model. Then, the result of the experiment was provided to estimate the efficient and accurate of surface defect recognition proposed in this paper.
4.1 Sample data preparation
Laboratory bench is used to acquire data by the 3D structured light scheme, whose goal is to get a depth mapping. In this experiment, we chose a lithium battery with size of 120 × 85 × 12 mm. In order to intuitively understand the actual state of the object to be measured, the lithium battery is shown in Fig. 7a. Next, the abovementioned structured light system is used to get the 3D image. Figure 7b indicates using the structured light system to get the depth image. And it already contains the defect feature needed to further segment the defect. These defects on the depth diagram are shown in red circles.
Few defects can be seen and that cannot be recognized effectively. Furthermore, we obtain the 3D model by stretching the z-direction of the depth image. Parts of the point cloud coordinates are shown in Table 3. These coordinate points need to be further process by algorithm for the desired target defect data.
4.2 Parameters for the simulation example
There are five parameters for the improved KNN algorithm and the segmentation algorithm. In this section, we discuss the parameters of the two algorithms and choose the most suitable parameters for this experiment.
For the improved KNN filtering algorithm, three parameters of d k ρ need to be selected. In the simulation experiment, the number of the total point cloud data of our model is 133,666, and the relationship between the total points and the influence of the three parameters is shown in Fig. 8. For the neighbors number k, it is obvious that the value represents the number of point clouds that reflects the density of the point in region Q. If distance d0 of Q is greater than 20 (Fig. 8a), the number of total points decreases precipitously that reduces the processing effect. For the selection of parameter d, we have to consider the density of point cloud data collection. When the distance is too small, the dense point could be selected, but some defects points will lose; when the distance is too large, it is difficult to select all outliers that the values of distance d need to achieve a balance (Fig. 8b). And finally, the density ρ of voxel grid is to be determined removing sparse voxels from edges, which reflects the density of the point cloud in the k-neighborhood of the voxel grid (Fig. 8c). Therefore, in this simulation example, the parameters of the proposed algorithm were configured as follows: N =12, d = 1, ρ = 0.5.
In order to select the segmentation parameters, we obtain the data of the under-segmentation region, and the z-axis coordinate change corresponding to the sequence point cloud data is shown in Fig. 9a. The point cloud whose height is less than 0.7 in the index range from 0 to 4400 is considered to be a flat point that needs to be removed by the improved algorithm, but there are defect points whose Z-axis height is more than 0.7 in the index range from 4400 to 5402, which should remain as defects.
As shown in Fig. 9b, we need to select the partition parameters n and Sz. The parameter n represents the neighborhood range of the selected point, which determines the assessment range of the point. Considering that the data collected by the image are separated in strips where there are gaps in the middle, strips will affect the results of the parameter range evaluation. For this reason, the value of n should be chosen as large as possible so that the change of points in the Z-axis near can be better expressed. On the contrary, if the n value is too large, it will increase the computational complexity and reduce the efficiency of processing, which need to achieve a balance. Only the point of uneven region can be clearly expressed by standard deviation S during the selection of n value.
The standard deviation Sz reflects the discreteness of n points along the Z-axis in the region R, and the modified value indirectly reflects the roughness of the points. The relationship between sequence point data and Sz under different conditions is shown in Fig. 9b. After observation, it can be found that when N = 150, rough areas (Sz > 0.1) and smooth areas could be distinguished by Sz = 0.1. As a result, in this experiment, the parameters of the proposed algorithm were configured as follows: N = 150, Sz = 0.1.
4.3 Simulation results
During the simulation, we divide voxel grids from the point cloud data and delete the sparse and outliers using an improved KNN algorithm. The processing of improved algorithm is shown in Fig. 10. The blue regions represent outliers that are far away from the model body. In the red circle are the sparse point clouds filtered by the improved algorithm. These point clouds exist at the edge of the model and are difficult to be recognized by the traditional KNN algorithm. The results show that the algorithm can filter outliers and sparse points correctly.
In order to prove the superiority of the proposed method, we compared the efficiency and effectiveness for several types of KNN algorithms in Table 4. The software’s commands are used to calculate the average time consumption of running the proposed algorithm from the beginning of the algorithm to the end of the algorithm by multiple times. The result shows that voxel-based KNN algorithm is faster which takes about 6 ms. Though the density parameter is added at the expense of some speed, for the sparse voxel-based points, the processing effect is better and the processing speed is more ideal. Therefore, the improved KNN algorithm we proposed is excellent.
To solve the problem of under-segmentation, we use the parameter standard deviation S of z-axis to improve the Euclidean segmentation algorithm. The feature of defects with highly variable will be reclassified and delete the data of flat point cloud with standard deviation. The purple arrow shows this process in Fig. 11, which resolves the region under-segmentation problem in standard deviation to obtain highly defective regions. And the result of segmentation is displayed in different colors.
The quantization results of the feature information extracted from the least squares fitting of the defect plane and the point cloud of the defect itself are shown in Fig. 12. The feature information included defect coordinates, defect area, defect height difference, and defect maximum size. According to the classification criterion in Table 2, we classify the defects by the information obtained from the fitting defects. Next, the feature information will be the most important basis for determining the type of defect. Table 5 shows the results of defect quantification and classification.
The result of defect information quantification with type of defects and defect primitives can be seen clearly in Table 5. And the precision of defect detection can reach 0.01 mm, which meets the requirements of real-time detection.
4.4 Evaluation for defect recognition
This section evaluates the full methodology of surface defect recognition proposed in this paper. The set of 128 test depth images consisted of 242 regions labeled as folds, bubble, pit, and warping.
In the detection stage, the points of the surface are classified into five primitives, and the points belonging to a fold (yellow), bubble (blue), pit (red), warping (green), and flat (cadet blue) surfaces. The results of classifying the regions of surface determined by the property of defect can be seen in Fig. 13a.
For robustness testing, Fig. 13 shows the classification results for different objects in the database; our system could be able to classify these defects correctly from the recognition stage of the image. However, it can be seen that some special limitations such as the edge of the warping defect in the acquisition process due to excessive curvature caused by the lack of point cloud will be considered as a fold, and there is a vertical part between the bubble area and the upturned area, which leads to the loss of some point cloud data; thus, the height of the measured defect could be less than the actual defect height, which as a reason affects the accuracy of the identification. But since the other parts of the defect point cloud data are relatively smooth, some height features can be detected, so there is less impact on the detection results. The missing parts of the model data are circled in yellow as shown in Fig. 13b.
The experiment was carried out as follows: 16 experimental lithium batteries were tested and 128 depth images were generated by rotation and inversion operations. The experimental results of 128 images for surface defects detection of lithium are shown in Table 6, which illustrates that there are two false positives in the process of detecting 242 defects. The false detection rate is 0.8%, and the correct detection rate is 99.2%. The accuracy of visual detection is very high, and the efficiency is greatly improved compared with manual detection.
The average time consumption of the lithium battery automatic detection system shown in Table 7 was 3.2 ms for data acquisition, 35.3 ms for the data segmentation step, and 15.5 ms for the classification step. In summary, the automatic detection system could complete the surface defect detection of lithium batteries in 54 ms.
In order to further verify the superiority of the algorithm proposed in this paper, we find three latest surface defect detection methods for comparison with our proposed method. The comparison parameters include running time, accuracy rate, recall rate, and F1-score, and the comparison results are shown in Table 8.. It can be seen from the results that the algorithm proposed in this paper is superior to other algorithms in terms of detection accuracy, recall rate, and F1 score. In order to ensure the safety and stability of lithium battery, accuracy is the most priority index parameter, and the running time of the algorithm in this paper can fully meet the industrial demand. Moreover, the algorithm we propose does not need to be based on large datasets. Therefore, the improved algorithm in this paper is excellent.
5 Application of the proposed approach
In this section, a system based on proposed approach had been developed and applied in the field of industrial production as shown in Fig. 14.
Shown in Fig. 14 is the use of computer terminals to control equipment and adjust parameters for defect detection during lithium battery industrial production. Based on the method presented in this paper, the system is used to detect the surface defects of lithium battery and display them in real time. The software system can also store and record the information of lithium battery in real time, which is convenient for historical information inquiry. When defects are found that do not meet the actual requirements, an alert will be issued for further processing. Our proposed defect detection system has been running stably in the factory for 20 days, and the accuracy of defect detection has reached 99.8%. The application results show that the surface defect detection system of lithium battery can accurately construct the three-dimensional model of lithium battery surface and identify the defects on the model, improving the production quality and efficiency of lithium battery.
6 Conclusions and future work
In this paper, we propose an efficient and accurate method for the real-time detection of high characteristic defects on the surface of lithium batteries. The 3D structured light is used to obtain the surface defects data. The sparse point filtering and the point cloud under-segmentation are solved by voxel-based KNN and improved European algorithm. In this process, we introduce the voxel density ρ as the filtering parameter and the discreteness S as the parameter of Euclidean defect segmentation. Using this method and 2D features obtained by fitting 3D defect points, we quantitatively and qualitatively classify the region into four defects, and the detection accuracy is up to 99.20%. The model we have proposed exhibits high computational complexity, indicating the possibility of further optimizing its operational efficiency. In the future work, we will automatically select detection parameters based on machine learning and combine 2D vision to identify the defects without high-level features in order to further improve our lithium battery detection system.
References
Karimzadeh S, Safaei B, Jen T-C (2023) Investigation on electrochemical performance of striped, beta12 and chi3 borophene as anode materials for lithium-ion batteries. J Mol Graph Model 120:108423–108423
Solyali D, Safaei B, Zargar O et al (2022) A comprehensive state-of-the-art review of electrochemical battery storage systems for power grids. Int J Energy Res 46(13):17786–17812
İnada AA, Arman S, Safaei B (2022) A novel review on the efficiency of nanomaterials for solar energy storage systems. J Energy Storage 55
Kalaf O, Solyali D, Asmael M et al (2020) Experimental and simulation study of liquid coolant battery thermal management system for electric vehicles: a review. Int J Energy Res 45(5):6495–6517
Chen G, Zhu Xi F, Xu Qing Q et al (2013) Film defects of lithium battery recognition based on brightness and one-against-all support vector machine. International Conference on Mechatronics and Information Technology (ICMIT 2013), pp 155–158
Badmos O, Kopp A, Bernthaler T et al (2020) Image-based defect detection in lithium-ion battery electrode using convolutional neural networks. J Intell Manuf 31(4):885–897
Chen Y, Shu Y, Li X et al (2021) Research on detection algorithm of lithium battery surface defects based on embedded machine vision. J Intell Fuzzy Syst 41(3):4327–4335
Lang X, Zhang Y, Shu S et al (2021) Lithium battery surface defect detection based on the YOLOv3 detection algorithm. 10th International Symposium on Precision Mechanical Measurements
Xu C, Li L, Li J et al (2021) Surface defects detection and identification of lithium battery pole piece based on multi-feature fusion and PSO-SVM. Ieee Access 9:85232–85239
Yang M, Mo Y (2021) Interfacial defect of lithium metal in solid-state batteries. Angew Chem, Int Ed 60(39):21494–21501
Bullejos M, Cabezas D, Martin-Martin M et al (2022) A K-nearest neighbors algorithm in Python for visualizing the 3D stratigraphic architecture of the Llobregat River Delta in NE Spain. J Mar Sci Eng 10(7)
Liu H, Song R, Zhang X et al (2021) Point cloud segmentation based on Euclidean clustering and multi-plane extraction in rugged field. Meas Sci Technol 32(9)
Wang X, Wu S, Liu Y (2017) Detecting wood surface defects with fusion algorithm of visual saliency and local threshold segmentation. 9th International Conference on Graphic and Image Processing (ICGIP)
Ma J, Wang Y, Shi C et al (2018) Fast surface defect detection using improved Gabor filters. 25th IEEE International Conference on Image Processing (ICIP), pp 1508–1512
Moradi N, Kandi SG, Yahyaei H (2022) A new approach for detecting and grading blistering defect of coatings using a machine vision system. Measurement 203
Liu Y, Chen Y, Xu J et al (2020) An automatic defects detection scheme for lithium-ion battery electrode surface. International Symposium on Autonomous Systems (ISAS), pp 94–99
Liu Z, Yang B, Duan G et al (2020) Visual defect inspection of metal part surface via deformable convolution and concatenate feature pyramid neural networks. IEEE Trans Instrum Meas 69(12):9681–9694
Hao R, Lu B, Cheng Y et al (2021) A steel surface defect inspection approach towards smart industrial monitoring. J Intell Manuf 32(7):1833–1843
Zhao L, Li F, Zhang Y et al (2020) A deep-learning-based 3D defect quantitative inspection system in CC products surface. Sensors 20(4)
Yan Z, Shi B, Sun L et al (2020) Surface defect detection of aluminum alloy welds with 3D depth image and 2D gray image. Int J Adv Manuf Technol 110(3-4):741–752
Madrigal CA, Branch JW, Restrepo A et al (2017) A method for automatic surface inspection using a model-based 3D descriptor. Sensors 17(10)
Qian J, Feng S, Xu M et al (2021) High-resolution real-time 360 degrees 3D surface defect inspection with fringe projection profilometry. Opt Lasers Eng 137
Yan J (2022) Noncontact defect detection method of automobile cylinder block based on SVM algorithm. Mob Inf Syst 2022
Chen H, Zhang Z, Yin W et al (2022) Surface defect characterization and depth identification of CFRP material by laser line scanning. NDT E Int:130
Chen Z, Deng J, Zhu Q et al (2022) A systematic review of machine-vision-based leather surface defect inspection. Electronics 11(15)
Wang J, Wang C, Xi X et al (2022) Segmentation of the communication tower and its accessory equipment based on geometrical shape context from 3D point cloud. Int J Digit Earth 15(1):1547–1566
Dhanachandra N, Chanu YJ (2018) A new image segmentation method using clustering and region merging techniques. International Conference on Signals, Machines and Automation (SIGMA, pp 603–614
Lei X, Ouyang H (2019) Image segmentation algorithm based on improved fuzzy clustering. Cluster Comput-J Netw Softw Tools Applic 22:13911–13921
Zhou L, Wei Y (2020) DIC: deep image clustering for unsupervised image segmentation. Ieee Access 8:34481–34491
Liu H, Zhao F (2021) Multiobjective fuzzy clustering with multiple spatial information for noisy color image segmentation. Appl Intell 51(8):5280–5298
Wu K, Tan J, Liu C (2022) Cross-domain few-shot learning approach for lithium-ion battery surface defects classification using an improved Siamese network. Ieee Sens J 22(12):11847–11856
Shu YF, Li B, Li X et al (2021) Deep learning-based fast recognition of commutator surface defects. Measurement 178
Acknowledgements
The support of National Natural Science Foundation of China (No. 51975568), Natural Science Foundation of Jiangsu Province (No. BK20191341), Jiangsu Funding Program for Excellent Postdoctoral Talent (2022ZB519) and the Priority Academic Program Development of Jiangsu Higher Education Institutions (PAPD) are gratefully acknowledged.
Availability of data and materials
All data and materials used to produce the results in this article can be obtained upon request from the corresponding authors.
Funding
The research leading to these results has received funding from the Norwegian Financial Mechanism 2014-2021 under Project Contract No 2020/37/K/ST8/02748.
Author information
Authors and Affiliations
Contributions
Conceptualization: Xinhua Liu and Zhixiong Li. Methodology: Lequn Wu and Xiaoqiang Guo. Software: Xiaoqiang Guo and Darius Andriukaitis. Writing—review and editing: Lequn Wu, Grzegorz Królczyk and Zhixiong Li. Funding acquisition: Xinhua Liu.
Corresponding author
Ethics declarations
Ethical approval
The authors declare that there is no ethical issue applied to this article.
Consent to participate
The authors declare that all authors have read and approved to submit this manuscript to IJAMT.
Consent to publish
The authors declare that all authors agree to sign the Transfer of Copyright for the Publisher to publish this article upon on acceptance.
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Liu, X., Wu, L., Guo, X. et al. A novel approach for surface defect detection of lithium battery based on improved K-nearest neighbor and Euclidean clustering segmentation. Int J Adv Manuf Technol 127, 971–985 (2023). https://doi.org/10.1007/s00170-023-11507-w
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00170-023-11507-w