基于組態(tài)軟件與DDE技術的流量計校準系統(tǒng)研制
摘 要:在分析流量標定裝置的標定原理與結構基礎上,將標準表法和標準體積法綜合在一套流量校準裝置中,擴大了應用范圍,提高了檢定效率。完成恒壓供水系統(tǒng)、數(shù)據(jù)采集、標準流量計及控制執(zhí)行等電路的配置,建立系統(tǒng)的數(shù)學模型,進行Matlab仿真分析,采用組態(tài)王軟件開發(fā)流量計檢定系統(tǒng),運用DDE技術完成了Matlab與組態(tài)間的動態(tài)數(shù)據(jù)交換,通過編程實現(xiàn)流量裝置和流量計的檢定、數(shù)據(jù)存儲以及歷史數(shù)據(jù)報表等功能,較好地實現(xiàn)在線實流校準的仿真。實驗調(diào)試表明:流量計校準裝置的準確度為0.3,能較好地實現(xiàn)流量校準系統(tǒng)的控制、數(shù)據(jù)采集、處理分析的自動化。
關鍵詞:流量標定;組態(tài)王;Matlab軟件;DDE技術
中圖分類號:TH814;TP272;TP311.52;TM930.12 文獻標志碼:A 文章編號:1674-5124(2013)05-0065-03
Design of flow meter calibration system based on configuration
software and DDE technology
HU Kai-ming, LI Yue-zhong, ZHAO Yong-ke
(College of Mechanical and Electronics Engineering,East China Institute of Technology,
Fuzhou 344000,China)
Abstract: The methods of master meter and standard table are integrated in a flow standard device after analyzing the principle and structure of the flow calibration standard device, which can expand application range and improve detection efficiency. The system has the functions of constant pressure water supply and data acquisition. And it is also equipped with the hardware circuits of the standard flow meter, the actuator, etc. The mathematical model is established, and Matlab simulation analysis is carried out. Flow meter calibration system is developed with the Kingview software. The dynamic data exchange between Matlab and configuration is realized with DDE technology. The functions of calibration, data storage, history data report, etc. are realized for the flow device and the flowmeter through programming. The method is a good way for on-line real-calibration simulation. Experimental results show that the accuracy of the flowmeter calibration device is 0.3, and it can preferably reach to the automation of control, data acquisition, processing and analysis.
Key words: flow calibration; Kingview; Matlab; DDE technology