KR20180038857A - Visual inspection apparatus and method of optical calibration of the same - Google Patents
Visual inspection apparatus and method of optical calibration of the same Download PDFInfo
- Publication number
- KR20180038857A KR20180038857A KR1020160130015A KR20160130015A KR20180038857A KR 20180038857 A KR20180038857 A KR 20180038857A KR 1020160130015 A KR1020160130015 A KR 1020160130015A KR 20160130015 A KR20160130015 A KR 20160130015A KR 20180038857 A KR20180038857 A KR 20180038857A
- Authority
- KR
- South Korea
- Prior art keywords
- value
- luminance value
- white balance
- balance ratio
- color
- Prior art date
Links
- 230000003287 optical effect Effects 0.000 title claims abstract description 81
- 238000000034 method Methods 0.000 title claims description 41
- 238000011179 visual inspection Methods 0.000 title claims description 36
- 238000007689 inspection Methods 0.000 claims abstract description 29
- 238000005259 measurement Methods 0.000 claims abstract description 16
- 239000003086 colorant Substances 0.000 claims abstract description 10
- 238000005286 illumination Methods 0.000 claims description 38
- 230000014509 gene expression Effects 0.000 claims description 5
- 230000003247 decreasing effect Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 4
- 239000003985 ceramic capacitor Substances 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000002542 deteriorative effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/95—Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
- G01N21/956—Inspecting patterns on the surface of objects
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/24—Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/8803—Visual inspection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/12—Picture reproducers
- H04N9/31—Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
- H04N9/3179—Video signal processing therefor
- H04N9/3182—Colour adjustment, e.g. white balance, shading or gamut
Landscapes
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Immunology (AREA)
- Pathology (AREA)
- Analytical Chemistry (AREA)
- Biochemistry (AREA)
- General Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Health & Medical Sciences (AREA)
- Chemical & Material Sciences (AREA)
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Processing Of Color Television Signals (AREA)
- Length Measuring Devices By Optical Means (AREA)
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
- Image Input (AREA)
Abstract
Description
본 발명은 비젼 측정 및 검사 시스템에 적용될 수 있는 외관 검사 장치 및 그 광학계 자동 캘리브레이션 방법에 관한 것이다.
The present invention relates to an appearance inspection apparatus that can be applied to a vision measurement and inspection system and a method of automatically calibrating the optical system.
통상, 비젼 측정 및 검사 시스템은 비젼(vision) 광학계를 이용하여 검사대상(target) 제품을 측정하거나 검사하는 설비이다. 예를 들어, 검시대상 제품으로는 수동소자, ISM(Image Sensor Module) 그리고 기판 등 다양한 전자 부품들이 될 수 있다.
Typically, the vision measurement and inspection system is a facility for measuring or inspecting a target product using a vision optical system. For example, the product to be examined may be a variety of electronic components such as a passive device, an image sensor module (ISM), and a substrate.
이러한 비젼 측정 및 검사 시스템은 복수의 제품 및 각 제품의 검사면을 검사하기 위해 복수의 외관 검사 장치를 포함할 수 있다. 복수의 외관 검사 장치는 수동소자를 설정된 조명과 카메라를 이용하여 영상을 획득하고, 획득된 영상에 기초해서 제품에 외관 불량을 판단할 수 있다. 여기서, 검사대상 제품에 결함이 발생한 상태로 사용하게 되면 치명적인 손실을 초래할 수 있으므로, 검사대상 제품의 생산 공정의 하나로 외관검사 공정이 필요하다.Such a vision measurement and inspection system may include a plurality of visual inspection devices for inspecting a plurality of products and inspection surfaces of each product. The plurality of visual inspection apparatuses can acquire images using the illumination and the camera set as passive elements, and can judge appearance defects on the products based on the obtained images. Here, if the product to be inspected is used in a state in which a defect occurs, it may cause a fatal loss. Therefore, a visual inspection process is required as one of production processes of the product to be inspected.
여기서, 검사대상 제품으로 수동소자는 외부에서 공급된 전력을 소비, 축적, 방출하는 소자가 될 수 있다. 일 예로 수동소자는 MLCC(Multi Layer Ceramic Capacitor), BLCC(Boundary Layer Ceramic Capacitor), VLC(Vertically Laminated Capacitor) 그리고 EMC(Electro Magnetic Compatibility) 등이 있다.
Here, as a product to be inspected, a passive element may be a device that consumes, accumulates, and emits power supplied from the outside. For example, passive devices include MLCC (Multi Layer Ceramic Capacitor), BLCC (Boundary Layer Ceramic Capacitor), VLC (Vertically Laminated Capacitor) and EMC (Electro Magnetic Compatibility).
그런데, 복수의 외관 검사 장치는, 제품마다 반사율이 크게 다를 수 있고, 비젼 광학계의 설정에 따라 영상 품질이 크게 다를 수 있으며, 영상 품질에 따라 측정 및 검사 성능이 좌우될 수 있다. However, in a plurality of visual inspection apparatuses, the reflectance may be greatly different for each product, and the image quality may vary greatly depending on the setting of the vision optical system, and the measurement and inspection performance depend on the image quality.
복수의 외관 검사 장치를 이용하여, 효율적인 검사를 위해서는 제품마다 균일한 품질의 영상을 획득할 수 있어야 하고, 이를 위해서는, 제품 측정 및 검사 이전에 해당 제품에 맞도록 광학계의 적절한 조정 및 설정이 필요하다.
In order to perform efficient inspection using a plurality of visual inspection devices, it is necessary to acquire a uniform quality image for each product. For this purpose, it is necessary to appropriately adjust and set the optical system to suit the product before measurement and inspection .
기존에 광학계를 조정하는 방식은, 현장에서 작업자가 작업자 경험치에 의존하여 수동으로 일일이 조정하는 방식이다.Conventionally, the method of adjusting the optical system is a method in which the operator manually adjusts manually depending on the worker experience value in the field.
이와 같은 수동 조정은 작업자마다 편차가 발생될 수 있어서 검사의 정확성이 떨어지므로, 검사 신뢰도가 저하되는 문제점이 있다.Such a manual adjustment may cause a deviation for each operator, which reduces the accuracy of the inspection, thereby deteriorating the inspection reliability.
또한, 복수의 외관 검사 장치 각각에 대한 광학계를 수동으로 일일이 조정하는 작업은 많은 시간이 소요되는 문제점이 있다.Further, it takes a lot of time to manually adjust the optical system for each of the plurality of visual inspection devices individually.
특히, 검사할 검사대상 제품의 종류가 많은 경우에는 기존의 조정 방법으로는, 제품 종류 별, 모델 별, 용량 별로 반사율이 상이하기 때문에, 조명의 광량을 최대로 사용하였음에도 목표(target) 값보다 작거나, 조명의 광량을 최소로 사용해도 목표값에 측정값이 수렴하지 못하는 경우가 발생할 수 있다. 이 경우에 기존 방법은 해당 카메라의 조정이 실패로 간주되어 수동 조정이 다시 요구되고, 이에 따라 제품에 대해 수동으로 다시 조정해야 하는 경우가 빈번하게 발생하는 문제점이 있다.
In particular, when there are many kinds of products to be inspected, since the reflectance differs according to product types, models, and capacities in the conventional adjustment method, even though the light amount of illumination is maximized, Or the measurement value may not converge to the target value even if the light amount of the illumination is minimized. In this case, in the conventional method, the adjustment of the camera is regarded as a failure and the manual adjustment is again required. Therefore, there is a problem that the product is often manually adjusted again.
한편, 기존에 비젼 측정 및 검사 시스템에서는 광학계의 교정 방법이 제안되고 있으나, 이 또한 색상별로 화이트 밸런스 비율값이 1차적으로 목표값으로 수렴하지 않을 경우에 대해서는 그 적절한 대안을 제안하지 못하고 있다.
On the other hand, in the conventional vision measurement and inspection system, a correction method of an optical system has been proposed. However, if a white balance ratio value does not converge to a target value primarily by color, an appropriate alternative is not proposed.
본 발명의 일 실시 예는, 비젼 측정 및 검사 시스템의 외관 검사 장치에서, 광학계에 대한 캘리브레이션을 자동적으로 수행할 수 있고, 색상별 측정 휘도값이 목표 휘도값으로 수렴하지 않을 경우에, 카메라 이득을 리밸런싱(re-balancing)함으로써 색상별 측정 휘도값이 목표 휘도값으로 수렴할 수 있도록 하는 외관 검사 장치 및 그 광학계 자동 캘리브레이션 방법을 제공한다.
An embodiment of the present invention can automatically perform calibration for an optical system in an apparatus for visual inspection of a vision measurement and inspection system, and when the measured brightness value for each color does not converge to a target brightness value, A visual inspection apparatus and an optical system automatic calibration method for re-balancing the measured luminance value by color to converge to a target luminance value are provided.
본 발명의 일 실시 예에 의해, 검사대상 제품을 조명하는 조명 장치; 상기 검사대상 제품을 촬영하여 영상 신호를 제공하는 카메라 장치; 및 상기 카메라 장치의 영상 신호로부터 영상을 획득하고, 각 색상의 화이트 밸런스 비율값을 조정하면서 상기 영상으로부터 구해진 각 색상의 측정 휘도값이 목표 휘도값에 수렴하는 각 색상의 화이트 밸런스 비율값을 조정 및 설정하는 광학계 제어장치; 를 포함하고, 상기 광학계 제어장치는 해당 색상의 측정 휘도값이 목표 휘도값에 수렴하지 않으면, 카메라 이득 리밸런싱한 후, 다시 해당 색상의 측정 휘도값이 목표 휘도값에 수렴하도록 해당 색상의 화이트 밸런스 비율값을 조정하는 외관 검사 장치가 제안된다.
According to an embodiment of the present invention, there is provided an illumination device for illuminating a product to be inspected; A camera device for photographing the inspection target product and providing a video signal; And adjusting a white balance ratio value of each color in which a measured luminance value of each color obtained from the image converges on a target luminance value while adjusting an image white balance ratio value of each color, An optical system control device for setting; Wherein the optical system controller balances the camera gain when the measured luminance value of the corresponding color does not converge to the target luminance value and then rebalances the measured value of the corresponding color to the target luminance value, An appearance inspection apparatus for adjusting the ratio value is proposed.
본 과제의 해결 수단에서는, 하기 상세한 설명에서 설명되는 여러 개념들 중 하나가 제공된다. 본 과제 해결 수단은, 청구된 사항의 핵심 기술 또는 필수적인 기술을 확인하기 위해 의도된 것이 아니며, 단지 청구된 사항들 중 하나가 기재된 것이며, 청구된 사항들 각각은 하기 상세한 설명에서 구체적으로 설명된다.
In the solution of this task, one of several concepts described in the following detailed description is provided. The subject matter of the present invention is not intended to identify the core or essential technology of the claimed subject matter, but merely one of the claimed subject matter is described, each of which is specifically set forth in the following detailed description.
본 발명의 일 실시 예에 의하면, 비젼 측정 및 검사 시스템의 외관 검사 장치에서, 제품에 적합하도록 광학계에 대한 캘리브레이션을 자동적으로 수행할 수 있어 캘리브레이션에 소요되는 시간을 단축할 수 있고, 수동 캘리브레이션에 의한 단점을 해소할 수 있으며, 색상별 측정값이 목표값으로 수렴하지 않을 경우에, 광학계의 상관 인자에 대한 리밸런싱을 통해 색상별 측정값이 목표값으로 수렴할 수 있는 효과가 있다.
According to the embodiment of the present invention, in the apparatus for visual inspection of the vision measurement and inspection system, the calibration for the optical system can be automatically performed so as to be suitable for the product, so that the time required for the calibration can be shortened, It is possible to resolve the disadvantage and, when the measured value by color does not converge to the target value, the measured value for each color can be converged to the target value through rebalancing for the correlation factor of the optical system.
도 1은 본 발명의 일 실시 예에 따른 외관 검사 장치의 블럭도이다.
도 2는 본 발명의 일 실시 예에 따른 광학계 제어장치의 예이다.
도 3은 본 발명의 일 실시 예에 따른 외관 검사 장치의 광학계 자동 캘리브레이션 방법의 일 예를 보이는 플로우챠트이다.
도 4는 본 발명의 일 실시 예에 따른 외관 검사 장치의 광학계 자동 캘리브레이션 방법의 다른 예를 보이는 플로우챠트이다.
도 5는 본 발명의 일 실시 예에 따른 카메라 이득조정 단계의 일 예를 보이는 플로우챠트이다.
도 6은 본 발명의 일 실시 예에 따른 조명값 조정 단계의 일 예를 보이는 플로우챠트이다.
도 7은 본 발명의 일 실시 예에 따른 조명값 조정 단계에서의 수렴 개념도이다.1 is a block diagram of a visual inspection apparatus according to an embodiment of the present invention.
2 is an example of an optical system control apparatus according to an embodiment of the present invention.
3 is a flow chart illustrating an example of an optical system automatic calibration method of the visual inspection apparatus according to an embodiment of the present invention.
4 is a flow chart showing another example of an optical system automatic calibration method of the visual inspection apparatus according to an embodiment of the present invention.
5 is a flowchart illustrating an example of a camera gain adjustment step according to an embodiment of the present invention.
6 is a flowchart illustrating an example of an illumination value adjustment step according to an exemplary embodiment of the present invention.
7 is a conceptual diagram of convergence in an illumination value adjustment step according to an embodiment of the present invention.
이하에서는, 본 발명은 설명되는 실시 예에 한정되지 않으며, 본 발명의 정신 및 범위를 벗어나지 않으면서 다양하게 변경될 수 있음이 이해되어야 한다.It should be understood that the present invention is not limited to the embodiments described and that various changes may be made without departing from the spirit and scope of the present invention.
또한, 본 발명의 각 실시 예에 있어서, 하나의 예로써 설명되는 구조, 형상 및 수치는 본 발명의 기술적 사항의 이해를 돕기 위한 예에 불과하므로, 이에 한정되는 것이 아니라 본 발명의 정신 및 범위를 벗어나지 않으면서 다양하게 변경될 수 있음이 이해되어야 한다. 본 발명의 실시 예들은 서로 조합되어 여러 가지 새로운 실시 예가 이루어질 수 있다.In addition, in each embodiment of the present invention, the structure, shape, and numerical values described as an example are merely examples for helping understanding of the technical matters of the present invention, so that the spirit and scope of the present invention are not limited thereto. It should be understood that various changes may be made without departing from the spirit of the invention. The embodiments of the present invention may be combined with one another to form various new embodiments.
그리고, 본 발명에 참조된 도면에서 본 발명의 전반적인 내용에 비추어 실질적으로 동일한 구성과 기능을 가진 구성요소들은 동일한 부호를 사용할 것이다.
In the drawings referred to in the present invention, components having substantially the same configuration and function as those of the present invention will be denoted by the same reference numerals.
이하에서는, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명을 용이하게 실시할 수 있도록 하기 위해서, 본 발명의 실시 예를 첨부한 도면을 참조하여 상세히 설명한다.
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily carry out the present invention.
도 1은 본 발명의 일 실시 예에 따른 외관 검사 장치의 블록도이다.1 is a block diagram of a visual inspection apparatus according to an embodiment of the present invention.
도 1을 참조하면, 본 발명의 일 실시 예에 따른 외관 검사 장치(100)는, 검사대상 제품(1)의 외관을 검사하기 위해, 조명 장치(110), 카메라 장치(120) 및 광학계 제어장치(130)를 포함한다.1, an
여기서, 검사대상 제품(1)이 다면체인 경우에 각 면을 검사하기 위해 복수개의 외관 검사 장치(100)가 요구될 수 있다.
Here, in the case where the
상기 조명 장치(110)는 검사대상 제품을 조명할 수 있다. 상기 조명 장치(110)는 사전에 설정된 조명값을 이용하여 조명할 수 있다. The
여기서 상기 조명 장치(110)의 조명값은 검사대상 제품(1)의 외관 검사에 필요한 조명값으로 미리 설정될 수 있다. 또는 상기 조명 장치(110)의 조명값은 카메라 이득 조정 이전에, 채널별 색상별로 적정 조명값으로 광학계 제어장치(130)에 의한 조명값 조정 과정을 통해 설정될 수 있다.
Here, the illumination value of the
상기 광학계 제어장치(130)가 색상별 조명값을 찾아서 설정할 수 있다.The
상기 카메라 장치(120)는 상기 검사대상 제품을 촬영하여 영상 신호를 제공할 수 있다.The
상기 광학계 제어장치(130)는 상기 카메라 장치(120)의 영상 신호로부터 영상을 획득할 수 있다. 일 예로, 상기 광학계 제어장치(130)는 상기 획득된 영상에서 사전에 설정된 관심영역에 대해서 각 색상별로 분리하여 각 색상별 휘도값을 측정할 수 있다. 상기 측정 휘도값은 상기 관심영역의 복수의 픽셀의 휘도값을 평균하여 구해지는 측정 평균 휘도값이 될 수 있다.The
여기서, 색상은 적색(Red), 녹색(Green) 및 청색(Blue)이 될 수 있다.Here, the hue may be red (Red), green (Green), and blue (Blue).
이어서, 광학계 제어장치(130)는 상기 각 색상의 화이트 밸런스 비율값을 조정하면서 상기 영상으로부터 구해진 각 색상의 측정 휘도값이 목표 휘도값에 수렴하는 각 색상의 화이트 밸런스 비율값을 조정 및 설정할 수 있다.Then, the
또한, 상기 광학계 제어장치(130)는 해당 색상의 측정 휘도값이 목표 휘도값에 수렴하지 않으면, 카메라 이득 리밸런싱한 후, 다시 해당 색상의 측정 휘도값이 목표 휘도값에 수렴하도록 해당 색상의 화이트 밸런스 비율값을 조정할 수 있다. 여기서, 상기 카메라 이득 리밸런싱에 대해서는 하기 수학식 1, 수학식 2 및 수학식 3을 참조하여 후술한다.
If the measurement luminance value of the corresponding color does not converge to the target luminance value, the
한편, 상기 광학계 제어장치(130)는 상기 카메라 이득과 관련된 각 색상별 화이트 밸런스 비율값을 조정 및 설정하기 이전에, 상기 조명 장치(110)의 조명값을 조정 및 설정할 수 있다.
Meanwhile, the
도 2는 본 발명의 일 실시 예에 따른 광학계 제어장치의 예이다.2 is an example of an optical system control apparatus according to an embodiment of the present invention.
도 2를 참조하면, 상기 광학계 제어장치(130)는 영상 획득부(131), 휘도값 측정부(132) 및 화이트 밸런스 비율값 설정부(133)를 포함할 수 있다.
2, the
상기 영상 획득부(131)는 상기 카메라 장치(120)로부터 영상 신호로부터 영상을 획득할 수 있다. 일 예로, 상기 영상 획득부(131)는 아날로그의 영상신호를 디지털의 영상 신호로 변환하고, 이 디지털 영상 신호에서 영상을 추출할 수 있다.The
상기 휘도값 측정부(132)는 상기 영상 획득부(131)로부터의 영상을 이용하여 각 색상에 대한 휘도값을 측정하여 측정 휘도값을 제공할 수 있다.The brightness
상기 화이트 밸런스 비율값 설정부(133)는, 상기 측정 휘도값이 기 설정된 목표 휘도값에 수렴하는 방향으로 각 색상의 화이트 밸런스 비율값을 조정하여, 상기 측정 휘도값이 상기 목표 휘도값에 수렴하면 그때의 각 색상의 화이트 밸런스 비율값을 설정하고, 상기 화이트 밸런스 비율값을 상한치 또는 하한치까지 조정한 경우에도, 해당 색상의 측정 휘도값이 목표 휘도값에 수렴하지 않으면, 카메라 이득 리밸런싱한 후, 다시 해당 색상의 측정 휘도값이 목표 휘도값에 수렴하는 방향으로 해당 색상의 화이트 밸런스 비율값을 조정할 수 있다.
The white balance ratio
이후, 도 3 내지 도 6을 참조하여, 외관 검사 장치의 광학계 자동 캘리브레이션 방법에 대해 설명한다. 본 출원 서류에서, 외관 검사 장치에 대한 설명과 외관 검사 장치의 광학계 자동 캘리브레이션 방법에 대한 설명은, 특별한 사정이 없는 한, 서로 보완 적용될 수 있다. Hereinafter, an optical system automatic calibration method of the visual inspection apparatus will be described with reference to Figs. 3 to 6. Fig. In the present application, the description of the visual inspection apparatus and the description of the optical system automatic calibration method of the visual inspection apparatus can be supplemented and applied to each other, unless otherwise specified.
도 3은 본 발명의 일 실시 예에 따른 외관 검사 장치의 광학계 자동 캘리브레이션 방법의 일 예를 보이는 플로우챠트이다. 3 is a flow chart illustrating an example of an optical system automatic calibration method of the visual inspection apparatus according to an embodiment of the present invention.
도 1 내지 도 3을 참조하여 본 발명의 일 실시 예에 따른 외관 검사 장치의 광학계 자동 캘리브레이션 방법에 대해 설명한다. A method of automatically calibrating an optical system of a visual inspection apparatus according to an embodiment of the present invention will be described with reference to FIGS. 1 to 3. FIG.
이후, 상기 외관 검사 장치의 광학계 자동 캘리브레이션 방법에 대한 설명은, 도 1 및 도 2를 참조하여 이루어진 동작 설명이 적용될 수 있으며, 이에 따라 상기 외관 검사 장치의 광학계 자동 캘리브레이션 방법에 대한 설명에서, 가능한 중복되는 세부 설명은 생략될 수 있다.
Hereinafter, the description of the optical system auto-calibration method of the visual inspection apparatus can be applied to the operation description with reference to FIGS. 1 and 2. Accordingly, in the explanation of the optical system automatic calibration method of the visual inspection apparatus, The detailed description may be omitted.
도 3을 참조하면, 외관 검사 장치의 광학계 자동 캘리브레이션 방법은 검사대상 제품을 조명하는 조명 장치(110)와, 상기 검사대상 제품을 촬영하는 카메라 장치(120) 및 광학계 제어장치(130)를 포함하는 외관 검사 장치에서 이루어지는 방법으로, 검사대상 제품(도 1의 1)의 외관을 검사하기 위해, S210 단계, S220 단계, S230 단계, S240 단계 및 S250 단계를 포함한다.
Referring to FIG. 3, an optical system automatic calibration method of the visual inspection apparatus includes an
상기 S210 단계에서는, 상기 광학계 제어장치(130)에 의해, 상기 카메라 장치(120)로부터의 영상 신호에서 영상이 획득될 수 있다.In step S210, the
상기 S220 단계에서는, 상기 광학계 제어장치(130)에 의해, 상기 영상으로부터 각 색상의 휘도값이 측정되어 각 색상별 측정 휘도값이 제공될 수 있다. 일 예로, 색상의 휘도값은 적색 휘도값, 녹색 휘도값 및 청색 휘도값이 될 수 있다.In step S220, the
상기 S230 단계에서는, 상기 광학계 제어장치(130)에 의해, 해당 색상의 화이트 밸런스 비율값이 조정되면서 해당 색상의 측정 휘도값이 기 설정된 목표 휘도값에 수렴되는지 판단될 수 있다. 여기서, 색상 화이트 밸런스 비율값은 적색 색상 화이트 밸런스 비율값, 녹색 색상 화이트 밸런스 비율값 및 청색 색상 화이트 밸런스 비율값이 될 수 있다.In step S230, the
상기 S240 단계에서는, 상기 광학계 제어장치(130)에 의해, 상기 측정 휘도값이 목표 휘도값에 수렴되는 방향으로 각 색상의 화이트 밸런스 비율값이 조정되고, 상기 화이트 밸런스 비율값이 상한치 또는 하한치까지 조정된 경우에도, 해당 색상의 측정 휘도값이 목표 휘도값에 수렴되지 않으면, 카메라 이득 리밸런싱된 후, 다시 해당 색상의 측정 휘도값이 목표 휘도값에 수렴되는 방향으로 해당 색상의 화이트 밸런스 비율값이 조정될 수 있다.In step S240, the
상기 S250 단계에서는, 상기 광학계 제어장치(130)에 의해, 상기 측정 휘도값이 상기 목표 휘도값에 수렴되면 그때의 각 색상의 화이트 밸런스 비율값이 설정될 수 있다.
In step S250, when the measured brightness value is converged to the target brightness value by the
도 4는 본 발명의 일 실시 예에 따른 외관 검사 장치의 광학계 자동 캘리브레이션 방법의 다른 예를 보이는 플로우챠트이다.4 is a flow chart showing another example of an optical system automatic calibration method of the visual inspection apparatus according to an embodiment of the present invention.
도 4를 참조하면, 본 발명의 일 실시 예에 따른 외관 검사 장치의 광학계 자동 캘리브레이션 방법은 S100 단계(조명값 조정 단계) 및 S200 단계(카메라 이득 조정 단계)를 포함할 수 있다.Referring to FIG. 4, the method for automatically calibrating an optical system of the visual inspection apparatus according to an exemplary embodiment of the present invention may include steps S100 (illumination value adjustment step) and step S200 (camera gain adjustment step).
상기 S100 단계는 상기 광학계 제어장치(130)에 의해, 상기 조명 장치(110)의 조명값이 조정될 수 있으며, 이에 대한 설명은 도 6을 참조하여 설명된다.In step S100, the illumination value of the
상기 S200 단계는 도 3 및 도 5에 도시된 바와 같이, 카메라 이득이 조정될 수 있으며, 이에 대한 설명은 도 3을 참조하는 설명에 함께 추가로 도 5를 참조하여 설명한다.
3 and 5, the camera gain may be adjusted, and the description thereof will be further described with reference to FIG. 5 in addition to the description with reference to FIG.
도 5는 본 발명의 일 실시 예에 따른 카메라 이득조정 단계의 일 예를 보이는 플로우챠트이다.5 is a flowchart illustrating an example of a camera gain adjustment step according to an embodiment of the present invention.
도 1 내지 도 5를 참조하면, 상기 광학계 제어장치(130)는 해당 색상의 측정 휘도값이 목표 휘도값보다 큰 경우(도 5의 S241 참조)에는 해당 색상의 측정 휘도값이 목표 휘도값에 수렴하도록 해당 색상의 화이트 밸런스 비율값을 감소시킬 수 있다.1 to 5, when the measured luminance value of the corresponding color is larger than the target luminance value (refer to S241 in FIG. 5), the
예를 들어, 상기 광학계 제어장치(130)는 해당 색상의 측정 휘도값이 목표 휘도값보다 큰 경우, 해당 색상의 화이트 밸런스 비율값이 최소값에서 해당 색상의 측정 휘도값이 목표 휘도값에 수렴하지 않으면, 해당 색상의 화이트 밸런스 비율값을 기 설정된 변경값()만큼 증가시키고, 이 경우 카메라 장치의 이득 변경값(ㅿG) 및 다른 색상의 화이트 밸런스 비율값 각각의 변경값(,)을 상기 수학식1에 따라 조정하는 카메라 이득 리밸런싱을 수행할 수 있다 (도 5의 S242 참조).
For example, when the measurement luminance value of the corresponding color is greater than the target luminance value, the
상기 수학식 1에서, Bcolor1, Bcolor2 및 Bcolor3 각각은 적색, 녹색 및 청색중 어느 하나의 화이트 밸런스 비율값이고, ㅿBcolor1, ㅿBcolor2 및 ㅿBcolor3은 적색, 녹색 및 청색중 어느 하나의 화이트 밸런스 비율값의 변경값이다. 그리고 A는 상수이고, 일 예로, 20/0.0359가 될 수 있다.
Bcolor1, Bcolor2, and Bcolor3 are white balance ratio values of any one of red, green, and blue, and Bcolor1, Bcolor2, and Bcolor3 are white balance ratio values of any one of red, . And A is a constant, for example, 20 / 0.0359.
또한, 상기 광학계 제어장치(130)는 해당 색상의 측정 휘도값이 목표 휘도값보다 작은 경우(도 5의 S241 참조)에는 해당 색상의 측정 휘도값이 목표 휘도값에 수렴하도록 해당 색상의 화이트 밸런스 비율값을 증가시킬 수 있다.5), the
예를 들어, 상기 광학계 제어장치(130)는 해당 색상의 측정 휘도값이 목표 휘도값보다 작은 경우, 해당 색상의 화이트 밸런스 비율값이 최대값에서 해당 색상의 측정 휘도값이 목표 휘도값에 수렴하지 않으면, 해당 색상의 화이트 밸런스 비율값을 기 설정된 변경값()만큼 감소시키고, 이 경우 카메라 장치의 이득 변경값(ㅿG) 및 다른 색상의 화이트 밸런스 비율값 각각의 변경값(,)을 하기 수학식1에 따라 조정할 수 있다(도 5의 S243 참조).
For example, when the measured luminance value of the corresponding color is smaller than the target luminance value, the
도 5를 참조하면, 상기 광학계 제어장치(130)는 적색의 측정 휘도값이 목표 휘도값보다 큰 경우, 적색의 화이트 밸런스 비율값(Bred)이 최소값에서 적색의 측정 휘도값이 목표 휘도값에 수렴하지 않으면, 적색의 화이트 밸런스 비율값(Bred)을 기 설정된 변경값()만큼 증가시키고, 이 경우 카메라 장치의 이득 변경값(ㅿG) 및 녹색 및 청색의 화이트 밸런스 비율값 각각의 변경값(,)을 하기 수학식2에 따라 조정하는 카메라 이득 리밸런싱을 수행할 수 있다(도 5의 S243 참조).Referring to FIG. 5, when the measured luminance value of red is larger than the target luminance value, the
이와 달리, 상기 광학계 제어장치(130)는 적색의 측정 휘도값이 목표 휘도값보다 작은 경우, 적색의 화이트 밸런스 비율값이 최대값에서 적색의 측정 휘도값이 목표 휘도값에 수렴하지 않으면, 적색의 화이트 밸런스 비율값(Bred)을 기 설정된 변경값()만큼 감소시키고, 이 경우 카메라 장치의 이득 변경값(ㅿG) 및 녹색 및 청색의 화이트 밸런스 비율값 각각의 변경값(,)을 하기 수학식2에 따라 조정할 수 있다(도 5의 S243 참조).
Alternatively, when the measured luminance value of red is smaller than the target luminance value, the
상기 수학식 2에서, Bred, Bgreen 및 Bblue은 적색, 녹색 및 청색의 화이트 밸런스 비율값이고, ㅿBred, ㅿBgreen 및 ㅿBblue은 적색, 녹색 및 청색의 화이트 밸런스 비율값의 변경값이다. 그리고 A는 상수이고, 일 예로, 20/0.0359가 될 수 있다.
Bred, Bgreen, and Bblue are white balance ratio values of red, green, and blue, and Bred, Bgreen, and Bblue are changed values of white balance ratio values of red, green, and blue. And A is a constant, for example, 20 / 0.0359.
상기 수학식 2를 참조하면, 상기 광학계 제어장치(130)는 적색의 측정 휘도값이 목표 휘도값보다 큰 경우, 적색의 화이트 밸런스 비율값(Bred)을 감소시켜야 하는데, 적색의 화이트 밸런스 비율값(Bred)이 최소값에서도 적색의 측정 휘도값이 목표 휘도값에 수렴하지 않는 경우에는, 적색의 화이트 밸런스 비율값(Bred)을 더 감소시킬 수 있도록 적색의 화이트 밸런스 비율값(Bred)을 기 설정된 변경값()만큼 증가시킨다.Referring to Equation (2), when the measured brightness value of red is larger than the target brightness value, the
예를 들어, 상기 광학계 제어장치(130)는, 상기 수학식 3과 같이 출력파워(yred,ygreen,yblue)가 유지되는 상태에서, 상기 적색의 화이트 밸런스 비율값(Bred)을 상기 변경값()만큼 증가시킬 때, 상기 수학식 2를 이용하면 카메라 장치의 이득 변경값(ㅿG) 및 녹색 및 청색의 화이트 밸런스 비율값 각각의 변경값(,)을 조정하는 카메라 이득 리밸런싱을 수행할 수 있다(도 5의 S243 참조).
For example, the
상기 수학식 3에서, yred, ygreen 및 yblue는 적색, 녹색 및 청색의 출력파워이고, xred, xgreen 및 xblue는 적색, 녹색 및 청색의 입력파워이고, G는 카메라 장치의 이득이고, Bred, Bgreen 및 Bblue는 적색, 녹색 및 청색의 화이트 밸런스 비율값이다. 그리고 B는 상수이고, 일 예로, 0.0359가 될 수 있다.
Where xred, xgreen, and xblue are the input powers of red, green, and blue, G is the gain of the camera device, and Bred, Bgreen, and Blue are the output powers of red, green, and blue, Bblue is the white balance ratio value of red, green and blue. And B is a constant, for example 0.0359.
상기 수학식 3을 참조하면, 각 색상별 출력파워(yred, ygreen, yblue)는 입력파워(xred, xgreen, xblue) 및 카메라 장치의 이득(G)의 함수이다.
Referring to Equation (3), the output power (yred, ygreen, yblue) of each color is a function of the input power (xred, xgreen, xblue) and the gain (G) of the camera apparatus.
이와 달리, 상기 수학식 2를 참조하면, 상기 광학계 제어장치(130)는 적색의 측정 휘도값이 목표 휘도값보다 작은 경우, 적색의 화이트 밸런스 비율값(Bred)을 증가시켜야 하는데, 적색의 화이트 밸런스 비율값이 최대값에서 적색의 측정 휘도값이 목표 휘도값에 수렴하지 않는 경우에는, 적색의 화이트 밸런스 비율값(Bred)을 기 설정된 변경값()만큼 감소시킨다.If the measured brightness value of red is smaller than the target brightness value, the
예를 들어, 상기 광학계 제어장치(130)는 상기 수학식 3과 같이, 출력파워(yred,ygreen,yblue)가 유지되는 상태에서, 상기 적색의 화이트 밸런스 비율값(Bred)을 상기 변경값()만큼 감소시킬 때, 상기 수학식 2를 이용하면 카메라 장치의 이득 변경값(ㅿG) 및 녹색 및 청색의 화이트 밸런스 비율값 각각의 변경값(,)을 조정할 수 있다(도 5의 S243 참조).
For example, the
한편, 상기 카메라 이득 리밸런싱에 대해 설명하면, 예를 들어, 수학식 2 및 3을 참조하면, 적색, 녹색 및 청색의 화이트 밸런스 비율값(Bred)의 변경값(,,) 및 카메라 장치의 이득 변경값(ㅿG)은 서로 상관 관계를 가지고, 수학식 2 및 3을 만족하는 조합의 값들을 갖는다.For example, referring to equations (2) and (3), the camera gain rebalancing will be described with reference to the change value of the white balance ratio value Bred of red, green, , , ) And the gain change value (G) of the camera device have correlation values with each other and have values of the combination satisfying the expressions (2) and (3).
사전에 설정된 조합의 값에서, 적색의 측정 휘도값이 목표 휘도값에 수렴하도록 적색의 화이트 밸런스 비율값을 조정하는 과정에서, 적색의 화이트 밸런스 비율값이 최소값에서 적색의 측정 휘도값이 목표 휘도값에 수렴하지 않을 경우에, 적색의 화이트 밸런스 비율값(Bred)을 더 감소시킬 수 있도록 적색의 화이트 밸런스 비율값(Bred)을 기 설정된 변경값()만큼 증가시키고, 적색의 화이트 밸런스 비율값(Bred)을 상기 변경값()만큼 증가시킬 때, 상기 수학식 2를 이용하면 카메라 장치의 이득 변경값(ㅿG) 및 녹색 및 청색의 화이트 밸런스 비율값 각각의 변경값(,)을 결정할 수 있다.In the process of adjusting the white balance ratio value of red so that the measured luminance value of red converges to the target luminance value at the preset combination value, the measured white luminance value of red is changed from the minimum value to the target luminance value The red white balance ratio value Bred is set to a preset change value Bred so that the red white balance ratio value Bred can be further reduced, ), And the red white balance ratio value Bred is increased by the change value ( , The gain change value (? G) of the camera apparatus and the change value (? G) of each of the green and blue white balance ratio values , Can be determined.
또한, 적색의 측정 휘도값이 목표 휘도값에 수렴하도록 적색의 화이트 밸런스 비율값을 조정하는 과정에서, 적색의 화이트 밸런스 비율값이 최대값에서 적색의 측정 휘도값이 목표 휘도값에 수렴하지 않을 경우에, 적색의 화이트 밸런스 비율값(Bred)을 더 증가시킬 수 있도록 적색의 화이트 밸런스 비율값(Bred)을 기 설정된 변경값()만큼 감소시키고, 적색의 화이트 밸런스 비율값(Bred)을 상기 변경값()만큼 감소시킬 때, 상기 수학식 2를 이용하면 카메라 장치의 이득 변경값(ㅿG) 및 녹색 및 청색의 화이트 밸런스 비율값 각각의 변경값(,)을 결정할 수 있으며, 이러한 과정이 카메라 이득 리밸런싱이다.In the process of adjusting the white balance ratio value of red so that the measured luminance value of red converges to the target luminance value, when the measured white luminance value of red does not converge to the target luminance value at the maximum value , The red white balance ratio value (Bred) is set to a predetermined change value (Bred) so that the red white balance ratio value (Bred) ), And the red white balance ratio value Bred is decreased by the change value ( ), The gain change value (G) of the camera apparatus and the change value (? G) of each of the green and blue white balance ratio values , ), And this process is camera gain rebalancing.
상기 카메라 이득 리밸런싱에 대해 적색에 대해 설명하였으나, 이는 녹색 및 청색에 대해서도 동일한 원리로 적용될 수 있다.
Although red has been described for the camera gain rebalancing, it can be applied to the same principle for green and blue.
전술한 바와 같이 적색에 대한 조정과정과 동일한 방식으로, 녹색에 대해서도 하기 수학식 4를 이용하여 조절할 수 있고, 청색에 대해서도 하기 수학식 5를 이용하여 조절할 수 있다.
As described above, in the same manner as the adjustment process for red, green can be adjusted using the following equation (4), and blue can also be adjusted using the following equation (5).
도 6은 본 발명의 일 실시 예에 따른 조명값 조정 단계의 일 예를 보이는 플로우챠트이고, 도 7은 본 발명의 일 실시 예에 따른 조명값 조정 단계에서의 수렴 개념도이다.FIG. 6 is a flow chart illustrating an example of an illumination value adjustment step according to an embodiment of the present invention, and FIG. 7 is a conceptual diagram of convergence in an illumination value adjustment step according to an embodiment of the present invention.
도 6 및 도 7을 참조하면, 상기 조명값을 조정하는 단계(S100)는 S110 단계, S120 단계, S130 단계, S140 단계 및 S150 단계를 포함할 수 있다.6 and 7, step S100 of adjusting the illumination value may include step S110, step S120, step S130, step S140, and step S150.
상기 S110 단계에서는, 상기 광학계 제어장치(130)에 의해, 상기 카메라 장치(120)로부터의 영상 신호에서 영상이 획득될 수 있다.In step S110, the
상기 S120 단계에서는, 상기 광학계 제어장치(130)에 의해, 상기 영상으로부터 각 색상의 휘도값이 측정되어 각 색상별 측정 밝기값이 제공될 수 있다.In step S120, the
상기 S130 단계에서는, 상기 광학계 제어장치(130)에 의해, 해당 색상의 조정이 조정되면서 해당 색상의 측정 밝기값이 기 설정된 목표 밝기값에 수렴되는지 판단이 수행될 수 있다.In step S130, the
상기 S140 단계에서는, 상기 광학계 제어장치(130)에 의해, 상기 측정 밝기값이 상기 목표 밝기값에 수렴되지 않으면, 각 색상의 조명값이 조정되어 상기 영상을 획득하는 단계로 진행된다.In step S140, if the measured brightness value is not converged to the target brightness value by the
그리고, 상기 S150 단계에서는, 상기 광학계 제어장치(130)에 의해, 상기 측정 밝기값이 상기 목표 밝기값에 수렴되면 그때의 각 색상의 조명값이 설정될 수 있다.In step S150, when the measured brightness value converges to the target brightness value, the
상기와 같은 조명 장치의 조명값 조정과정을 통해서, 도 7에 도시한 바와 같이, 상기 조명 장치에 대한 각 색상별 측정 밝기값이 목표 밝기값에 수렴되는 조명값을 찾아서 설정할 수 있다.
Through the illumination value adjustment process of the illumination device, as shown in FIG. 7, it is possible to find and set the illumination value converging the measured brightness value for each color to the target brightness value.
100: 외관 검사 장치
110: 조명 장치
120: 카메라 장치
130: 광학계 제어장치
131: 영상 획득부
132: 휘도값 측정부
133: 화이트 밸런스 비율값 설정부100: Appearance inspection device
110: Lighting device
120: camera device
130: Optical system control device
131:
132: luminance value measuring unit
133: White balance ratio value setting unit
Claims (14)
상기 검사대상 제품을 촬영하여 영상 신호를 제공하는 카메라 장치; 및
상기 카메라 장치의 영상 신호로부터 영상을 획득하고, 각 색상의 화이트 밸런스 비율값을 조정하면서 상기 영상으로부터 구해진 각 색상의 측정 휘도값이 목표 휘도값에 수렴하는 각 색상의 화이트 밸런스 비율값을 조정 및 설정하는 광학계 제어장치; 를 포함하고,
상기 광학계 제어장치는
해당 색상의 측정 휘도값이 목표 휘도값에 수렴하지 않으면, 카메라 이득 리밸런싱한 후, 다시 해당 색상의 측정 휘도값이 목표 휘도값에 수렴하도록 해당 색상의 화이트 밸런스 비율값을 조정하는
외관 검사 장치.
A lighting device for illuminating a product to be inspected;
A camera device for photographing the inspection target product and providing a video signal; And
And adjusting and setting a white balance ratio value of each color in which a measured luminance value of each color obtained from the image converges on a target luminance value while adjusting a white balance ratio value of each color, An optical system control device; Lt; / RTI >
The optical system controller
If the measurement luminance value of the corresponding color does not converge to the target luminance value, the camera gain rebalance is performed, and then the white balance ratio value of the corresponding color is adjusted so that the measured luminance value of the corresponding color converges to the target luminance value
Appearance inspection device.
상기 카메라 장치로부터 영상 신호로부터 영상을 획득하는 영상 획득부;
상기 영상으로부터 각 색상에 대한 휘도값을 측정하여 측정 휘도값을 제공하는 휘도값 측정부; 및
상기 측정 휘도값이 기 설정된 목표 휘도값에 수렴하는 방향으로 각 색상의 화이트 밸런스 비율값을 조정하여, 상기 측정 휘도값이 상기 목표 휘도값에 수렴하면 그때의 각 색상의 화이트 밸런스 비율값을 설정하고, 상기 화이트 밸런스 비율값을 상한치 또는 하한치까지 조정한 경우에도, 해당 색상의 측정 휘도값이 목표 휘도값에 수렴하지 않으면, 카메라 이득 리밸런싱한 후, 다시 해당 색상의 측정 휘도값이 목표 휘도값에 수렴하는 방향으로 해당 색상의 화이트 밸런스 비율값을 조정하는 화이트 밸런스 비율값 설정부;
를 포함하는 외관 검사 장치.
The optical system control apparatus according to claim 1,
An image acquisition unit for acquiring an image from a video signal from the camera device;
A luminance value measuring unit for measuring a luminance value for each color from the image and providing a measured luminance value; And
A white balance ratio value of each color is adjusted in a direction in which the measured luminance value converges to a predetermined target luminance value, and when the measured luminance value converges to the target luminance value, a white balance ratio value of each color is set , If the measured luminance value of the corresponding color does not converge to the target luminance value even if the white balance ratio value is adjusted to the upper limit value or the lower limit value, the measured luminance value of the corresponding color is again adjusted to the target luminance value A white balance ratio value setting unit for adjusting a white balance ratio value of the corresponding color in a converging direction;
And a visual inspection device.
해당 색상의 측정 휘도값이 목표 휘도값보다 큰 경우에는 해당 색상의 측정 휘도값이 목표 휘도값에 수렴하도록 해당 색상의 화이트 밸런스 비율값을 감소시키는
외관 검사 장치.
The optical system control apparatus according to claim 1,
When the measured luminance value of the corresponding color is larger than the target luminance value, the white balance ratio value of the corresponding color is decreased so that the measured luminance value of the corresponding color converges to the target luminance value
Appearance inspection device.
해당 색상의 측정 휘도값이 목표 휘도값보다 큰 경우, 해당 색상의 화이트 밸런스 비율값이 최소값에서 해당 색상의 측정 휘도값이 목표 휘도값에 수렴하지 않으면, 해당 색상의 화이트 밸런스 비율값을 기 설정된 변경값 만큼 증가시키고, 이 경우 카메라 장치의 이득 변경값 ㅿG 및 다른 색상의 화이트 밸런스 비율값 각각의 변경값 ,을 하기 수학식
[수학식]
에 따라 조정하는 카메라 이득 리밸런싱을 수행하는
외관 검사 장치.
The optical system control apparatus according to claim 3,
If the measured luminance value of the corresponding color is larger than the target luminance value, if the measured white balance ratio value of the corresponding color does not converge to the target luminance value from the minimum value, the white balance ratio value of the corresponding color is changed value In this case, the gain change value G of the camera apparatus and the change value of each of the white balance ratio values of the other colors , Is expressed by the following equation
[Mathematical Expression]
Perform camera gain rebalancing according to
Appearance inspection device.
해당 색상의 측정 휘도값이 목표 휘도값보다 작은 경우에는 해당 색상의 측정 휘도값이 목표 휘도값에 수렴하도록 해당 색상의 화이트 밸런스 비율값을 증가시키는
외관 검사 장치.
The optical system control apparatus according to claim 1,
When the measured luminance value of the corresponding color is smaller than the target luminance value, the white balance ratio value of the corresponding color is increased so that the measured luminance value of the corresponding color converges to the target luminance value
Appearance inspection device.
해당 색상의 측정 휘도값이 목표 휘도값보다 작은 경우, 해당 색상의 화이트 밸런스 비율값이 최대값에서 해당 색상의 측정 휘도값이 목표 휘도값에 수렴하지 않으면, 해당 색상의 화이트 밸런스 비율값을 기 설정된 변경값만큼 감소시키고, 이 경우 카메라 장치의 이득 변경값 ㅿG 및 다른 색상의 화이트 밸런스 비율값 각각의 변경값 ,을 하기 수학식
[수학식]
에 따라 조정하는 카메라 이득 리밸런싱을 수행하는
외관 검사 장치.
6. The apparatus according to claim 5, wherein the optical system controller
If the measured luminance value of the corresponding color is smaller than the target luminance value and if the measured white luminance value of the corresponding color does not converge to the target luminance value at the maximum value, Change value In this case, the gain change value G of the camera apparatus and the change value of each of the white balance ratio values of the other colors , Is expressed by the following equation
[Mathematical Expression]
Perform camera gain rebalancing according to
Appearance inspection device.
상기 카메라 이득과 관련된 각 색상별 화이트 밸런스 비율값을 조정 및 설정하기 이전에, 상기 조명 장치의 조명값과 관련된 각 색상별 화이트 밸런스 비율값을 조정 및 설정하는
외관 검사 장치의 광학계 자동 캘리브레이션 방법.
The optical system control apparatus according to claim 1,
Adjusting and setting a white balance ratio value for each color related to the illumination value of the illumination device before adjusting and setting the white balance ratio value for each color related to the camera gain
Method of automatic calibration of an optical system of a visual inspection apparatus.
상기 광학계 제어장치에 의해, 상기 카메라 장치로부터의 영상 신호에서 영상을 획득하는 단계;
상기 영상으로부터 각 색상의 휘도값을 측정하여 각 색상별 측정 휘도값을 제공하는 단계;
해당 색상의 화이트 밸런스 비율값을 조정하면서 해당 색상의 측정 휘도값과 기 설정된 목표 휘도값에 수렴하는지 판단하는 단계;
상기 측정 휘도값이 목표 휘도값에 수렴하는 방향으로 각 색상의 화이트 밸런스 비율값을 조정하고, 상기 화이트 밸런스 비율값을 상한치 또는 하한치까지 조정한 경우에도, 해당 색상의 측정 휘도값이 목표 휘도값에 수렴하지 않으면, 카메라 이득 리밸런싱한 후, 다시 해당 색상의 측정 휘도값이 목표 휘도값에 수렴하는 방향으로 해당 색상의 화이트 밸런스 비율값을 조정하는 단계; 및
상기 측정 휘도값이 상기 목표 휘도값에 수렴하면 그때의 각 색상의 화이트 밸런스 비율값을 설정하는 단계;
를 포함하는 외관 검사 장치의 광학계 자동 캘리브레이션 방법.
A method for automatically calibrating an optical system of a visual inspection apparatus including an illuminating device for illuminating an inspection target product, a camera device for photographing the inspection target product, and an optical system control device,
Acquiring an image from a video signal from the camera apparatus by the optical system controller;
Measuring a luminance value of each color from the image and providing a measured luminance value for each color;
Determining whether a measured luminance value of a corresponding color converges to a predetermined target luminance value while adjusting a white balance ratio value of the corresponding color;
Even when the white balance ratio value of each color is adjusted in the direction in which the measured luminance value converges to the target luminance value and the white balance ratio value is adjusted to the upper limit value or the lower limit value, Adjusting the white balance ratio value of the color in a direction in which the measured luminance value of the corresponding color converges to the target luminance value after rebalancing the camera gain; And
Setting a white balance ratio value of each color when the measured luminance value converges to the target luminance value;
And an automatic calibration method of the optical system of the visual inspection apparatus.
해당 색상의 측정 휘도값이 목표 휘도값보다 큰 경우에는 해당 색상의 측정 휘도값이 목표 휘도값에 수렴하도록 해당 색상의 화이트 밸런스 비율값을 감소시키는
외관 검사 장치의 광학계 자동 캘리브레이션 방법.
9. The method of claim 8, wherein adjusting the white balance ratio value comprises:
When the measured luminance value of the corresponding color is larger than the target luminance value, the white balance ratio value of the corresponding color is decreased so that the measured luminance value of the corresponding color converges to the target luminance value
Method of automatic calibration of an optical system of a visual inspection apparatus.
해당 색상의 측정 휘도값이 목표 휘도값보다 큰 경우, 해당 색상의 화이트 밸런스 비율값이 최소값에서 해당 색상의 측정 휘도값이 목표 휘도값에 수렴하지 않으면, 해당 색상의 화이트 밸런스 비율값을 기 설정된 변경값만큼 증가시키고, 이 경우 카메라 장치의 이득 변경값ㅿG 및 다른 색상의 화이트 밸런스 비율값 각각의 변경값,을 하기 수학식
[수학식]
에 따라 조정하는 카메라 이득 리밸런싱을 수행하는
외관 검사 장치의 광학계 자동 캘리브레이션 방법.
10. The method of claim 9, wherein adjusting the white balance ratio value comprises:
If the measured luminance value of the corresponding color is larger than the target luminance value, if the measured white balance ratio value of the corresponding color does not converge to the target luminance value from the minimum value, the white balance ratio value of the corresponding color is changed value In this case, the gain change value G of the camera apparatus and the change value of each of the white balance ratio values of the other colors , Is expressed by the following equation
[Mathematical Expression]
Perform camera gain rebalancing according to
Method of automatic calibration of an optical system of a visual inspection apparatus.
해당 색상의 측정 휘도값이 목표 휘도값보다 작은 경우에는 해당 색상의 측정 휘도값이 목표 휘도값에 수렴하도록 해당 색상의 화이트 밸런스 비율값을 증가시키는
외관 검사 장치의 광학계 자동 캘리브레이션 방법.
9. The method of claim 8, wherein adjusting the white balance ratio value comprises:
When the measured luminance value of the corresponding color is smaller than the target luminance value, the white balance ratio value of the corresponding color is increased so that the measured luminance value of the corresponding color converges to the target luminance value
Method of automatic calibration of an optical system of a visual inspection apparatus.
해당 색상의 측정 휘도값이 목표 휘도값보다 작은 경우, 해당 색상의 화이트 밸런스 비율값이 최대값에서 해당 색상의 측정 휘도값이 목표 휘도값에 수렴하지 않으면, 해당 색상의 화이트 밸런스 비율값을 기 설정된 변경값만큼 감소시키고, 이 경우 카메라 장치의 이득 변경값ㅿG 및 다른 색상의 화이트 밸런스 비율값 각각의 변경값,을 하기 수학식
[수학식]
에 따라 조정하는 카메라 이득 리밸런싱을 수행하는
외관 검사 장치의 광학계 자동 캘리브레이션 방법.
12. The method of claim 11, wherein adjusting the white balance ratio value comprises:
If the measured luminance value of the corresponding color is smaller than the target luminance value and if the measured white luminance value of the corresponding color does not converge to the target luminance value at the maximum value, Change value In this case, the gain change value G of the camera apparatus and the change value of each of the white balance ratio values of the other colors , Is expressed by the following equation
[Mathematical Expression]
Perform camera gain rebalancing according to
Method of automatic calibration of an optical system of a visual inspection apparatus.
상기 영상을 획득하는 단계 이전에, 상기 조명 장치의 조명값을 조정하는 단계; 를 더 포함하는
외관 검사 장치의 광학계 자동 캘리브레이션 방법.
9. The method of claim 8,
Adjusting an illumination value of the illumination device prior to acquiring the image; Further comprising
Method of automatic calibration of an optical system of a visual inspection apparatus.
상기 광학계 제어장치에 의해, 상기 카메라 장치로부터의 영상 신호에서 영상을 획득하는 단계;
상기 영상으로부터 각 색상의 휘도값을 측정하여 각 색상별 측정 밝기값을 제공하는 단계;
해당 색상의 조정을 조정하면서 해당 색상의 측정 밝기값과 기 설정된 목표 밝기값에 수렴하는지 판단하는 단계;
상기 측정 밝기값이 상기 목표 밝기값에 수렴하지 않으면, 각 색상의 조명값을 조정하여 상기 영상을 획득하는 단계로 진행하는 단계; 및
상기 측정 밝기값이 상기 목표 밝기값에 수렴하면 그때의 각 색상의 조명값을 설정하는 단계;
를 포함하는 외관 검사 장치의 광학계 자동 캘리브레이션 방법.
14. The method of claim 13, wherein adjusting the illumination value comprises:
Acquiring an image from a video signal from the camera apparatus by the optical system controller;
Measuring a luminance value of each color from the image and providing a measured luminance value for each color;
Determining whether a measured brightness value of the corresponding color converges to a predetermined target brightness value while adjusting an adjustment of the corresponding color;
If the measured brightness value does not converge to the target brightness value, proceeding to adjusting the illumination value of each color to obtain the image; And
Setting an illumination value of each color when the measured brightness value converges to the target brightness value;
And an automatic calibration method of the optical system of the visual inspection apparatus.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020160130015A KR102653207B1 (en) | 2016-10-07 | 2016-10-07 | Visual inspection apparatus and method of optical calibration of the same |
JP2017148070A JP7070867B2 (en) | 2016-10-07 | 2017-07-31 | Visual inspection equipment and its optical system automatic calibration method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020160130015A KR102653207B1 (en) | 2016-10-07 | 2016-10-07 | Visual inspection apparatus and method of optical calibration of the same |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20180038857A true KR20180038857A (en) | 2018-04-17 |
KR102653207B1 KR102653207B1 (en) | 2024-04-01 |
Family
ID=61909928
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020160130015A KR102653207B1 (en) | 2016-10-07 | 2016-10-07 | Visual inspection apparatus and method of optical calibration of the same |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP7070867B2 (en) |
KR (1) | KR102653207B1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20190136794A (en) | 2018-05-31 | 2019-12-10 | 주식회사 미르기술 | Appearance inspecting apparatus of camera module using multi camera |
CN112541860A (en) * | 2019-09-23 | 2021-03-23 | 深圳开阳电子股份有限公司 | Skin color beautifying correction method and device |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110491348A (en) * | 2019-07-31 | 2019-11-22 | 惠州市德赛西威汽车电子股份有限公司 | A kind of display screen white balance adjusting method and its system |
CN113281341A (en) * | 2021-04-19 | 2021-08-20 | 唐山学院 | Detection optimization method of double-sensor surface quality detection system of hot-dip galvanized strip steel |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001249084A (en) | 2000-03-07 | 2001-09-14 | Matsushita Electric Ind Co Ltd | Visual examination device and method for calibrating optical system in visual examination |
JP2003078771A (en) * | 2001-08-31 | 2003-03-14 | Oki Electric Ind Co Ltd | Color image reader |
JP2007303854A (en) * | 2006-05-09 | 2007-11-22 | Nikon Corp | End inspection device |
KR20110055754A (en) * | 2009-11-13 | 2011-05-26 | 정광수 | High color rendering 4-color LED light source for camera inspection |
JP2014089156A (en) * | 2012-10-31 | 2014-05-15 | Toyota Motor Corp | Visual inspection method |
JP2016085050A (en) * | 2014-10-23 | 2016-05-19 | 株式会社プレックス | Appearance inspection device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04122988A (en) * | 1990-09-14 | 1992-04-23 | Canon Inc | Electronic image input device |
JP4038993B2 (en) | 2001-03-29 | 2008-01-30 | オムロン株式会社 | Illumination device for curved surface property inspection device |
-
2016
- 2016-10-07 KR KR1020160130015A patent/KR102653207B1/en active IP Right Grant
-
2017
- 2017-07-31 JP JP2017148070A patent/JP7070867B2/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001249084A (en) | 2000-03-07 | 2001-09-14 | Matsushita Electric Ind Co Ltd | Visual examination device and method for calibrating optical system in visual examination |
JP2003078771A (en) * | 2001-08-31 | 2003-03-14 | Oki Electric Ind Co Ltd | Color image reader |
JP2007303854A (en) * | 2006-05-09 | 2007-11-22 | Nikon Corp | End inspection device |
KR20110055754A (en) * | 2009-11-13 | 2011-05-26 | 정광수 | High color rendering 4-color LED light source for camera inspection |
JP2014089156A (en) * | 2012-10-31 | 2014-05-15 | Toyota Motor Corp | Visual inspection method |
JP2016085050A (en) * | 2014-10-23 | 2016-05-19 | 株式会社プレックス | Appearance inspection device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20190136794A (en) | 2018-05-31 | 2019-12-10 | 주식회사 미르기술 | Appearance inspecting apparatus of camera module using multi camera |
CN112541860A (en) * | 2019-09-23 | 2021-03-23 | 深圳开阳电子股份有限公司 | Skin color beautifying correction method and device |
Also Published As
Publication number | Publication date |
---|---|
JP2018059903A (en) | 2018-04-12 |
JP7070867B2 (en) | 2022-05-18 |
KR102653207B1 (en) | 2024-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106713903B (en) | The detection method and system of the screen intensity uniformity | |
JP7070867B2 (en) | Visual inspection equipment and its optical system automatic calibration method | |
US5821993A (en) | Method and system for automatically calibrating a color camera in a machine vision system | |
CN106373523B (en) | Spliced bright and dark line compensation method | |
US20090046922A1 (en) | Surface Inspecting Apparatus | |
KR101291914B1 (en) | Method for light emitting module's optical axis measuring | |
EP1808680A2 (en) | Measuring method and apparatus using color images | |
JP2007093477A (en) | Method and apparatus of calibrating color measuring device, and color measuring method and device | |
JP3861551B2 (en) | Optical system calibration method for visual inspection | |
KR101916134B1 (en) | Inspection device of conformal coation on printed circuit board | |
KR102235933B1 (en) | Inspection condition optimization system | |
KR20150049473A (en) | Inspection device for pcb product and inspecting method using the same | |
KR100773584B1 (en) | Method of controlling illumination using image | |
JP2017203674A (en) | Change degree derivation device, change degree derivation method, and program | |
JP5609459B2 (en) | Binarization processing method and image processing apparatus | |
US7589783B2 (en) | Camera and illumination matching for inspection system | |
KR20160019763A (en) | Test device and test method for camera module | |
KR101497920B1 (en) | Control method for color lighting of vision system by steepest descent algorithm | |
JP2000214103A (en) | Defect-inspecting device | |
CN111798442B (en) | Whiteness measuring method and parameter calibration method in whiteness measurement | |
JP2016061633A (en) | Color headlight tester and method for testing headlight by color image processing | |
JP2006253201A (en) | Inspection device and optical source apparatus | |
JP2013121176A (en) | Imaging device | |
CN114724502B (en) | Method, system and device for determining influence of ambient light of LED display screen and electronic equipment | |
CN214097185U (en) | Inspection device for different batches of coated products |
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 |