CN117113833A - Verification method and system for calibration device - Google Patents
Verification method and system for calibration device Download PDFInfo
- Publication number
- CN117113833A CN117113833A CN202311073547.XA CN202311073547A CN117113833A CN 117113833 A CN117113833 A CN 117113833A CN 202311073547 A CN202311073547 A CN 202311073547A CN 117113833 A CN117113833 A CN 117113833A
- Authority
- CN
- China
- Prior art keywords
- verification
- error
- electric energy
- energy meter
- early warning
- 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.)
- Pending
Links
- 238000012795 verification Methods 0.000 title claims abstract description 350
- 238000000034 method Methods 0.000 title claims abstract description 68
- 238000005315 distribution function Methods 0.000 claims abstract description 49
- 238000012360 testing method Methods 0.000 claims description 18
- 238000005070 sampling Methods 0.000 claims description 7
- 238000004364 calculation method Methods 0.000 claims description 4
- 230000002159 abnormal effect Effects 0.000 abstract description 8
- 230000005856 abnormality Effects 0.000 abstract description 6
- 238000004519 manufacturing process Methods 0.000 description 6
- 238000007689 inspection Methods 0.000 description 4
- 238000009825 accumulation Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000000737 periodic effect Effects 0.000 description 2
- 238000000053 physical method Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012954 risk control Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000001960 triggered 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/18—Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/27—Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N7/00—Computing arrangements based on specific mathematical models
- G06N7/01—Probabilistic graphical models, e.g. probabilistic networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2111/00—Details relating to CAD techniques
- G06F2111/08—Probabilistic or stochastic CAD
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2111/00—Details relating to CAD techniques
- G06F2111/10—Numerical modelling
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Software Systems (AREA)
- Mathematical Physics (AREA)
- Pure & Applied Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Evolutionary Computation (AREA)
- Mathematical Optimization (AREA)
- Probability & Statistics with Applications (AREA)
- Algebra (AREA)
- Artificial Intelligence (AREA)
- Computing Systems (AREA)
- Medical Informatics (AREA)
- Geometry (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Computer Hardware Design (AREA)
- Life Sciences & Earth Sciences (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Evolutionary Biology (AREA)
- Operations Research (AREA)
- Databases & Information Systems (AREA)
- Testing Relating To Insulation (AREA)
Abstract
本发明公开了一种检定装置的核查方法及系统,获取待核查检定装置的检定数据,利用预设电能表误差分布函数模型对检定数据进行核查,得到核查误差结果,将误差结果与预设值进行对比,若误差结果大于第一预设值且小于第二预设值,则启动告警流程并生成告警核查任务,若误差结果大于第二预设值,则启动预警流程并生成预警核查任务,根据告警核查任务或预警核查任务对待核查检定装置进行核查,本方法通过将电能表误差分布函数模型异常结果与核查任务触发机制联动对检定装置进行核查,能够及时发现检定系统异常,提高核查结果准确度和效率。
The invention discloses a verification method and system for a verification device. It obtains verification data of the verification device to be verified, uses a preset electric energy meter error distribution function model to verify the verification data, obtains a verification error result, and compares the error result with the preset value. Comparison is made. If the error result is greater than the first preset value and less than the second preset value, the alarm process is started and an alarm verification task is generated. If the error result is greater than the second preset value, the early warning process is started and an early warning verification task is generated. The verification device to be verified is verified according to the alarm verification task or the early warning verification task. This method verifies the verification device by linking the abnormal results of the energy meter error distribution function model with the verification task triggering mechanism, which can promptly discover the abnormality of the verification system and improve the accuracy of the verification results. degree and efficiency.
Description
技术领域Technical field
本发明涉及电能表检定技术领域,尤其涉及一种检定装置的核查方法及系统。The present invention relates to the technical field of electric energy meter calibration, and in particular to a verification method and system for a calibration device.
背景技术Background technique
随着电能表检定业务量快速增长,电能表的检定工作已经由人工检定转变为自动化流水线检定。检定装置具备分布高度集中、检定人员数量小、检定效率大幅提高等特点,为了确保电能表检定装置的标准性能持续满足方法要求,高效、高质量地完成检定装置的期间核查工作尤为重要。With the rapid growth of electric energy meter calibration business volume, the calibration work of electric energy meters has been transformed from manual calibration to automated assembly line calibration. Calibration devices have the characteristics of highly concentrated distribution, small number of calibration personnel, and greatly improved calibration efficiency. In order to ensure that the standard performance of the energy meter calibration device continues to meet the method requirements, it is particularly important to complete the periodic verification work of the calibration device efficiently and with high quality.
在目前的自动化检定模式下,检定装置数量庞大,检定系统运行效率高,日检定量数以万计,为确保各检定装置在相邻两次量值溯源期间,其标准性能持续满足方法要求,需根据实际情况开展定期和不定期的期间核查。通过人工开展期间核查工作,作业效率低且对日常检定生产影响大,难以保证核查的频率和及时性,同时试验过程和数据处理受人为因素影响风险大。若检定系统标准性能发生异常,则难以及时发现、准确判断并处理,受影响的已检装出设备召回困难,且影响恶劣,无法满足计量检定生产精益管理、风险在线管控的要求。Under the current automated calibration mode, there are a large number of calibration devices, the calibration system operates with high efficiency, and the daily calibration volume is tens of thousands. In order to ensure that the standard performance of each calibration device continues to meet the method requirements during two consecutive value traceability periods, Regular and irregular periodic inspections need to be carried out according to the actual situation. Manual verification during the period is inefficient and has a great impact on daily verification and production. It is difficult to ensure the frequency and timeliness of verification. At the same time, the test process and data processing are affected by human factors and have high risks. If the standard performance of the calibration system is abnormal, it will be difficult to detect, accurately judge and deal with it in time. It will be difficult to recall the affected inspected and installed equipment, and the impact will be severe. It cannot meet the requirements of lean management of metrology calibration production and online risk control.
基于同一批次智能电能表历史检定数据的电能表误差分布函数模型的数字核查方法虽然能够解决传统期间核查人工接线导致的检定工作中断、检定效率低、受人为影响等问题,但是数字核查方法一方面需要大量的数量积累,容易受数据质量的影响,导致核查结果不准确。Although the digital verification method based on the energy meter error distribution function model based on the historical calibration data of the same batch of smart energy meters can solve the problems of interruption of calibration work, low calibration efficiency, and human influence caused by manual wiring inspection during the traditional period, the digital verification method is still This aspect requires a large amount of quantity accumulation and is easily affected by data quality, leading to inaccurate verification results.
发明内容Contents of the invention
为了解决上述技术问题,本发明实施例提供了一种检定装置的核查方法及系统,通过将电能表误差分布函数模型异常结果与核查任务触发机制联动对检定装置进行核查,能够及时发现检定系统异常,提高核查结果准确度和效率。In order to solve the above technical problems, embodiments of the present invention provide a verification method and system for a calibration device. By linking the abnormal results of the energy meter error distribution function model with the verification task triggering mechanism to verify the calibration device, abnormalities in the calibration system can be discovered in a timely manner. , improve the accuracy and efficiency of verification results.
本发明实施例的第一方面提供了一种检定装置的核查方法,所述方法包括:A first aspect of the embodiment of the present invention provides a verification method for a calibration device, the method includes:
获取待核查检定装置的检定数据;Obtain the calibration data of the calibration device to be verified;
利用预设电能表误差分布函数模型对检定数据进行核查,得到核查误差结果,其中,预设电能表误差分布函数模型根据历史检定数据构建得到;Use the preset electric energy meter error distribution function model to check the calibration data and obtain the verification error results, where the preset electric energy meter error distribution function model is constructed based on historical calibration data;
将误差结果与预设值进行对比,若误差结果大于第一预设值且小于第二预设值,则启动告警流程并生成告警核查任务,若误差结果大于第二预设值,则启动预警流程并生成预警核查任务;Compare the error result with the preset value. If the error result is greater than the first preset value and less than the second preset value, start the alarm process and generate an alarm verification task. If the error result is greater than the second preset value, initiate an early warning. process and generate early warning verification tasks;
根据告警核查任务或预警核查任务对待核查检定装置进行核查,得到第一核查结果,若第一核查结果达到预设条件,则结束核查,若误差结果小于第一预设值,则根据预设核查任务对待核查检定装置进行核查,得到第二核查结果,若第二核查结果达到预设条件,则结束核查。Verify the device to be verified according to the alarm verification task or early warning verification task, and obtain the first verification result. If the first verification result reaches the preset condition, the verification will end. If the error result is less than the first preset value, the verification will be carried out according to the preset condition. The task is to verify the verification device to be verified and obtain the second verification result. If the second verification result meets the preset conditions, the verification ends.
实施本实施例,获取待核查检定装置的检定数据,利用预设电能表误差分布函数模型对检定数据进行核查,得到核查误差结果,将误差结果与预设值进行对比,若误差结果大于第一预设值且小于第二预设值,则启动告警流程并生成告警核查任务,若误差结果大于第二预设值,则启动预警流程并生成预警核查任务,根据告警核查任务或预警核查任务对待核查检定装置进行核查,得到第一核查结果,若第一核查结果达到预设条件,则结束核查,若误差结果小于第一预设值,则根据预设核查任务对待核查检定装置进行核查,得到第二核查结果,若第二核查结果达到预设条件,则结束核查,本方法通过将电能表误差分布函数模型异常结果与核查任务触发机制联动对检定装置进行核查,能够及时发现检定系统异常,提高核查结果准确度和效率。Implement this embodiment to obtain the calibration data of the calibration device to be verified, use the preset electric energy meter error distribution function model to check the calibration data, obtain the verification error result, compare the error result with the preset value, if the error result is greater than the first If the error result is greater than the second preset value, the alarm process will be started and an alarm verification task will be generated. If the error result is greater than the second preset value, the early warning process will be started and an early warning verification task will be generated. The warning process will be treated according to the alarm verification task or the early warning verification task. The verification and verification device performs verification to obtain the first verification result. If the first verification result reaches the preset condition, the verification is ended. If the error result is less than the first preset value, the verification and verification device to be verified is verified according to the preset verification task to obtain As a result of the second verification, if the second verification result reaches the preset conditions, the verification will end. This method verifies the calibration device by linking the abnormal results of the energy meter error distribution function model with the verification task triggering mechanism, and can detect abnormalities in the calibration system in a timely manner. Improve the accuracy and efficiency of verification results.
在第一方面的一种可能的实现方式中,判断是否存在多个相同的告警核查任务或多个相同的预警核查任务,若存在且各个相同的告警核查任务或各个相同的预警核查任务属于同一个线体和装置中,则判断各个相同的告警核查任务或预警核查任务中是否已经完成,若完成,则结束核查任务;In a possible implementation of the first aspect, it is determined whether there are multiple identical alarm verification tasks or multiple identical early warning verification tasks, and if there are and each identical alarm verification task or each identical early warning verification task belongs to the same In a line body and device, it is judged whether each of the same alarm verification tasks or early warning verification tasks has been completed. If completed, the verification task is ended;
若存在且各个相同的告警核查任务或各个相同的预警核查任务属于同一个线体、不同装置中,则将各个相同的告警核查任务或预警核查任务合并为一条告警核查任务或预警核查任务进行核查。If there are identical alarm verification tasks or identical early warning verification tasks and they belong to the same line or different devices, then merge the identical alarm verification tasks or early warning verification tasks into one alarm verification task or early warning verification task for verification. .
在第一方面的一种可能的实现方式中,预设电能表误差分布函数模型根据历史检定数据构建得到,具体为:In a possible implementation of the first aspect, the preset electric energy meter error distribution function model is constructed based on historical calibration data, specifically:
根据被检电能表的电力数据计算得到被检电能表相对误差,根据被检检定装置的检定数据计算得到被检装置的相对误差;The relative error of the inspected electric energy meter is calculated based on the power data of the inspected electric energy meter, and the relative error of the inspected device is calculated based on the calibration data of the inspected calibration device;
根据被检电能表相对误差和被检装置的相对误差计算得到基本误差模型,其中,基本误差模型为:The basic error model is calculated based on the relative error of the electric energy meter being tested and the relative error of the device being tested. The basic error model is:
Y(%)=X(%)―θ(%)Y(%)=X(%)-θ(%)
其中,X(%)表示被检电能表基本误差,θ(%)表示被检检定装置的相对误差,/>We表示被检装置的指示电能,W0表示参考标准测量的电能;Among them, X (%) represents the basic error of the electric energy meter under test, θ(%) represents the relative error of the calibration device being tested,/> W e represents the indicated electric energy of the device under test, and W 0 represents the electric energy measured by the reference standard;
根据中心极限定理和贝叶斯层次模型结合基本误差模型构建电能表误差分布函数模型。Based on the central limit theorem and Bayesian hierarchical model combined with the basic error model, an energy meter error distribution function model is constructed.
在第一方面的一种可能的实现方式中,利用预设电能表误差分布函数模型对检定数据进行核查,得到核查误差结果,具体为:In a possible implementation of the first aspect, a preset electric energy meter error distribution function model is used to check the calibration data to obtain the verification error results, specifically:
根据待核查检定装置的第k个检定数据进行误差计算,得到误差分布模型;Calculate the error based on the kth calibration data of the calibration device to be verified, and obtain the error distribution model;
根据贝叶斯定理和误差分布模型中的各个参数获得后验概率分布;Obtain the posterior probability distribution according to Bayes' theorem and each parameter in the error distribution model;
运用吉布斯采样法对后验概率分布进行采样后,再由联合分布的样本获得标准装置误差的边缘分布样本,计算得到核查误差结果。After using the Gibbs sampling method to sample the posterior probability distribution, the marginal distribution sample of the standard device error is obtained from the joint distribution sample, and the verification error result is calculated.
在第一方面的一种可能的实现方式中,根据告警核查任务或预警核查任务对待核查检定装置进行核查,具体为:In a possible implementation of the first aspect, the verification device to be verified is verified according to the alarm verification task or the early warning verification task, specifically as follows:
根据告警核查任务或预警核查任务,采用预设物理核查设备对待核查检定装置进行核查。According to the alarm verification task or early warning verification task, preset physical verification equipment is used to verify the verification device to be verified.
在第一方面的一种可能的实现方式中,预设物理核查设备优选为与现有电能表尺寸一致且具有高稳定性的0.02级物理核查设备。In a possible implementation of the first aspect, the preset physical verification equipment is preferably a 0.02 level physical verification equipment that is consistent in size with the existing electric energy meter and has high stability.
本发明实施例的第二方面提供了一种检定装置的核查系统,所述系统包括:A second aspect of the embodiment of the present invention provides a verification system for a calibration device, the system including:
获取模块,用于获取待核查检定装置的检定数据;The acquisition module is used to obtain the calibration data of the calibration device to be verified;
第一核查模块,用于利用预设电能表误差分布函数模型对检定数据进行核查,得到核查误差结果,其中,预设电能表误差分布函数模型根据历史检定数据构建得到;The first verification module is used to check the calibration data using a preset electric energy meter error distribution function model to obtain verification error results, where the preset electric energy meter error distribution function model is constructed based on historical calibration data;
第二核查模块,用于将误差结果与预设值进行对比,若误差结果大于第一预设值且小于第二预设值,则启动告警流程并生成告警核查任务,若误差结果大于第二预设值,则启动预警流程并生成预警核查任务;The second verification module is used to compare the error result with the preset value. If the error result is greater than the first preset value and less than the second preset value, start the alarm process and generate an alarm verification task. If the error result is greater than the second preset value, If the default value is set, the early warning process will be started and the early warning verification task will be generated;
第三核查模块,用于根据告警核查任务或预警核查任务对待核查检定装置进行核查,得到第一核查结果,若第一核查结果达到预设条件,则结束核查,若误差结果小于第一预设值,则根据预设核查任务对待核查检定装置进行核查,得到第二核查结果,若第二核查结果达到预设条件,则结束核查。The third verification module is used to verify the device to be verified according to the alarm verification task or the early warning verification task, and obtain the first verification result. If the first verification result reaches the preset condition, the verification will be ended. If the error result is less than the first preset value, the verification device to be verified is verified according to the preset verification task, and the second verification result is obtained. If the second verification result reaches the preset condition, the verification is ended.
在第二方面的一种可能的实现方式中,判断模块用于判断是否存在多个相同的告警核查任务或多个相同的预警核查任务,若存在且各个相同的告警核查任务或各个相同的预警核查任务属于同一个线体和装置中,则判断各个相同的告警核查任务或预警核查任务中是否已经完成,若完成,则结束核查任务;In a possible implementation of the second aspect, the judgment module is used to judge whether there are multiple identical alarm verification tasks or multiple identical early warning verification tasks. If there are multiple identical alarm verification tasks or identical early warning tasks, If the verification tasks belong to the same line body and device, it is judged whether each of the same alarm verification tasks or early warning verification tasks has been completed. If completed, the verification task is ended;
若存在且各个相同的告警核查任务或各个相同的预警核查任务属于同一个线体、不同装置中,则将各个相同的告警核查任务或预警核查任务合并为一条告警核查任务或预警核查任务进行核查。If there are identical alarm verification tasks or identical early warning verification tasks and they belong to the same line or different devices, then merge the identical alarm verification tasks or early warning verification tasks into one alarm verification task or early warning verification task for verification. .
在第二方面的一种可能的实现方式中,预设电能表误差分布函数模型根据历史检定数据构建得到,具体为:In a possible implementation of the second aspect, the preset electric energy meter error distribution function model is constructed based on historical calibration data, specifically:
根据被检电能表的电力数据计算得到被检电能表相对误差,根据被检检定装置的检定数据计算得到被检装置的相对误差;The relative error of the inspected electric energy meter is calculated based on the power data of the inspected electric energy meter, and the relative error of the inspected device is calculated based on the calibration data of the inspected calibration device;
根据被检电能表相对误差和被检装置的相对误差计算得到基本误差模型,其中,基本误差模型为:The basic error model is calculated based on the relative error of the electric energy meter being tested and the relative error of the device being tested. The basic error model is:
Y(%)=X(%)―θ(%)Y(%)=X(%)-θ(%)
其中,X(%)表示被检电能表基本误差,θ(%)表示被检检定装置的相对误差,/>We表示被检装置的指示电能,W0表示参考标准测量的电能。Among them, X (%) represents the basic error of the electric energy meter under test, θ(%) represents the relative error of the calibration device being tested,/> W e represents the indicated electric energy of the device under test, and W 0 represents the electric energy measured by the reference standard.
在第二方面的一种可能的实现方式中,利用预设电能表误差分布函数模型对检定数据进行核查,得到核查误差结果,具体为:In a possible implementation of the second aspect, a preset electric energy meter error distribution function model is used to check the calibration data to obtain the verification error results, specifically:
根据待核查检定装置的第k个检定数据进行误差计算,得到误差分布模型;Calculate the error based on the kth calibration data of the calibration device to be verified, and obtain the error distribution model;
根据贝叶斯定理和误差分布模型中的各个参数获得后验概率分布;Obtain the posterior probability distribution according to Bayes' theorem and each parameter in the error distribution model;
运用吉布斯采样法对后验概率分布进行采样后,再由联合分布的样本获得标准装置误差的边缘分布样本,计算得到核查误差结果。After using the Gibbs sampling method to sample the posterior probability distribution, the marginal distribution sample of the standard device error is obtained from the joint distribution sample, and the verification error result is calculated.
附图说明Description of drawings
图1:为本发明提供的一种检定装置的核查方法一种实施例的流程示意图;Figure 1: A schematic flow chart of an embodiment of a verification method for a calibration device provided by the present invention;
图2:为本发明提供的一种检定装置的核查方法一种实施例的核查系统工作流程示意图;Figure 2: A schematic diagram of the work flow of the verification system according to one embodiment of the verification method of the verification device provided by the present invention;
图3:为本发明提供的一种检定装置的核查方法一种实施例的检定数据的双层模型结构示意图;Figure 3: A schematic structural diagram of a two-layer model of calibration data for an embodiment of a verification method for a calibration device provided by the present invention;
图4:为本发明提供的一种检定装置的核查方法另一种实施例的系统结构示意图。Figure 4: A schematic system structure diagram of another embodiment of a verification method for a verification device provided by the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without making creative efforts fall within the scope of protection of the present invention.
实施例一Embodiment 1
请参照图1,为本发明实施例提供的检定装置的核查方法的一种实施例的流程示意图,包括步骤S11~S14,各步骤具体如下:Please refer to Figure 1 , which is a schematic flow chart of an embodiment of a verification method for a calibration device provided by an embodiment of the present invention, including steps S11 to S14. The details of each step are as follows:
S11、获取待核查检定装置的检定数据。S11. Obtain the calibration data of the calibration device to be verified.
在本实施例中,获取待核查检定装置的检定数据,该检定数据包括多个检定数据。In this embodiment, the verification data of the verification device to be verified is obtained, and the verification data includes multiple verification data.
需要说明的是,实时获取多个待核查检定装置的检定数据。It should be noted that the calibration data of multiple calibration devices to be verified are obtained in real time.
S12、利用预设电能表误差分布函数模型对所述检定数据进行核查,得到核查误差结果,其中,所述预设电能表误差分布函数模型根据历史检定数据构建得到。S12. Use a preset electric energy meter error distribution function model to check the calibration data to obtain a verification error result, wherein the preset electric energy meter error distribution function model is constructed based on historical calibration data.
在优选的实施例当中,预设电能表误差分布函数模型根据历史检定数据构建得到,具体为:In a preferred embodiment, the preset electric energy meter error distribution function model is constructed based on historical calibration data, specifically:
根据被检电能表的电力数据计算得到被检电能表相对误差,根据被检检定装置的检定数据计算得到被检装置的相对误差;The relative error of the inspected electric energy meter is calculated based on the power data of the inspected electric energy meter, and the relative error of the inspected device is calculated based on the calibration data of the inspected calibration device;
根据被检电能表相对误差和被检装置的相对误差计算得到基本误差模型,其中,基本误差模型为:The basic error model is calculated based on the relative error of the electric energy meter being tested and the relative error of the device being tested. The basic error model is:
Y(%)=X(%)―θ(%)Y(%)=X(%)-θ(%)
其中,X(%)表示被检电能表基本误差,θ(%)表示被检检定装置的相对误差,/>We表示被检装置的指示电能,W0表示参考标准测量的电能;Among them, X (%) represents the basic error of the electric energy meter under test, θ(%) represents the relative error of the calibration device being tested,/> W e represents the indicated electric energy of the device under test, and W 0 represents the electric energy measured by the reference standard;
根据中心极限定理和贝叶斯层次模型结合基本误差模型构建电能表误差分布函数模型。Based on the central limit theorem and Bayesian hierarchical model combined with the basic error model, an energy meter error distribution function model is constructed.
在优选的实施例当中,利用预设电能表误差分布函数模型对检定数据进行核查,得到核查误差结果,具体为:In a preferred embodiment, the preset electric energy meter error distribution function model is used to check the calibration data to obtain the verification error results, specifically:
根据待核查检定装置的第k个检定数据进行误差计算,得到误差分布模型;Calculate the error based on the kth calibration data of the calibration device to be verified, and obtain the error distribution model;
根据贝叶斯定理和误差分布模型中的各个参数获得后验概率分布;Obtain the posterior probability distribution according to Bayes' theorem and each parameter in the error distribution model;
运用吉布斯采样法对后验概率分布进行采样后,再由联合分布的样本获得标准装置误差的边缘分布样本,计算得到核查误差结果。After using the Gibbs sampling method to sample the posterior probability distribution, the marginal distribution sample of the standard device error is obtained from the joint distribution sample, and the verification error result is calculated.
在本实施例中,图2所示,利用同一批次智能电能表历史检定数据,基于中心极限定理和贝叶斯层次模型,构建高于检定装置准确度等级的电能表误差分布函数模型,对检定装置进行实时核查。电能表误差分布函数模型处理历史检定数据的过程如下:In this embodiment, as shown in Figure 2, the same batch of smart electric energy meter historical calibration data is used to construct an electric energy meter error distribution function model that is higher than the accuracy level of the calibration device based on the central limit theorem and Bayesian hierarchical model. The calibration device performs real-time verification. The process of processing historical calibration data by the energy meter error distribution function model is as follows:
检定装置基本误差来源建模,依据《JJG 596—2012电子式交流电能表》中对基本误差检定的要求,使用标准表法检定电能表时,被检电能表的相对误差计算公式:Modeling of the basic error sources of the calibration device. According to the requirements for basic error calibration in "JJG 596-2012 Electronic AC Electric Energy Meter", when calibrating the electric energy meter using the standard meter method, the relative error calculation formula of the electric energy meter being tested is:
其中,m表示实测脉冲数,m0表示算定脉冲数,N表示被检电能表低频或高频脉冲数,C0表示标准表的(脉冲)仪表常数,imp/kWh,CL表示被检电能表的(脉冲)仪表常数,imp/kWh,KI,KU分别表示标准表外接的电流、电压互感器变比,Among them, m represents the measured pulse number, m 0 represents the calculated pulse number, N represents the number of low-frequency or high-frequency pulses of the electric energy meter being tested, C 0 represents the (pulse) instrument constant of the standard meter, imp/kWh, C L represents the (pulse) instrument constant of the electric energy meter being tested, imp/kWh, K I , K U respectively represent the current and voltage transformer ratios connected to the standard meter.
当标准表无外接电流、电压互感器时,KI和KU都等于1,则算定脉冲数为 那么被检电能表的相对误差为/> 其中Wm为被检电能表的指示电能,We为检定装置的指示电能。When the standard meter has no external current and voltage transformers, both K I and K U are equal to 1, then the calculated number of pulses is Then the relative error of the tested electric energy meter is/> Among them, W m is the indicated electric energy of the electric energy meter under test, and We is the indicated electric energy of the calibration device.
依据《JJG 597—2005交流电能表检定装置检定规程》中对基本误差检定的要求,被检装置的相对误差计算公式:According to the requirements for basic error calibration in "JJG 597-2005 Calibration Regulations for AC Electric Energy Meter Calibration Devices", the relative error calculation formula of the device being tested is:
其中,We表示被检装置的指示电能,W0表示参考标准测量的电能。Among them, We represents the indicated electric energy of the device under test, and W 0 represents the electric energy measured by the reference standard.
由以上公式可知,被检电能表的相对误差Y(%)是电能表相对检定装置的误差;被检装置的相对误差θ(%)是检定装置相对参考标准测量的误差。那么电能表的真实相对误差是电能表相对参考标准测量的误差,即则有:It can be seen from the above formula that the relative error Y (%) of the electric energy meter being tested is the error of the electric energy meter relative to the calibration device; the relative error θ (%) of the device being tested is the error measured by the calibration device relative to the reference standard. Then the true relative error of the electric energy meter is the error measured by the electric energy meter relative to the reference standard, that is Then there are:
由此可得,电能表检定的基本误差Y(%)、电能表基本误差X(%)、检定装置基本误差θ(%)三者之间关系是:It can be seen that the relationship between the basic error Y (%) of the electric energy meter calibration, the basic error X (%) of the electric energy meter, and the basic error θ (%) of the calibration device is:
X(%)=θ(%)+Y(%)+0.01*θ(%)*Y(%)X(%)=θ(%)+Y(%)+0.01*θ(%)*Y(%)
鉴于0.01*θ(%)*Y(%)所得的数值超出精度,对于结果的影响十分微小,故检定装置基本误差模型为:Since the value obtained by 0.01*θ(%)*Y(%) exceeds the accuracy and has a very small impact on the results, the basic error model of the calibration device is:
Y(%)=X(%)―θ(%)Y(%)=X(%)-θ(%)
其中,X(%)表示被检电能表基本误差,θ(%)表示被检检定装置的相对误差,/>We表示被检装置的指示电能,W0表示参考标准测量的电能。Among them, X (%) represents the basic error of the electric energy meter under test, θ(%) represents the relative error of the calibration device being tested,/> W e represents the indicated electric energy of the device under test, and W 0 represents the electric energy measured by the reference standard.
然后基于中心极限定理积累电能表误差分布函数模型的检定数据,中心极限定理指出独立同分布随机变量的均值分布渐近于正态分布,该定理是数理统计学和误差分析的理论基础,具体表述如下:Then the calibration data of the electric energy meter error distribution function model is accumulated based on the central limit theorem. The central limit theorem states that the mean distribution of independent and identically distributed random variables asymptotically approaches the normal distribution. This theorem is the theoretical basis of mathematical statistics and error analysis. It is expressed in detail. as follows:
对于独立同分布的n个随机变量,X1,X2,···,Xn,其期望和标准差分别是μ和σ,平均值分布近似趋向于正态分布/> For n independent and identically distributed random variables, X 1 , X 2 ,···,X n , their expectation and standard deviation are μ and σ respectively, and the mean The distribution approximates a normal distribution/>
根据中心极限定理,n块同生产批次普通智能电能表的检定数据,其均值可视为电能表误差分布函数模型的检定数据,且该电能表误差分布函数模型的准确度等级比单块普通智能电能表的准确度等级提高了倍。若n足够大,该电能表误差分布函数模型准确度等级可以达到物理法中标准电能表的准确度等级,即可用于检定装置的核查。According to the central limit theorem, the average value of the calibration data of n pieces of ordinary smart energy meters from the same production batch can be regarded as the calibration data of the energy meter error distribution function model, and the accuracy level of the energy meter error distribution function model is higher than that of a single ordinary smart energy meter. Smart energy meters have improved accuracy levels times. If n is large enough, the accuracy level of the electric energy meter error distribution function model can reach the accuracy level of the standard electric energy meter in the physical method, and can be used for verification of calibration devices.
作为本实施例一种举例,以单相智能电能表为例,其准确度等级通常为2级,与物理法中的标准电能表准确度等级相差约100倍。如果利用单个检定装置的检定数据构造电能表误差分布函数模型,需要积累1万数量级的同生产批次电能表检定数据,才能满足检定装置核查准确度的要求。然而单个检定装置的检定速度有限,上述规模的数据积累在检定工作过程中需要的时间较长。为解决上述问题,本方法联合检定同一批次智能电能表的多个检定装置,引入了贝叶斯层次模型,将所要求的检定数据量分摊,统一构建电能表误差分布函数模型,从而大幅度缩减数据积累时间,也实现了对多个检定装置的实时核查。As an example of this embodiment, take a single-phase smart energy meter as an example. Its accuracy level is usually level 2, which is about 100 times different from the accuracy level of a standard electric energy meter in the physical method. If the calibration data of a single calibration device is used to construct an energy meter error distribution function model, it is necessary to accumulate calibration data of energy meters of the same production batch in the order of 10,000 to meet the verification accuracy requirements of the calibration device. However, the calibration speed of a single calibration device is limited, and the accumulation of data on the above scale requires a long time during the calibration process. In order to solve the above problems, this method jointly certifies multiple calibration devices of the same batch of smart energy meters, introduces the Bayesian hierarchical model, allocates the required amount of calibration data, and uniformly constructs the energy meter error distribution function model, thus significantly It reduces data accumulation time and also enables real-time verification of multiple calibration devices.
同生产批次智能电能表的检定数据可基于其所在检定装置进行分组构成双层模型:第一层由不同的检定装置构成,为描述检定装置误差的组间模型;第二层由同一个检定装置检定的多块待检表构成,为描述同一检定装置生成的检定数据的组内模型,如图3所示。The calibration data of smart energy meters of the same production batch can be grouped based on the calibration device where they are located to form a two-layer model: the first layer is composed of different calibration devices, which is an inter-group model describing the error of the calibration device; the second layer is composed of the same calibration device The device calibration consists of multiple inspection tables, which are intra-group models describing the calibration data generated by the same calibration device, as shown in Figure 3.
第一层组间模型中,以μi表示第i个检定装置的误差,假设其服从正态分布,其模型似然为:In the first-level inter-group model, let μ i represent the error of the i-th calibration device. Assuming that it obeys the normal distribution, the model likelihood is:
其中,和τ2分别为检定装置误差分布的期望和方差。in, and τ 2 are the expectation and variance of the error distribution of the calibration device respectively.
第二层组内模型中,用Yi,k表示第i个检定装置的第k个检定数据,b表示该生产批次被检智能电能表的误差的期望。检定数据Yi,k即待检表的检定误差,为待检表自身真实误差与检定装置的误差之差,并假设其服从正态分布,其模型似然为:In the second-level intra-group model, Y i,k represents the k-th calibration data of the i-th calibration device, and b represents the error expectation of the inspected smart energy meter in this production batch. The calibration data Yi,k is the calibration error of the meter to be inspected, which is the difference between the real error of the meter to be inspected and the error of the calibration device. Assuming that it obeys the normal distribution, its model likelihood is:
其中,σ2为组内检定数据的方差。Among them, σ 2 is the variance of the test data within the group.
根据贝叶斯定理,设置参数b,τ2,σ2的共轭先验分布为:According to Bayes theorem, set parameters The conjugate prior distribution of b,τ 2 ,σ 2 is:
其中,IG表示逆Gamma分布。Among them, IG represents the inverse Gamma distribution.
利用贝叶斯定理,获得后验概率分布为:Using Bayes' theorem, the posterior probability distribution is obtained:
上述参数的后验分布中,μ1,μ2,…,μm,b的后验分布为正态分布,τ2和σ2的后验分布为逆Gamma分布。In the posterior distribution of the above parameters, μ 1 , μ 2 ,…, μ m , The posterior distribution of b is the normal distribution, and the posterior distribution of τ 2 and σ 2 is the inverse Gamma distribution.
基于上述后验分布,运用吉布斯采样法,对联合后验分布p(μ1,μ2,...,μm,τ2,σ2,b|Y)进行采样,再直接由联合分布的样本获得标准装置误差μ1,μ2,…,μm的边缘分布样本,进而获得该分布的均值、中值等统计信息,作为得到的核查结果。Based on the above posterior distribution, using the Gibbs sampling method, the joint posterior distribution p(μ 1 , μ 2 ,..., μ m , τ 2 , σ 2 , b | information as a result of the verification obtained.
S13、将所述误差结果与预设值进行对比,若所述误差结果大于第一预设值且小于第二预设值,则启动告警流程并生成告警核查任务,若所述误差结果大于第二预设值,则启动预警流程并生成预警核查任务。S13. Compare the error result with the preset value. If the error result is greater than the first preset value and less than the second preset value, start the alarm process and generate an alarm verification task. If the error result is greater than the second preset value, 2 preset value, the early warning process will be started and the early warning verification task will be generated.
在优选的实施例当中,还包括:Among the preferred embodiments, it also includes:
判断是否存在多个相同的告警核查任务或多个相同的预警核查任务,若存在且各个相同的告警核查任务或各个相同的预警核查任务属于同一个线体和装置中,则判断各个相同的告警核查任务或预警核查任务中是否已经完成,若完成,则结束核查任务;Determine whether there are multiple identical alarm verification tasks or multiple identical early warning verification tasks. If they exist and each identical alarm verification task or each identical early warning verification task belongs to the same line body and device, then determine whether each identical alarm Check whether the verification task or early warning verification task has been completed. If completed, the verification task will end;
若存在且各个相同的告警核查任务或各个相同的预警核查任务属于同一个线体、不同装置中,则将各个相同的告警核查任务或预警核查任务合并为一条告警核查任务或预警核查任务进行核查。If there are identical alarm verification tasks or identical early warning verification tasks and they belong to the same line or different devices, then merge the identical alarm verification tasks or early warning verification tasks into one alarm verification task or early warning verification task for verification. .
在本实施例中,通过电能表误差分布函数模型的运算,可以计算出检定装置的期间核查的误差值,然后和规定的误差值相比较,如果超过最大允许误差系统会自动启动告警流程,如果接近最大允许误差系统会自动启动预警流程,告警和预警流程都会自动生成一条代办任务,进而生成物理核查任务,通过该任务的执行结果来判断电能表检定装置是否异常。In this embodiment, through the operation of the energy meter error distribution function model, the error value of the calibration device during the verification can be calculated, and then compared with the specified error value. If the maximum allowable error is exceeded, the system will automatically start an alarm process. If When approaching the maximum allowable error, the system will automatically start the early warning process. Both the alarm and early warning processes will automatically generate an agent task, and then generate a physical verification task. The execution results of this task will be used to determine whether the energy meter calibration device is abnormal.
当电能表误差分布函数模型运算的误差结果接近于最大允许误差时,系统会自动启动预警流程,预警启动的判断条件系统可以灵活设置,预警流程启动后的流程和告警流程一致。When the error result calculated by the energy meter error distribution function model is close to the maximum allowable error, the system will automatically start the early warning process. The judgment conditions for starting the early warning can be flexibly set. The process after the early warning process is started is consistent with the alarm process.
当系统启动告警流程时,为了防止重复告警,系统会判断该线体是否存在相同告警类型未处理结束的流程,比如同一线体同一装置连续三天告警,系统会自动判断第一个告警是否已核查完成,如果没有完成,第二个告警就会自动关闭。同时为了减轻核查的任务量,提高核查效率,相同线体不同装置的相同类型的告警信息会自动合并成一条告警信息,比如1号线体1号检定单位和2号检定单元都发生期间核查的告警,系统会自动合并为一个任务,一次性核查1号线体的1号检定单元和2号检定单元。When the system starts the alarm process, in order to prevent repeated alarms, the system will determine whether there is an unprocessed process of the same alarm type on the line body. For example, if the same device on the same line body has alarmed for three consecutive days, the system will automatically determine whether the first alarm has been processed. The verification is completed. If it is not completed, the second alarm will be automatically closed. At the same time, in order to reduce the workload of verification and improve verification efficiency, the same type of alarm information from different devices on the same line body will be automatically merged into one alarm message. For example, the verification information during inspection occurred in both the No. 1 verification unit and the No. 2 verification unit of Line 1. Alarm, the system will automatically merge it into one task to check the No. 1 verification unit and the No. 2 verification unit of Line 1 at one time.
需要说明的是,预警流程的目的在于提前发现装置的问题,做到防患于未然;告警流程的目的在于验证装置的问题,确认装置问题后,能最大限度的减少因装置问题带来的影响。It should be noted that the purpose of the early warning process is to discover device problems in advance and prevent problems before they occur; the purpose of the alarm process is to verify the device problems. After confirming the device problems, the impact of the device problems can be minimized. .
S14、根据告警核查任务或预警核查任务对待核查检定装置进行核查,得到第一核查结果,若第一核查结果达到预设条件,则结束核查,若误差结果小于第一预设值,则根据预设核查任务对待核查检定装置进行核查,得到第二核查结果,若第二核查结果达到预设条件,则结束核查。S14. Verify the device to be verified and calibrated according to the alarm verification task or early warning verification task, and obtain the first verification result. If the first verification result reaches the preset condition, the verification will end. If the error result is less than the first preset value, the verification will be completed according to the preset value. Set up a verification task to verify the verification device to be verified and obtain the second verification result. If the second verification result meets the preset conditions, the verification will be ended.
在优选的实施例当中,根据告警核查任务或预警核查任务对待核查检定装置进行核查,具体为:In a preferred embodiment, the verification device to be verified is verified according to the alarm verification task or the early warning verification task, specifically as follows:
根据告警核查任务或预警核查任务,采用预设物理核查设备对待核查检定装置进行核查。According to the alarm verification task or early warning verification task, preset physical verification equipment is used to verify the verification device to be verified.
在优选的实施例当中,预设物理核查设备优选为与现有电能表尺寸一致且具有高稳定性的0.02级物理核查设备。In a preferred embodiment, the preset physical verification equipment is preferably a 0.02 level physical verification equipment that is consistent in size with the existing electric energy meter and has high stability.
在本实施例中,当产生告警或预警时,根据告警核查任务或预警核查任务,采用预设物理核查设备对待核查检定装置进行核查,通过该任务的执行结果来判断电能表检定装置是否异常。该预设物理核查设备为一种与现有电能表尺寸一致且具有高稳定性的0.02级物理核查设备。In this embodiment, when an alarm or early warning occurs, according to the alarm verification task or the early warning verification task, the preset physical verification equipment is used to verify the verification device to be verified, and whether the energy meter verification device is abnormal is determined based on the execution result of the task. The preset physical verification equipment is a 0.02 level physical verification equipment that is consistent in size with the existing electric energy meter and has high stability.
物理核查任务执行期间的各个状态都会实时同步到电能表误差分布函数模型中,分布式函数模型可以提前发现问题,物理核查任务作为一种验证方式实现告警的最终闭环,两者相辅相成,最终达到线体能够正常的进行日常检定任务并保证检定结果的准确性,避免因为检定结果的问题发生召回电能表召回事件。Each state during the execution of the physical verification task will be synchronized in real time to the energy meter error distribution function model. The distributed function model can detect problems in advance. The physical verification task serves as a verification method to achieve the final closed loop of the alarm. The two complement each other and finally reach the line. The body can carry out daily calibration tasks normally and ensure the accuracy of calibration results, so as to avoid the recall of electric energy meters due to problems with calibration results.
本发明将电能表误差分布函数模型异常结果与核查任务触发机制联动,当电能表误差分布函数模型发现异常时自动触发核查任务,通过物理核查设备完成检定装置的核查工作,能够及时发现检定装置异常。The invention links the abnormal results of the electric energy meter error distribution function model with the verification task triggering mechanism. When the electric energy meter error distribution function model finds an abnormality, the verification task is automatically triggered. The verification work of the calibration device is completed through the physical verification equipment, and the abnormality of the calibration device can be discovered in time. .
实施例二Embodiment 2
相应地,参见图4,图4是本发明提供的一种检定装置的核查系统,如图所示,该检定装置的核查系统包括:Correspondingly, refer to Figure 4, which is a verification system of a verification device provided by the present invention. As shown in the figure, the verification system of the verification device includes:
获取模块401,用于获取待核查检定装置的检定数据;The acquisition module 401 is used to obtain the calibration data of the calibration device to be verified;
第一核查模块402,用于利用预设电能表误差分布函数模型对检定数据进行核查,得到核查误差结果,其中,预设电能表误差分布函数模型根据历史检定数据构建得到;The first verification module 402 is used to check the calibration data using a preset electric energy meter error distribution function model to obtain verification error results, where the preset electric energy meter error distribution function model is constructed based on historical calibration data;
第二核查模块403,用于将误差结果与预设值进行对比,若误差结果大于第一预设值且小于第二预设值,则启动告警流程并生成告警核查任务,若误差结果大于第二预设值,则启动预警流程并生成预警核查任务;The second verification module 403 is used to compare the error result with the preset value. If the error result is greater than the first preset value and less than the second preset value, start the alarm process and generate an alarm verification task. If the error result is greater than the first preset value, 2 preset values, the early warning process will be started and the early warning verification task will be generated;
第三核查模块404,用于根据告警核查任务或预警核查任务对待核查检定装置进行核查,得到第一核查结果,若第一核查结果达到预设条件,则结束核查,若误差结果小于第一预设值,则根据预设核查任务对待核查检定装置进行核查,得到第二核查结果,若第二核查结果达到预设条件,则结束核查。The third verification module 404 is used to verify the verification device to be verified according to the alarm verification task or the early warning verification task, and obtain the first verification result. If the first verification result reaches the preset condition, the verification is ended. If the error result is less than the first predetermined condition, If the value is set, the verification device to be verified will be verified according to the preset verification task, and the second verification result will be obtained. If the second verification result meets the preset conditions, the verification will be ended.
在优选的实施例当中,判断模块405用于判断是否存在多个相同的告警核查任务或多个相同的预警核查任务,若存在且各个相同的告警核查任务或各个相同的预警核查任务属于同一个线体和装置中,则判断各个相同的告警核查任务或预警核查任务中是否已经完成,若完成,则结束核查任务;In the preferred embodiment, the determination module 405 is used to determine whether there are multiple identical alarm verification tasks or multiple identical early warning verification tasks. If there are multiple identical alarm verification tasks or each identical early warning verification task, they belong to the same In the line body and device, it is judged whether each of the same alarm verification tasks or early warning verification tasks has been completed. If completed, the verification task is ended;
若存在且各个相同的告警核查任务或各个相同的预警核查任务属于同一个线体、不同装置中,则将各个相同的告警核查任务或预警核查任务合并为一条告警核查任务或预警核查任务进行核查。If there are identical alarm verification tasks or identical early warning verification tasks and they belong to the same line or different devices, then merge the identical alarm verification tasks or early warning verification tasks into one alarm verification task or early warning verification task for verification. .
在优选的实施例当中,预设电能表误差分布函数模型根据历史检定数据构建得到,具体为:In a preferred embodiment, the preset electric energy meter error distribution function model is constructed based on historical calibration data, specifically:
根据被检电能表的电力数据计算得到被检电能表相对误差,根据被检检定装置的检定数据计算得到被检装置的相对误差;The relative error of the inspected electric energy meter is calculated based on the power data of the inspected electric energy meter, and the relative error of the inspected device is calculated based on the calibration data of the inspected calibration device;
根据被检电能表相对误差和被检装置的相对误差计算得到基本误差模型,其中,基本误差模型为:The basic error model is calculated based on the relative error of the electric energy meter being tested and the relative error of the device being tested. The basic error model is:
Y(%)=X(%)―θ(%)Y(%)=X(%)-θ(%)
其中,X(%)表示被检电能表基本误差,θ(%)表示被检检定装置的相对误差,/>We表示被检装置的指示电能,W0表示参考标准测量的电能。Among them, X (%) represents the basic error of the electric energy meter under test, θ(%) represents the relative error of the calibration device being tested,/> W e represents the indicated electric energy of the device under test, and W 0 represents the electric energy measured by the reference standard.
在优选的实施例当中,利用预设电能表误差分布函数模型对检定数据进行核查,得到核查误差结果,具体为:In a preferred embodiment, the preset electric energy meter error distribution function model is used to check the calibration data to obtain the verification error results, specifically:
根据待核查检定装置的第k个检定数据进行误差计算,得到误差分布模型;Calculate the error based on the kth calibration data of the calibration device to be verified, and obtain the error distribution model;
根据贝叶斯定理和误差分布模型中的各个参数获得后验概率分布;Obtain the posterior probability distribution according to Bayes' theorem and each parameter in the error distribution model;
运用吉布斯采样法对后验概率分布进行采样后,再由联合分布的样本获得标准装置误差的边缘分布样本,计算得到核查误差结果。After using the Gibbs sampling method to sample the posterior probability distribution, the marginal distribution sample of the standard device error is obtained from the joint distribution sample, and the verification error result is calculated.
在优选的实施例当中,根据告警核查任务或预警核查任务对待核查检定装置进行核查,具体为:In a preferred embodiment, the verification device to be verified is verified according to the alarm verification task or the early warning verification task, specifically as follows:
根据告警核查任务或预警核查任务,采用预设物理核查设备对待核查检定装置进行核查。According to the alarm verification task or early warning verification task, preset physical verification equipment is used to verify the verification device to be verified.
在优选的实施例当中,预设物理核查设备优选为与现有电能表尺寸一致且具有高稳定性的0.02级物理核查设备。In a preferred embodiment, the preset physical verification equipment is preferably a 0.02 level physical verification equipment that is consistent in size with the existing electric energy meter and has high stability.
综上所述,实施本发明的实施例,具有如下有益效果:In summary, implementing the embodiments of the present invention has the following beneficial effects:
本发明获取待核查检定装置的检定数据,利用预设电能表误差分布函数模型对检定数据进行核查,得到核查误差结果,将误差结果与预设值进行对比,若误差结果大于第一预设值且小于第二预设值,则启动告警流程并生成告警核查任务,若误差结果大于第二预设值,则启动预警流程并生成预警核查任务,根据告警核查任务或预警核查任务对待核查检定装置进行核查,得到第一核查结果,若第一核查结果达到预设条件,则结束核查,若误差结果小于第一预设值,则根据预设核查任务对待核查检定装置进行核查,得到第二核查结果,若第二核查结果达到预设条件,则结束核查,本方法通过将电能表误差分布函数模型异常结果与核查任务触发机制联动对检定装置进行核查,能够及时发现检定系统异常,提高核查结果准确度和效率。The present invention obtains the calibration data of the calibration device to be verified, uses the preset electric energy meter error distribution function model to check the calibration data, obtains the verification error result, and compares the error result with the preset value. If the error result is greater than the first preset value and is less than the second preset value, then the alarm process is started and an alarm verification task is generated. If the error result is greater than the second preset value, the early warning process is started and an early warning verification task is generated. The device is to be inspected and calibrated according to the alarm verification task or the early warning verification task. Carry out verification and obtain the first verification result. If the first verification result reaches the preset condition, the verification will be ended. If the error result is less than the first preset value, the verification device to be verified will be verified according to the preset verification task and the second verification will be obtained. As a result, if the second verification result reaches the preset conditions, the verification will be terminated. This method verifies the verification device by linking the abnormal results of the energy meter error distribution function model with the verification task triggering mechanism, which can promptly discover the abnormality of the verification system and improve the verification results. Accuracy and efficiency.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本公开的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, reference to the terms "one embodiment," "some embodiments," "an example," "specific examples," or "some examples" or the like means that specific features are described in connection with the embodiment or example. , structures, materials, or features are included in at least one embodiment or example of the present disclosure. In this specification, the schematic expressions of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine different embodiments or examples and features of different embodiments or examples described in this specification unless they are inconsistent with each other.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本公开的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms “first” and “second” are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Therefore, features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In the description of the present disclosure, "plurality" means at least two, such as two, three, etc., unless otherwise expressly and specifically limited.
以上所述的具体实施例,对本发明的目的、技术方案和有益效果进行了进一步的详细说明,应当理解,以上所述仅为本发明的具体实施例而已,并不用于限定本发明的保护范围。特别指出,对于本领域技术人员来说,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above-mentioned specific embodiments further describe the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above-mentioned are only specific embodiments of the present invention and are not intended to limit the scope of the present invention. . It is particularly pointed out that for those skilled in the art, any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311073547.XA CN117113833A (en) | 2023-08-23 | 2023-08-23 | Verification method and system for calibration device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311073547.XA CN117113833A (en) | 2023-08-23 | 2023-08-23 | Verification method and system for calibration device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117113833A true CN117113833A (en) | 2023-11-24 |
Family
ID=88794221
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311073547.XA Pending CN117113833A (en) | 2023-08-23 | 2023-08-23 | Verification method and system for calibration device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117113833A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117406161A (en) * | 2023-12-11 | 2024-01-16 | 普华讯光(北京)科技有限公司 | Metering device magnitude deviation early warning method, system, equipment and medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110175756A (en) * | 2019-05-07 | 2019-08-27 | 岭澳核电有限公司 | Nuclear power station information system operational safety method for early warning, device, equipment and medium |
CN113361932A (en) * | 2021-06-07 | 2021-09-07 | 广东电网有限责任公司 | Early warning method, device, equipment and medium for calibration assembly line of metering equipment |
CN114137471A (en) * | 2021-11-15 | 2022-03-04 | 国网山西省电力公司营销服务中心 | Single-phase electric energy meter verification assembly line online period checking method based on big data analysis |
CN115480997A (en) * | 2021-06-16 | 2022-12-16 | 中移动信息技术有限公司 | An alarm method, device, electronic equipment and storage medium for abnormal index |
CN115964607A (en) * | 2022-12-06 | 2023-04-14 | 广东电网有限责任公司 | A verification method and device for electric energy meter verification equipment |
CN116299141A (en) * | 2023-02-17 | 2023-06-23 | 云南电网有限责任公司 | Verification method, system and terminal for automatic verification assembly line of electric energy meter |
WO2023123941A1 (en) * | 2021-12-31 | 2023-07-06 | 深圳前海微众银行股份有限公司 | Data anomaly detection method and apparatus |
-
2023
- 2023-08-23 CN CN202311073547.XA patent/CN117113833A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110175756A (en) * | 2019-05-07 | 2019-08-27 | 岭澳核电有限公司 | Nuclear power station information system operational safety method for early warning, device, equipment and medium |
CN113361932A (en) * | 2021-06-07 | 2021-09-07 | 广东电网有限责任公司 | Early warning method, device, equipment and medium for calibration assembly line of metering equipment |
CN115480997A (en) * | 2021-06-16 | 2022-12-16 | 中移动信息技术有限公司 | An alarm method, device, electronic equipment and storage medium for abnormal index |
CN114137471A (en) * | 2021-11-15 | 2022-03-04 | 国网山西省电力公司营销服务中心 | Single-phase electric energy meter verification assembly line online period checking method based on big data analysis |
WO2023123941A1 (en) * | 2021-12-31 | 2023-07-06 | 深圳前海微众银行股份有限公司 | Data anomaly detection method and apparatus |
CN115964607A (en) * | 2022-12-06 | 2023-04-14 | 广东电网有限责任公司 | A verification method and device for electric energy meter verification equipment |
CN116299141A (en) * | 2023-02-17 | 2023-06-23 | 云南电网有限责任公司 | Verification method, system and terminal for automatic verification assembly line of electric energy meter |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117406161A (en) * | 2023-12-11 | 2024-01-16 | 普华讯光(北京)科技有限公司 | Metering device magnitude deviation early warning method, system, equipment and medium |
CN117406161B (en) * | 2023-12-11 | 2024-04-02 | 普华讯光(北京)科技有限公司 | Metering device magnitude deviation early warning method, system, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107478455B (en) | Timing truncation reliability test method suitable for Weibull distribution type product | |
CN108445435B (en) | An on-line evaluation method for the error of an electric energy meter verification device | |
CN109948833A (en) | A Deterioration Trend Prediction Method of Hydroelectric Units Based on Long Short-Term Memory Network | |
CN110907883B (en) | A measurement supervision method and system for an automatic verification system of an electric energy meter | |
CN111814390A (en) | Error prediction method of voltage transformer based on transfer entropy and wavelet neural network | |
CN113985339B (en) | Error diagnosis method and system for intelligent ammeter, equipment and storage medium | |
CN105223538B (en) | The quality control method of detection device for electric energy meter automatic Verification assembly line | |
CN115964607A (en) | A verification method and device for electric energy meter verification equipment | |
CN118455829B (en) | Battery welding quality detection method and device and electronic equipment | |
CN117113833A (en) | Verification method and system for calibration device | |
CN117993741B (en) | Photovoltaic power generation abnormality diagnosis method, photovoltaic power generation abnormality diagnosis device, computer device, and storage medium | |
CN118683394A (en) | A charging pile error monitoring method and related equipment based on vehicle-pile data interaction | |
CN117826058A (en) | A method and device for online monitoring of operating status of a gateway capacitor voltage transformer | |
CN113988398A (en) | Wind turbine generator power prediction method and device, electronic equipment and storage medium | |
CN114202141A (en) | A method for evaluating the running status of metering equipment verification line based on edge-cloud collaboration | |
CN116609690A (en) | Method, system, storage medium and terminal for monitoring voltage consistency in battery module | |
CN116307677B (en) | Early warning type determining method, device and medium for insulation of generator stator bar | |
CN107340758A (en) | A kind of reliability of technology towards multistage manufacturing process is assessed and control method | |
CN110888100A (en) | A single-phase smart energy meter online on-load detection system and method | |
CN118671503A (en) | High-low voltage distribution equipment fault monitoring system based on internet of things | |
CN117807457A (en) | Data detection method and device and electronic equipment | |
CN114062998B (en) | Verification device running state monitoring method, electronic device and storage medium | |
CN111027816B (en) | A photovoltaic power generation efficiency calculation method based on data envelopment analysis | |
CN113376564A (en) | Smart electric meter metering correction method and device based on data analysis and terminal | |
CN205176255U (en) | Detection apparatus for be used for automatic assembly line of examining and determine of electric energy meter |
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 |