【正文】
畢業(yè)設(shè)計說明書基于 ARM 和 QT 的多路信號檢測系統(tǒng)設(shè)計 摘 要 I摘 要隨著嵌入式越來越受到重視,嵌入式系統(tǒng)近年來的發(fā)展有目共睹,嵌入式系統(tǒng)的應(yīng)用越來越廣泛。無論是傳統(tǒng)的工業(yè)監(jiān)測、機械控制,還是新興的移動通訊、數(shù)字娛樂,嵌入式系統(tǒng)正逐漸走進人們的生活生產(chǎn)的方方面面。在工業(yè)檢測方面,傳統(tǒng)的監(jiān)控系統(tǒng)主要以單片機為硬件載體進行設(shè)計,功能相對單一,可視化及拓展性有限。隨著 Linux 系統(tǒng)的不斷升級換代,現(xiàn)在出現(xiàn)了以 ARM芯片為載體,以 Linux 系統(tǒng)為軟件平臺設(shè)計出的新一代監(jiān)控系統(tǒng)。除了能實現(xiàn)原有單片機的功能外,其可視化更強,具備網(wǎng)絡(luò)通信功能,是一臺具備功能拓展更豐富的微型計算機。本文將以北京博創(chuàng)興業(yè)科技有限公司提供的 UPNetARM2410S 實驗儀器為硬件載體,對監(jiān)測系統(tǒng)的設(shè)計進行研究和應(yīng)用。系統(tǒng)平臺使用的是 的內(nèi)核,GUI 首次以 Qt 為底層圖形模塊,用 C++和 Qt 圖形用戶界面類庫開發(fā)圖形數(shù)據(jù)一體化監(jiān)控平臺。本文先從硬件平臺設(shè)計入手,根據(jù)要求對硬件設(shè)備進行了解,設(shè)計了功能模塊,在軟件部分移植了 Linux 操作系統(tǒng)平臺,構(gòu)建了開發(fā)環(huán)境,就數(shù)模轉(zhuǎn)換、觸摸屏驅(qū)動程序進行編程,最后詳述在了 Qt 下,如何使用 C++語言設(shè)計監(jiān)控系統(tǒng)圖形界面。最后展現(xiàn)了系統(tǒng)運行效果,并提出了改進意見。運行效果表明,設(shè)計的監(jiān)控系統(tǒng)是有效和實時的。關(guān)鍵詞:嵌入式系統(tǒng) Linux 驅(qū)動 Qt Abstract IIAbstractWith the increasing importance of embedded technology, the development of embedded systems for all to see in recent years, embedded system applications increasingly broad. Whether in traditional industrial monitoring, mechanical control, or the emerging mobile munications, digital entertainment, embedded systems are gradually moved into all aspects of production and lives of the people. In the industrial testing, the traditional embedded control systems primarily for the singlechip microputer hardware vector design function relatively single, visualization, and limited scalability. With the Linux system constantly upgrading and updating, and now appeared to ARM chip carrier and Linux systems software platform designed for a new generation of monitoring system. In addition to achieving the original microcontroller functions, visualizations stronger, equipped with the work munication function is a function of developing a more abundant microputer.This paper, based on UPNetARM2410S experiment instrument provided by the Beijing Universal Pioneering Technology Co., LTD., designs a monitoring system to conduct research and application. System platform is kernel, GUI for the first time in the bottom Qt graphics module, using C++ and Qt graphical user interface library monitor the development of graphical data integration platform.This article first start with the hardware platform design, required to understand the hardware devices designed modules, ported in the software part of the Linux operating system platform, build the development environment, how to build a development environment, and were on the A/D conversion, touch screen driver programming, the final details in Qt, how to use C++ language designed monitoring system graphical interface. As an application of research papers, the paper mainly on the software design, while the diagnosis and monitoring technology provides a similar software design and development of the reference model.The study proved to be effective and realtime.Key words: Embedded system,Linux,Driver,Qt 目 錄 III目 錄摘 要 ..............................................................................................................................................IAbstract .........................................................................................................................................II目 錄 ...........................................................................................................................................III第 一 章 前 言 .................................................................................................................................1 課 題 研 究 背 景 和 意 義 ......................................................................................................1 嵌 入 式 技 術(shù) 發(fā) 展 現(xiàn) 狀 與 未 來 ..........................................................................................1 課 題 研 究 內(nèi) 容 ...................................................................................................................2第 二 章 基 于 ARM 和 QT 的 多 路 信 號 監(jiān) 測 系 統(tǒng) 硬 件 設(shè) 計 ........................................3 系 統(tǒng) 組 成 ...........................................................................................................................3 S3C2410 介 紹 .................................................................................................................3 設(shè) 計 方 案 ...........................................................................................................................7 ADC 硬 件 設(shè) 計 .................................................................................................................8 ADC 轉(zhuǎn) 換 器 .........................................................................................................8 A/D 轉(zhuǎn)換器在擴展板的連接 ................................................................................9第 三 章 嵌 入 式 linux 移 植 及 驅(qū) 動 開 發(fā) ............................................................................11 linux 主 要 特 征 ...............................................................................................................11 驅(qū) 動 程 序 開 發(fā) ...............................................................................................................12 嵌 入 式 linux 驅(qū) 動 程 序 開 發(fā) 方 法 ..................................................................12 ADC 在 ARM 中 的 驅(qū) 動 開 發(fā) ........................................................................12 觸 摸 屏 在 ARM 中 的 驅(qū) 動 開 發(fā) .....................................................................21第 四 章 信 號 監(jiān) 測 應(yīng) 用 軟 件 設(shè) 計 ........................................................................................26 Qt 主 要 特 性 ..................................................................................................................26 Qt 類 庫 及 其 機 制 簡 介 .................................................................................................27 Qt 類 庫 ........................