欢迎访问林业科学,今天是

林业科学 ›› 2025, Vol. 61 ›› Issue (8): 11-24.doi: 10.11707/j.1001-7488.LYKX20240430

• 专题:林业机械化作业装备 • 上一篇    下一篇

基于可编程逻辑控制器的核桃振动采收控制系统设计与仿真

茹煜1,2,*(),徐国鹏1,范高鸣1,李秋洁1,易永魁1,丁莉1,周宏平1,2   

  1. 1. 南京林业大学机械电子工程学院 南京 210037
    2. 南京林业大学林业资源高效加工利用协同创新中心 南京 210037
  • 收稿日期:2024-07-11 出版日期:2025-08-25 发布日期:2025-09-02
  • 通讯作者: 茹煜 E-mail:superchry@163.com
  • 基金资助:
    “十四五”国家重点研发计划项目“核桃、枸杞采收技术装备研发”(2022YFD2202105-4)。

Design and Simulation of Walnut Vibration Harvesting Control System Based on PLC

Yu Ru1,2,*(),Guopeng Xu1,Gaoming Fan1,Qiujie Li1,Yongkui Yi1,Li Ding1,Hongping Zhou1,2   

  1. 1. College of Mechanical and Electronic Engineering, Nanjing Forestry University Nanjing 210037
    2. Co-Innovation Center of Efficient Procerssing and Utilization of Forest Resources, Nanjing Forestry University Nanjing 210037
  • Received:2024-07-11 Online:2025-08-25 Published:2025-09-02
  • Contact: Yu Ru E-mail:superchry@163.com

摘要:

目的: 为解决传统核桃人工采收方式存在的采收难度大、效率低、成本高等问题,根据我国核桃种植区域向标准化果园发展的趋势,设计基于可编程逻辑控制器(PLC)的核桃振动采收控制系统,并通过仿真试验验证该系统的可行性,以提高核桃振动采收自动化水平,降低人工采收难度,提高采收效率。方法: 基于激光雷达采集树干点云,在Visual Studio 2017环境下对数据进行预处理,分割出最佳点云强度处的树干信息,采用最小二乘圆拟合方法提取树干直径;应用MATLAB软件设计模糊PID控制器,利用Simulink搭建系统框图找出控制器的最优参数,提高核桃振动采收控制系统的可行性;运用TIA Portal软件设计PLC程序,实现振动臂伸缩功能、夹持功能以及振动功能;使用组态王软件设计人机界面,通过以太网实现PLC与人机界面通讯,实现系统运行后的实时监控;通过仿真和实物试验对核桃振动采收控制系统的可行性进行验证。结果: 应用MATLAB软件得出控制器的最优参数分别为Kp=7.682、Ki=5.675、Kd=1.675。不同移动距离、树干直径的夹持力和振动频率仿真验证结果显示,在伸缩距离为20~100 cm时,误差为0.02%~0.15%;树干直径为15~20 cm时,夹持力误差稳定在1.20%~2.72%;振动频率误差为0.67%~3.00%。通过实机采收验证,控制系统能够准确控制振动臂进行移动、夹持和振动,采净率均在81%以上,且采收效率达到人工采收的7倍以上。结论: 本研究提出并设计一款基于PLC的核桃振动采收控制系统,通过仿真试验验证了系统的可行性。该振动采收控制系统适用于标准果园内的核桃采收,为核桃振动采收智能化提供了科学依据和实际指导,有效提高了核桃采收效率。

关键词: 控制系统, 振动采收, 树干识别, 可编程逻辑控制器

Abstract:

Objective: To solve the problems of difficult harvesting, low efficiency, and high cost existing in the traditional manual harvesting method of walnuts. According to the development trend of walnut planting areas in China towards standardized orchards, a walnut vibration harvesting control system based onprogrammable logic controller (PLC) is designed. And the feasibility of the walnut vibration harvesting control system is verified through simulation tests, so as to improve the automation level of walnut vibration harvesting, reduce the difficulty of manual harvesting, and increase the harvesting efficiency. Method: The trunk point cloud is collected by a LiDAR. The data is preprocessed in the Visual Studio 2017 environment, and the trunk information at the optimal point cloud intensity is segmented. The trunk diameter is extracted by using the least square circle fitting method. A fuzzy PID controller is designed by applying the MATLAB software. The system block diagram is built by Simulink to find the optimal parameters of the controller, so as to improve the feasibility of the walnut vibration harvesting control system. The PLC program is designed by using the TIA Portal software to realize the functions of the telescopic vibration arm, clamping function, and vibration function. The human-machine interface is designed by using the Kingview software, and the communication between the PLC and the human-machine interface is realized through ethernet to achieve real-time monitoring after the system runs. The feasibility of the walnut vibration harvesting control system is verified through simulation and physical experiments. Result: By applying the MATLAB software, the optimal parameters of the controller are obtained as Kp = 7.682, Ki = 5.675, and Kd = 1.675. The simulation verification results of the clamping force and vibration frequency under different moving distances and trunk diameters show that when the telescopic distance is between 20 and 100 cm, the error is between 0.02% and 0.15%; when the trunk diameter is between 15 and 20 cm, the clamping force error is stable between 1.20% and 2.72%; and the vibration frequency error is between 0.67% and 3.00%. Through the verification of actual harvesting, the control system can accurately control the movement, clamping, and vibration of the vibration arm. The harvesting efficiency is more than 7 times that of manual harvesting, and the harvesting completion rate is above 81%. Conclusion: In this study, a walnut vibration harvesting control system based on PLC is proposed and designed, and the feasibility of the system is verified through simulation tests. This vibration harvesting control system is suitable for walnut harvesting in standardized orchards, provides a scientific basis and practical guidance for the intelligentization of walnut vibration harvesting, and effectively improves the walnut harvesting efficiency.

Key words: control system, vibrating harvesting, tree trunk recognition, programmable logic controller (PLC)

中图分类号: