毕业论文

打赏
当前位置: 毕业论文 > 自动化 >

CAN/RS485串行转换系统设计

时间:2018-11-14 22:25来源:毕业论文
完成CAN/RS485转换程序具有十分重要的现实意义。本论文采用TI公司的DSP芯片TMS320f2407实现两种通信协议之间的转换,该芯片自带CAN信号处理模块以及SCI串口通信模块

摘要控制器局域网(CAN总线)是由ISO定义的串行通信总线,是目前公认的最有前途的几种现场总线之一。CAN总线有着大量的优点,RS485并不能成为现场总线,但它结构简单,抗干扰能力强的优点还是有很多广泛的应用,RS485技术的通信设备也还会继续存在很长一段时间。30234
在多个领域内,完成CAN/RS485转换程序具有十分重要的现实意义。本论文采用TI公司的DSP芯片TMS320f2407实现两种通信协议之间的转换,该芯片自带CAN信号处理模块以及SCI串口通信模块。此外,还需CAN口利用SN65HVD230收发器接收CAN信号,SCI口利用MAX3485 收发器收发RS485信号。利用Protel99se完成电路图设计,利用C语言在CCS3.0开发平台上完成上层软件设计。
关键词: CAN总线   RS485串行转换  DSP数字信号处理 TMS320f2407
毕业论文设计说明书外文摘要
Title   CAN / RS485 Serial Converter System Design
Abstract
Controller Area Network (CAN bus) is a serial communication bus defined by ISO, it is one of several fieldbus currently recognized as the most promising. CAN bus has a number of advantages, RS485 and can not be the fieldbus, but its simple structure, the advantages of strong anti-interference ability still have a lot of widely used communications equipment RS485 technology also will continue to exist for a long time.
In many areas, complete CAN / RS485 converter has a very important practical significance. This paper uses TI's DSP chip TMS320f2407 achieve the conversion between the two communication protocols, the chip comes CAN signal processing module and SCI serial communication module. In addition, the need to use SN65HVD230 CAN port CAN transceiver receives a signal, SCI port using a MAX3485 transceiver transceiver RS485 signals. Use Protel99se complete schematic design, the use of C language to complete the top software design on CCS3.0 development platform.
Keywords: CAN bus   RS485 serial converter  DSP digital signal processing  TMS320f2407
 目   次
1 绪论 1
1.1 CAN总线  1
1.2 DSP用于CAN总线数据处理  2
1.3 Protel99SE软件简介 2
1.4 TMS320LF系列单片机驱动程序设计 3
2 硬件电路设计 5
2.1 概述 5
2.2 JTAG电路设计 5
2.3 TMS320f2407最小系统  6
2.4 SCI串口通信电路设计  9
2.5 CAN口通信电路设计 10
2.6 电源电路设计12
2.7 地址输入电路12
2.8 本章小结13
3 软件通信设计14
3.1 概述14
3.2 主程序14
3.3 系统初始化15
3.4 串口初始化18
3.5 CAN口初始化 20
3.6 CAN口接收函数和SCI口发送函数 23
3.7 SCI口接收函数和CAN口发送函数 24
3.8 本章小节25
4 毕业设计总结和展望26
致谢27
参考文献28
1 绪论
1.1  CAN总线
CAN是控制器局域网络(Controller Area Network, CAN)的简称,是目前国际社会上应用最广泛的现场总线之一。1991年,Bosch公司正式颁布了CAN技术规范(版本2.0),标准CAN总线协议分为A,B两个部分。1993年11月国际专业机构正式颁布了国际标准IS011898,实现了CAN总线的标准化[1]。
由于汽车行业对安全舒适方便等一些特殊的要求,CAN总线被首先用于汽车上。为适应汽车中“减少线束的数量”、“通过多个LAN,进行大量数据的高速通信”的需要,各国的汽车公司开发出来针对汽车的CAN通信。在欧洲CAN总线如今已是汽车网络的标准总线协议。
CAN由于他的高性能和高可靠性已经被广泛地应用于工业,医疗,自动化等领域。他被人们认可为当代自动化领域的前景,正在被用于多种自动控制领域,自从有了CAN总线,分布式控制系统各节点之间的数据通信就有了可靠而强有力的支持。 CAN/RS485串行转换系统设计:http://www.751com.cn/zidonghua/lunwen_25857.html
------分隔线----------------------------
推荐内容