A Novel Machine Vision System for the Inspection of Micro-Spray Nozzle
엔지니어링 플라스틱 · (23) 컴파운드
기본 정보
- 저자
- DOI
- 10.3390/s150715326
- 저널
- Sensors
- 발행년도
- 2015
- 발행기관
- Multidisciplinary Digital Publishing Institute
- 피인용수
- 11
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.3390/s150715326
- 토픽
- Surface Roughness and Optical Measurements
- OpenAlex ID
- W1563718313
평가 내용
- 관련도
- 사업분야
- 엔지니어링 플라스틱 · (23) 컴파운드
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- LLM(gemma-4-26b-a4b-it) 평가로 '엔지니어링 플라스틱 > 컴파운드' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
본문 25,915자
본문 펼치기
섹션 본문 38문단 · 15,237자
(제목 없음)
1In this study, we present an application of neural network and image processing techniques for detecting the defects of an internal micro-spray nozzle. The defect regions were segmented by Canny edge detection, a randomized algorithm for detecting circles and a circle inspection (CI) algorithm. The gray level co-occurrence matrix (GLCM) was further used to evaluate the texture features of the segmented region. These texture features (contrast, entropy, energy), color features (mean and variance of gray level) and geometric features (distance variance, mean diameter and diameter ratio) were used in the classification procedures. A back-propagation neural network classifier was employed to detect the defects of micro-spray nozzles. The methodology presented herein effectively works for detecting micro-spray nozzle defects to an accuracy of 90.71%.
Introduction
2Nozzles are a common mechanical component and are widely used in agriculture, manufacturing and the service industry. A micro-spray nozzle is an important component in an agricultural sprayer, which is used to spray water, pesticides and nutrients. Real-time flow uniformity depends on the OPEN ACCESS internal quality of the micro-spray nozzle. Unstable flow will be created because of internal defects. The price and quality of micro-spray nozzles are down due to such defects. The internal defects of micro-spray nozzles usually result during cutting procedures with a CNC (computer numerical control) machine. Chang and Yu [1] proposed a triangular-pitch shell-and-tube spray evaporator featuring an interior spray technique. The dry-out phenomenon is prevented, and the heat transfer performance is improved in their study. In addition, micro-spray nozzles have to be sorted manually, because the surface of the micro-spray nozzle is heterogeneous, which makes auto-detection very difficult.
3Image processing techniques are a powerful method and are widely used to inspect industrial products. Chen et al. [2] designed an automatic damage detection system of an engineering ceramic surface with image processing techniques, pattern recognition and machine vision. Paniagua et al. [3] proposed a neuro-fuzzy classification system to inspect the quality of industrial cork samples by incorporating techniques based on Gabor filtering techniques and neuro-fuzzy computing with three wavelet-based texture quality features. A microscopic vision system [4] has been employed to measure the surface roughness of the micro-heterogeneous texture in a deep hole, by virtue of the frequency domain features of microscopic images and a back-propagation artificial neural network optimized by the genetic algorithm. Indeed, neural networks, geometric, color and texture features were often employed in the classification of plants and crops [5][6][7]. Shen et al. [8] used the Otsu method, HSI color system and Sobel operator to extract disease spot regions and calculate leaf areas. Park et al. [9] employed an unsupervised segmentation algorithm by Gaussian mixture models to segment color image regions.
4However, to the best of the authors' knowledge, there is no literature on the inspection of the internal quality of micro-spray nozzles using image processing techniques. Some research [10][11][12] talked about the determination of drop sizes and shapes for spray nozzles. The drop size distribution of an irrigation spray nozzle was determined using image processing techniques, and the relationship between drop size distribution, operating pressure and nozzle size were discussed [10]. The droplet shape and size of a diesel spray had been detected using wavelet transform, a Gaussian filter and sub-pixel contour extraction [11]. The gray level gradient, boundary curvature detection, the Hough transform and the convex-hull method were employed to count and size particles in the field of sprays [12].
5Currently, the internal damages of micro-spray nozzles are manually inspected (sorted) using stereomicroscopes. The procedures are laborious and ineffective. The labor cost was about 80% of the total cost for micro-spray nozzle products. The detection process has to be automated to reduce the total cost. Thus, this paper aims to develop a machine vision system to correctly and automatically inspect the micro-spray nozzle. The specific goals are: (1) to develop an algorithm to segment the defect region; (2) to extract the gray level and texture features; and (3) to classify different grades using the aforementioned features by a classifier.
6In summary, we develop a machine vision system to correctly and automatically inspect and classify micro-spray nozzles. The system includes an extraction algorithm of defect regions, a feature estimation algorithm for defect regions and a classifier for the quality of micro-spray nozzles.
Micro-Spray Nozzle Structure and Defects
7Micro-spray nozzles (shown in Figure 1) are provided by Natural Fog Multi-Tech Precision Industry Corporation Ltd. (Tai-Chung, Taiwan). The structure profile of the micro-spray nozzle is shown in Figure 2. The outlet diameter of the micro-spray nozzle is 0.1 mm. There are two inclined annular-planes, A and B (as shown in Figure 2), on the inside surface of the micro-spray nozzle. Figure 3 depicts the circle textures in the inner image of micro-spray nozzles after CNC machine manufacturing. The defects of micro-spray nozzles were made by the CNC machine during the manufacturing procedures. The defects appear on the outlet and inclined planes A and B. Four possible defects, which include the outlet shape and deckle edge, pellet and stripe metal filings on inclined planes, are shown in Figure 3. The purpose of this study is to inspect the defects of micro-spray nozzles automatically using a machine vision system.
Hardware System
8The machine vision system implemented to inspect the inner images of micro-spray nozzles is illustrated in Figure 4. This system includes an IEEE 1394 CCD color camera (DFK-31BF03, Imaging Source Inc., Bremen, Germany), a stereomicroscope (Stemi 2000-C, Zeiss Inc., Oberkochen, Germany), a front illuminating white light LED with a diffuse filter, a fixed table and a personal computer. Open Source Computer Vision Library (OpenCV1.0, Intel Corporation) and Visual C++ 6.0 programming are linked to the programs to grab images of 1024 × 768 pixels.
Region Segmentation and Features Extraction
9Algorithms that include the estimation of the outlet's geometric feature and segmentation of the region of interest (ROI), a circle inspection (CI) algorithm and a classifier are proposed to detect micro-spray nozzle defects. Details of the proposed algorithms are described as follows.
Outlet Extraction
10Segmentation of the ROI image is an essential procedure once the features of the micro-spray nozzle have been extracted. Firstly, the outlet image (as shown in Figure 5) is segmented using Otsu's auto-thresholding method and hole-filling operations [13]. By assuming that the binary image of the outlet is
11(where i = 1, 2, …, m and the total number of pixels is m), the centroid is obtained as
12The covariance matrix is defined as The ROI of inclined annular-planes is the internal image of the micro-spray nozzle, as shown in Figure 6. Segmenting the ROI effectively is an important procedure once the defects have been detected. Firstly, Canny edge detection [13], a randomized algorithm for detecting circles [14], hole-filling operation and the AND logic operator are used to segment the ROI of the inclined annular-planes. The procedures of extraction are as follows.
13Step 1. Canny edge detection for the original image (Figure 7a), shown as Figure 7b.
14Step 2. Randomized algorithm for detecting circles, shown as Figure 7c.
15Step 3. The ring region is filled using a hole-filling operation, shown as Figure 7d.
16Step 4. The ROI (shown as Figure 7e) is segmented using the AND logic operator for Figure 7a,d.
17Step 5. Geometric features' computation.
Possible Defect Segmentation
18Segmenting defect regions is an important procedure before possible defects (including the deckle edge, pellet and stripe metal fillings) are detected and classified. A prior experiment proceeded as follows. Firstly, an inspection circle is used to find gray levels with scanning resolution in a pixel, as shown in Figure 8. There are different distribution forms of gray levels in different circles, as illustrated in Figure 9. However, the difference between defects and non-defects is difficult to distinguish using the thresholding method [13]. Therefore, a novel method, the circle inspection algorithm (CI algorithm), is proposed for defect region segmentation of micro-spray nozzles in this study. The CI algorithm is effectively executed to extract defect regions for internal images of micro-spray nozzles according to the differences of the gray level gradient. The CI algorithm is described as follows: Step 1. The distribution of the gray level on the image is estimated along the circle CRj (with scanning resolution in a pixel); (xc, yc) is the center, and Rmin < Rj< Rmax.
19Step 2. Compute the gray level gradient ( i G ) of the circle, as demonstrated in Figure 10 on Circle 1.
20where g(i) is the gray level of the circle, i is the position of the circle and n is the distance.
21where T is a threshold value.
Classification: Classifier
22Geometric, texture and color features analysis have been widely employed in classification. With proper feature selections, the design of a classifier can be greatly simplified. This study adopts the geometric feature (mean diameter, diameter ratio, distance variance), the color features (mean gray level, variance of gray level) and texture features (contrast, energy and entropy from the gray level co-occurrence matrix (GLCMs) [15]) to classify defects and non-defects using a back propagation neural network [16] (BPNN, as shown in Figure 11). Mathematical formulations of these features are given in Table 1. In this study, the BPNN classifier consists of three layers: an input layer, a hidden layer and an output layer (as shown in Figure 11). The input layer has 17 nodes, which are related to 3 geometric features, 2 color features and 12 texture features, normalized between 0 and 1. The output layer is made of nodes, related to two categories: defect and non-defect. Initially, the number of nodes nH in the hidden layer is calculated using the following formula:
23where nI is the number of input nodes and no is the number of output nodes. The objective of the learning process is to find a relation in a pattern that was made by the features of each segmented region. The BPNN is trained, and the weights are changed until the error convergence criterion approaches 0.1. The error signal is given by:
24where dk(t) is the desired response for neuron k (k = 1~2) and yk(t) is the output signal of neuron k at iteration t.
Overall Descriptions
25The overall steps involved in the defect region segmentation and classification are shown in Figure 12. The algorithm for the classification of defects included image processing techniques, the CI algorithm and the BPNN classifier, are fully described in the previous two sections.
26The program employed for detecting and classifying the defects is written in Microsoft Visual C++ 6.0 and OpenCV 1.0.
Results and Discussion
27In this paper, a defect detection (DD) software for a micro-spray nozzle is developed using image processing techniques and the CI algorithm (written in Visual C++ 6.0 with OpenCV 1.0), as outlined in the first few steps shown in Figure 12. The algorithm is summarized as follows:
28Step 1. Two geometric features of the outlet are computed.
29Step 2. The ROIs are segmented using Canny edge detection, a randomized algorithm for detecting circles, hole-filling and the AND logic operators.
30Step 3. Possible defect regions are segmented by the CI algorithm.
31Step 4. Estimate 15 features of the segmented regions.
32Step 5. Establish and test the BPNN classifier to classify defects and non-defects.
33The functions of DD include file operations (acquire, load and save images) and image analysis operations (binary operator, hole-filling, remove noises using closing, opening and Canny edge). The geometrics of the outlet, texture and color features of the segmented region are obtained, and defects can be detected by the DD computation accurately and rapidly.
34The difference between defects and non-defect regions is not obvious in the original image of a micro-spray nozzle, as shown in Figure 13a. Possible defect regions, including defects and non-defects, are segmented using the CI algorithm (parameters n = 6, T = 11 are selected after some experimentations) and image processing techniques (such as hole-filling, erosion, dilation, opening, closing and Canny edge operators), as indicated in Figure 13b. Figure 13c results using the AND logic operator for Figure 13a,b. Hence, the defects of micro-spray nozzles (Figure 13d) are detected according to the BPNN classification.
35In order to establish the BPNN classifier, 698 samples (with 565 non-defects and 133 defects) are randomly sampled. Eleven hidden nodes are obtained by Equation (3) according to 17 input features, and two output categories. The BPNN classifier is implemented using functions of MATLAB 8.0. For each configuration, the training sample set is randomly selected from all samples until the BPNN convergence is achieved. Over-fitting often occurs when the training set contains some incorrect samples in the BPNN. As the grades of micro-spray nozzles in training samples are already known before the training process, over-fitting is unlikely to occur. To ensure that the influence of over-fitting is trivial during the training process, the maximum number of iterations is set to 100,000. Further studies showed that the same inspection effect is obtained when the error rate convergence criterion is smaller than 0.1. Randomly-sampled images (1486 non-defects and 118 defects) are used to test the system. The accuracy of the classification is 90.71%. The accuracy of outlet shape and strip fillings is 100%. However, a few deckle edges and pellet fillings of the images can not be detected using the proposed algorithms, examples of classification failure and explanations are shown in Table 2. In this study, the proposed system can detect and classify visible defects with a CCD camera accurately and efficiently. In the future, we hope that the detection and classification system can be applied to an auto-inspection system for micro-spray nozzles.
36(c) (d)
Case 4: Dark image
37The image is blurred and dark.
Conclusions
38Real-time flow uniformity depends on the internal quality of the micro-spray nozzle, and unstable flow will result because of internal defects. A novel inspection system for internal defects of micro-spray nozzles is developed in this study. The image processing techniques, Canny edge detection, a randomized algorithm for detecting circles, the circle inspection algorithm and the BPNN classifier are used to establish the micro-spray nozzle detection system. Possible defects can be segmented efficiently using the CI algorithm and image processing techniques. Geometric, color and texture features of the defects are obtained to establish a BPNN classifier. Testing results show that the defects of the micro-spray nozzles can be detected efficiently using the proposed system. In a future study, we aim to refine the inspection algorithm in order to increase the inspection accuracy for the production line of micro-spay nozzles.
참고문헌 15건
- Fundamentals of neural networks 1993
- An image-processing based algorithm to automatically identify plant disease visual symptoms Biosystems Engineering · Elsevier BV · 2008 10.1016/j.biosystemseng.2008.09.030
- Digital image processing for determining drop sizes from irrigation spray nozzles Agricultural Water Management · Elsevier BV · 2000 10.1016/s0378-3774(99)00079-7
- Automatic texture characterization using Gabor filters and neurofuzzy computing The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2010 10.1007/s00170-010-2706-3
- Discrimination of sunflower, weed and soil by artificial neural networks Computers and Electronics in Agriculture · Elsevier BV · 2004 10.1016/j.compag.2004.03.006
- Droplet size and morphology characterization for dense sprays by image processing: application to the Diesel spray Experiments in Fluids · Springer Science+Business Media · 2005 10.1007/s00348-005-0026-4
- Textural Features for Image Classification IEEE Transactions on Systems Man and Cybernetics · Institute of Electrical and Electronics Engineers · 1973 10.1109/tsmc.1973.4309314
- An Efficient Randomized Algorithm for Detecting Circles Computer Vision and Image Understanding · Elsevier BV · 2001 10.1006/cviu.2001.0923
- Optimal nozzle spray cone angle for triangular-pitch shell-and-tube interior spray evaporator International Journal of Heat and Mass Transfer · Elsevier BV · 2015 10.1016/j.ijheatmasstransfer.2015.01.123
- An improved surface roughness measurement method for micro-heterogeneous texture in deep hole based on gray-level co-occurrence matrix and support vector machine The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2013 10.1007/s00170-013-5048-0
- Automatic detection of skin defects in citrus fruits using a multivariate image analysis approach Computers and Electronics in Agriculture · Elsevier BV · 2010 10.1016/j.compag.2010.02.001
- Automated inspection of engineering ceramic grinding surface damage based on image recognition The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2012 10.1007/s00170-012-4338-2
- Sizing of spray particles using image processing technique KSME International Journal · Korean Society of Mechanical Engineers · 2004 10.1007/bf02990860
- Grading Method of Leaf Spot Disease Based on Image Processing 2008 10.1109/csse.2008.1649
- Color image segmentation using adaptive mean shift and statistical model-based methods Computers & Mathematics with Applications · Elsevier BV · 2008 10.1016/j.camwa.2008.10.053