單片機收費系統(tǒng)畢業(yè)設(shè)計.rar
單片機收費系統(tǒng)畢業(yè)設(shè)計,1.57萬字56頁包括論文,pcb圖,程序代碼,機械圖摘要本文為基于單片機的收費系統(tǒng)是設(shè)計,本系統(tǒng)的主要功能是對車輛進行計數(shù)收費,并可以自由定義車輛收費金額。本畢設(shè)全文可分為收費系統(tǒng)方案設(shè)計、收費系統(tǒng)硬件平臺的設(shè)計和制作、收費系統(tǒng)軟件設(shè)計、收費系統(tǒng)的調(diào)試和系統(tǒng)的可靠性分析。本文首先提出收費系統(tǒng)的設(shè)...
該文檔為壓縮文件,包含的文件列表如下:
內(nèi)容介紹
原文檔由會員 8008008 發(fā)布
單片機收費系統(tǒng)畢業(yè)設(shè)計
1.57萬字 56頁
包括論文,PCB圖,程序代碼,機械圖
摘 要
本文為基于單片機的收費系統(tǒng)是設(shè)計,本系統(tǒng)的主要功能是對車輛進行計數(shù)收費,并可以自由定義車輛收費金額。本畢設(shè)全文可分為收費系統(tǒng)方案設(shè)計、收費系統(tǒng)硬件平臺的設(shè)計和制作、收費系統(tǒng)軟件設(shè)計、收費系統(tǒng)的調(diào)試和系統(tǒng)的可靠性分析。本文首先提出收費系統(tǒng)的設(shè)計思路,根據(jù)設(shè)計思路提出可行性的設(shè)計方案,采用STC12C5A08S2芯片進行設(shè)計。收費系統(tǒng)從單片機的硬件平臺設(shè)計開始,采用分模塊設(shè)計的方法。將模塊分為車輛信息的輸入模塊、抗干擾電路、數(shù)據(jù)顯示模塊、記錄模擬打印模塊、查詢模塊、電源模塊、芯片內(nèi)部的數(shù)據(jù)存儲和AD轉(zhuǎn)換模塊7個模塊。然后對各個模塊進行設(shè)計整合。而收費系統(tǒng)的軟件設(shè)計部分也是采用模塊化是設(shè)計方法,將模塊分為編程的模塊有:12864數(shù)據(jù)記錄顯示模塊,EEPROM存儲模塊,AD轉(zhuǎn)換模塊,車輛信息編程模塊,數(shù)據(jù)記錄查詢模塊這6個模塊,然后進行編程整合。設(shè)計好軟硬件后進行系統(tǒng)調(diào)試和可靠性分析,系統(tǒng)調(diào)試也是分模塊化調(diào)試??煽啃苑治鼍桶ㄓ布目煽啃苑治龊统绦蚩煽啃苑治鰞蓚€部分。而本畢設(shè)主要的抗干擾技術(shù)則集中在光耦隔離上。本畢設(shè)的收費系統(tǒng)抗干擾能力強,系統(tǒng)安全、穩(wěn)定、有較好的可靠性。
關(guān)鍵字:收費系統(tǒng);STC12C5A08S2;模塊設(shè)計
Abstract
The paper is about toll collection system based on single-chip microcomputer designed, The paper includes charging system design, system hardware platform design and manufacture, charging system software design, system testing and system reliability analysis. This paper proposed charging system design,Then according to the design idea , proposed two feasibility schemes.A design scheme is using AT89S52 chip,external AD transform and storage circuit.But this circuit design is complex,anti-jamming is not very good.Therefore the chip adopts STC12C5A08S2 has strong advantage.This project charging system design from single chip hardware platform which using the modular design method.This includes seven modules for Vehicle information input module,Anti-interference circuit,Data display module,Record simulation printer module,The inquiry module,Power supply module,Data storage and AD conversion module.Then integrate modules.The design of the software system is also using modular design,The program module can be divided into six modules,including 12864 data record display module,EEPROM memory module,AD conversion module,Vehicle information programming module,Data record inquiry module.Then integrate modules.while finished software and hardware system designed, System testing and reliability analysis is begin.Reliability analysis will include reliability analysis of hardware and reliability analysis of program two parts.This project is mainly focused on the anti-interference technology of light-coupler isolate technology.This project charing system have strong anti-jamming capability, System security, stability and good reliability.
Key words:tollcollection system;STC12C5A08S2;modular design
目錄
引言 5
1 方案論證 6
1.1 系統(tǒng)方案的設(shè)計思路 6
1.2 系統(tǒng)方案的設(shè)計和原理 6
2 系統(tǒng)硬件的設(shè)計 7
2.1 硬件平臺的組成 7
2.2 芯片選擇 8
2.1.1STC12C5A08S2介紹 8
2.2.2STC12C5A08S2芯片復(fù)位電路 8
2.3.3STC12C5A08S2芯片晶振電路 9
2.3 車輛信息的輸入回路 9
2.3.1車輛有無判斷和信號放大電路 9
2.3.2車輛類型判斷 11
2.4 抗干擾回路 11
2.5 數(shù)據(jù)顯示模塊 12
3.6 記錄模擬打印模 15
3.7 按鍵模塊 16
3.8 電源模塊 17
3.9 芯片內(nèi)部的數(shù)據(jù)存儲和AD轉(zhuǎn)換模塊 18
3.9.1EEPROM 18
3.9.2AD轉(zhuǎn)換模塊 19
3 系統(tǒng)軟件設(shè)計 19
3.1 編程環(huán)境與編程語言的選擇 19
3.2 程序流程設(shè)計 20
4 電路的安裝和調(diào)試 25
4.1 硬件安裝調(diào)試電路 25
4.2 單片機系統(tǒng)的軟件調(diào)試 26
5 系統(tǒng)可靠性設(shè)計 27
6 總結(jié) 29
謝 辭 30
參考文獻 31
附 錄 32
參考文獻
[1] 徐愛均.單片機高級語言C51應(yīng)用程序設(shè)計[M].北京:電子工業(yè)出版社,2002.
[2] 何希才.常用電子電路應(yīng)用365例[M].北京:電子出版社,2006.9:57~59
[3] 周占友.集成化智能傳感器原理與應(yīng)用[M].北京:電子工業(yè)出版社.2004.1:198~222.
[4] 求是科技. 單片機典型外圍器件及應(yīng)用實例[M]. 北京:人民郵電出版社,2006
[5] 竇振中.單片機外圍器件實用手冊[M].北京: 北京航天航空大學(xué)出版社,2003.
[6] 趙佩華.單片機接口技術(shù)及應(yīng)用[M].北京:機工出版社,2003李宜達. 控制系統(tǒng)設(shè)計與仿真[M] .北京:清華大學(xué)出版社,2004
[7] 梅曉榕.自動控制原理[M]. 北京:科學(xué)出版社,2002.9
[8] 董緒榮,唐斌,蔣德.衛(wèi)星導(dǎo)航軟件接收機原理與設(shè)計[M].北京: 國防工業(yè)出版社, 2008年12月
[9]Jhn Wiley & Sons. Automatic control systems[M]. New York , 2003
1.57萬字 56頁
包括論文,PCB圖,程序代碼,機械圖
摘 要
本文為基于單片機的收費系統(tǒng)是設(shè)計,本系統(tǒng)的主要功能是對車輛進行計數(shù)收費,并可以自由定義車輛收費金額。本畢設(shè)全文可分為收費系統(tǒng)方案設(shè)計、收費系統(tǒng)硬件平臺的設(shè)計和制作、收費系統(tǒng)軟件設(shè)計、收費系統(tǒng)的調(diào)試和系統(tǒng)的可靠性分析。本文首先提出收費系統(tǒng)的設(shè)計思路,根據(jù)設(shè)計思路提出可行性的設(shè)計方案,采用STC12C5A08S2芯片進行設(shè)計。收費系統(tǒng)從單片機的硬件平臺設(shè)計開始,采用分模塊設(shè)計的方法。將模塊分為車輛信息的輸入模塊、抗干擾電路、數(shù)據(jù)顯示模塊、記錄模擬打印模塊、查詢模塊、電源模塊、芯片內(nèi)部的數(shù)據(jù)存儲和AD轉(zhuǎn)換模塊7個模塊。然后對各個模塊進行設(shè)計整合。而收費系統(tǒng)的軟件設(shè)計部分也是采用模塊化是設(shè)計方法,將模塊分為編程的模塊有:12864數(shù)據(jù)記錄顯示模塊,EEPROM存儲模塊,AD轉(zhuǎn)換模塊,車輛信息編程模塊,數(shù)據(jù)記錄查詢模塊這6個模塊,然后進行編程整合。設(shè)計好軟硬件后進行系統(tǒng)調(diào)試和可靠性分析,系統(tǒng)調(diào)試也是分模塊化調(diào)試??煽啃苑治鼍桶ㄓ布目煽啃苑治龊统绦蚩煽啃苑治鰞蓚€部分。而本畢設(shè)主要的抗干擾技術(shù)則集中在光耦隔離上。本畢設(shè)的收費系統(tǒng)抗干擾能力強,系統(tǒng)安全、穩(wěn)定、有較好的可靠性。
關(guān)鍵字:收費系統(tǒng);STC12C5A08S2;模塊設(shè)計
Abstract
The paper is about toll collection system based on single-chip microcomputer designed, The paper includes charging system design, system hardware platform design and manufacture, charging system software design, system testing and system reliability analysis. This paper proposed charging system design,Then according to the design idea , proposed two feasibility schemes.A design scheme is using AT89S52 chip,external AD transform and storage circuit.But this circuit design is complex,anti-jamming is not very good.Therefore the chip adopts STC12C5A08S2 has strong advantage.This project charging system design from single chip hardware platform which using the modular design method.This includes seven modules for Vehicle information input module,Anti-interference circuit,Data display module,Record simulation printer module,The inquiry module,Power supply module,Data storage and AD conversion module.Then integrate modules.The design of the software system is also using modular design,The program module can be divided into six modules,including 12864 data record display module,EEPROM memory module,AD conversion module,Vehicle information programming module,Data record inquiry module.Then integrate modules.while finished software and hardware system designed, System testing and reliability analysis is begin.Reliability analysis will include reliability analysis of hardware and reliability analysis of program two parts.This project is mainly focused on the anti-interference technology of light-coupler isolate technology.This project charing system have strong anti-jamming capability, System security, stability and good reliability.
Key words:tollcollection system;STC12C5A08S2;modular design
目錄
引言 5
1 方案論證 6
1.1 系統(tǒng)方案的設(shè)計思路 6
1.2 系統(tǒng)方案的設(shè)計和原理 6
2 系統(tǒng)硬件的設(shè)計 7
2.1 硬件平臺的組成 7
2.2 芯片選擇 8
2.1.1STC12C5A08S2介紹 8
2.2.2STC12C5A08S2芯片復(fù)位電路 8
2.3.3STC12C5A08S2芯片晶振電路 9
2.3 車輛信息的輸入回路 9
2.3.1車輛有無判斷和信號放大電路 9
2.3.2車輛類型判斷 11
2.4 抗干擾回路 11
2.5 數(shù)據(jù)顯示模塊 12
3.6 記錄模擬打印模 15
3.7 按鍵模塊 16
3.8 電源模塊 17
3.9 芯片內(nèi)部的數(shù)據(jù)存儲和AD轉(zhuǎn)換模塊 18
3.9.1EEPROM 18
3.9.2AD轉(zhuǎn)換模塊 19
3 系統(tǒng)軟件設(shè)計 19
3.1 編程環(huán)境與編程語言的選擇 19
3.2 程序流程設(shè)計 20
4 電路的安裝和調(diào)試 25
4.1 硬件安裝調(diào)試電路 25
4.2 單片機系統(tǒng)的軟件調(diào)試 26
5 系統(tǒng)可靠性設(shè)計 27
6 總結(jié) 29
謝 辭 30
參考文獻 31
附 錄 32
參考文獻
[1] 徐愛均.單片機高級語言C51應(yīng)用程序設(shè)計[M].北京:電子工業(yè)出版社,2002.
[2] 何希才.常用電子電路應(yīng)用365例[M].北京:電子出版社,2006.9:57~59
[3] 周占友.集成化智能傳感器原理與應(yīng)用[M].北京:電子工業(yè)出版社.2004.1:198~222.
[4] 求是科技. 單片機典型外圍器件及應(yīng)用實例[M]. 北京:人民郵電出版社,2006
[5] 竇振中.單片機外圍器件實用手冊[M].北京: 北京航天航空大學(xué)出版社,2003.
[6] 趙佩華.單片機接口技術(shù)及應(yīng)用[M].北京:機工出版社,2003李宜達. 控制系統(tǒng)設(shè)計與仿真[M] .北京:清華大學(xué)出版社,2004
[7] 梅曉榕.自動控制原理[M]. 北京:科學(xué)出版社,2002.9
[8] 董緒榮,唐斌,蔣德.衛(wèi)星導(dǎo)航軟件接收機原理與設(shè)計[M].北京: 國防工業(yè)出版社, 2008年12月
[9]Jhn Wiley & Sons. Automatic control systems[M]. New York , 2003