單片機(jī)can現(xiàn)場(chǎng)總線(xiàn)接口的研究與設(shè)計(jì).doc
約40頁(yè)DOC格式手機(jī)打開(kāi)展開(kāi)
單片機(jī)can現(xiàn)場(chǎng)總線(xiàn)接口的研究與設(shè)計(jì),基于單片機(jī)的can現(xiàn)場(chǎng)總線(xiàn)接口的研究與設(shè)計(jì)1.34萬(wàn)字我自己的畢業(yè)論文,原創(chuàng)的,已經(jīng)通過(guò)校內(nèi)系統(tǒng)檢測(cè),僅在本站獨(dú)家出售,重復(fù)率低,大家放心下載使用 摘要 can總線(xiàn)是控制器局域網(wǎng)總線(xiàn)(controller area network)的簡(jiǎn)稱(chēng)。屬于現(xiàn)場(chǎng)總線(xiàn)的范疇,是一種有效支持分布式控制或?qū)崟r(shí)控制的串行通信網(wǎng)絡(luò)。can總線(xiàn)...
內(nèi)容介紹
此文檔由會(huì)員 淘寶大夢(mèng) 發(fā)布
基于單片機(jī)的CAN現(xiàn)場(chǎng)總線(xiàn)接口的研究與設(shè)計(jì)
1.34萬(wàn)字
我自己的畢業(yè)論文,原創(chuàng)的,已經(jīng)通過(guò)校內(nèi)系統(tǒng)檢測(cè),僅在本站獨(dú)家出售,重復(fù)率低,大家放心下載使用
摘要 CAN總線(xiàn)是控制器局域網(wǎng)總線(xiàn)(Controller Area Network)的簡(jiǎn)稱(chēng)。屬于現(xiàn)場(chǎng)總線(xiàn)的范疇,是一種有效支持分布式控制或?qū)崟r(shí)控制的串行通信網(wǎng)絡(luò)。CAN總線(xiàn)是一種多主方式的串行通訊總線(xiàn),是國(guó)際上應(yīng)用最廣泛的現(xiàn)場(chǎng)總線(xiàn)之一,現(xiàn)已被應(yīng)用到各個(gè)自動(dòng)化控制系統(tǒng)中,從高速的網(wǎng)絡(luò)到低價(jià)位的多路接線(xiàn)都可以使用CAN總線(xiàn)。
本文重點(diǎn)就基于單片機(jī)的CAN總線(xiàn)通信設(shè)計(jì)的實(shí)現(xiàn)進(jìn)行介紹,通過(guò)CAN控制器SJA1000以及CAN收發(fā)器PCA82C250的電路設(shè)計(jì),實(shí)現(xiàn)了CAN通信的自發(fā)自收。計(jì)算機(jī)通過(guò)串口RS232發(fā)送數(shù)據(jù)到單片機(jī)AT89S52,單片機(jī)通過(guò)CAN控制器SJA1000以及CAN收發(fā)器PCA82C250把數(shù)據(jù)傳送到CAN總線(xiàn),同時(shí),CAN收發(fā)器PCA82C250可以接收CAN總線(xiàn)上的數(shù)據(jù),傳送給CAN控制器,單片機(jī)把接收到的數(shù)據(jù)轉(zhuǎn)換成串口通信數(shù)據(jù)發(fā)送給計(jì)算機(jī),實(shí)現(xiàn)了發(fā)送和接收數(shù)據(jù)的CAN通信功能。
關(guān)鍵詞:CAN總線(xiàn);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總線(xiàn)的特點(diǎn) 2
1.3 CAN總線(xiàn)的發(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總線(xiàn)收發(fā)器 11
2.2.3 CAN總線(xiàn)控制器 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總線(xiàn)控制器電路設(shè)計(jì) 19
3.4 CAN總線(xiàn)收發(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
1.34萬(wàn)字
我自己的畢業(yè)論文,原創(chuàng)的,已經(jīng)通過(guò)校內(nèi)系統(tǒng)檢測(cè),僅在本站獨(dú)家出售,重復(fù)率低,大家放心下載使用
摘要 CAN總線(xiàn)是控制器局域網(wǎng)總線(xiàn)(Controller Area Network)的簡(jiǎn)稱(chēng)。屬于現(xiàn)場(chǎng)總線(xiàn)的范疇,是一種有效支持分布式控制或?qū)崟r(shí)控制的串行通信網(wǎng)絡(luò)。CAN總線(xiàn)是一種多主方式的串行通訊總線(xiàn),是國(guó)際上應(yīng)用最廣泛的現(xiàn)場(chǎng)總線(xiàn)之一,現(xiàn)已被應(yīng)用到各個(gè)自動(dòng)化控制系統(tǒng)中,從高速的網(wǎng)絡(luò)到低價(jià)位的多路接線(xiàn)都可以使用CAN總線(xiàn)。
本文重點(diǎn)就基于單片機(jī)的CAN總線(xiàn)通信設(shè)計(jì)的實(shí)現(xiàn)進(jìn)行介紹,通過(guò)CAN控制器SJA1000以及CAN收發(fā)器PCA82C250的電路設(shè)計(jì),實(shí)現(xiàn)了CAN通信的自發(fā)自收。計(jì)算機(jī)通過(guò)串口RS232發(fā)送數(shù)據(jù)到單片機(jī)AT89S52,單片機(jī)通過(guò)CAN控制器SJA1000以及CAN收發(fā)器PCA82C250把數(shù)據(jù)傳送到CAN總線(xiàn),同時(shí),CAN收發(fā)器PCA82C250可以接收CAN總線(xiàn)上的數(shù)據(jù),傳送給CAN控制器,單片機(jī)把接收到的數(shù)據(jù)轉(zhuǎn)換成串口通信數(shù)據(jù)發(fā)送給計(jì)算機(jī),實(shí)現(xiàn)了發(fā)送和接收數(shù)據(jù)的CAN通信功能。
關(guān)鍵詞:CAN總線(xiàn);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總線(xiàn)的特點(diǎn) 2
1.3 CAN總線(xiàn)的發(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總線(xiàn)收發(fā)器 11
2.2.3 CAN總線(xiàn)控制器 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總線(xiàn)控制器電路設(shè)計(jì) 19
3.4 CAN總線(xiàn)收發(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
TA們正在看...
- db33t245.4-2003江山綠牡丹茶第4部分:商品茶.doc
- db33t250.2-2006無(wú)公害臍橙第2部分:栽培技術(shù)規(guī)程.doc
- db33t250.3-2006無(wú)公害臍橙第3部分:主要病蟲(chóng)害防治.doc
- db33t250.5-2006無(wú)公害臍橙第5部分:果實(shí)采收貯藏...doc
- db33t257.1-2005徑山茶第1部分:栽培技術(shù)規(guī)程.doc
- db33t257.2-2005徑山茶第2部分:加工技術(shù)規(guī)范.doc
- db33t261.1-2005筍竹兩用毛竹林第1部分母竹.doc
- db33t261.2-2005筍竹兩用毛竹林第2部分栽培技術(shù)與...doc
- db33t261.3-2005筍竹兩用毛竹林第3部分主要病蟲(chóng)害...doc
- db33t261.5-2005筍竹兩用毛竹林第5部分商品竹.doc