at89c51單片機(jī)控制的can總線rs232接口電路設(shè)計(jì).doc
約48頁DOC格式手機(jī)打開展開
at89c51單片機(jī)控制的can總線rs232接口電路設(shè)計(jì),at89c51單片機(jī)控制的can總線/rs232接口電路設(shè)計(jì)1.44萬字我自己原創(chuàng)的畢業(yè)設(shè)計(jì),今年最新的,僅在本站獨(dú)家提交,大家放心使用目錄引言1第一章 can總線協(xié)議和rs232接口協(xié)議分析21.1can總線21.1.1can總線特點(diǎn)和優(yōu)勢(shì)21.1.2can總線協(xié)議31.1.3can總線報(bào)文格式和報(bào)文幀結(jié)構(gòu)41.1....
內(nèi)容介紹
此文檔由會(huì)員 jiji888 發(fā)布
AT89C51單片機(jī)控制的CAN總線/RS232接口電路設(shè)計(jì)
1.44萬字
我自己原創(chuàng)的畢業(yè)設(shè)計(jì),今年最新的,僅在本站獨(dú)家提交,大家放心使用
目錄
引言 1
第一章 CAN總線協(xié)議和RS232接口協(xié)議分析 2
1.1 CAN總線 2
1.1.1 CAN總線特點(diǎn)和優(yōu)勢(shì) 2
1.1.2 CAN總線協(xié)議 3
1.1.3 CAN總線報(bào)文格式和報(bào)文幀結(jié)構(gòu) 4
1.1.3.1 CAN報(bào)文格式 4
1.1.3.2 報(bào)文幀結(jié)構(gòu) 4
1.1.4 CAN總線錯(cuò)誤 5
1.2 RS232接口協(xié)議 6
第二章 元器件介紹與分析 7
2.1 CAN控制器芯片SJA1000介紹及特性分析 7
2.2 CAN收發(fā)驅(qū)動(dòng)器PCA82C250介紹及特性分析 10
2.3 光電隔離芯片6N137介紹及特性分析 11
2.4 電平轉(zhuǎn)換芯片MAX232介紹及特性分析 13
2.5 AT89C51單片機(jī)介紹及特性分析 14
第三章 CAN總線與RS232轉(zhuǎn)換接口設(shè)計(jì) 17
3.1 系統(tǒng)總體設(shè)計(jì) 18
3.2 系統(tǒng)硬件電路詳細(xì)設(shè)計(jì) 18
3.2.1 PCA82C250收發(fā)電路設(shè)計(jì) 19
3.2.2 6N137電路設(shè)計(jì) 20
3.2.3 MAX232接口電路設(shè)計(jì) 20
3.2.4 SJA1000接口電路設(shè)計(jì) 21
3.2.5 AT89C51單片機(jī)模塊周圍電路設(shè)計(jì) 22
第四章 軟件設(shè)計(jì) 24
4.1 RS232程序設(shè)計(jì) 24
4.2 CAN通信程序設(shè)計(jì) 26
第五章 實(shí)體電路制作和實(shí)驗(yàn) 29
5.1 實(shí)體電路的制作 29
5.2 實(shí)驗(yàn)分析 30
第六章 總結(jié)與展望 31
致 謝 32
參考文獻(xiàn): 33
摘要 CAN(Controller Area Network)總線是一種具有國際標(biāo)準(zhǔn)的、高性價(jià)比的現(xiàn)場(chǎng)總線,它在當(dāng)今自動(dòng)控制領(lǐng)域中的應(yīng)用極為廣泛,并在自動(dòng)控制領(lǐng)域發(fā)揮著重要的作用。但在現(xiàn)今的工業(yè)領(lǐng)域中,RS232總線仍然占有很大的比重,要使不同總線之間實(shí)現(xiàn)數(shù)據(jù)傳輸和通信,必須在總線之間加入轉(zhuǎn)換模塊。論文針對(duì)這一問題設(shè)計(jì)了一個(gè)簡(jiǎn)單的CAN總線與RS232轉(zhuǎn)換接口電路的設(shè)計(jì)方案。該方案以AT89C51單片機(jī)和SJA1000 CAN總線控制器為核心,輔以光電隔離芯片6N137、CAN收發(fā)驅(qū)動(dòng)器PCA82C250和電平轉(zhuǎn)換芯片MAX232。CAN-RS232轉(zhuǎn)換接口通過硬件電路的標(biāo)準(zhǔn)電平轉(zhuǎn)換和軟件編程的通信協(xié)議轉(zhuǎn)換來實(shí)現(xiàn)相關(guān)功能。論文介紹了有關(guān)元器件和詳細(xì)的軟硬件設(shè)計(jì)過程,并制作了具體電路進(jìn)行實(shí)驗(yàn)。
關(guān)鍵詞:CAN總線,RS232,SJA1000,AT89C51單片機(jī),PCA82C250,MAX232
The Design of CAN bus / RS232 Interface Circuit Control by AT89C51 MCU
Abstract: CAN (Controller Area Network) bus is an international standard field-bus with high cost-effective, its application in the field of automatic control in today's is extremely broad, and plays an important role. However, RS232 bus still account for a large proportion in industrial applications. If we want to make data transfer and communication between different buses, the converter module must be added between the buses. To solve this problem, the paper presents a simple design of CAN bus and RS232 interface converter circuit. The program to AT89C51, SJA1000 CAN bus controller as the core, supplemented by optical isolation chips 6N137, CAN transceiver drive PCA82C250 and level converter chip MAX232. CAN-RS232 communication translation module via the level standard conversion of hardware circuit and software programming of communication protocol conversion to achieve functions. This paper introduces related components and the detail of the design process about the hardware and software, and made specific circuit experiment.
Key words: CAN BUS,RS232,SJA1000,AT89C51 single-chip microcomputer, PCA82C250,MAX232
1.44萬字
我自己原創(chuàng)的畢業(yè)設(shè)計(jì),今年最新的,僅在本站獨(dú)家提交,大家放心使用
目錄
引言 1
第一章 CAN總線協(xié)議和RS232接口協(xié)議分析 2
1.1 CAN總線 2
1.1.1 CAN總線特點(diǎn)和優(yōu)勢(shì) 2
1.1.2 CAN總線協(xié)議 3
1.1.3 CAN總線報(bào)文格式和報(bào)文幀結(jié)構(gòu) 4
1.1.3.1 CAN報(bào)文格式 4
1.1.3.2 報(bào)文幀結(jié)構(gòu) 4
1.1.4 CAN總線錯(cuò)誤 5
1.2 RS232接口協(xié)議 6
第二章 元器件介紹與分析 7
2.1 CAN控制器芯片SJA1000介紹及特性分析 7
2.2 CAN收發(fā)驅(qū)動(dòng)器PCA82C250介紹及特性分析 10
2.3 光電隔離芯片6N137介紹及特性分析 11
2.4 電平轉(zhuǎn)換芯片MAX232介紹及特性分析 13
2.5 AT89C51單片機(jī)介紹及特性分析 14
第三章 CAN總線與RS232轉(zhuǎn)換接口設(shè)計(jì) 17
3.1 系統(tǒng)總體設(shè)計(jì) 18
3.2 系統(tǒng)硬件電路詳細(xì)設(shè)計(jì) 18
3.2.1 PCA82C250收發(fā)電路設(shè)計(jì) 19
3.2.2 6N137電路設(shè)計(jì) 20
3.2.3 MAX232接口電路設(shè)計(jì) 20
3.2.4 SJA1000接口電路設(shè)計(jì) 21
3.2.5 AT89C51單片機(jī)模塊周圍電路設(shè)計(jì) 22
第四章 軟件設(shè)計(jì) 24
4.1 RS232程序設(shè)計(jì) 24
4.2 CAN通信程序設(shè)計(jì) 26
第五章 實(shí)體電路制作和實(shí)驗(yàn) 29
5.1 實(shí)體電路的制作 29
5.2 實(shí)驗(yàn)分析 30
第六章 總結(jié)與展望 31
致 謝 32
參考文獻(xiàn): 33
摘要 CAN(Controller Area Network)總線是一種具有國際標(biāo)準(zhǔn)的、高性價(jià)比的現(xiàn)場(chǎng)總線,它在當(dāng)今自動(dòng)控制領(lǐng)域中的應(yīng)用極為廣泛,并在自動(dòng)控制領(lǐng)域發(fā)揮著重要的作用。但在現(xiàn)今的工業(yè)領(lǐng)域中,RS232總線仍然占有很大的比重,要使不同總線之間實(shí)現(xiàn)數(shù)據(jù)傳輸和通信,必須在總線之間加入轉(zhuǎn)換模塊。論文針對(duì)這一問題設(shè)計(jì)了一個(gè)簡(jiǎn)單的CAN總線與RS232轉(zhuǎn)換接口電路的設(shè)計(jì)方案。該方案以AT89C51單片機(jī)和SJA1000 CAN總線控制器為核心,輔以光電隔離芯片6N137、CAN收發(fā)驅(qū)動(dòng)器PCA82C250和電平轉(zhuǎn)換芯片MAX232。CAN-RS232轉(zhuǎn)換接口通過硬件電路的標(biāo)準(zhǔn)電平轉(zhuǎn)換和軟件編程的通信協(xié)議轉(zhuǎn)換來實(shí)現(xiàn)相關(guān)功能。論文介紹了有關(guān)元器件和詳細(xì)的軟硬件設(shè)計(jì)過程,并制作了具體電路進(jìn)行實(shí)驗(yàn)。
關(guān)鍵詞:CAN總線,RS232,SJA1000,AT89C51單片機(jī),PCA82C250,MAX232
The Design of CAN bus / RS232 Interface Circuit Control by AT89C51 MCU
Abstract: CAN (Controller Area Network) bus is an international standard field-bus with high cost-effective, its application in the field of automatic control in today's is extremely broad, and plays an important role. However, RS232 bus still account for a large proportion in industrial applications. If we want to make data transfer and communication between different buses, the converter module must be added between the buses. To solve this problem, the paper presents a simple design of CAN bus and RS232 interface converter circuit. The program to AT89C51, SJA1000 CAN bus controller as the core, supplemented by optical isolation chips 6N137, CAN transceiver drive PCA82C250 and level converter chip MAX232. CAN-RS232 communication translation module via the level standard conversion of hardware circuit and software programming of communication protocol conversion to achieve functions. This paper introduces related components and the detail of the design process about the hardware and software, and made specific circuit experiment.
Key words: CAN BUS,RS232,SJA1000,AT89C51 single-chip microcomputer, PCA82C250,MAX232
TA們正在看...
- 摩托車油箱生產(chǎn)的設(shè)計(jì)與焊接加工優(yōu)化(本科畢業(yè)論...doc
- 某生物技術(shù)有限公司營銷體系設(shè)計(jì)(本科畢業(yè)論文設(shè)...doc
- 某市港口運(yùn)營能力研究(本科畢業(yè)論文設(shè)計(jì)).doc
- 某制造企業(yè)物流平臺(tái)建設(shè)需求分析(本科畢業(yè)論文設(shè)...doc
- 汽車電子儀表顯示裝置設(shè)計(jì)(本科畢業(yè)論文設(shè)計(jì)).doc
- 人力資源外包的運(yùn)作模式及其策略研究(本科畢業(yè)論...doc
- 塔式起重機(jī)吊臂結(jié)構(gòu)分析及雙吊點(diǎn)位置優(yōu)化設(shè)計(jì)(本...doc
- 小型雙面平衡機(jī)設(shè)計(jì)(本科畢業(yè)論文設(shè)計(jì)).doc
- 阻然鎂合金耐蝕性研究(本科畢業(yè)論文設(shè)計(jì)).doc
- proe在車床夾具三維造型設(shè)計(jì)中的研究(本科畢業(yè)論...doc