English

Journal of Chinese Agricultural Mechanization

Journal of Chinese Agricultural Mechanization ›› 2024, Vol. 45 ›› Issue (11): 150-158.DOI: 10.13733/j.jcam.issn.2095‑5553.2024.11.024

• Agricultural Informationization Engineering • Previous Articles     Next Articles

 Research on dynamic yak weight measurement algorithm based on GAN-BPNN

Xiao Jian1, Zhang Yu'an1, 2, Liu Junyi1, Yao Tian1, Song Rende3   

  1. 1. College of Computer Technology and Applications, Qinghai University, Xining, 810016, China; 
    2. Qinghai Province Intelligent Computing and Applications Laboratory, Qinghai University, Xining, 810016, China; 
    3. Animal Disease Prevention and Control Center, Yushu, 815000, China
  • Online:2024-11-15 Published:2024-10-31

基于GAN-BPNN的牦牛动态体重测量算法研究

肖建1,张玉安1,2,刘君毅1,姚添1,宋仁德3   

  1. 1. 青海大学计算机技术与应用学院,西宁市,810016; 2. 青海省智能计算与应用实验室,
    西宁市,810016; 3. 玉树州动物疫病预防控制中心,青海玉树,815000
  • 基金资助:
    青海省科技计划重点研发与转化(2024—NK—110);国家现代农业产业技术体系(CARS—37)

Abstract:  To address the issue of difficulties in weighing yaks, a dynamic weight measurement algorithm based on GAN and BPNN is developed by integrating IoT and AI technologies. The STM32 microcontroller is used to acquire raw pressure sensor data from 80 yaks while the yaks are walking smoothly. Subsequently, 3 000 pieces of fake data were generated using a GAN network, and regression prediction is performed using a BPNN neural network to achieve dynamic weight measurement of yaks. Under normal walking conditions, the position judgment is carried out by using the pair‑projecting infrared devices, and using these for data collection. Then, collected raw pressure data were submitted to the prediction model for regression prediction. The experimental results show that resulting in an average weighing time of approximately 4 seconds per yak and the average absolute error between the predicted and actual weights of the yaks is 0.92%. Surpassing the best accuracy (±5%) achieved by experienced technicians in weight estimation. The yak dynamic weighing algorithm based on BPNN and GAN can quickly obtain accurate and automated yak body weight data. It meets the actual application requirements, provides technical support for yak automated weighing, and has significance for achieving yak precision farming.

Key words: yak, dynamic weighing, BP neural network, generative adversarial network, predictive model

摘要: 针对牦牛体重称重难的问题,结合物联网和人工智能技术开发一种基于生成对抗网络GAN和反向传播神经网络BPNN的动态体重测量算法。在牦牛平稳行走状态下,利用STM32单片机获取80头牦牛的原始压力传感器数据。利用GAN网络生成3 000条模拟数据,并使用BPNN神经网络进行回归预测,对牦牛体重进行动态测量。在平稳行走状态下,使用对射红外装置进行位置判断,借此进行数据采集工作,并将采集的原始压力数据交由预测模型进行回归预测。试验结果表明,平均每头牛称重时间约为4 s,预测结果与牦牛真实体重的平均绝对误差为0.92%。优于经验丰富的技术人员估重的最佳精度(±5%),能够满足实际生产需求。试验采用的基于GAN生成对抗网络和BPNN神经网络构建的牦牛动态称重算法能够快速、精确、自动地获取牦牛的体重数据。符合实际应用需求,为牦牛自动化称重提供技术支持,对实现牦牛精准化养殖有着很强的现实意义。

关键词: 牦牛, 动态称重, BP神经网络, 生成对抗网络, 预测模型

CLC Number: