CN110535092B - CCD file change influence analysis method based on CRC check - Google Patents
CCD file change influence analysis method based on CRC check Download PDFInfo
- Publication number
- CN110535092B CN110535092B CN201910852576.3A CN201910852576A CN110535092B CN 110535092 B CN110535092 B CN 110535092B CN 201910852576 A CN201910852576 A CN 201910852576A CN 110535092 B CN110535092 B CN 110535092B
- Authority
- CN
- China
- Prior art keywords
- control block
- configuration information
- external device
- receiving control
- crc
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02H—EMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
- H02H1/00—Details of emergency protective circuit arrangements
- H02H1/0092—Details of emergency protective circuit arrangements concerning the data processing means, e.g. expert systems, neural networks
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02H—EMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
- H02H7/00—Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions
- H02H7/22—Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for distribution gear, e.g. bus-bar systems; for switching devices
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Artificial Intelligence (AREA)
- Evolutionary Computation (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Remote Monitoring And Control Of Power-Distribution Networks (AREA)
- Supply And Distribution Of Alternating Current (AREA)
Abstract
Description
技术领域technical field
本发明涉及电力系统继电保护二次设备管控技术领域,具体涉及一种基于CRC校验的CCD文件变更影响分析方法。The invention relates to the technical field of secondary equipment management and control of power system relay protection, in particular to a method for analyzing the influence of CCD file changes based on CRC verification.
背景技术Background technique
智能变电站配置描述SCD(Substation Configuration Description)文件描述了完整的变电站配置,保护所有二次设备的模型信息,通信参数配置信息,以及过程层装置之间二次回路信息,相当于常规变电站中连接一二次设备的二次线缆回路。The Smart Substation Configuration Description SCD (Substation Configuration Description) file describes the complete substation configuration, model information for protecting all secondary equipment, communication parameter configuration information, and secondary circuit information between process-level devices, which is equivalent to connecting a substation in a conventional substation. Secondary cable loop for secondary equipment.
智能变电站大量的投入运行,由于智能变电站设计初期,技术存在局限性,设备模型设计考虑不全面,施工调试测试经验比较少,智能变电运行状态存在很大的不足,同时由于经济技术的发展,用户用电量快速的增涨,对原来设计模式需要进行改扩建,以满足电网快速的发展需求。在改扩建当中遇到新增加间隔,期望对已运行设备不产生影响,需保证对已运行设备的配置不发生变更。对于线路线改扩建,从而导致相关联的母线保护装置的运行配置信息需要重新配置与下装,但是母线保护装置的配置文件修改是否对已经运行装置的配置信息改变,无法进行定位。在改扩建阶段,为了安全起见,需要对全站进行全部停电,进行试验,验证二次回路配置,影响范围太大,改扩建效率低。目前智能变电站改扩建技术相对不够成熟,无法保证在改扩建阶段改扩建装置不影响已运行装置可靠运行。A large number of smart substations have been put into operation. Due to the limitations of technology in the early stage of smart substation design, the design of equipment models is not fully considered, and the experience in construction, commissioning and testing is relatively small, and the operating status of smart substations has great shortcomings. With the rapid increase in electricity consumption of users, the original design model needs to be renovated and expanded to meet the rapid development needs of the power grid. In the process of reconstruction and expansion, the newly added interval is expected to have no impact on the running equipment, and it is necessary to ensure that the configuration of the running equipment does not change. For line reconstruction and expansion, the operation configuration information of the associated busbar protection device needs to be reconfigured and downloaded, but it is impossible to locate whether the configuration file modification of the busbar protection device changes the configuration information of the already running device. In the reconstruction and expansion stage, for the sake of safety, it is necessary to conduct power outages for the entire station, conduct tests, and verify the configuration of the secondary circuit. The influence range is too large, and the reconstruction and expansion efficiency is low. At present, the reconstruction and expansion technology of smart substations is relatively immature, and it is impossible to guarantee that the reconstruction and expansion of the equipment during the reconstruction and expansion stage will not affect the reliable operation of the operating equipment.
SCD文件作为智能变电站的配置描述文件,是二次系统运行配置的重要依据,在智能变电站的调试、验收、维护、检修和改扩建环节中,SCD 文件的管控非常重要,SCD 文件集合了全部二次设备的模型信息,装置通信参数信息,以及过程二次虚回路关联配置信息。在智能变电站进行改扩建或者工程调试阶段,SCD文件发生变动,导致现场调试或者运行人员不知道版本直接的差异性,以及下载到装置内部的配置信息是否发生了变更,造成怎样的影响。在智能变电站改扩建的过程中,有一个环节是通过系统配置工具从SCD文件生成装置运行的过程层配置文件,并且下载到装置内部(即下文的本装置)进行运行,过程层配置文件即CCD(Configured Circuit Description)文件,CCD文件是智能变电站二次设备IED(Intelligent Electronic Device 智能电子设备)虚回路配置文件,用于定义IED订阅与发布GOOSE(Generic Object Oriented Substation Events 通用面向对象的变电站事件)和SV(Sampled Value 采样值)信息的配置文件,包含虚回路内部地址与外部装置(相对于下装CCD的装置)的地址映射关系、控制块通信参数信息、虚端子接收端口信息、以及虚端子描述信息,国家电网公司发布实施了《智能变电站继电保护工程文件技术规范》规范了CCD文件统一规范内容和格式。IEC61850对变电站自动化系统种的数据对象统一建模,将IED自上往下分为逻辑设备(LD)、逻辑节点(LN)、数据(DO)和数据属性(DA),而LN是数据、数据集以及各种控制块的合成物,其中控制块包括报告控制块RCB(Report Control Block)和日志控制块LCB(Log Control Block)。控制块表示:数据通信的数据块,控制块里包含数据相关的定义信息。As the configuration description file of the smart substation, the SCD file is an important basis for the operation and configuration of the secondary system. In the commissioning, acceptance, maintenance, overhaul and reconstruction and expansion of the smart substation, the management and control of the SCD file is very important. Model information of the secondary equipment, device communication parameter information, and configuration information associated with the secondary virtual circuit of the process. During the renovation and expansion of the smart substation or the engineering commissioning stage, the SCD file changes, causing the on-site commissioning or operation personnel to not know the direct differences between the versions, and whether the configuration information downloaded to the device has changed, and what kind of impact it will cause. In the process of reconstruction and expansion of smart substations, there is a link that generates the process layer configuration file of the device operation from the SCD file through the system configuration tool, and downloads it to the inside of the device (that is, the device below) for operation. The process layer configuration file is the CCD (Configured Circuit Description) file, the CCD file is the virtual circuit configuration file of the secondary device IED (Intelligent Electronic Device) of the intelligent substation, which is used to define the subscription and publication of the IED GOOSE (Generic Object Oriented Substation Events Generic Object Oriented Substation Events) and SV (Sampled Value) information configuration file, including the address mapping relationship between the internal address of the virtual loop and the external device (relative to the device with the CCD installed), the control block communication parameter information, the virtual terminal receiving port information, and the virtual terminal. To describe the information, the State Grid Corporation of China issued and implemented the "Technical Specifications for Relay Protection Engineering Documents for Smart Substations" to standardize the content and format of the unified specification of CCD files. IEC61850 uniformly models the data objects of substation automation systems, and divides IEDs into logical devices (LD), logical nodes (LN), data (DO) and data attributes (DA) from top to bottom, and LN is data, data Sets and a combination of various control blocks, which include the report control block RCB (Report Control Block) and the log control block LCB (Log Control Block). The control block means: the data block of data communication, and the control block contains the definition information related to the data.
发明内容SUMMARY OF THE INVENTION
为解决现有技术中的不足,本发明提供一种基于CRC校验的CCD文件变更影响分析方法,解决了智能变电站改扩建过程中无法得知配置文件修改是否影响已运行设备配置信息,需要对全站进行全部停电,改扩建效率低的问题。In order to solve the deficiencies in the prior art, the present invention provides a method for analyzing the influence of CCD file changes based on CRC verification, which solves the problem that it is impossible to know whether the modification of the configuration file affects the configuration information of the running equipment during the reconstruction and expansion of the intelligent substation. All power outages are carried out in the whole station, and the efficiency of reconstruction and expansion is low.
为了实现上述目标,本发明采用如下技术方案:一种基于CRC校验的CCD文件变更影响分析方法,其特征在于:In order to realize the above-mentioned goal, the present invention adopts the following technical scheme: a kind of CCD file change impact analysis method based on CRC check is characterized in that:
步骤1:配置用于智能变电站改扩建装置的SCD文件,根据所述SCD文件导出用于装置改扩建的新的CCD文件,从将要改扩建的智能变电站装置中获取原有CCD文件,分别解析两个CCD文件的数据结构,获取GOOSE接收控制块与SV接收控制块配置信息;Step 1: Configure the SCD file used for the reconstruction and expansion device of the smart substation, export the new CCD file for the reconstruction and expansion of the device according to the SCD file, obtain the original CCD file from the smart substation device to be reconstructed and expand, and analyze the two files respectively. The data structure of a CCD file, obtain the configuration information of the GOOSE receiving control block and the SV receiving control block;
步骤2:对所述新的CCD文件和原有CCD文件采用基于二次回路配置信息识别的方法,将 GOOSE接收控制块与SV接收控制块配置信息按照相同的外部装置进行分类,同一个外部装置的接收GOOSE接收控制块和SV接收控制块配置信息组成一个数据集,得到GOOSE接收控制块与SV接收控制块配置信息按外部装置分类的若干个原有和新的数据集;Step 2: The new CCD file and the original CCD file are identified based on the configuration information of the secondary loop, and the configuration information of the GOOSE receiving control block and the SV receiving control block are classified according to the same external device. The receiving GOOSE receiving control block and the SV receiving control block configuration information form a data set, and obtain several original and new data sets classified by the external device according to the GOOSE receiving control block and the SV receiving control block configuration information;
步骤3: 对所述若干个原有和新的数据集进行CRC校验码计算,通过比较CRC校验码定位变更的外部装置;Step 3: Calculate the CRC check code for the several original and new data sets, and locate the changed external device by comparing the CRC check code;
步骤4:根据定位到的变更的外部装置对应的原有和新的数据集,分析具体变更信息,定位改扩建影响范围。Step 4: According to the original and new data sets corresponding to the located changed external devices, analyze the specific change information, and locate the affected area of reconstruction and expansion.
前述的一种基于CRC校验的CCD文件变更影响分析方法,其特征是:所述GOOSE接收控制块配置信息为:CCD文件下装装置接收外部装置数据相关的GOOSE配置信息;所述SV接收控制块配置信息为:CCD文件下装装置接收外部装置数据相关的SV配置信息;所述控制块配置信息中包括外部装置的通信参数、端口信息和二次虚回路内外部地址映射关系。The aforementioned a kind of CCD file change impact analysis method based on CRC check is characterized in that: the GOOSE receiving control block configuration information is: the CCD file downloading device receives the GOOSE configuration information related to the external device data; the SV receiving control The block configuration information is: the CCD file downloading device receives the SV configuration information related to the data of the external device; the control block configuration information includes the communication parameters of the external device, port information and the mapping relationship between the internal and external addresses of the secondary virtual loop.
前述的一种基于CRC校验的CCD文件变更影响分析方法,其特征是:所述配置用于智能变电站改扩建装置的SCD文件,具体为:配置改扩建增加的装置模型信息,通信参数,关联装置之间虚端子。The aforementioned method for analyzing the impact of CCD file changes based on CRC verification is characterized in that: the SCD file configured for the smart substation reconstruction and expansion device is configured as follows: configuring the device model information, communication parameters, correlation Virtual terminals between devices.
前述的一种基于CRC校验的CCD文件变更影响分析方法,其特征是:所述步骤2中将GOOSE接收控制块与SV接收控制块配置信息按照相同的外部装置进行分类,同一个外部装置的接收GOOSE接收控制块和SV接收控制块配置信息组成一个数据集,具体步骤包括:The aforementioned a kind of CCD file change impact analysis method based on CRC check is characterized in that: in the described step 2, the GOOSE receiving control block and the SV receiving control block configuration information are classified according to the same external device, and the same external device is classified. Receive the GOOSE receiving control block and the SV receiving control block configuration information to form a data set, and the specific steps include:
1)根据GOOSE接收控制块与SV接收控制块配置信息获取控制块的控制块通信唯一标识,获取外部装置名称与外部装置的逻辑设备名称;1) Obtain the control block communication unique identifier of the control block according to the configuration information of the GOOSE receiving control block and the SV receiving control block, and obtain the name of the external device and the logical device name of the external device;
2)根据GOOSE接收控制块或SV接收控制块配置信息,获取外部装置的逻辑设备名称;2) Obtain the logical device name of the external device according to the GOOSE receiving control block or SV receiving control block configuration information;
3)根据外部装置名称与逻辑设备名称的组合名称以及逻辑设备名称,得到装置的外部装置名称,将相同的装置名称下的GOOSE接收控制块与SV接收控制块配置信息分为一组。3) According to the combination name of the external device name and the logical device name and the logical device name, the external device name of the device is obtained, and the configuration information of the GOOSE receiving control block and the SV receiving control block under the same device name is grouped into one group.
前述的一种基于CRC校验的CCD文件变更影响分析方法,其特征是:所述步骤3,具体过程为:The aforementioned a kind of CCD file change impact analysis method based on CRC check is characterized in that: described step 3, the concrete process is:
1)对GOOSE接收控制块与SV接收控制块配置信息按外部装置分类的若干个数据集,计算CRC校验码;1) Calculate the CRC check code for several data sets classified by external devices according to the configuration information of the GOOSE receiving control block and the SV receiving control block;
2)比较原有CCD文件和新的CCD文件中相同的外部装置对应的CRC校验值,如果相同,则确定新的CCD文件中该外部装置的配置信息没有发生改变,如果两个CRC校验码不一致,则确定新的CCD文件中该外部装置的配置信息发生了变更。2) Compare the CRC check value corresponding to the same external device in the original CCD file and the new CCD file. If they are the same, it is determined that the configuration information of the external device in the new CCD file has not changed. If the two CRC check values If the codes are inconsistent, it is determined that the configuration information of the external device in the new CCD file has been changed.
前述的一种基于CRC校验的CCD文件变更影响分析方法,其特征是:所述计算CRC校验码,具体为:采用交换标准代码序列计算四字节CRC-32校验码。The aforementioned method for analyzing the impact of CCD file changes based on CRC verification is characterized in that: the calculation of the CRC verification code is specifically: using an exchange standard code sequence to calculate the four-byte CRC-32 verification code.
前述的一种基于CRC校验的CCD文件变更影响分析方法,其特征是:所述步骤4,具体包括:The aforementioned a kind of CCD file change impact analysis method based on CRC check is characterized in that: described step 4, specifically includes:
从变更的外部装置对应的原有和新的数据集中提取通信参数,将两个改扩建前后通信参数进行比对,标识出变更的通信参数信息;Extract communication parameters from the original and new data sets corresponding to the changed external device, compare the two communication parameters before and after reconstruction and expansion, and identify the changed communication parameter information;
从变更的外部装置对应的原有和新的数据集中提取虚回路信息,对内部装置接收地址和外部装置发送地址进行比对分析,如果不一致则确定虚回路信息发生了变更。Extract the virtual loop information from the original and new data sets corresponding to the changed external device, and compare and analyze the receiving address of the internal device and the sending address of the external device. If they are inconsistent, it is determined that the virtual loop information has changed.
本发明所达到的有益效果:Beneficial effects achieved by the present invention:
本发明分别解析两个CCD文件的数据结构,获取GOOSE接收控制块与SV接收控制块配置信息;将 GOOSE接收控制块与SV接收控制块配置信息按照相同的外部装置进行分类,同一个外部装置的接收GOOSE接收控制块和SV接收控制块配置信息组成一个数据集,得到GOOSE接收控制块与SV接收控制块配置信息按外部装置分类的若干个原有和新的数据集;对所述若干个原有和新的数据集进行CRC校验码计算,通过比较CRC校验码定位变更的外部装置;根据定位到的变更的外部装置对应的原有和新的数据集,分析具体变更信息,定位改扩建影响范围。保证改扩建中修改信息不影响已运行装置的配置信息,快速定位改扩建影响范围,避免全站停电进行调试,提高调试效率,减少调试范围,满足智能变电站二次设备改扩建的应用需求。The invention analyzes the data structures of the two CCD files respectively, and obtains the configuration information of the GOOSE receiving control block and the SV receiving control block; the configuration information of the GOOSE receiving control block and the SV receiving control block is classified according to the same external device, and the Receive the GOOSE receiving control block and the SV receiving control block configuration information to form a data set, and obtain several original and new data sets classified by the external device according to the GOOSE receiving control block and the SV receiving control block configuration information; There is a CRC check code calculation with the new data set, and the changed external device is located by comparing the CRC check code; according to the original and new data sets corresponding to the located changed external device, the specific change information is analyzed, and the modified external device is located. Expand the sphere of influence. It ensures that the modification information during reconstruction and expansion does not affect the configuration information of the operating devices, quickly locates the affected area of reconstruction and expansion, avoids power outages for the entire station for commissioning, improves commissioning efficiency, reduces commissioning scope, and meets the application needs of secondary equipment reconstruction and expansion of smart substations.
附图说明Description of drawings
图1是本发明方法流程图。Fig. 1 is the flow chart of the method of the present invention.
具体实施方式Detailed ways
下面结合附图对本发明作进一步描述。以下实施例仅用于更加清楚地说明本发明的技术方案,而不能以此来限制本发明的保护范围。The present invention will be further described below in conjunction with the accompanying drawings. The following examples are only used to illustrate the technical solutions of the present invention more clearly, and cannot be used to limit the protection scope of the present invention.
如图1所示,一种基于CRC校验的CCD文件变更影响分析方法,具体包括步骤:As shown in Figure 1, a method for analyzing the impact of changes in CCD files based on CRC verification includes the following steps:
步骤1:配置用于智能变电站改扩建装置的SCD文件,根据所述SCD文件导出用于装置改扩建的新的CCD文件,从将要改扩建的智能变电站装置中获取原有CCD文件,分别解析两个CCD文件的数据结构,获取GOOSE接收控制块与SV接收控制块配置信息;Step 1: Configure the SCD file used for the reconstruction and expansion device of the smart substation, export the new CCD file for the reconstruction and expansion of the device according to the SCD file, obtain the original CCD file from the smart substation device to be reconstructed and expand, and analyze the two files respectively. The data structure of a CCD file, obtain the configuration information of the GOOSE receiving control block and the SV receiving control block;
GOOSE接收控制块配置信息为:内部装置(也叫本装置,即下装CCD文件的装置)接收外部装置数据相关的GOOSE配置信息;The configuration information of the GOOSE receiving control block is: the internal device (also called the device, that is, the device that downloads the CCD file) receives the GOOSE configuration information related to the data of the external device;
SV接收控制块配置信息为:本装置接收外部装置数据相关的SV配置信息;The SV receiving control block configuration information is: the device receives SV configuration information related to external device data;
配置用于智能变电站装置改扩建的SCD文件,具体为,配置改扩建增加的装置模型信息,通信参数,关联装置之间虚端子;Configure the SCD file used for the reconstruction and expansion of the smart substation device, specifically, configure the device model information added by the reconstruction and expansion, communication parameters, and virtual terminals between associated devices;
由于九统一装置的要求,所有装置支持通过FTP上招装置的配置文件和CCD文件,因此可以从将要改扩建的智能变电站装置中获取原有CCD文件;Due to the requirements of nine unified devices, all devices support uploading device configuration files and CCD files through FTP, so the original CCD files can be obtained from the smart substation devices to be renovated and expanded;
通过GOOSE订阅和SV订阅信息获取GOOSE接收控制块与SV接收控制块配置信息;控制块配置信息中包括外部装置的通信参数、端口信息和二次虚回路内外部地址映射关系。Obtain GOOSE receiving control block and SV receiving control block configuration information through GOOSE subscription and SV subscription information; the control block configuration information includes communication parameters of external devices, port information and the mapping relationship between the internal and external addresses of the secondary virtual loop.
步骤2:对智能变电站改扩建装置新的CCD文件和原有CCD文件采用基于二次回路配置信息识别的方法,将 GOOSE接收控制块与SV接收控制块配置信息按照相同的外部装置进行分类,同一个外部装置的接收GOOSE接收控制块和SV接收控制块配置信息组成一个数据集,得到GOOSE接收控制块与SV接收控制块配置信息按外部装置分类的若干原有和新的数据集;Step 2: Use the method of identifying the new CCD file and the original CCD file of the smart substation reconstruction and expansion device based on the configuration information of the secondary circuit, and classify the configuration information of the GOOSE receiving control block and the SV receiving control block according to the same external devices. The receiving GOOSE receiving control block and the SV receiving control block configuration information of an external device form a data set, and obtain several original and new data sets classified by the external device according to the GOOSE receiving control block and the SV receiving control block configuration information;
具体步骤包括:Specific steps include:
1)根据GOOSE接收控制块与SV接收控制块配置信息获取控制块的控制块通信唯一标识appid,获取外部装置名称IEDName与外部装置的逻辑设备名称LDName,例如:appid ="IL2201ARPIT/LLN0$GO$GCB1",该路径组成为:IEDName+LDName+/+LLN0+$+GO+$+GCBName,由此获取IEDName+LDName组合名称为IL2201ARPIT;1) Obtain the control block communication unique identifier appid of the control block according to the configuration information of the GOOSE receiving control block and the SV receiving control block, obtain the external device name IEDName and the logical device name LDName of the external device, for example: appid="IL2201ARPIT/LLN0$GO$ GCB1", the path is composed of: IEDName+LDName+/+LLN0+$+GO+$+GCBName, and the combination name of IEDName+LDName is obtained as IL2201ARPIT;
2)根据GOOSE接收控制块或者SV接收控制块配置信息,获取外部装置的逻辑设备名称LDName,例如:<FCDA bType="Dbpos" daName="stVal" desc="1G位置" doName="Pos"fc="ST" ldInst="RPIT" lnClass="XSWI" lnInst="1" prefix="">,其中ldInst就是逻辑设备,获得LDName为RPIT;2) According to the GOOSE receiving control block or SV receiving control block configuration information, obtain the logical device name LDName of the external device, for example: <FCDA bType="Dbpos" daName="stVal" desc="1G position" doName="Pos"fc ="ST" ldInst="RPIT" lnClass="XSWI" lnInst="1" prefix="">, where ldInst is the logical device, and the obtained LDName is RPIT;
3)根据IEDName与LDName组合名称以及LDName,得到装置的IEDName,根据装置名称将接收GOOSE与SV分为一组,例如,根据IL2201ARPIT与RPIT可得到IEDName为IL2201A,将相同的装置名称下的GOOSE接收控制块与SV接收控制块配置信息分为一组。3) According to the combined name of IEDName and LDName and LDName, the IEDName of the device is obtained, and the received GOOSE and SV are grouped according to the device name. For example, according to IL2201ARPIT and RPIT, the IEDName can be obtained as IL2201A, and the GOOSE under the same device name is received. The control block is grouped with the SV receiving control block configuration information.
以上对智能变电站改扩建装置采用基于二次回路配置信息识别的方法,将GOOSE接收控制块与SV接收控制块按照相同的外部装置进行分类。In the above, the method of identification based on the configuration information of the secondary circuit is adopted for the reconstruction and expansion device of the intelligent substation, and the GOOSE receiving control block and the SV receiving control block are classified according to the same external device.
步骤3: 对步骤2得到的装置不同数据集进行CRC校验码计算,通过比较原有CCD文件和新的CCD文件的CRC校验码定位变更的外部装置,具体过程包括:Step 3: Calculate the CRC check code for different data sets of the device obtained in step 2, and locate the changed external device by comparing the CRC check code of the original CCD file and the new CCD file. The specific process includes:
1)对GOOSE接收控制块与SV接收控制块配置信息按外部装置分类的若干数据集,采用交换标准代码序列计算四字节CRC-32校验码;1) For several data sets classified by external devices according to the configuration information of the GOOSE receiving control block and the SV receiving control block, use the exchange standard code sequence to calculate the four-byte CRC-32 check code;
2)比较原有CCD文件和新的CCD文件中相同的外部装置对应的CRC校验值,如果相同,则确定新的CCD文件中该外部装置的配置信息没有发生改变,如果两个CRC值不一致,则确定新的CCD文件中该外部装置的配置信息发生了变更;2) Compare the CRC check value corresponding to the same external device in the original CCD file and the new CCD file. If they are the same, it is determined that the configuration information of the external device in the new CCD file has not changed. If the two CRC values are inconsistent , then it is determined that the configuration information of the external device in the new CCD file has changed;
步骤4:根据定位到的变更的外部装置对应的原有和新的数据集,分析具体变更信息,定位改扩建影响范围。Step 4: According to the original and new data sets corresponding to the located changed external devices, analyze the specific change information, and locate the affected area of reconstruction and expansion.
具体步骤包括:Specific steps include:
1)从变更的外部装置对应的原有和新的数据集中提取通信参数,将两个改扩建前后通信参数进行比对,标识出变更的通信参数信息,通信参数包括控制块通信地址APPID、控制块物理地址MAC-Address、控制块虚拟局域网VLAN-ID、控制块优先级VLAN-PRIORITY,等;1) Extract the communication parameters from the original and new data sets corresponding to the changed external device, compare the two communication parameters before and after reconstruction and expansion, and identify the changed communication parameter information. The communication parameters include the control block communication address APPID, control Block physical address MAC-Address, control block virtual local area network VLAN-ID, control block priority VLAN-PRIORITY, etc.;
2)从变更的外部装置对应的原有和新的数据集中提取虚回路信息,对内部装置接收地址和外部装置发送地址进行比对分析,如果不一致则确定虚回路信息发生了变更,例如回路信息:2) Extract the virtual loop information from the original and new data sets corresponding to the changed external device, and compare and analyze the receiving address of the internal device and the sending address of the external device. If they are inconsistent, determine that the virtual loop information has changed, such as loop information. :
<FCDA bType="Dbpos" daName="stVal" desc="1G位置" doName="Pos" fc="ST"ldInst="RPIT" lnClass="XSWI" lnInst="1" prefix=""><FCDA bType="Dbpos" daName="stVal" desc="1GPosition" doName="Pos" fc="ST"ldInst="RPIT" lnClass="XSWI" lnInst="1" prefix="">
<intAddr desc="母线1刀闸位置" name="MUGO/GOINGGIO4.DPCSO1.stVal"><intAddr desc="Busbar 1 knife position" name="MUGO/GOINGGIO4.DPCSO1.stVal">
<DAI name="stVal" sAddr="45.0.1.9.2" /><DAI name="stVal" sAddr="45.0.1.9.2" />
</intAddr></intAddr>
</FCDA></FCDA>
其中,FCDA为:Functionally Constrained Data Attribute功能约束数据属性;bType:数据类型;daName:数据属性;desc:数据描述;doName:数据对象;fc:functionalconstraint功能约束;ldInst:逻辑设备;lnClass:逻辑类别;lnInst:序号;prefix:前缀;intAddr:内部地址;desc:对象描述;DAI:数据属性;Among them, FCDA is: Functionally Constrained Data Attribute functional constraint data attribute; bType: data type; daName: data attribute; desc: data description; doName: data object; fc: functional constraint; ldInst: logical device; lnClass: logical category; lnInst: serial number; prefix: prefix; intAddr: internal address; desc: object description; DAI: data attribute;
外部装置发送地址为:ldInst +/+ lnClass + lnInst + . + doName + . +daName,内部装置接收地址为intAddr元素中的name,由此可得外部装置发送地址为:RPIT/XSWI1/.Pos. stVal,内部地址为:MUGO/GOINGGIO4.DPCSO1.stVal,地址不同,确定虚回路信息发生了变更。The sending address of the external device is: ldInst +/+ lnClass + lnInst + . + doName + . +daName, the receiving address of the internal device is the name in the intAddr element, and the sending address of the external device is: RPIT/XSWI1/.Pos. stVal, the internal address is: MUGO/GOINGGIO4.DPCSO1.stVal, the address is different, it is confirmed that the virtual circuit information has changed.
对于扩建线路,需要对母线保护装置进行重新配置下装,只要保证母线保护CCD文件中,对已投运装置接收虚回路的CRC值不变化,已投运装置与母线保护的配置信息就没有变更,通过比对改扩建前后的间隔CRC值,就能够确保改扩建是否影响已投运线路。For the expansion line, the busbar protection device needs to be reconfigured and downloaded. As long as it is ensured that the CRC value of the virtual circuit received by the device that has been put into operation does not change in the CCD file of the busbar protection device, the configuration information of the device that has been put into operation and the busbar protection device will not be changed. , By comparing the interval CRC values before and after the reconstruction and expansion, it can be ensured whether the reconstruction or expansion affects the lines that have been put into operation.
本发明通过分析CCD文件包括的信息内容和格式,在CCD文件中数据发送和数据接收为独立的控制块信息,对于数据接收,每个外部装置的接收控制块配置信息组成一个数据集合,将接收控制块配置信息按照接收装置名称自动分组,组合为一个新的字符序列信息,对每一组字符序列信息进行CRC计算,通过比对改扩建前后装置二次回路配置文件信息,分析装置影响回路信息,定位变更装置配置,确定改扩建装置与已运行装置的配置信息未发生变更,对于已运行装置,可不进行传动实验,对接收控制块配置信息进行管控,保证改扩建中修改信息不影响已运行装置的配置信息,快速定位改扩建影响范围,避免全站停电进行调试,提高调试效率,减少调试范围,满足智能变电站二次设备改扩建的应用需求。The present invention analyzes the information content and format included in the CCD file, and in the CCD file, data transmission and data reception are independent control block information. For data reception, the receiving control block configuration information of each external device forms a data set, and the receiving The configuration information of the control block is automatically grouped according to the name of the receiving device and combined into a new character sequence information. CRC calculation is performed on each group of character sequence information. , locate and change the device configuration, and confirm that the configuration information of the reconstruction and expansion device and the operating device has not changed. For the operating device, it is not necessary to carry out the transmission experiment, and control the configuration information of the received control block to ensure that the modification information in the reconstruction and expansion does not affect the running device. The configuration information of the device can quickly locate the affected area of reconstruction and expansion, avoid power failure of the whole station for commissioning, improve commissioning efficiency, reduce commissioning scope, and meet the application needs of secondary equipment reconstruction and expansion of smart substations.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application 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 application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowcharts and/or block diagrams, and combinations of flows and/or blocks in the flowcharts and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in one or more of the flowcharts and/or one or more blocks of the block diagrams.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。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 function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions An apparatus implements the functions specified in a flow or flows of the flowcharts and/or a block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in one or more of the flowcharts and/or one or more blocks of the block diagrams.
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明技术原理的前提下,还可以做出若干改进和变形,这些改进和变形也应视为本发明的保护范围。The above are only the preferred embodiments of the present invention. It should be pointed out that for those skilled in the art, without departing from the technical principle of the present invention, several improvements and modifications can also be made. These improvements and modifications It should also be regarded as the protection scope of the present invention.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910852576.3A CN110535092B (en) | 2019-09-10 | 2019-09-10 | CCD file change influence analysis method based on CRC check |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910852576.3A CN110535092B (en) | 2019-09-10 | 2019-09-10 | CCD file change influence analysis method based on CRC check |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110535092A CN110535092A (en) | 2019-12-03 |
CN110535092B true CN110535092B (en) | 2022-04-22 |
Family
ID=68667979
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910852576.3A Active CN110535092B (en) | 2019-09-10 | 2019-09-10 | CCD file change influence analysis method based on CRC check |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110535092B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114006954B (en) * | 2021-10-19 | 2023-07-14 | 许继集团有限公司 | A method and device for sending and receiving GOOSE messages |
CN119270997A (en) * | 2024-09-20 | 2025-01-07 | 国网宁夏电力有限公司中卫供电公司 | Intelligent substation reconstruction and expansion configuration file calibrator and calibration method thereof |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107394892A (en) * | 2017-07-25 | 2017-11-24 | 许继集团有限公司 | The debugging range determining method and system of a kind of intelligent substation separation fluctuation |
CN108519929A (en) * | 2018-04-09 | 2018-09-11 | 江苏省电力试验研究院有限公司 | A smart substation busbar protection configuration control CRC verification method and device |
CN109213976A (en) * | 2018-09-13 | 2019-01-15 | 国网江苏省电力有限公司检修分公司 | The female poor reorganization and expansion configuration file otherness comparative approach of intelligent substation, system and equipment |
-
2019
- 2019-09-10 CN CN201910852576.3A patent/CN110535092B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107394892A (en) * | 2017-07-25 | 2017-11-24 | 许继集团有限公司 | The debugging range determining method and system of a kind of intelligent substation separation fluctuation |
CN108519929A (en) * | 2018-04-09 | 2018-09-11 | 江苏省电力试验研究院有限公司 | A smart substation busbar protection configuration control CRC verification method and device |
CN109213976A (en) * | 2018-09-13 | 2019-01-15 | 国网江苏省电力有限公司检修分公司 | The female poor reorganization and expansion configuration file otherness comparative approach of intelligent substation, system and equipment |
Non-Patent Citations (1)
Title |
---|
基于SCD 与CCD 校准的智能变电站跨间隔检修技术研究;杨高峰等;《电力系统保护与控制》;20190116;第47卷(第2期);第175-181页 * |
Also Published As
Publication number | Publication date |
---|---|
CN110535092A (en) | 2019-12-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103746882B (en) | The method of intelligent substation station control layer test | |
CN103714150B (en) | Visualization error correction method of power distribution network topology model | |
CN102890735B (en) | Modeling method of strategy table and strategy table searching match of stable control device | |
CN110071577A (en) | Supervisory control of substation information acceptance method and system | |
CN103390882B (en) | A kind of Oversea power grid protection constant value modification method | |
CN107819611B (en) | Client test method based on IEC61850 multi-server simulation | |
CN105491038A (en) | Intelligent device protocol analysis method | |
CN108595390B (en) | Method for verifying parameter consistency of SCD and IED of intelligent substation | |
CN106451792A (en) | A smart substation telecontrol point-to-point system and method | |
CN104052633A (en) | Integrated Test Method of Intelligent Station 61850 and Telecontrol 104 Protocol | |
CN107394892B (en) | Method and system for determining debugging range of interval change of intelligent substation | |
CN115599750A (en) | A smart substation virtual circuit checking method, system, equipment and storage medium | |
CN103439592A (en) | Method for intelligently testing intelligent substation on site | |
CN104851056A (en) | Intelligent transformer station secondary system model standard library management system and method | |
CN110854687B (en) | Non-stop drive transformation method for 3/2 wiring reconstruction and expansion of intelligent substation | |
CN110535092B (en) | CCD file change influence analysis method based on CRC check | |
CN106844432A (en) | Data processing method and device | |
CN113467852B (en) | Configuration and verification method and system for inter-interval protection configuration file of intelligent substation | |
CN103778230A (en) | Online automatic generation method for black-start scheme | |
CN107707028B (en) | Configuration file management and control method suitable for expansion and commissioning of bus differential protection in smart substations | |
CN110766263A (en) | Automatic acceptance method for secondary equipment of transformer substation and terminal equipment | |
CN101943734A (en) | Method for automatically detecting terminals in batch based on IEC62056 protocol | |
CN107147688A (en) | A system configuration tool and model cloud system two-way verification interaction method and system | |
CN102692558A (en) | Monitoring and analyzing system for electricity data and realization method thereof | |
CN103632307A (en) | Method for checking consistency between SCD and virtual loop table of intelligent substation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |