特级做A爰片毛片免费69,永久免费AV无码不卡在线观看,国产精品无码av地址一,久久无码色综合中文字幕

單片機can現(xiàn)場總線接口的研究與設計.doc

    
約40頁DOC格式手機打開展開

單片機can現(xiàn)場總線接口的研究與設計,基于單片機的can現(xiàn)場總線接口的研究與設計1.34萬字我自己的畢業(yè)論文,原創(chuàng)的,已經(jīng)通過校內系統(tǒng)檢測,僅在本站獨家出售,重復率低,大家放心下載使用 摘要 can總線是控制器局域網(wǎng)總線(controller area network)的簡稱。屬于現(xiàn)場總線的范疇,是一種有效支持分布式控制或實時控制的串行通信網(wǎng)絡。can總線...
編號:99-423063大小:2.08M
分類: 論文>通信/電子論文

內容介紹

此文檔由會員 淘寶大夢 發(fā)布

基于單片機的CAN現(xiàn)場總線接口的研究與設計

1.34萬字
我自己的畢業(yè)論文,原創(chuàng)的,已經(jīng)通過校內系統(tǒng)檢測,僅在本站獨家出售,重復率低,大家放心下載使用

摘要 CAN總線是控制器局域網(wǎng)總線(Controller Area Network)的簡稱。屬于現(xiàn)場總線的范疇,是一種有效支持分布式控制或實時控制的串行通信網(wǎng)絡。CAN總線是一種多主方式的串行通訊總線,是國際上應用最廣泛的現(xiàn)場總線之一,現(xiàn)已被應用到各個自動化控制系統(tǒng)中,從高速的網(wǎng)絡到低價位的多路接線都可以使用CAN總線。
本文重點就基于單片機的CAN總線通信設計的實現(xiàn)進行介紹,通過CAN控制器SJA1000以及CAN收發(fā)器PCA82C250的電路設計,實現(xiàn)了CAN通信的自發(fā)自收。計算機通過串口RS232發(fā)送數(shù)據(jù)到單片機AT89S52,單片機通過CAN控制器SJA1000以及CAN收發(fā)器PCA82C250把數(shù)據(jù)傳送到CAN總線,同時,CAN收發(fā)器PCA82C250可以接收CAN總線上的數(shù)據(jù),傳送給CAN控制器,單片機把接收到的數(shù)據(jù)轉換成串口通信數(shù)據(jù)發(fā)送給計算機,實現(xiàn)了發(fā)送和接收數(shù)據(jù)的CAN通信功能。

關鍵詞:CAN總線;AT89S52;SJA1000;PCA82C250


Research and Design of CAN field bus interface Based on single chip microcomputer


Abstract CAN bus is the Controller LAN bus (Controller Area Network). Belongs to the category of the fieldbus, and is an effective support distributed control or real-time control of serial communication network. CAN bus is a main way of serial communication bus, is one of the most widely used field bus in the world, has now been applied to various automation control system, from the network to the low price of multiplex wiring CAN bus CAN be used.
This paper is based on single chip microcomputer, introduces the implementation of the CAN bus communication design through the CAN controller SJA1000 and CAN transceiver PCA82C250 circuit design, spontaneous since implementing the CAN communication. Computer through RS232 serial port to send data to the single-chip microcomputer AT89S52 devices, single chip computer through CAN controller SJA1000 and CAN transceiver PCA82C250 sends the data to the CAN bus, at the same time, the CAN transceiver PCA82C250 to the data on the CAN bus CAN receive and send the CAN controller, MCU converts the received data into data sent to the computer serial communication and realize the function CAN send and receive data communication.

Key words:CAN- bus; AT89S52 devices; SJA1000; PCA82C250

目 錄
第一章 緒 論 1
1.1 概述 1
1.2 CAN總線的特點 2
1.3 CAN總線的發(fā)展概況 4
1.4 論文課題的項目背景 5
1.5 論文研究的主要內容 5
第二章 系統(tǒng)方案總體設計 6
2.1 系統(tǒng)原理 6
2.2 系統(tǒng)總體設計方框圖及器件選擇 6
2.2.1 51單片機 7
2.2.2 CAN總線收發(fā)器 11
2.2.3 CAN總線控制器 13
2.2.4 光電耦合器 15
第三章 系統(tǒng)硬件設計 18
3.1 系統(tǒng)硬件設計 18
3.2 單片機電路設計 19
3.3 CAN總線控制器電路設計 19
3.4 CAN總線收發(fā)器電路設計 20
第四章 軟件設計 21
4.1 軟件總體設計 21
4.2  CAN初始化 21
4.3  SJA1000初始化 21
4.4  發(fā)送與接收 23
第五章 系統(tǒng)調試 25
第六章 總結與展望 27
6.1總結 27
6.2展望 27
致 謝 28
參考文獻 29
附錄一 31
附錄二 32