為提升虛擬儀器傳輸速率與實時性能,擴展監測范圍,在VC的軟件平臺上設計了一種全功能虛擬示波器。與傳統虛擬示波器相比,該系統采用嵌入式系統完成信號采集,采用工業以太網為傳輸介質,通過線性插值算法和多線程編程思想,實現波形顯示、參數計算、頻譜分析以及波形存儲及回放功能。實驗結果表明,該虛擬示波器可以實現20 kHz采樣頻率下的波形精確顯示,達到預期的各項指標。
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.
EAC-1000是廣州致遠電子有限公司開發的基于PXA270處理器(XScale架構)的嵌入式工業計算機,預裝正版MicrosoftWindows CE 5.0操作系統。板載1路CAN總線控制器、1路10/100M自適應以太網適配器、2路RS-485接口、4路RS-232接口,支持VGA顯示器接口。該主機具有資源豐富、接口齊全、功耗低、可靠性高等特點,非常適用于工業現場通訊和控制。EAC-1000主要特點是物理上集成多種通訊接口;軟件上支持多種協議。