【正文】
租車計費器的 VHDL代碼進行仿真,并在 FPGA數(shù)字實驗系統(tǒng)上實現(xiàn)了該控制。本文介紹了一種采用 FPGA芯片進行出租車計費器的設(shè)計方法,描述了研究該課題的意義和應(yīng)用價值;說明了 Altera公司的 FPGA結(jié)構(gòu)原理及其主要運用;介紹了超高速集成電路硬件描述語言的主要功能和設(shè)計;講解了出租車計費器的系統(tǒng)原理和功能。主要參考文獻 .......................................................... 19 ) 1 基 于 FPGA 的出租車計費器設(shè)計 摘要 :隨著 EDA技術(shù)的高速發(fā)展,電子系統(tǒng)的設(shè)計技術(shù)和工具發(fā)生了深刻的變化,大規(guī)??删幊踢壿嬈骷?CPLD/FPGA 的出現(xiàn),給設(shè)計人員帶來了很多方便。目 錄 摘要 ..................................................................... 1 Abstract ................................................................. 1 第一章 引言 .............................................................. 2 課題背景 .......................................................... 2 本文的主要工作 .................................................... 2 第二章 FPGA、 VHDL 介紹 .................................................... 4 FPGA 現(xiàn)狀及發(fā)展 ................................................... 4 FPGA 的結(jié)構(gòu)與特點 ................................................. 4 FPGA 基本結(jié)構(gòu) ................................................ 5 FPGA 的特點 .................................................. 6 VHDL 設(shè)計優(yōu)點 ..................................................... 6 第三章 出租車計費器的設(shè)計 ................................................ 7 出租車計費器的總體設(shè)計 ............................................ 7 出租車計費標準 ............................................... 7 總體框架設(shè)計 ................................................ 7 出租車計費器主要模塊設(shè)計 .......................................... 8 速度模塊 .................................................... 9 計程模塊 .................................................... 9 計時模塊 ................................................... 10 計費模塊 ................................................... 10 第四章 整體電路設(shè)計 ..................................................... 11 整體電路圖 ....................................................... 11 電源電路 ......................................................... 11 啟動 /停止按鍵電路 ................................................ 11 自動清零部分 ..................................................... 12 第五章 系統(tǒng)仿真與下載實現(xiàn) ............................................... 13 QuartusⅡ軟件介紹 ................................................ 13 軟件特點 .................................................... 13 QuartusⅡ設(shè)計流程: ........................................ 14 仿真結(jié)果 ......................................................... 14 .................................................... 14 速度模塊仿真 ................................................ 15 計程模塊仿真 ................................................ 15 計時模塊仿真 ................................................ 16 計費模塊仿真 ............................................... 16 設(shè)計測試 ......................................................... 17 第六章 總結(jié)及展望 ....................................................... 18 致謝 .................................................................. 19 利用它進行產(chǎn)品開發(fā),可以降低研發(fā)成本,縮短研發(fā)周期。本文主要采用了 Altera公司的可編程邏輯芯片 EPC2C35F672C8 為核心控制,并附加一定外圍電路組成出租車計費器,使用目前流行的 VHDL語言進行設(shè)計,具有移植性強的特點,便于升級及可重復(fù)使用。 關(guān)鍵字: FPGA, VHDL, QuartusⅡ, 出租車計費器 Design of Taxi Meter Based on FPGA ABSTRACT:With the rapid development of EDA technology, the design and tools of electronic system have deeply changed. And the largescale programmable logic device CPLD/FPGA appearance to make convenience for designer. By using it to research and develop, it will help deviser to reduce cost, shorten cycle. This essay introduces a design of taxi meter by using FPGA chip, describes the significance and importance to research this, explain makeup elements of FPGA which is made by Altera Company, introduce the main function and design of VeryHighSpeed Integrated Circuit Hardware Description Language, interpret the taxi meter principle and functions of the system. This essay mainly use the EPC2C35F672C8 for core control, and add some outside circuit to make a taxi meter. It is designed with VHDL Language and it can be migrated easier. This make the product much more convenience to repeat use. By using QuartusⅡ to emulate taxi meter VHDL code, the PFGA digital experiment system can be controlled. Key Words: FPGA, VHDL, QuartusⅡ , Taxi fare Registers ) 2 第一章 引言 課題背景 幾年來,出租車行業(yè)發(fā)展迅速,全國大大小小的出租車公司已有數(shù)千家,基于出租車的附屬品市場前景也是十分廣闊。 傳統(tǒng)計費器的不足點: :傳統(tǒng)的計費器利用微控器,大部分功能依靠單片機實現(xiàn)。 :每次計價標準修改都需要重新燒錄芯片,使得每次價格調(diào)整都成為很費力的事情,很難適應(yīng)社會發(fā)展的需要。使用軟件 QuartusⅡ和超高速硬件描述語言VHDL 來實現(xiàn)計價標準靈活設(shè)定。 本文的主要工作 面對出租車行業(yè)日益迅猛的發(fā)展趨勢及對計費器更高的靈活性的要求,本設(shè)計希望嘗試一些新的方 法來予以解決。 FPGA 能完成任何數(shù)字器件的功能,使用 FPGA 來開發(fā)數(shù)字電路,可以大大縮短設(shè)計時間,減少 PCB