Electrical parameter calibration method, device, electronic device and storage medium

By calculating and calibrating the angle between the current and the voltage signal, the phase compensation coefficient is obtained using the active power difference and the phase correction value, and the calibration accuracy of the angle between the voltage and the current is finally improved, and the problem of low angle calibration accuracy in the prior art is solved.

CN114563748BActive Publication Date: 2025-04-01SHANGHAI ELECON INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110814886.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-19
Publication Date
2025-04-01
Estimated Expiration
2041-07-19

AI Technical Summary

Technical Problem

When calibrating the angle between the current signal and the voltage signal, the accuracy of the included angle calibration value is also low due to the low phase angle accuracy of the current signal and the voltage signal.

Method used

By obtaining the calibration initial value of the angle between the voltage and the current output from the measured instrument, the difference between the initial calibration value of the active power and the standard value is calculated, the difference between the expected value of the included angle is determined and the standard value is determined, the ratio of the initial calibration deviation value to the expected deviation value is calculated as the phase correction value, the phase compensation coefficient is obtained based on the phase correction value, and the final calibration value is finally determined based on the phase compensation coefficient and the calibration initial value.

Benefits of technology

The calibration accuracy of the angle between voltage and current is improved to ensure that the error between the final calibration value and the standard angle value is smaller than the error between the initial calibration value and the standard angle value.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114563748B_ABST
    Figure CN114563748B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses an electrical parameter calibration method, device, electronic device and storage medium; including: obtaining the calibration initial value of the angle between the voltage and current output by the measured measuring instrument; respectively calculating the active power initial calibration value corresponding to the calibration initial value and the active power standard value corresponding to the angle standard value, and calculating the initial calibration deviation value between the two; determining the expected deviation value between the active power expected value corresponding to the angle expected value and the active power standard value; calculating the ratio of the initial calibration deviation value to the expected deviation value, which is the phase correction value; obtaining the phase compensation coefficient according to the mapping relationship between the phase correction value and the phase compensation coefficient; determining the calibration final value according to the phase compensation coefficient and the calibration initial value. Since the phase compensation coefficient is applied to the angle expected value with a smaller error when determining the phase compensation coefficient, the error between the calibration final value and the angle standard value can be made smaller than the error between the calibration initial value and the angle standard value, thereby improving the accuracy of the angle calibration value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of measurement, and in particular to an electrical parameter calibration method, device, electronic device and storage medium. Background Art

[0002] In the prior art, measuring instruments are usually used to measure electrical parameters, including current signals, voltage signals, and the angle between the current signals and the voltage signals. In order to improve the measurement accuracy of the measuring instruments as much as possible, the measuring instruments often need to be calibrated.

[0003] However, when calibrating the angle between the current signal and the voltage signal, since the precision of the phase angle of the current signal and the phase angle of the voltage signal is low, the precision of the calibrated angle calibration value is also low. Summary of the invention

[0004] The embodiments of the present application provide an electrical parameter calibration method, device, electronic device and storage medium, which can improve the accuracy of angle calibration values.

[0005] The embodiment of the present application provides an electrical parameter calibration method, including: obtaining an initial calibration value of the angle between the voltage and the current output by the measured measuring instrument, wherein the initial calibration value is an angle measurement value whose error with the angle standard value is within a first preset range; respectively calculating an initial calibration value of active power corresponding to the initial calibration value and an active power standard value corresponding to the angle standard value, and calculating the difference between the initial calibration value of active power and the active power standard value, the difference being recorded as an initial calibration deviation value; determining a difference between an expected active power value corresponding to an expected angle value and the active power standard value, the difference being recorded as an expected deviation value, wherein the error between the expected angle value and the angle standard value is within a second preset range; calculating a ratio of the initial calibration deviation value to the expected deviation value, the ratio being a phase correction value; obtaining a phase compensation coefficient corresponding to the phase correction value according to a mapping relationship between a preset phase correction value and a phase compensation coefficient; determining a final calibration value according to the phase compensation coefficient and the initial calibration value, wherein the final calibration value is the final calibration value of the angle between the voltage and the current.

[0006] In the above-mentioned implementation, the initial calibration value of the error and the angle standard value within the first preset range can be determined first, and then the active power values ​​corresponding to the initial calibration value and the angle standard value can be calculated respectively: the active power initial calibration value and the active power standard value, and the difference between the two is calculated to obtain the initial calibration deviation value. The active power corresponding to the expected value of the angle is determined: the expected value of active power, and the difference between it and the active power standard value is calculated to obtain the expected deviation value. The ratio between the two deviation values ​​is obtained, and the phase compensation coefficient is obtained based on the mapping relationship between the ratio and the phase compensation coefficient, and finally the calibration final value is obtained based on the phase compensation coefficient and the initial calibration value. Since the expected angle value with a smaller error is applied when determining the phase compensation coefficient, the error between the final calibration value and the angle standard value can be made smaller than the error between the initial calibration value and the angle standard value, thereby improving the accuracy of the angle calibration value.

[0007] In some embodiments, the angle measurement value of the angle between the voltage and the current measured by the measured instrument under test is calibrated as the initial calibration value, including: obtaining the angle measurement value of the angle between the voltage and the current output by the measured instrument under test; determining whether the error between the angle measurement value and the angle standard value is within the first preset range; if so, determining the angle measurement value as the initial calibration value.

[0008] In the above implementation, when calculating the initial calibration value, the angle measurement value obtained by the measured instrument can be obtained first, and the angle measurement value can be compared with the angle standard value to determine whether the error between the two is less than or equal to the first preset range. If it is less than or equal to the first preset range, it means that the measured instrument does not need to be calibrated again; the angle measurement value has met the requirements of the initial calibration value, so it can be directly used as the initial calibration value. Due to the comparison of the angle value, it can be ensured that the error between the angle measurement value used as the initial calibration value and the angle standard value is within the first preset range, thereby ensuring the accuracy of the initial calibration value range.

[0009] In some embodiments, after determining whether the error between the angle measurement value and the angle standard value is within the first preset range, the method further includes: if the error between the angle measurement value and the angle standard value exceeds the first preset range, determining that the angle measurement of the measured instrument is inaccurate, and calculating the difference between the angle standard value and the angle measurement value, the difference being an adjustment parameter; sending the adjustment parameter to the measured instrument so that when the measured instrument outputs an angle measurement value next time, the measurement result is superimposed on the adjustment parameter to obtain a new angle measurement value, and then outputting the new angle measurement value; jumping to step: obtaining the angle measurement value of the angle between the voltage and current output by the measured instrument.

[0010] In the above-mentioned implementation, if the error between the angle measurement value and the angle standard value is greater than the first preset range, it means that the angle measurement of the measured instrument is inaccurate. Therefore, the measured instrument is calibrated: the adjustment parameter obtained by subtracting the angle standard value from the angle measurement value is calculated, and the adjustment parameter is sent to the measured instrument. When the measured instrument outputs the angle measurement value next time, the adjustment parameter is superimposed on the calculated measurement result to obtain a new calibrated angle measurement value. The new angle measurement value can participate in a new round of comparison with the angle standard value. When the error between the angle measurement value and the angle standard value is large, the measured instrument can continue to be calibrated, and a new round of measurement can be performed using the calibrated measured instrument until the error between the angle measurement value and the angle standard value is within the first preset range. Through the above process, the measured instrument can be continuously calibrated to ensure the accuracy of the measured instrument.

[0011] In some embodiments, determining the difference between the expected active power value corresponding to the expected angle value and the standard active power value includes: constructing the expected angle value based on the standard angle value; calculating the expected active power value corresponding to the expected angle value; and calculating the difference between the expected active power value and the standard active power value.

[0012] In the above implementation, an expected angle value with a smaller error than the standard angle value can be constructed, and the expected active power value and the difference between the expected active power value and the standard active power value can be calculated step by step using the expected angle value, and used to determine the final calibration value. The introduction of the expected angle value with a smaller error is conducive to improving the accuracy of the angle calibration value.

[0013] In some embodiments, determining the final calibration value according to the phase compensation coefficient and the initial calibration value includes: calculating the product of the phase compensation coefficient and the initial calibration value, wherein the product is the final calibration value.

[0014] In the above-mentioned implementation, the calibration final value is calculated by multiplying the phase compensation coefficient with the calibration initial value. There is a mapping relationship between the phase compensation coefficient and the phase correction value, and the phase correction value is obtained by the ratio between the initial calibration deviation value and the expected deviation value. The error between the expected angle value of the expected deviation value and the angle standard value is calculated to be within the second preset range; due to the introduction of the expected angle value with a smaller error, the accuracy of the angle calibration value is improved.

[0015] In some embodiments, before calibrating the angle measurement value of the angle between the voltage and the current measured by the measured instrument under test to the initial calibration value, the method also includes: calibrating the voltage measurement value measured by the measured instrument under test, and calibrating the current measurement value measured by the measured instrument under test.

[0016] In the above implementation, before calibrating the angle between the voltage and the current, the gain measurement capability of the measured instrument may also be calibrated, thereby more comprehensively improving the measurement accuracy of the measured instrument.

[0017] In some embodiments, the calibration of the voltage measurement value obtained by the measured instrument includes: obtaining the voltage measurement value output by the measured instrument; determining whether the error between the voltage measurement value and the voltage standard value is within a first error allowable range; if so, determining that the voltage measurement of the measured instrument is accurate; if not, determining that the voltage measurement of the measured instrument is inaccurate, and calculating the ratio of the voltage standard value to the voltage measurement value, the ratio is a voltage adjustment coefficient, and sending the voltage adjustment coefficient to the measured instrument, so that the next time the measured instrument outputs a voltage measurement value, the measurement result is multiplied by the voltage adjustment coefficient to obtain a new voltage measurement value, and then the new voltage measurement value is output; jump to step: obtaining the voltage measurement value output by the measured instrument;

[0018] The calibration of the current measurement value obtained by the measured instrument includes: obtaining the current measurement value output by the measured instrument; judging whether the error between the current measurement value and the current standard value is within the second error allowable range; if so, determining that the current measurement of the measured instrument is accurate; if not, determining that the current measurement of the measured instrument is inaccurate, and calculating the ratio of the current standard value to the current measurement value, the ratio being the current adjustment coefficient, and sending the current adjustment coefficient to the measured instrument, so that when the measured instrument outputs the current measurement value next time, the measurement result is multiplied by the current adjustment coefficient to obtain a new current measurement value, and then the new current measurement value is output; jumping to the step of obtaining the current measurement value output by the measured instrument.

[0019] In the above-mentioned embodiment, when the error between the voltage measurement value and the voltage standard value is small, it is determined that the voltage measurement of the measured instrument is accurate. When the error between the voltage measurement value and the voltage standard value is large, the measured instrument can be calibrated continuously, and a new round of measurement can be performed using the calibrated measured instrument until the error between the voltage measurement value and the voltage standard value is within the first error allowable range. The above-mentioned process can continuously calibrate the measured instrument to ensure the accuracy of the measured instrument. When the error between the current measurement value and the current standard value is small, it is determined that the current measurement of the measured instrument is accurate. When the error between the current measurement value and the current standard value is large, the measured instrument can be calibrated continuously, and a new round of measurement can be performed using the calibrated measured instrument until the error between the current measurement value and the current standard value is within the second error allowable range. The above-mentioned process can continuously calibrate the measured instrument to ensure the accuracy of the measured instrument.

[0020] The embodiment of the present application also provides an electrical parameter calibration device, including: a calibration initial value unit, used to obtain a calibration initial value of the angle between the voltage and the current output by the measured measuring instrument, wherein the calibration initial value is an angle measurement value whose error with the angle standard value is within a first preset range; an initial calibration deviation value unit, used to respectively calculate an active power initial calibration value corresponding to the calibration initial value and an active power standard value corresponding to the angle standard value, and calculate the difference between the active power initial calibration value and the active power standard value, the difference being recorded as the initial calibration deviation value; an expected deviation value unit, used to determine the difference between the active power expected value corresponding to the angle expected value and the active power standard value; The difference between the standard value of the active power is recorded as the expected deviation value, wherein the error between the expected angle value and the standard angle value is within a second preset range; a phase correction value unit is used to calculate the ratio of the initial calibration deviation value to the expected deviation value, and the ratio is the phase correction value; a compensation coefficient calculation unit is used to obtain the phase compensation coefficient corresponding to the phase correction value according to the mapping relationship between the preset phase correction value and the phase compensation coefficient; a calibration final value unit is used to determine the calibration final value according to the phase compensation coefficient and the initial calibration value, wherein the calibration final value is the calibration final value of the angle between the voltage and the current.

[0021] In some embodiments, the calibration initial value unit is specifically used to obtain the angle measurement value of the angle between the voltage and current output by the measured measuring instrument; determine whether the error between the angle measurement value and the angle standard value is within the first preset range; if so, determine the angle measurement value as the calibration initial value.

[0022] In some embodiments, the calibration initial value unit is also used to determine that the angle measurement of the measured instrument is inaccurate if the error between the angle measurement value and the angle standard value exceeds the first preset range, and calculate the difference between the angle standard value and the angle measurement value, where the difference is an adjustment parameter; send the adjustment parameter to the measured instrument so that when the measured instrument outputs an angle measurement value next time, the measurement result is superimposed with the adjustment parameter to obtain a new angle measurement value, and then output the new angle measurement value; jump to step: obtain the angle measurement value of the angle between the voltage and current output by the measured instrument.

[0023] In some embodiments, the expected deviation value unit is specifically used to construct an expected angle value according to the standard angle value; calculate the expected active power value corresponding to the expected angle value; and calculate the difference between the expected active power value and the standard active power value.

[0024] In some embodiments, the calibration final value unit is specifically used to calculate the product of the phase compensation coefficient and the calibration initial value, and the product is the calibration final value.

[0025] In some embodiments, the apparatus further comprises:

[0026] A voltage calibration unit, used for calibrating the voltage measurement value obtained by the measured measuring instrument;

[0027] The current calibration unit is used to calibrate the current measurement value obtained by measuring the measured instrument.

[0028] In some embodiments, a voltage calibration unit is specifically used to obtain the voltage measurement value output by the measured instrument; determine whether the error between the voltage measurement value and the voltage standard value is within a first error allowable range; if so, determine that the voltage measurement of the measured instrument is accurate; if not, determine that the voltage measurement of the measured instrument is inaccurate, and calculate the ratio of the voltage standard value to the voltage measurement value, the ratio is a voltage adjustment coefficient, and send the voltage adjustment coefficient to the measured instrument, so that when the measured instrument outputs a voltage measurement value next time, the measurement result is multiplied by the voltage adjustment coefficient to obtain a new voltage measurement value, and then the new voltage measurement value is output; jump to step: obtain the voltage measurement value output by the measured instrument;

[0029] A current calibration unit is specifically used to obtain the current measurement value output by the measured instrument; determine whether the error between the current measurement value and the current standard value is within a second error allowable range; if so, determine that the current measurement of the measured instrument is accurate; if not, determine that the current measurement of the measured instrument is inaccurate, and calculate the ratio of the current standard value to the current measurement value, the ratio is the current adjustment coefficient, and send the current adjustment coefficient to the measured instrument, so that when the measured instrument outputs the current measurement value next time, the measurement result is multiplied by the current adjustment coefficient to obtain a new current measurement value, and then the new current measurement value is output; jump to step: obtain the current measurement value output by the measured instrument.

[0030] An embodiment of the present application also provides an electronic device, including a memory storing multiple instructions; the processor loads instructions from the memory to execute the steps in any electrical parameter calibration method provided in the embodiment of the present application.

[0031] An embodiment of the present application also provides a computer-readable storage medium, which stores multiple instructions, and the instructions are suitable for a processor to load to execute the steps in any electrical parameter calibration method provided in the embodiment of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0033] Figure 1a is a schematic diagram of a scenario of an electrical parameter calibration method provided in an embodiment of the present application;

[0034] Figure 1b It is a flow chart of the electrical parameter calibration method provided in the embodiment of the present application;

[0035] Figure 2 yes Figure 1b A flowchart of the specific steps of step 110;

[0036] Figure 3 It is a structural schematic diagram of an electrical parameter calibration device provided in an embodiment of the present application;

[0037] Figure 4 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0038] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0039] Embodiments of the present application provide an electrical parameter calibration method, device, electronic device, and storage medium.

[0040] The electrical parameter calibration device can be integrated into an electronic device, which can be a terminal, a server, or other devices. The terminal can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop, or a personal computer (PC), etc. The server can be a single server or a server cluster composed of multiple servers.

[0041] In some embodiments, the electrical parameter calibration device may also be integrated into multiple electronic devices. For example, the electrical parameter calibration device may be integrated into multiple servers, and the electrical parameter calibration method of the present application may be implemented by multiple servers.

[0042] In some embodiments, the server may also be implemented in the form of a terminal.

[0043] For example, see Figure 1a , the electronic device is Figure 1a The computer calibration platform 10 is connected to the standard source 30 via Ethernet, and the computer calibration platform 10 is also connected to the measured measuring instrument 20 via the RS48540 interface, and the standard source 30 is connected to the measured measuring instrument 20.

[0044] The computer calibration platform 10 can generate standard values ​​of electrical parameters and send the standard values ​​of the electrical parameters to the standard source 30 through control instructions, wherein the electrical parameters include current, voltage, and the angle between current and voltage.

[0045] The standard source 30 receives the control instruction sent by the computer calibration platform 10, generates and outputs the electrical parameter whose value is the standard value. The standard source 30 is a signal generating device, which can independently adjust the amplitude of voltage and current and the phase difference between voltage and current.

[0046] The measured instrument 20 collects the electrical parameters output by the standard source 30 and performs self-calibration on the electrical parameters output by the standard source 30 . The measured instrument 20 outputs the self-calibrated electrical parameters, and the output electrical parameters are recorded as the measured values ​​of the electrical parameters.

[0047] The computer calibration platform 10 can read the measured values ​​of the electrical parameters in real time. Optionally, the computer calibration platform 10 can read the measured values ​​of the electrical parameters through the RS485 40 interface after the output of the measured instrument 20 is stable. After obtaining the measured values ​​of the electrical parameters, the computer calibration platform 10 can compare the measured values ​​of the electrical parameters with the standard values ​​to determine whether the errors between the two are within the allowable error range. If it is within the allowable error range, it means that the self-calibration of the measured instrument 20 is accurate; if it is no longer within the allowable error range, it means that the self-calibration of the measured instrument 20 is inaccurate. The computer calibration platform 10 can generate an adjustment coefficient based on the measured value and the standard value, and send the adjustment coefficient to the measured instrument 20, so that the measured instrument 20 can correct its own self-calibration when outputting the measured values ​​of the electrical parameters in the next round, and perform the corrected self-calibration on the electrical parameters output by the standard source 30.

[0048] Subsequently, the computer calibration platform 10 can generate a new round of standard values ​​of electrical parameters and repeat the above process.

[0049] It should be noted that the serial numbers of the following embodiments are not intended to limit the preferred order of the embodiments.

[0050] In this embodiment, an electrical parameter calibration method is provided, which is executed by the above-mentioned computer calibration platform. Figure 1b As shown, the electrical parameter calibration method specifically includes the following steps 110 to 160:

[0051] 110. Obtain an initial calibration value of the angle between the voltage and the current output by the measured measuring instrument, wherein the initial calibration value is an angle measurement value whose error with the angle standard value is within a first preset range.

[0052] The angle between the voltage and the current can be calculated in the following manner: obtain the phase angle value of the voltage and the phase angle value of the current, and then subtract the two phase angle values ​​to obtain the angle between the voltage and the current.

[0053] The angle standard value is a preset angle value, which is generated by a computer calibration platform and is used as a comparison indicator with the angle measurement value, so that users can know whether the measurement accuracy of the measured measuring instrument is calibrated in place.

[0054] The first preset range is a preset angle range, for example, it can be an angle standard value of ±0.1°, or it can be other angle ranges, such as ±0.2°. The specific value of the angle range of the first preset range should not be understood as a limitation of the present application. For ease of description, it may be useful to take the first preset range being an angle standard value of ±0.1° as an example to illustrate the embodiment of the present application.

[0055] Optionally, in a specific implementation, step 110 may specifically include the following steps 111 to 115:

[0056] 111. Obtain an angle measurement value of an angle between a voltage and a current output by the measured measuring instrument.

[0057] 112. Determine whether the error between the angle measurement value and the angle standard value is within the first preset range. If so, execute step 113; if not, execute steps 114 to 115.

[0058] 113. Determine the angle measurement value as the calibration initial value.

[0059] When determining the initial calibration value, the angle measurement value obtained by the measured instrument can be obtained first, and the angle measurement value can be compared with the angle standard value to determine whether the error between the two is less than or equal to the first preset range. If it is already less than or equal to the first preset range, it means that the measured instrument does not need to be calibrated again; the angle measurement value meets the requirements of the initial calibration value, so it can be used as the initial calibration value. Due to the comparison of the angle value, it can be ensured that the error between the angle measurement value used as the initial calibration value and the angle standard value is within the first preset range, thereby ensuring the accuracy of the initial calibration value range.

[0060] 114. Determine that the angle measurement of the measured measuring instrument is inaccurate, and calculate the difference between the angle standard value and the angle measurement value, where the difference is an adjustment parameter.

[0061] 115. Send the adjustment parameter to the measured instrument, so that when the measured instrument outputs an angle measurement value next time, the measurement result is superimposed with the adjustment parameter to obtain a new angle measurement value, and then the new angle measurement value is output; and jump to step 111.

[0062] If the error between the angle measurement value and the angle standard value is greater than the first preset range, it means that the angle measurement of the measured instrument is inaccurate. Therefore, the measured instrument is calibrated: the adjustment parameter obtained by subtracting the angle standard value from the angle measurement value is calculated, and the adjustment parameter is sent to the measured instrument. The next time the measured instrument outputs the angle measurement value, the adjustment parameter is superimposed on the calculated measurement result to obtain a new calibrated angle measurement value. After obtaining the new angle measurement value, it can jump to step 111 so that the new angle measurement value can participate in a new round of comparison with the angle standard value until the error between the angle measurement value and the angle standard value is within the first preset range. Through the above process, the measured instrument can be continuously calibrated.

[0063] When the error between the angle measurement value and the angle standard value is large, the measuring instrument under test can be further calibrated, and a new round of measurement can be performed using the calibrated measuring instrument under test. Depending on whether the error between the measured value and the standard value is within the first preset range, it is decided to obtain the initial calibration value or further calibrate the measuring instrument under test. The above approach can ensure the accuracy of the measuring instrument under test as much as possible.

[0064] Optionally, when the computer calibration platform sends the adjustment parameters to the measured measuring instrument, it can do so by broadcasting calibration instructions, thereby achieving calibration of multiple measured measuring instruments.

[0065] Optionally, in a specific implementation manner, before step 110, the embodiment of the present application may further include the following steps 101 to 102:

[0066] 101. Calibrate the voltage measurement value obtained by the measured measuring instrument.

[0067] Optionally, step 101 specifically includes the following steps: obtaining the voltage measurement value output by the measured instrument under test; determining whether the error between the voltage measurement value and the voltage standard value is within a first allowable error range; if so, determining that the voltage measurement of the measured instrument under test is accurate; if not, determining that the voltage measurement of the measured instrument under test is inaccurate, and calculating the ratio of the voltage standard value to the voltage measurement value, the ratio being a voltage adjustment coefficient, and sending the voltage adjustment coefficient to the measured instrument under test, so that the next time the measured instrument under test outputs a voltage measurement value, the measurement result is multiplied by the voltage adjustment coefficient to obtain a new voltage measurement value, and then the new voltage measurement value is output; jump to step: obtaining the voltage measurement value output by the measured instrument under test.

[0068] When the error between the voltage measurement value and the voltage standard value is small, it is determined that the voltage measurement of the measured instrument is accurate. When the error between the voltage measurement value and the voltage standard value is large, the measured instrument can be calibrated further and a new round of measurement can be performed using the calibrated measured instrument until the error between the voltage measurement value and the voltage standard value is within the first allowable error range. The above process can continuously calibrate the measured instrument to ensure the accuracy of the measured instrument.

[0069] 102. Calibrate the current measurement value obtained by the measured measuring instrument.

[0070] Optionally, step 102 specifically includes the following steps: obtaining the current measurement value output by the measured instrument under test; determining whether the error between the current measurement value and the current standard value is within a second allowable error range; if so, determining that the current measurement of the measured instrument under test is accurate; if not, determining that the current measurement of the measured instrument under test is inaccurate, and calculating the ratio of the current standard value to the current measurement value, the ratio being a current adjustment coefficient, and sending the current adjustment coefficient to the measured instrument under test, so that the next time the measured instrument under test outputs a current measurement value, the measurement result is multiplied by the current adjustment coefficient to obtain a new current measurement value, and then the new current measurement value is output; jump to step: obtaining the current measurement value output by the measured instrument under test.

[0071] When the error between the current measurement value and the current standard value is small, it is determined that the current measurement of the measured instrument is accurate. When the error between the current measurement value and the current standard value is large, the measured instrument can be calibrated further and a new round of measurement can be performed using the calibrated measured instrument until the error between the current measurement value and the current standard value is within the second allowable error range. The above process can continuously calibrate the measured instrument to ensure the accuracy of the measured instrument.

[0072] In the above specific implementation, before calibrating the angle between voltage and current, the gain measurement capability of the measured instrument can also be calibrated. The segmented calibration can effectively reduce the errors caused by nonlinear parameters such as current and power, and further improve the accuracy of calibration of the measured instrument.

[0073] 120. Calculate the active power initial calibration value corresponding to the initial calibration value and the active power standard value corresponding to the angle standard value respectively, and calculate the difference between the active power initial calibration value and the active power standard value, and record the difference as the initial calibration deviation value.

[0074] The calculation formula for active power is:

[0075]

[0076] Among them, P is active power, U is voltage standard value, I is current standard value, is the angle between voltage and current.

[0077] Initial calibration value The standard value of the angle The error between the angle measurement values ​​within the first preset range is set as the standard angle value. is 60°, the first preset range is the standard angle value ±0.1°, then the initial calibration value It can be any value within the range of 59.9° to 60.1°.

[0078] The voltage standard value U, current standard value I and calibration initial value Substituting into the above calculation formula (1), the initial calibration value of active power can be obtained:

[0079] The voltage standard value U, current standard value I and angle standard value Substituting into the above calculation formula (1), the initial calibration value of active power can be obtained:

[0080] Then calculate the difference between the initial calibration value of active power and the standard value of active power, and record the difference as the initial calibration deviation value: ΔP'=P 初 —P 标 .

[0081] 130. Determine a difference between an expected active power value corresponding to the expected angle value and the standard active power value, and record the difference as an expected deviation value.

[0082] The error between the expected angle value and the standard angle value is within a second preset range, and the second preset range is smaller than the first preset range.

[0083] The second preset range is a range smaller than the first preset range. For example, the second preset range can be the angle standard value ±0.01°, or other values, such as the angle standard value ±0.02°. Under the premise that the second preset range is smaller than the first preset range, the size of its specific value should not be understood as a limitation on the present application. It is useful to take the second preset range being the angle standard value ±0.01° as an example for explanation.

[0084] Optionally, step 130 may specifically include the following steps 131 to 133:

[0085] 131. Construct an expected angle value based on the standard angle value.

[0086] The expected angle value is an angle value whose error with the standard angle value is within the second preset range. It can be any value in the range of 59.99° to 60.01°.

[0087] 132. Calculate an expected value of active power corresponding to the expected value of the angle.

[0088] According to formula (1), the expected value of active power is calculated as:

[0089] 133. Calculate the difference between the expected active power value and the standard active power value.

[0090] Then calculate the difference between the expected value of active power and the standard value of active power, and record the difference as the expected deviation value: ΔP" = P 期 —P 标 .

[0091] An expected angle value with a smaller error than the standard angle value can be constructed, and the expected active power value and the difference between the expected active power value and the standard active power value can be calculated step by step using the expected angle value, and used to determine the final calibration value. The introduction of the expected angle value with a smaller error is conducive to improving the accuracy of the angle calibration value.

[0092] 140. Calculate a ratio of the initial calibration deviation value to the expected deviation value, where the ratio is a phase correction value.

[0093] The phase correction value Q is calculated according to the formula: Q = ΔP' / ΔP".

[0094] 150. According to a mapping relationship between a preset phase correction value and a phase compensation coefficient, obtain a phase compensation coefficient corresponding to the phase correction value.

[0095] The mapping relationship between the phase correction value and the phase compensation coefficient can be set manually by the staff or generated by an algorithm set by the staff. The specific method of obtaining the mapping relationship between the phase correction value and the phase compensation coefficient should not be understood as a limitation to the present application.

[0096] The phase compensation coefficient corresponding to the specific value Q of the phase correction value can be obtained according to the calculated specific value Q of the phase correction value and the mapping relationship between the phase correction value and the phase compensation coefficient.

[0097] 160. Determine a final calibration value according to the phase compensation coefficient and the initial calibration value.

[0098] The final calibration value is a final calibration value of the angle between the voltage and the current.

[0099] Step 160 may specifically include: calculating the product of the phase compensation coefficient and the initial calibration value, wherein the product is the final calibration value.

[0100] There is a mapping relationship between the phase compensation coefficient and the phase correction value, and the phase correction value is obtained by the ratio between the initial calibration deviation value and the expected deviation value. The error between the expected angle value of the expected deviation value and the angle standard value is calculated to be within a second preset range; due to the introduction of the expected angle value with a smaller error, the accuracy of the angle calibration value is improved.

[0101] In an embodiment of the present application, when calibrating the measured measuring instrument, gain calibration can be performed first, and then phase calibration can be performed. Among them, gain calibration is to calibrate the current and voltage in the electrical parameters, and phase calibration is to calibrate the angle between the current and voltage in the electrical parameters. And during calibration, gain calibration and phase calibration can also be performed in the order of high current, medium current, and low current, wherein the high current can be 5A, the medium current can be 2A, and the low current can be 0.5A.

[0102] The standard values ​​of the electrical parameters generated by the computer calibration platform 1 can be set by the staff. Specifically, when performing the electrical parameter calibration method, the measuring instrument under test can be calibrated according to the following standard value setting sequence:

[0103] Set the standard value to: voltage standard value 220V, current standard value 5A, angle between current and voltage Perform gain calibration on the measured instrument;

[0104] Set the standard value to: voltage standard value 220V, current standard value 5A, angle between current and voltage Perform phase calibration on the measured instrument;

[0105] Set the standard value to: voltage standard value 220V, current standard value 2A, angle between current and voltage Perform gain calibration on the measured instrument;

[0106] Set the standard value to: voltage standard value 220V, current standard value 2A, angle between current and voltage Perform phase calibration on the measured instrument;

[0107] Set the standard values ​​to: voltage standard value 220V, current standard value 0.5A, angle between current and voltage Perform gain calibration on the measured instrument;

[0108] Set the standard values ​​to: voltage standard value 220V, current standard value 0.5A, angle between current and voltage Perform phase calibration on the measuring instrument under test.

[0109] The electrical parameter calibration method provided in the embodiment of the present application can first determine the initial calibration value of the error and the angle standard value within the first preset range, and then respectively calculate the active power values ​​corresponding to the initial calibration value and the angle standard value: the active power initial calibration value and the active power standard value, and calculate the difference between the two to obtain the initial calibration deviation value. Determine the active power corresponding to the expected value of the angle: the expected value of active power, and calculate the difference between it and the active power standard value to obtain the expected deviation value. Obtain the ratio between the two deviation values, and obtain the phase compensation coefficient based on the mapping relationship between the ratio and the phase compensation coefficient, and finally obtain the final calibration value based on the phase compensation coefficient and the initial calibration value. Since the expected angle value with a smaller error is applied when determining the phase compensation coefficient, the error between the final calibration value and the angle standard value can be made smaller than the error between the initial calibration value and the angle standard value, thereby improving the accuracy of the angle calibration value.

[0110] After the calibration of the electrical parameter calibration method provided in the embodiment of the present application is completed, the computer calibration platform can send a test instruction to the standard source under the control of the staff, so that the standard source can output several different sets of electrical parameters of voltage, current, frequency and the angle between voltage and current, so that the measured instrument can be measured. The computer calibration platform then reads the measured value of the measured instrument and checks whether the deviation is within the allowable range. If it is within the allowable range, the calibration is completed; if it is not within the allowable range, it is determined that the calibration of the measured instrument has failed, and the staff is required to check the cause and recalibrate.

[0111] In order to better implement the above method, the embodiment of the present application also provides an electrical parameter calibration device, which can be integrated in an electronic device, and the electronic device can be a terminal, a server, etc. Among them, the terminal can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop, a personal computer, etc.; the server can be a single server or a server cluster composed of multiple servers.

[0112] For example, in this embodiment, the method of the embodiment of the present application is described in detail by taking the electrical parameter calibration device specifically integrated into an electronic device as an example.

[0113] For example, Figure 3 As shown, the electrical parameter calibration device may include:

[0114] The calibration initial value unit 301 is used to obtain a calibration initial value of the angle between the voltage and the current output by the measured measuring instrument, wherein the calibration initial value is an angle measurement value whose error with the angle standard value is within a first preset range.

[0115] The initial calibration deviation value unit 302 is used to respectively calculate the active power initial calibration value corresponding to the calibration initial value and the active power standard value corresponding to the angle standard value, and calculate the difference between the active power initial calibration value and the active power standard value, which is recorded as the initial calibration deviation value.

[0116] The expected deviation value unit 303 is used to determine the difference between the expected active power value corresponding to the expected angle value and the active power standard value, and the difference is recorded as the expected deviation value, wherein the error between the expected angle value and the angle standard value is within a second preset range.

[0117] The phase correction value unit 304 is used to calculate the ratio of the initial calibration deviation value to the expected deviation value, and the ratio is the phase correction value.

[0118] The compensation coefficient calculation unit 305 is used to obtain the phase compensation coefficient corresponding to the phase correction value according to the mapping relationship between the preset phase correction value and the phase compensation coefficient.

[0119] The calibration final value unit 306 is used to determine a calibration final value according to the phase compensation coefficient and the calibration initial value, wherein the calibration final value is a calibration final value of the angle between the voltage and the current.

[0120] In some embodiments, the calibration initial value unit 301 is specifically used to obtain the angle measurement value of the angle between the voltage and current output by the measured measuring instrument; determine whether the error between the angle measurement value and the angle standard value is within the first preset range; if so, determine the angle measurement value as the calibration initial value.

[0121] In some embodiments, the calibration initial value unit 301 is also used to determine that the angle measurement of the measured instrument is inaccurate if the error between the angle measurement value and the angle standard value exceeds the first preset range, and calculate the difference between the angle standard value and the angle measurement value, which difference is an adjustment parameter; send the adjustment parameter to the measured instrument so that when the measured instrument outputs an angle measurement value next time, the measurement result is superimposed with the adjustment parameter to obtain a new angle measurement value, and then output the new angle measurement value; jump to step: obtain the angle measurement value of the angle between the voltage and current output by the measured instrument.

[0122] In some embodiments, the expected deviation value unit 303 is specifically used to construct an expected angle value according to the standard angle value; calculate the expected active power value corresponding to the expected angle value; and calculate the difference between the expected active power value and the standard active power value.

[0123] In some embodiments, the calibration final value unit 306 is specifically configured to calculate the product of the phase compensation coefficient and the calibration initial value, where the product is the calibration final value.

[0124] In some embodiments, the apparatus further comprises:

[0125] The voltage calibration unit is used to calibrate the voltage measurement value obtained by measuring the measured instrument.

[0126] The current calibration unit is used to calibrate the current measurement value obtained by measuring the measured instrument.

[0127] In some embodiments, a voltage calibration unit is specifically used to obtain the voltage measurement value output by the measured instrument; determine whether the error between the voltage measurement value and the voltage standard value is within a first error allowable range; if so, determine that the voltage measurement of the measured instrument is accurate; if not, determine that the voltage measurement of the measured instrument is inaccurate, and calculate the ratio of the voltage standard value to the voltage measurement value, the ratio is a voltage adjustment coefficient, and send the voltage adjustment coefficient to the measured instrument, so that when the measured instrument outputs a voltage measurement value next time, the measurement result is multiplied by the voltage adjustment coefficient to obtain a new voltage measurement value, and then the new voltage measurement value is output; jump to step: obtain the voltage measurement value output by the measured instrument;

[0128] A current calibration unit is specifically used to obtain the current measurement value output by the measured instrument; determine whether the error between the current measurement value and the current standard value is within a second error allowable range; if so, determine that the current measurement of the measured instrument is accurate; if not, determine that the current measurement of the measured instrument is inaccurate, and calculate the ratio of the current standard value to the current measurement value, the ratio is the current adjustment coefficient, and send the current adjustment coefficient to the measured instrument, so that when the measured instrument outputs the current measurement value next time, the measurement result is multiplied by the current adjustment coefficient to obtain a new current measurement value, and then the new current measurement value is output; jump to step: obtain the current measurement value output by the measured instrument.

[0129] In specific implementation, the above units can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units can refer to the previous method embodiments, which will not be repeated here.

[0130] The embodiment of the present application also provides an electronic device, which can be a terminal, a server, etc. The terminal can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop, a personal computer, etc. The server can be a single server or a server cluster composed of multiple servers, etc.

[0131] In some embodiments, the electrical parameter calibration device may also be integrated into multiple electronic devices. For example, the electrical parameter calibration device may be integrated into multiple servers, and the electrical parameter calibration method of the present application may be implemented by multiple servers.

[0132] In this embodiment, the electronic device of this embodiment is taken as an example to be a computer calibration platform for detailed description, for example, Figure 4 As shown, it shows a schematic diagram of the structure of the electronic device involved in the embodiment of the present application, specifically:

[0133] The electronic device may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a power supply 403, an input module 404, and a communication module 405. Those skilled in the art will appreciate that Figure 4 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0134] The processor 401 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 402 and calling data stored in the memory 402, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. In some embodiments, the processor 401 may include one or more processing cores; in some embodiments, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 401.

[0135] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.

[0136] The electronic device also includes a power supply 403 for supplying power to various components. In some embodiments, the power supply 403 can be logically connected to the processor 401 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 403 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.

[0137] The electronic device may further include an input module 404, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0138] The electronic device may further include a communication module 405. In some embodiments, the communication module 405 may include a wireless module. The electronic device may perform short-range wireless transmission through the wireless module of the communication module 405, thereby providing the user with wireless broadband Internet access. For example, the communication module 405 may be used to help the user send and receive emails, browse web pages, and access streaming media.

[0139] Although not shown, the electronic device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 401 in the electronic device will load the executable files corresponding to the processes of one or more application programs into the memory 402 according to the following instructions, and the processor 401 will run the application programs stored in the memory 402, thereby realizing various functions, as follows:

[0140] Obtain an initial calibration value of the angle between the voltage and current output by the measured measuring instrument, wherein the initial calibration value is an angle measurement value whose error with the angle standard value is within a first preset range; respectively calculate an initial calibration value of active power corresponding to the initial calibration value and an active power standard value corresponding to the angle standard value, and calculate the difference between the initial calibration value of active power and the active power standard value, the difference being recorded as an initial calibration deviation value; determine the difference between an expected active power value corresponding to an expected angle value and the active power standard value, the difference being recorded as an expected deviation value, wherein the error between the expected angle value and the angle standard value is within a second preset range, the second preset range being smaller than the first preset range; calculate a ratio of the initial calibration deviation value to the expected deviation value, the ratio being a phase correction value; obtain a phase compensation coefficient corresponding to the phase correction value according to a mapping relationship between a preset phase correction value and a phase compensation coefficient; determine a final calibration value according to the phase compensation coefficient and the initial calibration value, wherein the final calibration value is a final calibration value of the angle between the voltage and the current.

[0141] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0142] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0143] To this end, an embodiment of the present application provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any one of the electrical parameter calibration methods provided in the embodiments of the present application. For example, the instructions can execute the following steps:

[0144] Obtain an initial calibration value of the angle between the voltage and current output by the measured measuring instrument, wherein the initial calibration value is an angle measurement value whose error with the angle standard value is within a first preset range; respectively calculate an initial calibration value of active power corresponding to the initial calibration value and an active power standard value corresponding to the angle standard value, and calculate the difference between the initial calibration value of active power and the active power standard value, the difference being recorded as an initial calibration deviation value; determine the difference between an expected active power value corresponding to an expected angle value and the active power standard value, the difference being recorded as an expected deviation value, wherein the error between the expected angle value and the angle standard value is within a second preset range, the second preset range being smaller than the first preset range; calculate a ratio of the initial calibration deviation value to the expected deviation value, the ratio being a phase correction value; obtain a phase compensation coefficient corresponding to the phase correction value according to a mapping relationship between a preset phase correction value and a phase compensation coefficient; determine a final calibration value according to the phase compensation coefficient and the initial calibration value, wherein the final calibration value is a final calibration value of the angle between the voltage and the current.

[0145] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0146] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method provided in various optional implementations of the first aspect provided in the above-mentioned embodiments.

[0147] Since the instructions stored in the storage medium can execute the steps in any electrical parameter calibration method provided in the embodiments of the present application, the beneficial effects that can be achieved by any electrical parameter calibration method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0148] The above is a detailed introduction to an electrical parameter calibration method, device, electronic device and computer-readable storage medium provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, based on the ideas of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. An electrical parameter calibration method, characterized in that: The method comprises: Obtaining an initial calibration value of the angle between the voltage and the current output by the measured measuring instrument, and calibrating the angle measurement value of the angle between the voltage and the current measured by the measured measuring instrument to the initial calibration value, including: Obtaining an angle measurement value of the angle between the voltage and current output by the measured measuring instrument; Determine whether the error between the angle measurement value and the angle standard value is within a first preset range; If yes, the angle measurement value is determined as the calibration initial value; Wherein, the calibration initial value is an angle measurement value whose error with the angle standard value is within a first preset range; Respectively calculating the active power initial calibration value corresponding to the calibration initial value and the active power standard value corresponding to the angle standard value, and calculating the difference between the active power initial calibration value and the active power standard value, the difference being recorded as the initial calibration deviation value; Determine a difference between an expected active power value corresponding to an expected angle value and the standard active power value, the difference being recorded as an expected deviation value, wherein an error between the expected angle value and the standard angle value is within a second preset range, and the second preset range is smaller than the first preset range; Calculating a ratio of the initial calibration deviation value to the expected deviation value, the ratio being a phase correction value; According to a mapping relationship between a preset phase correction value and a phase compensation coefficient, a phase compensation coefficient corresponding to the phase correction value is obtained; A final calibration value is determined according to the phase compensation coefficient and the initial calibration value, wherein the final calibration value is a final calibration value of the angle between the voltage and the current.

2. The method according to claim 1, characterized in that After determining whether the error between the angle measurement value and the angle standard value is within the first preset range, the method further includes: If the error between the angle measurement value and the angle standard value exceeds the first preset range, it is determined that the angle measurement of the measured measuring instrument is inaccurate, and the difference between the angle standard value and the angle measurement value is calculated, and the difference is the adjustment parameter; Sending the adjustment parameter to the measured instrument, so that when the measured instrument outputs an angle measurement value next time, the measurement result is superimposed with the adjustment parameter to obtain a new angle measurement value, and then the new angle measurement value is output; Jump to step: obtain the angle measurement value of the angle between the voltage and current output by the measured measuring instrument.

3. The method according to claim 1, characterized in that The determining of the difference between the expected active power value corresponding to the expected angle value and the standard active power value includes: According to the standard angle value, construct an expected angle value; Calculating the expected value of active power corresponding to the expected value of the angle; The difference between the expected active power value and the standard active power value is calculated.

4. The method according to claim 1, characterized in that The step of determining a final calibration value according to the phase compensation coefficient and the initial calibration value comprises: The product of the phase compensation coefficient and the initial calibration value is calculated, and the product is the final calibration value.

5. The method according to claim 1, characterized in that Before calibrating the angle measurement value of the angle between the voltage and the current measured by the measured measuring instrument to the calibration initial value, the method further includes: calibrating the voltage measurement value obtained by the measured measuring instrument, and The current measurement value obtained by the measured measuring instrument is calibrated.

6. The method according to claim 5, characterized in that The step of calibrating the voltage measurement value obtained by measuring the measured instrument comprises: Obtaining the voltage measurement value output by the measured measuring instrument; Determine whether the error between the voltage measurement value and the voltage standard value is within a first error allowable range; If so, it is determined that the voltage measurement of the measured measuring instrument is accurate; If not, it is determined that the voltage measurement of the measured instrument is inaccurate, and the ratio of the voltage standard value to the voltage measurement value is calculated, the ratio is the voltage adjustment coefficient, and the voltage adjustment coefficient is sent to the measured instrument, so that when the measured instrument outputs the voltage measurement value next time, the measurement result is multiplied by the voltage adjustment coefficient to obtain a new voltage measurement value, and then the new voltage measurement value is output; Jump to step: obtain the voltage measurement value output by the measured measuring instrument; The calibrating the current measurement value obtained by the measured measuring instrument comprises: Obtaining the current measurement value output by the measured measuring instrument; Determine whether the error between the current measurement value and the current standard value is within a second error allowable range; If so, it is determined that the current measurement of the measured measuring instrument is accurate; If not, it is determined that the current measurement of the measured instrument is inaccurate, and the ratio of the current standard value to the current measurement value is calculated, the ratio is the current adjustment coefficient, and the current adjustment coefficient is sent to the measured instrument, so that when the measured instrument outputs the current measurement value next time, the measurement result is multiplied by the current adjustment coefficient to obtain a new current measurement value, and then the new current measurement value is output; Jump to step: obtain the current measurement value output by the measured measuring instrument.

7. An electrical parameter calibration device, characterized in that: include: A calibration initial value unit, used to obtain a calibration initial value of the angle between the voltage and the current output by the measured measuring instrument, wherein the calibration initial value is an angle measurement value whose error with the angle standard value is within a first preset range; An initial calibration deviation value unit is used to respectively calculate the active power initial calibration value corresponding to the initial calibration value and the active power standard value corresponding to the angle standard value, and calculate the difference between the active power initial calibration value and the active power standard value, and the difference is recorded as the initial calibration deviation value; An expected deviation value unit, used to determine the difference between the expected active power value corresponding to the expected angle value and the active power standard value, the difference being recorded as the expected deviation value, wherein the error between the expected angle value and the angle standard value is within a second preset range; A phase correction value unit, used to calculate the ratio of the initial calibration deviation value to the expected deviation value, where the ratio is the phase correction value; A compensation coefficient calculation unit, used to obtain a phase compensation coefficient corresponding to the phase correction value according to a mapping relationship between a preset phase correction value and a phase compensation coefficient; A calibration final value unit is used to determine a calibration final value according to the phase compensation coefficient and the calibration initial value, wherein the calibration final value is a calibration final value of the angle between the voltage and the current.

8. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to execute the steps in the electrical parameter calibration method as claimed in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps in the electrical parameter calibration method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method for batch automatic terminal calibration

    CN101464502A

  • Method for collecting electric energy errors of electric energy meter and device thereof

    CN102608559A