摘要
结合VC++和Matlab各自的优势,提出一种基于两者的混合编程方法并应用于电力故障再现及分析系统,以实现故障波形再现、谐波分析、矢量分析和故障测距等功能。采用VC++实现系统框架和界面的绘制,采用Matlab实现计算和绘图,能充分发挥Matlab计算和绘图方便的优点,并克服了M文件运行依赖Matlab环境的缺陷。简要介绍了将MatlabM文件直接嵌入VC++环境,实现计算和绘图的方法。着重介绍了故障测距算法原理,其采用一种改进的基于微分方程模型的单端测距算法实现。谐波分析采用二次抛物线插值和快速傅里叶变换实现。系统通过对基于COMTRADE格式故障录波文件的分析,以数据、表格和图形的方式综合显示分析结果。结果表明系统有良好的应用效果。
A hybrid programming method,which combines VC++ and Matlab,is led to power system fault reoccurrence and analysis system,in which functions of fault waveform reoccurrence,harmonic analysis,vector analysis and fault locating are implemented. The system structure and interface are programmed with VC++ while the computation and drawing are implemented through Matlab,which overcomes the defect of running M-file in Matlab environment. The method of directly merging M -file into VC++ for computation and drawing is briefly introduced. The fault locating module is mainly described,which applies an improved single-terminal fault locating algorithm based on differential equation model. Nearest neighbor interpolation technique and FFT(Fast Fourier Transform) algorithm are implemented to analyze harmonic. Results with data,table and graph are provided through the analysis of fault recorder documents based on COMTRADE(Common Format for Transient Data Exchange for power system). Results show its good performance.
出处
《电力自动化设备》
EI
CSCD
北大核心
2006年第12期38-40,44,共4页
Electric Power Automation Equipment