摘 要:基于虛擬儀器技術在原有發動機實驗測控臺架上設計了一種發動機油耗測試系統。系統主要由便攜式計算機、NI USB9219多功能數據采集卡、信號調理模塊、油耗傳感器、油箱、各路油管等組成。油耗傳感器輸出的信號直接輸入到數據采集卡和便攜式計算機中,通過圖形化語言LabVIEW的編程,用戶界面直觀地顯示在顯示器上,并可方便調試,獲取實驗數據。
關鍵詞:發動機油耗測試; 虛擬儀器; 瞬時油耗;平均油耗; LabVIEW
中圖分類號:TN911; TP216 文獻標識碼:A 文章編號:1004-373X(2010)14-0152-03
Design of Engine Fuel Consumption Test System Based on LabVIEW
XU Shu-liang,YI Ke-chuan,SUN Xin-cheng
(Institute of Technology, Anhui University of Technology, Fengyang 233100, China)
Abstract: A test system of engine fuel consumption is designed based on virtual instrument technology in the original engine test bench. This system consists of a portable computer, NI USB9219-multifunctional data acquisition card, signal conditioning modules, fuel sensors, fuel tank, and fuel pipe etc. The output signals of fuel sensors are directly input to NI USB9219 and laptop computers, and the fuel consumption data are intuitively displayed on users' interface through the graphical programming language-LabVIEW. It is easy to debug and obtain experimental data.
Keywords: fuel consumption test of engine; virtual instrument; instantaneous fuel consumption; average fuel consumption; LabVIEW
0 引 言
虛擬儀器是利用圖形化編程語言(G語言)在計算機上開發的一種儀器,它結合了簡單易用的圖形開發環境和靈活強大的編程語言,為用戶提供了一個直覺式環境,在數據采集、自動化測試和儀器控制等領域得到了廣泛的應用[1-2]。
在發動機測試系統中采用虛擬技術,以通用計算機為平臺,充分利用計算機豐富的軟硬件資源來完成數據采集、處理和結果顯示等功能;其克服了傳統儀器運算速度受限,開發周期較長、編程效率低、程序固化而系統擴展性能差、不能進行大量復雜的數據分析處理和數據存儲空間小等方面的不足[3]。
基于LabVIEW的發動機油耗測試系統正是充分利用了LabVIEW強大的工具、函數以及圖形化控件,實現了對油耗的自動測量和實時監測,同時可實現自動報警。
1 系統的硬件結構方案
系統是在原發動機實驗測控臺架上設計開發了一種瞬態油耗測試系統,其硬件結構如圖1所示。整個……