Error compensation method and device, electronic equipment and storage medium

By calibrating and compensating the energy meter, the problem of large measurement errors under different load currents was solved, and higher measurement accuracy was achieved.

CN118914959APending Publication Date: 2024-11-08DELIXI GROUP INSTRUMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411122767.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

In existing technologies, energy meters have significant errors when measuring phase under different load currents, which affects measurement accuracy.

Method used

The energy meter is calibrated by adjusting the standard current and standard power factor to determine the phase offset error. Combined with the error characteristics of the current transformer, the phase compensation value is determined in different current load ranges and written into the metering chip to reduce measurement error.

Benefits of technology

This improves the accuracy and precision of electricity meter measurements under different load currents and reduces measurement errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118914959A_ABST
    Figure CN118914959A_ABST
Patent Text Reader

Abstract

The invention provides an error compensation method and device, electronic equipment and a storage medium. The method comprises the steps that a to-be-tested instrument is calibrated according to first preset parameters, and the first preset parameters comprise standard current, standard voltage and a standard power factor; the offset phase error is determined according to second preset parameters and the calibrated instrument to be measured, the second preset parameters comprise error current, standard voltage and a standard power factor, the error current is smaller than the standard current, and the error current is determined according to error characteristics of a current transformer in the instrument; the offset phase error is the phase error of the calibrated instrument to be measured under the error current; and according to the standard current, the error current and the offset phase error, in at least two different current load intervals, determining the phase compensation value of the calibrated instrument to be measured in the current load intervals, thereby reducing the measurement error of the instrument to be measured and improving the measurement precision of the instrument to be measured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electric energy meters, and in particular to an error compensation method, device, electronic equipment and storage medium. Background Art

[0002] Power meters are instruments used to measure electrical quantities or control power systems. Among them, the most typical is the energy meter, also known as watt-hour meter, fire meter, kilowatt-hour meter, etc., which is widely used in industrial or household occasions. Before the energy meter is officially put into use, it needs to be calibrated to ensure the accuracy of the measurement results.

[0003] At present, in the relevant technology, the traditional calibration method is usually to input standard voltage, standard current and standard power factor into the electric energy meter to be calibrated through a calibration station, calibrate the voltage amplitude and current amplitude of the electric energy meter to be calibrated, and then adjust the standard power factor, and perform phase calibration on the electric energy meter after the amplitude calibration, so that under the standard voltage and standard current, the measurement errors of the phase and amplitude of the electric energy meter after the two calibrations can meet user needs.

[0004] However, due to the angular difference of the mutual inductor in the electric energy meter, the current phase under different currents will be offset to different degrees, resulting in a large error when using the electric energy meter after the above two calibrations to measure the phase under different load currents. Summary of the invention

[0005] The present application provides an error compensation method, device, electronic device and storage medium to solve the problem of large error when using the electric energy meter after the above two calibrations to perform phase measurement under different load currents, thereby achieving the purpose of reducing the measurement error of the electric energy meter and improving the measurement accuracy of the electric energy meter.

[0006] In a first aspect, the present application provides an error compensation method, the method comprising:

[0007] Calibrate the instrument to be tested according to first preset parameters, wherein the first preset parameters include standard current, standard voltage and standard power factor;

[0008] Determine an offset phase error according to second preset parameters and a calibrated instrument to be tested, wherein the second preset parameters include an error current, the standard voltage, and the standard power factor, the error current is less than the standard current, the error current is determined according to an error characteristic of a current transformer in the instrument, and the offset phase error is a phase error of the calibrated instrument to be tested under the error current;

[0009] According to the standard current, the error current and the offset phase error, in at least two different current load intervals, a phase compensation value of the calibrated instrument under test in the current load interval is determined.

[0010] Through the method provided in the first aspect, the instrument to be tested is calibrated according to the standard current, standard voltage and standard power factor, and the instrument to be tested whose error meets the requirements under the standard current, standard voltage and standard power factor is obtained, so that the calibrated instrument to be tested can obtain accurate current measurement results, voltage measurement results and phase measurement results under the conditions of standard current, standard voltage and standard power factor. By adjusting the standard current, the offset phase error is determined according to the error current, standard voltage and standard power factor and the calibrated instrument to be tested, so that the offset phase error of the calibrated instrument to be tested under the state of small current can be obtained. According to the offset phase error, combined with the error characteristics of the current transformer in the instrument, the phase compensation value exclusive to each interval is determined in at least two current load intervals, thereby helping to improve the accuracy of the instrument to be tested under different load currents. Writing the phase compensation value into the metering chip of the calibrated instrument to be tested can reduce the error of the instrument to be tested when measuring under different load currents, thereby improving the measurement accuracy of the instrument to be tested.

[0011] In a possible design, a ratio of the error current to the standard current is greater than or equal to 0.1 and less than or equal to 0.3.

[0012] In one possible design, the method further includes:

[0013] The phase compensation value of the calibrated instrument under test in the current load interval is written into the metering chip of the calibrated instrument under test.

[0014] In a possible design, determining the phase compensation value of the calibrated instrument under test in the current load interval in at least two different current load intervals according to the standard current, the error current and the offset phase error includes:

[0015] Determining a plurality of current load intervals according to the standard current, the error current and an error characteristic of a current transformer in the instrument;

[0016] For each current load interval, the product of a preset coefficient and the offset phase error is determined as the phase compensation value of the current load interval, and the preset coefficient is determined according to the error characteristics of the current transformer in the instrument in the current load interval.

[0017] In a possible design, calibrating the instrument to be measured according to the first preset parameter includes:

[0018] Controlling the calibration station to input a first standard source into the instrument to be tested to obtain a first voltage, a first current and a first phase, wherein the parameters of the first standard source satisfy the standard voltage, the standard current and the standard power factor;

[0019] Determine a voltage error, a current error, and a reference phase error according to the standard voltage, the standard current, the standard power factor, the first voltage, the first current, and the first phase;

[0020] The voltage error, the current error and the reference phase error are written into the metering chip of the instrument to be tested to obtain a calibrated instrument to be tested.

[0021] In one possible design, the method further includes:

[0022] Determine a plurality of voltage load intervals according to commonly used voltage levels, wherein the commonly used voltage levels include 57.5 volts, 100 volts, 220 volts, and 380 volts;

[0023] For each voltage load interval, the sum of a reference voltage error and a preset offset is determined as the voltage error of the voltage load interval, the reference voltage error is the difference between the standard voltage and the first voltage, and the preset offset is the average value of voltage errors of multiple different instruments in the voltage load interval.

[0024] In a possible design, determining the offset phase error according to the second preset parameter and the calibrated instrument to be tested includes:

[0025] Controlling the calibration station to input a second standard source into the calibrated instrument to be tested to obtain a second phase, wherein the parameters of the second standard source satisfy the error current, the standard voltage and the standard power factor;

[0026] The difference between the second phase and the phase corresponding to the standard power factor is determined as the offset phase error.

[0027] In a second aspect, the present application provides an error compensation device, comprising: a module for executing the method in the first aspect and any possible involvement of the first aspect.

[0028] In a third aspect, the present application provides an electronic device, including: a processor;

[0029] The processor is used to execute the computer executable program or instructions in the memory, so that the electronic device executes the method in the first aspect and any possible design of the first aspect.

[0030] In a fourth aspect, the present application provides an electronic device comprising: a memory and a processor; the memory is used to store program instructions; the processor is used to call the program instructions in the memory so that the electronic device executes the method in the first aspect and any possible design of the first aspect.

[0031] In a fifth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor in an electronic device, the computer program implements the method in the first aspect and any possible design of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 A flowchart of an error compensation method provided in one embodiment of the present application.

[0033] Figure 2 A current-phase error characteristic curve of a meter to be tested provided in one embodiment of the present application.

[0034] Figure 3 A current-phase error characteristic curve of a calibrated instrument under test is provided in one embodiment of the present application.

[0035] Figure 4 A schematic diagram of a current load range provided by an embodiment of the present application.

[0036] Figure 5 A schematic diagram of a current load range provided by an embodiment of the present application.

[0037] Figure 6 A flowchart of an error compensation method provided in one embodiment of the present application.

[0038] Figure 7 A current-phase error characteristic curve of a calibrated instrument under test with a phase compensation value written therein is provided in an embodiment of the present application.

[0039] Figure 8 A flow chart of a method for determining a phase compensation value provided in one embodiment of the present application.

[0040] Fig. 9 A flow chart of a method for calibrating an instrument to be tested provided in one embodiment of the present application.

[0041] Fig.10 A flow chart of a method for determining voltage error provided in one embodiment of the present application.

[0042] Fig.11 A voltage-error characteristic curve of a meter to be tested is provided in one embodiment of the present application.

[0043] Fig.12A voltage-error characteristic curve of a meter under test after reference voltage error compensation is provided in one embodiment of the present application.

[0044] Fig.13 An embodiment of the present application provides a voltage-error curve of a meter under test after compensation for a sum of a reference voltage error and a preset offset.

[0045] Fig.14 A schematic diagram of the structure of an error compensation device provided in one embodiment of the present application.

[0046] Fig.15 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application.

[0047] Fig.16 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0048] In this application, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c alone can represent: a, b, c, a and b, a and c, or a, b, and c, where a, b, and c can be single or multiple. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.

[0049] The directions or positional relationships indicated by terms such as "center", "longitudinal", "lateral", "up", "down", "left", "right", "front", and "back" are based on the directions or positional relationships shown in the accompanying drawings and are only for the convenience of describing the present application and simplifying the description. They do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore should not be understood as a limitation on the present application.

[0050] The terms "connected" and "connected" should be understood in a broad sense. For example, the "connected" or "connected" of a circuit structure can refer to not only physical connection, but also electrical connection or signal connection. For example, it can be directly connected, that is, physically connected, or indirectly connected through at least one intermediate element, as long as the circuit is connected, or it can be the internal connection of two elements; signal connection can refer to signal connection through a circuit or through a media medium, such as radio waves. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0051] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0052] Exemplarily, the present application provides an error compensation method, device, electronic device, computer-readable storage medium and computer program product, which calibrates the instrument to be tested once by standard current, standard voltage and standard power factor to obtain the instrument to be tested whose error meets the requirements under standard current, standard voltage and standard power factor. Adjust the standard current to obtain the offset phase error of the instrument to be tested after the calibration under the state of small current. According to the offset phase error, combined with the error characteristics of the current transformer in the instrument, the phase compensation value of different current load intervals is obtained. The phase compensation value is written into the metering chip of the calibrated instrument to be tested to compensate for the influence of the angular difference of the current transformer on the phase of the instrument under different current load conditions, thereby completing the calibration and compensation of the instrument to be tested, reducing the measurement error of the instrument and improving the measurement accuracy of the instrument.

[0053] The error compensation method provided in the present application may be executed by an electronic device, or by an error compensation device in the electronic device.

[0054] The electronic device may be a server, a desktop computer, a mobile phone, a tablet computer, a laptop computer, a wearable device, a vehicle-mounted device, an augmented reality (AR) / virtual reality (VR) device, or a calibration station or other device.

[0055] The error compensation device may be implemented by a combination of software and / or hardware. For example, the error compensation device may be an application (APP), a web page, or a public account. In order to simplify the description, the embodiment of the present application is described by taking the error compensation device as an example.

[0056] Next, combine Figure 1 , the error compensation method provided in the embodiment of the present application is described.

[0057] See also Figure 1 , Figure 1 Flow chart of an error compensation method provided by an embodiment of the present application. Figure 1 As shown, the method includes:

[0058] S101. Calibrate the instrument to be tested according to the first preset parameters.

[0059] The first preset parameters include standard current, standard voltage and standard power factor.

[0060] The values ​​of standard current, standard voltage and standard power factor may vary depending on different usage scenarios or areas of use.

[0061] The standard voltage may be 380 volts (Volt, V), 220V, 100V or 57.5V, etc. The standard current may be 2 amperes (Ampere, A), 5A or 10A, etc. The standard power factor may be 0.5L, 0.8C or 1.0R, etc.

[0062] For example, in Chinese home scenarios, the standard current is 220V, the standard current is 5A, and according to the different measurement requirements of the instrument, the standard power factor can be selected as 0.5L, 0.8C or 1.0R, etc.

[0063] The instrument to be tested may be an electric energy meter or other instrument with an electric quantity measurement function. During the manufacturing process of the instrument, the instrument may have measurement errors due to installation errors, device errors, and other errors. For example, the error characteristics of the current transformer in the instrument may affect the accuracy of the measurement result of the instrument. The error characteristics of the current transformer include, for example, the angular difference of the current transformer.

[0064] For example, when the instrument under test measures a standard source with specifications of 220V, 5A, and 0.5L, the measurement result may be 219V, 4.9A, and 59°.

[0065] Next, taking phase error as an example, combined with Figure 2 , introduce the error characteristics of the instrument to be tested.

[0066] Figure 2 A current-phase error characteristic curve of a meter under test provided in one embodiment of the present application. Figure 2 The load current of 100% on the horizontal axis is the standard current. For example, when the standard current is 5A, 100% means 5A and 10% means 0.5A.

[0067] The current-phase error characteristic curve of the instrument to be tested can be obtained by performing multiple phase measurements on other instruments of the same model as the instrument to be tested under different load currents in advance.

[0068] like Figure 2 As shown, affected by the error characteristics of the current transformer, the instrument to be tested will have different phase errors under different load currents. Under the condition of 100% load current, the phase error of the instrument to be tested is E1.

[0069] Considering that the conditions of standard current, standard voltage and standard power factor are the most common usage scenarios of the instrument to be tested, the error compensation device can first calibrate the instrument to be tested under these conditions, thereby eliminating most of the phase errors.

[0070] Specifically, the error compensation device can control the calibration platform to calibrate the instrument to be tested through standard current, standard voltage and standard power factor to obtain a calibrated instrument to be tested, thereby eliminating the measurement error of the calibrated instrument to be tested when measuring under the conditions of standard current, standard voltage and standard power factor.

[0071] For example, the error compensation device controls the calibration station to input a standard source of 220V, 5A, and 0.5L into the instrument to be tested, obtains the voltage error U1, the current error I1, and the phase error E1, and then writes the voltage error U1, the current error I1, and the phase error E1 into the metering chip of the instrument to be tested to obtain the calibrated instrument to be tested.

[0072] The contents stored in the metering chip of the instrument to be tested after calibration can be shown in Table 1 below:

[0073] Table 1

[0074] Phase Error E1 Current error I1 Voltage Error U1

[0075] Figure 3 A current-phase error characteristic curve of a calibrated instrument under test is provided in one embodiment of the present application.

[0076] like Figure 3 As shown, the phase error E1 of the calibrated instrument under 100% load current has been calibrated.

[0077] After calibration, the instrument to be tested can obtain accurate current measurement results, voltage measurement results and phase measurement results under the conditions of standard current, standard voltage and standard power factor.

[0078] Based on this, the error compensation device calibrates the instrument to be tested to obtain a calibrated instrument to be tested.

[0079] S102: Determine an offset phase error according to a second preset parameter and a calibrated instrument to be tested.

[0080] The second preset parameters include error current, standard voltage and standard power factor.

[0081] The measurement accuracy of the calibrated instrument under standard current, standard voltage and standard power factor is already high. The instrument under test has a current transformer, and the current transformer has an angle difference. The angle difference will cause the phase of the instrument to shift at different angles under different load currents. This change in the angle is nonlinear. When the load current is small, the phase shift angle may become larger and larger as the load current decreases, so that the calibrated instrument under test cannot obtain accurate phase measurement results when the load current is small. Figure 3 As shown, under the condition of 10% load current, the phase error of the instrument under test after calibration is E2.

[0082] Based on this, considering that the change of load current has a great influence on the measurement error of the calibrated instrument to be tested, the error compensation device can obtain the error current according to the error characteristics of the current transformer.

[0083] Among them, the error current is smaller than the standard current.

[0084] Among them, the error current is determined according to the error characteristics of the current transformer in the instrument.

[0085] Please refer to Figure 3 ,according to Figure 3 It can be seen from the curve in that as the load current decreases, the phase error of the calibrated instrument becomes larger. When the load current is between 0% and 10%, the slope of the curve is large, and when the load current is between 10% and 100%, the slope of the curve gradually becomes gentle.

[0086] According to user requirements, when the load current is less than the standard current, the error of the phase measurement result of the calibrated instrument under test may have a user-permissible error.

[0087] However, at a load current of 10%, the phase error may have exceeded the user's allowable error.

[0088] Thus, the error compensation device can determine the error current according to the error characteristics of the current transformer and the user's error requirements for the phase measurement result.

[0089] In some examples, a ratio of the error current to the standard current is greater than or equal to 0.1 and less than or equal to 0.3.

[0090] Considering that when the load current is between 0% and 10%, the slope of the curve is large, so the minimum error current can be 10% of the standard current. Considering that when the load current is 30%, the slope of the curve gradually flattens, so the maximum error current can be 30% of the standard current.

[0091] For example, the error current may be 10% of the standard current. When the standard current is 5A, the error current is 0.5A.

[0092] For another example, the error current may be 30% of the standard current. When the standard current is 5A, the error current is 1.5A.

[0093] Based on this, the error compensation device can determine the offset phase error of the calibrated instrument to be tested when the standard voltage and the standard power factor remain unchanged and the standard current is changed to the error current.

[0094] The offset phase error is the phase error of the instrument under test after calibration under the error current.

[0095] Specifically, the error compensation device can control the calibration platform to input a standard source whose parameters satisfy the error current, standard voltage and standard power factor into the calibrated instrument to be tested, thereby obtaining an offset phase error.

[0096] like Figure 3 As shown, when the error current is 10% of the load current, the offset phase error is E2.

[0097] Based on this, the error compensation device obtains the offset phase error of the instrument to be tested after calibration.

[0098] S103, determining a phase compensation value of the calibrated instrument under test in a current load interval in at least two different current load intervals according to the standard current, the error current and the offset phase error.

[0099] Considering that the phase of the calibrated instrument under test has different offset angles under different load currents, and the change of such offset angles is nonlinear, the error compensation device can divide the load current to obtain multiple current load intervals. The error compensation device can determine a phase compensation value exclusive to each current load interval, thereby helping to improve the accuracy of the measurement of the instrument under different load currents.

[0100] The error compensation device can determine the current load range in a variety of ways.

[0101] In some examples, the error compensation device may determine two current load intervals according to the error current and the standard current, wherein one current load interval is from 0 to the error current, and the other current load interval is from the error current to the standard current.

[0102] exist Figure 3 On the basis of Figure 4 As shown, the error compensation device can determine the current load range I and the current load range II, wherein the error current is 10% of the load current and the standard current is 100% of the load current.

[0103] In other examples, the error compensation device may determine a plurality of current load intervals according to the error current, the standard current, and the error characteristics of the current transformer.

[0104] Between the error current and the standard current, there is still a portion of the current-phase error variation curve that exceeds the user's allowable error.

[0105] Based on this, the error compensation device can determine one or more current load intervals between the error current and the standard current, so that the load current can be divided more finely, which helps to improve the accuracy of the measurement of the instrument under test under different load currents.

[0106] exist Figure 3 On the basis of Figure 5 As shown, the error compensation device can determine the interval from 0 to the error current as the current load interval I, and the error compensation device can further determine the current load interval II and the current load interval III between the error current and the standard current, so that the current load interval can be divided more finely, which helps to improve the accuracy of the measurement of the instrument under test under different load currents.

[0107] Therefore, the error compensation device can determine the phase compensation value of the calibrated instrument under test in the current load range in different current load ranges.

[0108] Specifically, for each current load interval, the error compensation device determines a phase compensation value for the current load interval based on the offset phase error and according to the error characteristics of the current transformer.

[0109] For the interval from 0 to the error current, the offset phase error is sufficient to compensate for the phase error in the interval, so the error compensation device can directly determine the offset phase error as the phase compensation value for the interval from 0 to the error current.

[0110] For the interval between the error current and the standard current, the error compensation device can reduce the offset phase error according to the error characteristics of the current transformer, and determine half, one third or one quarter of the offset phase error as the phase compensation value for the interval between the error current and the standard current.

[0111] like Figure 4 As shown, when the current load interval includes current load interval I and current load interval II, the error compensation device can determine the offset phase error E2 as the phase compensation value of current load interval I, and determine half of the offset phase error E2 as the phase compensation value of current load interval II.

[0112] like Figure 5As shown, when the current load interval includes current load interval I, current load interval II and current load interval III, the error compensation device can determine the offset phase error E2 as the phase compensation value of current load interval I, determine half of the offset phase error E2 as the phase compensation value of current load interval II, and determine one third of the offset phase error E2 as the phase compensation value of current load interval III.

[0113] Therefore, the error compensation device can determine a phase compensation value suitable for different current load intervals in combination with the error characteristics of the current transformer.

[0114] Based on this, the error compensation device determines the phase compensation value of the calibrated instrument to be tested in at least two different current load intervals. Therefore, when the calibrated instrument to be tested is measured, the measurement results can be compensated for different current load intervals through the phase compensation values ​​corresponding to each current load interval, thereby obtaining accurate measurement results.

[0115] In an embodiment of the present application, the error compensation device calibrates the instrument to be tested according to the standard current, standard voltage and standard power factor, and obtains the instrument to be tested whose error meets the requirements under the standard current, standard voltage and standard power factor, so that the calibrated instrument to be tested can obtain accurate current measurement results, voltage measurement results and phase measurement results under the conditions of standard current, standard voltage and standard power factor. By adjusting the standard current, the error compensation device determines the offset phase error according to the error current, standard voltage and standard power factor and the calibrated instrument to be tested, so as to obtain the offset phase error of the calibrated instrument to be tested under the state of small current. The error compensation device determines the phase compensation value exclusive to each interval in at least two current load intervals based on the offset phase error and the error characteristics of the current transformer in the instrument, so as to improve the accuracy of the instrument to be tested under different load currents.

[0116] Figure 6 Flow chart of an error compensation method provided by an embodiment of the present application. Figure 6 As shown, after S103, the method further includes:

[0117] S104, writing the phase compensation value of the calibrated instrument to be tested in the current load range into the metering chip of the calibrated instrument to be tested.

[0118] Based on this, when measuring the phase, the calibrated instrument under test can apply the phase error corresponding to the current load interval to compensate the phase measurement result according to the different load current sizes, thereby compensating the phase more accurately, which helps to improve the measurement accuracy of the instrument under test.

[0119] Take the current load interval including current load interval I, current load interval II and current load interval III as an example. Figure 7 As shown, from the current-phase error characteristic curve of the instrument under test after calibration with the phase compensation value written in, it can be seen that the phase error is compensated in different current load ranges, and the phase error can meet the needs of users.

[0120] Below, taking the current load interval including current load interval I, current load interval II and current load interval III as an example, the phase compensation value of current load interval I is E2, the phase compensation value of current load interval II is 0.5E2, and the phase compensation value of current load interval II is 0.3E2. Based on Table 1, the content stored in the metering chip of the calibrated instrument to be tested after writing the phase compensation value can be shown in the following Table 2:

[0121] Table 2

[0122]

[0123] Based on this, after calibration and compensation, the measurement accuracy of the instrument under test in different current load ranges can be improved, thereby obtaining more accurate measurement results.

[0124] Through the method of the embodiment of the present application, the error compensation device writes the phase compensation value into the metering chip of the calibrated instrument to be tested, which can reduce the error of the calibrated instrument to be tested when measuring under different load currents, thereby improving the measurement accuracy of the instrument to be tested.

[0125] Furthermore, when the instrument to be measured is used for measurement after calibration and compensation, the influence of the angle difference of the current transformer on the phase of the instrument under different current load conditions can be compensated, thereby obtaining an accurate measurement result.

[0126] Based on the above exemplary description, in S103, the error compensation device can be as follows Figure 8 From S201 to S202 shown, a phase compensation value of the calibrated instrument to be tested in the current load range is determined.

[0127] Figure 8 A flow chart of a method for determining a phase compensation value provided in one embodiment of the present application. Figure 8 As shown, the method includes:

[0128] S201. Determine multiple current load intervals according to a standard current, an error current, and an error characteristic of a current transformer in a meter.

[0129] Since the phase of the calibrated instrument under test has different offset angles under different load currents, and see Figure 2It can be concluded that when the load current is between 0% and 10%, the slope of the curve is large, and when it is between 10% and 100%, the curve gradually flattens.

[0130] Based on this, the error compensation device can at least determine two current load intervals according to the error current and the standard current, wherein one current load interval is from 0 to the error current, and the other current load interval is from the error current to the standard current.

[0131] Therefore, a larger phase compensation value can be used in the current load range where the phase offset angle is larger, and a smaller phase compensation value can be used in the current load range where the phase offset angle gradually decreases, so as to more accurately compensate for the phase error during measurement.

[0132] In addition, considering the difference between the error current and the standard current, see Figure 2 The current-phase error variation curve still has some curves that exceed the user's allowable error.

[0133] Based on this, the error compensation device can determine multiple current load intervals according to the error current, the standard current and the error characteristics of the current transformer.

[0134] The error compensation device determines the interval from 0 to the error current as the current load interval, and further determines one or more current load intervals between the error current and the standard current, so that the load current can be divided more finely, which helps to improve the accuracy of the measurement of the instrument under test under different load currents.

[0135] S202 . For each current load interval, determine the product of a preset coefficient and an offset phase error as a phase compensation value of the current load interval.

[0136] The preset coefficient is determined according to the error characteristics of the current transformer in the instrument in the current load range.

[0137] For the interval from 0 to the error current, the offset phase error is sufficient to compensate for the phase error in the interval. Therefore, the error compensation device can determine the preset coefficient of the interval from 0 to the error current to 1, and then the phase compensation value of the interval from 0 to the error current is the offset phase error.

[0138] For the interval between the error current and the standard current, the error compensation device can determine the preset coefficient to be one-half, one-third or one-quarter, etc., according to the error characteristics of the current transformer. Thus, one-half, one-third or one-quarter, etc. of the offset phase error is determined as the phase compensation value for the interval between the error current and the standard current.

[0139] Based on this, the error compensation device can combine the error characteristics of the current transformer to determine a phase compensation value suitable for different current load intervals, which helps to improve the measurement accuracy of the instrument under test under different load currents.

[0140] Based on the above exemplary description, in S101, the error compensation device can be as follows Fig. 9 S301 to S303 are shown to calibrate the instrument to be tested.

[0141] Fig. 9 A flow chart of a method for calibrating a meter under test provided in one embodiment of the present application. Fig. 9 As shown, the method includes:

[0142] S301, controlling the calibration station to input a first standard source into the instrument to be tested, to obtain a first voltage, a first current and a first phase.

[0143] The parameters of the first standard source meet standard voltage, standard current and standard power factor.

[0144] Specifically, the error compensation device controls the calibration platform to input the first standard source into the instrument under test, the instrument under test measures the first standard source to obtain a first voltage, a first current and a first phase, and the error compensation device obtains the first voltage, the first current and the first phase from the instrument under test.

[0145] For example, the standard voltage is 220V, the standard current is 5A, and the standard power factor is 0.5L. Then the error compensation device can control the calibration station to input the first standard source with parameters of "220V, 5A, 0.5L" to the instrument under test, where the phase corresponding to the standard power factor of 0.5L is 60°. The instrument under test measures the first standard source and obtains a first voltage of 219V, a first current of 4.9A, and a first phase of 59°.

[0146] S302: Determine a voltage error, a current error, and a reference phase error according to a standard voltage, a standard current, a standard power factor, a first voltage, a first current, and a first phase.

[0147] The error compensation device may determine the voltage error, the current error and the reference phase error in a variety of ways.

[0148] In some examples, the error compensation device may determine the difference between the standard voltage and the voltage error as the voltage error; determine the difference between the standard current and the first current as the current error; and determine the difference between the phase corresponding to the standard power factor and the first phase as the reference phase error.

[0149] Based on the example in S301 , the error compensation device may determine that the voltage error is 1 V, the current error is 0.1 A, and the reference phase error is 1°.

[0150] In other examples, the error compensation device may determine the ratio of the standard voltage to the voltage error as the voltage error; determine the ratio of the standard current to the first current as the current error; and determine the ratio of the phase corresponding to the standard power factor to the first phase as the reference phase error.

[0151] S303, writing the voltage error, the current error and the reference phase error into the metering chip of the instrument to be tested to obtain a calibrated instrument to be tested.

[0152] Based on this, when the calibrated instrument is measuring, the voltage error, current error and reference phase error in the metering chip can be called to calibrate the measurement results. The calibrated instrument can obtain accurate current measurement results, voltage measurement results and phase measurement results under the conditions of standard current, standard voltage and standard power factor.

[0153] For example, when the calibrated instrument to be tested measures a standard source with parameters of "220V, 5A, 0.5L", the measurement result obtained is "220V, 5A, 60°".

[0154] Based on the above exemplary description, in S302, the error compensation device can also be implemented as follows: Fig.10 From S401 to S402 shown, a voltage error is determined.

[0155] Fig.10 A flow chart of a method for determining voltage error provided in one embodiment of the present application. Fig.10 As shown, the method includes:

[0156] S401. Determine multiple voltage load intervals according to commonly used voltage levels.

[0157] Among them, commonly used voltage levels include 57.5V, 100V, 220V and 380V.

[0158] When the load voltage changes, the internal operational amplifier of the metering chip in the instrument under test will affect the accuracy of the voltage measurement of the instrument under test.

[0159] like Fig.11 As shown, Fig.11 The voltage-error characteristic curve of the instrument under test is shown.

[0160] Based on this, the error compensation device can divide the load voltage into multiple voltage load intervals according to the common voltage level, so that the error compensation device can determine the voltage error corresponding to each voltage load interval. The common voltage level is the median value of each voltage load interval.

[0161] S402 . For each voltage load interval, determine the sum of the reference voltage error and the preset offset as the voltage error of the voltage load interval.

[0162] The reference voltage error is the difference between the standard voltage and the first voltage.

[0163] like Fig.12 As shown, taking the standard voltage of 220V as an example, the error compensation device determines the error of the instrument to be tested at the most commonly used voltage level according to the standard voltage, and the reference voltage error can compensate for most voltage errors.

[0164] But after the load voltage changes, for example, the load voltage is 100V, the reference voltage error is not enough to compensate the error.

[0165] Based on this, for each voltage load interval, the error compensation device can determine the sum of the reference voltage error and the preset offset as the voltage error of the voltage load interval, so as to compensate for the error of the interval.

[0166] The preset offset is an average value of voltage errors of a plurality of different meters in a voltage load range.

[0167] In each voltage load interval, the average value of the voltage errors with multiple different instruments in the voltage load interval can be obtained in advance. The error compensation device determines the average value of the voltage error as the preset offset of the voltage load interval. Then, based on the sum of the reference voltage error and the preset offset, the error of the interval can be compensated.

[0168] The multiple different instruments may be other instruments of the same model as the instrument to be tested.

[0169] like Fig.13 As shown, from the voltage-error curve after compensation by the sum of the reference voltage error and the preset offset, it can be seen that the effect of error compensation is significantly improved in each voltage load range.

[0170] Based on this, the voltage error of each voltage load interval is obtained through the above method, and the errors of different voltage load intervals are compensated by the voltage error, thereby further improving the measurement accuracy of the instrument to be tested.

[0171] In addition, based on the above exemplary description, Figure 7 or Fig.13It can be seen that at the left and right endpoints of each voltage load interval or current load interval, the voltage error or phase error will suddenly change. In order to avoid the situation where the error compensation device cannot determine which voltage or current load interval to use for compensation, a hysteresis interval can be set at the connection between two adjacent intervals. The phase or voltage error corresponding to the hysteresis interval is a variable value, and the phase or voltage error corresponding to the hysteresis interval depends on the phase or voltage error before entering the hysteresis interval. For example, when the load voltage switches from 380V to the voltage corresponding to the connection between the 380V interval and the 220V interval, the voltage error corresponding to the 380V interval can be used for compensation.

[0172] Based on the above exemplary description, in S102, the error compensation device may determine the offset phase error by the following steps from the first step to the second step.

[0173] In the first step, the error compensation device controls the calibration platform to input the second standard source into the calibrated instrument to be tested to obtain the second phase.

[0174] The parameters of the second standard source satisfy error current, standard voltage and standard power factor.

[0175] In the second step, the difference between the second phase and the phase corresponding to the standard power factor is determined as the offset phase error.

[0176] For example, the error compensation device controls the calibration station to input the second standard source whose parameters are "220V, 0.5A, 0.5L" to the calibrated instrument to be tested, and the measurement result is "220V, 0.5A, 50°"

[0177] It can be seen that the calibrated instrument under test can obtain accurate voltage and current results, but due to the angular difference of the current transformer, there is still an error in the second phase. Then the error compensation device can determine the difference between the second phase and the phase corresponding to the standard power factor as the offset phase error.

[0178] Based on this, the error compensation device can obtain the offset phase error.

[0179] Fig.14 This is a schematic diagram of the structure of an error compensation device provided in one embodiment of the present application. Fig.14 As shown, the device includes: a calibration module 101, a determination module 102 and a compensation module 103.

[0180] The calibration module 101 is used to calibrate the instrument to be tested according to first preset parameters, where the first preset parameters include standard current, standard voltage and standard power factor;

[0181] The determination module 102 is used to determine the offset phase error according to the second preset parameters and the calibrated instrument to be tested, the second preset parameters include error current, standard voltage and standard power factor, the error current is less than the standard current, the error current is determined according to the error characteristics of the current transformer in the instrument, and the offset phase error is the phase error of the calibrated instrument to be tested under the error current;

[0182] The compensation module 103 is used to determine the phase compensation value of the calibrated instrument under test in the current load interval in at least two different current load intervals according to the standard current, the error current and the offset phase error.

[0183] It should be noted that the error compensation device of the embodiment of the present application can be used to execute the technical solution of the above-mentioned method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0184] In some examples, a ratio of the error current to the standard current is greater than or equal to 0.1 and less than or equal to 0.3.

[0185] In some examples, the error compensation device further includes a writing module:

[0186] The writing module is used to write the phase compensation value of the calibrated instrument under test in the current load range into the metering chip of the calibrated instrument under test.

[0187] In some examples, the compensation module 103 is specifically configured to determine a plurality of current load intervals according to the standard current, the error current, and the error characteristics of the current transformer in the instrument;

[0188] For each current load interval, the product of a preset coefficient and an offset phase error is determined as a phase compensation value of the current load interval, and the preset coefficient is determined according to an error characteristic of a current transformer in the instrument in the current load interval.

[0189] In some examples, the calibration module 101 is specifically used to control the calibration station to input a first standard source into the instrument to be tested to obtain a first voltage, a first current and a first phase, wherein the parameters of the first standard source meet the standard voltage, standard current and standard power factor;

[0190] Determine a voltage error, a current error and a reference phase error according to the standard voltage, the standard current, the standard power factor, the first voltage, the first current and the first phase;

[0191] The voltage error, current error and reference phase error are written into the metering chip of the instrument to be tested to obtain a calibrated instrument to be tested.

[0192] In some examples, the calibration module 101 is further used to determine a plurality of voltage load intervals according to common voltage levels, where the common voltage levels include 57.5 volts, 100 volts, 220 volts, and 380 volts;

[0193] For each voltage load interval, the sum of a reference voltage error and a preset offset is determined as the voltage error of the voltage load interval, the reference voltage error is the difference between the standard voltage and the first voltage, and the preset offset is the average value of voltage errors of multiple different instruments in the voltage load interval.

[0194] In some examples, the determination module 102 is specifically used to control the calibration station to input a second standard source into the calibrated instrument to be tested to obtain a second phase, wherein the parameters of the second standard source satisfy the error current, standard voltage and standard power factor;

[0195] The difference between the second phase and the phase corresponding to the standard power factor is determined as the offset phase error.

[0196] Fig.15 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Fig.15 As shown, the electronic device may include: a processor 201 and a memory 202, wherein the memory 202 stores a computer program, and when the processor 201 executes the computer program, the embodiment of the present application is implemented. Figures 1 to 13 The error compensation method shown.

[0197] Fig.16 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Fig.16 As shown, the electronic device may include: a processor 301, and when the processor 301 executes a computer executable program or an instruction in a memory to execute a computer program, the embodiment of the present application is implemented. Figures 1 to 13 The error compensation method shown.

[0198] Another embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the present application can be implemented. Figures 1 to 13 The error compensation method shown.

[0199] Another embodiment of the present application further provides a computer program product, including: an execution instruction, the execution instruction is stored in a readable storage medium, at least one processor of the electronic device can read the execution instruction from the readable storage medium, and at least one processor executes the execution instruction so that the electronic device implements the embodiment of the present application Figures 1 to 13 The error compensation method shown.

[0200] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0201] Those skilled in the art will appreciate that, although some embodiments herein include certain features included in other embodiments, the combination of features of different embodiments is meant to be within the scope of the present application and form different embodiments. For example, in the claims, any one of the claimed embodiments may be used in any combination.

[0202] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. An error compensation method, characterized in that: The method comprises: Calibrate the instrument to be tested according to first preset parameters, wherein the first preset parameters include standard current, standard voltage and standard power factor; Determine an offset phase error according to second preset parameters and a calibrated instrument to be tested, wherein the second preset parameters include an error current, the standard voltage, and the standard power factor, the error current is less than the standard current, the error current is determined according to an error characteristic of a current transformer in the instrument, and the offset phase error is a phase error of the calibrated instrument to be tested under the error current; According to the standard current, the error current and the offset phase error, in at least two different current load intervals, a phase compensation value of the calibrated instrument under test in the current load interval is determined.

2. The method according to claim 1, characterized in that The ratio of the error current to the standard current is greater than or equal to 0.1 and less than or equal to 0.

3.

3. The method according to claim 2, characterized in that The step of determining the phase compensation value of the calibrated instrument under test in at least two different current load intervals according to the standard current, the error current and the offset phase error comprises: Determining a plurality of current load intervals according to the standard current, the error current and an error characteristic of a current transformer in the instrument; For each current load interval, the product of a preset coefficient and the offset phase error is determined as the phase compensation value of the current load interval, and the preset coefficient is determined according to the error characteristics of the current transformer in the instrument in the current load interval.

4. The method according to claim 3, characterized in that The method further comprises: The phase compensation value of the calibrated instrument under test in the current load interval is written into the metering chip of the calibrated instrument under test.

5. The method according to any one of claims 1 to 4, characterized in that: The step of calibrating the instrument to be tested according to the first preset parameter includes: Controlling the calibration station to input a first standard source into the instrument to be tested to obtain a first voltage, a first current and a first phase, wherein the parameters of the first standard source satisfy the standard voltage, the standard current and the standard power factor; Determine a voltage error, a current error, and a reference phase error according to the standard voltage, the standard current, the standard power factor, the first voltage, the first current, and the first phase; The voltage error, the current error and the reference phase error are written into the metering chip of the instrument to be tested to obtain a calibrated instrument to be tested.

6. The method according to claim 5, characterized in that The method further comprises: Determine a plurality of voltage load intervals according to commonly used voltage levels, wherein the commonly used voltage levels include 57.5 volts, 100 volts, 220 volts, and 380 volts; For each voltage load interval, the sum of a reference voltage error and a preset offset is determined as the voltage error of the voltage load interval, the reference voltage error is the difference between the standard voltage and the first voltage, and the preset offset is the average value of voltage errors of multiple different instruments in the voltage load interval.

7. The method according to any one of claims 1 to 4, characterized in that: The step of determining the offset phase error according to the second preset parameter and the calibrated instrument to be tested includes: Controlling the calibration station to input a second standard source into the calibrated instrument to be tested to obtain a second phase, wherein the parameters of the second standard source satisfy the error current, the standard voltage and the standard power factor; The difference between the second phase and the phase corresponding to the standard power factor is determined as the offset phase error.

8. An error compensation device, characterized in that: The method comprises a module for executing the method according to any one of claims 1 to 7.

9. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, the method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.