虛擬示波器快速捕獲技術(shù)研究及應(yīng)用
本文選題:虛擬示波器 切入點(diǎn):波形捕獲率 出處:《電子科技大學(xué)》2017年碩士論文 論文類型:學(xué)位論文
【摘要】:由于多元化和高效化檢測的需要,虛擬示波器應(yīng)用需求逐年增多。不同于直接通過硬件處理的臺式示波器,虛擬示波器需要通過PC機(jī)進(jìn)行分析處理,所以在處理波形數(shù)據(jù)的耗時(shí)上,虛擬示波器比臺式示波器長,導(dǎo)致虛擬示波器的死區(qū)時(shí)間較長,波形捕獲率低。因?yàn)椴ㄐ尾东@率決定了示波器捕獲波形完整信息的能力,所以提高虛擬示波器的波形捕獲能力具有較大的理論研究和實(shí)用價(jià)值。提高虛擬示波器波形捕獲能力的方法主要有兩種,即硬件升級和軟件優(yōu)化。本文主要研究使用軟件提升波形捕獲率的方法。通過設(shè)計(jì)一種虛擬示波器軟件優(yōu)化方法,加快程序數(shù)據(jù)處理以及繪制波形的速率,減少死區(qū)時(shí)間,提高波形捕獲率,最大限度還原真實(shí)信號內(nèi)容。并為其添加波形快速定位功能,在高速捕獲模式下能更好地觀查被測波形。本文主要通過繪圖優(yōu)化和并行化的方法提高虛擬示波器的波形捕獲能力:(1)在繪圖方法上,通過調(diào)用Direct2D繪圖編程接口,借助現(xiàn)在性能不斷提升的圖形處理器,使Direct2D的硬件加速效果更加明顯,從而提高虛擬示波器的波形繪制速率,使波形刷新率提高。并且還對波形數(shù)據(jù)進(jìn)行批量處理,縮短死區(qū)時(shí)間,顯示更多波形細(xì)節(jié)。最后通過波形定位功能找出需要的單幅波形并顯示出來,方便對波形數(shù)據(jù)的檢測。(2)在數(shù)據(jù)處理及任務(wù)劃分上,利用Intel多核處理器的特點(diǎn),將虛擬示波器程序進(jìn)行并行化改造,使之能在多核處理器上并行執(zhí)行各個(gè)任務(wù),縮短任務(wù)執(zhí)行時(shí)間,提升程序運(yùn)行速率。并行化改造主要利用Intel線程構(gòu)造塊TBB(Intel Thread Building Blocks),它能實(shí)現(xiàn)多核處理器下的串行程序的并行化,以及通過Intel Parallel Studio工具集對并行程序進(jìn)行調(diào)試及調(diào)優(yōu)?s短程序中數(shù)據(jù)處理時(shí)間,達(dá)到提高波形捕獲能力的目的。通過對軟件優(yōu)化的研究及實(shí)施,實(shí)現(xiàn)虛擬示波器在相同的硬件配置及操作環(huán)境下波形捕獲率的提升。本文研究的軟件優(yōu)化方法適用于不同核心數(shù)的處理器,在雙核處理器平臺上其波形捕獲率可提高1.33倍,在四核處理器的平臺上優(yōu)化帶來的加速比能高達(dá)1.7。
[Abstract]:The demand for virtual oscilloscope application is increasing year by year because of the need of multiplex and high efficiency detection. Different from desktop oscilloscope which is processed directly by hardware, virtual oscilloscope needs to be analyzed and processed by PC. Therefore, in the processing of waveform data, the virtual oscilloscope is longer than the desktop oscilloscope, which leads to the longer dead time of virtual oscilloscope and the lower waveform capture rate, because the waveform acquisition rate determines the ability of oscilloscope to capture the complete waveform information. Therefore, improving the waveform acquisition ability of virtual oscilloscope has great theoretical research and practical value. There are two main methods to improve the waveform acquisition ability of virtual oscilloscope. This paper mainly studies the method of using software to improve the waveform capture rate. By designing a software optimization method of virtual oscilloscope, the speed of program data processing and waveform drawing is accelerated, and the dead time is reduced. Improve the waveform capture rate, restore the real signal content to the maximum extent, and add the waveform fast localization function for it, In the high speed capture mode, we can better observe and check the measured waveforms. In this paper, we improve the waveform acquisition ability of virtual oscilloscopes by drawing optimization and parallelization. In drawing method, we call the Direct2D drawing programming interface. With the help of the GPU, the hardware acceleration effect of Direct2D is more obvious, thus the waveform rendering rate of virtual oscilloscope is improved, the waveform refresh rate is improved, and the waveform data is processed in batches. Finally, through the waveform localization function to find out the needed single waveform and display it, it is convenient to detect the waveform data in data processing and task division, using the characteristics of Intel multi-core processor. The virtual oscilloscope program is parallelized so that it can execute each task in parallel on the multi-core processor and shorten the task execution time. The parallelization transformation mainly uses Intel thread to construct TBB(Intel Thread Building locks, which can realize the parallelization of serial program under multi-core processor. The parallel program is debugged and optimized by the Intel Parallel Studio toolset. The data processing time in the program is shortened, and the ability of waveform acquisition is improved. The waveform acquisition rate of virtual oscilloscope is improved under the same hardware configuration and operating environment. The software optimization method studied in this paper is suitable for processors with different core numbers, and the waveform capture rate can be increased by 1.33 times on the dual-core processor platform. Optimization on a four-core processor platform results in a speedup of up to 1. 7.
【學(xué)位授予單位】:電子科技大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2017
【分類號】:TM935.3
【相似文獻(xiàn)】
相關(guān)期刊論文 前10條
1 高曉平;虛擬示波器的模型構(gòu)造與實(shí)現(xiàn)[J];空軍雷達(dá)學(xué)院學(xué)報(bào);2000年02期
2 史延齡;虛擬示波器的設(shè)計(jì)研究[J];儀表技術(shù);2001年03期
3 孫鐵強(qiáng);雙通道虛擬示波器的設(shè)計(jì)[J];河北理工學(xué)院學(xué)報(bào);2002年01期
4 萬頻,黃志彬,詹宜巨,汪仁煌;一種高性價(jià)比虛擬示波器的研制[J];計(jì)算機(jī)測量與控制;2004年10期
5 林永平,蔡堅(jiān)勇;基于網(wǎng)絡(luò)的虛擬示波器的設(shè)計(jì)[J];福建師范大學(xué)學(xué)報(bào)(自然科學(xué)版);2005年02期
6 王秀芳,郝建勛;虛擬示波器的設(shè)計(jì)與實(shí)現(xiàn)[J];儀器儀表學(xué)報(bào);2005年S2期
7 張逸成;梁海泉;姚勇濤;;一種虛擬示波器的設(shè)計(jì)[J];電子測量與儀器學(xué)報(bào);2007年02期
8 林軍;;虛擬示波器的設(shè)計(jì)與應(yīng)用[J];儀表技術(shù);2009年01期
9 談玲;;一種虛擬示波器中的數(shù)據(jù)傳輸方案[J];微計(jì)算機(jī)信息;2009年01期
10 張曉燕;;虛擬示波器設(shè)計(jì)[J];科技創(chuàng)新導(dǎo)報(bào);2009年11期
相關(guān)會議論文 前6條
1 王秀芳;郝建勛;;虛擬示波器的設(shè)計(jì)與實(shí)現(xiàn)[A];第七屆青年學(xué)術(shù)會議論文集[C];2005年
2 楊鳳霞;韓yN;;基于LabVIEW的虛擬示波器的設(shè)計(jì)[A];2014陜西省第十四屆無損檢測年會暨產(chǎn)品展示會論文集[C];2014年
3 陸綺榮;肖洪祥;劉月紅;;基于LabVIEW虛擬示波器的設(shè)計(jì)[A];2004年廣西自動化學(xué)會學(xué)術(shù)年會論文集[C];2004年
4 韋巍;韋仲;;基于Labview的虛擬示波器設(shè)計(jì)及應(yīng)用[A];全國第20屆計(jì)算機(jī)技術(shù)與應(yīng)用學(xué)術(shù)會議(CACIS·2009)暨全國第1屆安全關(guān)鍵技術(shù)與應(yīng)用學(xué)術(shù)會議論文集(下冊)[C];2009年
5 譚春亮;;基于USB2.0的虛擬示波器的設(shè)計(jì)與實(shí)現(xiàn)[A];第十七屆全國測控計(jì)量儀器儀表學(xué)術(shù)年會(MCMI'2007)論文集(下冊)[C];2007年
6 張婧;朱俊;李美亞;;虛擬示波器在物理實(shí)驗(yàn)教學(xué)中的應(yīng)用[A];第六屆全國高等學(xué)校物理實(shí)驗(yàn)教學(xué)研討會論文集(上冊)[C];2010年
相關(guān)重要報(bào)紙文章 前1條
1 ;微型虛擬示波器的設(shè)計(jì)與實(shí)現(xiàn)(下)[N];電子報(bào);2008年
相關(guān)碩士學(xué)位論文 前10條
1 王俊權(quán);虛擬示波器快速捕獲技術(shù)研究及應(yīng)用[D];電子科技大學(xué);2017年
2 韓穎;低頻虛擬示波器的開發(fā)與設(shè)計(jì)[D];南京理工大學(xué);2011年
3 陶登攀;虛擬示波器的設(shè)計(jì)與實(shí)現(xiàn)[D];重慶大學(xué);2013年
4 肖云;基于WiFi的Android虛擬示波器的軟件設(shè)計(jì)與實(shí)現(xiàn)[D];電子科技大學(xué);2015年
5 邱文濤;虛擬示波器的設(shè)計(jì)與實(shí)現(xiàn)[D];南昌航空大學(xué);2015年
6 陳艷雙;基于LabVIEW的虛擬示波器在高職《電工電子技術(shù)》課程實(shí)驗(yàn)教學(xué)中的設(shè)計(jì)與應(yīng)用[D];湖南師范大學(xué);2016年
7 薛冬賓;基于SOPC的虛擬示波器的研究與設(shè)計(jì)[D];濟(jì)南大學(xué);2016年
8 李苗;虛擬示波器系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)[D];西安石油大學(xué);2016年
9 滕紅麗;數(shù)字信號處理技術(shù)在虛擬示波器中的應(yīng)用[D];武漢大學(xué);2005年
10 任重;虛擬示波器的研究與設(shè)計(jì)[D];南昌大學(xué);2006年
,本文編號:1593060
本文鏈接:http://sikaile.net/kejilunwen/dianlidianqilunwen/1593060.html