Fault recording triggering method and device, electronic equipment and storage medium
By quantizing the energy distortion of the wave recording signal and dynamically adjusting the trigger conditions, a standard sine wave signal is constructed to calculate the waveform amplitude deviation area, which solves the problems of false triggering and parameter sensitivity of the existing fault recording trigger mechanism, and realizes efficient capture of short-term transient faults and real-time processing of low-power terminals.
Patent Information
- Application Number
- CN202510703786.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-29
- Publication Date
- 2025-07-01
- Estimated Expiration
- 2045-05-29
AI Technical Summary
The existing fault recording trigger mechanism has problems such as false triggering, spectrum leakage, and parameter sensitivity, making it difficult to efficiently capture short-term transient faults.
By quantifying the energy distortion of the wave recording signal, dynamically adjusting the wave recording trigger conditions using historical data, constructing a standard sine wave signal to compare with the original waveform signal, and calculating the waveform amplitude deviation area to establish the wave recording trigger conditions.
It realizes efficient capture of short-term transient faults, reduces the risk of false triggering, avoids spectrum leakage and parameter sensitivity problems, and is suitable for real-time processing of low-power terminals.
Smart Images

Figure CN120233174A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the fault recording control technology, and particularly relates to a fault recording triggering method, device, electronic device and storage medium. Background Art
[0002] Fault recording is to use a recording device to automatically record the whole process of waveform signals such as voltage, current, and switch quantity when a disturbance (such as short circuit, overload, tripping, frequency change, etc.) occurs in the power system, and save these data for post-event analysis. In the actual power field, the fault recording device will not record and upload all the recording information, because this will cause a great deal of resource occupation. Only when the characteristics of the input waveform detected within the data window meet specific conditions will the fault recording be triggered, and the waveforms of several cycles before and after the triggering moment will be recorded and uploaded for the next step of fault identification and other work.
[0003] Common fault waveform triggering methods can be roughly divided into three categories: triggering based on time-domain characteristics, triggering based on frequency-domain characteristics, and triggering based on time-frequency domain characteristics. Among them, the triggering method based on time-domain characteristics is more sensitive to working conditions such as instantaneous noise, and is prone to false triggering due to non-fault transient signals. Moreover, the triggering strategy with a fixed threshold is difficult to adapt to dynamic scenarios, has weak anti-interference ability and strong dependence on the threshold; the triggering method based on frequency-domain characteristics has the deficiencies of insufficient time resolution and difficulty in capturing dynamic characteristics. Spectrum leakage may lead to missing the true characteristics of the fault signal within the data window and resulting in missed detection; the triggering method based on time-frequency domain characteristics has a higher computational complexity, requires higher computing power for the terminal, and is difficult to be applied in low-power embedded devices. At the same time, the time-frequency transformation method is more sensitive to parameter selection, and improper parameter selection will lead to the failure of feature extraction. 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. Aiming at various deficiencies existing in the existing triggering mechanism, by quantifying the energy distortion of the recording signal, the fault recording triggering condition is dynamically adjusted by using historical data, so as to achieve efficient capture of short-time transient faults.
[0005] In a first aspect, the present invention provides a fault recording triggering method, including:
[0006] Obtain the electrical quantity waveform signal 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] Construct a standard sine wave signal by 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] Establish a recording trigger condition using the waveform amplitude deviation area, and trigger a fault recording when the electrical quantity waveform signal meets the recording trigger condition.
[0012] Further, determining the data window of the electrical quantity waveform signal within a preset window length includes:
[0013] Identify adjacent sampling points with different signs of the electrical quantity waveform signal within the preset window length, and determine the time interval between adjacent sampling points with different signs as the data window.
[0014] Further, the preset window length includes the time length corresponding to two consecutive cycles in the electrical quantity waveform signal.
[0015] Further, determining the zero-crossing moment of the electrical quantity waveform signal within the data window includes:
[0016] Identify the zero-crossing moment according to the sampling values corresponding to adjacent sampling points with different signs.
[0017] Further, identifying the zero-crossing moment according to the sampling values corresponding to adjacent sampling points with different signs includes:
[0018] Calculate the zero-crossing moment using the linear interpolation method as follows:
[0019] ,
[0020] where, represents the zero-crossing moment, and represent the sampling moments corresponding to adjacent sampling points with different signs, and represent the sampling values corresponding to adjacent sampling points with different signs, represents the data window length, .
[0021] Further, determining the zero-crossing point of the electrical quantity waveform signal within the data window further includes:
[0022] When there is more than one zero-crossing point that is continuous in time determined within the data window, calculate the average value of the sampling moments corresponding to each continuous zero-crossing point as the zero-crossing moment.
[0023] Further, constructing a standard sine wave signal using the zero-crossing moment and the electrical quantity waveform signal includes:
[0024] Divide the data window into a standard window and an identification window according to a preset division rule. Denote the electrical quantity waveform signal in the standard window as the reference signal, and the electrical quantity waveform signal in the identification window as the identification signal. Construct a standard sine wave signal using the zero-crossing moment in the standard window and the reference signal.
[0025] Further, 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 according to the sampling values of each sampling point of the electrical quantity waveform signal in the standard window;
[0027] Convert the effective value of the electrical quantity into the reference peak value of the standard sine wave signal;
[0028] Calculate the reference frequency using the zero-crossing moment in the standard window;
[0029] Taking the zero-crossing moment with the latest sampling time in the standard window as the phase reference, construct a standard sine wave signal based on the reference peak value and the reference frequency.
[0030] Further, calculating the waveform amplitude deviation area of the electrical quantity waveform signal relative to the standard sine wave signal includes:
[0031] Calculate the curve area enclosed by the waveform with the identification signal amplitude higher than the standard sine wave signal amplitude and the standard sine wave signal, and denote it as the first waveform amplitude deviation area;
[0032] Calculate the curve area enclosed by the waveform with the identification signal amplitude lower than the standard sine wave signal amplitude and the standard sine wave signal, and denote it as the second waveform amplitude deviation area.
[0033] Further, establish a recording trigger condition using the waveform amplitude deviation area. When the electrical quantity waveform signal meets the recording trigger condition, trigger the fault recording, including:
[0034] Calculate the first mean value and the first standard deviation of at least one first waveform amplitude deviation area within a preset period, and calculate the second mean value and the second standard deviation of at least one second waveform amplitude deviation area within a preset period;
[0035] Calculate the first dynamic threshold according to the first mean value and the first standard deviation, and calculate the second dynamic threshold according to the second mean value and the second standard deviation;
[0036] Establish a recording trigger condition based on the first dynamic threshold and the second dynamic threshold. When the first waveform amplitude deviation area and / or the second waveform amplitude deviation area meet the recording trigger condition, trigger the fault recording.
[0037] In a second aspect, the present invention provides a fault recording trigger device, including:
[0038] A waveform acquisition module, configured to acquire the electrical quantity waveform signal of the power system;
[0039] A data window determination module, configured to determine the data window of the electrical quantity waveform signal within a preset window length;
[0040] A zero-crossing positioning module, configured to locate the zero-crossing moment of the electrical quantity waveform signal within the data window;
[0041] A standard signal construction module, configured to construct a standard sine wave signal by using the zero-crossing moment and the electrical quantity waveform signal;
[0042] An area calculation module, configured to calculate the waveform amplitude deviation area of the electrical quantity waveform signal relative to the standard sine wave signal;
[0043] A recording trigger module, configured to establish a recording trigger condition by using the waveform amplitude deviation area, and trigger a fault recording when the electrical quantity waveform signal meets the recording trigger condition.
[0044] In a third aspect, the present invention provides an electronic device, including a memory storing computer-executable instructions and a processor, and when the computer-executable instructions are executed by the processor, the device executes the steps of the fault recording trigger method provided in the first aspect.
[0045] In a fourth aspect, the present invention provides a readable storage medium, storing a computer-executable program, and when the program is executed, the steps of the fault recording trigger method provided in the first aspect can be implemented.
[0046] Compared with the prior art, the present invention has the following beneficial effects:
[0047] The present invention provides a fault recording trigger method, which collects and analyzes the cached recording signals with a data window, constructs a standard signal to compare 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 the efficient capture of short-time transient faults; uses the cached historical recording data to establish a recording trigger condition, and further can dynamically adjust the trigger condition as the signal acquisition progresses, significantly reducing the risk of false triggering caused by environmental noise or instantaneous disturbance; 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. Description of the Drawings
[0048] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only the embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained according to the provided drawings.
[0049] Figure 1 is the implementation flowchart of the fault recording trigger method provided by the embodiment of the present invention;
[0050] Figure 2 is the schematic diagram of the waveform amplitude deviation area calculation provided by the embodiment of the present invention;
[0051] Figure 3 is the schematic structural diagram of the fault recording trigger device provided by the embodiment of the present invention;
[0052] Figure 4 is the architecture diagram of the electronic device provided by the embodiment of the present invention. Detailed implementation manners
[0053] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present invention.
[0054] Refer to Figure 1 , an embodiment of the present invention provides a fault recording trigger method, including the following steps:
[0055] Step S110. Obtain the electrical quantity waveform signal of the power system.
[0056] The original recording signal of the power system obtained in this step. These electrical quantities can be waveform signals such as voltage, current, frequency, power, and switch quantity. The recording device usually has a pre-recording mechanism or a circular buffer mechanism. When the recording is not officially triggered, the recording device continuously samples and caches the electrical signals. This part of the cached waveform signal is the key to fault analysis. Therefore, several cycle signals of the electrical quantity need to be briefly retained without forming a formal recording file, which 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 trigger moment and transferred to a formal recording file, and continuously sample and input post-recording data 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 the data window of the electrical quantity waveform signal within a preset window length.
[0058] Specifically, extract the original electrical quantity waveform signal obtained by the waveform recording device. The data window includes a set of continuous sampling data that meets the conditions, and its length is fixed.
[0059] Furthermore, a preset window length is given first when determining the data window, such as 2 cycles, 4 cycles, 5 cycles, etc. A dynamic window is constructed within this given length because the data window needs to be re-determined in each trigger cycle. Under normal circumstances, following the "first in, first out" principle, the waveform signal with a relatively later sampling moment is always obtained within the data window to ensure the real-time monitoring of the power system.
[0060] Furthermore, step S120 includes the following execution process:
[0061] Identify adjacent opposite-sign sampling points of the electrical quantity waveform signal within the preset window length, and determine the time interval between the adjacent opposite-sign sampling points as the data window.
[0062] Specifically, adjacent opposite-sign sampling points are two points with adjacent sampling moments and opposite polarities of the sampling amplitudes. There is a zero-crossing point between these two points. The specific identification process can be expressed as follows:
[0063]
[0064] Among them, represents the sign function, and the operation result is the positive and negative polarities of the sampling amplitude. and represent two consecutive sampling moments. and represent the sampling amplitudes.
[0065] The data window can then be expressed as , and the potential zero-crossing point region can be determined through polarity inversion, providing a calculation space for subsequent interpolation and avoiding the computational redundancy brought by global search.
[0066] Step S130. Locate the zero-crossing moment of the electrical quantity waveform signal within the data window.
[0067] The zero-crossing point refers to the instantaneous moment when the waveform signal crosses from a positive value to a negative value or from a negative value to a positive value, that is, the zero-crossing point. This moment reflects an important feature of the waveform phase. By extracting the waveform frequency and phase information through multiple zero-crossing points in consecutive windows, signal disturbance or frequency deviation can be determined.
[0068] Furthermore, since the endpoints of the data window are adjacent opposite-sign sampling points, the zero-crossing moment can be identified according to the sampling values corresponding to the adjacent opposite-sign sampling points.
[0069] Specifically, assume that the signal within the data window [t n , t n+1 changes linearly, and let the zero-crossing satisfy . From the straight-line equation, we can obtain:
[0070]
[0071] Furthermore, for the identified adjacent sampling points with different signs, the linear interpolation method is used to calculate the zero-crossing moment as follows:
[0072]
[0073] Furthermore, when there is more than one zero-crossing that is continuous in time within the data window, calculate the average value of the sampling moments corresponding to each continuous zero-crossing as the zero-crossing moment. Specifically, if several continuous zero-crossing moments are identified between adjacent sampling points with different signs, then take the average value of these zero-crossing moments as the representative value of the adjacent zero-crossing set to ensure that there will be no excessive false waveform zero-crossings caused by too high sampling points or too many sampling points fluctuating near the zero point.
[0074] Step S140. Construct a standard sine wave signal using the zero-crossing moment 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 measured waveform but without distortion, and is used to quantify the energy distortion of the actual waveform.
[0076] Specifically, the triggering of the fault signal mainly completes the capture of the waveform from the normal state to the fault state because a comparison benchmark - the standard waveform - needs to be established for the fault state. The construction of the standard waveform requires a reference amplitude and frequency as necessary parameters. In the 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 denoted as the reference signal, and the electrical quantity waveform signal within the identification window is denoted as the identification signal. A standard sine wave signal is constructed using the zero-crossing moment and the reference signal within the standard window.
[0077] Furthermore, assume that the data window is one cycle, and divide the data window into 2 half-cycles on average. The first half-cycle is denoted as the standard window, and the electrical quantity waveform signal within this window is used to construct the standard waveform. The second half-cycle is denoted as the identification window, and the electrical quantity waveform signal within the identification window is used to determine whether a fault has occurred.
[0078] Furthermore, constructing the standard sine wave signal includes the following execution process:
[0079] Calculate the effective value of the electrical quantity according to the sampling values of each sampling point of the electrical quantity waveform signal within the standard window, as shown below:
[0080]
[0081] Among them, represents the effective value of the electrical quantity, represents the number of upsampling points of the electrical quantity waveform signal within the standard window, represents the sampling value corresponding to the sampling point.
[0082] To avoid the influence of the pulse peak value in a short time interval within 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] The reference frequency is calculated by using the zero-crossing moment within the standard window:
[0085]
[0086] In the formula, represents the reference frequency, and represent the zero-crossing moments within the standard window.
[0087] Taking the zero-crossing moment with the latest sampling moment within the standard window as the phase reference, a standard sine wave signal is constructed based on the reference peak value and the reference frequency:
[0088]
[0089] In the formula, represents the zero-crossing moment with the latest sampling moment 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 faulty waveform and the normal waveform, the area enclosed by the two curves of the electrical quantity waveform signal and the standard sine wave signal within the identification window is divided into the first waveform amplitude deviation area and the second waveform amplitude deviation area. Among them, the first waveform amplitude deviation area represents the area formed between the part of the actual waveform with an amplitude higher than the standard sine wave and the standard waveform, and its physical meaning is to quantify the energy accumulation of positive distortions (such as sudden increase in current, harmonic superposition, etc.) in the fault signal; the second waveform amplitude deviation area represents the area formed between the part of the actual waveform with an amplitude lower than the standard sine wave and the standard waveform, and its physical meaning is to quantify the abnormal characteristics of negative distortions (such as voltage sag, current interruption, etc.) in the fault signal.
[0092] Specifically, calculate the area of the curve formed by enclosing the waveform with an identified signal amplitude higher than that of the standard sine wave signal and the standard sine wave signal, which is denoted as the first waveform amplitude area, and the area of the curve formed by enclosing the waveform with an identified signal amplitude lower than that of the standard sine wave signal and the standard sine wave signal is denoted as the second waveform amplitude area.
[0093] The first waveform amplitude area and the second waveform amplitude area can be calculated as follows:
[0094]
[0095] In the formula, represents the actual sampling sequence within the identification window, represents the sequence obtained by sampling the standard sine wave signal according to the sampling interval of the actual sampling sequence sampled sequence, represents taking only the positive part and setting it to zero when it is negative, which is used to separate the regions where the amplitude of the actual waveform is higher and lower than the standard waveform; N is the number of sampling points within the identification window.
[0096] Exemplarily, as Figure 2 shown, it illustrates the distinction of the curve area enclosed by the sampling waveform and the standard waveform within the identification window, and continuously updates the data points within the standard window and the identification window with a half-cycle as the data step length, where the identification window is behind, and the data from the previous round is transferred to the standard window after the identification window is updated.
[0097] Step S160. Establish a recording trigger condition using the waveform amplitude deviation area, and trigger a fault recording when the electrical quantity waveform signal meets the recording trigger condition.
[0098] The recording trigger condition is a criterion for determining whether the waveform is abnormal, and after triggering, it enters the recording mode to record the electrical data before and after the fault.
[0099] This step calculates an adaptive trigger threshold using the waveform amplitude deviation area, including the following steps:
[0100] Calculate the first mean and the first standard deviation of at least one first waveform amplitude deviation area within a preset period, and calculate the second mean and the second standard deviation of at least one second waveform amplitude deviation area within the preset period;
[0101] Calculate the first dynamic threshold according to the first mean and the first standard deviation, and calculate the second dynamic threshold according to the second mean and the second standard deviation;
[0102] Establish a recording trigger condition based on the first dynamic threshold and the second dynamic threshold, and trigger a fault recording when the first waveform amplitude deviation area and / or the second waveform amplitude deviation area meet the recording trigger condition.
[0103] Specifically, L power frequency cycles can be defined as the period for threshold update. The first waveform amplitude deviation area and the second waveform amplitude deviation area of these L cycles are stored, and the corresponding mean values and standard deviations are calculated respectively.
[0104] Taking the first waveform amplitude deviation area as an example, the calculation is expressed as follows:
[0105]
[0106] In the formula, and are the mean value and standard deviation corresponding to the first waveform amplitude deviation area respectively.
[0107] Similarly, the mean value and standard deviation of the second waveform amplitude deviation area can be calculated.
[0108] The adaptive threshold is calculated as follows:
[0109]
[0110] Wherein, and are the first dynamic threshold and the second dynamic threshold respectively, represents the sensitivity coefficient, which is used to adjust the overall sensitivity of the triggering 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 is triggered to perform recording. If neither meets the condition, it enters the next cycle of the recording trigger mechanism. A cycle includes the processes of data window calculation, standard sine wave signal establishment, waveform amplitude deviation area calculation, and area comparison described above.
[0112] The above embodiments provide a fault recording trigger method, which collects and analyzes the recorded wave signals in the buffer through a data window, constructs a standard signal to compare 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 the efficient capture of short-term transient faults; uses the historical recorded wave data in the buffer to establish the recording trigger condition, and further can dynamically adjust the trigger condition as the signal acquisition progresses, significantly reducing the risk of false triggering caused by environmental noise or instantaneous 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 by devices in various forms. Therefore, the present invention also discloses a fault recording trigger device corresponding to the above method. Specific embodiments are given below for detailed description.
[0114] As Figure 3 shown, an embodiment of the present invention provides a fault recording trigger device, including:
[0115] A waveform acquisition module 302, configured to acquire the electrical quantity waveform signal of the power system;
[0116] A data window determination module 304, configured to determine the data window of the electrical quantity waveform signal within a preset window length;
[0117] A zero-crossing positioning module 306, configured to locate the zero-crossing moment of the electrical quantity waveform signal within the data window;
[0118] A standard signal construction module 308, configured to construct a standard sine wave signal by using the zero-crossing moment and the electrical quantity waveform signal;
[0119] An area calculation module 310, configured to calculate the waveform amplitude deviation area of the electrical quantity waveform signal relative to the standard sine wave signal;
[0120] A recording trigger module 312, configured 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] For the device provided in the embodiments of the present application, the implementation principle and the technical effects produced are the same as those of the foregoing method embodiments. For the sake of brief description, for the parts not mentioned in the device embodiments, reference may be made to the corresponding contents in the foregoing method embodiments.
[0122] The methods and related devices mentioned in the above embodiments are described with reference to the method flowcharts and / or structural schematic diagrams provided in the embodiments of the present application. Specifically, each process and / or block of the method flowchart and / or structural schematic diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for implementing the functions specified in one process Figure 1 one process or multiple processes and / or structural schematic Figure 1 one block or multiple blocks. These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing devices to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device, and the instruction device implements the functions in the processFigure 1 One or more processes and / or structural schematics Figure 1 The functions specified in one or more boxes. 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 generate a computer-implemented process. Thus, the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more boxes in one or more processes and / or structural schematics. Figure 1 One or more processes and / or structural schematics of the steps for implementing the functions specified in one or more boxes.
[0123] The following embodiments are described by taking the application of this method to a computer device as an example. It can be understood that the computer device can be any device with computing and processing functions, and can be, but is not limited to, a server or a personal laptop computer, etc. In one embodiment, the computer device can be an application server, and the application server can be a server for running an application under test.
[0124] Refer to Figure 4 , which shows a hardware structure block diagram of an electronic device. The electronic device is intended to represent various forms of digital computers, such as, a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, a personal digital processor, a cellular phone, a smart phone, a wearable device, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are only examples and are not intended to limit the implementation of the present application described and / or claimed herein.
[0125] As Figure 4 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 embodiments 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 complete mutual communication through the communication bus 4;
[0127] The processor 1 may be a central processing unit CPU, or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present invention, etc.;
[0128] The memory 3 may include a high-speed RAM memory, and may also include a non-volatile memory, etc., such as at least one disk memory;
[0129] Among them, the memory stores a program, and the processor can call the program stored in the memory. The program is used to: implement each processing flow of the aforementioned fault recording trigger scheme.
[0130] An embodiment of the present invention further provides a readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements each processing flow of the fault recording trigger scheme provided by any possible implementation manner of the above embodiment and / or the combined embodiment.
[0131] The above embodiments have described the present invention in particular detail with respect to possible scenarios. Those skilled in the art will recognize that the present invention can be practiced through other embodiments. The specific naming of components, the case of terms, attributes, data structures, or any other aspect of programming or structure is not mandatory or important. The mechanism or its features for implementing the present invention can have different names, forms, or procedures. The system can be implemented by 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 in the text is merely exemplary and not mandatory; on the contrary, the functions performed by a single system component can be performed by multiple components, or the functions performed by multiple components can be performed by a single component.
[0132] Those skilled in the art should understand that each step of the above disclosed method can be implemented by a general-purpose computing device. They can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Optionally, they can be implemented with program code executable by the computing device, so that they can be stored in a storage device and executed by the computing device, or they can be separately fabricated into individual integrated circuit modules, or multiple modules or steps among them can be fabricated into a single integrated circuit module for implementation. Thus, the disclosure of the embodiments of the present invention is not limited to any specific combination of hardware and software.
[0133] These programs executable by the computing devices (also referred to as programs, software, software applications, or code) include machine instructions for a programmable processor and can implement these computing programs using a high-level procedure and / or object-oriented programming language and / or assembly / machine language. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, device, and / or apparatus (e.g., a 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. When implemented by software, it can be downloaded so as to be stored on different platforms used by various operating systems and operated from such platforms.
[0135] Those skilled in the art can understand that the structures shown in the respective drawings are merely block diagrams of some of the structures related to the solution of the present application, and do not constitute a limitation on the terminal devices to which the solution of the present application is applied. The specific terminal devices may include more or fewer components than those shown in the figures, or combine some components, or have different component arrangements.
[0136] In the description of this specification, the description with reference to terms such as "one embodiment", "some embodiments", "example", "specific example", or "possible design", etc. means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples. In addition, without contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.
[0137] Finally, it should also be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover a non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the existence 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 it; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate 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, Including: Obtain the electrical quantity waveform signal of the power system; Determine the data window of the electrical quantity waveform signal within a preset window length; Locate the zero-crossing moment of the electrical quantity waveform signal within the data window; Construct a standard sine wave signal by using the zero-crossing moment and the electrical quantity waveform signal; Calculate the waveform amplitude deviation area of the electrical quantity waveform signal relative to the standard sine wave signal; Establish a recording trigger condition by using the waveform amplitude deviation area, and trigger a fault recording when the electrical quantity waveform signal meets the recording trigger condition.
2. The method according to claim 1, wherein The determining the data window of the electrical quantity waveform signal within a preset window length includes: Identify adjacent different-sign sampling points of the electrical quantity waveform signal within a preset window length, and determine the time interval between the adjacent different-sign sampling points as the data window.
3. The method according to claim 2, wherein The locating the zero-crossing moment of the electrical quantity waveform signal within the data window includes: Identify the zero-crossing moment according to the sampling values corresponding to the adjacent different-sign sampling points.
4. The method according to claim 3, wherein The identifying the zero-crossing moment according to the sampling values corresponding to the adjacent different-sign sampling points includes: Calculate the zero-crossing moment by using the linear interpolation method as follows: , Among them, represents the zero-crossing moment, and represent the sampling moments corresponding to adjacent sampling points with different signs, and represent the sampling values corresponding to adjacent sampling points with different signs, represents the data window length, .
5. The method according to claim 1, characterized in that, The constructing a standard sine wave signal by using the zero-crossing moment and the electrical quantity waveform signal includes: Divide the data window into a standard window and an identification window according to a preset division rule, record the electrical quantity waveform signal within the standard window as a reference signal, record the electrical quantity waveform signal within the identification window as an identification signal, and construct a standard sine wave signal by using the zero-crossing moment and the reference signal within the standard window.
6. The method according to claim 5, wherein The calculating the waveform amplitude deviation area of the electrical quantity waveform signal relative to the standard sine wave signal includes: Calculate the curve area enclosed by the waveform with the amplitude of the identification signal higher than that of the standard sine wave signal and the standard sine wave signal, and record it as the first waveform amplitude deviation area; Calculate the curve area enclosed by the waveform with the amplitude of the identification signal lower than that of the standard sine wave signal and the standard sine wave signal, and record it as the second waveform amplitude deviation area.
7. The method according to claim 6, characterized in that The establishing a recording trigger condition by using the waveform amplitude deviation area, and triggering a fault recording when the electrical quantity waveform signal meets the recording trigger condition includes: Calculate the first mean value and the first standard deviation of at least one of the first waveform amplitude deviation areas within a preset period, and calculate the second mean value and the second standard deviation of at least one of the second waveform amplitude deviation areas within a preset period; Calculate a first dynamic threshold according to the first mean value and the first standard deviation, and calculate a second dynamic threshold according to the second mean value and the second standard deviation; Establish a recording trigger condition based on the first dynamic threshold and the second dynamic threshold, and trigger a fault recording when the first waveform amplitude deviation area and / or the second waveform amplitude deviation area meets the recording trigger condition.
8. A fault recording trigger device, characterized in that, Including: A waveform acquisition module for obtaining the electrical quantity waveform signal of the power system; A data window determination module for determining the data window of the electrical quantity waveform signal within a preset window length; A zero-crossing location module for locating the zero-crossing moment of the electrical quantity waveform signal within the data window; A standard signal construction module for constructing a standard sine wave signal by using the zero-crossing moment and the electrical quantity waveform signal; An area calculation module for calculating the waveform amplitude deviation area of the electrical quantity waveform signal relative to the standard sine wave signal; A recording trigger module for establishing a recording trigger condition by using the waveform amplitude deviation area, and triggering a fault recording when the electrical quantity waveform signal meets the recording trigger condition.
9. An electronic device, characterized in that, It includes a memory storing computer-executable instructions and a processor. When the computer-executable instructions are executed by the processor, the device executes the fault recording trigger method according to any one of claims 1 to 7.
10. A readable storage medium, characterized in that, It stores a computer-executable program, and when the program is executed, the fault recording trigger method according to any one of claims 1 to 7 can be realized.
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
Fault recording triggering method and device
CN114298108A
Fault recording triggering method and device and electronic equipment
CN118964804A
Apparatus and appliance for recording of signal
JP1995190869A