|
摘要: |
结合实际输电线路模型,介绍了利用Matlab与VB的数据交换技术进行继电保护仿真的方法。利用Matlab建立了220kV输电线路、零序电流保护及单相重合闸装置等仿真模型,利用VB建立了仿真命令按钮及显示界面。采用ActiveX技术,通过从VB传递仿真命令给Matlab的方法,分别进行了输电线路发生永久性及瞬时性接地故障的仿真,获得了三相仿真电压、电流波形及保护动作波形,并借助动态数据交换DDE(DynamicDataExchange)技术在VB界面显示仿真波形。结果表明:利用ActiveX技术及DDE技术可实现Matlab与VB的无缝链接,便于继电保护仿真软件开发与使用。 |
关键词: Matlab,VB,继电保护,数据交换,链接 |
DOI: |
分类号:TM77 TM743 |
基金项目: |
|
Protection simulation based on data exchange between Matlab and VB |
HAN Xiao XU Xi CHEN Zhuo-ping
|
Abstract: |
A method based on data exchange between VB and Matlab is presented for protection simulation through an actual simulation model of power transmission system. Models of 220 kV transmission line power system,zero sequence current protection and a single-phase auto re-closer de-vice are built with Matlab,while the command buttons and interface are developed with VB. Using ActiveX technology,the commands are passed from VB to Matlab to simulate the permanent single phase to ground fault and instant single phase to ground fault. Three-phase voltage and current waveforms and the protection operation waveform are achieved and displayed on VB interface through the DDE(Dynamic Data Exchange) technology. Results indicate that by means of the ActiveX technology and DDE technology,Matlab and VB can be seamlessly integrated to develop and use protection simulation software. |
Key words: Matlab,VB,protection,data exchange,integrate |