TW202119020A - Optical detection method using composite light source and the detection device thereof - Google Patents

Optical detection method using composite light source and the detection device thereof Download PDF

Info

Publication number
TW202119020A
TW202119020A TW108140362A TW108140362A TW202119020A TW 202119020 A TW202119020 A TW 202119020A TW 108140362 A TW108140362 A TW 108140362A TW 108140362 A TW108140362 A TW 108140362A TW 202119020 A TW202119020 A TW 202119020A
Authority
TW
Taiwan
Prior art keywords
light
emitting elements
different
image information
measurement object
Prior art date
Application number
TW108140362A
Other languages
Chinese (zh)
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 TW108140362A priority Critical patent/TW202119020A/en
Publication of TW202119020A publication Critical patent/TW202119020A/en

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

Present invention discloses an optical detection method using composite light source and the detection device thereof, includes: providing a reference plane for placing a measuring object; and emitting several light of different wavelengths on the measuring object by a plurality sets of light emitting elements, the light emitted by each set of the light emitting elements is one of the three primary colors of red, green, and blue, and relative angel of the optical axis of the light emitted by each of the light-emitting elements are different from each other; capture the image information of different color channel from the image output by the capture device, using the image information of each color channel for different optical detection to detect the shape, size or defect of the object. The present invention also provides an optical inspection apparatus using a composite light source.

Description

使用複合光源的光學檢測方法及其裝置Optical detection method and device using composite light source

本發明有關於一種使用複合光源的光學檢測方法及其裝置,特別是有關於一種適合於印刷電路板、積體電路、電子元件基板等類型物件的使用複合光源的光學檢測方法及其裝置。The present invention relates to an optical detection method and device using a composite light source, in particular to an optical detection method and device using a composite light source suitable for printed circuit boards, integrated circuits, electronic component substrates and other types of objects.

機器視覺檢測被廣泛運用於製造業的各項製程檢測中。典型的機器視覺檢測是透過攝像裝置擷取檢測物件的影像,再配合電腦系統透過影像處理及影像辨識等方式而進行形狀輪廓比對、尺寸量測、或缺陷檢測等檢測作業。Machine vision inspection is widely used in various process inspections in the manufacturing industry. A typical machine vision inspection is to capture images of the inspected object through a camera device, and then cooperate with the computer system to perform shape and contour comparison, size measurement, or defect detection through image processing and image recognition.

在產品製程中,往往需要進行多種不同的檢測,然而現有的檢測技術不同的檢測通常必須使用多組不同攝像裝置或光學掃瞄裝置分次擷取影像,並以多次擷取的影像分別進行不同的光學檢測,以得到不同的檢測結果,如此不僅耗費量測時間,還會增加機具成本。In the product manufacturing process, a variety of different inspections are often required. However, inspections with different existing inspection technologies usually require multiple sets of different camera devices or optical scanning devices to capture images in stages, and perform multiple captured images separately. Different optical inspections can obtain different inspection results, which not only consumes measurement time, but also increases the cost of equipment.

由於以上原因,造成現有量測技術的缺點,故如何透過檢測方法及結構改良,以解決前述各項問題,已成為該項產品所欲解決的重要課題之一。Due to the above reasons, the existing measurement technology has shortcomings. Therefore, how to solve the aforementioned problems through the improvement of the detection method and structure has become one of the important issues to be solved by this product.

本發明主要目的,在於提供一種能夠解決目前量測技術中,必須多次掃瞄方能夠取得不同檢測資訊的缺點。The main purpose of the present invention is to provide a solution that can solve the shortcomings of current measurement technologies that require multiple scans to obtain different detection information.

為了解決上述的技術問題,本發明實施例提供一種使用複合光源的光學檢測方法,其中包括:提供一基準平面以供放置量測物件;提供多組發光元件分別產生不同波長的光線照射於所述量測物件上,多組不同的所述發光元件所產生的光線分別為紅、藍、綠光的其中一種,並且分別以不同的傾斜角度照射於所述量測物件上;透過攝像裝置擷取所述量測物件的影像;從所述攝像裝置輸出的影像資訊中擷取對應於各個所述發光元件所輸出光線顏色通道的影像資訊;及使用各個不同顏色通道的影像資訊進行光學檢測。In order to solve the above technical problems, an embodiment of the present invention provides an optical detection method using a composite light source, which includes: providing a reference plane for placing the measurement object; providing multiple sets of light-emitting elements to respectively generate light of different wavelengths to irradiate the On the measurement object, the light generated by the multiple groups of different light-emitting elements is one of red, blue, and green light, and is irradiated on the measurement object at different inclination angles; captured by a camera device The image of the measurement object; the image information corresponding to the light color channel output by each of the light-emitting elements is extracted from the image information output by the camera device; and the image information of each different color channel is used for optical detection.

本發明方法的一優選實施例,其中多組不同的所述發光元件所產生的光線的光軸共同地交會於所述基準平面的一交會點上。In a preferred embodiment of the method of the present invention, the optical axes of the light rays generated by the multiple groups of different light-emitting elements collectively intersect at an intersection point of the reference plane.

本發明方法的一優選實施例,其中多組所述發光元件當中,包括多個第一發光元件、多個第二發光元件、及多個第三發光元件,其中多個所述第一發光元件、多個所述第二發光元件、和多個所述第三發光元件分別用以發出紅、綠、藍三原色光線的其中一種,並且多個所述第一發光元件、多個所述第二發光元件、和多個所述第三發光元件發出的光線顏色彼此不同。In a preferred embodiment of the method of the present invention, the plurality of groups of the light-emitting elements include a plurality of first light-emitting elements, a plurality of second light-emitting elements, and a plurality of third light-emitting elements, wherein a plurality of the first light-emitting elements , A plurality of the second light-emitting elements and a plurality of the third light-emitting elements are respectively used to emit one of the three primary colors of red, green, and blue light, and a plurality of the first light-emitting elements, a plurality of the second light-emitting elements The light-emitting element and the colors of light emitted by the plurality of third light-emitting elements are different from each other.

本發明方法的一優選實施例,為透過所述攝像裝置輸出未壓縮的影像檔案中,擷取對應於各個所述發光元件所輸出光線顏色通道的影像資訊。A preferred embodiment of the method of the present invention is to capture image information corresponding to the color channels of light output by each of the light-emitting elements in the uncompressed image file output through the camera device.

本發明實施例還提供一種使用複合光源的光學檢測裝置,其中包括:一基座,所述基座頂面形成一基準平面,用以放置一量測物件;一檢測裝置,設置於所述基座的基準平面上方,所述檢測裝置包括一本體部、一攝像裝置、及照明裝置;其中,所述照明裝置具有多組發光元件,多組所述發光元件分別用以產生不同波長的光線照射於所述量測物件上,多組不同的所述發光元件所產生的光線分別為紅、藍、綠光的其中一種,並且分別以不同的傾斜角度照射於所述量測物件上;所述攝像裝置用以擷取所述量測物件影像,並且所述攝像裝置輸出的影像資訊中擷取對應於各個所述發光元件所輸出光線顏色通道的影像資訊,並且使用各個不同顏色通道的影像資訊進行光學檢測。The embodiment of the present invention also provides an optical detection device using a composite light source, which includes: a base, the top surface of the base forms a reference plane for placing a measurement object; a detection device is arranged on the base Above the reference plane of the seat, the detection device includes a main body, an imaging device, and a lighting device; wherein the lighting device has a plurality of groups of light-emitting elements, and the plurality of groups of the light-emitting elements are used to generate light of different wavelengths. On the measurement object, the light generated by the multiple groups of different light-emitting elements is one of red, blue, and green light, and is irradiated on the measurement object at different inclination angles; The camera device is used to capture the image of the measurement object, and from the image information output by the camera device, the image information corresponding to the light color channel output by each of the light-emitting elements is captured, and the image information of each different color channel is used Perform optical inspection.

本發明檢測裝置的一優選實施例,其中所述本體部具有多個呈環形的安裝架,多個所述安裝架分別設置於所述本體部不同高度位置上,用以發出不同顏色光線的各組所述發光元件分別設置於不同的安裝架上。In a preferred embodiment of the detection device of the present invention, the main body has a plurality of ring-shaped mounting frames, and the plurality of mounting frames are respectively arranged at different height positions of the main body to emit light of different colors. The group of light-emitting elements are respectively arranged on different mounting racks.

本發明檢測裝置的一優選實施例,其中所述照明裝置具有多個第一發光元件、多個第二發光元件、及多個第三發光元件,多個所述第一發光元件、多個所述第二發光元件、及多個所述第三發光元件分別用以發出紅、綠、藍三原色光線的其中一種,並且多個所述第一發光元件、多個所述第二發光元件、和多個所述第三發光元件發出的光線顏色彼此不同。In a preferred embodiment of the detection device of the present invention, the lighting device has a plurality of first light-emitting elements, a plurality of second light-emitting elements, and a plurality of third light-emitting elements. The second light-emitting element and the plurality of third light-emitting elements are respectively used to emit one of the three primary colors of red, green, and blue light, and a plurality of the first light-emitting elements, a plurality of the second light-emitting elements, and The colors of light emitted by the plurality of third light-emitting elements are different from each other.

本發明的有益效果,在於能夠透過同一影像擷取程序中完成多種不同檢測作業,而提高檢測效率,並節省機器成本。The beneficial effect of the present invention is that multiple different detection operations can be completed in the same image capturing procedure, thereby improving detection efficiency and saving machine costs.

為使能更進一步瞭解本發明的特徵及技術內容,請參閱以下有關本發明的詳細說明與圖式,然而所提供的圖式僅用於提供參考與說明,並非用來對本發明加以限制。In order to further understand the features and technical content of the present invention, please refer to the following detailed description and drawings about the present invention. However, the provided drawings are only for reference and description, and are not used to limit the present invention.

以下是通過特定的具體實施例來說明本發明所公開有關“使用複合光源的光學檢測方法及其裝置”的實施方式,本領域技術人員可由本說明書所公開的內容瞭解本發明的優點與效果。本發明可通過其他不同的具體實施例加以施行或應用,本說明書中的各項細節也可基於不同觀點與應用,在不悖離本發明的構思下進行各種修改與變更。另外,本發明的附圖僅為簡單示意說明,並非依實際尺寸的描繪,事先聲明。以下的實施方式將進一步詳細說明本發明的相關技術內容,但所公開的內容並非用以限制本發明的保護範圍。The following is a specific embodiment to illustrate the implementation of the "optical detection method and device using a composite light source" disclosed in the present invention. Those skilled in the art can understand the advantages and effects of the present invention from the content disclosed in this specification. The present invention can be implemented or applied through other different specific embodiments, and various details in this specification can also be based on different viewpoints and applications, and various modifications and changes can be made without departing from the concept of the present invention. In addition, the drawings of the present invention are merely schematic illustrations, and are not drawn according to actual dimensions, and are stated in advance. The following embodiments will further describe the related technical content of the present invention in detail, but the disclosed content is not intended to limit the protection scope of the present invention.

應當可以理解的是,雖然本文中可能會使用到“第一”、“第二”、“第三”等術語來描述各種元件或者信號,但這些元件或者信號不應受這些術語的限制。這些術語主要是用以區分一元件與另一元件,或者一信號與另一信號。另外,本文中所使用的術語“或”,應視實際情況可能包括相關聯的列出項目中的任一個或者多個的組合。It should be understood that although terms such as "first", "second", and "third" may be used herein to describe various elements or signals, these elements or signals should not be limited by these terms. These terms are mainly used to distinguish one element from another, or one signal from another signal. In addition, the term "or" used in this document may include any one or a combination of more of the associated listed items depending on the actual situation.

如圖1至圖3所示,為本發明量測方法所使用檢測裝置的一具體實施例。本實施例中,檢測裝置2設置於一測量機台1上,所述測量機台1具有一基座3,基座3的頂面形成一基準平面301,用以供放置量測物件,以及一移動裝置4,設置於基座3頂面,移動裝置4包括有一移動機架401,以及設置於基座3頂面的第一滑軌402,以及設置於移動機架401上的第二滑軌403。As shown in FIG. 1 to FIG. 3, it is a specific embodiment of the detection device used in the measurement method of the present invention. In this embodiment, the detection device 2 is disposed on a measuring machine 1 having a base 3, and the top surface of the base 3 forms a reference plane 301 for placing measurement objects, and A mobile device 4 is arranged on the top surface of the base 3. The mobile device 4 includes a mobile frame 401, a first sliding rail 402 arranged on the top surface of the base 3, and a second sliding rail 402 arranged on the mobile frame 401 Rail 403.

本發明的檢測裝置2設置於移動機架401上,並且能夠透過移動機架401的第一滑軌402及第二滑軌403帶動檢測裝置2沿著基座3的基準平面301位移,而使得檢測裝置2的位置能夠移動到基準平面301的任一位置。The detection device 2 of the present invention is set on the mobile frame 401, and can drive the detection device 2 to move along the reference plane 301 of the base 3 through the first sliding rail 402 and the second sliding rail 403 of the mobile frame 401, so that The position of the detection device 2 can be moved to any position on the reference plane 301.

如圖2及圖3所示,本發明的檢測裝置2包括有一本體部10、攝像裝置20、照明裝置30。其中,本體部10具有一可拆卸的外殼11,用以保護攝像裝置20、照明裝置30等主要組件,並且外殼11能夠容易拆卸,以利於維修內部組件。本體部10的上端設置有一鏡頭支架12,用以固定攝像裝置20,以及多個安裝架13,用以設置所述照明裝置30。本體部10的底部設置一開口部14,所述開口部14面向於所述基準平面,攝像裝置20的鏡頭21能夠通過開口部14擷取量測物件40的影像,並且照明裝置30的光線能夠通過開口部14投射於量測物件上。As shown in FIGS. 2 and 3, the detection device 2 of the present invention includes a main body 10, an imaging device 20, and an illumination device 30. Wherein, the main body 10 has a detachable housing 11 for protecting main components such as the camera device 20 and the lighting device 30, and the housing 11 can be easily disassembled to facilitate maintenance of internal components. The upper end of the main body 10 is provided with a lens holder 12 for fixing the camera device 20 and a plurality of mounting frames 13 for installing the lighting device 30. An opening 14 is provided at the bottom of the main body 10, and the opening 14 faces the reference plane. The lens 21 of the imaging device 20 can capture the image of the measurement object 40 through the opening 14, and the light of the illuminating device 30 can It is projected onto the measurement object through the opening 14.

請同時參考圖2及圖3所示,本實施例中,本體部10能夠定義出一中心軸線C,所述中心軸線C垂直於基座3的基準平面301,並且所述攝像裝置20以及所述開口部14均位於中心軸線C上。多個所述安裝架13大致上呈環形,並且各個安裝架13的中心對準於中心軸線C。安裝架13的數量為三個,並且三個所述安裝架13分別設置於本體部10的不同高度位置上。2 and 3 at the same time, in this embodiment, the main body 10 can define a central axis C, the central axis C is perpendicular to the reference plane 301 of the base 3, and the camera device 20 and the The openings 14 are all located on the central axis C. The plurality of mounting brackets 13 are substantially annular, and the center of each mounting bracket 13 is aligned with the central axis C. The number of the mounting brackets 13 is three, and the three mounting brackets 13 are respectively arranged at different height positions of the main body portion 10.

攝像裝置20具有一鏡頭21,以及一連接於鏡頭21的影像擷取裝置22,影像擷取裝置22透過鏡頭21擷取量測物件的影像,且將量測物件影像傳送至一後台處理系統(例如:電腦主機)進行處理,並透過影像辨識技術進行光學檢測,以取得量測資訊。The camera device 20 has a lens 21 and an image capture device 22 connected to the lens 21. The image capture device 22 captures an image of a measurement object through the lens 21 and transmits the image of the measurement object to a background processing system ( For example: computer host) for processing, and optical detection through image recognition technology to obtain measurement information.

更詳細地說,本發明的攝像裝置20的影像擷取裝置22為具有影像感測器(圖中未示),所述影像感測器為具有紅、綠、藍三原色像素的感測器(例如:CCD或CMOS影像感測器),因此每一感光像素(Pixel)中分別包含有紅、綠、藍三色像素單元,分別用以感測紅光、綠光、及藍光。並且影像擷取裝置22能夠輸出未壓縮影像檔案格式(RAW檔),由於未壓縮的原始影像檔案格式中包含了每一像素的紅、綠、藍像素資訊,因此能夠從未壓縮影像檔案中擷取出紅、綠、藍三色通道(Channel)的影像資訊。或者影像擷取裝置22能夠分別輸出紅、綠、藍三色通道的影像資訊。In more detail, the image capturing device 22 of the camera device 20 of the present invention has an image sensor (not shown in the figure), and the image sensor is a sensor with three primary color pixels of red, green, and blue ( For example: CCD or CMOS image sensor), each light-sensitive pixel (Pixel) includes three color pixel units of red, green, and blue, respectively, for sensing red light, green light, and blue light. And the image capturing device 22 can output uncompressed image file format (RAW file). Since the uncompressed original image file format contains the red, green, and blue pixel information of each pixel, it can capture from the uncompressed image file. Get the image information of the red, green, and blue channels. Or the image capturing device 22 can output image information of the red, green, and blue channels respectively.

特別說明,本實施例中攝像裝置20的數量為一個,並且攝像裝置20的鏡頭21光軸對準於中心軸線C,然而再本發明其他實施例中,攝像裝置20的數量可以為一個以上,並且各個攝像裝置的鏡頭光軸也能夠對準於中心軸線C,也能夠不對齊中心軸線C。In particular, the number of camera devices 20 in this embodiment is one, and the optical axis of the lens 21 of the camera device 20 is aligned with the central axis C. However, in other embodiments of the present invention, the number of camera devices 20 may be more than one. In addition, the optical axis of the lens of each imaging device can also be aligned with the central axis C or not aligned with the central axis C.

請配合圖3及圖4所示,本實施例中的照明裝置30具有多個第一發光元件31a設置於最上層的安裝架13上,而形成一發光陣列;多個第二發光元件31b設置於中層的安裝架13上,而形成另一發光陣列;多個第三發光元件31c設置於最底層的安裝架13上,而形成最底層的發光陣列。第一發光元件31a、第二發光元件31b、第三發光元件31c分別為用以發出不同波長的光線(例如:紅光、綠光、藍光)光線的發光二極體晶片,用以投射光線於量測物件40上以作為量測的光源。特別說明,本發明的第一發光元件31a、第二發光元件31b、第三發光元件31c所發出的光線分別為紅、綠、藍三原色光線的其中一種,並且第一發光元件31a、第二發光元件31b、第三發光元件31c所發出的光線顏色彼此不同。As shown in FIGS. 3 and 4, the lighting device 30 in this embodiment has a plurality of first light-emitting elements 31a arranged on the uppermost mounting frame 13 to form a light-emitting array; a plurality of second light-emitting elements 31b are arranged On the mounting frame 13 in the middle layer, another light-emitting array is formed; a plurality of third light-emitting elements 31c are arranged on the mounting frame 13 at the bottom layer to form the light-emitting array at the bottom layer. The first light-emitting element 31a, the second light-emitting element 31b, and the third light-emitting element 31c are respectively light-emitting diode chips for emitting light of different wavelengths (for example, red light, green light, and blue light), which are used to project light on The measurement object 40 is used as a light source for measurement. In particular, the light emitted by the first light-emitting element 31a, the second light-emitting element 31b, and the third light-emitting element 31c of the present invention is one of the three primary colors of red, green, and blue light, and the first light-emitting element 31a and the second light-emitting element 31a emit light. The colors of the light emitted by the element 31b and the third light-emitting element 31c are different from each other.

第一發光元件31a、第二發光元件31b、第三發光元件31c分別設置於本體部10的三個安裝架13上。由於三個安裝架13分別位於不同的高度位置上,因此使得第一發光元件31a、第二發光元件31b、第三發光元件31c分別被定位在不同的高度位置。較佳者,多個第一發光元件31a、第二發光元件31b、第三發光元件31c以相等間隔設置在安裝架13上,因此使得多個第一發光元件31a、第二發光元件31b、第三發光元件31c能夠以中心軸線C為中心,而以等間隔環繞設置在各個安裝架13上並且對稱於中心軸線C。The first light-emitting element 31a, the second light-emitting element 31b, and the third light-emitting element 31c are respectively disposed on the three mounting brackets 13 of the main body 10. Since the three mounting brackets 13 are respectively located at different height positions, the first light emitting element 31a, the second light emitting element 31b, and the third light emitting element 31c are respectively positioned at different height positions. Preferably, the plurality of first light-emitting elements 31a, second light-emitting elements 31b, and third light-emitting elements 31c are arranged on the mounting frame 13 at equal intervals, so that the plurality of first light-emitting elements 31a, second light-emitting elements 31b, and The three light-emitting elements 31c can be centered on the central axis C, and are circumferentially arranged on each mounting frame 13 at equal intervals and are symmetrical to the central axis C.

如圖4所示,本發明將各個第一發光元件31a發出光線的第一光軸L1、第二發光元件31b的第二光軸L2、以及第三發光元件31c的第三光軸L3安排成共同和中心軸線C交會於基準平面301的一交會點。並且,由於第一發光元件31a、第二發光元件31b、第三發光元件31c的高度位置不同,因此使得第一光軸L1、第二光軸L2以及第三光軸L3相對於基準平面301的傾斜角也彼此不同,進而使得第一發光元件31a、第二發光元件31b、第三發光元件31c所發出的紅、綠、藍三原色光線能夠以不同的角度照射於基準平面301和量測物件40上。本發明照明裝置30所產生的三原色光源分別以不同角度照射在基準平面301上,因此使得三原色光源之間不會相互干擾。As shown in FIG. 4, the present invention arranges the first optical axis L1 of each first light-emitting element 31a to emit light, the second optical axis L2 of the second light-emitting element 31b, and the third optical axis L3 of the third light-emitting element 31c as The common and central axis C intersect at an intersection of the reference plane 301. In addition, since the height positions of the first light-emitting element 31a, the second light-emitting element 31b, and the third light-emitting element 31c are different, the first optical axis L1, the second optical axis L2, and the third optical axis L3 are relative to the reference plane 301. The inclination angles are also different from each other, so that the red, green, and blue light rays emitted by the first light-emitting element 31a, the second light-emitting element 31b, and the third light-emitting element 31c can irradiate the reference plane 301 and the measurement object 40 at different angles. on. The light sources of the three primary colors generated by the lighting device 30 of the present invention are irradiated on the reference plane 301 at different angles, so that the light sources of the three primary colors will not interfere with each other.

接著透過攝像裝置20擷取量測物件40的影像,並且透過影像擷取裝置22輸出一影像檔案至後台處理系統(例如:電腦),並且從影像擷取裝置22輸出的影像檔案中分別擷取紅、綠、藍三原色通道的影像資訊,並分別利用三原色通道的影像資訊分別進行影像辨識或比對,而能夠透過不同通道的影像資訊進行量測圖形輪廓、尺寸測量、或表面情形及缺陷檢測等類型的量測或檢測作業。由於本發明是透過不同角度的紅、綠、藍光線作為照明光源,攝像裝置20在擷取量測物件40影像時,影像感測器的每一像素當中的紅、綠、藍三色感光像素分別只會對紅、綠、藍三色光線感應,因此將使得各個顏色通道的影像資訊不會和其餘顏色通道的影像相互干擾。此外,本發明的照明裝置30中不同顏色光源是以不同傾斜角度照射於量測物件40上,因此使得不同顏色通道的影像資訊會有不同的特性,而適合於不同類型的檢測作業。Then capture the image of the measurement object 40 through the camera device 20, and output an image file to the background processing system (such as a computer) through the image capture device 22, and respectively capture the image files output from the image capture device 22 The image information of the three primary color channels of red, green, and blue are used for image identification or comparison with the image information of the three primary color channels, and the image information of different channels can be used to measure the figure outline, size measurement, or surface condition and defect detection And other types of measurement or inspection operations. Since the present invention uses red, green, and blue rays at different angles as the illuminating light source, when the imaging device 20 captures the image of the measurement object 40, the red, green, and blue light-sensitive pixels in each pixel of the image sensor Only the red, green, and blue light are sensed respectively, so the image information of each color channel will not interfere with the images of the other color channels. In addition, the light sources of different colors in the illuminating device 30 of the present invention are irradiated on the measurement object 40 at different oblique angles, so that the image information of different color channels has different characteristics and is suitable for different types of inspection operations.

例如,圖4所示,本實施例中,第一光軸L1和基準平面301具有最大的夾角,因此使得第一發光元件31a所輸出的光線能夠在量測物件40的表面形成較為均勻的照度,因此使得對應於第一發光元件31a輸出光線顏色通道的影像適合用以進行量測物件表面處理情形或缺陷的檢測(例如:表面粗度量測、刮痕量測)。而其中第三發光元件31c的第三光軸L3和基準平面301的夾角最小,因此使得第三發光元件31c產生的光線以低角度照射於量測物件上,而能夠使得量測物件40的圖案層41的邊緣輪廓形成較明顯的對比,並且光線照射於量測物件40表面形成的反射會有較明顯的明暗變化,因此適合用於圖形輪廓尺寸量測,以及透過光線反射檢測量測物件40表面翹曲或凹陷的缺陷。並且本實施例中第二發光元件31b的第二光軸L2傾斜角度介於第一光軸L1和第三光軸L3的傾斜角度之間,因此適合用於輪廓形貌的比對檢測。For example, as shown in FIG. 4, in this embodiment, the first optical axis L1 and the reference plane 301 have the largest included angle, so that the light output by the first light-emitting element 31a can form a relatively uniform illuminance on the surface of the measurement object 40 Therefore, the image corresponding to the color channel of the output light of the first light-emitting element 31a is suitable for detecting the surface treatment or defect of the measurement object (for example, surface roughness measurement, scratch measurement). The angle between the third optical axis L3 of the third light-emitting element 31c and the reference plane 301 is the smallest, so that the light generated by the third light-emitting element 31c is irradiated on the measurement object at a low angle, thereby enabling the pattern of the measurement object 40 The edge contour of the layer 41 forms a more obvious contrast, and the reflection formed by the light irradiated on the surface of the measurement object 40 will have a more obvious light and dark change, so it is suitable for the measurement of the figure outline size and the detection of the measurement object 40 through light reflection. Defects of surface warpage or depression. In addition, the inclination angle of the second optical axis L2 of the second light-emitting element 31b in this embodiment is between the inclination angles of the first optical axis L1 and the third optical axis L3, so it is suitable for comparison and detection of contours.

更詳細地說,為使得第一發光元件31a、第二發光元件31b、和第三發光元件31c所發出光線的照射角度適合於不同的檢測作業,本發明較佳實施例中,第一光軸L1和基準平面301的夾角θ1 安排為介於60度至85度的角度範圍內,而第二光軸L2和基準平面301的夾角θ2 安排為介於30度至60度的角度範圍,第三光軸L3和基準平面301的夾角θ3 安排為介於5度至30度的角度範圍。In more detail, in order to make the irradiation angles of the light emitted by the first light-emitting element 31a, the second light-emitting element 31b, and the third light-emitting element 31c suitable for different inspection tasks, in a preferred embodiment of the present invention, the first optical axis The angle θ 1 between L1 and the reference plane 301 is arranged to be in the range of 60 degrees to 85 degrees, and the angle θ 2 between the second optical axis L2 and the reference plane 301 is arranged to be in the range of angles from 30 degrees to 60 degrees. The angle θ 3 between the third optical axis L3 and the reference plane 301 is arranged in an angle range of 5 degrees to 30 degrees.

特別說明,上述實施例中,檢測裝置2的照明裝置30雖然具有三組不同顏色的發光元件分別輸出紅、綠、藍三原色光線,並且能夠擷取紅、綠、藍三色通道的影像資訊以進行不同的量測或檢測作業,然而本發明其他實施例中,發光元件的數量不限於三組,例如:照明裝置30中僅設置二組不同顏色的發光元件,並且二組發光元件分別輸出紅、綠、藍其中一色的光線。In particular, in the above-mentioned embodiment, although the illumination device 30 of the detection device 2 has three sets of light-emitting elements of different colors to output the three primary colors of red, green, and blue light, and can capture the image information of the red, green, and blue channels to Different measurement or inspection tasks are performed. However, in other embodiments of the present invention, the number of light-emitting elements is not limited to three groups. For example, only two groups of light-emitting elements of different colors are provided in the lighting device 30, and the two groups of light-emitting elements respectively output red , Green and blue light.

如圖5所示,為本發明量測方法的方塊流程示意圖。本發明所提供的使用多種單色光源的視覺量測方法主要包含下列步驟。其中,步驟S1中,為提供一量測基準面以供放置量測物件。接著步驟S2中,為提供多組發光元件分別產生不同波長光線投射於量測物件上。其中各組不同的發光元件分別發出紅、綠、藍三原色其中任一色的光線,各組不同的所述發光元件所輸出光線的顏色彼此不同,並且各個不同顏色的光線分別以不同傾斜角度投射於量測物件上,並且較佳實施例中,各個不同顏色光源的光軸共同交會於基準平面的一交會點上。As shown in FIG. 5, it is a schematic block diagram of the measurement method of the present invention. The visual measurement method using multiple monochromatic light sources provided by the present invention mainly includes the following steps. Wherein, in step S1, a measurement reference surface is provided for placing the measurement object. Next, in step S2, to provide multiple sets of light-emitting elements to respectively generate light of different wavelengths and project them on the measurement object. The different groups of light-emitting elements respectively emit light of any one of the three primary colors of red, green, and blue. The colors of the light output from the different groups of light-emitting elements are different from each other, and the light of each different color is projected at different oblique angles. On the measurement object, and in a preferred embodiment, the optical axes of the light sources of different colors jointly intersect at an intersection of the reference plane.

步驟S3中,為透過攝像裝置擷取量測物件影像。In step S3, the image of the measurement object is captured through the camera device.

步驟S4中,為從攝像裝置輸出影像資訊中擷取對應於各個所述發光元件所輸出光線顏色通道的影像資訊。In step S4, the image information corresponding to the light color channel output by each of the light-emitting elements is extracted from the image information output by the camera device.

步驟S5中,為使用各個不同顏色通道的影像資訊進行影像辨識,以進行檢測或量測作業。並且各個不同顏色通道的影像資訊分別用於不同類型的量測或檢測。In step S5, image recognition is performed using image information of different color channels for detection or measurement. And the image information of each different color channel is used for different types of measurement or detection.

以下以實例說明本發明的量測方法及檢測裝置的特點及功效:The following examples illustrate the characteristics and effects of the measurement method and detection device of the present invention:

1、本發明的技術能夠透過同一攝像裝置擷取不同顏色通道的影像資訊,而同時進行高度資訊以及多種二維量測資訊或檢測作業,因此能夠增進量測效率,並且適合用於需要多種量測資訊的用途。例如:將本發明技術運用於印刷電路板製程檢測用途時,能夠透過量測高度資訊的方式達到檢測銅箔厚度、檢測電路板翹曲等檢測作業,並且同時進行印刷圖案檢測、表面處理或刮痕檢測等檢測作業。1. The technology of the present invention can capture image information of different color channels through the same camera device, while simultaneously performing height information and a variety of two-dimensional measurement information or inspection operations, so it can improve measurement efficiency and is suitable for use in a variety of measurements. The purpose of measuring information. For example, when the technology of the present invention is applied to the inspection of printed circuit board manufacturing process, it can measure the thickness of copper foil, detect the warpage of the circuit board and other inspection operations by measuring the height information, and perform printing pattern inspection, surface treatment or scratching at the same time. Trace detection and other inspection operations.

2、本發明技術能夠透過平面影像進行高度資訊的量測,因此能夠透過簡單的裝置達到高度量測作業的目的,因此降低了裝置成本。2. The technology of the present invention can measure the height information through a plane image, and therefore can achieve the purpose of height measurement through a simple device, thereby reducing the cost of the device.

3、本發明技術為透過三原色光源作為量測光源,因此使得三種不同顏色光源通道的影像不會互相干擾,而能夠達到利用不同原色光源通道的影像資訊進行影像辨識以進行量測,而同時取得多種量測作業的目的。3. The technology of the present invention uses the three primary color light sources as the measurement light source, so that the images of the three different color light source channels will not interfere with each other, and can achieve image recognition by using the image information of the different primary color light source channels for measurement, and simultaneously obtain The purpose of a variety of measurement tasks.

以上所述僅為本發明的較佳可行實施例,非因此侷限本發明的專利範圍,故舉凡運用本發明說明書及圖式內容所做的等效技術變化,均包含於本發明的保護範圍內。The above descriptions are only the preferred and feasible embodiments of the present invention, which do not limit the scope of the present invention. Therefore, all equivalent technical changes made by using the description and drawings of the present invention are included in the protection scope of the present invention. .

1:測量機台 2:檢測裝置 3:基座 301:基準平面 4:移動裝置 401:移動機架 402:第一滑軌 403:第二滑軌 10:本體部 11:外殼 12:鏡頭支架 13:安裝架 14:開口部 20:攝像裝置 21:鏡頭 22:影像擷取裝置 30:照明裝置 31a:第一發光元件 31b:第二發光元件 31c:第三發光元件 40:量測物件 41:圖案層 C:中心軸線 L1:第一光軸 L2:第二光軸 L3:第三光軸 θ1、θ2、θ3:夾角1: Measuring machine 2: Detection device 3: Pedestal 301: Datum plane 4: mobile device 401: mobile rack 402: first slide 403: second slide 10: Body part 11: shell 12: lens holder 13: Mounting frame 14: Opening 20: Camera 21: lens 22: Image capture device 30: Lighting device 31a: The first light-emitting element 31b: second light-emitting element 31c: third light-emitting element 40: Measuring object 41: pattern layer C: central axis L1: first optical axis L2: second optical axis L3: third optical axis θ1, θ2, θ3: included angle

圖1為本發明所使用檢測裝置的立體示意圖。Fig. 1 is a three-dimensional schematic diagram of the detection device used in the present invention.

圖2為本發明使用檢測裝置的局部分解示意圖。Fig. 2 is a partial exploded schematic diagram of the detection device used in the present invention.

圖3為本發明使用檢測裝置的剖面示意圖。Fig. 3 is a schematic cross-sectional view of the detection device used in the present invention.

圖4為本發明檢測方法的操作方法示意圖。Fig. 4 is a schematic diagram of the operation method of the detection method of the present invention.

圖5為本發明檢測方法的方塊流程示意圖。Fig. 5 is a schematic block diagram of the detection method of the present invention.

2:檢測裝置2: Detection device

301:基準平面301: Datum plane

10:本體部10: Body part

11:外殼11: shell

12:鏡頭支架12: lens holder

13:安裝架13: Mounting frame

14:開口部14: Opening

20:攝像裝置20: Camera

21:鏡頭21: lens

22:影像擷取裝置22: Image capture device

30:照明裝置30: Lighting device

31a:第一發光元件31a: The first light-emitting element

31b:第二發光元件31b: second light-emitting element

31c:第三發光元件31c: third light-emitting element

40:量測物件40: Measuring object

C:中心軸線C: central axis

L1:第一光軸L1: first optical axis

L2:第二光軸L2: second optical axis

L3:第三光軸L3: third optical axis

Claims (10)

一種使用複合光源的光學檢測方法,其中包括: 提供一基準平面以供放置量測物件; 提供多組發光元件分別產生不同波長的光線照射於所述量測物件上,多組不同的所述發光元件所產生的光線分別為紅、藍、綠光的其中一種,並且分別以不同的傾斜角度照射於所述量測物件上; 透過攝像裝置擷取所述量測物件的影像; 從所述攝像裝置輸出的影像資訊中擷取對應於各個所述發光元件所輸出光線顏色通道的影像資訊;及 使用各個不同顏色通道的影像資訊進行光學檢測。An optical detection method using a composite light source, which includes: Provide a reference plane for placing measurement objects; Multiple groups of light-emitting elements are provided to respectively generate light of different wavelengths to illuminate the measurement object, and the light generated by the multiple groups of different light-emitting elements are one of red, blue, and green light, and are respectively inclined at different angles The angle is irradiated on the measurement object; Capturing an image of the measurement object through a camera device; Extracting image information corresponding to the light color channel output by each of the light-emitting elements from the image information output by the camera device; and Use image information of different color channels for optical inspection. 如申請專利範圍第1項所述的使用複合光源的光學檢測方法,其中多組不同的所述發光元件所產生的光線的光軸共同地交會於所述基準平面的一交會點上。As described in the first item of the scope of patent application, the optical detection method using a composite light source, wherein the optical axes of the light rays generated by the multiple groups of different light-emitting elements collectively intersect at an intersection of the reference plane. 如申請專利範圍第1項所述的使用複合光源的光學檢測方法,其中多組所述發光元件當中,包括多個第一發光元件、多個第二發光元件、及多個第三發光元件,其中多個所述第一發光元件、多個所述第二發光元件、和多個所述第三發光元件分別用以發出紅、綠、藍三原色光線的其中一種,並且多個所述第一發光元件、多個所述第二發光元件、和多個所述第三發光元件發出的光線顏色彼此不同。The optical detection method using a composite light source as described in the first item of the scope of patent application, wherein the plurality of groups of the light-emitting elements include a plurality of first light-emitting elements, a plurality of second light-emitting elements, and a plurality of third light-emitting elements, Wherein a plurality of the first light-emitting elements, a plurality of the second light-emitting elements, and a plurality of the third light-emitting elements are respectively used to emit one of the three primary colors of red, green, and blue light, and a plurality of the first The light-emitting element, the plurality of second light-emitting elements, and the plurality of third light-emitting elements emit light in different colors from each other. 如申請專利範圍第1項所述的使用複合光源的光學檢測方法,為透過所述攝像裝置輸出未壓縮的影像檔案中,擷取對應於各個所述發光元件所輸出光線顏色通道的影像資訊。The optical detection method using a composite light source as described in the first item of the scope of patent application is to capture image information corresponding to the color channels of light output by each of the light-emitting elements from the uncompressed image file output through the camera device. 一種使用複合光源的光學檢測裝置,其中包括: 一基座,所述基座頂面形成一基準平面,用以放置一量測物件; 一檢測裝置,設置於所述基座的基準平面上方,所述檢測裝置包括一本體部、一攝像裝置、及照明裝置; 其中,所述照明裝置具有多組發光元件,多組所述發光元件分別用以產生不同波長的光線照射於所述量測物件上,多組不同的所述發光元件所產生的光線分別為紅、藍、綠光的其中一種,並且分別以不同的傾斜角度照射於所述量測物件上; 所述攝像裝置用以擷取所述量測物件影像,並且所述攝像裝置輸出的影像資訊中擷取對應於各個所述發光元件所輸出光線顏色通道的影像資訊,並且使用各個不同顏色通道的影像資訊進行光學檢測。An optical detection device using a composite light source, which includes: A base, the top surface of the base forms a reference plane for placing a measurement object; A detection device arranged above the reference plane of the base, the detection device including a body portion, a camera device, and an illumination device; Wherein, the lighting device has a plurality of groups of light-emitting elements, and the plurality of groups of the light-emitting elements are respectively used to generate light of different wavelengths to irradiate the measurement object, and the light generated by the plurality of different groups of the light-emitting elements is red. , Blue, and green light, and irradiate the measurement object with different oblique angles; The camera device is used to capture the image of the measurement object, and from the image information output by the camera device, the image information corresponding to the color channel of the light output by each of the light-emitting elements is captured, and the image information of each of the different color channels is used. Image information is optically inspected. 如申請專利範圍第5項所述的使用複合光源的光學檢測裝置,其中所述本體部具有多個呈環形的安裝架,多個所述安裝架分別設置於所述本體部不同高度位置上,用以發出不同顏色光線的各組所述發光元件分別設置於不同的安裝架上。The optical detection device using a composite light source as described in item 5 of the scope of patent application, wherein the main body part has a plurality of ring-shaped mounting frames, and the plurality of mounting frames are respectively arranged at different height positions of the main body part, Each group of the light-emitting elements for emitting light of different colors are respectively arranged on different mounting racks. 如申請專利範圍第6項所述的使用複合光源的光學檢測裝置,其中用以發出不同顏色光線的各組所述發光元件所發出光線的光軸共同地交會於所述基準平面的一交會點上。As described in item 6 of the scope of patent application, the optical detection device using a composite light source, wherein the optical axes of the light emitted by each group of the light-emitting elements for emitting light of different colors collectively intersect at a point of intersection of the reference plane on. 如申請專利範圍第6項所述的使用複合光源的光學檢測裝置, 其中所述照明裝置具有多個第一發光元件、多個第二發光元件、及多個第三發光元件,多個所述第一發光元件、多個所述第二發光元件、及多個所述第三發光元件分別用以發出紅、綠、藍三原色光線的其中一種,並且多個所述第一發光元件、多個所述第二發光元件、和多個所述第三發光元件發出的光線顏色彼此不同。The optical detection device using a composite light source as described in item 6 of the scope of patent application, The lighting device has a plurality of first light-emitting elements, a plurality of second light-emitting elements, and a plurality of third light-emitting elements, a plurality of the first light-emitting elements, a plurality of the second light-emitting elements, and a plurality of light-emitting elements. The third light-emitting elements are respectively used to emit one of the three primary colors of red, green, and blue light, and a plurality of the first light-emitting elements, a plurality of the second light-emitting elements, and a plurality of the third light-emitting elements emit light The light colors are different from each other. 如申請專利範圍第8項所述的使用複合光源的光學檢測裝置,其中多個所述第一發光元件發出光線的光軸和所述基準平面的夾角介於60度至85度的角度範圍內;多個所述第二發光元件發出光線的光軸和所述基準平面的夾角介於30度至60度的角度範圍內;多個所述第三發光元件發出光線的光軸和所述基準平面的夾角介於5度至30度的角度範圍內。The optical detection device using a composite light source as described in item 8 of the scope of patent application, wherein the angle between the optical axis of the light emitted by the plurality of first light-emitting elements and the reference plane is within an angle range of 60 degrees to 85 degrees The angle between the optical axis of the light emitted by the plurality of second light-emitting elements and the reference plane is within an angular range of 30 degrees to 60 degrees; the optical axis of the light emitted by the plurality of third light-emitting elements and the reference plane The angle of the plane is in the range of 5 degrees to 30 degrees. 如申請專利範圍第6項所述的使用複合光源的光學檢測裝置,其中具有一組或一組以上的所述攝像裝置,用以擷取所述量測物件的影像。The optical detection device using a composite light source as described in item 6 of the scope of patent application has one or more than one set of the camera device for capturing the image of the measurement object.
TW108140362A 2019-11-07 2019-11-07 Optical detection method using composite light source and the detection device thereof TW202119020A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108140362A TW202119020A (en) 2019-11-07 2019-11-07 Optical detection method using composite light source and the detection device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108140362A TW202119020A (en) 2019-11-07 2019-11-07 Optical detection method using composite light source and the detection device thereof

Publications (1)

Publication Number Publication Date
TW202119020A true TW202119020A (en) 2021-05-16

Family

ID=77020760

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108140362A TW202119020A (en) 2019-11-07 2019-11-07 Optical detection method using composite light source and the detection device thereof

Country Status (1)

Country Link
TW (1) TW202119020A (en)

Similar Documents

Publication Publication Date Title
TWI524064B (en) An optical inspection apparatus for multi-defect detection
US7330251B2 (en) Method and apparatus for producing reference image in glass bottle inspecting apparatus
TWI426261B (en) End inspection device
KR101692115B1 (en) Inspection apparatus and inspection method
US20060000968A1 (en) Glass bottle inspection device
TWI773032B (en) An arched illumination device, an imaging system with the same and a method for imaging
JP2007303853A (en) End inspection device
WO2021129283A1 (en) Illuminating apparatus used for automated optical inspection device, and imaging system
JP5245212B2 (en) Edge inspection device
JP2001266127A (en) Device for inspecting printed wiring board
JP2015197361A (en) Surface inspection device and surface inspection method
JP2019054203A (en) Manufacturing apparatus for semiconductor and manufacturing method for semiconductor
JP5608925B2 (en) Glass bottle printing inspection equipment
KR101079686B1 (en) Image recognition apparatus and image recognition method
JP2007212690A (en) Inspection apparatus for liquid crystal panel and its inspection method
TW202119020A (en) Optical detection method using composite light source and the detection device thereof
TWI687672B (en) Optical inspection system and image processing method thereof
JP2012039096A (en) Device and method for determining presence/absence of component
JP5959430B2 (en) Bottle cap appearance inspection device and appearance inspection method
WO2019117802A1 (en) A system for obtaining 3d images of objects and a process thereof
KR101876391B1 (en) Apparatus for inspecting three dimension Using multi-channel image of single color light Moire
CN112881401A (en) Optical detection method using composite light source and device thereof
CN112857234A (en) Measuring method and device for combining two-dimensional and height information of object
JP2000018927A (en) Visual inspection device
JP4386326B2 (en) Printed circuit board inspection method and apparatus used therefor