KR100304646B1 - Bottle inspection system and method thereof - Google Patents

Bottle inspection system and method thereof Download PDF

Info

Publication number
KR100304646B1
KR100304646B1 KR1019980047290A KR19980047290A KR100304646B1 KR 100304646 B1 KR100304646 B1 KR 100304646B1 KR 1019980047290 A KR1019980047290 A KR 1019980047290A KR 19980047290 A KR19980047290 A KR 19980047290A KR 100304646 B1 KR100304646 B1 KR 100304646B1
Authority
KR
South Korea
Prior art keywords
bottle
outline
list
outline data
camera
Prior art date
Application number
KR1019980047290A
Other languages
Korean (ko)
Other versions
KR20000031313A (en
Inventor
김준우
Original Assignee
윤종용
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 윤종용, 삼성전자 주식회사 filed Critical 윤종용
Priority to KR1019980047290A priority Critical patent/KR100304646B1/en
Publication of KR20000031313A publication Critical patent/KR20000031313A/en
Application granted granted Critical
Publication of KR100304646B1 publication Critical patent/KR100304646B1/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/30Measuring arrangements characterised by the use of optical techniques for measuring roughness or irregularity of surfaces
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/24Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection

Abstract

본 발명에 따른 병 검사장치는 컨베이어 장치에 의해 이송되는 병을 검사하기 위한 장치에 있어서, 상기 컨베이어 장치의 일측에 근접 설치되며, 컨베이어 장치에 의해 이송되어 소정의 위치를 통과하는 병에 광을 비추기 위한 광원; 상기 광원으로부터 소정 거리 이격되어 설치되며, 병을 통과한 광을 입사받아 상응하는 카메라 영상 신호를 출력하는 카메라; 상기 컨베이어 장치의 일측에 근접 설치되며, 병이 상기 카메라 앞을 통과할 때마다 대응되는 감지 신호를 발생시키는 센서; 상기 카메라 및 센서와 전기적으로 접속되며, 상기 센서로부터의 감지 신호에 따라 상기 카메라 영상 신호를 입력받아 병의 검사 작업을 수행하고, 그 결과 및 상기 입력받은 카메라 영상 신호를 출력하는 비젼 시스템; 및 상기 비젼 시스템으로부터의 출력신호를 입력받아 검사결과 및 카메라 영상을 화면에 나타내는 디스플레이 장치를 포함한다.The bottle inspection apparatus according to the present invention is a device for inspecting a bottle conveyed by a conveyor device, is installed in close proximity to one side of the conveyor device, and is projected by the conveyor device to shine light to the bottle passing through a predetermined position Light source for; A camera spaced apart from the light source by a predetermined distance and receiving light passing through the bottle and outputting a corresponding camera image signal; A sensor installed close to one side of the conveyor device and generating a corresponding detection signal each time the bottle passes in front of the camera; A vision system electrically connected to the camera and a sensor, the vision system receiving the camera image signal according to a detection signal from the sensor, performing a test operation on a bottle, and outputting a result and the received camera image signal; And a display device receiving an output signal from the vision system and displaying a test result and a camera image on a screen.

이와 같은 본 발명에 의하면, 병의 검사를 위한 외곽선 기억모듈, 양부 설정모듈, 검사영역 리스트 생성모듈 및 검사모듈의 프로그램이 내장된 비젼 시스템을 이용하여 병을 검사하게 되므로, 원하는 병과 원하지 않는 병을 자동으로 정밀하게 분류해 낼 수 있는 장점이 있다.According to the present invention, since the bottle is inspected using a vision system in which an outline memory module, a quantity setting module, an inspection area list generation module, and an inspection module program for testing a bottle are embedded, a desired bottle and an unwanted bottle are checked. It has the advantage of being able to sort out automatically.

Description

병 검사장치 및 그 방법{Bottle inspection system and method thereof}Bottle inspection system and method

본 발명은 병(bottle) 검사장치 및 그 방법에 관한 것으로서, 특히 병 검사를 위한 소정의 프로그램이 내장된 비젼 시스템(vision system)을 이용하여 원하는 병과 원하지 않는 병을 자동으로 정확히 분류해 낼 수 있는 병 검사장치 및 그 방법에 관한 것이다.The present invention relates to a bottle testing apparatus and a method thereof, and in particular, it is possible to automatically classify desired and undesired bottles automatically by using a vision system in which a predetermined program for checking a bottle is embedded. It relates to a bottle inspection device and a method thereof.

음료수 병 라인에 있어서, 내용물을 주입하는 장치에 병들이 도달되기 전에손상되거나 오염된 병을 미리 검사 및 제거하기 위해 통상 병 검사 장치들이 이용된다.In beverage bottle lines, bottle inspection devices are typically used to pre-screen and remove damaged or contaminated bottles before they reach the device for injecting the contents.

도 1은 그와 같은 종래 병 검사 장치의 개략적인 장치구성도이다.1 is a schematic device configuration diagram of such a conventional bottle inspection apparatus.

도 1을 참조하면, 종래 병 검사 장치(10)는 컨베이어 벨트(15)에 의해 이송되는 병(16)에 광을 비추기 위한 광원(11)과, 상기 병(16)의 측벽을 검사하기 위한 제1카메라(12)와, 상기 병(16)의 윤곽이나 높이 혹은 색상을 검사하기 위한 제2카메라(13)와, 상기 병(16)을 통과한 광빔이 상기 제1카메라(12)로 입사될 수 있도록 광빔의 경로를 반사시키기 위한 다수의 반사경(14a∼14g) 및 제어 프로그램에 의해상기 제1카메라(12)에 의해 기록된 이미지들을 읽고 계산하는 계산 장치(미도시)로 구성되어 있다. 여기서, 상기 제1카메라(12)에는 광경로를 따라 전송된 이미지들이 형성되는, CCD(charge coupled device)로 구성된 이미지 플레이트(미도시)가 설치되어 있다.Referring to FIG. 1, a conventional bottle inspection apparatus 10 includes a light source 11 for shining light onto a bottle 16 transported by a conveyor belt 15, and an agent for inspecting sidewalls of the bottle 16. The first camera 12, the second camera 13 for inspecting the outline, the height, or the color of the bottle 16, and the light beam passing through the bottle 16 are incident to the first camera 12. It consists of a plurality of reflectors 14a-14g for reflecting the path of the light beam and a calculation device (not shown) for reading and calculating the images recorded by the first camera 12 by a control program. Here, the first camera 12 is provided with an image plate (not shown) composed of a charge coupled device (CCD) in which images transmitted along the optical path are formed.

이상과 같은 구성의 종래 병 검사 장치(10)에 있어서, 컨베이어 벨트(15)에 의해 병(들)(16)이 이송되어 광원(11) 앞을 통과하게 되면, 광원(11)으로부터 조사된 광이 병(16)을 비추게 되고, 그렇게 병(16)을 통과한 광빔은 다수의 반사경(14a∼14g)에 의해 반사되어 제1카메라(12)로 입사된다. 그러면, 제1카메라(12)는 입사된 병(16)의 이미지들을 기록하고, 계산 장치는 그 기록된 이미지들을 읽고 계산한다. 그에 의해 병(16)의 측벽의 이상유무를 검출하게 된다. 또한, 병(16)을 통과한 광빔은 상기 반사경들(14a∼14g)을 경유함없이 직접 상기 제2카메라(13)로 입사되며, 제2카메라(13)는 입사된 광빔을 통해 병(16)의 윤곽이나 높이 혹은 색상을 기록하고, 상기 계산 장치는 그 기록된 데이터들을 읽고 계산한다. 그리고, 그에 의해 병(16)의 윤곽이나 높이 혹은 색상을 검출하게 된다.In the conventional bottle inspection apparatus 10 of the above structure, when the bottle (s) 16 are conveyed by the conveyor belt 15 and pass in front of the light source 11, the light irradiated from the light source 11 The bottle 16 is illuminated, and the light beam passing through the bottle 16 is reflected by a plurality of reflecting mirrors 14a to 14g and is incident on the first camera 12. Then, the first camera 12 records the images of the incident bottle 16, and the calculation device reads and calculates the recorded images. As a result, abnormality of the side wall of the bottle 16 is detected. In addition, the light beam passing through the bottle 16 is incident directly to the second camera 13 via the reflecting mirrors 14a to 14g, and the second camera 13 passes through the bottle 16 through the incident light beam. Record the contour, height or color of the device, and the calculation device reads and calculates the recorded data. Then, the outline, height or color of the bottle 16 is detected.

그런데, 이상과 같은 종래 병 검사 장치는 전술한 바와 같이, 다수의 반사경(14a∼14g)을 이용하므로, 광빔이 반사경들을 경유하는 동안에 투영된 병의이미지가 왜곡될 소지가 높고, 그에 따라 병의 불량을 정밀하게 검출하기 어려운 단점이 있다. 또한, 반사경들의 각도와 거리를 설계치대로 정밀하게 배치시키기가 쉽지 않고, 반사경들의 평면도 또한 정밀가공을 요구하는 등 장치 구성상에 기술적인 어려움이 수반된다.However, since the conventional bottle inspection apparatus as described above uses a plurality of reflecting mirrors 14a to 14g, there is a high possibility that the image of the projected bottle is distorted while the light beam passes through the reflecting mirrors, thereby There is a disadvantage that it is difficult to accurately detect a defect. In addition, it is not easy to precisely arrange the angle and distance of the reflectors according to the design value, and the technical plan is accompanied by technical difficulties such as the plan view of the reflectors also requires precision processing.

본 발명은 상기와 같은 문제점을 개선하기 위하여 창출된 것으로서, 비젼 시스템을 이용하여 원하는 병과 원하지 않는 병을 자동으로 정확히 분류해 낼 수 있는 병 검사장치 및 그 방법을 제공함에 그 목적이 있다.SUMMARY OF THE INVENTION The present invention has been made to improve the above problems, and an object thereof is to provide a bottle inspection apparatus and a method for automatically classifying desired and undesired bottles automatically using a vision system.

도 1은 종래 병 검사 장치의 개략적인 장치 구성도.1 is a schematic device configuration diagram of a conventional bottle inspection device.

도 2는 본 발명에 따른 병 검사장치의 개략적인 장치 구성도.Figure 2 is a schematic device configuration of the bottle inspection apparatus according to the present invention.

도 3은 도 2의 병 검사장치의 카메라에 입력되는 병의 영상을 나타낸 도면.3 is a view showing an image of a bottle input to the camera of the bottle inspection device of FIG.

도 4는 도 2의 병 검사장치의 비젼 시스템의 개략적인 내부 구성도.4 is a schematic internal configuration diagram of a vision system of the bottle inspection device of FIG.

도 5는 본 발명에 따른 병 검사방법의 실행 과정을 나타낸 플로우 챠트.5 is a flow chart showing the execution process of the bottle inspection method according to the present invention.

도 6 및 도 7은 본 발명에 따른 병 검사방법에 있어서, 병 외곽선 데이터의 생성 과정을 설명하는 도면.6 and 7 are views illustrating a process of generating bottle outline data in the bottle inspection method according to the present invention.

도 8 및 도 9는 본 발명에 따른 병 검사방법에 있어서, 검사영역의 생성 과정을 설명하는 도면.8 and 9 are views illustrating a process of generating an inspection area in the bottle inspection method according to the present invention.

<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for main parts of the drawings>

11,21...광원 12...제1카메라11,21 ... light source 12 ... first camera

13...제2카메라 14a∼14g...반사경13 Second Camera 14a-14g ...

15...컨베이어 벨트 16,28...병15 ... conveyor belt 16,28 ... bottle

22...카메라 23...센서22 Camera ... 23 Sensor

24...비젼 시스템 25...모니터24 ... vision system 25 ... monitor

26...마우스 27...컨베이어 장치26 ... Mouse 27 ... Conveyor Unit

31...카메라 영상 41...외곽선 기억모듈31.Camera image 41 ... Outline memory module

42...양부 설정모듈 43...검사영역 리스트 생성모듈42 ... setting module 43 ... inspection area list generation module

44...검사 모듈 41a,42a,43a...마우스 입력44 Inspection module 41a, 42a, 43a ... Mouse input

41b...외곽선 기억용 병 입력영상 41c...병 외곽선 데이터41b ... Outline memory bottle input image 41c ... Bottle outline data

42b...양품 외곽선 데이터 참조 리스트 43b...외곽선 오차한계42b ... Goods outline data reference list 43b ... Outline margin of error

42c...불량 외곽선 데이터 참조 리스트 43c...검사영역 리스트42c ... Bad outline data reference list 43c ... Inspection area list

44a...센서 감지신호 44b...검사용 병 입력영상44a ... Sensor detection signal 44b ... Inspection bottle input image

44c...퇴출신호44c ... eject signal

상기의 목적을 달성하기 위하여 본 발명에 따른 병 검사장치는, 컨베이어 장치에 의해 이송되는 병을 검사하기 위한 장치에 있어서, 상기 컨베이어 장치의 일측에 근접 설치되며, 컨베이어 장치에 의해 이송되어 소정의 위치를 통과하는 병에 광을 비추기 위한 광원; 상기 광원으로부터 소정 거리 이격되어 설치되며, 병을 통과한 광을 입사받아 상응하는 카메라 영상 신호를 출력하는 카메라; 상기 컨베이어 장치의 일측에 근접 설치되며, 병이 상기 카메라 앞을 통과할 때마다 대응되는 감지 신호를 발생시키는 센서; 상기 카메라 및 센서와 전기적으로 접속되며, 상기 센서로부터의 감지 신호에 따라 상기 카메라 영상 신호를 입력받아 병의 검사 작업을 수행하고, 그 결과 및 상기 입력받은 카메라 영상 신호를 출력하는 비젼 시스템; 및 상기 비젼 시스템으로부터의 출력신호를 입력받아 검사결과 및 카메라 영상을 화면에 나타내는 디스플레이 장치를 포함하는 점에 그 특징이 있다.In order to achieve the above object, the bottle inspection apparatus according to the present invention, in the device for inspecting the bottles conveyed by the conveyor apparatus, is installed in close proximity to one side of the conveyor apparatus, is transferred by the conveyor apparatus to a predetermined position A light source for illuminating the bottle passing through the light source; A camera spaced apart from the light source by a predetermined distance and receiving light passing through the bottle and outputting a corresponding camera image signal; A sensor installed close to one side of the conveyor device and generating a corresponding detection signal each time the bottle passes in front of the camera; A vision system electrically connected to the camera and a sensor, the vision system receiving the camera image signal according to a detection signal from the sensor, performing a test operation on a bottle, and outputting a result and the received camera image signal; And a display device receiving an output signal from the vision system and displaying a test result and a camera image on a screen.

여기서, 상기 비젼 시스템은 외곽선 기억용 병 입력영상들을 입력받아 병 외곽선 데이터들을 생성하는 외곽선 기억 모듈; 상기 병 외곽선 데이터마다 양부 설정 명령을 입력받아 양품 외곽선 데이터 참조 리스트와 불량 외곽선 데이터 참조 리스트를 생성하는 양부 설정 모듈; 외곽선 오차 한계 설정 명령을 입력받아 상기 병 외곽선 데이터, 양품 외곽선 데이터 참조 리스트 및 불량 외곽선 데이터 참조 리스트를 바탕으로 외곽선 오차 한계와 검사영역 리스트를 생성하는 검사영역 리스트 생성 모듈; 및 센서로부터의 감지 신호가 발생할 때마다 검사용 병 입력영상을 입력받아 그것을 상기 검사영역 리스트에 따라 내부적으로 외곽선을 생성하고, 그 생성된 외곽선을 상기 병 외곽선 데이터들과 비교하여 그 차이값이 상기 외곽선 오차한계보다 크면 퇴출신호를 출력하는 검사 모듈을 포함한다.The vision system may include: an outline memory module configured to receive bottle input images for outline storage and generate bottle outline data; A nursing unit setting module configured to generate a non-defective unit data reference list and a defective outline data reference list by receiving a unit setting command for each bottle outline data; An inspection region list generation module configured to receive an outline error limit setting command and generate an outline error margin and an inspection region list based on the bottle outline data, a good outline data reference list, and a bad outline data reference list; And receiving a test bottle input image whenever a detection signal from the sensor is generated, and generates an outline thereof according to the test area list, and compares the generated outline with the bottle outline data to obtain the difference value. It includes an inspection module for outputting the exit signal if the boundary error is greater than.

또한, 상기의 목적을 달성하기 위하여 본 발명에 따른 병 검사방법은, (a) 사용자에 의한 외곽선 기억명령의 입력에 따라 외곽선 기억용 병 입력영상을 입력하는 단계; (b) 상기 입력된 외곽선 기억용 병 입력영상에 따라 병 외곽선 데이터를 생성하는 단계; (c) 사용자에 의한 양부 설정 명령의 입력에 따라 양품 외곽선 데이터 참조 리스트와 불량 외곽선 데이터 참조 리스트를 생성하는 단계; (d) 외곽선 오차 한계 설정 명령을 입력받아 상기 병 외곽선 데이터, 양품 외곽선 데이터 참조 리스트 및 불량 외곽선 데이터 참조 리스트를 바탕으로 외곽선 오차 한계와 검사영역 리스트를 생성하는 단계; (e) 센서로부터의 감지 신호가 발생할 때마다 검사용 병 입력영상을 입력받아 그것을 상기 검사영역 리스트에 따라 내부적으로 외곽선을 생성하는 단계; 및 (f) 상기 생성된 외곽선의 데이터와 상기 병 외곽선데이터들을 비교하여 그 차이값이 상기 외곽선 오차한계보다 크면 퇴출신호를 출력하는 단계를 포함하는 점에 그 특징이 있다.In addition, in order to achieve the above object, the bottle inspection method according to the present invention comprises the steps of: (a) inputting an outline memory bottle input image according to the input of the outline memory command by the user; (b) generating bottle outline data according to the input bottle input image for storing the outline; (c) generating a non-defective data reference list and a bad outline data reference list according to an input of a non-fit setting command by the user; (d) generating an outline error limit and an inspection area list based on the bottle outline data, a good article data reference list, and a bad outline data reference list by receiving a command for setting an outline error limit; (e) receiving a test bottle input image each time a detection signal from the sensor is generated and generating the outline internally according to the test area list; And (f) comparing the generated outline data with the bottle outline data and outputting an exit signal if the difference is greater than the outline error limit.

이와 같은 본 발명에 의하면, 병의 검사를 위한 외곽선 기억모듈, 양부 설정모듈, 검사영역 리스트 생성모듈 및 검사모듈의 프로그램이 내장된 비젼 시스템을 이용하여 병을 검사하게 되므로, 원하는 병과 원하지 않는 병을 자동으로 정밀하게 분류해 낼 수 있는 장점이 있다.According to the present invention, since the bottle is inspected using a vision system in which an outline memory module, a quantity setting module, an inspection area list generation module, and an inspection module program for testing a bottle are embedded, a desired bottle and an unwanted bottle are checked. It has the advantage of being able to sort out automatically.

이하 첨부된 도면을 참조하면서 본 발명의 실시예를 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명에 따른 병 검사장치의 개략적인 장치 구성도이다.2 is a schematic device configuration of a bottle inspection apparatus according to the present invention.

도 2를 참조하면, 본 발명에 따른 병 검사장치는 컨베이어 장치(27)의 일측에 근접 설치되며, 컨베이어 장치(27)에 의해 이송되어 소정의 위치를 통과하는 병(28)에 광을 비추기 위한 광원(21)과, 그 광원(21)으로부터 소정 거리 이격되어 설치되며, 병(28)을 통과한 광을 입사받아 도 3에 도시된 바와 같은 상응하는 카메라 영상(31) 신호를 출력하는 카메라(22)와, 상기 컨베이어 장치(27)의 일측에 근접 설치되며, 병(28)이 상기 카메라(22) 앞을 통과할 때마다 대응되는 감지 신호를 발생하는 센서(23)와, 상기 카메라(22) 및 센서(23)와 전기적으로 접속되며, 상기 센서(23)로부터의 감지 신호에 따라 상기 카메라 영상(31) 신호를 입력받아 병(28)의 검사 작업을 수행하고, 그 결과 및 상기 입력받은 카메라 영상(31) 신호를 출력하는 비젼 시스템(24) 및 그 비젼 시스템(24)으로부터의 출력신호를 입력받아 검사결과 및 카메라 영상(31)을 화면에 나타내는 디스플레이 장치(25)로서의 모니터를 구비한다.2, the bottle inspection apparatus according to the present invention is installed in close proximity to one side of the conveyor device 27, for the purpose of shining light to the bottle 28, which is transported by the conveyor device 27 and passes through a predetermined position A camera which is installed at a light source 21 and spaced apart from the light source 21 by a predetermined distance, and receives light passing through the bottle 28 and outputs a corresponding camera image 31 signal as shown in FIG. 22 and a sensor 23 which is installed in close proximity to one side of the conveyor device 27 and generates a corresponding detection signal each time the bottle 28 passes in front of the camera 22, and the camera 22. ) Is electrically connected to the sensor 23 and receives the camera image 31 signal according to the detection signal from the sensor 23 to perform an inspection operation on the bottle 28. Vision system 24 and the vision system 24 for outputting a camera image 31 signal It receives the output signals from and a check result as a monitor and a display device 25 showing the video camera 31 on the screen.

여기서, 상기 비젼 시스템(24)은 도 4에 도시된 바와 같이, 사용자에 의한 마우스(26:도 2 참조) 입력(외곽선 기억명령)(41a)에 따라 외곽선 기억용 병 입력영상들(41b)을 입력받아 병 외곽선 데이터들(41c)을 생성하는 외곽선 기억 모듈(41)과, 사용자의 마우스(26) 입력(양부 설정명령)(42a)에 따라 상기 병 외곽선 데이터(41c)마다 양품 외곽선 데이터 참조 리스트(42b)와 불량 외곽선 데이터 참조 리스트(42c)를 생성하는 양부 설정 모듈(42)과, 사용자의 마우스(26) 입력(43a)에 의한 외곽선 오차 한계 설정 명령을 입력받아 상기 병 외곽선 데이터(41c), 양품 외곽선 데이터 참조 리스트(42b) 및 불량 외곽선 데이터 참조 리스트(42c)를 바탕으로 외곽선 오차 한계(43b)와 검사영역 리스트(43c)를 생성하는 검사영역 리스트 생성 모듈(43) 및 상기 센서(23)로부터의 감지 신호(44a)가 발생할 때마다 검사용 병 입력영상(44b)을 입력받아 그것을 상기 검사영역 리스트(43c)에 따라 내부적으로 외곽선을 생성하고, 그 생성된 외곽선을 상기 병 외곽선 데이터들(41c)과 비교하여 그 차이값이 상기 외곽선 오차한계(43b)보다 크면 퇴출신호(44c)를 출력하는 검사 모듈(44)을 구비한다.Here, the vision system 24, as shown in Figure 4, according to the mouse (26 (see Figure 2)) input by the user (outline memory command) 41a of the outline storage bottle input images (41b) According to the outline memory module 41 which receives the bottle outline data 41c and generates a bottle outline data reference list for each of the bottle outline data 41c according to the user's mouse 26 input (feature setting command) 42a. The bottle outline data 41c receives an input of a contradictory setting module 42 for generating a 42b and a bad outline data reference list 42c, and an edge error limit setting command by a user's mouse 26 input 43a. And an inspection region list generation module 43 and a sensor 23 for generating an outline error limit 43b and an inspection region list 43c based on the good quality outline data reference list 42b and the bad outline data reference list 42c. Sense signal 44a from Each time a test bottle input image 44b is received, an outline is generated internally according to the test region list 43c, and the difference is compared with the bottle outline data 41c. The inspection module 44 for outputting the exit signal 44c is greater than the outline error limit 43b.

그러면, 이상과 같은 구성을 갖는 본 발명에 따른 병 검사장치에 의해 병을 검사하는 과정에 대해 도 2 내지 도 5를 참조하면서 설명해 보기로 한다.Then, a process of inspecting a bottle by the bottle inspection apparatus according to the present invention having the above configuration will be described with reference to FIGS. 2 to 5.

도 5는 본 발명에 따른 병 검사방법의 실행 과정을 나타낸 플로우 챠트이다.5 is a flowchart showing the execution process of the bottle inspection method according to the present invention.

도 5를 참조하면, 본 발명의 방법에 따라 먼저 사용자의 마우스(26) 입력에 의한 외곽선 기억명령의 입력에 따라 외곽선 기억용 병 입력영상(41b)을 비젼 시스템(24)의 외곽선 기억 모듈(41)에 입력하게 된다(단계 51). 그런 다음, 그 입력된외곽선 기억용 병 입력영상(41b)에 따라 병 외곽선 데이터(41c)를 생성한다(단계 52). 여기서, 이 병 외곽선 데이터(41c)는, 도 6에 도시된 바와 같이 입력된 병의 영상(61)을 바탕으로 외곽선 데이터 측정 시작위치(62)를 찾고, 그 시작위치(62)로부터 병의 길이방향(도 6에서는 하부 방향)을 따라 병의 직경 값(63)을 구하여 하나의 외곽선 데이터 리스트를 만듦으로써 생성된다. 이때, 이 외곽선데이터 리스트를 그래프화할 경우 도 7과 같이 표현될 수 있다.Referring to FIG. 5, according to the method of the present invention, the outline storage module 41b of the vision system 24 is first outputted with the outline storage bottle input image 41b according to the input of the outline storage command by the user's mouse 26. (Step 51). Then, the bottle outline data 41c is generated according to the inputted outline storage bottle input image 41b (step 52). Here, the bottle outline data 41c finds the outline data measurement start position 62 based on the image 61 of the bottle input as shown in FIG. 6, and the length of the bottle from the start position 62. The diameter value 63 of the bottle along the direction (bottom in FIG. 6) is obtained to create one outline data list. In this case, when the outline data list is graphed, it may be expressed as shown in FIG. 7.

이렇게 하여 병 외곽선 데이터(41c)의 생성이 완료되면, 사용자의 마우스(26) 입력에 의한 양부 설정 명령의 입력에 따라 양품 외곽선 데이터 참조 리스트(42b)와 불량 외곽선 데이터 참조 리스트(42c)를 생성하게 된다(단계 53). 그런 후, 사용자의 마우스(26) 입력에 의한 외곽선 오차 한계 설정 명령을 입력받아 상기 병 외곽선 데이터(41c), 양품 외곽선 데이터 참조 리스트(42b) 및 불량 외곽선 데이터 참조 리스트(42c)를 바탕으로 외곽선 오차 한계(43b)와 검사영역 리스트(43c)를 생성한다(단계 54). 여기서, 이 검사영역 리스트(43c)를 생성하는 과정에 대해 도 8 및 도 9를 참조하면서 좀 더 상세히 설명해 보기로 한다.In this way, when the generation of the bottle outline data 41c is completed, the product outline data reference list 42b and the defective outline data reference list 42c are generated in accordance with the input of the command of the fostering setting by the user's mouse 26 input. (Step 53). Thereafter, the user inputs an outline error limit setting command input by the user's mouse 26, and receives an outline error based on the bottle outline data 41c, a good quality data reference list 42b, and a bad outline data reference list 42c. The limit 43b and the inspection area list 43c are generated (step 54). Here, the process of generating the inspection area list 43c will be described in more detail with reference to FIGS. 8 and 9.

먼저, 상기 양품 외곽선 데이터 참조 리스트(42b)의 각 양품 외곽선 데이터(81)에서 상기 불량 외곽선 데이터 참조 리스트(42c)의 각 불량 외곽선 데이터(82)를 감산한 결과들을 원소로 갖는 하나의 집합(83)을 생성하게 된다. 그런 다음, 그 집합(83)의 원소들중 최대값(M)을 찾고, 그것이 상기 외곽선 오차 한계보다 크면 해당되는 집합의 특정 검사영역(P)을 상기 검사영역 리스트(43c)에 추가하고 상기 최대값(M)의 원소를 상기 집합(83)에서 삭제하며, 상기 집합(83)의 나머지 원소들에 대해서도 상기 집합(83)의 검사영역 위치(P)에서 구한 최대값(M)이 상기 외곽선 오차 한계보다 크면 그 해당 원소를 상기 집합(83)에서 삭제한다. 그런 후, 상기 집합(83)의 크기가 0이 될 때까지 상기 과정을 반복 수행하여 최종적으로 생성된 검사영역 리스트를 취함으로써 검사영역 리스트(43c)가 생성된다.First, one set 83 having, as elements, the results of subtracting each defective outline data 82 from the defective outline data reference list 42c from each of the defective outline data reference list 42b. Will be generated. Then, find the maximum value M of the elements of the set 83, and if it is larger than the outline error limit, add the specific inspection area P of the corresponding set to the inspection area list 43c and the maximum The element M of the value M is deleted from the set 83, and the maximum value M obtained from the inspection region position P of the set 83 is the outline error for the remaining elements of the set 83 as well. If greater than the limit, the element is deleted from the set 83. Then, the inspection area list 43c is generated by repeating the above process until the size of the set 83 is zero and taking the finally generated inspection area list.

이상에 의해 검사영역 리스트(43c)의 생성이 완료되면, 검사 모듈(44)은 상기 센서(23)로부터의 감지 신호(44a)가 발생할 때마다 검사용 병 입력영상(44b)을 입력받아 그것을 상기 검사영역 리스트(43c)에 따라 내부적으로 외곽선을 생성하게 된다(단계 55). 그리고, 그 생성된 외곽선의 데이터(NCD:편의상 이와 같이 표시하기로 함)와 상기 병 외곽선 데이터들(RCD:편의상 이와 같이 표시하기로 함)을 비교하여 그 차이값(NCD-RCD)이 상기 외곽선 오차한계보다 큰 지를 판별한다(단계 56). 이 판별에서, 그 차이값(NCD-RCD)이 외곽선 오차한계보다 크면, 검사 모듈(44)은 퇴출신호(44c)를 컨베이어 장치(27)로 출력한다(단계 57). 이는 불량병 혹은 원하지 않는 종류의 병이 투입되었음을 의미하는 것으로, 퇴출신호를 수신한 컨베이어 장치(27)는 해당 병을 컨베이어 벨트(미도시)로부터 퇴출시키게 된다. 한편, 상기 단계 56에서, 상기 차이값(NCD-RCD)이 외곽선 오차한계보다 크지 않으면, 검사 모듈(44)은 정상적인 병이 투입된 것으로 인지하고, 별다른 신호를 출력하지 않는다. 이렇게 하여 하나의 병에 대한 검사 사이클이 완료된다.When the generation of the inspection region list 43c is completed by the above, the inspection module 44 receives the inspection bottle input image 44b every time the detection signal 44a from the sensor 23 occurs, and An outline is generated internally according to the inspection area list 43c (step 55). Then, the generated outline data (NCD: will be displayed in this way for convenience) and the bottle outline data (RCD: will be displayed in this way for convenience) and the difference value (NCD-RCD) is compared to the outline. It is determined whether it is larger than the error limit (step 56). In this determination, if the difference value NCD-RCD is larger than the outline error limit, the inspection module 44 outputs the exit signal 44c to the conveyor apparatus 27 (step 57). This means that a defective bottle or an undesired type of bottle has been put in, and the conveyor apparatus 27 receiving the exit signal causes the bottle to be removed from the conveyor belt (not shown). On the other hand, in step 56, if the difference value (NCD-RCD) is not larger than the marginal error limit, the inspection module 44 recognizes that the normal bottle is inserted, and does not output a different signal. This completes the inspection cycle for one bottle.

이상의 설명에서와 같이, 본 발명에 따른 병 검사장치 및 그 방법은 병의 검사를 위한 외곽선 기억모듈, 양부 설정모듈, 검사영역 리스트 생성모듈 및 검사모듈의 프로그램이 내장된 비젼 시스템을 이용하여 병을 검사하게 되므로, 원하는 병과 원하지 않는 병을 자동으로 정밀하게 분류해 낼 수 있는 장점이 있다.As described above, the bottle inspection apparatus and the method according to the present invention is to open the bottle by using a vision system with a program of the outline memory module, the head setting module, the inspection area list generation module and the inspection module for the examination of the bottle Since the inspection, there is an advantage that can automatically and precisely classify the desired and unwanted bottles.

Claims (5)

컨베이어 장치에 의해 이송되는 병을 검사하기 위한 장치에 있어서,An apparatus for inspecting a bottle carried by a conveyor apparatus, 상기 컨베이어 장치의 일측에 근접 설치되며, 컨베이어 장치에 의해 이송되어 소정의 위치를 통과하는 병에 광을 비추기 위한 광원;A light source disposed proximate to one side of the conveyor apparatus and configured to emit light into a bottle that is transferred by the conveyor apparatus and passes through a predetermined position; 상기 광원으로부터 소정 거리 이격되어 설치되며, 병을 통과한 광을 입사받아 상응하는 카메라 영상 신호를 출력하는 카메라;A camera spaced apart from the light source by a predetermined distance and receiving light passing through the bottle and outputting a corresponding camera image signal; 상기 컨베이어 장치의 일측에 근접 설치되며, 병이 상기 카메라 앞을 통과할 때마다 대응되는 감지 신호를 발생시키는 센서;A sensor installed close to one side of the conveyor device and generating a corresponding detection signal each time the bottle passes in front of the camera; 상기 카메라 및 센서와 전기적으로 접속되며, 상기 센서로부터의 감지 신호에 따라 상기 카메라 영상 신호를 입력받아 병의 검사 작업을 수행하고, 그 결과 및 상기 입력받은 카메라 영상 신호를 출력하는 비젼 시스템; 및A vision system electrically connected to the camera and a sensor, the vision system receiving the camera image signal according to a detection signal from the sensor, performing a test operation on a bottle, and outputting a result and the received camera image signal; And 상기 비젼 시스템으로부터의 출력신호를 입력받아 검사결과 및 카메라 영상을 화면에 나타내는 디스플레이 장치를 포함하는 것을 특징으로 하는 병 검사장치.And a display device receiving an output signal from the vision system and displaying a test result and a camera image on a screen. 제 1 항에 있어서,The method of claim 1, 상기 비젼 시스템은 외곽선 기억용 병 입력영상들을 입력받아 병 외곽선 데이터들을 생성하는 외곽선 기억 모듈;The vision system may include: an outline memory module configured to receive bottle input images for outline storage and generate bottle outline data; 상기 병 외곽선 데이터마다 양부 설정 명령을 입력받아 양품 외곽선 데이터 참조 리스트와 불량 외곽선 데이터 참조 리스트를 생성하는 양부 설정 모듈;A nursing unit setting module configured to generate a non-defective unit data reference list and a defective outline data reference list by receiving a unit setting command for each bottle outline data; 외곽선 오차 한계 설정 명령을 입력받아 상기 병 외곽선 데이터, 양품 외곽선 데이터 참조 리스트 및 불량 외곽선 데이터 참조 리스트를 바탕으로 외곽선 오차 한계와 검사영역 리스트를 생성하는 검사영역 리스트 생성 모듈; 및An inspection region list generation module configured to receive an outline error limit setting command and generate an outline error margin and an inspection region list based on the bottle outline data, a good outline data reference list, and a bad outline data reference list; And 센서로부터의 감지 신호가 발생할 때마다 검사용 병 입력영상을 입력받아 그것을 상기 검사영역 리스트에 따라 내부적으로 외곽선을 생성하고, 그 생성된 외곽선을 상기 병 외곽선 데이터들과 비교하여 그 차이값이 상기 외곽선 오차한계보다 크면 퇴출신호를 출력하는 검사 모듈을 포함하는 것을 특징으로 하는 병 검사장치.Whenever the detection signal from the sensor is received, the test bottle input image is input to generate an outline internally according to the inspection region list, and the generated outline is compared with the bottle outline data, and the difference value is the outline. And a test module for outputting a withdrawal signal if greater than the error limit. (a) 사용자에 의한 외곽선 기억명령의 입력에 따라 외곽선 기억용 병 입력영상을 입력하는 단계;(a) inputting an outline memory bottle input image according to an input of an outline memory command by a user; (b) 상기 입력된 외곽선 기억용 병 입력영상에 따라 병 외곽선 데이터를 생성하는 단계;(b) generating bottle outline data according to the input bottle input image for storing the outline; (c) 사용자에 의한 양부 설정 명령의 입력에 따라 양품 외곽선 데이터 참조 리스트와 불량 외곽선 데이터 참조 리스트를 생성하는 단계;(c) generating a non-defective data reference list and a bad outline data reference list according to an input of a non-fit setting command by the user; (d) 외곽선 오차 한계 설정 명령을 입력받아 상기 병 외곽선 데이터, 양품 외곽선 데이터 참조 리스트 및 불량 외곽선 데이터 참조 리스트를 바탕으로 외곽선 오차 한계와 검사영역 리스트를 생성하는 단계;(d) generating an outline error limit and an inspection area list based on the bottle outline data, a good article data reference list, and a bad outline data reference list by receiving a command for setting an outline error limit; (e) 센서로부터의 감지 신호가 발생할 때마다 검사용 병 입력영상을 입력받아 그것을 상기 검사영역 리스트에 따라 내부적으로 외곽선을 생성하는 단계; 및(e) receiving a test bottle input image each time a detection signal from the sensor is generated and generating the outline internally according to the test area list; And (f) 상기 생성된 외곽선의 데이터와 상기 병 외곽선 데이터들을 비교하여 그 차이값이 상기 외곽선 오차한계보다 크면 퇴출신호를 출력하는 단계를 포함하는 것을 특징으로 하는 병 검사방법.and (f) comparing the generated outline data with the bottle outline data and outputting an exit signal if the difference is greater than the outline error limit. 제 3 항에 있어서,The method of claim 3, wherein 상기 단계(b)의 병 외곽선 데이터는, 입력된 병의 영상을 바탕으로 외곽선 데이터 측정 시작위치를 찾고, 그 시작위치로부터 병의 길이방향을 따라 병의 직경 값을구하여 하나의 리스트를 만듦으로써 생성되는 것을 특징으로 하는 병 검사방법.The bottle outline data of step (b) is generated by finding a start point of the measurement of the outline data based on the input image of the bottle, and obtaining a diameter value of the bottle along the length direction of the bottle from the start position to create a list. Bottle inspection method characterized in that. 제 3 항에 있어서,The method of claim 3, wherein 상기 단계(d)의 검사영역 리스트의 생성 방법은,The method of generating a test region list of step (d), (d-1) 상기 양품 외곽선 데이터 리스트의 각 양품 외곽선 데이터에서 상기 불량 외곽선 데이터 리스트의 각 불량 외곽선 데이터를 감산한 결과들을 원소로 갖는 하나의 집합을 생성하는 단계;(d-1) generating a set having elements as a result of subtracting each bad outline data of the bad outline data list from each good outline data of the good quality outline data list; (d-2) 상기 집합의 원소들중 최대값을 찾고, 그것이 상기 외곽선 오차 한계보다 크면 해당되는 집합의 검사영역을 상기 검사영역 리스트에 추가하고 상기 최대값의 원소를 상기 집합에서 삭제하며, 상기 집합의 나머지 원소들에 대해서도 상기 집합의 검사영역 위치에서 구한 최대값이 상기 외곽선 오차 한계보다 크면 그해당 원소를 상기 집합에서 삭제하는 단계;(d-2) find the maximum value of the elements of the set, and if it is larger than the outline error limit, add the inspection area of the corresponding set to the inspection area list and delete the element of the maximum value from the collection; Deleting the remaining elements of the set from the set if the maximum value obtained from the inspection region position of the set is larger than the outline error limit; (d-3) 상기 집합의 크기가 0이 될 때까지 상기 단계 (d-2)를 반복 수행하는 단계; 및(d-3) repeating step (d-2) until the size of the set becomes zero; And (d-4) 상기 단계(d-3)의 수행 완료 후, 최종적으로 생성된 검사영역 리스트를 취하는 단계를 포함하는 것을 특징으로 하는 병 검사방법.(d-4) After the completion of the step (d-3), comprising the step of taking the finally generated inspection area list.
KR1019980047290A 1998-11-05 1998-11-05 Bottle inspection system and method thereof KR100304646B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980047290A KR100304646B1 (en) 1998-11-05 1998-11-05 Bottle inspection system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980047290A KR100304646B1 (en) 1998-11-05 1998-11-05 Bottle inspection system and method thereof

Publications (2)

Publication Number Publication Date
KR20000031313A KR20000031313A (en) 2000-06-05
KR100304646B1 true KR100304646B1 (en) 2001-11-02

Family

ID=19557229

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980047290A KR100304646B1 (en) 1998-11-05 1998-11-05 Bottle inspection system and method thereof

Country Status (1)

Country Link
KR (1) KR100304646B1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101147628B1 (en) * 2008-10-23 2012-05-24 주식회사 서일 Straw inferior goods detection and honest goods throwing apparatus
AU2016426890B2 (en) 2016-10-19 2020-10-29 Coglix Co.Ltd. Inspection method and apparatus
KR102233906B1 (en) * 2016-10-19 2021-03-30 주식회사 코글릭스 Inspection method and device
CN110586515A (en) * 2019-10-28 2019-12-20 沈阳维特自动化设备有限公司 Bottle visual inspection conveyor

Also Published As

Publication number Publication date
KR20000031313A (en) 2000-06-05

Similar Documents

Publication Publication Date Title
US4378494A (en) Apparatus and method for detecting defects in glass bottles using event proximity
US5586058A (en) Apparatus and method for inspection of a patterned object by comparison thereof to a reference
US4378495A (en) Method and apparatus for setup of inspection devices for glass bottles
TWI693397B (en) Inspection management system, inspection management device and inspection management method
JPH01269034A (en) Package inspection system
JPH06505333A (en) Method and apparatus for inspecting liquid-filled containers
US20080175466A1 (en) Inspection apparatus and inspection method
JPS5937451A (en) Method and device for automatically inspecting vessel
US4165939A (en) Apparatus for inspection and dimensional measurement by sequential reading
NL8303860A (en) METHOD AND APPARATUS FOR THE OPTICAL DETECTION OF RADIAL, REFLECTIVE DEFECTS.
KR100389524B1 (en) Defect inspection method and device thereof
US20080040064A1 (en) Surface inspection apparatus and surface inspection method
JP2000180382A (en) Visual examination apparatus
JP4361156B2 (en) Appearance inspection equipment for articles
KR100304646B1 (en) Bottle inspection system and method thereof
US4467350A (en) Method and apparatus for rapidly extracting significant data from a sparse object
US11633763B2 (en) Sequential imaging for container sidewall inspection
JP3789696B2 (en) Battery electrolyte leak inspection apparatus and battery electrolyte leak inspection method
TWM551269U (en) Optical type flaw inspection device based on multi-resolution image
JP4956077B2 (en) Defect inspection apparatus and defect inspection method
JPS62229050A (en) Surface detect inspection of object
JPH0827181B2 (en) Automatic coating skin inspection device
JP2715897B2 (en) IC foreign matter inspection apparatus and method
JPH04270951A (en) Method for inspecting bottle
JPH0245706A (en) Shape inspecting device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20080708

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee