引用本文:吴桂林,郑建勇,于跃海,张胄.广域测量系统仿真子站实时通信问题[J].电力自动化设备,2009,(7):
.Real-time communication of WAMS simulation substation[J].Electric Power Automation Equipment,2009,(7):
【打印本页】   【HTML】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 3847次   下载 0  
广域测量系统仿真子站实时通信问题
吴桂林,郑建勇,于跃海,张胄
作者单位
摘要:
介绍了广域测量系统(WAMS)仿真子站的基本功能,分析了在Windows平台下实现WAMS仿真子站的实时通信时存在的问题:Windows窗口定时器的定时精度无法达到要求,消息处理出现较大延时;当数据帧写入socket的发送缓冲区时,若数据帧的帧长较短,会出现数据帧积压,导致多包数据同时到达主站.基于Windows环境和网络通信的OSI 7层参考模型,在OSI应用层上采用多媒体定时器和多线程技术结合的方案,解决精确定时问题;针对WAMS主站和子站数据管道的数据传输特点,在OSI传输层上修改了TCP/IP协议栈的传输控制方法,关闭TCP的Nagle算法,解决数据积压问题.实验及调试结果验证了实现方法的有效性和可行性.
关键词:  广域测量系统  仿真子站  实时通信  多媒体定时器  多线程  TCP/IP协议栈
DOI:
分类号:TM743
基金项目:
Real-time communication of WAMS simulation substation
WU Guilin1  ZHENG Jianyong1  YU Yuehai2  ZHANG Zhou1
Abstract:
The basic functions of WAMS(Wide Area Measurement System) simulation substation are introduced.The problems in its real-time communication on Windows platform are analyzed: the precision of windows timer is low,causing big delay in message processing;the data frames are accumulated in the socket send-buffer if the frame length is not long,causing several data frames arrived at the main station at the same time.Based on Windows platform and the OSI reference model of network communication,solutions are given...
Key words:  WAMS  simulation substation  real-time communication  multi-media timer  multi-thread  TCP / IP protocol stack  

用微信扫一扫

用微信扫一扫