TWI848618B - Pcb defect detection method, metrological measurement method and manufacture method for circuit board - Google Patents

Pcb defect detection method, metrological measurement method and manufacture method for circuit board Download PDF

Info

Publication number
TWI848618B
TWI848618B TW112109856A TW112109856A TWI848618B TW I848618 B TWI848618 B TW I848618B TW 112109856 A TW112109856 A TW 112109856A TW 112109856 A TW112109856 A TW 112109856A TW I848618 B TWI848618 B TW I848618B
Authority
TW
Taiwan
Prior art keywords
pcb
target object
circuit board
size
measurement direction
Prior art date
Application number
TW112109856A
Other languages
Chinese (zh)
Other versions
TW202400993A (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 大陸商蘇州康代智能科技股份有限公司
Publication of TW202400993A publication Critical patent/TW202400993A/en
Application granted granted Critical
Publication of TWI848618B publication Critical patent/TWI848618B/en

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K3/00Apparatus or processes for manufacturing printed circuits
    • H05K3/0005Apparatus or processes for manufacturing printed circuits for designing circuits by computer
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4038Image mosaicing, e.g. composing plane images from plane sub-images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • G06T7/0006Industrial image inspection using a design-rule based approach
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C3/00Registering or indicating the condition or the working of machines or other apparatus, other than vehicles
    • G07C3/14Quality control systems
    • G07C3/143Finished product quality control
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K3/00Apparatus or processes for manufacturing printed circuits
    • H05K3/22Secondary treatment of printed circuits
    • H05K3/225Correcting or repairing of printed circuits
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • G01N2021/8887Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges based on image processing techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/32Indexing scheme for image data processing or generation, in general involving image mosaicing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30141Printed circuit board [PCB]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Manufacturing & Machinery (AREA)
  • Biochemistry (AREA)
  • Analytical Chemistry (AREA)
  • Chemical & Material Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Automation & Control Theory (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • Signal Processing (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Image Analysis (AREA)

Abstract

The present disclosure provides a PCB defect detection method, a metrological measurement method and a manufacture method for circuit board. The detection method comprises: inputting a PCB design document of a circuit board to be detected into an AOI device, wherein the PCB design document comprises designed dimension information of each object on the circuit board; scanning the circuit board to obtain a scanned image by the AOI device, and obtaining a pixel unit dimension currently set by the AOI device; in response to a trigger signal of a detection request for at least one target object, determining a number of pixels occupied by the target object in the direction of requesting measurement in the scanned image; according to the pixel unit dimension currently set by the AOI device and the number of pixels occupied by the target object, calculating a dimension of the target object in the direction of requesting measurement; comparing the dimension of the target object in the direction of requesting measurement with the dimension information of the target object in the design document; if a dimension difference thereof exceeds a preset difference threshold, it is determined that the target object of the circuit board is defective.

Description

PCB缺陷檢測方法、電路板計量測量方法及製作方法PCB defect detection method, circuit board measurement method and manufacturing method

本發明涉及PCB檢測領域,尤其涉及一種PCB缺陷檢測方法、電路板計量測量方法及製作方法。The present invention relates to the field of PCB detection, and in particular to a PCB defect detection method, a circuit board measurement method and a manufacturing method.

自動光學檢測(Automated Optical Inspection,簡稱AOI)設備現已成為電子製造業確保產品質量的重要檢測工具和過程質量控製工具,其配置有線掃相機,對電路板進行線掃,然後將線掃的子圖像拼接得到完整的PCB掃描圖像。Automated Optical Inspection (AOI) equipment has now become an important inspection tool and process quality control tool for the electronics manufacturing industry to ensure product quality. It is equipped with a line scan camera to perform a line scan on the circuit board, and then the sub-images of the line scan are spliced to obtain a complete PCB scan image.

常規的PCB缺陷檢測的手段為AOI設備通過將檢測點與數據庫中的合格參數進行比較,經過圖像處理,檢查出被測產品上的缺陷。The conventional means of PCB defect detection is that the AOI equipment compares the inspection points with the qualified parameters in the database, and detects the defects on the tested product through image processing.

但是目前的AI檢測模型的精確度不足,導致檢測錯誤的情況時有發生,影響缺陷識別的準確率。However, the current AI detection model lacks accuracy, resulting in frequent detection errors, which affects the accuracy of defect identification.

以上背景技術內容的公開僅用於輔助理解本發明的發明構思及技術方案,其並不必然屬於本專利申請的現有技術,也不必然會給出技術教導;在沒有明確的證據表明上述內容在本專利申請的申請日之前已經公開的情況下,上述背景技術不應當用於評價本申請的新穎性和創造性。The disclosure of the above background technology content is only used to assist in understanding the invention concept and technical solution of the present invention. It does not necessarily belong to the prior art of this patent application, nor does it necessarily provide technical guidance. In the absence of clear evidence that the above content has been disclosed before the application date of this patent application, the above background technology should not be used to evaluate the novelty and creativity of this application.

本發明的目的是提供一種PCB缺陷檢測方法、電路板計量測量方法及製作方法,利用AOI設備的掃描圖像快速對PCB上的對象進行二維計量,利用電路板計量測量數據作為檢測電路板缺陷的依據,提高缺陷檢測識別準確率。The purpose of the present invention is to provide a PCB defect detection method, a circuit board metrology measurement method and a manufacturing method, which utilizes the scanning image of the AOI equipment to quickly perform two-dimensional metrology on the object on the PCB, and utilizes the circuit board metrology measurement data as the basis for detecting circuit board defects, thereby improving the accuracy of defect detection and identification.

為達到上述目的,本發明采用的技術方案如下:To achieve the above object, the technical solution adopted by the present invention is as follows:

一種PCB缺陷檢測方法,包括:A PCB defect detection method, comprising:

將待檢測的電路板的PCB設計文檔輸入AOI設備,所述PCB設計文檔包括電路板上各個對象的尺寸設計信息;Inputting the PCB design document of the circuit board to be inspected into the AOI equipment, wherein the PCB design document includes the size design information of each object on the circuit board;

利用AOI設備對待檢測的電路板進行掃描,得到PCB掃描圖像,並獲取所述AOI設備當前設定的像素單元尺寸;Scanning the circuit board to be inspected by the AOI device to obtain a PCB scan image and obtain the pixel unit size currently set by the AOI device;

響應於對至少一個目標對象的檢測請求的觸發信號,確定所述目標對象在所述PCB掃描圖像中在請求計量方向上所占的像素數量;In response to a trigger signal of a detection request for at least one target object, determine the number of pixels occupied by the target object in the PCB scan image in the requested measurement direction;

根據所述AOI設備當前設定的像素單元尺寸和所述目標對象在請求計量方向上所占的像素數量,通過兩者相乘的方式,計算所述目標對象在請求計量方向上的尺寸;According to the pixel unit size currently set by the AOI device and the number of pixels occupied by the target object in the requested measurement direction, the size of the target object in the requested measurement direction is calculated by multiplying the two;

比對所述目標對象在請求計量方向上的尺寸的計算結果與該目標對象在所述PCB設計文檔中的尺寸設計信息,若尺寸差值超出預設的差值閾值,則確定所述電路板的該目標對象存在缺陷。Compare the calculated result of the size of the target object in the requested measurement direction with the size design information of the target object in the PCB design document. If the size difference exceeds a preset difference threshold, it is determined that the target object of the circuit board has a defect.

進一步地,對一目標對象的檢測請求的觸發信號包括:Furthermore, the trigger signal for a detection request for a target object includes:

預先將所述PCB掃描圖像和PCB設計文檔中的對應的PCB設計圖像輸入二維計量軟件中進行顯示;The PCB scanned image and the corresponding PCB design image in the PCB design document are input into the two-dimensional measurement software for display in advance;

將所述PCB掃描圖像與PCB設計圖像進行映射關聯;Mapping and associating the PCB scan image with the PCB design image;

在所述PCB掃描圖像的顯示界面上選擇目標對象,並確定計量方向;並確定在所述PCB設計圖像中與被選擇的目標對象相關聯的映射對象。A target object is selected on the display interface of the PCB scan image, and a measurement direction is determined; and a mapping object associated with the selected target object in the PCB design image is determined.

進一步地,對一目標對象的檢測請求的觸發信號包括:Furthermore, the trigger signal for a detection request for a target object includes:

預先將所述PCB掃描圖像和PCB設計文檔中的對應的PCB設計圖像輸入二維計量軟件中進行顯示;The PCB scanned image and the corresponding PCB design image in the PCB design document are input into the two-dimensional measurement software for display in advance;

將所述PCB掃描圖像與PCB設計圖像進行映射關聯;Mapping and associating the PCB scan image with the PCB design image;

在所述PCB設計圖像的顯示界面上選擇與目標對象映射關聯的映射對象;並確定在所述PCB掃描圖像中與被選擇的映射對象相關聯的目標對象,並確定計量方向。Selecting a mapping object associated with the target object mapping on the display interface of the PCB design image; and determining the target object associated with the selected mapping object in the PCB scan image, and determining the measurement direction.

進一步地,響應於對一劃定區域檢測請求的觸發信號,定位該劃定區域內的全部目標對象及確定其各自的計量方向,確定各個目標對象在所述PCB掃描圖像中在各自的計量方向上所占的像素數量;Further, in response to a trigger signal of a defined area detection request, all target objects in the defined area are located and their respective measurement directions are determined, and the number of pixels occupied by each target object in the respective measurement direction in the PCB scan image is determined;

根據所述當前設定的像素單元尺寸和該劃定區域內的各個目標對象所占的像素數量,計算各個目標對象在請求計量方向上的尺寸。The size of each target object in the requested measurement direction is calculated according to the currently set pixel unit size and the number of pixels occupied by each target object in the defined area.

進一步地,所述目標對象為直線線段或曲線線段,其對應的請求計量方向為線段長度延伸方向或線寬方向;或者,Further, the target object is a straight line segment or a curved line segment, and the corresponding requested measurement direction is the line segment length extension direction or line width direction; or,

所述目標對象為多邊形,其對應的請求計量方向為邊緣邊長方向;或者,The target object is a polygon, and the corresponding requested measurement direction is the edge length direction; or,

所述目標對象為圓形,其對應的請求計量方向為徑向方向。The target object is circular, and the corresponding requested measurement direction is the radial direction.

進一步地,若所述尺寸差值超出預設的差值閾值,則根據所述PCB設計文檔,確定所述目標對象的工藝類型;Further, if the size difference exceeds a preset difference threshold, the process type of the target object is determined according to the PCB design document;

對所確定的工藝類型修正工藝參數,以使修正後的工藝製作得到的電路板的目標對象的計量尺寸與其在PCB設計文檔中的尺寸設計信息之間的尺寸差值縮小。The process parameters are modified for the determined process type so that the size difference between the measured size of the target object of the circuit board manufactured by the modified process and the size design information in the PCB design document is reduced.

進一步地,若待檢測的電路板上焊線的線寬計量尺寸小於相應的尺寸設計信息,則減小蝕刻時間工藝參數;Furthermore, if the measured line width of the bonding wire on the circuit board to be inspected is smaller than the corresponding size design information, the etching time process parameter is reduced;

若待檢測的電路板上焊線的線寬計量尺寸大於相應的尺寸設計信息,則增大蝕刻時間工藝參數。If the measured line width of the bonding wire on the circuit board to be inspected is larger than the corresponding size design information, the etching time process parameter is increased.

進一步地,所述PCB掃描圖像為灰度圖像或彩色圖像。Furthermore, the PCB scan image is a grayscale image or a color image.

進一步地,在AOI設備掃描的過程中,執行對電路板上各個被掃描到的對象在所述PCB掃描圖像中在請求計量方向上所占的像素數量的計數工作,直至掃描完成後,所述電路板上全部對象在所述PCB掃描圖像中在請求計量方向上所占的像素數量和/或全部對象在請求計量方向上的尺寸被獲取。Furthermore, during the scanning process of the AOI device, the number of pixels occupied by each scanned object on the circuit board in the requested measurement direction in the PCB scan image is counted until the scanning is completed, and the number of pixels occupied by all objects on the circuit board in the requested measurement direction in the PCB scan image and/or the size of all objects in the requested measurement direction are obtained.

進一步地,通過以下方式對電路板上各個被掃描到的對象在所述PCB掃描圖像中在請求計量方向上所占的像素數量進行計數:Furthermore, the number of pixels occupied by each scanned object on the circuit board in the PCB scan image in the requested measurement direction is counted in the following manner:

定位該目標對象在其計量方向上的起始端點,計數為1;Locate the starting point of the target object in its measurement direction, with a count of 1;

步進至所述計量方向上的下一個像素塊,若當前像素塊與上一步所在的像素塊的灰度值差異超過預設的灰度閾值,則停止計數及停止步進,否則計數自加1;Step to the next pixel block in the measuring direction. If the grayscale value difference between the current pixel block and the pixel block in the previous step exceeds the preset grayscale threshold, then stop counting and stop stepping. Otherwise, the count is incremented by 1.

重復步進至所述計量方向上的下一個像素塊的步驟,直至當前像素塊與上一步所在的像素塊的灰度值差異超過預設的灰度閾值,再將當前的計數結果作為該目標對象在所述PCB掃描圖像中在其計量方向上所占的像素數量。Repeat the step of stepping to the next pixel block in the measuring direction until the grayscale value difference between the current pixel block and the pixel block in the previous step exceeds the preset grayscale threshold, and then use the current counting result as the number of pixels occupied by the target object in the PCB scan image in its measuring direction.

根據本發明的另一方面,提供了一種印刷電路板2D計量測量方法,包括:According to another aspect of the present invention, a printed circuit board 2D metrology measurement method is provided, comprising:

獲取AOI設備對目標電路板進行掃描所得到的PCB掃描圖像,並獲取所述AOI設備當前設定的像素單元尺寸;Obtaining a PCB scan image obtained by scanning a target circuit board by an AOI device, and obtaining a pixel unit size currently set by the AOI device;

在所述PCB掃描圖像中選擇一個或多個目標對象,確定其計量方向;Select one or more target objects in the PCB scan image and determine the measurement direction thereof;

確定所述目標對象在所述PCB掃描圖像中在各自對應的計量方向上所占的像素數量;Determining the number of pixels occupied by the target object in the PCB scan image in the respective corresponding measurement directions;

根據所述AOI設備當前設定的像素單元尺寸和所述目標對象在請求計量方向上所占的像素數量,通過兩者相乘的方式,計算所述目標對象在其計量方向上的尺寸。According to the pixel unit size currently set for the AOI device and the number of pixels occupied by the target object in the requested measurement direction, the size of the target object in its measurement direction is calculated by multiplying the two.

進一步地,通過以下方式確定一目標對象在所述PCB掃描圖像中在其計量方向上所占的像素數量:Further, the number of pixels occupied by a target object in the PCB scan image in its measurement direction is determined by:

定位該目標對象在其計量方向上的起始端點,計數為1;Locate the starting point of the target object in its measurement direction, with a count of 1;

步進至所述計量方向上的下一個像素塊,若當前像素塊與上一步所在的像素塊的灰度值差異超過預設的灰度閾值,則停止計數及停止步進,否則計數自加1;Step to the next pixel block in the measuring direction. If the grayscale value difference between the current pixel block and the pixel block in the previous step exceeds the preset grayscale threshold, then stop counting and stop stepping. Otherwise, the count is incremented by 1.

重復步進至所述計量方向上的下一個像素塊的步驟,直至當前像素塊與上一步所在的像素塊的灰度值差異超過預設的灰度閾值,再將當前的計數結果作為該目標對象在所述PCB掃描圖像中在其計量方向上所占的像素數量。Repeat the step of stepping to the next pixel block in the measuring direction until the grayscale value difference between the current pixel block and the pixel block in the previous step exceeds the preset grayscale threshold, and then use the current counting result as the number of pixels occupied by the target object in the PCB scan image in its measuring direction.

進一步地,所述印刷電路板2D計量測量方法還包括:Furthermore, the printed circuit board 2D metrology measurement method further comprises:

將所述PCB掃描圖像與所述目標電路板的設計文檔中的PCB設計圖像進行映射關聯;Mapping and associating the PCB scan image with the PCB design image in the design document of the target circuit board;

確定被選擇的目標對象在所述PCB設計圖像中相關聯的映射對象;Determine a mapping object associated with the selected target object in the PCB design image;

確定所述映射對象在所述設計文檔中的尺寸設計信息;Determining the size design information of the mapping object in the design document;

計算所述目標對象在其計量方向上的尺寸的計算結果減去所述映射對象在所述設計文檔中的尺寸設計信息的差值,作為該目標對象的計量測量結果。The difference between the calculated size of the target object in its metrological direction and the size design information of the mapped object in the design document is subtracted to obtain the metrological measurement result of the target object.

根據本發明的再一方面,提供了一種印刷電路板製作方法,包括:According to another aspect of the present invention, there is provided a method for manufacturing a printed circuit board, comprising:

按照電路板的設計文檔設置各種初始工藝參數;Set various initial process parameters according to the design documents of the circuit board;

按照所述初始工藝參數製作得到待驗證的電路板;Producing a circuit board to be verified according to the initial process parameters;

利用如上所述的PCB缺陷檢測方法對該電路板進行檢測;Utilizing the PCB defect detection method as described above to detect the circuit board;

若確定所述電路板不存在缺陷,則按照當前工藝參數批量生產;If it is determined that the circuit board does not have defects, batch production is carried out according to current process parameters;

否則根據所述PCB設計文檔,確定存在缺陷的對象的工藝類型;對所確定的工藝類型修正工藝參數,以使修正後的工藝製作得到的電路板的目標對象的計量尺寸與其在設計文檔中的尺寸設計信息之間的尺寸差值縮小。Otherwise, the process type of the object with defects is determined according to the PCB design document; the process parameters of the determined process type are corrected so that the size difference between the measured size of the target object of the circuit board manufactured by the corrected process and the size design information in the design document is reduced.

本發明提供的技術方案帶來的有益效果如下:The beneficial effects brought by the technical solution provided by the present invention are as follows:

a. 在AOI設備對電路板的掃描圖像上進行電路板的二維計量測量,無需配置額外的比如照相機等工具;a. Perform two-dimensional metrology measurement of circuit boards on the scanned images of the circuit boards by the AOI equipment without the need for additional tools such as cameras;

b. 在AOI設備掃描過程中即可執行目標對象在PCB掃描圖像中在請求計量方向上所占的像素數量的計數,在AOI設備掃描完後能夠快速獲得電路板的二維計量結果數據,不會影響AOI本身的檢測進程,極大地提高了AOI循環的效率;b. During the AOI scanning process, the number of pixels occupied by the target object in the PCB scan image in the requested measurement direction can be counted. After the AOI scanning is completed, the two-dimensional measurement result data of the circuit board can be quickly obtained without affecting the AOI inspection process itself, which greatly improves the efficiency of the AOI cycle;

c. AOI設備的掃描圖像是將線掃相機的拍攝圖像拼接而成,使得相比於相機的有限像素,掃描圖像理論上具有不限數量的測量點。c. The scanned image of the AOI equipment is formed by stitching the images taken by the line scan camera, so that compared with the limited pixels of the camera, the scanned image theoretically has an unlimited number of measurement points.

為了使本技術領域的人員更好地理解本發明方案,下面將結合本發明實施例中的附圖,對本發明實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例僅僅是本發明一部分的實施例,而不是全部的實施例。基於本發明中的實施例,本領域普通技術人員在沒有做出創造性勞動前提下所獲得的所有其他實施例,都應當屬於本發明保護的範圍。In order to enable people in the technical field to better understand the scheme of the present invention, the technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technical personnel in the field without creative labor should belong to the scope of protection of the present invention.

需要說明的是,本發明的說明書和發明申請專利範圍及上述附圖中的術語“第一”、“第二”等是用於區別類似的對象,而不必用於描述特定的順序或先後次序。應該理解這樣使用的數據在適當情況下可以互換,以便這裏描述的本發明的實施例能夠以除了在這裏圖示或描述的那些以外的順序實施。此外,術語“包括”和“具有”以及他們的任何變形,意圖在於覆蓋不排他的包含,例如,包含了一系列步驟或單元的過程、方法、裝置、產品或設備不必限於清楚地列出的那些步驟或單元,而是可包括沒有清楚地列出的或對於這些過程、方法、產品或設備固有的其他步驟或單元。It should be noted that the terms "first", "second", etc. in the specification and scope of the invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, device, product or equipment that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment.

在本發明的一個實施例中,提供了一種PCB缺陷檢測方法,參見圖1,所述缺陷檢測方法包括:In one embodiment of the present invention, a PCB defect detection method is provided, referring to FIG1 , the defect detection method comprises:

將待檢測的電路板的PCB設計文檔輸入AOI設備,所述PCB設計文檔包括電路板上各個對象的尺寸設計信息;Inputting the PCB design document of the circuit board to be inspected into the AOI equipment, wherein the PCB design document includes the size design information of each object on the circuit board;

利用AOI設備對待檢測的電路板進行掃描,得到PCB掃描圖像(可以為灰度圖像或彩色圖像),並獲取所述AOI設備當前設定的像素單元尺寸;Scanning the circuit board to be inspected by the AOI device to obtain a PCB scan image (which can be a grayscale image or a color image), and obtaining the pixel unit size currently set by the AOI device;

響應於對至少一個目標對象的檢測請求的觸發信號,確定所述目標對象在所述PCB掃描圖像中在請求計量方向上所占的像素數量;In response to a trigger signal of a detection request for at least one target object, determine the number of pixels occupied by the target object in the PCB scan image in the requested measurement direction;

根據所述AOI設備當前設定的像素單元尺寸和所述目標對象在請求計量方向上所占的像素數量,通過兩者相乘的方式,計算所述目標對象在請求計量方向上的尺寸;According to the pixel unit size currently set by the AOI device and the number of pixels occupied by the target object in the requested measurement direction, the size of the target object in the requested measurement direction is calculated by multiplying the two;

比對所述目標對象在請求計量方向上的尺寸的計算結果與該目標對象在所述PCB設計文檔中的尺寸設計信息,若尺寸差值超出預設的差值閾值,則確定所述電路板的該目標對象存在缺陷。Compare the calculated result of the size of the target object in the requested measurement direction with the size design information of the target object in the PCB design document. If the size difference exceeds a preset difference threshold, it is determined that the target object of the circuit board has a defect.

本實施例中,預先將所述PCB掃描圖像和PCB設計文檔中的對應的PCB設計圖像輸入二維計量軟件中進行顯示,如圖3所示,圖3中上方為PCB設計圖像,下方為PCB掃描圖像;In this embodiment, the PCB scan image and the corresponding PCB design image in the PCB design document are input into the two-dimensional measurement software for display in advance, as shown in FIG3 , in which the upper part of FIG3 is the PCB design image and the lower part is the PCB scan image;

在二維計量軟件中將所述PCB掃描圖像與PCB設計圖像進行映射關聯,即在PCB掃描圖像中選中某個對象,能夠映射到PCB設計圖像中對應的對象,反之亦可,在PCB設計圖像中選中某個對象,能夠映射到PCB掃描圖像中對應的對象。In the two-dimensional measurement software, the PCB scan image is mapped and associated with the PCB design image, that is, selecting an object in the PCB scan image can be mapped to the corresponding object in the PCB design image, and vice versa, selecting an object in the PCB design image can be mapped to the corresponding object in the PCB scan image.

在本發明的一個實施例中,對一目標對象的檢測請求的觸發信號為:在所述PCB掃描圖像的顯示界面上選擇目標對象,並確定計量方向;並確定在所述PCB設計圖像中與被選擇的目標對象相關聯的映射對象。In one embodiment of the present invention, the trigger signal for a detection request for a target object is: selecting the target object on the display interface of the PCB scan image and determining the measurement direction; and determining the mapping object associated with the selected target object in the PCB design image.

在本發明的另一個實施例中,對一目標對象的檢測請求的觸發信號為:所述PCB設計圖像的顯示界面上選擇與目標對象映射關聯的映射對象;並確定在所述PCB掃描圖像中與被選擇的映射對象相關聯的目標對象,並確定計量方向。In another embodiment of the present invention, the trigger signal for a detection request for a target object is: selecting a mapping object associated with the target object mapping on the display interface of the PCB design image; and determining the target object associated with the selected mapping object in the PCB scan image, and determining the measurement direction.

總之,目標對象可以是PCB掃描圖像中的一個線段、一個圓形區域或者一個多邊形區域等等,比如可以以單擊或多擊或右鍵的方式選中一個目標對象,或通過選中在PCB設計圖像中的映射對象來間接選中PCB掃描圖像中的目標對象。In short, the target object can be a line segment, a circular area or a polygonal area in the PCB scan image, etc. For example, you can select a target object by single clicking, multi-clicking or right clicking, or indirectly select the target object in the PCB scan image by selecting the mapping object in the PCB design image.

不同目標對象可以有不同的計量方向,比如,目標對象為直線線段或曲線線段,則其對應的請求計量方向為線段長度延伸方向或線寬方向;目標對象為多邊形,則其對應的請求計量方向為邊緣邊長方向;目標對象為圓形,則其對應的請求計量方向為徑向方向。Different target objects can have different measurement directions. For example, if the target object is a straight line segment or a curve segment, the corresponding requested measurement direction is the segment length extension direction or the line width direction; if the target object is a polygon, the corresponding requested measurement direction is the edge length direction; if the target object is a circle, the corresponding requested measurement direction is the radial direction.

如圖3所示,被選中的目標對象為直線段,請求計量方向為線寬方向。在圖3中的Measurement的彈窗中可以看出,PCB掃描圖像中2D計量的線寬為3.59 um,對應PCB設計圖像中相關聯的映射對象的尺寸設計信息(Reference)為4.6 um,尺寸差值(Difference)為-1.01 um。比如預設的差值閾值為0.5um,表示在Reference尺寸的±0.5um範圍屬於容差範圍,超出容差範圍,則需要對該目標對象的工藝參數進行修正,以使修正後的工藝製作得到的電路板的目標對象的計量尺寸與其在PCB設計文檔中的尺寸設計信息之間的尺寸差值縮小,比如圖3中,該線段采用蝕刻工藝,若2D計量的線寬小於Reference尺寸,說明蝕刻過度,應當減小蝕刻時間工藝參數;反之若2D計量的線寬大於Reference尺寸,說明蝕刻不到位,應當增大蝕刻時間工藝參數。As shown in Figure 3, the selected target object is a straight line segment, and the requested measurement direction is the line width direction. In the Measurement pop-up window in Figure 3, it can be seen that the line width of the 2D measurement in the PCB scan image is 3.59 um, and the size design information (Reference) of the corresponding mapping object in the PCB design image is 4.6 um, and the size difference (Difference) is -1.01 um. For example, the default difference threshold is 0.5um, which means that the range of ±0.5um of the Reference size is within the tolerance range. If it exceeds the tolerance range, the process parameters of the target object need to be corrected so that the size difference between the measured size of the target object of the circuit board produced by the corrected process and its size design information in the PCB design document is reduced. For example, in Figure 3, the line segment adopts the etching process. If the line width measured by 2D is smaller than the Reference size, it means that the etching is excessive, and the etching time process parameter should be reduced; on the contrary, if the line width measured by 2D is larger than the Reference size, it means that the etching is not in place, and the etching time process parameter should be increased.

在本發明的一個實施例中,還可以批量二維計量多個目標對象,具體步驟為利用比如鼠標的輸入裝置在PCB掃描圖像中劃定區域,同樣地關聯映射到PCB設計圖像中的映射區域,以定位該劃定區域內的全部目標對象及確定其各自的計量方向,確定各個目標對象在所述PCB掃描圖像中在各自的計量方向上所占的像素數量;根據所述當前設定的像素單元尺寸和該劃定區域內的各個目標對象所占的像素數量,計算各個目標對象在請求計量方向上的尺寸。In one embodiment of the present invention, multiple target objects can also be measured in batches in two dimensions. The specific steps are to use an input device such as a mouse to mark an area in the PCB scan image, and similarly associate and map the mapped area in the PCB design image to locate all target objects in the marked area and determine their respective measurement directions, and determine the number of pixels occupied by each target object in the respective measurement direction in the PCB scan image; and calculate the size of each target object in the requested measurement direction based on the currently set pixel unit size and the number of pixels occupied by each target object in the marked area.

也可以在PCB設計圖像中劃定區域,以定位該劃定區域內的全部設計對象,然後關聯映射到PCB掃描圖像中,得到與各個設計對象相關聯映射的目標對象,然後通過上述單一目標對象的計量方法,對多個目標對象進行一一計量,批量地比對與設計(Reference)尺寸,能夠有效提高缺陷檢測效率。It is also possible to define an area in the PCB design image to locate all design objects within the defined area, and then associate and map them to the PCB scan image to obtain target objects associated with each design object. Then, through the above-mentioned single target object measurement method, multiple target objects are measured one by one, and compared with the design (reference) size in batches, which can effectively improve the defect detection efficiency.

更有甚者,在一個特別的實施例中,在AOI設備掃描過程中,自動執行對PCB上各個對象在各個計量方向上的像素數量的計數步驟,這使得在AOI設備完成掃描後,立即可獲取PCB上所有對象(在各自各個計量方向上)的二維計量結果數據。Furthermore, in a particular embodiment, during the scanning process of the AOI device, a counting step of the number of pixels of each object on the PCB in each measuring direction is automatically executed, so that after the AOI device completes the scan, the two-dimensional measurement result data of all objects on the PCB (in each measuring direction) can be immediately obtained.

具體通過以下方式對電路板上各個被掃描到的對象在所述PCB掃描圖像中在請求計量方向上所占的像素數量進行計數:Specifically, the number of pixels occupied by each scanned object on the circuit board in the PCB scan image in the requested measurement direction is counted in the following manner:

定位該目標對象在其計量方向上的起始端點,計數為1;Locate the starting point of the target object in its measurement direction, with a count of 1;

步進至所述計量方向上的下一個像素塊,若當前像素塊與上一步所在的像素塊的灰度值差異超過預設的灰度閾值,則停止計數及停止步進,否則計數自加1;Step to the next pixel block in the measuring direction. If the grayscale value difference between the current pixel block and the pixel block in the previous step exceeds the preset grayscale threshold, then stop counting and stop stepping. Otherwise, the count is incremented by 1.

重復步進至所述計量方向上的下一個像素塊的步驟,直至當前像素塊與上一步所在的像素塊的灰度值差異超過預設的灰度閾值,再將當前的計數結果作為該目標對象在所述PCB掃描圖像中在其計量方向上所占的像素數量。Repeat the step of stepping to the next pixel block in the measuring direction until the grayscale value difference between the current pixel block and the pixel block in the previous step exceeds the preset grayscale threshold, and then use the current counting result as the number of pixels occupied by the target object in the PCB scan image in its measuring direction.

在本發明的一個實施例中,提供了一種印刷電路板2D計量測量方法,如圖2所示,計量測量方法包括:In one embodiment of the present invention, a 2D metrology measurement method for a printed circuit board is provided. As shown in FIG. 2 , the metrology measurement method includes:

獲取AOI設備對目標電路板進行掃描所得到的PCB掃描圖像,並獲取所述AOI設備當前設定的像素單元尺寸;Obtaining a PCB scan image obtained by scanning a target circuit board by an AOI device, and obtaining a pixel unit size currently set by the AOI device;

在所述PCB掃描圖像中選擇一個或多個目標對象,確定其計量方向;Select one or more target objects in the PCB scan image and determine the measurement direction thereof;

確定所述目標對象在所述PCB掃描圖像中在各自對應的計量方向上所占的像素數量;Determining the number of pixels occupied by the target object in the PCB scan image in the respective corresponding measurement directions;

根據所述AOI設備當前設定的像素單元尺寸和所述目標對象在請求計量方向上所占的像素數量,通過兩者相乘的方式,計算所述目標對象在其計量方向上的尺寸。According to the pixel unit size currently set for the AOI device and the number of pixels occupied by the target object in the requested measurement direction, the size of the target object in its measurement direction is calculated by multiplying the two.

本發明的其中一個構思在於,利用AOI的線掃相機對PCB電路板掃描,然後將線掃得到的圖像拼接得到整體PCB掃描圖像,利用AOI設備給定的掃描分辨率,可以換算成單個像素尺寸,或者AOI設備直接給定單個像素尺寸,以直接在PCB掃描圖像中進行二維計量測量,即在計量方向上被目標對象“穿過”的像素的數量,乘以單個像素的邊長,即為目標對象在計量方向上的長度。本實施例中,通過以下方式確定一目標對象在所述PCB掃描圖像中在其計量方向上所占的像素數量:One of the concepts of the present invention is to use an AOI line scan camera to scan a PCB circuit board, and then stitch the images obtained by the line scan to obtain an overall PCB scan image. The scan resolution given by the AOI device can be converted into a single pixel size, or the AOI device directly gives a single pixel size to perform two-dimensional metrology measurement directly in the PCB scan image, that is, the number of pixels "passed through" by the target object in the measurement direction multiplied by the side length of a single pixel is the length of the target object in the measurement direction. In this embodiment, the number of pixels occupied by a target object in the PCB scan image in its measurement direction is determined in the following manner:

定位該目標對象在其計量方向上的起始端點,計數為1;Locate the starting point of the target object in its measurement direction, with a count of 1;

步進至所述計量方向上的下一個像素塊,若當前像素塊與上一步所在的像素塊的灰度值差異超過預設的灰度閾值,則停止計數及停止步進,否則計數自加1;Step to the next pixel block in the measuring direction. If the grayscale value difference between the current pixel block and the pixel block in the previous step exceeds the preset grayscale threshold, then stop counting and stop stepping. Otherwise, the count is incremented by 1.

重復步進至所述計量方向上的下一個像素塊的步驟,直至當前像素塊與上一步所在的像素塊的灰度值差異超過預設的灰度閾值,再將當前的計數結果作為該目標對象在所述PCB掃描圖像中在其計量方向上所占的像素數量。Repeat the step of stepping to the next pixel block in the measuring direction until the grayscale value difference between the current pixel block and the pixel block in the previous step exceeds the preset grayscale threshold, and then use the current counting result as the number of pixels occupied by the target object in the PCB scan image in its measuring direction.

本實施例中印刷電路板2D計量測量方法還包括:In this embodiment, the printed circuit board 2D metrology measurement method further includes:

將所述PCB掃描圖像與所述目標電路板的設計文檔中的PCB設計圖像進行映射關聯;Mapping and associating the PCB scan image with the PCB design image in the design document of the target circuit board;

確定被選擇的目標對象在所述PCB設計圖像中相關聯的映射對象;Determine a mapping object associated with the selected target object in the PCB design image;

確定所述映射對象在所述設計文檔中的尺寸設計信息;Determining the size design information of the mapping object in the design document;

計算所述目標對象在其計量方向上的尺寸的計算結果減去所述映射對象在所述設計文檔中的尺寸設計信息的差值,作為該目標對象的計量測量結果。The difference between the calculated size of the target object in its metrological direction and the size design information of the mapped object in the design document is subtracted to obtain the metrological measurement result of the target object.

本印刷電路板2D計量測量方法實施例與上述PCB缺陷檢測方法實施例為基於相同的發明構思,在此通過結合的方式將印刷電路板2D計量測量方法實施例與PCB缺陷檢測方法實施例相互合並。The printed circuit board 2D metrology measurement method embodiment and the above-mentioned PCB defect detection method embodiment are based on the same invention concept, and the printed circuit board 2D metrology measurement method embodiment and the PCB defect detection method embodiment are combined here.

在本發明的一個實施例中,提供了一種印刷電路板製作方法,如圖4所示,製作方法包括:In one embodiment of the present invention, a method for manufacturing a printed circuit board is provided. As shown in FIG. 4 , the method comprises:

按照電路板的設計文檔設置各種初始工藝參數;Set various initial process parameters according to the design documents of the circuit board;

按照所述初始工藝參數製作得到待驗證的電路板;Producing a circuit board to be verified according to the initial process parameters;

利用如上PCB缺陷檢測方法實施例所述的方法對該電路板進行檢測;Detecting the circuit board using the method described in the above PCB defect detection method embodiment;

若確定所述電路板不存在缺陷,則按照當前工藝參數批量生產;If it is determined that the circuit board does not have defects, batch production is carried out according to current process parameters;

否則根據所述PCB設計文檔,確定存在缺陷的對象的工藝類型;對所確定的工藝類型修正工藝參數,以使修正後的工藝製作得到的電路板的目標對象的計量尺寸與其在設計文檔中的尺寸設計信息之間的尺寸差值縮小。Otherwise, the process type of the object with defects is determined according to the PCB design document; the process parameters of the determined process type are corrected so that the size difference between the measured size of the target object of the circuit board manufactured by the corrected process and the size design information in the design document is reduced.

需要說明的是,在本文中,諸如第一和第二等之類的關系術語僅僅用來將一個實體或者操作與另一個實體或操作區分開來,而不一定要求或者暗示這些實體或操作之間存在任何這種實際的關系或者順序。而且,術語“包括”、“包含”或者其任何其他變體意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、物品或者設備不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過程、方法、物品或者設備所固有的要素。在沒有更多限製的情況下,由語句“包括一個……”限定的要素,並不排除在包括所述要素的過程、方法、物品或者設備中還存在另外的相同要素。It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or apparatus including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or apparatus. In the absence of further restrictions, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or apparatus including the element.

以上所述僅是本申請的具體實施方式,應當指出,對於本技術領域的普通技術人員來說,在不脫離本申請原理的前提下,還可以做出若幹改進和潤飾,這些改進和潤飾也應視為本申請的保護範圍。The above is only the specific implementation method of this application. It should be pointed out that for ordinary technical personnel in this technical field, they can make some improvements and embellishments without departing from the principles of this application. These improvements and embellishments should also be regarded as the protection scope of this application.

without

為了更清楚地說明本申請實施例或現有技術中的技術方案,下面將對實施例或現有技術描述中所需要使用的附圖作簡單地介紹,顯而易見地,下面描述中的附圖僅僅是本申請中記載的一些實施例,對於本領域普通技術人員來講,在不付出創造性勞動的前提下,還可以根據這些附圖獲得其他的附圖。 圖1為本發明的一個示例性實施例提供的基於2D計量的PCB缺陷檢測方法流程示意圖; 圖2為本發明的一個示例性實施例提供的印刷電路板2D計量測量方法示意圖; 圖3為本發明的一個示例性實施例提供的二維計量軟件的計量界面示意圖; 圖4為本發明的一個示例性實施例提供的基於2D計量的印刷電路板製作方法流程示意圖。 In order to more clearly explain the technical solutions in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art description will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. Figure 1 is a schematic diagram of a PCB defect detection method based on 2D metrology provided by an exemplary embodiment of the present invention; Figure 2 is a schematic diagram of a printed circuit board 2D metrology measurement method provided by an exemplary embodiment of the present invention; Figure 3 is a schematic diagram of a metrology interface of a two-dimensional metrology software provided by an exemplary embodiment of the present invention; Figure 4 is a schematic diagram of a printed circuit board manufacturing method based on 2D metrology provided by an exemplary embodiment of the present invention.

Claims (9)

一種PCB缺陷檢測方法,其中,包括:將待檢測的電路板的PCB設計文檔輸入AOI設備,所述PCB設計文檔包括電路板上各個對象的尺寸設計信息;利用AOI設備對待檢測的電路板進行掃描,得到PCB掃描圖像,並獲取所述AOI設備當前設定的像素單元尺寸;響應於對至少一個目標對象的檢測請求的觸發信號,確定所述目標對象在所述PCB掃描圖像中在請求計量方向上所占的像素數量;根據所述AOI設備當前設定的像素單元尺寸和所述目標對象在請求計量方向上所占的像素數量,通過兩者相乘的方式,計算所述目標對象在請求計量方向上的尺寸;比對所述目標對象在請求計量方向上的尺寸的計算結果與該目標對象在所述PCB設計文檔中的尺寸設計信息,若尺寸差值超出預設的差值閾值,則確定所述電路板的該目標對象存在缺陷;並且根據所述PCB設計文檔,確定所述目標對象的工藝類型;對所確定的工藝類型修正工藝參數,以使修正後的工藝製作得到的電路板的目標對象的計量尺寸與其在PCB設計文檔中的尺寸設計信息之間的尺寸差值縮小,包括:若待檢測的電路板上焊線的線寬計量尺寸小於相應的尺寸設計信息,則減小蝕刻時間工藝參數;若待檢測的電路板上焊線的線寬計量尺寸大於相應的尺寸設計信息,則增大蝕刻時間工藝參數。 A PCB defect detection method, comprising: inputting a PCB design document of a circuit board to be detected into an AOI device, wherein the PCB design document includes the size design information of each object on the circuit board; scanning the circuit board to be detected by the AOI device to obtain a PCB scan image, and obtaining the pixel unit size currently set by the AOI device; responding to a trigger signal of a detection request for at least one target object, determining the number of pixels occupied by the target object in the PCB scan image in a requested measurement direction; calculating the size of the target object in the requested measurement direction by multiplying the pixel unit size currently set by the AOI device and the number of pixels occupied by the target object in the requested measurement direction; comparing the pixel unit size currently set by the AOI device and the number of pixels occupied by the target object in the requested measurement direction; and calculating the size of the target object in the requested measurement direction by multiplying the two. If the size difference between the calculated size in the requested measurement direction and the size design information of the target object in the PCB design document exceeds the preset difference threshold, it is determined that the target object of the circuit board has a defect; and the process type of the target object is determined according to the PCB design document; the process parameters are corrected for the determined process type so that the size difference between the measured size of the target object of the circuit board produced by the corrected process and its size design information in the PCB design document is reduced, including: if the measured size of the wire width of the solder wire on the circuit board to be tested is smaller than the corresponding size design information, the etching time process parameter is reduced; if the measured size of the wire width of the solder wire on the circuit board to be tested is larger than the corresponding size design information, the etching time process parameter is increased. 如請求項1所述的PCB缺陷檢測方法,其中,對一目標對象的檢測請求的觸發信號包括: 預先將所述PCB掃描圖像和PCB設計文檔中的對應的PCB設計圖像輸入二維計量軟件中進行顯示;將所述PCB掃描圖像與PCB設計圖像進行映射關聯;在所述PCB掃描圖像的顯示界面上選擇目標對象,並確定計量方向;並確定在所述PCB設計圖像中與被選擇的目標對象相關聯的映射對象。 The PCB defect detection method as described in claim 1, wherein the trigger signal of the detection request for a target object includes: Preliminarily inputting the PCB scan image and the corresponding PCB design image in the PCB design document into the two-dimensional measurement software for display; mapping and associating the PCB scan image with the PCB design image; selecting the target object on the display interface of the PCB scan image and determining the measurement direction; and determining the mapping object associated with the selected target object in the PCB design image. 如請求項1所述的PCB缺陷檢測方法,其中,對一目標對象的檢測請求的觸發信號包括:預先將所述PCB掃描圖像和PCB設計文檔中的對應的PCB設計圖像輸入二維計量軟件中進行顯示;將所述PCB掃描圖像與PCB設計圖像進行映射關聯;在所述PCB設計圖像的顯示界面上選擇與目標對象映射關聯的映射對象;並確定在所述PCB掃描圖像中與被選擇的映射對象相關聯的目標對象,並確定計量方向。 The PCB defect detection method as described in claim 1, wherein the trigger signal of the detection request for a target object includes: inputting the PCB scan image and the corresponding PCB design image in the PCB design document into the two-dimensional measurement software for display in advance; mapping and associating the PCB scan image with the PCB design image; selecting a mapping object associated with the target object mapping on the display interface of the PCB design image; and determining the target object associated with the selected mapping object in the PCB scan image, and determining the measurement direction. 如請求項1所述的PCB缺陷檢測方法,其中,響應於對一劃定區域檢測請求的觸發信號,定位該劃定區域內的全部目標對象及確定其各自的計量方向,確定各個目標對象在所述PCB掃描圖像中在各自的計量方向上所占的像素數量;根據所述當前設定的像素單元尺寸和該劃定區域內的各個目標對象所占的像素數量,計算各個目標對象在請求計量方向上的尺寸。 A PCB defect detection method as described in claim 1, wherein, in response to a trigger signal of a detection request for a defined area, all target objects in the defined area are located and their respective measurement directions are determined, and the number of pixels occupied by each target object in the respective measurement direction in the PCB scan image is determined; and the size of each target object in the requested measurement direction is calculated based on the currently set pixel unit size and the number of pixels occupied by each target object in the defined area. 如請求項1所述的PCB缺陷檢測方法,其中,所述目標對象為直線線段或曲線線段,其對應的請求計量方向為線段長度延伸方向或線寬方向;或者, 所述目標對象為多邊形,其對應的請求計量方向為邊緣邊長方向;或者,所述目標對象為圓形,其對應的請求計量方向為徑向方向。 The PCB defect detection method as described in claim 1, wherein the target object is a straight line segment or a curved line segment, and the corresponding requested measurement direction is the line segment length extension direction or the line width direction; or, the target object is a polygon, and the corresponding requested measurement direction is the edge length direction; or, the target object is a circle, and the corresponding requested measurement direction is the radial direction. 如請求項1所述的PCB缺陷檢測方法,其中,所述PCB掃描圖像為灰度圖像或彩色圖像。 The PCB defect detection method as described in claim 1, wherein the PCB scan image is a grayscale image or a color image. 如請求項1至6中任一項所述的PCB缺陷檢測方法,其中,在AOI設備掃描的過程中,執行對電路板上各個被掃描到的對象在所述PCB掃描圖像中在請求計量方向上所占的像素數量的計數工作,直至掃描完成後,所述電路板上全部對象在所述PCB掃描圖像中在請求計量方向上所占的像素數量和/或全部對象在請求計量方向上的尺寸被獲取。 A PCB defect detection method as described in any one of claim items 1 to 6, wherein, during the scanning process of the AOI device, the number of pixels occupied by each scanned object on the circuit board in the PCB scan image in the requested measurement direction is counted, until the scanning is completed, the number of pixels occupied by all objects on the circuit board in the PCB scan image in the requested measurement direction and/or the size of all objects in the requested measurement direction are obtained. 如請求項7所述的PCB缺陷檢測方法,其中,通過以下方式對電路板上各個被掃描到的對象在所述PCB掃描圖像中在請求計量方向上所占的像素數量進行計數:定位該目標對象在其計量方向上的起始端點,計數為1;步進至所述計量方向上的下一個像素塊,若當前像素塊與上一步所在的像素塊的灰度值差異超過預設的灰度閾值,則停止計數及停止步進,否則計數自加1;重復步進至所述計量方向上的下一個像素塊的步驟,直至當前像素塊與上一步所在的像素塊的灰度值差異超過預設的灰度閾值,再將當前的計數結果作為該目標對象在所述PCB掃描圖像中在其計量方向上所占的像素數量。 A PCB defect detection method as described in claim 7, wherein the number of pixels occupied by each scanned object on the circuit board in the PCB scanned image in the requested measurement direction is counted in the following manner: the starting end point of the target object in its measurement direction is located, and the count is 1; stepping to the next pixel block in the measurement direction, if the grayscale value difference between the current pixel block and the pixel block in the previous step exceeds the preset grayscale threshold, then stop counting and stop stepping, otherwise the count is automatically incremented by 1; repeating the step of stepping to the next pixel block in the measurement direction until the grayscale value difference between the current pixel block and the pixel block in the previous step exceeds the preset grayscale threshold, and then taking the current counting result as the number of pixels occupied by the target object in the PCB scanned image in its measurement direction. 一種印刷電路板製作方法,其中,包括:按照電路板的設計文檔設置各種初始工藝參數; 按照所述初始工藝參數製作得到待驗證的電路板;利用如請求項1至8中任一項所述的PCB缺陷檢測方法對該電路板進行檢測;若確定所述電路板不存在缺陷,則按照當前工藝參數批量生產;否則根據所述電路板的設計文檔,確定存在缺陷的對象的工藝類型;對所確定的工藝類型修正工藝參數,以使修正後的工藝製作得到的電路板的目標對象的計量尺寸與其在設計文檔中的尺寸設計信息之間的尺寸差值縮小。 A method for manufacturing a printed circuit board, comprising: setting various initial process parameters according to a design document of a circuit board; manufacturing a circuit board to be verified according to the initial process parameters; inspecting the circuit board using a PCB defect detection method as described in any one of claims 1 to 8; if it is determined that the circuit board does not have defects, mass production is carried out according to the current process parameters; otherwise, the process type of the object with defects is determined according to the design document of the circuit board; and the process parameters are corrected for the determined process type, so that the difference between the measured size of the target object of the circuit board manufactured by the corrected process and the size design information in the design document is reduced.
TW112109856A 2022-06-20 2023-03-16 Pcb defect detection method, metrological measurement method and manufacture method for circuit board TWI848618B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210696676.3 2022-06-20
CN202210696676.3A CN114782436B (en) 2022-06-20 2022-06-20 PCB defect detection method, circuit board metering measurement method and manufacturing method

Publications (2)

Publication Number Publication Date
TW202400993A TW202400993A (en) 2024-01-01
TWI848618B true TWI848618B (en) 2024-07-11

Family

ID=82420420

Family Applications (1)

Application Number Title Priority Date Filing Date
TW112109856A TWI848618B (en) 2022-06-20 2023-03-16 Pcb defect detection method, metrological measurement method and manufacture method for circuit board

Country Status (2)

Country Link
CN (2) CN116152210A (en)
TW (1) TWI848618B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160336241A1 (en) * 2014-11-19 2016-11-17 Deca Technologies Inc. Automated optical inspection of unit specific patterning
CN106327496A (en) * 2016-08-26 2017-01-11 西安电子科技大学 System and method for detecting defects of blind holes in PCB (Printed Circuit Board) bare board based on AOI (Automated Optical Inspection)
TW202109340A (en) * 2019-07-12 2021-03-01 美商矽睿科技股份有限公司 Methods, systems and computer-readable non-transitory storage medias for printed circuit board design based on automatic corrections
CN114170165A (en) * 2021-11-26 2022-03-11 上海微电子装备(集团)股份有限公司 Chip surface defect detection method and device
CN114581415A (en) * 2022-03-08 2022-06-03 成都数之联科技股份有限公司 Method and device for detecting defects of PCB, computer equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5506793A (en) * 1994-01-14 1996-04-09 Gerber Systems Corporation Method and apparatus for distortion compensation in an automatic optical inspection system
CN105069770A (en) * 2015-09-09 2015-11-18 苏州威盛视信息科技有限公司 AOI image scanning detection processing method
CN106097361B (en) * 2016-06-20 2020-06-19 昆山国显光电有限公司 Defect area detection method and device
CN113406093B (en) * 2021-08-19 2021-11-30 苏州维嘉科技股份有限公司 Optical detection equipment and method and device for measuring object attribute thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160336241A1 (en) * 2014-11-19 2016-11-17 Deca Technologies Inc. Automated optical inspection of unit specific patterning
CN106327496A (en) * 2016-08-26 2017-01-11 西安电子科技大学 System and method for detecting defects of blind holes in PCB (Printed Circuit Board) bare board based on AOI (Automated Optical Inspection)
TW202109340A (en) * 2019-07-12 2021-03-01 美商矽睿科技股份有限公司 Methods, systems and computer-readable non-transitory storage medias for printed circuit board design based on automatic corrections
CN114170165A (en) * 2021-11-26 2022-03-11 上海微电子装备(集团)股份有限公司 Chip surface defect detection method and device
CN114581415A (en) * 2022-03-08 2022-06-03 成都数之联科技股份有限公司 Method and device for detecting defects of PCB, computer equipment and storage medium

Also Published As

Publication number Publication date
CN114782436B (en) 2023-03-24
CN114782436A (en) 2022-07-22
CN116152210A (en) 2023-05-23
TW202400993A (en) 2024-01-01

Similar Documents

Publication Publication Date Title
US10542651B2 (en) Inspection apparatus and quality control system for surface mounting line
CN109544533B (en) Metal plate defect detection and measurement method based on deep learning
CN106651857B (en) A kind of printed circuit board patch defect inspection method
CN106949848A (en) A kind of high-precision laser 3D profiles phone structural detection method
WO2024021063A1 (en) Method and device for detecting stability of vision system
CN107945184A (en) A kind of mount components detection method positioned based on color images and gradient projection
CN113340909A (en) Glue line defect detection method based on machine vision
TW201930908A (en) Board defect filtering method and device thereof and computer-readabel recording medium
CN111192246B (en) Automatic detection method for welding spots
CN113077416A (en) Welding spot welding defect detection method and system based on image processing
CN114022436A (en) Detection method, device and detection equipment for printed circuit board
CN115375610A (en) Detection method and device, detection equipment and storage medium
CN113469991B (en) Visual online detection method for laser welding spot of lithium battery tab
CN105136818B (en) The image detection method of printed base plate
TWI848618B (en) Pcb defect detection method, metrological measurement method and manufacture method for circuit board
CN117346652A (en) Device and method for detecting size of reinforced concrete unit element in real time based on machine vision
CN109712115B (en) Automatic PCB detection method and system
TW200835563A (en) Optical system to detect the shape, holes, and edge crack of steel belt
TW201522949A (en) Inspection method for image data
CN109238165B (en) 3C product profile tolerance detection method
TW202100991A (en) Appearance inspection management system, appearance inspection management device, appearance inspection management method and program which can support a user to select a feature amount used as a defect determination index in an appearance inspection device and set a threshold value for each feature amount
CN114264243B (en) Method for detecting crimping welding spots and measuring wire arc height between crimping welding spots
JPH0791932A (en) Visual inspection of soldered state
JP3111434B2 (en) Image processing device
JPH0739997B2 (en) Appearance inspection method for soldered parts