[1]黄敏娣[],胡正飞[]. 嵌入式RS-232与CAN总线协议的网关设计[J].计算机技术与发展,2015,25(04):208-212.
 HUANG Min-di[],HU Zheng-fei[]. Gateway Design of Embedded RS232 and CAN Bus Protocol[J].,2015,25(04):208-212.
点击复制

 嵌入式RS-232与CAN总线协议的网关设计()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
25
期数:
2015年04期
页码:
208-212
栏目:
应用开发研究
出版日期:
2015-04-10

文章信息/Info

Title:
 Gateway Design of Embedded RS232 and CAN Bus Protocol
文章编号:
1673-629X(2015)04-0208-05
作者:
 黄敏娣[1] 胡正飞[2]
 1.南京邮电大学 自动化学院;2.南京邮电大学 理学院
Author(s):
 HUANG Min-di[1] HU Zheng-fei[2]
关键词:
 Cortex-M3 CAN 组网通信
Keywords:
 Cortex-M3CANnetwork organizationcommunication
分类号:
TP31
文献标志码:
A
摘要:
 工业控制领域通信采用CAN进行组网能够更高效地传输数据,不易受干扰,但使用CAN进行组网的门槛较高,不利于用户使用,因此设计了该款网关,隐藏CAN协议的复杂性,使用户通过串口即可访问CAN总线。网关采用基于Cortex-M3内核的STM32F103微处理器作为主控芯片,利用带环形缓冲区的DMA传输从而极大地提高了CPU利用率和RS232传输速度。文中介绍了关键部分的硬件电路设计及软件流程,并通过实验证明,该网关能够稳定高速地完成RS232与CAN网络的桥接,从而论证了该网关的高效性和可靠性。
Abstract:
 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.

相似文献/References:

[1]张志宏,吴庆波,邵立松,等.基于飞腾平台TOE协议栈的设计与实现[J].计算机技术与发展,2014,24(07):1.
 ZHANG Zhi-hong,WU Qing-bo,SHAO Li-song,et al. Design and Implementation of TCP/IP Offload Engine Protocol Stack Based on FT Platform[J].,2014,24(04):1.
[2]梁文快,李毅. 改进的基因表达算法对航班优化排序问题研究[J].计算机技术与发展,2014,24(07):5.
 LIANG Wen-kuai,LI Yi. Research on Optimization of Flight Scheduling Problem Based on Improved Gene Expression Algorithm[J].,2014,24(04):5.
[3]黄静,王枫,谢志新,等. EAST文档管理系统的设计与实现[J].计算机技术与发展,2014,24(07):13.
 HUANG Jing,WANG Feng,XIE Zhi-xin,et al. Design and Implementation of EAST Document Management System[J].,2014,24(04):13.
[4]侯善江[],张代远[][][]. 基于样条权函数神经网络P2P流量识别方法[J].计算机技术与发展,2014,24(07):21.
 HOU Shan-jiang[],ZHANG Dai-yuan[][][]. P2P Traffic Identification Based on Spline Weight Function Neural Network[J].,2014,24(04):21.
[5]李璨,耿国华,李康,等. 一种基于三维模型的文物碎片线图生成方法[J].计算机技术与发展,2014,24(07):25.
 LI Can,GENG Guo-hua,LI Kang,et al. A Method of Obtaining Cultural Debris’ s Line Chart Based on Three-dimensional Model[J].,2014,24(04):25.
[6]翁鹤,皮德常. 混沌RBF神经网络异常检测算法[J].计算机技术与发展,2014,24(07):29.
 WENG He,PI De-chang. Chaotic RBF Neural Network Anomaly Detection Algorithm[J].,2014,24(04):29.
[7]刘茜[],荆晓远[],李文倩[],等. 基于流形学习的正交稀疏保留投影[J].计算机技术与发展,2014,24(07):34.
 LIU Qian[],JING Xiao-yuan[,LI Wen-qian[],et al. Orthogonal Sparsity Preserving Projections Based on Manifold Learning[J].,2014,24(04):34.
[8]尚福华,李想,巩淼. 基于模糊框架-产生式知识表示及推理研究[J].计算机技术与发展,2014,24(07):38.
 SHANG Fu-hua,LI Xiang,GONG Miao. Research on Knowledge Representation and Inference Based on Fuzzy Framework-production[J].,2014,24(04):38.
[9]叶偲,李良福,肖樟树. 一种去除运动目标重影的图像镶嵌方法研究[J].计算机技术与发展,2014,24(07):43.
 YE Si,LI Liang-fu,XIAO Zhang-shu. Research of an Image Mosaic Method for Removing Ghost of Moving Targets[J].,2014,24(04):43.
[10]余松平[][],蔡志平[],吴建进[],等. GSM-R信令监测选择录音系统设计与实现[J].计算机技术与发展,2014,24(07):47.
 YU Song-ping[][],CAI Zhi-ping[] WU Jian-jin[],GU Feng-zhi[]. Design and Implementation of an Optional Voice Recording System Based on GSM-R Signaling Monitoring[J].,2014,24(04):47.

更新日期/Last Update: 2015-06-05