There are many varieties of relay protection device products Currently, that is classified as line protection, generator protection, transformer protection, bus protection, motor protection by function, that is classified as high voltage protection, super high voltage protection, ultra high voltage protection by voltage level, being great difference in function and performance. Because of diversified demand and high real time, special software platform of relay protection device is developed according to special hadware platform usually, lead to software framework being different in different series protection, the development mode of software binding hadware must require long development period, resultly software is low reliability, high maintenance cost, low reusability and low portability.The electric power automatic technology is developping towards digital substation, now most manufacturer's relay protection device inner information model is process-oriented model, so must transition to object-oriented IEC61850 model.The tedious special software design needs modeling repeatedly, research and testing is very hard, and R&D cost is very high. The object-oriented general software design adapts to digital substation's technology development.This paper studies a independent platform, clear calling, object-oriented software design and a software framework base on middle layer, satisfy the requirement of a hard real time relay protection software system. By abstracting,modeling and modularization's design of traditional relay protection's middle layer informosome, implement the middle layer basic software general function. The middle layer modularization implementation independent of hardware and solfwar, realized software transplantation completely. The contents of this paper as follows:From the view of the relay protection function, analysis feature of line protection and equipment protection, abstract and layer the relay protection software, using three layers framework:drive layer, middle layer, application layer.Drive layer is related the hardware and operating system, including device drivers and OS drivers. Application layer is advanced application, independent of relay protection function. Middle layer is abstracted all protection function's common parts. Application layer and middle layer both are unrelated the hardware and operating system.From the view of the relay protection general principle, analysis relay protection common feature, abstract the middle layer's common parts, modeling the middle layer's common parts, and designing the software. Standarding API between middle layer and application layer, Standarding API between middle layer and drive layer, defining uniform interface, building and Standarding application layer information-exchange's API. Study a hard real time and high reliability software platform technology, and study a completely transplantable general relay protection software platform technology.From the view of the relay protection development direction, analysis digital substation technologies trend, according to digital protection and IEC61850 technical standard, put forward a model and API suitable for digital protection and general protection function.The research results of this paper as follows:Finish relay protection component object's abstracting and modeling,Standard relay protection API between middle layer and application layer,data source drive application solving digital protection problem of network sampling value delay. Program code is using in MGT100 series generator and transformer relay protection devices maded in NARI Technology Development Co. Ltd. Protection devices is operated in several substation and powerstation, running time is over one year, running status is very good.The meaning of this paper as follows:data source drive software design provides a reliable platform for intelligent electric grid's digital protection, three layers software framework and standed API makes decouping between hardware and software, software independent of hardware, code is transplantable completely, guarantee the software robustness, shorten development cycle. |