CN110031790A - Electric energy meter Mission Capability detection method and device - Google Patents
Electric energy meter Mission Capability detection method and device Download PDFInfo
- Publication number
- CN110031790A CN110031790A CN201910329419.4A CN201910329419A CN110031790A CN 110031790 A CN110031790 A CN 110031790A CN 201910329419 A CN201910329419 A CN 201910329419A CN 110031790 A CN110031790 A CN 110031790A
- Authority
- CN
- China
- Prior art keywords
- electric energy
- matrix
- task execution
- detected
- energy meter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000001514 detection method Methods 0.000 title claims description 24
- 239000011159 matrix material Substances 0.000 claims abstract description 225
- 238000000034 method Methods 0.000 claims abstract description 50
- 238000005070 sampling Methods 0.000 claims abstract description 41
- 238000010606 normalization Methods 0.000 claims description 10
- 238000012545 processing Methods 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 7
- 238000012847 principal component analysis method Methods 0.000 description 17
- 239000000243 solution Substances 0.000 description 11
- 238000004458 analytical method Methods 0.000 description 7
- 238000000513 principal component analysis Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 238000007405 data analysis Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000011156 evaluation Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 239000003637 basic solution Substances 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000003064 k means clustering Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R35/00—Testing or calibrating of apparatus covered by the other groups of this subclass
- G01R35/04—Testing or calibrating of apparatus covered by the other groups of this subclass of instruments for measuring time integral of power or current
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Testing Or Calibration Of Command Recording Devices (AREA)
Abstract
本发明提供了一种电能表任务执行能力检测方法及装置,其中,该方法包括:对每一待检测电能表的任务执行数据在时域进行扩展,得到每一待检测电能表的时域扩展采样数据;根据所有待检测电能表的时域扩展采样数据,构建原始数据矩阵,及确定原始数据矩阵对应的协方差矩阵;确定协方差矩阵的特征值和对应的特征向量矩阵;根据主成分数量,从所述特征向量矩阵中选取出预设个特征向量,组成截取特征向量矩阵;根据截取特征向量矩阵和原始数据矩阵,确定主成分矩阵;根据主成分矩阵,检测电能表任务执行能力。上述技术方案实现了考虑时序性和任务执行成功与否组成布尔量的任务数据,来检测电能表任务执行能力。
The present invention provides a method and device for detecting the task execution capability of an electric energy meter, wherein the method includes: expanding the task execution data of each electric energy meter to be detected in the time domain to obtain the time domain expansion of each electric energy meter to be detected Sampling data; according to the time domain expansion sampling data of all the electric energy meters to be detected, construct the original data matrix, and determine the covariance matrix corresponding to the original data matrix; determine the eigenvalues of the covariance matrix and the corresponding eigenvector matrix; according to the number of principal components , select a preset eigenvector from the eigenvector matrix to form an intercepted eigenvector matrix; determine the principal component matrix according to the intercepted eigenvector matrix and the original data matrix; and detect the task execution capability of the electric energy meter according to the principal component matrix. The above technical solution realizes the task data composed of Boolean quantity considering the timing and whether the task execution is successful or not, so as to detect the task execution capability of the electric energy meter.
Description
技术领域technical field
本发明涉及电能表技术领域,特别涉及一种电能表任务执行能力检测方法及装置。The invention relates to the technical field of electric energy meters, in particular to a method and device for detecting the task execution capability of an electric energy meter.
背景技术Background technique
为了进一步发挥智能电能表资产效益,减少电网运营成本,提高供电可靠性和用户满意度,公司在智能电能表非计量功能上做了大量研究和应用。智能电能表高级应用已成为配网运营管理的重要手段,公司拓展计量采集系统的非计量功能开发和应用,建立完善的数据共享机制,制定智能电能表数据支撑各专业应用的工作规则,全面有效支撑运检、发展、安质等专业数据需求。为了支撑相关工作,需要对现有台区全载波、半载波、宽带载波等通信方式下电能表的采集任务执行能力和本地网络通信能力进行检测。目前对采集台区电能表的采集能力和本地网络通信没有进行量化的检测方式,因此需综合主站多数据采集、费控、校时、调价等任务,结合本地通信信道通信监控,实现电能表任务执行能力的可量化和可操作的检测。现有对电能表任务执行能力检测方案的缺点如下。In order to further leverage the asset benefits of smart energy meters, reduce grid operating 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 expands the development and application of non-metering functions of the metering and acquisition system, establishes a complete data sharing mechanism, and formulates work rules for smart energy meter data to support various professional applications, which are comprehensive and effective. Support professional data requirements such as transportation inspection, development, and safety and quality. In order to support related work, it is necessary to test the acquisition task execution capability and local network communication capability of the electric energy meter under the existing communication modes such as full carrier, half carrier, and broadband carrier in the station area. At present, there is no quantitative detection method for the collection capability of the electric energy meter in the collection station area and the local network communication. Therefore, it is necessary to integrate the tasks of the main station multi-data acquisition, cost control, time adjustment, price adjustment, etc., combined with the communication monitoring of the local communication channel, to realize the electric energy meter. A quantifiable and actionable measurement of task performance capability. The disadvantages of the existing detection scheme for the task execution capability of the electric energy meter are as follows.
首先,在现有技术中,电能表的性能往往通过各种实验手段在实验室条件下测量得到的实验值,这些实验值均为一个具体的数字,在此基础上通过大量实验即可获得一定量的样本数据,通过对样本数据进行分析即可检测电能表的相关性能,一种典型的样本数据分析方法为主成分分析和k均值聚类法。但是这种方法针对的对象是数值样本数据,而电能表执行任务的数据通常为任务执行是否成功,即任务执行数据仅为成功或失败而不是一个具体量化的数字。因此,现有基于数值样本数据的分析方法不能用于检测电能表任务执行能力。First of all, in the prior art, the performance of the electric energy meter is often measured by various experimental means under laboratory conditions. These experimental values are all specific numbers. A typical sample data analysis method is principal component analysis and k-means clustering method. However, the object of this method is numerical sample data, and the data of the power meter execution task is usually whether the task execution is successful, that is, the task execution data is only success or failure rather than a specific quantified number. Therefore, the existing analysis methods based on numerical sample data cannot be used to detect the task performance capability of the electric energy meter.
其次,目前主要用于分析电能表性能的方法主要是传统的主成分分析法,传统的主成分分析法处理的对象是无时序性的数据,已有技术中通过多次实验取得的样本数据即为无时序性的数据,因此传统主成分分析方法可用于这种分析。但实际应用环境中,电能表执行任务是具有时序性的,任务发送是先于任务回执的,而且任务回执是否及时也反映了电能表执行任务的能力强弱。因此,传统的用于分析电能表性能的主成分分析方法不能用于检测电能表任务执行能力。Secondly, the method mainly used to analyze the performance of the electric energy meter is mainly the traditional principal component analysis method. The object of the traditional principal component analysis method is the data without time series. The sample data obtained through many experiments in the prior art is The data is not time series, so the traditional principal component analysis method can be used for this analysis. However, in the actual application environment, the power meter performs tasks in a sequential manner, the task sending is prior to the task receipt, and whether the task receipt is timely also reflects the ability of the power meter to perform tasks. Therefore, the traditional principal component analysis method for analyzing the performance of the electric energy meter cannot be used to detect the task execution capability of the electric energy meter.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供了一种电能表任务执行能力检测方法,用以检测电能表任务执行能力,该方法包括: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, and the method includes:
根据电能表的任务执行的类型和时间,对每一待检测电能表的任务执行数据在时域进行扩展,得到每一待检测电能表的时域扩展采样数据;所述时域扩展采样数据为具有时序性的任务执行成功与否的数据;According to the task execution type and time of the electric energy meter, the task execution data of each electric energy meter to be detected is expanded in the time domain, and the time domain expanded sampling data of each electric energy meter to be detected is obtained; the time domain expanded sampling data is: Data on the success or failure of time-series tasks;
根据所有待检测电能表的时域扩展采样数据,构建原始数据矩阵,根据原始数据矩阵,确定原始数据矩阵对应的协方差矩阵;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;
确定所述协方差矩阵的特征值,根据协方差矩阵的特征值,确定协方差矩阵对应的特征向量矩阵;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 eigenvector is selected from the eigenvector matrix 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 all Common features of the task execution capability of the electric energy meter to be tested;
根据所述主成分矩阵,检测电能表任务执行能力。According to the principal component matrix, the task execution capability of the electric energy meter is detected.
本发明实施例还提供了一种电能表任务执行能力检测装置,用以检测电能表任务执行能力,该装置包括:The embodiment of the present invention also 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, and the device includes:
时域扩展采样数据确定单元,用于根据电能表的任务执行的类型和时间,对每一待检测电能表的任务执行数据在时域进行扩展,得到每一待检测电能表的时域扩展采样数据;所述时域扩展采样数据为具有时序性的任务执行成功与否的数据;The 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 task execution type and time of the electric energy meter to obtain the time domain expanded sampling of each electric energy meter to be detected. data; the time-domain extended sampling data is the data of whether the task with time sequence is executed successfully or not;
原始数据矩阵及协方差矩阵确定单元,用于根据所有待检测电能表的时域扩展采样数据,构建原始数据矩阵,根据原始数据矩阵,确定原始数据矩阵对应的协方差矩阵;The original data matrix and covariance matrix determination unit is used for constructing the original data matrix according to the time domain expansion sampling data of all the electric energy meters to be detected, and determining the covariance matrix corresponding to the original data matrix according to the original data matrix;
特征向量矩阵确定单元,用于确定所述协方差矩阵的特征值,根据协方差矩阵的特征值,确定协方差矩阵对应的特征向量矩阵;an eigenvector matrix determining unit, used for 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;
截取特征向量矩阵及主成分矩阵确定单元,用于根据主成分数量,从所述特征向量矩阵中选取出预设个特征向量,组成截取特征向量矩阵;根据所述截取特征向量矩阵和原始数据矩阵,确定主成分矩阵;所述主成分矩阵代表所有待检测电能表任务执行能力的共性特征;The intercepted eigenvector matrix and the principal component matrix determination unit are used to select a preset eigenvector from the eigenvector matrix according to the number of principal components to form an intercepted eigenvector matrix; according to the intercepted eigenvector matrix and the original data matrix , determine the principal component matrix; the principal component matrix represents the common feature of the task execution capability of all the electric energy meters to be detected;
检测单元,用于根据所述主成分矩阵,检测电能表任务执行能力。The detection unit is configured to detect the task execution capability of the electric energy meter according to the principal component matrix.
本发明实施例还提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述电能表任务执行能力检测方法。An embodiment of the present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor executes the method for detecting the task execution capability of an electric energy meter.
本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有执行电能表任务执行能力检测方法的计算机程序。Embodiments of the present invention further provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program for executing the method for detecting the task execution capability of an electric energy meter.
本发明实施例提供的技术方案具有如下有益效果:The technical solutions provided by the embodiments of the present invention have the following beneficial effects:
首先,与现有技术中传统主成分分析方法的对象是数值,不能对任务执行成功与否进行分析,进而无法对电能表执行任务能力进行检测的方案相比较,本发明实施例提供的技术方案处理的对象是电能表执行任务的数据,即任务执行数据仅为成功或失败的数据,而不是一个具体量化的数字,因此本发明方法是一种能处理由任务执行成功或失败组成的布尔量样本数据分析的方法,进而可以解决检测电能表任务执行能力的问题。First of all, compared with the conventional principal component analysis method in the prior art, the object is numerical value, and it is impossible to analyze whether the task is successful or not, and thus cannot detect the ability of the electric energy meter to perform the task. The technical solution provided by the embodiment of the present invention The object to be processed is the data of the task executed by the electric energy meter, that is, the task execution data is only the data of success or failure, rather than a specific quantified number, so the method of the present invention is a Boolean quantity that can process the success or failure of the task execution. The method of sample data analysis can then solve the problem of detecting the task execution capability of the electric energy meter.
其次,与现有技术中传统的主成分分析法处理对象是无时序性的数据,无法对电能表执行任务能力进行检测的方案相比较,本发明实施例提供的技术方案是在时域进行扩展,解决了实际应用环境中电能表执行任务是具有时序性的问题,由于电能表的任务发送是先于任务回执的,而且任务回执是否及时也反映了电能表执行任务的能力强弱。因此,本发明方法为可考虑样本数据时序性的分析方法以实现对电能表执行任务能力的检测。Secondly, compared with the traditional principal component analysis method in the prior art, which processes data without time sequence 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. , which solves the problem that the electric energy meter performs tasks in a time sequence in the actual application environment. Because the task sending of the electric energy meter is prior to the task receipt, and whether the task receipt is timely also reflects the ability of the electric energy meter to perform the task. Therefore, the method of the present invention is an analysis method that can consider the time series of the sample data, so as to realize the detection of the ability of the electric energy meter to perform tasks.
综上,本发明实施例提供的技术方案实现了对电能表执行任务能力的检测。In conclusion, the technical solutions provided by the embodiments of the present invention realize the detection of the ability of the electric energy meter to perform tasks.
附图说明Description of drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,并不构成对本发明的限定。在附图中:The accompanying drawings described herein are used to provide a further understanding of the present invention, and constitute a part of the present application, and do not constitute a limitation to the present invention. In the attached image:
图1是本发明实施例中电能表任务执行能力检测方法的流程示意图;1 is a schematic flowchart of a method for detecting a task execution capability of an electric energy meter according to an embodiment of the present invention;
图2是本发明又一实施例中电能表任务执行能力检测方法的流程示意图;2 is a schematic flowchart of a method for detecting a task execution capability of an electric energy meter in another embodiment of the present invention;
图3是本发明实施例中电能表任务执行能力检测装置的结构示意图。FIG. 3 is a schematic structural diagram of an apparatus for detecting a task execution capability of an electric energy meter according to an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚明白,下面结合实施方式和附图,对本发明做进一步详细说明。在此,本发明的示意性实施方式及其说明用于解释本发明,但并不作为对本发明的限定。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the embodiments and accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but not to limit the present invention.
由于发明人发现现有对电能表检测方法无法检测电能表任务执行能力,存在的技术问题是:传统主成分分析方法的对象是数值而不是布尔量,不能针对任务执行成功与否进行分析和检测,同时传统主成分分析方法处理的样本数据为无时序性的数据,而任务执行能力检测需要考虑任务数据的时序性,因此传统主成分分析方法并不适用于电能表任务执行能力的检测。Since the inventor found that the existing detection methods for electric energy meters cannot detect the task execution capability of electric energy meters, the existing technical problem is: the object of the traditional principal component analysis method is numerical value instead of Boolean quantity, and it cannot analyze and detect whether the task execution is successful or not. At the same time, the sample data processed by the traditional principal component analysis method is data with no time sequence, and the task execution capability detection needs to consider the time sequence of the task data, so the traditional principal component analysis method is not suitable for the detection of the task execution capability of the electric energy meter.
由于发明人发现上述技术问题,提出了一种基于时域扩展主成分分析的电能表任务执行能力检测(评估)方案,该方案首先根据任务执行的时间对任务执行数据在时域进行扩展,然后在此基础上进行的主成分分析方法的对象是具有时序性的任务执行成功与否的数据,进而根据时域扩展主成分分析方法的结果检测电能表任务执行能力。下面对该基于时域扩展分析的电能表任务执行能力检测的方案进行详细介绍如下。Due to the above technical problems discovered by the inventor, a scheme for detecting (assessing) the task execution capability of an electric energy meter based on time-domain extended principal component analysis is proposed. The object of the principal component analysis method 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 results of the time domain extended principal component analysis method. The scheme for detecting the task execution capability of the electric energy meter based on the time domain extension analysis is described in detail as follows.
图1是本发明实施例中电能表任务执行能力检测方法的流程示意图,如图1所示,该方法包括:FIG. 1 is a schematic flowchart of a method for detecting a task execution capability of an electric energy meter according to an embodiment of the present invention. As shown in FIG. 1 , the method includes:
步骤101:根据电能表的任务执行的类型和时间,对每一待检测电能表的任务执行数据在时域进行扩展,得到每一待检测电能表的时域扩展采样数据;所述时域扩展采样数据为具有时序性的任务执行成功与否的数据;Step 101: According to the task execution type and time of the electric energy meter, the task execution data of each electric energy meter to be detected is expanded in the time domain, and the time domain expanded sampling data of each electric energy meter to be detected is obtained; the time domain expansion The sampled data is the data of whether the time-series tasks are executed successfully or not;
步骤102:根据所有待检测电能表的时域扩展采样数据,构建原始数据矩阵,根据原始数据矩阵,确定原始数据矩阵对应的协方差矩阵;Step 102: construct an original data matrix according to the time-domain extended sampling data of all electric energy meters to be detected, and determine a covariance matrix corresponding to the original data matrix according to the original data matrix;
步骤103:确定所述协方差矩阵的特征值,根据协方差矩阵的特征值,确定协方差矩阵对应的特征向量矩阵;Step 103: 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;
步骤104:根据主成分数量,从所述特征向量矩阵中选取出预设个特征向量,组成截取特征向量矩阵;根据所述截取特征向量矩阵和原始数据矩阵,确定主成分矩阵;所述主成分矩阵代表所有待检测电能表任务执行能力的共性特征;Step 104: according to the number of principal components, select a preset eigenvector from the eigenvector matrix to form an intercepted eigenvector matrix; determine a principal component matrix according to the intercepted eigenvector matrix and the original data matrix; the principal component The matrix represents the common characteristics of the task execution capability of all the electric energy meters to be tested;
步骤105:根据所述主成分矩阵,检测电能表任务执行能力。Step 105: Detect the task execution capability of the electric energy meter according to the principal component matrix.
本发明实施例提供的技术方案具有如下有益效果:The technical solutions provided by the embodiments of the present invention have the following beneficial effects:
首先,与现有技术中传统主成分分析方法的对象是数值,不能对任务执行成功与否进行分析,进而无法对电能表执行任务能力进行检测的方案相比较,本发明实施例提供的技术方案处理的对象是电能表执行任务的数据,即任务执行数据仅为成功或失败的数据,而不是一个具体量化的数字,因此本发明方法是一种能处理由任务执行成功或失败组成的布尔量样本数据分析的方法,进而可以解决检测电能表任务执行能力的问题。First of all, compared with the conventional principal component analysis method in the prior art, the object is numerical value, and it is impossible to analyze whether the task is successful or not, and thus cannot detect the ability of the electric energy meter to perform the task. The technical solution provided by the embodiment of the present invention The object to be processed is the data of the task executed by the electric energy meter, that is, the task execution data is only the data of success or failure, rather than a specific quantified number, so the method of the present invention is a Boolean quantity that can process the success or failure of the task execution. The method of sample data analysis can then solve the problem of detecting the task execution capability of the electric energy meter.
其次,与现有技术中传统的主成分分析法处理对象是无时序性的数据,无法对电能表执行任务能力进行检测的方案相比较,本发明实施例提供的技术方案是在时域进行扩展,解决了实际应用环境中电能表执行任务是具有时序性的问题,由于电能表的任务发送是先于任务回执的,而且任务回执是否及时也反映了电能表执行任务的能力强弱。因此,本发明方法为可考虑样本数据时序性的分析方法以实现对电能表执行任务能力的检测。Secondly, compared with the traditional principal component analysis method in the prior art, which processes data without time sequence 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. , which solves the problem that the electric energy meter performs tasks in a time sequence in the actual application environment. Because the task sending of the electric energy meter is prior to the task receipt, and whether the task receipt is timely also reflects the ability of the electric energy meter to perform the task. Therefore, the method of the present invention is an analysis method that can consider the time series of the sample data, so as to realize the detection of the ability of the electric energy meter to perform tasks.
综上,本发明实施例提供的技术方案实现了对电能表执行任务能力的检测。In conclusion, the technical solutions provided by the embodiments of the present invention realize the detection of the ability of the electric energy meter to perform tasks.
下面对本发明实施例涉及的各个步骤进行详细介绍如下。The steps involved in the embodiments of the present invention are described in detail as follows.
一、首先,介绍上述步骤101。1. First, the above step 101 is introduced.
在上述步骤101(参见图2中的S1)中,设参与电能表任务执行能力检测的电能表(待检测电能表)个数为N,原始数据的起始时间为tstart,结束时间为tend,则测试时间长度Δt为Δt=tend-tstart,设第j个电能表的任务执行数据共有M组,其中第i组任务对应的时间为tij。如果第j个电能表的第i组任务为发送指令,则对应的任务执行数据在时域进行扩展后的时域扩展采样数据为Vij∠αij,其幅值为Vij=1,其相角为αij,αij=(tij-tstart)π/Δt;如果第j个电能表的第i组任务为任务执行成功回执,则对应的任务执行数据在时域进行扩展后的时域扩展采样数据为Vij∠αij,其幅值为Vij=1,其相角为αij,αij=(tij-tstart)π/Δt+π;如果第j个电能表的第i组任务为任务执行失败回执,则对应的任务执行数据在时域进行扩展后的时域扩展采样数据为Vij∠αij,其幅值为Vij=0.5,其相角为αij,αij=(tij-tstart)π/Δt+π。In the above step 101 (see S1 in FIG. 2 ), it is assumed that the number of electric energy meters (electric energy meters to be detected) participating in the detection of the task execution capability of electric energy meters is N, the starting time of the original data is t start , and the ending time is t end , the test time length Δt is Δt=t end −t start , and the task execution data of the j-th electric energy meter is assumed to have M groups in total, and the time corresponding to the i-th group of tasks is t ij . If the i-th task of the j-th electric energy meter is to send an instruction, the time-domain extended sampling data after the corresponding task execution data is extended in the time domain is V ij ∠α ij , and its amplitude is V ij =1, which The phase angle is α ij , α ij =(t ij -t start )π/Δt; if the i-th task of the j-th electric energy meter is the task execution success receipt, the corresponding task execution data is expanded in the time domain. The time domain extended sampling data is V ij ∠α ij , its amplitude is V ij =1, its phase angle is α ij , α ij =(t ij -t start )π/Δt+π; if the jth electric energy meter The i-th group of tasks is the task execution failure receipt, then the time domain extended sampling data after the corresponding task execution data is expanded in the time domain is V ij ∠α ij , its amplitude is V ij =0.5, and its phase angle is α ij , α ij =(t ij -t start )π/Δt+π.
具体实施时,电能表的任务执行的类型包括:任务执行成功的类型、任务执行失败的类型。During specific implementation, the types of task execution of the electric energy meter include: the type of successful task execution and the type of task execution failure.
具体实施时,电能表的任务可以包括:采集、费控、校时、调价等任务。During specific implementation, the tasks of the electric energy meter may include tasks such as collection, cost control, time adjustment, and price adjustment.
二、其次,介绍上述步骤101之后,进行归一化处理的步骤(参见图2中S2)。2. Secondly, after the above-mentioned step 101 is introduced, the steps of normalization processing are performed (see S2 in FIG. 2 ).
在一个实施例中,基于时域扩展分析的电能表任务执行能力检测方法,还可以包括:对每一待检测电能表的时域扩展采样数据进行归一化处理,得到所有待检测电能表的归一化处理后的时域扩展采样数据。In one embodiment, the method for detecting the task execution capability of an electric energy meter based on time-domain extended analysis may further include: normalizing the time-domain extended sampling data of each electric energy meter to be detected, to obtain the The time-domain extended sample data after normalization processing.
具体实施时,对每一待检测电能表的时域扩展采样数据进行归一化处理提高了数据处理的效率和精度,具体的归一化处理方法可以包括:对第j个电能表任务执行数据的时域扩展采样数据Vj∠αj=[V1j∠α1j,V2j∠α2j,…,VMj∠αMj]T进行归一化,j=1,2,…,N,归一化后得到的第j个电能表任务执行数据的归一化时域扩展采样数据为Vj∠αj,Vj∠αj的均值为0,标准差为1。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, and the specific normalization processing method may include: performing task execution data on the jth electric energy meter The time-domain extended sampling data V j ∠α j =[V 1j ∠α 1j ,V 2j ∠α 2j ,…,V Mj ∠α Mj ] T is normalized, j=1,2,…,N, normalized The normalized time domain extended sampling data of the jth electric energy meter task execution data obtained after normalization is V j ∠α j , the mean value of V j ∠α j is 0, and the standard deviation is 1.
三、接着,介绍上述步骤102。3. Next, the above step 102 is introduced.
在一个实施例中,根据所有待检测电能表的时域扩展采样数据,构建原始数据矩阵,根据原始数据矩阵,确定原始数据矩阵对应的协方差矩阵,可以包括:In one embodiment, an original data matrix is constructed according to the time-domain extended sampling data of all electric energy meters to be detected, and a covariance matrix corresponding to the original data matrix is determined according to the original data matrix, which may include:
根据所有待检测电能表的归一化处理后的时域扩展采样数据,构建原始数据矩阵,根据原始数据矩阵,确定原始数据矩阵对应的协方差矩阵。According to the normalized 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.
具体实施时,在上述步骤102(参见图2中S3)中,构建M行N列的原始数据矩阵X,其中,M为不同时刻的任务执行次数,N为电能表的个数,X=[V1∠α1,V2∠α2,…,VN∠αN],X为M×N的复数矩阵,根据原始数据矩阵X计算X的协方差矩阵C,C=XHX,C为N×N的复数矩阵。During specific implementation, in the above step 102 (see S3 in FIG. 2 ), an original data matrix X with M rows and N columns is constructed, where M is the number of tasks performed at different times, N is the number of electric energy meters, and X=[ V 1 ∠α 1 ,V 2 ∠α 2 ,…,V N ∠α N ], X is a complex number matrix of M×N, calculate the covariance matrix C of X according to the original data matrix X, C=X H X, C is an N×N complex matrix.
四、接着,介绍上述步骤103。4. Next, the above step 103 is introduced.
具体实施时,在上述步骤103(参见图2中S4)中,计算矩阵C的全部特征值λ1,λ2,…λN,且λ1≥λ2≥…≥λN≥0,所有特征值均为实数;对于特征值λj,j=1,2,…,N,求出齐次线性方程组(λjI-C)=0的基础解系,得到C对于λj的一组特征向量uj,则特征向量矩阵U=[u1,u2,…uN],U为N×N的复数矩阵,且满足UHCU=Λ,其中Λ=diag(λ1,λ2,…,λN)。During specific implementation, in the above step 103 (see S4 in FIG. 2 ), all eigenvalues λ 1 , λ 2 ,...λ N of the matrix C are calculated, and λ 1 ≥λ 2 ≥...≥λ N ≥0, all the eigenvalues The values are all real numbers; for the eigenvalues λ j , j=1,2,...,N, find the basic solution system of the homogeneous linear equation system (λ j IC)=0, and obtain a set of eigenvectors of C for λ j u j , then the eigenvector matrix U=[u 1 , u 2 ,…u N ], U is an N×N complex matrix, and satisfies U H CU=Λ, where Λ=diag(λ 1 ,λ 2 ,… , λ N ).
五、接着,介绍上述步骤104。5. Next, the above step 104 is introduced.
1、首先,介绍在上述步骤103之后的确定主成分个数(数量)的步骤(参见图2中的S5)。1. First, the steps of determining the number (quantity) of principal components after the above-mentioned step 103 are introduced (see S5 in FIG. 2 ).
具体实施时,根据Guttman准则选择主成分的个数k,即k=max{k|λk≥1}。During specific implementation, the number k of principal components is selected according to the Guttman criterion, that is, k=max{k|λ k ≥1}.
2、其次,介绍在确定了主成分个数之后,根据主成分数量,从所述特征向量矩阵中选取出预设个特征向量(前k个特征向量),组成截取特征向量矩阵,进而确定主成分矩阵的步骤,参见图2中的S6。2. Secondly, it is introduced that after the number of principal components is determined, a preset eigenvector (the first k eigenvectors) is selected from the eigenvector matrix according to the number of principal components to form a matrix of intercepted eigenvectors, and then the principal eigenvectors are determined. For the steps of the composition matrix, see S6 in FIG. 2 .
具体实施时,根据主成分个数k从所述特征向量矩阵U中选取出第1至k个特征向量,即特征向量矩阵U的第1至k列组成的截取特征向量矩阵Uk=[u1,u2,…uk],Uk为N×k的复数矩阵,并对原始数据矩阵X进行变换,得到主成分矩阵P,则P代表了所有N个电能表任务执行情况的共性特征(因此,主成分矩阵也可以称作P共性特征矩阵P),完成时域扩展主成分分析过程。During specific implementation, the first to k eigenvectors are selected from the eigenvector matrix U according to the number k of principal components, that is, the intercepted eigenvector matrix U k =[u 1 , u 2 ,…u k ], U k is an N×k complex number matrix, and the original data matrix X is transformed to obtain the principal component matrix P, then P represents the common characteristics of the execution of all N electric energy meter tasks (Therefore, the principal component matrix can also be referred to as the P common feature matrix P), and the time domain extended principal component analysis process is completed.
具体实施时,对原始数据矩阵X进行变换,得到主成分矩阵P,可以包括:通过P=XUk计算主成分矩阵P,P为M×k的复数矩阵。During specific implementation, transforming the original data matrix X to obtain the principal component matrix P, which may include: calculating the principal component matrix P by P=XU k , where P is a complex matrix of M×k.
六、接着,介绍上述步骤105,参见图2中的“S7-S10”。6. Next, the above-mentioned step 105 is introduced, referring to “S7-S10” in FIG. 2 .
在一个实施例中,根据所述主成分矩阵,检测电能表任务执行能力,可以包括按照如下方法的其中之一或任意组合,检测电能表任务执行能力: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:
根据主成分分量的数量,检测所有待检测电能表任务执行能力的差异性;According to the number of principal component components, detect the difference of the task execution ability of all the electric energy meters to be tested;
根据主成分矩阵的第一列所有元素的均值,检测所有待检测电能表任务执行能力的差异性;According to the mean value of all elements in the first column of the principal component matrix, detect the difference of the task execution capability of all the electric energy meters to be detected;
根据主成分矩阵的第一列所有元素的方差,检测所有待检测电能表共性特征的任务执行能力差异性;According to the variance of all elements in the first column of the principal component matrix, detect the difference in task execution capability of the common features of all electric energy meters to be detected;
根据截取特征向量矩阵的共轭转置矩阵的第一行元素的模,检测所有待检测电能表的任务执行能力。According to the modulus of the first row element of the conjugate transposed matrix of the intercepted eigenvector matrix, the task execution capability of all the electric energy meters to be detected is detected.
具体实施时,按照如上所述方法的其中之一或任意组合,检测电能表任务执行能力,提高了检测电能表任务执行能力的灵活性和精确度。During specific implementation, the task execution capability of the electric energy meter is detected according to one or any combination of the above methods, which improves the flexibility and accuracy of detecting the task execution capability of the electric energy meter.
1、首先,介绍根据主成分分量的数量,检测所有待检测电能表任务执行能力的差异性的步骤,参见图2中的S7。1. First, introduce the steps of detecting the difference of the task execution capability of all the electric energy meters to be detected according to the number of principal component components, see S7 in FIG. 2 .
在一个实施例中,根据主成分分量的数量,检测所有待检测电能表任务执行能力的差异性,可以包括:主成分分量的数量越小,代表所有待检测电能表任务执行能力差异小,主成分分量的数量越大,代表所有待检测电能表任务执行能力差异大。In one embodiment, 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 may include: 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, the main The larger the number of component components, the greater the difference in the task execution capabilities of all the electric energy meters to be detected.
具体实施时,主成分的个数k代表了所有电能表任务执行能力的差异性,k越小代表了参与评价的电能表任务执行能力差异小,反之,k越大代表了参与评价的电能表任务执行能力差异大,k值用于检测所有N个电能表任务执行能力的差异性。In specific implementation, the number k of the principal components represents the difference in the task execution capabilities of all electric energy meters. The smaller the k is, the smaller the difference in the task execution capabilities of the electric energy meters involved in the evaluation. On the contrary, the larger the k is, the larger the electric energy meters involved in the evaluation are. The task execution capability varies greatly, and the k value is used to detect the difference in the task execution capability of all N electric energy meters.
具体实施时,主成分是主成分分析计算的结果,在本发明实施例中代表结果。During specific implementation, the principal component is the result of principal component analysis and calculation, and represents the result in the embodiment of the present invention.
2、其次,介绍根据主成分矩阵的第一列所有元素的均值,检测所有待检测电能表任务执行能力的差异性的步骤,参见图2中的S8。2. Secondly, introduce the steps of detecting the difference of the task execution capability of all the electric energy meters to be detected according to the mean value of all elements in the first column of the principal component matrix, see S8 in FIG. 2 .
在一个实施例中,根据主成分矩阵的第一列所有元素的均值,检测所有待检测电能表任务执行能力的差异性,可以包括:主成分矩阵的第一列所有元素的均值接近复平面原点,代表所有待检测电能表任务执行能力好,任务发送数据得到执行成功回执的比重大,且收到回执所需的时间短;主成分矩阵的第一列所有元素的均值距离复平面原点远,代表所有待检测电能表任务执行能力差,任务发送数据得到执行成功回执的比重小,且收到回执所需的时间长。In one embodiment, according to the mean value of all elements in the first column of the principal component matrix, detecting the difference in the task execution capability of all the electric energy meters to be detected may include: the mean value of all the elements in the first column of the principal component matrix is close to the origin of the complex plane , which means that the task execution ability of all the electric energy meters to be detected is good, the proportion of the successful execution receipt of the task sent data is large, and the time required to receive the receipt is short; the mean value of all elements in the first column of the principal component matrix is far from the origin of the complex plane, It means that the task execution capability of all the electric energy meters to be detected is poor, the proportion of the task sending data to get a successful execution receipt is small, and the time required to receive the receipt is long.
具体实施时,共性特征矩阵P的第一列p1为所有电能表任务执行能力的主导特征,p1所有元素的均值越接近复平面原点(复平面原点是复数域的原点,横坐标代表实部,纵坐标代表虚部,原点是实部虚部都为0的复数)代表所有电能表任务执行能力好,任务发送数据得到执行成功回执的比重大,且收到回执所需的时间短,反之,p1所有元素的均值距离复平面原点远,代表所有电能表任务执行能力差,任务发送数据得到执行成功回执的比重(比例)小,且收到回执所需的时间长。In specific implementation, the first column p 1 of the common feature matrix P is the dominant feature of the task execution capability of all electric energy meters, and the mean of all elements of p 1 is closer to the origin of the complex plane (the origin of the complex plane is the origin of the complex number domain, and the abscissa represents the real part, the ordinate represents the imaginary part, and the origin is a complex number whose real part and imaginary part are both 0) means that all electric energy meters have good task execution ability, the proportion of task sending data to get a successful execution receipt is large, and the time required to receive the receipt is short, On the contrary, the mean value of all elements of p 1 is far from the origin of the complex plane, which means that the task execution capability of all electric energy meters is poor, the proportion (proportion) of the successful execution receipt of the data sent by the task is small, and the time required to receive the receipt is long.
3、接着,介绍根据主成分矩阵的第一列所有元素的方差,检测所有待检测电能表共性特征的任务执行能力差异性的步骤,参见图2中的S9。3. Next, introduce the steps of detecting the difference in task execution capability of all the common features of the electric energy meters to be detected according to the variance of all elements in the first column of the principal component matrix, see S9 in FIG. 2 .
在一个实施例中,根据主成分矩阵的第一列所有元素的方差,检测所有待检测电能表共性特征的任务执行能力差异性,可以包括:主成分矩阵的第一列所有元素的方差小,代表所有待检测电能表共性特征的任务执行能力差异小;主成分矩阵的第一列所有元素的方差大,代表所有待检测电能表共性特征的任务执行能力差异大。In one embodiment, according to the variance of all elements in the first column of the principal component matrix, detecting the difference in task execution capability of all the common features of the electric energy meters to be detected may include: the variance of all elements in the first column of the principal component matrix is small, The difference in task execution capability representing the common features of all electric energy meters to be detected is small; the variance of all elements in the first column of the principal component matrix is large, and the difference in task execution capability representing the common characteristics of all electric energy meters to be detected is large.
具体实施时,p1所有元素的方差代表了所有电能表共性特征的任务执行能力差异性,p1所有元素的方差小,则所有电能表共性特征的任务执行能力差异小,反之,p1所有元素的方差大,则所有电能表共性特征的任务执行能力差异大。In specific implementation, the variance of all elements of p 1 represents the difference in the task execution capability of all electric energy meters. If the variance of the elements is large, the task execution capability of all the common features of the electric energy meters will vary greatly.
4、最后,介绍根据截取特征向量矩阵的共轭转置矩阵的第一行元素的模,检测所有待检测电能表的任务执行能力的步骤,参见图2中的S10。4. Finally, introduce the steps of detecting the task execution capability of all the electric energy meters to be detected according to the modulus of the first row element of the conjugate transposed matrix of the intercepted eigenvector matrix, see S10 in FIG. 2 .
在一个实施例中,根据截取特征向量矩阵的共轭转置矩阵的第一行元素的模,检测所有待检测电能表的任务执行能力,可以包括:共轭转置矩阵的第一行元素中的任一元素的模大,代表该任一元素对应的待检测电能表的任务执行能力好;共轭转置矩阵的第一行元素中的任一元素的模大,代表该任一元素对应的待检测电能表的任务执行能力差。In one embodiment, detecting the task execution capability of all electric energy meters to be detected according to the modulus of the first row element of the conjugate transpose matrix of the intercepted eigenvector matrix may include: in the first row element of the conjugate transpose matrix The modulus of any element is large, which means that the task execution capability of the electric energy meter to be detected corresponding to any element is good; the modulus of any element in the first row of the conjugate transpose matrix is large, which means that any element corresponds to The task execution capability of the electric energy meter to be detected is poor.
具体实施时,设UH为截取特征向量矩阵Uk的共轭转置矩阵,UH=Uk H,则矩阵UH的第j列为第j个电能表的任务执行情况与所有电能表的共性特征P之间的关系,矩阵UH的第1行为N个电能表分别与主导特征p1的对应关系,其中,矩阵UH的第1行第j列元素u1j为第j个电能表分别与主导特征p1的对应关系,u1j的模越大,代表第j个电能表的任务执行能力越接近主导特征,该电能表的任务执行能力越好,反之,u1j的模越小,代表第j个电能表的任务执行能力越偏离主导特征,该电能表的任务执行能力越差。In the specific implementation, let U H be the conjugate transpose matrix of the intercepted eigenvector matrix U k , U H =U k H , then the jth column of the matrix U H is the task performance of the jth electric energy meter and all electric energy meters. The relationship between the common features P of the matrix U H , the first row of the matrix U H is the corresponding relationship between the N electric energy meters and the dominant feature p 1 , wherein the element u 1j of the first row and the jth column of the matrix U H is the jth electric energy. The corresponding relationship between the table and the dominant feature p 1 , the larger the modulus of u 1j , the closer the task execution capability of the j-th electric energy meter is to the dominant feature, and the better the task execution capability of the electric energy meter. On the contrary, the higher the modulus of u 1j is. Small, it means that the task execution capability of the j-th electric energy meter deviates from the dominant characteristic, and the task execution capability of the electric energy meter is worse.
基于同一发明构思,本发明实施例中还提供了一种电能表任务执行能力检测装置,如下面的实施例。由于电能表任务执行能力检测装置解决问题的原理与上述电能表任务执行能力检测方法相似,因此电能表任务执行能力检测装置的实施可以参考上述电能表任务执行能力检测方法的实施,重复之处不再赘述。以下所使用的,术语“模块”或者“单元”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。Based on the same inventive concept, an embodiment of the present invention also provides a device for detecting a task execution capability of an electric energy meter, such as the following embodiments. Because the principle of solving the problem of 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 electric energy meter task execution capability detection method. Repeat. As used below, the term "module" or "unit" may be a combination of software and/or hardware that implements a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, implementations in hardware, or a combination of software and hardware, are also possible and contemplated.
图3是本发明实施例中电能表任务执行能力检测装置的结构示意图,如图3所示,该装置包括:FIG. 3 is a schematic structural diagram of a device for detecting the task execution capability of an electric energy meter according to an embodiment of the present invention. As shown in FIG. 3 , the device includes:
时域扩展采样数据确定单元01,用于根据电能表的任务执行的类型和时间,对每一待检测电能表的任务执行数据在时域进行扩展,得到每一待检测电能表的时域扩展采样数据;所述时域扩展采样数据为具有时序性的任务执行成功与否的数据;The time domain expansion sampling data determination unit 01 is used for expanding the task execution data of each electric energy meter to be detected in the time domain according to the task execution type and time of the electric energy meter to obtain the time domain expansion of each electric energy meter to be detected. Sampling data; the time-domain extended sampling data is the data of whether the task with time sequence is executed successfully or not;
原始数据矩阵及协方差矩阵确定单元02,用于根据所有待检测电能表的时域扩展采样数据,构建原始数据矩阵,根据原始数据矩阵,确定原始数据矩阵对应的协方差矩阵;The original data matrix and covariance matrix determining unit 02 is used for constructing the original data matrix according to the time domain extended sampling data of all the electric energy meters to be detected, and determining the covariance matrix corresponding to the original data matrix according to the original data matrix;
特征向量矩阵确定单元03,用于确定所述协方差矩阵的特征值,根据协方差矩阵的特征值,确定协方差矩阵对应的特征向量矩阵;The eigenvector matrix determining unit 03 is used to determine the eigenvalues of the covariance matrix, and according to the eigenvalues of the covariance matrix, determine the eigenvector matrix corresponding to the covariance matrix;
截取特征向量矩阵及主成分矩阵确定单元04,用于根据主成分数量,从所述特征向量矩阵中选取出预设个特征向量,组成截取特征向量矩阵;根据所述截取特征向量矩阵和原始数据矩阵,确定主成分矩阵;所述主成分矩阵代表所有待检测电能表任务执行能力的共性特征;The intercepting eigenvector matrix and the principal component matrix determining unit 04 is used to select a preset eigenvector from the eigenvector matrix according to the number of principal components to form an intercepting eigenvector matrix; according to the intercepting eigenvector matrix and the original data matrix, determine the principal component matrix; the principal component matrix represents the common feature of the task execution capability of all the electric energy meters to be tested;
检测单元05,用于根据所述主成分矩阵,检测电能表任务执行能力。The detection unit 05 is configured to detect the task execution capability of the electric energy meter according to the principal component matrix.
在一个实施例中,上述检测单元具体可以用于按照如下方法的其中之一或任意组合,检测电能表任务执行能力:In one embodiment, the above detection unit may be specifically configured to detect the task execution capability of the electric energy meter according to one or any combination of the following methods:
根据主成分分量的数量,检测所有待检测电能表任务执行能力的差异性;According to the number of principal component components, detect the difference of the task execution ability of all the electric energy meters to be tested;
根据主成分矩阵的第一列所有元素的均值,检测所有待检测电能表任务执行能力的差异性;According to the mean value of all elements in the first column of the principal component matrix, detect the difference of the task execution capability of all the electric energy meters to be detected;
根据主成分矩阵的第一列所有元素的方差,检测所有待检测电能表共性特征的任务执行能力差异性;According to the variance of all elements in the first column of the principal component matrix, detect the difference in task execution capability of the common features of all electric energy meters to be detected;
根据截取特征向量矩阵的共轭转置矩阵的第一行元素的模,检测所有待检测电能表的任务执行能力。According to the modulus of the first row element of the conjugate transposed matrix of the intercepted eigenvector matrix, the task execution capability of all the electric energy meters to be detected is detected.
在一个实施例中,所述检测单元具体可以用于:In one embodiment, the detection unit can be specifically used for:
主成分分量的数量越小,代表所有待检测电能表任务执行能力差异小,主成分分量的数量越大,代表所有待检测电能表任务执行能力差异大;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, 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;
主成分矩阵的第一列所有元素的均值接近复平面原点,代表所有待检测电能表任务执行能力好,任务发送数据得到执行成功回执的比重大,且收到回执所需的时间短;主成分矩阵的第一列所有元素的均值距离复平面原点远,代表所有待检测电能表任务执行能力差,任务发送数据得到执行成功回执的比重小,且收到回执所需的时间长;The mean value of all elements in the first column of the principal component matrix is close to the origin of the complex plane, which means that the task execution capability of all the electric energy meters to be detected is good, the proportion of the successful execution receipt of the data sent by the task is large, and the time required to receive the receipt is short; the principal component The mean value of all elements in the first column of the matrix is far away from the origin of the complex plane, which means that the task execution capability of all the electric energy meters to be detected is poor, the proportion of the task sending data receiving a successful execution receipt is small, and the time required to receive the receipt is long;
主成分矩阵的第一列所有元素的方差小,代表所有待检测电能表共性特征的任务执行能力差异小;主成分矩阵的第一列所有元素的方差大,代表所有待检测电能表共性特征的任务执行能力差异大;The variance of all elements in the first column of the principal component matrix is small, which represents a small difference in the task execution capability of all the electric energy meters to be detected; The ability to perform tasks varies greatly;
共轭转置矩阵的第一行元素中的任一元素的模大,代表该任一元素对应的待检测电能表的任务执行能力好;共轭转置矩阵的第一行元素中的任一元素的模大,代表该任一元素对应的待检测电能表的任务执行能力差。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 any element is good; any one of the elements in the first row of the conjugate transpose matrix If the modulus of an element is large, it means that the task execution capability of the electric energy meter to be detected corresponding to any element is poor.
在一个实施例中,上述电能表任务执行能力检测装置还可以包括:归一化处理单元,用于对每一待检测电能表的时域扩展采样数据进行归一化处理,得到所有待检测电能表的归一化处理后的时域扩展采样数据;In one embodiment, the apparatus for detecting the task execution capability of an electric energy meter may further include: a normalization processing unit, configured to perform normalization processing on the time-domain extended sampling data of each electric energy meter to be detected, to obtain all electric energy to be detected The time-domain extended sampling data after normalization of the table;
所述原始数据矩阵及协方差矩阵确定单元具体可以用于:根据所有待检测电能表的归一化处理后的时域扩展采样数据,构建原始数据矩阵,根据原始数据矩阵,确定原始数据矩阵对应的协方差矩阵。The original data matrix and the covariance matrix determining unit can be specifically used for: constructing the original data matrix according to the normalized time domain extended sampling data of all the electric energy meters to be detected, and determining the corresponding original data matrix according to the original data matrix. The covariance matrix of .
综上,本发明方法的核心创新点在于,传统主成分分析方法的对象是数值而不是布尔量,不能针对任务执行成功与否进行分析和检测,同时传统主成分分析方法处理的样本数据为无时序性的数据,而任务执行能力检测需要考虑任务数据的时序性,因此传统主成分分析方法并不适用于电能表任务执行能力的检测。而本发明方法根据任务执行的时间对任务执行数据在时域进行扩展,在此基础上进行的主成分分析方法的对象是具有时序性的任务执行成功与否的数据,解决了传统主成分分析方法不能进行电能表任务执行能力检测的问题。To sum up, 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 quantity, and it cannot analyze and detect whether the task execution is successful or not. Meanwhile, the sample data processed by the traditional principal component analysis method is no data. However, the task execution capability detection needs to consider the time sequence of the task data, so 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, and the object of the principal component analysis method on this basis is the data of whether the task execution is successful or not with time sequence, which solves the problem of traditional principal component analysis. The method cannot detect the task execution capability of the electric energy meter.
本发明实施例还提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述电能表任务执行能力检测方法。An embodiment of the present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor executes the method for detecting the task execution capability of an electric energy meter.
本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有执行电能表任务执行能力检测方法的计算机程序。Embodiments of the present invention further provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program for executing the method for detecting the task execution capability of an electric energy meter.
本发明实施提供的技术方案的有益技术效果为:由以上技术方案可以看出,本实施例基于时域扩展主成分分析的电能表任务执行能力检测方法,其对象是电能表执行任务的数据,即任务执行数据仅为成功或失败而不是一个具体量化的数字,因此本发明方法是一种能处理由任务执行成功或失败组成的布尔量样本数据分析的方法,进而可以解决检测电能表任务执行能力的问题;同时,这一方法对主成分分析在时域进行扩展,解决了实际应用环境中电能表执行任务是具有时序性的问题,由于电能表的任务发送是先于任务回执的,而且任务回执是否及时也反映了电能表执行任务的能力强弱。因此,本发明方法可考虑样本数据时序性的分析方法以实现对电能表执行任务能力的检测。The beneficial technical effects of the technical solutions provided by the implementation of the present invention are as follows: it can be seen from the above technical solutions that the method for detecting the task execution capability of an electric energy meter based on time-domain extended principal component analysis in this embodiment, the object is the data of the electric energy meter execution 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 that can process Boolean sample data analysis composed of task execution success or failure, so as to solve the problem of detecting the task execution of the electric energy meter. At the same time, this method extends the principal component analysis in the time domain, which solves the problem that the task execution of the electric energy meter in the actual application environment is time-sequential, because the task sending of the electric energy meter is prior to the task receipt, and Whether the task receipt is timely also reflects the power meter's ability to perform tasks. Therefore, the method of the present invention can consider the analysis method of the time series of the sample data to realize the detection of the ability of the electric energy meter to perform the task.
显然,本领域的技术人员应该明白,上述的本发明实施例的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明实施例不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that each module or each step of the above-mentioned embodiments of the present invention may be implemented by a general-purpose computing device, and they may be centralized on a single computing device, or distributed in multiple computing devices. network, they can optionally be implemented with 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, can be different from the The illustrated or described steps are performed in sequence, either by fabricating them separately into individual integrated circuit modules, or by fabricating multiple modules or steps of them into a single integrated circuit module. As such, embodiments of the present invention are not limited to any particular combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明实施例可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, various modifications and changes may be made to the embodiments of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims (10)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910329419.4A CN110031790B (en) | 2019-04-23 | 2019-04-23 | Electric energy meter task execution capacity detection method and device |
PCT/CN2019/125093 WO2020215748A1 (en) | 2019-04-23 | 2019-12-13 | Method for testing task execution capability of electrical energy meter, and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910329419.4A CN110031790B (en) | 2019-04-23 | 2019-04-23 | Electric energy meter task execution capacity detection method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110031790A true CN110031790A (en) | 2019-07-19 |
CN110031790B CN110031790B (en) | 2024-10-18 |
Family
ID=67239869
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910329419.4A Active CN110031790B (en) | 2019-04-23 | 2019-04-23 | Electric energy meter task execution capacity detection method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110031790B (en) |
WO (1) | WO2020215748A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110488218A (en) * | 2019-08-26 | 2019-11-22 | 国网重庆市电力公司电力科学研究院 | A kind of electric energy meter operating status appraisal procedure and assessment device |
CN110502518A (en) * | 2019-08-26 | 2019-11-26 | 国网重庆市电力公司电力科学研究院 | A method and device for processing time-series data of a smart electric energy meter |
WO2020215748A1 (en) * | 2019-04-23 | 2020-10-29 | 国网冀北电力有限公司计量中心 | Method for testing task execution capability of electrical energy meter, and device |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6954744B2 (en) * | 2001-08-29 | 2005-10-11 | Honeywell International, Inc. | Combinatorial approach for supervised neural network learning |
CN101788656B (en) * | 2010-01-29 | 2013-06-05 | 东南大学 | Method for recognizing function response signal under function nuclear magnetic resonance scan |
US11416799B2 (en) * | 2017-08-28 | 2022-08-16 | Clari Inc. | Method and system for summarizing user activities of tasks into a single activity score using machine learning to predict probabilities of completeness of the tasks |
CN109447394A (en) * | 2018-09-14 | 2019-03-08 | 中国科学院空间应用工程与技术中心 | A kind of earth observation satellite mission effectiveness assessment indicator system and analysis method |
CN109307854A (en) * | 2018-10-29 | 2019-02-05 | 中国电力科学研究院有限公司 | A comprehensive evaluation method and system for electric energy metering device |
CN110031790B (en) * | 2019-04-23 | 2024-10-18 | 华北电力科学研究院有限责任公司 | Electric energy meter task execution capacity detection method and device |
CN209961899U (en) * | 2019-04-23 | 2020-01-17 | 华北电力科学研究院有限责任公司 | Electric energy meter task execution capability detection device |
-
2019
- 2019-04-23 CN CN201910329419.4A patent/CN110031790B/en active Active
- 2019-12-13 WO PCT/CN2019/125093 patent/WO2020215748A1/en active Application Filing
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020215748A1 (en) * | 2019-04-23 | 2020-10-29 | 国网冀北电力有限公司计量中心 | Method for testing task execution capability of electrical energy meter, and device |
CN110488218A (en) * | 2019-08-26 | 2019-11-22 | 国网重庆市电力公司电力科学研究院 | A kind of electric energy meter operating status appraisal procedure and assessment device |
CN110502518A (en) * | 2019-08-26 | 2019-11-26 | 国网重庆市电力公司电力科学研究院 | A method and device for processing time-series data of a smart electric energy meter |
CN110488218B (en) * | 2019-08-26 | 2021-11-30 | 国网重庆市电力公司电力科学研究院 | Electric energy meter running state evaluation method and evaluation device |
Also Published As
Publication number | Publication date |
---|---|
CN110031790B (en) | 2024-10-18 |
WO2020215748A1 (en) | 2020-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
McAssey | An empirical goodness-of-fit test for multivariate distributions | |
Kang et al. | Further development of matrix-based system reliability method and applications to structural systems | |
CN103257921B (en) | Improved random forest algorithm based system and method for software fault prediction | |
CN110031790A (en) | Electric energy meter Mission Capability detection method and device | |
Jauregui-Rivera et al. | Acceptability of four transformer top-oil thermal models—Part I: Defining metrics | |
CN103648106A (en) | WiFi indoor positioning method of semi-supervised manifold learning based on category matching | |
CN109633518A (en) | A kind of intelligent electric energy meter comprehensive performance evaluation method, apparatus | |
CN104572103B (en) | A kind of the worst execution time WCET method for quick estimating based on distribution function | |
Tong et al. | Diagnostics of robust growth curve modeling using Student's t distribution | |
Bano et al. | A novel and systematic approach to identify the design space of pharmaceutical processes | |
CN109491913A (en) | Battery management system test method and system based on Internet of Things | |
Casale et al. | Robust workload estimation in queueing network performance models | |
CN114186624B (en) | Two-dimensional convolutional neural network-based damage identification model building method and equipment | |
Wang et al. | A sensor fault diagnosis method based on KPCA and contribution graph | |
Lee et al. | Robust distribution-free multivariate CUSUM charts for spatiotemporal biosurveillance in the presence of spatial correlation | |
CN209961899U (en) | Electric energy meter task execution capability detection device | |
Kaneishi et al. | Software reliability modeling and evaluation under incomplete knowledge on fault distribution | |
TW201135474A (en) | Method for sampling workpiece for inspection and computer program product performing the same | |
Bashkansky et al. | Proficiency testing: binary data analysis | |
CN111505445B (en) | Credibility detection method and device for mutual-user relationship of transformer area and computer equipment | |
von Kistowski et al. | Measuring and rating the energy-efficiency of servers | |
CN115312134A (en) | Reagent development experiment method, device, terminal and storage medium | |
CN106855841B (en) | System memory analysis method and device | |
CN115315689A (en) | Automatic parameter adjustment for anomaly detection system | |
CN112202771B (en) | Network traffic detection method, system, electronic device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |