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

An optical system for identifying and classifying defects of metal parts

관련 산업용 섬유 · (9) 타이어코드

기본 정보

저자
  1. Apostolis Papavasileiou — Laboratory for Manufacturing Systems and Automation, Department of Mechanical Engineering and Aeronautics, University of Patras, Patras, Greece
  2. P. Aivaliotis — Laboratory for Manufacturing Systems and Automation, Department of Mechanical Engineering and Aeronautics, University of Patras, Patras, Greece
  3. Sotiris Aivaliotis — Laboratory for Manufacturing Systems and Automation, Department of Mechanical Engineering and Aeronautics, University of Patras, Patras, Greece
  4. Sotiris Makris — Laboratory for Manufacturing Systems and Automation, Department of Mechanical Engineering and Aeronautics, University of Patras, Patras, Greece
DOI
10.1080/0951192x.2021.1992660
저널
International Journal of Computer Integrated Manufacturing
발행년도
2021
발행기관
Taylor & Francis
피인용수
21
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1080/0951192x.2021.1992660
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W3210581704

평가 내용

관련도
관련
사업분야
산업용 섬유 · (9) 타이어코드
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '산업용 섬유 > 타이어코드' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Formulae display:?Mathematical formulae have been encoded as MathML and are displayed in this HTML version using MathJax in order to improve their display. Uncheck the box to turn MathJax off. This feature requires Javascript. Click on a formula to zoom.

본문 26,777자

본문 펼치기
Manufacturing systems are making a shift towards intelligent and automated detection systems in order to save cost and time in different phases of the product lifecycle as well as keep the production's quality levels high. Currently, defects detection is based on either the active involvement of the human operator or the devotement of a significant amount of time in order to train models that utilize machine learning techniques. In this context, this study presents an automated optical system, which is able to detect and classify aesthetical defects in different sizes, shapes and positions right after the casting process. A lightweight and robust architecture is adopted towards supporting different products. Also, an advanced user interface is implemented on top of a web application. The aim is to support the operator and provide awareness of the process status by visualizing information related to production and quality aspects. A case study deriving from the automotive industry has been used in order to test the accuracy of the proposed optical system in metal parts. The benefits of the proposed approach are discussed and proposed as a more efficient way of inspecting the quality of finished products under the scope of Industry 4.0.ARTICLE HISTORY Introduction Over the last years, a lot of effort has been made over the topic of optimization of cost and time in manufacturing systems while trying always to keep the quality of the products in high levels (Chryssolouris 2006). In this way, the existing industrial processes and techniques would be highly benefited by the integration of digital solutions (Makris 2020) which are in-line with the Industry 4.0 paradigm (Papanastasiou et al. 2019). Under these circumstances, the development of vision systems came to the fore as a mean of automatic quality inspection (Tosello 2016) and experimented in various forms on the production lines of the contemporary factories (Frustaci et al. 2020). Even though adequately algorithms have been developed, the proposed tools fail to meet the manufacturing requirements and thus the visual inspection systems remain a subject for future research (Jiang, Gramopadhye, and Melloy 2004). Introduction Generally, there are three main approaches for the detection of aesthetical defects right after the casting process. The first one is the visual inspection, and it is the most common technique, especially in processes and machines that have not yet been refurbished or integrated with Industry 4.0 technologies. Under this approach, the human operator is responsible for the identification of defects, through a quick visual inspection of the product and thus it often involves a significant percentage of human error. The second approach is the use of non-destructive (ND) testing techniques such as the ultrasonic inspection and the radiographic examination (Stavridis, Papacharalampopoulos, and Stavropoulos 2018). The ND methods are accurate but are proven to be quite expensive in terms of purchasing the appropriate equipment (e.g. laser scans). Finally, a third common approach is the use of computer vision techniques and algorithms, such as AI-based vision systems, machine learning techniques, signal-processing methods, etc. Among the three of them, the use of computer vision for identifying and classifying defects has been greatly expanded during the last years, due to its high accuracy, low-cost operation and high-level of automation (Tsarouchi et al. 2016). Introduction Some initial approaches in the visual detection of defects were based on statistics on the gray level or on the morphological operations (Mohamed and Faouzi 2013). In the field of steel industry, detection systems were developed in order to identify potential cracks on steel billets surfaces (Yun et al. 2009) as well as to inspect the surfaces of hot-rolled flat steels (Luo and He 2016). Furthermore, the trimmed edges of the steel billets have been investigated and an algorithm has been presented which can handle different kind of edge surfaces and quality irregularities of billets (Zeiler et al. 2019). In addition, other image processing techniques such as Top-Hat filter (Lee et al. 2009) and Hough transform (Mar, Yarlagadda, and Fookes 2011) were used in order to implement a detection algorithm. In different industrial applications, edges of light were used in order to detect aesthetical defects in the surface of polymeric polarizer (Deng et al. 2018). Another approach was to inspect brightness and contrast in order to detect defects in packaging of glass ampoule (Rawashdeh et al. 2018). Also, research has been done in the use of FFT and texture parameters in surface roughness evaluation of end-milled metals (Cuka, Cho, and Kim 2018). Despite the advantages of the above approaches, they seem to lack of flexibility since they focus strictly in specific parts or processes and fail to generalize the solution in further applications. On the other hand, different qualityfocused approaches have been proposed aiming on risk-oriented health prognosis for fault detection (He et al. 2020b) as well as modelling infant rate and quality variation in manufacturing processes (He et al. 2016). Introduction There have been some approaches for the identification and classification of defects in several fields of industrial manufacturing. The most trending approach is the use of machine/deep learning techniques in order to develop decision-making systems for image classification (Aivaliotis et al. 2017). Researchers have investigated an object detection framework CPN as well as classification networks to detect defects in hot rolled steels (He, Xu, and Zhou 2019). In this direction, another framework has been proposed in order to detect surface defects using Scale Invariant Feature Transform (Batsuuri, Ahn, and Ko 2012). Also, a new algorithm has been proposed in order to detect welding defects using Convolutional Neural Networks (CNN) (Zhang, Wen, and Chen 2019). Another interesting approach has been investigated, using a pre-trained AlexNet architecture towards the classification of leather images with black line and wrinkle defects (Liong et al. 2020). The use of neural networks towards extracting features (Krüger et al. 2019), monitoring specific processes (Zouhri et al. 2020) and detecting different kind of defects is a popular topic and has been investigated by various researchers in the past (Weimer, Scholz-Reiter, and Shpitalni 2016). Such an approach is proposed by using Deep CNN via TensorFlow and applied in detection of defects in wooden parts (He et al. 2020b). Furthermore, CNNs and deep learning techniques were used for other applications too, such as the defects' detection in the surface of solar cells , in tungsten inert gas welding (Bacioiu et al. 2019), in steel wire ropes , in assessment of component of cylindrical roller bearings (Kumar et al. 2020), etc. Introduction Despite the promising results of the machine/deep learning techniques, there are also some important underlying issues regarding their implementation of them in manufacturing applications (Liu et al. 2021). Firstly, their accuracy in identifying and classifying aesthetical defects is highly dependent to the provision both of good quality training data as well as the labeling of them. Of course, this could be proven challenging, especially in manufacturing environments, due to the time and resources that are needed in order to label the data and train the required models. Furthermore, depending on the application, the amount of data that is needed may differ and, in some cases (e.g. design of a new manufacturing product), the training of the models should be done from scratch. Also, another important problem in machine/deep learning techniques is the high need for computational power, while training a large, deeplearning model can generate the same carbon footprint as the lifetime of five American cars, including gas (Lohr 2019). These limitations expose a gap between the implementation of deep-learning methods for defects' detection and the actual needs and requirements coming from the different manufacturing applications. Introduction In this paper, a novel optical system is presented which is able to identify accurately aesthetical defects of different sizes/shapes in the surface of the part. In this approach, no training is required and the computational resources that are needed are minimized. Thus, a low-cost solution is provided which is also quite flexible in terms of introducing new parts/products of the same material in different stages of production ( Figure 1). Introduction The paper is organized as follows: Section 1 is a brief literature review of the research in defects' detection, especially in computer vision techniques, and the identification of limitations/gaps in the existing solutions takes place. Section 2 provides a description of the proposed solution to the problems mentioned in the introduction, while Section 3 presents the description of the methods and software modules used, as well as how they are implemented. Section 4 manages to describe the application of the proposed solution in a specific manufacturing problem. Section 5 includes experiments with real industrial components and presents the main results. Finally, Section 6 discusses the main conclusions about the design and implementation as well as the future steps of this research. Approach This paper presents a novel optical system that is able to automatically identify potential aesthetical defects in the surface of the parts after the casting process. The defects may differ in terms of position, size, shape and the proposed approach is capable of classifying the part in different categories based on specific requirements. The results are visualized in a userfriendly web application giving thus to the operator a quick overview of the production quality aspects. The proposed optical system consists of six different features-subcomponents which are presented in detail below. Image acquisition The initial feature of the proposed approach is the image acquisition module. As a first step, the optical system triggers the selected camera in order to start the acquisition process ("Acquisition [HALCON Operator Reference/Version 13.0.4]" 2020). Thus, a sequence of tasks is being followed Image acquisition with the chosen acquisition device: During this process, the connection to the image acquisition device is tested, the image acquisition device is locked for other processes, and, if necessary, memory is reserved for the data buffers. Image acquisition (2) Setting up the parameters of the acquisition device: In this task, five different parameters are being applied: a) width, b) height, c) offset in X-axis, d) offset in Y-axis and e) exposure value. Image acquisition (3) Grasping of the image: A gray 2D image is captured using the selected acquisition device as well as the desired interface-specific settings and parameters that were defined in task 2. (4) Storing of the acquired image: This task is responsible for saving the acquired input image in the selected format and name. Pre-processing As a next step, the optical system manipulates the acquired gray image in order to perform some preprocessing techniques. More specifically, this step includes three different tasks: Pre-processing (1) Image smoothing: This task includes the smoothing of the selected gray image using the Gaussian filter in order to remove unnecessary detail and noise. The filter applied to the selected 2D image is based on the formula (Misra and Yaokun 2020) of Equation (1): Pre-processing where, σ is the standard deviation of the distribution (1) Creation of regions: During this task, the selected lines are converted and stored as regions of interest inside the image ( Figure 2). Pre-processing (1) Calculation of projections: The regions from task 2 are being selected in order to calculate the horizontal and vertical gray-value (2) and (3). The gray-value is a single number that represents the brightness of the pixel with a range of possible values from 0 to 255 (where 0 is considered as black and 255 is taken to be white). Pre-processing where, (r',c') is the upper left corner of the smallest enclosing axis-parallel rectangle of the input region, n(x) is the number of region points in the corresponding row r+ r' or column c+ c' Detection of defects The core feature of the proposed optical system is the correct and automatic detection of the aesthetical defects in different sizes, shapes and positions. Starting from the selection of vertical windows (Figure 4), the detection is achieved by following the proposed algorithm of Figure 5. Detection of defects As a basis, the projections that were calculated in the pre-processing feature are being investigated using a custom sliding window search algorithm. Also, the selection of both the threshold grayscale values (ζ 1 , σ 1 , ζ 2 ) as well as the L A , L B have been achieved throughout a manual calibration process that took place before the actual deployment of the proposed detection & classification algorithms. This process was based on the manual observation of the specific projection values involved in the image grayscale waveform. Thus, the authors were able to observe that the waveform presented a unique behaviour in case of a potential defect involvement and proceeded with the modelling of the signal behaviour and its incorporation in the actual deployment of the proposed algorithms. The signal modelling included the identification of peaks and valleys in the selected regions of interest and their unique characteristics such as the size of the selected vertical windows, the absolute values, the sequence of appearance, etc., which denoted the existence of a potential defect as presented in Figure 6. Detection of defects The presented algorithm as well as the selection of the threshold values ζ 1 , σ 1 , ζ 2 can also be justified through a presentation of the projection values of an example image ( Figure 6). Classification of image As a result of the presented detection algorithm, the X and Y coordinates of the potential defects are calculated. Moving forward, the next core feature is the classification of the acquired 2D image in different main categories. This classification is based on the correct measurement of the height and width of each identified defect and of course it is dependent on the application's requirements (Figure 7). Visualization of results The result from the previous features is an array containing the X and Y coordinates of the identified defects. In this step, a method is deployed in order to mark this set of coordinates in visible circles inside the acquired image for visualization purposes. This image was further used and communicated to the Web Application UI in order to be depicted to the human operator. Communication traffic handler This module is responsible for managing of the incoming/outcoming traffic depending on the application. In this case, the Communication Traffic Handler manipulates the results of the optical system and communicates them to the Web Application in order to be depicted to the human operator. System implementation Architecture The proposed optical system design follows the multilayer architecture, with the layers being the Presentation Layer, the Service Layer, the Logic Layer and the Data Layer. The proposed approach has been implemented as standalone application that runs in a Windows-based computer and the communication among the different layers is presented in Figure 8. Presentation layer The Presentation Layer consists of the UI controller and the Web Application UI. The controller is responsible to prepare the optical system results (image with marked defects) in a simple graphical window before the commissioning of them in the Web Application UI. Service layer The two middleware layers are the Service Layer and the Logic Layer. The Service Layer includes the interface services implementations. These interfaces are located in the Communication Traffic Handler that is responsible for communicating the results among the different layers. Thus, the vision system results are being sent from the Logic Layer to the Presentation Layer using RESTful Services through the Communication Traffic Handler (Service Layer). Logic layer The Logic Layer includes four different components. The first one is the Acquisition Module that is responsible for activating the camera and triggering the acquisition of a new 2D image. As a second step, the Acquisition Module triggers the execution of the Pre-processing Module that includes different methods regarding the filtering/ smoothing as well as the calculation of the required equations and values. Finally, the Preprocessing Module enables the execution of the Detection Algorithm and the Classification Algorithm. These components include the core detection and classification algorithms of the proposed optical system that are responsible for identifying and classifying the potential defects in the surface of the product. Data layer This layer is responsible for grouping/modelling the different data that are being used by the optical system. These data models are not being saved in a specific database but are only created for internal use of the application. Thus, an internal vice-versa connectivity between the Logic Layer and the data models (Data Layer) has been established and used each time a new execution cycle begins. Software implementation For the initial calibration of the selected camera as well as the threshold values, the HDevelop13 and the Pylon Viewer software applications were installed and used (Figure 9). The proposed optical system includes the cooperation of several software components in order to run successfully. More specifically, the proposed detection and classification algorithms were implemented using the C# programming language inside the Microsoft Visual Studio IDE. The optical system works as a combination of C# and MATLAB scripts and is focused on the correct identification and classification of defects in the surface of the potential products ( Figure 10). Software implementation For the control of the selected camera as well as the calculation/handling of the different kind of data for detection, the MVTec Halcon Library has been extensively used ("HALCON -Comprehensive Software for Machine Vision with an IDE That Is Used Worldwide" 2020). MVTec Halcon is one of the leading software libraries for industrial image processing (Machine Vision) that is used worldwide. The full library can be accessed from common programming languages like C, C++ and .NET languages like C# or VB.NET and can thereby be integrated easily into any type of application. Furthermore, it enables the portability to other non-standard operating systems or the integration into new programming environments by its flexible architecture. Software implementation Also, for the Presentation Layer of the proposed vision system, MATLAB has been used. More specifically, a script has been deployed in order to export the image including the marked defects in a specific format, in order to be used for further visualization purposes. The script is deployed in executable format in order to be manipulated through the UI Controller by only using the MATLAB runtime. Software implementation Each time a new execution cycle is triggered by the user/client, a specific process sequence is respected in order to enable the harmonized flow of information between the different software components ( Figure 11). Software implementation Furthermore, a user interface has been deployed on top of a web application in order to communicate with the proposed optical system and present its results to the operator by using devices such as computer, tablet, smartphone, etc. The user interface implements the MVC (Model-View-Controller) design pattern implementing HTML5 principles (responsive UI controls, websockets, etc.). The developed web UI is presented in Figure 12. Case study The proposed approach has been applied to an automotive industry case study in order to replace the manual process for detection of aesthetical defects in the surface of metal parts. Inside the selected case, the product investigated for defects was placed inside the field of view of a camera sensor. The specific product that has been chosen for the validation of the proposed approach is the monoblock aluminum brake calipers. Furthermore, an industrial robot manipulator has been used in order to automate the transportation and defect's identification (Figure 13 and 14). The brake caliper was mounted on the end effector of the robot manipulator using a custom gripping solution that was designed based on the caliper's body geometry. Case study The selected camera model that was used for images' acquisition was a Basler 2D area scan camera (Ag 2020) equipped with Kowa lens ("Kowa 1" LM35HC Lens" 2020) supporting exposure and focus parameters' calibration. After making several tests with different sets of the vision system's parameters, the following set was decided to be used for the defect's identification and classification. To ensure that the position of the camera will not change between the execution of different tests, a custom structure was designed for the mounting of the camera. This structure consists of two aluminum profiles and some brackets used for their connection. By mounting this structure on the left side of a working table, the proposed approach was tested on different kind of models without the contribution of a human operator. An aluminum flange was designed and produced for the camera's mounting on this structure. After making several tests with the aforementioned vision system including only the camera sensor, it was observed that a lighting device was required to have stable lighting conditions inside the testing area. The selected lighting device is a 23" White, LED Linear Light able to be mounted on the aluminum structure. The mounting position of the lighting device on the structure was based on the distribution of the light on the investigated surface of the product. Case study The connection between the camera and the PC running the proposed defect identification and classification algorithm has been accomplished using a network switch device to bring the two devices in a common communication network ("Linksys Business LGS308MP PoE+ Smart 8 Port Gigabit Network Switch (130W)" 2020). The same connection was made in order to communicate with the robot's controller. The robot was responsible for placing the metal part in the camera's field of view and informing the vision system in order to trigger the image acquisition and start the identification process. An overview of the connectivity between the different components is presented in Figure 15 and 16. Results Many experiments and measurements were conducted in order not only to test the functionalities of the proposed vision system but also to export valuable conclusions. A set of 25 monoblock brake calipers was used in order to identify the potential surface defects and classify them based on their dimensions. The 2D images were captured with a resolution of 3000 × 1700 pixels. The vision system results are visible in Table 2. Results Based on the conducted experiments, some indicative defects that are identified are presented below. Results Considering the above measurements, the actual defects are identified from the proposed detection algorithm with a success ratio of 95.9% with an average execution time of 52 seconds. Furthermore, the detection algorithm involves a total error of 8,7% including either failures to detect some actual defects (12 out of 22) or some points which were wrongly interpreted as defects (10 out of 22) (Figure 17). Results The selected images are classified in 3 different categories based on the defects' dimensions: A) OK, B) MINOR DEFECTS and C) NOT OK. The categories are identified by the classification algorithm with a success ratio of 92%. As it can be seen in Table 1, the mean height diff and mean width diff corresponds to the deviation of the identified dimension values with the actual ones. Thus, it is calculated that the mean error for the identified defects' height and width is 1,48 mm and 1,53 mm ( Figure 18). An important step to conclude on the importance of the proposed optical system was to compare its performance with other existing methods. The detection accuracy results of different methods are presented in Table 3. Also, a classification priority network (CPN) detection method has been selected (He, Ke, and Zhou 2019) as well as its accuracy compared with other existing methods applied in the same dataset of hot rolled steel plates. These comparison results regarding the detection & classification accuracy have been also included in Table 3. The selected studies of hot rolled steel plates and steel billets have been selected since their morphological state is similar and can extract valuable comparison information, even though the presented metal caliper parts are proven to have even more difficult surface conditions. Conclusions and future work This study presented an optical system and the corresponding method for identifying and classifying defects in the surface of metal parts. The identification and classification algorithms are presented as well as the implementation of the optical system in a case study deriving from the automotive industry. Experimental results showed that the optical system provides a high reliability in correctly identifying and classifying aesthetical defects. The proposed approach requires no training and thus it is proven to be cost-effective and not time-consuming. Furthermore, by correctly tuning/selecting the threshold values, which are presented in the algorithm of Section 2, the system is highly flexible and can be used in different products of the same material. Conclusions and future work Future study will be focusing on the implementation of the proposed optical system in different materials and industries such as plastic, paper, food, etc. Experiments will be conducted with different kind of defects from these sectors in order to identify the success recognition ratio of the proposed optical system. Also, an important future step is to implement the presented methods to run in a multithreaded basis in order to reduce the execution time that is needed in order to present the optical system results. Last but not least, a method is considered to be implemented in order to automate the selection of the threshold values that are required depending on the application.

섹션 본문 43문단 · 26,026자

(제목 없음)

1Manufacturing systems are making a shift towards intelligent and automated detection systems in order to save cost and time in different phases of the product lifecycle as well as keep the production's quality levels high. Currently, defects detection is based on either the active involvement of the human operator or the devotement of a significant amount of time in order to train models that utilize machine learning techniques. In this context, this study presents an automated optical system, which is able to detect and classify aesthetical defects in different sizes, shapes and positions right after the casting process. A lightweight and robust architecture is adopted towards supporting different products. Also, an advanced user interface is implemented on top of a web application. The aim is to support the operator and provide awareness of the process status by visualizing information related to production and quality aspects. A case study deriving from the automotive industry has been used in order to test the accuracy of the proposed optical system in metal parts. The benefits of the proposed approach are discussed and proposed as a more efficient way of inspecting the quality of finished products under the scope of Industry 4.0.ARTICLE HISTORY

Introduction

2Over the last years, a lot of effort has been made over the topic of optimization of cost and time in manufacturing systems while trying always to keep the quality of the products in high levels (Chryssolouris 2006). In this way, the existing industrial processes and techniques would be highly benefited by the integration of digital solutions (Makris 2020) which are in-line with the Industry 4.0 paradigm (Papanastasiou et al. 2019). Under these circumstances, the development of vision systems came to the fore as a mean of automatic quality inspection (Tosello 2016) and experimented in various forms on the production lines of the contemporary factories (Frustaci et al. 2020). Even though adequately algorithms have been developed, the proposed tools fail to meet the manufacturing requirements and thus the visual inspection systems remain a subject for future research (Jiang, Gramopadhye, and Melloy 2004).

3Generally, there are three main approaches for the detection of aesthetical defects right after the casting process. The first one is the visual inspection, and it is the most common technique, especially in processes and machines that have not yet been refurbished or integrated with Industry 4.0 technologies. Under this approach, the human operator is responsible for the identification of defects, through a quick visual inspection of the product and thus it often involves a significant percentage of human error. The second approach is the use of non-destructive (ND) testing techniques such as the ultrasonic inspection and the radiographic examination (Stavridis, Papacharalampopoulos, and Stavropoulos 2018). The ND methods are accurate but are proven to be quite expensive in terms of purchasing the appropriate equipment (e.g. laser scans). Finally, a third common approach is the use of computer vision techniques and algorithms, such as AI-based vision systems, machine learning techniques, signal-processing methods, etc. Among the three of them, the use of computer vision for identifying and classifying defects has been greatly expanded during the last years, due to its high accuracy, low-cost operation and high-level of automation (Tsarouchi et al. 2016).

4Some initial approaches in the visual detection of defects were based on statistics on the gray level or on the morphological operations (Mohamed and Faouzi 2013). In the field of steel industry, detection systems were developed in order to identify potential cracks on steel billets surfaces (Yun et al. 2009) as well as to inspect the surfaces of hot-rolled flat steels (Luo and He 2016). Furthermore, the trimmed edges of the steel billets have been investigated and an algorithm has been presented which can handle different kind of edge surfaces and quality irregularities of billets (Zeiler et al. 2019). In addition, other image processing techniques such as Top-Hat filter (Lee et al. 2009) and Hough transform (Mar, Yarlagadda, and Fookes 2011) were used in order to implement a detection algorithm. In different industrial applications, edges of light were used in order to detect aesthetical defects in the surface of polymeric polarizer (Deng et al. 2018). Another approach was to inspect brightness and contrast in order to detect defects in packaging of glass ampoule (Rawashdeh et al. 2018). Also, research has been done in the use of FFT and texture parameters in surface roughness evaluation of end-milled metals (Cuka, Cho, and Kim 2018). Despite the advantages of the above approaches, they seem to lack of flexibility since they focus strictly in specific parts or processes and fail to generalize the solution in further applications. On the other hand, different qualityfocused approaches have been proposed aiming on risk-oriented health prognosis for fault detection (He et al. 2020b) as well as modelling infant rate and quality variation in manufacturing processes (He et al. 2016).

5There have been some approaches for the identification and classification of defects in several fields of industrial manufacturing. The most trending approach is the use of machine/deep learning techniques in order to develop decision-making systems for image classification (Aivaliotis et al. 2017). Researchers have investigated an object detection framework CPN as well as classification networks to detect defects in hot rolled steels (He, Xu, and Zhou 2019). In this direction, another framework has been proposed in order to detect surface defects using Scale Invariant Feature Transform (Batsuuri, Ahn, and Ko 2012). Also, a new algorithm has been proposed in order to detect welding defects using Convolutional Neural Networks (CNN) (Zhang, Wen, and Chen 2019). Another interesting approach has been investigated, using a pre-trained AlexNet architecture towards the classification of leather images with black line and wrinkle defects (Liong et al. 2020). The use of neural networks towards extracting features (Krüger et al. 2019), monitoring specific processes (Zouhri et al. 2020) and detecting different kind of defects is a popular topic and has been investigated by various researchers in the past (Weimer, Scholz-Reiter, and Shpitalni 2016). Such an approach is proposed by using Deep CNN via TensorFlow and applied in detection of defects in wooden parts (He et al. 2020b). Furthermore, CNNs and deep learning techniques were used for other applications too, such as the defects' detection in the surface of solar cells , in tungsten inert gas welding (Bacioiu et al. 2019), in steel wire ropes , in assessment of component of cylindrical roller bearings (Kumar et al. 2020), etc.

6Despite the promising results of the machine/deep learning techniques, there are also some important underlying issues regarding their implementation of them in manufacturing applications (Liu et al. 2021). Firstly, their accuracy in identifying and classifying aesthetical defects is highly dependent to the provision both of good quality training data as well as the labeling of them. Of course, this could be proven challenging, especially in manufacturing environments, due to the time and resources that are needed in order to label the data and train the required models. Furthermore, depending on the application, the amount of data that is needed may differ and, in some cases (e.g. design of a new manufacturing product), the training of the models should be done from scratch. Also, another important problem in machine/deep learning techniques is the high need for computational power, while training a large, deeplearning model can generate the same carbon footprint as the lifetime of five American cars, including gas (Lohr 2019). These limitations expose a gap between the implementation of deep-learning methods for defects' detection and the actual needs and requirements coming from the different manufacturing applications.

7In this paper, a novel optical system is presented which is able to identify accurately aesthetical defects of different sizes/shapes in the surface of the part. In this approach, no training is required and the computational resources that are needed are minimized. Thus, a low-cost solution is provided which is also quite flexible in terms of introducing new parts/products of the same material in different stages of production ( Figure 1).

8The paper is organized as follows: Section 1 is a brief literature review of the research in defects' detection, especially in computer vision techniques, and the identification of limitations/gaps in the existing solutions takes place. Section 2 provides a description of the proposed solution to the problems mentioned in the introduction, while Section 3 presents the description of the methods and software modules used, as well as how they are implemented. Section 4 manages to describe the application of the proposed solution in a specific manufacturing problem. Section 5 includes experiments with real industrial components and presents the main results. Finally, Section 6 discusses the main conclusions about the design and implementation as well as the future steps of this research.

Approach

9This paper presents a novel optical system that is able to automatically identify potential aesthetical defects in the surface of the parts after the casting process. The defects may differ in terms of position, size, shape and the proposed approach is capable of classifying the part in different categories based on specific requirements. The results are visualized in a userfriendly web application giving thus to the operator a quick overview of the production quality aspects. The proposed optical system consists of six different features-subcomponents which are presented in detail below.

Image acquisition

10The initial feature of the proposed approach is the image acquisition module. As a first step, the optical system triggers the selected camera in order to start the acquisition process ("Acquisition [HALCON Operator Reference/Version 13.0.4]" 2020). Thus, a sequence of tasks is being followed

11with the chosen acquisition device: During this process, the connection to the image acquisition device is tested, the image acquisition device is locked for other processes, and, if necessary, memory is reserved for the data buffers.

12(2) Setting up the parameters of the acquisition device: In this task, five different parameters are being applied: a) width, b) height, c) offset in X-axis, d) offset in Y-axis and e) exposure value.

13(3) Grasping of the image: A gray 2D image is captured using the selected acquisition device as well as the desired interface-specific settings and parameters that were defined in task 2. (4) Storing of the acquired image: This task is responsible for saving the acquired input image in the selected format and name.

Pre-processing

14As a next step, the optical system manipulates the acquired gray image in order to perform some preprocessing techniques. More specifically, this step includes three different tasks:

15(1) Image smoothing: This task includes the smoothing of the selected gray image using the Gaussian filter in order to remove unnecessary detail and noise. The filter applied to the selected 2D image is based on the formula (Misra and Yaokun 2020) of Equation (1):

16where, σ is the standard deviation of the distribution (1) Creation of regions: During this task, the selected lines are converted and stored as regions of interest inside the image ( Figure 2).

17(1) Calculation of projections: The regions from task 2 are being selected in order to calculate the horizontal and vertical gray-value (2) and (3). The gray-value is a single number that represents the brightness of the pixel with a range of possible values from 0 to 255 (where 0 is considered as black and 255 is taken to be white).

18where, (r',c') is the upper left corner of the smallest enclosing axis-parallel rectangle of the input region, n(x) is the number of region points in the corresponding row r+ r' or column c+ c'

Detection of defects

19The core feature of the proposed optical system is the correct and automatic detection of the aesthetical defects in different sizes, shapes and positions. Starting from the selection of vertical windows (Figure 4), the detection is achieved by following the proposed algorithm of Figure 5.

20As a basis, the projections that were calculated in the pre-processing feature are being investigated using a custom sliding window search algorithm. Also, the selection of both the threshold grayscale values (ζ 1 , σ 1 , ζ 2 ) as well as the L A , L B have been achieved throughout a manual calibration process that took place before the actual deployment of the proposed detection & classification algorithms. This process was based on the manual observation of the specific projection values involved in the image grayscale waveform. Thus, the authors were able to observe that the waveform presented a unique behaviour in case of a potential defect involvement and proceeded with the modelling of the signal behaviour and its incorporation in the actual deployment of the proposed algorithms. The signal modelling included the identification of peaks and valleys in the selected regions of interest and their unique characteristics such as the size of the selected vertical windows, the absolute values, the sequence of appearance, etc., which denoted the existence of a potential defect as presented in Figure 6.

21The presented algorithm as well as the selection of the threshold values ζ 1 , σ 1 , ζ 2 can also be justified through a presentation of the projection values of an example image ( Figure 6).

Classification of image

22As a result of the presented detection algorithm, the X and Y coordinates of the potential defects are calculated. Moving forward, the next core feature is the classification of the acquired 2D image in different main categories. This classification is based on the correct measurement of the height and width of each identified defect and of course it is dependent on the application's requirements (Figure 7).

Visualization of results

23The result from the previous features is an array containing the X and Y coordinates of the identified defects. In this step, a method is deployed in order to mark this set of coordinates in visible circles inside the acquired image for visualization purposes. This image was further used and communicated to the Web Application UI in order to be depicted to the human operator.

Communication traffic handler

24This module is responsible for managing of the incoming/outcoming traffic depending on the application. In this case, the Communication Traffic Handler manipulates the results of the optical system and communicates them to the Web Application in order to be depicted to the human operator.

System implementation

25Architecture The proposed optical system design follows the multilayer architecture, with the layers being the Presentation Layer, the Service Layer, the Logic Layer and the Data Layer. The proposed approach has been implemented as standalone application that runs in a Windows-based computer and the communication among the different layers is presented in Figure 8.

Presentation layer

26The Presentation Layer consists of the UI controller and the Web Application UI. The controller is responsible to prepare the optical system results (image with marked defects) in a simple graphical window before the commissioning of them in the Web Application UI.

Service layer

27The two middleware layers are the Service Layer and the Logic Layer. The Service Layer includes the interface services implementations. These interfaces are located in the Communication Traffic Handler that is responsible for communicating the results among the different layers. Thus, the vision system results are being sent from the Logic Layer to the Presentation Layer using RESTful Services through the Communication Traffic Handler (Service Layer).

Logic layer

28The Logic Layer includes four different components. The first one is the Acquisition Module that is responsible for activating the camera and triggering the acquisition of a new 2D image. As a second step, the Acquisition Module triggers the execution of the Pre-processing Module that includes different methods regarding the filtering/ smoothing as well as the calculation of the required equations and values. Finally, the Preprocessing Module enables the execution of the Detection Algorithm and the Classification Algorithm. These components include the core detection and classification algorithms of the proposed optical system that are responsible for identifying and classifying the potential defects in the surface of the product.

Data layer

29This layer is responsible for grouping/modelling the different data that are being used by the optical system. These data models are not being saved in a specific database but are only created for internal use of the application. Thus, an internal vice-versa connectivity between the Logic Layer and the data models (Data Layer) has been established and used each time a new execution cycle begins.

Software implementation

30For the initial calibration of the selected camera as well as the threshold values, the HDevelop13 and the Pylon Viewer software applications were installed and used (Figure 9). The proposed optical system includes the cooperation of several software components in order to run successfully. More specifically, the proposed detection and classification algorithms were implemented using the C# programming language inside the Microsoft Visual Studio IDE. The optical system works as a combination of C# and MATLAB scripts and is focused on the correct identification and classification of defects in the surface of the potential products ( Figure 10).

31For the control of the selected camera as well as the calculation/handling of the different kind of data for detection, the MVTec Halcon Library has been extensively used ("HALCON -Comprehensive Software for Machine Vision with an IDE That Is Used Worldwide" 2020). MVTec Halcon is one of the leading software libraries for industrial image processing (Machine Vision) that is used worldwide. The full library can be accessed from common programming languages like C, C++ and .NET languages like C# or VB.NET and can thereby be integrated easily into any type of application. Furthermore, it enables the portability to other non-standard operating systems or the integration into new programming environments by its flexible architecture.

32Also, for the Presentation Layer of the proposed vision system, MATLAB has been used. More specifically, a script has been deployed in order to export the image including the marked defects in a specific format, in order to be used for further visualization purposes. The script is deployed in executable format in order to be manipulated through the UI Controller by only using the MATLAB runtime.

33Each time a new execution cycle is triggered by the user/client, a specific process sequence is respected in order to enable the harmonized flow of information between the different software components ( Figure 11).

34Furthermore, a user interface has been deployed on top of a web application in order to communicate with the proposed optical system and present its results to the operator by using devices such as computer, tablet, smartphone, etc. The user interface implements the MVC (Model-View-Controller) design pattern implementing HTML5 principles (responsive UI controls, websockets, etc.). The developed web UI is presented in Figure 12.

Case study

35The proposed approach has been applied to an automotive industry case study in order to replace the manual process for detection of aesthetical defects in the surface of metal parts. Inside the selected case, the product investigated for defects was placed inside the field of view of a camera sensor. The specific product that has been chosen for the validation of the proposed approach is the monoblock aluminum brake calipers. Furthermore, an industrial robot manipulator has been used in order to automate the transportation and defect's identification (Figure 13 and 14). The brake caliper was mounted on the end effector of the robot manipulator using a custom gripping solution that was designed based on the caliper's body geometry.

36The selected camera model that was used for images' acquisition was a Basler 2D area scan camera (Ag 2020) equipped with Kowa lens ("Kowa 1" LM35HC Lens" 2020) supporting exposure and focus parameters' calibration. After making several tests with different sets of the vision system's parameters, the following set was decided to be used for the defect's identification and classification. To ensure that the position of the camera will not change between the execution of different tests, a custom structure was designed for the mounting of the camera. This structure consists of two aluminum profiles and some brackets used for their connection. By mounting this structure on the left side of a working table, the proposed approach was tested on different kind of models without the contribution of a human operator. An aluminum flange was designed and produced for the camera's mounting on this structure. After making several tests with the aforementioned vision system including only the camera sensor, it was observed that a lighting device was required to have stable lighting conditions inside the testing area. The selected lighting device is a 23" White, LED Linear Light able to be mounted on the aluminum structure. The mounting position of the lighting device on the structure was based on the distribution of the light on the investigated surface of the product.

37The connection between the camera and the PC running the proposed defect identification and classification algorithm has been accomplished using a network switch device to bring the two devices in a common communication network ("Linksys Business LGS308MP PoE+ Smart 8 Port Gigabit Network Switch (130W)" 2020). The same connection was made in order to communicate with the robot's controller. The robot was responsible for placing the metal part in the camera's field of view and informing the vision system in order to trigger the image acquisition and start the identification process. An overview of the connectivity between the different components is presented in Figure 15 and 16.

Results

38Many experiments and measurements were conducted in order not only to test the functionalities of the proposed vision system but also to export valuable conclusions. A set of 25 monoblock brake calipers was used in order to identify the potential surface defects and classify them based on their dimensions. The 2D images were captured with a resolution of 3000 × 1700 pixels. The vision system results are visible in Table 2.

39Based on the conducted experiments, some indicative defects that are identified are presented below.

40Considering the above measurements, the actual defects are identified from the proposed detection algorithm with a success ratio of 95.9% with an average execution time of 52 seconds. Furthermore, the detection algorithm involves a total error of 8,7% including either failures to detect some actual defects (12 out of 22) or some points which were wrongly interpreted as defects (10 out of 22) (Figure 17).

41The selected images are classified in 3 different categories based on the defects' dimensions: A) OK, B) MINOR DEFECTS and C) NOT OK. The categories are identified by the classification algorithm with a success ratio of 92%. As it can be seen in Table 1, the mean height diff and mean width diff corresponds to the deviation of the identified dimension values with the actual ones. Thus, it is calculated that the mean error for the identified defects' height and width is 1,48 mm and 1,53 mm ( Figure 18). An important step to conclude on the importance of the proposed optical system was to compare its performance with other existing methods. The detection accuracy results of different methods are presented in Table 3. Also, a classification priority network (CPN) detection method has been selected (He, Ke, and Zhou 2019) as well as its accuracy compared with other existing methods applied in the same dataset of hot rolled steel plates. These comparison results regarding the detection & classification accuracy have been also included in Table 3. The selected studies of hot rolled steel plates and steel billets have been selected since their morphological state is similar and can extract valuable comparison information, even though the presented metal caliper parts are proven to have even more difficult surface conditions.

Conclusions and future work

42This study presented an optical system and the corresponding method for identifying and classifying defects in the surface of metal parts. The identification and classification algorithms are presented as well as the implementation of the optical system in a case study deriving from the automotive industry. Experimental results showed that the optical system provides a high reliability in correctly identifying and classifying aesthetical defects. The proposed approach requires no training and thus it is proven to be cost-effective and not time-consuming. Furthermore, by correctly tuning/selecting the threshold values, which are presented in the algorithm of Section 2, the system is highly flexible and can be used in different products of the same material.

43Future study will be focusing on the implementation of the proposed optical system in different materials and industries such as plastic, paper, food, etc. Experiments will be conducted with different kind of defects from these sectors in order to identify the success recognition ratio of the proposed optical system. Also, an important future step is to implement the presented methods to run in a multithreaded basis in order to reduce the execution time that is needed in order to present the optical system results. Last but not least, a method is considered to be implemented in order to automate the selection of the threshold values that are required depending on the application.

참고문헌 35건

  1. Manufacturing Systems: Theory and Practice Mechanical engineering series · Springer Nature · 2006 10.1007/0-387-28431-1
  2. 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
  3. Automatic detection of cracks in raw steel block using Gabor filter optimized by univariate dynamic encoding algorithm for searches (uDEAS) NDT & E International · Elsevier BV · 2009 10.1016/j.ndteint.2009.01.007
  4. Theoretical issues in the design of visual inspection systems Theoretical Issues in Ergonomics Science · Taylor & Francis · 2004 10.1080/1463922021000050005
  5. Defect Detection Algorithm in Steel Billets Using Morphological Top-Hat filter IFAC Proceedings Volumes · Elsevier BV · 2009 10.3182/20091014-3-cl-4011.00038
  6. Application of Shearlet transform to classification of surface defects for metals Image and Vision Computing · Elsevier BV · 2015 10.1016/j.imavis.2015.01.001
  7. Design and development of automatic visual inspection system for PCB manufacturing Robotics and Computer-Integrated Manufacturing · Elsevier BV · 2011 10.1016/j.rcim.2011.03.007
  8. Modelling infant failure rate of electromechanical products with multilayered quality variations from manufacturing process International Journal of Production Research · Taylor & Francis · 2016 10.1080/00207543.2016.1154215
  9. A method for detection of randomly placed objects for robotic handling CIRP journal of manufacturing science and technology · Elsevier BV · 2016 10.1016/j.cirpj.2016.04.005
  10. Design of deep convolutional neural network architectures for automated feature extraction in industrial inspection CIRP Annals · Elsevier BV · 2016 10.1016/j.cirp.2016.04.072
  11. Quality assessment in laser welding: a critical review The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2017 10.1007/s00170-017-0461-4
  12. An Algorithm for Surface Defect Identification of Steel Plates Based on Genetic Algorithm and Extreme Learning Machine Metals · Multidisciplinary Digital Publishing Institute · 2017 10.3390/met7080311
  13. A Machine Learning Approach for Visual Recognition of Complex Parts in Robotic Manipulation Procedia Manufacturing · Elsevier BV · 2017 10.1016/j.promfg.2017.07.130
  14. Vision-based surface roughness evaluation system for end milling International Journal of Computer Integrated Manufacturing · Taylor & Francis · 2017 10.1080/0951192x.2017.1407451
  15. Inspection of extremely slight aesthetic defects in a polymeric polarizer using the edge of light between black and white stripes Polymer Testing · Elsevier BV · 2017 10.1016/j.polymertesting.2017.11.019
  16. A visual inspection system of glass ampoule packaging defects: effect of lighting configurations International Journal of Computer Integrated Manufacturing · Taylor & Francis · 2018 10.1080/0951192x.2018.1447145
  17. Defect detection of hot rolled steels with a new object detection framework called classification priority network Computers & Industrial Engineering · Elsevier BV · 2018 10.1016/j.cie.2018.12.043
  18. Deep learning for part identification based on inherent features CIRP Annals · Elsevier BV · 2019 10.1016/j.cirp.2019.04.095
  19. Towards seamless human robot collaboration: integrating multimodal interaction The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2019 10.1007/s00170-019-03790-3
  20. Weld image deep learning-based on-line defects detection using convolutional neural networks for Al alloy in robotic arc welding Journal of Manufacturing Processes · Elsevier BV · 2019 10.1016/j.jmapro.2019.06.023
  21. You Only Look Once: Unified, Real-Time Object Detection 2016 10.1109/cvpr.2016.91
  22. Automated defect classification of Aluminium 5083 TIG welding using HDR camera and neural networks Journal of Manufacturing Processes · Elsevier BV · 2019 10.1016/j.jmapro.2019.07.020
  23. Machine learning assisted segmentation of scanning electron microscopy images of organic-rich shales with feature extraction and feature ranking Elsevier eBooks · Elsevier BV · 2019 10.1016/b978-0-12-817736-5.00010-7
  24. Vision-based inspection and segmentation of trimmed steel edges IFAC-PapersOnLine · Elsevier BV · 2019 10.1016/j.ifacol.2019.09.182
  25. Application of deep convolutional neural network on feature extraction and detection of wood defects Measurement · Elsevier BV · 2019 10.1016/j.measurement.2019.107357
  26. An embedded machine vision system for an in-line quality check of assembly processes Procedia Manufacturing · Elsevier BV · 2020 10.1016/j.promfg.2020.02.072
  27. Bearing defect size assessment using wavelet transform based Deep Convolutional Neural Network (DCNN) Alexandria Engineering Journal · Elsevier BV · 2020 10.1016/j.aej.2020.03.034
  28. Surface damage detection for steel wire ropes using deep learning and computer vision techniques Measurement · Elsevier BV · 2020 10.1016/j.measurement.2020.107843
  29. Detection of surface defects on solar cells by fusing Multi-channel convolution neural networks Infrared Physics & Technology · Elsevier BV · 2020 10.1016/j.infrared.2020.103334
  30. Functional risk-oriented health prognosis approach for intelligent manufacturing systems Reliability Engineering & System Safety · Elsevier BV · 2020 10.1016/j.ress.2020.107090
  31. Leather defect classification and segmentation using deep learning architecture International Journal of Computer Integrated Manufacturing · Taylor & Francis · 2020 10.1080/0951192x.2020.1795928
  32. Cooperating Robots for Flexible Manufacturing Springer series in advanced manufacturing · Springer International Publishing · 2020 10.1007/978-3-030-51591-1
  33. Deep learning for industrial image: challenges, methods for enriching the sample space and restricting the hypothesis space, and possible issue International Journal of Computer Integrated Manufacturing · Taylor & Francis · 2021 10.1080/0951192x.2021.1901319
  34. Inspection (Precision Engineering and Metrology) Springer eBooks · Springer Nature · 2016 10.1007/978-3-642-35950-7_6585-3
  35. Deleted Work 1955