Electricity meter data quality assessment method, system and medium based on singular value decomposition
The singular value decomposition technology is used to perform transmission verification, cluster analysis and feature mining on the data collected by the electric meter, which solves the problem of difficulty in distinguishing outliers and real values in traditional electric meter data evaluation, and improves the accuracy of electric meter data quality evaluation and power operation. The level of refinement of maintenance management.
Patent Information
- Application Number
- CN202411003485.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-07-25
AI Technical Summary
Traditional meter data quality assessment methods are difficult to distinguish between outliers and real values, resulting in low assessment accuracy.
The method based on singular value decomposition is used to conduct transmission verification, cluster analysis and data feature mining on the data collected by the electric meter. It distinguishes outliers and real values through rationality evaluation and mutation value evaluation to improve the accuracy of evaluation.
It effectively improves the accuracy of meter data quality assessment, distinguishes outliers and real values in meter data, and improves the refinement level of power operation and maintenance management.
Smart Images

Figure CN118536880B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data quality assessment, and in particular to a method, system and medium for assessing the quality of electric meter collected data based on singular value decomposition. Background Art
[0002] With the development of smart grid, the number of data collection equipment is increasing; as a field device for collecting user power data, the quality of the data collected by the meter will directly affect the reliability of business applications. At present, the meter has carried out full performance testing of the equipment during the commissioning stage, meeting the technical requirements for the equipment to be put into operation. At the same time, the online monitoring of the meter operation status has also been carried out to ensure the stable operation of the meter. However, in the process of collecting meter data, due to the influence of high-speed carrier communication channels and the meter's own faults, the power is prone to missing and erroneous data. Therefore, conducting an assessment of the quality of meter data collection is of positive significance to improving the level of refined operation and maintenance management of power impact.
[0003] There are various methods for evaluating the quality of electric meter data. However, traditional electric meter data quality evaluation and repair methods are difficult to distinguish between abnormal values and true values of electric meters during the process of evaluating the quality of electric meter data, which affects the low accuracy of electric meter data quality evaluation. Summary of the invention
[0004] The technical problem to be solved by the present invention is that in the traditional electric meter data quality assessment and repair method, it is difficult to distinguish between the abnormal value and the true value of the electric meter during the electric meter data quality assessment process, which affects the low accuracy of the electric meter data quality assessment. The purpose of the present invention is to provide an electric meter collection data quality assessment method, system and medium based on singular value decomposition, and to improve the assessment method on the basis of the traditional electric meter data quality assessment and repair technology. On the one hand, the electric meter collection data is transmitted and verified to improve the accuracy of the electric meter data quality assessment; on the other hand, the electric meter collection data is clustered and analyzed into a plurality of different types of electric meter collection data; and the data features of different types of electric meter collection data are mined for rationality assessment and mutation value assessment, so as to effectively distinguish the abnormal values and true values in the electric meter data and improve the accuracy of the electric meter data quality assessment.
[0005] The present invention is achieved through the following technical solutions:
[0006] This solution provides a method for evaluating the quality of electric meter data collected based on singular value decomposition, including:
[0007] Acquiring data collected by the electric meter, and performing transmission verification on the data collected by the electric meter;
[0008] Cluster analysis is performed based on the meter data collected after the transmission verification has passed, and various types of meter data collected are obtained;
[0009] Mining out the data features of different types of electricity meter collection data respectively;
[0010] Based on the data characteristics, rationality assessment and mutation value assessment are performed to obtain the quality assessment result of the electric meter collected data.
[0011] A further optimization scheme is that the data collected by the electric meter includes: daily frozen electric energy indication, number of electricity purchases and remaining power of the electric meter.
[0012] A further optimization scheme is that the transmission verification of the data collected by the electric meter includes a method of: performing data frame verification on the data collected by the electric meter based on a cyclic redundancy check code method.
[0013] A further optimization scheme is that the data frame verification method includes:
[0014] Generate polynomials for meter collection data;
[0015] Calculate the length of the check digit of the electric meter collected data based on the polynomial and the first formula n CRC ; The first formula is:
[0016] n CRC = a INFO + a CKS
[0017] in, a INFO Indicates the number of digits of the meter data collection information code; a CKS Indicates the number of digits of the meter data collection check code;
[0018] If the current meter data meets the second formula:
[0019] , it is determined that the current meter acquisition data frame transmission is correct.
[0020] A further optimization scheme is to perform cluster analysis on the electric meter collected data after the transmission verification is passed to obtain multiple different types of electric meter collected data, including the following method:
[0021] The electric meter data collected after the transmission verification is analyzed based on the fuzzy C-means clustering method: the electric meter data is clustered, and the similarity between the electric meter data divided into the same cluster is the largest, and the similarity between the electric meter data divided into different clusters is the smallest;
[0022] Clustering results of the data types collected by each meter g CMExpressed as the third formula:
[0023] in, n CM Indicates the number of data types collected by the meter. w CM represents the weight coefficient of the fuzzy C-means clustering method, s i represents the degree of membership of the data collected by the i-th type of electric meter, d i Represents the distance from the data collected by the i-th type of electric meter to the center of the cluster, i=1,2,3,…, n CM .
[0024] A further optimization scheme is to mine the data features of different types of electricity meter collection data separately, including the following methods:
[0025] Constructing the singular value decomposition matrix of data collected by different types of electricity meters B CM , the singular value decomposition matrix B CM Expressed as the fourth formula:
[0026] in, o CM represents a unitary matrix of order m×m; Σ represents a semi-positive definite m×n diagonal matrix; Z * represents the n×n order conjugate transposed matrix, Z * The decomposition of is its singular value decomposition.
[0027] Data feature analysis is performed based on the singular value decomposition matrix. The singular value decomposition matrix is the representation of data features.
[0028] A further optimization scheme is that the methods of rationality evaluation and mutation value evaluation include:
[0029] Obtain meter data;
[0030] It is determined whether the current meter data meets the fifth formula to evaluate the rationality of the current meter data. The fifth formula is expressed as:
[0031] Where R represents the total electrical energy measurement value; k Indicates the number of data items collected by the meter; r j Indicates the measured values of different meter items.
[0032] A further optimization scheme is that the method for evaluating the mutation value includes:
[0033] Obtain data characteristics of data collected by different types of electric meters;
[0034] In each data feature, the local anomaly factor is calculated according to the sixth formula h LOF , and based on the local anomaly factor h LOF To realize mutation value evaluation; the sixth formula is expressed as:
[0035] in, f It represents the center density of outlier detection in the data collected by the electric meter; c Indicates the value of the current meter data collection; t ( c ) represents the outlier detection density of the meter collected data; lrd Represents the reachable distance calculation for outlier detection of electricity meter collected data.
[0036] The present solution also provides a system for evaluating the quality of electric meter data collected based on singular value decomposition, which is used to implement the above-mentioned method for evaluating the quality of electric meter data collected based on singular value decomposition. The system comprises:
[0037] A verification module, used to obtain the data collected by the electric meter and perform transmission verification on the data collected by the electric meter;
[0038] A cluster analysis module is used to perform cluster analysis based on the meter collection data after the transmission verification is passed, and obtain multiple different types of meter collection data;
[0039] A mining module is used to mine the data features of data collected by different types of electric meters;
[0040] The evaluation module is used to perform rationality evaluation and mutation value evaluation based on the data characteristics to obtain the quality evaluation result of the electric meter collected data.
[0041] The present solution also provides a computer-readable medium on which a computer program is stored. The computer program is executed by a processor to implement the above-mentioned method for evaluating the quality of electric meter collected data based on singular value decomposition.
[0042] Compared with the prior art, the present invention has the following advantages and beneficial effects:
[0043] The present invention provides a method, system and medium for evaluating the quality of electric meter data collected based on singular value decomposition. On the basis of traditional electric meter data quality evaluation and repair technology, the evaluation method is improved. On the one hand, the electric meter data collected is subjected to transmission verification to improve the accuracy of the electric meter data quality evaluation. On the other hand, the electric meter data collected is clustered and analyzed into a plurality of different types of electric meter data collected. The data features of the different types of electric meter data are mined to perform rationality evaluation and mutation value evaluation, so as to effectively distinguish the abnormal values from the true values in the electric meter data and improve the accuracy of the electric meter data quality evaluation. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and should not be regarded as limiting the scope. For those of ordinary skill in the art, other relevant drawings can be obtained based on these drawings without creative work. In the drawings:
[0045] Figure 1 It is a flow chart of the quality assessment method of electric meter data collected based on singular value decomposition;
[0046] Figure 2 It is a schematic diagram of the structure of the meter data quality assessment system based on singular value decomposition;
[0047] Figure 3 The present invention is a schematic diagram of a specific execution flow of a computer-readable medium. DETAILED DESCRIPTION
[0048] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with embodiments and drawings. The exemplary embodiments of the present invention and their description are only used to explain the present invention and are not intended to limit the present invention.
[0049] Embodiment 1: This embodiment provides a method for evaluating the quality of electric meter data collected based on singular value decomposition, such as Figure 1 As shown, including:
[0050] Step 1: Obtain meter data and perform transmission verification on the meter data; the meter data includes: daily frozen electric energy indication, number of electricity purchases and remaining power of the meter.
[0051] The transmission verification of the data collected by the electric meter includes a method: performing data frame verification on the data collected by the electric meter based on a cyclic redundancy check code method. The data frame verification method includes:
[0052] Generate polynomials for meter collection data;
[0053] Calculate the length of the check digit of the electric meter collected data based on the polynomial and the first formula n CRC ; The first formula is:
[0054] n CRC = a INFO + a CKS
[0055] in, a INFO Indicates the number of digits of the meter data collection information code; a CKS Indicates the number of digits of the meter data collection check code;
[0056] If the current meter data meets the second formula:
[0057] , it is determined that the current meter acquisition data frame transmission is correct.
[0058] The transmission of electric meter data collection refers to the process in which the electric meter transmits the collected daily frozen electric energy indication, number of electricity purchases, remaining electric power of the electric meter and other data to the electric power information collection system based on the communication protocol of the electric power user electric power information collection system. During the transmission process, affected by the local high-speed carrier communication channel and the remote fourth-generation mobile phone communication channel, the transmission of electric meter data collection may be lost or erroneous. Therefore, this embodiment is based on the need for the electric information collection system to perform data frame verification on the received electric meter data collection to verify the integrity and accuracy of the electric meter data collection transmission.
[0059] The cyclic redundancy check code is a data verification algorithm, which has a strong error data detection capability and can efficiently implement data verification. Therefore, this embodiment verifies the data collected by the electric meter based on the cyclic redundancy check code.
[0060] Step 2: Perform cluster analysis based on the meter data collected after the transmission verification, and obtain multiple different types of meter data; including methods:
[0061] The data collected by the electric meter includes data such as daily frozen electric energy indication, number of electricity purchases, and remaining power of the electric meter. If the same rule is used to evaluate the quality of the above data, it will cause the problem of poor adaptability of data quality evaluation. Therefore, the data collected by the electric meter needs to be classified.
[0062] Fuzzy C-means clustering is a clustering method based on partitioning. In fuzzy C-means clustering, the similarity between objects that are classified into the same cluster is the largest, while the similarity between different clusters is the smallest. Fuzzy C-means clustering has the characteristics of simple design and good clustering effect. Therefore, this embodiment clusters the data collected by the electric meter based on fuzzy C-means clustering. Fuzzy C-means clustering constructs the membership matrix of the data collected by the electric meter, and determines the membership class of other data through the membership relationship between other data and the data collected by the electric meter.
[0063] The electric meter data collected after the transmission verification is analyzed based on the fuzzy C-means clustering method: the electric meter data is clustered and divided, and the similarity between the electric meter data divided into the same cluster is the largest, and the similarity between the electric meter data divided into different clusters is the smallest;
[0064] Clustering results of the data types collected by each meter g CM Expressed as the third formula:
[0065] in, n CM Indicates the number of data types collected by the meter. w CM represents the weight coefficient of the fuzzy C-means clustering method, s i represents the degree of membership of the data collected by the i-th type of electric meter, d i Represents the distance from the data collected by the i-th type of electric meter to the center of the cluster, i=1,2,3,…, n CM .
[0066] Through fuzzy C-means clustering, the data collected by the electric meter are divided into different types such as meter reading, fee control, and events.
[0067] In different meter collection data such as meter reading, fee control, and events, data quality assessment has different characteristics. Therefore, it is necessary to explore the characteristics of different meter collection data types and use different methods to evaluate the quality of meter collection data.
[0068] Singular value decomposition is an important matrix decomposition method in linear algebra. The singular value decomposition method can represent a relatively complex matrix by multiplying several smaller and simpler sub-matrices. These small matrices describe the important characteristics of the matrix. Singular value decomposition has the characteristic of accurate data feature classification, so singular value decomposition is used to analyze the characteristics of meter collection data.
[0069] Step 3: Mining the data features of different types of meter data collection; specific methods include:
[0070] Constructing the singular value decomposition matrix of data collected by different types of electricity meters B CM , the singular value decomposition matrix B CM Expressed as the fourth formula:
[0071] in, o CM represents a unitary matrix of order m×m; Σ represents a semi-positive definite m×n diagonal matrix; Z * represents the n×n order conjugate transposed matrix, Z * The decomposition of is its singular value decomposition.
[0072] Data feature analysis is performed based on the singular value decomposition matrix.
[0073] Step 4: Perform rationality assessment and mutation value assessment based on the data characteristics to obtain the quality assessment result of the electric meter collection data.
[0074] The method of reasonableness assessment includes:
[0075] Obtain meter data;
[0076] It is determined whether the current meter data meets the fifth formula to evaluate the rationality of the current meter data. The fifth formula is expressed as:
[0077] Where R represents the total electrical energy measurement value; k Indicates the number of data items collected by the meter; r j Indicates the measurement values of different meter items. In the rationality assessment, the main thing is to judge whether the current meter data is consistent with the logic of energy conservation.
[0078] The outlier detection method finds abnormal data by distinguishing low-probability events. Outliers are identified by assuming a distribution or probability model for a given data set, and then identifying outliers through inconsistency testing based on the assumed model. h LOF Determine the abnormal point, among the different meter data collection features, B CM The density center points are different. The method for evaluating the mutation value includes:
[0079] Obtain data features of different types of collected data;
[0080] In each data feature, the local anomaly factor is calculated according to the sixth formula h LOF, and based on the local anomaly factor h LOF To realize mutation value evaluation; the sixth formula is expressed as:
[0081] in, f It represents the center density of outlier detection in the data collected by the electric meter; c Indicates the value of the current meter data collection; t ( c ) represents the outlier detection density of the meter collected data; lrd Represents the reachable distance calculation for outlier detection of electricity meter collected data.
[0082] In this embodiment, if the data collected by the current meter satisfies the fifth formula, the data collected by the current meter conforms to the logic of energy conservation and the rationality assessment meets the standard; similarly, the mutation value threshold is set to evaluate the local abnormal factor of the data collected by the current meter.
[0083] Embodiment 2: This embodiment provides a system for evaluating the quality of electric meter data collected based on singular value decomposition, which is used to implement the method for evaluating the quality of electric meter data collected based on singular value decomposition of embodiment 1, such as Figure 2 As shown, the system comprises:
[0084] A verification module, used to obtain the data collected by the electric meter and perform transmission verification on the data collected by the electric meter; the verification module includes a collection unit and a verification unit, the collection unit is used to obtain the data collected by the electric meter, and the verification unit is used to perform transmission verification on the data collected by the electric meter;
[0085] A cluster analysis module is used to perform cluster analysis based on the meter collection data after the transmission verification is passed, and obtain multiple different types of meter collection data;
[0086] A mining module is used to mine the data features of data collected by different types of electric meters;
[0087] An evaluation module is used to perform rationality evaluation and mutation value evaluation based on the data features to obtain a quality evaluation result of the electric meter collected data. The evaluation module includes a rationality evaluation unit, a mutation value evaluation unit, an output unit and an alarm unit;
[0088] The rationality assessment unit is used to perform rationality assessment on data features, the mutation value assessment unit is used to perform mutation value assessment on data features, the output unit is used to generate and output an assessment report; and the alarm unit is used to alarm on abnormal data.
[0089] In order to solve the problem that the existing meter data quality assessment cannot distinguish between the abnormal values and the true values of the meter, resulting in low accuracy of the meter data quality assessment, this embodiment firstly clusters the meter data to obtain a typical classification of the meter data; secondly, decomposes the characteristics of different types of meter data based on the singular value decomposition algorithm; finally, uses a reasonable threshold and a mutation threshold to analyze the meter data to evaluate the quality of the meter data.
[0090] Embodiment 3: This embodiment provides a computer-readable medium on which a computer program is stored. The computer program is executed by a processor to implement the method for evaluating the quality of electric meter data collected based on singular value decomposition as in Embodiment 1. Figure 3 As shown, the specific steps are as follows:
[0091] Step 1: Obtaining meter data, and performing transmission verification on the meter data;
[0092] Step 2: Perform cluster analysis based on the meter data collected after the transmission verification is passed to obtain multiple different types of meter data;
[0093] Step 3: respectively mine the data features of data collected by different types of electric meters;
[0094] Step 4: Based on the data characteristics, a rationality assessment and a mutation value assessment are performed to determine whether the data is qualified, and the quality assessment result of the meter collection data is obtained; an alarm is issued for unqualified data, and a data quality report is generated.
[0095] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for evaluating the quality of electric meter data collected based on singular value decomposition, characterized in that: include: Acquiring data collected by the electric meter, and performing transmission verification on the data collected by the electric meter; Specifically include Method: Based on the cyclic redundancy check code method, data frame verification is performed on the data collected by the electric meter; The data frame verification method comprises: Generate polynomials for meter collection data; Calculate the length of the check digit of the electric meter collected data based on the polynomial and the first formula n CRC ; The first formula is: n CRC = a INFO + a CKS in, a INFO Indicates the number of digits of the meter data collection information code; a CKS Indicates the number of digits of the meter data collection check code; If the current meter data meets the second formula: , it is determined that the current meter acquisition data frame transmission is correct; Cluster analysis is performed based on the meter data collected after the transmission verification, and various types of meter data are obtained; the specific methods include: The electric meter data collected after the transmission verification is analyzed based on the fuzzy C-means clustering method: the electric meter data is clustered and divided, and the similarity between the electric meter data divided into the same cluster is the largest, and the similarity between the electric meter data divided into different clusters is the smallest; Clustering results of the data types collected by each meter g CM Expressed as the third formula: ; in, n CM Indicates the number of data types collected by the meter. w CM represents the weight coefficient of the fuzzy C-means clustering method, s i represents the degree of membership of the data collected by the i-th type of electric meter, d i Represents the distance from the data collected by the i-th type of electric meter to the center of the cluster, i=1,2,3,…, n CM ; The data features of data collected by different types of electric meters are mined respectively; the specific methods include: Constructing the singular value decomposition matrix of data collected by different types of electricity meters B CM , the singular value decomposition matrix B CM Expressed as the fourth formula: ; in, o CM represents a unitary matrix of order m×m; Σ represents a semi-positive definite m×n diagonal matrix; Z * represents the n×n order conjugate transposed matrix, Z * The decomposition of is its singular value decomposition; where n and m are both positive integers greater than zero; Perform data feature analysis based on singular value decomposition matrix; Based on the data characteristics, rationality assessment and mutation value assessment are performed to obtain a quality assessment result of the electric meter collected data; The method of reasonableness assessment includes: Obtain meter data; It is determined whether the current meter data meets the fifth formula to evaluate the rationality of the current meter data. The fifth formula is expressed as: ; Where R represents the total electrical energy measurement value; k Indicates the number of data items collected by the meter; r j Indicates the measured values of different meter items; The method for evaluating the mutation value includes: Obtain data characteristics of data collected by different types of electric meters; In each data feature, the local anomaly factor is calculated according to the sixth formula h LOF , and based on the local anomaly factor h LOF To realize mutation value evaluation; the sixth formula is expressed as: ; in, f It represents the center density of outlier detection in the data collected by the electric meter; c Indicates the value of the current meter data collection; t ( c ) represents the outlier detection density of the data collected by the electric meter; lrd ( c ) represents the reachable distance calculation for outlier detection of meter collected data.
2. The method for evaluating the quality of electric meter data collected based on singular value decomposition according to claim 1 is characterized in that: The data collected by the electric meter include: daily frozen electric energy indication, number of electricity purchases and remaining power of the electric meter.
3. The meter data quality assessment system based on singular value decomposition is characterized by: The system is used to implement the method for evaluating the quality of electric meter data collected based on singular value decomposition according to claim 1 or 2, and comprises: A verification module, used to obtain the data collected by the electric meter and perform transmission verification on the data collected by the electric meter; A cluster analysis module is used to perform cluster analysis based on the meter collection data after the transmission verification is passed, and obtain multiple different types of meter collection data; A mining module is used to mine the data features of data collected by different types of electric meters; The evaluation module is used to perform rationality evaluation and mutation value evaluation based on the data characteristics to obtain the quality evaluation result of the electric meter collected data.
4. A computer readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for evaluating the quality of electric meter collected data based on singular value decomposition as claimed in claim 1 or 2 is implemented.
