基金项目:2020年辽宁省大学生创新创业训练计划项目(编号:202010144025);沈阳理工大学引进高层次人才科研支持计划项目(编号:1010147000819)收稿日期:2022-05-30基于机器视觉Halcon软件的齿轮参数检测系统*李颖,段玉坤,秦浩然,朱灿灿,孙晓敏,尹笑疑(沈阳理工大学机械工程学院,沈阳110159)摘要:为了实现快速、非接触准确测量齿轮参数,利用机器视觉软件搭建齿轮视觉参数检测系统。该系统基于Halcon软件平台设计,包括软件和硬件两部分组成,首先通过标定的工业相机拍摄清晰的待测齿轮图像,再利用Halcon软件的基本视觉与图像原理处理齿轮图像,经过阈值、滤波和形态学处理等操作识别齿轮图像轮廓,进一步利用角点检测算子提取并测量齿轮的齿顶圆直径、齿根圆直径、齿数、模数、分度圆直径、齿距等各项参数。通过实验测试结果表明,该法所测量出的齿轮各项参数基本上与参考数值一致,符合无接触测量的基本要求,可以准确迅速地测量齿轮的基本参数。与传统的接触式测量方法相比,具有测量精度高,稳定性好等特点,对于非接触实时测量提供了简便有效的解决方法。关键词:机器视觉;齿轮;Halcon;非接触式;角点检测算子中图分类号:TP274文献标志码:A文章编号:1009-9492(2023)03-0188-06GearParameterDetectionSystemBasedonMachineVisionSoftwareHalconLiYing,DuanYukun,QinHaoran,ZhuCancan,SunXiaomin,YinXiaoyi(SchoolofMechanicalEngineering,ShenyangLigongUniversity,Shenyang110159,China)Abstract:Inordertomeasuregearparametersquicklyandaccuratelywithoutcontact,themachinevisionsoftwarewasusedtobuildagearvisionparameterdetectionsystem.ThesystemwasdesignedbasedonHalconsoftwareplatform,whichconsistedofsoftwareandhardware.First,aclearimageofthegeartobetestedwascapturedbyacalibratedindustrialcamera,andthenthegearimagewasprocessedusingthebasicvisionandimageprinciplesoftheHalconsoftware.Afterthreshold,filteringandmorphologicalprocessing,thegearimagecontourwasidentified.Furthermore,Angledetectionoperatorwasusedtoextractandmeasurethetoothapexcirclediameter,rootcirclediameter,toothnumber,module,indexingcirclediameter,pitchandotherparametersofgear.Theexperimentaltestresultsshowthattheparametersofthegearmeasuredbythemethodarebasicallyconsistentwithth...