TWI778704B - Smart needle preparation review system - Google Patents

Smart needle preparation review system Download PDF

Info

Publication number
TWI778704B
TWI778704B TW110125578A TW110125578A TWI778704B TW I778704 B TWI778704 B TW I778704B TW 110125578 A TW110125578 A TW 110125578A TW 110125578 A TW110125578 A TW 110125578A TW I778704 B TWI778704 B TW I778704B
Authority
TW
Taiwan
Prior art keywords
needle
preparation
image
drill
review
Prior art date
Application number
TW110125578A
Other languages
Chinese (zh)
Other versions
TW202303525A (en
Inventor
張育昊
何瑞琦
Original Assignee
敬鵬工業股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 敬鵬工業股份有限公司 filed Critical 敬鵬工業股份有限公司
Priority to TW110125578A priority Critical patent/TWI778704B/en
Application granted granted Critical
Publication of TWI778704B publication Critical patent/TWI778704B/en
Publication of TW202303525A publication Critical patent/TW202303525A/en

Links

Images

Abstract

A smart needle preparation review system is disclosed. The system includes a drilling machine, an image capture device, a needle preparation review device, and a data output device. The drilling machine includes a needle plate for placing a plurality of drill needles. The image capture device faces the needle plate and takes a needle plate image of the plurality of drill needles. The needle preparation review device is connected to the image capture device. The needle preparation review device includes a processor and a memory. A drill needle preparation table and the needle plate image are stored in the memory. The processor accesses the memory to conduct a needle preparation review program, so as to identify the needle plate image and obtain a review result by comparing with the drill needle preparation table. The data output device is connected to the needle preparation review device and the review result is output by the data output device.

Description

智慧型備針覆核系統 Smart Needle Preparation Review System

本發明是關於一種智慧型備針覆核系統,特別是關於一種依據針盤影像覆核鑽針準備是否正確的智慧型備針覆核系統。 The invention relates to an intelligent needle preparation and verification system, in particular to an intelligent needle preparation and verification system for verifying whether the drill needle preparation is correct according to the dial image.

在利用鑽孔機加工工件時,使用的鑽頭是直接影響加工結果的主要因素,在設定的加工程序中,若是使用錯誤的鑽頭,除了造成加工尺寸誤差外,還可能造成機台損壞的問題,影響產線產能也增加製程的生產成本。為避免上述問題,使用的鑽頭都必須再次確認無誤後才能上線操作,確保鑽孔加工能符合客戶要求。 When using a drilling machine to process a workpiece, the drill bit used is the main factor that directly affects the processing results. In the set processing program, if the wrong drill bit is used, in addition to causing the processing size error, it may also cause machine damage. Affecting the production line capacity also increases the production cost of the process. In order to avoid the above problems, the drills used must be confirmed again before they can be operated online to ensure that the drilling process can meet customer requirements.

不過,執行這些覆核程序多為人工執行,在鑽頭的尺寸差異難以肉眼辨識下,並不易辨識不同型號的差異,即便加上不同顏色的套環,由於檢查數量與密集程度的關係,仍難免有人為的疏失,加上人工疲勞與檢驗數量龐大的影響,使得這些檢核人力難以完善的完成覆核工作,進而影響實際加工的品質。 However, most of these review procedures are performed manually, and it is not easy to identify the differences between different models when the size difference of the drill bits is difficult to identify with the naked eye. Even if the collars of different colors are added, due to the relationship between the number of inspections and the intensity, it is still unavoidable. Due to human negligence, labor fatigue and the large number of inspections, it is difficult for these inspection manpower to complete the review work, which in turn affects the quality of actual processing.

有鑑於此,目前人工覆核方式有其侷限性,為了能針對鑽孔機的備針進行有效的覆核,本發明之發明人思索並設計一種智慧型備針覆核系統,針對現有技術之缺失加以改善,進而增進產業上之實施利用。 In view of this, the current manual review method has its limitations. In order to effectively review the needle preparation of the drilling machine, the inventor of the present invention has considered and designed an intelligent needle preparation review system, aiming at the existing technology. To improve the deficiencies, and then promote the implementation and utilization of the industry.

有鑑於上述習知技術之問題,本發明之目的就是在提供一種智慧型備針覆核系統,以解決習知之人工覆核的操作耗費成本且無法確保其正確性的問題。 In view of the above-mentioned problems of the prior art, the purpose of the present invention is to provide an intelligent needle preparation review system to solve the problem that the conventional manual review operation is costly and cannot ensure its correctness.

根據本發明之一目的,提出一種智慧型備針覆核系統,其包鑽孔機、影像擷取裝置、備針覆核裝置以及資料輸出裝置。其中鑽孔機包含備針盤以放置複數個鑽針。影像擷取裝置設置朝向備針盤,拍攝複數個鑽針的針盤影像。備針覆核裝置連接於影像擷取裝置,接收針盤影像,備針覆核裝置包含處理器及記憶體,記憶體儲存鑽頭備針表及針盤影像,處理器存取記憶體以執行備針覆核程序,辨識針盤影像的複數個針孔位置及對應的複數個鑽針型號,並與鑽頭備針表比對以取得覆核結果。資料輸出裝置連接於備針覆核裝置,將覆核結果輸出。 According to an objective of the present invention, an intelligent needle preparation and verification system is provided, which includes a drilling machine, an image capture device, a needle preparation and verification device, and a data output device. The drilling machine includes a needle preparation disc for placing a plurality of drilling needles. The image capture device is arranged to face the dial for preparing the dial, and captures the dial images of the plurality of drill needles. The needle preparation and checking device is connected to the image capture device and receives the dial image. The needle preparation and checking device includes a processor and a memory. The memory stores the drill needle preparation table and the dial image, and the processor accesses the memory to execute the preparation. Needle review program, identify multiple pinhole positions and corresponding multiple drill needle models in the dial image, and compare with the drill needle preparation table to obtain the review result. The data output device is connected to the needle preparation checking device, and outputs the checking result.

較佳地,備針覆核程序可包含由處理器執行以下的複數個運算模組:針盤定位模組、針盤座標模組、針環取色模組、針柄取色模組以及鑽針判定模組。其中,針盤定位模組當備針盤到達定位時,確認影像擷取裝置參數,拍攝備針盤以取得待分析影像。針盤座標模組將待分析影像經由影像特徵處理後進行霍夫圓環檢測以取得鑽針座標影像。針環取色模組,將鑽針座標影像以第一焦距提取針環取像,並將針環取像中的複數個針環座標分割為複數個擷取點,計算複數個擷取點的灰階值,判斷各複數個針環座標的針環顏色。針柄取色模組,將鑽針座標影像以第二焦距提取針柄取像,重複針環取色模組的分割及擷取過程以判斷各複數個針環座標的針柄顏色。鑽針判定模組利用針環顏色 及針柄顏色建立備針盤之針環針柄模型,通過針環針柄模型辨識備針盤中的複數個針孔位置及對應的複數個鑽針型號 Preferably, the needle preparation review program may include a plurality of operation modules executed by the processor: a needle dial positioning module, a needle dial coordinate module, a needle ring color picking module, a needle handle color picking module and a drill. Needle determination module. Wherein, the dial positioning module confirms the parameters of the image capture device when the dial preparation reaches the positioning, and shoots the dial preparation to obtain the image to be analyzed. The dial coordinate module processes the image to be analyzed and then performs Hough ring detection to obtain the drill coordinate image. The needle ring color picking module extracts the needle ring image from the drill needle coordinate image with the first focal length, divides the plurality of needle ring coordinates in the needle ring image into a plurality of acquisition points, and calculates the difference of the plurality of acquisition points. The grayscale value is used to judge the needle ring color of each plurality of needle ring coordinates. The needle shank color picking module extracts the needle shank image with the second focal length from the drill needle coordinate image, and repeats the process of dividing and capturing the needle ring color picking module to determine the needle shank color of each plurality of needle ring coordinates. The drill needle judgment module uses the needle ring color and the needle handle color to establish the needle ring needle handle model of the needle preparation disc, and identify the multiple needle hole positions and the corresponding multiple drill needle models in the needle preparation disc through the needle ring needle handle model.

較佳地,影像擷取裝置可包含相機及光源,係朝向備針盤以拍攝針盤影像。 Preferably, the image capturing device may include a camera and a light source, which are directed toward the dial to capture an image of the dial.

較佳地,影像擷取裝置可通過無線網路傳輸方式將針盤影像即時傳送至備針覆核裝置。 Preferably, the image capture device can transmit the needle plate image to the needle preparation and review device in real time by means of wireless network transmission.

較佳地,影像特徵處理可包含將待分析影像轉為灰階,並將灰階影像進行模糊化及平滑化處理。 Preferably, the image feature processing may include converting the image to be analyzed into grayscale, and performing blurring and smoothing processing on the grayscale image.

較佳地,針環取色模組可包含將複數個鑽針座標影像中的圓分為31等分,以每一等分與圓的中心點距離80%半徑距離的點作為複數個擷取點。 Preferably, the needle ring color picking module may include dividing the circle in the coordinate images of the plurality of drill needles into 31 equal parts, and taking the points at a distance of 80% of the radius distance from the center point of each equal part and the center point of the circle as the plurality of extractions. point.

較佳地,覆核結果可包含確認鑽針及異常鑽針,異常鑽針的位置以警示顏色標示於鑽針備針表上以通知操作人員進行判讀。 Preferably, the verification result may include confirming the drill needle and the abnormal drill needle, and the position of the abnormal drill needle is marked on the drill needle preparation table with a warning color to notify the operator for interpretation.

較佳地,資料輸出裝置可包含顯示器,鑽針備針表及覆核結果顯示於顯示器。 Preferably, the data output device may include a display, and the drill needle preparation table and the verification result are displayed on the display.

較佳地,資料輸出裝置可包含移動裝置,移動裝置安裝應用程式,通過應用程式介面讀取鑽針備針表及覆核結果。 Preferably, the data output device may include a mobile device, the mobile device installs an application program, and reads the drill needle preparation table and the verification result through the application program interface.

較佳地,備針覆核裝置可統計異常鑽針的位置,標示異常發生頻率高於預設值的位置以提醒操作人員。 Preferably, the needle preparation and review device can count the positions of abnormal drill needles, and mark the positions where the frequency of abnormality is higher than the preset value to remind the operator.

承上所述,依本發明之智慧型備針覆核系統,其可具有一或多個下述優點: Based on the above, the intelligent needle preparation review system according to the present invention can have one or more of the following advantages:

(1)此智慧型備針覆核系統能在鑽針插件後分析備針盤的插針是否正確,避免備針盤上線後造成加工錯誤或機台損壞的問題,提升產品良率及製程加工品質。 (1) This intelligent needle preparation review system can analyze whether the needles of the needle preparation disc are correct after the drill needle is inserted, so as to avoid the problem of machining errors or machine damage after the needle preparation disc is online, and improve the product yield and process processing. quality.

(2)此智慧型備針覆核系統能通過影像分析辨識鑽針位置及鑽針種類,減少人工檢核的浪費,降低人力成本同時增加覆核效率。 (2) This intelligent needle preparation review system can identify the position and type of drill needles through image analysis, reduce the waste of manual inspection, reduce labor costs and increase the review efficiency.

(3)此智慧型備針覆核系統能通過針環針柄顏色來辨識鑽針插件是否產生異常,並通過修正針環針柄模型及異常位置提示來確保辨識的正確性,提升覆核結果的準確率。 (3) This intelligent needle preparation review system can identify whether the drill insert is abnormal through the color of the needle ring and needle handle, and by correcting the needle ring needle handle model and abnormal position prompts to ensure the correctness of identification and improve the review results 's accuracy.

10,30:智慧型備針覆核系統 10,30:Intelligent needle preparation review system

11,31:鑽孔機 11,31: Drilling machine

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

13,23,33:備針覆核裝置 13, 23, 33: Needle preparation review device

14:資料輸出裝置 14: Data output device

32:相機 32: Camera

91:針盤影像 91: Dial image

92:鑽頭備針表 92: Drill needle preparation table

93:待分析影像 93: Image to be analyzed

94:鑽針座標影像 94: Drill coordinate image

95:針環顏色 95: needle ring color

96:針柄顏色 96: Needle handle color

97:覆核結果 97: Review results

111,211,311:備針盤 111, 211, 311: Needle spare plate

131:處理器 131: Processor

132:記憶體 132: Memory

231:針盤定位模組 231: Dial positioning module

232:針盤座標模組 232: Dial coordinate module

233:針環取色模組 233: Needle ring color picking module

234:針柄取色模組 234: Needle handle color picking module

235:鑽針判定模組 235: Drill needle determination module

341:顯示螢幕 341: Display screen

342:移動裝置 342: Mobile Devices

為使本發明之技術特徵、內容與優點及其所能達成之功效更為顯而易見,茲將本發明配合附圖,並以實施例之表達形式詳細說明如下: In order to make the technical features, content and advantages of the present invention and the effects that can be achieved more obvious, the present invention is hereby described in detail as follows in the form of embodiments in conjunction with the accompanying drawings:

第1圖係為本發明實施例之智慧型備針覆核系統之方塊圖。 FIG. 1 is a block diagram of an intelligent needle preparation review system according to an embodiment of the present invention.

第2圖係為本發明實施例之備針覆核裝置之示意圖。 FIG. 2 is a schematic diagram of a needle preparation and verification device according to an embodiment of the present invention.

第3圖係為本發明實施例之智慧型備針覆核系統之示意圖。 FIG. 3 is a schematic diagram of an intelligent needle preparation review system according to an embodiment of the present invention.

為利貴審查委員瞭解本發明之技術特徵、內容與優點及其所能達成之功效,茲將本發明配合附圖,並以實施例之表達形式詳細說明如下,而其中所使用之圖式,其主旨僅為示意及輔助說明書之用,未必為本發明實施後之真實比例與精準配置,故不應就所附之圖式的比例與配置關係解讀、侷限本發明於實際實施上的權利範圍,合先敘明。 In order to help the examiners to understand the technical features, content and advantages of the present invention and the effects that can be achieved, the present invention is hereby described in detail with the accompanying drawings and in the form of embodiments as follows. The subject matter is only for illustration and auxiliary description, and is not necessarily the real scale and precise configuration after the implementation of the present invention. Therefore, the ratio and configuration relationship of the attached drawings should not be interpreted or limited to the scope of rights of the present invention in actual implementation. Together first to describe.

本文所使用的所有術語(包括技術和科學術語)具有與本發明所屬技術領域的通常知識者通常理解的含義。將進一步理解的是,諸如在通常使用的字典中定義的那些術語應當被解釋為具有與它們在相關技術和本發明的上下文中的含義一致的含義,並且將不被解釋為理想化的或過度正式的意義,除非本文中明確地如此定義。 All terms (including technical and scientific terms) used herein have the meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms such as those defined in commonly used dictionaries should be construed as having meanings consistent with their meanings in the context of the related art and the present invention, and are not to be construed as idealized or excessive Formal meaning unless expressly so defined herein.

請參閱第1圖,其係為本發明實施例之智慧型備針覆核系統之方塊圖。如圖所示,智慧型備針覆核系統10包含鑽孔機11、影像擷取裝置12、備針覆核裝置13以及資料輸出裝置14。鑽孔機11包含對各種加工件進行鑽孔的加工機台,其包含加工件的承載台,板材耗材(例如墊板或金屬板材)可置於承載台上,通過輸送裝置將加工件置於承載台的墊板上。對加工件進行鑽孔的鑽頭,則放置於鑽針的備針盤111當中,當鑽孔機11依據生產型號設定加工程序後,鑽孔機11會由備針盤111中選取對應鑽頭,對加工件進行鑽孔加工。鑽孔加工時,不同產品或相同產品的不同加工位置需要不同尺寸的鑽頭來加工,備針盤111會配置多種尺寸的鑽頭,或者因為鑽孔作業中鑽頭耗損需要更換,備針盤111會配置多個相同尺寸的鑽頭以供替換。 Please refer to FIG. 1 , which is a block diagram of an intelligent needle preparation checking system according to an embodiment of the present invention. As shown in the figure, the intelligent needle preparation and review system 10 includes a drilling machine 11 , an image capture device 12 , a needle preparation and review device 13 , and a data output device 14 . The drilling machine 11 includes a processing table for drilling various workpieces, and includes a carrier table for the workpieces. Plate consumables (such as backing plates or metal plates) can be placed on the carrier table, and the workpieces are placed on the carrier table through a conveying device. on the backing plate of the platform. The drill bit for drilling the workpiece is placed in the needle preparation disc 111 of the drill needle. After the drilling machine 11 sets the machining program according to the production model, the drilling machine 11 will select the corresponding drill bit from the needle preparation disc 111 to correct the drill bit. The workpiece is drilled. During drilling, different products or different processing positions of the same product require drills of different sizes. The needle preparation disc 111 will be equipped with drills of various sizes, or the needle preparation disc 111 will be equipped with drills of various sizes due to the wear and tear of the drill bit during the drilling operation. Multiple drill bits of the same size are available for replacement.

在鑽孔加工的前置作業當中,準備備針盤111為重要的程序,操作人員在收到工單後,會依據工單當中所需的鑽頭種類及數量,從倉庫領用對應的鑽頭,並且依據鑽頭備針表將領用鑽頭插入備針盤111的針孔中。備針盤111可包含6個備針區域,每區包含5行10列的50個孔位,數量眾多的孔位容易使作業人員在插針時發生錯誤位置或錯誤鑽頭的問題。為增加鑽頭辨識度,鑽頭會加上不同顏色的套環來區分不同型號,但完成備針盤111的人工插件後,仍需進行覆核以避免錯誤的鑽頭造成機台或加工件的損壞。傳統的覆核作業是以人工 方式重新檢核鑽頭備針表與備針盤111,但人工作業上的成本及人為操作的失誤,無法確保覆核的正確性,因此本實施例藉由影像分析方式進行覆核。 In the pre-drilling operation, the preparation of the needle preparation plate 111 is an important procedure. After receiving the work order, the operator will obtain the corresponding drill bits from the warehouse according to the type and quantity of drill bits required in the work order. And according to the drill needle preparation table, the collar drill is inserted into the needle hole of the needle preparation disc 111 . The needle preparation disc 111 can include 6 needle preparation areas, each area includes 50 holes in 5 rows and 10 columns, and the large number of holes may easily cause the operator to have the problem of wrong position or wrong drill when inserting the needle. In order to increase the identification of the drill bit, the drill bit will be added with collars of different colors to distinguish different models. However, after the manual insertion of the needle preparation plate 111 is completed, it is still necessary to conduct a review to avoid damage to the machine or the workpiece caused by the wrong drill bit. The traditional review process is manual The drill needle preparation table and the needle preparation disc 111 are re-checked by means of the method, but the cost of manual operation and the error of human operation cannot ensure the correctness of the checking. Therefore, in this embodiment, the checking is performed by means of image analysis.

當備針盤111完成插針後,將備針盤置於檢測區域或鑽孔機11的上料區,朝向備針盤111的影像擷取裝置12拍攝備針盤111的針盤影像91。影像擷取裝置12可為固定式的相機,搭配光源拍攝備針盤所有孔位的俯視照片,再傳送到備針覆核裝置13。影像擷取裝置12可以無線網路傳輸方式傳送照片檔案至備針覆核裝置13,或者影像擷取裝置12與備針覆核裝置13都安裝於鑽孔機11上,通過鑽孔機11傳輸線路呼叫相機對備針盤進行拍攝,再將照片檔案傳送到備針覆核裝置13。 After the needle preparation plate 111 is inserted into the needle, the needle preparation plate is placed in the detection area or the loading area of the drilling machine 11 , and the image capture device 12 facing the needle preparation plate 111 captures the needle plate image 91 of the needle preparation plate 111 . The image capturing device 12 can be a fixed camera, and is used with a light source to take a top-view photo of all the holes in the needle preparation tray, and then send it to the needle preparation and review device 13 . The image capture device 12 can transmit the photo file to the needle preparation and review device 13 by means of wireless network transmission, or both the image capture device 12 and the needle preparation and review device 13 are installed on the drilling machine 11 , and pass the transmission line of the drilling machine 11 . The road calling camera takes pictures of the needle preparation disk, and then transmits the photo file to the needle preparation review device 13 .

備針覆核裝置13包含處理器131及記憶體132,其可為獨立操作的電腦、工作站、伺服器等,或者是以軟體程式操作鑽孔機11當中的處理裝置與儲存裝置。當接收到針盤影像91,可將影像資料儲存於記憶體132當中,記憶體132可包含唯讀記憶體、快閃記憶體、磁碟或是雲端資料庫等,記憶體132除了儲存針盤影像91,還可依據加工品型號儲存對應的鑽頭備針表92。處理器131則可包含電腦或伺服器當中的中央處理器、圖像處理器、微處理器等,其可包含多核心的處理單元或者是多個處理單元的組合。處理器131通過各種執行指令來存取記憶體132,執行備針覆核程序,通過一連串的影像處理與分析程序後,判斷針盤影像91的複數個針孔位置及對應的複數個鑽針型號,將這些資料與記憶體132儲存的鑽頭備針表92進行比對,判斷覆核結果。最後得到的覆核結果,再傳送到資料輸出裝置14,由資料輸出裝置14輸出。資料輸出裝置14可以包含顯示器,例如鑽孔機11本身的操作顯示螢幕,或者獨立的顯示螢幕,將覆核結果呈現給操作人員。在另一實施例中,操作人員也可通過移動裝置的應用程式連 接置備針覆核裝置13,由應用程式的介面取得覆核結果,於移動裝置的顯示螢幕顯示。 The needle preparation and checking device 13 includes a processor 131 and a memory 132 , which can be an independent computer, a workstation, a server, etc., or a software program to operate the processing device and the storage device in the drilling machine 11 . When the dial image 91 is received, the image data can be stored in the memory 132. The memory 132 can include a read-only memory, a flash memory, a disk or a cloud database, etc. The memory 132 not only stores the dial The image 91 can also store the corresponding drill needle preparation table 92 according to the model of the processed product. The processor 131 may include a central processing unit, an image processor, a microprocessor, etc. in a computer or a server, and may include a multi-core processing unit or a combination of multiple processing units. The processor 131 accesses the memory 132 through various execution instructions, executes the needle preparation checking procedure, and after a series of image processing and analysis procedures, determines the positions of the plurality of pinholes and the corresponding plurality of drill needle models in the dial image 91 , and compare these data with the drill needle preparation table 92 stored in the memory 132 to determine the review result. The finally obtained review result is then sent to the data output device 14 for output by the data output device 14 . The data output device 14 may include a display, such as an operation display screen of the drilling machine 11 itself, or a separate display screen, to present the review results to the operator. In another embodiment, the operator can also connect via the mobile device application The needle preparation checking device 13 is connected, and the checking result is obtained from the interface of the application program and displayed on the display screen of the mobile device.

覆核結果主要是標示異常孔位的部分,即呈現正確無誤的確認鑽針,再以警示顏色標示有問題的異常鑽針,讓操作人員能進行判讀。這裡的異常鑽針可能是插入的鑽頭錯誤,也可能是判讀時無法確認鑽頭型號,這些異常需要覆核人員進一步確認,對標示警示顏色的針孔位置進行檢核,更換錯誤的鑽針,或者確認無法辨識的孔位是否異常。覆核過的備針盤111可直接確認上料,或者重新經過影像判讀方式重新進行覆核程序。備針覆核裝置13會記錄異常鑽針位置,統計發生異常的位置,並將實際插件錯誤與辨識錯誤的結果也記錄存檔,當發生異常次數或發生頻率超過設定標準時,發出異常訊息通知操作人員,並於鑽頭備針表92或備針盤111標示須注意之孔位。至於備針覆核裝置13當中執行的備針覆核程序,將在以下實施例進一步說明。 The review results mainly indicate the part of the abnormal hole position, that is, the correct confirmation drill is displayed, and then the abnormal drill with a problem is marked with a warning color, so that the operator can interpret it. The abnormal drill bit here may be the wrong drill bit inserted, or the drill bit model cannot be confirmed during interpretation. These abnormalities need to be further confirmed by the reviewer, check the position of the pinhole marked with the warning color, replace the wrong drill bit, or Check whether the unidentifiable hole positions are abnormal. The checked needle preparation tray 111 can be directly confirmed to be loaded, or the checking procedure can be performed again by means of image interpretation. The needle preparation review device 13 will record the abnormal drill needle position, count the abnormal position, and also record and archive the results of actual plug-in errors and identification errors. When the number of abnormal occurrences or the frequency of occurrence exceeds the set standard, an abnormal message will be sent to notify the operator. , and mark the hole positions that need attention on the drill needle preparation table 92 or the needle preparation plate 111. The needle preparation review procedure performed in the needle preparation review device 13 will be further described in the following embodiments.

請參閱第2圖,其係為本發明實施例之影像處理裝置之示意圖。如圖所示,影像擷取裝置朝向備針盤211以拍攝針盤影像,如前述實施例所述,處理器存取記憶體中的多個控制指令,執行針盤定位模組231、針盤座標模組232、針環取色模組233、針柄取色模組234以及鑽針判定模組235的備針覆核程序以分析備針盤211當中所插入的鑽頭位置與鑽頭種類是否正確。 Please refer to FIG. 2 , which is a schematic diagram of an image processing apparatus according to an embodiment of the present invention. As shown in the figure, the image capture device faces the dial preparation plate 211 to capture the dial image. As described in the foregoing embodiment, the processor accesses a plurality of control commands in the memory, executes the dial positioning module 231, the dial dial The coordinate module 232, the needle ring color picking module 233, the needle shank color picking module 234 and the drill needle judgment module 235 perform the needle preparation review procedure to analyze whether the position and type of the drill bit inserted in the needle preparation plate 211 are correct. .

首先針盤定位模組231在備針盤211到達拍攝定位時,開啟拍攝光源,確認相機拍攝參數,例如光圈、曝光直、快門等,將控制訊號傳送至相機對備針盤211進行拍攝,取得待分析影像93。由於備針盤211的尺寸大小可依鑽孔機不同而有所差異,在另一實施例中,也可移動相機於設定的多個拍攝位置進行拍攝,或者以多個相機同時進行拍攝,再將多個拍攝影像合併,組合成初 步的帶分析影像93。待分析影像93可呈現備針盤211所有插針孔位俯視角度的影像,或者依據備針盤211使用量,呈現部分分區的孔位影像。 First, when the needle preparation plate 211 reaches the shooting position, the dial positioning module 231 turns on the shooting light source, confirms the shooting parameters of the camera, such as aperture, exposure, shutter, etc., and transmits the control signal to the camera to shoot the needle preparation plate 211. Image to be analyzed 93 . Since the size of the needle preparation disc 211 may vary according to different drilling machines, in another embodiment, the camera can also be moved to shoot at multiple preset shooting positions, or multiple cameras can be used to shoot at the same time, and then Combine multiple shot images and combine them into a Step 93 with analysis images. The to-be-analyzed image 93 can present an image of all the pin hole positions of the needle preparation tray 211 from a top view, or according to the usage amount of the needle preparation tray 211 , it can present an image of the hole positions of some partitions.

待分析影像93可輸入至鑽針座標模組232,通過影像處理來加強待分析影像的影像特徵,例如將原本彩色圖片轉換成灰階圖片,在通過影像模糊化及平滑化的處理,消除可能的雜訊,以利後續分析。經過影像特徵處理後,通過霍夫圓環(Hough Circle)檢測方式,檢測影像中圓形的位置,取得其中心點及半徑資訊,即對應於每個針孔的座標位置。以各個圓形座標位置作為鑽針位置,輸出鑽針座標影像94。 The image to be analyzed 93 can be input to the drill coordinate module 232, and the image features of the image to be analyzed are enhanced through image processing, for example, the original color image is converted into a grayscale image, and the image is blurred and smoothed. noise for subsequent analysis. After image feature processing, the Hough Circle detection method is used to detect the position of the circle in the image, and obtain its center point and radius information, that is, the coordinate position corresponding to each pinhole. Using each circular coordinate position as the drill position, a drill coordinate image 94 is output.

接著鑽針座標影像94進入針環取色模組233,將鑽針座標影像94以第一焦距提取針環取像,將針環取像中的每一個圓,也就是各個針環座標分割為複數個擷取點,計算複數個擷取點的灰階值。在本實施例中,圓可分為31等分,以每一等分與圓的中心點距離80%半徑距離的點作為複數個擷取點,即利用這31個擷取點的灰階值來判斷各個針環座標的針環顏色。判斷方式是將這些灰階值以直方圖分布方式找出最多的一群為準,選擇群中的一點,對應原待分析圖中的座標提取得點的RGB值,再轉換成亮度(HSV)後以RGBHSV的方式輸出各個針環座標的針環顏色95。 Then, the drill needle coordinate image 94 enters the needle ring color picking module 233, and the drill needle coordinate image 94 is extracted with the first focal length of the needle ring image, and each circle in the needle ring image, that is, the coordinates of each needle ring, is divided into For a plurality of capture points, the grayscale values of the plurality of capture points are calculated. In this embodiment, the circle can be divided into 31 equal parts, and the points at a distance of 80% of the radius from the center point of the circle are used as a plurality of extraction points, that is, the grayscale values of the 31 extraction points are used. To judge the needle ring color of each needle ring coordinate. The judgment method is to find the group with the most gray-scale values in the histogram distribution method, and select a point in the group to correspond to the RGB value of the point extracted from the coordinates in the original image to be analyzed, and then convert it into luminance (HSV). The needle ring color 95 of each needle ring coordinate is output in the form of RGBHSV.

另一方面,由於每一鑽針包覆的色環與針柄間的差異,除了辨識針環顏色95外,也針對針柄進行辨識。其程序類似於針環取色模組233,將鑽針座標影像94輸入針柄取色模組234,利用與第一焦距不同的第二焦距來提取針柄影像。再重複針環取像的步驟,將取像中的各個圓進行分割,擷取複數個擷取點以及依據灰階值出現最多個擷取點對應的顏色,判斷並輸出各個針柄座標的針柄顏色96。 On the other hand, due to the difference between the color ring covered by each drill needle and the needle handle, in addition to identifying the color 95 of the needle ring, the needle handle is also identified. The procedure is similar to that of the needle ring color picking module 233 , the bur coordinate image 94 is input into the needle handle color picking module 234 , and the needle handle image is extracted by using a second focal length different from the first focal length. Repeat the steps of taking an image of the needle ring, divide each circle in the image, capture a plurality of capture points and the color corresponding to the most capture points according to the grayscale value, and determine and output the needle of each needle handle coordinate. Handle color 96.

將取得的針環顏色95及針柄顏色96輸入鑽針判定模組235,建立該備針盤111之針環針柄模型,即包含備針盤111各個孔位位置及對應孔位的針環針柄顏色。此針環針柄模型可依據每次取得的顏色數值進行微調及修正,經由多次學習與訓練程序來提升模型的正確性。由於記憶體中會儲存正確的鑽頭備針表,將上述孔位位置與顏色與鑽頭備針表進行比對,確認每個孔位的顏色是否相符,若是相符,則確認針孔孔位為插入正確鑽針型號的位置,若顏色不相符,則判斷為異常鑽針,於鑽頭備針表的對應位置標示警示顏色,輸出覆核結果97提醒覆核人員確認。 Input the obtained needle ring color 95 and needle shank color 96 into the drill needle determination module 235 to establish the needle ring needle handle model of the needle preparation plate 111, that is, the needle ring including each hole position of the needle preparation plate 111 and the corresponding hole position Needle handle color. This needle ring needle handle model can be fine-tuned and corrected according to the color values obtained each time, and the accuracy of the model can be improved through multiple learning and training procedures. Since the correct drill needle preparation table will be stored in the memory, compare the above hole position and color with the drill needle preparation table to confirm whether the color of each hole position matches, if so, confirm that the pinhole position is inserted The position of the correct drill needle type, if the colors do not match, it is judged as an abnormal drill needle, and a warning color is marked on the corresponding position of the drill needle preparation table, and the review result 97 is output to remind the reviewers to confirm.

經由上述備針覆核裝置23執行備針覆核程序後,可以確認原本備針盤11上的插針是否正確,迅速找出顏色異常的位置已進行異常排除。相較於人工核對每個孔位,本實施例確實能有效提升檢核效率及檢核的正確率。另一方面,對於常發生異常的位置,也可依據異常發生頻率標示容易發生錯誤的位置,提醒插件者注意插件過程,提升製程品質。 After the needle preparation checking procedure is performed by the needle preparation checking device 23, it can be confirmed whether the pins on the original needle preparation tray 11 are correct, and the abnormal color position can be quickly found out and the abnormality has been eliminated. Compared with manually checking each hole position, the present embodiment can effectively improve the checking efficiency and the checking accuracy. On the other hand, for locations where anomalies often occur, the locations where errors are likely to occur can also be marked according to the frequency of anomalies, so as to remind the plug-in operator to pay attention to the plug-in process and improve the process quality.

請參閱第3圖,其係為本發明實施例之備針覆核系統之示意圖。如圖所示,備針覆核系統30包含鑽孔機31、相機32、備針覆核裝置33以及輸出裝置,在本實施例中,輸出裝置可為鑽孔機31的顯示螢幕341也可為移動裝置342的顯示螢幕。鑽孔機31的備針盤311可通過插針人員將鑽頭插入各個針孔後,供鑽孔機31取用,備針盤311的正確性會影響鑽孔機31的鑽孔作業,因此,在備針盤311完成插件後,由相機32拍攝備針盤311的針盤影像,傳送到備針覆核裝置33進行覆核。 Please refer to FIG. 3 , which is a schematic diagram of a needle preparation review system according to an embodiment of the present invention. As shown in the figure, the needle preparation checking system 30 includes a drilling machine 31 , a camera 32 , a needle preparation checking device 33 and an output device. In this embodiment, the output device can be the display screen 341 of the drilling machine 31 or is the display screen of the mobile device 342 . The needle preparation disc 311 of the drilling machine 31 can be used by the drilling machine 31 after the drill bit is inserted into each needle hole by the needle inserter. The correctness of the needle preparation disc 311 will affect the drilling operation of the drilling machine 31. Therefore, After the insertion of the needle preparation tray 311 is completed, the camera 32 captures the needle tray image of the needle preparation tray 311 and transmits it to the needle preparation verification device 33 for verification.

備針覆核裝置33可為獨立的電腦裝置,也可於鑽孔機31上安裝覆核程式,通過鑽孔機31的處理單元及儲存單元來執行覆核程式。針盤影像在備 針覆核裝置33進行影像分析及辨識後,判斷各個孔位的針環針柄顏色,比對鑽頭備針表中的顏色,判斷各個孔位位置的鑽針是否為正確型號,若有不符則標示位置後由覆核人員確認是否更換鑽頭。確認後的備針盤311可上線進行鑽孔操作,覆核程序取得的覆核結果可傳送到鑽孔機31或是操作者的移動裝置342。覆核結果除了經由輸出裝置輸出外,針對備針盤311經常出現異常的孔位位置,也可在工單或鑽頭備針表中標示以提醒插針人員注意特定孔位位置。 The needle preparation checking device 33 can be an independent computer device, or a checking program can be installed on the drilling machine 31 to execute the checking program through the processing unit and the storage unit of the drilling machine 31 . Dial image in preparation After performing image analysis and identification, the needle checking device 33 judges the color of the needle ring shank of each hole position, compares the colors in the drill needle preparation table, and judges whether the drill needle at each hole position is the correct model, and if there is a discrepancy, then After marking the position, the reviewer will confirm whether to replace the drill bit. The confirmed needle preparation plate 311 can go online for drilling operations, and the review results obtained by the review process can be transmitted to the drilling machine 31 or the operator's mobile device 342 . In addition to outputting the review results through the output device, the abnormal hole positions in the needle preparation plate 311 can also be marked in the work order or drill needle preparation table to remind the needle insertion personnel to pay attention to the specific hole positions.

以上所述僅為舉例性,而非為限制性者。任何未脫離本發明之精神與範疇,而對其進行之等效修改或變更,均應包含於後附之申請專利範圍中。 The above description is exemplary only, not limiting. Any equivalent modifications or changes that do not depart from the spirit and scope of the present invention shall be included in the appended patent application scope.

10:智慧型備針覆核系統 10:Intelligent needle preparation review system

11:鑽孔機 11: Drilling machine

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

13:備針覆核裝置 13: Needle preparation review device

14:資料輸出裝置 14: Data output device

91:針盤影像 91: Dial image

92:鑽頭備針表 92: Drill needle preparation table

111:備針盤 111: Needle preparation disc

131:處理器 131: Processor

132:記憶體 132: Memory

Claims (9)

一種智慧型備針覆核系統,其包含:一鑽孔機,係包含一備針盤以放置複數個鑽針;一影像擷取裝置,係設置朝向該備針盤,拍攝該複數個鑽針的一針盤影像;一備針覆核裝置,係連接於該影像擷取裝置,接收該針盤影像,該備針覆核裝置包含一處理器及一記憶體,該記憶體儲存一鑽頭備針表及該針盤影像,該處理器存取該記憶體以執行一備針覆核程序,辨識該針盤影像的複數個針孔位置及對應的複數個鑽針型號,並與該鑽頭備針表比對以取得一覆核結果;以及一資料輸出裝置,係連接於該備針覆核裝置,將該覆核結果輸出,其中該覆核結果包含一確認鑽針及一異常鑽針,該異常鑽針的位置以一警示顏色標示於該鑽針備針表上以通知操作人員進行判讀。 An intelligent needle preparation review system, which includes: a drilling machine including a needle preparation tray for placing a plurality of drilling needles; an image capture device, which is arranged to face the needle preparation tray, and shoots the plurality of drilling needles a dial image of the dial; a needle preparation and review device, connected to the image capture device, receives the dial image, the needle preparation and review device comprises a processor and a memory, the memory stores a drill bit preparation The needle watch and the dial image, the processor accesses the memory to execute a needle preparation review program, identifies a plurality of pinhole positions and a plurality of corresponding drill needle models in the dial image, and prepares it with the drill bit. needle table comparison to obtain a check result; and a data output device, connected to the needle preparation check device, and outputting the check result, wherein the check result includes a confirmation drill and an abnormal drill, The position of the abnormal drill needle is marked on the drill needle preparation table with a warning color to notify the operator to interpret it. 如請求項1所述之智慧型備針覆核系統,其中該備針覆核程序包含由該處理器執行以下的複數個運算模組:一針盤定位模組,當該備針盤到達定位時,確認該影像擷取裝置參數,拍攝該備針盤以取得一待分析影像;一針盤座標模組,將該待分析影像經由影像特徵處理後進行霍夫圓環檢測以取得一鑽針座標影像;一針環取色模組,將該鑽針座標影像以一第一焦距提取一針環取像,並將該針環取像中的複數個針環座標分割為複數 個擷取點,計算該複數個擷取點的灰階值,判斷各該複數個針環座標的一針環顏色;一針柄取色模組,將該鑽針座標影像以一第二焦距提取一針柄取像,重複該針環取色模組的分割及擷取過程以判斷各該複數個針環座標的一針柄顏色;以及一鑽針判定模組,利用該針環顏色及該針柄顏色建立該備針盤之一針環針柄模型,通過該針環針柄模型辨識該備針盤中的該複數個針孔位置及對應的該複數個鑽針型號。 The intelligent needle preparation checking system as claimed in claim 1, wherein the needle preparation checking program comprises a plurality of operation modules executed by the processor: a needle plate positioning module, when the needle preparation plate reaches the positioning , confirm the parameters of the image capture device, photograph the dial to obtain an image to be analyzed; a dial coordinate module, perform Hough ring detection on the image to be analyzed after image feature processing to obtain a drill Coordinate image; a needle ring color picking module, extracting a needle ring image from the drill needle coordinate image with a first focal length, and dividing the plurality of needle ring coordinates in the needle ring image into complex numbers capture points, calculate the grayscale values of the plurality of capture points, and determine the color of a needle ring of each of the plurality of needle ring coordinates; a needle shank color picking module uses a second focal length of the drill needle coordinate image Extracting a needle shank image, repeating the segmentation and capturing process of the needle ring color picking module to determine the color of a needle shank of each of the plurality of needle ring coordinates; and a drill needle determining module, using the needle ring color and The needle handle color establishes a needle ring needle handle model of the needle preparation plate, and the needle ring needle handle model is used to identify the plurality of needle hole positions in the needle preparation plate and the corresponding plurality of drill needle models. 如請求項2所述之智慧型備針覆核系統,其中該影像特徵處理包含將該待分析影像轉為灰階,並將灰階影像進行模糊化及平滑化處理。 The intelligent needle preparation checking system according to claim 2, wherein the image feature processing includes converting the image to be analyzed into grayscale, and performing blurring and smoothing processing on the grayscale image. 如請求項2所述之智慧型備針覆核系統,其中該針環取色模組包含將該複數個鑽針座標影像中的圓分為31等分,以每一等分與圓的中心點距離80%半徑距離的點作為該複數個擷取點。 The intelligent needle preparation and review system according to claim 2, wherein the needle ring color picking module includes dividing the circle in the plurality of drill needle coordinate images into 31 equal parts, and each equal part is connected with the center of the circle. Points with a distance of 80% of the radius are used as the multiple extraction points. 如請求項1所述之智慧型備針覆核系統,其中該影像擷取裝置包含一相機及一光源,係朝向該備針盤以拍攝該針盤影像。 The intelligent needle preparation review system according to claim 1, wherein the image capturing device comprises a camera and a light source, which are directed toward the needle preparation plate to capture an image of the needle plate. 如請求項5所述之智慧型備針覆核系統,其中該影像擷取裝置通過無線網路傳輸方式將該針盤影像即時傳送至該備針覆核裝置。 The intelligent needle preparation review system according to claim 5, wherein the image capture device transmits the needle plate image to the needle preparation review device in real time through wireless network transmission. 如請求項1所述之智慧型備針覆核系統,其中該資料輸出裝置包含一顯示器,該鑽針備針表及該覆核結果顯示於該顯示器。 The intelligent needle preparation review system as claimed in claim 1, wherein the data output device comprises a display, and the drill needle preparation table and the verification result are displayed on the display. 如請求項1所述之智慧型備針覆核系統,其中該資料輸出裝置包含一移動裝置,該移動裝置安裝一應用程式,通過應用程式介面讀取該鑽針備針表及該覆核結果。 The intelligent needle preparation review system as claimed in claim 1, wherein the data output device comprises a mobile device, an application program is installed on the mobile device, and the drill needle preparation table and the verification result are read through the application program interface . 如請求項1所述之智慧型備針覆核系統,其中該備針覆核裝置統計該異常鑽針的位置,標示異常發生頻率高於預設值的位置以提醒操作人員。 The intelligent needle preparation checking system according to claim 1, wherein the needle preparation checking device counts the position of the abnormal drill needle, and marks the position where the frequency of abnormality is higher than a preset value to remind the operator.
TW110125578A 2021-07-12 2021-07-12 Smart needle preparation review system TWI778704B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110125578A TWI778704B (en) 2021-07-12 2021-07-12 Smart needle preparation review system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110125578A TWI778704B (en) 2021-07-12 2021-07-12 Smart needle preparation review system

Publications (2)

Publication Number Publication Date
TWI778704B true TWI778704B (en) 2022-09-21
TW202303525A TW202303525A (en) 2023-01-16

Family

ID=84958226

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110125578A TWI778704B (en) 2021-07-12 2021-07-12 Smart needle preparation review system

Country Status (1)

Country Link
TW (1) TWI778704B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM335908U (en) * 2007-09-21 2008-07-01 Taiwan Takisawa Technology Co Ltd Improvement of broken pin detection device of PCB driller
CN202701909U (en) * 2012-06-29 2013-01-30 北大方正集团有限公司 Probe device and milling machine
TWI392415B (en) * 2007-04-25 2013-04-01 Machvision Inc Drilling quality monitoring method for pcb drilling shop
TWM535121U (en) * 2016-10-21 2017-01-11 國立臺灣科技大學 Industrial drilling needle
CN206260146U (en) * 2016-11-18 2017-06-16 朱瑾 Industrial drill point
CN107024478A (en) * 2017-04-05 2017-08-08 合肥德仁智能科技有限公司 A kind of part processes automatic defect identifying system
TWM620528U (en) * 2021-07-12 2021-12-01 敬鵬工業股份有限公司 Smart needle preparation review system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI392415B (en) * 2007-04-25 2013-04-01 Machvision Inc Drilling quality monitoring method for pcb drilling shop
TWM335908U (en) * 2007-09-21 2008-07-01 Taiwan Takisawa Technology Co Ltd Improvement of broken pin detection device of PCB driller
CN202701909U (en) * 2012-06-29 2013-01-30 北大方正集团有限公司 Probe device and milling machine
TWM535121U (en) * 2016-10-21 2017-01-11 國立臺灣科技大學 Industrial drilling needle
CN206260146U (en) * 2016-11-18 2017-06-16 朱瑾 Industrial drill point
CN107024478A (en) * 2017-04-05 2017-08-08 合肥德仁智能科技有限公司 A kind of part processes automatic defect identifying system
TWM620528U (en) * 2021-07-12 2021-12-01 敬鵬工業股份有限公司 Smart needle preparation review system

Also Published As

Publication number Publication date
TW202303525A (en) 2023-01-16

Similar Documents

Publication Publication Date Title
TWI667575B (en) Defect inspection system and method using artificil intelligence
US11449980B2 (en) System and method for combined automatic and manual inspection
EP3102018A1 (en) Quality management device and method for controlling quality management device
US7343789B2 (en) Inspection method and apparatus for uneven marks on tire
JP5011334B2 (en) Process control system with the ability to exchange data with production line machine controllers
US20110218754A1 (en) Method for supporting analytical work of solder printing state and solder printing inspection machine
CN105510348A (en) Flaw detection method and device of printed circuit board and detection equipment
TWM620528U (en) Smart needle preparation review system
EP2720030B1 (en) Medicine management system and method using the same
KR101995396B1 (en) Method and system for detecting defect in produnt
CN107024478A (en) A kind of part processes automatic defect identifying system
CN110118777A (en) A kind of control system system integration Smart Verify platform
JP2007285880A (en) Sample image registration method in board inspection, and sample image producing system
CN113030121A (en) Automatic optical detection method, system and equipment for circuit board components
CN110930350A (en) Machine learning method and automatic optical detection equipment applying same
CN111223081A (en) Part hole opening recognition and detection method and system based on deep learning
CN106886989A (en) The automatic optical detection method of keyboard
TWI778704B (en) Smart needle preparation review system
CN112985515B (en) Method and system for detecting assembly qualification of product fastener and storage medium
CN113935960A (en) Defect overhauling method, device and equipment
CN112763496A (en) Mobile phone battery surface defect detection device and detection method thereof
CN207717640U (en) Printed circuit board rechecks system
CN1734228A (en) Machine vision analysis system and method
CN113469991B (en) Visual online detection method for laser welding spot of lithium battery tab
CN113034620A (en) Correction method, correction device, computer-readable storage medium, and computer apparatus

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent