A multi-objective fusion differential protection data compression method
Through the differential protection data compression method of multi-objective fusion, the revolving door algorithm and genetic algorithm are used to optimize parameters, which solves the problem of hardware capacity limitation, achieves efficient compression and accurate storage of differential protection data, and meets the needs of high-speed and real-time transmission. requirements.
Patent Information
- Application Number
- CN202210434847.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-24
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-04-24
AI Technical Summary
Hardware capacity limitations place a severe burden on storage hardware in digital substations that process massive amounts of historical data and analyze functional requirements, resulting in low storage efficiency.
A multi-objective fusion differential protection data compression method is adopted, which is pre-classified through the data classification module. Combined with the data compression module and parameter optimization module, the revolving door algorithm and genetic algorithm are used to optimize parameters to achieve compression of differential protection data.
Under high-rate and real-time transmission conditions, the highest compression ratio and accuracy of differential protection data is achieved, reducing the burden on storage hardware and improving storage efficiency.
Smart Images

Figure CN114900190B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of differential protection data compression, and in particular to a multi-objective fusion differential protection data compression method. Background Art
[0002] In recent years, with the continuous construction and development of smart grids, smart energy and ubiquitous power Internet of Things, the demand for real-time collection and historical storage of large-scale wide-area data has grown rapidly. Especially in the 5G era, with the characteristics of high data rate and low latency, massive amounts of data are collected and analyzed in real time, and the storage of relevant data and optimization results has become an issue that needs to be considered.
[0003] At present, differential protection technology based on 5G technology is becoming more and more mature. The relevant data is stored in servers or disk arrays. However, due to the capacity limitation of the hardware, the storage hardware has a serious burden on digital substations with massive historical data and various analysis function requirements. Efficient data compression technology has become the first choice to improve storage efficiency and reduce hardware pressure. Summary of the invention
[0004] The purpose of this section is to summarize some aspects of embodiments of the present invention and briefly introduce some preferred embodiments. Some simplifications or omissions may be made in this section and the specification abstract and the invention title of this application to avoid blurring the purpose of this section, the specification abstract and the invention title, and such simplifications or omissions cannot be used to limit the scope of the present invention.
[0005] In view of the above existing problems, the present invention is proposed.
[0006] Therefore, the technical problem solved by the present invention is that the capacity limitation of the hardware causes a serious burden on the storage hardware for digital substations with massive historical data and various analysis function requirements.
[0007] To solve the above technical problems, the present invention provides the following technical solutions: collecting data and pre-classifying the data using a data classification module; the data classification module simultaneously transmits the pre-classified data to the data compression module and the parameter optimization module; the parameter optimization module transmits the optimal values of the calculation algorithm parameters to the data compression module; the data compression module outputs the data compression result, iterates in a loop, and enters the next round of optimization.
[0008] As a preferred solution of the multi-objective fusion differential protection data compression method described in the present invention, wherein: the pre-classified data includes digital data and analog data.
[0009] As a preferred solution of the multi-objective fusion differential protection data compression method described in the present invention, the digital data is stored using a bit-shifting storage strategy, and the analog data is simultaneously transmitted to the data compression module and the parameter optimization module.
[0010] As a preferred solution of the multi-objective fusion differential protection data compression method described in the present invention, the revolving door algorithm parameter is set as the threshold value E, and the revolving door algorithm is used to compress the differential protection data input into the data compression module.
[0011] As a preferred solution of the multi-objective fusion differential protection data compression method described in the present invention, wherein: the parameter optimization module calculates and obtains the compression ratio Ratio, the relative compression error R, and the unit data block compression and decompression time T.
[0012] As a preferred solution of the multi-objective fusion differential protection data compression method of the present invention, wherein: based on the storage space size occupied by the original data file and the storage space size occupied by the compressed file, the compression ratio Ratio is obtained,
[0013]
[0014] Here, Ratio represents the compression ratio, m represents the storage space occupied by the original data file, and n represents the storage space occupied by the compressed file.
[0015] As a preferred solution of the multi-objective fusion differential protection data compression method of the present invention, wherein: the acquisition of the relative compression error R includes:
[0016]
[0017] Where R represents the relative compression error, x1,x2,...x n represents the data before compression, x1′, x2′, ..., x n ' represents the compressed data.
[0018] As a preferred solution of the multi-objective fusion differential protection data compression method described in the present invention, based on the compression ratio Ratio, the relative compression error R, the unit data block compression and decompression time T, and using the weighted multi-objective comparison as the target result value,
[0019]
[0020] Wherein, obj represents the result value, Ratio' represents the compression ratio result of the previous round of optimization, R' represents the relative compression error of the previous round of optimization, T' represents the compression and decompression time of the unit data block of the previous round of optimization, α, β, γ represent weight coefficients, α+β+γ=1.
[0021] As a preferred solution of the multi-objective fusion differential protection data compression method of the present invention, the operation steps of the parameter optimization module include:
[0022] Set weight coefficients α, β, γ;
[0023] Receiving the data to be compressed input by the data classification module;
[0024] The threshold value E is used as the parameter to be optimized, obj is used as the optimization result value, and a genetic algorithm is used to optimize the data to be compressed to obtain the minimum obj.
[0025] As a preferred solution of the multi-objective fusion differential protection data compression method of the present invention, the operation steps of the parameter optimization module also include:
[0026] Record the threshold value E corresponding to the minimum obj, and output the threshold value E to the data compression module;
[0027] Record the compression ratio Ratio', relative compression error R', and unit data block compression and decompression time T' corresponding to the minimum obj;
[0028] The loop iterates and enters the next round of optimization.
[0029] The beneficial effects of the present invention are as follows: the present invention realizes preliminary screening of differential protection data, formulates targeted strategies, compresses differential protection data using a revolving door algorithm, establishes a multi-objective comprehensive optimization target, and optimizes algorithm parameters in real time, thereby achieving the goal of optimal compression of differential protection data, and can meet the requirements of the highest compression ratio and accuracy of differential protection data storage under the conditions of high-speed differential protection and real-time data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. Among them:
[0031] Figure 1 A schematic diagram of a data compression module flow chart of a multi-objective fusion differential protection data compression method provided by an embodiment of the present invention;
[0032] Figure 2 A flow chart of a parameter optimization module of a multi-objective fusion differential protection data compression method provided by an embodiment of the present invention;
[0033] Figure 3 A data comparison diagram of compression ratios of weighted group 1 of a multi-objective fusion differential protection data compression method provided by an embodiment of the present invention;
[0034] Figure 4 A weight 1 relative compression error data comparison diagram of a multi-objective fusion differential protection data compression method provided by an embodiment of the present invention;
[0035] Figure 5 A comparison diagram of compression and decompression time data of a weighted 1 unit data block of a multi-objective fusion differential protection data compression method provided by an embodiment of the present invention;
[0036] Figure 6 A data comparison diagram of compression ratios of weighted group 2 of a multi-objective fusion differential protection data compression method provided by an embodiment of the present invention;
[0037] Figure 7 A weight 2 relative compression error data comparison diagram of a multi-objective fusion differential protection data compression method provided by an embodiment of the present invention;
[0038] Figure 8 A comparison diagram of compression and decompression time data of a weighted 2-unit data block of a multi-objective fusion differential protection data compression method provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0039] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.
[0040] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0041] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.
[0042] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.
[0043] At the same time, in the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0044] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0045] Example 1
[0046] Reference Figure 1 to Figure 2 , as an embodiment of the present invention, provides a multi-objective fusion differential protection data compression method, including: a system using the multi-objective fusion differential protection data compression method includes a data classification module, a data compression module and a parameter optimization module.
[0047] The main stored data of differential protection can be divided into signals such as telesignaling, telemetering, remote control, and remote adjustment. Among them, the first type of telesignaling and remote control are all state quantities with only limited numerical options (conventional state quantities have only two values 0 and 1, and dual-position telesignaling has four values 0, 1, 2, and 3). The strategy of displacement storage can be adopted to only store the value and time of the displacement data point, which means that the values stored between the n-1th point and the nth point are the same as the value of the n-1th point; the second type is telemetering and remote adjustment. This type of data is compressed and stored by this system.
[0048] S1: Collect data and pre-classify the data using the data classification module. It should be noted that:
[0049] The pre-classified data includes digital data and analog data, such as Figure 1 After pre-classification, the data classification module will transfer the data to be compressed to the data compression module and parameter optimization module for further processing.
[0050] S2: The data classification module transmits the pre-classified data to the data compression module and the parameter optimization module at the same time. It should be noted that:
[0051] The digital data is stored using a bit-shifting storage strategy, and the analog data is simultaneously transmitted to the data compression module and the parameter optimization module.
[0052] S3: The parameter optimization module transmits the optimal value of the calculation algorithm parameter to the data compression module. It should be noted that:
[0053] The revolving door algorithm parameter is set to the threshold value E, and the revolving door algorithm is used to compress the differential protection data of the input data compression module.
[0054] The parameter optimization module calculates and obtains the compression ratio Ratio, the relative compression error R, and the compression and decompression time T of the unit data block.
[0055] like Figure 1 As shown in the figure, the data to be compressed is transmitted to the data compression module and also to the parameter optimization module. In the parameter optimization module, a multi-objective comprehensive optimization target is adopted to obtain the compression ratio Ratio based on the storage space occupied by the original data file and the storage space occupied by the compressed file.
[0056]
[0057] Here, Ratio represents the compression ratio, m represents the storage space occupied by the original data file, and n represents the storage space occupied by the compressed file.
[0058] The acquisition of relative compression error R includes:
[0059]
[0060] Where R represents the relative compression error, x1,x2,...x n represents the data before compression, x1′, x2′, ..., x n ' represents the compressed data.
[0061] The purpose of setting up multiple objectives is to keep the parameters of the compression algorithm at the optimal value by comparing the above objectives, so that the compression algorithm can obtain the optimal compression result under multiple objectives.
[0062] Based on the compression ratio Ratio, relative compression error R, unit data block compression and decompression time T, and using weighted multi-objective comparison as the target result value,
[0063]
[0064] Wherein, obj represents the result value, Ratio' represents the compression ratio result of the previous round of optimization, R' represents the relative compression error of the previous round of optimization, T' represents the compression and decompression time of the unit data block of the previous round of optimization, α, β, γ represent weight coefficients, α+β+γ=1, and the unit data block compression and decompression time T can be recorded in seconds.
[0065] like Figure 2 As shown, the first step of the system needs to set the specific value of the weight coefficient. If α=1, β=γ=0, it means that the user only cares about the compression ratio of the system; if β=1, α=γ=0, it means that the user only cares about the relative compression error of the system. These weight coefficient values can be set according to different emphases.
[0066] like Figure 2 As shown, each time the data is compressed, the parameter optimization module will simultaneously obtain the compressed data for calculating the algorithm parameters for the next data compression. The optimization process is to optimize the threshold value E so that the target obj is minimized. The optimization algorithm uses a genetic algorithm, and other optimization algorithms can also be used.
[0067] S4: The data compression module outputs the data compression result, iterates in a loop, and enters the next round of optimization. It should be noted that:
[0068] The operation steps of the parameter optimization module include:
[0069] Set weight coefficients α, β, γ;
[0070] Receiving data to be compressed input by a data classification module;
[0071] The threshold value E is used as the parameter to be optimized, obj is used as the optimization result value, and the genetic algorithm is used to optimize the compressed data to obtain the minimum obj;
[0072] Record the threshold value E corresponding to the minimum obj, and output the threshold value E to the data compression module;
[0073] Record the compression ratio Ratio', relative compression error R', and unit data block compression and decompression time T' corresponding to the minimum obj;
[0074] The loop iterates S2 to S5 and enters the next round of optimization.
[0075] The present invention realizes preliminary screening of differential protection data, formulates targeted strategies, compresses differential protection data using a revolving door algorithm, establishes a multi-objective comprehensive optimization target, and optimizes algorithm parameters in real time, thereby achieving the goal of optimal compression of differential protection data. It can meet the requirements of the highest compression ratio and accuracy of differential protection data storage under the conditions of high-speed differential protection and real-time data transmission.
[0076] Example 2
[0077] Reference Figures 3 to 8 This is the second embodiment of the present invention. This embodiment is different from the first embodiment in that it provides a verification test of a multi-objective fusion differential protection data compression method. Compared with the traditional fixed parameter data compression system, the present invention can better adapt to the time-varying nature of data and better serve the set compression target. This is to verify that this method has higher adaptability and better compression effect than the traditional fixed parameter method. The following is a verification and explanation of the technical effects used in this method. A comparative test is conducted by selecting the traditional fixed parameters and the optimized parameters implemented by this method. The test results are compared by scientific demonstration to verify the real effect of this method.
[0078] In this example, the traditional fixed parameter method selects the first optimization result as the fixed parameter, and compares it with the dynamic parameter optimization proposed by this method, and compares the compression ratio, relative compression error, and unit data block compression and decompression time of the two methods.
[0079] The test environment is as follows: the protection record data within one day is exported from the dispatching main station as the test sample, and the data packets are integrated at intervals of 5 minutes, and a total of 288 data packets are obtained. The computer processor AMD Ryzen 5 1400, 8G memory computer is used for testing through MATLB software programming. According to the experimental results, the following are obtained: Figures 3 to 8 Simulation data shown.
[0080] from Figures 3 to 8 It can be seen that a total of 2 groups of weight values are set, and their weight values are shown in the following table.
[0081] Table 1: Two sets of weight values.
[0082]
[0083] Figure 3 to Figure 8 The compression ratio, relative compression error, and compression and decompression time of unit data blocks under the traditional fixed parameter method and this method are compared respectively.
[0084] from Figure 3 to Figure 5It can be seen that compared with the traditional fixed parameter method, this method can obtain a higher compression ratio, a lower relative compression error, and less compression and decompression time per unit data block. However, there are still sporadic data packets where the traditional fixed parameter method is equal to or even better than this method. This is mainly because in the weight of Group 1, the compression ratio is the first consideration, that is, α is the largest. Therefore, there are more data packets whose relative compression error, unit data block compression and decompression time are worse than those of the traditional fixed parameter method.
[0085] Figure 3 to Figure 5 The fact that this method is inferior to the traditional parameter determination method is not obvious enough, so the weight coefficients are adjusted to the extreme case, that is, α = 1, β = 0, γ = 0. The results are as follows: Figures 6 to 8 As shown in the figure, under this weight, the algorithm only considers the compression ratio to ensure the best, completely sacrificing the performance of relative compression error, unit data block compression and decompression time. In this case, it can be found that the compression ratio of this method is always better than the traditional fixed parameter method, and the degree of superiority is significantly improved compared with Group 1, while the relative compression error, unit data block compression and decompression time are inferior to the traditional fixed parameter method in most cases. This is because the relative compression error and unit data block compression and decompression time are sacrificed to make the compression ratio always in the optimal state.
[0086] 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 preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A multi-objective fusion differential protection data compression method, characterized in that: Collect data and pre-classify the data using the data classification module; The data classification module transmits the pre-classified data to the data compression module and the parameter optimization module simultaneously; The parameter optimization module calculates and obtains the compression ratio Ratio, the relative compression error R, and the compression and decompression time T of the unit data block; The acquisition of the relative compression error R includes: Where R represents the relative compression error, x1,x2,...x n represents the data before compression, x1′, x2′, ..., x n ' represents the compressed data; Based on the compression ratio Ratio, relative compression error R, unit data block compression and decompression time T, and using weighted multi-objective comparison as the target result value, Wherein, obj represents the result value, Ratio' represents the compression ratio result of the previous round of optimization, R' represents the relative compression error of the previous round of optimization, T' represents the compression and decompression time of the unit data block of the previous round of optimization, α, β, γ represent weight coefficients, α+β+γ=1; The parameter optimization module transmits the optimal values of the calculation algorithm parameters to the data compression module; The data compression module outputs the data compression result, iterates in a loop, and enters the next round of optimization.
2. The multi-objective fusion differential protection data compression method according to claim 1, characterized in that: The pre-classified data includes digital quantity data and analog quantity data.
3. The multi-objective fusion differential protection data compression method according to claim 2, characterized in that: The digital quantity data is stored by adopting a bit-changing storage strategy, and the analog quantity data is transmitted to the data compression module and the parameter optimization module at the same time.
4. The multi-objective fusion differential protection data compression method according to claim 3, characterized in that: The revolving door algorithm parameter is set to a threshold value E, and the revolving door algorithm is used to compress the differential protection data input to the data compression module.
5. The multi-objective fusion differential protection data compression method according to claim 1, characterized in that: Based on the storage space occupied by the original data file and the storage space occupied by the compressed file, the compression ratio Ratio is obtained. Here, Ratio represents the compression ratio, m represents the storage space occupied by the original data file, and n represents the storage space occupied by the compressed file.
6. The multi-objective fusion differential protection data compression method according to claim 5, characterized in that: The operation steps of the parameter optimization module include: Set weight coefficients α, β, γ; Receiving the data to be compressed input by the data classification module; The threshold value E is used as the parameter to be optimized, obj is used as the optimization result value, and a genetic algorithm is used to optimize the data to be compressed to obtain the minimum obj.
7. The multi-objective fusion differential protection data compression method according to claim 6, characterized in that: The operation steps of the parameter optimization module also include: Record the threshold value E corresponding to the minimum obj, and output the threshold value E to the data compression module; Record the compression ratio Ratio', relative compression error R', and unit data block compression and decompression time T' corresponding to the minimum obj; The loop iterates and enters the next round of optimization.
