CN109829911A - A kind of pcb board surface inspecting method based on the overproof algorithm of profile - Google Patents
A kind of pcb board surface inspecting method based on the overproof algorithm of profile Download PDFInfo
- Publication number
- CN109829911A CN109829911A CN201910107780.2A CN201910107780A CN109829911A CN 109829911 A CN109829911 A CN 109829911A CN 201910107780 A CN201910107780 A CN 201910107780A CN 109829911 A CN109829911 A CN 109829911A
- Authority
- CN
- China
- Prior art keywords
- point
- profile
- small
- defect
- normal
- 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.)
- Granted
Links
Landscapes
- Image Analysis (AREA)
- Image Processing (AREA)
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
Abstract
The present invention provides a kind of pcb board surface inspecting methods based on the overproof algorithm of profile, PCB bare board Prototype drawing is obtained first, then acquired image is handled to obtain test chart, secondly template matching is carried out in place to test chart and Prototype drawing, the defect in test chart is finally found using the overproof algorithm idea of profile;The defect on pcb board can be looked on 360 degree of directions of pcb board copper face profile using the overproof method of this profile, and the not limitation of chamfered shape;And the almost all of pcb board defect such as open circuit, short circuit, breakage, copper face scuffing, copper ashes on pcb board can be found;This method looks for the method for pcb board defect more accurate than traditional method scheduling algorithm combined using image opening and closing operation, and applicable surface is wider, can find out defect type on nearly all pcb board.It will not leak and look for, accidentally look for defect.
Description
Technical field
The present invention relates to field of image processings, and in particular to a kind of pcb board Surface testing side based on the overproof algorithm of profile
Method.
Background technique
In the defects detection of the route of the pcb board based on machine vision, mainly takes calculated with behind interception area at present
Connected domain number and area carry out short circuit, and open circuit is damaged, the defect recognition of copper ashes.Not only time-consuming and laborious in this way but also precision is low, it is adopting
Other interference during the image of collection caused by the factors such as mechanical shaking polishing in plan area, connected domain number and face
Product changes, and be easy to cause erroneous detection.
Most detection PCB line defcts are sentenced using the method for the number for calculating connected region in the region of interception at present
Disconnected defect part is short circuit or open circuit, judges copper ashes and damage zone using corresponding position conductive region size is compared
Domain.First interception area size selection actual production detection in can not be accurately held, when detecting between limited feelings
Under condition, there can not be sufficient time accurate interception area, in zoning when number, since line edges gray scale is gradual change
, there can be the total number of tiny area influence area after binarization threshold, and then influence the judgement of defect.
Summary of the invention
In view of the deficiencies of the prior art, the present invention provides a kind of pcb board surface inspecting method based on the overproof algorithm of profile,
To solve technical problem described in background technology.
To achieve the above object, the present invention adopts the following technical scheme:
A kind of pcb board surface inspecting method based on the overproof algorithm of profile, which is characterized in that comprising the following specific steps
S1 obtains PCB bare board Prototype drawing, is cut into the small image of the identical specific dimensions of several sizes, divided
The object that standard picture preferentially be used to be matched;
Acquired image is handled i.e. denoising by S2, the algorithm of automatic threshold segmentation divides bare board copper face to accurate
It cuts out, then binary image, that is, line conductor area gray value is 255, and the gray value of background area is 0, obtains binary map i.e.
Test chart is cut into the small image of test that the identical specific dimensions of several sizes arrive, and the small image of the test being cut into is used for priority match
Prototype drawing;
S3 uses the matched method of shape template to test small image and go to match the corresponding small figure of standard as template and aligns;
Obtained test image and corresponding standard picture are sought edge sub-pixel edge respectively, and seek sub- picture by S4
The ranks coordinate at plain edge, then seeks the normal direction of each coordinate points in edge with specific method;
S5 seeks the edge contour for testing small figure and the small figure of corresponding standard, the standard that will have been aligned in step S3 respectively
Small figure and the corresponding small figure of test are placed under same image coordinate system, with the overproof algorithm of profile i.e. preferentially in test map contour coordinate points
Normal direction on corresponding step-length number to the interior profile point for going for standard drawing.
Further, the specific steps in the step S4 include:
S401 will be obtained testing small image and the small image of corresponding standard sought edge sub-pixel edge respectively, and seeks
The ranks coordinate of sub-pixel edge is stored in array in order by the ranks coordinate sought in the way of migration profile, row
Coordinate and column coordinate, which should correspond to, to be stored in different arrays;
S402, the ranks coordinate that the profile ranks coordinate required by step 4.1 will be acquired in the way of migration profile
Number, such as 1,2,3,4......n, have been connected with the profile coordinate points of number 3 with straight line according to by the profile coordinate points of number 1
Come, number 4 and number 6 are connected with straight line, and connection is gone down in this manner, if finally there are remaining coordinate points, no
By remaining how many be all that n-th of coordinate points is connected with straight line with the n-th -2 coordinate points, and seek being connected this
The slope of a little line segments, and then seek these line segment normal angles;The range of normal angles is [- π, π], by obtained normal angle
Degree is numbered in order according to as the direction for seeking ranks coordinate migration profile;Such as 3,6,9.......3m, n;
S403 answers normal angles striked in step 402 according to the sequence and corresponding profile point coordinate pair of number
Get up, the normal angles as numbered the profile point for being 1,2,3 are the normal angles that normal angles number is No. 3, number 4,5,6
Profile point normal angles be normal angles number be No. 6 normal angles, successively go in this way;Each profile coordinate
Point has the normal angles corresponding to oneself.
Further, the specific steps in the step S5 include:
S501 seeks the edge contour for testing small figure and the small figure of corresponding standard, the mark that will have been aligned in step S3 respectively
Quasi- small figure and the corresponding small figure of test are placed under same image coordinate system;
S502, according to the profile point and corresponding normal angles for preferentially seeking testing small figure in step S402 according to test
The sequence of small map contour migration seek profile point number be 1 coordinate point forward normal direction step-length be 0 coordinate points coordinate and this
Gray value in a coordinate points looks for the gray value of 8 neighborhoods of this coordinate points if gray scale is 0;If in this coordinate points
Gray value be 255, then have found the profile point on the small figure of template and find out their distance D0, if distance D0 be less than regulation
Normal distance value Dmix when, then this profile point tested on small figure is not defect point;If the coordinate that profile point number is 1
The gray value of 8 neighborhoods of the coordinate points that point forward normal direction step-length is 0 is all 0, then continues to find toward in next step-length;If surveyed
Try 8 neighborhoods of the coordinate points that coordinate point forward normal direction step-length that small map contour point number is 1 is 0 gray value it is promising 255 when, say
Then the bright profile point for having found the small figure of the template aligned finds out the coordinate points and test for testing that small map contour point number is 1
The gray value of 8 neighborhoods of the coordinate points that the coordinate point forward normal direction step-length that small map contour point number is 1 is 0 be 255 coordinates away from
From D1, D2......;If their minimum range is greater than defined normal distance value Dmix, then this on small figure is tested
A profile point is defect point, otherwise is not defect point;If the profile point i.e. gray value for having found the small figure of corresponding templates is 255
Point does not just continually look in the step-length of normal direction;It is then continually looked in the step-length of normal direction conversely, not finding defect point;
S503, if there are no find on pixel and its within 8 neighborhoods within the step-length number of defined positive normal direction
It is anti-that the coordinate points that gray value is 255 then number the coordinate points for being 1 in the small map contour point of test according to the method and step of step S502
The profile point that Prototype drawing is found within to normal direction step-length number, no longer finds in normal direction, such as if the profile point for finding Prototype drawing
Their distance of fruit is greater than defined distance, then this profile point tested on small figure is defect point;If defined reversed
Small figure is then tested there are no the coordinate points that find gray value be 255 on pixel and its within 8 neighborhoods within the step-length number of normal direction
On this profile point be defect point;
S504 is looked for according to the method and step of step S502 and step S503 along the direction for testing small map contour migration
Profile point number is the profile point on the outlines points such as 2,3,4.......n on the small image of template of normal orientation, if corresponding
When testing the distance of small image outline point and the small image outline point of template greater than defined normal distance value Dmix, then small figure is tested
On this profile point be defect point, otherwise not be defect point;If all do not had in the test positive and negative normal direction of small image outline point
Find the small image outline point of point i.e. template that pixel value is 255;At this point, testing small image outline point (sub-pixel) also is defect
Point;
S505 looks for profile point if the pixel value for testing small image is all 0 or 255 in normal direction in turn
It is walked i.e. in the normal direction in the profile point of the small image of template according to the method for step S502 and step S503 and step S504
The profile point of the corresponding small image of test is looked under rapid and then finds the defect point tested on small image;
S506, bare board or big defect if it is big copper face find defect point in normal orientation along profile dot interlace;If it is
The bare board of small copper face or small defect then find defect point in normal orientation point by point along profile;
S507, if looking on pcb board if the big defect of copper face the defined normal distance value in the normal orientation of profile point
Dmix wants setting appropriate larger, and normal direction step-length number is also appropriate to want larger;It is on the contrary then opposite.
Further, if having found test in the defined step-length number of the normal orientation for the profile point for testing small image
Profile point on small image and distance is greater than type of the defined maximum Dmax apart from the defect point then looked for and is between them
The defects of copper face is damaged, and copper face welds more, copper ashes;If on the both forward and reverse directions of the normal orientation for the profile point for testing small image
The type for the defect point that the profile point on the small image of template is then looked for all is not had found in defined step-length number and its in 8 neighborhoods
For copper face open circuit;In defined step-length number on the both forward and reverse directions in the normal direction in the profile point of the small image of template and its
The type that the defect point that the profile point tested on small image is then looked for all is not had found in 8 neighborhoods is the defects of copper face is short-circuit.
A kind of beneficial effect of pcb board surface inspecting method based on the overproof algorithm of profile provided by the invention is:
(1) present invention is according to the PCB image of acquisition, and on the basis of consideration machine error, optical aberrations etc., automatic aligning is pre-
The pcb board image and standard form image of processing obtain short circuit, open circuit, damaged, copper with the overproof algorithm operation of profile in turn
The defects of slag;
(2) defect on pcb board can be looked on 360 degree of directions of pcb board copper face profile using the overproof algorithm of this profile,
And the not limitation of chamfered shape, and open circuit, short circuit, breakage, copper face scuffing, copper ashes etc. can be found on pcb board almost
All pcb board defects;Moreover, the not limitation of defect size;This method is combined than traditional using image opening and closing operation
Method scheduling algorithm look for the method for pcb board defect more accurate, the precision for finding defect has reached pixel scale, and applicable surface is more
Extensively, defect type on nearly all pcb board can be found out.
Detailed description of the invention
Fig. 1 is flow diagram of the present invention;
Fig. 2 is the template image of Gerber file generated of the present invention;
Fig. 3 is the present invention in the display normal direction tested on small image;
Fig. 4 is the present invention in the defect point found tested on small image.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Whole description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Ability
Domain ordinary person every other embodiment obtained without making creative work, belongs to protection of the invention
Range.
A kind of embodiment: pcb board surface inspecting method based on the overproof algorithm of profile.
Pcb file is converted Gerber file by S1, then, is gone out Gerber document analysis using GerbMagic software
To be converted into BMP format-pattern;In this way, the bianry image i.e. standard picture of pcb bare board standard circuit has just been obtained, then by it
It is cut into the small image of the identical specific dimensions of several sizes, divided standard picture is preferentially used to the object being matched;
Acquired image is handled i.e. denoising by S2, the algorithm of automatic threshold segmentation divides bare board copper face to accurate
It cuts out, then binary image, that is, line conductor area gray value is 255, and the gray value of background area is 0, obtains binary map i.e.
Test chart is cut into the small image of test that the identical specific dimensions of several sizes arrive, and the small image of the test being cut into is used for priority match
Prototype drawing;
S3 uses the matched method of shape template to test small image and go to match the corresponding small figure of standard as template and aligns;
Obtained test image and corresponding standard picture are sought edge sub-pixel edge respectively, and seek sub- picture by S4
The ranks coordinate at plain edge, then seeks the normal direction of each coordinate points in edge with specific method;
S5 seeks the edge contour for testing small figure and the small figure of corresponding standard, the standard that will have been aligned in step S3 respectively
Small figure and the corresponding small figure of test are placed under same image coordinate system, with the overproof algorithm of profile i.e. preferentially in test map contour coordinate points
Normal direction on corresponding step-length number to the interior profile point for going for standard drawing.
Further, the specific steps in the step S4 include:
S401 will be obtained testing small image and the small image of corresponding standard sought edge sub-pixel edge respectively, and seeks
The ranks coordinate of sub-pixel edge is stored in array in order by the ranks coordinate sought in the way of migration profile, row
Coordinate and column coordinate, which should correspond to, to be stored in different arrays;
S402, the ranks coordinate that the profile ranks coordinate required by step 4.1 will be acquired in the way of migration profile
Number, such as 1,2,3,4......n, have been connected with the profile coordinate points of number 3 with straight line according to by the profile coordinate points of number 1
Come, number 4 and number 6 are connected with straight line, and connection is gone down in this manner, if finally there are remaining coordinate points, no
By remaining how many be all that n-th of coordinate points is connected with straight line with the n-th -2 coordinate points, and seek being connected this
The slope of a little line segments, and then seek these line segment normal angles;The range of normal angles is [- π, π], by obtained normal angle
Degree is numbered in order according to as the direction for seeking ranks coordinate migration profile;Such as 3,6,9.......3m, n;
S403 answers normal angles striked in step 402 according to the sequence and corresponding profile point coordinate pair of number
Get up, the normal angles as numbered the profile point for being 1,2,3 are the normal angles that normal angles number is No. 3, number 4,5,6
Profile point normal angles be normal angles number be No. 6 normal angles, successively go in this way;Each profile coordinate
Point has the normal angles corresponding to oneself.
Further, the specific steps in the step S5 include:
S501 seeks the edge contour for testing small figure and the small figure of corresponding standard, the mark that will have been aligned in step S3 respectively
Quasi- small figure and the corresponding small figure of test are placed under same image coordinate system;
S502, according to the profile point and corresponding normal angles for preferentially seeking testing small figure in step S402 according to test
The sequence of small map contour migration seek profile point number be 1 coordinate point forward normal direction step-length be 0 coordinate points coordinate and this
Gray value in a coordinate points looks for the gray value of 8 neighborhoods of this coordinate points if gray scale is 0;If in this coordinate points
Gray value be 255, then have found the profile point on the small figure of template and find out their distance D0, if distance D0 be less than regulation
Normal distance value Dmix when, then this profile point tested on small figure is not defect point;If the coordinate that profile point number is 1
The gray value of 8 neighborhoods of the coordinate points that point forward normal direction step-length is 0 is all 0, then continues to find toward in next step-length;If surveyed
Try 8 neighborhoods of the coordinate points that coordinate point forward normal direction step-length that small map contour point number is 1 is 0 gray value it is promising 255 when, say
Then the bright profile point for having found the small figure of the template aligned finds out the coordinate points and test for testing that small map contour point number is 1
The gray value of 8 neighborhoods of the coordinate points that the coordinate point forward normal direction step-length that small map contour point number is 1 is 0 be 255 coordinates away from
From D1, D2......;If their minimum range is greater than defined normal distance value Dmix, then this on small figure is tested
A profile point is defect point, otherwise is not defect point;If the profile point i.e. gray value for having found the small figure of corresponding templates is 255
Point does not just continually look in the step-length of normal direction;It is then continually looked in the step-length of normal direction conversely, not finding defect point;
S503, if there are no find on pixel and its within 8 neighborhoods within the step-length number of defined positive normal direction
It is anti-that the coordinate points that gray value is 255 then number the coordinate points for being 1 in the small map contour point of test according to the method and step of step S502
The profile point that Prototype drawing is found within to normal direction step-length number, no longer finds in normal direction, such as if the profile point for finding Prototype drawing
Their distance of fruit is greater than defined distance, then this profile point tested on small figure is defect point;If defined reversed
Small figure is then tested there are no the coordinate points that find gray value be 255 on pixel and its within 8 neighborhoods within the step-length number of normal direction
On this profile point be defect point;
S504 is looked for according to the method and step of step S502 and step S503 along the direction for testing small map contour migration
Profile point number is the outline point on the outlines points such as 2,3,4.......n on the small image of template of normal orientation, if corresponding
When testing the distance of small image outline point and the small image outline point of template greater than defined normal distance value Dmix, then small figure is tested
On this profile point be defect point, otherwise not be defect point;If all do not had in the test positive and negative normal direction of small image outline point
Find the small image outline point of point i.e. template that pixel value is 255;At this point, testing small image outline point (sub-pixel) also is defect
Point;
S505 looks for profile point if the pixel value for testing small image is all 0 or 255 in normal direction in turn
It is walked i.e. in the normal direction in the profile point of the small image of template according to the method for step S502 and step S503 and step S504
The profile point of the corresponding small image of test is looked under rapid and then finds the defect point tested on small image;
S506, bare board or big defect if it is big copper face find defect point in normal orientation along profile dot interlace;If it is
The bare board of small copper face or small defect then find defect point in normal orientation point by point along profile;
S507, if looking on pcb board if the big defect of copper face the defined normal distance value in the normal orientation of profile point
Dmix wants setting appropriate larger, and normal direction step-length number is also appropriate to want larger;It is on the contrary then opposite.
Further, if having found test in the defined step-length number of the normal orientation for the profile point for testing small image
Profile point on small image and distance is greater than type of the defined maximum Dmax apart from the defect point then looked for and is between them
The defects of copper face is damaged, and copper face welds more, copper ashes;If on the both forward and reverse directions of the normal orientation for the profile point for testing small image
The type for the defect point that the profile point on the small image of template is then looked for all is not had found in defined step-length number and its in 8 neighborhoods
For copper face open circuit;In defined step-length number on the both forward and reverse directions in the normal direction in the profile point of the small image of template and its
The type that the defect point that the profile point tested on small image is then looked for all is not had found in 8 neighborhoods is the defects of copper face is short-circuit.
The above is presently preferred embodiments of the present invention, but the present invention should not be limited to embodiment and attached drawing institute public affairs
The content opened both falls within protection of the present invention so all do not depart from the lower equivalent or modification completed of spirit disclosed in this invention
Range.
Claims (4)
1. a kind of pcb board surface inspecting method based on the overproof algorithm of profile, which is characterized in that comprising the following specific steps
S1 obtains PCB bare board Prototype drawing, is cut into the small image of the identical specific dimensions of several sizes, divided standard
The object that image preferentially be used to be matched;
S2, by acquired image handled i.e. denoising, automatic threshold segmentation algorithm by bare board copper face to being accurately partitioned into
Come, then binary image, that is, line conductor area gray value is 255, and the gray value of background area is 0, obtains binary map and tests
Figure is cut into the small image of test that the identical specific dimensions of several sizes arrive, and the small image of the test being cut into is used for priority match template
Figure;
S3 uses the matched method of shape template to test small image and go to match the corresponding small figure of standard as template and aligns;
Obtained test image and corresponding standard picture are sought edge sub-pixel edge respectively, and seek sub-pix side by S4
The ranks coordinate of edge, then seeks the normal direction of each coordinate points in edge with specific method;
S5 seeks the edge contour for testing small figure and the small figure of corresponding standard respectively, the small figure of standard that will have been aligned in step S3
It is placed under same image coordinate system with the corresponding small figure of test, is preferentially in the method for test map contour coordinate points with the overproof algorithm of profile
Upward corresponding step-length number is to the interior profile point for going for standard drawing.
2. the pcb board surface inspecting method as described in claim 1 based on the overproof algorithm of profile, which is characterized in that the step
Suddenly the specific steps in S4 include:
S401 will be obtained testing small image and the small image of corresponding standard sought edge sub-pixel edge respectively, and seeks sub- picture
The ranks coordinate at plain edge is stored in array in order by the ranks coordinate sought in the way of migration profile, row coordinate
It should correspond to and be stored in different arrays with column coordinate;
The ranks coordinate acquired is numbered the profile ranks coordinate required by step 4.1 by S402 in the way of migration profile,
It such as 1,2,3,4......n, is connected, is compiled with straight line according to by the profile coordinate points of the profile coordinate points of number 1 and number 3
Numbers 4 and number 6 connected with straight line, connect in this manner, if finally there is remaining coordinate points, no matter remaining
How many are all that n-th of coordinate points is connected with the n-th -2 coordinate points with straight line, and seeks these line segments connected
Slope, and then seek these line segment normal angles;The range of normal angles be [- π, π], by obtained normal angles according to
It is numbered in order as the direction for seeking ranks coordinate migration profile;Such as 3,6,9.......3m, n;
Normal angles striked in step 402 are mapped by S403 according to the sequence and corresponding profile point coordinate of number,
Normal angles as numbered the profile point for being 1,2,3 are the normal angles that normal angles number is No. 3, the wheel of number 4,5,6
The normal angles of exterior feature point are the normal angles that normal angles number is No. 6, are successively gone in this way;Each profile coordinate points
There are the normal angles corresponding to oneself.
3. the pcb board surface inspecting method as claimed in claim 2 based on the overproof algorithm of profile, which is characterized in that the step
Suddenly the specific steps in S5 include:
S501 seeks the edge contour for testing small figure and the small figure of corresponding standard respectively, and the standard aligned in step S3 is small
Figure and the corresponding small figure of test are placed under same image coordinate system;
S502, according to the profile point and corresponding normal angles for preferentially seeking testing small figure in step S402 according to the small figure of test
The sequence of profile migration seeks the coordinate and this seat for the coordinate points that the coordinate point forward normal direction step-length that profile point number is 1 is 0
Gray value on punctuate looks for the gray value of 8 neighborhoods of this coordinate points if gray scale is 0;If the ash in this coordinate points
Angle value is 255, then has found the profile point on the small figure of template and find out their distance D0, if distance D0 is less than defined method
When to distance value Dmix, then this profile point tested on small figure is not defect point;If the coordinate points that profile point number is 1 are just
All it is 0 to the gray value of 8 neighborhoods of coordinate points that normal direction step-length is 0, then continues to find toward in next step-length;If tested small
Map contour point number be 1 coordinate point forward normal direction step-length be 0 coordinate points 8 neighborhoods gray value it is promising 255 when, explanation is looked for
The profile point of the small figure of the template aligned has been arrived, the coordinate points and test small figure for testing that small map contour point number is 1 are then found out
The gray value of 8 neighborhoods of the coordinate points that the coordinate point forward normal direction step-length that profile point number is 1 is 0 is the distance D1 of 255 coordinates,
D2......;If their minimum range is greater than defined normal distance value Dmix, then this wheel on small figure is tested
Exterior feature point is defect point, otherwise is not defect point;If the point that profile point i.e. gray value if having found the small figure of corresponding templates is 255
It is not continually looked in the step-length of normal direction;It is then continually looked in the step-length of normal direction conversely, not finding defect point;
S503, if there are no find gray scale on pixel and its within 8 neighborhoods within the step-length number of defined positive normal direction
The coordinate points that value is 255 are then testing the coordinate points reverse method that small map contour point number is 1 according to the method and step of step S502
The profile point that Prototype drawing is found within to step-length number, no longer finds in normal direction if the profile point for finding Prototype drawing, if it
Distance be greater than defined distance, then testing this profile point on small figure is defect point;If in defined reversed normal direction
Step-length number on pixel and its within 8 neighborhoods there are no the coordinate points that find gray value be 255, then test on small figure
This profile point is defect point;
S504 looks for profile along the direction for testing small map contour migration according to the method and step of step S502 and step S503
Point number is 2, the outline point on the outlines points such as 3,4.......n on the small image of template of normal orientation, if corresponding test
When the distance of small image outline point and the small image outline point of template is greater than defined normal distance value Dmix, then test on small figure
This profile point is defect point, otherwise is not defect point;If all do not found in the test positive and negative normal direction of small image outline point
The small image outline point of point, that is, template that pixel value is 255;At this point, testing small image outline point (sub-pixel) also is defect point;
S505 looks for profile point in turn in normal direction and exists if the pixel value for testing small image is all 0 or 255
According under the method and step of step S502 and step S503 and step S504 in normal direction in the profile point of the small image of template
It looks for the profile point of the corresponding small image of test and then finds the defect point tested on small image;
S506, bare board or big defect if it is big copper face find defect point in normal orientation along profile dot interlace;If it is small copper
The bare board in face or small defect then find defect point in normal orientation point by point along profile;
S507, if looking on pcb board if the big defect of copper face the defined normal distance value Dmix in the normal orientation of profile point
Want setting appropriate larger, normal direction step-length number is also appropriate to want larger;It is on the contrary then opposite.
4. the pcb board surface inspecting method as claimed in claim 3 based on the overproof algorithm of profile, which is characterized in that if
Test had found in the defined step-length number of the normal orientation of the profile point of small image the profile point tested on small image and it
Between distance to be greater than the type for the defect point that defined maximum Dmax distance is then looked for be that copper face is damaged, copper face mostly weldering, copper ashes
The defects of;If in the defined step-length number on the both forward and reverse directions of the normal orientation for the profile point for testing small image and its 8 is adjacent
The type that the defect point that the profile point on the small image of template is then looked for all is not had found in domain is copper face open circuit;In the small figure of template
Survey is not all had found in defined step-length number on the both forward and reverse directions in normal direction in the profile point of picture and its in 8 neighborhoods
The type for trying the defect point that the profile point on small image is then looked for is the defects of copper face is short-circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910107780.2A CN109829911B (en) | 2019-02-01 | 2019-02-01 | PCB surface detection method based on contour out-of-tolerance algorithm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910107780.2A CN109829911B (en) | 2019-02-01 | 2019-02-01 | PCB surface detection method based on contour out-of-tolerance algorithm |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109829911A true CN109829911A (en) | 2019-05-31 |
CN109829911B CN109829911B (en) | 2020-09-29 |
Family
ID=66863419
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910107780.2A Active CN109829911B (en) | 2019-02-01 | 2019-02-01 | PCB surface detection method based on contour out-of-tolerance algorithm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109829911B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110702002A (en) * | 2019-07-04 | 2020-01-17 | 天津大学 | Multilayer synchronous measurement method for curved surface light-transmitting piece |
CN113433128A (en) * | 2021-07-02 | 2021-09-24 | 南通海舟电子科技有限公司 | Intelligent display screen system based on circuit board automated production |
CN113838045A (en) * | 2021-09-30 | 2021-12-24 | 佛山市南海区广工大数控装备协同创新研究院 | PCB copper-clad circuit skeleton contour extraction method for improving spur removal algorithm |
CN113870256A (en) * | 2021-12-01 | 2021-12-31 | 成都数之联科技有限公司 | PCB defect evaluation method, device, equipment and medium |
CN113989312A (en) * | 2021-11-10 | 2022-01-28 | 佛山市南海区广工大数控装备协同创新研究院 | Irregular PCB contour matching method based on shape context characteristics |
CN116503401A (en) * | 2023-06-26 | 2023-07-28 | 成都数联云算科技有限公司 | PCB (printed circuit board) connection board target detection method, device, equipment and medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090022406A1 (en) * | 2007-07-20 | 2009-01-22 | Asustek Computer Inc. | Method for finding specific pattern and method for compensating image offset |
CN103733223A (en) * | 2011-08-04 | 2014-04-16 | 三菱电机株式会社 | Method and system for determining defect of surface of model of object |
CN106407502A (en) * | 2016-08-19 | 2017-02-15 | 西安交通大学 | Optimum matching-based blade section line profile parameter evaluation method |
CN106651889A (en) * | 2016-11-30 | 2017-05-10 | 太原科技大学 | X-ray welding joint defect segmentation method and system |
CN107798326A (en) * | 2017-10-20 | 2018-03-13 | 华南理工大学 | A kind of profile visual detection algorithm |
CN109003258A (en) * | 2018-06-15 | 2018-12-14 | 广东工业大学 | A kind of high-precision sub-pix circular pieces measurement method |
-
2019
- 2019-02-01 CN CN201910107780.2A patent/CN109829911B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090022406A1 (en) * | 2007-07-20 | 2009-01-22 | Asustek Computer Inc. | Method for finding specific pattern and method for compensating image offset |
CN103733223A (en) * | 2011-08-04 | 2014-04-16 | 三菱电机株式会社 | Method and system for determining defect of surface of model of object |
CN106407502A (en) * | 2016-08-19 | 2017-02-15 | 西安交通大学 | Optimum matching-based blade section line profile parameter evaluation method |
CN106651889A (en) * | 2016-11-30 | 2017-05-10 | 太原科技大学 | X-ray welding joint defect segmentation method and system |
CN107798326A (en) * | 2017-10-20 | 2018-03-13 | 华南理工大学 | A kind of profile visual detection algorithm |
CN109003258A (en) * | 2018-06-15 | 2018-12-14 | 广东工业大学 | A kind of high-precision sub-pix circular pieces measurement method |
Non-Patent Citations (2)
Title |
---|
胡涛: "基于轮廓对比的PCB裸板缺陷检测算法研究", 《中国博士学位论文全文数据库信息科技辑》 * |
郭联金 等: "基于亚像素的PCB表面质量检测", 《电子质量》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110702002A (en) * | 2019-07-04 | 2020-01-17 | 天津大学 | Multilayer synchronous measurement method for curved surface light-transmitting piece |
CN113433128A (en) * | 2021-07-02 | 2021-09-24 | 南通海舟电子科技有限公司 | Intelligent display screen system based on circuit board automated production |
CN113838045A (en) * | 2021-09-30 | 2021-12-24 | 佛山市南海区广工大数控装备协同创新研究院 | PCB copper-clad circuit skeleton contour extraction method for improving spur removal algorithm |
CN113838045B (en) * | 2021-09-30 | 2024-02-02 | 佛山市南海区广工大数控装备协同创新研究院 | PCB copper-clad circuit skeleton contour extraction method for improving bone spur removal algorithm |
CN113989312A (en) * | 2021-11-10 | 2022-01-28 | 佛山市南海区广工大数控装备协同创新研究院 | Irregular PCB contour matching method based on shape context characteristics |
CN113989312B (en) * | 2021-11-10 | 2024-04-09 | 佛山市南海区广工大数控装备协同创新研究院 | Irregular PCB contour matching method based on shape context characteristics |
CN113870256A (en) * | 2021-12-01 | 2021-12-31 | 成都数之联科技有限公司 | PCB defect evaluation method, device, equipment and medium |
CN113870256B (en) * | 2021-12-01 | 2022-02-11 | 成都数之联科技有限公司 | PCB defect evaluation method, device, equipment and medium |
CN116503401A (en) * | 2023-06-26 | 2023-07-28 | 成都数联云算科技有限公司 | PCB (printed circuit board) connection board target detection method, device, equipment and medium |
CN116503401B (en) * | 2023-06-26 | 2023-09-22 | 成都数联云算科技有限公司 | PCB (printed circuit board) connection board target detection method, device, equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN109829911B (en) | 2020-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109829911A (en) | A kind of pcb board surface inspecting method based on the overproof algorithm of profile | |
CN113362326B (en) | Method and device for detecting defects of welding spots of battery | |
CN103759648B (en) | A kind of complicated angle welding method for detecting position based on Binocular stereo vision with laser | |
US20210150700A1 (en) | Defect detection device and method | |
CN109900711A (en) | Workpiece, defect detection method based on machine vision | |
CN109839385B (en) | Self-adaptive PCB defect visual positioning detection and classification system | |
CN108520514B (en) | Consistency detection method for electronic elements of printed circuit board based on computer vision | |
JP5806786B1 (en) | Image recognition device | |
CN115439481A (en) | Deaerator welding quality detection method based on image processing | |
CN111353993A (en) | Thread angle measuring method based on machine vision | |
CN115496746A (en) | Method and system for detecting surface defects of plate based on fusion of image and point cloud data | |
CN111724335A (en) | Detection method and detection system | |
CN115290663B (en) | Mini LED wafer appearance defect detection method based on optical detection | |
CN111551559A (en) | LCD (liquid Crystal display) liquid crystal screen defect detection method based on multi-view vision system | |
CN110910359A (en) | FPC (flexible printed circuit) line detection method based on feature tracking and skeleton feature matching | |
CN113237889A (en) | Multi-scale ceramic detection method and system | |
CN108831844A (en) | Detect the method and system of wafer defect | |
CN117291918A (en) | Automobile stamping part defect detection method based on three-dimensional point cloud | |
CN117007940A (en) | Self-adaptive method for detecting performance of circuit board | |
CN105718929A (en) | All-weather unknown environment high precision rapid circular object positioning method and system | |
CN112529869B (en) | Valve sleeve throttling square hole detection method | |
You et al. | A mechanical part sorting system based on computer vision | |
CN109919909B (en) | Method and device for testing light-emitting diode chip | |
CN108734707B (en) | Mobile phone horn foam presence/absence detection method based on infrared laser and 3D camera | |
CN104182758A (en) | Image recognition method for rocket wind swinging measurement |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |