文档介绍:
2006 年仪表技术与传感器 2006
第 4 期 Instrument
Technique
and
Sensor No
4
基于 CAN 总线的智能控制器的设计
王毅峰, 温希东
( 深圳职业技术学院电子工程系, 广东
深圳
518055)
摘要: 控制器局域网( CAN) 以其固有的特点必将在将来的控制系统中得到广泛的应用。文中介绍了一种以 CAN 总线为基
础采用双 CPU 结构的智能控制器的设计, 该控制器的硬件部分主要由通信与输出控制模块和数据采集与显示模块组成,
软件部分给出了主控芯片 SST89C54 和 ATmega16 的工作流程。实际运行证明 CAN 总线智能控制器通信速率高、准确、可
靠性高、传输距离远、控制精度高。
关键词: CAN 总线; SJA1000; ATmega16; 智能控制; 数据采集
中图分类号:TP302. 1
文献标识码: A
文章编号: 1002- 1841( 2006) 04- 0032- 03
Design of Intelligence Controller Based on CAN Bus
WANG Yi
feng, WEN Xi
dong
(Electronics Engineering Department of Shenzhen Polytechnic, Shenzhen 518055, China)
Abstract: Controller work( CAN) has many intrincis characteristics and will be used widely in controly system. The design of
intelligence controller for using two CPUs based ib CAN bus is introduced in this paper. The intelligence controller includes hardware and
software
s hardware posed munication with output control module and data collect with display module, the flow
chart of master control chip SST89C54 and ATmega 16 introduced in software
s results of experiment show controller is high
speed, veracity, reliability, far transmission distance and high control precision.
Key words: CAN bus; SJA1000; atmega16; intelligence control; data collection
0
引言控制器的硬件结构如图 1 所示:
因其具有高性能、高可靠性、实时性好、成本低及其独特的由图 1 可知, 基于 CAN 总线的智能控制