基于CAN总线的嵌入式监控设备的设计
中国测试期刊

孔祥通, 王春平, 孙书鹰, 刘江义
(军械工程学院,河北 石家庄 050003)
摘  要:根据嵌入式技术和CAN总线通信技术,设计一套分布式结构多节点某高炮火控装备信号监控采集设备。首先对以STM32F407单片机为核心的设备硬件设计进行分析,介绍基本原理及模块实现方案;其次根据系统的通信任务要求,介绍CAN通信在系统中的应用实现过程,数据帧的组成及通信软件的设计;最后设计人机交互界面。通过数据采集试验表明:整个系统能完成实时采集监控功能且工作稳定可靠,具有成本低、实时性好、工作稳定及便于扩展等优点。
关键词:CAN总线;分布式系统;STM32F407单片机;模块设计;采集测试
中图分类号:TP368.1;TP277.2;TP336;TP274+.2      文献标志码:A      文章编号:1674-5124(2013)04-0085-03
Design of embedded monitor system based on CAN bus
KONG Xiang-tong, WANG Chun-ping, SUN Shu-ying, LIU Jiang-yi
(Ordnance Engineering College,Shijiazhuang 050003,China)
Abstract: A multi-nodes monitor system which based on embedded and CAN bus technology was proposed in this paper. Firstly, the basic hardware structure was analyzed, the basic theory and the realize method of the modules are emphasized. The tested signals were illuminated and the ADC method was also discussed in this paper. According to the requirements of communication task, the CAN bus communication method was also discussed, including the software design and the constitutions of the data frames. Finally, experimental results show that this system is stable, lower cost and easy to expand.
Key words: CAN bus; distributed system; STM32F407; module design; acquisition and test