CN110751045B - Fault recording method, system and terminal equipment - Google Patents

Fault recording method, system and terminal equipment Download PDF

Info

Publication number
CN110751045B
CN110751045B CN201910887011.9A CN201910887011A CN110751045B CN 110751045 B CN110751045 B CN 110751045B CN 201910887011 A CN201910887011 A CN 201910887011A CN 110751045 B CN110751045 B CN 110751045B
Authority
CN
China
Prior art keywords
waveform data
preset
standard
recording
preset waveform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910887011.9A
Other languages
Chinese (zh)
Other versions
CN110751045A (en
Inventor
黄凯伦
胡斌
林德荣
许汉林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Kehua Digital Energy Tech Co Ltd
Original Assignee
Xiamen Kehua Digital Energy Tech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Kehua Digital Energy Tech Co Ltd filed Critical Xiamen Kehua Digital Energy Tech Co Ltd
Priority to CN201910887011.9A priority Critical patent/CN110751045B/en
Publication of CN110751045A publication Critical patent/CN110751045A/en
Application granted granted Critical
Publication of CN110751045B publication Critical patent/CN110751045B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/12Classification; Matching
    • G06F2218/16Classification; Matching by matching signal segments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • G06F11/3072Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting
    • G06F11/3079Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting the data filtering being achieved by reporting only the changes of the monitored data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Recording Measured Values (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application is applicable to the technical field of data processing, and discloses a fault wave recording method, a system and terminal equipment, wherein the method comprises the following steps: starting timing from triggering fault wave recording, and acquiring waveform data stored in a first memory when preset time is elapsed, wherein the preset time is smaller than the recording duration of the waveform data; dividing waveform data into a plurality of pieces of preset waveform data according to a preset period, selecting any piece of preset waveform data stored before triggering fault recording from the plurality of pieces of preset waveform data, and recording the selected piece of preset waveform data as standard waveform data; respectively calculating standard deviations of other preset waveform data and standard waveform data of each segment, and selecting abnormal waveform data from the multiple segments of preset waveform data according to the standard deviations of the preset waveform data and the standard waveform data of each segment; and storing the abnormal waveform data into a second memory, and sending the abnormal waveform data to the analysis terminal. The application can reduce the data volume of storage and communication uploading and reduce the occupied storage space and communication bandwidth.

Description

Fault recording method, system and terminal equipment
Technical Field
The application belongs to the technical field of data processing, and particularly relates to a fault wave recording method, a fault wave recording system and terminal equipment.
Background
The fault recording refers to recording the change condition of signals in the fault occurrence process when faults occur, and the faults can be diagnosed by analyzing the signals.
At present, fault wave recording is generally to grasp waveform data of a fixed period, store the waveform data of the fixed period grasped and report the waveform data in a communication way. However, the waveform data of the fixed period may include both waveform data during occurrence of the fault and waveform data before occurrence of the fault, which is useless data for fault analysis, but occupies a large amount of storage space and communication bandwidth, resulting in waste of storage space and communication resources.
Disclosure of Invention
In view of the above, the embodiments of the present application provide a fault wave recording method, system and terminal device, so as to solve the problem in the prior art that the storage space and communication resources are wasted due to the fact that the useless data occupies a large amount of storage space and communication bandwidth.
A first aspect of an embodiment of the present application provides a fault recording method, including:
starting timing from triggering fault wave recording, and acquiring waveform data stored in a first memory when preset time is elapsed, wherein the preset time is smaller than the recording duration of the waveform data;
dividing waveform data into a plurality of pieces of preset waveform data according to a preset period, selecting any piece of preset waveform data stored before triggering fault recording from the plurality of pieces of preset waveform data, and recording the selected piece of preset waveform data as standard waveform data;
respectively calculating standard deviations of other preset waveform data and standard waveform data of each segment, and selecting abnormal waveform data from the multiple segments of preset waveform data according to the standard deviations of the other preset waveform data and the standard waveform data, wherein the other preset waveform data of each segment are preset waveform data except the standard waveform data in the multiple segments of preset waveform data;
and storing the abnormal waveform data into a second memory, and sending the abnormal waveform data to the analysis terminal.
A second aspect of an embodiment of the present application provides a fault recording system, including:
the data acquisition module is used for starting timing from triggering fault wave recording, and acquiring waveform data stored in the first memory when preset time passes, wherein the preset time is smaller than the recording duration of the waveform data;
the standard waveform determining module is used for dividing waveform data into a plurality of pieces of preset waveform data according to a preset period, selecting any piece of preset waveform data stored before triggering fault recording from the plurality of pieces of preset waveform data, and recording the selected piece of preset waveform data as standard waveform data;
the abnormal waveform determining module is used for respectively calculating standard deviations of other preset waveform data and standard waveform data, and selecting abnormal waveform data from the multiple pieces of preset waveform data according to the standard deviations of the other preset waveform data and the standard waveform data, wherein the other preset waveform data are the preset waveform data of the multiple pieces of preset waveform data except the standard waveform data;
and the storage and transmission module is used for storing the abnormal waveform data into the second memory and transmitting the abnormal waveform data to the analysis terminal.
A third aspect of the embodiments of the present application provides a terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the fault logging method according to the first aspect when executing the computer program.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium storing a computer program which, when executed by one or more processors, implements the steps of the fault-logging method as described in the first aspect.
Compared with the prior art, the embodiment of the application has the beneficial effects that: the embodiment of the application firstly starts timing from triggering fault wave recording, when preset time passes, waveform data stored in a first memory are obtained, then the waveform data are divided into a plurality of pieces of preset waveform data according to preset periods, any piece of preset waveform data stored before triggering fault wave recording is selected from the plurality of pieces of preset waveform data and is recorded as standard waveform data, standard deviations of other pieces of preset waveform data and the standard waveform data are calculated respectively, abnormal waveform data are selected from the plurality of pieces of preset waveform data according to the standard deviations of the other pieces of preset waveform data and the standard waveform data, finally the abnormal waveform data are stored in a second memory, and the abnormal waveform data are sent to an analysis terminal.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a fault recording method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of waveform data provided by an embodiment of the present application;
FIG. 3 is a schematic diagram of a fault recording method according to another embodiment of the present application;
FIG. 4 is a schematic block diagram of a fault-recording system according to an embodiment of the present application;
fig. 5 is a schematic block diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In order to illustrate the technical scheme of the application, the following description is made by specific examples.
Fig. 1 is a schematic flow chart of an implementation of a fault recording method according to an embodiment of the present application, and for convenience of explanation, only a portion related to the embodiment of the present application is shown. The execution body of the embodiment of the application can be a terminal device. As shown in fig. 1, the method may include the steps of:
s101: and starting timing from triggering fault wave recording, and acquiring waveform data stored in the first memory when preset time is elapsed, wherein the preset time is smaller than the recording duration of the waveform data.
In the embodiment of the application, the system records waveform data continuously and stores the waveform data recorded in real time to the first memory continuously in a rolling way, as in the conventional fault recording, no matter whether faults occur or not. Recording the recording time length of the waveform data which can be stored in the first memory as T, wherein T is generally a preset period T p Is an integer multiple of (a). The first memory may be a random access memory (Random Access Memory, RAM), and the preset period may be set according to actual requirements, for example, may be set to a power frequency period, and so on.
When fault signal or other trigger signal triggers fault wave recording, the timing is started, at this time, the recorded waveform data is continuously saved to the first memory, when the preset time T elapses f And stopping the rolling and timing, and acquiring the waveform data stored in the first memory at the moment. The time period of waveform data recording is T-T before triggering fault recording f After triggering fault recording T f
Wherein the preset time is less than the recording time of the waveform data, namely T f < T. In a specific embodiment, T f ≤T-T p
S102: dividing the waveform data into a plurality of pieces of preset waveform data according to a preset period, selecting any piece of preset waveform data stored before triggering fault recording from the plurality of pieces of preset waveform data, and recording the selected piece of preset waveform data as standard waveform data.
Waveform data of the recording duration T is recorded according to a preset period T p Dividing the data into N sections of preset waveform data, and recording each section of preset waveform data as 1,2,3 according to the sequence of the recording time, wherein N is N=T/T p . Each piece of divided waveform data is referred to as preset waveform data. Preset period T p The power frequency period is generally set to be 0.02s, and correspondingly, the multi-section preset waveform data obtained by dividing the waveform data according to the power frequency period is multi-section power frequency waveform data. As shown in FIG. 2, a power frequency period is between 1ms and 21ms on the abscissa, and corresponds to a section of power frequency waveform data W 1 The method comprises the steps of carrying out a first treatment on the surface of the A power frequency period is between 21ms and 41ms on the abscissaCorresponding to a section of power frequency waveform data W 2
The standard waveform data is preset waveform data recorded when no fault occurs. According to the embodiment of the application, any section of preset waveform data can be selected from the plurality of sections of preset waveform data recorded before the fault recording is triggered and used as standard waveform data.
Alternatively, the preset waveform data with the earliest recording time may be selected from the multiple pieces of preset waveform data, and recorded as standard waveform data, i.e., the first piece of preset waveform data is recorded as standard waveform data.
S103: and respectively calculating standard deviations of other preset waveform data and standard waveform data of each segment, and selecting abnormal waveform data from the multiple segments of preset waveform data according to the standard deviations of the other preset waveform data and the standard waveform data, wherein the other preset waveform data of each segment are preset waveform data except the standard waveform data in the multiple segments of preset waveform data.
In the embodiment of the application, standard deviations of preset waveform data and standard waveform data of each segment except standard waveform data are calculated respectively, and N-1 standard deviations are calculated. And selecting abnormal waveform data from the multiple pieces of preset waveform data according to the N-1 standard deviations obtained through calculation. The abnormal waveform data refers to waveform data recorded when a fault occurs.
Among the above-mentioned other pieces of preset waveform data, each piece of preset waveform data other than the standard waveform data is among the pieces of preset waveform data. For example, assuming that the 1 st segment of preset waveform data is standard waveform data among the 1 to N segments of preset waveform data, each other segment of preset waveform data is 2 to N segments of preset waveform data.
In an embodiment of the present application, before the step S103, the fault-recording method may further include the steps of:
and according to the wave recording sampling period, calculating the total number of sampling points of each preset period.
In the embodiment of the application, every recording sampling period T s Obtaining a sampling value W i [k]As shown in FIG. 2Shown, wherein W is i [k]Representing the sample value of the kth sample point of the preset waveform data i.
Can be based on the wave recording sampling period T s Calculate each preset period T p Wherein p=t p /T s 。T s The value of (2) can be set according to actual requirements, and T is usually set p Is T s For example, when T p When the power frequency period is 0.02s, T can be set s Set to 0.001s. If T p Not T s Integer multiple of (1), then
In one embodiment of the present application, the "calculating the standard deviation of the preset waveform data and the standard waveform data of each other segment" in the step S103 may include:
and respectively calculating standard deviations of other preset waveform data and standard waveform data of each section according to the total number of sampling points of each preset period.
In an embodiment of the present application, the calculation formula for calculating standard deviation of the preset waveform data and the standard waveform data of each other segment according to the total number of sampling points of each preset period is as follows:
wherein Sd i Representing standard deviation of preset waveform data i and standard waveform data c, i epsilon [1, N ]]And i is not equal to c, N represents the total number of segments of the preset waveform data; p represents the total number of sampling points of each preset period; w (W) c [k]A sampling value representing a kth sampling point of the standard waveform data c; w (W) i [k]Representing the sample value of the kth sample point of the preset waveform data i.
S104: and storing the abnormal waveform data into a second memory, and sending the abnormal waveform data to the analysis terminal.
The abnormal waveform data is stored in a second Memory, wherein the second Memory may be a Read-Only Memory (ROM).
The abnormal waveform data may be transmitted to the analysis terminal by a wired or wireless manner. After the analysis terminal receives the abnormal waveform data, the analysis terminal can analyze the abnormal waveform data to further determine what faults occur, and can display the abnormal waveform data.
As can be seen from the above description, in the embodiment of the present application, by selecting the standard waveform data and selecting the abnormal waveform data from the multiple segments of preset waveform data according to the standard deviation between the other segments of preset waveform data and the standard waveform data, only the abnormal waveform data is stored and uploaded through communication, and the useless data is discarded, so that the data volume of the stored and uploaded through communication can be reduced, and the occupied storage space and communication bandwidth can be reduced.
Fig. 3 is a schematic flow chart of an implementation of the fault recording method according to an embodiment of the present application, and for convenience of explanation, only the portions relevant to the embodiment of the present application are shown. As shown in fig. 3, the "selecting abnormal waveform data from the plurality of pieces of preset waveform data according to the standard deviation of the other pieces of preset waveform data and the standard waveform data" in the above step S103 may include the steps of:
s301: and calculating the average value of standard deviations of other preset waveform data and standard waveform data.
In the embodiment of the application, the average value of the N-1 standard deviations is calculated according to the N-1 standard deviations calculated in the step S103The specific calculation formula is as follows:
s302: sequentially comparing the standard deviation and the average value of the other preset waveform data and the standard waveform data according to the sequence of the recording time of the other preset waveform data to obtain first target preset waveform data and second target preset waveform data;
the first target preset waveform data is the preset waveform data with the earliest recording time in all preset waveform data with standard deviation larger than the average value, and the second target preset waveform data is the preset waveform data with the latest recording time in all preset waveform data with standard deviation larger than the average value.
In the embodiment of the application, among all the preset waveform data with standard deviation greater than average value from the standard waveform data, the preset waveform data with the earliest recording time is called as first target preset waveform data, and the preset waveform data with the latest recording time is called as second target preset waveform data.
And sequentially comparing the standard deviation and the average value of the other preset waveform data and the standard waveform data to obtain first target preset waveform data and second target preset waveform data.
S303: and recording the preset waveform data from the first target preset waveform data to the second target preset waveform data as abnormal waveform data.
And recording all preset waveform data (including the first target preset waveform data and the second target preset waveform data) between the first target preset waveform data and the second target preset waveform data as abnormal waveform data according to the sequence of the recording time of other preset waveform data.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present application.
Fig. 4 is a schematic block diagram of a fault-recording system according to an embodiment of the present application, and for convenience of explanation, only a portion related to the embodiment of the present application is shown.
In an embodiment of the present application, the fault-recording system 40 may include a data acquisition module 401, a standard waveform determination module 402, an abnormal waveform determination module 403, and a storage transmission module 404.
The data obtaining module 401 is configured to start timing from triggering the fault record, and obtain waveform data stored in the first memory when a preset time elapses, where the preset time is less than a recording duration of the waveform data;
the standard waveform determining module 402 is configured to divide waveform data into a plurality of pieces of preset waveform data according to a preset period, and select any piece of preset waveform data stored before triggering fault recording from the plurality of pieces of preset waveform data, and record the selected piece of preset waveform data as standard waveform data;
the abnormal waveform determining module 403 is configured to calculate standard deviations of other preset waveform data and standard waveform data, and select abnormal waveform data from multiple pieces of preset waveform data according to the standard deviations of the other preset waveform data and the standard waveform data, where the other preset waveform data is preset waveform data of multiple pieces of preset waveform data except the standard waveform data;
the storage and transmission module 404 is configured to store the abnormal waveform data in the second memory and transmit the abnormal waveform data to the analysis terminal.
Alternatively, the abnormal waveform determining module 403 may include an average value calculating unit, a comparing unit, and an abnormal waveform data determining unit;
the average value calculation unit is used for calculating the average value of standard deviation of other preset waveform data and standard waveform data of each section;
the comparison unit is used for sequentially comparing the standard deviation and the average value of the other preset waveform data and the standard waveform data according to the sequence of the recording time of the other preset waveform data to obtain first target preset waveform data and second target preset waveform data;
the first target preset waveform data is the preset waveform data with the earliest recording time in all preset waveform data with standard deviation larger than the average value, and the second target preset waveform data is the preset waveform data with the latest recording time in all preset waveform data with standard deviation larger than the average value;
an abnormal waveform data determining unit for recording, as abnormal waveform data, preset waveform data from the first target preset waveform data to the second target preset waveform data.
Optionally, the fault-recording system 40 may further include a total sample point number calculation module.
The sampling point total number calculation module is used for calculating the total number of sampling points of each preset period according to the wave recording sampling period.
Alternatively, the abnormal waveform determining module 403 may further include a standard deviation calculating unit.
And the standard deviation calculation unit is used for calculating standard deviations of other preset waveform data and standard waveform data of each section according to the total number of sampling points of each preset period.
Optionally, the standard deviation calculating unit calculates the standard deviation of the preset waveform data and the standard waveform data of each other segment according to the total number of sampling points of each preset period, where the calculation formula is as follows:
wherein Sd i Representing standard deviation of preset waveform data i and standard waveform data c, i is E [1, N]And i is not equal to c, N represents the total number of segments of the preset waveform data; p represents the total number of sampling points in each preset period; w (W) c [k]A sampling value representing a kth sampling point of the standard waveform data c; w (W) i [k]Representing the sample value of the kth sample point of the preset waveform data i.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of each functional unit and module is illustrated, and in practical application, the above-mentioned functional allocation may be performed by different functional units and modules according to needs, that is, the internal structure of the fault recording system is divided into different functional units or modules, so as to perform all or part of the above-mentioned functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above device may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
Fig. 5 is a schematic block diagram of a terminal device according to an embodiment of the present application. As shown in fig. 5, the terminal device 50 of this embodiment includes: one or more processors 501, a memory 502, and a computer program 503 stored in the memory 502 and executable on the processor 501. The processor 501, when executing the computer program 503, implements the steps in the above-described embodiments of the fault-recording method, such as steps S101 to S104 shown in fig. 1. Alternatively, the processor 501, when executing the computer program 503, implements the functions of the modules/units in the fault-recording system embodiment described above, for example, the functions of the modules 401 to 404 shown in fig. 4.
Illustratively, the computer program 503 may be split into one or more modules/units that are stored in the memory 502 and executed by the processor 501 to complete the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing the specified functions, which instruction segments are used for describing the execution of the computer program 503 in the terminal device 50. For example, the computer program 503 may be divided into a data acquisition module, a standard waveform determination module, an abnormal waveform determination module, and a storage transmission module, each of which specifically functions as follows:
the data acquisition module is used for starting timing from triggering fault wave recording, and acquiring waveform data stored in the first memory when preset time passes, wherein the preset time is smaller than the recording duration of the waveform data;
the standard waveform determining module is used for dividing waveform data into a plurality of pieces of preset waveform data according to a preset period, selecting any piece of preset waveform data stored before triggering fault recording from the plurality of pieces of preset waveform data, and recording the selected piece of preset waveform data as standard waveform data;
the abnormal waveform determining module is used for respectively calculating standard deviations of other preset waveform data and standard waveform data, and selecting abnormal waveform data from the multiple pieces of preset waveform data according to the standard deviations of the other preset waveform data and the standard waveform data, wherein the other preset waveform data are the preset waveform data of the multiple pieces of preset waveform data except the standard waveform data;
and the storage and transmission module is used for storing the abnormal waveform data into the second memory and transmitting the abnormal waveform data to the analysis terminal.
Other modules or units may be described with reference to the embodiment shown in fig. 4, and will not be described here again.
The terminal device 50 may be a desktop computer, a notebook computer, a palm computer, a cloud server, or the like. The terminal device 50 includes, but is not limited to, a processor 501, a memory 502. It will be appreciated by those skilled in the art that fig. 5 is merely an example of the terminal device 50 and is not meant to be limiting as to the terminal device 50, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., the terminal device 50 may also include input devices, output devices, network access devices, buses, etc.
The processor 501 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 502 may be an internal storage unit of the terminal device 50, such as a hard disk or a memory of the terminal device 50. The memory 502 may also be an external storage device of the terminal device 50, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the terminal device 50. Further, the memory 502 may also include both internal storage units and external storage devices of the terminal device 50. The memory 502 is used for storing the computer program 503 and other programs and data required by the terminal device 50. The memory 502 may also be used to temporarily store data that has been output or is to be output.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed fault-recording system and method may be implemented in other manners. For example, the fault-logging system embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium may include content that is subject to appropriate increases and decreases as required by jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is not included as electrical carrier signals and telecommunication signals.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (8)

1. A fault logging method, comprising:
starting timing from triggering fault wave recording, and acquiring waveform data stored in a first memory when preset time is elapsed, wherein the preset time is smaller than the recording duration of the waveform data;
dividing the waveform data into a plurality of pieces of preset waveform data according to a preset period, selecting any piece of preset waveform data stored before triggering fault recording from the plurality of pieces of preset waveform data, and recording the selected piece of preset waveform data as standard waveform data; the preset period is a power frequency period;
calculating standard deviations of other preset waveform data and the standard waveform data respectively, and selecting abnormal waveform data from the multiple pieces of preset waveform data according to the standard deviations of the other preset waveform data and the standard waveform data, wherein the other preset waveform data are preset waveform data of the multiple pieces of preset waveform data except the standard waveform data;
storing the abnormal waveform data into a second memory, and sending the abnormal waveform data to an analysis terminal; and selecting abnormal waveform data from the multi-section preset waveform data according to the standard deviation of the other preset waveform data and the standard waveform data, wherein the abnormal waveform data comprises the following steps:
calculating the average value of standard deviation of the preset waveform data of each other section and the standard waveform data;
sequentially comparing the standard deviation of the other preset waveform data and the standard waveform data with the average value according to the sequence of the recording time of the other preset waveform data to obtain first target preset waveform data and second target preset waveform data;
the first target preset waveform data is preset waveform data with earliest recording time in all preset waveform data with standard deviation larger than the average value, and the second target preset waveform data is preset waveform data with latest recording time in all preset waveform data with standard deviation larger than the average value;
and recording preset waveform data from the first target preset waveform data to the second target preset waveform data as abnormal waveform data.
2. The fault-recording method according to claim 1, wherein before the calculating of standard deviations of the other pieces of preset waveform data and the standard waveform data, respectively, the fault-recording method further comprises:
and according to the wave recording sampling period, calculating the total number of sampling points of each preset period.
3. The fault-recording method according to claim 2, wherein the calculating of standard deviations of the other pieces of preset waveform data and the standard waveform data, respectively, includes:
and respectively calculating standard deviations of other preset waveform data of each section and the standard waveform data according to the total number of sampling points of each preset period.
4. The fault wave recording method according to claim 3, wherein the calculation formula for calculating standard deviation of other preset waveform data and the standard waveform data according to the total number of sampling points in each preset period is as follows:
wherein Sd i Representing standard deviation of preset waveform data i and standard waveform data c, i epsilon [1, N ]]And i is not equal to c, N represents the total number of segments of the preset waveform data; p represents the total number of sampling points of each preset period; w (W) c [k]A sampling value representing a kth sampling point of the standard waveform data c; w (W) i [k]Representing the sample value of the kth sample point of the preset waveform data i.
5. A fault logging system, comprising:
the data acquisition module is used for starting timing from triggering fault wave recording, and acquiring waveform data stored in the first memory when preset time passes, wherein the preset time is smaller than the recording duration of the waveform data;
the standard waveform determining module is used for dividing the waveform data into a plurality of pieces of preset waveform data according to a preset period, selecting any piece of preset waveform data stored before the fault recording triggering from the plurality of pieces of preset waveform data, and recording the selected piece of preset waveform data as standard waveform data; the preset period is a power frequency period;
the abnormal waveform determining module is used for respectively calculating standard deviations of other preset waveform data and the standard waveform data, and selecting abnormal waveform data from the multiple pieces of preset waveform data according to the standard deviations of the other preset waveform data and the standard waveform data, wherein the other preset waveform data are preset waveform data except the standard waveform data in the multiple pieces of preset waveform data;
a storage and transmission module, configured to store the abnormal waveform data in a second memory, and transmit the abnormal waveform data to an analysis terminal, where the abnormal waveform determination module includes:
an average value calculating unit for calculating an average value of standard deviations of the other preset waveform data and the standard waveform data;
the comparison unit is used for sequentially comparing the standard deviation of the other preset waveform data and the standard waveform data with the average value according to the sequence of the recording time of the other preset waveform data to obtain first target preset waveform data and second target preset waveform data;
the first target preset waveform data is preset waveform data with earliest recording time in all preset waveform data with standard deviation larger than the average value, and the second target preset waveform data is preset waveform data with latest recording time in all preset waveform data with standard deviation larger than the average value;
an abnormal waveform data determining unit configured to record, as abnormal waveform data, preset waveform data from the first target preset waveform data to the second target preset waveform data.
6. The fault-logging system of claim 5, further comprising:
and the sampling point total number calculation module is used for calculating the total number of the sampling points of each preset period according to the wave recording sampling period.
7. Terminal device comprising a memory, a processor and a computer program stored in the memory and running on the processor, characterized in that the processor implements the steps of the fault logging method according to any one of claims 1 to 4 when the computer program is executed.
8. A computer readable storage medium, characterized in that it stores a computer program which, when executed by one or more processors, implements the steps of the fault logging method according to any one of claims 1 to 4.
CN201910887011.9A 2019-09-19 2019-09-19 Fault recording method, system and terminal equipment Active CN110751045B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910887011.9A CN110751045B (en) 2019-09-19 2019-09-19 Fault recording method, system and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910887011.9A CN110751045B (en) 2019-09-19 2019-09-19 Fault recording method, system and terminal equipment

Publications (2)

Publication Number Publication Date
CN110751045A CN110751045A (en) 2020-02-04
CN110751045B true CN110751045B (en) 2023-12-08

Family

ID=69276655

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910887011.9A Active CN110751045B (en) 2019-09-19 2019-09-19 Fault recording method, system and terminal equipment

Country Status (1)

Country Link
CN (1) CN110751045B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112345846B (en) * 2020-09-27 2021-09-07 广东电网有限责任公司佛山供电局 Wave recording triggering method and system used in relay protection device test based on fixed value
CN112578188B (en) * 2020-11-04 2023-07-07 深圳供电局有限公司 Method, device, computer equipment and storage medium for generating electric quantity waveform
CN113052077A (en) * 2021-03-25 2021-06-29 天津市中力神盾电子科技有限公司 Data transmission method, data processing method, terminal and power distribution device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699704A (en) * 2009-11-09 2010-04-28 广东电网公司广州供电局 Fault recorder data processing method and fault recorder data processing device
CN102592034A (en) * 2012-03-09 2012-07-18 中国南方电网有限责任公司超高压输电公司检修试验中心 EMTDC (electro-magnetic transient in DC (direct current) system) playback simulation method based on fault recording data of SIMADYN D device
CN103019957A (en) * 2012-11-09 2013-04-03 深圳市华力特电气股份有限公司 Power fault recording storage method and device
JP2014172254A (en) * 2013-03-07 2014-09-22 Ricoh Co Ltd Image recording device and recording method of image recording device
CN109186813A (en) * 2018-10-23 2019-01-11 株洲中车时代电气股份有限公司 A kind of temperature sensor self-checking unit and method
CN109830931A (en) * 2018-10-29 2019-05-31 全球能源互联网研究院有限公司 A kind of embedded type fault wave recording device suitable for DC control and protection system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699704A (en) * 2009-11-09 2010-04-28 广东电网公司广州供电局 Fault recorder data processing method and fault recorder data processing device
CN102592034A (en) * 2012-03-09 2012-07-18 中国南方电网有限责任公司超高压输电公司检修试验中心 EMTDC (electro-magnetic transient in DC (direct current) system) playback simulation method based on fault recording data of SIMADYN D device
CN103019957A (en) * 2012-11-09 2013-04-03 深圳市华力特电气股份有限公司 Power fault recording storage method and device
JP2014172254A (en) * 2013-03-07 2014-09-22 Ricoh Co Ltd Image recording device and recording method of image recording device
CN109186813A (en) * 2018-10-23 2019-01-11 株洲中车时代电气股份有限公司 A kind of temperature sensor self-checking unit and method
CN109830931A (en) * 2018-10-29 2019-05-31 全球能源互联网研究院有限公司 A kind of embedded type fault wave recording device suitable for DC control and protection system

Also Published As

Publication number Publication date
CN110751045A (en) 2020-02-04

Similar Documents

Publication Publication Date Title
CN110751045B (en) Fault recording method, system and terminal equipment
EP2081326A1 (en) Statistical processing apparatus capable of reducing storage space for storing statistical occurence frequency data and a processing method therefor
US8438275B1 (en) Formatting data for efficient communication over a network
CN109165133B (en) Data monitoring method, device, equipment and storage medium
WO2017215557A1 (en) Method and device for collecting performance monitor unit (pmu) events
CN111104303A (en) Server index data acquisition method, device and medium
CN109951466B (en) Port flow monitoring method and device, electronic equipment and machine-readable storage medium
CN112135287B (en) Bluetooth data transmission rate test method, system, electronic device and storage medium
CN111291328B (en) Transient event identification method, system and equipment based on fine slope
CN109213965B (en) System capacity prediction method, computer readable storage medium and terminal device
CN111324576B (en) Recording data storage method and device, storage medium and terminal equipment
CN110365598B (en) Heartbeat message sending method, device, server, terminal and storage medium
CN111078497A (en) Data storage method, equipment and storage medium of BMC (baseboard management controller)
CN111159009B (en) Pressure testing method and device for log service system
CN110736894A (en) Fault recording method, system and terminal equipment
US10824597B2 (en) Cache folder identification method and device
CN109246731B (en) Optimization method and device for PRB interference index, computer storage medium and equipment
CN111654405A (en) Method, device, equipment and storage medium for fault node of communication link
CN112702227B (en) Heartbeat event detection method, device, equipment and computer readable storage medium
CN116841815A (en) Operation monitoring method, device, electronic equipment and storage medium
CN110995546B (en) Message sampling method and device
CN113238911A (en) Alarm processing method and device
CN111028509B (en) Traffic saturation flow obtaining method and device and terminal equipment
CN108984101B (en) Method and device for determining relationship between events in distributed storage system
CN110968397B (en) Analysis method and device for virtual machine capacity management

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 361101 Ma Long Road 457, Torch Garden, Xiamen Torch High-tech Zone, Fujian Province

Applicant after: Kehua Data Co.,Ltd.

Applicant after: ZHANGZHOU KEHUA TECHNOLOGY Co.,Ltd.

Address before: 361101 Ma Long Road 457, Torch Garden, Xiamen Torch High-tech Zone, Fujian Province

Applicant before: XIAMEN KEHUAHENGSHENG LIMITED BY SHARE Ltd.

Applicant before: ZHANGZHOU KEHUA TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
TA01 Transfer of patent application right

Effective date of registration: 20220726

Address after: 361001 room 208-38, Hengye building, No. 100, Xiangxing Road, Xiamen Torch High tech Zone (Xiang'an) Industrial Zone, Xiamen, Fujian

Applicant after: Xiamen Kehua shuneng Technology Co.,Ltd.

Address before: 361101 Ma Long Road 457, Torch Garden, Xiamen Torch High-tech Zone, Fujian Province

Applicant before: Kehua Data Co.,Ltd.

Applicant before: ZHANGZHOU KEHUA TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant