多模态数据融合驱动的野外牧场虚拟电子围栏牲畜在栏判断模型
收稿日期: 2025-05-09
修回日期: 2025-06-12
网络出版日期: 2025-12-26
基金资助
国家重点研发计划资助(2024YFD200030502)
Multimodal Data Fusion-Driven Virtual Electronic Fence Livestock Presence Judgment Model for Field Pastures
Received date: 2025-05-09
Revised date: 2025-06-12
Online published: 2025-12-26
传统的野外牧场布设的铁丝网等物理围栏不利于牲畜转场、野生动物迁徙和草原生态连通性,现有虚拟电子围栏多借助于电子地图和牲畜个体佩戴的接触式智能项圈定位,动物应激反应大、设备易脱落且数据维护成本高。融合放牧机器人采集的双目立体视觉、GPS定位和IMU三类传感器数据,构建多模态数据融合驱动的牲畜位置感知与在栏判断模型。以野外牧场自然放牧状态下的牛只为研究对象,基于高德地图API构建牧场虚拟电子围栏边界数据;采用YOLOv8s模型提取基于双目立体图像的牛只个体目标信息,利用双目立体图像的深度信息解析识别的牛只目标与放牧机器人之间的空间距离信息,进而融合放牧机器人GPS绝对定位数据和IMU位姿数据,采用扩展卡尔曼滤波算法进行牛只空间位置的地理空间坐标映射,解算机器视野下牛只定位的经纬度坐标数据;引入顶点微调策略和缓冲区预警机制,采用改进的射线法(Pnpoly算法)获取虚拟电子围栏的牛只在栏判断数据。连续采集200条牛只移动轨迹数据,在凸多边形、凹多边形与不规则边界的虚拟电子围栏场景下进行数据融合、解析与获取的实验验证,在栏判断准确率97.8%,较传统算法提升4.3%。结果表明,基于机器视觉与传感器融合的多模态数据驱动方法在野外牧场环境下具备较强适应性和工程应用价值,可为牲畜管理提供非接触式、高精度、持续稳定的虚拟电子围栏空间管理数据。
李世杰 , 孔繁涛 , 曹姗姗 , 孙伟 . 多模态数据融合驱动的野外牧场虚拟电子围栏牲畜在栏判断模型[J]. 农业大数据学报, 2025 , 7(4) : 446 -457 . DOI: 10.19788/j.issn.2096-6369.000115
Physical fences such as barbed wire laid in traditional wild pastures are not conducive to livestock transhumance, wildlife migration and grassland ecological connectivity, and the existing virtual electronic fences are mostly localized with the help of electronic maps and contact smart collars worn by individual livestock, which result in high animal stress reaction, easy to fall off the equipment and high data maintenance cost. By integrating the binocular stereo vision, GPS positioning and IMU sensor data collected by the grazing robot, we construct a multimodal data fusion-driven livestock location sensing and in-fence judgment model. Taking the cattle under the natural grazing state in the field pasture as the research object, the virtual electronic fence boundary data of the pasture is constructed based on the Gaode map API; the YOLOv8s model is used to extract the individual target information of the cattle based on the binocular stereo image, and the depth information of the binocular stereo image is used to parse the spatial distance information between the recognized cattle target and the grazing robot, which is then fused with the GPS absolute positioning data and IMU positional data of the grazing robot. Then, fusing the GPS absolute positioning data of the grazing robot and the IMU position data, the Extended Kalman Filter algorithm is used to map the geospatial coordinates of the spatial position of the cows, and the latitude and longitude coordinates of the positioning of the cows under the field of view of the machine are solved; the vertex fine-tuning strategy and buffer warning mechanism are introduced, and the improved ray method (Pnpoly algorithm) is used to get the judgment data of the cows at the fence of the virtual electronic fence. We continuously collect 200 cattle movement trajectory data, and experimentally verify the data fusion, parsing and acquisition in the virtual electronic fence scenarios of convex polygon, concave polygon and irregular boundary, and the accuracy rate of in-fence judgment is 97.8%, which is 4.3% higher than that of the traditional algorithm. The results show that the multimodal data-driven method based on the fusion of machine vision and sensors has strong adaptability and engineering application value in the field ranch environment, and can provide non-contact, high-precision, continuous and stable virtual electronic fence spatial management data for livestock management.
| [1] | MONTEIRO A, SANTOS S, GON?ALVES P. Precision agriculture for crop and livestock farming—Brief review. Animals, 2021, 11(8): 2345. |
| [2] | TEAGUE R, BARNES M. Grazing management that regenerates ecosystem function and grazingland livelihoods. African Journal of Range & Forage Science, 2017, 34(2): 77-86. |
| [3] | UMSTATTER C. The evolution of virtual fences: A review. Computers and Electronics in Agriculture, 2011, 75(1): 10-22. |
| [4] | ANDERSON D M. Virtual fencing-past, present and future1. The Rangeland Journal, 2007, 29(1): 65-78. |
| [5] | MUMINOV A, NA D, LEE C W, et al. Monitoring and controlling behaviors of livestock using virtual fences. Journal of Theoretical and Applied Information Technology, 2019, 97(18): 1-12. |
| [6] | LEE M, SEO S. Wearable wireless biosensor technology for monitoring cattle: A review. Animals, 2021, 11(10): 2779. |
| [7] | RUIZ-GARCIA L, LUNADEI L. The role of RFID in agriculture: Applications, limitations and challenges. Computers and Electronics in Agriculture, 2011, 79(1): 42-50. |
| [8] | REGER M, STUMPENHAUSEN J, BERNHARDT H. Evaluation of LiDAR for the free navigation in agriculture. AgriEngineering, 2022, 4(2): 489-506. |
| [9] | NEETHIRAJAN S. Transforming the adaptation physiology of farm animals through sensors. Animals, 2020, 10(9): 1512. |
| [10] | JACHOWSKI D S, SLOTOW R, MILLSPAUGH J J. Good virtual fences make good neighbors: opportunities for conservation. Animal Conservation, 2014, 17(3): 187-196. |
| [11] | AWAD A I. From classical methods to animal biometrics: A review on cattle identification and tracking. Computers and Electronics in Agriculture, 2016, 123: 423-435. |
| [12] | NYAMURYEKUNG’E S, COX A, PEREA A, et al. Behavioral adaptations of nursing brangus cows to virtual fencing: insights from a training deployment phase. Animals, 2023, 13(22): 3558. |
| [13] | SWAIN D L, FRIEND M A, BISHOP-HURLEY G J, et al. Tracking livestock using global positioning systems-are we still lost?. Animal Production Science, 2011, 51(3): 167-175. |
| [14] | HUANG C W, SHIH T Y. On the complexity of point-in-polygon algorithms. Computers & Geosciences, 1997, 23(1): 109-118. |
| [15] | SAWALL M, NEYMEYR K. A ray casting method for the computation of the area of feasible solutions for multicomponent systems: Theory, applications and FACPACK-implementation. Analytica Chimica Acta, 2017, 960: 40-52. |
| [16] | YU D, HE L, YE F, et al. Unsupervised ground filtering of airborne- based 3D meshes using a robust cloth simulation. International Journal of Applied Earth Observation and Geoinformation, 2022, 111: 102830. |
| [17] | JIA Z S, CHEN D Y, WANG B. Research on improved ray casting algorithm and its application in three‐dimensional reconstruction. Shock and Vibration, 2021, 2021(1): 8718523. |
| [18] | MEISTER D, OGAKI S, BENTHIN C, et al. A survey on bounding volume hierarchies for ray tracing[C]// Computer Graphics Forum. 2021, 40(2): 683-712. |
| [19] | HORMANN K, AGATHOS A. The point in polygon problem for arbitrary polygons. Computational Geometry, 2001, 20(3): 131-144. |
| [20] | VERSLUIJS E, TOFASTRUD M, HESSLE A, et al. Virtual fencing in remote boreal forests: performance of commercially available GPS collars for free-ranging cattle. Animal Biotelemetry, 2024, 12(1): 33. |
| [21] | RANACHER P, BRUNAUER R, TRUTSCHNIG W, et al. Why GPS makes distances bigger than they are. International Journal of Geographical Information Science, 2016, 30(2): 316-333. |
| [22] | GERHARDT A, La MANNA F, REUTER R. A pilot study: Training cattle to virtual fence management in groups. Rangelands, 2025, 47(1): 34-40. |
| [23] | BRENNAN J, JOHNSON P, OLSON K. Classifying season long livestock grazing behavior with the use of a low-cost GPS and accelerometer. Computers and Electronics in Agriculture, 2021, 181: 105957. |
| [24] | SUN W, CHEN L, HU B, et al. Binocular vision-based position determination algorithm and system[C]// 2012 International Conference on Computer Distributed Control and Intelligent Environmental Monitoring. IEEE, 2012: 170-173. |
| [25] | El MORR C, JAMMAL M, ALI-HASSAN H, et al. Data preprocessing[M]// Machine learning for practical decision making :a multidisciplinary perspective with applications from healthcare, engineering and business analytics. Cham: Springer International Publishing, 2022: 117-163. |
| [26] | DHAWAS P, DHORE A, BHAGAT D, et al. Big data preprocessing, techniques, integration, transformation, normalisation, cleaning, discretization, and binning[M]// Big Data Analytics Techniques for Market Intelligence. IGI Global Scientific Publishing, 2024: 159-182. |
| [27] | GANSKOPP D C, JOHNSON D D. GPS error in studies addressing animal movements and activities. Rangeland Ecology & Management, 2007, 60(4): 350-358. |
| [28] | SINGH D, SINGH R, GEHLOT A, et al. An imperative role of digitalization in monitoring cattle health for sustainability. Electronics, 2022, 11(17): 2702. |
| [29] | LIU J, YANG D, ZHANG K, et al. Anomaly and change point detection for time series with concept drift. World Wide Web, 2023, 26(5): 3229-3252. |
| [30] | LAASS M. Point in polygon tests using hardware accelerated ray tracing[C]// Proceedings of the 29th International Conference on Advances in Geographic Information Systems. 2021: 666-667. |
| [31] | MUSINSKA J, SKALICKOVA S, NEVRKLA P, et al. Unlocking potential, facing challenges: A review evaluating virtual fencing for sustainable cattle management. Livestock Science, 2025: 105693. |
/
| 〈 |
|
〉 |