CN109886949B - Straight spur gear multi-parameter evaluation method based on machine vision - Google Patents
Straight spur gear multi-parameter evaluation method based on machine vision Download PDFInfo
- Publication number
- CN109886949B CN109886949B CN201910133018.1A CN201910133018A CN109886949B CN 109886949 B CN109886949 B CN 109886949B CN 201910133018 A CN201910133018 A CN 201910133018A CN 109886949 B CN109886949 B CN 109886949B
- Authority
- CN
- China
- Prior art keywords
- tooth
- profile
- spur gear
- edge
- array
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Image Analysis (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
The invention discloses a straight spur gear multi-parameter evaluation method based on machine vision, which comprises the following steps: obtaining Z tooth straight-tooth cylindrical gear profile through image processing, obtaining accurate profile of the straight-tooth cylindrical gear and center coordinates of a shaft hole of the straight-tooth cylindrical gear by adopting function programming in a virtual instrument LabVIEW, making a detection line at every other degree to obtain 360 tooth profile edge point information, solving distances from tooth profiles to the center of the shaft hole to form arrays, wherein the average value of the front Z values in ascending order arrangement of the arrays is the diameter of an addendum circle, the average value of the rear Z values is the diameter of a dedendum circle, finding out the same-side edge points of each tooth profile and a reference circle to obtain intersection point coordinates of Z same-side tooth profiles, and calculating through a formula to obtain single tooth pitch deviation fptThe invention has the advantages that: the interface is friendly, the functions are easy to expand, the operation is convenient and visual, and the detection efficiency and the detection precision can be improved.
Description
Technical Field
The invention relates to the technical field of a multi-parameter evaluation method of a straight spur gear, in particular to a multi-parameter evaluation method of a straight spur gear based on machine vision.
Background
The traditional gear parameter inspection method is contact type inspection, the method is time-consuming and single in inspection parameter, different parameters need to be measured by different inspection tools, the workload is high, and the technical requirements on measurement personnel are high. In order to overcome the defects, a virtual instrument technology, an image processing technology and a machine vision technology are combined, LabVIEW software is used as a development platform, multi-parameter detection is carried out on the spur gear, the detection efficiency and the detection precision are improved, and the method has practical application value.
Disclosure of Invention
In order to solve the technical problem, the invention provides a straight spur gear multi-parameter evaluation method based on machine vision. The assessment method has the advantages of friendly interface, visualization, easy expansion, high efficiency and convenient operation; the collected data can be automatically stored and replayed, and the parameters of the straight toothed spur gear can be visually evaluated.
The invention adopts the following technical scheme: a straight spur gear multi-parameter evaluation method based on machine vision is characterized by comprising the following steps:
the method comprises the following steps: obtaining high-quality shot pictures by a camera arranged on a workbench, storing the collected images in a computer, reading the stored images during evaluation, obtaining a straight toothed spur gear profile with Z teeth in total by image processing, selecting a straight toothed spur gear shaft hole profile annular area as the straight toothed spur gear profile is not in an ideal state profile, making a centripetal detection line every other degree from outside to inside, taking the intersection point of the detection lines and the images as a straight toothed spur gear shaft hole edge detection point, selecting an edge intensity threshold value, removing a grooved part in the images to obtain K straight toothed spur gear shaft hole edge detection points except key grooves to form an array, performing least square method circle fitting on the K edge detection points to obtain the circle center coordinates and the radius values of the straight toothed spur gear shaft hole, wherein the functions can be realized by a function in a virtual instrument LabVIEW, after the central coordinates of the shaft hole are obtained, translating the straight-tooth cylindrical gear to the center of the image by using an IMAQ Shift image translation function in LabVIEW;
step two: selecting a tooth profile annular area, making a detection line every other one degree to obtain 360 tooth profile edge point information, obtaining tooth profile edge point coordinates through a function in a virtual instrument LabVIEW, and solving the distance between the 360 tooth profile edge points and the axle hole center coordinates to obtain an array m1[360 ] for accurate evaluation because the axle hole center is the reference of a straight-tooth cylindrical gear]The array m1[360 ]]The array m2 is obtained by sorting from big to small (360)]Number group m2[360 ]]The average value of the previous Z data is used as the radius r of the addendum circleaDiameter d of addendum circleaIs 2raThen, the array m2[360 ]]The array m3[360 ] is obtained by sorting from small to large]Number group m3[360 ]]The mean value of the preceding Z data is taken as the root circle radius rfRoot diameter dfIs 2rf;
Step three: deviation f of individual tooth pitchptThe evaluation method is that the radius of the reference circle can be obtained by the formula r ═ mz/2, the center of the shaft hole is used as the center of the circle, and the radius r of the reference circle is used as the reference circle, becauseThe edge is the boundary of a region with violently changed gray in an image, the gray of the intersection point of each tooth profile and a reference circle is changed, LabVIEW function IMAQ ROIProfile function is used for obtaining the information of the edge, IMAQ single edge function is accessed, all edge point information on a reference circle detection line is detected, each tooth thickness left side tooth profile and the reference circle are provided with two points a1 and b1, each tooth thickness right side tooth profile and the reference circle are provided with two points c1 and d1, each Z tooth has 4Z points which are intersected with the reference circle, and for accurate evaluation, an array intercepting method is used for obtaining the edge point information a of the Z tooth profiles on the same side1(x1,y1),a2(x2,y2)......,az(xz,yz) The radius r of the reference circle is known, and two adjacent points a1(x1,y1),a2(x2,y2) The length of the reference circle minor arc is tooth pitch rho, a formula (1) is calculated, a formula (2) is deduced according to the relation of trigonometric functions, and the data of the total measured Z tooth pitch are stored into an array a [ Z ] Z]Sequentially subtracting the theoretical pitch pi m, and taking the maximum difference as a single pitch deviation fpt;
ρ=θ*r........................................(1)
Compared with the prior art, the invention has the advantages that: the multi-parameter addendum circle diameter, dedendum circle diameter and tooth pitch of the straight-tooth cylindrical gear are evaluated, the interface is friendly, the function is easy to expand, the operation is convenient, the visualization is realized, and the detection efficiency and the detection precision can be improved.
Drawings
FIG. 1 is a schematic view of the tooth profile edge detection annular zone of the present invention.
FIG. 2 is a schematic view of the intersection of the edge of the inventive tooth profile with the pitch circle.
FIG. 3 is a single pitch deviation f of the present inventionptFigure (a).
Detailed Description
The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art, and the scope of the present invention will be more clearly and clearly defined.
Referring to fig. 1, 2 and 3, a method for evaluating multiple parameters of a spur gear based on machine vision is characterized by comprising the following steps:
the method comprises the following steps: obtaining high-quality shot pictures by a camera arranged on a workbench, storing the collected images in a computer, reading the stored images during evaluation, obtaining a straight toothed spur gear profile with Z teeth in total by image processing, selecting a straight toothed spur gear shaft hole profile annular area as the straight toothed spur gear profile is not in an ideal state profile, making a centripetal detection line every other degree from outside to inside, taking the intersection point of the detection lines and the images as a straight toothed spur gear shaft hole edge detection point, selecting an edge intensity threshold value, removing a grooved part in the images to obtain K straight toothed spur gear shaft hole edge detection points except key grooves to form an array, performing least square method circle fitting on the K edge detection points to obtain the circle center coordinates and the radius values of the straight toothed spur gear shaft hole, wherein the functions can be realized by a function in a virtual instrument LabVIEW, after the central coordinates of the shaft hole are obtained, translating the straight-tooth cylindrical gear to the center of the image by using an IMAQ Shift image translation function in LabVIEW;
step two: selecting a tooth profile annular area, making a detection line every other one degree to obtain 360 tooth profile edge point information, obtaining tooth profile edge point coordinates through a function in a virtual instrument LabVIEW, and solving the distance between the 360 tooth profile edge points and the axle hole center coordinates to obtain an array m1[360 ] for accurate evaluation because the axle hole center is the reference of a straight-tooth cylindrical gear]The array m1[360 ]]The array m2 is obtained by sorting from big to small (360)]Number group m2[360 ]]The average value of the previous Z data is used as the radius r of the addendum circleaDiameter d of addendum circleaIs 2raThen, the array m2[360 ]]The array m3[360 ] is obtained by sorting from small to large]Number group m3[360 ]]The mean value of the preceding Z data is taken as the root circle radius rfRoot diameter dfIs 2rf;
Step three: sheetDeviation of tooth pitch fptThe evaluation method is that the radius of the reference circle can be calculated by a formula r ═ mz/2, the center of the shaft hole is taken as the center of the shaft hole, the radius r of the reference circle is taken as the reference circle, the edge is the boundary of the area with violent change of gray level in the image, the gray level of the intersection point of each tooth profile and the reference circle is changed, the LabVIEW function IMAQ ROIProfile function is used for obtaining the information of the edge, the IMAQ simple edge function is accessed, all the edge point information on the detection line of the reference circle is detected, the left tooth profile and the reference circle of each tooth thickness have two points a1 and b1, the right tooth profile and the reference circle have two points c1 and d1, the Z teeth have 4Z points which are intersected with the reference circle, and for accurate evaluation, an array intercepting method is used for obtaining the edge point information a of the tooth profiles of the Z same side1(x1,y1),a2(x2,y2)......,az(xz,yz) The radius r of the reference circle is known, and two adjacent points a1(x1,y1),a2(x2,y2) The length of the reference circle minor arc is tooth pitch rho, a formula (1) is calculated, a formula (2) is deduced according to the relation of trigonometric functions, and the data of the total measured Z tooth pitch are stored into an array a [ Z ] Z]Sequentially subtracting the theoretical pitch pi m, and taking the maximum difference as a single pitch deviation fpt;
ρ=θ*r.....................(I)
Without being limited thereto, any changes or substitutions that are not thought of through the inventive work should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope defined by the claims.
Claims (1)
1. A straight spur gear multi-parameter evaluation method based on machine vision is characterized by comprising the following steps:
the method comprises the following steps: obtaining high-quality shot pictures by a camera arranged on a workbench, storing the collected images in a computer, reading the stored images during evaluation, obtaining a straight toothed spur gear profile with Z teeth in total by image processing, selecting a straight toothed spur gear shaft hole profile annular area as the straight toothed spur gear profile is not in an ideal state profile, making a centripetal detection line every other degree from outside to inside, taking the intersection point of the detection lines and the images as a straight toothed spur gear shaft hole edge detection point, selecting an edge intensity threshold value, removing a grooved part in the images to obtain K straight toothed spur gear shaft hole edge detection points except key grooves to form an array, performing least square circle fitting on the K edge detection points to obtain a straight toothed spur gear shaft hole center coordinate and a radius value, obtaining a shaft hole center coordinate, and then using an IMAQ Shift image translation function in LabVIEW, translating the spur gear to the center of the image;
step two: selecting a tooth profile annular area, making a detection line every other one degree to obtain 360 tooth profile edge point information, obtaining tooth profile edge point coordinates through a function in a virtual instrument LabVIEW, and solving the distance between the 360 tooth profile edge points and the axle hole center coordinates to obtain an array m1[360 ] for accurate evaluation because the axle hole center is the reference of a straight-tooth cylindrical gear]The array m1[360 ]]The array m2 is obtained by sorting from big to small (360)]Number group m2[360 ]]The average value of the previous Z data is used as the radius r of the addendum circleaDiameter d of addendum circleaIs 2raThen, the array m2[360 ]]The array m3[360 ] is obtained by sorting from small to large]Number group m3[360 ]]The mean value of the preceding Z data is taken as the root circle radius rfRoot diameter dfIs 2rf;
Step three: deviation f of individual tooth pitchptThe evaluation method is that the reference circle radius can be calculated by a formula r of mz/2, the center of a shaft hole is taken as the center of the shaft hole, the reference circle radius r is taken as the reference circle, the edge is the boundary of a region with violent change of gray in an image, the gray of the intersection point of each tooth profile and the reference circle is changed, the LabVIEW function IMAQ ROIProfile function is used for obtaining the information of the edge, the IMAQ single edge function is accessed, all the edge point information on the detection line of the reference circle is detected, the left tooth profile of each tooth thickness and the reference circle have two points a1 and b1, the right tooth profile of the tooth thickness and the reference circle have two points c1 and d1,the Z teeth have 4Z points which are intersected with the reference circle, and for accurate evaluation, the edge point coordinates a of Z homonymous tooth profiles are obtained by using an index array function in LabVIEW by using an array intercepting method1(x1,y1),a2(x2,y2)......,az(xz,yz) The radius r of the reference circle is known, and two adjacent points ai-1(xi-1,yi-1),ai(xi,yi) The minor arc length of the reference circle is pitch piI is 1 … … Z, formula (2) is derived from the relation of trigonometric functions according to formula (1), and the total measured Z tooth pitch data is stored in the array a [ Z]Sequentially subtracting the theoretical tooth pitch pi m, wherein m is a modulus, and taking the maximum difference as a single tooth pitch deviation fpt;
pi=θi*r....................(1)
Wherein in the formula (1) thetaiIs two adjacent points ai-1(xi-1,yi-1),ai(xi,yi) Line 0a connecting with axle hole center 0i-1、0aiThe included angle of (a).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910133018.1A CN109886949B (en) | 2019-02-22 | 2019-02-22 | Straight spur gear multi-parameter evaluation method based on machine vision |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910133018.1A CN109886949B (en) | 2019-02-22 | 2019-02-22 | Straight spur gear multi-parameter evaluation method based on machine vision |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109886949A CN109886949A (en) | 2019-06-14 |
CN109886949B true CN109886949B (en) | 2021-05-11 |
Family
ID=66928920
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910133018.1A Expired - Fee Related CN109886949B (en) | 2019-02-22 | 2019-02-22 | Straight spur gear multi-parameter evaluation method based on machine vision |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109886949B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115035107B (en) * | 2022-08-10 | 2022-11-08 | 山东正阳机械股份有限公司 | Axle gear working error detection method based on image processing |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101025384A (en) * | 2006-02-18 | 2007-08-29 | 山东理工大学 | Tooth-face contact-area quantized testing method |
CN101339017A (en) * | 2007-07-02 | 2009-01-07 | 深圳智泰精密仪器有限公司 | Gear base tangent length, normal pitch and deviation measurement method and system |
CN101339009A (en) * | 2007-07-02 | 2009-01-07 | 深圳智泰精密仪器有限公司 | Gear cylinder or ball measurement method and system |
CN103616179A (en) * | 2013-12-05 | 2014-03-05 | 广西大学 | Transmission gear fatigue life assessment method based on defect modeling |
CN105737732A (en) * | 2016-02-26 | 2016-07-06 | 南昌航空大学 | Planeness error minimum area evaluation method based on LabVIEW |
CN106017350A (en) * | 2016-07-05 | 2016-10-12 | 沈阳工业大学 | Machine-vision-based rapid detection device and detection method for medium and small module gears |
CN106524934A (en) * | 2016-11-11 | 2017-03-22 | 北京工业大学 | High-precision small modulus gear vision measurement method |
CN109118476A (en) * | 2018-07-11 | 2019-01-01 | 华南理工大学广州学院 | A kind of components edge contour integrality detection method and device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101799431B (en) * | 2010-04-08 | 2012-01-04 | 湖南大学 | Machine visual on-line detection method and equipment for tank cover quality in high-speed production line |
CN103712567B (en) * | 2013-05-27 | 2016-04-06 | 北京理工大学 | Small module arc gear non-contact optical fine measurement method |
DE102017103951A1 (en) * | 2017-02-24 | 2018-08-30 | Volume Graphics Gmbh | Method and device for multiple edge detection |
CN108050946B (en) * | 2017-11-30 | 2019-07-16 | 北京工业大学 | A kind of gear tooth thickness measurement method based on line-structured light |
-
2019
- 2019-02-22 CN CN201910133018.1A patent/CN109886949B/en not_active Expired - Fee Related
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101025384A (en) * | 2006-02-18 | 2007-08-29 | 山东理工大学 | Tooth-face contact-area quantized testing method |
CN101339017A (en) * | 2007-07-02 | 2009-01-07 | 深圳智泰精密仪器有限公司 | Gear base tangent length, normal pitch and deviation measurement method and system |
CN101339009A (en) * | 2007-07-02 | 2009-01-07 | 深圳智泰精密仪器有限公司 | Gear cylinder or ball measurement method and system |
CN103616179A (en) * | 2013-12-05 | 2014-03-05 | 广西大学 | Transmission gear fatigue life assessment method based on defect modeling |
CN105737732A (en) * | 2016-02-26 | 2016-07-06 | 南昌航空大学 | Planeness error minimum area evaluation method based on LabVIEW |
CN106017350A (en) * | 2016-07-05 | 2016-10-12 | 沈阳工业大学 | Machine-vision-based rapid detection device and detection method for medium and small module gears |
CN106524934A (en) * | 2016-11-11 | 2017-03-22 | 北京工业大学 | High-precision small modulus gear vision measurement method |
CN109118476A (en) * | 2018-07-11 | 2019-01-01 | 华南理工大学广州学院 | A kind of components edge contour integrality detection method and device |
Non-Patent Citations (2)
Title |
---|
Comparative analysis of Edge detection methods for 3D-Common Carotid Artery Image using LabVIEW;Hemalatha.R 等;《ICEDSS 2018》;20181129;第106-109页 * |
圆度误差可视化评定系统的研究;万文 等;《南昌航空大学学报:自然科学版》;20140630;第28卷(第2期);第105-108页 * |
Also Published As
Publication number | Publication date |
---|---|
CN109886949A (en) | 2019-06-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111750789B (en) | Tooth pitch deviation and tooth profile deviation evaluation method in small module gear vision measurement | |
Gadelmawla | Computer vision algorithms for measurement and inspection of spur gears | |
NL1041839B1 (en) | A method and apparatus increasing the accuracy of the two ball or wire measurement of pitch diameter, simple pitch diameter and virtual pitch diameter of internal and external screw threads and thread gauges. | |
CN109063326B (en) | Gear accurate modeling method considering microscopic shape correction and actual machining errors | |
CN108050949B (en) | Method for measuring three-dimensional pitch diameter and two-dimensional comprehensive parameters of threads | |
US7062352B2 (en) | Method for displaying tool locus in NC data and method for analyzing NC data | |
CN112903288B (en) | Unified characterization method for characteristic lines of three-dimensional errors of gear | |
CN112381781B (en) | Glue road defect detection method based on 3D point cloud | |
CN109886949B (en) | Straight spur gear multi-parameter evaluation method based on machine vision | |
CN101949678A (en) | Method for detecting alignment error of herringbone gear | |
CN105627935A (en) | Product material thickness three-dimensional analysis system and method | |
CN109993787B (en) | Image method thread pitch diameter solving method | |
Iñurritegui et al. | Numerical-experimental analysis of highly crowned spherical gear couplings working at high misalignment angles | |
CN108844469A (en) | A kind of method and system based on laser testing workpiece step height | |
CN110081832B (en) | Method and device for measuring structural parameters of non-transparent object through logical projection imaging | |
JPH02649B2 (en) | ||
CN105328273A (en) | Adaption grinding method for circular-arc end tooth | |
CN109887079B (en) | Spiral bevel gear three-dimensional modeling method | |
CN117132617A (en) | Gear overall error acquisition method based on continuous piecewise fitting Facet model | |
CN106767636A (en) | Using the method for the small-sized straight spur gear external diameter of three coordinate measuring engine measurement | |
CN113487180B (en) | Gear tooth surface evaluation method based on cloud platform | |
CN107392899B (en) | Automatic detection method for horizontal angle of grinding mark of steel ball grinding spot image | |
CN108108500A (en) | The measurement of profile modified gear and restorative procedure | |
CN112729206B (en) | Detection method for tooth profile of non-involute gear turning cutter | |
CN103994744B (en) | Tooth profile measuring method |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210511 |
|
CF01 | Termination of patent right due to non-payment of annual fee |