為提升虛擬儀器傳輸速率與實(shí)時性能,擴(kuò)展監(jiān)測范圍,在VC的軟件平臺上設(shè)計(jì)了一種全功能虛擬示波器。與傳統(tǒng)虛擬示波器相比,該系統(tǒng)采用嵌入式系統(tǒng)完成信號采集,采用工業(yè)以太網(wǎng)為傳輸介質(zhì),通過線性插值算法和多線程編程思想,實(shí)現(xiàn)波形顯示、參數(shù)計(jì)算、頻譜分析以及波形存儲及回放功能。實(shí)驗(yàn)結(jié)果表明,該虛擬示波器可以實(shí)現(xiàn)20 kHz采樣頻率下的波形精確顯示,達(dá)到預(yù)期的各項(xiàng)指標(biāo)。
Abstract:
o enhance the transfer rate and real-time of virtual instrument performance, expand scope of monitoring, this paper uses the VCs software platform to design a fully functional virtual oscilloscope. Compared with traditional virtual oscilloscope, this system adopts the embedded system to complete the data acquisition, industrial Ethernet as the transmission medium used by the linear interpolation algorithm and multi-threaded programming ideas, namely to achieve waveform display, parameter calculation, spectrum analysis and waveform storage and playback. Experimental results show that the virtual oscilloscope can accurately display the waveform with 20kHz sampling frequency, and achieve the desired targets.
標(biāo)簽:
以太網(wǎng)
虛擬
波器設(shè)計(jì)
上傳時間:
2013-11-25
上傳用戶:wbwyl