【正文】
編號: 桂林電子科技大學信息科技學院 畢業(yè)設計 (論文 )說明書 題 目: 基于 FPGA 的彩色點陣控制器設計 系 別: 電子工程系 專 業(yè): 電子信息工程 學生姓名: 學 號: 指導教師: 職 稱: 題目類型: ?理論研究 ?實驗研究 ?工程設計 ?工程技術研究 ?軟件開發(fā) ?應用研究 2020 年 6 月 1 日 摘 要 LED 顯示屏工藝發(fā)展很快,使得 LED 顯示屏有很多優(yōu)異特性。由于其優(yōu)異的特性,在生活應用很廣泛。例如:手機屏、筆記本電腦顯示屏、廣告牌、數(shù)碼相機、大屏電視機以及軍事領域等等都有應用,因而得到了業(yè)界廣泛的關注。 LED 發(fā)展到現(xiàn)在,已 經(jīng)從最初的單色屏發(fā)展到現(xiàn)在的全彩顯示屏,而且隨著 LED 工藝制作技術發(fā)展,從以前的單個 LED 燈到現(xiàn)在的大屏的 LED 顯示屏,從最早的無灰階單色屏靜態(tài)驅動,到現(xiàn)在彩色顯示屏動態(tài)驅動,所以對驅動控制電路有了更高的要求。 本課題研究的是當今行業(yè)流行的雙基色 LED 顯示屏驅動控制器技術,以 FPGA 為核心結合顯示屏控制電路驅動點陣屏。設計采用的 FPGA 芯片是目前較為流行的 Altera FPGA 系列為 EP2C5T144C8N 芯片。根據(jù) LED 顯示屏的特性和內(nèi)部組成結構,選定需要用的驅動控制芯片,設計一款該 LED 顯示屏的驅動電路 。本課題設計的是基于 FPGA的 LED 顯示屏控制器設計,需要選用什么樣的軟件開發(fā)工具,設計 LED 顯示屏的掃描控制程序。本課題設計選用的是 Verilog 語言編寫軟件部分。結合 Verilog 語言設計的特點和編寫程序的規(guī)則再結合硬件電路編寫對 LED 顯示屏的掃描控制部分。 所以,本課題設計是通過結合點陣塊內(nèi)部結構的特點和特性的分析和理解,設計出了對 LED 顯示屏控制電路的設計方案 。 結合 FPGA 開發(fā)板、硬件電路和軟件工程設計,最終實現(xiàn)了對 LED 顯示屏的控制系統(tǒng)的設計。 關鍵詞: FPGA; 雙基色 LED 顯示屏 ; Verilog 語言 Abstract LED display technology developing rapidly, making the LED display has many excellent properties. Because of its excellent properties, is widely applied in life. For example, mobile phone screen, notebook screen, billboards, digital camera, a big TV and etc are used in the military field, thus gets widely attention. LED development up to now, already from the original monochrome screen development up to now, fullcolor display, and with the development of LED technology of the production process, from the previous single LED lights to the LED display screen now, from the earliest of grayscale monochrome screen static drive, color display dynamic drive till now, so is the higher requirement for the drive control circuit. This topic research is the industry popular technology, dual color LED display driver controller with FPGA as the core in bination with lattice screen display control circuit drive. This topic design USES the FPGA chip is currently more popular Altera FPGA series for EP2C5T144C8N chip. According to the characteristics of LED display and internal structure, need to use the selected drive control chip, and design a driving circuit of the LED display. This topic design is design of LED display controller based on FPGA, need to choose what kind of software development tools, the design of LED display scan control program. This topic is Verilog language writing software part of the design is chosen. According to the characteristics of the Verilog language design and write programs are written rules bined with hardware circuit of LED display scan control part. So, this topic is designed by bining lattice screen to the internal structure of the analysis and understanding of the characteristics and properties, design the design scheme of LED display control circuit. Combining the FPGA development board, hardware circuit and software design, finally achieved the LED display control system design. Key words: FPGA 。 Double color LED display。 Verilog language 目 錄 引言 ................................................................................................................... 1 1 方案論證 ...................................................................................................... 2 整體設計論證 ................................................................................................. 2 硬件模塊設計 論證 .......................................................................................... 3 顯示屏驅動控制方案的比較 ..................................................................... 3 顯示屏驅動方式芯片選定 ........................................................................ 3 軟件控制模塊設計論證 .................................................................................... 4 2 硬件驅動電路 設計實現(xiàn) .............................................................................. 5 硬件總體電路設計思路 .................................................................................... 5 硬件電路總體設計實現(xiàn) .................................................................................... 5 硬件電路制作過程 .......................................................................................... 5 硬件行驅動控制模塊設計實現(xiàn) .......................................................................... 7 硬件列驅動控制模塊設計實現(xiàn) .......................................................................... 9 點陣屏模塊的設計實現(xiàn) ...................................................................................10 3 軟件掃描控制設計實現(xiàn) .............................................................................12 軟件設計總體思路 .........................................................................................12 軟件總體設計實現(xiàn) .........................................................................................12 軟件設計過程 ................................................................................................12 存儲數(shù)據(jù)的模塊 .............................................................................................12 顯示屏掃描控制模塊 ......................................................................................17 LED 顯示屏灰度實現(xiàn) .....................................................................................19 4 彩色 LED 顯示屏 控制器整體實現(xiàn) ............................................................21 設計要求 .......................................................................................................21 彩色點陣屏控制器的設計實現(xiàn) .........................................................................22 整體方案實現(xiàn)效果 .........................................................................................22 5 硬件與軟件調(diào)試 ......................................................