CN112557986B - Method and device for checking sampling precision of fault recording and computer equipment - Google Patents

Method and device for checking sampling precision of fault recording and computer equipment Download PDF

Info

Publication number
CN112557986B
CN112557986B CN202011419140.4A CN202011419140A CN112557986B CN 112557986 B CN112557986 B CN 112557986B CN 202011419140 A CN202011419140 A CN 202011419140A CN 112557986 B CN112557986 B CN 112557986B
Authority
CN
China
Prior art keywords
fault
channel
instantaneous value
recording
value data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011419140.4A
Other languages
Chinese (zh)
Other versions
CN112557986A (en
Inventor
车克杉
刘可
杨�嘉
赵金朝
保积秀
王宁霞
王少飞
杨文丽
陈卉
丛贵斌
罗敏
闫涵
张真
张婧
王学斌
傅国斌
甘嘉田
丁玉杰
张�杰
宋锐
赵世昌
王轩
马勇飞
杨军
卢国强
肖明
赵东宁
杨凯璇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Electric Power Research Institute of State Grid Qinghai Electric Power Co Ltd
Original Assignee
Electric Power Research Institute of State Grid Qinghai Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Electric Power Research Institute of State Grid Qinghai Electric Power Co Ltd filed Critical Electric Power Research Institute of State Grid Qinghai Electric Power Co Ltd
Priority to CN202011419140.4A priority Critical patent/CN112557986B/en
Publication of CN112557986A publication Critical patent/CN112557986A/en
Application granted granted Critical
Publication of CN112557986B publication Critical patent/CN112557986B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass
    • G01R35/005Calibrating; Standards or reference devices, e.g. voltage or resistance standards, "golden" references

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Emergency Protection Circuit Devices (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

本申请适用于电力系统数据处理领域,提供了一种故障录波采样精度校核的方法、装置及计算机设备。所述方法包括:计算需要对比的录波通道中的各第一模拟量通道的故障特征量,得到故障特征量最大的第一模拟量通道,获取故障特征量最大的第一模拟量通道在故障时间段内的瞬时值数据;在故障录波装置记录的故障录波数据中获取需要对比的第二模拟量通道,获取第二模拟量通道中持续预设时长的瞬时值数据,通过DTW算法,将继电保护装置记录的故障录波数据和故障录波装置记录的故障录波数据以故障时刻为基准对齐,校核故障录波数据采样精度。本发明容易发现继电保护装置的模拟量采样异常,有利于提前发现隐患,计算量较小,能够满足复杂故障情况下的故障录波数据对齐。

Figure 202011419140

The present application is applicable to the field of power system data processing, and provides a method, device and computer equipment for checking the sampling accuracy of fault recording. The method includes: calculating the fault characteristic quantity of each first analog quantity channel in the wave recording channels to be compared, obtaining the first analog quantity channel with the largest fault characteristic quantity, and obtaining the first analog quantity channel with the largest fault characteristic quantity in the fault condition. Instantaneous value data within a time period; obtain the second analog channel to be compared in the fault recording data recorded by the fault recording device, and obtain the instantaneous value data in the second analog channel that lasts for a preset period of time, through the DTW algorithm, Align the fault recording data recorded by the relay protection device with the fault recording data recorded by the fault recording device based on the fault time, and check the sampling accuracy of the fault recording data. The invention is easy to find the abnormal sampling of the analog quantity of the relay protection device, which is beneficial to discover hidden dangers in advance, the calculation amount is small, and the fault recording data alignment under complex fault conditions can be satisfied.

Figure 202011419140

Description

Method and device for checking sampling precision of fault recording and computer equipment
Technical Field
The application belongs to the field of data processing of power systems, and particularly relates to a method and a device for checking sampling precision of fault recording and computer equipment.
Background
Various relay protection devices in a transformer substation bear the responsibility of safe operation of primary equipment, and the relay protection devices monitor relevant electrical quantities (voltage, current and the like) in real time to serve as judgment bases of protection actions, so that the sampling precision of the relay protection devices is very important. At present, the sampling precision of a relay protection device is usually judged by monitoring the device in real time, and the sampling precision of current is difficult to guarantee under the condition of light load. When a power system fails, the current at the association interval is generally increased greatly, and the sampling precision can be checked through fault recording data recorded by the relay protection device and the fault recording device.
The fault recording data recorded by the relay protection device and the fault recording device are stored in a power system transient data interchange (COMTRADE) format. The COMTRADE format is composed of five files of CFG, DAT, INF, HDR and DMF, and records information of instantaneous value data, sampling sequence number, recording start time and the like of a sampled analog quantity channel and a sampled switching quantity channel.
Because the principle and mechanism of starting wave recording are different among different relay protection devices, relay protection devices and fault wave recording devices, the starting time of wave recording of each device for the same fault may differ by several milliseconds, even hundreds of milliseconds, which can result in the same fault amount, and the relative time in different wave recording files relative to the starting time of wave recording also has deviation. Therefore, when comparing the fault recording data, it is necessary to precisely align waveforms of a plurality of fault recording data, and it is now common practice to determine the relative time of the fault time by calculating the abrupt change amount of the channel data. The mode needs to perform Fourier calculation on all data of a plurality of recording channels, the real-time calculation amount is extremely large, the requirement on system hardware is high, and the alignment effect is not ideal under the condition of complex faults.
Disclosure of Invention
The application aims to provide a method and a device for checking sampling precision of fault recording, a computer readable storage medium and computer equipment, and aims to solve the problems that the relative time of a fault moment is determined by calculating the sudden change of channel data, the real-time calculated amount is extremely large, the requirement on system hardware is high, and the alignment effect is not ideal under the condition of complex faults.
In a first aspect, the present application provides a method for checking sampling accuracy of fault recording, where the method includes:
s101, acquiring fault recording data to be compared, and acquiring a recording channel to be compared according to a preset comparison channel group, wherein the fault recording data are recorded by a relay protection device and a fault recording device respectively;
s102, according to fault recording data recorded by a relay protection device, calculating fault characteristic quantities of first analog quantity channels in recording channels needing to be compared to obtain a first analog quantity channel with the largest fault characteristic quantity, and acquiring instantaneous value data of the first analog quantity channel with the largest fault characteristic quantity in a fault time period;
s103, acquiring a second analog quantity channel which needs to be compared with a first analog quantity channel with the maximum fault characteristic quantity from fault wave recording data recorded by a fault wave recording device, and acquiring instantaneous value data of a continuous preset time length in the second analog quantity channel, wherein the preset time length is equal to the time length of the fault time period;
and S104, aligning fault recording data recorded by the relay protection device and fault recording data recorded by the fault recording device by taking the fault moment as a reference through a dynamic time normalization (DTW) algorithm according to the instantaneous value data of the first analog quantity channel with the largest fault characteristic quantity in the fault time period and the instantaneous value data of the continuous preset duration in the second analog quantity channel, and checking the sampling precision of the fault recording data.
In a second aspect, the present application provides a device for checking sampling accuracy of fault recording, the device including:
the acquisition module is used for acquiring fault recording data to be compared and acquiring a recording channel to be compared according to a preset comparison channel group, wherein the fault recording data are recorded by the relay protection device and the fault recording device respectively;
the first instantaneous value data acquisition module is used for calculating fault characteristic quantities of all first analog quantity channels in the wave recording channels needing to be compared according to fault wave recording data recorded by the relay protection device to obtain a first analog quantity channel with the maximum fault characteristic quantity and acquiring instantaneous value data of the first analog quantity channel with the maximum fault characteristic quantity in a fault time period;
a second instantaneous value data acquisition module, configured to acquire, from fault recording data recorded by a fault recording device, a second analog channel that needs to be compared with the first analog channel with the largest fault characteristic quantity, and acquire instantaneous value data of a duration preset in the second analog channel, where the preset duration is equal to a duration of the fault time period;
and the checking module is used for aligning fault recording data recorded by the relay protection device and fault recording data recorded by the fault recording device by taking the fault moment as a reference through a dynamic time normalization (DTW) algorithm according to the instantaneous value data of the first analog quantity channel with the largest fault characteristic quantity in the fault time period and the instantaneous value data of the continuous preset duration in the second analog quantity channel, and checking the sampling precision of the fault recording data.
In a third aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the method for sampling accuracy check of fault recording.
In a fourth aspect, the present application provides a computer device comprising:
one or more processors;
a memory; and
one or more computer programs, the processor and the memory being connected by a bus, wherein the one or more computer programs are stored in the memory and configured to be executed by the one or more processors, the processor implementing the steps of the method for fault-recording sampling accuracy check as described.
According to the method, the fault characteristic quantity of each first analog quantity channel in the wave recording channels needing to be compared is calculated according to fault wave recording data recorded by a relay protection device, so that the first analog quantity channel with the largest fault characteristic quantity is obtained, and instantaneous value data of the first analog quantity channel with the largest fault characteristic quantity in a fault time period is obtained; acquiring a second analog quantity channel which needs to be compared with a first analog quantity channel with the maximum fault characteristic quantity from fault wave recording data recorded by a fault wave recording device, and acquiring instantaneous value data of a continuous preset time length in the second analog quantity channel, wherein the preset time length is equal to the time length of the fault time period; and according to the instantaneous value data of the first analog quantity channel with the largest fault characteristic quantity in the fault time period and the instantaneous value data of the second analog quantity channel with the duration preset, aligning fault recording data recorded by the relay protection device and fault recording data recorded by the fault recording device by taking the fault moment as a reference through a dynamic time normalization (DTW) algorithm, and checking the sampling precision of the fault recording data. Therefore, the relay protection device with abnormal analog quantity sampling is easy to find, and the hidden danger of the relay protection device is beneficial to being found in advance; the calculated amount is small, and fault recording data alignment under the condition of complex faults can be met.
Drawings
Fig. 1 is a flowchart of a method for checking sampling accuracy of fault recording according to an embodiment of the present application.
Fig. 2 is a functional block diagram of a device for checking sampling accuracy of fault recording according to an embodiment of the present application.
Fig. 3 is a block diagram illustrating a specific structure of a computer device according to an embodiment of the present disclosure.
Detailed Description
In order to make the purpose, technical solution and beneficial effects of the present application more clear and more obvious, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
Referring to fig. 1, which is a flowchart of a method for checking sampling accuracy of fault recording provided in an embodiment of the present application, this embodiment mainly takes an example that the method for checking sampling accuracy of fault recording is applied to a computer device, and the method for checking sampling accuracy of fault recording provided in an embodiment of the present application includes the following steps:
s101, acquiring fault recording data needing to be compared, and acquiring a recording channel needing to be compared according to a preset comparison channel group, wherein the fault recording data are recorded by a relay protection device and a fault recording device respectively.
S102, according to fault recording data recorded by the relay protection device, fault characteristic quantities of first analog quantity channels in recording channels needing to be compared are calculated, the first analog quantity channel with the largest fault characteristic quantity is obtained, and instantaneous value data of the first analog quantity channel with the largest fault characteristic quantity in a fault time period are obtained.
In an embodiment of the present application, S102 may specifically be:
according to fault recording data recorded by a relay protection device, calculating fault characteristic quantities of first analog quantity channels in recording channels needing to be compared, obtaining the serial number of the first analog quantity channel with the maximum fault characteristic quantity, and obtaining a first instantaneous value data sequence X (m) of the first analog quantity channel with the maximum fault characteristic quantity in a fault time period T.
S103, acquiring a second analog quantity channel which needs to be compared with a first analog quantity channel with the maximum fault characteristic quantity from fault wave recording data recorded by a fault wave recording device, and acquiring instantaneous value data of a continuous preset time length in the second analog quantity channel, wherein the preset time length is equal to the time length of the fault time period.
In an embodiment of the present application, S103 may specifically be:
according to the serial number of the first analog quantity channel with the largest fault characteristic quantity, a second analog quantity channel which needs to be compared with the first analog quantity channel with the largest fault characteristic quantity is obtained from fault wave recording data recorded by a fault wave recording device, a 1 st sampling point is used as an end point, and a second instantaneous value data sequence Y (n) with a preset duration in the second analog quantity channel is obtained, wherein the preset duration is equal to the duration of the fault time period T.
And S104, aligning fault wave recording data recorded by the relay protection device and fault wave recording data recorded by the fault wave recording device by taking the fault moment as a reference through a Dynamic Time Warping (DTW) algorithm according to the instantaneous value data of the first analog quantity channel with the largest fault characteristic quantity in the fault Time period and the instantaneous value data of the continuous preset duration in the second analog quantity channel, and checking the sampling precision of the fault wave recording data.
In an embodiment of the present application, S104 may specifically include the following steps:
s1041, calculating a similarity between the first instantaneous value data sequence x (m) and the second instantaneous value data sequence y (n) by DWT algorithm, specifically including the following steps:
s10411, starting to match the first instantaneous value data sequence x (m) and the second instantaneous value data sequence y (n) as a current lattice point from the point (0, 0);
s10412, calculating the accumulated distance to the next adjacent grid point, wherein the calculation formula is as follows:
D[(i,j)]=d[X(i),Y(j)]+min{D(i+1,j),D(i+1,j+1),D(i,j+1)}
wherein D [ (i, j) ] is the cumulative distance from the current lattice point to the next adjacent lattice point; d [ X (i), Y (j) ] is the distance of the current point; min { D (i +1, j), D (i +1, j +1), D (i, j +1) } is the minimum cumulative distance of adjacent lattice points that can reach the point;
s10413, taking the adjacent grid point with the minimum accumulated distance as the current grid point, repeatedly executing S10412, and accumulating the accumulated distance;
s10414, when the end point (m, n) is reached, the accumulated cumulative distance is used as the similarity between the first instantaneous value data series x (m) and the second instantaneous value data series y (n).
And S1042, in a second analog quantity channel of the fault wave recording data recorded by the fault wave recording device, moving an endpoint backward by one sampling point to obtain a second instantaneous value data sequence Y (n) lasting for a preset time duration in the second analog quantity channel, then returning to S1041 until the maximum similarity of the first instantaneous value data sequence X (m) and the second instantaneous value data sequence Y (n) is obtained, and obtaining the relative time t1 'of the position of the endpoint when the maximum similarity is obtained, wherein the time t1 in the fault wave recording data recorded by the relay protection device and the time t 1' in the fault wave recording data recorded by the fault wave recording device are considered to be the same time and are used as the fault time.
S1043, aligning fault recording data recorded by the relay protection device and fault recording data recorded by the fault recording device by taking fault time as a reference, calculating a difference value of a power frequency effective value and a harmonic value of a recording channel to be compared in a fault time period, comparing the difference value with a preset threshold value, and when the difference value is greater than the preset threshold value, determining that the analog quantity sampling precision of the relay protection device is abnormal, otherwise, determining that the analog quantity sampling precision of the relay protection device is normal.
Referring to fig. 2, the apparatus for checking the sampling accuracy of the fault record according to an embodiment of the present application may be a computer program or a section of program code running in a computer device, for example, the apparatus for checking the sampling accuracy of the fault record is an application software; the device for checking the sampling precision of the fault recording can be used for executing corresponding steps in the method for checking the sampling precision of the fault recording provided by the embodiment of the application. The device that sampling accuracy check of trouble record wave that this application embodiment provided includes:
the acquisition module 11 is configured to acquire fault recording data to be compared, and acquire a recording channel to be compared according to a pre-configured comparison channel group, where the fault recording data is recorded by the relay protection device and the fault recording device respectively;
the first instantaneous value data acquisition module 12 is configured to calculate a fault characteristic quantity of each first analog quantity channel in the recording channels that need to be compared according to fault recording data recorded by the relay protection device, obtain a first analog quantity channel with a maximum fault characteristic quantity, and acquire instantaneous value data of the first analog quantity channel with the maximum fault characteristic quantity in a fault time period;
a second instantaneous value data obtaining module 13, configured to obtain, from fault recording data recorded by a fault recording device, a second analog channel that needs to be compared with the first analog channel with the largest fault characteristic quantity, and obtain instantaneous value data of a duration preset in the second analog channel, where the preset duration is equal to a duration of the fault time period;
and the checking module 14 is configured to align the fault recording data recorded by the relay protection device and the fault recording data recorded by the fault recording device by using the fault time as a reference through a dynamic time normalization DTW algorithm according to the instantaneous value data of the first analog quantity channel with the largest fault characteristic quantity in the fault time period and the instantaneous value data of the second analog quantity channel with a duration preset, and check the sampling accuracy of the fault recording data.
The device for checking the sampling precision of the fault recording provided by the embodiment of the application and the method for checking the sampling precision of the fault recording provided by the embodiment of the application belong to the same concept, and the specific implementation process is detailed in the full text of the specification and is not repeated herein.
An embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the method for checking the sampling accuracy of fault recording provided in an embodiment of the present application.
Fig. 3 shows a specific block diagram of a computer device provided in an embodiment of the present application, where the computer device 100 includes: one or more processors 101, a memory 102, and one or more computer programs, wherein the processors 101 and the memory 102 are connected by a bus, the one or more computer programs are stored in the memory 102 and configured to be executed by the one or more processors 101, and the processor 101 executes the computer programs to implement the steps of the method for fault record sampling accuracy check as provided by an embodiment of the present application. The computer equipment comprises a server, a terminal and the like. The computer device may be a desktop computer, a mobile terminal or a vehicle-mounted device, and the mobile terminal includes at least one of a mobile phone, a tablet computer, a personal digital assistant or a wearable device.
According to the method, the fault characteristic quantity of each first analog quantity channel in the wave recording channels needing to be compared is calculated according to fault wave recording data recorded by a relay protection device, so that the first analog quantity channel with the largest fault characteristic quantity is obtained, and instantaneous value data of the first analog quantity channel with the largest fault characteristic quantity in a fault time period is obtained; acquiring a second analog quantity channel which needs to be compared with a first analog quantity channel with the maximum fault characteristic quantity from fault wave recording data recorded by a fault wave recording device, and acquiring instantaneous value data of a continuous preset time length in the second analog quantity channel, wherein the preset time length is equal to the time length of the fault time period; and according to the instantaneous value data of the first analog quantity channel with the largest fault characteristic quantity in the fault time period and the instantaneous value data of the second analog quantity channel with the duration preset, aligning fault recording data recorded by the relay protection device and fault recording data recorded by the fault recording device by taking the fault moment as a reference through a dynamic time normalization (DTW) algorithm, and checking the sampling precision of the fault recording data. Therefore, the relay protection device with abnormal analog quantity sampling is easy to find, and the hidden danger of the relay protection device is beneficial to being found in advance; the calculated amount is small, and fault recording data alignment under the condition of complex faults can be met.
It should be understood that the steps in the embodiments of the present application are not necessarily performed in the order indicated by the step numbers. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in various embodiments may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by a computer program, which may be stored in a non-volatile computer readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only show several embodiments of the present invention, and the description thereof is specific and detailed, but not to be construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (6)

1.一种故障录波采样精度校核的方法,其特征在于,所述方法包括:1. a method for fault recording sampling accuracy check, is characterized in that, described method comprises: S101、获取需要对比的故障录波数据,并根据预先配置的对比通道组,获取需要对比的录波通道,所述故障录波数据是分别由继电保护装置和故障录波装置记录的;S101, acquiring the fault recording data that needs to be compared, and according to the preconfigured comparison channel group, acquiring the recording channel that needs to be compared, the fault recording data are respectively recorded by the relay protection device and the fault recording device; S102、根据继电保护装置记录的故障录波数据,计算需要对比的录波通道中的各第一模拟量通道的故障特征量,得到故障特征量最大的第一模拟量通道,获取所述故障特征量最大的第一模拟量通道在故障时间段内的瞬时值数据;S102. According to the fault recording data recorded by the relay protection device, calculate the fault feature of each first analog channel in the wave recording channels to be compared, obtain the first analog channel with the largest fault feature, and obtain the fault Instantaneous value data of the first analog channel with the largest characteristic in the fault time period; S103、在故障录波装置记录的故障录波数据中获取需要与所述故障特征量最大的第一模拟量通道对比的第二模拟量通道,获取所述第二模拟量通道中持续预设时长的瞬时值数据,所述预设时长等于所述故障时间段的时长;S103. Obtain a second analog channel that needs to be compared with the first analog channel with the largest fault feature from the fault recording data recorded by the fault recording device, and obtain a preset duration in the second analog channel. The instantaneous value data of , the preset duration is equal to the duration of the fault time period; S104、根据所述故障特征量最大的第一模拟量通道在故障时间段内的瞬时值数据和所述第二模拟量通道中持续预设时长的瞬时值数据,通过动态时间归整DTW算法,将继电保护装置记录的故障录波数据和故障录波装置记录的故障录波数据以故障时刻为基准对齐,校核故障录波数据采样精度;S104. According to the instantaneous value data of the first analog channel with the largest fault characteristic quantity within the fault time period and the instantaneous value data of the second analog channel that lasts for a preset duration, through the dynamic time normalization DTW algorithm, Align the fault recorder data recorded by the relay protection device and the fault recorder data recorded by the fault recorder based on the fault time, and check the sampling accuracy of the fault recorder data; S102具体为:S102 is specifically: 根据继电保护装置记录的故障录波数据,计算需要对比的录波通道中的各第一模拟量通道的故障特征量,得到故障特征量最大的第一模拟量通道的编号,获取所述故障特征量最大的第一模拟量通道在故障时间段T内的第一瞬时值数据序列X(m);According to the fault recording data recorded by the relay protection device, calculate the fault characteristic of each first analog channel in the wave recording channels to be compared, obtain the number of the first analog channel with the largest fault characteristic, and obtain the fault The first instantaneous value data sequence X(m) of the first analog channel with the largest characteristic quantity in the fault time period T; S103具体为:S103 is specifically: 根据所述故障特征量最大的第一模拟量通道的编号,在故障录波装置记录的故障录波数据中获取需要与所述故障特征量最大的第一模拟量通道对比的第二模拟量通道,以第1个采样点作为端点,获取所述第二模拟量通道中持续预设时长的第二瞬时值数据序列Y(n),所述预设时长等于所述故障时间段T的时长。According to the number of the first analog channel with the largest fault characteristic quantity, obtain the second analog quantity channel that needs to be compared with the first analog quantity channel with the largest fault characteristic quantity in the fault recording data recorded by the fault recording device , taking the first sampling point as an endpoint to obtain a second instantaneous value data sequence Y(n) in the second analog channel that lasts for a preset duration, where the preset duration is equal to the duration of the fault time period T. 2.如权利要求1所述的方法,其特征在于,S104具体可以包括以下步骤:2. The method of claim 1, wherein S104 may specifically comprise the following steps: S1041、通过DWT算法,计算得到第一瞬时值数据序列X(m)和第二瞬时值数据序列Y(n)的相似度;S1041. Calculate the similarity between the first instantaneous value data sequence X(m) and the second instantaneous value data sequence Y(n) through the DWT algorithm; S1042、在故障录波装置记录的故障录波数据的第二模拟量通道中,端点后移一个采样点,获取所述第二模拟量通道中持续预设时长的第二瞬时值数据序列Y(n),然后返回S1041,直至得到第一瞬时值数据序列X(m)和第二瞬时值数据序列Y(n)的最大相似度,并获取最大相似度时端点所在位置相对时间t1’,认为继电保护装置记录的故障录波数据中的时间t1与故障录波装置记录的故障录波数据中的时间t1’为同一时刻,并作为故障时刻;S1042, in the second analog channel of the fault recording data recorded by the fault recording device, move the end point back by one sampling point, and obtain the second instantaneous value data sequence Y ( n), then return to S1041, until the maximum similarity between the first instantaneous value data sequence X(m) and the second instantaneous value data sequence Y(n) is obtained, and the relative time t1' of the position of the endpoint when the maximum similarity is obtained, It is considered that the time t1 in the fault recording data recorded by the relay protection device and the time t1' in the fault recording data recorded by the fault recording device are the same moment, and are regarded as the fault moment; S1043、将继电保护装置记录的故障录波数据和故障录波装置记录的故障录波数据以故障时刻为基准对齐,计算需要对比的录波通道在故障时间段内的工频有效值及谐波值的差值,将差值与预设阈值比较,当差值大于预设阈值时,认为继电保护装置的模拟量采样精度存在异常,否则认为正常。S1043. Align the fault recording data recorded by the relay protection device and the fault recording data recorded by the fault recording device based on the fault time, and calculate the power frequency effective value and harmonic value of the recording channel to be compared during the fault time period. The difference between the wave values is compared with the preset threshold. When the difference is greater than the preset threshold, it is considered that the analog sampling accuracy of the relay protection device is abnormal, otherwise it is considered normal. 3.如权利要求2所述的方法,其特征在于,S1041具体包括:3. The method of claim 2, wherein S1041 specifically comprises: S10411、从(0,0)点作为起点,当作当前格点,开始匹配第一瞬时值数据序列X(m)和第二瞬时值数据序列Y(n);S10411, starting from the point (0,0) as the current grid point, and starting to match the first instantaneous value data sequence X(m) and the second instantaneous value data sequence Y(n); S10412、计算到达下一邻近格点的累积距离,计算公式为:S10412. Calculate the cumulative distance to the next adjacent grid point, and the calculation formula is: D[(i,j)]=d[X(i),Y(j)]+min{D(i+1,j),D(i+1,j+1),D(i,j+1)}D[(i,j)]=d[X(i),Y(j)]+min{D(i+1,j),D(i+1,j+1),D(i,j+ 1)} 其中,D[(i,j)]为当前格点到达下一邻近格点的累积距离;d[X(i),Y(j)]为当前点的距离;min{D(i+1,j),D(i+1,j+1),D(i,j+1)}为可以到达该点的邻近格点的最小累积距离;Among them, D[(i,j)] is the cumulative distance from the current grid point to the next adjacent grid point; d[X(i), Y(j)] is the distance from the current point; min{D(i+1, j), D(i+1, j+1), D(i, j+1)} are the minimum cumulative distances of adjacent grid points that can reach the point; S10413、以累计距离最小的邻近格点作为当前格点,重复执行S10412,并对累计距离进行累加;S10413, taking the adjacent grid point with the smallest cumulative distance as the current grid point, repeating S10412, and accumulating the cumulative distance; S10414、当到达终点(m,n)时,累加的累计距离作为第一瞬时值数据序列X(m)和第二瞬时值数据序列Y(n)的相似度。S10414. When reaching the end point (m, n), the accumulated cumulative distance is used as the similarity between the first instantaneous value data sequence X(m) and the second instantaneous value data sequence Y(n). 4.一种故障录波采样精度校核的装置,其特征在于,所述装置包括:4. A device for checking the sampling accuracy of fault recording, wherein the device comprises: 获取模块,用于获取需要对比的故障录波数据,并根据预先配置的对比通道组,获取需要对比的录波通道,所述故障录波数据是分别由继电保护装置和故障录波装置记录的;The acquisition module is used to acquire the fault recorder data to be compared, and obtain the recorder channel to be compared according to the pre-configured comparison channel group. The fault recorder data is recorded by the relay protection device and the fault recorder respectively. of; 第一瞬时值数据获取模块,用于根据继电保护装置记录的故障录波数据,计算需要对比的录波通道中的各第一模拟量通道的故障特征量,得到故障特征量最大的第一模拟量通道,获取所述故障特征量最大的第一模拟量通道在故障时间段内的瞬时值数据;具体为:根据继电保护装置记录的故障录波数据,计算需要对比的录波通道中的各第一模拟量通道的故障特征量,得到故障特征量最大的第一模拟量通道的编号,获取所述故障特征量最大的第一模拟量通道在故障时间段T内的第一瞬时值数据序列X(m);The first instantaneous value data acquisition module is used to calculate the fault characteristic quantity of each first analog channel in the wave recording channel that needs to be compared according to the fault recording data recorded by the relay protection device, and obtain the first one with the largest fault characteristic quantity. an analog channel, to obtain the instantaneous value data of the first analog channel with the largest fault characteristic quantity within the fault time period; specifically: according to the fault recording data recorded by the relay protection device, calculate the recording channel that needs to be compared The number of the first analog channel with the largest fault feature is obtained, and the first instant of the first analog channel with the largest fault feature in the fault time period T is obtained. Time value data series X(m); 第二瞬时值数据获取模块,用于在故障录波装置记录的故障录波数据中获取需要与所述故障特征量最大的第一模拟量通道对比的第二模拟量通道,获取所述第二模拟量通道中持续预设时长的瞬时值数据,所述预设时长等于所述故障时间段的时长;具体为:根据所述故障特征量最大的第一模拟量通道的编号,在故障录波装置记录的故障录波数据中获取需要与所述故障特征量最大的第一模拟量通道对比的第二模拟量通道,以第1个采样点作为端点,获取所述第二模拟量通道中持续预设时长的第二瞬时值数据序列Y(n),所述预设时长等于所述故障时间段T的时长;The second instantaneous value data acquisition module is used to acquire a second analog channel that needs to be compared with the first analog channel with the largest fault feature quantity in the fault recording data recorded by the fault recording device, and obtain the second analog channel. The instantaneous value data in the analog channel for a preset duration, the preset duration is equal to the duration of the fault time period; specifically: according to the number of the first analog channel with the largest fault feature quantity, in the fault recorder From the fault recording data recorded by the device, obtain the second analog channel that needs to be compared with the first analog channel with the largest fault feature quantity, and take the first sampling point as the endpoint to obtain the second analog channel. a second instantaneous value data sequence Y(n) of a preset duration, where the preset duration is equal to the duration of the fault time period T; 校核模块,用于根据所述故障特征量最大的第一模拟量通道在故障时间段内的瞬时值数据和所述第二模拟量通道中持续预设时长的瞬时值数据,通过动态时间归整DTW算法,将继电保护装置记录的故障录波数据和故障录波装置记录的故障录波数据以故障时刻为基准对齐,校核故障录波数据采样精度。The calibration module is used for calculating the instantaneous value data of the first analog channel with the largest fault characteristic in the fault time period and the instantaneous value data of the second analog channel for a preset duration, through dynamic time normalization. The whole DTW algorithm is used to align the fault recording data recorded by the relay protection device and the fault recording data recorded by the fault recording device based on the fault time, and check the sampling accuracy of the fault recording data. 5.一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至3任一项所述的故障录波采样精度校核的方法的步骤。5. A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, characterized in that, when the computer program is executed by the processor, the failure record as claimed in any one of claims 1 to 3 is realized. The steps of the method for wave sampling accuracy check. 6.一种计算机设备,包括:6. A computer device comprising: 一个或多个处理器;one or more processors; 存储器;以及memory; and 一个或多个计算机程序,所述处理器和所述存储器通过总线连接,其中所述一个或多个计算机程序被存储在所述存储器中,并且被配置成由所述一个或多个处理器执行,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至3任一项所述的故障录波采样精度校核的方法的步骤。one or more computer programs, the processor and the memory connected by a bus, wherein the one or more computer programs are stored in the memory and configured to be executed by the one or more processors , characterized in that, when the processor executes the computer program, the steps of the method for checking the sampling accuracy of fault recording according to any one of claims 1 to 3 are implemented.
CN202011419140.4A 2020-12-07 2020-12-07 Method and device for checking sampling precision of fault recording and computer equipment Active CN112557986B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011419140.4A CN112557986B (en) 2020-12-07 2020-12-07 Method and device for checking sampling precision of fault recording and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011419140.4A CN112557986B (en) 2020-12-07 2020-12-07 Method and device for checking sampling precision of fault recording and computer equipment

Publications (2)

Publication Number Publication Date
CN112557986A CN112557986A (en) 2021-03-26
CN112557986B true CN112557986B (en) 2022-09-13

Family

ID=75059583

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011419140.4A Active CN112557986B (en) 2020-12-07 2020-12-07 Method and device for checking sampling precision of fault recording and computer equipment

Country Status (1)

Country Link
CN (1) CN112557986B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113283068B (en) * 2021-05-18 2023-05-16 天津凯发电气股份有限公司 Method for improving alternating current sampling precision and reliability of relay protection device
CN118376868B (en) * 2024-06-25 2025-01-24 南京国电南自电网自动化有限公司 Distribution terminal fault recording test method based on weighted optimization DTW algorithm
CN118641889B (en) * 2024-08-13 2024-12-17 国网江苏省电力有限公司苏州供电分公司 Homologous waveform alignment method and system for discontinuous recording of power grid faults
CN119917986B (en) * 2025-04-02 2025-06-10 国网浙江省电力有限公司 Abnormal monitoring and evaluating method and system for optical CT analog quantity of converter station
CN120995091B (en) * 2025-10-23 2026-01-30 呼和浩特市奥祥电力自动化有限公司 Automatic alignment method for transformer substation wave recording record file

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7899630B2 (en) * 2005-01-27 2011-03-01 Electro Industries/Gauge Tech Metering device with control functionality and method thereof
CN104280632B (en) * 2014-09-28 2017-01-11 国家电网公司 Automatic detecting and early warning method for relay protection device and fault recorder
CN106950445B (en) * 2017-03-15 2019-12-20 北京四方继保自动化股份有限公司 Inter-station time difference analysis method based on fault recording data
CN107991550A (en) * 2017-11-13 2018-05-04 北京四方继保自动化股份有限公司 A kind of protective device check method based on analysis with fault wave recorder
CN108181547B (en) * 2017-12-20 2020-05-12 珠海许继电气有限公司 Dynamic time bending distance fault section positioning method based on time sequence compression
CN108680824A (en) * 2018-05-16 2018-10-19 南方电网科学研究院有限责任公司 Distributed Wave Recording Synchronization Method, Device, Equipment and Medium
CN109711573B (en) * 2018-12-28 2022-11-29 中国南方电网有限责任公司 Steady-state homologous data comparison method for wave recording acquisition unit and protection device
CN109932596A (en) * 2019-03-21 2019-06-25 中国南方电网有限责任公司 A kind of automatic Check method of protective device
CN110579682B (en) * 2019-08-22 2021-10-15 国网安徽省电力有限公司 A method and device for transient homologous comparison of fault recording data
CN111366887A (en) * 2020-04-27 2020-07-03 广东电网有限责任公司电力调度控制中心 Mutual inductor transient sampling precision calibration method, device, terminal and medium

Also Published As

Publication number Publication date
CN112557986A (en) 2021-03-26

Similar Documents

Publication Publication Date Title
CN112557986B (en) Method and device for checking sampling precision of fault recording and computer equipment
CN109032829B (en) Data anomaly detection method and device, computer equipment and storage medium
US10263507B2 (en) Method for correcting effect of saturation in current transformer and an intelligent electronic device therefor
CN109714201B (en) Network system reliability assessment method, device, computer equipment and storage medium
CN111127247B (en) Electric quantity data acquisition method, device, computer equipment and storage medium
WO2017220107A1 (en) Method and network node for detecting degradation of metric of telecommunications network
CN110544031B (en) Electric energy meter reliability prediction method, device, computer equipment and storage medium
CN117543610A (en) Distributed low-voltage fine compensation system and compensation method thereof
CN111366887A (en) Mutual inductor transient sampling precision calibration method, device, terminal and medium
CN109212451B (en) Method and device for monitoring voltage loss fault based on three-phase four-wire meter equipment
CN119805087B (en) Methods, devices, computer equipment and storage media for power distribution network fault detection
CN112215067B (en) Protection action analysis method, device, electronic equipment and storage medium
CN112737120B (en) Regional power grid control report generation method and device and computer equipment
CN120597524A (en) Transformer remaining life prediction method, device, computer equipment and storage medium
CN109191330B (en) Calculation method, device, computer equipment and storage medium for line loss power
CN109856483B (en) Reliability evaluation method and device for key device of MMC power module
CN109558956B (en) Offline estimation method and device for metering equipment, computer equipment and storage medium
CN110134680B (en) Space monitoring method and device, computer equipment and storage medium
CN109375144B (en) Loss-current fault monitoring method and device based on three-phase four-wire meter equipment
CN113127804B (en) Method and device for determining number of vehicle faults, computer equipment and storage medium
CN119070308B (en) Power equipment operation monitoring method, device, computer equipment and storage medium
CN119149904A (en) Multi-source data alignment method, device, medium and equipment for power system
CN120371644B (en) A server chassis management method and system based on data monitoring
CN118518973B (en) Intelligent charging pile fault monitoring method and system based on electrical parameter analysis
CN120995091B (en) Automatic alignment method for transformer substation wave recording record file

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