本站首页 计算机论文 会计审计论文 工科论文 理科论文 法律论文 经济学论文 文化类论文 财务论文 文学论文
  管理论文 教育学论文 证券金融论文 医学论文 农业论文 哲学论文 艺术学论文 社会学论文 免费论文 论文翻译
  论文分类 | 写作指南 | 付款方式 | 交费确认 | 论文代写 | 服务指南 | 招贤纳士
论文搜索:
  滚动新闻:
当前位置: 博景源论文网 >> 工科论文 >> 通信学论文 >> 正文
  串口到CAN总线转换器的设计    5星级
串口到CAN总线转换器的设计
[ 作者:Admin     来源:博景源     点击数:     更新时间:2007-3-17   ]


串口到CAN总线转换器的设计

摘  要
CAN总线是近些年新兴的一种串行现场总线,由于CAN总线的信号传输时间短,受干扰的概率低。当节点错误严重时,具有自动关闭功能,以切断该节点与总线的联系,是总线上的其他节点及通信不受影响,具有将强的抗干扰能力。以上优点使CAN总线成为最有前途的现场总线之一。
RS422是一种较早的集成式串行通讯协议,使用广泛,很多变频器、可编程控制器和各种智能仪表都带有RS422接口。如果将其接入到CAN总线网络中去,更换所有仪器仪表显然很不明智。最为简单的是设计一种转换器,它可以把RS422总线转换成性能更好的、稳定性更强的CAN总线,我们这次要设计的就是一种从RS422到CAN转换的器件。它可以将仪表上传输过来的数据转换成CAN协议下的数据,并将其与发送到其他节点;也可以将总线上其他节点上的数据传输到带有RS422的仪器仪表中。这种转化器的价格低廉,性能优异,在船体的网络设计中有很广泛的实际应用。
关键词:CAN总线;转换器;单片机

ABSTRACT
The CAN bus is a kind of new developing serial filedbus in recent years, because the signal transmission time of the CAN bus is short, the probability interfered is low. When the nodal mistake is serious, close the function automatically, in order to cut off the connection between this node and the bus, it does not influence other node and communication of the bus, have better anti-interference ability. The above-mentioned advantages make the CAN bus become one of the most promising filedbus.
RS422 is a kind of earlier integrating type serial communication agreement, and use extensively. A lot of frequency converters, programmable controller and various kinds of intelligent instruments have RS422 connect. If insert it to the CAN bus network, it is obviously very unwise to change all instrument and apparatus. The simplest one way is to design a kind of converter, it can change RS422 bus into the CAN bus. What we will design is a kind of device changed from RS422 to CAN. It can change the data under the RS422 agreement into the data under the CAN agreement, and sends it to other nodes; The CAN bus  transmit the data to other nodes on the bus to the instrument and apparatus with RS422 too. This kind of transformation device is cheap, so there is very extensive practical application in the design of the hull.                                    
Key words: CAN; converter; Single_Chip Microcomputer


目  录
第一章 绪论 ...................................................1
1.1 组合导航的产生与发展....................................1
1.2 CAN总线和RS422总线在组合导航中的作用..................2
1.3 RS422总线介绍 ..........................................3
1.3.1串行通讯和RS422系列标准............................3
1.3.2 RS422电气规定......................................5
1.4 CAN总线介绍............................................6
1.4.1现场总线形成与发展..................................6
1.4.2 CAN总线工作方式与特点..............................8
1.5 RS422到CAN总线转换器设计..............................11
1.5.1 RS422到CAN总线转换器意义.........................11
1.5.2 RS422到CAN总线转换器设计要求.....................12
1.5.3 RS422到CAN总线转换器设计方案.................... 13
1.6本章小结................................................13
第二章 转换器硬件设计.......................................15
2.1单片机及所用器件简介....................................15
2.1.1 C8051F040单片机的特点和应用.......................16
2.1.2 PCA82C250总线收发器...............................19
2.1.3通讯扩展器件TL16C554..............................22
2.1.4 RS422转换器件MAX1490A............. ..............25
2.2 电路设计软件PROTEL 99的使用方法........................26
2.2.1 PROTEL 99简介.....................................26
2.2.2电路板设计步骤....................................27
2.2.3硬件电路原理图的设计..............................28
2.3本章小结................................................28
第三章 转换器的软件设计.....................................31
3.1 单片机软件程序设计过程..................................31
3.2 所需器件的软件和协议应用........................ .......31
3.3 配置CAN寄存器.........................................33
3.3.1 CAN报文对象初始化处理.............................34
3.3.2 发送与接受对象的配置..............................35
3.3.3 中断处理..........................................37
3.3.4 TL16C554初始化....................................38
3.4 转换器工作原理流程图....................................40
3.5系统程序设计............................................43
3.5.1主程序............................................43
3.5.2子程序部分........................................44
3.5.3 两个中断子程序....................................44
3.6本章小节................................................44
第四章 换器的调试..........................................46
结论 ..........................................................48
参考文献.....................................................49
致谢...........................................................50
附录...........................................................51

[1] [2]  下一页

论文编号:000721  价格:200  是否有源码:有 【字体: 字体颜色
  • 上一篇文章: 蜂窝移动通信系统中越区切换技术的讨论与算法实现

  • 下一篇文章: 扩频导航接收机伪距提取算法研究
  • 发表评论  打印此文  收藏此页  关闭窗口  返回顶部
     最新热点文章
    企业工资管理系统的开发
    计算机专业毕业论文
    论跨国公司的发展历程及其规律
    VB、VF论文题目列表
    PB、JSP论文题目列表
    单片机温度控制系统
     
     最新推荐文章
    学生信息档案管理系统
    从激光原理看六脉神剑的产生机制
    中国文化外交初探
    利用Internet重新构造科研管理系统
    基于Web的库存管理系统
    应用于视频编码的块匹配运动估计算法设
     
     相 关 文 章

      网友评论:(只显示最新5条。评论内容只代表网友观点,与本站立场无关!)
    版权声明 | 联系我们 | 刊登广告| 关于博景源 | 加入收藏 | 设为首页
    版权所有:博景源科技有限公司 © 24小时客服电话:0451-81986565 客服邮箱:service-86qb@163.com
    Copyright© 1998 - 2008 www.86qb.com All Rights Reserved

    地址:哈尔滨市道里区新阳路恒祥大厦F901

    黑ICP备 06008746号