Movatterモバイル変換


[0]ホーム

URL:


CN112104496B - Universal substation IED self-discovery and self-configuration method and device based on UPnP - Google Patents

Universal substation IED self-discovery and self-configuration method and device based on UPnP
Download PDF

Info

Publication number
CN112104496B
CN112104496BCN202010948395.3ACN202010948395ACN112104496BCN 112104496 BCN112104496 BCN 112104496BCN 202010948395 ACN202010948395 ACN 202010948395ACN 112104496 BCN112104496 BCN 112104496B
Authority
CN
China
Prior art keywords
ied
general
upnp
iec
self
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010948395.3A
Other languages
Chinese (zh)
Other versions
CN112104496A (en
Inventor
缪思薇
朱朝阳
唐志军
周亮
俊平鑫珏
陈锦山
何金栋
朱亚运
韩丽芳
胡博文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huazhong University of Science and Technology
China Electric Power Research Institute Co Ltd CEPRI
Electric Power Research Institute of State Grid Fujian Electric Power Co Ltd
Original Assignee
Huazhong University of Science and Technology
China Electric Power Research Institute Co Ltd CEPRI
Electric Power Research Institute of State Grid Fujian Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huazhong University of Science and Technology, China Electric Power Research Institute Co Ltd CEPRI, Electric Power Research Institute of State Grid Fujian Electric Power Co LtdfiledCriticalHuazhong University of Science and Technology
Priority to CN202010948395.3ApriorityCriticalpatent/CN112104496B/en
Publication of CN112104496ApublicationCriticalpatent/CN112104496A/en
Application grantedgrantedCritical
Publication of CN112104496BpublicationCriticalpatent/CN112104496B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明一种基于UPnP的通用变电站IED的自发现和自配置方法及装置,针对现在智能变电站内大量IED接入和人工配置效率低、工作量大等问题,采用UPnP协议使通用IED能够在网络中被识别,通过变电站UPnP网络实现IED的自动发现,并通过UPnP控制来实现设备的自动配置;通过对设备的自发现,能够快速发现和识别设备,并对其进行自动配置,实现设备的远程配置,能够高效的实现设备的可控,在提高效率的同时保证可靠性和一致性。

Figure 202010948395

The present invention is a self-discovery and self-configuration method and device for a general-purpose substation IED based on UPnP. Aiming at the problems of low efficiency and heavy workload for a large number of IED access and manual configuration in the current intelligent substation, the UPnP protocol is adopted to enable the general-purpose IED to be distributed on the network. The automatic discovery of IEDs is realized through the UPnP network of the substation, and the automatic configuration of the equipment is realized through the UPnP control; through the self-discovery of the equipment, the equipment can be quickly discovered and identified, and automatically configured to realize the remote control of the equipment. Configuration can efficiently realize the controllability of equipment, and ensure reliability and consistency while improving efficiency.

Figure 202010948395

Description

Translated fromChinese
一种基于UPnP的通用变电站IED的自发现和自配置方法及装置A self-discovery and self-configuration method of a general substation IED based on UPnP and itsdevice

技术领域technical field

本发明涉及智能变电站的IED接入配置,具体为一种基于UPnP的通用变电站IED的自发现和自配置方法及装置。The invention relates to an IED access configuration of an intelligent substation, in particular to a method and device for self-discovery and self-configuration of a general substation IED based on UPnP.

背景技术Background technique

智能变电站是智能电网中的重要一环,智能变电站领域涉及到的设备种类繁多,包括智能终端、保护装置、测控装置、远动终端等。由于设备类型不同,不同设备的功能具有很大的差异;不同设备厂商的设备通信方式也不统一。并且在智能变电站中智能电子设备IED(Intelligent Electronic Device)数量庞大,当IED接入变电站网络时,设备接入和人工配置需要消耗大量的人力资源,同时信息的准确性和一致性缺乏保证。其根本原因在于设备接入无法自动识别、设备无法远程配置以及人为操作存在差异性。Smart substation is an important part of the smart grid. There are many types of equipment involved in the field of smart substations, including smart terminals, protection devices, measurement and control devices, and telecontrol terminals. Due to the different types of devices, the functions of different devices are very different; the communication methods of devices of different device manufacturers are not uniform. Moreover, there are a large number of intelligent electronic devices (IEDs) in smart substations. When IEDs are connected to the substation network, a large amount of human resources are required for device access and manual configuration, and the accuracy and consistency of information are not guaranteed. The fundamental reason is that the device access cannot be automatically identified, the device cannot be configured remotely, and there are differences in human operations.

传统变电站过程层设备与间隔层设备是通过电缆点对点连接的方式进行数据传输,过程层设备和站控层设备是通过RS485或以太网采用IEC 60870进行数据传输。而IEC61850下的智能变电站过程层设备和间隔层设备是通过光缆及以太网进行数据传输,过程层设备和站控层设备是通过以太网采用IEC 61850进行数据传输。由于大多数变电站设计模式局限于传统变电站,现传统变电站的数字化改造中,大多数变电站只是部分采用IEC61850设备(以间隔层设备为主)。因此,IEC 61850间隔层设备现呈现功能集成多样化、平台通用模块化特点。Traditional substation process layer equipment and bay layer equipment are connected through point-to-point cables for data transmission, and process layer equipment and station control layer equipment are used for data transmission through RS485 or Ethernet using IEC 60870. The smart substation process layer equipment and bay layer equipment under IEC61850 use optical cables and Ethernet for data transmission, and the process layer equipment and station control layer equipment use IEC 61850 for data transmission through Ethernet. Since most substation design models are limited to traditional substations, in the digital transformation of traditional substations, most substations only partially use IEC61850 equipment (mainly bay layer equipment). Therefore, the IEC 61850 bay layer equipment now presents the characteristics of diversified functional integration and common modularization of the platform.

现有工程技术方案是按照IEC 61850工程配置过程实施,在现有的变电站按照IEC61850工程实施过程中,IED能力描述文件(ICD文件)由设备制造商提供,系统规格文件(SSD文件)和全站系统配置文件(SCD文件)由电力设计院提供,IED实例配置文件(CID文件)则是由变电站工作人员由SCD文件导出。工作人员将SCD文件导出的CID文件及面向通用对象的变电站事件(GOOSE)文件下载至相应功能的设备,对设备功能进行测试后用于变电站正常工作中。对于变电站内的设备维护和功能变动,需要人为手动下载功能配置文件至设备中。同时,在目前变电站系统中,IEC 61850标准IED与IEC 60870规约IED目前都还存在,但两者间不能够进行信息交互。因此,通用IED需要进行不同协议间的转化,来实现IEC 61850标准IED与非IEC 61850标准IED间的信息交互,从而有利于系统集成调试。The existing engineering technology scheme is implemented according to the IEC 61850 engineering configuration process. During the implementation process of the existing substation according to the IEC61850 engineering, the IED capability description file (ICD file) is provided by the equipment manufacturer, the system specification file (SSD file) and the whole station The system configuration file (SCD file) is provided by the Electric Power Design Institute, and the IED instance configuration file (CID file) is derived from the SCD file by the substation staff. The staff downloads the CID file exported from the SCD file and the general object-oriented substation event (GOOSE) file to the equipment with corresponding functions, and uses them in the normal operation of the substation after testing the equipment functions. For equipment maintenance and function changes in the substation, it is necessary to manually download the function configuration file to the equipment. At the same time, in the current substation system, both the IED of the IEC 61850 standard and the IED of the IEC 60870 protocol still exist, but information exchange cannot be performed between the two. Therefore, the general IED needs to convert between different protocols to realize the information exchange between the IEC 61850 standard IED and the non-IEC 61850 standard IED, which is beneficial to system integration and debugging.

因此,在变电站从传统变电站向智能变电站改造的过程中存在以下问题:1、变电站内设备通信,从传统的电缆通信转变成网络通信,大量IED在网络中的识别和核准仍需要人工确认,人工确认IED在网络中的接入效率低下;2、现在IED功能趋于集成化和通用化,但IED在变电站中系统的相对位置功能较为固定,其功能配置需按照IEC 61850的工程配置流程,从全站配置文件(SCD)中生成相应的IED实例配置文件(CID),虽然CID文件可以通过软件工具从SCD文件中自动生成,但是生成CID文件也需要人工导入IED中,对于IED的功能配置,人工配置和导入工作量较大;3、在传统变电站向智能变电站改造过程中,由于传统变电站可能在各个环节采用多种工控协议,而智能变电站在IEC 61850标准下制定了统一的协议,对于旧的IED来说存在新旧协议不同的问题。Therefore, the following problems exist in the transformation process of substations from traditional substations to smart substations: 1. The equipment communication in the substation has changed from traditional cable communication to network communication. The identification and approval of a large number of IEDs in the network still need manual confirmation. Confirm that the access efficiency of IEDs in the network is low; 2. Now the IED functions tend to be integrated and generalized, but the relative position and function of the IED in the substation system are relatively fixed, and its function configuration needs to follow the engineering configuration process of IEC 61850, from The corresponding IED instance configuration file (CID) is generated in the station-wide configuration file (SCD). Although the CID file can be automatically generated from the SCD file through software tools, the generated CID file also needs to be manually imported into the IED. For the function configuration of the IED, The workload of manual configuration and import is relatively large; 3. In the process of transforming traditional substations into smart substations, because traditional substations may adopt various industrial control protocols in various links, while smart substations have formulated a unified protocol under the IEC 61850 standard For the current IED, there is a problem that the old and new protocols are different.

如何实现IED接入时终端设备的自动发现,如何实现对IED的自动配置,以及如何满足IED不同协议间通信服务需求,是智能变电站中亟待解决的问题。How to realize the automatic discovery of terminal equipment when IEDs are connected, how to realize the automatic configuration of IEDs, and how to meet the communication service requirements between different protocols of IEDs are urgent problems to be solved in smart substations.

发明内容Contents of the invention

针对现有技术中存在的问题,本发明提供一种基于UPnP的通用变电站IED的自发现和自配置方法及装置,使用方便,设计合理,能够实现通用IED的自发现和自动配置,以及通用IED的远程控制。Aiming at the problems existing in the prior art, the present invention provides a self-discovery and self-configuration method and device of a general-purpose substation IED based on UPnP. remote control.

本发明是通过以下技术方案来实现:The present invention is achieved through the following technical solutions:

一种基于UPnP的通用变电站IED的自发现和自配置方法,包括,A method for self-discovery and self-configuration of a general substation IED based on UPnP, comprising,

接入智能变电站的通用IED,通过DHCP获取IP地址,利用UPnP协议使接入的通用IED受控制层UPnP控制点的控制,完成通用IED的自发现;The general-purpose IED connected to the smart substation obtains an IP address through DHCP, and uses the UPnP protocol to make the connected general-purpose IED be controlled by the UPnP control point of the control layer to complete the self-discovery of the general-purpose IED;

根据控制层UPnP控制点的操作请求,确定接入的通用IED的具体功能,建立该通用IED的IEC 61850信息模型;According to the operation request of the UPnP control point in the control layer, determine the specific functions of the general-purpose IED to be accessed, and establish the IEC 61850 information model of the general-purpose IED;

根据该通用IED的IEC 61850信息模型,生成初始ICD文件,初始ICD文件经过系统配置工具生成SCD文件,再通过IED配置工具生成CID文件,通过CID文件配置接入的通用IED进行实例化,完成通用IED的自动配置。According to the IEC 61850 information model of the general IED, the initial ICD file is generated, the initial ICD file generates the SCD file through the system configuration tool, and then generates the CID file through the IED configuration tool, and instantiates the general IED accessed through the CID file configuration to complete the general Automatic configuration of IEDs.

优选的,通用IED的实例化后,建立IEC 61850通信服务;Preferably, after the general IED is instantiated, an IEC 61850 communication service is established;

与智能变电站内的IEC 61850标准IED通信时;When communicating with IEC 61850 standard IEDs in smart substations;

接入的通用IED根据IEC 61850通信协议进行通讯服务的映射,生成IEC 61850应用服务数据单元格式报文,并对其赋值;The connected general-purpose IED performs communication service mapping according to the IEC 61850 communication protocol, generates IEC 61850 application service data unit format messages, and assigns values to them;

与智能变电站内的非IEC 61850标准IED通信时;When communicating with non-IEC 61850 standard IEDs in smart substations;

接入的通用IED发送报文时,将IEC 61850标准IED的元数据存入IEC61850内存库中,通过协议转换生成对应非IEC 61850标准IED通信协议格式的报文;接收报文时,通过协议转换对非IEC 61850标准IED的报文进行解析,获取元数据,然后存入IEC 61850内存库,并映射到IEC 61850应用服务数据单元格式报文中。When the connected general-purpose IED sends a message, the metadata of the IEC 61850 standard IED is stored in the IEC61850 memory bank, and the message corresponding to the communication protocol format of the non-IEC 61850 standard IED is generated through protocol conversion; when the message is received, it is converted through the protocol Parse non-IEC 61850 standard IED messages to obtain metadata, then store them in the IEC 61850 memory bank, and map them to IEC 61850 application service data unit format messages.

进一步,完成IED的自动配置,包括对IED基本功能的配置和运行参数的设置,同时根据CID和SCD文件完成IEC 61850内存库的配置;完成此步骤后,通知UPnP控制点通用IED的服务状态变化情况。Further, complete the automatic configuration of the IED, including the configuration of the basic functions of the IED and the setting of the operating parameters, and complete the configuration of the IEC 61850 memory bank according to the CID and SCD files; after completing this step, notify the UPnP control point of the general IED service status change Condition.

进一步,所述的IEC 61850通信服务包括,Further, the IEC 61850 communication service includes,

采用标准的XML解析读入包括CID文件和SCD文件的SCL模型配置文件,解析得到IED设备列表,根据GOOSE或者SV访问点提取收发通信相关的逻辑设备、逻辑节点以及相应的数据对象和数据属性,建立GOOSE或SV中发送报文和接收报文之间的对应关系,提供统一的抽象通信服务接口;Use standard XML parsing to read in the SCL model configuration file including CID file and SCD file, parse to get the IED device list, and extract the logical devices, logical nodes and corresponding data objects and data attributes related to sending and receiving communication according to the GOOSE or SV access point. Establish the corresponding relationship between sending and receiving messages in GOOSE or SV, and provide a unified abstract communication service interface;

根据通用IED获取的元数据,结合IEC 61850内存库文件,实现IEC61850的服务映射,建立应用服务数据单元ASDU和应用协议数据单元APDU数据包,完成对于IEC 61850格式包的赋值,将数据包发送至数据链路层,实现通用IED的IEC 61850通信服务。According to the metadata obtained by the general IED, combined with the IEC 61850 memory library file, realize the service mapping of IEC61850, establish the application service data unit ASDU and the application protocol data unit APDU data packet, complete the assignment of the IEC 61850 format packet, and send the data packet to Data link layer, which implements IEC 61850 communication services for general IEDs.

优选的,通用IED的实例化后,运行启用功能服务,并通知UPnP控制点通用IED的服务变换,取消设备注册,最终完成基于UPnP的通用变电站IED的自发现和自配置。Preferably, after the instantiation of the general IED, run the enabling function service, and notify the UPnP control point of the service change of the general IED, cancel the device registration, and finally complete the self-discovery and self-configuration of the UPnP-based general substation IED.

优选的,通用IED的自发现具体包括如下步骤,Preferably, the self-discovery of the general IED specifically includes the following steps,

通用IED首先通过DHCP协议自动获取设备的IP地址,并注册UPnP根设备,然后初始化UPnP协议栈;The general IED first automatically obtains the IP address of the device through the DHCP protocol, and registers the UPnP root device, and then initializes the UPnP protocol stack;

通用IED利用SSDP协议经由组播地址向网络广播自己的服务和资源,通过SSDP协议被UPnP网络中的控制点搜索并发现;The general IED uses the SSDP protocol to broadcast its own services and resources to the network through the multicast address, and is searched and discovered by the control point in the UPnP network through the SSDP protocol;

通用IED根据控制点获取的设备信息与控制点进行远程通信,接收控制消息并响应。The general IED performs remote communication with the control point according to the device information obtained by the control point, receives control messages and responds.

优选的,控制层UPnP控制点的控制包括订阅请求、取值请求和操作请求中的至少一种。Preferably, the control of the UPnP control point at the control layer includes at least one of a subscription request, a value retrieval request and an operation request.

优选的,通用IED通过UPnP网络上传自己的功能特性描述文件,根据接收到UPnP控制点下发对应功能特性描述的功能码,确定接入的通用IED的具体功能。Preferably, the general-purpose IED uploads its own function description file through the UPnP network, and determines the specific function of the connected general-purpose IED according to the function code corresponding to the function description issued by the UPnP control point.

优选的,所述通用IED的IEC 61850信息模型的建立,包括服务器、逻辑设备、逻辑节点、数据对象和数据属性的确定;具体的,Preferably, the establishment of the IEC 61850 information model of the general IED includes the determination of servers, logical devices, logical nodes, data objects and data attributes; specifically,

根据通用IED的功能,确定IEC 61850信息模型中的逻辑设备,包括控制、保护或测量;Determine the logical equipment in the IEC 61850 information model, including control, protection or measurement, according to the function of the general IED;

然后利用不同逻辑节点来描述逻辑设备的功能,通过每个逻辑节点对应相应的数据对象以及数据属性。Then use different logical nodes to describe the function of the logical device, and each logical node corresponds to the corresponding data object and data attribute.

一种基于UPnP的通用变电站IED的自发现和自配置装置,包括,A self-discovery and self-configuration device for a general substation IED based on UPnP, comprising,

设备自发现模块,用于通过DHCP获取IP地址,利用UPnP协议使接入的通用IED受控制层UPnP控制点的控制;The device self-discovery module is used to obtain an IP address through DHCP, and use the UPnP protocol to make the connected general IED controlled by the UPnP control point of the control layer;

IEC 61850对象建模模块,用于根据控制层UPnP控制点的操作请求,确定接入的通用IED的具体功能,建立该通用IED的IEC 61850信息模型;The IEC 61850 object modeling module is used to determine the specific functions of the connected general IED according to the operation request of the UPnP control point in the control layer, and establish the IEC 61850 information model of the general IED;

IED自动配置模块,用于根据该通用IED的IEC 61850信息模型,生成初始ICD文件,初始ICD文件经过系统配置工具生成SCD文件,再通过IED配置工具生成CID文件,通过CID文件配置接入的通用IED进行实例化。The IED automatic configuration module is used to generate the initial ICD file according to the IEC 61850 information model of the general IED. The initial ICD file generates the SCD file through the system configuration tool, and then generates the CID file through the IED configuration tool, and configures the general access through the CID file. The IED is instantiated.

与现有技术相比,本发明具有以下有益的技术效果:Compared with the prior art, the present invention has the following beneficial technical effects:

本发明针对现在智能变电站内大量IED接入和人工配置效率低、工作量大等问题,采用UPnP协议使通用IED能够在网络中被识别,通过变电站UPnP网络实现IED的自动发现,并通过UPnP控制来实现设备的自动配置;通过对设备的自发现,能够快速发现和识别设备,并对其进行自动配置,实现设备的远程配置,能够高效的实现设备的可控,在提高效率的同时保证可靠性和一致性。The present invention aims at the problems of low efficiency and large workload of a large number of IED access and manual configuration in the intelligent substation, adopts the UPnP protocol to enable the general IED to be identified in the network, realizes the automatic discovery of the IED through the UPnP network of the substation, and controls the IED through the UPnP To realize the automatic configuration of the device; through the self-discovery of the device, it can quickly discover and identify the device, and automatically configure it to realize the remote configuration of the device, which can efficiently realize the controllability of the device, and ensure reliability while improving efficiency. sex and consistency.

进一步的,针对变电站内不同协议IED间通信服务问题,通过在IED中采用协议转换模块,实现不同协议间的服务映射,解决智能变电站内IEC61850标准IED与非IEC 61850标准IED通信服务的难题。Further, aiming at the problem of communication services between IEDs with different protocols in the substation, the protocol conversion module is used in the IED to realize the service mapping between different protocols, and solve the problem of communication services between IEC61850 standard IEDs andnon-IEC 61850 standard IEDs in smart substations.

附图说明Description of drawings

图1为本发明实例中所述装置的结构功能框图;Fig. 1 is the structural functional block diagram of device described in the example of the present invention;

图2为本发明实例中所述基于UPnP协议的设备自发现流程图;Fig. 2 is the flow chart of self-discovery of equipment based on UPnP protocol described in the example of the present invention;

图3为本发明实例中所述IEC 61850信息模型结构图;Fig. 3 is the structural diagram of theIEC 61850 information model described in the example of the present invention;

图4为本发明实例中所述SCL文件结构框图;Fig. 4 is the structural block diagram of SCL file described in the example of the present invention;

图5为本发明实例中所述IED自动配置流程图;Fig. 5 is the IED automatic configuration flowchart described in the example of the present invention;

图6为本发明实例中所述IEC 61850通信服务映射模型功能结构图;Fig. 6 is a functional structural diagram of theIEC 61850 communication service mapping model described in the examples of the present invention;

图7为本发明实例中所述IEC 61850协议报文通信流程图;Fig. 7 is theIEC 61850 protocol message communication flowchart described in the example of the present invention;

图8为本发明实例中所述协议转换流程图。Fig. 8 is a flowchart of the protocol conversion described in the example of the present invention.

具体实施方式Detailed ways

下面结合具体的实施例对本发明做进一步的详细说明,所述是对本发明的解释而不是限定。The present invention will be further described in detail below in conjunction with specific embodiments, which are explanations of the present invention rather than limitations.

本发明通过UPnP协议实现了通用IED的自发现过程,并实现了控制层UPnP控制点对于IED的远程控制。利用控制层UPnP控制点对IED的控制,实现IED的自动配置功能,根据IEC 61850信息模型,结合变电站描述语言SCL对IED进行自动配置。在实现变电站通用IEDIEC 61850标准的通信服务的基础上,利用协议转换模块,实现变电站内IEC 61850协议与其他协议的转换,实现不同协议IED之间的通信。其包括如下步骤。The invention realizes the self-discovery process of the general IED through the UPnP protocol, and realizes the remote control of the IED by the UPnP control point of the control layer. The IED is controlled by the UPnP control point in the control layer to realize the automatic configuration function of the IED. According to theIEC 61850 information model, combined with the substation description language SCL, the IED is automatically configured. On the basis of realizing the communication service of thegeneral IEDIEC 61850 standard in the substation, the protocol conversion module is used to realize the conversion between theIEC 61850 protocol and other protocols in the substation, and realize the communication between IEDs with different protocols. It includes the following steps.

S1设备自发现:通用IED(Intelligent Electronic Device,智能电子设备)接入智能变电站,通过DHCP(Dynamic Host Configuration Protocol,动态主机设置协议)获取IP地址,利用UPnP(Universal Plug and Play,通用即插即用)协议实现设备的自发现,使通用IED能够受控制层UPnP控制点的控制,包括“订阅请求”,“取值请求”,“操作请求”等。S1 device self-discovery: Universal IED (Intelligent Electronic Device, intelligent electronic device) is connected to the smart substation, obtains an IP address through DHCP (Dynamic Host Configuration Protocol, dynamic host configuration protocol), and uses UPnP (Universal Plug and Play, Universal Plug and Play) Use the ) protocol to realize the self-discovery of the device, so that the general IED can be controlled by the UPnP control point of the control layer, including "subscription request", "value request", "operation request" and so on.

S2 IEC 61850设备建模:根据控制层UPnP控制点的操作请求,确定通用IED的具体功能,实现IED IEC 61850信息模型的建立,包括服务器、逻辑设备、逻辑节点、数据对象和数据属性。本发明中所描述的智能电子设备应由远方监视,此处的服务器是一个功能节点,允许其它功能节点访问数据,也能够向其它功能节点提供数据。本发明中所描述的智能电子设备至少是含有一个服务器的。S2 IEC 61850 equipment modeling: According to the operation request of the UPnP control point in the control layer, determine the specific functions of the general IED, and realize the establishment of theIED IEC 61850 information model, including servers, logical devices, logical nodes, data objects and data attributes. The intelligent electronic device described in the present invention should be monitored remotely, and the server here is a functional node, which allows other functional nodes to access data, and can also provide data to other functional nodes. The intelligent electronic device described in the present invention contains at least one server.

S3 IED自动配置:根据IEC 61850信息模型,自动生成初始ICD文件(IEDCapability Description,IED能力描述文件),经过系统配置工具和IED配置工具生成CID文件(Configured IED Description,IED实例配置文件),进而配置IED,实现IED的实例化,完成IED的自动配置。S3 IED automatic configuration: According to theIEC 61850 information model, the initial ICD file (IEDCapability Description, IED capability description file) is automatically generated, and the CID file (Configured IED Description, IED instance configuration file) is generated through the system configuration tool and the IED configuration tool, and then configured The IED realizes the instantiation of the IED and completes the automatic configuration of the IED.

S4统一抽象通信服务:通过IEC 61850通信服务和协议转换模块实现通用IED的通信服务功能,具体实现步骤如下:S4 unified abstract communication service: realize the communication service function of general IED throughIEC 61850 communication service and protocol conversion module, the specific implementation steps are as follows:

S4.1针对变电站内IEC 61850标准IED间的通信,根据IEC 61850协议进行通信服务的映射,生成应用服务数据单元格式报文,并对其赋值,进行IED间通信。S4.1 Aiming at the communication between IEDs of theIEC 61850 standard in the substation, the mapping of the communication service is carried out according to theIEC 61850 protocol, and the application service data unit format message is generated and assigned to it, and the communication between the IEDs is carried out.

S4.2针对变电站内IEC 61850标准IED与非IEC 61850标准IED间的通信,设计通用IED的通信服务映射方法,发送报文时,将IEC 61850标准IED的元数据存入IEC 61850内存库中,通过协议转换模块生成对应协议格式的报文;接收报文时,通过协议转换模块对非IEC 61850标准IED的报文进行解析,获取元数据,然后存入IEC 61850内存库,并映射到IEC61850应用服务数据单元格式报文中。S4.2 For the communication betweenIEC 61850 standard IEDs andnon-IEC 61850 standard IEDs in the substation, design a communication service mapping method for general IEDs. When sending messages, store the metadata ofIEC 61850 standard IEDs in theIEC 61850 memory bank, Generate a message in the corresponding protocol format through the protocol conversion module; when receiving the message, use the protocol conversion module to analyze thenon-IEC 61850 standard IED message to obtain metadata, then store it in theIEC 61850 memory bank, and map it to the IEC61850 application in the service data unit format message.

本发明实例中所述的IEC 61850标准是基于通用网络通信平台的变电站自动化系统唯一国际标准,它是由国际电工委员会第57技术委员会(IECTC57)的3个工作组10,11,12(WG10/11/12)负责制定的。TheIEC 61850 standard described in the example of the present invention is the only international standard based on the substation automation system of the general network communication platform, and it is formed by 3 working groups 10,11,12 (WG10/ 11/12) is responsible for formulating.

IEC 60870-5-104规约由国际电工委员会制定,104规约把IEC101的应用服务数据单元(ASDU)用网络规约TCP/IP进行传输的标准,该标准为远动信息的网络传输提供了通信规约依据。The IEC 60870-5-104 protocol is formulated by the International Electrotechnical Commission. The 104 protocol is a standard for transmitting the application service data unit (ASDU) of IEC101 with the network protocol TCP/IP. This standard provides a communication protocol basis for the network transmission of telecontrol information .

IEC 61850标准下对智能电子设备IED的定义如下:“由一个或多个处理器组成,具有从外部源接收和传送数据或控制外部源的任何设备,即电子多功能仪表、微机保护、控制器,在特定的环境下在接口所限定范围内能够执行一个或多个逻辑接点任务的实体。The definition of intelligent electronic equipment IED under theIEC 61850 standard is as follows: "Consisting of one or more processors, any device that receives and transmits data from external sources or controls external sources, that is, electronic multi-function instruments, microcomputer protection, controllers , an entity that can perform one or more logical joint tasks within the scope defined by the interface under a specific environment.

UPnP协议是通过定义和发布基于开放、因特网通讯网协议标准的UPnP设备控制协议来实现网络中的各种设备能够相互无缝连接,并简化相关网络的实现。The UPnP protocol is to realize the seamless connection of various devices in the network by defining and publishing the UPnP device control protocol based on the open, Internet communication network protocol standard, and simplify the realization of related networks.

变电站配置语言SCL是IEC 61850采用的变电站专用描述语言,基于可拓展标记语言按照W3C可拓展标记语言模式描述了SCL语言的句法规定。The substation configuration language SCL is a substation-specific description language adopted byIEC 61850. Based on the extensible markup language, the syntax of the SCL language is described according to the W3C extensible markup language model.

IED能力描述文件(ICD文件),描述了IED提供的基本数据模型及服务,但不包含IED实例名称和通信参数,由装置厂商提供给系统集成厂商IED capability description file (ICD file), which describes the basic data model and services provided by the IED, but does not include the IED instance name and communication parameters, is provided by the device manufacturer to the system integration manufacturer

全站唯一的全站系统配置文件(SCD文件),描述所有IED的实例配置和通信参数、IED之间的通信配置以及变电站一次系统结构,由系统集成厂商根据ICD完成。The only station-wide system configuration file (SCD file) in the whole station describes the instance configuration and communication parameters of all IEDs, the communication configuration between IEDs and the primary system structure of the substation, and is completed by the system integration manufacturer according to the ICD.

每个设备有一个的IED实例配置文件(CID文件),由设备厂商根据SCD文件中本IED相关配置生成。Each device has an IED instance configuration file (CID file), which is generated by the device manufacturer according to the relevant configuration of the IED in the SCD file.

面向通用对象的变电站事件(GOOSE)是IEC 61850标准中用于满足变电站自动化系统快速报文需求的一种机制。Generic Object-Oriented Substation Events (GOOSE) is a mechanism in theIEC 61850 standard to meet the fast message requirements of substation automation systems.

下面结合附图对本发明的方法和装置,以及两者的对应作进一步的详细说明。在此需要说明的是,对于基于UPnP的通用变电站IED的自发现和自配置的方法和装置的说明用于帮助理解本发明,但并不构成对本发明的限定。The method and device of the present invention and their correspondence will be further described in detail below in conjunction with the accompanying drawings. It should be noted here that the description of the method and device for self-discovery and self-configuration of the UPnP-based general substation IED is used to help understand the present invention, but does not constitute a limitation to the present invention.

如图1所示,基于UPnP的通用变电站IED的自发现和自配置装置,包括IED设备自发现模块、IEC 61850对象建模模块和IED自动配置模块,其于控制层UPnP控制点、IEC 61850通信服务模块与协议转换模块交互完成相应功能。其中变电站通用IED包含了智能变电站的测量、保护和控制等功能单元,具有DHCP模块和UPnP设备控制协议等。这里结合图2、图3、图4、图5、图6和图7对本发明的具体技术实施过程进行阐述。As shown in Figure 1, the self-discovery and self-configuration device of the general substation IED based on UPnP includes the IED device self-discovery module, theIEC 61850 object modeling module and the IED automatic configuration module, which communicate with the UPnP control point of the control layer and theIEC 61850 The service module interacts with the protocol conversion module to complete the corresponding functions. Among them, the substation general IED includes functional units such as measurement, protection and control of the smart substation, and has a DHCP module and UPnP device control protocol. Here, the specific technical implementation process of the present invention will be described with reference to FIG. 2 , FIG. 3 , FIG. 4 , FIG. 5 , FIG. 6 and FIG. 7 .

1.设备自发现。如图1、图2所示,当变电站通用IED接入网络时,通用IED首先通过DHCP协议自动获取设备的IP地址,并注册UPnP根设备,然后初始化UPnP协议栈。通用IED利用SSDP协议经由组播地址向网络广播自己的服务和资源,UPnP网络中的控制点通过SSDP协议搜索设备并发现设备。1. Device self-discovery. As shown in Figure 1 and Figure 2, when the general IED of the substation is connected to the network, the general IED first automatically obtains the IP address of the device through the DHCP protocol, registers the UPnP root device, and then initializes the UPnP protocol stack. The general IED uses the SSDP protocol to broadcast its own services and resources to the network via the multicast address, and the control point in the UPnP network searches for and discovers devices through the SSDP protocol.

2.设备描述与设备控制。通用IED实现设备自发现后,控制层UPnP控制点获取通用IED的设备信息与其进行远程通信,通用IED接收控制消息并响应。2. Device description and device control. After the general IED realizes the device self-discovery, the UPnP control point of the control layer obtains the device information of the general IED for remote communication with it, and the general IED receives the control message and responds.

通用IED通过UPnP网络上传自己的功能特性描述文件,如表1所示。UPnP控制点获取通用IED的功能单元等相关信息,通过下发对应的功能码选择通用IED需要实现的功能,实现对通用IED的设备控制和功能选择。The general IED uploads its own functional characteristic description file through the UPnP network, as shown in Table 1. The UPnP control point obtains relevant information such as the functional units of the general IED, and selects the functions that the general IED needs to implement by issuing the corresponding function code, so as to realize device control and function selection of the general IED.

表1通用IED功能编码及功能单元描述Table 1 General IED function code and functional unit description

序号serial number功能码function code功能描述Functional description110X010X01控制模块,包括继保设备的控制等Control module, including the control of relay protection equipment, etc.220X020X02保护模块,包括限流、欠压保护等Protection modules, including current limiting, undervoltage protection, etc.330X030X03测量模块,包括电流、电压的处理等Measurement module, including current and voltage processing, etc.··················

3.IEC 61850对象模型建立。通用IED获取UPnP控制点下发的功能码,根据功能码选择通用IED的功能,进而确定IEC 61850信息模型中提供对应服务的的逻辑设备,包括控制模块、保护模块、测量模块等。然后利用不同逻辑节点来描述逻辑设备的功能,每个逻辑节点对应相应的数据对象以及数据属性,具体如图3所示。3. Establishment ofIEC 61850 object model. The general IED obtains the function code issued by the UPnP control point, selects the function of the general IED according to the function code, and then determines the logical device that provides the corresponding service in theIEC 61850 information model, including the control module, protection module, and measurement module. Then, different logical nodes are used to describe the functions of the logical device, and each logical node corresponds to a corresponding data object and data attribute, as shown in FIG. 3 .

当功能码为0X01时,通用IED的逻辑设备为控制设备,其逻辑节点主要包括断路器逻辑节点XCBR、自动重合闸逻辑节点RREC等;当功能码为0X02时,通用IED的逻辑设备为保护设备,其逻辑节点主要包括限过电流逻辑节点PTOC、欠电压逻辑节点PTUV、保护跳闸条件逻辑节点PTRC等;当功能码为0X03时,通用IED的逻辑设备为测量设备,其逻辑节点主要包括电流互感器逻辑节点TCTR、电压互感器逻辑节点TVTR、测量逻辑节点MMXU等。逻辑节点则对相应的数据对象和数据属性,例如电流互感器逻辑节点TCTR包含电流采样值,电压互感器逻辑节点TVTR包含电压采样值等。When the function code is 0X01, the logic device of the general IED is a control device, and its logic nodes mainly include the circuit breaker logic node XCBR, the automatic reclosing logic node RREC, etc.; when the function code is 0X02, the logic device of the general IED is a protection device , its logic nodes mainly include overcurrent limiting logic node PTOC, undervoltage logic node PTUV, protection trip condition logic node PTRC, etc.; when the function code is 0X03, the logic device of the general IED is a measurement device, and its logic nodes mainly include current mutual inductance The logical node TCTR of the voltage transformer, the logical node TVTR of the voltage transformer, and the logical node MMXU of the measurement. The logical nodes correspond to the corresponding data objects and data attributes, for example, the current transformer logical node TCTR contains current sampled values, and the voltage transformer logical node TVTR contains voltage sampled values, etc.

4.IED自动配置。根据IEC 61850对象模型,利用变电站配置描述语言SCL描述IED的功能、变电站的结构和变电站通信网络拓扑结构等,其文件结构如图4所示包含Header段落、Substation段落、IED段落、Communication段落和DataTemplate段落,其中Header段落为所有SCL文件必须包含段落。ICD文件用以描述智能电子设备的全部能力,其内容必须包含IED段落,可选择性包含Substation段落;SSD文件用以描述变电站电气主接线和所要求的逻辑节点,其内容必须包含Substation段落,可选择性包含IED段落和Communication段落;SCD文件用以描述全站配置信息,其内容必须包含所有段落内容;CID文件用以描述一个实例化智能电子设备,其内容必须包含IED段落、与该实例化智能电力设备相关的Substation段落。4. IED automatic configuration. According to theIEC 61850 object model, the substation configuration description language SCL is used to describe the function of the IED, the structure of the substation, and the topology of the communication network of the substation. Paragraphs, where the Header paragraph must contain paragraphs for all SCL files. The ICD file is used to describe all the capabilities of the intelligent electronic device, and its content must include the IED paragraph, which can optionally include the Substation paragraph; the SSD file is used to describe the electrical main wiring of the substation and the required logical nodes, and its content must include the Substation paragraph, which can be included Optionally include the IED paragraph and the Communication paragraph; the SCD file is used to describe the configuration information of the whole station, and its content must contain all the paragraph content; the CID file is used to describe an instantiated intelligent electronic device, and its content must include the IED paragraph, Substation paragraphs related to smart power devices.

SCL文件分为ICD、SSD、SCD和CID四种类型文件,都采用如图4所示的这种结构;也就是说ICD、SSD、SCD和CID文件是通过SCL文件结构(SCL语法结构)来描述的实例文件。SCL files are divided into four types of files: ICD, SSD, SCD, and CID, all of which adopt the structure shown in Figure 4; that is to say, ICD, SSD, SCD, and CID files are generated through the SCL file structure (SCL syntax structure) Described instance files.

通用IED根据IEC 61850的信息模型自动生成IED初始描述文件(ICD文件),对图3中IED中的相关内容进行定义,然后ICD文件通过系统配置工具生成变电站配置的描述文件(SCD文件),SCD文件通过IED配置工具生成IED的实例化配置文件(CID文件),最后根据CID文件实例化IED,完成IED的自动配置,包括对IED基本功能的配置和运行参数的设置,具体如图5所示。同时,根据CID和SCD文件完成IEC 61850内存库的配置。完成此步骤后,通知步骤1中的控制点IED的服务状态变化情况。The general IED automatically generates the IED initial description file (ICD file) according to the information model ofIEC 61850, defines the relevant content in the IED in Figure 3, and then the ICD file generates the substation configuration description file (SCD file) through the system configuration tool. The file generates the instantiation configuration file (CID file) of the IED through the IED configuration tool, and finally instantiates the IED according to the CID file to complete the automatic configuration of the IED, including the configuration of the basic functions of the IED and the setting of operating parameters, as shown in Figure 5 . At the same time, complete the configuration of theIEC 61850 memory bank according to the CID and SCD files. After completing this step, notify the control point IED in step 1 of the service status change.

5.IEC 61850通信服务。通用IED配置完成后,通过IEC 61850通信服务模块建立通信服务,提供抽象通信服务接口,完成元数据封装、服务映射与消息的传递,同时如果与不同协议的IED进行通信时,利用协议转换模块实现其他协议到IEC 61850协议的转换。5.IEC 61850 communication services. After the general IED configuration is completed, the communication service is established through theIEC 61850 communication service module, an abstract communication service interface is provided, and metadata encapsulation, service mapping and message delivery are completed. At the same time, when communicating with IEDs of different protocols, the protocol conversion module is used to realize Conversion of other protocols toIEC 61850 protocol.

如图6所示,IEC 61850通信服务模块采用标准的XML解析器读入SCL模型配置文件,包括CID和SCD配置文件,解析IED设备列表,针对GOOSE或者SV访问点提取收发通信相关的逻辑设备、逻辑节点以及相应的数据对象和数据属性,建立GOOSE和SV发送报文和接收报文之间的对应关系,提供统一的抽象通信服务接口。As shown in Figure 6, theIEC 61850 communication service module uses a standard XML parser to read in the SCL model configuration file, including CID and SCD configuration files, parses the IED device list, and extracts the logical devices related to sending and receiving communication for GOOSE or SV access points, Logical nodes and corresponding data objects and data attributes establish the corresponding relationship between GOOSE and SV sending and receiving messages, and provide a unified abstract communication service interface.

如图7所示,根据通用IED功能模块获取的元数据,结合IEC 61850内存库文件,实现IEC 61850的服务映射,建立应用服务数据单元ASDU和应用协议数据单元APDU数据包,完成对于IEC 61850格式包的赋值,将数据包发送至数据链路层,实现通用IED的通信服务。As shown in Figure 7, according to the metadata obtained by the general IED function module, combined with theIEC 61850 memory library file, the service mapping ofIEC 61850 is realized, and the application service data unit ASDU and application protocol data unit APDU data packets are established to complete theIEC 61850 format The assignment of the packet sends the data packet to the data link layer to realize the communication service of the general IED.

6.协议转换。若此通用IED模型用于与非IEC 61850信息模型的设备等进行交互,则通过协议转换模块实现IEC 61850协议与其他协议间的服务映射转换,例如IEC 61850与IEC 60870-5-104间的协议转换流程,如图8所示。6. Protocol conversion. If this general IED model is used to interact with devices other than theIEC 61850 information model, the service mapping conversion between theIEC 61850 protocol and other protocols is realized through the protocol conversion module, such as the protocol betweenIEC 61850 and IEC 60870-5-104 The conversion process is shown in Figure 8.

协议转换模块主要目的是完成协议的转换功能。当本发明设计的IED与非基于IEC61850标准的IED通信时,接收数据时通过协议解析工具获取协议传输的元数据,即获取IEC60870-5-104等报文的遥测、遥信、遥控等数据,然后将元数据存入IEC 61850实时库中;发送数据时,将IEC 61850协议报文转换为IEC 60870-5-104等应用服务数据单元格式。当通用IED与基于IEC 61850标准间的IED通信时,通过IEC 61850通信服务模块将元数据封装为对应的应用服务数据单元格式,然后进行信息交互。The main purpose of the protocol conversion module is to complete the protocol conversion function. When the IED designed by the present invention communicates with an IED not based on the IEC61850 standard, the protocol analysis tool is used to obtain the metadata transmitted by the protocol when receiving data, that is, the data such as telemetry, remote signaling, and remote control of messages such as IEC60870-5-104 are obtained. Then store the metadata in theIEC 61850 real-time library; when sending data, convert theIEC 61850 protocol message into an application service data unit format such as IEC 60870-5-104. When the general IED communicates with the IED based on theIEC 61850 standard, the metadata is encapsulated into the corresponding application service data unit format through theIEC 61850 communication service module, and then information exchange is performed.

7.完成上述步骤之后,运行启用IED功能服务,并通知UPnP控制点IED的服务变换,取消设备注册,到此,基于UPnP的通用变电站IED的自发现和自配置完成。7. After completing the above steps, run the IED function service, and notify the UPnP control point of the IED service change, and cancel the device registration. At this point, the self-discovery and self-configuration of the UPnP-based general substation IED is completed.

因此,本发明能够在较小改动现有IED的基础上,通过UPnP插件实现IED接入网络的自发现和自配置,通过协议转换实现IED协议的新旧映射,解决现在变电站改造带来的大量IED接入和人工配置效率低、工作量大等问题。Therefore, the present invention can realize the self-discovery and self-configuration of the IED access network through the UPnP plug-in on the basis of minor changes to the existing IED, realize the new and old mapping of the IED protocol through the protocol conversion, and solve the large number of IEDs brought about by the transformation of the current substation. Access and manual configuration are low in efficiency and heavy workload.

本领域内的技术人员应明白,本发明的实施例可提供为方法、装置、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, apparatuses, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本发明是参照根据本发明实施例的方法、装置、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus, and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.

最后应当说明的是:以上实施例仅用以说明本发明的技术方案而非对其限制,尽管参照上述实施例对本发明进行了详细的说明,所属领域的普通技术人员应当理解:依然可以对本发明的具体实施方式进行修改或者等同替换,而未脱离本发明精神和范围的任何修改或者等同替换,其均应涵盖在本发明的权利要求保护范围之内。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: the present invention can still be Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention shall fall within the protection scope of the claims of the present invention.

Claims (8)

Translated fromChinese
1.一种基于UPnP的通用变电站IED的自发现和自配置方法,其特征在于,包括,1. A self-discovery and self-configuration method of a UPnP-based general substation IED, characterized in that, comprising,接入智能变电站的通用IED,通过DHCP获取IP地址,利用UPnP协议使接入的通用IED受控制层UPnP控制点的控制,完成通用IED的自发现;The general-purpose IED connected to the smart substation obtains an IP address through DHCP, and uses the UPnP protocol to make the connected general-purpose IED be controlled by the UPnP control point of the control layer to complete the self-discovery of the general-purpose IED;根据控制层UPnP控制点的操作请求,确定接入的通用IED的具体功能,建立该通用IED的IEC 61850信息模型;According to the operation request of the UPnP control point in the control layer, determine the specific functions of the general-purpose IED to be accessed, and establish the IEC 61850 information model of the general-purpose IED;根据该通用IED的IEC 61850信息模型,生成初始ICD文件,初始ICD文件经过系统配置工具生成SCD文件,再通过IED配置工具生成CID文件,通过CID文件配置接入的通用IED进行实例化,完成通用IED的自动配置;According to the IEC 61850 information model of the general IED, the initial ICD file is generated, the initial ICD file generates the SCD file through the system configuration tool, and then generates the CID file through the IED configuration tool, and instantiates the general IED accessed through the CID file configuration to complete the general Automatic configuration of IEDs;通用IED的实例化后,运行启用功能服务,并通知UPnP控制点通用IED的服务变换,取消设备注册,最终完成基于UPnP的通用变电站IED的自发现和自配置;After the general IED is instantiated, run the enabling function service, and notify the UPnP control point of the service transformation of the general IED, cancel the device registration, and finally complete the self-discovery and self-configuration of the UPnP-based general substation IED;通用IED的自发现具体包括如下步骤,The self-discovery of the general IED specifically includes the following steps,通用IED首先通过DHCP协议自动获取设备的IP地址,并注册UPnP根设备,然后初始化UPnP协议栈;The general IED first automatically obtains the IP address of the device through the DHCP protocol, and registers the UPnP root device, and then initializes the UPnP protocol stack;通用IED利用SSDP协议经由组播地址向网络广播自己的服务和资源,通过SSDP协议被UPnP网络中的控制点搜索并发现;The general IED uses the SSDP protocol to broadcast its own services and resources to the network through the multicast address, and is searched and discovered by the control point in the UPnP network through the SSDP protocol;通用IED根据控制点获取的设备信息与控制点进行远程通信,接收控制消息并响应。The general IED performs remote communication with the control point according to the device information obtained by the control point, receives control messages and responds.2.根据权利要求1所述的一种基于UPnP的通用变电站IED的自发现和自配置方法,其特征在于,通用IED的实例化后,建立IEC 61850通信服务;2. the self-discovery and the self-configuration method of a kind of general substation IED based on UPnP according to claim 1, it is characterized in that, after the instantiation of general IED, set up IEC 61850 communication service;与智能变电站内的IEC 61850标准IED通信时,接入的通用IED根据IEC 61850通信协议进行通讯服务的映射,生成IEC 61850应用服务数据单元格式报文,并对其赋值;When communicating with the IEC 61850 standard IED in the smart substation, the connected general IED performs communication service mapping according to the IEC 61850 communication protocol, generates an IEC 61850 application service data unit format message, and assigns a value to it;与智能变电站内的非IEC 61850标准IED通信时,接入的通用IED发送报文时,将IEC61850标准IED的元数据存入IEC 61850内存库中,通过协议转换生成对应非IEC 61850标准IED通信协议格式的报文;接收报文时,通过协议转换对非IEC 61850标准IED的报文进行解析,获取元数据,然后存入IEC 61850内存库,并映射到IEC 61850应用服务数据单元格式报文中。When communicating with the non-IEC 61850 standard IED in the smart substation, when the connected general IED sends a message, the metadata of the IEC61850 standard IED is stored in the IEC 61850 memory bank, and the corresponding non-IEC 61850 standard IED communication protocol is generated through protocol conversion When receiving a message, the non-IEC 61850 standard IED message is parsed through protocol conversion to obtain metadata, and then stored in the IEC 61850 memory bank and mapped to the IEC 61850 application service data unit format message .3.根据权利要求2所述的一种基于UPnP的通用变电站IED的自发现和自配置方法,其特征在于,完成IED的自动配置,包括对IED基本功能的配置和运行参数的设置,同时根据CID和SCD文件完成IEC 61850内存库的配置;完成此步骤后,通知UPnP控制点通用IED的服务状态变化情况。3. the self-discovery and self-configuration method of a kind of general substation IED based on UPnP according to claim 2, it is characterized in that, finish the automatic configuration of IED, comprise the configuration to IED basic function and the setting of operation parameter, simultaneously according to The CID and SCD files complete the configuration of the IEC 61850 memory bank; after this step is completed, the UPnP control point is notified of the service status change of the general IED.4.根据权利要求2所述的一种基于UPnP的通用变电站IED的自发现和自配置方法,其特征在于,所述的IEC 61850通信服务包括,4. the self-discovery and self-configuration method of a kind of general substation IED based on UPnP according to claim 2, is characterized in that, described IEC 61850 communication service comprises,采用标准的XML解析读入包括CID文件和SCD文件的SCL模型配置文件,解析得到IED设备列表,根据GOOSE或者SV访问点提取收发通信相关的逻辑设备、逻辑节点以及相应的数据对象和数据属性,建立GOOSE或SV中发送报文和接收报文之间的对应关系,提供统一的抽象通信服务接口;Use standard XML parsing to read in the SCL model configuration file including CID file and SCD file, parse to get the IED device list, and extract the logical devices, logical nodes and corresponding data objects and data attributes related to sending and receiving communication according to the GOOSE or SV access point. Establish the corresponding relationship between sending and receiving messages in GOOSE or SV, and provide a unified abstract communication service interface;根据通用IED获取的元数据,结合IEC 61850内存库文件,实现IEC 61850的服务映射,建立应用服务数据单元ASDU和应用协议数据单元APDU数据包,完成对于IEC 61850格式包的赋值,将数据包发送至数据链路层,实现通用IED的IEC 61850通信服务。According to the metadata obtained by the general IED, combined with the IEC 61850 memory library file, realize the service mapping of IEC 61850, establish the application service data unit ASDU and the application protocol data unit APDU data packet, complete the assignment of the IEC 61850 format packet, and send the data packet To the data link layer, to realize the IEC 61850 communication service of general IED.5.根据权利要求1所述的一种基于UPnP的通用变电站IED的自发现和自配置方法,其特征在于,控制层UPnP控制点的控制包括订阅请求、取值请求和操作请求中的至少一种。5. The self-discovery and self-configuration method of a kind of UPnP-based general substation IED according to claim 1, wherein the control of the control layer UPnP control point includes at least one of a subscription request, a value request and an operation request kind.6.根据权利要求1所述的一种基于UPnP的通用变电站IED的自发现和自配置方法,其特征在于,通用IED通过UPnP网络上传自己的功能特性描述文件,根据接收到UPnP控制点下发对应功能特性描述的功能码,确定接入的通用IED的具体功能。6. the self-discovery and self-configuration method of a kind of general substation IED based on UPnP according to claim 1, it is characterized in that, general IED uploads the functional characteristic description file of oneself by UPnP network, according to receiving UPnP control point and issues Corresponding to the function code described in the function characteristic, determine the specific function of the connected general IED.7.根据权利要求1或6所述的一种基于UPnP的通用变电站IED的自发现和自配置方法,其特征在于,所述通用IED的IEC 61850信息模型的建立,包括服务器、逻辑设备、逻辑节点、数据对象和数据属性的确定;具体的,7. the self-discovery and self-configuration method of a kind of general substation IED based on UPnP according to claim 1 or 6, it is characterized in that, the establishment of the IEC 61850 information model of described general IED includes server, logic device, logic Determination of nodes, data objects and data attributes; specifically,根据通用IED的功能,确定IEC 61850信息模型中的逻辑设备,包括控制、保护或测量;Determine the logical equipment in the IEC 61850 information model, including control, protection or measurement, according to the function of the general IED;然后利用不同逻辑节点来描述逻辑设备的功能,通过每个逻辑节点对应相应的数据对象以及数据属性。Then use different logical nodes to describe the function of the logical device, and each logical node corresponds to the corresponding data object and data attribute.8.一种基于UPnP的通用变电站IED的自发现和自配置装置,其特征在于,包括,8. A self-discovery and self-configuration device for a UPnP-based general substation IED, characterized in that, comprising,设备自发现模块,用于通过DHCP获取IP地址,利用UPnP协议使接入的通用IED受控制层UPnP控制点的控制;The device self-discovery module is used to obtain an IP address through DHCP, and use the UPnP protocol to make the connected general IED controlled by the UPnP control point of the control layer;通用IED的自发现具体包括如下步骤,The self-discovery of the general IED specifically includes the following steps,通用IED首先通过DHCP协议自动获取设备的IP地址,并注册UPnP根设备,然后初始化UPnP协议栈;The general IED first automatically obtains the IP address of the device through the DHCP protocol, and registers the UPnP root device, and then initializes the UPnP protocol stack;通用IED利用SSDP协议经由组播地址向网络广播自己的服务和资源,通过SSDP协议被UPnP网络中的控制点搜索并发现;The general IED uses the SSDP protocol to broadcast its own services and resources to the network through the multicast address, and is searched and discovered by the control point in the UPnP network through the SSDP protocol;通用IED根据控制点获取的设备信息与控制点进行远程通信,接收控制消息并响应;The general IED performs remote communication with the control point according to the equipment information obtained by the control point, receives the control message and responds;IEC 61850对象建模模块,用于根据控制层UPnP控制点的操作请求,确定接入的通用IED的具体功能,建立该通用IED的IEC 61850信息模型;The IEC 61850 object modeling module is used to determine the specific functions of the connected general IED according to the operation request of the UPnP control point in the control layer, and establish the IEC 61850 information model of the general IED;IED自动配置模块,用于根据该通用IED的IEC 61850信息模型,生成初始ICD文件,初始ICD文件经过系统配置工具生成SCD文件,再通过IED配置工具生成CID文件,通过CID文件配置接入的通用IED进行实例化;The IED automatic configuration module is used to generate the initial ICD file according to the IEC 61850 information model of the general IED. The initial ICD file generates the SCD file through the system configuration tool, and then generates the CID file through the IED configuration tool, and configures the general access through the CID file. The IED is instantiated;通用IED的实例化后,运行启用功能服务,并通知UPnP控制点通用IED的服务变换,取消设备注册,最终完成基于UPnP的通用变电站IED的自发现和自配置。After the general IED is instantiated, run the enabling function service, and notify the UPnP control point of the service change of the general IED, cancel the device registration, and finally complete the self-discovery and self-configuration of the UPnP-based general substation IED.
CN202010948395.3A2020-09-102020-09-10Universal substation IED self-discovery and self-configuration method and device based on UPnPActiveCN112104496B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202010948395.3ACN112104496B (en)2020-09-102020-09-10Universal substation IED self-discovery and self-configuration method and device based on UPnP

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010948395.3ACN112104496B (en)2020-09-102020-09-10Universal substation IED self-discovery and self-configuration method and device based on UPnP

Publications (2)

Publication NumberPublication Date
CN112104496A CN112104496A (en)2020-12-18
CN112104496Btrue CN112104496B (en)2023-06-23

Family

ID=73751398

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010948395.3AActiveCN112104496B (en)2020-09-102020-09-10Universal substation IED self-discovery and self-configuration method and device based on UPnP

Country Status (1)

CountryLink
CN (1)CN112104496B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
EP1802038A1 (en)*2005-12-232007-06-27Sony Deutschland GmbHSystem and method for improving service and device discovery in a UPnP-based wireless communication network
WO2014000317A1 (en)*2012-06-292014-01-03北京东土科技股份有限公司Configuration information auto-management method based on intelligent substation
CA2913010A1 (en)*2013-05-212014-11-27Schweitzer Engineering Laboratories, Inc.Automatically configurable intelligent electronic device
CN104967533A (en)*2015-05-262015-10-07国网智能电网研究院 A method and device for adding an IEC 61850 configuration interface to an SDN controller
CN109638969A (en)*2019-01-252019-04-16南方电网科学研究院有限责任公司Plug-and-play equipment, interface, control method and interaction method of power distribution network
CN109714445A (en)*2018-12-062019-05-03成都佰纳瑞信息技术有限公司A kind of method that electric substation automation system and IED equipment automatically configure
CN111064627A (en)*2020-01-152020-04-24江苏方天电力技术有限公司Plug-and-play management system for electric power internet of things terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1311666C (en)*2003-12-012007-04-18海信集团有限公司Method for realizing route mechanism based on UPNP protocal radio network
CN101035099A (en)*2007-02-092007-09-12浙江大学General gateway design method for realizing the IEC61850 standard
US10275840B2 (en)*2011-10-042019-04-30Electro Industries/Gauge TechSystems and methods for collecting, analyzing, billing, and reporting data from intelligent electronic devices
CN103151840A (en)*2013-03-122013-06-12广东易事特电源股份有限公司 Communication method and device for IEC61850 system and non-IEC61850 system
CN104701984B (en)*2015-03-132017-01-11国家电网公司Intelligent electricity terminal plug and play method based on self recognition
CN106371869B (en)*2016-08-292019-12-27西电通用电气自动化有限公司IEC61850 configuration software implementation method for bay level equipment of intelligent substation

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
EP1802038A1 (en)*2005-12-232007-06-27Sony Deutschland GmbHSystem and method for improving service and device discovery in a UPnP-based wireless communication network
WO2014000317A1 (en)*2012-06-292014-01-03北京东土科技股份有限公司Configuration information auto-management method based on intelligent substation
CA2913010A1 (en)*2013-05-212014-11-27Schweitzer Engineering Laboratories, Inc.Automatically configurable intelligent electronic device
CN104967533A (en)*2015-05-262015-10-07国网智能电网研究院 A method and device for adding an IEC 61850 configuration interface to an SDN controller
CN109714445A (en)*2018-12-062019-05-03成都佰纳瑞信息技术有限公司A kind of method that electric substation automation system and IED equipment automatically configure
CN109638969A (en)*2019-01-252019-04-16南方电网科学研究院有限责任公司Plug-and-play equipment, interface, control method and interaction method of power distribution network
CN111064627A (en)*2020-01-152020-04-24江苏方天电力技术有限公司Plug-and-play management system for electric power internet of things terminal

Also Published As

Publication numberPublication date
CN112104496A (en)2020-12-18

Similar Documents

PublicationPublication DateTitle
CN104135068B (en)A kind of distribution terminal plug and play method based on IEC61850 standard
Blair et al.An open platform for rapid-prototyping protection and control schemes with IEC 61850
CN102832703B (en)Transformer station and scheduling station model fast conversion method based on model conversion machine
CN102880792B (en)A kind of dynamic modelling method of the conventional substation based on IEC standard
CN103199624B (en)Smart converting station based on international electrotechnical commission (IEC) 61850
CN105305418B (en)A kind of distribution terminal self-described method based on IEC61850 standards
CN104701984B (en)Intelligent electricity terminal plug and play method based on self recognition
CN101697551A (en)Networked power telecontrol communication method
CN102611710B (en)Data interaction method and data interaction system for scheduling master station and transformer substation based on MMS (Multimedia Messaging Service)
CN102708196B (en)Method for coordinating and sharing transformer substation end and dispatching end model based on E language
CN105207366B (en) IEC61850-based plug-and-play model configuration tool for power distribution terminals and its implementation method
CN104516801B (en)A kind of computer monitoring system of transformer substation and method
CN105678032A (en)Dynamic modeling method for intelligent substation state monitoring intelligent electronic equipment
Pradeep et al.CIM and IEC 61850 integration issues: Application to power systems
CN116628937B (en) A method, device, equipment and medium for automatic integration and maintenance of power grid equipment model
CN107566370A (en)A kind of intelligent grid message transmitting method
CN112104496B (en)Universal substation IED self-discovery and self-configuration method and device based on UPnP
CN112702384B (en)Device plug and play implementation method based on IEC 61850/IEC CIM standard model
CN103151845B (en)Intelligent substation state monitoring platform based on IEC 61850
CN105812317A (en)Intelligent substation message mapping method based on data distribution service specifications
Li et al.Research on designing methods of the secondary system in digital substation
CN107493269B (en) Substation intelligent electronic equipment and its data sending and receiving method and system
CN106341260A (en)IEC 61850 second-edition standard device and Q/GDW 396 standard device communication method
CN107528888B (en) A kind of substation intelligent electronic equipment and its data sending and receiving method and system
Zhichun et al.Research on plug and play method of distribution transformer station intelligent fusion terminal

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp