摘要
将VxWorks嵌入式实时多任务操作系统应用于电力系统测控保护一体化装置中,简要介绍了其特点,阐述了将其应用于测控保护装置的具体实施方案。将全部功能划分为优先级不同的CPU中断和VxWorks任务,对实时性要求较高的交流采样和GPS对时等功能采用中断实现,测控功能则利用任务实现。根据各个功能模块之间数据交换的内容及方式,设计了相互之间的协调工作机制,主要采用了信号量及邮箱的模式,从而使模块间的耦合性降低,达到了高效地使用各种软硬件资源的目的。根据VxWorks提供的通信模型和硬件平台开发了MUX层的驱动程序,使用标准Socket接口函数实现了基于TCP/IP协议栈的以太网通信功能。该设计方案已在新一代变电站自动化系统中成功应用,现场运行也验证了该方案的优越性。
VxWorks,an embedded,real-time and multi-task operating system applied in the measuring-con- trol and protection devices of power system is introduced,and its features and implementation are discussed.All functions are divided into CPU interrupts and Vxworks tasks with different priorities.The AC sampling and GPS time synchronization are implemented by CPU interrupts,which have rigorous requirement for real-time performance,while the measuring-control functions by Vxworks tasks.The working mechanism to coordinate different function modules is designed according to their data exchange models.The Semaphore and Mailbox are used to lower the coupling between modules and effectively deploy hardware and software resources.Based on the communication model and hardware platform provided by Vxworks,the MUX drivers are developed.The Ethernet communication based on TCP/IP protocol stack is realized with standard Socket interface function.The design scheme has been successfully applied in substa- tion automation systems and field operation has validated its superiority.
出处
《电力自动化设备》
EI
CSCD
北大核心
2009年第2期149-152,共4页
Electric Power Automation Equipment
关键词
VXWORKS操作系统
多任务
电力系统
测控
微机保护
VxWorks OS
multitask
power system
measuring and control
microprocessor-based protection