CN102183206B - Line width measuring method for line on printed circuit board (PCB) - Google Patents
Line width measuring method for line on printed circuit board (PCB) Download PDFInfo
- Publication number
- CN102183206B CN102183206B CN 201110063138 CN201110063138A CN102183206B CN 102183206 B CN102183206 B CN 102183206B CN 201110063138 CN201110063138 CN 201110063138 CN 201110063138 A CN201110063138 A CN 201110063138A CN 102183206 B CN102183206 B CN 102183206B
- Authority
- CN
- China
- Prior art keywords
- line
- measured
- pcb
- pcb board
- pixel
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Abstract
The invention discloses a line width measuring method for a line on a printed circuit board (PCB). The method comprises the following steps of: (1) determining direction of a line to be measured on the PCB to be measured and determining a movable region of a pixel wide template on the PCB to be measured; (2) translating the pixel wide template based on a step h in the direction perpendicular to the line to be measured, and calculating an edge detection function every time the pixel wide template moves a step h to obtain four maximum peak values, wherein A and B are two adjacent regions on the line to be measured; gray values of the regions A and B are shown in the specification; nA and nB are numbers of pixels at the regions A and B; SA and SB are gray variances of the regions A and B; and e is a normal number; (3) finding positions corresponding to four maximum peak values from an original drawing corresponding to the PCB to be measured so as to obtain an upper line and a lower line for line width of the line to be measured, wherein vertical distance between the upper line and the lower line is the line width. By the method, the size of the line width of the line on the PCB is automatically and precisely measured, and the measuring accuracy is high.
Description
Technical field
The present invention relates to the circuit on a kind of pcb board, specifically the measuring method of the live width of circuit on a kind of pcb board.
Background technology
In the pcb board production run, it mainly is for the live width of operation circuit size that the live width of circuit disposed thereon is measured, and meets the electrical specification requirement to guarantee line impedance.
Along with the development of technology, the circuit on the pcb board is more and more thinner, and dense degree is more and more higher, and live width/line-spacing is by having dropped to below the 4 mil mil/4 mil mil more than the former 5 mil mil/5 mil mil.PCB manufacturing enterprise measures such as hundred times of mirrors by traditional manual detection method, and personal error is larger, can not satisfy client's precision and efficient requirement.Thereby occurred being used for the wire width measuring instrument that wiring board detects, this system carries out analyzing and processing by picture or the video of collected by camera target, obtains the actual information of detected target, have accurately, at a high speed, the characteristics of good reproducibility.Existing wire width measuring instrument system mainly obtains up and down line position information of live width by the cutting apart of image, edge extracting in conjunction with methods such as eye recognitions, and its precision generally can reach 1 pixel under fixed multiplying power, can reach 0.5 pixel by processing.All improved much although compare precision and efficient with the manual detection method, for some clients, still can not meet the demands.
Summary of the invention
The technical problem to be solved in the present invention provides the line width measuring method of circuit on a kind of pcb board, and measuring accuracy is high.
In order to solve the problems of the technologies described above, the present invention takes following technical scheme:
The line width measuring method of circuit on a kind of pcb board may further comprise the steps:
(1) determine test line direction on the pcb board to be measured, and the moving area of the wide template of definite pixel on pcb board to be measured;
(2) make the wide template of pixel along with the perpendicular direction of test line with step-length h translation, step-length h of every movement is the edge calculation detection function:
Wherein, A, B are two adjacent areas on the test line,
Be the gray-scale value in A, B zone, n
A, n
BBe the number of pixels in A, B zone, s
A, s
BBe the gray variance in A, B zone, e is a normal number;
(3) find four positions that peak-peak is corresponding in former figure corresponding to pcb board to be measured, draw reaching the standard grade and rolling off the production line of test line live width, the vertical range between reaching the standard grade and rolling off the production line namely is live width.
Described step (1) is to the original image of pcb board to be measured carries out image segmentation, obtains the circuit edge, test line direction and the wide template of pixel are obtained in edge screening and Hough hough conversion moving area.
Step-length h in the described step (2) is 0.1~1.2 pixel.
Measuring accuracy of the present invention is high, and measuring accuracy can reach 0.1 pixel under fixed multiplying power, only can reach 0.5 pixel and compares with existing, greatly improved precision, and the duplicate measurements precision can satisfy each level client's requirement in 1 pixel.
Description of drawings
The numerical value synoptic diagram that accompanying drawing 1 produces for the wide template translation of pixel back edge detection function among the present invention; Accompanying drawing 2 for the peak value that screens in the accompanying drawing 1 in the circuit original image, depict with tested line parallel after the synoptic diagram of line; Accompanying drawing 3 is the cross sectional representation of circuit in the accompanying drawing 2.
Embodiment
For the ease of those skilled in the art's understanding, the invention will be further described below in conjunction with drawings and Examples.
The present invention has disclosed the line width measuring method of circuit on a kind of pcb board, may further comprise the steps: (1) determines the test line direction on the pcb board to be measured, and the moving area of the wide template of definite pixel on pcb board to be measured; (2) make the wide template of pixel along with the perpendicular direction of test line with step-length h translation, step-length h of every movement is the edge calculation detection function:
Wherein, A, B are two adjacent areas on the test line,
Be the gray-scale value in A, B zone, n
A, n
BBe the number of pixels in A, B zone, s
A, s
BBe the gray variance in A, B zone, e is a normal number, and this constant is used for adjusting the sensitivity of functional value; (3) find four positions that peak-peak is corresponding in former figure corresponding to pcb board to be measured, draw reaching the standard grade and rolling off the production line of test line live width, the vertical range between reaching the standard grade and rolling off the production line namely is live width.Obtain the direction of test line in step (1), by the moving area that the original image to pcb board to be measured carries out image segmentation, obtains the circuit edge, test line direction and the wide template of pixel are obtained in edge screening and Hough hough conversion.In order to obtain comparatively accurate data, the step-length h that adopts during the wide template of translation pixel is 0.1~1.2 pixel.
Shown in accompanying drawing 1,2, during concrete the measurement, the wide template of pixel is being carried out translation take 1 pixel as step-length with the perpendicular line segment of test line direction, step-length of every translation is namely calculated by edge indicator function, until move to the edge of circuit, from the data that obtain, choose the peak value of four maximums.In order to obtain more accurate peak value, at the peak value place of four maximums that obtain, again take step-length as the wide template of 0.1 pixel translation pixel, near the wide template of translation pixel each peak value, further peak-peak is chosen in refinement, and then obtains more accurate four peak-peaks.In the corresponding original image of pcb board, find out four corresponding particular locations of peak-peak, the line that each peak value place does and circuit balances each other then obtains four lines, and the vertical range J between two inner lines is upper live width, article two, the vertical range K between outermost line is lower live width, as shown in Figure 3, be the cross-sectional view of accompanying drawing 2, be similar to trapezoidal, upper live width J is this trapezoidal upper base, and lower live width K is this trapezoidal going to the bottom.The measuring method that adopts the present invention to disclose, measuring accuracy is high, measuring accuracy can reach 0.1 pixel under fixed multiplying power, and existing measuring system measuring accuracy under fixed multiplying power can only reach 1 pixel, and the precision of method duplicate measurements of the present invention can be controlled in 1 pixel, according to client's different requirements, measure accordingly, can satisfy each level client's accuracy requirement.
The wide template of pixel can adopt the template that 6 pixels are wide or 4 pixels are wide.In addition, hough is transformed to existing technology, itself is not innovation of the present invention place, it is not done detailed giving unnecessary details at this.
Claims (2)
1. the line width measuring method of circuit on the pcb board may further comprise the steps:
(1) determines test line direction on the pcb board to be measured, to the moving area that the original image on this pcb board to be measured carries out image segmentation, obtains the circuit edge, test line direction and the wide template of pixel are obtained in edge screening and Hough hough conversion;
(2) make the wide template of pixel along with the perpendicular direction of test line with step-length h translation, step-length h of every movement is the edge calculation detection function:
Wherein, A, B are two adjacent areas on the test line,
Be the gray-scale value in A, B zone, n
A, n
BBe the number of pixels in A, B zone, s
A, s
BBe the gray variance in A, B zone, e is a normal number;
(3) find four positions that peak-peak is corresponding in former figure corresponding to pcb board to be measured, draw reaching the standard grade and rolling off the production line of test line live width, the vertical range between reaching the standard grade and rolling off the production line namely is live width.
2. the line width measuring method of circuit on the pcb board according to claim 1, it is characterized in that: the step-length h in the described step (2) is 0.1~1.2 pixel.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110063138 CN102183206B (en) | 2011-03-16 | 2011-03-16 | Line width measuring method for line on printed circuit board (PCB) |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110063138 CN102183206B (en) | 2011-03-16 | 2011-03-16 | Line width measuring method for line on printed circuit board (PCB) |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102183206A CN102183206A (en) | 2011-09-14 |
CN102183206B true CN102183206B (en) | 2013-02-13 |
Family
ID=44569455
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201110063138 Active CN102183206B (en) | 2011-03-16 | 2011-03-16 | Line width measuring method for line on printed circuit board (PCB) |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102183206B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103234477B (en) * | 2013-04-03 | 2015-06-10 | 北京印刷学院 | Method for detecting and representing morphology features of print of metal conducting wires on transparent base materials |
CN106017328B (en) * | 2015-12-17 | 2019-03-05 | 广东正业科技股份有限公司 | A kind of polymorphic type line width measuring method and device |
CN106228543A (en) * | 2016-07-13 | 2016-12-14 | 凌云光技术集团有限责任公司 | The method and device that the live width of wire in PCB image and line-spacing are detected |
CN106250645A (en) * | 2016-08-09 | 2016-12-21 | 浪潮集团有限公司 | A kind of method detecting power supply live width |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0820214B2 (en) * | 1990-11-27 | 1996-03-04 | 大日本スクリーン製造株式会社 | Printed circuit board line width inspection method |
JP2000009447A (en) * | 1998-06-25 | 2000-01-14 | Nippon Inter Connection Systems Kk | Apparatus and method for detecting fault of tape carrier |
CN1306244C (en) * | 2005-06-16 | 2007-03-21 | 姚晓栋 | On-the-spot printing circuit board test based on digital image |
JP4702953B2 (en) * | 2006-06-01 | 2011-06-15 | 大日本スクリーン製造株式会社 | Unevenness inspection method, unevenness inspection apparatus, and program |
CN101303226A (en) * | 2008-06-25 | 2008-11-12 | 南昌航空大学 | Method for measuring circuit board line width based on largest communication domain |
-
2011
- 2011-03-16 CN CN 201110063138 patent/CN102183206B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN102183206A (en) | 2011-09-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109115800B (en) | Method for rapidly detecting burrs of product and accurately measuring length | |
CN102032875B (en) | Image-processing-based cable sheath thickness measuring method | |
CN104236498B (en) | Method for measuring end size of switch rail | |
CN107462587B (en) | Precise visual inspection system and method for concave-convex mark defects of flexible IC substrate | |
CN109489566A (en) | Lithium battery diaphragm material cuts checking method for width, detection system and device | |
CN102183206B (en) | Line width measuring method for line on printed circuit board (PCB) | |
CN101303226A (en) | Method for measuring circuit board line width based on largest communication domain | |
CN101949689A (en) | Optical coherence tomography system correction method | |
CN103149087B (en) | Follow-up window and digital image-based non-contact real-time strain measurement method | |
CN111896549A (en) | Building crack monitoring system and method based on machine learning | |
CN111322950B (en) | Method for positioning cylinder position by line structured light sensor and its use | |
CN111750801A (en) | Offline non-contact steel plate type evaluation method and measurement platform | |
CN111582270A (en) | Identification tracking method based on high-precision bridge region visual target feature points | |
CN107797517B (en) | Method and system for realizing steel belt punching processing detection by adopting machine vision | |
CN108759676A (en) | Based on tessellated transmission case end face large scale geometric tolerance detection device and method | |
CN112950562A (en) | Fastener detection algorithm based on line structured light | |
CN112284983A (en) | Method for measuring contact angle by image processing | |
CN104406537A (en) | Method for measuring micron-order depths of pits of component | |
CN110579184A (en) | Product appearance online detection device and use method thereof | |
CN113269749B (en) | Strip position image data collection method and visual detection method thereof | |
CN101266135B (en) | Circuit board etching edge detection and etching factor measurement method | |
CN115641326A (en) | Sub-pixel size detection method and system for ceramic antenna PIN needle image | |
CN109444150A (en) | Contactless crackle measurement method and its device | |
CN114494240A (en) | Ballastless track slab crack measurement method based on multi-scale cooperation deep learning | |
CN109360289B (en) | Power meter detection method fusing inspection robot positioning information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: 215312 No. 92 Chenjiabang Road, Penglang, Kunshan Development Zone, Suzhou City, Jiangsu Province Patentee after: Jiangsu Zhengye made Technology Co. Ltd. Address before: 215312 No. 92 Chenjiabang Road, Penglang, Kunshan Development Zone, Suzhou City, Jiangsu Province Patentee before: Kunshan Zhengye Electronic Co., Ltd. |
|
CP01 | Change in the name or title of a patent holder |