CN118149963A - Power meter calibration method, apparatus, device, storage medium and program product - Google Patents

Power meter calibration method, apparatus, device, storage medium and program product Download PDF

Info

Publication number
CN118149963A
CN118149963A CN202410296972.3A CN202410296972A CN118149963A CN 118149963 A CN118149963 A CN 118149963A CN 202410296972 A CN202410296972 A CN 202410296972A CN 118149963 A CN118149963 A CN 118149963A
Authority
CN
China
Prior art keywords
power
value
measured
standard
meter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410296972.3A
Other languages
Chinese (zh)
Inventor
黎樽彪
林潇俊
陈国栋
吕洪杰
杨朝辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Hans CNC Technology Co Ltd
Original Assignee
Shenzhen Hans CNC Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Hans CNC Technology Co Ltd filed Critical Shenzhen Hans CNC Technology Co Ltd
Priority to CN202410296972.3A priority Critical patent/CN118149963A/en
Publication of CN118149963A publication Critical patent/CN118149963A/en
Pending legal-status Critical Current

Links

Landscapes

  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

The application relates to a power meter calibration method, apparatus, computer device, storage medium and computer program product. The method comprises the following steps: aiming at the same power equipment, under the condition that the power parameters of the power equipment are unchanged, acquiring a standard power value acquired by a standard power meter and a measured power value acquired by a target power meter; based on the standard power value and the measured power value corresponding to each of the power parameters, carrying out difference analysis on the standard power and the measured power, and determining the association relation between the standard power and the measured power; and carrying out power value calibration on the target power meter according to the association relation. By adopting the method, the accuracy of the power meter calibration can be improved.

Description

Power meter calibration method, apparatus, device, storage medium and program product
Technical Field
The present application relates to the field of power measurement technology, and in particular, to a power meter calibration method, apparatus, computer device, storage medium, and computer program product.
Background
With the development of the power measurement technology, a power meter calibration technology appears, so that the power meter can be calibrated in power, and the normal operation of the power measurement process is ensured.
In the conventional technology, a correction coefficient is generally obtained by performing a ratio operation on a standard power value obtained by measuring a power device by a standard power meter and a measured power value obtained by measuring the same power device by a target power meter, and calibrating the target power meter according to the correction coefficient. However, since the linear relationship between the standard power value and the measured power value is not completely determined based on a single correction coefficient in the power calibration process, the process of calibrating the power meter by adopting the conventional technology has a problem of low accuracy.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a power meter calibration method, apparatus, computer device, computer readable storage medium, and computer program product that can improve the calibration accuracy.
In a first aspect, the present application provides a method of calibrating a power meter. The method comprises the following steps:
Aiming at the same power equipment, under the condition that the power parameters of the power equipment are unchanged, acquiring a standard power value acquired by a standard power meter and a measured power value acquired by a target power meter;
Performing difference analysis on the standard power and the measured power based on the standard power value and the measured power value corresponding to each of the power parameters, and determining the association relation between the standard power and the measured power;
and carrying out power value calibration on the target power meter according to the association relation.
In one embodiment, performing differential analysis on standard power and measured power, and determining an association relationship between the standard power and the measured power includes:
Polynomial fitting is carried out based on the standard power value and the measured power value which are respectively corresponding to the power parameters, and a polynomial function taking the standard power and the measured power as variables is determined;
the polynomial function is used for representing the association relation between the standard power and the measured power.
In one embodiment, polynomial fitting is performed based on standard power values and measured power values corresponding to a plurality of power parameters, and determining a polynomial function with standard power and measured power as variables includes:
obtaining a fitting polynomial comprising a plurality of fitting coefficients; the variable of the fitting polynomial is one of standard power and measured power;
Substituting the variable value of the variable into the fitting polynomial to obtain a power value polynomial corresponding to the variable value;
performing least square calculation on each power value polynomial and a corresponding sampling value, and determining each coefficient value of each fitting coefficient; the sampling value is the power value corresponding to the other one of the standard power and the measured power;
Substituting each coefficient value into the fitting polynomial to obtain a polynomial function taking standard power and measured power as variables.
In one embodiment, performing power value calibration on the target power meter according to the association relationship includes:
acquiring a real-time measured value obtained by performing power measurement on the target power meter;
Substituting the real-time measured value into the polynomial function, and determining a calibration power value corresponding to the real-time measured value.
In one embodiment, the power meter calibration method further comprises:
Selecting a set number of measured power values, and substituting each measured power value into the polynomial function to obtain a test power value corresponding to each measured power value;
and respectively comparing each checking power value with a corresponding standard power value to determine a calibration result of the target power meter.
In one embodiment, comparing each of the inspection power values with a corresponding standard power value, and determining a calibration result of the target power meter includes:
Comparing the checking power value with a corresponding standard power value for each checking power value to obtain a calibration result of the checking power value;
And carrying out statistical analysis on the respective calibration results of the inspection power values to determine the calibration result of the target power meter.
In a second aspect, the application further provides a power meter calibration device. The device comprises:
the power value acquisition module is used for acquiring a standard power value acquired by a standard power meter and a measured power value acquired by a target power meter aiming at the same power equipment under the condition that the power parameters of the power equipment are unchanged;
The fitting polynomial determining module is used for carrying out difference analysis on the standard power and the measured power based on the standard power value and the measured power value which are respectively corresponding to the power parameters, and determining the association relation between the standard power and the measured power;
and the power meter calibration module is used for calibrating the power meter of the target power meter according to the association relation.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the steps of the method as described above when the processor executes the computer program.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the method as described above.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the steps of the method as described above.
According to the power meter calibration method, the device, the computer equipment, the storage medium and the computer program product, the standard power value acquired by the standard power meter and the measured power value acquired by the target power meter are acquired for the same power equipment under the condition that the power parameters of the power equipment are unchanged, the power measurement condition of the standard power meter and the target power meter on the power equipment can be determined, then the difference analysis is carried out on the standard power and the measured power based on the standard power value and the measured power value corresponding to the power parameters, the association relation between the standard power and the measured power is determined, the numerical relation between the standard power value and the measured power value can be determined, the power meter calibration is carried out on the target power meter according to the association relation, and the accuracy of the power meter calibration can be improved.
Drawings
FIG. 1 is a diagram of an application environment for a power meter calibration method in one embodiment;
FIG. 2 is a flow chart of a method of calibrating a power meter in one embodiment;
FIG. 3 is a scatter plot and a fit plot of average power 30W power values measured using the same power meter in one embodiment;
FIG. 4 is a scatter plot and a fit plot of average power 30W power values measured using different power meters in one embodiment;
FIG. 5 is a scatter plot and a fit plot of average power 80W power values measured using the same power meter in one embodiment;
FIG. 6 is a scatter plot and a fit plot of average power 80W power values measured using different power meters in one embodiment;
FIG. 7 is a detailed step diagram of a power meter calibration method in another embodiment;
FIG. 8 is a flow chart of a method of calibrating a power meter according to another embodiment;
FIG. 9 is a block diagram of a power meter calibration device in one embodiment;
fig. 10 is an internal structural view of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The power meter calibration method provided by the embodiment of the application can be applied to an application environment shown in fig. 1. Wherein the terminal 102 communicates with the standard power meter 104 and the target power meter 106 via a network. The standard power meter 104 and the target power meter 106 may be, for example, a direct current power meter, a power frequency power meter, a variable frequency power meter, a radio frequency power meter, a microwave power meter, and the like. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices, and portable wearable devices, and the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart vehicle devices, and the like. The portable wearable device may be a smart watch, smart bracelet, headset, or the like. Specifically, during the power meter calibration process of the terminal 102 on the target power meter 106: for the same power equipment, under the condition that the power parameters of the power equipment are unchanged, acquiring a standard power value acquired by the standard power meter 104 and a measured power value acquired by the target power meter 106; based on the standard power value and the measured power value corresponding to each of the power parameters, carrying out difference analysis on the standard power and the measured power, and determining the association relation between the standard power and the measured power; and performing power value calibration on the target power meter 106 according to the association relation.
In one embodiment, as shown in fig. 2, a power meter calibration method is provided, and the method is applied to the terminal in fig. 1 for illustration, and includes the following steps:
Step S202, for the same power equipment, under the condition that the power parameters of the power equipment are unchanged, acquiring a standard power value acquired by a standard power meter and a measured power value acquired by a target power meter.
The power equipment refers to equipment which can do work on a production and processing line to generate power. The power parameter refers to a constant value of the power device. For example, the power device may be a machine with an average laser power of 30W, and the average power parameter of the power device is 30W. The standard power meter is a power meter with high enough measurement precision and calibrated by the calibration mechanism. The target power meter refers to the power meter to be calibrated.
Specifically, for the same power parameter of the same power device, the standard power value acquired by the standard power meter and the measured power value acquired by the target power meter may be used as a set of power values, where the terminal needs to acquire multiple sets of power values of different power parameters of the same power device, that is, for the same power device, the standard power value acquired by the standard power meter and the measured power value acquired by the target power meter are acquired under the condition that the power parameters of the power device are unchanged. Further, the power value may be obtained by the terminal in an active manner or a passive manner. In a specific embodiment, the standard power meter may be used to measure multiple times within the full power range of the power device, record related data, and measure the data at the same intervals by using the target power meter, and finally the terminal obtains the standard power value collected by the standard power meter and the measured power value collected by the target power meter. Wherein the full power range may be in terms of a power percentage or a voltage percentage ranging from 0 to 100%.
Step S204, based on the standard power value and the measured power value corresponding to each of the power parameters, performing difference analysis on the standard power and the measured power, and determining the association relationship between the standard power and the measured power.
The association relation between the standard power and the measured power is a relation that one of the standard power and the measured power changes and the other of the standard power and the measured power changes. For example, when the measured power changes, which means that the power parameter of the power device changes, the standard power corresponding to the power parameter also changes.
Specifically, after a plurality of sets of power values are obtained, the terminal may perform numerical analysis on the plurality of sets of power values, and determine an association relationship between the standard power and the measured power according to a difference between the standard power and the measured power. In a specific embodiment, the terminal may perform polynomial fitting based on the standard power values and the measured power values corresponding to the multiple power parameters, and determine a polynomial function with the standard power and the measured power as variables, where the polynomial function characterizes an association relationship between the standard power and the measured power. In another specific embodiment, the terminal may also perform a weighted average calculation on the difference value obtained by performing a difference between the standard power value and the measured power value corresponding to each power parameter, and use the average difference value obtained finally as the association relationship between the standard power and the measured power.
And S206, performing power value calibration on the target power meter according to the association relation.
The power value calibration means that when the target power meter and the standard power meter have difference in the values of the power measured by the same power equipment, the target power meter is calibrated according to the standard power measured by the standard power meter, so that the power measured by the target power meter is consistent with the standard power.
Specifically, since the calibration of the power meter needs to be performed according to the standard power, if the standard power meter is used to measure the power device each time the calibration is performed, the calibration efficiency is too low, so that the corresponding standard power can be directly deduced after the measured power is obtained based on the association relation between the standard power and the measured power, and the power value calibration is performed on the target power meter according to the standard power. In a specific embodiment, the terminal may obtain a real-time measurement value obtained by performing power measurement on the target power meter, and substitute the real-time measurement value into a polynomial function to determine a calibration power value corresponding to the real-time measurement value. In another specific embodiment, the terminal may also first obtain a real-time measurement value obtained by performing power measurement on the target power meter, and sum the real-time measurement value with an average difference value between the obtained standard power and the measured power to determine a calibration power value corresponding to the real-time measurement value.
In practical application, after determining the association relationship between the standard power and the measured power, the terminal may send a polynomial function representing the association relationship to the target power meter, so that the target power meter calibrates the power value based on the polynomial function after measuring the power value, and outputs a calibrated power value.
According to the power meter calibration method, for the same power device, under the condition that the power parameters of the power device are unchanged, the standard power value acquired by the standard power meter and the measurement power value acquired by the target power meter are acquired, the power measurement condition of the standard power meter and the target power meter on the power device can be determined, then the standard power and the measurement power are subjected to difference analysis based on the standard power value and the measurement power value corresponding to the power parameters, the association relation between the standard power value and the measurement power is determined, the numerical relation between the standard power value and the measurement power value can be determined, the power meter calibration is performed on the target power meter according to the association relation, and the accuracy of the power meter calibration can be improved.
In one embodiment, performing differential analysis on the standard power and the measured power to determine an association relationship between the standard power and the measured power includes: polynomial fitting is carried out based on the standard power value and the measured power value which are respectively corresponding to the power parameters, and a polynomial function taking the standard power and the measured power as variables is determined; the polynomial function is used for representing the association relation between the standard power and the measured power.
The polynomial fitting refers to fitting a predicted polynomial function through a training set, so that the predicted polynomial function is as close to a target polynomial function as possible. Polynomial function refers to a function in which there are a plurality of single expressions, such asIs a function of (2).
Specifically, since the linear trend is shown between the standard power and the measured power, but the linear relationship between the standard power and the measured power in the full range power cannot be shown according to a single ratio relationship, and the polynomial fitting can well show the linear relationship in the full range, after the terminal obtains multiple groups of power values under multiple power parameters of the power equipment, the terminal can perform polynomial fitting on the standard power value and the measured power value in the multiple groups of power values, so that the predicted polynomial function taking the standard power and the measured power as variables is as close to the target polynomial function as possible. The target polynomial function refers to a polynomial function under an ideal condition taking standard power and measured power as variables, and after the measured power is substituted into the target polynomial function, the obtained standard power is consistent with an actual standard power value.
In the embodiment, polynomial fitting is performed on the standard power value and the measured power value corresponding to each of the plurality of power parameters, so that a polynomial function capable of representing the association relation between the standard power and the measured power is determined, the linear relation between the standard power and the measured power under the full range power is better reflected, and the accuracy of calibrating the power meter is improved.
In one embodiment, performing polynomial fitting based on standard power values and measured power values corresponding to each of a plurality of power parameters, determining a polynomial function having the standard power and the measured power as variables, includes: obtaining a fitting polynomial comprising a plurality of fitting coefficients; the variable of the fitting polynomial is one of standard power and measured power; substituting the variable value of the variable into a fitting polynomial to obtain a power value polynomial corresponding to the variable value; performing least square calculation on each power value polynomial and the corresponding sampling value to determine the respective coefficient value of each fitting coefficient; the sampling value is the power value corresponding to the other one of the standard power and the measured power; substituting each coefficient value into a fitting polynomial to obtain a polynomial function taking standard power and measured power as variables.
Wherein the fitting polynomial may be composed ofIs embodied in a form of (2). Substituting the variable value of the variable into the fitting polynomial to obtain the power value polynomial corresponding to the variable. For example, when the variable is the standard power, the variable value of the standard power is substituted into the fitting polynomial, and the power value polynomial of the standard power with unknown number as a plurality of fitting coefficients can be obtained. Fitting coefficients refer to unknowns other than variables in the fitting polynomial, e.g. where the fitting polynomial isIn the case of (2), the fitting coefficient isAnd. The least squares calculation refers to finding the best functional match of the data by minimizing the sum of squares of the errors (differences between the real target object and the fitted target object).
Specifically, the terminal may obtain a fitting polynomial including a plurality of fitting coefficients, substituting the variable value of the variable into the fitting polynomial, obtaining a power value polynomial of the variable whose unknown number is a plurality of fitting coefficients, squaring the difference between the power value polynomial and the sampling value, determining a fitting parameter value capable of minimizing the error between the standard power and the measured power by using a least square method, that is, determining respective coefficient values of the fitting coefficients, substituting the coefficient values into the fitting polynomial, and obtaining a polynomial function using the standard power and the measured power as variables. Further, since the variable of the fitting polynomial is one of the standard power and the measured power, and the sampling value is the other one of the standard power and the measured power, that is, the standard power and the measured power can be used as independent variables in the fitting polynomial, the value of the standard power can be obtained according to the value of the measured power, and the value of the measured power can be obtained according to the value of the standard power.
In this embodiment, the variable value of the variable is substituted into the fitting polynomial including a plurality of fitting coefficients, the power value polynomial corresponding to the variable value is determined, and the coefficient value of the fitting coefficient is determined by adopting the least square method, so that the polynomial function using the standard power and the measured power as the variables is finally obtained, the normal operation of the power meter calibration process can be ensured, and the accuracy of the power meter calibration is improved.
In one embodiment, performing power value calibration on the target power meter according to the association relation includes: acquiring a real-time measured value obtained by power measurement of a target power meter; and substituting the real-time measured value into a polynomial function to determine a calibration power value corresponding to the real-time measured value.
The real-time measured value is a power measured value obtained by measuring power equipment by using the target power meter in the process of calibrating the power value of the target power meter, and is different from the measured power value, and the measured power value is obtained in the association relation of the determined standard power and the measured power.
Specifically, after determining the association relation between the standard power and the measured power, the terminal may calibrate the target power meter according to the association relation, that is, may obtain a real-time measurement value obtained by performing power measurement on the target power meter, and substituting the real-time measurement value into the determined polynomial function, thereby obtaining a calibration power value corresponding to the real-time measurement value. Further, since the variable in the fitting polynomial may be one of the standard power and the measured power, that is, the argument in the polynomial function may be one of the standard power and the measured power, there are two ways of determining the calibration power value corresponding to the real-time measured value, one way of which is to substitute the real-time measured value into the argument in the polynomial function, and determine the calibration power value corresponding to the real-time measured value through calculation, that is, the argument of the polynomial function; secondly, substituting the real-time measured value into a dependent variable in the polynomial function, and determining a calibration power value corresponding to the real-time measured value through calculation, namely the independent variable of the polynomial function. In the second way, since the obtained argument may have more than one value and the power is generally positive, the argument whose value is negative may be first excluded, and then the final standard power value closest to the real-time measured value is selected from the remaining argument values.
In this embodiment, the real-time measurement value obtained by performing power measurement on the target power meter is obtained, and the real-time measurement value is substituted into the polynomial function, so that the calibration power value corresponding to the real-time measurement value can be determined, and the efficiency of calibrating the power meter can be improved.
In one embodiment, the power meter calibration method further comprises: selecting a set number of measured power values, and substituting each measured power value into a polynomial function to obtain a test power value corresponding to each measured power value; and respectively comparing each checking power value with the corresponding standard power value to determine the calibration result of the target power meter.
The test power value is a standard power value obtained by substituting the measured power value into a polynomial function.
Specifically, after calibrating the power meter, the calibration result is detected, that is, each measured power value is substituted into a polynomial function to obtain a test power value corresponding to each measured power value, the test power value is compared with an actual standard power value, the difference between the standard power value calculated on the basis of the polynomial function and the actual standard power value is determined, and the calibration result of the target power meter is determined according to the difference condition. Further, for each inspection power value, if the comparison difference between the inspection power value and the corresponding standard power value meets the comparison condition, the comparison result of the inspection power values is that the comparison is normal; if the comparison difference between the test power value and the corresponding standard power value does not meet the comparison condition, the comparison result of the test power value is abnormal. The comparison of the test power value with the actual standard power value may be, for example, a difference or a quotient of the test power value with the actual standard power value.
In this embodiment, the set number of measured power values are substituted into the polynomial function to obtain respective test power values, and each test power value is compared with the corresponding standard power value to determine the calibration result of the target power meter, so that the calibration process can be checked and corrected in time under the condition that the calibration result is abnormal, and the accuracy of the calibration of the power meter is ensured.
In one embodiment, comparing each test power value with a corresponding standard power value to determine a calibration result of the target power meter includes: comparing the checking power value with the corresponding standard power value for each checking power value to obtain a calibration result of the checking power value; and carrying out statistical analysis on the respective calibration results of the test power values to determine the calibration result of the target power meter.
Specifically, the terminal may compare each test power value with a corresponding standard power value, determine a calibration result of each test power value, and then perform statistical analysis on each calibration result to determine a calibration result of the target power meter. For example, assuming that a certain measured power value is 27W and a corresponding standard power value is 30W, substituting the measured power value into a polynomial function to obtain a test power value of 29.5W, which is closer to the standard power value, the calibration result of the test power value corresponding to the measured power value is considered to be normal, if the calibration result of the test power value exceeding the number threshold is abnormal, the calibration result of the target power meter is considered to be abnormal, and if the calibration result of the test power value only a small number is abnormal, the calibration result of the target power meter is considered to be normal.
In a specific embodiment, the handheld power meter is used as a standard power meter, the new power meter of the machine is used as a target power meter, and the handheld power meter is used to select not less than the number of groups of fitting coefficients (the number of groups is not less than the number of fitting coefficients, because the number of groups can be inaccurate if the number of groups is too small as compared with the number of fitting coefficients; for example, if the number of the fitting coefficients is 3, the measured data is not less than 3 groups), the power which uniformly covers the full power range (the power percentage or the voltage percentage is from 0to 100%, or the power values which are uniformly spaced apart) is measured, the related data is recorded, then a new power meter is used for measuring according to the same interval, the value obtained by measuring the handheld power meter is used as an independent variable, the value obtained by measuring the new power meter is used as a dependent variable to make a scatter diagram (for example, the two power meters are the same type of power meter, and the measuring object is a machine with the average power of 30W of the laser; the same type means the same manufacturer but not the same power meter, and the two power meters are different types of power meters, wherein the different types mean that the power meters of different types are the machines with the average power of the laser being 30W, the two power meters are the same type of power meters, the measuring object is the machine with the average power of the laser being 80W, the two power meters are different types of power meters, the measuring object is the machine with the average power of the laser being 80W, and the two power meters are the machines with the average power of the laser being 80W, and then fitting is carried out by polynomial of more than 3 th order and 10 th order. The purpose of fitting is to obtain a fitting curve and then a fitting formula, and finally a fitting coefficient is obtained. The purpose of polynomial fitting is: because the two are linear trends originally, but cannot be reflected in the full-range power, the polynomial fitting can well reflect the full-range linear relation; the number of the fitting coefficients is generally 3 to 5, the fitted correlation coefficient reaches more than 0.99, and the specific polynomial of several orders to be fitted can be determined according to the requirements.
In a specific embodiment, as shown in fig. 7, the specific steps of the novel power meter calibration method are:
The first step: a standard power meter with high enough measurement precision is selected as a reference; the standard power meter with high enough precision refers to a power meter calibrated by a calibration mechanism;
and a second step of: selecting more than 3 groups of power values or power corresponding to the power percentages which are uniformly separated by using a standard power meter for measurement;
And a third step of: the target power meter selects more than 3 groups of power values or power corresponding to the power percentages which are uniformly separated to measure;
Fourth step: taking the standard power meter measured value as an independent variable (X-axis parameter), taking the target power meter measured value as a dependent variable (Y-axis parameter), making a scatter diagram, and performing polynomial fitting;
Fifth step: the obtained polynomial coefficient is the power coefficient of the standard power meter, and the power of the standard power meter is calculated through the polynomial to obtain the power of the target power meter.
In a specific embodiment, as shown in fig. 8, the power meter calibration method includes:
step S801, for the same power equipment, under the condition that the power parameters of the power equipment are unchanged, acquiring a standard power value acquired by a standard power meter and a measured power value acquired by a target power meter;
Step S802, based on the standard power value and the measured power value corresponding to each of the plurality of power parameters, a fitting polynomial comprising a plurality of fitting coefficients is obtained;
Wherein the variable of the fitting polynomial is one of standard power and measured power;
step S803, substituting the variable value of the variable into the fitting polynomial to obtain a power value polynomial corresponding to the variable value;
Step S804, carrying out least square calculation on each power value polynomial and the corresponding sampling value, and determining each coefficient value of each fitting coefficient;
The sampling value is the power value corresponding to the other one of the standard power and the measured power;
step S805, substituting each coefficient value into a fitting polynomial to obtain a polynomial function taking standard power and measured power as variables;
the polynomial function is used for representing the association relation between the standard power and the measured power;
Step S806, obtaining a real-time measured value obtained by power measurement of the target power meter; substituting the real-time measured value into a polynomial function, and determining a calibration power value corresponding to the real-time measured value;
Step S807, selecting a set number of measured power values, and substituting each measured power value into a polynomial function to obtain a test power value corresponding to each measured power value;
Step S808, comparing the checking power value with the corresponding standard power value for each checking power value to obtain a calibration result of the checking power value;
Step S809, the respective calibration results of each inspection power value are statistically analyzed to determine the calibration result of the target power meter.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a power meter calibration device for realizing the power meter calibration method. The implementation of the solution provided by the device is similar to that described in the above method, so the specific limitations in the embodiments of the power meter calibration device or devices provided below can be referred to above for the limitations of the power meter calibration method, and will not be repeated here.
In one embodiment, as shown in fig. 9, there is provided a power meter calibration device 900 comprising: the power value acquisition module, the fitting polynomial determination module and the power meter calibration module, wherein:
The power value obtaining module 902 is configured to obtain, for the same power device, a standard power value obtained by collecting a standard power meter and a measured power value obtained by collecting a target power meter, where a power parameter of the power device is unchanged;
the fitting polynomial determining module 904 is configured to perform differential analysis on the standard power and the measured power based on the standard power value and the measured power value corresponding to each of the plurality of power parameters, and determine an association relationship between the standard power and the measured power;
And the power meter calibration module 906 is configured to perform power meter calibration on the target power meter according to the association relationship.
In one embodiment, the fitting polynomial determination module is to: polynomial fitting is carried out based on the standard power value and the measured power value which are respectively corresponding to the power parameters, and a polynomial function taking the standard power and the measured power as variables is determined; the polynomial function is used for representing the association relation between the standard power and the measured power.
In one embodiment, the fitting polynomial determination module is further to: obtaining a fitting polynomial comprising a plurality of fitting coefficients; the variable of the fitting polynomial is one of standard power and measured power; substituting the variable value of the variable into a fitting polynomial to obtain a power value polynomial corresponding to the variable value; performing least square calculation on each power value polynomial and the corresponding sampling value to determine the respective coefficient value of each fitting coefficient; the sampling value is the power value corresponding to the other one of the standard power and the measured power; substituting each coefficient value into a fitting polynomial to obtain a polynomial function taking standard power and measured power as variables.
In one embodiment, the power meter calibration module is specifically configured to: acquiring a real-time measured value obtained by power measurement of a target power meter; and substituting the real-time measured value into a polynomial function to determine a calibration power value corresponding to the real-time measured value.
In one embodiment, the power meter calibration device further comprises a calibration result determination module for: selecting a set number of measured power values, and substituting each measured power value into a polynomial function to obtain a test power value corresponding to each measured power value; and respectively comparing each checking power value with the corresponding standard power value to determine the calibration result of the target power meter.
In one embodiment, the calibration result determination module is further configured to: comparing the checking power value with the corresponding standard power value for each checking power value to obtain a calibration result of the checking power value; and carrying out statistical analysis on the respective calibration results of the test power values to determine the calibration result of the target power meter.
The various modules in the power meter calibration device described above may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and an internal structure diagram thereof may be as shown in fig. 10. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a power meter calibration method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in FIG. 10 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory having a computer program stored therein and a processor that implements the steps of the method described above when the computer program is executed.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, implements the steps of the above method.
In an embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, implements the steps of the above method.
The user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or sufficiently authorized by each party.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magneto-resistive random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (PHASE CHANGE Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in various forms such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.

Claims (10)

1. A method of calibrating a power meter, the method comprising:
Aiming at the same power equipment, under the condition that the power parameters of the power equipment are unchanged, acquiring a standard power value acquired by a standard power meter and a measured power value acquired by a target power meter;
Performing difference analysis on the standard power and the measured power based on the standard power value and the measured power value corresponding to each of the power parameters, and determining the association relation between the standard power and the measured power;
and carrying out power value calibration on the target power meter according to the association relation.
2. The method of claim 1, wherein the performing a differential analysis on the standard power and the measured power to determine an association between the standard power and the measured power comprises:
Polynomial fitting is carried out based on the standard power value and the measured power value which are respectively corresponding to the power parameters, and a polynomial function taking the standard power and the measured power as variables is determined;
the polynomial function is used for representing the association relation between the standard power and the measured power.
3. The method of claim 2, wherein the performing polynomial fitting based on the standard power values and the measured power values corresponding to each of the plurality of power parameters, determining the polynomial function having the standard power and the measured power as variables, comprises:
obtaining a fitting polynomial comprising a plurality of fitting coefficients; the variable of the fitting polynomial is one of standard power and measured power;
Substituting the variable value of the variable into the fitting polynomial to obtain a power value polynomial corresponding to the variable value;
performing least square calculation on each power value polynomial and a corresponding sampling value, and determining each coefficient value of each fitting coefficient; the sampling value is the power value corresponding to the other one of the standard power and the measured power;
Substituting each coefficient value into the fitting polynomial to obtain a polynomial function taking standard power and measured power as variables.
4. The method of claim 2, wherein said calibrating the power value of the target power meter according to the association relationship comprises:
acquiring a real-time measured value obtained by performing power measurement on the target power meter;
Substituting the real-time measured value into the polynomial function, and determining a calibration power value corresponding to the real-time measured value.
5. The method according to any one of claims 1 to 4, further comprising:
Selecting a set number of measured power values, and substituting each measured power value into the polynomial function to obtain a test power value corresponding to each measured power value;
and respectively comparing each checking power value with a corresponding standard power value to determine a calibration result of the target power meter.
6. The method of claim 5, wherein the comparing each of the test power values with the corresponding standard power value, respectively, and determining the calibration result of the target power meter comprises:
Comparing the checking power value with a corresponding standard power value for each checking power value to obtain a calibration result of the checking power value;
And carrying out statistical analysis on the respective calibration results of the inspection power values to determine the calibration result of the target power meter.
7. A power meter calibration device, the device comprising:
the power value acquisition module is used for acquiring a standard power value acquired by a standard power meter and a measured power value acquired by a target power meter aiming at the same power equipment under the condition that the power parameters of the power equipment are unchanged;
The fitting polynomial determining module is used for carrying out difference analysis on the standard power and the measured power based on the standard power value and the measured power value which are respectively corresponding to the power parameters, and determining the association relation between the standard power and the measured power;
and the power meter calibration module is used for calibrating the power meter of the target power meter according to the association relation.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
CN202410296972.3A 2024-03-15 2024-03-15 Power meter calibration method, apparatus, device, storage medium and program product Pending CN118149963A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410296972.3A CN118149963A (en) 2024-03-15 2024-03-15 Power meter calibration method, apparatus, device, storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410296972.3A CN118149963A (en) 2024-03-15 2024-03-15 Power meter calibration method, apparatus, device, storage medium and program product

Publications (1)

Publication Number Publication Date
CN118149963A true CN118149963A (en) 2024-06-07

Family

ID=91296346

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410296972.3A Pending CN118149963A (en) 2024-03-15 2024-03-15 Power meter calibration method, apparatus, device, storage medium and program product

Country Status (1)

Country Link
CN (1) CN118149963A (en)

Similar Documents

Publication Publication Date Title
CN112688687B (en) Method and device for acquiring physical information to be tested, computer equipment and storage medium
CN115728445B (en) Sensor calibration method, device, equipment and computer readable storage medium
CN115841046A (en) Accelerated degradation test data processing method and device based on wiener process
US11774484B1 (en) Wire voltage measurement method and apparatus based on electric field sensor
CN113808132B (en) Three-dimensional network model quality detection method and device and computer equipment
CN110161181A (en) The concentration of component recognition methods of mixed gas and system
CN116381467B (en) Asymmetric compensation method, device, equipment and storage medium for dual-port near-field probe
CN114441469B (en) Calibration method and device of moisture meter and computer equipment
CN118149963A (en) Power meter calibration method, apparatus, device, storage medium and program product
CN113988304A (en) Magnetic flux crosstalk calibration method and device, computer equipment and storage medium
CN115808578B (en) Method, device, equipment and storage medium for acquiring voltage of power equipment
CN112366148B (en) Substrate concentration determination method, substrate concentration determination device, computer equipment and readable storage medium
CN115015643B (en) System side harmonic impedance detection method
CN115983100A (en) Extra-high voltage direct current optical transformer health degree prediction model training method
CN111722170B (en) Device and method for determining stability of calibrating device of electric quantity transmitter and electronic equipment
US20230068821A1 (en) Monitoring circuit, integrated circuit including the same, and operating method of monitoring circuit
CN117723150A (en) Multichannel calibration method, multichannel calibration device, computer equipment and storage medium
CN115046581A (en) Metering method and device of environment test equipment, computer equipment and storage medium
CN116244918A (en) Product reliability evaluation method and device and computer equipment
CN118112329A (en) Capacitance monitoring method and device based on redundancy algorithm and computer equipment
CN117057220A (en) Rolling bearing residual life prediction method, device and computer equipment
CN118301650A (en) Dead zone quality uncertainty assessment method based on millimeter wave compact field scene
CN117849472A (en) Electric field intensity detection method, electric field intensity detection device, computer equipment and storage medium
CN117192462A (en) Current correction method, apparatus, device and storage medium
CN115271328A (en) Method and device for evaluating power quality, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination