Multi-server configuration method and system based on redundant measurement and control device 61850
By using more than 61850 server architecture and virtualized folder management mechanism in the redundant measurement and control system, the virtual measurement and control units are dynamically attached and managed, and the existing system's resource management, configuration complexity and communication bottlenecks are solved, and efficient and flexible redundant measurement and control functions are realized.
Patent Information
- Application Number
- CN202510029045.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-08
- Publication Date
- 2025-06-03
AI Technical Summary
The existing redundant measurement and control systems lack flexibility in resource allocation and management, the configuration process is complex and error-prone, and the real-time synchronization between the virtual measurement and control unit and the physical unit is poor, and the system mostly adopts a single server architecture, resulting in limited communication bottlenecks and performance improvements.
The redundant measurement and control device configuration method based on 61850 multi-servers is adopted, and the SCD file is generated through the substation configuration tool, and the physical measurement and control model is analyzed and generated. A virtual measurement and control model configuration folder is set up in the redundant measurement and control device. The logical device is loaded into the virtual measurement and control model configuration folder through the numbering rules to generate a virtual measurement and control unit. The multi-server architecture is used to configure 61850 communication services for each virtual measurement and control unit.
It realizes dynamic attachment and removal of virtual measurement and control units, improves resource utilization efficiency, supports parallel real-time data communication and control of multiple electrical intervals, reduces configuration workload and operation and maintenance complexity, and improves the real-time, stability and scalability of the system.
Smart Images

Figure CN120085632A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of power system measurement and control, and more specifically, relates to a method and system for multi-server configuration of redundant measurement and control devices based on 61850. Background Art
[0002] In modern substation automation systems, redundant measurement and control, as a centralized backup device for physical measurement and control devices, integrates the measurement and control functions of multiple electrical intervals. When the physical measurement and control device exits operation due to faults or maintenance, the redundant measurement and control device can be started in time to take over the functions of the physical device, providing an important guarantee for the reliability and continuity of the system. In the prior art, redundant measurement and control usually adopts a unified model configuration method to make the functions and configurations of virtual intervals consistent with those of physical intervals, meeting the basic backup measurement and control requirements.
[0003] However, there are still many deficiencies in the existing redundant measurement and control systems in practical applications. First, the existing systems lack flexibility in resource allocation and management. Usually, they adopt a fixed configuration method, which is difficult to dynamically adjust according to actual operation requirements, resulting in resource waste or insufficiency. Second, the configuration process is complex and error-prone. Especially in scenarios with multiple electrical intervals and large-scale substations, it is necessary to manually complete model loading, communication configuration, and function allocation, with a large workload and low efficiency. In addition, in terms of state synchronization between virtual measurement and control units and actual units, the prior art is difficult to meet the high real-time requirements, which may cause the virtual measurement and control units to fail to respond quickly to changes in the physical units. Finally, most of the existing systems adopt a single-server architecture, which is prone to communication bottlenecks when processing parallel communications of multiple electrical intervals, restricting the improvement of system performance.
[0004] The prior art document 1 (CN114142603A) discloses a method and system for resource configuration identification and warehousing design of redundant measurement and control devices, including: matching virtual measurement and control CPUs inside the redundant measurement and control device; defining a resource configuration folder; constructing a mapping rule to convert the resource configuration folder into the form of a device resource configuration static database; importing the device resource configuration static database into the redundant measurement and control device; each virtual measurement and control CPU in the redundant measurement and control device generates an identifiable address through the slot position, binds to the virtual measurement and control unit corresponding to the resource configuration, and collects measurement and control data in real time to form a real-time dynamic database; loading the device resource configuration static database, and combining with the real-time dynamic database to manage, display, switch, expand, and transfer out the virtual measurement and control unit, so as to realize the identification and warehousing of corresponding redundant measurement and control resources when the substation changes, upgrades, or adds new physical measurement and control device intervals.
[0005] The deficiencies of the prior art document 1 lie in the lack of resource management and dynamic configuration for redundant measurement and control devices, including poor real-time performance of state synchronization between virtual measurement and control units and physical devices, making it difficult to meet the requirements of rapid connection and removal; lack of flexibility in resource allocation and recycling, resulting in low system resource utilization; low efficiency of file loading and management, especially in large-scale substation scenarios, where the response speed cannot meet the actual needs; at the same time, the existing system has limited support for model updates during the renovation and expansion process, relying on manual operations, increasing configuration complexity and error risks, and it is difficult to meet the requirements of modern substations for flexibility and efficiency. Summary of the Invention
[0006] To solve the deficiencies in the prior art, the present invention provides a design method and system for a redundant measurement and control device 61850 multi-server.
[0007] The present invention adopts the following technical solutions.
[0008] The first aspect of the present invention provides a configuration method for a redundant measurement and control device 61850 multi-server, including the following steps:
[0009] Generate an SCD file containing the physical measurement and control model of the electrical bay based on the substation configuration tool. The SCD file includes IED instance configuration, communication parameters, and communication relationships between IEDs. Parse the SCD file through the redundant measurement and control device to establish a physical measurement and control model;
[0010] According to the physical measurement and control model, set up a virtual measurement and control model configuration folder in the redundant measurement and control device, load the physical measurement and control model into the virtual measurement and control model configuration folder according to the numbering rule, and establish a mapping relationship between the numbering rule and the internal storage address of the virtual measurement and control model configuration folder;
[0011] According to the virtual measurement and control model configuration folder, generate virtual measurement and control units through the numbering rule. Based on the correspondence between the IED name and the communication IP address in the SCD file, perform dynamic connection or removal of the virtual measurement and control units by loading or removing the internal storage address of the virtual measurement and control units;
[0012] Based on the connected virtual measurement and control units, configure 61850 communication services for each virtual measurement and control unit using a multi-server architecture, and perform real-time data communication and control for multiple electrical bays through the mapping relationship between the virtual measurement and control model configuration folder and the internal storage address.
[0013] Preferably, generating an SCD file containing the physical measurement and control model of the electrical bay based on the substation configuration tool includes:
[0014] Generate an ICD file according to the IEC 61850 standard, parse the ICD file to obtain the logical devices, logical nodes, associated data objects and data attributes of the IED, generate the IED instance configuration, divide the IED instances according to electrical bays, and assign a unique identifier to the logical devices of each electrical bay;
[0015] Define logical nodes and the data objects and data attributes associated with the IED instances in the IED instance configuration, and construct a logical hierarchical structure including measurement and control functions for organizing the functional modules of the device;
[0016] Define the logical connections between IED instances according to the communication parameters configured in the SCD file, including GOOSE communication relationships and MMS data transmission configurations;
[0017] Assign valid operation labels to each IED instance when generating the SCD file, which are used to identify the enabled status and operation status of the device instance.
[0018] Preferably, the establishment of the entity measurement and control model by parsing the SCD file through redundant measurement and control devices includes:
[0019] Extract the IED instance configuration from the SCD file through redundant measurement and control devices, and parse the logical device names, logical nodes, and the data objects and data attributes associated with the logical nodes of the IED;
[0020] Based on the communication parameters in the SCD file, parse the IP addresses, port numbers, and communication protocol types of the IED instances, and establish the corresponding relationship between the logical devices and the communication parameters;
[0021] Extract the communication relationships between IED instances in the SCD file, parse the logical connections of GOOSE communication and the MMS data transmission paths, and generate the communication topology information between IED logical devices;
[0022] Classify the logical devices according to electrical bays by redundant measurement and control devices, and organize the parsed IED logical devices into a hierarchical entity measurement and control model.
[0023] Preferably, the virtual measurement and control model configuration folder includes:
[0024] Based on the shadow mapping mechanism in the redundant measurement and control device, generate a virtualized folder through the dynamic correspondence between the IED name and the IP address, and synchronize the configuration and status information in real time according to the device operation status;
[0025] When the device meets the requirements for the virtual measurement and control unit to go online, activate the virtualized folder based on the valid operation label and reserve mapping resources for loading and running;
[0026] Reallocate the virtualized folder with invalid operation tags through the virtualization management layer combined with distributed caching.
[0027] Preferably, establishing a mapping relationship between the numbering rule and the internal storage address of the virtual measurement and control model configuration folder includes:
[0028] Based on the logical device numbering rule, assign a unique number to each logical device, and assign an internal storage address to the logical device corresponding to the number;
[0029] Establish a mapping table of logical device numbers and internal storage addresses in the virtual measurement and control model configuration folder. The mapping table is generated through the numbering rule and stored in a hierarchical structure;
[0030] When the logical device number or internal storage address changes, automatically update the mapping table through the dynamic maintenance mechanism.
[0031] Preferably, generating a virtual measurement and control unit according to the virtual measurement and control model configuration folder through the numbering rule includes:
[0032] Extract the logical device number and the associated virtual measurement and control model from the virtual measurement and control model configuration folder;
[0033] According to the logical device numbering rule, assign a virtual measurement and control unit instance to the extracted logical device, and initialize the operating environment of the virtual measurement and control unit in the redundant measurement and control device;
[0034] Assign an independent internal storage address to the virtual measurement and control unit, and load the virtual measurement and control model in the virtual measurement and control unit instance;
[0035] Record the mapping relationship between the virtual measurement and control unit instance, the logical device number, and its internal storage address in the redundant measurement and control device. The mapping relationship is used to locate the internal storage address of the virtual measurement and control unit during the dynamic attachment process, and release the corresponding storage resources during the dynamic removal process.
[0036] Preferably, dynamically attaching or removing the virtual measurement and control unit by loading or removing the internal storage address of the virtual measurement and control unit includes:
[0037] Dynamically generate a virtual image through the correspondence between the IED name and the IP address, and create a shadow mapping rule according to the short address in the SCD file and the virtual measurement and control unit CPU number segment of the real-time library;
[0038] Based on the shadow mapping mechanism, synchronize the configuration and status information of the device in real time, and activate the attachment when the virtual image is consistent with the actual unit configuration;
[0039] When the device goes offline or there is insufficient resources, release the mapping resources of the invalid unit through the virtualization management layer and reallocate them to the measurement and control units that need to be attached.
[0040] Preferably, based on the attached virtual measurement and control unit, a 61850 communication service is configured for each virtual measurement and control unit by using a multi-server architecture, including:
[0041] Allocating independent communication resources for each virtual measurement and control unit in the multi-server architecture, including network port numbers, service session instances, and transmission channels;
[0042] Based on the virtual measurement and control model configuration folder, loading the logical nodes and their data objects of the virtual measurement and control unit into the 61850 communication service instance, and initializing the GOOSE message publishing and subscribing functions;
[0043] Configuring MMS communication service parameters, including the data transmission path of the logical device, service quality parameters, and timeout policies;
[0044] After the communication service configuration is completed, the communication status is monitored in real time, and an automatic reconfiguration process is triggered when a network fault or device status change occurs.
[0045] Preferably, the real-time data communication and control of multiple electrical bays are carried out through the mapping relationship between the virtual measurement and control model configuration folder and the internal storage address, including:
[0046] Using the mapping table between the logical device numbers in the virtual measurement and control model configuration folder and the internal storage address to analyze the association relationship between the logical devices of each electrical bay and the virtual measurement and control unit;
[0047] Invoking the communication interface of the virtual measurement and control unit, realizing the broadcast of the status quantities in the electrical bay based on GOOSE communication, and uploading the operation data of the electrical bay and issuing the control command through the MMS service;
[0048] During the real-time communication process, the logical device configuration of the virtual measurement and control unit is dynamically updated, and the virtual measurement and control model is reloaded to adapt to the newly added or changed electrical bays;
[0049] During the real-time communication of the electrical bay, the mapping relationship between the logical device number and the storage address is periodically verified.
[0050] The second aspect of the present invention provides a 61850 multi-server configuration system based on a redundant measurement and control device, including: an SCD file generation module, an entity measurement and control model parsing module, a virtual measurement and control unit management module, and a communication service configuration module; characterized in that:
[0051] The SCD file generation module is used to generate an SCD file containing the entity measurement and control model of the electrical bay based on the substation configuration tool. The SCD file includes IED instance configuration, communication parameters, and the communication relationship between IEDs;
[0052] An entity measurement and control model analysis module, which is used to analyze the SCD file through redundant measurement and control devices, extract IED instance configurations and communication parameters, and establish a logically layered entity measurement and control model;
[0053] A virtual measurement and control unit management module, which is used to generate a virtual measurement and control model configuration folder according to the entity measurement and control model, and load logical devices into the virtual measurement and control model configuration folder through a numbering rule to generate virtual measurement and control units;
[0054] A communication service configuration module, which is used to configure 61850 communication services based on the attached virtual measurement and control units by using a multi-server architecture, and perform real-time data communication and control for multiple electrical intervals through the mapping relationship between the virtual measurement and control model configuration folder and the internal storage address.
[0055] Compared with the prior art, the beneficial effects of the present invention at least include:
[0056] The present invention generates an SCD file based on a substation configuration tool and analyzes it to generate an entity measurement and control model. By adopting a virtualized folder management and shadow mapping mechanism, it separates the logical configuration of devices from physical resources, realizing the dynamic attachment and removal of virtual measurement and control units; combined with the activation and resource recovery mechanism of running valid tags, it significantly improves the resource utilization efficiency; by using a multi-server architecture to allocate independent communication resources for each virtual measurement and control unit, it supports parallel real-time data communication and control for multiple electrical intervals; at the same time, the application of distributed cache technology enables the virtualized folder to be quickly loaded and unloaded, adapting to the dynamic management requirements of substations of different scales; the present invention not only improves the real-time performance, stability and scalability of the system, but also effectively reduces the configuration workload and operation and maintenance complexity, and shows higher flexibility and reliability especially in the renovation and expansion scenarios. Description of the Drawings
[0057] Figure 1 is a flowchart for constructing an SCD file of a redundant measurement and control device provided according to an embodiment of the present invention;
[0058] Figure 2 is a diagram for constructing an SCD file of redundant measurement and control provided according to an embodiment of the present invention;
[0059] Figure 3 is a diagram for setting a model configuration folder provided according to an embodiment of the present invention;
[0060] Figure 4 is a mapping table diagram of a virtual measurement and control unit model and an internal real-time library provided according to an embodiment of the present invention;
[0061] Figure 5It is a flowchart for initializing, adding, and deleting the IP addresses of redundant measurement and control devices provided according to the embodiments of the present invention. Detailed implementation manners
[0062] To make the objectives, technical solutions, and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. The embodiments described in this application are only a part of the embodiments of the present invention, rather than all embodiments. Based on the spirit of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
[0063] As Figure 1 shown, it shows a construction diagram of the SCD file for redundant measurement and control. In the substation configuration mode, the icd models of the body measurement and control and the entity measurement and control are exported as the SCD file by interval through the system configuration tool. This file describes the instance configuration and communication parameters of the IEDs included, as well as the communication configuration between the IEDs.
[0064] Embodiment 1 of the present invention provides a method for configuring multiple servers based on redundant measurement and control devices 61850, including the following steps:
[0065] Generate an SCD file containing the entity measurement and control model of the electrical interval based on the substation configuration tool. The SCD file includes IED instance configuration, communication parameters, and the communication relationship between IEDs. Parse the SCD file through the redundant measurement and control device to establish the entity measurement and control model;
[0066] Preferably, generating the SCD file containing the entity measurement and control model of the electrical interval based on the substation configuration tool includes:
[0067] Generate an ICD file according to the IEC 61850 standard, parse the ICD file to obtain the logical devices, logical nodes, and associated data objects and data attributes of the IEDs, generate the IED instance configuration, divide the IED instances by electrical interval, and assign a unique identifier to the logical device of each electrical interval;
[0068] Define the logical nodes and the data objects and data attributes associated with the IED instances in the IED instance configuration, and construct a logical hierarchical structure including measurement and control functions for organizing the functional modules of the device;
[0069] Define the logical connections between IED instances according to the communication parameters configured in the SCD file, including GOOSE communication relationships and MMS data transmission configurations;
[0070] Assign valid operation tags to each IED instance when generating the SCD file, which are used to identify the enabled state and operation state of the device instance.
[0071] Preferably, establishing an entity measurement and control model by parsing the SCD file through a redundant measurement and control device includes:
[0072] Extracting IED instance configurations from the SCD file through a redundant measurement and control device, and parsing the logical device name, logical nodes, and data objects and data attributes associated with the logical nodes of the IED;
[0073] Based on the communication parameters in the SCD file, parsing the IP address, port number, and communication protocol type of the IED instance, and establishing a correspondence relationship between the logical device and the communication parameters;
[0074] Extracting the communication relationships between IED instances in the SCD file, parsing the logical connections of GOOSE communication and the MMS data transmission path, and generating communication topology information between IED logical devices;
[0075] Classifying logical devices according to electrical intervals by the redundant measurement and control device, and organizing the parsed IED logical devices into a hierarchical entity measurement and control model.
[0076] Specifically,
[0077] 1) By exporting the SCD file, the correctness of the model file can be identified, and based on the area to which the device belongs (the physical or logical area of each electrical interval), the ICD files in different areas are classified and exported in groups, forming a partitioned SCD file structure, and at the same time providing a short address correspondence basis for the "shadow mapping" for subsequent connection to the real-time database.
[0078] 2) Generate an in-operation label for the device when exporting the SCD file, and assign an in-operation label to each device according to the device instantiation situation in the configuration.
[0079] 3) When carrying out renovation and expansion, when exporting the SCD file, model overloading and differential analysis technologies are adopted, and engineering personnel can easily and intuitively handle model changes during the model integration process, improving the on-site work efficiency and reliability.
[0080] According to the entity measurement and control model, set up a virtual measurement and control model configuration folder in the redundant measurement and control device, load the entity measurement and control model into the virtual measurement and control model configuration folder according to the numbering rule, and establish a mapping relationship between the numbering rule and the internal storage address of the virtual measurement and control model configuration folder;
[0081] Preferably, the virtual measurement and control model configuration folder includes:
[0082] Based on the shadow mapping mechanism in the redundant measurement and control device, generate a virtualized folder through the dynamic correspondence relationship between the IED name and the IP address, and synchronize the configuration and status information in real time according to the device operation status;
[0083] When the device meets the requirements for the virtual measurement and control unit to go online, activate the virtualized folder based on the valid running tags, and reserve mapping resources for loading and running;
[0084] Through the virtualization management layer combined with distributed caching, reallocate the virtualized folders of invalid running tags.
[0085] Preferably, establishing a mapping relationship between the serial number rule and the internal storage address of the virtual measurement and control model configuration folder includes:
[0086] Based on the logical device serial number rule, assign a unique serial number to each logical device, and assign an internal storage address to the logical device corresponding to the serial number;
[0087] Establish a mapping table between the logical device serial number and the internal storage address in the virtual measurement and control model configuration folder. The mapping table is generated through the serial number rule and stored in a hierarchical structure;
[0088] When the logical device serial number or the internal storage address changes, automatically update the mapping table through the dynamic maintenance mechanism.
[0089] Specifically, between the redundant measurement and control database and the model folder, set up a virtualized folder management mechanism. All configuration files do not directly correspond to physical folders, but are stored in the virtualization management layer and generated and called in real time according to actual needs.
[0090] In practical applications, due to different scales, the number and models of the loaded physical measurement and control devices in different substations are also different. The virtualization management layer will first identify whether there are ccd and cid files under the model folder, dynamically generate internal virtualized folders according to the actual situation, and activate and call them according to the valid in-operation tags.
[0091] The virtualization management layer generates internal virtualized folders, adopts a plug-and-play module, combined with distributed caching technology. The content of the folder can be loaded or unloaded at any time, and fast call of local configuration is realized through distributed caching to adapt to different device requirements.
[0092] According to the virtual measurement and control model configuration folder, generate a virtual measurement and control unit through the serial number rule. Based on the correspondence between the IED name and the communication IP address in the SCD file, perform dynamic connection or removal of the virtual measurement and control unit by loading or removing the internal storage address of the virtual measurement and control unit;
[0093] Preferably, the generating a virtual measurement and control unit through the serial number rule according to the virtual measurement and control model configuration folder includes:
[0094] Extract the logical device serial number and the associated virtual measurement and control model from the virtual measurement and control model configuration folder;
[0095] Allocate virtual measurement and control unit instances for the extracted logical devices according to the logical device numbering rules, and initialize the operating environment of the virtual measurement and control units in the redundant measurement and control devices;
[0096] Allocate independent internal storage addresses for the virtual measurement and control units, and load virtual measurement and control models in the virtual measurement and control unit instances;
[0097] Record the mapping relationship between the virtual measurement and control unit instances, logical device numbers, and their internal storage addresses in the redundant measurement and control devices. The mapping relationship is used to locate the internal storage addresses of the virtual measurement and control units during the dynamic attachment process and release the corresponding storage resources during the dynamic removal process.
[0098] Preferably, the dynamic attachment or removal of the virtual measurement and control units by loading or removing the internal storage addresses of the virtual measurement and control units includes:
[0099] Dynamically generate virtual images based on the correspondence between IED names and IP addresses, and create shadow mapping rules according to the short addresses in the SCD file and the virtual measurement and control unit CPU number segments in the real-time library;
[0100] Based on the shadow mapping mechanism, synchronize the configuration and status information of the devices in real time, and activate the attachment when the virtual image is consistent with the actual unit configuration;
[0101] When the device goes offline or there is insufficient resources, the virtualization management layer releases the mapping resources of the invalid units and reallocates them to the measurement and control units that need to be attached.
[0102] Specifically, the attachment of the virtualization folder adopts the "shadow mapping mechanism", constructs dynamic mapping rules through the correspondence between IED names and IP addresses, and creates shadow mappings according to information such as short addresses in the SCD file and the corresponding CPU number segments of virtual measurements and controls in the real-time library. Synchronize the configuration and status of the device in real time through the virtual image, and execute only when the image is consistent with the actual unit to ensure the correctness of the information.
[0103] When a certain area meets the requirements for virtual measurement and control online, the running valid label of the corresponding virtual measurement and control unit will be set to valid, and the virtual measurement and control units in that area will reserve mapping resources and load and run; in the case of resource shortage, the virtualization management layer will recycle and release the idle resources of the units with invalid running valid labels to improve resource utilization.
[0104] Based on the attached virtual measurement and control units, configure 61850 communication services for each virtual measurement and control unit using the multi-server architecture, and perform real-time data communication and control for multiple electrical intervals through the mapping relationship between the virtual measurement and control model configuration folder and the internal storage address.
[0105] Preferably, based on the attached virtual measurement and control unit, a 61850 communication service is configured for each virtual measurement and control unit by using a multi-server architecture, including:
[0106] Allocate independent communication resources for each virtual measurement and control unit in the multi-server architecture, including network port numbers, service session instances, and transmission channels;
[0107] Based on the virtual measurement and control model configuration folder, load the logical nodes and their data objects of the virtual measurement and control unit into the 61850 communication service instance, and initialize the GOOSE message publishing and subscribing functions;
[0108] Configure MMS communication service parameters, including the data transmission path of the logical device, service quality parameters, and timeout policies;
[0109] After the communication service configuration is completed, monitor the communication status in real time, and trigger an automatic reconfiguration process when a network failure or device status change occurs.
[0110] Preferably, the real-time data communication and control of multiple electrical bays are carried out through the mapping relationship between the virtual measurement and control model configuration folder and the internal storage address, including:
[0111] Utilize the mapping table between the logical device numbers in the virtual measurement and control model configuration folder and the internal storage address to analyze the association relationship between the logical devices of each electrical bay and the virtual measurement and control unit;
[0112] Call the communication interface of the virtual measurement and control unit, realize the broadcast of the status quantities within the electrical bay based on GOOSE communication, and complete the upload of the operation data of the electrical bay and the issuance of control commands through the MMS service;
[0113] During the real-time communication process, dynamically update the logical device configuration of the virtual measurement and control unit, and adapt to the newly added or changed electrical bays by reloading the virtual measurement and control model;
[0114] During the real-time communication of the electrical bay, periodically verify the mapping relationship between the logical device number and the storage address.
[0115] Specifically, since the IP address of the virtual measurement and control unit is the same as that of the physical measurement and control IP address, when it is detected that a certain virtual measurement and control unit is online and the operation label is valid, according to the "shadow mapping" correspondence, automatically load the IP corresponding to the virtual measurement and control unit to achieve an mms connection with the background and achieve seamless switching.
[0116] Similarly, when it is detected that a certain virtual measurement and control unit is online and the operation label is invalid, according to the "shadow mapping" correspondence, automatically delete the IP corresponding to the virtual measurement and control unit to avoid the situation of IP conflicts in the network.
[0117] Example 2 of the present invention provides a redundant measurement and control device-based 61850 multi-server configuration system, including: an SCD file generation module, an entity measurement and control model parsing module, a virtual measurement and control unit management module, and a communication service configuration module; characterized in that:
[0118] The SCD file generation module is used to generate an SCD file containing the entity measurement and control model of the electrical interval based on the substation configuration tool. The SCD file includes IED instance configuration, communication parameters, and the communication relationship between IEDs;
[0119] The entity measurement and control model parsing module is used to parse the SCD file through the redundant measurement and control device, extract the IED instance configuration and communication parameters, and establish a logically layered entity measurement and control model;
[0120] The virtual measurement and control unit management module is used to generate a virtual measurement and control model configuration folder according to the entity measurement and control model, and load logical devices into the virtual measurement and control model configuration folder through the numbering rule to generate virtual measurement and control units;
[0121] The communication service configuration module is used to configure the 61850 communication service using the multi-server architecture based on the attached virtual measurement and control unit, and perform real-time data communication and control of multiple electrical intervals through the mapping relationship between the virtual measurement and control model configuration folder and the internal storage address.
[0122] Figure 2 Shows the model configuration file settings in the device that match the resource folder:
[0123] 1) Folder name 0, corresponding to the ontology measurement and control in the redundant measurement and control application. The folder content includes: the cid file of the ontology measurement and control CPU;
[0124] 2) Folder names 1 to n, corresponding to the virtual measurement and control unit numbers in the redundant measurement and control application. The folder content includes: the ccd file and cid file of the virtual measurement and control CPU.
[0125] 3. Design of the shadow mapping between the virtual measurement and control unit model and the internal real-time library:
[0126] 1) Currently, the internal real-time library processes the CPU number segments of the internal short addresses according to the directory numbers in subdirectories to distinguish different virtual measurements and controls;
[0127] 2) For the 61850 model, since the entity measurement and control model is adopted, the CPU number segments of its internal short addresses are all 81, and the short addresses in the model are also repeated. According to the warehousing scheme, it is necessary to design the corresponding relationship between the short addresses and the data in the real-time library. The following steps are adopted:
[0128] a) The internal address of the main body measurement and control (CPU0) in the redundant measurement and control device is fixed at 80
[0129] The internal addresses of other virtual measurement and control (CPU1 - CPU15) correspond to 81 - 95
[0130] b) Read the iedname in the CCD file in the model configuration folder, store it in the database, generate a shadow mapping texture with the processed CPU segment number, and establish a mapping relationship with the relevant virtual measurement and control resources in the real - time database, thereby associating the values of the 61850 model with the real - time database
[0131] c) The 61850 library parses the scd file, provides the IP and the iedname of each bay, realizes the correspondence and connection between the IP and the main body and virtual measurement and control units through the iedname, and combines with the shadow mapping texture to finally establish the mapping relationship between the data of each CPU and the model data
[0132] 4. Design of IP generation and dynamic connection of redundant measurement and control devices:
[0133] 1) IP address generation rule: Since the redundant measurement and control device has three physical network interfaces, for each physical network interface, multiple IP addresses need to be set, but the mac address needs to be the same. Therefore, the mac address is generated using the IP of the main body measurement and control. The IP of the main body measurement and control can be set on the device, and the IPs of each virtual measurement and control unit adopt the IP addresses of the corresponding physical measurement and control units in the SCD file for each bay
[0134] 2) IP setting and deletion design: The main body measurement and control can set the IP on the device, and the virtual measurement and control unit can only view the IP address; the IP takes effect only when the virtual measurement and control unit is in the input state and the 61850 communication is normal. Internally, the message mode is used to transmit the information about the change of the online state of the virtual measurement and control. When a new virtual measurement and control unit is found to be input, the IP of the corresponding virtual measurement and control unit is added, and when a virtual measurement and control unit is found to exit, the IP of the corresponding virtual measurement and control unit is deleted
[0135] 5. Examples of on - site renovation and expansion of electrical bays:
[0136] 1) When the bay of the physical measurement and control device is changed or upgraded, use the model reloading technology of the system configuration tool to regenerate the SCD file, perform differential identification, and only add the newly added or modified physical measurement and control models without affecting the model configuration and connection relationship of the original existing physical measurement and control
[0137] 2) If it is an upgrade of an existing physical measurement and control, the updated ccd and cid of the physical measurement and control can be uploaded to the folder corresponding to the original number of the redundant measurement and control; if it is a newly added physical measurement and control, the corresponding ccd and cid of the physical measurement and control are uploaded to the folder with an idle number of the redundant measurement and control
[0138] 3) The redundant measurement and control maps the IEDNAME of the CCD in the corresponding numbered folder according to the model configuration, and establishes a mapping relationship with the virtual measurement and control CPU address, so as to realize the association between the entity measurement and control model in the SCD and the resource data and dynamic data of the corresponding virtual measurement and control in the real-time library. Establish the connection between the virtual measurement and control unit and the entity measurement and control IP address.
[0139] 4) During actual on-site operation, the main body measurement and control is responsible for identifying the online status of the virtual measurement and control. Internally, it uses messages to open and close the mms communication of the corresponding virtual measurement and control unit in the mode of adding and deleting IP addresses.
[0140] As Figure 3 shown, in the present invention, the redundant measurement and control device realizes the mapping management of the logical device and the storage resource by setting the model configuration folder. The model configuration folder is divided according to the logical device numbering rule, and each logical device corresponds to a folder. Specifically:
[0141] In the redundant measurement and control device, based on the virtualized folder management mechanism, a unique number is generated for each logical device, and the corresponding folder is created.
[0142] The folder content includes the configuration file of the logical device (such as the CCD file) and the operation status information.
[0143] The folder establishes a mapping relationship with the internal storage address of the logical device through the numbering rule, so that the storage resource can be quickly located and updated when the logical device is dynamically connected or removed. This folder-based management mode not only improves the configuration flexibility, but also reduces the complexity of repeated configuration operations.
[0144] As Figure 4 shown, the present invention adopts the shadow mapping mechanism to realize the dynamic mapping between the virtual measurement and control unit model and the internal real-time library. The specific process includes:
[0145] Generate the shadow mapping rule: Extract the IED name from the CCD file, and create a mapping table according to the short address defined in the SCD file and the CPU number segment of the real-time library.
[0146] Establish dynamic association: Use the shadow mapping table to dynamically bind the logical device number of the virtual measurement and control unit to the storage address of the real-time library, ensuring fast response during data transmission and status synchronization.
[0147] Update and maintenance: When the number or storage address of the logical device changes, the shadow mapping table will be automatically updated to avoid communication errors caused by data misalignment. This mapping mechanism significantly improves the connection efficiency of the virtual measurement and control unit and the accuracy of data synchronization.
[0148] AsFigure 5 As shown, the initialization and dynamic management of the IP address are the key steps for the present invention to achieve parallel communication of multiple virtual measurement and control units. The specific process is as follows:
[0149] IP address generation: The main body measurement and control module of the redundant measurement and control device supports generating the main IP address through user configuration, while the virtual measurement and control unit adopts the IP address of the corresponding physical measurement and control unit in the SCD file.
[0150] Dynamic addition: When a new virtual measurement and control unit goes online, check whether its operation status tag is valid; if it is valid, allocate the corresponding IP address based on the shadow mapping rule and add it to the communication network.
[0151] Dynamic deletion: When the virtual measurement and control unit goes offline or its status changes to invalid, remove its corresponding IP address through the internal message mechanism to release network resources. This dynamic management mechanism not only avoids IP address conflicts but also ensures the communication stability of the system when multiple measurement and control units are running simultaneously.
[0152] The beneficial effects of the present invention at least include:
[0153] The present invention generates the SCD file through the substation configuration tool and parses it to generate the physical measurement and control model. By adopting the virtualized folder management and shadow mapping mechanism, it separates the logical configuration of the device from the physical resources, realizing the dynamic attachment and removal of virtual measurement and control units; combined with the activation and resource recovery mechanism of the running valid tag, it significantly improves the resource utilization efficiency; by using the multi-server architecture to allocate independent communication resources for each virtual measurement and control unit, it supports parallel real-time data communication and control of multiple electrical intervals; at the same time, the application of distributed cache technology enables the virtualized folder to be quickly loaded and unloaded, adapting to the dynamic management requirements of substations of different scales; the present invention not only improves the real-time performance, stability and scalability of the system, but also effectively reduces the configuration workload and operation and maintenance complexity, especially showing higher flexibility and reliability in the renovation and expansion scenarios.
[0154] The present disclosure may be a system, a method, and / or a computer program product. The computer program product may include a computer-readable storage medium having thereon computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.
[0155] 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: still can modify the specific implementation manners of the present invention or make equivalent replacements, and any modification or equivalent replacement without departing from the spirit and scope of the present invention shall be covered by the protection scope of the claims of the present invention.
Claims
1. A method for configuring multiple servers based on redundant measurement and control device 61850, characterized in that: The following steps are involved: Generate an SCD file containing the physical measurement and control model of the electrical bay based on the substation configuration tool. The SCD file includes the IED instance configuration, communication parameters, and the communication relationship between IEDs. The physical measurement and control model is established by parsing the SCD file through the redundant measurement and control device. According to the physical measurement and control model, a virtual measurement and control model configuration folder is set in the redundant measurement and control device, the physical measurement and control model is loaded into the virtual measurement and control model configuration folder according to the numbering rule, and a mapping relationship is established between the numbering rule and the internal storage address of the virtual measurement and control model configuration folder; According to the virtual measurement and control model configuration folder, a virtual measurement and control unit is generated according to the numbering rules. Based on the correspondence between the IED name and the communication IP address in the SCD file, the virtual measurement and control unit is dynamically attached or removed by loading or removing the internal storage address of the virtual measurement and control unit. Based on the mounted virtual measurement and control unit, a multi-server architecture is used to configure 61850 communication services for each virtual measurement and control unit, and real-time data communication and control of multiple electrical intervals are carried out through the mapping relationship between the virtual measurement and control model configuration folder and the internal storage address.
2. A method for configuring multiple servers based on redundant measurement and control device 61850 according to claim 1, characterized in that: The SCD file containing the electrical bay entity measurement and control model is generated based on the substation configuration tool, including: Generate ICD files according to IEC 61850 standard, parse ICD files to obtain IED logical devices, logical nodes and associated data objects and data attributes, generate IED instance configuration, divide IED instances by electrical bays, and assign unique identifiers to logical devices in each electrical bay; Define logical nodes and data objects and data attributes associated with IED instances in IED instance configuration, build a logical hierarchical structure including measurement and control functions, and organize the functional modules of the equipment; Define the logical connections between IED instances according to the communication parameters configured in the SCD file, including GOOSE communication relationships and MMS data transmission configuration; When generating the SCD file, a valid operation tag is assigned to each IED instance to identify the enabled state and operation state of the device instance.
3. A method for configuring multiple servers based on redundant measurement and control device 61850 according to claim 1 or 2, characterized in that: The method of parsing the SCD file by the redundant measurement and control device to establish the entity measurement and control model includes: Extract the IED instance configuration from the SCD file through the redundant measurement and control device, and parse the IED's logical device name, logical node, and the data objects and data attributes associated with the logical node; Based on the communication parameters in the SCD file, the IP address, port number and communication protocol type of the IED instance are parsed to establish the corresponding relationship between the logical device and the communication parameters; Extract the communication relationship between IED instances in the SCD file, parse the logical connection of GOOSE communication and the MMS data transmission path, and generate the communication topology information between IED logical devices; The redundant measurement and control device classifies the logical devices according to the electrical interval, and organizes and analyzes the IED logical devices into a hierarchical entity measurement and control model.
4. A method for configuring multiple servers based on redundant measurement and control device 61850 according to claim 1, characterized in that: The virtual measurement and control model configuration folder includes: Based on the shadow mapping mechanism in the redundant measurement and control device, a virtualized folder is generated through the dynamic correspondence between the IED name and the IP address, and the configuration and status information are synchronized in real time according to the device operation status; When the device meets the requirements for the virtual measurement and control unit to go online, the virtualization folder is activated based on the effective running tag, and the mapping resources are reserved for loading and running; The virtualization folders with invalid running tags are reallocated through the virtualization management layer combined with the distributed cache.
5. A method for configuring multiple servers based on redundant measurement and control device 61850 according to claim 1 or 4, characterized in that: The mapping relationship between the numbering rule and the internal storage address of the virtual measurement and control model configuration folder is established, including: Based on the logical device numbering rule, a unique number is assigned to each logical device, and an internal storage address is assigned to the logical device corresponding to the number; A mapping table between logical device numbers and internal storage addresses is established in the virtual measurement and control model configuration folder. The mapping table is generated according to the numbering rules and stored in a hierarchical structure. When the logical device number or internal storage address changes, the mapping table is automatically updated through a dynamic maintenance mechanism.
6. A method for configuring multiple servers based on redundant measurement and control device 61850 according to claim 1, characterized in that: The step of configuring the folder according to the virtual measurement and control model and generating the virtual measurement and control unit according to the numbering rule includes: Extracting the logical device number and the associated virtual measurement and control model from the virtual measurement and control model configuration folder; Allocate a virtual measurement and control unit instance to the extracted logical device according to the logical device numbering rule, and initialize the operating environment of the virtual measurement and control unit in the redundant measurement and control device; Allocating an independent internal storage address for the virtual measurement and control unit, and loading the virtual measurement and control model in the virtual measurement and control unit instance; The mapping relationship between the virtual measurement and control unit instance and the logical device number and its internal storage address is recorded in the redundant measurement and control device. The mapping relationship is used to locate the internal storage address of the virtual measurement and control unit during dynamic attachment and release the corresponding storage resources during dynamic removal.
7. A method for configuring multiple servers based on redundant measurement and control device 61850 according to claim 1 or 6, characterized in that: The dynamically attaching or removing the virtual measurement and control unit by loading or removing the internal storage address of the virtual measurement and control unit includes: The virtual image is dynamically generated through the correspondence between the IED name and the IP address, and the shadow mapping rule is created according to the short address in the SCD file and the CPU number segment of the virtual measurement and control unit in the real-time library; Synchronize the device's configuration and status information in real time based on the shadow mapping mechanism, and activate the attachment when the virtual image is consistent with the actual unit configuration; When the device is offline or resources are insufficient, the mapping resources of the invalid unit are released through the virtualization management layer and reallocated to the measurement and control unit that needs to be attached.
8. The method for configuring multiple servers based on redundant measurement and control device 61850 according to claim 1 is characterized in that: Based on the mounted virtual measurement and control unit, the multi-server architecture is used to configure 61850 communication services for each virtual measurement and control unit, including: In a multi-server architecture, each virtual measurement and control unit is allocated independent communication resources, including network port numbers, service session instances, and transmission channels; Based on the virtual measurement and control model configuration folder, load the logical nodes and data objects of the virtual measurement and control unit into the 61850 communication service instance, and initialize the GOOSE message publishing and subscription functions; Configure MMS communication service parameters, including data transmission paths, service quality parameters, and timeout policies for logical devices; After the communication service is configured, the communication status is monitored in real time, and the automatic reconfiguration process is triggered when a network failure or device status change occurs.
9. A method for configuring multiple servers based on redundant measurement and control device 61850 according to claim 1 or 8, characterized in that: The real-time data communication and control of multiple electrical intervals are performed by configuring the mapping relationship between the virtual measurement and control model folder and the internal storage address, including: The association between the logical device number and the virtual measurement and control unit of each electrical bay is analyzed by using the mapping table between the logical device number and the internal storage address in the virtual measurement and control model configuration folder; Call the communication interface of the virtual measurement and control unit to broadcast the status of the electrical bay based on GOOSE communication, and upload the operation data of the electrical bay and issue the control command through the MMS service; In the real-time communication process, the logical device configuration of the virtual measurement and control unit is dynamically updated to adapt to the newly added or changed electrical bays by reloading the virtual measurement and control model; In real-time communication of electrical intervals, the mapping relationship between the logical device number and the storage address is periodically checked.
10. A multi-server configuration system based on redundant measurement and control device 61850, comprising: SCD file generation module, physical measurement and control model analysis module, virtual measurement and control unit management module and communication service configuration module; characterized by: An SCD file generation module is used to generate an SCD file containing an electrical bay entity measurement and control model based on a substation configuration tool. The SCD file includes IED instance configuration, communication parameters, and communication relationships between IEDs. The entity measurement and control model parsing module is used to parse the SCD file through redundant measurement and control devices, extract the IED instance configuration and communication parameters, and establish a logically hierarchical entity measurement and control model; A virtual measurement and control unit management module is used to generate a virtual measurement and control model configuration folder according to the physical measurement and control model, and load the logical device into the virtual measurement and control model configuration folder according to the numbering rule to generate a virtual measurement and control unit; The communication service configuration module is used to configure the 61850 communication service based on the mounted virtual measurement and control unit using a multi-server architecture, and to perform real-time data communication and control of multiple electrical bays through the mapping relationship between the virtual measurement and control model configuration folder and the internal storage address.
Citation Information
Patent Citations
Resource configuration identification and warehousing design method and system for redundant measurement and control device
CN114142603A