4通道600MSPS任意波形發(fā)生器顯控軟件設(shè)計(jì)
發(fā)布時(shí)間:2018-07-15 10:34
【摘要】:任意波形發(fā)生器是一種新型信號(hào)源,它是隨著不斷進(jìn)步的計(jì)算機(jī)信息技術(shù)發(fā)展起來(lái)的。任意波形發(fā)生器不僅可以生成一般的正弦波、方波、三角波等常規(guī)波形,而且還可以生成調(diào)幅、調(diào)頻、鍵控等多種調(diào)制波形,更加重要的一點(diǎn)是,它還能產(chǎn)生任意波形。因此,任意波形發(fā)生器已在現(xiàn)代測(cè)試計(jì)量領(lǐng)域得到了廣泛的應(yīng)用。顯控軟件作為任意波形發(fā)生器系統(tǒng)的重要組成部分之一,在任意波形發(fā)生器的使用過(guò)程中起著至關(guān)重要的作用。本論文主要介紹了4通道600MSPS任意波形發(fā)生器顯控軟件的設(shè)計(jì)過(guò)程。其主要內(nèi)容有:(1)在需求分析的基礎(chǔ)上,確定了本軟件的總體設(shè)計(jì)方案。圖形開(kāi)發(fā)庫(kù)選定為GTK+(圖像處理程序?qū)S瞄_(kāi)發(fā)庫(kù),GNU Image Manipulation Program Toolkit,簡(jiǎn)稱GTK+),波形繪制開(kāi)發(fā)庫(kù)選定為Matplotlib(依賴于Python的繪圖工具庫(kù));(2)對(duì)本軟件的整體架構(gòu)進(jìn)行分析,采用MVP模型(模型-視圖-控制器,Model-View-Presenter,簡(jiǎn)稱MVP)對(duì)軟件進(jìn)行設(shè)計(jì),將本軟件的圖形用戶界面分為數(shù)據(jù)層、顯示層和控制層三個(gè)層次;(3)采用模塊化的思想對(duì)本軟件的顯示層進(jìn)行設(shè)計(jì),將軟件視圖分為四個(gè)子模塊分別設(shè)計(jì);控制層完成了軟件具體功能的設(shè)計(jì),并且完成了與數(shù)據(jù)層和顯示層的交互;數(shù)據(jù)層則采用分類思想對(duì)參數(shù)數(shù)據(jù)進(jìn)行封裝并通過(guò)IVI驅(qū)動(dòng)實(shí)現(xiàn)了數(shù)據(jù)與硬件驅(qū)動(dòng)的傳輸;(4)對(duì)本論文中使用最頻繁的控件進(jìn)行自定義設(shè)計(jì)。由于GTK+圖形開(kāi)發(fā)庫(kù)中的原有控件不能完全滿足本軟件的設(shè)計(jì)需求,所以本論文對(duì)輸入控件自定義設(shè)計(jì)。(5)軟件測(cè)試。對(duì)本軟件的測(cè)試大體分為了各功能模塊的單元測(cè)試、系統(tǒng)集成測(cè)試和聯(lián)機(jī)測(cè)試,其中單元測(cè)試包括各個(gè)模塊的測(cè)試和自定義控件的測(cè)試,系統(tǒng)集成測(cè)試包括整個(gè)軟件的測(cè)試,聯(lián)機(jī)測(cè)試則是將軟件與硬件連接起來(lái)進(jìn)行測(cè)試。測(cè)試結(jié)果證明,本次設(shè)計(jì)的任意波形發(fā)生器顯控軟件界面友好、操作方便、功能完善,能完成顯示和控制任意波形的功能。
[Abstract]:Arbitrary waveform generator is a new signal source, which is developed with the development of computer information technology. Arbitrary waveform generator can not only generate normal sine wave, square wave, triangle wave, but also generate modulation waveform, frequency modulation, keying and so on. More importantly, it can also generate arbitrary waveform. Therefore, arbitrary waveform generator has been widely used in modern measurement field. As an important part of arbitrary waveform generator system, display and control software plays an important role in the use of arbitrary waveform generator. This paper mainly introduces the design process of 4-channel 600 MSPS arbitrary waveform generator display and control software. The main contents are as follows: (1) on the basis of requirement analysis, the overall design scheme of this software is determined. The graphics development library is selected as GTK (GNU Image manipulation Program Toolkit), and the waveform drawing development library is Matplotlib (Python-dependent drawing tool library); (2) to analyze the whole architecture of the software. MVP model (Model-View-Presenter-MVP) is used to design the software. The graphical user interface of the software is divided into three layers: data layer, display layer and control layer. (3) the display layer of the software is designed with the idea of modularization. The software view is divided into four sub-modules, the control layer completes the design of the specific functions of the software, and the interaction with the data layer and the display layer is completed. The data layer encapsulates the parameter data with the idea of classification and transfers the data with the hardware driver through the IVI driver. (4) the most frequently used controls in this paper are customized. Since the original controls in GTK graphics development library can not fully meet the design requirements of the software, this paper customizes the design of input controls. (5) Software testing. The testing of this software is divided into three parts: unit test of each function module, system integration test and on-line test. The unit test includes the test of each module and the test of custom control, and the system integration test includes the test of the whole software. Online testing is testing software and hardware. The test results show that the display and control software of arbitrary waveform generator designed in this paper has friendly interface, convenient operation and perfect function, and can display and control arbitrary waveform.
【學(xué)位授予單位】:電子科技大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2014
【分類號(hào)】:TM935
本文編號(hào):2123786
[Abstract]:Arbitrary waveform generator is a new signal source, which is developed with the development of computer information technology. Arbitrary waveform generator can not only generate normal sine wave, square wave, triangle wave, but also generate modulation waveform, frequency modulation, keying and so on. More importantly, it can also generate arbitrary waveform. Therefore, arbitrary waveform generator has been widely used in modern measurement field. As an important part of arbitrary waveform generator system, display and control software plays an important role in the use of arbitrary waveform generator. This paper mainly introduces the design process of 4-channel 600 MSPS arbitrary waveform generator display and control software. The main contents are as follows: (1) on the basis of requirement analysis, the overall design scheme of this software is determined. The graphics development library is selected as GTK (GNU Image manipulation Program Toolkit), and the waveform drawing development library is Matplotlib (Python-dependent drawing tool library); (2) to analyze the whole architecture of the software. MVP model (Model-View-Presenter-MVP) is used to design the software. The graphical user interface of the software is divided into three layers: data layer, display layer and control layer. (3) the display layer of the software is designed with the idea of modularization. The software view is divided into four sub-modules, the control layer completes the design of the specific functions of the software, and the interaction with the data layer and the display layer is completed. The data layer encapsulates the parameter data with the idea of classification and transfers the data with the hardware driver through the IVI driver. (4) the most frequently used controls in this paper are customized. Since the original controls in GTK graphics development library can not fully meet the design requirements of the software, this paper customizes the design of input controls. (5) Software testing. The testing of this software is divided into three parts: unit test of each function module, system integration test and on-line test. The unit test includes the test of each module and the test of custom control, and the system integration test includes the test of the whole software. Online testing is testing software and hardware. The test results show that the display and control software of arbitrary waveform generator designed in this paper has friendly interface, convenient operation and perfect function, and can display and control arbitrary waveform.
【學(xué)位授予單位】:電子科技大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2014
【分類號(hào)】:TM935
【參考文獻(xiàn)】
相關(guān)碩士學(xué)位論文 前1條
1 趙健;基于人機(jī)交互理論的測(cè)量?jī)x器顯示界面研究[D];天津大學(xué);2008年
,本文編號(hào):2123786
本文鏈接:http://sikaile.net/kejilunwen/dianlilw/2123786.html
最近更新
教材專著