[go: up one dir, main page]

TWI822117B - Examination method and system for engineering drawing - Google Patents

Examination method and system for engineering drawing Download PDF

Info

Publication number
TWI822117B
TWI822117B TW111122361A TW111122361A TWI822117B TW I822117 B TWI822117 B TW I822117B TW 111122361 A TW111122361 A TW 111122361A TW 111122361 A TW111122361 A TW 111122361A TW I822117 B TWI822117 B TW I822117B
Authority
TW
Taiwan
Prior art keywords
opening area
processing drawing
processing
outer frame
enlarged
Prior art date
Application number
TW111122361A
Other languages
Chinese (zh)
Other versions
TW202401187A (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 TW111122361A priority Critical patent/TWI822117B/en
Application granted granted Critical
Publication of TWI822117B publication Critical patent/TWI822117B/en
Publication of TW202401187A publication Critical patent/TW202401187A/en

Links

Landscapes

  • Excavating Of Shafts Or Tunnels (AREA)
  • Manufacture, Treatment Of Glass Fibers (AREA)
  • Programmable Controllers (AREA)

Abstract

The present disclosure provides an examination method for engineering drawing, including steps performed by a processing device: obtaining an engineering drawing and an element list, transforming a first coordinate set of an element included in the element list into a second coordinate set corresponding to the engineering drawing according to a transformation matrix, obtaining line data corresponding to the element according to the element list, obtaining an element outline corresponding to the element on the engineering drawing according to the second coordinate set and the line data, adjusting the element outline to an enlarged outline according to a predetermined value, and outputting a warning notification when a part of a non-opening region on the engineering drawing locates in the enlarged outline. The present disclosure also provides an examination system for engineering drawing.

Description

加工圖檢查方法及系統Processing drawing inspection method and system

本發明係關於一種加工圖檢查方法及系統。The invention relates to a processing drawing inspection method and system.

載具(carrier)之主要用途在於承載各種印刷電路板及零件,以進行對印刷電路板及零件各項功能性測試或是內電路測試(in-circuit test,ICT)。載具的製作流程大致為:首先,工程師使用電腦輔助設計繪圖軟體(AutoCAD)並依照其資料來製作用於電腦數值控制(computer numerical control,CNC)加工的載具圖面;接著,載具圖面繪製完畢後,列印出一片透明的板件零件分布圖,透過此透明零件分布圖,工程師使用目視檢查的方式一一核對零件的銑孔位置是否正確。然而,此種人工的檢查方法容易造成應銑孔而未被正確銑孔的漏檢問題。The main purpose of the carrier is to carry various printed circuit boards and components to carry out various functional tests or in-circuit test (ICT) on the printed circuit boards and components. The vehicle production process is roughly as follows: first, engineers use computer-aided design drawing software (AutoCAD) and use its data to create vehicle drawings for computer numerical control (CNC) processing; then, the vehicle drawings After the surface is drawn, a transparent plate component distribution diagram is printed. Through this transparent component distribution diagram, the engineer uses visual inspection to check whether the milled hole positions of the parts are correct one by one. However, this manual inspection method can easily lead to the problem of missed inspection of holes that should be milled but are not milled correctly.

當零件位置沒有被正確地銑孔,一旦印刷電路板被放入加工後的載具,未被正確銑孔的加工的零件位置處就有可能會發生零件被載具壓壞的問題,進而造成測試機台無法開機或測試異常的問題。When the part position is not milled correctly, once the printed circuit board is placed into the processed carrier, the problem of the part being crushed by the carrier may occur at the position of the processed part that is not milled correctly, which may cause The test machine cannot be turned on or the test is abnormal.

鑒於上述,本發明提供一種以解決上述問題的加工圖檢查方法及系統。In view of the above, the present invention provides a processing drawing inspection method and system to solve the above problems.

依據本發明一實施例的一種加工圖檢查方法,包括藉由處理裝置執行:取得加工圖及零件清單,其中加工圖包括非開孔區及關於零件的開孔區,零件清單包括零件的第一座標組;依據轉換矩陣將第一座標組轉換為對應加工圖的第二座標組;依據零件清單取得對應於零件的線條資料;依據第二座標組及線條資料取得零件在加工圖上所對應的零件外框;依據預設值將零件外框調整為放大外框;以及於非開孔區的一部分落於放大外框內時輸出警告通知。A processing drawing inspection method according to an embodiment of the present invention includes executing by a processing device: obtaining a processing drawing and a parts list, wherein the processing drawing includes a non-opening area and an opening area of the part, and the parts list includes the first part of the part. Coordinate group; convert the first coordinate group into the second coordinate group corresponding to the processing drawing according to the transformation matrix; obtain the line data corresponding to the part according to the parts list; obtain the corresponding coordinates of the part on the processing drawing according to the second coordinate group and line data Part outline; adjust the part outline to the enlarged outline according to the default value; and output a warning notification when part of the non-opening area falls within the enlarged outline.

依據本發明一實施例的一種加工圖檢查系統,包括彼此連接的記憶體以及處理裝置。記憶體儲存加工圖及零件清單,其中加工圖包括非開孔區及關於零件的開孔區,零件清單包括零件的第一座標組。處理裝置用於取得加工圖及零件清單,依據轉換矩陣將第一座標組轉換為對應加工圖的第二座標組,依據零件清單取得對應於零件的線條資料,依據第二座標組及線條資料取得零件在加工圖上所對應的零件外框,依據預設值將零件外框調整為放大外框,以及於非開孔區的一部分落於放大外框內時輸出警告通知。A processing drawing inspection system according to an embodiment of the present invention includes a memory and a processing device connected to each other. The memory stores the processing drawing and the parts list. The processing drawing includes the non-opening area and the opening area of the part. The parts list includes the first coordinate group of the part. The processing device is used to obtain the processing drawing and the parts list, convert the first coordinate group into the second coordinate group corresponding to the processing drawing according to the conversion matrix, obtain the line data corresponding to the part according to the parts list, and obtain the line data corresponding to the part according to the second coordinate group and line data. The part outer frame corresponding to the part on the processing drawing is adjusted to the enlarged outer frame according to the default value, and a warning notification is output when part of the non-opening area falls within the enlarged outer frame.

綜上所述,依據本發明一或多個實施例所示的加工圖檢查系統及方法,能夠提升檢查加工圖上銑孔位置的效率及準確度,避免人工檢查導致漏檢銑孔位置,進而改善零件被載具壓壞的情況。此外,由於加工機具不一定能非常精確地對載具進行加工,而透過形成放大外框的技術手段,可使銑孔的尺寸在容許範圍內被放大,以避免在加工時因零件偏移而造成零件被壓壞的問題。此外,透過依據排序結果判斷放大外框的每條邊界是否落於非開孔區中,能夠以有順序性的方式進行檢查,進而避免漏檢問題。並且,依據本發明一或多個實施例所示的加工圖檢查系統及方法,透過依據處理裝置的最高執行效能設定能夠同時執行檢查的緒的數量,以及在執行判斷程序前先判斷目標零件是否為已檢查過的零件,可以提高檢查效率。In summary, according to the processing drawing inspection system and method shown in one or more embodiments of the present invention, the efficiency and accuracy of checking the milling hole position on the processing drawing can be improved, and the missed detection of the milling hole position caused by manual inspection can be avoided, and thus the milling hole position can be avoided. Improve the situation of parts being crushed by vehicles. In addition, since processing machines may not be able to process the carrier very accurately, the technical means of forming an enlarged frame can make the size of the milled hole enlarged within the allowable range to avoid errors due to part deviation during processing. Causes the problem of parts being crushed. In addition, by judging whether each boundary of the enlarged outer frame falls in the non-opening area based on the sorting results, inspection can be carried out in a sequential manner, thereby avoiding missed detection problems. Moreover, according to the machining drawing inspection system and method shown in one or more embodiments of the present invention, the number of threads that can be inspected simultaneously is set according to the highest execution performance of the processing device, and whether the target part is determined before executing the judgment program For parts that have been inspected, inspection efficiency can be improved.

以上之關於本揭露內容之說明及以下之實施方式之說明係用以示範與解釋本發明之精神與原理,並且提供本發明之專利申請範圍更進一步之解釋。The above description of the present disclosure and the following description of the embodiments are used to demonstrate and explain the spirit and principles of the present invention, and to provide further explanation of the patent application scope of the present invention.

以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。以下之實施例係進一步詳細說明本發明之觀點,但非以任何觀點限制本發明之範疇。The detailed features and advantages of the present invention are described in detail below in the implementation mode. The content is sufficient to enable anyone skilled in the relevant art to understand the technical content of the present invention and implement it according to the content disclosed in this specification, the patent scope and the drawings. , anyone familiar with the relevant art can easily understand the relevant objectives and advantages of the present invention. The following examples further illustrate the aspects of the present invention in detail, but do not limit the scope of the present invention in any way.

本發明一或多個實施例所示的加工圖檢查系統及方法可用於檢查乘載印刷電路板的載具(carrier)的加工圖面的銑孔位置是否有正確,以於加工載具時能在正確的位置銑孔。The processing drawing inspection system and method shown in one or more embodiments of the present invention can be used to check whether the milling hole position of the processing drawing of a carrier carrying a printed circuit board is correct, so that the carrier can be processed when processing the carrier. Mill the hole in the correct location.

為詳細說明本發明一或多個實施例所示的加工圖檢查系統及方法,請一併參考圖1及圖2,其中圖1為依據本發明一實施例所繪示的加工圖檢查系統的方塊圖,圖2為依據本發明一實施例所繪示的加工圖檢查方法的流程圖。本發明一實施例之加工圖檢查系統1可包含記憶體11及處理裝置12,記憶體11可電性連接於處理裝置12或通訊連接處理裝置12。To describe in detail the processing drawing inspection system and method shown in one or more embodiments of the present invention, please refer to FIG. 1 and FIG. 2 together. FIG. 1 is a diagram of a processing drawing inspection system according to an embodiment of the present invention. Block diagram, FIG. 2 is a flow chart of a processing drawing inspection method according to an embodiment of the present invention. The processing drawing inspection system 1 according to an embodiment of the present invention may include a memory 11 and a processing device 12. The memory 11 may be electrically connected to the processing device 12 or communicate with the processing device 12.

記憶體11可為非揮發性記憶體(Non-Volatile Memory,NVM),例如為唯讀記憶體(Read-only Memory,ROM)、電子抹除式可複寫唯讀記憶體(Electrically-Erasable Programmable Read-Only Memory, EEPROM)或快閃記憶體等,本發明不予以限制。處理裝置12可以處理器、可程式化邏輯裝置(Programmable Logic Device,PLD)或特殊應用積體電路(Application Specific Integrated Circuit,ASIC)等實現,但本發明不予以限制。The memory 11 may be a non-volatile memory (NVM), such as a read-only memory (ROM) or an electronically erasable programmable read memory (Electrically-Erasable Programmable Read). -Only Memory, EEPROM) or flash memory, etc., are not limited by the present invention. The processing device 12 can be implemented by a processor, a programmable logic device (Programmable Logic Device, PLD) or an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), but the present invention is not limited thereto.

本發明一實施例之加工圖檢查方法可由加工圖檢查系統1執行,尤其是由加工圖檢查系統1的處理裝置12執行。如圖2所示,加工圖檢查方法可包含以處理裝置12執行以下步驟:步驟S11:取得加工圖及零件清單,其中加工圖包含非開孔區及關於零件的開孔區,零件清單包含零件的第一座標組;步驟S13:依據轉換矩陣將第一座標組轉換為對應加工圖的第二座標組;步驟S15:依據零件清單取得對應零件的線條資料;步驟S17:依據第二座標組及線條資料取得零件在加工圖上所對應的零件外框;步驟S19:依據預設值將零件外框調整為放大外框;步驟S21:判斷非開孔區的一部分是否落於放大外框內;若步驟S21的判斷結果為「是」,執行步驟S23:輸出警告通知;以及若步驟S21的判斷結果為「否」,執行步驟S25:輸出完成通知。The processing drawing inspection method according to an embodiment of the present invention can be executed by the processing drawing inspection system 1 , especially by the processing device 12 of the processing drawing inspection system 1 . As shown in Figure 2, the processing drawing inspection method may include using the processing device 12 to perform the following steps: Step S11: Obtain the processing drawing and the parts list, where the processing drawing includes a non-opening area and an opening area related to the part, and the parts list includes the parts. The first coordinate group of The line data obtains the part outer frame corresponding to the part on the processing drawing; Step S19: Adjust the part outer frame to the enlarged outer frame according to the preset value; Step S21: Determine whether part of the non-opening area falls within the enlarged outer frame; If the determination result of step S21 is "Yes", execute step S23: output a warning notification; and if the determination result of step S21 is "no", execute step S25: output a completion notification.

所述的加工圖及零件清單預存於記憶體11中,而於步驟S11,處理裝置12從記憶體11取得加工圖及零件清單。加工圖的檔案格式可為聯合圖像群(joint photographic group,JPG),加工圖為加工載具時所使用的工程圖檔,包含了在載具上應被銑孔以裝設零件的開孔區以及不應被銑孔的非開孔區,其中所述零件可為欲裝設於印刷電路板上的各類電子零件。零件清單可對應於電腦輔助設計繪圖軟體(AutoCAD)的輔助設計圖檔,例如為電腦輔助設計繪圖軟體的加工(fabrication,FAB)檔案,零件清單可記錄輔助設計圖檔中的多種零件的零件名稱、對應各該些零件名稱的零件封裝(packaging)資料以及各該些零件在輔助設計圖檔中的第一座標組等。The processing drawing and parts list are pre-stored in the memory 11 , and in step S11 , the processing device 12 obtains the processing drawing and parts list from the memory 11 . The file format of the processing drawing can be a joint photographic group (JPG). The processing drawing is an engineering drawing file used when processing the carrier. It contains the openings that should be milled on the carrier to install the parts. Areas and non-opening areas that should not be milled, where the parts can be various electronic parts to be installed on printed circuit boards. The parts list can correspond to the auxiliary design drawing file of the computer-aided design drawing software (AutoCAD), such as the fabrication (FAB) file of the computer-aided design drawing software. The parts list can record the part names of various parts in the auxiliary design drawing file. , the parts packaging data corresponding to the names of the parts, and the first coordinate group of the parts in the auxiliary design drawing file, etc.

於步驟S13,處理裝置12利用轉換矩陣,將目標零件在輔助設計圖檔中的第一座標組轉換為在加工圖中的第二座標組。加工圖上可具有四個或更多個的定位孔,處理裝置12可透過該些定位孔取得轉換矩陣。轉換矩陣可為H矩陣(H-Matrix),用於將目標零件在輔助設計圖檔中的第一座標組投影到加工圖中以取得對應的第二座標組,其中第二座標組可為對應於Gerber檔案的座標。In step S13, the processing device 12 uses the transformation matrix to convert the first coordinate group of the target part in the auxiliary design drawing file into the second coordinate group in the machining drawing. There may be four or more positioning holes on the processing map, and the processing device 12 can obtain the conversion matrix through these positioning holes. The transformation matrix can be an H-Matrix, which is used to project the first coordinate group of the target part in the auxiliary design drawing into the processing drawing to obtain the corresponding second coordinate group, where the second coordinate group can be the corresponding coordinates in the Gerber file.

於步驟S15,處理裝置12可根據零件(下稱目標零件)的零件名稱於零件清單進行搜尋,以從零件清單取得目標零件的線條資料。具體地,每個零件的外型(或外框)是由線條組合的方式形成,而線條資料可指示線條的形狀,例如為直線或曲線及其曲率等。In step S15, the processing device 12 can search the parts list according to the part name of the part (hereinafter referred to as the target part) to obtain the line data of the target part from the parts list. Specifically, the appearance (or outer frame) of each part is formed by a combination of lines, and the line data can indicate the shape of the lines, such as straight lines or curves and their curvature.

於步驟S17,處理裝置12可依據線條資料連接加工圖上的第二座標組的多個第二座標中的多者以取得對應於目標零件在加工圖上的零件外框。換言之,處理裝置12可先判得兩個相鄰的第二座標,並根據線條資料的指示判斷以直線或曲線的線條連接該二第二座標。In step S17, the processing device 12 may connect multiple second coordinates of the second coordinate group on the processing drawing according to the line data to obtain the part outline corresponding to the target part on the processing drawing. In other words, the processing device 12 can first determine two adjacent second coordinates, and determine whether to connect the two second coordinates with a straight line or a curved line according to the instructions of the line data.

於步驟S19,處理裝置12可將零件外框的每條線條的長度乘上預設值以取得放大外框,或是將零件外框的每條線條的長度加上預設值以取得放大外框。換言之,放大外框可與零件外框具有相同或相似的外型。在放大外框是透過乘上預設值取得的實施態樣中,預設值可為2;在放大外框是透過加上預設值取得的實施態樣中,預設值可為1 mm,但本發明不對預設值的具體數值予以限制。In step S19, the processing device 12 may multiply the length of each line of the part's outer frame by a preset value to obtain the enlarged outer frame, or add the length of each line of the part's outer frame by a preset value to obtain the enlarged outer frame. frame. In other words, the enlargement frame may have the same or similar appearance as the part frame. In implementations where the enlargement frame is obtained by multiplying the default value, the default value may be 2; in implementations where the enlargement frame is obtained by adding the default value, the default value may be 1 mm , but the present invention does not limit the specific numerical value of the preset value.

於步驟S21,處理裝置12可判斷加工圖上的非開孔區的一部份是否與由放大外框圈圍的區域重疊,以判斷非開孔區的一部份是否落於放大外框內。若處理裝置12判斷非開孔區的一部份落於放大外框內,於步驟S23,處理裝置12輸出警告通知,其中處理裝置12可輸出警告通知至電性或通訊連接於處理裝置12的顯示器,或輸出警告通知至相關工程人員的電子信箱等,本發明不予以限制。此外,在警告通知是輸出至顯示器的實施態樣中,處理裝置12可控制顯示器顯示包含放大外框的加工圖,警告通知可為警告標記(例如,以紅色的點作為標記),呈現在落於放大外框內的非開孔區處。若處理裝置12判斷非開孔區的一部份非落於放大外框內,於步驟S25,處理裝置12可輸出完成通知至電性或通訊連接於處理裝置12的顯示器,或輸出完成通知至相關工程人員的電子信箱等,其中完成通知指示加工圖的檢查已完成。In step S21, the processing device 12 can determine whether a part of the non-opening area on the processing diagram overlaps with the area surrounded by the enlarged outer frame, so as to determine whether a part of the non-opening area falls within the enlarged outer frame. . If the processing device 12 determines that part of the non-opening area falls within the enlarged outer frame, in step S23, the processing device 12 outputs a warning notification, wherein the processing device 12 may output a warning notification to a device electrically or communicatively connected to the processing device 12. The present invention is not limited to a display, or an electronic mailbox for outputting warning notifications to relevant engineering personnel. In addition, in an implementation where the warning notice is output to the display, the processing device 12 can control the display to display the processing drawing including an enlarged frame, and the warning notice can be a warning mark (for example, a red dot as a mark), which is presented on the bottom of the screen. At the non-opening area within the enlarged outer frame. If the processing device 12 determines that part of the non-opening area does not fall within the enlarged outer frame, in step S25, the processing device 12 may output a completion notification to a display electrically or communicatively connected to the processing device 12, or output a completion notification to The e-mail of the relevant engineering personnel, etc., in which the completion notification indicates that the inspection of the processing drawing has been completed.

另需於此說明的是,步驟S25為選擇性執行的步驟,若步驟S21的判斷結果為「否」,處理裝置12亦可不輸出完成通知並結束此流程。此外,目標零件的數量可為一個或多個,本發明不予以為限。It should be noted here that step S25 is an optional step. If the determination result of step S21 is "no", the processing device 12 may not output the completion notification and end this process. In addition, the number of target parts may be one or more, and the present invention is not limited thereto.

透過上述之加工圖檢查系統及方法,能夠提升檢查加工圖上銑孔位置的效率及準確度,避免人工檢查導致漏檢銑孔位置,進而改善零件被載具壓壞的情況。此外,由於加工機具不一定能非常精確地對載具進行加工,而透過形成放大外框的技術手段,可使銑孔的尺寸在容許範圍內被放大,以避免在加工時因零件偏移而造成零件被壓壞的問題。Through the above-mentioned processing drawing inspection system and method, the efficiency and accuracy of checking the milling hole position on the processing drawing can be improved, and the missed detection of the milling hole position caused by manual inspection can be avoided, thereby improving the situation of parts being crushed by the carrier. In addition, since processing machines may not be able to process the carrier very accurately, the technical means of forming an enlarged frame can make the size of the milled hole enlarged within the allowable range to avoid errors due to part deviation during processing. Causes the problem of parts being crushed.

請接著一併參考圖1及圖3,其中圖3繪示圖2的步驟S15的細部流程圖。如圖3所示,圖2的步驟S15可包括:步驟S151:依據零件名稱從零件清單取得零件的零件封裝;以及步驟S153:使用語言整合查詢根據零件封裝取得線條資料。Please refer to FIG. 1 and FIG. 3 together. FIG. 3 illustrates a detailed flow chart of step S15 in FIG. 2 . As shown in Figure 3, step S15 of Figure 2 may include: step S151: obtaining the part package of the part from the parts list based on the part name; and step S153: using language integration query to obtain line data based on the part package.

如前所述,零件清單可記錄多種零件的零件名稱及對應各該些零件名稱的零件封裝。因此,於步驟S151,處理裝置12可判斷目標零件在零件清單中的零件名稱後接著零件封裝的文字,以於下述的步驟S153查找記錄於零件封裝後的資料。As mentioned before, the parts list can record the part names of various parts and the part packages corresponding to the parts names. Therefore, in step S151, the processing device 12 can determine the part name of the target part in the parts list followed by the text of the part package, so as to search for the data recorded after the part package in the following step S153.

於步驟S153,處理裝置12可使用語言整合查詢(language integrated query,LINQ)取得零件封裝的線條資料,其中線條資料可指示零件封裝的外型,例如為直線或曲線。換言之,前述圖2的步驟S15所述的線條資料可為零件封裝的線條資料。In step S153, the processing device 12 may use a language integrated query (LINQ) to obtain the line data of the component package, where the line data may indicate the appearance of the component package, such as a straight line or a curve. In other words, the line data described in step S15 of FIG. 2 may be the line data of component packaging.

請接著一併參考圖1、圖4及圖5,其中圖4繪示圖2的步驟S21的一種實施方式的流程圖,圖5係繪示零件外框及放大外框的示意圖。需先於此說明的是,處理裝置12於圖2的步驟S13取得的第二座標組可包括多個第二座標。如圖4所示,圖2的步驟S21可包括:步驟S211:依據第二座標組的各多個第二座標的縱軸座標及橫軸座標排序該些第二座標;以及步驟S213:依據排序結果依序地判斷放大外框的多個邊界的每一者是否位於非開孔區中。Please refer to FIG. 1 , FIG. 4 and FIG. 5 together. FIG. 4 shows a flow chart of an implementation of step S21 in FIG. 2 , and FIG. 5 shows a schematic diagram of the outer frame of the part and the enlarged outer frame. It should be noted that the second coordinate group obtained by the processing device 12 in step S13 of FIG. 2 may include multiple second coordinates. As shown in Figure 4, step S21 in Figure 2 may include: step S211: sorting the second coordinates according to the vertical axis coordinates and horizontal axis coordinates of the second coordinates of the second coordinate group; and step S213: sorting according to As a result, it is sequentially determined whether each of the multiple boundaries of the enlarged outer frame is located in the non-opening area.

圖5同時示出了零件外框BDY1以及放大外框BDY2,而第一座標組的多個第一座標可為在零件外框BDY1上的多個點的座標以及在零件外框BDY1的中心點的座標。第一座標組在透過轉換矩陣轉換後可為在放大外框BDY2上的多個點P0~P8的第二座標,其中點P0對應於零件外框BDY1的中心點,點P1~P8對應於在零件外框BDY1上的該些點。Figure 5 shows both the part outer frame BDY1 and the enlarged outer frame BDY2, and the plurality of first coordinates of the first coordinate group can be the coordinates of multiple points on the part outer frame BDY1 and the center point of the part outer frame BDY1 coordinates. The first coordinate group, after conversion through the transformation matrix, can be the second coordinates of multiple points P0 to P8 on the enlarged outer frame BDY2. The point P0 corresponds to the center point of the part outer frame BDY1, and the points P1 to P8 correspond to the center point of the part outer frame BDY1. These points on the part frame BDY1.

於步驟S211,處理裝置12可依據該些點P1~P8的第二座標的橫軸(例如,X軸)座標及縱軸(例如,Y軸)座標排序該些點P1~P8的第二座標,例如是升序的排序。舉例而言,處理裝置12可依據從加工圖的左側到右側以及從加工圖的上側到下側的排序規則,將該些點P1~P8的第二座標排序為:P1的第二座標、P2的第二座標、P3的第二座標、P4的第二座標、P5的第二座標、P6的第二座標、P7的第二座標及P8的第二座標。另需說明的是,上述的排序規則僅為示例,本發明不對排序規則予以限制。In step S211 , the processing device 12 can sort the second coordinates of the points P1 - P8 according to the horizontal axis (for example, X-axis) coordinates and the vertical axis (for example, Y-axis) coordinates of the second coordinates of the points P1 - P8 , for example, sorting in ascending order. For example, the processing device 12 can sort the second coordinates of the points P1 to P8 as: the second coordinates of P1, P2 according to the sorting rules from the left side to the right side of the processing drawing and from the upper side to the lower side of the processing drawing. The second coordinate of P3, the second coordinate of P4, the second coordinate of P5, the second coordinate of P6, the second coordinate of P7 and the second coordinate of P8. It should be noted that the above sorting rules are only examples, and the present invention does not limit the sorting rules.

接著,於步驟S213,處理裝置12即可依據排序結果,依序地判斷由該些點P1~P8中的多者連接的多個邊界的每一者是否位於非開孔區中。舉例而言,依據上述的排序結果,處理裝置12可先判斷由點P1與P2連接形成的邊界是否位於非開孔區中;接著判斷由點P2與P3連接形成的邊界是否位於非開孔區中;再判斷由點P1與P4連接形成的邊界是否位於非開孔區中,以此類推。若判斷該些邊界中的一者落於非開孔區中,處理裝置12可執行圖2的步驟S23;若判斷該些邊界皆未落於非開孔區中,處理裝置12可執行圖2的步驟S25。Next, in step S213, the processing device 12 can sequentially determine whether each of the multiple boundaries connected by multiple of the points P1 to P8 is located in the non-opening area based on the sorting result. For example, based on the above sorting results, the processing device 12 can first determine whether the boundary formed by connecting points P1 and P2 is located in the non-opening area; and then determine whether the boundary formed by connecting points P2 and P3 is located in the non-opening area. in; then determine whether the boundary formed by connecting points P1 and P4 is located in the non-opening area, and so on. If it is determined that one of the boundaries falls in the non-opening area, the processing device 12 can execute step S23 of FIG. 2 ; if it is determined that none of the boundaries falls in the non-opening area, the processing device 12 can execute FIG. 2 Step S25.

透過依據排序結果判斷放大外框的每條邊界是否落於非開孔區中,能夠以有順序性的方式進行檢查,進而避免漏檢問題。By judging whether each boundary of the enlarged outer frame falls in the non-opening area based on the sorting results, inspection can be carried out in a sequential manner, thereby avoiding missed detection problems.

請接著參考圖6,其中圖6繪示檢查加工圖上的非開孔區的一部分是否落於放大外框內的示意圖。加工圖上的開孔區及非開孔區可具有不同顏色,如圖所示,加工圖IMG1的開孔區可以白色呈現,非開孔區可以灰色呈現,其中加工圖IMG1中位於四個角落的白色圓形區塊即可作為前述的定位點。於透過圖4的步驟S211取得排序結果後,處理裝置執行判斷非開孔區的一部分是否落於放大外框內的實現方式亦可透過加工圖IMG1上呈現的顏色判斷。Please refer to FIG. 6 , which is a schematic diagram of checking whether a part of the non-opening area on the processing drawing falls within the enlarged outer frame. The opening area and non-opening area on the processing drawing can have different colors. As shown in the figure, the opening area of the processing drawing IMG1 can be presented in white, and the non-opening area can be presented in gray. In the processing drawing IMG1, it is located at the four corners. The white circular area can be used as the aforementioned positioning point. After obtaining the sorting result in step S211 of FIG. 4 , the processing device determines whether a part of the non-opening area falls within the enlarged outer frame. The implementation can also be based on the color displayed on the processing image IMG1.

具體而言,處理裝置可依據排序結果依序地判斷放大外框BDY2’的該些邊界的每一者的兩側是否皆呈現對應於非開孔區的顏色,並於判斷有其中一邊界的兩側皆呈現對應於非開孔區的顏色時輸出警告通知。以圖6為例,從擷取自加工圖IMG1的部分放大圖IMG2中可以看到,在放大外框BDY2’的一部分邊界的兩側皆呈現對應於非開孔區的灰色,故處理裝置可輸出警告通知。Specifically, the processing device can sequentially determine according to the sorting result whether both sides of each of the boundaries of the enlarged outer frame BDY2' present a color corresponding to the non-opening area, and determine whether there is one of the boundaries. A warning notification is output when both sides present the color corresponding to the non-opening area. Taking Figure 6 as an example, it can be seen from the partial enlarged view IMG2 taken from the processing image IMG1 that both sides of a part of the boundary of the enlarged outer frame BDY2' appear gray corresponding to the non-opening area, so the processing device can Output warning notifications.

另外,如前所述,目標零件的數量可為多個,故除了上述的內容,於另一實施例中,處理裝置可透過多執行緒(multithreading)程序同時對多個目標零件執行以下的判斷程序:判斷非開孔區的一部分是否落於放大外框內、依據排序結果依序地判斷放大外框的多個邊界的每一者是否位於非開孔區中,或依據排序結果依序地判斷放大外框的該些邊界的每一者的兩側是否皆呈現對應於非開孔區的顏色的其中一者。舉例而言,處理裝置可先判得其自身的最高執行效能(例如,最高執行效能可關聯於處理裝置的核心數量),並依據最高執行效能設定能夠同時執行檢查的緒(thread)的數量,再根據緒的數量對多個目標零件同時執行上述判斷程序中的一者,且處理裝置在執行判斷程序前,可先判斷目標零件是否為已檢查過的零件,以提高檢查效率。In addition, as mentioned above, the number of target parts can be multiple. Therefore, in addition to the above content, in another embodiment, the processing device can perform the following judgment on multiple target parts simultaneously through a multithreading program. Procedure: determine whether a part of the non-opening area falls within the enlarged outer frame, sequentially determine whether each of the multiple boundaries of the enlarged outer frame is located in the non-opening area according to the sorting result, or sequentially determine according to the sorting result It is determined whether both sides of each of the boundaries of the enlarged outer frame present one of the colors corresponding to the non-opening area. For example, the processing device can first determine its own highest execution performance (for example, the highest execution performance can be associated with the number of cores of the processing device), and set the number of threads that can simultaneously execute the check based on the highest execution performance. Then one of the above-mentioned judgment procedures is executed simultaneously on multiple target parts according to the number of threads, and the processing device can first judge whether the target part is an inspected part before executing the judgment procedure to improve inspection efficiency.

綜上所述,依據本發明一或多個實施例所示的加工圖檢查系統及方法,能夠提升檢查加工圖上銑孔位置的效率及準確度,避免人工檢查導致漏檢銑孔位置,進而改善零件被載具壓壞的情況。此外,由於加工機具不一定能非常精確地對載具進行加工,而透過形成放大外框的技術手段,可使銑孔的尺寸在容許範圍內被放大,以避免在加工時因零件偏移而造成零件被壓壞的問題。此外,透過依據排序結果判斷放大外框的每條邊界是否落於非開孔區中,能夠以有順序性的方式進行檢查,進而避免漏檢問題。並且,依據本發明一或多個實施例所示的加工圖檢查系統及方法,透過依據處理裝置的最高執行效能設定能夠同時執行檢查的緒的數量,以及在執行判斷程序前先判斷目標零件是否為已檢查過的零件,可以提高檢查效率。In summary, according to the processing drawing inspection system and method shown in one or more embodiments of the present invention, the efficiency and accuracy of checking the milling hole position on the processing drawing can be improved, and the missed detection of the milling hole position caused by manual inspection can be avoided, and thus the milling hole position can be avoided. Improve the situation of parts being crushed by vehicles. In addition, since processing machines may not be able to process the carrier very accurately, the technical means of forming an enlarged frame can make the size of the milled hole enlarged within the allowable range to avoid errors due to part deviation during processing. Causes the problem of parts being crushed. In addition, by judging whether each boundary of the enlarged outer frame falls in the non-opening area based on the sorting results, inspection can be carried out in a sequential manner, thereby avoiding missed detection problems. Moreover, according to the machining drawing inspection system and method shown in one or more embodiments of the present invention, the number of threads that can be inspected simultaneously is set according to the highest execution performance of the processing device, and whether the target part is determined before executing the judgment program For parts that have been inspected, inspection efficiency can be improved.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明。在不脫離本發明之精神和範圍內,所為之更動與潤飾,均屬本發明之專利保護範圍。關於本發明所界定之保護範圍請參考所附之申請專利範圍。Although the present invention is disclosed in the foregoing embodiments, they are not intended to limit the present invention. All changes and modifications made without departing from the spirit and scope of the present invention shall fall within the scope of patent protection of the present invention. Regarding the protection scope defined by the present invention, please refer to the attached patent application scope.

1:加工圖檢查系統 11:記憶體 12:處理裝置 P0~P8:點 BDY1:零件外框 BDY2,BDY2’:放大外框 IMG1:加工圖 IMG2:部分放大圖 S11,S13,S15,S17,S19,S21,S23,S25,S151,S153,S211,S213:步驟 1: Processing drawing inspection system 11:Memory 12: Processing device P0~P8: points BDY1: parts frame BDY2, BDY2’: enlarge the outer frame IMG1: Processing drawing IMG2: Partial enlargement S11, S13, S15, S17, S19, S21, S23, S25, S151, S153, S211, S213: Steps

圖1為依據本發明一實施例所繪示的加工圖檢查系統的方塊圖。 圖2為依據本發明一實施例所繪示的加工圖檢查方法的流程圖。 圖3繪示圖2的步驟S15的細部流程圖。 圖4繪示圖2的步驟S21的細部流程圖。 圖5係繪示零件外框及放大外框的示意圖。 圖6繪示檢查加工圖上的非開孔區的一部分是否落於放大外框內的示意圖。 FIG. 1 is a block diagram of a processing drawing inspection system according to an embodiment of the present invention. FIG. 2 is a flow chart of a processing drawing inspection method according to an embodiment of the present invention. FIG. 3 illustrates a detailed flow chart of step S15 in FIG. 2 . FIG. 4 illustrates a detailed flow chart of step S21 in FIG. 2 . Figure 5 is a schematic diagram showing the outer frame of the component and an enlarged outer frame. Figure 6 is a schematic diagram of checking whether a part of the non-opening area on the processing drawing falls within the enlarged outer frame.

S11,S13,S15,S17,S19,S21,S23,S25:步驟 S11, S13, S15, S17, S19, S21, S23, S25: Steps

Claims (10)

一種加工圖檢查方法,包含藉由一處理裝置執行: 取得一加工圖及一零件清單,其中該加工圖包含一非開孔區及關於一零件的一開孔區,該零件清單包含該零件的一第一座標組;依據一轉換矩陣將該第一座標組轉換為對應該加工圖的一第二座標組;依據該零件清單取得對應於該零件的一線條資料;依據該第二座標組及該線條資料取得該零件在該加工圖上所對應的一零件外框;依據一預設值將該零件外框調整為一放大外框;以及於該非開孔區的一部分落於該放大外框內時輸出一警告通知。 A processing drawing inspection method includes executing by a processing device: Obtain a processing drawing and a parts list, wherein the processing drawing includes a non-opening area and an opening area for a part, the parts list includes a first coordinate group of the part; convert the part according to a transformation matrix The first coordinate group is converted into a second coordinate group corresponding to the processing drawing; a line data corresponding to the part is obtained according to the parts list; and the position of the part on the processing drawing is obtained according to the second coordinate group and the line data. A corresponding part outline; adjusting the part outline to an enlarged outline according to a preset value; and outputting a warning notification when part of the non-opening area falls within the enlarged outline. 如請求項1所述的加工圖檢查方法,其中依據該零件清單取得該零件的該線條資料包含: 依據該零件的一零件名稱從該零件清單取得該零件的一零件封裝;以及使用一語言整合查詢根據該零件封裝取得該線條資料。 The processing drawing inspection method as described in claim 1, wherein the line data of the part obtained based on the parts list includes: Obtaining a part package of the part from the parts list based on a part name of the part; and using a language integrated query to obtain the line data based on the part package. 如請求項1所述的加工圖檢查方法,其中該第二座標組包含多個第二座標,依據該第二座標組及該線條資料取得該零件在該加工圖上所對應的該零件外框包含: 依據該線條資料連接該些第二座標中的多者以圈圍出該零件外框。 The processing drawing inspection method as described in claim 1, wherein the second coordinate group includes a plurality of second coordinates, and the outer frame of the part corresponding to the part on the processing drawing is obtained based on the second coordinate group and the line data. Include: Connect multiple of the second coordinates according to the line data to enclose the outer frame of the part. 如請求項1所述的加工圖檢查方法,其中該第二座標組包含多個第二座標,於該非開孔區的一部分落於該放大外框內時輸出該警告通知包含: 依據各該些第二座標的橫軸座標及縱軸座標排序該些第二座標;依據該排序結果依序地判斷該放大外框的多個邊界的每一者是否位於該非開孔區中;以及於該放大外框的該些邊界的至少一者位於該非開孔區中時輸出該警告通知。 The processing drawing inspection method as described in claim 1, wherein the second coordinate group includes a plurality of second coordinates, and when a part of the non-opening area falls within the enlarged outer frame, the warning notification is output including: Sort the second coordinates according to the horizontal axis coordinate and the vertical axis coordinate of each of the second coordinates; sequentially determine whether each of the multiple boundaries of the enlarged outer frame is located in the non-opening area based on the sorting result; and outputting the warning notification when at least one of the boundaries of the enlarged frame is located in the non-opening area. 如請求項4所述的加工圖檢查方法,其中該開孔區及該非開孔區具有不同顏色,依據該排序結果依序地判斷該放大外框的至該些邊界的每一者是否位於該非開孔區中包含: 依據該排序結果依序地判斷該放大外框的該些邊界的每一者的兩側是否皆呈現對應於該非開孔區的顏色。 The processing drawing inspection method as described in claim 4, wherein the opening area and the non-opening area have different colors, and based on the sorting result, it is sequentially determined whether each of the enlarged outer frame and the boundaries is located in the non-opening area. The opening area contains: Based on the sorting result, it is sequentially determined whether both sides of each of the boundaries of the enlarged frame present a color corresponding to the non-opening area. 一種加工圖檢查系統,包含: 一記憶體,儲存一加工圖及一零件清單,其中該加工圖包含一非開孔區及關於一零件的一開孔區,該零件清單包含該零件的一第一座標組;以及一處理裝置,連接於該記憶體,該處理裝置用於取得該加工圖及該零件清單,依據一轉換矩陣將該第一座標組轉換為對應該加工圖的一第二座標組,依據該零件清單取得對應於該零件的一線條資料,依據該第二座標組及該線條資料取得該零件在該加工圖上所對應的一零件外框,依據一預設值將該零件外框調整為一放大外框,以及於該非開孔區的一部分落於該放大外框內時輸出一警告通知。 A processing drawing inspection system, including: A memory that stores a processing drawing and a parts list, wherein the processing drawing includes a non-opening area and an opening area related to a part, and the parts list includes a first coordinate group of the part; and a A processing device is connected to the memory. The processing device is used to obtain the processing drawing and the parts list, and convert the first coordinate group into a second coordinate group corresponding to the processing drawing according to a conversion matrix. According to the parts list Obtain a line data corresponding to the part, obtain a part outline corresponding to the part on the processing drawing based on the second coordinate group and the line data, and adjust the part outline to a preset value The outer frame is enlarged, and a warning notification is output when a part of the non-opening area falls within the enlarged outer frame. 如請求項6所述的加工圖檢查系統,其中該處理裝置執行依據該零件清單取得該零件的該線條資料包含: 依據該零件的一零件名稱從該零件清單取得該零件的一零件封裝;以及使用一語言整合查詢根據該零件封裝取得該線條資料。 The processing drawing inspection system as described in claim 6, wherein the processing device executes to obtain the line data of the part based on the parts list including: Obtaining a part package of the part from the parts list based on a part name of the part; and using a language integrated query to obtain the line data based on the part package. 如請求項6所述的加工圖檢查系統,其中該第二座標組包含多個第二座標,該處理裝置執行依據該第二座標組及該線條資料取得該零件在該加工圖上所對應的該零件外框包含: 依據該線條資料連接該些第二座標中的多者以圈圍出該零件外框。 The processing drawing inspection system as described in claim 6, wherein the second coordinate group includes a plurality of second coordinates, and the processing device executes to obtain the corresponding position of the part on the processing drawing based on the second coordinate group and the line data. The part frame contains: Connect multiple of the second coordinates according to the line data to enclose the outer frame of the part. 如請求項6所述的加工圖檢查系統,其中該第二座標組包含多個第二座標,該處理裝置執行於該非開孔區的一部分落於該放大外框內時輸出該警告通知包含: 依據各該些第二座標的橫軸座標及縱軸座標排序該些第二座標;依據該排序結果依序地判斷該放大外框的多個邊界的每一者是否位於該非開孔區中;以及於該放大外框的該些邊界的至少一者位於該非開孔區中時輸出該警告通知。 The processing drawing inspection system as described in claim 6, wherein the second coordinate group includes a plurality of second coordinates, and the processing device executes when a part of the non-opening area falls within the enlarged outer frame and outputs the warning notification including: Sort the second coordinates according to the horizontal axis coordinate and the vertical axis coordinate of each of the second coordinates; sequentially determine whether each of the multiple boundaries of the enlarged outer frame is located in the non-opening area based on the sorting result; and outputting the warning notification when at least one of the boundaries of the enlarged frame is located in the non-opening area. 如請求項9所述的加工圖檢查系統,其中該開孔區及該非開孔區具有不同顏色,該處理裝置執行依據該排序結果依序地判斷該放大外框的至該些邊界的每一者是否位於該非開孔區中包含: 依據該排序結果依序地判斷該放大外框的該些邊界的每一者的兩側是否皆呈現對應於該非開孔區的顏色。 The processing drawing inspection system as claimed in claim 9, wherein the opening area and the non-opening area have different colors, and the processing device executes sequentially judging each step from the enlarged outer frame to the boundaries based on the sorting result. Whether the person is located in the non-opening area and contains: Based on the sorting result, it is sequentially determined whether both sides of each of the boundaries of the enlarged frame present a color corresponding to the non-opening area.
TW111122361A 2022-06-16 2022-06-16 Examination method and system for engineering drawing TWI822117B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111122361A TWI822117B (en) 2022-06-16 2022-06-16 Examination method and system for engineering drawing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111122361A TWI822117B (en) 2022-06-16 2022-06-16 Examination method and system for engineering drawing

Publications (2)

Publication Number Publication Date
TWI822117B true TWI822117B (en) 2023-11-11
TW202401187A TW202401187A (en) 2024-01-01

Family

ID=89722373

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111122361A TWI822117B (en) 2022-06-16 2022-06-16 Examination method and system for engineering drawing

Country Status (1)

Country Link
TW (1) TWI822117B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200538704A (en) * 2004-05-21 2005-12-01 Zetetic Inst Apparatus and methods for overlay, alignment mark, and critical dimension metrologies based on optical interferometry
TWI273216B (en) * 2001-12-31 2007-02-11 Orbotech Ltd Method for inspecting patterns
TW200912294A (en) * 2007-04-23 2009-03-16 Belron Hungary Kft Szombathely Investigation system and technique
US8856721B2 (en) * 2012-03-28 2014-10-07 Koh Young Technology Inc. Method for generating task data of a PCB and inspecting a PCB
TW201518711A (en) * 2013-11-07 2015-05-16 Ind Tech Res Inst Image positioning method and apparatus
CN109690430A (en) * 2016-09-09 2019-04-26 宝洁公司 System and method for producing products based on demand

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI273216B (en) * 2001-12-31 2007-02-11 Orbotech Ltd Method for inspecting patterns
TW200538704A (en) * 2004-05-21 2005-12-01 Zetetic Inst Apparatus and methods for overlay, alignment mark, and critical dimension metrologies based on optical interferometry
TW200912294A (en) * 2007-04-23 2009-03-16 Belron Hungary Kft Szombathely Investigation system and technique
US8856721B2 (en) * 2012-03-28 2014-10-07 Koh Young Technology Inc. Method for generating task data of a PCB and inspecting a PCB
TW201518711A (en) * 2013-11-07 2015-05-16 Ind Tech Res Inst Image positioning method and apparatus
CN109690430A (en) * 2016-09-09 2019-04-26 宝洁公司 System and method for producing products based on demand

Also Published As

Publication number Publication date
TW202401187A (en) 2024-01-01

Similar Documents

Publication Publication Date Title
US8856721B2 (en) Method for generating task data of a PCB and inspecting a PCB
EP3699615B1 (en) Method, system and apparatus for detecting polarity of component, and computer-readable storage medium
CN101311668A (en) Device and method for generating map data for probe testing machine
US11068624B2 (en) Three-dimensional model generating method, three-dimensional model generating system, and three-dimensional model generating program
US11307029B2 (en) Method for analyzing the surface quality of composite laminates
JP2004151057A (en) Registration method of part code conversion table, conversion table registration apparatus, part code conversion table registration program, and storage medium
JP2007121181A (en) Pattern shape evaluation method and pattern shape evaluation program
JP5533196B2 (en) Method for identifying data point distribution region on coordinate plane and identification program thereof
TWI822117B (en) Examination method and system for engineering drawing
JP4583478B2 (en) Method for overlaying display of design image and photographed image, display device, and display program
CN117291861B (en) Methods and systems for inspecting machining drawings
JPS62123301A (en) Inspector for semiconductor exposure pattern data
TWI409661B (en) Method for utilizing fabrication defect of an article
CN101430725B (en) Automatic inspection system and method for punching mold part
JP2010147322A (en) Method of creating 3d mounting data of component mounting machine
CN114942246A (en) Method and equipment for detecting welding quality of MiniLED based on 3D confocal sensor
TWI514492B (en) Method of varifying map shift in electrical testing of wafer
JP7686711B2 (en) Photomask pattern inspection device and method
CN119170517B (en) Method and device for detecting appearance of back of chip based on file closing
CN106482686A (en) The assay method of semiconductor device
TW200923706A (en) System and method for inspecting the parts of the stamping mold
JP4539345B2 (en) Electrical circuit board design equipment
KR20080035103A (en) Manufacturing process measurement method and measuring device
JP2580870B2 (en) Inspection data output method
TWI630453B (en) Projection-type recheck machine and compensation method thereof