An adaptive sampling method and system suitable for fluctuating signals
The adaptive sampling method is used to process the fluctuation signals of industrial and commercial users, which solves the problem of load fluctuation information loss caused by regular periodic reporting, realizes the needs of fine-grained monitoring and high-dimensional analysis, and ensures the automation and effectiveness of load status judgment.
Patent Information
- Application Number
- CN202110213498.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-25
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2041-02-25
AI Technical Summary
The existing system of regularly reporting electrical characteristic quantities leads to the loss of load fluctuation information, cannot meet the needs of fine-grained monitoring and high-dimensional analysis, and cannot non-intrusively perceive the user's internal power consumption status.
The adaptive sampling method is used to collect and process the bus side waveform data of industrial and commercial users by selecting the characteristic quantities of the fluctuation signal, determine the calculation interval, perform smoothing filtering and noise elimination, determine the abnormal points, retain the sampling data, and realize adaptive sampling.
The time series is compressed and sampled while retaining the fluctuation information of the waveform data to ensure the automation and effectiveness of the load identification algorithm. It is suitable for complete retention of the fluctuation inflection point information of strong and weak signals.
Smart Images

Figure CN113098129B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of signal processing, and more specifically, to an adaptive sampling method and system suitable for fluctuating signals. Background Art
[0002] As an important part of electricity users, industrial and commercial users have a high proportion of electricity load characteristics and a diversified development trend, which has an important impact on the upgrade, operation and maintenance of power grid sources, networks, loads and storage.
[0003] At the same time, with the rapid development of energy Internet, the power grid's real-time monitoring of user power load and big data collection methods are becoming increasingly rich. In order to meet the information needs of power grid dispatch automation, marketing specialization, and maintenance rationalization, the power load characteristics analysis of dedicated transformer users is the basis and core of various related studies. The existing system of reporting electrical characteristics at regular intervals will cause the loss of load fluctuation information and cannot meet the requirements of subsequent fine-grained monitoring and high-dimensional analysis. Therefore, it is necessary to detect load fluctuation points, realize non-intrusive load perception of the power consumption status of various types of equipment inside the user, and provide users with detailed power consumption services. Summary of the invention
[0004] In view of the above problems, the present invention proposes an adaptive sampling method suitable for fluctuating signals, comprising:
[0005] According to the application scenario of non-intrusive load identification for industrial and commercial users, the characteristic quantity of the fluctuation signal is selected, and the fluctuation signal is collected and the bus-side waveform data of the industrial and commercial users is obtained. The calculation interval of the fluctuation signal is determined according to the multi-dimensional characteristic quantity, and the multi-dimensional characteristic quantity of the bus-side waveform data of the industrial and commercial users is calculated according to the calculation interval;
[0006] Perform smoothing and filtering processing on the multidimensional feature quantity and eliminate noise, retain the rising edge and falling edge of the multidimensional feature quantity, and generate a multidimensional feature quantity sequence;
[0007] The abnormal points of the multi-dimensional feature sequence are determined, the determined abnormal points are retained as sampling data, and adaptive sampling is performed on the sampling data.
[0008] Optionally, the determination threshold is updated in real time according to the attributes of the point to be determined currently.
[0009] Optional, calculation interval, including sampling rate and calculation period.
[0010] Optionally, the sampled data is less than 2% of the waveform data.
[0011] The present invention also proposes an adaptive sampling system suitable for fluctuating signals, comprising:
[0012] The acquisition unit selects the characteristic quantity of the fluctuation signal according to the application scenario of non-intrusive load identification of industrial and commercial users, collects the fluctuation signal and obtains the bus-side waveform data of the industrial and commercial users, determines the calculation interval of the fluctuation signal according to the multi-dimensional characteristic quantity, and calculates the multi-dimensional characteristic quantity of the bus-side waveform data of the industrial and commercial users according to the calculation interval;
[0013] A filtering unit performs smoothing filtering and noise elimination on the multidimensional feature quantity, retains the rising edge and falling edge of the multidimensional feature quantity, and generates a multidimensional feature quantity sequence;
[0014] The sampling unit determines the abnormal points of the points in the multi-dimensional feature quantity sequence, retains the determined abnormal points as sampling data, and performs adaptive sampling on the sampling data.
[0015] Optionally, the determination threshold is updated in real time according to the attributes of the point to be determined currently.
[0016] Optional, calculation interval, including sampling rate and calculation period.
[0017] Optionally, the sampled data is less than 2% of the waveform data.
[0018] The present invention can detect the fluctuation points of the load, and compress and sample the time series waveform data while retaining the fluctuation information of the waveform data. The adaptive judgment threshold used can completely retain the fluctuation inflection point information in both strong signals and weak signals, thereby ensuring the automation and effectiveness of load state judgment in the subsequent load identification algorithm. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 is a flow chart of the method of the present invention;
[0020] Figure 2 It is the original sequence diagram of the waveform data of the present invention;
[0021] Figure 3 is a filtering sequence diagram of the waveform data of the present invention;
[0022] Figure 4 This is a sequence diagram of the abnormal points of the present invention;
[0023] Figure 5 It is a structural diagram of the system of the present invention. DETAILED DESCRIPTION
[0024] Now, exemplary embodiments of the present invention are described with reference to the accompanying drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. These embodiments are provided to disclose the present invention in detail and completely and to fully convey the scope of the present invention to those skilled in the art. The terms used in the exemplary embodiments shown in the accompanying drawings are not intended to limit the present invention. In the accompanying drawings, the same units / elements are marked with the same reference numerals.
[0025] Unless otherwise specified, the terms (including technical terms) used herein have the commonly understood meanings to those skilled in the art. In addition, it is understood that the terms defined in commonly used dictionaries should be understood to have the same meanings as those in the context of the relevant fields, and should not be understood as idealized or overly formal meanings.
[0026] The present invention proposes an adaptive sampling method suitable for fluctuating signals, such as Figure 1 As shown. Includes:
[0027] According to the application scenario of non-intrusive load identification for industrial and commercial users, the characteristic quantity of the fluctuation signal is selected, and the fluctuation signal is collected and the bus-side waveform data of the industrial and commercial users is obtained. The calculation interval of the fluctuation signal is determined according to the multi-dimensional characteristic quantity, and the multi-dimensional characteristic quantity of the bus-side waveform data of the industrial and commercial users is calculated according to the calculation interval;
[0028] Perform smoothing and filtering processing on the multidimensional feature quantity and eliminate noise, retain the rising edge and falling edge of the multidimensional feature quantity, and generate a multidimensional feature quantity sequence;
[0029] The abnormal points of the multi-dimensional feature sequence are determined, the determined abnormal points are retained as sampling data, and adaptive sampling is performed on the sampling data.
[0030] The threshold value of the determination is updated in real time according to the attributes of the point to be determined.
[0031] The calculation interval includes the sampling rate and the calculation period.
[0032] Among them, the sampling data is less than 2% of the waveform data.
[0033] The present invention will be further described below in conjunction with embodiments:
[0034] Step 1: Starting from the application scenario of non-intrusive load identification of industrial and commercial users, select appropriate multi-dimensional feature quantities, specify the calculation time interval based on the calculation requirements of the feature quantities, and calculate the multi-dimensional feature quantities for the waveform data on the bus side of the industrial and commercial users at the specified time interval;
[0035] Step 2: Smoothing and filtering the multi-dimensional feature sequence on the bus side, retaining the rising and falling edges of the fluctuations, and eliminating noise interference;
[0036] Step 3: Initialize the abnormal point determination conditions, determine whether the current point is a critical point and an abnormal point, and update the dual determination threshold in real time according to the attributes of the current point;
[0037] Step 4: Complete the abnormal point determination of the multi-dimensional feature sequence on the bus side, retain the abnormal points in the sequence, complete adaptive sampling, and complete the effective sampling of the fluctuation signal on the basis of retaining the original waveform contour information. After testing, the sampled data is within 2% of the original data.
[0038] Wherein, step 1 includes the following steps:
[0039] Step 1.1:
[0040] Starting from the application scenario of non-intrusive load identification for industrial and commercial users, appropriate multi-dimensional feature quantities are selected, and then the calculation interval is specified according to the calculation requirements of the feature quantities and the hardware computing capacity limitation of the load identification module. The calculation interval has two parameters: sampling rate μ and calculation period τ:
[0041] Where the sampling rate μ∈(0,1);
[0042]
[0043] Where N0 is the number of sampling points finally involved in the calculation, and N is the number of original sampling points within the calculation period τ.
[0044] Step 1.2:
[0045] Due to the limitation of hardware computing power, different sampling calculation methods are used for different feature quantities:
[0046] First, for long-period variation characteristics, uniform sampling is used to extract collected data points at proportional intervals for subsequent calculations:
[0047]
[0048] Second, for the frequency-level change feature quantity, mutation sampling is used, sorted by frequency variance, and data points are sampled from high to low in proportion:
[0049]
[0050] Formula (3) is the variance calculation formula. For the calculation period τ, the variance values of each cycle in the variance value sequence S are sorted from large to small, and the variance value sequence is obtained as follows:
[0051] S=[s1,s2,s3,...,s m] (4)
[0052] s1≥s2≥s3≥...≥s m (5)
[0053] Select the frequency sampling points corresponding to the larger variance values in proportion to form the sampling data set N0. The sequence is as follows Figure 2 As shown;
[0054] Step 2 includes:
[0055] For the infinite time series multidimensional feature quantity matrix SP, the filter window width is selected as q to obtain the feature quantity matrix SP0 to be processed at a certain moment;
[0056]
[0057] For multi-dimensional feature sequence, smoothing filtering is performed. Currently, median filtering is mainly used: for each dimensional feature sequence sp m =[sp m1 ... sp mq ];
[0058]
[0059] Obtain the filter output value A m , so that SUM is minimized, and the feature sequences of each dimension are obtained in turn. For the feature matrix SP0 in each filtering time window, the output filtering data feature A=[A1,A2,...,A p-1 ,A p ] T , the sequence is as follows Figure 3 As shown;
[0060] Step 3 includes:
[0061] Step 3.1:
[0062] Set the judgment time window T and select the m-dimensional feature quantity to participate in the judgment;
[0063]
[0064] For the feature matrix M within the determination time window, the mean value of the feature quantity of each dimension in two consecutive time windows T is obtained as the initial value, as shown in equations (9) and (10);
[0065]
[0066]
[0067] Based on M1 and M2, the original growth slope d1 and the original growth origin m0 are obtained;
[0068]
[0069] m0=M1 (12)
[0070] Step 3.2:
[0071] For the feature quantity mean sequence M in the nth time window n , and calculate its slope as:
[0072]
[0073] Set the abnormal point determination threshold to k 1up ,k 1down ;
[0074]
[0075]
[0076] When M n When equation (14) or equation (15) is satisfied, the starting value time point of the current time window is determined to be the change point:
[0077]
[0078]
[0079] When M n When equation (16) or equation (17) is satisfied, the starting value time point of the current time window is determined to be the critical point.
[0080] Step 3.3:
[0081] Update the judgment threshold according to the judgment result, the sequence is as follows Figure 4 As shown;
[0082] For the abnormal point, the various characteristic quantities of the abnormal point are reported, and the original growth slope and the original growth origin are updated synchronously as follows:
[0083]
[0084] m0=M n-1 (19)
[0085] For the critical point, only the original growth slope is changed to:
[0086]
[0087] Step 4 includes:
[0088] Step 4.1:
[0089] According to the judgment results of daily load data, the judgment parameters are automatically updated to meet the subsequent identification accuracy and data compression requirements:
[0090] Calculate the average daily data transmission volume of the allocated communication channel as K, record the daily reported abnormal point data volume as K', if K' is greater than K, then adjust the judgment threshold k synchronously according to the multiplier 1up , k 1down , k 2up , k 2down , so that it meets the requirements for the amount of uploaded data.
[0091] The present invention also proposes an adaptive sampling system 200 suitable for fluctuating signals, such as Figure 5 As shown, including:
[0092] The collection unit 201 selects the characteristic quantity of the fluctuation signal according to the application scenario of non-intrusive load identification of industrial and commercial users, collects the fluctuation signal and obtains the bus-side waveform data of the industrial and commercial users, determines the calculation interval of the fluctuation signal according to the multi-dimensional characteristic quantity, and calculates the multi-dimensional characteristic quantity of the bus-side waveform data of the industrial and commercial users according to the calculation interval;
[0093] The filtering unit 202 performs smoothing filtering and noise elimination on the multidimensional feature quantity, retains the rising edge and falling edge of the multidimensional feature quantity, and generates a multidimensional feature quantity sequence;
[0094] The sampling unit 203 determines the abnormal points of the points in the multi-dimensional feature quantity sequence, retains the determined abnormal points as sampling data, and performs adaptive sampling on the sampling data.
[0095] The threshold value of the determination is updated in real time according to the attributes of the point to be determined.
[0096] The calculation interval includes the sampling rate and the calculation period.
[0097] Among them, the sampling data is less than 2% of the waveform data.
[0098] The present invention can detect the fluctuation points of the load, and compress and sample the time series waveform data while retaining the fluctuation information of the waveform data. The adaptive judgment threshold used can completely retain the fluctuation inflection point information in both strong signals and weak signals, thereby ensuring the automation and effectiveness of load state judgment in the subsequent load identification algorithm.
[0099] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The schemes in the embodiments of the present invention may be implemented in various computer languages, for example, object-oriented programming language Java and literal scripting language JavaScript, etc.
[0100] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0101] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0102] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0103] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0104] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. An adaptive sampling method suitable for a fluctuating signal, the method comprising: According to the application scenario of non-intrusive load identification for industrial and commercial users, the characteristic quantity of the fluctuation signal is selected, and the fluctuation signal is collected and the bus-side waveform data of the industrial and commercial users is obtained. The calculation interval of the fluctuation signal is determined according to the multi-dimensional characteristic quantity, and the multi-dimensional characteristic quantity of the bus-side waveform data of the industrial and commercial users is calculated according to the calculation interval; Among them, the calculation interval includes: calculating the sampling rate μ and calculating the period τ: Among them, the sampling rate μ∈(0,1); Among them, N0 is the number of sampling points finally involved in the calculation, and N is the number of original sampling points within the calculation period τ; Among them, according to the calculation interval, the multi-dimensional characteristic quantity of the waveform data on the bus side of the industrial and commercial user is calculated, including: Different sampling calculation methods are used for different multidimensional feature quantities, including: For the long-term changing features in the multi-dimensional features, uniform sampling is used to extract the collected data points at proportional intervals. The formula is as follows: For the frequency-level change feature in the multidimensional feature, mutation sampling is used, sorted by frequency variance, and sampled data points are selected from high to low in proportion. The calculation formula is as follows: Wherein, formula (3) is the variance calculation formula. For the calculation period τ, the variance values of each cycle in the variance value sequence S are sorted from large to small, and the variance value sequence is obtained as follows: <h2 style=";text-align:left;direction:ltr">S = [s1,s2,s3,...,s<h2 style=";text-align:left;direction:ltr"> m <h2 style=";text-align:left;direction:ltr"> ] (4) s1≥s2≥s3≥...≥s m (5) Select the frequency sampling points corresponding to the larger variance values in proportion to form a sampling data set N0, and obtain the multi-dimensional feature quantity of the waveform data on the bus side of the industrial and commercial users based on the sampling data set; Perform smoothing and filtering processing on the multidimensional feature quantity and eliminate noise, retain the rising edge and falling edge of the multidimensional feature quantity, and generate a multidimensional feature quantity sequence; The abnormal points of the multi-dimensional feature sequence are determined, the determined abnormal points are retained as sampling data, and adaptive sampling is performed on the sampling data.
2. According to the method of claim 1, the determination threshold is updated in real time according to the attributes of the point to be determined currently. The method according to claim 1 , wherein the sampling data is less than 2% of the waveform data.
4. An adaptive sampling system for a fluctuating signal, the system comprising: The acquisition unit selects the characteristic quantity of the fluctuation signal according to the application scenario of non-intrusive load identification of industrial and commercial users, collects the fluctuation signal and obtains the bus-side waveform data of the industrial and commercial users, determines the calculation interval of the fluctuation signal according to the multi-dimensional characteristic quantity, and calculates the multi-dimensional characteristic quantity of the bus-side waveform data of the industrial and commercial users according to the calculation interval; Among them, the calculation interval includes: calculating the sampling rate μ and calculating the period τ: Among them, the sampling rate μ∈(0,1); Among them, N0 is the number of sampling points finally involved in the calculation, and N is the number of original sampling points within the calculation period τ; Among them, according to the calculation interval, the multi-dimensional characteristic quantity of the waveform data on the bus side of the industrial and commercial user is calculated, including: Different sampling calculation methods are used for different multidimensional feature quantities, including: For the long-term changing features in the multi-dimensional features, uniform sampling is used to extract the collected data points at proportional intervals. The formula is as follows: For the frequency-level change feature in the multidimensional feature, mutation sampling is used, sorted by frequency variance, and sampled data points are selected from high to low in proportion. The calculation formula is as follows: Wherein, formula (3) is the variance calculation formula. For the calculation period τ, the variance values of each cycle in the variance value sequence S are sorted from large to small, and the variance value sequence is obtained as follows: <h2 style=";text-align:left;direction:ltr">S = [s1,s2,s3,...,s<h2 style=";text-align:left;direction:ltr"> m <h2 style=";text-align:left;direction:ltr"> ] (4) s1≥s2≥s3≥...≥s m (5) Select the frequency sampling points corresponding to the larger variance values in proportion to form a sampling data set N0, and obtain the multi-dimensional feature quantity of the waveform data on the bus side of the industrial and commercial users based on the sampling data set; A filtering unit performs smoothing filtering and noise elimination on the multidimensional feature quantity, retains the rising edge and falling edge of the multidimensional feature quantity, and generates a multidimensional feature quantity sequence; The sampling unit determines the abnormal points of the points in the multi-dimensional feature quantity sequence, retains the determined abnormal points as sampling data, and performs adaptive sampling on the sampling data; The calculation interval includes a sampling rate and a calculation period.
5. According to the system of claim 4, the threshold value of the determination is updated in real time according to the attribute of the point to be determined currently.
6. The system of claim 4, wherein the sampled data is less than 2% of the waveform data.
