Method and device for detecting task execution capability of electric energy meter

By expanding the task execution data of the electric energy meter in the time domain and performing principal component analysis, the task execution ability of the electric energy meter is detected, which solves the problem that the existing technology cannot handle Boolean and sequential data, and realizes the task execution ability of the electric energy meter. accurate detection.

CN110031790BActive Publication Date: 2024-10-18NORTH CHINA ELECTRICAL POWER RES INST +2
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN201910329419.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-04-23
Publication Date
2024-10-18
Estimated Expiration
2039-04-23

AI Technical Summary

Technical Problem

The existing technology cannot effectively detect the task execution capability of the electric energy meter. The traditional principal component analysis method cannot process Boolean sample data and sequential task execution data, resulting in the inability to accurately detect the task execution capability of the electric energy meter.

Method used

By expanding the task execution data of the electric energy meter in the time domain, a time domain extended sampling data matrix is ​​constructed, the covariance matrix and eigenvectors are calculated, and the eigenvectors are selected to form a principal component matrix, which is used to detect the task execution capability of the electric energy meter.

Benefits of technology

It achieves quantifiable detection of the task execution capability of the electric energy meter, can process Boolean sample data and sequential task execution data, solves problems that cannot be detected by traditional methods, and improves the accuracy and flexibility of detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110031790B_ABST
    Figure CN110031790B_ABST
Patent Text Reader

Abstract

The present invention provides a method and device for detecting the task execution capability of an electric energy meter, wherein the method comprises: expanding the task execution data of each electric energy meter to be detected in the time domain to obtain the time domain expanded sampling data of each electric energy meter to be detected; constructing the original data matrix according to the time domain expanded sampling data of all electric energy meters to be detected, and determining the covariance matrix corresponding to the original data matrix; determining the eigenvalues ​​of the covariance matrix and the corresponding eigenvector matrix; selecting a preset number of eigenvectors from the eigenvector matrix according to the number of principal components to form a truncated eigenvector matrix; determining the principal component matrix according to the truncated eigenvector matrix and the original data matrix; and detecting the task execution capability of the electric energy meter according to the principal component matrix. The above technical scheme realizes the task data that constitutes a Boolean quantity considering the timing and the success or failure of the task execution to detect the task execution capability of the electric energy meter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric energy meters, and in particular to a method and device for detecting task execution capability of an electric energy meter. Background Art

[0002] In order to further develop the asset benefits of smart energy meters, reduce grid operation costs, and improve power supply reliability and user satisfaction, the company has done a lot of research and application on the non-metering functions of smart energy meters. The advanced application of smart energy meters has become an important means of distribution network operation and management. The company has expanded the development and application of non-metering functions of metering and collection systems, established a sound data sharing mechanism, and formulated working rules for smart energy meter data to support various professional applications, and fully and effectively support professional data needs such as operation, inspection, development, and safety and quality. In order to support related work, it is necessary to test the collection task execution capability and local network communication capability of energy meters under the existing full-carrier, half-carrier, and broadband carrier communication modes in the existing substations. At present, there is no quantitative detection method for the collection capability and local network communication of energy meters in the collection substations. Therefore, it is necessary to integrate the main station's multi-data collection, fee control, time calibration, price adjustment and other tasks, combined with local communication channel communication monitoring, to achieve quantifiable and operable detection of the energy meter's task execution capability. The shortcomings of the existing energy meter task execution capability detection scheme are as follows.

[0003] First, in the prior art, the performance of an electric energy meter is often measured under laboratory conditions by various experimental means to obtain experimental values. These experimental values ​​are all specific numbers. On this basis, a certain amount of sample data can be obtained through a large number of experiments. The relevant performance of the electric energy meter can be detected by analyzing the sample data. A typical sample data analysis method is principal component analysis and k-means clustering. However, this method is aimed at numerical sample data, and the data of the electric energy meter performing the task is usually whether the task is successfully executed, that is, the task execution data is only success or failure rather than a specific quantitative number. Therefore, the existing analysis method based on numerical sample data cannot be used to detect the task execution capability of the electric energy meter.

[0004] Secondly, the main method currently used to analyze the performance of electric energy meters is the traditional principal component analysis method. The object of the traditional principal component analysis method is non-time-sequential data. The sample data obtained through multiple experiments in the existing technology is non-time-sequential data, so the traditional principal component analysis method can be used for this analysis. However, in the actual application environment, the execution of tasks by electric energy meters is time-sequential, and the task is sent before the task receipt. Moreover, whether the task receipt is timely also reflects the ability of the electric energy meter to execute the task. Therefore, the traditional principal component analysis method used to analyze the performance of electric energy meters cannot be used to detect the task execution ability of electric energy meters. Summary of the invention

[0005] An embodiment of the present invention provides a method for detecting the task execution capability of an electric energy meter, which is used to detect the task execution capability of an electric energy meter. The method includes:

[0006] According to the type and time of task execution of the electric energy meter, the task execution data of each electric energy meter to be detected is expanded in the time domain to obtain the time domain expanded sampling data of each electric energy meter to be detected; the time domain expanded sampling data is the data of whether the task execution is successful or not with time sequence;

[0007] According to the time domain extended sampling data of all the electric energy meters to be detected, an original data matrix is ​​constructed, and according to the original data matrix, a covariance matrix corresponding to the original data matrix is ​​determined;

[0008] Determine the eigenvalues ​​of the covariance matrix, and determine the eigenvector matrix corresponding to the covariance matrix according to the eigenvalues ​​of the covariance matrix;

[0009] According to the number of principal components, a preset number of eigenvectors are selected from the eigenvector matrix to form a truncated eigenvector matrix; according to the truncated eigenvector matrix and the original data matrix, a principal component matrix is ​​determined; the principal component matrix represents the common characteristics of the task execution capabilities of all the electric energy meters to be detected;

[0010] The task execution capability of the electric energy meter is detected according to the principal component matrix.

[0011] The embodiment of the present invention further provides a device for detecting the task execution capability of an electric energy meter, which is used to detect the task execution capability of an electric energy meter. The device comprises:

[0012] A time domain extended sampling data determination unit is used to expand the task execution data of each electric energy meter to be detected in the time domain according to the type and time of task execution of the electric energy meter, so as to obtain the time domain extended sampling data of each electric energy meter to be detected; the time domain extended sampling data is the data of whether the task execution is successful or not with time sequence;

[0013] The original data matrix and covariance matrix determination unit is used to construct an original data matrix according to the time domain extended sampling data of all electric energy meters to be detected, and determine the covariance matrix corresponding to the original data matrix according to the original data matrix;

[0014] An eigenvector matrix determining unit, used to determine the eigenvalues ​​of the covariance matrix, and determine the eigenvector matrix corresponding to the covariance matrix according to the eigenvalues ​​of the covariance matrix;

[0015] The unit for determining the intercepted eigenvector matrix and the principal component matrix is ​​used to select a preset number of eigenvectors from the eigenvector matrix according to the number of principal components to form an intercepted eigenvector matrix; the principal component matrix is ​​determined according to the intercepted eigenvector matrix and the original data matrix; the principal component matrix represents the common characteristics of the task execution capabilities of all the electric energy meters to be detected;

[0016] The detection unit is used to detect the task execution capability of the electric energy meter according to the principal component matrix.

[0017] An embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method for detecting the task execution capability of the electric energy meter.

[0018] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for executing a method for detecting task execution capability of an electric energy meter.

[0019] The technical solution provided by the embodiment of the present invention has the following beneficial effects:

[0020] Firstly, compared with the conventional principal component analysis method in the prior art, which targets numerical values ​​and cannot analyze whether the task is successfully executed, and thus cannot detect the ability of the electric energy meter to execute the task, the technical solution provided in the embodiment of the present invention processes the data of the electric energy meter executing the task, that is, the task execution data is only the data of success or failure, rather than a specific quantified number. Therefore, the method of the present invention is a method for analyzing Boolean sample data consisting of the success or failure of task execution, and thus can solve the problem of detecting the task execution ability of the electric energy meter.

[0021] Secondly, compared with the conventional principal component analysis method in the prior art, which processes data without time series and cannot detect the ability of the electric energy meter to perform tasks, the technical solution provided by the embodiment of the present invention is to expand in the time domain, solving the problem that the electric energy meter has time series in the actual application environment. Since the task of the electric energy meter is sent before the task receipt, and whether the task receipt is timely also reflects the ability of the electric energy meter to perform tasks. Therefore, the method of the present invention is an analysis method that can consider the time series of sample data to realize the detection of the ability of the electric energy meter to perform tasks.

[0022] In summary, the technical solution provided by the embodiment of the present invention realizes the detection of the task execution capability of the electric energy meter. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The drawings described herein are used to provide a further understanding of the present invention, constitute a part of the present application, and do not constitute a limitation of the present invention. In the drawings:

[0024] Figure 1 is a flow chart of a method for detecting task execution capability of an electric energy meter in an embodiment of the present invention;

[0025] Figure 2 is a flow chart of a method for detecting task execution capability of an electric energy meter in another embodiment of the present invention;

[0026] Figure 3 It is a structural schematic diagram of a device for detecting task execution capability of an electric energy meter in an embodiment of the present invention. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments and the accompanying drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.

[0028] Since the inventors found that the existing detection method for electric energy meters cannot detect the task execution capability of electric energy meters, the existing technical problems are: the object of the traditional principal component analysis method is a numerical value rather than a Boolean value, and it is not possible to analyze and detect whether the task is successfully executed. At the same time, the sample data processed by the traditional principal component analysis method is non-time-series data, and the task execution capability detection needs to consider the time series of the task data. Therefore, the traditional principal component analysis method is not suitable for the detection of the task execution capability of the electric energy meter.

[0029] Due to the inventor's discovery of the above technical problems, a scheme for detecting (evaluating) the task execution capability of an electric energy meter based on time domain extended principal component analysis is proposed. The scheme first expands the task execution data in the time domain according to the time of task execution, and then the object of the principal component analysis method performed on this basis is the data of whether the task execution is successful or not with time sequence, and then the task execution capability of the electric energy meter is detected according to the result of the time domain extended principal component analysis method. The scheme for detecting the task execution capability of an electric energy meter based on time domain extended analysis is introduced in detail as follows.

[0030] Figure 1 is a flow chart of a method for detecting the task execution capability of an electric energy meter in an embodiment of the present invention. Figure 1 As shown, the method includes:

[0031] Step 101: according to the type and time of task execution of the electric energy meter, the task execution data of each electric energy meter to be detected is expanded in the time domain to obtain the time domain expanded sampling data of each electric energy meter to be detected; the time domain expanded sampling data is the data of whether the task execution is successful or not with time sequence;

[0032] Step 102: constructing an original data matrix according to the time domain extended sampling data of all the electric energy meters to be detected, and determining a covariance matrix corresponding to the original data matrix according to the original data matrix;

[0033] Step 103: determining the eigenvalues ​​of the covariance matrix, and determining the eigenvector matrix corresponding to the covariance matrix according to the eigenvalues ​​of the covariance matrix;

[0034] Step 104: According to the number of principal components, a preset number of eigenvectors are selected from the eigenvector matrix to form a truncated eigenvector matrix; a principal component matrix is ​​determined according to the truncated eigenvector matrix and the original data matrix; the principal component matrix represents the common characteristics of the task execution capabilities of all the electric energy meters to be detected;

[0035] Step 105: Detecting the task execution capability of the electric energy meter according to the principal component matrix.

[0036] The technical solution provided by the embodiment of the present invention has the following beneficial effects:

[0037] Firstly, compared with the conventional principal component analysis method in the prior art, which targets numerical values ​​and cannot analyze whether the task is successfully executed, and thus cannot detect the ability of the electric energy meter to execute the task, the technical solution provided in the embodiment of the present invention processes the data of the electric energy meter executing the task, that is, the task execution data is only the data of success or failure, rather than a specific quantified number. Therefore, the method of the present invention is a method for analyzing Boolean sample data consisting of the success or failure of task execution, and thus can solve the problem of detecting the task execution ability of the electric energy meter.

[0038] Secondly, compared with the conventional principal component analysis method in the prior art, which processes data without time series and cannot detect the ability of the electric energy meter to perform tasks, the technical solution provided by the embodiment of the present invention is to expand in the time domain, solving the problem that the electric energy meter has time series in the actual application environment. Since the task of the electric energy meter is sent before the task receipt, and whether the task receipt is timely also reflects the ability of the electric energy meter to perform tasks. Therefore, the method of the present invention is an analysis method that can consider the time series of sample data to realize the detection of the ability of the electric energy meter to perform tasks.

[0039] In summary, the technical solution provided by the embodiment of the present invention realizes the detection of the task execution capability of the electric energy meter.

[0040] The various steps involved in the embodiment of the present invention are described in detail below.

[0041] 1. First, the above step 101 is introduced.

[0042] In the above step 101 (see Figure 2In S1), the number of electric energy meters participating in the task execution capability detection of electric energy meters (electric energy meters to be detected) is assumed to be N, and the starting time of the original data is t start , the end time is t end , then the test time length Δt is Δt = t end -t start , suppose there are M groups of task execution data for the jth electric energy meter, and the time corresponding to the i-th group of tasks is t ij If the i-th group task of the j-th electric energy meter is to send instructions, the time domain extended sampling data of the corresponding task execution data after being extended in the time domain is V ij ∠α ij , whose amplitude is V ij =1, its phase angle is α ij , α ij =(t ij -t start )π / Δt; if the i-th task of the j-th electric energy meter is a successful task execution receipt, then the time domain extended sampling data of the corresponding task execution data after expansion in the time domain is V ij ∠α ij , whose amplitude is V ij =1, its phase angle is α ij , α ij =(t ij -t start )π / Δt+π; if the i-th task of the j-th electric energy meter is a task execution failure receipt, then the time domain extended sampling data of the corresponding task execution data after being extended in the time domain is V ij ∠α ij , whose amplitude is V ij =0.5, its phase angle is α ij , α ij =(t ij -t start )π / Δt+π.

[0043] During specific implementation, the types of task execution of the electric energy meter include: types of successful task execution and types of failed task execution.

[0044] During specific implementation, the tasks of the electricity meter may include: data collection, fee control, time calibration, price adjustment and other tasks.

[0045] Second, the normalization step after step 101 is introduced (see Figure 2 (S2).

[0046] In one embodiment, the method for detecting the task execution capability of an electric energy meter based on time domain extension analysis may further include: normalizing the time domain extension sampling data of each electric energy meter to be detected to obtain the normalized time domain extension sampling data of all electric energy meters to be detected.

[0047] In specific implementation, normalizing the time domain extended sampling data of each electric energy meter to be detected improves the efficiency and accuracy of data processing. The specific normalization processing method may include: performing normalization on the time domain extended sampling data V of the jth electric energy meter task execution data j ∠α j =[V 1j ∠α 1j ,V 2j ∠α 2j ,…,V Mj ∠α Mj ] T Normalization is performed, j = 1, 2, ..., N, and the normalized time domain extended sampling data of the jth electric energy meter task execution data obtained after normalization is V j ∠α j , V j ∠α j The mean is 0 and the standard deviation is 1.

[0048] 3. Next, the above step 102 is introduced.

[0049] In one embodiment, constructing an original data matrix according to the time domain extended sampling data of all electric energy meters to be detected, and determining the covariance matrix corresponding to the original data matrix according to the original data matrix may include:

[0050] According to the normalized time-domain extended sampling data of all the electric energy meters to be detected, an original data matrix is ​​constructed, and according to the original data matrix, a covariance matrix corresponding to the original data matrix is ​​determined.

[0051] In the specific implementation, in the above step 102 (see Figure 2 In S3), an original data matrix X with M rows and N columns is constructed, where M is the number of task executions at different times, N is the number of electric energy meters, and X = [V1∠α1, V2∠α2, …, V N ∠α N ], X is an M×N complex matrix, and the covariance matrix C of X is calculated based on the original data matrix X, C=X H X, C are N×N complex matrices.

[0052] 4. Next, the above step 103 is introduced.

[0053] In the specific implementation, in the above step 103 (see Figure 2In S4), all eigenvalues ​​λ1,λ2,…λ of the matrix C are calculated. N , and λ1≥λ2≥…≥λ N ≥0, all eigenvalues ​​are real numbers; for eigenvalue λ j , j=1,2,…,N, find the homogeneous linear equations (λ j IC)=0, we get C for λ j A set of eigenvectors u j , then the eigenvector matrix U=[u1,u2,…u N ], U is an N×N complex matrix, and satisfies U H CU=Λ, where Λ=diag(λ1,λ2,…,λ N ).

[0054] 5. Next, the above step 104 is introduced.

[0055] 1. First, the step of determining the number (quantity) of principal components after step 103 above is introduced (see Figure 2 in S5).

[0056] In the specific implementation, the number of principal components k is selected according to the Guttman criterion, that is, k = max{k|λ k ≥1}.

[0057] 2. Next, after determining the number of principal components, a predetermined number of eigenvectors (the first k eigenvectors) are selected from the eigenvector matrix according to the number of principal components to form a truncated eigenvector matrix, and then the steps of determining the principal component matrix are introduced. Figure 2 S6 in.

[0058] In a specific implementation, the 1st to kth eigenvectors are selected from the eigenvector matrix U according to the number of principal components k, that is, the truncated eigenvector matrix U composed of the 1st to kth columns of the eigenvector matrix U is k =[u1,u2,…u k ],U k The original data matrix X is transformed to obtain the principal component matrix P, which represents the common characteristics of the task execution of all N electric energy meters (therefore, the principal component matrix can also be called the P common characteristic matrix P), completing the time domain extended principal component analysis process.

[0059] In specific implementation, the original data matrix X is transformed to obtain the principal component matrix P, which may include: P = XU k Calculate the principal component matrix P, where P is an M×k complex matrix.

[0060] 6. Next, the above step 105 is introduced, see Figure 2"S7-S10" in the

[0061] In one embodiment, detecting the task execution capability of the electric energy meter according to the principal component matrix may include detecting the task execution capability of the electric energy meter according to one or any combination of the following methods:

[0062] According to the number of principal components, the differences in the task execution capabilities of all the electric energy meters to be tested are detected;

[0063] According to the mean value of all elements in the first column of the principal component matrix, the differences in the task execution capabilities of all the electric energy meters to be tested are detected;

[0064] According to the variance of all elements in the first column of the principal component matrix, the differences in task execution capabilities of the common features of all electric energy meters to be detected are detected;

[0065] The task execution capabilities of all the electric energy meters to be detected are detected according to the modulus of the first row elements of the conjugate transposed matrix of the intercepted eigenvector matrix.

[0066] In specific implementation, the task execution capability of the electric energy meter is detected according to one or any combination of the methods described above, thereby improving the flexibility and accuracy of detecting the task execution capability of the electric energy meter.

[0067] 1. First, the steps of detecting the differences in the task execution capabilities of all the energy meters to be tested based on the number of principal components are introduced, see Figure 2 S7 in.

[0068] In one embodiment, detecting the differences in task execution capabilities of all the electric energy meters to be detected based on the number of principal component components may include: the smaller the number of principal component components, the smaller the differences in task execution capabilities of all the electric energy meters to be detected; the larger the number of principal component components, the larger the differences in task execution capabilities of all the electric energy meters to be detected.

[0069] In specific implementation, the number of principal components k represents the differences in the task execution capabilities of all electricity meters. The smaller k is, the smaller the differences in the task execution capabilities of the electricity meters participating in the evaluation are. Conversely, the larger k is, the larger the differences in the task execution capabilities of the electricity meters participating in the evaluation are. The k value is used to detect the differences in the task execution capabilities of all N electricity meters.

[0070] In a specific implementation, the principal component is the result of the principal component analysis calculation, and represents the result in the embodiment of the present invention.

[0071] 2. Secondly, the steps of detecting the differences in the task execution capabilities of all the electric energy meters to be tested are introduced according to the mean of all elements in the first column of the principal component matrix. Figure 2 S8 in.

[0072] In one embodiment, based on the mean of all elements in the first column of the principal component matrix, the differences in task execution capabilities of all the electric energy meters to be detected can include: the mean of all elements in the first column of the principal component matrix is ​​close to the origin of the complex plane, indicating that the task execution capabilities of all the electric energy meters to be detected are good, the proportion of task sending data that obtains successful execution receipts is large, and the time required to receive the receipt is short; the mean of all elements in the first column of the principal component matrix is ​​far from the origin of the complex plane, indicating that the task execution capabilities of all the electric energy meters to be detected are poor, the proportion of task sending data that obtains successful execution receipts is small, and the time required to receive the receipt is long.

[0073] In specific implementation, the first column p1 of the common feature matrix P is the dominant feature of the task execution capability of all electric energy meters. The closer the mean of all elements of p1 is to the origin of the complex plane (the origin of the complex plane is the origin of the complex number domain, the horizontal axis represents the real part, the vertical axis represents the imaginary part, and the origin is a complex number whose real and imaginary parts are both 0), the better the task execution capability of all electric energy meters is, the greater the proportion of task sent data that obtains successful execution receipts, and the time required to receive the receipt is short. Conversely, the farther the mean of all elements of p1 is from the origin of the complex plane, the poorer the task execution capability of all electric energy meters is, the smaller the proportion (proportion) of task sent data that obtains successful execution receipts, and the time required to receive the receipt is long.

[0074] 3. Next, the steps of detecting the differences in the task execution capabilities of the common features of all the electric energy meters to be detected are introduced based on the variance of all elements in the first column of the principal component matrix. Figure 2 S9 in.

[0075] In one embodiment, based on the variance of all elements in the first column of the principal component matrix, the differences in task execution capabilities of the common characteristics of all electric energy meters to be detected can be detected, which may include: the variance of all elements in the first column of the principal component matrix is ​​small, which means that the differences in task execution capabilities of the common characteristics of all electric energy meters to be detected are small; the variance of all elements in the first column of the principal component matrix is ​​large, which means that the differences in task execution capabilities of the common characteristics of all electric energy meters to be detected are large.

[0076] In specific implementation, the variance of all elements of p1 represents the differences in task execution capabilities of the common characteristics of all electricity meters. If the variance of all elements of p1 is small, the differences in task execution capabilities of the common characteristics of all electricity meters are small. Conversely, if the variance of all elements of p1 is large, the differences in task execution capabilities of the common characteristics of all electricity meters are large.

[0077] 4. Finally, the steps of detecting the task execution capabilities of all the electric energy meters to be tested are introduced according to the modulus of the first row element of the conjugate transposed matrix of the intercepted eigenvector matrix, see Figure 2 The S10 in.

[0078] In one embodiment, the task execution capabilities of all the electric energy meters to be detected are detected based on the modulus of the first row elements of the conjugate transposed matrix of the truncated eigenvector matrix, which may include: if the modulus of any element in the first row of the conjugate transposed matrix is ​​large, it means that the task execution capability of the electric energy meter to be detected corresponding to the any element is good; if the modulus of any element in the first row of the conjugate transposed matrix is ​​large, it means that the task execution capability of the electric energy meter to be detected corresponding to the any element is poor.

[0079] In specific implementation, suppose U H To extract the eigenvector matrix U k The conjugate transposed matrix, U H =U k H , then the matrix U H The jth column of is the relationship between the task execution of the jth electric energy meter and the common feature P of all electric energy meters. The matrix U H The first line of the matrix U is the correspondence between the N electric energy meters and the dominant feature p1. H The first row and j column element u 1j is the corresponding relationship between the jth electric energy meter and the dominant feature p1, u 1j The larger the modulus of, the closer the task execution capability of the jth electric energy meter is to the dominant feature, and the better the task execution capability of the electric energy meter is. 1j The smaller the modulus is, the more the task execution capability of the j-th electric energy meter deviates from the dominant feature, and the worse the task execution capability of the electric energy meter is.

[0080] Based on the same inventive concept, an embodiment of the present invention also provides an electric energy meter task execution capability detection device, such as the following embodiment. Since the principle of solving the problem by the electric energy meter task execution capability detection device is similar to the above-mentioned electric energy meter task execution capability detection method, the implementation of the electric energy meter task execution capability detection device can refer to the implementation of the above-mentioned electric energy meter task execution capability detection method, and the repeated parts will not be repeated. As used below, the term "module" or "unit" can be a combination of software and / or hardware that implements predetermined functions. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.

[0081] Figure 3 is a schematic diagram of the structure of the device for detecting the task execution capability of an electric energy meter in an embodiment of the present invention. Figure 3 As shown, the device comprises:

[0082] The time domain extended sampling data determining unit 01 is used to expand the task execution data of each electric energy meter to be detected in the time domain according to the type and time of task execution of the electric energy meter, so as to obtain the time domain extended sampling data of each electric energy meter to be detected; the time domain extended sampling data is the data of whether the task execution is successful or not with time sequence;

[0083] The original data matrix and covariance matrix determination unit 02 is used to construct an original data matrix according to the time domain extended sampling data of all electric energy meters to be detected, and determine the covariance matrix corresponding to the original data matrix according to the original data matrix;

[0084] The eigenvector matrix determining unit 03 is used to determine the eigenvalues ​​of the covariance matrix, and determine the eigenvector matrix corresponding to the covariance matrix according to the eigenvalues ​​of the covariance matrix;

[0085] The intercepted eigenvector matrix and principal component matrix determination unit 04 is used to select a preset number of eigenvectors from the eigenvector matrix according to the number of principal components to form an intercepted eigenvector matrix; determine the principal component matrix according to the intercepted eigenvector matrix and the original data matrix; the principal component matrix represents the common characteristics of the task execution capabilities of all the electric energy meters to be detected;

[0086] The detection unit 05 is used to detect the task execution capability of the electric energy meter according to the principal component matrix.

[0087] In one embodiment, the detection unit may be specifically used to detect the task execution capability of the electric energy meter according to one or any combination of the following methods:

[0088] According to the number of principal components, the differences in the task execution capabilities of all the electric energy meters to be tested are detected;

[0089] According to the mean value of all elements in the first column of the principal component matrix, the differences in the task execution capabilities of all the electric energy meters to be tested are detected;

[0090] According to the variance of all elements in the first column of the principal component matrix, the differences in task execution capabilities of the common features of all electric energy meters to be detected are detected;

[0091] The task execution capabilities of all the electric energy meters to be detected are detected according to the modulus of the first row elements of the conjugate transposed matrix of the intercepted eigenvector matrix.

[0092] In one embodiment, the detection unit can be specifically used for:

[0093] The smaller the number of principal components, the smaller the difference in the task execution capabilities of all the electric energy meters to be detected; the larger the number of principal components, the larger the difference in the task execution capabilities of all the electric energy meters to be detected;

[0094] The mean of all elements in the first column of the principal component matrix is ​​close to the origin of the complex plane, which means that all the electric energy meters to be tested have good task execution capabilities, a large proportion of task sent data receiving successful execution receipts, and a short time to receive receipts; the mean of all elements in the first column of the principal component matrix is ​​far from the origin of the complex plane, which means that all the electric energy meters to be tested have poor task execution capabilities, a small proportion of task sent data receiving successful execution receipts, and a long time to receive receipts;

[0095] The variance of all elements in the first column of the principal component matrix is ​​small, which means that the differences in the task execution capabilities of the common characteristics of all the electric energy meters to be detected are small; the variance of all elements in the first column of the principal component matrix is ​​large, which means that the differences in the task execution capabilities of the common characteristics of all the electric energy meters to be detected are large;

[0096] If the modulus of any element in the first row of the conjugate transposed matrix is ​​large, it means that the task execution capability of the electric energy meter to be detected corresponding to the element is good; if the modulus of any element in the first row of the conjugate transposed matrix is ​​large, it means that the task execution capability of the electric energy meter to be detected corresponding to the element is poor.

[0097] In one embodiment, the above-mentioned electric energy meter task execution capability detection device may further include: a normalization processing unit, used to perform normalization processing on the time domain extended sampling data of each electric energy meter to be detected, so as to obtain the normalized time domain extended sampling data of all the electric energy meters to be detected;

[0098] The original data matrix and covariance matrix determination unit can be specifically used to: construct an original data matrix according to the normalized time domain extended sampling data of all electric energy meters to be detected, and determine the covariance matrix corresponding to the original data matrix according to the original data matrix.

[0099] In summary, the core innovation of the method of the present invention is that the object of the traditional principal component analysis method is a numerical value rather than a Boolean value, and it cannot analyze and detect whether the task is executed successfully or not. At the same time, the sample data processed by the traditional principal component analysis method is non-time-sequential data, and the task execution capability detection needs to consider the time sequence of the task data. Therefore, the traditional principal component analysis method is not suitable for the detection of the task execution capability of the electric energy meter. The method of the present invention expands the task execution data in the time domain according to the time of task execution. The object of the principal component analysis method performed on this basis is the data of whether the task is executed successfully or not with time sequence, which solves the problem that the traditional principal component analysis method cannot detect the task execution capability of the electric energy meter.

[0100] An embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method for detecting the task execution capability of the electric energy meter.

[0101] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for executing a method for detecting task execution capability of an electric energy meter.

[0102] The beneficial technical effects of the technical solution provided by the implementation of the present invention are as follows: It can be seen from the above technical solution that the object of the method for detecting the task execution capability of an electric energy meter based on time domain extended principal component analysis in this embodiment is the data of the electric energy meter executing the task, that is, the task execution data is only success or failure rather than a specific quantified number. Therefore, the method of the present invention is a method for processing Boolean sample data analysis consisting of successful or failed task execution, thereby solving the problem of detecting the task execution capability of an electric energy meter; at the same time, this method expands the principal component analysis in the time domain, solving the problem that the electric energy meter has a time sequence in the actual application environment, because the task sending of the electric energy meter precedes the task receipt, and whether the task receipt is timely also reflects the ability of the electric energy meter to execute the task. Therefore, the method of the present invention can consider the analysis method of the time sequence of sample data to realize the detection of the electric energy meter's ability to execute tasks.

[0103] Obviously, those skilled in the art should understand that the modules or steps of the above-mentioned embodiments of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the embodiments of the present invention are not limited to any specific combination of hardware and software.

[0104] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the embodiments of the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for detecting task execution capability of an electric energy meter, characterized in that: include: According to the type and time of task execution of the electric energy meter, the task execution data of each electric energy meter to be detected is expanded in the time domain to obtain the time domain expanded sampling data of each electric energy meter to be detected; The time domain extended sampling data is data on whether the task is successfully executed or not with time sequence; The types of task execution of the electric energy meter include: the type of successful task execution and the type of failed task execution. The tasks of the electric energy meter include: collection, fee control, time calibration, and price adjustment tasks; According to the time domain extended sampling data of all the electric energy meters to be detected, an original data matrix is ​​constructed, and according to the original data matrix, a covariance matrix corresponding to the original data matrix is ​​determined; Determine the eigenvalues ​​of the covariance matrix, and determine the eigenvector matrix corresponding to the covariance matrix according to the eigenvalues ​​of the covariance matrix; According to the number of principal components, a preset number of eigenvectors are selected from the eigenvector matrix to form a truncated eigenvector matrix; according to the truncated eigenvector matrix and the original data matrix, a principal component matrix is ​​determined; the principal component matrix represents the common characteristics of the task execution capabilities of all the electric energy meters to be detected; According to the principal component matrix, the task execution capability of the electric energy meter is detected, which includes detecting the task execution capability of the electric energy meter according to one of the following methods or any combination thereof: according to the number of principal component components, detecting the differences in the task execution capabilities of all the electric energy meters to be detected, wherein the smaller the number of principal component components, the smaller the difference in the task execution capabilities of all the electric energy meters to be detected, and the larger the number of principal component components, the greater the difference in the task execution capabilities of all the electric energy meters to be detected; according to the mean of all elements in the first column of the principal component matrix, detecting the differences in the task execution capabilities of all the electric energy meters to be detected, wherein the mean of all elements in the first column of the principal component matrix is ​​close to the origin of the complex plane, indicating that the task execution capability of all the electric energy meters to be detected is good, the proportion of task sending data to obtain a successful execution receipt is high, and the time required to receive the receipt is short; the mean of all elements in the first column of the principal component matrix is ​​far from the origin of the complex plane, indicating that the task execution capability of all the electric energy meters to be detected is good. The power is poor, the proportion of successful execution receipts obtained by sending task data is small, and the time required to receive the receipt is long; according to the variance of all elements in the first column of the principal component matrix, the task execution capability differences of the common characteristics of all electric energy meters to be detected are detected, wherein the variance of all elements in the first column of the principal component matrix is ​​small, which means that the task execution capability differences of the common characteristics of all electric energy meters to be detected are small; the variance of all elements in the first column of the principal component matrix is ​​large, which means that the task execution capability differences of the common characteristics of all electric energy meters to be detected are large; according to the modulus of the first row elements of the conjugate transpose matrix of the intercepted eigenvector matrix, the task execution capability of all electric energy meters to be detected is detected, wherein the modulus of any element in the first row of the conjugate transpose matrix is ​​large, which means that the task execution capability of the electric energy meter to be detected corresponding to the any element is good; the modulus of any element in the first row of the conjugate transpose matrix is ​​small, which means that the task execution capability of the electric energy meter to be detected corresponding to the any element is poor.

2. The method for detecting the task execution capability of an electric energy meter according to claim 1, characterized in that: Also includes: Normalizing the time domain extended sampling data of each electric energy meter to be detected to obtain the normalized time domain extended sampling data of all electric energy meters to be detected; According to the time domain extended sampling data of all the electric energy meters to be detected, the original data matrix is ​​constructed, and the covariance matrix corresponding to the original data matrix is ​​determined according to the original data matrix, including: According to the normalized time-domain extended sampling data of all the electric energy meters to be detected, an original data matrix is ​​constructed, and according to the original data matrix, a covariance matrix corresponding to the original data matrix is ​​determined.

3. A device for detecting the task execution capability of an electric energy meter, characterized in that: include: A time domain extended sampling data determination unit is used to expand the task execution data of each electric energy meter to be detected in the time domain according to the type and time of task execution of the electric energy meter, so as to obtain the time domain extended sampling data of each electric energy meter to be detected; The time domain extended sampling data is data on whether the task is successfully executed or not with time sequence; The types of task execution of the electric energy meter include: the type of successful task execution and the type of failed task execution. The tasks of the electric energy meter include: collection, fee control, time calibration, and price adjustment tasks; The original data matrix and covariance matrix determination unit is used to construct an original data matrix according to the time domain extended sampling data of all electric energy meters to be detected, and determine the covariance matrix corresponding to the original data matrix according to the original data matrix; An eigenvector matrix determining unit, used to determine the eigenvalues ​​of the covariance matrix, and determine the eigenvector matrix corresponding to the covariance matrix according to the eigenvalues ​​of the covariance matrix; The unit for determining the intercepted eigenvector matrix and the principal component matrix is ​​used to select a preset number of eigenvectors from the eigenvector matrix according to the number of principal components to form an intercepted eigenvector matrix; the principal component matrix is ​​determined according to the intercepted eigenvector matrix and the original data matrix; the principal component matrix represents the common characteristics of the task execution capabilities of all the electric energy meters to be detected; A detection unit is used to detect the task execution capability of the electric energy meter according to the principal component matrix, which includes detecting the task execution capability of the electric energy meter according to one of the following methods or any combination thereof: detecting the differences in the task execution capabilities of all the electric energy meters to be detected according to the number of principal component components, wherein the smaller the number of principal component components, the smaller the difference in the task execution capabilities of all the electric energy meters to be detected, and the larger the number of principal component components, the larger the difference in the task execution capabilities of all the electric energy meters to be detected; detecting the differences in the task execution capabilities of all the electric energy meters to be detected according to the mean of all elements in the first column of the principal component matrix, wherein the mean of all elements in the first column of the principal component matrix is ​​close to the origin of the complex plane, indicating that the task execution capabilities of all the electric energy meters to be detected are good, the proportion of task sending data to obtain successful execution receipts is high, and the time required to receive the receipts is short; the mean of all elements in the first column of the principal component matrix is ​​far from the origin of the complex plane, indicating that the task execution capabilities of all the electric energy meters to be detected are good, the proportion of task sending data to obtain successful execution receipts is high, and the time required to receive the receipts is short; the mean of all elements in the first column of the principal component matrix is ​​far from the origin of the complex plane, indicating that the task execution capabilities of all the electric energy meters to be detected are good, and the time required to receive the receipts is short. The execution capability is poor, the proportion of successful execution receipts obtained after sending task data is small, and the time required to receive the receipt is long; according to the variance of all elements in the first column of the principal component matrix, the differences in task execution capabilities of the common characteristics of all electric energy meters to be detected are detected, wherein the variance of all elements in the first column of the principal component matrix is ​​small, which means that the differences in task execution capabilities of the common characteristics of all electric energy meters to be detected are small; the variance of all elements in the first column of the principal component matrix is ​​large, which means that the differences in task execution capabilities of the common characteristics of all electric energy meters to be detected are large; according to the modulus of the first row elements of the conjugate transpose matrix of the intercepted eigenvector matrix, the task execution capabilities of all electric energy meters to be detected are detected, wherein the modulus of any element in the first row of the conjugate transpose matrix is ​​large, which means that the task execution capability of the electric energy meter to be detected corresponding to the any element is good; the modulus of any element in the first row of the conjugate transpose matrix is ​​small, which means that the task execution capability of the electric energy meter to be detected corresponding to the any element is poor.

4. The device for detecting the task execution capability of an electric energy meter according to claim 3, characterized in that: Also includes: A normalization processing unit, used for performing normalization processing on the time domain extended sampling data of each electric energy meter to be detected, so as to obtain the normalized time domain extended sampling data of all electric energy meters to be detected; The original data matrix and covariance matrix determination unit is specifically used to: construct an original data matrix according to the normalized time domain extended sampling data of all electric energy meters to be detected, and determine the covariance matrix corresponding to the original data matrix according to the original data matrix.

5. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 2 is implemented.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program for executing the method according to any one of claims 1 to 2.

Citation Information

Patent Citations

  • Method for recognizing function response signal under function nuclear magnetic resonance scan

    CN101788656A

  • An earth observation satellite mission effectiveness evaluation index system and an analysis method

    CN109447394A

  • Electric energy meter task execution capability detection device

    CN209961899U