CN115754509A - Homologous waveform comparison and alignment method - Google Patents
Homologous waveform comparison and alignment method Download PDFInfo
- Publication number
- CN115754509A CN115754509A CN202211222803.2A CN202211222803A CN115754509A CN 115754509 A CN115754509 A CN 115754509A CN 202211222803 A CN202211222803 A CN 202211222803A CN 115754509 A CN115754509 A CN 115754509A
- Authority
- CN
- China
- Prior art keywords
- waveform
- recording
- maximum value
- fault
- file
- 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.)
- Pending
Links
Images
Landscapes
- Emergency Protection Circuit Devices (AREA)
Abstract
The invention discloses a homologous waveform comparison and alignment method, which comprises the following steps: acquiring comtrade file recording waveforms of different sampling frequencies of a protection device and a fault recording device; finding out the maximum value or the minimum value of the waveform of the combtrade file of the protection device and the waveform of the combtrade file of the fault recording device from the starting zero moment to the previous complete cycle; unifying the sampling frequency of the wave recording waveforms of the protection device and the comtrade file of the fault wave recording device by adopting an insertion point method; and solving the offset of the two waveforms after the sampling frequency is unified according to the obtained maximum value or the minimum value, and aligning the two waveforms on the same coordinate system. The method can solve the problem of waveform alignment of the protection device with different sampling frequencies of the homologous device and the fault recording device, is simple and clear, and provides basic data for judging respective working conditions of the power device, finding abnormality in time and paying attention to or overhauling the power device.
Description
Technical Field
The invention relates to the technical field of power automation, in particular to a homologous waveform comparison and alignment method.
Background
The sampling precision and reliability of the electric power system signal directly influence the research and judgment of the hidden trouble of the operation and maintenance of the transformer substation and the accident analysis. The fault recorder is used for a power system, and can automatically and accurately record the change conditions of various electrical quantities in the processes before and after a fault when the system has the fault. The comparison and analysis of the wave recording files of the protection device and the intelligent wave recorder are effective means for judging and analyzing the properties of complex faults, and because the starting time of the protection device and the starting time of the fault wave recorder are not completely consistent and the sampling rates of the protection device and the fault wave recorder are different (namely asynchronous sampling), the mapping relation between sampling points cannot be established on the same coordinate system by the waveforms of the two wave recording files.
Disclosure of Invention
In view of the above, the present invention provides a method for comparing and aligning homologous waveforms, comprising the following steps:
s1, obtaining comtrade file wave recording waveforms of different sampling frequencies of a protection device and a fault wave recording device;
s2, finding the maximum value or the minimum value of the waveform of the complete cycle before the starting zero moment of the waveform of the combtrade file of the protection device;
s3, finding the maximum value or the minimum value of the waveform of the complete cycle from the starting zero moment of the waveform of the combtrade file of the fault recording device to the previous one;
s4, unifying sampling frequencies of the wave recording waveforms of the comtrade file of the protection device and the fault wave recording device by adopting an insertion point method;
and S5, solving the offset of the two waveforms after the sampling frequency is unified according to the maximum value or the minimum value obtained in the S2 and the S3, and aligning the two waveforms on the same coordinate system.
Further, the S2 specifically is:
s21, traversing values of all sampling points on a complete period waveform before the zero starting moment on a wave recording waveform steady-state segment of the combtrade file of the protection device, and solving all extreme points;
s22, removing two special points, namely a starting point and an ending point of a complete cycle wave intercepted on a steady-state segment from the extreme point set;
and S23, finding out the maximum value or the minimum value from the rest extreme points, and taking the maximum value or the minimum value as the maximum value or the minimum value on the waveform of the previous complete cycle from the zero starting moment of the recording waveform of the comtrade file of the protection device.
Further, the S3 specifically is:
s31, traversing values of all sampling points on a complete cycle waveform before the zero moment is started on a stable-state segment of a comtrade file recording waveform of the fault recording device, and solving all extreme points;
s32, removing two special points, namely a starting point and an ending point of a complete cycle wave intercepted on a steady-state segment from the extreme point set;
and S33, finding out the maximum value or the minimum value from the rest extreme points, and taking the maximum value or the minimum value as the maximum value or the minimum value on the waveform of the previous complete cycle from the zero starting moment of the recording waveform of the comtrade file of the fault recording device.
Further, S4 is specifically:
s41, calculating the minimum common multiple M of P and R, wherein the number of sampling points of one recording period of the protection device is P, the number of sampling points of one recording period of the fault recording device is R;
s42, inserting M/P-1 0 value space occupation between every two sampling points of a comtrade file recording waveform of the protection device, and inserting M/R-1 0 value space occupation between every two sampling points of a comtrade file recording waveform of the fault recording device;
further, the S5 specifically is:
s51, if the maximum value or the minimum value obtained in S2 and S3 is unique, subtracting the mapping of the two maximum values or the minimum values obtained in S2 and S3 on the same coordinate system X axis, namely the serial numbers of the points;
and S52, if the maximum value or the minimum value obtained in S2 and S3 is not unique, respectively taking the middle point of the continuously sampled minimum values of the recording waveforms of the two as the corrected maximum value, taking the offset as the mapping of the corrected maximum value or the corrected minimum value on the X axis of the same coordinate system, namely the serial number of the point, and subtracting.
The technical scheme provided by the invention has the beneficial effects that:
the invention provides a method for comparing and aligning homologous waveforms, which solves the problem of aligning the waveforms of homologous comptrade recording files of a protection device and a fault recording device with different sampling frequencies.
Drawings
FIG. 1 is a flowchart of a method for comparing and aligning homologous waveforms according to the present invention;
FIG. 2 is a waveform of a protection device according to an embodiment of the present invention;
FIG. 3 is a waveform of a fault recorder according to an embodiment of the present invention;
FIG. 4 is a graph showing the same coordinate of the recording waveform of the protection device and the recording waveform of the fault recorder before the time point alignment when the embodiment of the invention is started;
fig. 5 is a waveform display diagram after aligning the protection device waveform and the fault recording waveform by using an interpolation method according to the embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be further described with reference to the accompanying drawings.
The embodiment of the invention relates to a method for comparing and aligning homologous waveforms, which is established when a starting zero time point of waveforms of two sets of devices can be found, and the protection action time and the fault recording action time are consistent with the starting zero time and no delay action occurs.
The method comprises the following steps:
s1, obtaining the comtrade file wave recording waveforms of different sampling frequencies of the protection device and the fault wave recording device.
Referring to fig. 2 and fig. 3, fig. 2 is a waveform of a protection device according to an embodiment of the present invention, and fig. 3 is a waveform of a fault recorder according to an embodiment of the present invention. In a unit time (within a waveform period), the sampling points of the protection device are less than those of the fault wave recording device, the protection device samples about 40 points in a complete wave recording period in fig. 2, the fault wave recording device samples about 200 points in a complete wave recording period in fig. 3, and the sampling rate of the fault wave recording device is about 5 times that of the protection device.
S2, finding the maximum value or the minimum value of the waveform of the complete cycle from the zero starting time of the waveform of the combtrade file recording of the protection device to the previous complete cycle.
S21, traversing values of all sampling points on a complete period waveform before the zero starting moment on a wave recording waveform steady-state segment of the combtrade file of the protection device, and solving all extreme points;
s22, removing two special points, namely a starting point and an ending point of a complete cycle wave intercepted on a steady-state section, from the set of extreme points;
and S23, finding out the maximum value or the minimum value from the rest extreme points, and taking the maximum value or the minimum value as the maximum value or the minimum value on the waveform of the previous complete cycle from the zero starting moment of the recording waveform of the comtrade file of the protection device.
S3, finding the maximum value or the minimum value of the waveform of the complete cycle from the starting zero moment of the waveform of the combtrade file of the fault recording device to the previous one; because for the protection comtrade file and the fault recording comtrade file, when a fault occurs, a complete period waveform before the zero moment is started is used as an alignment reference system, and the maximum value (or the minimum value) is unique in a complete period without counting the first and the last special points, the two obtained maximum values have a corresponding relation. Therefore, the two obtained maxima and minima are aligned on the same coordinate system, and the whole recording waveform of each of the two recording files is considered to be aligned everywhere on the coordinate system. Thus, the mapping relation between sampling points on the waveform of the recording file with different numbers of sampling points obtained under the condition of different sampling rates is established.
S31, traversing values of all sampling points on a complete cycle waveform before the zero moment is started on a stable-state segment of a comtrade file recording waveform of the fault recording device, and solving all extreme points;
s32, removing two special points, namely a starting point and an ending point of a complete cycle wave intercepted on a steady-state segment from the extreme point set;
and S33, finding out the maximum value or the minimum value from the remaining extreme points, and taking the maximum value or the minimum value as the maximum value or the minimum value on the waveform of the previous complete cycle from the starting zero moment of the recording waveform of the comtrade file of the fault recording device.
S4, unifying sampling frequencies of the wave recording waveforms of the comtrade file of the protection device and the fault wave recording device by adopting an insertion point method;
s41, calculating the minimum common multiple M of P and R, wherein the number of sampling points in one wave recording period of the protection device is P, the number of sampling points in one wave recording period of the fault wave recording device is R.
In this embodiment, the number of sampling points in one recording period of the protection device is about 40, the number of sampling points in one recording period of the fault recording device is about 200, and the minimum common multiple of the sampling points and the sampling points is 200.
S42, inserting M/P-1 0-value point occupation between every two sampling points of the combtrade file wave recording waveform of the protection device, and inserting M/R-1 0-value point occupation between every two sampling points of the combtrade file wave recording waveform of the fault wave recording device.
In this embodiment, 4 0-value point placeholders are inserted between every two sampling points of the combtrade file recording waveform of the protection device, and 0-value points do not need to be inserted between every two sampling points of the combtrade file recording waveform of the fault recording device.
And S5, solving the offset of the two waveforms after the sampling frequency is unified according to the maximum value or the minimum value obtained in the S2 and the S3, and aligning the two waveforms on the same coordinate system.
S51, if the maximum value or the minimum value obtained in S2 and S3 is unique, subtracting the mapping of the two maximum values or the minimum values obtained in S2 and S3 on the same coordinate system X axis, namely the serial number of the point;
the waveform alignment method takes the protection device recording waveform as a reference, and aligns the fault recording waveform with the protection waveform. Suppose that the maximum value serial number on the steady-state segment of the protection wave-recording waveform is A, the maximum value serial number on the steady-state segment of the fault wave-recording waveform is B, and the offset is | A-B |.
And S52, if the maximum value or the minimum value obtained in S2 and S3 is not unique, actually, because the situations of sampling precision or topping and the like possibly occur, the values of continuous sampling points possibly existing on a stable section of an actual protection recording waveform or a stable section of a fault recording waveform are all the most, in such a situation, the middle point of the continuous sampling most points of the two recording waveforms is taken as a corrected most value point, the offset is the mapping of the corrected maximum value or the corrected minimum value on the same coordinate system X axis, namely the serial numbers of the points, and subtraction is carried out.
Assuming that F points on the wave recording waveform of the protection device are all the most valued, G points on the wave recording waveform of the fault wave recording device are all the most valued, the serial number of the most value on the stable section of the protection wave recording waveform is A + F/2, the serial number of the most value on the stable section of the fault wave recording waveform is B + G/2, and the calculation result of the corrected offset is | A + F/2- (B + G/2) |.
Referring to fig. 4 and 5, fig. 4 is a graph showing a same coordinate of a wave recording waveform of the protection device and a wave recording waveform of the fault recorder before the time point alignment when the embodiment of the present invention is started, and fig. 5 is a waveform showing graph after the protection device and the fault wave recording waveforms are aligned by using the insertion method in the embodiment of the present invention.
Sampling frequencies of the protection device and the fault recording device comtrade file recording waveforms are unified through an insertion point method, the waveforms are aligned on the sampling point sequence numbers, and a mapping relation between the sampling points is established on the same coordinate system.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (5)
1. A method for comparing and aligning homologous waveforms is characterized by comprising the following steps:
s1, obtaining comtrade file wave recording waveforms of different sampling frequencies of a protection device and a fault wave recording device;
s2, finding the maximum value or the minimum value of the waveform of the complete cycle before the starting zero moment of the waveform of the combtrade file of the protection device;
s3, finding the maximum value or the minimum value of the waveform of the complete cycle from the starting zero moment of the waveform of the combtrade file of the fault recording device to the previous one;
s4, unifying sampling frequencies of the wave recording waveforms of the comtrade file of the protection device and the fault wave recording device by adopting an insertion point method;
and S5, solving the offset of the two waveforms after the sampling frequency is unified according to the maximum value or the minimum value obtained in the S2 and the S3, and aligning the two waveforms on the same coordinate system.
2. The method according to claim 1, wherein S2 specifically is:
s21, traversing values of all sampling points on a complete period waveform before the zero starting moment on a wave recording waveform steady-state segment of the combtrade file of the protection device, and solving all extreme points;
s22, removing two special points, namely a starting point and an ending point of a complete cycle wave intercepted on a steady-state section, from the set of extreme points;
and S23, finding out the maximum value or the minimum value from the rest extreme points, and taking the maximum value or the minimum value as the maximum value or the minimum value on the waveform of the previous complete cycle from the zero starting moment of the recording waveform of the comtrade file of the protection device.
3. The method according to claim 1, wherein S3 specifically is:
s31, traversing values of all sampling points on a complete period waveform from the zero starting moment to the front on a steady-state section of a wave recording waveform of a comtrade file of the fault wave recording device, and solving all extreme points;
s32, removing two special points, namely a starting point and an ending point of a complete cycle wave intercepted on a steady-state section, from the set of extreme points;
and S33, finding out the maximum value or the minimum value from the rest extreme points, and taking the maximum value or the minimum value as the maximum value or the minimum value on the waveform of the previous complete cycle from the zero starting moment of the recording waveform of the comtrade file of the fault recording device.
4. The method according to claim 1, wherein S4 specifically is:
s41, calculating the minimum common multiple M of P and R, wherein the number of sampling points of one recording period of the protection device is P, the number of sampling points of one recording period of the fault recording device is R;
and S42, supplementing M/P-1 0 value occupation between every two sampling points of the comtrade file recording wave of the protection device, and supplementing M/R-1 0 value occupation between every two sampling points of the comtrade file recording wave of the fault recording device.
5. The method of claim 1, wherein the S5 is specifically:
s51, if the maximum value or the minimum value obtained in S2 and S3 is unique, subtracting the mapping of the two maximum values or the minimum values obtained in S2 and S3 on the same coordinate system X axis, namely the serial number of the point;
and S52, if the maximum value or the minimum value obtained in S2 and S3 is not unique, respectively taking the middle point of the continuously sampled minimum values of the recording waveforms of the two as the corrected maximum value, taking the offset as the mapping of the corrected maximum value or the corrected minimum value on the X axis of the same coordinate system, namely the serial number of the point, and subtracting.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211222803.2A CN115754509A (en) | 2022-10-08 | 2022-10-08 | Homologous waveform comparison and alignment method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211222803.2A CN115754509A (en) | 2022-10-08 | 2022-10-08 | Homologous waveform comparison and alignment method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115754509A true CN115754509A (en) | 2023-03-07 |
Family
ID=85350854
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211222803.2A Pending CN115754509A (en) | 2022-10-08 | 2022-10-08 | Homologous waveform comparison and alignment method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115754509A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116990622A (en) * | 2023-09-26 | 2023-11-03 | 国网辽宁省电力有限公司电力科学研究院 | Fault wave recording method, device, equipment and medium of transformer substation direct current system |
-
2022
- 2022-10-08 CN CN202211222803.2A patent/CN115754509A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116990622A (en) * | 2023-09-26 | 2023-11-03 | 国网辽宁省电力有限公司电力科学研究院 | Fault wave recording method, device, equipment and medium of transformer substation direct current system |
CN116990622B (en) * | 2023-09-26 | 2023-12-15 | 国网辽宁省电力有限公司电力科学研究院 | Fault wave recording method, device, equipment and medium of transformer substation direct current system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111624544B (en) | Method and related device for identifying household transformer relation of transformer area | |
EP3043186A1 (en) | Method and system for identifying full parameters of element by fault recorder, and fault locating method | |
CN110736899B (en) | Small current grounding fault positioning method and system, monitoring device, equipment and medium | |
CN104076321B (en) | On-line monitoring and evaluating system and method for digital electric energy meter | |
EP3723218A1 (en) | Method and device for handling direct current arc | |
CN115754509A (en) | Homologous waveform comparison and alignment method | |
CN101539596A (en) | Method for monitoring electric network frequency | |
CN111458598B (en) | Method for aligning multiple homologous recording waveforms of asynchronous sampling | |
CN106501695B (en) | A kind of high-tension cable local discharge signal acquisition processing system and method | |
CN109085811B (en) | Equipment point inspection method and device | |
CN107526007A (en) | The recognition methods of fault type and device | |
CN110146756B (en) | Event inversion driven relay protection test analysis system and method | |
CN113238890A (en) | Current sampling loop abnormity diagnosis method and device based on dynamic record data | |
CN101192752A (en) | High-voltage arc grounding identification method based on spectrum analysis | |
CN106053936B (en) | A kind of method and system obtaining electrical signal instantaneous frequency | |
CN112541011A (en) | Power grid terminal fault processing method and device based on RPA and AI | |
CN107525955A (en) | Ammeter data processing method and device | |
CN115684830A (en) | Fault location method and system based on COMTRADE | |
CN106597095A (en) | Double-CPU uniformly-spaced sampling frequency-tracking implementation method | |
CN112444704A (en) | Power distribution network traveling wave fault positioning method and device | |
CN112684282B (en) | Power distribution network single-phase earth fault identification method and device and terminal equipment | |
CN111580035B (en) | Statistical identification method for magnetic saturation of voltage transformer | |
CN111398883B (en) | Electric energy meter truncation error online evaluation method, system and medium | |
CN110927511A (en) | Power grid fault diagnosis system and method using fault waveform | |
CN113447745A (en) | Method for recording and processing station domain virtual fault |
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 |