国产精品婷婷久久久久久,国产精品美女久久久浪潮av,草草国产,人妻精品久久无码专区精东影业

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

    
約40頁DOC格式手機(jī)打開展開

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

內(nèi)容介紹

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

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

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

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

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