CN111220876A - Transient recording data compression method, device, equipment and storage medium - Google Patents

Transient recording data compression method, device, equipment and storage medium Download PDF

Info

Publication number
CN111220876A
CN111220876A CN202010234664.XA CN202010234664A CN111220876A CN 111220876 A CN111220876 A CN 111220876A CN 202010234664 A CN202010234664 A CN 202010234664A CN 111220876 A CN111220876 A CN 111220876A
Authority
CN
China
Prior art keywords
data
waveform
waveform data
voltage
differential
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.)
Granted
Application number
CN202010234664.XA
Other languages
Chinese (zh)
Other versions
CN111220876B (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 Sixin Smart Power Technology Co Ltd
Original Assignee
Xiamen Sixin Smart Power Technology 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 Sixin Smart Power Technology Co Ltd filed Critical Xiamen Sixin Smart Power Technology Co Ltd
Priority to CN202010234664.XA priority Critical patent/CN111220876B/en
Publication of CN111220876A publication Critical patent/CN111220876A/en
Application granted granted Critical
Publication of CN111220876B publication Critical patent/CN111220876B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • H03M7/3002Conversion to or from differential modulation

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The invention discloses a transient recording data compression method, a device, equipment and a storage medium, wherein the method comprises the following steps: recording the power waveform of the power equipment at the fault moment; converting the power waveform into waveform data through an analog-digital converter, and extracting first voltage waveform data and first current waveform data of the waveform data according to the periodic characteristics of the power waveform; respectively subtracting the voltage reference value from the first voltage waveform data and the current waveform data to obtain standard second voltage waveform data and current waveform data; respectively calculating the front and back difference values of the second voltage and current waveform data adjacent to each other to obtain voltage and current difference values; searching the maximum deviation bit width of the voltage difference value and the current difference value by a comparison method, compressing differential data consisting of the voltage difference value and the current difference value by taking the maximum deviation bit width as a reference, and performing high-order coding on the compressed differential data to finish wireless transmission. The amount of waveform data can be reduced, thereby reducing time in wireless transmission.

Description

Transient recording data compression method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of high-precision wave recording indicators, in particular to a transient wave recording data compression method, a device, equipment and a storage medium.
Background
At present, the fault recording of the power system in China develops rapidly, the fault recording device can automatically and accurately record the change conditions of various electrical quantities in the processes before and after the fault, record the whole process change phenomenon of the system frequency, record transient state information, provide a certain reference value for the power fault occurrence reason through recording the information, and a recording type fault indicator is a recording device independent of protection, truly reflects the accident condition through recording analog quantity and switching quantity, and is the most effective tool for judging the accident development process. The recording wave type fault indicator adopts a 430 single chip microcomputer platform, wires are respectively hung in a three-phase circuit, so that when a power system fails, information such as electric field current of various electric quantities (main digital quantities such as switching state change and analog quantities, mainly voltage and current numerical values) in the processes before and after the power system fails is automatically and accurately recorded, and through analysis and comparison of the electric quantities, the effects of analyzing and processing accidents, judging whether protection acts correctly and improving the safe operation level of the power system are achieved. However, when the circuit fluctuates, the waveform is recorded, the waveform is compressed on the singlechip platform and then uploaded to the terminal, the waveform file is decompressed by the terminal, and the authenticity of the three-phase recording data of the current and the electric field is ensured.
Disclosure of Invention
In view of the above problems, an object of the present invention is to provide a method, an apparatus, a device and a storage medium for compressing transient recording data, which greatly reduce the amount of waveform data, thereby greatly reducing the time during wireless transmission.
The embodiment of the invention provides a transient recording data compression method, which comprises the following steps:
recording the power waveform of the power equipment at the fault moment;
converting the power waveform into waveform data through an analog-digital converter, and extracting first voltage waveform data and first current waveform data of the waveform data according to periodic characteristics of the power waveform;
respectively subtracting a voltage reference value from the first voltage waveform data and the first current waveform data to obtain standard second voltage waveform data and second current waveform data;
respectively carrying out front-back difference calculation on the second voltage waveform data adjacent to each other and the second current waveform data adjacent to each other to obtain N voltage difference values and N current difference values;
and searching the maximum deviation bit width of the N voltage differential values and the N current differential values by a comparison method, and compressing differential data consisting of the N voltage differential values and the N current differential values by taking the maximum deviation bit width as a reference.
Preferably, the recording of the power waveform at the time of the power equipment fault is specifically as follows:
recording 4 power waveforms before the fault time of the power equipment and 8 power waveforms after the fault time; wherein the power waveform for each cycle includes 128 waveform data points.
Preferably, the voltage reference value is 2048.
Preferably, the method further comprises the following steps: and performing high-bit encoding on the compressed differential data, and performing wireless transmission.
Preferably, the compressed differential data is subjected to high-bit encoding and then subjected to wireless transmission, specifically:
performing logic AND operation and logic OR operation high-order coding on a first differential data point of the compressed differential data;
and wirelessly transmitting the high-order coded differential data through RF 433.
Preferably, after the step of compressing the differential data composed of the N voltage differential values and the N current differential values by using a maximum deviation bit width of the N voltage differential values and the N current differential values by a comparison method and using the maximum deviation bit width as a reference, the method further includes, before the step of performing wireless transmission after high-order coding on the compressed differential data:
acquiring the maximum deviation bit width of the waveform data after the first power waveform compression, and judging whether the maximum bit width of the compressed waveform data is less than or equal to a preset value or not;
when the compressed maximum bit width is judged to be less than or equal to a preset value, compressing the rest power waveforms by adopting differential compression;
and when the maximum bit width of the compressed waveform data is judged to be larger than a preset value, compressing the rest power waveforms by adopting bit width compression.
In a second aspect, an embodiment of the present invention further provides a transient recording data compression apparatus, including:
the waveform recording unit is used for recording the power waveform of the power equipment at the fault moment;
the waveform data conversion unit is used for converting the power waveform into waveform data through an analog-digital converter, and extracting first voltage waveform data and first current waveform data of the waveform data according to the periodic characteristics of the power waveform;
a reference value processing unit, configured to subtract a voltage reference value from the first voltage waveform data and the first current waveform data, respectively, to obtain standard second voltage waveform data and second current waveform data;
a differential value calculating unit for performing a front-back differential calculation on the mutually adjacent second voltage waveform data and the mutually adjacent second current waveform data, respectively, to obtain N voltage differential values and N current differential values;
a differential data compression unit, configured to search for a maximum deviation bit width of the N voltage differential values and the N current differential values by a comparison method, and compress differential data composed of the N voltage differential values and the N current differential values with the maximum deviation bit width as a reference;
preferably, the waveform recording unit includes:
the power waveform recording module is used for recording 4 power waveforms before the fault time of the power equipment and 8 power waveforms after the fault time; wherein the power waveform for each cycle includes 128 waveform data points.
Preferably, the voltage reference value is 2048.
Preferably, the method further comprises the following steps: and the differential data high-order coding unit is used for performing high-order coding on the compressed differential data and then performing wireless transmission.
Preferably, the differential data high-order coding unit includes:
the logic operation module is used for carrying out logic AND operation and logic OR operation high-order coding on a first differential data point of the compressed differential data;
and the wireless transmission module is used for wirelessly transmitting the high-order coded differential data through RF 433.
Preferably, the method further comprises the following steps:
a maximum deviation bit width obtaining unit, configured to obtain a maximum deviation bit width of the waveform data after the first power waveform compression, and determine whether the maximum bit width of the compressed waveform data is less than or equal to a preset value;
the first judgment unit is used for compressing other power waveforms by adopting differential compression when the compressed maximum bit width is judged to be less than or equal to a preset value;
and the second judging unit is used for compressing other power waveforms by adopting bit width compression when the maximum bit width of the compressed waveform data is judged to be larger than a preset value.
The embodiment of the present invention further provides a transient recording data compression device, which includes a processor, a memory, and a computer program stored in the memory, where the computer program is executable by the processor to implement the transient recording data compression method according to the above embodiment.
The embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, where when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the transient recording data compression method according to the above embodiment.
In the above embodiment, the voltage reference value is subtracted from the first voltage waveform data and the first current waveform data respectively to obtain the standard second voltage waveform data and second current waveform data, the voltage reference value is subtracted from the first voltage waveform data and the first current waveform data, and the data is processed uniformly to increase the data processing speed, according to the periodic rule of the power waveform, the maximum deviation bit width of the N voltage difference values and the N current difference values is searched by a comparison method, and the difference data composed of the N voltage difference values and the N current difference values is compressed by using the maximum deviation bit width as a reference, so as to realize the waveform compression of the recording data on the single chip microcomputer platform, thereby greatly reducing the amount of the recording data, and enabling the waveform data to be compressed to 75% of the original value, so that in the wireless transmission process, the time is greatly reduced.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a transient recording data compression method according to a first embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a transient recording data compression apparatus according to a second embodiment of the present invention.
Detailed Description
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
In the embodiments, the references to "first \ second" are merely to distinguish similar objects and do not represent a specific ordering for the objects, and it is to be understood that "first \ second" may be interchanged with a specific order or sequence, where permitted. It should be understood that "first \ second" distinct objects may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced in sequences other than those illustrated or described herein.
Referring to fig. 1, a first embodiment of the present invention provides a transient recording data compression method, which can be executed by a transient recording data compression device (hereinafter referred to as "data compression device"), specifically, by one or more processors in the data compression device, and at least includes the following steps:
and S101, recording a power waveform at the fault time of the power equipment.
In this embodiment, a high-precision transient wave recording device is built in the data compression device, and 128 data points are sampled per cycle when the high-precision transient wave recording device records waveforms, so as to facilitate the judgment of which kind of fault is convenient and facilitate fault location. The high-precision transient recording device adopts a 32.768KHz crystal oscillator and an MSP430 single chip microcomputer with a 64KB memory, and the built-in wireless communication module adopts RF 433.
S102, converting the power waveform into waveform data through an analog-digital converter, and extracting first voltage waveform data and first current waveform data of the waveform data according to the periodic characteristics of the power waveform.
S103, subtracting a voltage reference value from the first voltage waveform data and the first current waveform data respectively to obtain standard second voltage waveform data and second current waveform data.
In the embodiment, for convenience of compression, according to the reason of the periodicity of the power waveform (according to the characteristic of the power waveform of 50 hz, 20 ms per cycle), the data of all sampling points are processed to achieve the uniformity of the data, so that the processing speed of the data is accelerated. Therefore, by subtracting the voltage reference value from the first voltage waveform data and the first current waveform data, respectively, to obtain the standard second voltage waveform data and second current waveform data, to achieve the uniformity of the data, specifically, the maximum range of the analog part of the power sampling part is 2.5V, the maximum sampling value in the corresponding AD conversion is 4095, where the waveform is raised by 1.25V, and the AD conversion data is raised by 1.25V compared with the original, the reference is 1.25V, the conversion value in the corresponding single-chip microcomputer AD 430 is 2048, for example, by subtracting 2048 from the first voltage waveform data, respectively, for example: u shapei={U1-2048,U2-2048,...Ui-2048};i=[1,2..1536]Obtaining when U is12250, the second voltage waveform data is 2250-Example (c): i isi={I1-2048,I2-2048,...Ii-2048},i=[1,2..1536],I12200, the second current waveform data is obtained as 2200-.
S104, respectively carrying out front-back difference calculation on the mutually adjacent second voltage waveform data and the mutually adjacent second current waveform data to obtain N voltage difference values and N current difference values.
In this embodiment, the difference between the corresponding point data of each period is found by performing a previous and subsequent difference calculation on the second voltage waveform data and the second current waveform data adjacent to each other, for example, finding a first sampling data point sample [128] of the second voltage waveform data, finding a first sampling data point sample [0] of the first voltage waveform data, and calculating a difference diff _ val-fab (sample [128] -sample [0]) thereof, thereby obtaining a difference value. Specifically, the data of each point corresponding to the previous waveform is subtracted from the data of each point of the next waveform to obtain differential data. In addition, N in the present embodiment is 128.
And S105, searching the maximum deviation bit width of the N voltage difference values and the N current difference values by a comparison method, and compressing differential data consisting of the N voltage difference values and the N current difference values by taking the maximum deviation bit width as a reference.
In this embodiment, after obtaining differential data including N voltage differential values and N current differential values, compressing a first waveform of 12 waveforms, where the method includes bit width compression and front-back point differential compression, then obtaining a maximum deviation bit width of the waveform data after the first power waveform compression, and determining whether the maximum bit width of the compressed waveform data is less than or equal to a preset value, and when determining that the maximum bit width after the compression is less than or equal to the preset value, compressing the remaining power waveforms by differential compression; when the maximum bit width of the compressed waveform data is judged to be larger than a preset value, compressing the rest power waveforms by adopting bit width compression; wherein the preset value is 1024. For example, an nth waveform of the following 11 waveforms is taken, such as waveform sampling points Pn, i, n ═ 2,3,4,5,6,7,8,9,10,11,12], i ═ 1,2,. 128], for waveform Wn ═ Pn, i }, i ═ 1,2,... 128], and for waveform Wn ═ Pn, i }, i ═ 1, Wn +1 ═ Wn +1-Wn ═ Pn +1, i-Pn, i }; n ═ 2,3.. 12], i ═ 1, 2.. 128], where the waveform data after compression is less than or equal to 1024, n ═ n +1 is executed, a differential compression method is used, where the waveform compressed data is greater than 1024, a 12-bit width compression method is used for compression in the case where the front-to-back difference is not optimal, n ═ n +1 is executed, and 1536 point compression is 1152 points, which greatly compresses the data amount.
The method further comprises the following steps of carrying out high-bit encoding on the compressed differential data, and then carrying out wireless transmission, specifically: the first differential data point of the compressed differential data is subjected to high-order coding of logical AND operation and logical OR operation, and then the high-order coded differential data is wirelessly transmitted through RF433, for example, the high-order coding can be that the first differential data point is subjected to AND operation, the AND operation is carried out in a 32767 (decimal system), then the OR operation is carried out according to different bit widths, the object is [2,4, 8,16,32,64,128,256,512,1024,2048], the high-order coding is added to the first point of each wave in the discrete 12 waveform arrays, 1536 points are compressed into 1152 points, and the wireless transmission through the RF433 saves 1/4 time.
In summary, by subtracting a voltage reference value from the first voltage waveform data and the first current waveform data, so as to obtain the standard second voltage waveform data and second current waveform data, uniformly processing according to the subtracted voltage reference value to make the data uniform, thereby accelerating the data processing speed, searching the maximum deviation bit width of the N voltage difference values and the N current difference values by a comparison method according to the periodic rule of the power waveform, taking the maximum deviation bit width as a reference, compressing differential data composed of the N voltage differential values and the N current differential values, thereby realizing the waveform compression of the recording data on the singlechip platform, greatly reducing the quantity of the recording data, the waveform data can be compressed to 75% of the original waveform data, so that the time is greatly shortened in the wireless transmission process.
On the basis of the above embodiment, in a preferred embodiment of the present invention, the method further includes: in the decompression process, 12 discrete waveform data are analyzed according to high-order coding, after bit width decompression, a reference value 2048 is added, 128 data of 12 waveforms are decompressed according to each cycle, and the 128 data are decompressed every time according to cyclic decompression. Meanwhile, the requirement on a processor is very high due to the requirement of low power consumption of the high-precision transient wave recording device, and many existing compression algorithms cannot run on a 430-low memory platform.
Second embodiment of the invention:
referring to fig. 2, an embodiment of the present invention further provides a transient recording data compression apparatus, including:
a waveform recording unit 100 for recording a power waveform at a power equipment failure time;
the waveform data conversion unit 200 is configured to convert the power waveform into waveform data through an analog-to-digital converter, and extract first voltage waveform data and first current waveform data of the waveform data according to a periodic characteristic of the power waveform;
a reference value processing unit 300 for subtracting a voltage reference value from the first voltage waveform data and the first current waveform data, respectively, to obtain standard second voltage waveform data and second current waveform data;
a difference value calculating unit 400 for performing a front-back difference calculation on the mutually adjacent second voltage waveform data and the mutually adjacent second current waveform data, respectively, to obtain N voltage difference values and N current difference values;
a differential data compressing unit 500, configured to search for a maximum deviation bit width of the N voltage differential values and the N current differential values by using a comparison method, and compress differential data composed of the N voltage differential values and the N current differential values by using the maximum deviation bit width as a reference;
on the basis of the above embodiments, in a preferred embodiment of the present invention, the waveform recording unit 100 includes:
the power waveform recording module is used for recording 4 power waveforms before the fault time of the power equipment and 8 power waveforms after the fault time; wherein the power waveform for each cycle includes 128 waveform data points.
On the basis of the above embodiments, in a preferred embodiment of the present invention, the voltage reference value is 2048.
On the basis of the above embodiment, in a preferred embodiment of the present invention, the method further includes: and the differential data high-order coding unit is used for performing high-order coding on the compressed differential data and then performing wireless transmission.
On the basis of the above embodiments, in a preferred embodiment of the present invention, the differential data high-order encoding unit includes:
the logic operation module is used for carrying out logic AND operation and logic OR operation high-order coding on a first differential data point of the compressed differential data;
and the wireless transmission module is used for wirelessly transmitting the high-order coded differential data through RF 433.
Preferably, the method further comprises the following steps:
a maximum deviation bit width obtaining unit, configured to obtain a maximum deviation bit width of the waveform data after the first power waveform compression, and determine whether the maximum bit width of the compressed waveform data is less than or equal to a preset value;
the first judgment unit is used for compressing other power waveforms by adopting differential compression when the compressed maximum bit width is judged to be less than or equal to a preset value;
and the second judging unit is used for compressing other power waveforms by adopting bit width compression when the maximum bit width of the compressed waveform data is judged to be larger than a preset value.
Third embodiment of the invention:
the third embodiment of the present invention further provides a transient recording data compression device, which includes a processor, a memory, and a computer program stored in the memory, where the computer program is executable by the processor to implement the transient recording data compression method according to the above embodiment.
The fourth embodiment of the present invention:
a fourth embodiment of the present invention provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program runs, a device in which the computer-readable storage medium is located is controlled to execute the transient recording data compression method as described above.
Illustratively, the computer program may be divided into one or more units, which are stored in the memory and executed by the processor to accomplish the present invention. The one or more units may be a series of computer program instruction segments capable of performing specific functions, which are used for describing the execution process of the computer program in the transient recording data compression device.
The transient recording data compression device may include, but is not limited to, a processor, a memory. It will be understood by those skilled in the art that the schematic diagram is merely an example of the transient recording data compression device, and does not constitute a limitation of the transient recording data compression device, and may include more or less components than those shown, or combine some components, or different components, for example, the transient recording data compression device may further include an input-output device, a network access device, a bus, etc.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, and the control center of the transient recording data compression device is connected to various parts of the entire transient recording data compression device by various interfaces and lines.
The memory may be used to store the computer program and/or module, and the processor may implement various functions of the transient recording data compression apparatus by executing or executing the computer program and/or module stored in the memory and calling data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein, the integrated unit of the transient recording data compression device can be stored in a computer readable storage medium if the integrated unit is realized in the form of a software functional unit and sold or used as an independent product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (10)

1. A transient recording data compression method is characterized by comprising the following steps:
recording the power waveform of the power equipment at the fault moment;
converting the power waveform into waveform data through an analog-digital converter, and extracting first voltage waveform data and first current waveform data of the waveform data according to periodic characteristics of the power waveform;
respectively subtracting a voltage reference value from the first voltage waveform data and the first current waveform data to obtain standard second voltage waveform data and second current waveform data;
respectively carrying out front-back difference calculation on the second voltage waveform data adjacent to each other and the second current waveform data adjacent to each other to obtain N voltage difference values and N current difference values;
and searching the maximum deviation bit width of the N voltage differential values and the N current differential values by a comparison method, and compressing differential data consisting of the N voltage differential values and the N current differential values by taking the maximum deviation bit width as a reference.
2. The transient recording data compression method of claim 1, wherein the recording of the power waveform at the time of the power equipment failure is specifically:
recording 4 power waveforms before the fault time of the power equipment and 8 power waveforms after the fault time; wherein the power waveform for each cycle includes 128 waveform data points.
3. The method of claim 1, wherein the voltage reference value is 2048.
4. The transient recording data compression method of claim 1, further comprising: and performing high-bit encoding on the compressed differential data, and performing wireless transmission.
5. The transient recording data compression method of claim 4, wherein the compressed differential data is subjected to high-bit encoding and then to wireless transmission, and specifically comprises:
performing logic AND operation and logic OR operation high-order coding on a first differential data point of the compressed differential data;
and wirelessly transmitting the high-order coded differential data through RF 433.
6. The method of claim 5, wherein after the step of compressing the differential data comprising the N voltage difference values and the N current difference values by searching for a maximum deviation bit width of the N voltage difference values and the N current difference values through a comparison method and using the maximum deviation bit width as a reference, the method further comprises, after high-bit encoding the compressed differential data, before the step of performing wireless transmission:
acquiring the maximum deviation bit width of the waveform data after the first power waveform compression, and judging whether the maximum bit width of the compressed waveform data is less than or equal to a preset value or not;
when the compressed maximum bit width is judged to be less than or equal to a preset value, compressing the rest power waveforms by adopting differential compression;
and when the maximum bit width of the compressed waveform data is judged to be larger than a preset value, compressing the rest power waveforms by adopting bit width compression.
7. A transient recording data compression apparatus, comprising:
the waveform recording unit is used for recording the power waveform of the power equipment at the fault moment;
the waveform data conversion unit is used for converting the power waveform into waveform data through an analog-digital converter, and extracting first voltage waveform data and first current waveform data of the waveform data according to the periodic characteristics of the power waveform;
a reference value processing unit, configured to subtract a voltage reference value from the first voltage waveform data and the first current waveform data, respectively, to obtain standard second voltage waveform data and second current waveform data;
a differential value calculating unit for performing a front-back differential calculation on the mutually adjacent second voltage waveform data and the mutually adjacent second current waveform data, respectively, to obtain N voltage differential values and N current differential values;
and the differential data compression unit is used for searching the maximum deviation bit width of the N voltage differential values and the N current differential values by a comparison method, and compressing differential data consisting of the N voltage differential values and the N current differential values by taking the maximum deviation bit width as a reference.
8. The transient recording data compression device of claim 6, wherein the waveform recording unit comprises:
the power waveform recording module is used for recording 4 power waveforms before the fault time of the power equipment and 8 power waveforms after the fault time; wherein the power waveform for each cycle includes 128 waveform data points.
9. A transient recording data compression device comprising a processor, a memory, and a computer program stored in the memory, the computer program being capable of being executed by the processor by the transient recording data compression method of any one of claims 1 to 6.
10. A computer-readable storage medium, comprising a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the transient recording data compression method according to any one of claims 1 to 6.
CN202010234664.XA 2020-03-30 2020-03-30 Transient recording data compression method, device, equipment and storage medium Active CN111220876B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010234664.XA CN111220876B (en) 2020-03-30 2020-03-30 Transient recording data compression method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010234664.XA CN111220876B (en) 2020-03-30 2020-03-30 Transient recording data compression method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111220876A true CN111220876A (en) 2020-06-02
CN111220876B CN111220876B (en) 2022-12-06

Family

ID=70830075

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010234664.XA Active CN111220876B (en) 2020-03-30 2020-03-30 Transient recording data compression method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111220876B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112328563A (en) * 2021-01-04 2021-02-05 清华四川能源互联网研究院 Transient recording data compression method and device, electronic equipment and storage medium
CN117424606A (en) * 2023-12-18 2024-01-19 成都行芯科技有限公司 Waveform data compression method, device, electronic device and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6850237B2 (en) * 2002-04-24 2005-02-01 Yokogawa Electric Corporation Waveform recording system
CN1808132A (en) * 2006-02-09 2006-07-26 中国电力科学研究院 Real-time waveform compressing and storing method for recording transient state process of electric power system
WO2007043256A1 (en) * 2005-10-12 2007-04-19 Nec Corporation Moving image conversion method, moving image conversion device, moving image conversion system, server device, and program
CN104898450A (en) * 2015-06-16 2015-09-09 重庆本原致创科技发展有限公司 Smart home data transmission method in a power line communication and Ad-Hoc network radiofrequency system
JP5933987B2 (en) * 2012-02-21 2016-06-15 キヤノン株式会社 Image coding apparatus and control method thereof
CN105933708A (en) * 2016-04-15 2016-09-07 张彦刚 Data compression-decompression method and device
WO2016141584A1 (en) * 2015-03-12 2016-09-15 Intel Corporation Method and apparatus for compaction of data received over a network
CN107102220A (en) * 2017-03-14 2017-08-29 全球能源互联网研究院 Recorder data processing method and processing device
CN107682017A (en) * 2017-09-29 2018-02-09 中国科学院地质与地球物理研究所 A kind of spaceborne magnetometer magnetic field data compression processing method and device
CN108445321A (en) * 2018-03-19 2018-08-24 成都滕达科技有限公司 A kind of relay protection fault intelligence Wave record method
CN108682388A (en) * 2018-07-27 2018-10-19 京东方科技集团股份有限公司 data compression and decompression method, device and display device
EP3588951A1 (en) * 2018-06-29 2020-01-01 Imagination Technologies Limited Guaranteed data compression

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6850237B2 (en) * 2002-04-24 2005-02-01 Yokogawa Electric Corporation Waveform recording system
WO2007043256A1 (en) * 2005-10-12 2007-04-19 Nec Corporation Moving image conversion method, moving image conversion device, moving image conversion system, server device, and program
CN1808132A (en) * 2006-02-09 2006-07-26 中国电力科学研究院 Real-time waveform compressing and storing method for recording transient state process of electric power system
JP5933987B2 (en) * 2012-02-21 2016-06-15 キヤノン株式会社 Image coding apparatus and control method thereof
WO2016141584A1 (en) * 2015-03-12 2016-09-15 Intel Corporation Method and apparatus for compaction of data received over a network
CN104898450A (en) * 2015-06-16 2015-09-09 重庆本原致创科技发展有限公司 Smart home data transmission method in a power line communication and Ad-Hoc network radiofrequency system
CN105933708A (en) * 2016-04-15 2016-09-07 张彦刚 Data compression-decompression method and device
CN107102220A (en) * 2017-03-14 2017-08-29 全球能源互联网研究院 Recorder data processing method and processing device
CN107682017A (en) * 2017-09-29 2018-02-09 中国科学院地质与地球物理研究所 A kind of spaceborne magnetometer magnetic field data compression processing method and device
CN108445321A (en) * 2018-03-19 2018-08-24 成都滕达科技有限公司 A kind of relay protection fault intelligence Wave record method
EP3588951A1 (en) * 2018-06-29 2020-01-01 Imagination Technologies Limited Guaranteed data compression
CN108682388A (en) * 2018-07-27 2018-10-19 京东方科技集团股份有限公司 data compression and decompression method, device and display device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112328563A (en) * 2021-01-04 2021-02-05 清华四川能源互联网研究院 Transient recording data compression method and device, electronic equipment and storage medium
CN112328563B (en) * 2021-01-04 2021-05-18 清华四川能源互联网研究院 Transient recording data compression method and device, electronic equipment and storage medium
CN117424606A (en) * 2023-12-18 2024-01-19 成都行芯科技有限公司 Waveform data compression method, device, electronic device and storage medium
CN117424606B (en) * 2023-12-18 2024-04-16 成都行芯科技有限公司 Waveform data compression method, device, electronic device and storage medium

Also Published As

Publication number Publication date
CN111220876B (en) 2022-12-06

Similar Documents

Publication Publication Date Title
CN111220876B (en) Transient recording data compression method, device, equipment and storage medium
CN112857669B (en) Fault detection method, device and equipment of pressure sensor and storage medium
CN110021792B (en) Charging control method and device, terminal equipment and computer storage medium
CN104636240B (en) A kind of acquisition methods and terminal of information report
CN112688687B (en) Method and device for acquiring physical information to be tested, computer equipment and storage medium
CN109039342B (en) Compression method and system and decompression method and system of output data
CN110995273A (en) Data compression method, device, equipment and medium for power database
CN113743650B (en) Power load prediction method, device, equipment and storage medium
CN109240916B (en) Information output control method, information output control device and computer readable storage medium
CN114726380B (en) Monitoring data lossless compression method, device, equipment and readable storage medium
CN112150033A (en) Express cabinet system management method and device and electronic equipment
CN116470919A (en) Data compression method, device, electronic equipment and storage medium
CN112686365A (en) Method and device for operating neural network model and computer equipment
CN112614005B (en) Method and device for processing reworking state of enterprise
CN112712610B (en) Vehicle diagnosis log processing method and device, terminal equipment and readable storage medium
CN117155404B (en) Data processing method and device, electric energy meter and medium
CN111025010B (en) Method and device for measuring active response time of equipment and terminal equipment
CN110570902A (en) Copy number variation analysis method, system and computer readable storage medium
CN112861365B (en) Low-voltage distribution network load state estimation method and device and terminal equipment
CN110426638B (en) Method and system for rapidly calculating open-circuit voltage of battery
CN114327264B (en) Time sequence data compression method, device and equipment
CN117124856B (en) Circulation overvoltage identification method and device, readable storage medium and electric automobile
CN112365983B (en) Height development evaluation method and terminal equipment
CN116050439A (en) ADC sampling jitter elimination method and device based on integral model
CN117671044A (en) Image processing method, device, electronic equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A method, device, device, and storage medium for compressing transient recording data

Effective date of registration: 20230922

Granted publication date: 20221206

Pledgee: China Everbright Bank Limited by Share Ltd. Xiamen branch

Pledgor: Xiamen Sixin Smart Power Technology Co.,Ltd.

Registration number: Y2023980058200