检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]南京邮电大学自动化学院,江苏南京210094 [2]南京邮电大学理学院,江苏南京210094
出 处:《计算机技术与发展》2015年第4期208-212,共5页Computer Technology and Development
基 金:国家自然科学基金资助项目(61105082)
摘 要:工业控制领域通信采用CAN进行组网能够更高效地传输数据,不易受干扰,但使用CAN进行组网的门槛较高,不利于用户使用,因此设计了该款网关,隐藏CAN协议的复杂性,使用户通过串口即可访问CAN总线。网关采用基于Cortex-M3内核的STM32F103微处理器作为主控芯片,利用带环形缓冲区的DMA传输从而极大地提高了CPU利用率和RS232传输速度。文中介绍了关键部分的硬件电路设计及软件流程,并通过实验证明,该网关能够稳定高速地完成RS232与CAN网络的桥接,从而论证了该网关的高效性和可靠性。In industrial control network communications, using CAN can be able to transfer data more efficiently and reduce interference. However, the use of CAN networking is difficult for users. Therefore, the gateway is designed to hide the complexity of the CAN proto- col, allowing users to access the CAN bus via the serial port. The gateway uses the STM32F103 microcontroller based on Cortex-M3 core as the master chip. Applying the DMA transfer mode with a ring buffer could greatly improve CPU utilization and RS232 transmission speed. Introduce the key part of the hardware circuit design and software processing in this paper. The experimental results show that the gateway can complete the bridge between RS232 and CAN networks stably and rapidly, verifying the efficiency and reliability.
分 类 号:TP31[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.3