CN108036721A - A kind of high accuracy size detecting method - Google Patents
A kind of high accuracy size detecting method Download PDFInfo
- Publication number
- CN108036721A CN108036721A CN201711277330.5A CN201711277330A CN108036721A CN 108036721 A CN108036721 A CN 108036721A CN 201711277330 A CN201711277330 A CN 201711277330A CN 108036721 A CN108036721 A CN 108036721A
- Authority
- CN
- China
- Prior art keywords
- product
- camera
- points
- detecting method
- precision
- 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
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/002—Measuring arrangements characterised by the use of optical techniques for measuring two or more coordinates
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
The invention discloses a kind of high-precision size detecting method.This method combines traditional imaging device, be assembled into it is a kind of can be with the equipment of the parameters such as the precision of automatic measurement product, thickness or interior diameter size, and according to the corresponding algorithm of different designs of institute's detection project, it is achieved thereby that the automation of the measurement of product size, on the one hand, the speed of size detection is added, and reduces labor intensity, manpower and materials are saved, improve production efficiency;On the other hand, the precision of size detection and the stability of product quality are improved, meets the demand for requiring product size more accurate industry.
Description
Technical field
The present invention relates to detection device field, more particularly to a kind of high-precision size detecting method.
Background technology
Frequently include many precision components in the composition of various high-tech products, and with the fast development of science and technology,
Size in hi-tech industry to precision component, the especially required precision of the size of some relatively fine accessories are increasingly
It is high.And current, the precise measure detection method of in the market, to the accuracy of detection of the parameters such as accurate precision, thickness or inner circle size
It is often relatively low, it is impossible to meet the required precision of increasingly stringent processing.
In addition, the work such as detection, analysis and judgement to accessory size specification is largely all carried out by manual operation, by road
Artificial proficiency influences bigger, on the one hand, need to consume substantial amounts of manpower and materials, cause production plus man-hour between it is long,
Production efficiency is also than relatively low;On the other hand, the difficulty increase of manual measurement, the larger error easily occurred, so as to easily go out
Existing defective products, it is difficult to ensure the stability of product quality.
The content of the invention
To solve the above problems, the present invention provides a kind of high-precision size detecting method.
According to an aspect of the invention, there is provided a kind of high accuracy size detecting method, comprises the following steps:A) will treat
The product of detection is placed on a base;B) camera, the camera and a calculating are placed in one end of the product
Machine is connected;C) light source, the product, the camera and the light source position are placed in the opposite other end of the product
In on same horizontal line;D) light source is opened, the image of the product is then shot using the camera, and image is passed
It is defeated to arrive computer;E) testing result is calculated according to the corresponding algorithm of items selection that the product is detected using computer;
F) margin of tolerance of a standard value and a permission is set, and testing result and standard value are contrasted, judges its error
It is to show " OK " and testing result on computers whether in the margin of tolerance of permission, is not to show on computers
" NG " and testing result.
High-precision size detecting method in the present invention combines traditional imaging device, and being assembled into one kind can be with automatic measurement
The equipment of the parameters such as precision, thickness or the interior diameter size of product, and corresponding algorithm is designed, it is achieved thereby that product size
The automation of measurement, on the one hand, add the speed of size detection, and reduce labor intensity, save manpower and materials, improve
Production efficiency;On the other hand, the precision of size detection and the stability of product quality are improved, meeting will to product size
Seek the demand of the accurate industry of comparison.
In some embodiments, when the project detected is the precision of the product, its algorithm is as follows:A) described
A face is chosen on the image of product as datum level;B) arbitrarily appoint from datum level and take two sides, and it is any from each edge
Ten points are taken, then calculate coordinate of the average value as a datum mark of the coordinate of 20 points;C) take up an official post in datum level
Meaning chooses three points, calculates the central coordinate of circle of the circle where 3 points;D) datum mark is calculated to the distance in the center of circle, and is made
For testing result.Testing result thereby, it is possible to the precision for obtaining product.
In some embodiments, when the project detected is the thickness of the product, its algorithm is as follows:A) described
20 points are arbitrarily chosen on the upper limit side of the image of product, the average value of the coordinate of 20 points is then calculated and is made
For the coordinate of a datum mark one;B) 20 points are arbitrarily chosen on the lower limit side of the image of the product, are then calculated
The average value of the coordinate of 20 points and as the coordinate of a datum mark two;C) calculate datum mark one and arrive datum mark two
Distance, and as testing result.Testing result thereby, it is possible to the thickness for obtaining product.
In some embodiments, when the project detected is the inner circle size of the product, its algorithm is as follows:A) exist
A ROI frame is established on the image of the product;B) calculated according to the image of the product and adjust the size of ROI frames, formed
One circular field of search;C) take up an official post on the side of the field of search and take three points, calculate the central coordinate of circle and half of the circle where 3 points
Footpath, and as testing result.Testing result thereby, it is possible to the inner circle size for obtaining product.
In some embodiments, the product is placed on an articles holding table, and the articles holding table is fixed on the base
On.Thereby, it is possible to for placing product.
In some embodiments, a stent is installed at the top of the articles holding table.Thereby, it is possible to for placing
Specific product.
In some embodiments, a camera lens is installed on the camera.Thereby, it is possible to ensure the shooting effect of camera
Fruit.
In some embodiments, the camera is installed on a camera-shooting table, and the camera-shooting table is installed on the base
On.Thereby, it is possible to camera is in suitable height.
In some embodiments, the light source is installed in one piece of fixed plate, and the fixed plate is fixed on the bottom plate
Edge.Thereby, it is possible to light source is installed.
Brief description of the drawings
Fig. 1 is the schematic diagram of the detection device of the high-precision size detecting method of an embodiment of the present invention.
Embodiment
The invention will now be described in further detail with reference to the accompanying drawings.
Fig. 1 schematically shows a kind of detection dress of the high-precision size detecting method of embodiment according to the present invention
Put.As shown in fig. 1, which includes a base 1, and 11, camera-shooting tables 22 of an articles holding table are placed with base 1 and one piece solid
Fixed board 31, wherein articles holding table 11 are located at the centre of camera-shooting table 22 and fixed plate 31, and articles holding table 11 and camera-shooting table 22 are respectively positioned on base 1
Top surface on, and fixed plate 31 is then fixed on the side of 1 edge of base and upwardly extends., can be with addition, when necessary
Length is set to be slided on base 1 camera-shooting table 22, to adjust the distance between camera 2 and product to be detected.
It is used to place product to be detected on articles holding table 11, and sometimes, it is also necessary to pacify at the top of articles holding table 11
A special stent 12 is filled, for placing some specific products.It is used to place camera 2,2 face of camera on camera-shooting table 22
Product for shooting the image of product, one camera lens 21 of installation is used to aid in shooting generally also on camera 2.And fixed plate
The side of 31 top towards base 1 is provided with a light source 3, and light source 3 can provide illumination condition for the shooting of camera 2, also
One 3 controller of the light source being connected with light source 3 can be set, for controlling the illuminating effect of adjustment light source 3.Wherein, putting
After putting product, product, camera 2 and light source 3 are normally on same horizontal line, to facilitate the progress of shooting and guarantee camera 2
Shooting effect.In addition, camera 2 is also connected with a computer, so as to by the image transmitting photographed to computer,
And it is handled and is analyzed using computer.
Product is detected using the detection device, such as the precision in detection product, thickness or inner circle ruler
It is very little first product to be detected to be placed on base 1 or stent 12 and be fixed when parameter, then opening light source 3, and making
The brightness of illumination of light source 3 and scope are adjusted to suitable degree with 3 controller of light source;Subsequently, 21 clarity of camera lens is adjusted,
Until the noiseless display of the size characteristic of product, product or its position being detected are amplified by camera lens 21, and makes
The image of product is shot with camera 2, then by image transmitting to computer;Finally, the project that computer is detected according to product
Select corresponding algorithm to calculate testing result, and testing result and a standard value set in advance are compared, judge two
Whether the error between person, if it is, the testing result of product is qualification, shows on computers in the margin of tolerance of permission
Show " OK " printed words and the testing result, if it is not, then the testing result of product is unqualified, show " NG " word on computers
Sample and the testing result.
Wherein, when the disparity items to product is detected, a variety of algorithms of design and use are generally required, it is main
To include following several:
(1) when the project detected is the precision of product, its algorithm is as follows:
A) face is chosen on the image of product as datum level, and an X-Y coordinate is established on datum level;
B) arbitrarily appoint from datum level and take two sides, and ten points are arbitrarily taken from each edge, then calculate 20
The average value of the coordinate of point, the coordinate using the average value as datum mark;
C) three points are arbitrarily chosen on datum level, the principle for installing three-point circle finds out circle where 3 points, and according to
3 points of formula for asking the center of circle, i.e. (x-a)2+(y-b)2=r2Calculate the central coordinate of circle of the circle;
D) calculate datum mark to the distance in the center of circle, the testing result using the distance as precision, and with algnment accuracy value
It is compared and analyzes.
(2) when the project detected is the thickness of product, its algorithm is as follows:
A) X-Y coordinate is established on the image of product, and limits 20 points are arbitrarily chosen on side on it, then
The average value of the coordinate of this 20 points, and the coordinate using the average value as a datum mark are calculated, if the datum mark is
Datum mark one;
B) 20 points are arbitrarily chosen on the lower limit side of the image of product, then calculate the coordinate of this 20 points
Average value, and the coordinate using the average value as a datum mark, if putting two on the basis of the datum mark;
C) calculate the distance that datum mark one arrives datum mark two, and the testing result using the distance as thickness, and with it is pre-
The standard thickness value first set is compared and analyzes.
(3) when the project detected is the inner circle size of product, its algorithm is as follows:
A) according to the size detection specification demands of product, a ROI frame is established on the image of product;
B) calculated according to the image of product and adjust the size of ROI frames, form a sizeable circular field of search;
C) take up an official post on the side of the field of search and take three points, according to 3 points of formula for asking the center of circle, i.e. (x-a)2+(y-b)2=r2Meter
Calculate the central coordinate of circle and radius size of the circle, and using round central coordinate of circle and radius size this as testing result.
High-precision size detecting method in the present invention combines traditional imaging device, and being assembled into one kind can be with automatic measurement
The equipment of the parameters such as precision, thickness or the interior diameter size of product, and corresponding algorithm is designed, it is achieved thereby that product size
The automation of measurement, on the one hand, add the speed of size detection, and reduce labor intensity, save manpower and materials, improve
Production efficiency;On the other hand, the precision of size detection and the stability of product quality are improved, meeting will to product size
Seek the demand of the accurate industry of comparison.
Above-described is only some embodiments of the present invention.For those of ordinary skill in the art, not
On the premise of departing from the invention design, various modifications and improvements can be made, these belong to the protection model of the present invention
Enclose.
Claims (9)
- A kind of 1. high accuracy size detecting method, it is characterised in that:Comprise the following steps:A) product to be detected is placed on a base (1);B) a camera (2) is placed in one end of the product, the camera (2) is connected with a computer;C) light source (3), the product, the camera (2) and the light source are placed in the opposite other end of the product (3) on same horizontal line;D) light source (3) is opened, then shoots the image of the product using the camera (2), and by image transmitting to counting Calculation machine;E) testing result is calculated according to the corresponding algorithm of items selection that the product is detected using computer;F) margin of tolerance of a standard value and a permission is set, and testing result and standard value are contrasted, judges it Whether error is to show " OK " and testing result on computers in the margin of tolerance of permission, is not then on computers Show " NG " and testing result.
- A kind of 2. high-precision size detecting method according to claim 1, it is characterised in that:When the project detected is institute When stating the precision of product, its algorithm is as follows:A) face is chosen on the image of the product as datum level;B) from datum level it is any appoint take two sides, and ten points are arbitrarily taken from each edge, then calculate 20 points Coordinate of the average value of coordinate as a datum mark;C) three points are arbitrarily chosen on datum level, calculate the central coordinate of circle of the circle where 3 points;D) datum mark is calculated to the distance in the center of circle, and as testing result.
- A kind of 3. high-precision size detecting method according to claim 1, it is characterised in that:When the project detected is institute When stating the thickness of product, its algorithm is as follows:A) 20 points are arbitrarily chosen on the upper limit side of the image of the product, then calculate 20 points coordinate it is flat Average and as the coordinate of a datum mark one;B) 20 points are arbitrarily chosen on the lower limit side of the image of the product, then calculate 20 points coordinate it is flat Average and as the coordinate of a datum mark two;C) distance that datum mark one arrives datum mark two is calculated, and as testing result.
- A kind of 4. high-precision size detecting method according to claim 1, it is characterised in that:When the project detected is institute When stating the inner circle size of product, its algorithm is as follows:A) a ROI frame is established on the image of the product;B) calculated according to the image of the product and adjust the size of ROI frames, form a circular field of search;C) take up an official post on the side of the field of search and take three points, calculate the central coordinate of circle and radius of the circle where 3 points, and as Testing result.
- A kind of 5. high-precision size detecting method according to claim 1, it is characterised in that:The product is placed on one On articles holding table (11), the articles holding table (11) is fixed on the base (1).
- A kind of 6. high-precision size detecting method according to claim 5, it is characterised in that:The top of the articles holding table (11) Portion is provided with a stent (12).
- A kind of 7. high-precision size detecting method according to claim 1, it is characterised in that:Installed on the camera (2) There is a camera lens (21).
- A kind of 8. high-precision size detecting method according to claim 1, it is characterised in that:The camera (2) is installed on On one camera-shooting table (22), the camera-shooting table (22) is installed on the base (1).
- A kind of 9. high-precision size detecting method according to claim 1, it is characterised in that:The light source (3) is installed on On one piece of fixed plate (31), the fixed plate (31) is fixed on the edge of the bottom plate (1).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711277330.5A CN108036721A (en) | 2017-12-06 | 2017-12-06 | A kind of high accuracy size detecting method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711277330.5A CN108036721A (en) | 2017-12-06 | 2017-12-06 | A kind of high accuracy size detecting method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108036721A true CN108036721A (en) | 2018-05-15 |
Family
ID=62095533
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711277330.5A Pending CN108036721A (en) | 2017-12-06 | 2017-12-06 | A kind of high accuracy size detecting method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108036721A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6052189A (en) * | 1996-12-16 | 2000-04-18 | Fujitsu Limited | Height measurement device and height measurement method |
CN102374997A (en) * | 2010-08-25 | 2012-03-14 | 中国印钞造币总公司 | High-precision detection device of coin surface quality based on vision system |
CN106705884A (en) * | 2017-01-06 | 2017-05-24 | 深圳市博视科技有限公司 | Product dimension detection method |
CN107131829A (en) * | 2017-06-14 | 2017-09-05 | 九牧厨卫股份有限公司 | A kind of dimensional tolerance detection means and dimensional tolerance detection method |
CN107339946A (en) * | 2016-12-24 | 2017-11-10 | 重庆都英科技有限公司 | A kind of gunlock chaeta base size detecting system |
-
2017
- 2017-12-06 CN CN201711277330.5A patent/CN108036721A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6052189A (en) * | 1996-12-16 | 2000-04-18 | Fujitsu Limited | Height measurement device and height measurement method |
CN102374997A (en) * | 2010-08-25 | 2012-03-14 | 中国印钞造币总公司 | High-precision detection device of coin surface quality based on vision system |
CN107339946A (en) * | 2016-12-24 | 2017-11-10 | 重庆都英科技有限公司 | A kind of gunlock chaeta base size detecting system |
CN106705884A (en) * | 2017-01-06 | 2017-05-24 | 深圳市博视科技有限公司 | Product dimension detection method |
CN107131829A (en) * | 2017-06-14 | 2017-09-05 | 九牧厨卫股份有限公司 | A kind of dimensional tolerance detection means and dimensional tolerance detection method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108760765A (en) | A kind of surface damage defect detecting device and method based on the shooting of side view camera | |
CN103363928B (en) | For detecting the method and apparatus of pcb board part planarization | |
CN207472144U (en) | A kind of steel straight ruler verification device based on image processing techniques | |
CN106017350A (en) | Machine-vision-based rapid detection device and detection method for medium and small module gears | |
CN204439022U (en) | A kind of capture mechanism and apply the automatic measuring equipment of this capture mechanism | |
CN205880675U (en) | Three -coordinate measuring machine part measuring uses quick aligning device | |
CN207263130U (en) | A kind of one-touch 3D profile measurements equipment | |
CN105527791A (en) | Large-field-angle focusing test machine | |
CN103424088A (en) | Chamfer testing method and chamfer measuring instrument | |
CN103954241A (en) | IC pin coplanarity measuring system and measuring method based on structured light | |
CN205642299U (en) | Full -automatic keyboard button height finding machine | |
CN108036721A (en) | A kind of high accuracy size detecting method | |
CN107328331B (en) | Distributed steel ruler calibrating device and method based on vision | |
CN109737989A (en) | The angle electronic level i testing calibration device and detection method | |
CN205482787U (en) | Automatic light source adjusting device | |
CN109406348A (en) | A kind of three-dimensional corner angle detection system and detection method | |
CN205607335U (en) | Glass outer tube automated inspection equipment | |
CN106855398A (en) | The measuring method and device of the acquisition methods and contact angle of basic point and baseline | |
CN205655799U (en) | Metal sheet surface detection device that can adjusting position | |
CN207675139U (en) | One-touch 3D profile measurers | |
CN206095153U (en) | Measuring equipment of two -sided figure position relative deviation | |
CN206430695U (en) | Product image sensing detection device | |
CN209279923U (en) | A kind of non-contact plane degree measuring device | |
CN208921641U (en) | A kind of wafer detection equipment | |
CN203364760U (en) | Direct insertion type electronic component pin detecting machine |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180515 |