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

The Design of Defect Detection Algorithm for the Energy-saving Lamp Tungsten

간접 관련 산업용 섬유 · (17) 스펀본드 부직포 (3) 자동차 인테리어 소재(9) 타이어코드

기본 정보

저자
  1. Qinlong Gu — College of Information Engineering,Zhejiang University of Technology, Hangzhou,China
  2. Defu Chen — College of Information Engineering,Zhejiang University of Technology, Hangzhou,China
  3. Qiang Shen — College of Information Engineering,Zhejiang University of Technology, Hangzhou,China
  4. Minghai Yao — College of Information Engineering,Zhejiang University of Technology, Hangzhou,China
DOI
10.2991/ic3me-15.2015.243
저널
–
발행년도
2015
발행기관
–
피인용수
0
라이선스
cc-by-nc
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.2991/ic3me-15.2015.243
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W1801034403

평가 내용

관련도
간접 관련
사업분야
산업용 섬유 · (17) 스펀본드 부직포
부 분야
(3) 자동차 인테리어 소재, (9) 타이어코드
R&D 측면
분석·모델링
확신도
0.70
근거 용어
machine vision, defect detection algorithm, image recognition, surface defect check, fabric defect detection
판단 근거
본 논문은 머신 비전을 이용한 결함 검출 알고리즘을 다루고 있으며, 이는 코오롱인더스트리의 산업용 부직포(17)나 자동차 소재(3), 타이어코드(9) 등의 제조 공정 내 품질 관리(Visual Inspection) 시스템에 공통적으로 적용 가능한 기술입니다.
R&D 활용 포인트
산업용 섬유, 필름, 자동차 소재 제조 공정에서 제품의 표면 결함이나 코팅 불량을 실시간으로 자동 검출하는 머신 비전 검사 시스템 구축에 활용 가능합니다.
평가 입력
본문 14,084자

초록

In the energy-saving lamp production, there may be some defects such as no lamp post, too long tail, excess or not enough powder coating.The paper proposes the defect detection algorithm based on tungsten defect features with machine vision.It contains obtaining of tungsten area, filtering, marking out of image coordinate, feature extraction and tungsten image defect detection.The work is completed in Embedded system with TMS320DM6467 processor and Davinci software framework.The experiment shows the algorithm is effective.

본문 14,084자

본문 펼치기
# The Design of Defect Detection Algorithm for the Energy-saving Lamp Tungsten Gu Qinlong 1, a, Chen Defu 1,b, Shen Qiang 1 and Yao Minghai 1,c * 1 College of Information Engineering,Zhejiang University of Technology, Hangzhou,China agql@zjut.edu.cn, bdefuchen@zjut.edu.cn, cymh@zjut.edu.cn Keywords: energy-saving lamp, defect check, image recognition, ROI area Abstract. In the energy-saving lamp production, there may be some defects such as no lamp post, too long tail, excess or not enough powder coating. The paper proposes the defect detection algorithm based on tungsten defect features with machine vision. It contains obtaining of tungsten area, filtering, marking out of image coordinate, feature extraction and tungsten image defect detection. The work is completed in Embedded system with TMS320DM6467 processor and Davinci software framework. The experiment shows the algorithm is effective. Introduction The major application of machine vision <sup>[1][2]</sup> is to check deficient product. The test method is contactless. The field of application of machine vision covers defect check and classification of metal parts, fabric defect detection, surface defect check of car body, glass defect detection and so on <sup>[3]</sup> . Because machine vision depends on specific types of product and defect, it should apply with different recognition methods according to specific application. In the production process of energy-saving lamp, we need to apply a layer of powder slurry on tungsten evenly and completely, that is tungsten powder coating <sup>[4]</sup> . For the reason coating process errors and the defect of energy-saving lamp post, there may be some flaws such as no lamp post, too longer tail, more powder coating and powder coating incompletely in this process. In production of enterprises at present time, the quality of tungsten powder coating is monitored by manpower. If technology of machine vision is applied, the process of tungsten powder coating can be manufactured and monitored automatically, that can save manpower, enhance the quality of energy-saving lamp and production efficiency. The paper puts forward an algorithm to realize defect check of the energy-saving lamp post, tail and filament. The flow chart of the algorithm is shown in Fig. 1. After image inversion, de-nosing, filtering <sup>[5]</sup>, and image segmentation preprocess, energy-saving lamp post, tail and filament check is carried out. lamp post check tail check filament check image capture image iversion & preprocessing qualified fail Fig. 1 Flow chart of the algorithm for defect check of the energy-saving lamp tungsten The input of the algorithm is RGB format image. We should preprocess the image to enhance the quality of input image and save process time. We firstly extract ROI(Region of interest) area, then translate RGB image into grayscale and carry out binary conversion. ROI is the abbreviation of specific area that need to deal with, that can be rectangle, circle, eclipse and irregular polygon <sup>[6]</sup> . In this paper we extract rectangle ROI area to check energy-saving lamp defect. With the development of semiconductor technology, it is possible for vision applications in embedded systems. For the reason that light weight, small size, low power consumption, high reliability and high resource utilization, it is the mainstream of development in the future that check deficient product based on machine vision in embedded solution. The work in this paper is carried out in development board configured with TMS320DM6467 processor <sup>[7]</sup> and in Davinci software framework <sup>[8]</sup> . This paper is organized as follows. The lamp post, tail and filament defect check of energy-saving lamp is introduced in chapter 2, 3 and 4 separately. At the end of the paper, the experiment and conclusion is given. Energy-saving lamp post defect check There are some flaws that consist in energy-saving lamp post, such as no filament, one post and tail flaw, as shown in Fig. 2. The fundamental principle is to determine the coordinate figure of the energy-saving lamp post, that can be used to judge the defect type. The characteristic points of the energy-saving lamp post are marked out in Fig. 3. The algorithm of defect check for the energy-saving lamp post is illustrated in the following. Fig. 2 Image of the energy-saving lamp post defect Fig. 3 Energy-saving lamp post marked with characteristic points (1) get the mid-point coordinate of bottom boundary of figure 3, that is _A_ ( _x_, _y_ ) . (2) traverse to right boundary and left boundary of ROI-based image from point A. For binary image,jump points should be traversed under normal circumstances. For the binary image of energy-saving lamp post, left jump points namely _B_ 1 <sup>(</sup> _x_ <sup>,</sup> _y_ <sup>)</sup>, _B_ 2 <sup>(</sup> _x_ <sup>,</sup> _y_ <sup>)</sup>,right jump points namely _C_ 1 <sup>(</sup> _x_ <sup>,</sup> _y_ <sup>)</sup>, _C_ 2 <sup>(</sup> _x_ <sup>,</sup> _y_ <sup>)</sup> . If there are just B or C points,the flaw can be judged as one post. If there are more points besides B and C points , that means tail wire is here. The corresponding energy-saving lamp is not good. If the energy-saving lamp has no post,ROI-based image should be blank and no points to be traversed. For further check demand, the width and height of energy-saving lamp post should be given. Firstly, we figure out the central coordinate of right and left jump points. The central coordinate of the jump points of two sides is expressed as _B_ ( _x_, _y_ ) and _C_ ( _x_, _y_ ) respectively. The x-axis and y-axis of B point, named as _xB_ and _yB_, calculated in Eq. 1. The x-axis and y-axis of C point, that is <sup>_x_</sup> _C_ <sup>and</sup> _yC_, calculated in Eq. 2. Then, the width of energy-saving lamp post can be gotten in Eq. 3.  _xB_ = _xB_ <u>1</u> +2   _yB_ = _height_ _xB_ = _xB_ <u>1</u> + _x_ _<u>B</u>_ <u>1</u> _<u>B</u>_ <u>2</u> _B_ = (1) <u>1</u> _<u>B</u>_ <u>2</u> 2 _yB_ = _height_ _B_  _xC_ = _xC_ <u>1</u> +2   _yC_ = _height_ _xC_ = _xC_ <u>1</u> + _x_ _C_ <u>1</u> _C_ <u>2</u> _C_ = (2) <u>1</u> _C_ <u>2</u> 2 _yC_ = _height_ _C_ _dn_ = _xB_ <u>2</u> - _xB_ <u>1</u> + _xC_ <u>2</u> - _xC_ <u>1</u> (3) _B_ <u>2</u> _B_ <u>1</u> _C_ <u>2</u> _C_ <u>1</u> _n_ = <u>2</u> _B_ <u>1</u> _C_ <u>2</u> _C_ <u>1</u> 2 Now we derive the height of energy-saving lamp post. Assumed pixel coordinate of ROI-based image as _I_ ( _x_, _y_ ), traverse to top boundary from B, the highest point, namely P point can be reached. Similarly, traverse to top boundary from C, the highest point, namely Q point can be reached. Then, the height of energy-saving lamp post, namely _hPQ_, can be gotten in Eq. 6.  _xP_ = _x_ , _I_ ( _x_, _yi_ ) - _I_ ( _x_, _yi_ −1) ≠ 0, _x_ ∈ (0, _xB_ ),0 < _i_ <  _yP_ = min( _yi_ ) _xP_ = _x_ _yP_ = min( , _yi_ ) _I_ ( _x_, _yi_ ) - _I_ ( _x_, _yi_ −1) ≠ 0, _x_ ∈ (0, _xB_ ),0 < _i_ < _height_ _P_ min( _x_, _yi_ ) _I_ ( _x_, _yi_ ) - _I_ ( _x_, _yi_ −1) ≠ 0, _x_ ∈ (0, _xB_ ),0 _P_ = min( _yi_ ) _i_ _i_ −1 _B_ (4)  _xQ_ = _x_, _I_ ( _x_, _yi_ ) - _I_ ( _x_, _yi_ −1) ≠ 0, _x_ ∈ ( _xC_, _width_ ),0 < _i_ < _height_  _yQ_ = min( _yi_ ) _xQ_ = _x_ _Q_ min( _yi_ ), _I_ ( _x_, _yi_ ) - _I_ ( _x_, _yi_ −1) ≠ 0, _x_ ∈ ( _xC_, _width_ ),0 (5) _Q_ = min( _yi_ ) _i_ _i_ −1 _C_ 1 _hPQ_ = _height_ - _yP_ + _height_ - _yQ_ (6) _PQ_ = _<u>P</u>_ _<u>Q</u>_ 2 Energy-saving lamp tail defect check In energy-saving lamp post check, some tail defects can be detected. But there are other defects that cannot be found, such as the cases shown in Fig. 4, tail inside and outside energy-saving lamp post. Tail is tungsten wires that could not be truncated in tail region. For the case of filament inside energy-saving lamp post, we need to check that inside area of lamp post if not null and then judge as tail flaw. Fig. 4 Filament defect image In Eq. 3 and Eq. 6, the height _hPQ_ and width _dn_ of energy-saving lamp post have been given. After test in industrial environment, rectangle check area is selected, between two posts of energy-saving lamp, under the height of energy-saving lamp post, as shown in Fig. 5. Point M is a vertex of the rectangle. The x-axis and y-axis of point M, _xM_ and _yM_, is given in Eq. 7. The length and width of this rectangle is given in Eq. 8. We then can get the rectangle data and check if filament here and then tail flaw. Fig. 5 Image of filament inside energy-saving lamp post  _xM_ = _xB_ + 2.5× _dn_  _yM_ = _height_ - ( _hPQ_ −×4 _d_ 2.5× _dn_ - ( _hPQ_ −×4 _dn_ ) _M_ _B_ _n_ (7) _M_ _PQ_ _n_  _h_ = _hPQ_ −×4 _dn_  _d_ = _xC_ - 2.5× _dn_ _h_ = _hPQ_ −×4 _d_ 4 _PQ_ _n_ _d_ = _xC_ - 2.5× _dn_ - _x_ 2.5 (8) _C_ _n_ _M_ Energy-saving lamp filament defect check Apart from post and tail flaw, there may be some flaws in energy-saving lamp filament. The flaws of energy-saving lamp tungsten are mainly expressed as clustering and twin wire. For the case of such flaw, we can figure out the proportional value of lamp tungsten and judge as clustering and twin wire if the proportional value more than the threshold. Firstly, we select ROI area, between B and C point and two times distance of _dn_ contracted respectively,the height of filament as ROI area height, point K as a vertex of ROI rectangle area, as shown in Fig. 6. The x-axis and y-axis of point K, _xK_ and _yK_, is given in Eq. 9. The height and width of ROI area is figured out in Eq. 10, then we get ROI area.  _xK_ = _xB_ + 2×  _yK_ = 0 _xK_ = _xB_ + 2× _d_ _yK_ = 0 _K_ _B_ _n_ (9) _K_ _xB_ + 2× _dn_ 0  _d_ _ROI_ = _xc_ −×2 _dn_ - _x_  _hROI_ = _height_ 2 _ROI_ _c_ _n_ _K_ (10) _ROI_ Fig. 6 ROI area Secondly, we need to select a good tungsten powder coating image, and figure out the proportional value between tungsten pixels and total pixels in ROI area, that as template parameter. As shown in Eq. 11, _SROI_ is the tungsten pixels in ROI area, _Sall_ is total pixels in ROI area, and _kROI_ as the proportional value. _kROI_ = _<u>SSROIall</u>_ (11) _ROI_ = _<u>ROI</u>_ _all_ In practical application, the corresponding proportional value k should be worked out in the same manner. Then we compare _k_ and _kROI_ value. As shown in Eq. 12, if k equal or greater than the sum of μ and _kROI_, the result P is 0, that means bad image. μ is float parameter here, defined in 3% actually. 0, _k_ ≥ _µ_ + _k_ _P_ =  1, _k_ < _µ_ + _k_  0, 1, _ROI_ _ROI_ (12) Over the method mentioned above, we can distinguish out tungsten image with flaw better. Fig. 7 shows clustering and twin wire image and their separate binary image. Fig. 7 Clustering and twin wire image and their separate binary image Experiment and Conclusion In actual production energy-saving lamp stays 1200 milliseconds in each line station. After performance test of image processing algorithm repeatedly, it processes image and outputs the result in 120 milliseconds, so it can satisfy real-time requirement of collection and processing in industrial production. We collect 12 group test data, and each group checks 500 images of tungsten filament. As shown in Table 1, the information such as the number of unqualified filament, the number of no filament, is given. The effective percentage and accuracy percentage in Table 1 is worked out from Eq. 13 and Eq. 14 respectively. Table 1. Sample check list test <u>number</u> number of <u>unqualified</u> number of no <u>filament</u> effective <u>percentage</u> accuracy <u>percentage</u> 1 500 8 32 92.00% 98.29% 2 500 11 48 88.20% 97.57% 3 500 12 85 80.60% 97.11% 4 500 7 49 88.80% 98.45% 5 500 8 46 89.20% 98.24% 6 500 8 25 93.40% 98.32% 7 500 10 50 88.00% 97.78% 8 500 7 11 96.40% 98.57% 9 500 9 81 82.00% 97.85% 10 500 13 62 85.00% 97.03% 11 500 16 32 90.40% 96.58% 12 500 14 66 84.00% 96.77% sum 6000 123 587 88.17% 97.73% _<u>sum</u>_ <u>−</u> <u>(</u> _<u>number</u>_ _<u>of</u>_ _<u>unqualified</u>_ <u>+</u> _<u>number</u>_ _<u>of</u>_ _<u>no filament</u>_ <u>)</u> _effecttive percentage_ = (13) _sum_ _<u>sum</u>_ <u>−</u> <u>(</u> _<u>number</u>_ _<u>of</u>_ _<u>unqualified</u>_ <u>+</u> _<u>number</u>_ _<u>of</u>_ _<u>no</u>_ _<u>filament</u>_ <u>)</u> _accuracy_ _percentage_ = (14) _sum_ - _number_ _of_ _no_ _filament_ The algorithm proposed in in this paper can distinguish the deficient energy-saving lamp with lamp post, tail and filament flaw and enhance the quality of product efficiently. The experimental result proves the algorithm good stability and the worth of application. Acknowledgement The work is supported by Zhejiang Provincial Natural Science Foundation of China (Grant No. LZ14F030001, LY12F01022). References [1] Luo Jing, Dong Tingting, Song Dan, Xiu Chunbo. A Review on Surface Defect Detection, Journal of Frontiers of Computer Science and Technology.2014,8(09): 1041-1048. [2] Kumar Ajay. Computer-vision-based fabric defect detection: a survey. IEEE Transactions on Industrial Electronics.2008,55(1): 348-363. [3] Malamas, E. N., et al. A survey on industrial vision systems, applications and tools. Image and vision computing.2003,21(2): 171-188. [4] Sun Chenggang. Technique and Facilities of Rotating Phosphor Coating for Spiral Compact Fluorescent Lamps. CHINA LIGHT & LIGHTING. 2010,(11):28-31. [5] Luo Jing,Lin Shuzhong,Ni Jianyun,Song Limei. Battery surface quality detection using variation model and morphology. Journal of Computational Information Systems.2010,6(4):1351-1356. [6] Zhang Peng,Wang Runsheng. A Survey of Detecting Regions of Interest in a Static Image. Journal of Image and Graphs.2005,10(2):142-148. [7] Yao Chunlian,Guo Keyou, Jiang Huming. Design of Embedded Electronic Video Processing System Based on DM6467. Advances in Mechanical and Electronic Engineering. Springer 2013: 487-492. [8] Pawate, B. I. Developing embedded software using DaVinci OMAP technology. Synthesis Lectures on Digital Circuits and Systems.2009,21: 1-152.

섹션 본문

섹션 본문이 없습니다.

참고문헌 6건

  1. Developing Embedded Software using DaVinci and OMAP Technology 2009
  2. A survey on industrial vision systems, applications and tools Image and Vision Computing · Elsevier BV · 2003 10.1016/s0262-8856(02)00152-x
  3. Computer-Vision-Based Fabric Defect Detection: A Survey IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2008 10.1109/tie.1930.896476
  4. Design of Embedded Electronic Video Processing System Based on DM6467 Lecture notes in electrical engineering · Springer Science+Business Media · 2012 10.1007/978-3-642-31528-2_77
  5. A Survey of Detecting Regions of Interest in a Static Image 2005
  6. A Review on Surface Defect Detection Jisuanji kexue yu tansuo · 2014