基于CAN总线的分布式插秧机导航控制系统设计

    Design of distributed navigation control system for rice transplanters based on controller area network

    • 摘要: 为了提高插秧机自动导航系统的可靠性,设计了一种基于CAN总线的分布式控制系统。系统由1个主控节点和3个从节点组成。主控节点采用AT91SAM9261 ARM处理器,负责根据RTK GPS数据和电子罗盘数据决策适当的控制指令;3个从节点选用C8051F040单片机,分别实现转向控制、变速控制以及插秧机具升降控制;并根据CAN2.0总线协议,制定了插秧机自动导航系统主从节点数据传输通信协议。控制系统在久保田SPU-68型插秧机上进行了道路跟踪试验和田间作业试验,结果表明,采用基于CAN总线的嵌入式分布式导航控制系统保证了数据实时传输,插秧机能够自主完成路径跟踪、转向、变速以及插秧等操作。其中道路直线跟踪误差小于0.05 m,田间作业试验直线跟踪误差不大于0.2 m,插秧行距为30 cm,能基本满足水田插秧作业要求。

       

      Abstract: A CAN-based distributed control system was developed to improve the reliability of automatic guidance for rice transplanter. This system included a master node and three slave nodes. The master node, which used AT91SAM9261 embedded CPU, utilized RTK GPS data and compass data to generate appropriate control commands. By adopting C8051F040 as the key control chip, three slave nodes realized steering control, speed control and transplanting instrument lever control, respectively. A communication protocol was presented for the distributed control network. Road tracking test and paddy field test were carried out based on SPU-68 rice transplanter. Testing results demonstrated that the system was able to transfer and receive real-time messages reliably. And the transplanter could complete all the field operations, such as tracking trajectory, automatic steering, speed changing and transplanting, etc. Road and paddy field testing results also showed that the line trajectory track errors were less than 0.05 m and 0.2 m, respectively, which basically met the requirements of rice transplanting.

       

    /

    返回文章
    返回