원시데이터 수집 시스템
선정목록으로

Surface Defects Classification of Hot Rolled Strip Based on Improved Convolutional Neural Network

관련 모빌리티 소재 · (4) 카시트 모듈

기본 정보

저자
  1. Wenyan Wang — Key Laboratory of Metallurgical Emission Reduction & Resources Recycling (Anhui University of Technology), Ministry of Education|||School of Electrical and Information Engineering, Anhui University of Technology|||School of Metallurgical Engineering, Anhui University of Technology
  2. Kun Lu — Key Laboratory of Metallurgical Emission Reduction & Resources Recycling (Anhui University of Technology), Ministry of Education|||School of Electrical and Information Engineering, Anhui University of Technology|||School of Metallurgical Engineering, Anhui University of Technology
  3. Ziheng Wu — Key Laboratory of Power Electronics and Motion Control Anhui Education Department, Anhui University of Technology|||School of Electrical and Information Engineering, Anhui University of Technology
  4. Hongming Long — Key Laboratory of Metallurgical Emission Reduction & Resources Recycling (Anhui University of Technology), Ministry of Education|||School of Metallurgical Engineering, Anhui University of Technology
  5. Jun Zhang — Co-Innovation Center for Information Supply & Assurance Technology, Anhui University
  6. Peng Chen — Co-Innovation Center for Information Supply & Assurance Technology, Anhui University
  7. Bing Wang — School of Metallurgical Engineering, Anhui University of Technology|||Key Laboratory of Power Electronics and Motion Control Anhui Education Department, Anhui University of Technology
DOI
10.2355/isijinternational.isijint-2020-451
저널
ISIJ International
발행년도
2021
발행기관
The Iron and Steel Institute of Japan
피인용수
25
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.2355/isijinternational.isijint-2020-451
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W3162787659

평가 내용

관련도
관련
사업분야
모빌리티 소재 · (4) 카시트 모듈
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '모빌리티 소재 > 카시트 모듈' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Surface defect classification of hot-rolled strip based on machine vision is a challenge task caused by the diversity of defect morphology, high inter-class similarity, and the real-time requirements in actual production. In this work, VGG16-ADB, an improved VGG16 convolution neural network, is proposed to address the problem of defect identification of hot-rolled strip. The improved network takes VGG16 as the benchmark model, reduces the system consumption and memory occupation by reducing the depth and width of network structure, and adds the batch normalization layer to accelerate the convergence speed of the model. Based on a standard dataset NEU, the proposed method can achieve the classification accuracy of 99.63% and the recognition speed of 333 FPS, which fully meets the requirements of detection accuracy and speed in the actual production line. The experimental results also show the superiority of VGG16-ADB over existing classification models for surface defect classification of hot-rolled strip.

본문 23,302자

본문 펼치기
ISIJ International, Vol. 61 (2021), No. 5 https://doi.org/10.2355/isijinternational.ISIJINT-2020-451 # Surface Defects Classification of Hot Rolled Strip Based on Improved Convolutional Neural Network Wenyan WANG, <sup>1,2,3)</sup> Kun LU, <sup>1,2,3)</sup> Ziheng WU, <sup>3,4)</sup> Hongming LONG, <sup>1,2)</sup> Jun ZHANG, <sup>5)</sup> Peng CHEN <sup>5)</sup> and Bing WANG <sup>1,4)</sup> 1) School of Metallurgical Engineering, Anhui University of Technology, Ma’anshan, Anhui, 243032 China. 2) Key Laboratory of Metallurgical Emission Reduction & Resources Recycling (Anhui University of Technology), Ministry of Education, Ma’anshan, 243002 China. 3) School of Electrical and Information Engineering, Anhui University of Technology, Ma’anshan, Anhui, 243032 China. 4) Key Laboratory of Power Electronics and Motion Control Anhui Education Department, Anhui University of Technology, Ma’anshan, Anhui, 243032 China. 5) Co-Innovation Center for Information Supply & Assurance Technology, Anhui University, Hefei, Anhui, 230032 China. ( _Received on July 31, 2020; accepted on December 18, 2020_ ) Surface defect classification of hot-rolled strip based on machine vision is a challenge task caused by the diversity of defect morphology, high inter-class similarity, and the real-time requirements in actual production. In this work, VGG16-ADB, an improved VGG16 convolution neural network, is proposed to address the problem of defect identification of hot-rolled strip. The improved network takes VGG16 as the benchmark model, reduces the system consumption and memory occupation by reducing the depth and width of network structure, and adds the batch normalization layer to accelerate the convergence speed of the model. Based on a standard dataset NEU, the proposed method can achieve the classification accuracy of 99.63% and the recognition speed of 333 FPS, which fully meets the requirements of detection accuracy and speed in the actual production line. The experimental results also show the superiority of VGG16-ADB over existing classification models for surface defect classification of hot-rolled strip. KEY WORDS: hot rolled strip; surface defect; convolutional neural network; defect classification. 1. Introduction Surface quality defects of steel seriously affect the physical and chemical properties of steel products, and bring huge economic and commercial reputation losses to product manufacturers. For the defect detection of product surface in industrial production, the detector is required to be able to distinguish whether there are defects on the product surface or not, and it is practically designed as a two class classifier. <sup>1,2)</sup> Zhang _et al._ proposed a GRNN-PNN neural network method for the detection of iron defects, and got an overall pass rate of 96% by testing the surface quality of plane printed iron sheet. <sup>2)</sup> Generally, it is difficult to develop recognition algorithm for hot rolled strip because the high temperature and radiation intensity, as well as water vapor iron oxide scale and non-uniform illumination. <sup>3–5)</sup> Moreover, the demand for accurate identification of defect types is increasing rapidly for the need of tracing the changes of production environment, or status of equipments. Therefore, correct classification of surface defects of hot - Corresponding author: E-mail: wangbing@ustc.edu rolled strip is very important but challenging job for strip production and quality control. Unlike the defects detection where the task is a binary classification problem, the defects usually involve multiple classes, and some models which can identify multiple defect types have been proposed. <sup>4–9)</sup> Traditional detection methods mainly include manual detection, eddy current detection magnetic flux leakage detection and vision-based steel surface defect detection, but these methods usually lead to a large number of missing and false detections, which cannot guarantee product quality and meet the real-time need of the field. <sup>10–15)</sup> Fortunately, deep learning methods have recently been applied to a number of similar domains with success. <sup>16,17)</sup> Masci _et al._ developed a maximum pooling convolutional neural network (CNN) for surface defects detection of hot rolled strip, and achieved an accuracy of 98.57% with a recognition speed of 0.008 s. <sup>18)</sup> Li _et al._ firstly expanded the number of defect images by 10 times through data augmentation technique such as rotation, translation and noise addition, and proposed a 7-layer convolutional neural network for surface defect recognition where a speed of 0.001 s for each image detection, and the accuracy of 99.05% can © 2021 The Iron and Steel Institute of Japan. This is an open access article under the terms of the Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/). CCBY ISIJ International, Vol. 61 (2021), No. 5 be achieved. <sup>19)</sup> Although the deep learning-based models promoted the defects detection heavily, there is a room for improvement of detection speed and accuracy. In this work, an improved computational model named VGG16-ADB based on VGG16 convolutional neural network is proposed for surface defect images of hot rolled strip. 2. Dataset The data used in this work come from a surface defect dataset named NEU database which was constructed by the Northeast University, China. The database collects gray images of six typical surface defects of hot rolled strip, including rolled-in scale (Rs), scratch (Sc), pitted surface (Ps), inclusion (In), patches (Pa) and crazing (Cr). This dataset contains 300 images for each type of hot rolled strip. The original pixel resolution of each image is 200 × 200. In order to reduce the training time of network model parameters, the size of each image is adjusted to 128 × 128 before it is sent to the network. Figure 1 shows the sample images of six typical surface defects, each listed as one category. 3. Method Among many CNN models, VGG-Nets has good generalization performance, and its pre-training model is widely used for image recognition in different domains. Compared with previous networks such as Alex-Net, VGG16 uses smaller convolution kernels and deeper network structures, by which network training parameters can be reduced, and the capability of feature learning can be enhanced while maintaining the same field of receptivity as large convolution kernels. Although VGG16 network has a good learning ability, it needs a lot of storage space and training time because there are 140 M training parameters, which hinders the popularization of this model in real applications. Therefore, this work focuses on the improvement of VGG16 model to meet the high requirements of recognition rate and real-time in surface defects detection of hot rolled strip. Firstly, instead of SGD optimization algorithm in the original VGG16 model, the Adam optimization algorithm which can automatically update the learning rate is selected to solve the possible oscillation problem in the process of parameter optimization and defined the model replacing the optimization algorithm as the VGG16-A. <sup>20,21)</sup> Secondly, because of 80% of the parameters in the VGG16 model are derived from the fully connected layer, the single fullconnection layer with 512 neurons used as the final feature extraction step was adopted by the VGG16-AD model on the basis of VGG16-A, which greatly reduces the number of parameter of model. Thirdly, based on the VGG16-AD model, the batch normalization layer is added to further accelerate the convergence speed of the model. <sup>22)</sup> Finally, an improved VGG16-ADB network with 16 layers has been constructed and the architecture of improved convolutional neural network is shown in Fig. 2 . Fig. 1. Six typical defect sample images in NEU database. Fig. 2. The architecture of our convolutional neural networks. Conv, FC, BN and MaxP refers to convolutional layer, fully connection layer, batch normalization layer and max pooling. (Online version in color.) ISIJ International, Vol. 61 (2021), No. 5 4. Results 4.1. Implementation Details In this work, all of the experiments are implemented on a NVIDIA Quadro M4000 GPU hardware platform. The batch size is set to 20, the initial learning rate is 1e-6, and the decay of learning rate is 1e-7. The initial epoch number is set to 250 times on the model training, and this number is set to 40 after model is accelerated. For six types of defects, 50% images (150 images for each of them) are randomly selected to train the model, and the remains are adopted for model test and evaluation. To overcome the influence of randomness of dataset partition, the experiment has been repeated five times, and the average performance is taken as the final evaluation for the proposed model. As VGG-Nets parameter initialization method did, the convolution layer weight of the proposed network model is initialized with the value of VGG16 pretrained in ImageNet. 4.2. Prediction Performance of Improved Model 4.2.1. Classification Performance of Improved Model In order to apply the CNNs to the classification of specific steel surface defects and meet the real-time requirements of the steel production line, three improved VGG16 models, _i.e._, VGG16-A, VGG16-AD and VGG16-ADB, have proposed to optimize the parameters and structure of the prediction module in different levels, and the differences among these models are shown in Fig. 3 . The prediction accuracy of each improved model is illustrated in Table 2, it can be seen that VGG16-ADB model achieves the best classification performance with the accuracy of 99.63%, and only 3 images were misclassified for 900 test images. In order to show the classification effect of each kind of defects more carefully, the confusion matrix is shown in Table 1 . It can be seen that VGG16-ADB model can achieve 100% of classification accuracy for four defects, _i.e._, crazing, rolled-in scale, pitted surface and inclusion. Obviously, the proposed model is effective in the defect image classification. 4.2.2. Real-time Analysis In our experiment, only 2.63 seconds were spent when 900 images were tested with the proposed model, which means the average time to classify an image is 0.003 seconds and the detection speed is 333 FPS. In the actual production line, the maximum production speed is typically 30 m/s, and the shooting field of a single camera is 50–100 cm, which requires the detection equipment to have at least 30–60 FPS detection speed. <sup>18)</sup> Therefore, 333 FPS detection speed of the proposed VGG16-ADB model in this work can fully meet the real-time requirements in actual production. 4.3. Performance Comparison of Improved Models To evaluate the performance of three improved models, convergence rate and parameters amount are used as measures of classification performance. 4.3.1. Comparison of Convergence Rate Convergence rate is a measure of how fast the model completes training, which is an important index to evaluate deep learning method. To speed up the convergence and detection, this work introduces some improvement techniques into the VGG16 model, and the loss curve of each model is shown in Fig. 4 . Compared with VGG16, it can be seen from the Fig. 4 that when the optimization parameter of VGG16-A model is changed to Adam under the same structure and parameter quantity, the convergence speed is significantly faster. After further reducing the parameters and increasing the batch normalization layer, the convergence rate increases by 58 and 130 seconds respectively, and the fastest con Table 1. Classification confusion matrix on six types of defects. Cr Rs Ps Pa In Sc Cr 150 0 0 0 0 0 Rs 0 150 0 0 0 0 Ps 0 0 150 0 0 0 Pa 0 0 1 149 0 0 In 0 0 0 0 150 0 Sc 0 0 0 0 2 148 Table 2. Number of total parameters and comparison of evalua tion performance. VGG16 VGG16-A VGG16-AD VGG16-ADB Number of 65 079 110 65 079 110 18 912 582 18 913 606 parameters Model size 248.26 248.26 72.15 72.15 (M) Training time 5 000 360 302 270 (seconds) Average 99.43 99.36 99.30 99.63 accuracy (%) Fig. 3. Variants of the prediction module. (Online version in color.) ISIJ International, Vol. 61 (2021), No. 5 Table 3. Prediction performance comparison with other algo rithms. Classification time (s) Number of Accuracy (%) training images Fig. 4. Loss curve of training model. (Online version in color.) vergence time of VGG16-ADB model is 270 seconds. It is demonstrates that Adam algorithm is the most effective way to speed up the convergence rate, reducing the number of parameters and increasing the normalization layer can also effectively improve the convergence speed of the model, especially when they work together. 4.3.2. Model Parameters and Size The model size mainly depends on the parameters of the model, which is particularly important for the application of deep learning model in industrial production. The total number of parameters and model size statistics are already shown in Table 2. Since the original VGG16 and the improved models have the same basic convolution layer for feature extraction, the different number of parameters among different models mainly comes from the prediction module. For instance, there are 65 079 110 parameters in the VGG16 model, and the number from the prediction module is 50 339 840, which is accounting for 77.35% of the total number. Therefore, reducing the number of full connection layers made up of a large number of neurons or cutting down neurons can effectively decrease the number of model parameters. Based on this idea, the total parameters is 18 912 582 in the VGG16-AD model, with 512 neurons in a single full connection layer, and the model size is 72.15 M which is only one third of the VGG16 model. 4.4. Comparisons with Other State-of-the-art Methods To further assess the effectiveness of the proposed VGG16-ADB model, several state-of-the-art methods are compared in the predictive accuracy and the detection time per image when the same NEU dataset is used. Two traditional machine learning-based approaches, _i.e._, Nearest neighbor clustering (NNC) and support vector machine (SVM) with different feature extraction techniques including adjacent evaluation completed local binary patterns (AECLBP) and generalized completed local binary patterns (GCLBP), are considered for comparison. <sup>13,23)</sup> Moreover, two deep-learning-based surface defect classification approaches including the end-to-end CNN model (CNNs) proposed by Li _et al._ and the Decaf model-based approach (Decaf + MLR) proposed by Ren _et al._ are also implemented. <sup>19,24)</sup> AECLBP + NNC <sup>18)</sup> N/A 900 97.93 AECLBP + SVM <sup>18)</sup> 0.524 900 98.93 GCLBP + NNC <sup>23)</sup> 0.316 900 99.11 CNNs <sup>9)</sup> 0.001 9 000 99.05 Decaf + MLR <sup>24)</sup> 0.48 900 99.27 This work <u>0.003</u> 900 <u>99.63</u> Fig. 5. Examples of each defect type. It can be seen from Table 3 that although traditional machine learning methods can achieve good results with 97.93%, 98.93% and 99.11% accuracy for three models, the process of feature extraction and classification is slow. In contrast, the method based on deep learning with transfer learning strategy can get better classification accuracy and detection speed. Compared with the Decaf + MLR method only initialized by the decaf model, this work cuts down a lot of training parameters to avoid model underlearning, and uses Adam optimization algorithm and batch normalization to speed up the training speed. As a result, the proposed VGG16-ADB method achieves 0.3% higher accuracy than Decaf + MLR model and faster speed of 0.003 s. The results demonstrated the effectiveness of the proposed model in the classification of hot-rolled steel strip surface defects. 4.5. Classification Performance on the Magnetic Tile Defect Dataset To verify the accuracy and speed improvement of our method, the model is also applied to detect defects on the surface of the magnetic tile where the dataset contains 1 344 images with five types of defects, including blowhole, crack, break, fray and unevenness and one type of non-defect data, <sup>25)</sup> and each defect type is shown in Fig. 5 . In our experiment, the dataset is divided into two parts, 70% of which are used for training, and the remaining 30% are used as test set. Due to the different image sizes and the ISIJ International, Vol. 61 (2021), No. 5 unbalanced sample distribution, this work uniformly scales the image size to 224*224, and uses a data enhancement strategy to avoid over-fitting. With the same experimental setup as above, the model we proposed was trained on the magnetic tile dataset. As a result, the detection accuracy we got was 99.4%, and the detection speed for each magnetic tile image was 90 FPS, while these values are 98.1% and 12 FPS in Wang’s work. <sup>25)</sup> This results show a good generalization ability of our proposed model. 5. Conclusion The surface image quality of hot rolled strip is susceptible to environmental impact, which makes the defect recognition technology based on machine vision face many challenges. In this work, an improved convolutional network model named VGG16-ADB is proposed to solve the problem of insufficient feature extraction and slow defect recognition speed in traditional algorithms. The average classification accuracy of the model is 99.63%, which is higher than that of state-of-art methods. Moreover, the recognition speed of the network is 333 FPS, which fully meets the real-time requirements in actual production. The experimental results improve the detection of hot-rolled steel strip surface defects, and therefore can be helpful for steel industry. Acknowledgement This work was supported by the National Natural Science Foundation of China (Nos. 61472282, 61672035, and 61872004), Educational Commission of Anhui Province (No. KJ2019ZD05), Open Fund from Key Laboratory of Metallurgical Emission Reduction & Resources Recycling (KF2017-02), and Anhui Scientific Research Foundation for Returnees. REFERENCES 1) Z. S. Zhang, L. H. Zhang, X. Y. Wang, Z. L. Li, L. Y. Sun and B. L. Xu: _Packag. Eng._, 41 [(2020), 260 (in Chinese). https://doi.](https://doi.org/10.19554/j.cnki.1001-3563.2020.15.039) [org/10.19554/j.cnki.1001-3563.2020.15.039](https://doi.org/10.19554/j.cnki.1001-3563.2020.15.039) 2) F. Nagata, K. Tokuno, K. Nakashima, A. Otsuka, T. Ikeda, H. Ochi, K. Watanabe and M. K. Habib: ICMA, (Tianjin), IEEE, New York, [(2019), 970. https://doi.org/10.1109/ICMA.2019.8816454](https://doi.org/10.1109/ICMA.2019.8816454) 3) Q. Luo and Y. He: _Robot. Comput. Integr. Manuf._, 38 (2016), 16. [https://doi.org/10.1016/j.rcim.2015.09.008](https://doi.org/10.1016/j.rcim.2015.09.008) 4) K. Xu, Y. Xu, P. Zhou and L. Wang: _Opt. Lasers Eng._, 105 (2018), [110. https://doi.org/10.1016/j.optlaseng.2018.01.010](https://doi.org/10.1016/j.optlaseng.2018.01.010) 5) J. Li, Z. Su, J. Geng and Y. Yin: _IFAC-PapersOnLine_, 51 (2018), 76. [https://doi.org/10.1016/j.ifacol.2018.09.412](https://doi.org/10.1016/j.ifacol.2018.09.412) 6) S. Faghih-Roohi, S. Hajizadeh, A. Núñez, R. Babuska and B. De Schutter: IJCNN, (Vancouver), IEEE, New York, (2016), 2584. [https://doi.org/10.1109/IJCNN.2016.7727522](https://doi.org/10.1109/IJCNN.2016.7727522) 7) Q. Xie, D. Li, J. Xu, Z. Yu and J. Wang: _IEEE Trans. Autom. Sci._ _Eng._, 16 [(2019), 1836. https://doi.org/10.1109/TASE.2019.2900170](https://doi.org/10.1109/TASE.2019.2900170) 8) M. Kim, M. Lee and M. An: _J. Intell. Manuf._, 31 (2020), 1165. [https://doi.org/10.1007/s10845-019-01502-y](https://doi.org/10.1007/s10845-019-01502-y) 9) Y. He, K. C. Song, Q. Meng and Y. Yan: _IEEE Trans. Instrum. Meas._, 69 [(2020), 1493. https://doi.org/1493.10.1109/TIM.2019.2915404](https://doi.org/1493.10.1109/TIM.2019.2915404) 10) K. Xu, C. Yang and P. Zhou: _Chin. J. Mech. Eng._, 45 (2009), 111 [(in Chinese). https://doi.org/10.3901/JME.2009.04.111](https://doi.org/10.3901/JME.2009.04.111) 11) Y. J. Jeon, D. C. Choi, S. J. Lee, J. P. Yun and S. W. Kim: _J. Opt. Soc._ _Am. A_, 31 [(2014), 227. https://doi.org/10.1364/JOSAA.31.000227](https://doi.org/10.1364/JOSAA.31.000227) 12) R. Medina, F. Gayubo, L. M. González-Rodrigo, D. Olmedo, J. Gómez-García-Bermejo, E. Zalama and J. R. Perán: _Int. J. Adv._ _Manuf. Technol._, 57 [(2011), 1087. https://doi.org/10.1007/s00170-](https://doi.org/10.1007/s00170-011-3352-0DO) [011-3352-0DO](https://doi.org/10.1007/s00170-011-3352-0DO) 13) K. Song and Y. Yan: _Appl. Surf. Sci._, 285 [(2013), 858. https://doi.](https://doi.org/10.1016/j.apsusc.2013.09.002) [org/10.1016/j.apsusc.2013.09.002](https://doi.org/10.1016/j.apsusc.2013.09.002) 14) X. Zhang, Y. Ding, Y. Lv, A. Shi and R. Liang: _Expert_ _Syst. Appl._, 38 [(2011), 5930. https://doi.org/10.1016/j.eswa.](https://doi.org/10.1016/j.eswa.2010.11.030) [2010.11.030](https://doi.org/10.1016/j.eswa.2010.11.030) 15) M. Chu, R. Gong, S. Gao and J. Zhao: _Chemom. Intell. Lab. Syst._, 171 [(2017), 140. https://doi.org/10.1016/j.chemolab.2017.10.020](https://doi.org/10.1016/j.chemolab.2017.10.020) 16) J. Sun, P. Wang, Y. K. Luo and W. Li: _IEEE Trans. Instrum. Meas._, 68 [(2019), 4787. https://doi.org/10.1109/TIM.2019.2899478](https://doi.org/10.1109/TIM.2019.2899478) 17) Y. He, K. C. Song, H. W. Dong and Y. H. Yan: _Opt. Lasers Eng._, 122 [(2019), 294. https://doi.org/10.1016/j.optlaseng.2019.06.020](https://doi.org/10.1016/j.optlaseng.2019.06.020) 18) J. Masci, U. Meier, D. Ciresan, J. Schmidhuber and G. Fricout: 2012 Int. Joint Conf. on Neural Networks (IJCNN), (Brisbane), IEEE, Piscataway, [NJ, (2012), 1. https://doi.org/10.1109/IJCNN.2012.6252468](https://doi.org/10.1109/IJCNN.2012.6252468) 19) L. Yi, G. Li and M. Jiang: _Steel Res. Int._, 88 [(2017), 1600068. https://](https://doi.org/10.1002/srin.201600068) [doi.org/10.1002/srin.201600068](https://doi.org/10.1002/srin.201600068) 20) S. Theodoridis: Machine Learning, Academic Press, London, (2015), [161. https://doi.org/10.1016/B978-0-12-801522-3.00005-7](https://doi.org/10.1016/B978-0-12-801522-3.00005-7) 21) D. P. Kingma and J. Ba: arXiv e-prints, arXiv: 1412.6980, (2014), [https://ui.adsabs.harvard.edu/abs/2014arXiv1412.6980K, (accessed](https://ui.adsabs.harvard.edu/abs/2014arXiv1412.6980K) 2014-12-22). 22) S. Ioffe and C. Szegedy: arXiv e-prints, arXiv: 1502.03167, (2015), [https://ui.adsabs.harvard.edu/abs/2015arXiv150203167I, (accessed](https://ui.adsabs.harvard.edu/abs/2015arXiv150203167I) 2015-02-03). 23) Q. Luo, Y. Sun, P. Li, O. Simpson, L. Tian and Y. He: _IEEE_ _Trans. Instrum. Meas._, 68 [(2019), 667. https://doi.org/10.1109/](https://doi.org/10.1109/TIM.2018.2852918) [TIM.2018.2852918](https://doi.org/10.1109/TIM.2018.2852918) 24) R. Ren, T. Hung and K. C. Tan: _IEEE Trans. Cybern._, 48 (2018), [929. https://doi.org/10.1109/TCYB.2017.2668395](https://doi.org/10.1109/TCYB.2017.2668395) 25) C. Wang, Y. T. Liu, X. Y. Xu and T. Zhang: _J. Dalian Minzu Univ._, 21 [(2019), 220 (in Chinese). https://doi.org/10.13744/j.cnki.cn21-](https://doi.org/10.13744/j.cnki.cn21-1431/g4.2019.03.006) [1431/g4.2019.03.006](https://doi.org/10.13744/j.cnki.cn21-1431/g4.2019.03.006)

섹션 본문 22문단 · 14,332자

Introduction

2Surface quality defects of steel seriously affect the physical and chemical properties of steel products, and bring huge economic and commercial reputation losses to product manufacturers. For the defect detection of product surface in industrial production, the detector is required to be able to distinguish whether there are defects on the product surface or not, and it is practically designed as a two class classifier. 1,2) Zhang et al. proposed a GRNN-PNN neural network method for the detection of iron defects, and got an overall pass rate of 96% by testing the surface quality of plane printed iron sheet. 2) Generally, it is difficult to develop recognition algorithm for hot rolled strip because the high temperature and radiation intensity, as well as water vapor iron oxide scale and non-uniform illumination. [3][4][5] Moreover, the demand for accurate identification of defect types is increasing rapidly for the need of tracing the changes of production environment, or status of equipments.

3Therefore, correct classification of surface defects of hot

Surface Defects Classification of Hot Rolled Strip Based on Improved Convolutional Neural Network

4Wenyan WANG, 1,2,3) Kun LU, 1,2,3) Ziheng WU, 3,4) Hongming LONG, 1,2) Jun ZHANG, 5) Peng CHEN 5) and Bing WANG 1,4) * Surface defect classification of hot-rolled strip based on machine vision is a challenge task caused by the diversity of defect morphology, high inter-class similarity, and the real-time requirements in actual production. In this work, VGG16-ADB, an improved VGG16 convolution neural network, is proposed to address the problem of defect identification of hot-rolled strip. The improved network takes VGG16 as the benchmark model, reduces the system consumption and memory occupation by reducing the depth and width of network structure, and adds the batch normalization layer to accelerate the convergence speed of the model. Based on a standard dataset NEU, the proposed method can achieve the classification accuracy of 99.63% and the recognition speed of 333 FPS, which fully meets the requirements of detection accuracy and speed in the actual production line. The experimental results also show the superiority of VGG16-ADB over existing classification models for surface defect classification of hot-rolled strip.

5KEY WORDS: hot rolled strip; surface defect; convolutional neural network; defect classification. rolled strip is very important but challenging job for strip production and quality control. Unlike the defects detection where the task is a binary classification problem, the defects usually involve multiple classes, and some models which can identify multiple defect types have been proposed. [4][5][6][7][8][9] Traditional detection methods mainly include manual detection, eddy current detection magnetic flux leakage detection and vision-based steel surface defect detection, but these methods usually lead to a large number of missing and false detections, which cannot guarantee product quality and meet the real-time need of the field. [10][11][12][13][14][15] Fortunately, deep learning methods have recently been applied to a number of similar domains with success. 16,17) Masci et al. developed a maximum pooling convolutional neural network (CNN) for surface defects detection of hot rolled strip, and achieved an accuracy of 98.57% with a recognition speed of 0.008 s. 18) Li et al. firstly expanded the number of defect images by 10 times through data augmentation technique such as rotation, translation and noise addition, and proposed a 7-layer convolutional neural network for surface defect recognition where a speed of 0.001 s for each image detection, and the accuracy of 99.05% can be achieved. 19) Although the deep learning-based models promoted the defects detection heavily, there is a room for improvement of detection speed and accuracy. In this work, an improved computational model named VGG16-ADB based on VGG16 convolutional neural network is proposed for surface defect images of hot rolled strip.

Dataset

6The data used in this work come from a surface defect dataset named NEU database which was constructed by the Northeast University, China. The database collects gray images of six typical surface defects of hot rolled strip, including rolled-in scale (Rs), scratch (Sc), pitted surface (Ps), inclusion (In), patches (Pa) and crazing (Cr). This dataset contains 300 images for each type of hot rolled strip. The original pixel resolution of each image is 200 × 200. In order to reduce the training time of network model parameters, the size of each image is adjusted to 128 × 128 before it is sent to the network. Figure 1 shows the sample images of six typical surface defects, each listed as one category.

Method

7Among many CNN models, VGG-Nets has good generalization performance, and its pre-training model is widely used for image recognition in different domains. Compared with previous networks such as Alex-Net, VGG16 uses smaller convolution kernels and deeper network structures, by which network training parameters can be reduced, and the capability of feature learning can be enhanced while maintaining the same field of receptivity as large convolution kernels. Although VGG16 network has a good learning ability, it needs a lot of storage space and training time because there are 140 M training parameters, which hinders the popularization of this model in real applications.

8Therefore, this work focuses on the improvement of VGG16 model to meet the high requirements of recognition rate and real-time in surface defects detection of hot rolled strip. Firstly, instead of SGD optimization algorithm in the original VGG16 model, the Adam optimization algorithm which can automatically update the learning rate is selected to solve the possible oscillation problem in the process of parameter optimization and defined the model replacing the optimization algorithm as the VGG16-A. 20,21) Secondly, because of 80% of the parameters in the VGG16 model are derived from the fully connected layer, the single fullconnection layer with 512 neurons used as the final feature extraction step was adopted by the VGG16-AD model on the basis of VGG16-A, which greatly reduces the number of parameter of model. Thirdly, based on the VGG16-AD model, the batch normalization layer is added to further accelerate the convergence speed of the model. 22) Finally, an improved VGG16-ADB network with 16 layers has been constructed and the architecture of improved convolutional neural network is shown in Fig. 2.

Implementation Details

9In this work, all of the experiments are implemented on a NVIDIA Quadro M4000 GPU hardware platform. The batch size is set to 20, the initial learning rate is 1e-6, and the decay of learning rate is 1e-7. The initial epoch number is set to 250 times on the model training, and this number is set to 40 after model is accelerated.

10For six types of defects, 50% images (150 images for each of them) are randomly selected to train the model, and the remains are adopted for model test and evaluation.

11To overcome the influence of randomness of dataset partition, the experiment has been repeated five times, and the average performance is taken as the final evaluation for the proposed model. As VGG-Nets parameter initialization method did, the convolution layer weight of the proposed network model is initialized with the value of VGG16 pretrained in ImageNet.

Classification Performance of Improved Model

12In order to apply the CNNs to the classification of specific steel surface defects and meet the real-time requirements of the steel production line, three improved VGG16 models, i.e., VGG16-A, VGG16-AD and VGG16-ADB, have proposed to optimize the parameters and structure of the prediction module in different levels, and the differences among these models are shown in Fig. 3.

13The prediction accuracy of each improved model is illustrated in Table 2, it can be seen that VGG16-ADB model achieves the best classification performance with the accuracy of 99.63%, and only 3 images were misclassified for 900 test images. In order to show the classification effect of each kind of defects more carefully, the confusion matrix is shown in Table 1. It can be seen that VGG16-ADB model can achieve 100% of classification accuracy for four defects, i.e., crazing, rolled-in scale, pitted surface and inclusion. Obviously, the proposed model is effective in the defect image classification.

Real-time Analysis

14In our experiment, only 2.63 seconds were spent when 900 images were tested with the proposed model, which means the average time to classify an image is 0.003 seconds and the detection speed is 333 FPS. In the actual production line, the maximum production speed is typically 30 m/s, and the shooting field of a single camera is 50-100 cm, which requires the detection equipment to have at least 30-60 FPS detection speed. 18) Therefore, 333 FPS detection speed of the proposed VGG16-ADB model in this work can fully meet the real-time requirements in actual production.

Performance Comparison of Improved Models

15To evaluate the performance of three improved models, convergence rate and parameters amount are used as measures of classification performance.

Comparison of Convergence Rate

16Convergence rate is a measure of how fast the model completes training, which is an important index to evaluate deep learning method. To speed up the convergence and detection, this work introduces some improvement techniques into the VGG16 model, and the loss curve of each model is shown in Fig. 4.

17Compared with VGG16, it can be seen from the Fig. 4 that when the optimization parameter of VGG16-A model is changed to Adam under the same structure and parameter quantity, the convergence speed is significantly faster. After further reducing the parameters and increasing the batch normalization layer, the convergence rate increases by 58 and 130 seconds respectively, and the fastest con- vergence time of VGG16-ADB model is 270 seconds. It is demonstrates that Adam algorithm is the most effective way to speed up the convergence rate, reducing the number of parameters and increasing the normalization layer can also effectively improve the convergence speed of the model, especially when they work together.

Model Parameters and Size

18The model size mainly depends on the parameters of the model, which is particularly important for the application of deep learning model in industrial production. The total number of parameters and model size statistics are already shown in Table 2.

19Since the original VGG16 and the improved models have the same basic convolution layer for feature extraction, the different number of parameters among different models mainly comes from the prediction module. For instance, there are 65 079 110 parameters in the VGG16 model, and the number from the prediction module is 50 339 840, which is accounting for 77.35% of the total number. Therefore, reducing the number of full connection layers made up of a large number of neurons or cutting down neurons can effectively decrease the number of model parameters. Based on this idea, the total parameters is 18 912 582 in the VGG16-AD model, with 512 neurons in a single full connection layer, and the model size is 72.15 M which is only one third of the VGG16 model.

Comparisons with Other State-of-the-art Methods

20To further assess the effectiveness of the proposed VGG16-ADB model, several state-of-the-art methods are compared in the predictive accuracy and the detection time per image when the same NEU dataset is used. Two traditional machine learning-based approaches, i.e., Nearest neighbor clustering (NNC) and support vector machine (SVM) with different feature extraction techniques including adjacent evaluation completed local binary patterns (AECLBP) and generalized completed local binary patterns (GCLBP), are considered for comparison. 13,23) Moreover, two deep-learning-based surface defect classification approaches including the end-to-end CNN model 19,24) It can be seen from Table 3 that although traditional machine learning methods can achieve good results with 97.93%, 98.93% and 99.11% accuracy for three models, the process of feature extraction and classification is slow. In contrast, the method based on deep learning with transfer learning strategy can get better classification accuracy and detection speed. Compared with the Decaf + MLR method only initialized by the decaf model, this work cuts down a lot of training parameters to avoid model underlearning, and uses Adam optimization algorithm and batch normalization to speed up the training speed. As a result, the proposed VGG16-ADB method achieves 0.3% higher accuracy than Decaf + MLR model and faster speed of 0.003 s. The results demonstrated the effectiveness of the proposed model in the classification of hot-rolled steel strip surface defects.

Classification Performance on the Magnetic Tile

21Defect Dataset To verify the accuracy and speed improvement of our method, the model is also applied to detect defects on the surface of the magnetic tile where the dataset contains 1 344 images with five types of defects, including blowhole, crack, break, fray and unevenness and one type of non-defect data, 25) and each defect type is shown in Fig. 5. In our experiment, the dataset is divided into two parts, 70% of which are used for training, and the remaining 30% are used as test set. Due to the different image sizes and the unbalanced sample distribution, this work uniformly scales the image size to 224*224, and uses a data enhancement strategy to avoid over-fitting.

22With the same experimental setup as above, the model we proposed was trained on the magnetic tile dataset. As a result, the detection accuracy we got was 99.4%, and the detection speed for each magnetic tile image was 90 FPS, while these values are 98.1% and 12 FPS in Wang's work. 25) This results show a good generalization ability of our proposed model.

Conclusion

23The surface image quality of hot rolled strip is susceptible to environmental impact, which makes the defect recognition technology based on machine vision face many challenges. In this work, an improved convolutional network model named VGG16-ADB is proposed to solve the problem of insufficient feature extraction and slow defect recognition speed in traditional algorithms. The average classification accuracy of the model is 99.63%, which is higher than that of state-of-art methods. Moreover, the recognition speed of the network is 333 FPS, which fully meets the real-time requirements in actual production. The experimental results improve the detection of hot-rolled steel strip surface defects, and therefore can be helpful for steel industry.

참고문헌 21건

  1. A cost-effective and automatic surface defect inspection system for hot-rolled flat steel Robotics and Computer-Integrated Manufacturing · Elsevier BV · 2015 10.1016/j.rcim.2015.09.008
  2. Mechanical Mechanism of Creep-thermal Fatigue Interaction Journal of Mechanical Engineering · Chinese Journal of Mechanical Engineering · 2009 10.3901/jme.2009.01.111
  3. Steel defect classification with Max-Pooling Convolutional Neural Networks 2022 International Joint Conference on Neural Networks (IJCNN) · 2012 10.1109/ijcnn.2012.6252468
  4. Automated visual classification of frequent defects in flat steel coils The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2011 10.1007/s00170-011-3352-0
  5. A vision inspection system for the surface defects of strongly reflected metal based on multi-class SVM Expert Systems with Applications · Elsevier BV · 2010 10.1016/j.eswa.2010.11.030
  6. Defect detection for corner cracks in steel billets using a wavelet reconstruction method Journal of the Optical Society of America A · Optica Publishing Group · 2014 10.1364/josaa.31.000227
  7. A noise robust method based on completed local binary patterns for hot-rolled steel strip surface defects Applied Surface Science · Elsevier BV · 2013 10.1016/j.apsusc.2013.09.002
  8. An End‐to‐End Steel Strip Surface Defects Recognition System Based on Convolutional Neural Networks steel research international · Wiley · 2016 10.1002/srin.201600068
  9. Deep convolutional neural networks for detection of rail surface defects 2016 10.1109/ijcnn.2016.7727522
  10. A Generic Deep-Learning-Based Approach for Automated Surface Inspection IEEE Transactions on Cybernetics · Institute of Electrical and Electronics Engineers · 2017 10.1109/tcyb.2017.2668395
  11. Stochastic Gradient Descent Machine learning · Springer Nature · 2015 10.1016/b978-0-12-801522-3.00005-7
  12. Steel surface defects recognition based on multi-type statistical features and enhanced twin support vector machine Chemometrics and Intelligent Laboratory Systems · Elsevier BV · 2017 10.1016/j.chemolab.2017.10.020
  13. Application of RNAMlet to surface defect identification of steels Optics and Lasers in Engineering · Elsevier BV · 2018 10.1016/j.optlaseng.2018.01.010
  14. Generalized Completed Local Binary Patterns for Time-Efficient Steel Surface Defect Classification IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2018 10.1109/tim.2018.2852918
  15. Real-time Detection of Steel Strip Surface Defects Based on Improved YOLO Detection Network IFAC-PapersOnLine · Elsevier BV · 2018 10.1016/j.ifacol.2018.09.412
  16. Surface Defects Detection Based on Adaptive Multiscale Image Collection and Convolutional Neural Networks IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2019 10.1109/tim.2019.2899478
  17. Automatic Detection and Classification of Sewer Defects via Hierarchical Deep Learning IEEE Transactions on Automation Science and Engineering · Institute of Electrical and Electronics Engineers · 2019 10.1109/tase.2019.2900170
  18. An End-to-End Steel Surface Defect Detection Approach via Fusing Multiple Hierarchical Features IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2019 10.1109/tim.2019.2915404
  19. Semi-supervised defect classification of steel surface based on multi-training and generative adversarial network Optics and Lasers in Engineering · Elsevier BV · 2019 10.1016/j.optlaseng.2019.06.020
  20. Fusion Method of Convolutional Neural Network and Support Vector Machine for High Accuracy Anomaly Detection 2022 IEEE International Conference on Mechatronics and Automation (ICMA) · 2019 10.1109/icma.2019.8816454
  21. Effective automatic defect classification process based on CNN with stacking ensemble model for TFT-LCD panel Journal of Intelligent Manufacturing · Springer Science+Business Media · 2019 10.1007/s10845-019-01502-y