Fault recording triggering method, device, electronic equipment and storage medium
By quantizing the energy distortion of the recording signal and dynamically adjusting the trigger conditions, a standard sine wave signal is constructed, and the waveform amplitude deviation area is calculated, which solves the problem of false triggering and calculation complexity of the existing fault recording triggering methods, and realizes efficient capture of fault recording in low-power devices.
Patent Information
- Application Number
- CN202510703786.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-29
- Publication Date
- 2025-08-19
- Estimated Expiration
- 2045-05-29
AI Technical Summary
The existing fault recording triggering method is easily triggered by instantaneous noise, has weak anti-interference ability, and is highly complex in calculation, making it difficult to apply in low-power devices, and the parameter selection is sensitive, resulting in feature extraction failure.
By quantifying the energy distortion of the wave recording signal, dynamically adjusting the wave recording trigger conditions using historical data, building a standard sine wave signal and calculating the waveform amplitude deviation area, and establishing a dynamic threshold trigger conditions.
Effectively avoid spectrum leakage and parameter sensitive defects, reduce the risk of false triggering, and achieve efficient capture of short-term transient faults. It is suitable for real-time processing of low-power terminals.
Smart Images

Figure CN120233174B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to fault recording control technology, and in particular relates to a fault recording triggering method, device, electronic equipment and storage medium. Background Art
[0002] Fault recording uses a recording device to automatically record the entire process of voltage, current, switching value, and other waveform signals when a disturbance occurs in the power system (such as a short circuit, overload, trip, or frequency change), and save this data for subsequent analysis. In actual power plant sites, fault recording devices do not record and upload all recorded information, as this would consume a large amount of resources. Recording is triggered only when the input waveform characteristics within the data window meet specific conditions. Only then will the waveform of several cycles before and after the triggering moment be recorded and uploaded for further work such as fault identification.
[0003] Common fault waveform triggering methods can be roughly divided into three categories: triggering based on time domain features, triggering based on frequency domain features, and triggering based on time-frequency domain features. Among them, the triggering method based on time domain features is more sensitive to conditions such as transient noise and is easily falsely triggered by non-fault transient signals. The triggering strategy with a fixed threshold is difficult to adapt to dynamic scenarios, has weak anti-interference capabilities, and is highly dependent on the threshold. The triggering method based on frequency domain features has the disadvantages of insufficient time resolution and difficulty in capturing dynamic characteristics. Spectral leakage may result in the failure to obtain the true characteristics of the fault signal within the data window and missed detection. The triggering method based on time-frequency domain features has higher computational complexity and requires higher terminal computing power, making it difficult to apply in low-power embedded devices. At the same time, the time-frequency transformation method is more sensitive to parameter selection, and improper parameter selection can lead to feature extraction failure. Summary of the Invention
[0004] Based on this, the present invention aims to propose a fault recording triggering method, device, electronic device and storage medium. In response to the various shortcomings of the existing triggering mechanism, by quantifying the energy distortion of the recording signal, the recording triggering conditions are dynamically adjusted using historical data to achieve efficient capture of short-term transient faults.
[0005] In a first aspect, the present invention provides a fault recording triggering method, comprising:
[0006] Obtain electrical quantity waveform signals of the power system;
[0007] Determine the data window of the electrical quantity waveform signal within a preset window length;
[0008] Locate the zero-crossing moment of the electrical quantity waveform signal within the data window;
[0009] A standard sine wave signal is constructed using the zero-crossing moment and the electrical quantity waveform signal;
[0010] Calculate the waveform amplitude deviation area of the electrical quantity waveform signal relative to the standard sine wave signal;
[0011] The waveform amplitude deviation area is used to establish the recording trigger condition. When the electrical quantity waveform signal meets the recording trigger condition, the fault recording is triggered.
[0012] Furthermore, determining the data window of the electrical quantity waveform signal within a preset window length includes:
[0013] Adjacent sampling points of different signs of the electrical quantity waveform signal are identified within a preset window length, and the time interval between the adjacent sampling points of different signs is determined as a data window.
[0014] Furthermore, the preset window length includes the time length corresponding to two consecutive cycles in the electrical quantity waveform signal.
[0015] Furthermore, determining the zero-crossing moment of the electrical quantity waveform signal within the data window includes:
[0016] The zero-crossing moment is identified based on the sampling values corresponding to adjacent sampling points with different signs.
[0017] Furthermore, identifying the zero-crossing time according to the sampling values corresponding to adjacent sampling points of different signs includes:
[0018] The zero-crossing time is calculated using linear interpolation as follows:
[0019] ,
[0020] in, Indicates the zero-crossing moment, and Indicates the sampling time corresponding to adjacent sampling points with different signs, and Indicates the sampling values corresponding to adjacent sampling points with different signs, Indicates the length of the data window, .
[0021] Furthermore, determining the zero-crossing point of the electrical quantity waveform signal within the data window further includes:
[0022] When there are more than one consecutive zero-crossing points in the determined time within the data window, the average value of the sampling moments corresponding to the consecutive zero-crossing points is calculated as the zero-crossing moment.
[0023] Furthermore, a standard sine wave signal is constructed using the zero-crossing moment and the electrical quantity waveform signal, including:
[0024] According to the preset division rules, the data window is divided into a standard window and an identification window. The electrical quantity waveform signal in the standard window is recorded as a reference signal, and the electrical quantity waveform signal in the identification window is recorded as an identification signal. The standard sine wave signal is constructed using the zero-crossing moment in the standard window and the reference signal.
[0025] Furthermore, constructing a standard sine wave signal using the zero-crossing moment in the standard window and the reference signal includes:
[0026] Calculate the effective value of the electrical quantity based on the sampling value of each sampling point of the electrical quantity waveform signal within the standard window;
[0027] Convert the effective value of electrical quantity into the reference peak value of standard sine wave signal;
[0028] Calculate the reference frequency using the zero-crossing moment within the standard window;
[0029] The latest zero-crossing moment of the sampling time in the standard window is used as the phase reference, and a standard sine wave signal is constructed based on the reference peak value and reference frequency.
[0030] Furthermore, calculating the waveform amplitude deviation area of the electrical quantity waveform signal relative to the standard sine wave signal includes:
[0031] Calculate the area of the curve formed by the waveform where the amplitude of the identification signal is higher than the amplitude of the standard sine wave signal and the standard sine wave signal, and record it as the first waveform amplitude deviation area;
[0032] Calculate the area of the curve formed by the waveform where the amplitude of the identification signal is lower than the amplitude of the standard sine wave signal and the standard sine wave signal, and record it as the second waveform amplitude deviation area.
[0033] Furthermore, the waveform amplitude deviation area is used to establish a recording trigger condition. When the electrical quantity waveform signal meets the recording trigger condition, the fault recording is triggered, including:
[0034] Calculating a first mean and a first standard deviation of at least one first waveform amplitude deviation area within a preset period, and calculating a second mean and a second standard deviation of at least one second waveform amplitude deviation area within a preset period;
[0035] Calculate a first dynamic threshold value based on the first mean and the first standard deviation, and calculate a second dynamic threshold value based on the second mean and the second standard deviation;
[0036] A recording trigger condition is established based on the first dynamic threshold and the second dynamic threshold, and fault recording is triggered when the first waveform amplitude deviation area and / or the second waveform amplitude deviation area meets the recording trigger condition.
[0037] In a second aspect, the present invention provides a fault recording triggering device, comprising:
[0038] A waveform acquisition module is used to obtain waveform signals of electrical quantities in the power system;
[0039] A data window determination module is used to determine the data window of the electrical quantity waveform signal within a preset window length;
[0040] The zero-crossing point positioning module is used to locate the zero-crossing point of the electrical quantity waveform signal within the data window;
[0041] A standard signal construction module is used to construct a standard sine wave signal using the zero-crossing moment and the electrical quantity waveform signal;
[0042] An area calculation module is used to calculate the area of the waveform amplitude deviation of the electrical quantity waveform signal relative to the standard sine wave signal;
[0043] The recording trigger module is used to establish the recording trigger condition by using the waveform amplitude deviation area. When the electrical quantity waveform signal meets the recording trigger condition, the fault recording is triggered.
[0044] In a third aspect, the present invention provides an electronic device comprising a memory storing computer-executable instructions and a processor, wherein when the computer-executable instructions are executed by the processor, the device executes each step of the fault recording triggering method provided in the first aspect.
[0045] In a fourth aspect, the present invention provides a readable storage medium storing a computer executable program, which, when executed, can implement the various steps of the fault recording triggering method provided in the first aspect.
[0046] Compared with the prior art, the present invention has the following beneficial effects:
[0047] The present invention provides a fault recording triggering method, which uses a data window to collect and analyze cached recording signals, constructs a standard signal for comparison with the original waveform signal, quantifies the waveform energy distortion characteristics through the waveform amplitude deviation area, effectively avoids defects such as spectrum leakage and parameter sensitivity, and realizes efficient capture of short-term transient faults; uses cached historical recording data to establish recording trigger conditions, and can further dynamically adjust the trigger conditions as signal acquisition proceeds, significantly reducing the risk of false triggering caused by environmental noise or transient disturbances; in addition, the method provided by the present invention does not require manual parameter adjustment or complex scale decomposition, can significantly reduce the computing power requirements of embedded devices, and is suitable for real-time processing of low-power terminals. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0049] Figure 1 This is a flow chart of the fault recording triggering method provided by an embodiment of the present invention;
[0050] Figure 2 Schematic diagram of waveform amplitude deviation area calculation provided by an embodiment of the present invention;
[0051] Figure 3 1 is a schematic structural diagram of a fault recording triggering device provided by an embodiment of the present invention;
[0052] Figure 4 This is a diagram of the electronic device architecture provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0053] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0054] See Figure 1 An embodiment of the present invention provides a fault recording triggering method, comprising the following steps:
[0055] Step S110: Acquire the electrical quantity waveform signal of the power system.
[0056] This step obtains the original recording signal of the power system. These electrical quantities can be waveform signals such as voltage, current, frequency, power, and switching quantity. The recording device is usually equipped with a pre-recording mechanism or a ring buffer mechanism. When the recording is not formally triggered, the recording device is also continuously sampling and caching the electrical signal. This part of the cached waveform signal is the key to fault analysis. Therefore, it is necessary to temporarily retain several cycle signals of the electrical quantity, and no formal recording file is formed. It is recorded as pre-recording data. If a fault occurs in the power system and triggers the recording logic of the recording device, the cached waveform signal will be combined with the data sampled at the moment of triggering and transferred to a formal recording file, and the post-recording data will be continuously sampled and recorded after the recording is triggered. At this time, the recording file includes pre-recording data, in-process data, and post-recording data.
[0057] Step S120: Determine a data window of the electrical quantity waveform signal within a preset window length.
[0058] Specifically, the original electrical quantity waveform signal obtained by the wave recording device is extracted, and a continuous sampling data set that meets the conditions is included in the data window, and the length of the data set is fixed.
[0059] Furthermore, when determining the data window, a preset window length is first given, such as 2 cycles, 4 cycles, 5 cycles, etc., and a dynamic window is constructed within this given length. This is because the data window needs to be re-determined in each trigger cycle. Under normal circumstances, the "first in, first out" principle is followed, and the waveform signal with a relatively later sampling time is always obtained in the data window to ensure the real-time monitoring of the power system.
[0060] Furthermore, step S120 includes the following execution process:
[0061] Adjacent sampling points of different signs of the electrical quantity waveform signal are identified within a preset window length, and the time interval between the adjacent sampling points of different signs is determined as a data window.
[0062] Specifically, adjacent sampling points of opposite sign are two points with adjacent sampling times and opposite sampling amplitude polarities, and there is a zero crossing point between these two points. The specific recognition process can be expressed as follows:
[0063]
[0064] in, Represents the sign function, the result of the operation is the positive or negative polarity of the sampling amplitude, and represents two consecutive sampling moments, and Indicates the sampling amplitude.
[0065] The data window can be expressed as , the potential zero-crossing area can be determined by polarity flipping, providing calculation space for subsequent interpolation and avoiding the computational redundancy caused by global search.
[0066] Step S130: Locate the zero-crossing moment of the electrical quantity waveform signal within the data window.
[0067] A zero crossing is the instant when a waveform signal changes from a positive value to a negative value, or vice versa. This moment reflects important characteristics of the waveform phase. By extracting waveform frequency and phase information from multiple zero crossings in a continuous window, signal disturbances or frequency offsets can be determined.
[0068] Furthermore, since the endpoints of the data window are adjacent sampling points of different signs, the zero-crossing moments can be identified based on the sampling values corresponding to the adjacent sampling points of different signs.
[0069] Specifically, assuming that the data window [t n ,t n+1 ]The internal signal changes linearly, and the zero crossing point is set to meet , from the equation of the straight line:
[0070]
[0071] Furthermore, for the adjacent sampling points with different signs identified, the zero-crossing time is calculated using linear interpolation as follows:
[0072]
[0073] Furthermore, if there are more than one consecutive zero-crossing points within the data window, the average of the sampling moments corresponding to each consecutive zero-crossing point is calculated as the zero-crossing point moment. Specifically, if several consecutive zero-crossing points are identified between adjacent sampling points of different signs, the average of these zero-crossing points is taken as the representative value of the adjacent zero-crossing point set. This ensures that there are no false waveform zero-crossing points caused by excessive sampling points or excessive fluctuations near zero.
[0074] Step S140: Construct a standard sine wave signal using the zero-crossing time and the electrical quantity waveform signal.
[0075] The standard sine wave signal constructed in this step is an ideal reference waveform with the same frequency and phase as the waveform under test but without distortion, and is used to quantify the energy distortion of the actual waveform.
[0076] Specifically, the triggering of a fault signal primarily involves capturing the waveform from a normal state to a fault state, as this requires establishing a comparison benchmark for the fault state—a standard waveform. The construction of a standard waveform requires a reference amplitude and frequency as essential parameters. In an embodiment of the present invention, the data window is divided into a standard window and an identification window according to a preset division rule. The electrical quantity waveform signal within the standard window is recorded as the reference signal, and the electrical quantity waveform signal within the identification window is recorded as the identification signal. The zero-crossing moment within the standard window and the reference signal are used to construct a standard sinusoidal wave signal.
[0077] Furthermore, assuming that the data window is a cycle, the data window is divided into two half cycles. The first half cycle is recorded as the standard window, and the electrical quantity waveform signal in this window is used to construct the standard waveform. The second half cycle is recorded as the identification window, and the electrical quantity waveform signal in the identification window is used to determine whether a fault occurs.
[0078] Furthermore, constructing a standard sine wave signal includes the following execution process:
[0079] The effective value of the electrical quantity is calculated based on the sampling value of each sampling point of the electrical quantity waveform signal within the standard window, as shown below:
[0080]
[0081] in, Indicates the effective value of electrical quantity, Indicates the number of sampling points on the electrical quantity waveform signal within the standard window. Indicates the sampling value corresponding to the sampling point.
[0082] In order to avoid the influence of the pulse peak value of the short time interval in the data window, the effective value of the electrical quantity is converted into the reference peak value of the standard sine wave signal:
[0083]
[0084] Calculate the reference frequency using the zero-crossing instant within the standard window:
[0085]
[0086] Where, represents the reference frequency, and Indicates the zero-crossing moment within the standard window.
[0087] The latest zero-crossing moment of the sampling time within the standard window is used as the phase reference, and a standard sine wave signal is constructed based on the reference peak and reference frequency:
[0088]
[0089] Where, Indicates the latest zero-crossing time of the sampling instant in the standard window.
[0090] Step S150: Calculate the waveform amplitude deviation area of the electrical quantity waveform signal relative to the standard sine wave signal.
[0091] In this step, in order to quantify the difference between the fault waveform and the normal waveform, the area enclosed by the two curves of the electrical quantity waveform signal and the standard sine wave signal in the identification window is divided into a first waveform amplitude deviation area and a second waveform amplitude deviation area. The first waveform amplitude deviation area represents the area formed by the portion of the actual waveform with an amplitude higher than the standard sine wave and the standard waveform. Its physical significance lies in quantifying the energy accumulation of positive distortion (such as current surge, harmonic superposition, etc.) in the fault signal; the second waveform amplitude deviation area represents the area formed by the portion of the actual waveform with an amplitude lower than the standard sine wave and the standard waveform. Its physical significance lies in quantifying the abnormal characteristics of negative distortion (such as voltage sag, current interruption, etc.) in the fault signal.
[0092] Specifically, the area of the curve formed by the waveform with an identification signal amplitude higher than the standard sine wave signal amplitude and the standard sine wave signal is calculated and recorded as the first waveform amplitude area, and the area of the curve formed by the waveform with an identification signal amplitude lower than the standard sine wave signal amplitude and the standard sine wave signal is recorded as the second waveform amplitude area.
[0093] The first waveform amplitude area and the second waveform amplitude area The calculation can be expressed as follows:
[0094]
[0095] Where, represents the actual sampling sequence within the identification window, Indicates that the standard sine wave signal is sampled according to the actual sampling sequence interval The sampled sequence, It means that only the positive value is taken and the negative value is set to zero. It is used to separate the areas where the amplitude of the actual waveform is higher than the standard waveform and lower than the standard waveform; N is the number of sampling points in the identification window.
[0096] For example, Figure 2 As shown, it illustrates the distinction between the sampling waveform within the identification window and the curve area enclosed by the standard waveform. The data points within the standard window and the identification window are continuously updated with a data step of half a cycle, where the identification window is at the back. After the identification window is updated, the data of the previous round is transferred to the standard window.
[0097] Step S160: Use the waveform amplitude deviation area to establish a recording trigger condition, and trigger the fault recording when the electrical quantity waveform signal meets the recording trigger condition.
[0098] The waveform recording trigger condition is used to determine whether the waveform is abnormal. After triggering, the system enters the waveform recording mode to record the electrical data before and after the fault.
[0099] This step uses the waveform amplitude deviation area to calculate the adaptive trigger threshold, including the following steps:
[0100] Calculating a first mean and a first standard deviation of at least one first waveform amplitude deviation area within a preset period, and calculating a second mean and a second standard deviation of at least one second waveform amplitude deviation area within a preset period;
[0101] Calculate a first dynamic threshold value based on the first mean and the first standard deviation, and calculate a second dynamic threshold value based on the second mean and the second standard deviation;
[0102] A recording trigger condition is established based on the first dynamic threshold and the second dynamic threshold, and fault recording is triggered when the first waveform amplitude deviation area and / or the second waveform amplitude deviation area meets the recording trigger condition.
[0103] Specifically, L power frequency cycles can be defined as the threshold update period, the first waveform amplitude deviation area and the second waveform amplitude deviation area of these L cycles can be stored, and the corresponding mean and standard deviation can be calculated respectively.
[0104] Taking the first waveform amplitude deviation area as an example, the calculation is expressed as follows:
[0105]
[0106] Where, and are the mean and standard deviation of the area corresponding to the amplitude deviation of the first waveform.
[0107] Similarly, the mean of the amplitude deviation area of the second waveform can be calculated and standard deviation .
[0108] The adaptive threshold is calculated as follows:
[0109]
[0110] in, and are the first dynamic threshold and the second dynamic threshold, Represents the sensitivity coefficient, which is used to adjust the overall sensitivity of the trigger mechanism.
[0111] Furthermore, the recording trigger condition is expressed as or It can be understood that if either the first waveform amplitude deviation area or the second waveform amplitude deviation area meets this condition, the recording device will be triggered to record the waveform. If neither of them meets the condition, the next cycle of the recording trigger mechanism will be entered. One cycle includes the data window calculation, standard sine wave signal establishment, waveform amplitude deviation area calculation, and area comparison processes described above.
[0112] The above embodiments provide a fault recording triggering method, which uses a data window to collect and analyze the cached recording signal, constructs a standard signal to compare with the original waveform signal, and quantifies the waveform energy distortion characteristics through the waveform amplitude deviation area, effectively avoiding defects such as spectrum leakage and parameter sensitivity, and achieving efficient capture of short-term transient faults; uses the cached historical recording data to establish the recording trigger condition, and further can dynamically adjust the trigger condition as the signal is collected, significantly reducing the risk of false triggering caused by environmental noise or transient disturbances; in addition, the method provided by the present invention does not require manual parameter adjustment or complex scale decomposition, can significantly reduce the computing power requirements of embedded devices, and is suitable for real-time processing of low-power terminals.
[0113] The above-disclosed method can be implemented using various types of equipment. Therefore, the present invention also discloses a fault recording triggering device corresponding to the above-disclosed method, and a specific embodiment is given below for detailed description.
[0114] like Figure 3 As shown, one embodiment of the present invention provides a fault recording triggering device, comprising:
[0115] The waveform acquisition module 302 is used to obtain the waveform signal of the electrical quantity of the power system;
[0116] A data window determination module 304 is used to determine a data window of an electrical quantity waveform signal within a preset window length;
[0117] The zero-crossing point positioning module 306 is used to locate the zero-crossing point of the electrical quantity waveform signal within the data window;
[0118] A standard signal construction module 308 is used to construct a standard sine wave signal using the zero-crossing time and the electrical quantity waveform signal;
[0119] The area calculation module 310 is used to calculate the area of the waveform amplitude deviation of the electrical quantity waveform signal relative to the standard sine wave signal;
[0120] The recording trigger module 312 is used to establish a recording trigger condition by using the waveform amplitude deviation area, and trigger fault recording when the electrical quantity waveform signal meets the recording trigger condition.
[0121] The device provided in the embodiment of the present application has the same implementation principle and technical effects as those in the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference can be made to the corresponding content in the aforementioned method embodiment.
[0122] The methods and related devices mentioned in the above embodiments are described with reference to the method flow charts and / or structural diagrams provided in the embodiments of the present application. Specifically, each process and / or block in the method flow charts and / or structural diagrams, as well as the combination of processes and / or blocks in the flow charts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 Schematic diagram of one or more processes and / or structures Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including the instruction device, which implements the function specified in the process. Figure 1 Schematic diagram of one or more processes and / or structures Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the process. Figure 1 The flow or flows and / or structures illustrate the steps of the functions specified in one block or multiple blocks.
[0123] The following embodiments illustrate this method using a computer device as an example. It is understood that the computer device may be any device with computing and processing capabilities, including, but not limited to, a server or a personal laptop. In one embodiment, the computer device may be an application server, which may be a server for running the application under test.
[0124] See Figure 4 , which shows a hardware block diagram of an electronic device, which is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or claimed herein.
[0125] like Figure 4 As shown, the electronic device includes: at least one processor 1, at least one communication interface 2, at least one memory 3 and at least one communication bus 4;
[0126] In the embodiment of the present application, the number of the processor 1, the communication interface 2, the memory 3, and the communication bus 4 is at least one, and the processor 1, the communication interface 2, and the memory 3 communicate with each other through the communication bus 4;
[0127] The processor 1 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention;
[0128] The memory 3 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory;
[0129] The memory stores a program, and the processor can call the program stored in the memory, and the program is used to: implement each processing flow of the aforementioned fault recording triggering solution.
[0130] An embodiment of the present invention also provides a readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the computer program implements the various processing flows of the fault recording triggering scheme provided in the above embodiment and / or any possible implementation method in combination with the embodiment.
[0131] The above embodiments have described the invention in particular detail with respect to possible scenarios, and those skilled in the art will recognize that the invention can be practiced through other embodiments. The specific naming of components, capitalization of terms, attributes, data structures, or any other programming or structural aspects are not mandatory or important, and the mechanisms or features of the invention may have different names, forms, or procedures. The system may be implemented through a combination of hardware and software (as described), entirely through hardware elements, or entirely through software elements. The specific division of functions between the various system components described herein is exemplary only and not mandatory; rather, the functions performed by a single system component may be performed by multiple components, or the functions performed by multiple components may be performed by a single component.
[0132] Those skilled in the art will appreciate that the various steps of the method disclosed above can be implemented by a general-purpose computing device. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they can be implemented using program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or they can be fabricated into separate integrated circuit modules, or multiple modules or steps can be fabricated into a single integrated circuit module for implementation. Thus, the embodiments disclosed herein are not limited to any specific combination of hardware and software.
[0133] The programs executable by these computing devices (also referred to as programs, software, software applications, or code) include machine instructions for programmable processors and can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and / or device (e.g., a magnetic disk, an optical disk, a memory, a programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.
[0134] Certain aspects of the present invention include the process steps and instructions described herein in the form of algorithms. It should be noted that the process steps and instructions of the present invention can be implemented in software, firmware and / or hardware, and when implemented in software, they can be downloaded, stored on different platforms used by various operating systems, and operated from the platforms.
[0135] Those skilled in the art will understand that the structures shown in the accompanying drawings are merely block diagrams of partial structures related to the scheme of the present application, and do not constitute a limitation on the terminal device to which the scheme of the present application is applied. The specific terminal device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0136] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "possible design" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and features of different embodiments or examples, unless they are mutually inconsistent.
[0137] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or device comprising the element.
[0138] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features thereof can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A fault recording triggering method, characterized in that: include: Obtain electrical quantity waveform signals of the power system; Determining a data window of the electrical quantity waveform signal within a preset window length; Locating the zero-crossing moment of the electrical quantity waveform signal within the data window; The data window is divided into a standard window and an identification window according to a preset division rule, the electrical quantity waveform signal in the standard window is recorded as a reference signal, the electrical quantity waveform signal in the identification window is recorded as an identification signal, and a standard sine wave signal is constructed using the zero-crossing moment in the standard window and the reference signal; Calculate the area of the curve formed by the waveform where the amplitude of the identification signal is higher than the amplitude of the standard sine wave signal and the standard sine wave signal, and record it as the first waveform amplitude deviation area; Calculate the area of the curve formed by the waveform where the amplitude of the identification signal is lower than the amplitude of the standard sine wave signal and the standard sine wave signal, and record it as the second waveform amplitude deviation area; Calculating a first mean and a first standard deviation of at least one area of the first waveform amplitude deviation within a preset period, and calculating a second mean and a second standard deviation of at least one area of the second waveform amplitude deviation within a preset period; Calculate a first dynamic threshold value based on the first mean and the first standard deviation, and calculate a second dynamic threshold value based on the second mean and the second standard deviation; A recording trigger condition is established based on the first dynamic threshold and the second dynamic threshold, and fault recording is triggered when the first waveform amplitude deviation area and / or the second waveform amplitude deviation area meets the recording trigger condition.
2. The method according to claim 1, characterized in that The data window for determining the electrical quantity waveform signal within a preset window length includes: Adjacent sampling points of different signs of the electrical quantity waveform signal are identified within a preset window length, and the time interval between the adjacent sampling points of different signs is determined as a data window.
3. The method according to claim 2, characterized in that The step of locating the zero-crossing moment of the electrical quantity waveform signal within the data window comprises: The zero-crossing moment is identified according to the sampling values corresponding to the adjacent sampling points of different signs.
4. The method according to claim 3, characterized in that The identifying of the zero-crossing time according to the sampling values corresponding to the adjacent sampling points of different signs comprises: The zero-crossing time is calculated using linear interpolation as follows: , in, Indicates the zero-crossing moment, and Indicates the sampling time corresponding to adjacent sampling points with different signs, and Indicates the sampling values corresponding to adjacent sampling points with different signs, Indicates the length of the data window, .
5. A fault recording triggering device, characterized in that: include: A waveform acquisition module is used to obtain waveform signals of electrical quantities in the power system; A data window determination module, configured to determine a data window of the electrical quantity waveform signal within a preset window length; A zero-crossing point positioning module, used for locating the zero-crossing point moment of the electrical quantity waveform signal within the data window; The standard signal construction module is used to construct a standard sine wave signal using the zero-crossing moment and the electrical quantity waveform signal, specifically including: The data window is divided into a standard window and an identification window according to a preset division rule, the electrical quantity waveform signal in the standard window is recorded as a reference signal, the electrical quantity waveform signal in the identification window is recorded as an identification signal, and a standard sine wave signal is constructed using the zero-crossing moment in the standard window and the reference signal; The area calculation module is used to calculate the area of the waveform amplitude deviation of the electrical quantity waveform signal relative to the standard sine wave signal, specifically including: Calculate the area of the curve formed by the waveform where the amplitude of the identification signal is higher than the amplitude of the standard sine wave signal and the standard sine wave signal, and record it as the first waveform amplitude deviation area; Calculate the area of the curve formed by the waveform where the amplitude of the identification signal is lower than the amplitude of the standard sine wave signal and the standard sine wave signal, and record it as the second waveform amplitude deviation area; The waveform recording trigger module is used to establish a waveform recording trigger condition using the waveform amplitude deviation area, and trigger the fault recording when the electrical quantity waveform signal meets the waveform recording trigger condition, specifically including: Calculating a first mean and a first standard deviation of at least one area of the first waveform amplitude deviation within a preset period, and calculating a second mean and a second standard deviation of at least one area of the second waveform amplitude deviation within a preset period; Calculate a first dynamic threshold value based on the first mean and the first standard deviation, and calculate a second dynamic threshold value based on the second mean and the second standard deviation; A recording trigger condition is established based on the first dynamic threshold and the second dynamic threshold, and fault recording is triggered when the first waveform amplitude deviation area and / or the second waveform amplitude deviation area meets the recording trigger condition.
6. An electronic device, characterized in that: The device comprises a memory storing computer-executable instructions and a processor, and when the computer-executable instructions are executed by the processor, the device executes the fault recording triggering method according to any one of claims 1 to 4.
7. A readable storage medium, characterized in that: A computer executable program is stored, and when the program is executed, the fault recording triggering method according to any one of claims 1 to 4 can be implemented.
Citation Information
Patent Citations
Method for judging start time of waveform fault of fault indicator of distribution network
CN110687399A
Fault recording method and system and terminal equipment
CN110751045A