- 1、本文档共42页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于CAN总线控制的温度仪表概要
祝君成功
基于CAN总线控制的温度仪表
摘 要
随着科学技术的快速发展,工业控制和生产自动化技术的不断进步以及微处理器的广泛应用,现场总线技术日益成为国内外各个行业的关注焦点。传统的独
立仪表已经不能满足目前控制系统大规模化、智能化、网络化方向发展的要求,一种新型的基于现场总线的智能仪表应运而生。CAN (Controller Area Network)现场总线作为一种自效支持分布式控制和实时控制的技术,以其稳定性好、可靠性高、抗干扰能力强、通讯速率快、维护成本低及其独特的设计,现己经成为国际上应用最为广泛的现场总线之一。
本课题采用主流单片机STC89C52为微处理器,结合独立CAN控制器SJA1000设计了CAN总线的数据通信系统硬件电路,使CAN总线的通讯更加直观。本文提出了相应的通信软件模型,通信软件模型包括应用层协议模块、基本通信模块和运动控制应用模块。其中,应用层协议模块包括消息标识符的分配、数据域信息格式、数据交换方式和报文滤波机制等内容;基本通信模块包括CAN控制器的初始化、报文接收、报文发送、错误处理和中断服务程序等内容;运动控制应用模块包括输出控制命令和输入状态信息等内容。
本课题设计的数据通信系统结构简单、使用方便、设计灵活,能够满足工业控制中网络化、智能化的发展要求,对目前基于CAN总线的研究具有积极作用。
关键词:CAN数据通信,SJA1000,单片机
Abstract
With the rapid development of science and technology, industrial control and automation technology continues to progress as well as the microprocessor application, field bus technology has increasingly become the focus of various domestic and international industry. The traditional independent instrument can not meet the current control system of large-scale, intelligent, networked direction requirements, a novel based on the field bus in intelligent instrument emerge as the times require. CAN ( Controller Area Network ) field bus as a self efficiency support distributed control and real-time control technology, with good stability, high reliability, strong anti interference ability, fast communication rate, low maintenance cost and its unique design, now has become the most widely used one of the field bus.
The subject of the use of mainstream chip STC89C52microprocessor, with independent CAN controller SJA1000design of CAN bus data communication system hardware circuit, the CAN bus communication more intuitive. This paper presents the corresponding communication model, communication software model including the application layer protocol module, basic communication module and motion control application module. Among them, the application layer protocol module includes a message identifier allocation, data domain information format, data exchange mode and message fi
您可能关注的文档
最近下载
- 薪酬管理从入门到精通.pdf
- GJB451B-2021装备通用质量特性术语.docx VIP
- 2025昆明滇池国家旅游度假区政务服务局政务服务中心招聘(1人)笔试备考题库及答案解析.docx VIP
- 初中寒假实践总结.docx VIP
- 最新AS9100D:2016全套文件(手册+程序文件+表单共475页).docx VIP
- 客运站年终总结2500字集锦.docx VIP
- ETP48400-C3B1嵌入式电源系统.pdf
- 2025企业安全主体责任清单及对标检查手册.pdf VIP
- 急诊科医疗质量评价体系与考核标准.doc VIP
- TB 10751-2018 高速铁路路基工程施工质量验收标准 含2024年修改单(3-1).pdf
文档评论(0)