摘要
针对日益增加的生物质自动检测的需求,设计了基于CAN总线的机器视觉检测系统.该系统在CAN总线基础上,利用Visual Studio建立上位机监控界面,以单片机为控制核心从红外传感器获取实时信息进行处理,进而将信号通过CAN总线传递给上位机;上位机进行信号识别之后,将拍摄指令输送给图像设备;最后由图像设备进行图像采集,将获取的图像传输给上位机并完成储存.该系统具有实时率高、操作简单等优点,在生产线上进行生物质检测时,可解决人工检测劳动量大、检测效率低等实际问题.
Aiming at the increasing demand for automatic detection of biomass,a machine vision detection system based on CAN bus is designed by using Visual Studio to establish the upper computer monitoring interface,and,taking the single-chip microcomputer as the control core to obtain real-time information from the infrared sensor for processing,it transmits the signal to the upper computer through the CAN bus.After the upper computer performs signal recognition,the shooting instruction is sent to the image device.Finally,the image device performs image acquisition,and the acquired image is transmitted to the upper computer and stored.The system has the advantages of high real-time rate and simple operation,which solves the practical problems such as large manual labor and low detection efficiency in the detection of biomass on the production line.
引文
[1]YOSHIOKA Y,IWATA H,TABATA M,et al.Chalkiness in rice:potential for evaluation with image analysis[J].Cropence,2007,47(5):2113-2120.
[2]MEDINA W,SKURTYS O,AGUILERA J M.Study on image analysis application for identification Quinoa seeds(Chenopodium quinoa Willd)geographical provenance[J].Food Science and Technology,2010,43(2):238-246.
[3]PENG X,CHEN Y,YU W,et al.An online defects inspection method for float glass fabrication based on machine vision[J].International Journal of Advanced Manufacturing Technology,2008,39(11/12):1180-1189.
[4]BLASCO J,ALEIXOS N,ROGER J M,et al.Robotic weed control using machine vision[J].Biosystems Engineering,2002,83(2):149-157.
[5]孙进,曹肖伟,丁静,等.基于Modbus通信协议的PLC与CAN总线通讯[J].徐州工程学院学报(自然科学版),2016,31(1):77-80.
[6]刘文,戴尔晗,王勇.基于51系列单片机的无线智能温控系统设计[J].电子测试,2009(10):40-44.
[7]万其君.基于CAN总线的数据可靠性传输[J].电子设计工程,2017(24):105-108.
[8]罗安明,韩新民.现场总线技术的发展及趋势[J].机电产品开发与创新,2011,24(1):9-11.
[9]杨瑞江,于秀丽.CAN的特点及应用[J].甘肃科技,2004,20(5):64.
[10]凌云.基于机器视觉的谷物外观品质检测技术研究[D].北京:中国农业大学,2004.
[11]朱永光,孙政顺,赵南元.基于C++的视频采集程序设计及计时器的使用[J].计算机工程与应用,2002,38(24):142-143.