牛智有,于重洋,田敏,等. 饲料原料种类在线识别系统设计与试验[J]. 农业工程学报,2024,40(7):309-316. DOI: 10.11975/j.issn.1002-6819.202309112
    引用本文: 牛智有,于重洋,田敏,等. 饲料原料种类在线识别系统设计与试验[J]. 农业工程学报,2024,40(7):309-316. DOI: 10.11975/j.issn.1002-6819.202309112
    NIU Zhiyou, YU Chongyang, TIAN Min, et al. Design and experiment of an online identification system for feedstuffs [J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2024, 40(7): 309-316. DOI: 10.11975/j.issn.1002-6819.202309112
    Citation: NIU Zhiyou, YU Chongyang, TIAN Min, et al. Design and experiment of an online identification system for feedstuffs [J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2024, 40(7): 309-316. DOI: 10.11975/j.issn.1002-6819.202309112

    饲料原料种类在线识别系统设计与试验

    Design and experiment of an online identification system for feedstuffs

    • 摘要: 入仓原料种类识别是饲料生产过程中的关键环节之一。目前,入仓原料主要通过人工取样的方式,依靠工人感官经验识别原料种类,以确保原料正确入仓。为了实现饲料原料种类在线自动取样和识别,提高饲料加工的自动化水平,该研究设计了一种多通道饲料原料自动取样装置,应用机器视觉技术,搭建了原料种类在线识别系统。该系统主要由取样单元、样品输送单元、图像采集单元等组成;采用Arduino Uno为系统控制核心,设计了控制流程和控制线路;在Arduino IDE开发环境下编写了控制程序;运用卷积神经网络的方法构建了饲料原料种类识别模型CAM-ResNet18;基于PyQt5环境开发了饲料原料种类在线识别系统软件,包括上位机人机交互软件系统和下位机自控控制系统。上位机系统软件通过串口与下位机控制器通讯,实现对饲料原料种类在线取样识别装置的自动控制。通过模型嵌入和系统集成,对系统的基本功能、识别准确率和识别时间进行测试。饲料原料种类在线识别系统运行正常可靠,实现了饲料原料入仓过程中的自动取样、图像采集、种类识别、结果反馈、一键报警的全环节智能操作。系统性能测试中,饲料原料种类识别准确率为98%,取样识别周期为10.13 s。研究结果表明开发的饲料原料种类在线识别系统可以实现入仓饲料原料在线取样和种类识别功能,为饲料加工中饲料原料种类的自动识别提供了新的方法和技术支撑。

       

      Abstract: Feedstuffs can often be classified and then stored to enter the silo in feed processing. An accurate and rapid identification of the feedstuffs has been one of the most important steps at present. However, manual detection cannot fully meet the large-scale production of incoming feedstuffs in realtime. Timely feedback is also required for high efficiency, low intensity, and cost saving. This study aims to realize online sampling and identification of feedstuffs for the high automation level of feed processing. A multi-channel sampling device was designed for feedstuffs. An online identification system was also developed using machine vision. Three units were then divided into sampling, sample conveying, and image acquisition. The structural parameters were determined for the automatic sampler, conveying, and image acquisition device, such as the sampler installation angle of 60°, sampling time of 3 s, and conveyor belt conveying speed of 9cm/s, according to the actual production. The online identification software was developed for feedstuffs using a PyQt5 environment, including an upper computer human-computer interaction software and a lower computer automatic control system. Among them, each function was divided into independent modules to facilitate the maintenance of functional programs, such as command sending, real-time image display, image processing and identification. Arduino Uno was selected as the system control core in the lower computer control system, in order to design the control process and circuit. The control programs were written in the development environment of Arduino IDE. At the same time, secondary development was carried out on the industrial camera to realize the real-time control of industrial camera using soft triggering. The upper computer software then communicated with the lower computer controller via the serial port, in order to obtain the automatic control of the online sampling and identification device. The CAM-ResNet18 model was constructed to identify the types of feedstuffs using convolutional neural networks (CNN).Experimental results showed that the identification accuracy of the model reached 99.4% in the test set, while the recall rate, F1 value, and specificity were 99.4%, 99.4%, and 99.9%, respectively. The model performed excellently to identify the feedstuffs. The basic functions, identification accuracy and time were tested after the model was embedded in system integration. The system ran normally and reliably on the intelligent operation, including automatic sampling, image acquisition, type identification, feedback, and one-click alarm, when feedstuffs entered the silo. The system performance test showed that the identification accuracy of feedstuffs was 98%, with an accuracy of 100% for eight feedstuffs, including rice, soybean meal, bran, flour, cottonseed meal, puffed corn, fish meal, and corn. The identification accuracies of peanut meal and wheat were 90%. The image processing can be further optimized to improve the identification accuracy of individual feedstuffs, such as peanut meal and wheat. The online sampling and identification time was 10.13 s. The online identification system can fully meet the requirements of online sampling and identification for the incoming feedstuffs. The finding can also provide promising technical support for the automatic identification of feedstuffs in feed processing.

       

    /

    返回文章
    返回