基于CAN总线的学生宿舍报警系统设计(论文).doc
文本预览下载声明
基于CAN总线的学生宿舍
报警系统设计
总计毕业设计(论文) 页
表格 表
插图 幅摘 要
本论文综述了火灾自动报警技术的历史以及国内外现状。根据火灾自动报警系统的实时性、可性、稳定性等要求,提出了一种基于CAN总线的火灾自动报警系统,并详尽的介绍了该系统的组成原理和构成。重点论述了CAN总线的规范TMS320LF2407A DSP芯片中集成的CAN模块的通信技术,以及利用DSP芯片中集成的CAN邮箱进行通信的具体流程和核心程序。
对于该系统的关键技术-----CAN总线规范、TMS320LF2407A DSP的CAN邮箱通信技术,本论文作了系统、详尽的论述。在CAN总线规范介绍中,给出了CAN的简介、基本概念和具体规范。在TMS320LF2407A DSP芯片中集成的CAN模块通信技术中,介绍了DSP中CAN模块的3个邮箱寄存器和15个控制器的寄存器,通过对寄存器的操作,实现CAN邮箱的初始化、信息的写入、发送、接收的整个流程,以及利用CAN总线通信对分布式控制网络实现点名和广播通信的原理与方法。另外,给出了CAN邮箱通信的核心程序。
Abstract
This paper gives a comprehensive description of the fire automatic warning technology and the current situation internal and external .A kind of fire automatic warning system based on the CAN bus is proposed according to the demand of stability ,reliability and real time property of fire automatic warning system,and also the thorough introduction of the systems constituent theory and construction.This paper is focused on the rule of the CAN bus,CAN modular communication technology integrated withTMS320LF2- 407A DSP chip ,as well as the detailed process and core program of the communication used CAN mail-box integrated with DSP chip.
The systematic and detailed explication is given in this paper for the key technology of this system---the rule of CAN bus ,CAN mail---box communication technology TMS320LF2407A DSP.The CAN brief introduction ,basic definition and detailed rule is proposed in CAN bus rule introduction.In the CAN modular communication technology integrated with TMS320LF2407A DSP chip,we introduced 3 mail-box registers and 15 controller registers of CAN module in DSP.Through the operation of registers ,we can realize the initialization of CAN mail-box ,the whole proceeding to write ,send and receive the information,as well as the principles and methods of realizing the rolling and broadcast communication for contributed control network with utilization of CAN bus communication.In addition ,the core program of CAN mail-box communication is also giv
显示全部