An online quality assessment method and system for automatic calibration device of electric energy meter

By collecting and preprocessing data in the automatic calibration device of the electric energy meter, using the box plot value calculation method and the multivariate chi-square test model, the problems of insufficient quality monitoring and the influence of environmental parameters in the electric energy meter calibration method are solved, and the automatic electric energy meter is realized. Efficient and accurate quality assessment of calibration devices.

CN118244190BActive Publication Date: 2024-09-27YUNNAN POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410666318.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-28
Publication Date
2024-09-27
Estimated Expiration
2044-05-28

AI Technical Summary

Technical Problem

The existing electric energy meter calibration methods have problems such as lack of device quality monitoring methods, single dimension of abnormal problem processing, and lack of effective abnormal identification of automatic electric energy meter calibration devices based on environmental parameters.

Method used

By collecting the measurement data of the electric energy meter automatic calibration device under different environmental parameter conditions, the environmental parameters are preprocessed, abnormal values ​​are analyzed based on the box plot value calculation method, and a multivariate chi-square test model is established for online monitoring and evaluation of the automatic electric energy meter. Verify the operational reliability of the device.

Benefits of technology

It improves data processing efficiency and analysis accuracy, ensures more accurate quality assessment of the automatic energy meter calibration device, can quickly identify abnormal measurement data, provides quantitative analysis results, and improves the reliability and accuracy of the automatic energy meter calibration device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118244190B
    Figure CN118244190B
Patent Text Reader

Abstract

The present invention discloses an online quality assessment method and system for an automatic calibration device for electric energy meters, which relates to the technical field of electric energy meter calibration, including collecting measurement value data when the automatic calibration device for electric energy meters measures the electric energy meters to be tested under different environmental parameter conditions, and preprocessing the environmental parameters; analyzing the abnormal values ​​of the measurement values ​​of the electric energy meters to be tested under constraints based on the box plot value calculation method; and establishing a multivariate chi-square test model to online monitor and evaluate the operational reliability of the automatic calibration device for electric energy meters through the measurement value data. The method of the present invention ensures that the quality assessment of the automatic calibration device for electric energy meters is more accurate by analyzing the abnormal values ​​of the measurement values ​​under constraints when the automatic calibration device for electric energy meters measures the electric energy meters to be tested; and analyzing the distribution of the measurement values ​​of the automatic calibration device for electric energy meters under different environmental parameter conditions through the multivariate chi-square test, and evaluating the reliability of the automatic calibration device for electric energy meters.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of electric energy meter calibration, and in particular to an online quality assessment method and system for an automatic calibration device of an electric energy meter. Background Art

[0002] The electric energy meter is an important device to ensure the accuracy of electricity consumption measurement of electricity users. In terms of ensuring the accuracy and reliability of the electric energy meter, the automatic calibration device of the electric energy meter plays a vital role. The automatic calibration device of the electric energy meter mainly determines whether the data of the electric energy meter under test is normal based on the setting of a conventional threshold range. However, in practical applications, the appearance of abnormal point data may be due to the abnormality of the electric energy meter under test or the abnormality of the standard electric energy meter itself in the device. The existing technology has obvious limitations in this regard, and it is difficult to accurately distinguish the source of the abnormality. This limitation reduces the accuracy and reliability of the calibration results to a certain extent. In addition, the influence of environmental parameters on the automatic calibration device of the electric energy meter during the calibration process cannot be ignored. For example, temperature, humidity, etc. may cause normal fluctuations in multiple related measurement values ​​of the measured electric energy meter. Under the automatic calibration conditions, although these environmental parameter data are basically controllable and easy to collect, their influence on the calibration results is a problem that cannot be ignored. At present, there is no set of practical and operational methods to effectively judge the abnormality of the automatic calibration device of the electric energy meter based on environmental parameters.

[0003] As the core component of the automatic calibration device, the performance of the standard electricity meter directly affects the qualification judgment of the tested electricity meter and the measurement accuracy and reliability of the entire power system. The standard electricity meter may have unstable and degraded measurement performance or even excessive performance during long-term operation. The current processing methods, such as manual regular offline verification, are unable to identify abnormalities of the standard electricity meter in real time. This delayed identification method may cause the error test results of the tested electricity meter to lose their credibility. Therefore, performance monitoring of the standard electricity meter is the key to online quality assessment of the electricity meter automatic calibration device. Summary of the invention

[0004] In view of the above-mentioned problems, the present invention is proposed.

[0005] Therefore, the technical problem solved by the present invention is that the existing electric energy meter calibration method lacks a device quality monitoring method, has a single dimension for handling abnormal problems, and lacks effective abnormality identification of the electric energy meter automatic calibration device based on environmental parameters.

[0006] In order to solve the above technical problems, the present invention provides the following technical solutions: an online quality assessment method for an automatic calibration device of an electric energy meter, comprising collecting measurement value data when the automatic calibration device of the electric energy meter measures the electric energy meter under different environmental parameter conditions, and preprocessing the environmental parameters; analyzing the abnormal values ​​of the measurement values ​​of the electric energy meter under constraints measured by the automatic calibration device of the electric energy meter; and establishing a multivariate chi-square test model through the measurement value data to monitor and evaluate the operational reliability of the automatic calibration device of the electric energy meter online.

[0007] As a preferred scheme of the online quality assessment method of the automatic calibration device of the electric energy meter described in the present invention, wherein: the measurement value data of the electric energy meter automatic calibration device when measuring the electric energy meter under test is collected, including collecting the measurement value data of the electric energy meter under test under different environmental parameter conditions, and recording the environmental parameters of each measurement; the environmental parameters include temperature, humidity, current, voltage, and time; the measurement value data includes instantaneous current, instantaneous voltage, power, electricity, and frequency.

[0008] As a preferred solution of the online quality assessment method of the automatic calibration device of the electric energy meter described in the present invention, the preprocessing includes sorting the collected environmental parameter data, dividing the environmental parameters into sub-intervals, It is positively correlated with the range of environmental parameters. The range of environmental parameters in each sub-interval is expressed as:

[0009] ;

[0010] The starting value of each subinterval and end value It is expressed as:

[0011] ;

[0012] ;

[0013] in, is the minimum value of the environmental parameter, is the maximum value of the environmental parameter, and l is the sequence number of the lth sub-interval.

[0014] As a preferred solution of the online quality assessment method of the electric energy meter automatic calibration device described in the present invention, wherein: the analysis of abnormal values ​​of the measured values ​​of the electric energy meter under the constraints measured by the electric energy meter automatic calibration device includes analyzing the abnormal values ​​of the measured values ​​of the electric energy meter under the constraints measured by the electric energy meter automatic calibration device based on the box plot value calculation method; the measurement value constraint of the electric energy meter automatic calibration device is expressed as:

[0015] ;

[0016] in, is the upper limit value, is the lower limit, is the lower quartile, is the upper quartile, is the interquartile range.

[0017] As a preferred solution of the online quality assessment method of the automatic calibration device of the electric energy meter described in the present invention, wherein: the establishment of the multivariate chi-square test model includes arranging the measurement value data into a multivariate contingency matrix, the matrix elements are the frequencies of each measurement value under the corresponding environmental parameter conditions; for each cell, calculating the expected frequency It is expressed as:

[0018] ;

[0019] Among them, the total frequency line For the Total frequency of rows, total frequency of columns For the The total frequency of the column is the total frequency of the multivariate contingency matrix; calculate the multivariate chi-square statistic It is expressed as:

[0020] ;

[0021] in, is the total number of categories of environmental parameters, is the total number of samples of the observed values ​​of the electric energy meter automatic calibration device, is the actual observed frequency, is the expected frequency; calculate the degrees of freedom It is expressed as:

[0022] ;

[0023] in, is the total number of categories of environmental parameters, It is the total sample number of observation values ​​of the measurement values ​​of the electric energy meter automatic calibration device.

[0024] As a preferred solution of the online quality assessment method of the automatic calibration device of the electric energy meter described in the present invention, wherein: the online monitoring and assessment of the operation reliability of the automatic calibration device of the electric energy meter includes monitoring and assessing the reliability of the automatic calibration device of the electric energy meter based on the multivariate chi-square statistic value, when the multivariate chi-square statistic value When it is less than or equal to the set threshold value of 0.05, the measurement value deviation of the electric energy meter automatic calibration device is within the qualified range.

[0025] When the multivariate chi-square statistic When it is greater than the set threshold of 0.05, the measurement value deviation of the electric energy meter automatic calibration device is unqualified and there is a quality problem. Based on the measurement value data of the electric energy meter automatic calibration device, a comprehensive quality evaluation model of the electric energy meter automatic calibration device is constructed to conduct a secondary evaluation of the operation quality of the electric energy meter automatic calibration device. The comprehensive quality evaluation model of the electric energy meter automatic calibration device is expressed as:

[0026] ;

[0027] in, is the total number of measured data, To adjust the weights of the current and voltage exponential decay functions, To adjust the contribution of the power-energy relationship function after exponential decay and Sigmoid-Tanh processing, To affect the decay rate of the current and voltage exponential decay functions, To control the decay rate of the exponential decay function of power changing with energy, and are the instantaneous current and voltage of the sth measurement value, respectively, Power and energy The function of change, and Expressed as the upper and lower limits of the energy integration, is the total number of additional measurement parameters, To handle additional measurement parameters and weight The activation function of .

[0028] As a preferred solution of the online quality assessment method of the automatic calibration device of the electric energy meter described in the present invention, wherein: the online monitoring and assessment of the operational reliability of the automatic calibration device of the electric energy meter also includes when the measurement value deviation of the automatic calibration device of the electric energy meter is unqualified and there is a quality problem, a secondary assessment is performed by outputting the Q value of the comprehensive quality assessment model of the automatic calibration device of the electric energy meter; when the Q value output by the comprehensive quality assessment model of the automatic calibration device of the electric energy meter is greater than 0 and less than 0.3, the quality problem of the automatic calibration device of the electric energy meter is serious, indicating that the automatic calibration device of the electric energy meter must be deactivated and re-traceable, and an alarm is sounded on the display panel of the automatic calibration device of the electric energy meter to prompt the calibration personnel Process the device; when the comprehensive quality assessment model of the electric energy meter automatic calibration device outputs a Q value greater than 0.3 and less than 0.7, the quality problem of the electric energy meter automatic calibration device is of general degree, indicating that the electric energy meter automatic calibration device must be checked, and a verification prompt is given on the display panel of the electric energy meter automatic calibration device to prompt the calibration personnel to check the electric energy meter automatic calibration device; when the quality review model of the electric energy meter automatic calibration device outputs a Q value greater than 0.7 and less than 1, the quality problem of the electric energy meter is of slight degree, indicating that the quality problem of the electric energy meter automatic calibration device does not affect normal operation, and the whole process of quality assessment of the electric energy meter automatic calibration device is recorded and an assessment log is formed.

[0029] Another object of the present invention is to provide an online quality assessment system for an automatic calibration device of an electric energy meter, which can analyze the abnormal values ​​of the electric energy meter automatic calibration device under the measurement value constraints of the inspected electric energy meter based on the box plot value calculation method, thereby solving the problem of insufficient reliability monitoring means of the current automatic calibration device of the electric energy meter.

[0030] As a preferred solution of the online quality assessment system of the automatic calibration device of the electric energy meter described in the present invention, it comprises: a data acquisition module, an abnormal value calculation module, and a quality assessment module; the data acquisition module is used to collect the measurement value data when the automatic calibration device of the electric energy meter measures the electric energy meter under different environmental parameter conditions, and pre-process the environmental parameters; the abnormal value calculation module is used to analyze the abnormal values ​​under the measurement value constraints of the electric energy meter measured by the automatic calibration device of the electric energy meter based on the box plot value calculation method; the quality assessment module is used to establish a multivariate chi-square test model through the measurement value data to online monitor and evaluate the operation reliability of the automatic calibration device of the electric energy meter.

[0031] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of an online quality assessment method for an automatic calibration device of an electric energy meter.

[0032] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of an online quality assessment method for an automatic calibration device of an electric energy meter.

[0033] Beneficial effects of the present invention: the online quality assessment method of the automatic calibration device of the electric energy meter provided by the present invention not only improves the efficiency of data processing, but also improves the accuracy of data analysis by preprocessing the environmental parameters, thereby further optimizing the reliability and accuracy assessment method of the automatic calibration device of the electric energy meter; by analyzing the abnormal values ​​under the measurement value constraints when the automatic calibration device of the electric energy meter measures the inspected electric energy meter based on the box plot value calculation method, the box plot can quickly and accurately identify abnormal measurement data, ensuring that the quality assessment of the automatic calibration device of the electric energy meter is more accurate; through the measurement value data of the automatic calibration device of the electric energy meter, a multivariate chi-square test model is established to online monitor and evaluate the operating reliability of the automatic calibration device of the electric energy meter; through the multivariate chi-square test, the distribution of the measurement values ​​of the automatic calibration device of the electric energy meter under different environmental parameter conditions is analyzed, and a quantitative analysis result can be provided to evaluate the reliability of the automatic calibration device of the electric energy meter. The present invention has achieved better results in the reliability, accuracy and efficiency of the online quality assessment of the automatic calibration device of the electric energy meter. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0035] Figure 1 The present invention provides an overall flow chart of an online quality assessment method for an automatic calibration device of an electric energy meter according to the first embodiment of the present invention.

[0036] Figure 2 This is an overall flow chart of an online quality assessment system for an automatic calibration device of an electric energy meter provided in the third embodiment of the present invention. DETAILED DESCRIPTION

[0037] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0038] Example 1

[0039] Reference Figure 1 , which is an embodiment of the present invention, provides an online quality assessment method for an electric energy meter automatic calibration device, comprising:

[0040] S1: Under different environmental parameter conditions, the measurement value data of the electric energy meter automatic calibration device when measuring the electric energy meter under test is collected, and the environmental parameters are preprocessed.

[0041] Furthermore, the measurement value data when the electric energy meter automatic calibration device measures the electric energy meter under test is collected, including collecting the measurement value data when the electric energy meter automatic calibration device measures the electric energy meter under different environmental parameter conditions, and recording the environmental parameters of each measurement; the environmental parameters include temperature, humidity, current, voltage, and time; the measurement value data includes instantaneous current, instantaneous voltage, power, electricity, and frequency.

[0042] It should be noted that the preprocessing includes sorting the collected environmental parameter data and dividing the environmental parameters into sub-intervals, It is positively correlated with the range of environmental parameters. The range of environmental parameters in each sub-interval is expressed as:

[0043] ;

[0044] The starting value of each subinterval and end value It is expressed as:

[0045] ;

[0046] ;

[0047] in, is the minimum value of the environmental parameter, is the maximum value of the environmental parameter, and l is the sequence number of the lth sub-interval.

[0048] It should also be noted that the collected environmental parameter data are sorted and partitioned in order to simplify the complex environmental conditions into several manageable sub-intervals. Each sub-interval reflects a specific set of environmental conditions. This processing makes the subsequent analysis more systematic and organized. By sorting and partitioning the environmental parameters, the data can be analyzed more effectively. This preprocessing reduces the complexity of the data and provides a clearer understanding of the impact of different environmental conditions on the performance of the electricity meter.

[0049] S2: Based on the box plot value calculation method, analyze the abnormal values ​​of the measured values ​​of the electric energy meter under constraints measured by the electric energy meter automatic calibration device.

[0050] Furthermore, analyzing the abnormal values ​​under the measurement value constraints when the automatic calibration device of the electric energy meter measures the electric energy meter under test includes analyzing the abnormal values ​​under the measurement value constraints when the automatic calibration device of the electric energy meter measures the electric energy meter under test based on the box plot value calculation method; the measurement value constraints of the automatic calibration device of the electric energy meter are expressed as:

[0051] ;

[0052] in, is the upper limit value, is the lower limit, is the lower quartile, is the upper quartile, is the interquartile range.

[0053] It should be noted that by calculating the upper and lower limits, the invention effectively identifies abnormal values ​​in the measurement data of the electric energy meter. This method not only improves the accuracy of anomaly detection, but also reduces false positive and false negative results, that is, incorrectly marking normal values ​​as abnormal or ignoring true abnormal values. Accurately identifying and processing abnormal values ​​is crucial to ensuring the reliability of the electric energy meter calibration results. Abnormal values ​​may be caused by faults in the electric energy meter, environmental interference or operating errors. By accurately detecting these anomalies, timely measures can be taken to correct or eliminate these influences, thereby ensuring the performance and accuracy of the electric energy meter. Using box plots as analysis tools simplifies the data processing process. Traditional outlier detection methods may require complex algorithms or long-term manual analysis. Box plots provide a fast and effective method to automatically process and analyze large amounts of data.

[0054] S3: Based on the measured value data, a multivariate chi-square test model is established to monitor and evaluate the operational reliability of the automatic calibration device of the electric energy meter online.

[0055] Furthermore, the establishment of the multivariate chi-square test model includes organizing the measured value data into a multivariate contingency matrix, where the matrix elements are the frequencies of each measured value under the corresponding environmental parameter conditions; for each cell, the expected frequency is calculated It is expressed as:

[0056] ;

[0057] Among them, the total frequency line For the Total frequency of rows, total frequency of columns For the The total frequency of the column is the total frequency of the multivariate contingency matrix; calculate the multivariate chi-square statistic It is expressed as:

[0058] ;

[0059] in, is the total number of categories of environmental parameters, is the total number of samples of the observed values ​​of the electric energy meter automatic calibration device, is the actual observed frequency, is the expected frequency; calculate the degrees of freedom It is expressed as:

[0060] ;

[0061] in, is the total number of categories of environmental parameters, It is the total sample number of observation values ​​of the measurement values ​​of the electric energy meter automatic calibration device.

[0062] It should be noted that the online monitoring and evaluation of the reliability of the automatic calibration device of the electric energy meter includes monitoring and evaluating the reliability of the automatic calibration device of the electric energy meter based on the multivariate chi-square statistic value. When the value is less than or equal to the set threshold of 0.05, the deviation of the measured value of the automatic calibration device of the electric energy meter is within the qualified range; when the multivariate chi-square statistic When it is greater than the set threshold of 0.05, the measurement value deviation of the electric energy meter automatic calibration device is unqualified and there is a quality problem. Based on the measurement value data of the electric energy meter automatic calibration device, a comprehensive quality evaluation model of the electric energy meter automatic calibration device is constructed to conduct a secondary evaluation of the operation quality of the electric energy meter automatic calibration device. The comprehensive quality evaluation model of the electric energy meter automatic calibration device is expressed as:

[0063] ;

[0064] in, is the total number of measured data, To adjust the weights of the current and voltage exponential decay functions, To adjust the contribution of the power-energy relationship function after exponential decay and Sigmoid-Tanh processing, To affect the decay rate of the current and voltage exponential decay functions, To control the decay rate of the exponential decay function of power changing with energy, and are the instantaneous current and voltage of the sth measurement value, respectively, Power and energy The function of change, and Expressed as the upper and lower limits of the energy integration, is the total number of additional measurement parameters, To handle additional measurement parameters and weight The activation function of .

[0065] It should also be noted that the online monitoring and evaluation of the operational reliability of the automatic calibration device of the energy meter also includes a secondary evaluation through the Q value output by the comprehensive quality evaluation model of the automatic calibration device of the energy meter when the measurement value deviation of the automatic calibration device of the energy meter is unqualified and there is a quality problem; when the Q value output by the comprehensive quality evaluation model of the automatic calibration device of the energy meter is greater than 0 and less than 0.3, the quality problem of the automatic calibration device of the energy meter is serious, indicating that the automatic calibration device of the energy meter must be deactivated and re-traceable, and an alarm is issued on the display panel of the automatic calibration device of the energy meter to prompt the calibration personnel to handle the device; when the automatic calibration device of the energy meter When the Q value output by the comprehensive evaluation model of device quality is greater than 0.3 and less than 0.7, the quality problem of the automatic calibration device of the electric energy meter is of general degree, indicating that the automatic calibration device of the electric energy meter must be checked, and a verification prompt is given on the display panel of the automatic calibration device of the electric energy meter to prompt the calibration personnel to check the automatic calibration device of the electric energy meter; when the Q value output by the quality review model of the automatic calibration device of the electric energy meter is greater than 0.7 and less than 1, the quality problem of the electric energy meter is of slight degree, indicating that the quality problem of the automatic calibration device of the electric energy meter does not affect the normal operation, and the whole process of quality evaluation of the automatic calibration device of the electric energy meter is recorded and an evaluation log is formed.

[0066] It should also be noted that the multivariate chi-square test is a statistical method for evaluating the independence between different variables. In the present invention, this method is used to analyze the measurement data of the automatic calibration device of the electric energy meter under different environmental conditions. By organizing these data into a multivariate contingency matrix, in which each cell contains the frequency of the measurement values ​​under specific environmental conditions, the performance of the automatic calibration device of the electric energy meter under different conditions can be evaluated. Calculating the expected frequency is a key step in the multivariate chi-square test, which reflects the expected frequency of each cell in the absence of any association assumptions. The chi-square statistic is calculated by comparing the actual observed frequency with the expected frequency. This statistic is used to determine whether the actual data deviates significantly from the expected value. The application of the multivariate chi-square test model makes the evaluation of the quality of the automatic calibration device of the electric energy meter more accurate and objective. This method not only improves the accuracy of the evaluation, but also makes the evaluation process more efficient. Through the online evaluation method, potential problems in the automatic calibration device of the electric energy meter can be identified in time, thereby allowing timely maintenance or adjustment to avoid larger operating problems. Regular and accurate quality evaluation of the automatic calibration device of the electric energy meter helps to improve its overall reliability and performance, and ensure accurate measurement of electric energy meters operating in the power system.

[0067] Example 2

[0068] An embodiment of the present invention provides an online quality assessment method for an automatic calibration device of an electric energy meter. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through economic benefit calculation and simulation experiments.

[0069] First, assume that there is a set of automatic calibration equipment for electric energy meters, and four sets of measurement values ​​under different environmental parameters (temperature is used as the environmental parameter condition) at a measuring point. The temperature parameters are divided into four sub-intervals with an interval of 1°C, namely 18°C, 19°C, 20°C and 21°C.

[0070] Refer to Table 1 and record the environmental parameters.

[0071] Table 1 Environmental parameter record table

[0072]

[0073] Then, the box plot calculation method is used to find the normal range of the measured values ​​at each temperature. The measured values ​​that exceed the normal range will be marked as abnormal. For example, at 19 degrees Celsius, (lower quartile) is +0.100, (upper quartile) is +0.105, and the interquartile range +0.005, and then calculate the upper limit for , lower limit for , here we find two outliers +0.200, and then build a multivariate chi-square test model, taking the outliers as multivariate classification variables and the environmental parameters as explanatory variables. In general, all the outlier frequencies are compared with the expected frequencies. For example, in an environment of 18℃, the outlier with a measurement value of +0.125 of the electric energy meter appears once, and its expected frequency can be calculated. Then, we need to calculate the multivariate chi-square statistic and the degrees of freedom. Next, we set a threshold based on whether there is a quality problem. Here, the threshold is set to 0.05. If the deviation of the measured value is significantly greater than the threshold under a certain environmental parameter (for example, 19 degrees Celsius), then it is considered that the online verification device of the electric energy meter has problems under the environmental parameter of 19 degrees Celsius. Finally, we can conduct online quality assessment of the automatic verification device of the electric energy meter based on the abnormal conditions under each environmental parameter. For example, in this example, it is found that the automatic verification device of the electric energy meter has quality problems under the environments of 19℃ and 21℃. Therefore, it may be necessary to conduct in-depth analysis and inspection of the automatic verification device of the electric energy meter matching these two parameters in order to find out the problem and repair it.

[0074] Example 3

[0075] Reference Figure 2, is an embodiment of the present invention, which provides an online quality assessment system for an automatic calibration device of an electric energy meter, including a data acquisition module, an abnormal value calculation module, and a quality assessment module; the data acquisition module is used to collect measurement value data when the automatic calibration device of the electric energy meter measures the electric energy meter under different environmental parameter conditions, and pre-process the environmental parameters; the abnormal value calculation module is used to analyze the abnormal values ​​under the measurement value constraints of the electric energy meter measured by the automatic calibration device of the electric energy meter based on the box plot value calculation method; the quality assessment module is used to establish a multivariate chi-square test model through the measurement value data to monitor and evaluate the operation reliability of the automatic calibration device of the electric energy meter online.

[0076] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0077] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0078] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic devices), a portable computer disk case (magnetic devices), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0079] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logical function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc. It should be noted that the above embodiments are only used to illustrate the technical solution of the present invention and are not limited. Although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention, which should be included in the scope of the claims of the present invention.

[0080] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. An online quality assessment method for an automatic calibration device of an electric energy meter, characterized in that: include: Under different environmental parameter conditions, the measured value data of the electric energy meter automatic verification device when measuring the electric energy meter under test is collected, and the environmental parameters are preprocessed; Based on the box plot value calculation method, the abnormal values ​​of the measured values ​​of the electric energy meter under constraints measured by the automatic verification device of the electric energy meter are analyzed; Through the measured value data, a multivariate chi-square test model is established to monitor and evaluate the reliability of the automatic calibration device of electric energy meters online; Establishing the multivariate chi-square test model includes organizing the measured value data into a multivariate contingency matrix, where the matrix elements are the frequencies of each measured value under the corresponding environmental parameter conditions; For each cell, calculate the expected frequency E ij It is expressed as: Among them, the total frequency row i is the total frequency of the i-th row, the total frequency column j is the total frequency of the j-th column, and the total frequency is the total frequency of the multivariate contingency matrix; Calculate the multivariate chi-square statistic x 2 It is expressed as: Where n is the total number of categories of environmental parameters, m is the total number of samples of the measured values ​​observed by the automatic calibration device of the electric energy meter, ij is the actual observed frequency, E ij is the expected frequency; The calculated degrees of freedom df is expressed as: df=(n-1)×(m-1) Where n is the total number of categories of environmental parameters, and m is the total number of samples of the observed values ​​of the measurement values ​​of the automatic calibration device of the electric energy meter; The online monitoring and evaluation of the reliability of the automatic calibration device of the electric energy meter includes monitoring and evaluating the reliability of the automatic calibration device of the electric energy meter based on the multivariate chi-square statistic value. 2 When it is less than or equal to the set threshold value of 0.05, the measurement value deviation of the electric energy meter automatic verification device is within the qualified range; When the multivariate chi-square statistic x 2 When it is greater than the set threshold of 0.05, the measurement value deviation of the electric energy meter automatic calibration device is unqualified and there is a quality problem. Based on the measurement value data of the electric energy meter automatic calibration device, a comprehensive quality evaluation model of the electric energy meter automatic calibration device is constructed to conduct a secondary evaluation of the operation quality of the electric energy meter automatic calibration device. The comprehensive quality evaluation model of the electric energy meter automatic calibration device is expressed as: Where N is the total number of measured data, α is the weight of adjusting the current and voltage exponential decay function, β is the contribution of adjusting the power-energy relationship function after exponential decay and Sigmoid-Tanh processing, λ is the decay rate of the exponential decay function affecting the current and voltage, γ is the decay rate of the exponential decay function that controls the power to change with energy, I s and V s are the instantaneous current and voltage of the sth measurement value, P s (E s ) indicates power with energy E s The function of the change, E max and E min It is expressed as the upper and lower limits of the energy integration, K is the total number of additional measurement parameters, Tanh (.) and Sigmoid (.) are used to process the additional measurement parameters X k and weight w k The activation function of .

2. The online quality assessment method for an automatic calibration device of an electric energy meter according to claim 1, characterized in that: The collecting of the measured value data when the electric energy meter automatic verification device measures the electric energy meter under test includes collecting the measured value data of the electric energy meter under different environmental parameter conditions, and recording the environmental parameters of each measurement; Environmental parameters include temperature, humidity, current, voltage, and time; The measured value data include instantaneous current, instantaneous voltage, power, electricity, and frequency.

3. The online quality assessment method for an automatic calibration device of an electric energy meter according to claim 2, characterized in that: The preprocessing includes sorting the collected environmental parameter data, dividing the environmental parameters into k sub-intervals by an equal-interval segmentation method, where k is positively correlated with the range of environmental parameter variation, and the range of environmental parameters in each sub-interval is expressed as: [T1,T2],[T2,T3],…,[T k-1 ,T k ] The starting value T of each subinterval k and the end value T k-1 It is expressed as: Among them, Min is the minimum value of the environmental parameter, Max is the maximum value of the environmental parameter, and l represents the sequence number of the lth sub-interval.

4. The online quality assessment method for an automatic calibration device of an electric energy meter according to claim 3, characterized in that: The analyzing the abnormal value of the measured value of the electric energy meter under the constraint measured by the automatic verification device of the electric energy meter comprises analyzing the abnormal value of the measured value of the electric energy meter under the constraint measured by the automatic verification device of the electric energy meter based on the box plot value calculation method; The measurement value constraint of the electric energy meter automatic verification device is expressed as: Among them, UT is the upper limit, LT is the lower limit, Q1 is the lower quartile, Q3 is the upper quartile, and IQR is the interquartile range.

5. The online quality assessment method for an automatic calibration device of an electric energy meter according to claim 1, characterized in that: The online monitoring and evaluation of the operation reliability of the automatic calibration device of the electric energy meter also includes, when the measurement value deviation of the automatic calibration device of the electric energy meter is unqualified and there is a quality problem, outputting a Q value through the comprehensive quality evaluation model of the automatic calibration device of the electric energy meter for secondary evaluation; When the Q value output by the comprehensive quality assessment model of the electric energy meter automatic calibration device is greater than 0 and less than 0.3, the quality problem of the electric energy meter automatic calibration device is serious, indicating that the electric energy meter automatic calibration device must be deactivated and re-traceable, and an alarm is issued on the display panel of the electric energy meter automatic calibration device to prompt the calibration personnel to handle the device; When the Q value output by the comprehensive quality assessment model of the electric energy meter automatic calibration device is greater than 0.3 and less than 0.7, the quality problem of the electric energy meter automatic calibration device is of general degree, indicating that the electric energy meter automatic calibration device must be checked, and a check prompt is displayed on the display panel of the electric energy meter automatic calibration device, prompting the calibration personnel to check the electric energy meter automatic calibration device; When the Q value output by the quality review model of the electric energy meter automatic calibration device is greater than 0.7 and less than 1, the quality problem of the electric energy meter is slight, indicating that the quality problem of the electric energy meter automatic calibration device does not affect normal operation. The entire quality assessment process of the electric energy meter automatic calibration device is recorded and an assessment log is formed.

6. A system using the online quality assessment method of an electric energy meter automatic calibration device as claimed in any one of claims 1 to 5, characterized in that: Including data acquisition module, outlier calculation module, quality assessment module; The data acquisition module is used to collect the measured value data when the electric energy meter automatic verification device measures the electric energy meter under different environmental parameter conditions, and pre-process the environmental parameters; The abnormal value calculation module is used to analyze the abnormal value of the measured value of the electric energy meter under the constraint measured by the automatic verification device of the electric energy meter based on the box plot value calculation method; The quality assessment module is used to establish a multivariate chi-square test model through measurement value data to monitor and evaluate the operating reliability of the automatic calibration device of the electric energy meter online.

7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the online quality assessment method of the electric energy meter automatic calibration device according to any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the online quality assessment method of an electric energy meter automatic calibration device according to any one of claims 1 to 5 are implemented.