CN101118263A - Polar direction automatic detection method of polar element - Google Patents
Polar direction automatic detection method of polar element Download PDFInfo
- Publication number
- CN101118263A CN101118263A CNA2006101038849A CN200610103884A CN101118263A CN 101118263 A CN101118263 A CN 101118263A CN A2006101038849 A CNA2006101038849 A CN A2006101038849A CN 200610103884 A CN200610103884 A CN 200610103884A CN 101118263 A CN101118263 A CN 101118263A
- Authority
- CN
- China
- Prior art keywords
- polar
- measured
- substrate
- polar component
- detection method
- 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.)
- Pending
Links
Images
Landscapes
- Image Processing (AREA)
Abstract
A polar direction automatic testing method is suitable for testing a positive pole and a negative pole of polar components on a substrate. To begin with, the image of the standard substrate is caught for forming a standard sample, and relevant data about the polar component to be tested of the substrate to be tested is acquired for forming a test sample, then, the position, positive and the negative poles of all polar components are marked in the image of the standard substrate by using different shaped frames and conversing the geometrical coordinate and the pixel coordinate so as to make every polar component be in shaped frames. At the same time, the position and the size of each shaped frame can be also adjusted again to make the center of polar components be identical with the center of shaped frames. A data bank is set up and taken as the standard sample to record the shape, position, size, positive and negative poles of each polar component on the substrate, the polarity direction of each polar component on the substrate to be tested can be judged whether right or not by the comparison between the standard sample and all test samples.
Description
Technical field
The invention relates to a kind of detection method of polar component, and particularly relevant for the automatic testing method of the polar orientation of polar component on a kind of substrate.
Background technology
Generally speaking, disposing many surface adhering technology (Surface Mount Technology that utilize on the printed circuit board (PCB) (as motherboard), SMT) with double pin encapsulation (Dual Inline package, DIP) being assembled to the electronic component of printed circuit board (PCB), the electronic component of wherein double pin encapsulation is still mostly to be that the assembling mode inserted with artificial hand is to be inserted in printed circuit board (PCB).
With the motherboard is example, and whether artificial visual still all is dependent in breakage does detection for the assembling position of the electrochemical capacitor in the double pin encapsulating electronic components, the direction of positive and negative polarity and element.If when Manual Visual Inspection, do not find one of them electrochemical capacitor on the motherboard polar orientation when being opposite, the test man motherboard is circuit static test (In-Circuit Tester, during ICT) electrical characteristics test, motherboard can explode because of the positive and negative polarity position-reversed of electrochemical capacitor and burn.
Detect the positive and negative polarity direction of electrochemical capacitor with artificial visual, at length, the testing staff needs to make in advance a mask plate with a plurality of through holes when the master sample that detects, and the position of a plurality of through holes of mask plate is exactly to decide with size according to the position of the electrochemical capacitor on this main frame with size.The other direction that can mark the positive and negative polarity of electrochemical capacitor of each through hole on the mask plate.When the testing staff will detect electrochemical capacitor polarity chron on the motherboard to be measured, the testing staff need make the contraposition of motherboard and mask plate earlier and with the mask plate sheathing on motherboard, whether allow electrochemical capacitor protrude from mask plate correct with the direction of the positive and negative polarity of conveniently utilizing eyes to go to detect each electrochemical capacitor.
Yet because the element of the required detection of testing staff and not only terminate in electrochemical capacitor, various big and small elements all need to detect its other plant position or whether positive and negative polarity direction is correct on the motherboard.Fatiguability and the unavoidable electrochemical capacitor that can not have detected opposite polarity directions because of carelessness of testing staff work long hours.Therefore, when the motherboard that will have an electrochemical capacitor of opposite polarity directions the test man was done electrical characteristics test, this motherboard just can explode and cause the subelement damage on it or burn, and allowed the yield of product can't stable maintenance.
In addition, if motherboard is repaired, the motherboard that the cost of reparation motherboard is almost new with making a slice again is identical, so the cost of manufacture of product can't effectively reduce.In addition, if the motherboard with electrochemical capacitor of opposite polarity directions be in shipment to client, just blast when the client uses or burn, will allow the client that product is lost and trust sense.
Summary of the invention
The direction automatic detection method of polar that the purpose of this invention is to provide a kind of polar component, it utilizes computer to replace the mode of Manual Visual Inspection, so can reduce the situation of the polar orientation mistake of polar component, makes product keep stable yield, and then reduces cost.
For reaching above-mentioned or other purposes, the present invention proposes a kind of direction automatic detection method of polar of polar component, and it is in order to detect a substrate to be measured with a plurality of polar components to be measured.The method comprises following step: at first, obtain a master sample, write down the position coordinates and the polar orientation of a plurality of polar components.Then, capture an image to be measured of substrate to be measured, and be recorded as a sample to be tested, it comprises the position coordinates and the polar orientation of each this polar component to be measured.At last, standard of comparison sample and sample to be tested.
In one embodiment of this invention, more comprise standard video by data or acquisition standard substrate obtaining the step of this master sample, and a plurality of polar components of this data recording are disposed at position coordinates and polar orientation on the standard substrate.
In one embodiment of this invention, more comprise and make the geometric coordinate of each polar component be converted to pixel coordinates.
In one embodiment of this invention, more comprise calibration substrate to be measured.
In one embodiment of this invention, comprise that more the color binaryzation of the polar component that makes in the standard video is to obtain its polar orientation.
According to the foregoing description, the method for the color binaryzation of image to be measured is comprised the following steps: at first, utilize computer enclosure to select in the image to be measured the pixel coverage of polar component.Then, set a threshold values (Threshold), and computer judges that whether the GTG value of a plurality of pixel elements in the pixel coverage is greater than threshold values.Afterwards, will be output as white, and be output as black less than the color of the pixel element of threshold values greater than the color of the pixel element of threshold values.
In one embodiment of this invention, the direction automatic detection method of polar of above-mentioned polar component more is included in the image to be measured, and the polar orientation that indicates its sample to be tested is not coincident with the polar component to be measured of standard video.
In one embodiment of this invention, the direction automatic detection method of polar of above-mentioned polar component comprises that more the polar orientation that shows sample to be tested is not coincident with the pixel coordinates of the polar component to be measured of master sample.
In sum, the direction automatic detection method of polar of polar component of the present invention has following advantage at least:
One, utilizes automatic detection mode to replace Manual Visual Inspection, can save personnel costs, reduce the probability of polar orientation configuration error, the yield of lifting product and the cost that reduces substrate reparation or recasting.
Two, only need upgrade master sample, just can different samples to be tested be detected automatically, have advantage easy-to-use and that have wide range of applications.
The present invention will have the mode of utilizing artificial visual now and detect the polar orientation that is disposed at the polar component on the substrate, utilize computer to detect automatically.Thus, not only can reduce personnel costs, in the time of can also reducing polar component and be disposed on the substrate, the probability of the polar orientation mistake of polar component, and then promote the yield of product.In addition, can also avoid substrate, substrate explode when carrying out electric test or burn, reduce the substrate reparation or the cost of making again because polar component is disposed at the polar orientation mistake of substrate.
For above-mentioned and other purposes, feature and advantage of the present invention can be become apparent, an embodiment cited below particularly, and cooperate appended graphicly, be described in detail below.
Description of drawings
Fig. 1 is the process flow diagram of the polar orientation detection method of polar component of the present invention.
Fig. 2 is the partial schematic diagram of the standard substrate of present embodiment.
Fig. 3 is the image synoptic diagram of the standard substrate of Fig. 2.
Fig. 4 utilizes shape frame circle to select the synoptic diagram of a polar component in the image of standard substrate.
Fig. 5 is the partial schematic diagram of the substrate to be measured of present embodiment.
Fig. 6 is the image synoptic diagram of the substrate to be measured of Fig. 5.
Fig. 7 is with the synoptic diagram after the pixel element binaryzation of the polar component of Fig. 6.
100: standard substrate 110,210: polar component
112: diaphragm 200: substrate to be measured
210 ': the polar component of polar orientation mistake
Embodiment
Fig. 1 is that process flow diagram, Fig. 2 of the polar orientation detection method of polar component of the present invention is the partial schematic diagram of the standard substrate of present embodiment, and Fig. 3 is the image synoptic diagram of the standard substrate of Fig. 2.Please also refer to Fig. 1, Fig. 2 and Fig. 3, at first as step S110, obtain a master sample, the mode that wherein obtains master sample comprises the image I1 that captures standard substrate 100, and be recorded as master sample, wherein master sample comprises that a plurality of polar components are disposed at position coordinates and the polar orientation on the standard substrate.In the present embodiment, standard substrate 100 is a motherboard, and is equipped with the polar component 110 that a plurality of electronic components or other need be planted with hand on the standard substrate 100, and these polar components 110 for example are double pin encapsulating electronic components such as electrochemical capacitor.For asking illustrative simplicity, only draw polar component 110 signals among Fig. 2, do not illustrate other electronic components.
Generally speaking, the skin of above-mentioned polar component 110 is wrapped with one deck and indicates the polar orientation d1 (polarity mark) of polar component 110 and the diaphragm 112 of polar component 110 characteristics, just the burnt skin that is commonly called as of industry.In the present embodiment, each polar component 110 is configured in the difference of the position on the standard substrate 100 according to it, and its polar orientation d1 is also different.Distinguish the polar orientation d1 of polar component 110 for convenience, the common practice is that diaphragm 112 roughly is divided into two kinds of different colors of the depth so that difference.For instance, diaphragm 112 most colors are bottle green, and wherein more shallow color such as white promptly are in order to indicate the polar orientation d1 of polar component 110.
In the present embodiment, we utilize CMOS (Complementary Metal Oxide Semiconductor) (CMOS) element photograph module or charge coupled cell (CCD) photograph module to capture the image I1 of standard substrate 100, and utilize shape frame circle to select polar component 110 images of standard substrate 100, obtain simultaneously in image I1, position coordinates and the polar orientation d1 of polar component 110 on standard substrate 100, and in the database with the position coordinates of polar component 110 and polar orientation d1 input computer, with the master sample of the usefulness that is recorded as detection.The position coordinates of above-mentioned image I1 Semi-polarity element 110 is to utilize pixel coordinates to come record.
In addition, except the image I1 that utilizes photograph module acquisition standard substrate 100 to obtain master sample, we also can utilize computer to read in data and obtain master sample.The geometric coordinate of these data each polar component 110 on record standard substrate 100, more write down the polar orientation d1 of each polar component 110.
Fig. 4 utilizes shape frame circle to select the synoptic diagram of a polar component in the image of standard substrate.Please refer to Fig. 4, after obtaining image I1, we can also utilize the shape frame to enclose and select the scope of image I1 Semi-polarity element 110 as step S112, and indicate the polar orientation d2 of polar component 110, and the shape frame can be circle or rectangle.At this moment, also can adjust the position and the size of each shape frame again, make the center of polar component 110 identical with the center of shape frame.
In addition, after pick-up image I1, we can contrast the pixel coordinates of image I1 and the geometric coordinate of standard substrate 100, calculate relational expression, be converted to pixel coordinates with geometric coordinate with polar component 110, and the pixel coordinates of polar component 110 is recorded in the master sample, as step S112.
Then, as step S120, the pixel coordinates of each polar component 110 on the record standard substrate 100, the master sample of polar orientation are stored in the database.
Fig. 5 is the partial schematic diagram of the substrate to be measured of present embodiment, and Fig. 6 is the image synoptic diagram of the substrate to be measured of Fig. 5.Then as step S130, provide substrate 200 to be measured, the allocation position of the polar component 210 on the substrate 200 wherein to be measured should be distinctly corresponding to the polar component on the standard substrate 100 110.
Then, utilize the photograph module to capture the image I2 of substrate 200 to be measured, and obtain the pixel coordinates of the polar component to be measured 210 of substrate 200 to be measured.
It should be noted that, utilizing the photograph module when obtaining the image I2 of substrate 200 to be measured, the angle of photograph module acquisition standard substrate 100 and substrate to be measured 200 needs identical, make among image I1 and the I2 because of the difference of visual angle angle to avoid, the pixel coverage of polar component 110 and polar component 210 has big difference, and then influences follow-up detection operation.
Then as step S140, whether the polar orientation d2 that detects each polar component 210 to be measured on the substrate 200 to be measured is correct.At length, be the master sample that utilizes computer to read earlier to be stored in the database, corresponding then the search among the image I2, the position of the polar component 210 of similar pixel coverage, and judge whether the polar orientation d2 of polar component 210 is correct.
Fig. 7 is with the synoptic diagram after the pixel element binaryzation of the polar component of Fig. 6.Please refer to Fig. 7, in the present embodiment, judge whether the polar orientation d2 of polar component 210 correctly comprises the following steps.At first, utilize the pixel coverage binaryzation (Binary Image) of the mode of image processing with the polar component to be measured 210 among the image I2 as step S142.
At length, utilize a formula with image binaryzation such as following step.At first in formula, set a threshold values.Then, computer reads among the image I2, the GTG value of each pixel element in the pixel coverage to be measured, and utilize formula to judge that whether the GTG value of pixel element is greater than this threshold values.In the present embodiment, when the GTG value of pixel element during greater than threshold values, the color of pixel element is outputted as white: relatively, when the GTG value of pixel element during less than threshold values, the color of pixel element is outputted as black.Thus, the image I2 after the binaryzation only has black, white dichromatism, and computer just can clearly illustrate the polar orientation d2 of each polar component 210.
Afterwards as step S144, in standard of comparison sample and the sample to be tested, whether corresponding polar component 110 and 210 polar orientation d1 and d2 be identical with polar orientation d1, the d2 of polar component 110 to judge corresponding polar component 210.
Last as step S146, when detecting the polar orientation d2 mistake of polar component 210 ', we can indicate among the image I2 position of the polar component 210 ' of polar orientation d2 mistake by computer.In addition, computer also can be the pixel coordinates that directly demonstrates the polar component 210 ' of polar orientation d2 mistake.Therefore, the polar component 210 ' that we just can be opposite with polar orientation d2 pulls up from substrate 200 to be measured, revises its polar orientation d2, and is inserted in again on the substrate 200 to be measured.Thus, just can avoid when substrate 200 to be measured is carried out electric test, substrate 200 to be measured can explode or burn.
Because the present invention is the image that utilizes acquisition standard substrate and substrate to be measured, and with in the master sample of the geometric coordinate of the polar component on record standard substrate and the substrate to be measured, pixel coordinates and the sample to be tested input database in order to access.Therefore, we more can make a plurality of master samples in advance, and with in the master sample elder generation input database.When needs detect other different substrates to be measured of another kind, only need the data of its pairing master sample are accessed, just can be in order to detect in other samples to be tested the polar orientation of polar component.So the direction automatic detection method of polar of polar component of the present invention also has the advantage of being convenient to change the data of standard substrate and can be applicable to detect multiple substrate to be measured.
Though the present invention discloses as above with an embodiment; right its is not in order to limiting the present invention, anyly has the knack of this skill person, without departing from the spirit and scope of the present invention; when can doing a little change and retouching, so protection scope of the present invention is as the criterion as the person of defining that look appending claims.
Claims (9)
1. the direction automatic detection method of polar of a polar component is characterized in that it being in order to detecting a substrate to be measured with a plurality of polar components to be measured, and this method comprises:
Obtain a master sample, write down the position coordinates and the polar orientation of a plurality of polar components;
Capture an image to be measured of this substrate to be measured;
According to this photologging one sample to be tested to be measured, it comprises the position coordinates and the polar orientation of each this polar component to be measured; And
Relatively this master sample and this sample to be tested.
2. the direction automatic detection method of polar of polar component according to claim 1 is characterized in that it more comprises the step that is obtained this master sample by data, and a plurality of polar components of this data recording are disposed at a geometric coordinate of a standard substrate.
3. the direction automatic detection method of polar of polar component according to claim 2 is characterized in that it more comprises the step that makes each geometric coordinate be converted to a pixel coordinates.
4. the direction automatic detection method of polar of polar component according to claim 1 is characterized in that wherein more comprising the step of calibrating this substrate to be measured.
5. the direction automatic detection method of polar of polar component according to claim 1 is characterized in that it comprises that more a standard video that captures a standard substrate is to obtain the step of master sample.
6. the direction automatic detection method of polar of polar component according to claim 5, it is characterized in that wherein capturing this image to be measured after, comprise that more the color binaryzation that makes those polar components in this image to be measured is to obtain the step of its polar orientation.
7. the direction automatic detection method of polar of polar component according to claim 6 is characterized in that wherein making the color binaryzation of those polar components to comprise with the step that obtains its polar orientation:
Utilize this computer to select a pixel coverage of those polar components to be measured in this image to be measured from moving-coil;
Set a threshold values, and whether the GTG value of judging a plurality of pixel elements in this scope to be measured is greater than this threshold values; And
To be output as white greater than the color of the pixel element of this threshold values, and be output as black less than the color of the pixel element of this threshold values.
8. the direction automatic detection method of polar of polar component according to claim 1 is characterized in that it more is included in this image to be measured, indicates the step that this sample to be tested is not coincident with this polar component to be measured of this master sample.
9. the direction automatic detection method of polar of polar component according to claim 1 is characterized in that it comprises that more this sample to be tested of demonstration is not coincident with the pixel coordinates of this polar component to be measured of this master sample.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2006101038849A CN101118263A (en) | 2006-08-04 | 2006-08-04 | Polar direction automatic detection method of polar element |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2006101038849A CN101118263A (en) | 2006-08-04 | 2006-08-04 | Polar direction automatic detection method of polar element |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101118263A true CN101118263A (en) | 2008-02-06 |
Family
ID=39054458
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2006101038849A Pending CN101118263A (en) | 2006-08-04 | 2006-08-04 | Polar direction automatic detection method of polar element |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101118263A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103675588A (en) * | 2013-11-20 | 2014-03-26 | 中国矿业大学 | Printed circuit element polarity machine vision detection method and device |
CN104537650A (en) * | 2014-12-16 | 2015-04-22 | 广州视源电子科技股份有限公司 | Polarity direction determination method and device for aluminum electrolytic capacitor |
CN105631893A (en) * | 2016-03-09 | 2016-06-01 | 中国矿业大学 | Method and device for detecting whether capacitor is correctly mounted through photographing |
CN106529369A (en) * | 2016-10-11 | 2017-03-22 | 广州视源电子科技股份有限公司 | Component mounting state detection method and system |
CN108898584A (en) * | 2018-06-12 | 2018-11-27 | 西安微电子技术研究所 | A kind of full-automatic veneering capacitor welding equipment polarity discriminating method based on image analysis |
CN116168040A (en) * | 2023-04-26 | 2023-05-26 | 四川元智谷科技有限公司 | Component direction detection method and device, electronic equipment and readable storage medium |
-
2006
- 2006-08-04 CN CNA2006101038849A patent/CN101118263A/en active Pending
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103675588A (en) * | 2013-11-20 | 2014-03-26 | 中国矿业大学 | Printed circuit element polarity machine vision detection method and device |
CN103675588B (en) * | 2013-11-20 | 2016-01-20 | 中国矿业大学 | The machine vision detection method of printed component part polarity and equipment |
CN104537650A (en) * | 2014-12-16 | 2015-04-22 | 广州视源电子科技股份有限公司 | Polarity direction determination method and device for aluminum electrolytic capacitor |
CN104537650B (en) * | 2014-12-16 | 2017-11-03 | 广州视源电子科技股份有限公司 | Polarity direction determination method and device for aluminum electrolytic capacitor |
CN105631893A (en) * | 2016-03-09 | 2016-06-01 | 中国矿业大学 | Method and device for detecting whether capacitor is correctly mounted through photographing |
CN106529369A (en) * | 2016-10-11 | 2017-03-22 | 广州视源电子科技股份有限公司 | Component mounting state detection method and system |
CN108898584A (en) * | 2018-06-12 | 2018-11-27 | 西安微电子技术研究所 | A kind of full-automatic veneering capacitor welding equipment polarity discriminating method based on image analysis |
CN108898584B (en) * | 2018-06-12 | 2020-11-20 | 西安微电子技术研究所 | Image analysis-based full-automatic veneered capacitor welding polarity discrimination method |
CN116168040A (en) * | 2023-04-26 | 2023-05-26 | 四川元智谷科技有限公司 | Component direction detection method and device, electronic equipment and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110830795B (en) | Image sensor dead pixel detection method and device and electronic equipment | |
CN101118263A (en) | Polar direction automatic detection method of polar element | |
CN101952949A (en) | Apparatus and method for testing image sensor wafers to identify pixel defects | |
CN103018015A (en) | Device and method for detecting optical-axis offset of lens in equipment | |
CN107833843A (en) | The analysis method and analysis system of defect source, defect detecting device | |
CN101189712B (en) | Method and apparatus for inspecting marking of semiconductor package | |
CN111161208A (en) | Image detection method and device | |
CN101592620A (en) | Circuit substrate pick-up unit and method | |
CN112595726A (en) | Pixel defect detection method of OLED (organic light emitting diode) micro display device | |
US7764314B2 (en) | Shading detecting method and shading detecting apparatus for camera module | |
CN114820439A (en) | PCB bare board defect detection system and method based on AOI | |
KR20100039816A (en) | Method of detecting mainboard mark, detecting apparatus, and method of placing mainboard | |
CN106302912A (en) | The characteristic method of mobile terminal alignment light sensation and mobile terminal | |
TWI310084B (en) | Automatic inspecting method for inspecting the polar direction of the polar element | |
CN102856214A (en) | Circuit board mounting method | |
CN110264928B (en) | Backlight chip detection method and device and storage medium | |
US7134599B2 (en) | Circuit board inspection apparatus | |
CN111899248A (en) | Automatic PCB soldering paste defect detection method based on machine learning | |
CN101843090B (en) | White/black pixel correction device and method, and imaging system | |
CN115100095B (en) | PCB detection method based on non-supervision algorithm | |
CN113182205B (en) | Full-automatic robot photoelectric detection method for mobile phone parts based on Internet | |
CN116993654A (en) | Camera module defect detection method, device, equipment, storage medium and product | |
US20230231088A1 (en) | Light source device and camera inspection device using same | |
KR20150026508A (en) | Socket Board for Camera Module Inspection Device | |
CN103245844B (en) | CIS device electric fault analysis test method and test macro |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20080206 |