Distribution network data sampling method, device and electronic equipment

Through the instantaneous change sensing operator and the improved Farrow filter, the problem of fast changing speed of distortion signals in distribution network electrical quantity data is solved, effective extraction of mutation features and high-precision sampling are achieved, adapting to the data sampling needs of different scenarios. .

CN118152763BActive Publication Date: 2024-09-13BEIJING SMARTCHIP MICROELECTRONICS TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410581309.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-11
Publication Date
2024-09-13
Estimated Expiration
2044-05-11

AI Technical Summary

Technical Problem

The distortion signal in the electrical quantity data of the distribution network changes very quickly, making it difficult to effectively extract mutation features.

Method used

The instantaneous change sensing operator is used to calculate the instantaneous energy of the electrical quantity data set to be measured and the electrical quantity data set without mutation. The signal mutation is determined by comparing the energy mean value with the first energy value. An appropriate sampling rate is selected for sampling, and the improved Farrow filter is used. The processor performs resampling and data compression.

Benefits of technology

It achieves effective extraction and high-precision sampling of mutation features in distribution network electrical quantity data, adapts to the data sampling needs of different operating scenarios, and improves measurement accuracy and data transmission efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118152763B
    Figure CN118152763B
Patent Text Reader

Abstract

The present invention provides a distribution network data sampling method, device and electronic device, belonging to the field of data processing technology. The distribution network data sampling method includes: obtaining a data set of electrical quantities to be measured and a data set of electrical quantities that have not mutated; calculating instantaneous energy for the data set of electrical quantities to be measured and the data set of electrical quantities that have not mutated respectively based on an instantaneous change sensing operator, and obtaining multiple first energy values ​​of the data set of electrical quantities to be measured, and multiple second energy values ​​of the data set of electrical quantities that have not mutated; determining a signal mutation analysis result of the data set of electrical quantities to be measured based on the energy mean of the multiple second energy values ​​and the comparison result of the multiple first energy values; when the signal mutation analysis result determines that the data set of electrical quantities to be measured has a signal mutation, sampling the data set of electrical quantities to be measured based on a set sampling rate to obtain sampled data. The present invention solves the problem of how to effectively extract mutation features when the distorted signal in the electrical quantity data of the distribution network changes very quickly.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a distribution network data sampling method, a distribution network data sampling device and an electronic device. Background Art

[0002] After distributed renewable energy is connected to the distribution network, the electrical signal bandwidth is wide and there is a lot of interference. Figure 2 It represents the time domain waveform of the recorded data obtained by spectrum analysis of a section of actual on-site phase recorded data. Figure 3 The frequency spectrum of the recorded data after removing the fundamental frequency component. Figure 3 It can be seen that there are a large number of interference components around the fundamental frequency component, and their dynamic changes are fast, which has a great impact on the measurement accuracy.

[0003] Since the distorted signals in the electrical quantity data of the distribution network change very quickly, how to effectively extract the mutation features has become an urgent problem to be solved. Summary of the invention

[0004] The purpose of the embodiments of the present invention is to provide a distribution network data sampling method, a distribution network data sampling device and an electronic device to solve the problem that the distorted signal in the electrical quantity data of the distribution network changes very quickly and how to effectively extract the mutation characteristics.

[0005] In order to achieve the above object, an embodiment of the present invention provides a distribution network data sampling method, including:

[0006] Acquire a data set of electrical quantities to be measured and a data set of electrical quantities that have not undergone a mutation; the data set of electrical quantities to be measured includes a plurality of data of electrical quantities to be measured collected within a first set time; the data set of electrical quantities that have not undergone a mutation includes a plurality of data of electrical quantities that have not undergone a mutation collected within a second set time;

[0007] Based on the instantaneous change perception operator, the instantaneous energy of the electrical quantity data set to be measured and the electrical quantity data set without mutation is calculated respectively to obtain a plurality of first energy values ​​of the electrical quantity data set to be measured and a plurality of second energy values ​​of the electrical quantity data set without mutation;

[0008] Determining a signal mutation analysis result of the electrical quantity data set to be measured based on a comparison result of an energy mean of the plurality of second energy values ​​and the plurality of first energy values;

[0009] When the signal mutation analysis result determines that the electrical quantity data set to be measured has a signal mutation, the electrical quantity data set to be measured is sampled based on a set sampling rate to obtain sampled data.

[0010] Optionally, the determining the signal mutation analysis result of the measured electrical quantity data set based on the comparison result of the energy mean of the plurality of second energy values ​​and the plurality of first energy values ​​includes:

[0011] In the case that any one of the first energy values ​​is greater than or equal to a set multiple of the energy average of the plurality of second energy values, it is determined that a signal mutation exists in the measured electrical quantity data set.

[0012] Optionally, the determining the signal mutation analysis result of the measured electrical quantity data set based on the comparison result of the energy mean of the plurality of second energy values ​​and the plurality of first energy values ​​includes:

[0013] In the case that an energy average of the plurality of first energy values ​​is greater than or equal to a set multiple of an energy average of the plurality of second energy values, it is determined that a signal mutation exists in the electrical quantity data set to be measured.

[0014] Optionally, after sampling the electrical quantity data set to be measured based on the set sampling rate to obtain the sampled data, the method further includes:

[0015] Resampling the sampled data based on an improved Farrow filter to obtain target data;

[0016] Performing data compression and transmission operations on the target data;

[0017] The improved Farrow filter is constructed based on the symmetric filter coefficients of the original Farrow filter.

[0018] Optionally, the improved Farrow filter is expressed by the following formula:

[0019] ;

[0020] in, x () represents sampling data, y () represents the target data of the output of the improved Farrow filter, k , k m represents the conversion factor, d Indicates the delay parameter, N represents the polynomial order, l represents the polynomial order variable, L Represents an even number, C l (k) represents the delay filter parameter, m Represents a discrete quantity.

[0021] Optionally, the instantaneous change perception operator includes a Teager-Kaiser energy operator or an envelope derivative operator.

[0022] On the other hand, an embodiment of the present invention further provides a distribution network data sampling device, including:

[0023] A data acquisition module, used to acquire a data set of electrical quantities to be measured and a data set of electrical quantities that have not undergone a mutation; the data set of electrical quantities to be measured includes a plurality of data of electrical quantities to be measured collected within a first set time; the data set of electrical quantities that have not undergone a mutation includes a plurality of data of electrical quantities that have not undergone a mutation collected within a second set time;

[0024] An instantaneous energy calculation module, configured to calculate instantaneous energy of the electrical quantity data set to be measured and the electrical quantity data set without mutation based on an instantaneous change perception operator, respectively, to obtain a plurality of first energy values ​​of the electrical quantity data set to be measured and a plurality of second energy values ​​of the electrical quantity data set without mutation;

[0025] A mutation analysis module, configured to determine a signal mutation analysis result of the electrical quantity data set to be measured based on a comparison result of an energy mean of the plurality of second energy values ​​and the plurality of first energy values;

[0026] The sampling module is used to sample the electrical quantity data set to be measured based on a set sampling rate to obtain sampling data when the signal mutation analysis result determines that the electrical quantity data set to be measured has a signal mutation.

[0027] Optionally, the determining the signal mutation analysis result of the measured electrical quantity data set based on the comparison result of the energy mean of the plurality of second energy values ​​and the plurality of first energy values ​​includes:

[0028] In the case that any one of the first energy values ​​is greater than or equal to a set multiple of the energy average of the plurality of second energy values, it is determined that a signal mutation exists in the measured electrical quantity data set.

[0029] Optionally, the determining the signal mutation analysis result of the measured electrical quantity data set based on the comparison result of the energy mean of the plurality of second energy values ​​and the plurality of first energy values ​​includes:

[0030] In the case that an energy average of the plurality of first energy values ​​is greater than or equal to a set multiple of an energy average of the plurality of second energy values, it is determined that a signal mutation exists in the electrical quantity data set to be measured.

[0031] Optionally, after sampling the electrical quantity data set to be measured based on the set sampling rate to obtain the sampled data, the method further includes:

[0032] Resampling the sampled data based on an improved Farrow filter to obtain target data;

[0033] Performing data compression and transmission operations on the target data;

[0034] The improved Farrow filter is constructed based on the symmetric filter coefficients of the original Farrow filter.

[0035] Optionally, the improved Farrow filter is expressed by the following formula:

[0036] ;

[0037] in, x () represents sampling data, y () represents the target data of the output of the improved Farrow filter, k , k m represents the conversion factor, d Indicates the delay parameter, N represents the polynomial order, l represents the polynomial order variable, L Represents an even number, C l (k) represents the delay filter parameter, m Represents a discrete quantity.

[0038] Optionally, the instantaneous change perception operator includes a Teager-Kaiser energy operator or an envelope derivative operator.

[0039] On the other hand, the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned distribution network data sampling method when executing the program.

[0040] On the other hand, the present invention further provides a machine-readable storage medium having a computer program stored thereon, and the computer program implements the above-mentioned distribution network data sampling method when executed by a processor.

[0041] On the other hand, the present invention further provides a computer program product, including a computer program, and when the computer program is executed by a processor, the above-mentioned distribution network data sampling method is implemented.

[0042] Through the above technical solution, the embodiment of the present invention calculates the instantaneous energy of the electrical quantity data set to be measured and the electrical quantity data set that has not mutated, based on the instantaneous change perception operator that is sensitive to the instantaneous change of the signal, and then judges the signal mutation analysis result of the electrical quantity data set to be measured based on the energy mean of the calculated multiple second energy values ​​and the comparison result of the multiple first energy values. The embodiment of the present invention realizes effective extraction of mutation features by comparing the instantaneous energy calculated for the electrical quantity data set to be measured with the instantaneous energy calculated for the electrical quantity data set that has not mutated.

[0043] Other features and advantages of the embodiments of the present invention will be described in detail in the subsequent detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present invention, but do not constitute a limitation on the embodiments of the present invention. In the accompanying drawings:

[0045] Figure 1 It is one of the flow charts of the distribution network data sampling method provided by the present invention;

[0046] Figure 2 It represents the time domain waveform of the recorded data obtained by spectrum analysis of a section of actual on-site phase recorded data;

[0047] Figure 3 The spectrum diagram showing the recorded data after removing the fundamental frequency component;

[0048] Figure 4 This is the second flow chart of the distribution network data sampling method provided by the present invention;

[0049] Figure 5 This is the third flow chart of the distribution network data sampling method provided by the present invention;

[0050] Figure 6 It is a structural schematic diagram of the distribution network data sampling device provided by the present invention;

[0051] Figure 7 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0052] The specific implementation of the embodiment of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the embodiment of the present invention, and is not used to limit the embodiment of the present invention.

[0053] Method Embodiment

[0054] Please refer to Figure 1, an embodiment of the present invention provides a distribution network data sampling method, comprising:

[0055] Step 100, obtaining a data set of electrical quantities to be measured and a data set of electrical quantities that have not undergone mutation; the data set of electrical quantities to be measured includes a plurality of data of electrical quantities to be measured collected within a first set time; the data set of electrical quantities that have not undergone mutation includes a plurality of data of electrical quantities that have not undergone mutation collected within a second set time.

[0056] The electronic device obtains raw data, namely, a data set of electrical quantities to be measured and a data set of electrical quantities that have not undergone mutations. The electrical quantity data may be distribution network data such as current, voltage, power, and frequency in the distribution network. The data set of electrical quantities to be measured includes a plurality of electrical quantity data to be measured collected within a first set time; the data set of electrical quantities that have not undergone mutations includes a plurality of electrical quantity data that have not undergone mutations collected within a second set time. For example, the calculation window length selected in the embodiment of the present invention is 10 cycles, and each cycle may be 20ms. The first set time and the second set time may be 10 cycles. The data set of electrical quantities to be measured includes a plurality of electrical quantity data to be measured of 10 cycles. The data set of electrical quantities that have not undergone mutations includes a plurality of electrical quantity data that have not undergone mutations of 10 cycles. Electrical quantity data that have not undergone mutations refers to electrical quantity data that does not contain mutation features.

[0057] Step 200: Calculate instantaneous energy of the electrical quantity data set to be measured and the electrical quantity data set without sudden change based on the instantaneous change perception operator to obtain multiple first energy values ​​of the electrical quantity data set to be measured and multiple second energy values ​​of the electrical quantity data set without sudden change.

[0058] The embodiment of the present invention may use an instantaneous change perception operator that is sensitive to the instantaneous change of the waveform signal to calculate the instantaneous energy of the electrical quantity data set to be measured and the electrical quantity data set that has not undergone a mutation, so as to determine whether there is a mutation signal. In one embodiment, the embodiment of the present invention may use the Teager-Kaiser energy operator to calculate the instantaneous energy of the electrical quantity data set to be measured and the electrical quantity data set that has not undergone a mutation, respectively. For example, the electrical quantity data set that has not undergone a mutation is processed by the Teager-Kaiser energy operator to obtain P(t), that is, the signal moment with a larger energy value may be obtained. X 1. X 2.…… X k Multiple second energy values P 1. P 2.…… P k Specifically, for a discrete signal (x[n]), the Teager-Kaiser energy operator can be defined as:

[0059] E[n]=x 2 [n]-x[n-1]*x[n+1];

[0060] Where E[n] represents the instantaneous energy of the signal at time (n). This operator estimates the energy of the signal by calculating the difference between the square of the current sample and the product of the two adjacent samples.

[0061] Similarly, the Teager-Kaiser energy operator is used to process the measured electrical quantity data set to obtain multiple first energy values. P 1', P 2', ..., P k ’ The embodiment of the present invention can use the characteristic that the Teager-Kaiser energy operator is sensitive to the instantaneous change of the waveform signal to calculate the instantaneous energy of the measured electrical quantity data set and the non-mutated electrical quantity data set using the Teager-Kaiser energy operator.

[0062] In other aspects of the embodiments of the present invention, the instantaneous change sensing operator further includes an envelope derivative operator. The embodiments of the present invention can also use the envelope derivative operator to calculate the instantaneous energy of the electrical quantity data set to be measured and the electrical quantity data set without mutation, so as to determine whether there is a mutation signal.

[0063] Step 300: Determine a signal mutation analysis result of the measured electrical quantity data set based on a comparison result of an energy mean value of the plurality of second energy values ​​and the plurality of first energy values.

[0064] The electronic device calculates the average of multiple second energy values ​​of the non-mutated electrical quantity data set, and compares the energy average of the multiple second energy values ​​with the multiple first energy values, and determines whether there is a mutation signal based on the comparison result. The average Teager-Kaiser energy P of the non-mutated electrical quantity data set of the first 10 cycles can be calculated. m , where the average value P m The calculation formula is as follows:

[0065] .

[0066] Where n is the number of sampling points in the first 10 cycles, and T is the sampling time in the first 10 cycles.

[0067] When the difference between the energy mean of any first energy value and the second energy value of the measured electrical quantity data set is greater than or equal to the set threshold, it is considered that the first energy value at this time exceeds the average energy value of the general level by a large distance, and it can be judged that the first energy value is a mutation signal, and there is a mutation signal in the measured electrical quantity data set. Otherwise, when the difference between the energy mean of all first energy values ​​and the second energy value of the measured electrical quantity data set is less than the set threshold, it is considered that all first energy values ​​of the measured electrical quantity data set are slightly different from the average energy value of the general level, and the difference is small, and it can be judged that there is no mutation signal in all first energy values ​​of the measured electrical quantity data set.

[0068] Step 400: When the signal mutation analysis result determines that the electrical quantity data set to be measured has a signal mutation, the electrical quantity data set to be measured is sampled based on a set sampling rate to obtain sampled data.

[0069] When the signal mutation analysis result determines that the electrical quantity data set to be measured has a signal mutation, since the distorted signal in the electrical quantity data of the distribution network changes very quickly, it is necessary to select the highest sampling rate currently available to sample the electrical quantity data set to be measured to obtain sampled data, so that the sampling will not lose valid signals. For example, the electrical quantity data set to be measured can be sampled at a set sampling rate of 50 Hz or 100 Hz to obtain sampled data.

[0070] It should be noted that when there is no difference between the energy mean of a first energy value and a second energy value of the electrical quantity data set to be measured that is greater than or equal to the set threshold, or there is no first energy value of the electrical quantity data set to be measured that is greater than or equal to a set multiple (such as 10 times) of the energy mean of the second energy value, it means that there is no mutation feature in the electrical quantity data set to be measured, and there is no need to sample at the current highest sampling rate.

[0071] The embodiment of the present invention utilizes the characteristic that the Teager-Kaiser energy operator is sensitive to the instantaneous change of the waveform signal, calculates the instantaneous energy of the electrical quantity data set to be measured and the electrical quantity data set without mutation, respectively, and judges whether there is a mutation signal based on the comparison result of the calculated energy mean of multiple second energy values ​​of the electrical quantity data set without mutation and multiple first energy values ​​of the electrical quantity data set to be measured.

[0072] The embodiment of the present invention calculates instantaneous energy for the electrical quantity data set to be measured and the electrical quantity data set that has not mutated, based on an instantaneous change perception operator that is sensitive to instantaneous changes in signals, and then determines the signal mutation analysis result of the electrical quantity data set to be measured based on the energy mean of the calculated multiple second energy values ​​and the comparison result of the multiple first energy values. The embodiment of the present invention realizes effective extraction of mutation features by comparing the instantaneous energy calculated for the electrical quantity data set to be measured with the instantaneous energy calculated for the electrical quantity data set that has not mutated.

[0073] In other aspects of the embodiments of the present invention, step 300, based on the comparison results of the energy mean of the multiple second energy values ​​and the multiple first energy values, determines the signal mutation analysis results of the electrical quantity data set to be measured, including: when there is any first energy value that is greater than or equal to a set multiple of the energy mean of the multiple second energy values, determines that there is a signal mutation in the electrical quantity data set to be measured.

[0074] The Teager-Kaiser energy operator is used to process the measured electrical quantity data set to obtain multiple first energy values. P 1', P 2', ..., P k ’ . In the presence of the first energy value P 1', P 2', ..., P k ’ If any one of the energy values ​​is greater than or equal to a set multiple (for example, 10 times) of the energy mean of the multiple second energy values, it means that there is a signal that far exceeds the general level of the energy value of the non-mutated electrical quantity. At this time, it is considered that there is a signal mutation in the measured electrical quantity data set. At this time, the measured electrical quantity data set needs to be sampled at the current highest sampling rate.

[0075] Based on the characteristic that the Teager-Kaiser energy operator is sensitive to instantaneous changes in waveform signals, the embodiment of the present invention effectively extracts the mutation features of the electrical quantity data set to be measured, realizes fast and effective detection, and thus selects a higher sampling rate.

[0076] In other aspects of the embodiments of the present invention, step 300, based on the comparison results of the energy mean of the multiple second energy values ​​and the multiple first energy values, determines the signal mutation analysis results of the electrical quantity data set to be measured, including: when the energy mean of the multiple first energy values ​​is greater than or equal to a set multiple of the energy mean of the multiple second energy values, determines that there is a signal mutation in the electrical quantity data set to be measured.

[0077] The Teager-Kaiser energy operator is used to process the measured electrical quantity data set to obtain multiple first energy values. P 1', P 2', ..., P k ’。 For multiple first energy values P 1', P 2', ..., P k ’ Calculate the average value and get P m ’ . In the presence of the energy average of the plurality of first energy values P m ’ An energy average greater than or equal to the plurality of second energy values P m When the set multiple (for example, 5 times) of the measured electrical quantity is exceeded, it indicates that there is a signal far exceeding the general level of the energy value of the non-mutated electrical quantity. At this time, it is considered that there is a signal mutation in the measured electrical quantity data set. At this time, the measured electrical quantity data set needs to be sampled at the current highest sampling rate.

[0078] Based on the characteristic that the Teager-Kaiser energy operator is sensitive to instantaneous changes in waveform signals, the embodiment of the present invention effectively extracts the mutation features of the electrical quantity data set to be measured, realizes fast and effective detection, and thus selects a higher sampling rate.

[0079] For other aspects of the embodiments of the present invention, please refer to Figure 4 and Figure 5 Step 400, sampling the electrical quantity data set to be measured based on a set sampling rate, after obtaining the sampled data, further includes:

[0080] Step 500: resample the sampled data based on an improved Farrow filter to obtain target data.

[0081] Step 600: compress and transmit the target data.

[0082] After sampling the electrical quantity data set to be measured at a set sampling rate to obtain the sampled data, it is necessary to achieve flexible conversion between different sampling rates by improving the waveform resampling method of the Farrow structure, so as to achieve the purpose of complete and accurate measurement of the effective components of the signal with relatively small hardware resources. Among them, the improved Farrow filter of the embodiment of the present invention is constructed based on the original Farrow filter based on symmetrical filter coefficients.

[0083] The original Farrow filter can perform fractional delay filtering flexibly and efficiently. When the delay parameter changes, there is no need to recalculate the filter coefficients, which is very suitable for hardware implementation. The basic principle of the Farrow structure fractional delay filter (original Farrow filter) is that the filter coefficients are determined by the delay parameter. d It is composed of an N-order polynomial.

[0084] The conversion formula between the sender x and the resampled receiver y is as follows:

[0085] Formula (1)

[0086] The sender signal sequence is: x ( n ), the resampled signal sequence is y ( m ), delay parameter , k m is an integer, m and n are discrete quantities, h () represents impulse response.

[0087] make k = k m -n ,get Formula (2)

[0088] in k m , k is the conversion factor.

[0089] Farrow structure Formula (3)

[0090] in, l is the polynomial order variable, C l (k) represents the delay filter parameter, N is the polynomial order, h ( k ) represents the impulse response.

[0091] Substituting formula (3) into formula (2) yields:

[0092] Formula (4)

[0093] The embodiment of the present invention proposes an improved Farrow structure with symmetrical filter coefficients, which reduces the amount of calculation, halves the storage complexity, and improves efficiency.

[0094] The embodiment of the present invention assumes that h ( k ) has a bandwidth of , L is an even number, then formula (2) becomes:

[0095] (Formula 5)

[0096] Unit sampling interval T x Inside Substituting it into formula (5), the improved Farrow filter is expressed by the following formula:

[0097] ;(Formula 6)

[0098] in, x () represents sampling data, y () represents the target data of the output of the improved Farrow filter, k , k m represents the conversion factor, d Indicates the delay parameter, N represents the polynomial order, l represents the polynomial order variable, L Represents an even number, m Represents a discrete quantity.

[0099] In a sampling interval T x In the example, the Farrow structure coefficient remains unchanged, but the delay parameter is variable. d , you can change the delay parameters arbitrarily d To improve the sampling rate, for K-order Lagrange interpolation, using an n-order Farrow structure only requires the calculation and storage of (n+1)×(K+1) improved Farrow structures. h ( k ) is symmetrical, which is (n+1)×(K+1) / 2, so it is simplified and the symmetry is used to improve efficiency. Therefore, the improved Farrow structure with symmetrical filter coefficients in the embodiment of the present invention reduces the amount of calculation, halves the storage complexity, and improves efficiency. At the same time, the embodiment of the present invention adapts to the high-precision data sampling requirements of different operation scenarios of the distribution network by designing an improved Farrow filter with flexible switching sampling rate.

[0100] After resampling the sampled data based on the improved Farrow filter to obtain target data, the embodiment of the present invention performs lossless data compression (for example, lossless compression using Arithmetic Coding (AC) compression algorithm) and transmission operations on the target data.

[0101] The embodiment of the present invention utilizes the characteristic that the instantaneous change perception operator is sensitive to instantaneous changes to effectively extract mutation features and achieve fast and effective detection, thereby selecting a higher sampling rate for sampling. At the same time, the embodiment of the present invention is based on an improved Farrow filter to design a synchronous waveform distribution network data sampling method with flexible switching of sampling rates, which meets the high-precision data sampling requirements of different distribution network operation scenarios.

[0102] Device Embodiment

[0103] Please refer to Figure 6 On the other hand, an embodiment of the present invention further provides a distribution network data sampling device, comprising:

[0104] The data acquisition module 601 is used to acquire a data set of electrical quantities to be measured and a data set of electrical quantities that have not undergone a mutation; the data set of electrical quantities to be measured includes a plurality of data of electrical quantities to be measured collected within a first set time; the data set of electrical quantities that have not undergone a mutation includes a plurality of data of electrical quantities that have not undergone a mutation collected within a second set time;

[0105] An instantaneous energy calculation module 602 is used to calculate the instantaneous energy of the electrical quantity data set to be measured and the electrical quantity data set without sudden change based on the instantaneous change perception operator, so as to obtain a plurality of first energy values ​​of the electrical quantity data set to be measured and a plurality of second energy values ​​of the electrical quantity data set without sudden change;

[0106] A mutation analysis module 603, configured to determine a signal mutation analysis result of the electrical quantity data set to be measured based on a comparison result of an energy mean of the plurality of second energy values ​​and the plurality of first energy values;

[0107] The sampling module 604 is used to sample the electrical quantity data set to be measured based on a set sampling rate to obtain sampled data when the signal mutation analysis result determines that the electrical quantity data set to be measured has a signal mutation.

[0108] Optionally, the determining the signal mutation analysis result of the measured electrical quantity data set based on the comparison result of the energy mean of the plurality of second energy values ​​and the plurality of first energy values ​​includes:

[0109] In the case that any one of the first energy values ​​is greater than or equal to a set multiple of the energy average of the plurality of second energy values, it is determined that a signal mutation exists in the measured electrical quantity data set.

[0110] Optionally, the determining the signal mutation analysis result of the measured electrical quantity data set based on the comparison result of the energy mean of the plurality of second energy values ​​and the plurality of first energy values ​​includes:

[0111] In the case that an energy average of the plurality of first energy values ​​is greater than or equal to a set multiple of an energy average of the plurality of second energy values, it is determined that a signal mutation exists in the electrical quantity data set to be measured.

[0112] Optionally, after sampling the electrical quantity data set to be measured based on the set sampling rate to obtain the sampled data, the method further includes:

[0113] Resampling the sampled data based on an improved Farrow filter to obtain target data;

[0114] Performing data compression and transmission operations on the target data;

[0115] The improved Farrow filter is constructed based on the symmetric filter coefficients of the original Farrow filter.

[0116] Optionally, the improved Farrow filter is expressed by the following formula:

[0117] ;

[0118] in, x () represents sampling data, y () represents the target data of the output of the improved Farrow filter, k , k m represents the conversion factor, d Indicates the delay parameter, N represents the polynomial order, l represents the polynomial order variable, L Represents an even number, C l (k) represents the delay filter parameter, m Represents a discrete quantity.

[0119] Optionally, the instantaneous change perception operator includes a Teager-Kaiser energy operator or an envelope derivative operator.

[0120] The distribution network data sampling device includes a processor and a memory. The above-mentioned data acquisition module 601, instantaneous energy calculation module 602, mutation analysis module 603 and sampling module 604 are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.

[0121] The processor includes a kernel, which calls the corresponding program unit from the memory. There can be one or more kernels.

[0122] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0123] Figure 7 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 7 As shown, the electronic device may include: a processor (processor) 710, a communication interface (Communications Interface) 720, a memory (memory) 730 and a communication bus 740, wherein the processor 710, the communication interface 720, and the memory 730 communicate with each other through the communication bus 740. The processor 710 can call the logic instructions in the memory 730 to execute the distribution network data sampling method, which includes: obtaining a data set of electrical quantity to be measured and a data set of electrical quantity that has not undergone a mutation; the data set of electrical quantity to be measured includes multiple data of electrical quantity to be measured collected within a first set time; the data set of electrical quantity that has not undergone a mutation includes multiple data of electrical quantity to be measured that has not undergone a mutation collected within a second set time; based on the instantaneous change perception operator, respectively calculating the instantaneous energy of the data set of electrical quantity to be measured and the data set of electrical quantity that has not undergone a mutation, to obtain multiple first energy values ​​of the data set of electrical quantity to be measured, and multiple second energy values ​​of the data set of electrical quantity that has not undergone a mutation; based on the comparison result of the energy mean of the multiple second energy values ​​and the multiple first energy values, determining the signal mutation analysis result of the data set of electrical quantity to be measured; when the signal mutation analysis result determines that the data set of electrical quantity to be measured has a signal mutation, sampling the data set of electrical quantity to be measured based on the set sampling rate to obtain sampled data.

[0124] In addition, the logic instructions in the above-mentioned memory 730 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0125] On the other hand, the present invention also provides a computer program product, which includes a computer program, which can be stored on a machine-readable storage medium. When the computer program is executed by a processor, the computer can execute a distribution network data sampling method, which includes: obtaining a data set of electrical quantities to be measured and a data set of electrical quantities that have not mutated; the data set of electrical quantities to be measured includes multiple data of electrical quantities to be measured collected within a first set time; the data set of electrical quantities that have not mutated includes multiple data of electrical quantities that have not mutated collected within a second set time; based on an instantaneous change perception operator, respectively calculating instantaneous energy for the data set of electrical quantities to be measured and the data set of electrical quantities that have not mutated, to obtain multiple first energy values ​​of the data set of electrical quantities to be measured, and multiple second energy values ​​of the data set of electrical quantities that have not mutated; based on a comparison result of an energy mean of the multiple second energy values ​​and the multiple first energy values, determining a signal mutation analysis result of the data set of electrical quantities to be measured; when the signal mutation analysis result determines that the data set of electrical quantities to be measured has a signal mutation, sampling the data set of electrical quantities to be measured based on a set sampling rate to obtain sampled data.

[0126] On the other hand, the present invention also provides a machine-readable storage medium having a computer program stored thereon, which is implemented when the processor executes the distribution network data sampling method, the method comprising: obtaining a data set of electrical quantity to be measured and a data set of electrical quantity that has not mutated; the data set of electrical quantity to be measured includes a plurality of data of electrical quantity to be measured collected within a first set time; the data set of electrical quantity that has not mutated includes a plurality of data of electrical quantity to be measured that has not mutated collected within a second set time; calculating instantaneous energy for the data set of electrical quantity to be measured and the data set of electrical quantity that has not mutated based on an instantaneous change perception operator, respectively, to obtain a plurality of first energy values ​​of the data set of electrical quantity to be measured, and a plurality of second energy values ​​of the data set of electrical quantity that has not mutated; determining a signal mutation analysis result of the data set of electrical quantity to be measured based on a comparison result of an energy mean of the plurality of second energy values ​​and the plurality of first energy values; in a case where the signal mutation analysis result determines that the data set of electrical quantity to be measured has a signal mutation, sampling the data set of electrical quantity to be measured based on a set sampling rate to obtain sampled data.

[0127] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they 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 scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0128] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0129] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A distribution network data sampling method, It is characterized in that include: Acquire a data set of electrical quantities to be measured and a data set of electrical quantities that have not undergone mutation; the data set of electrical quantities to be measured includes a plurality of data of electrical quantities to be measured collected within a first set time; The non-mutated electrical quantity data set includes a plurality of non-mutated electrical quantity data collected within a second set time; Based on the instantaneous change perception operator, the instantaneous energy of the electrical quantity data set to be measured and the electrical quantity data set without mutation is calculated respectively to obtain a plurality of first energy values ​​of the electrical quantity data set to be measured and a plurality of second energy values ​​of the electrical quantity data set without mutation; Determining a signal mutation analysis result of the electrical quantity data set to be measured based on a comparison result of an energy mean of the plurality of second energy values ​​and the plurality of first energy values; When the signal mutation analysis result determines that the electrical quantity data set to be measured has a signal mutation, sampling the electrical quantity data set to be measured based on a set sampling rate to obtain sampled data; After sampling the electrical quantity data set to be measured based on the set sampling rate to obtain the sampled data, the method further includes: Resampling the sampled data based on an improved Farrow filter to obtain target data; Performing data compression and transmission operations on the target data; Wherein, the improved Farrow filter is constructed based on the symmetric filter coefficients of the original Farrow filter; The improved Farrow filter is expressed by the following formula: ; in, x () represents sampling data, y () represents the target data of the output of the improved Farrow filter, k , k m represents the conversion factor, d Indicates the delay parameter, N represents the polynomial order, l represents the polynomial order variable, L Represents an even number, C l (k) represents the delay filter parameter, m Represents a discrete quantity.

2. The distribution network data sampling method according to claim 1, It is characterized in that The determining of the signal mutation analysis result of the measured electrical quantity data set based on the comparison result of the energy mean of the plurality of second energy values ​​and the plurality of first energy values ​​comprises: In the case that any one of the first energy values ​​is greater than or equal to a set multiple of the energy average of the plurality of second energy values, it is determined that a signal mutation exists in the measured electrical quantity data set.

3. The distribution network data sampling method according to claim 1, It is characterized in that The determining of the signal mutation analysis result of the measured electrical quantity data set based on the comparison result of the energy mean of the plurality of second energy values ​​and the plurality of first energy values ​​comprises: In the case that an energy average of the plurality of first energy values ​​is greater than or equal to a set multiple of an energy average of the plurality of second energy values, it is determined that a signal mutation exists in the electrical quantity data set to be measured.

4. The distribution network data sampling method according to claim 1, It is characterized in that The instantaneous change perception operator includes a Teager-Kaiser energy operator or an envelope derivative operator.

5. A distribution network data sampling device, It is characterized in that include: A data acquisition module, used to acquire a data set of electrical quantities to be measured and a data set of electrical quantities that have not undergone a mutation; the data set of electrical quantities to be measured includes a plurality of data of electrical quantities to be measured collected within a first set time; the data set of electrical quantities that have not undergone a mutation includes a plurality of data of electrical quantities that have not undergone a mutation collected within a second set time; An instantaneous energy calculation module, configured to calculate instantaneous energy of the electrical quantity data set to be measured and the electrical quantity data set without mutation based on an instantaneous change perception operator, respectively, to obtain a plurality of first energy values ​​of the electrical quantity data set to be measured and a plurality of second energy values ​​of the electrical quantity data set without mutation; A mutation analysis module, configured to determine a signal mutation analysis result of the electrical quantity data set to be measured based on a comparison result of an energy mean of the plurality of second energy values ​​and the plurality of first energy values; A sampling module, configured to sample the electrical quantity data set to be measured based on a set sampling rate to obtain sampling data when the signal mutation analysis result determines that the electrical quantity data set to be measured has a signal mutation; After sampling the electrical quantity data set to be measured based on the set sampling rate to obtain the sampled data, the method further includes: Resampling the sampled data based on an improved Farrow filter to obtain target data; Performing data compression and transmission operations on the target data; Wherein, the improved Farrow filter is constructed based on the symmetric filter coefficients of the original Farrow filter; The improved Farrow filter is expressed by the following formula: ; in, x () represents sampling data, y () represents the target data of the output of the improved Farrow filter, k , k m represents the conversion factor, d Indicates the delay parameter, N represents the polynomial order, l represents the polynomial order variable, L Represents an even number, C l (k) represents the delay filter parameter, m Represents a discrete quantity.

6. The distribution network data sampling device according to claim 5, It is characterized in that The determining of the signal mutation analysis result of the measured electrical quantity data set based on the comparison result of the energy mean of the plurality of second energy values ​​and the plurality of first energy values ​​comprises: In the case that any one of the first energy values ​​is greater than or equal to a set multiple of the energy average of the plurality of second energy values, it is determined that a signal mutation exists in the measured electrical quantity data set.

7. The distribution network data sampling device according to claim 5, It is characterized in that The determining of the signal mutation analysis result of the measured electrical quantity data set based on the comparison result of the energy mean of the plurality of second energy values ​​and the plurality of first energy values ​​comprises: In the case that an energy average of the plurality of first energy values ​​is greater than or equal to a set multiple of an energy average of the plurality of second energy values, it is determined that a signal mutation exists in the electrical quantity data set to be measured.

8. The distribution network data sampling device according to claim 5, It is characterized in that The instantaneous change perception operator includes a Teager-Kaiser energy operator or an envelope derivative operator.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the distribution network data sampling method described in any one of claims 1 to 4 is implemented.

10. A machine-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the distribution network data sampling method according to any one of claims 1 to 4 is implemented.

11. A computer program product, It is characterized in that The invention comprises a computer program, which, when executed by a processor, implements the distribution network data sampling method according to any one of claims 1 to 4.