控制理论与应用ControlTheoryandApplications《自动化技术与应用》2023年第42卷第6期TechniquesofAutomation&Applications基于机器视觉的高速在线药粒计数分装系统设计*郝明,孙凯明,刘彤军,王刚(黑龙江省科学院智能制造研究所,黑龙江哈尔滨150090)摘要:为实现中药药粒高速计数,本文设计基于机器视觉的高速在线药粒计数分装系统,采用距离变换实现“8”字型粘连药粒分割,根据线阵相机成像特点剔除相邻两帧的药粒重复计数,实现机器视觉技术对药粒精准高速计数,结合机械和控制策略实现药粒的精准分装。从计数实验和装瓶实验结果看,系统计数精度达100%,分装精度达99.96%,具有精度高,占用空间小,适应能力强等优点,可以满足药厂对药粒分装的精度要求。关键词:机器视觉;高速计数;药粒分装中图分类号:TP273;TP391.41文献标识码:A文章编号:1003-7241(2023)06-0038-03DesignofHighSpeedGrainDispensingDeviceBasedonMachineVisionHAOMing,SUNKai-ming,LIUTong-jun,WANGGang(TheInstituteofAutomationofHeilongjiangAcademyofSciences,Harbin150090China)Abstract:InordertorealizethehighspeedcountingoftraditionalChinesemedicineparticles,thispaperdesignsahigh-speedonlineChi-nesemedicineparticlecountingandbottlingsystembasedonmachinevision.Itusesdistancetransformationtorealizethe"8"shapeadhesiveChinesemedicineparticlesegmentation,eliminatestheduplicatecountingofadjacenttwoframesofChinesemed-icineparticlesaccordingtotheimagingcharacteristicsoflineararraycamera,realizesthepreciseandhigh-speedcountingofChi-nesemedicineparticlesbymachinevisiontechnology,andrealizestheprecisesub-packagingofChinesemedicineparticlesbycombiningmechanicalandcontrolstrategies.Fromtheresultsofcountingandbottlingexperiments,thecountingaccuracyofthesystemis100%,andthebottlingaccuracyis99.96%.Ithastheadvantagesofhighaccuracy,smallspaceoccupation,andstrongadaptability,andcanmeettheprecisionrequirementsofpharmaceuticalfactoriesforChinesemedicineparticlesbottling.Keywords:machinevision;highspeedcounting;bottling*基金项目:黑龙江省科学院科学研究基金:基于机器视觉的高速药粒分装技术研究(KY2023ZN02)收稿日期:2023-01-13DOI:10.20033/j.1003-7241.(2023)06-0038-03.1引言很大一部分...