Parameter calibration method, inverter calibration method, inverter, equipment and medium

By calculating the mapping relationship between the active power on the grid side of the inverter and the measured current sensor on the inverter side, the inverter current calibration is achieved, which solves the problem of high inverter calibration in the prior art and improves efficiency and accuracy .

CN118980980APending Publication Date: 2024-11-19XIAMEN AMPACK TECH LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411057082.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2024-11-19

AI Technical Summary

Technical Problem

Existing inverter calibration methods require opening the inverter housing, increasing calibration complexity and reducing productivity.

Method used

By obtaining the actual measured current of the active power on the grid side and the inverter side current sensor, the target current is calculated using the functional relationship of power, voltage and current, and the mapping relationship between the actual measured current and the target current is determined. As a calibration function, the inverter current is realized calibration without opening the inverter housing.

Benefits of technology

Reduces the complexity of inverter calibration, improves productivity, accuracy and accuracy, and simplifies the calibration process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118980980A_ABST
    Figure CN118980980A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a parameter calibration method, an inverter calibration method, an inverter, equipment and a medium, and relates to the technical field of inverters.The parameter calibration method comprises the steps that power grid side active power measured by a power meter and actual measurement current of a current sensor are obtained, the current sensor is arranged on the inverter side, and the actual measurement current of the current sensor is obtained; the current sensor is configured to measure the actual current of the inverter side; obtaining the voltage of the inversion side, and calculating the target current of the inversion side based on the function relation of the power, the voltage and the current by taking the active power of the power grid side as the active power of the inversion side; and determining a mapping relation between the actually measured current and the target current as a calibration function for calibrating the actually measured current of the current sensor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of inverters, and in particular to a parameter calibration method, an inverter calibration method, an inverter, a device and a medium. Background Art

[0002] An inverter is a converter that converts DC power into AC power and can be widely used in different scenarios. Before the inverter leaves the factory, the relevant parameters of the inverter need to be calibrated to ensure that the inverter can be maintained based on the relevant parameters obtained during the subsequent use of the inverter.

[0003] For example, a current sensor is provided on the inverter side of the inverter, and the current on the inverter side can be measured by the current sensor. In order to calibrate the current measured by the current sensor, in the related art, it is necessary to open the casing of the inverter, connect the power meter to the inverter side, and then, based on the measurement results of the power meter and the current sensor, obtain the calibration parameters for calibrating the measurement results of the current sensor. However, this method requires opening the casing of the inverter to be completed, which will increase the complexity of the calibration and reduce production efficiency. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a parameter calibration method, an inverter calibration method, an inverter, a device and a medium. The specific technical solution is as follows:

[0005] The first aspect of the present application provides a parameter calibration method, which includes: obtaining the active power on the grid side measured by a power meter and the measured current of a current sensor, wherein the current sensor is arranged on the inverter side and is configured to measure the actual current on the inverter side; obtaining the voltage on the inverter side, taking the active power on the grid side as the active power on the inverter side, and calculating the target current on the inverter side based on the functional relationship among power, voltage and current; determining a mapping relationship between the measured current and the target current as a calibration function for calibrating the measured current of the current sensor.

[0006] Since the active power on the grid side is equivalent to the active power on the inverter side, the target current on the inverter side is calculated using the measured active power on the grid side, and the target current is used as the real current on the inverter side. Accordingly, the measured current of the current sensor can be calibrated by using a calibration function that uses the relationship between the real current and the measured current to represent the mapping relationship between the measured current and the target current. In this way, there is no need to open the casing of the inverter. A power meter is connected to the output end of the inverter to measure the active power on the grid side, and the current calibration of the inverter side of the inverter can be achieved, which can reduce the complexity of the calibration and improve production efficiency.

[0007] In one or more embodiments of the present application, determining the mapping relationship between the measured current and the target current as a calibration function for calibrating the measured current of the current sensor includes: determining the mapping relationship between the effective value of the measured current and the effective value of the target current as a calibration function for calibrating the measured current of the current sensor.

[0008] Based on the effective value of the current, the difference between the measured current and the target current can be accurately reflected, thereby improving the accuracy of the calibration function.

[0009] In one or more embodiments of the present application, the grid-side active power includes: multiple active powers measured by the power meter when the inverter is in different multiple working states; the measured current includes: multiple currents measured by the current sensor when the inverter is in the multiple working states; using the grid-side active power as the active power of the inverter side, and calculating the target current of the inverter side based on the functional relationship of power, voltage, and current, including: using the grid-side active power measured by the power meter when the inverter is in each working state as the active power of the inverter side in the working state, combined with the voltage of the inverter side, according to the functional relationship of power, voltage, and current, calculate the target current of the inverter side in the working state; determining the mapping relationship between the effective value of the measured current and the effective value of the target current as a calibration function for calibrating the measured current of the current sensor, including: determining the mapping relationship between the effective value of the target current of the inverter side in the multiple working states and the effective value of the measured current as a calibration function for calibrating the measured current of the current sensor.

[0010] Combining the measured current and the target current obtained under different working conditions of the inverter can further improve the accuracy of the determined calibration function.

[0011] In one or more embodiments of the present application, the inverter side includes a capacitor, which is connected between the inverter side and the grid side; the method also includes: obtaining the reactive power error range of the grid side, and the reactive power of the grid side measured by the power meter; determining the relationship between the reactive power of the grid side and the reactive power error range, and obtaining the calibration value of the reactive power of the capacitor.

[0012] On the basis of ensuring that the reactive power error range on the grid side is met, the calibration value for the reactive power of the capacitor can be determined, and this can also be done without opening the inverter casing, which can reduce the complexity of inverter calibration and improve production efficiency.

[0013] In one or more embodiments of the present application, determining the relationship between the grid-side reactive power and the reactive power error range to obtain the calibration value of the reactive power of the capacitor includes: in response to the grid-side reactive power being greater than the maximum value of the reactive power error range, determining the difference between the grid-side reactive power and the maximum value of the reactive power error range as the calibration value of the reactive power of the capacitor; and / or, in response to the grid-side reactive power being less than the minimum value of the reactive power error range, determining the difference between the grid-side reactive power and the minimum value of the reactive power error range as the calibration value of the reactive power of the capacitor.

[0014] Based on the difference between the maximum and minimum values ​​of the reactive power on the grid side and the reactive power error range, the reactive power calibration value of the capacitor under different conditions can be accurately determined on the basis of satisfying the reactive power error range.

[0015] In one or more embodiments of the present application, obtaining the reactive power error range on the grid side includes: based on the rated active power of the inverter, the operating state of the inverter, the power factor, and the power factor fluctuation range, respectively calculating the maximum value of the reactive power error range and the minimum value of the reactive power error range on the grid side to obtain the reactive power error range on the grid side.

[0016] The reactive power error range is determined based on the power factor and the power factor fluctuation range, so that the determined power factor on the grid side can meet regulatory requirements or meet the working needs of the inverter and the grid, and is accurate to the specified power factor fluctuation range.

[0017] The second aspect of the present application provides a calibration method for an inverter, the method comprising: when the inverter is connected to the grid, obtaining the measured current of a current sensor, the current sensor being arranged on the inverter side and configured to measure the actual current on the inverter side; based on a calibration function, calibrating the measured current of the current sensor to obtain a real current; the calibration function is obtained according to the method described in any one of the first aspects above.

[0018] Since the process of obtaining the calibration function can be realized without opening the casing of the inverter, calibrating the measured current of the current sensor based on the calibration function can reduce the complexity of the calibration and improve the production efficiency.

[0019] In one or more embodiments of the present application, after calibrating the measured current of the current sensor based on the calibration function to obtain the real current, the method further includes: acquiring the voltage on the inverter side and the real current, and calculating the active power on the inverter side based on the functional relationship among power, voltage, and current; and / or lagging the phase of the real current by 90°, and calculating the reactive power on the inverter side based on the lagging current and the voltage on the inverter side, and the functional relationship among power, voltage, and current.

[0020] On the basis of calibrating the current on the inverter side, the active power and reactive power on the inverter side can also be effectively calibrated.

[0021] In one or more embodiments of the present application, the inverter side includes a capacitor, which is connected between the inverter side and the grid side; the method also includes: when the inverter is grid-connected, based on the voltage of the capacitor, the functional relationship between the voltage and current of the capacitor, and the functional relationship between power, voltage, and current, calculating the reactive power of the capacitor after calibration according to the calibration value of the reactive power of the capacitor; the calibration value of the reactive power of the capacitor is obtained by the step of determining the calibration value of the reactive power of the capacitor in the method described in any one of the first aspects above.

[0022] In this way, the reactive power of the capacitor can be calibrated on the basis of ensuring that the reactive power error range on the grid side is met.

[0023] The third aspect of the present application provides an inverter, which includes: an inverter inductor, a capacitor, a current sensor and a processor, wherein the inverter inductor, the capacitor and the current sensor are connected in series; the processor is used to execute the method described in any one of the first and second aspects above; the current sensor is configured to measure the actual current on the inverter side to which the inverter inductor belongs.

[0024] In one or more embodiments of the present application, the inverter includes a housing; the inverter inductor, the capacitor, the current sensor, and the processor are all located inside the housing.

[0025] The fourth aspect of the present application provides a parameter calibration device, which includes: a first acquisition module, configured to obtain the active power on the grid side measured by a power meter, obtain the voltage on the inverter side and the measured current of the current sensor, the current sensor is arranged on the inverter side and is configured to measure the actual current on the inverter side; a calculation module, configured to use the active power on the grid side as the active power on the inverter side, and calculate the target current on the inverter side based on the functional relationship among power, voltage and current; a first determination module, configured to determine the mapping relationship between the measured current and the target current as a calibration function for calibrating the measured current of the current sensor.

[0026] Since the active power on the grid side is equivalent to the active power on the inverter side, the target current on the inverter side is calculated using the measured active power on the grid side, and the target current is used as the real current on the inverter side. Accordingly, the measured current of the current sensor can be calibrated by using a calibration function that uses the relationship between the real current and the measured current to represent the mapping relationship between the measured current and the target current. In this way, there is no need to open the casing of the inverter, and a power meter is connected to the output end of the inverter to measure the active power on the grid side, so that the current calibration of the inverter side of the inverter can be achieved, which can reduce the complexity of the calibration and improve production efficiency. It can be understood that the current on the inverter side of the inverter is the current flowing through the inverter inductor.

[0027] In one or more embodiments of the present application, the first determination module is configured to determine a mapping relationship between the effective value of the measured current and the effective value of the target current as a calibration function for calibrating the measured current of the current sensor.

[0028] Based on the effective value of the current, the difference between the measured current and the target current can be accurately reflected, thereby improving the accuracy of the calibration function.

[0029] In one or more embodiments of the present application, the grid-side active power includes: multiple active powers measured by the power meter when the inverter is in different multiple working states; the measured current includes: multiple currents measured by the current sensor when the inverter is in the multiple working states; the calculation module is configured to use the grid-side active power measured by the power meter when the inverter is in each working state as the active power of the inverter side in the working state, and combine the voltage of the inverter side to calculate the target current of the inverter side in the working state according to the functional relationship of power, voltage and current; the first determination module is configured to determine the mapping relationship between the effective value of the target current of the inverter side in the multiple working states and the effective value of the measured current, as a calibration function for calibrating the measured current of the current sensor.

[0030] Combining the measured current and the target current obtained under different working conditions of the inverter can further improve the accuracy of the determined calibration function.

[0031] In one or more embodiments of the present application, the inverter side includes a capacitor, which is connected between the inverter side and the grid side; the calculation module is configured to calculate the reactive power error range of the grid side, and the device also includes: a second acquisition module, configured to obtain the reactive power error range, and the reactive power of the grid side measured by the power meter; a second determination module, configured to determine the relationship between the reactive power of the grid side and the reactive power error range, and obtain a calibrated value of the reactive power of the capacitor.

[0032] On the basis of ensuring that the reactive power error range on the grid side is met, the calibration value for the reactive power of the capacitor can be determined, and this can also be done without opening the inverter casing, which can reduce the complexity of inverter calibration and improve production efficiency.

[0033] In one or more embodiments of the present application, the second determination module is configured to determine, in response to the reactive power on the grid side being greater than the maximum value of the reactive power error range, the difference between the reactive power on the grid side and the maximum value of the reactive power error range as a calibration value of the reactive power of the capacitor; and / or, in response to the reactive power on the grid side being less than the minimum value of the reactive power error range, determine the difference between the reactive power on the grid side and the minimum value of the reactive power error range as a calibration value of the reactive power of the capacitor.

[0034] Based on the difference between the maximum and minimum values ​​of the reactive power on the grid side and the reactive power error range, the reactive power calibration value of the capacitor under different conditions can be accurately determined on the basis of satisfying the reactive power error range.

[0035] In one or more embodiments of the present application, the calculation module is configured to calculate the maximum value of the reactive power error range and the minimum value of the reactive power error range on the grid side based on the rated active power of the inverter, the operating state of the inverter, the power factor, and the power factor fluctuation range, so as to obtain the reactive power error range on the grid side.

[0036] The reactive power error range is determined based on the power factor and the power factor fluctuation range, so that the determined power factor on the grid side can meet regulatory requirements or meet the working needs of the inverter and the grid, and is accurate to the specified power factor fluctuation range.

[0037] A fifth aspect of the present application provides a calibration device for an inverter, the device comprising: a first acquisition module, configured to acquire a measured current of a current sensor when the inverter is connected to the grid, the current sensor being arranged on the inverter side and configured to measure the actual current on the inverter side; a first calibration module, configured to calibrate the measured current of the current sensor based on a calibration function to obtain a real current; the calibration function is obtained according to the method described in any one of the first aspects above.

[0038] Since the process of obtaining the calibration function can be realized without opening the casing of the inverter, calibrating the measured current of the current sensor based on the calibration function can reduce the complexity of the calibration and improve the production efficiency.

[0039] In one or more embodiments of the present application, the device also includes: a first calculation module, which is configured to obtain the voltage and the real current on the inverter side after calibrating the measured current of the current sensor based on the calibration function to obtain the real current, and calculate the active power of the inverter side based on the functional relationship between power, voltage and current; and / or, lag the phase of the real current by 90°, and calculate the reactive power of the inverter side based on the lagging current and the voltage on the inverter side, as well as the functional relationship between power, voltage and current.

[0040] On the basis of calibrating the current on the inverter side, the active power and reactive power on the inverter side can also be effectively calibrated.

[0041] In one or more embodiments of the present application, the inverter side includes a capacitor, which is connected between the inverter side and the grid side; the device also includes: a second calculation module, configured to calculate the reactive power of the capacitor based on the voltage of the capacitor, the functional relationship between the voltage and current of the capacitor, and the functional relationship between power, voltage and current when the inverter is connected to the grid; a second calibration module, configured to calculate the calibrated reactive power of the capacitor according to the calibration value of the reactive power of the capacitor; the calibration value of the reactive power of the capacitor is obtained by the step of determining the calibration value of the reactive power of the capacitor in the method described in any one of the first aspects above.

[0042] In this way, the reactive power of the capacitor can be calibrated on the basis of ensuring that the reactive power error range on the grid side is met.

[0043] An embodiment of the present application also provides an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; the memory is used to store computer programs; and the processor is used to implement any of the methods described in the first and second aspects above when executing the programs stored in the memory.

[0044] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of the first and second aspects above is implemented.

[0045] An embodiment of the present application also provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute any one of the methods described in the first and second aspects above.

[0046] Beneficial effects of the embodiments of the present application: The embodiments of the present application provide a parameter calibration method, which obtains the active power on the grid side, the voltage on the inverter side, and the measured current of the current sensor measured by the power meter. The current sensor is arranged on the inverter side and is configured to measure the actual current on the inverter side. Then, the active power on the grid side is used as the active power on the inverter side, and the target current on the inverter side is calculated based on the functional relationship between power, voltage, and current. The mapping relationship between the measured current and the target current can be determined as a calibration function for calibrating the measured current of the current sensor. Since the active power on the grid side is equivalent to the active power on the inverter side, the target current on the inverter side is calculated using the measured active power on the grid side, and the target current is used as the real current on the inverter side. Accordingly, the calibration function that uses the relationship between the real current and the measured current to represent the mapping relationship between the measured current and the target current can calibrate the measured current of the current sensor. In this way, there is no need to open the casing of the inverter. A power meter is connected to the output end of the inverter to measure the active power on the grid side, so that the current calibration of the inverter side can be achieved, which can reduce the complexity of calibration and improve production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other embodiments can also be obtained based on these drawings.

[0048] Figure 1 A flow chart of a parameter calibration method provided in an embodiment of the present application;

[0049] Figure 2 A schematic diagram of the layout between an inverter and a power grid provided in an embodiment of the present application;

[0050] Figure 3 A vector decomposition diagram of the power on the inverter side and the power on the grid side provided in an embodiment of the present application;

[0051] Figure 4A schematic diagram of the layout between the inverter and the power grid in the related art;

[0052] Figure 5 A flowchart of a calibration method for an inverter provided in an embodiment of the present application;

[0053] Figure 6 A structural diagram of a parameter calibration device provided in an embodiment of the present application;

[0054] Figure 7 A structural diagram of a calibration device for an inverter provided in an embodiment of the present application;

[0055] Figure 8 A structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0056] The following will be combined with the drawings in the embodiments of the present application to clearly and in detail 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 ordinary technicians in this field based on the present application belong to the scope of protection of the present application.

[0057] In order to improve the problem of high complexity and low production efficiency in the prior art when calibrating an inverter, an embodiment of the present application provides a parameter calibration method, an inverter calibration method, an inverter, a device and a medium.

[0058] Below, the parameter calibration method provided by the embodiment of the present application is first introduced. The method is applied to an electronic device that can provide computing services. For example, the electronic device can be a processor inside the inverter (such as a DSP (digital signal processor, Digital Signal Processor)), or it can also be other devices outside the inverter, and the device can obtain corresponding data from the inverter for processing, such as the device can be a personal computer, etc. The parameter calibration method provided by the embodiment of the present invention can be implemented by at least one of software, hardware circuits and logic circuits set in the electronic device.

[0059] like Figure 1 As shown, Figure 1 A flow chart of a parameter calibration method provided in an embodiment of the present application, the method comprising:

[0060] S110, acquiring the grid-side active power measured by the power meter and the actual current measured by the current sensor, where the current sensor is provided on the inverter side and is configured to measure the actual current on the inverter side.

[0061] In order to better understand the solution of this application, it can be introduced in conjunction with the layout relationship between the inverter and the power grid. Figure 2 , Figure 2 A schematic diagram of the layout between an inverter and a power grid provided in an embodiment of the present application. Figure 2 The left side is the inverter side 201, and the right side is the grid side 202. The output end 2021 is used to connect to the grid, and the inverter side 201 includes an inverter inductor 2011, a current sensor 2012, and a capacitor 2013. Figure 2 It can be seen that the current measured by the current sensor 2012 is the current passing through the inverter inductor 2011, which can also be understood as the current on the inverter inductor 2011 or the inverter side current. The current sensor 2012 can be a Hall current sensor, or can also be other types of current sensors.

[0062] based on Figure 2 In the structure shown, the current output by the inverter side 201 is the current of the grid side, that is, the current of the grid side 202 (grid side current) is equal to the superposition of the current on the inverter inductor 2011 (inverter side current) and the current of the capacitor 2013. Accordingly, the grid side current can be decomposed into a d-axis and a q-axis, the d-axis corresponding to the current component in phase with the voltage of the grid side 202, and the q-axis corresponding to the current component with a phase deviation of 90° from the voltage.

[0063] As for capacitor 2013, since its current leads the voltage by 90°, the current of capacitor 2013 only has a current component on the q-axis, and there is no corresponding current component on the d-axis.

[0064] Similarly, the inverter-side current can also be decomposed to obtain the current components on the q-axis and d-axis. Furthermore, it can be obtained that the d-axis component of the grid-side current is equal to the d-axis component of the inverter-side current, and the q-axis component of the grid-side current is equal to the superposition of the q-axis component of the inverter-side current and the current of the capacitor.

[0065] For alternating current, apparent power is equal to the effective value of voltage multiplied by the effective value of current. In addition, since the calculation of active power P and reactive power Q also requires vector decomposition of the current. Therefore, the current can be decomposed into the d-axis, which is in phase with the voltage, and the q-axis, which is 90° out of phase with the voltage. The effective value of the current decomposed to the d-axis multiplied by the effective value of the voltage can give the active power P; the effective value of the current decomposed to the q-axis multiplied by the effective value of the voltage can give the reactive power Q.

[0066] Since the d-axis component of the grid-side current is equal to the d-axis component of the inverter-side current, the active power of the grid-side 202 (which can be called the grid-side active power) is equal to the active power of the inverter-side 201. In this way, the active power of the inverter-side 201 can be obtained by measuring the grid-side active power. Figure 3 The vector decomposition diagram of the power on the inverter side and the power on the grid side is shown in FIG. Figure 3 It can be seen that the apparent power on the grid side is equal to the superposition of the active power on the grid side and the reactive power on the grid side, the apparent power on the inverter side is equal to the superposition of the active power on the inverter side and the reactive power on the inverter side, the reactive power on the grid side is equal to the superposition of the reactive power on the inverter side and the reactive power of the capacitor, and the active power on the inverter side is equal to the active power on the grid side, that is, the apparent power on the inverter side is equal to the superposition of the active power on the inverter side, the reactive power on the inverter side and the reactive power of the capacitor.

[0067] Before the inverter leaves the factory, the processing flow of the parameter calibration method provided in the embodiment of the present application can be executed. Figure 2 For example, after the inverter is powered on, a power meter can be connected to the output terminal 2021 of the inverter, so that the active power measured by the power meter is the grid-side active power. At the same time, the current measured by the current sensor 2012 (ie, the measured current) can be obtained.

[0068] S120, acquiring the voltage on the inverter side, taking the active power on the grid side as the active power on the inverter side, and calculating the target current on the inverter side based on the functional relationship among power, voltage and current.

[0069] For active power, the calculation is shown in formula (1):

[0070]

[0071] The formula (1) is a functional relationship between power, voltage and current. P represents active power, T represents the period of alternating current, and U (t) Indicates the voltage of alternating current, I (t) Indicates the current of alternating current.

[0072] Accordingly, the grid-side active power measured by the power meter is used as the inverter-side active power. Combined with the inverter-side voltage, the current can be calculated using formula (1), which is the target current of the inverter.

[0073] It can be understood that the voltage on the inverter side obtained here refers to the grid voltage, and the grid voltage has also been calibrated.

[0074] S130, determining a mapping relationship between the measured current and the target current as a calibration function for calibrating the measured current of the current sensor.

[0075] Due to the limitation of the current sensor's own performance, the measured current often has errors, that is, there is often a difference between the measured current and the target current calculated based on the grid-side active power measured by the power meter. Therefore, after obtaining the target current and the measured current, the two can be compared to determine a calibration function that can represent the mapping relationship between the two.

[0076] In addition, relative to Figure 2 In order to calibrate the inverter, a current sensor needs to be added to the inverter. Figure 4 As shown, in addition to the current sensor 2012 on the inverter side, a current sensor 2022 is also provided on the grid side, and then, the calibration of the inverter is achieved through the measurement results of the current sensor 2012 and the current sensor 2022. It can be seen that, compared with this method, the method provided by the embodiment of the present application does not need to add an additional current sensor on the grid side, which can reduce the cost of the inverter, and accordingly, it can also reduce the layout pressure of the PCB (printed circuit board) inside the inverter.

[0077] In some embodiments of the present application, since the measured current and the target current involved in the above process both represent alternating current. Therefore, in order to accurately determine the mapping relationship between the measured current and the target current, the effective value of the alternating current represented by the current AD (Analog To Digital, analog to digital) value measured by the current sensor can be determined, that is, the effective value of the measured current. Similarly, the effective value of the current calculated based on formula (1) can be determined, that is, the effective value of the target current. Correspondingly, the mapping relationship between the effective value of the measured current and the effective value of the target current can be determined to obtain a calibration function. For example, the difference relationship between the effective value of the measured current and the effective value of the target current can be determined as a calibration function.

[0078] Since the current AD value measured by the current sensor is discrete, the mapping relationship between the AC current represented by it and the target current cannot be accurately determined directly based on these discrete current values. Based on the above processing, the mapping relationship between the effective value of the measured current and the effective value of the target current can be accurately determined, thereby improving the accuracy of the calibration function and thus the accuracy of the calibration.

[0079] In one implementation, after obtaining the calibration function, the electronic device may save the calibration function locally, and subsequently, may calibrate the measured current of the current sensor based on the locally recorded calibration function.

[0080] In some embodiments of the present application, a plurality of different working states can be pre-set, and when the inverter is in each working state, the active power on the grid side measured by the power meter and the measured current of the current sensor can be obtained. Accordingly, the active power on the grid side measured by the power meter when the inverter is in each working state can be used as the active power of the inverter side in the working state, and the target current of the inverter side in the working state can be calculated in combination with the voltage on the inverter side according to the functional relationship of power, voltage and current. In this way, for each working state, there is a pair of effective values ​​of the measured current and the effective value of the target current. Subsequently, the mapping relationship between the effective value of the target current on the inverter side and the effective value of the measured current under multiple working states can be determined to obtain a calibration function.

[0081] For example, based on the function fitting algorithm, the effective value of the measured current and the effective value of the target current can be processed to determine the mapping relationship between the effective value of the target current on the inverter side and the effective value of the measured current. In other words, the effective value of the measured current can be used as an independent variable, and the effective value of the target current can be used as a dependent variable to determine the functional relationship between the two. The function fitting algorithm used can be a least squares fitting algorithm, a nonlinear fitting algorithm, etc.

[0082] The more the number of working states that are set, the higher the accuracy of the calibration function determined, and accordingly, the more the number of measurements; conversely, the fewer the number of the multiple working states, the lower the accuracy of the calibration function determined, and accordingly, the fewer the number of measurements. Therefore, in the actual operation process, the number of working states can be set according to demand. For example, the multiple working states can be respectively: operating at 30% of the rated state (i.e., the actual active power of the inverter is 30% of the rated power), operating at 50% of the rated state (i.e., the actual active power of the inverter is 50% of the rated power), and operating at 80% of the rated state (i.e., the actual active power of the inverter is 80% of the rated power).

[0083] In this way, measurements can be performed separately when the inverter is in multiple different working states, and the calibration function can be determined through multiple sets of data, which can avoid the deviation caused by a single measurement and further improve the accuracy of the determined calibration function.

[0084] In some embodiments of the present application, a capacitor is also provided in the inverter, such as Figure 2 The capacitor 2013, that is, the inverter side also includes a capacitor, which is arranged between the inverter side and the grid side.

[0085] As analyzed above, the reactive power on the grid side is equal to the superposition of the reactive power of the capacitor and the reactive power on the inverter side. Although the reactive power on the grid side can be obtained through the power meter, the reactive power on the inverter side itself allows deviations. Therefore, if the reactive power of the capacitor is calibrated directly based on the reactive power on the grid side and the reactive power on the inverter side measured by the power meter, a large deviation will occur.

[0086] Therefore, in the embodiment of the present application, the reactive power error range of the grid side and the reactive power of the grid side measured by the power meter can be obtained, and then the relationship between the reactive power of the grid side and the reactive power error range can be determined, that is, the calibration value for calibrating the reactive power of the capacitor is obtained. In other words, the reactive power of the capacitor is calibrated based on the calibration value, so that the reactive power of the capacitor after calibration is within the reactive power error range.

[0087] In one implementation, after obtaining the calibration value, the electronic device may save the calibration value locally, and subsequently, the reactive power of the capacitor may be calibrated based on the locally recorded calibration value.

[0088] In some embodiments of the present application, in order to accurately determine the above-mentioned calibration value, the size relationship between the reactive power on the grid side and the maximum value of the reactive power error range can be compared, and / or the size relationship between the reactive power on the grid side and the minimum value of the reactive power error range can be compared to obtain the calibration value based on the comparison result.

[0089] If the reactive power on the grid side is greater than the maximum value of the reactive power error range, it indicates that the reactive power of the capacitor calculated based on the nominal value of the capacitor is smaller than the real reactive power of the capacitor. Therefore, in order to obtain the real reactive power of the capacitor, the difference between the reactive power on the grid side and the maximum value of the reactive power error range can be used as the calibration value. In this way, the value of the reactive power of the capacitor can be increased based on the reactive power of the capacitor calculated based on the nominal value of the capacitor to obtain the real reactive power of the capacitor.

[0090] If the reactive power on the grid side is less than the minimum value of the reactive power error range, it indicates that the reactive power of the capacitor calculated based on the nominal value of the capacitor is larger than the real reactive power of the capacitor. Therefore, in order to obtain the real reactive power of the capacitor, the difference between the reactive power on the grid side and the minimum value of the reactive power error range can be used as the calibration value. In this way, the value of the reactive power of the capacitor can be reduced based on the reactive power of the capacitor calculated based on the nominal value of the capacitor to obtain the real reactive power of the capacitor.

[0091] In some embodiments of the present application, if the grid-side reactive power is within the reactive power error range, there is no need to calibrate the reactive power of the capacitor. In this case, the calibration value may also be determined to be 0.

[0092] In some embodiments of the present application, the reactive power error range can be determined in combination with the rated active power, operating status, power factor, and power factor fluctuation range of the inverter. In this way, the calibration value can be accurately determined based on the power factor on the grid side meeting regulatory requirements or satisfying the operating requirements of the inverter and the grid, as well as the power factor fluctuation range.

[0093] According to the rated active power and working state of the inverter, the grid-side active power in the working state is calculated. As an example of the present application, the rated active power of the inverter is 6KW, and the working state is running at 30% of the rated state, then the grid-side active power can be calculated to be 6kw×30%=1800W.

[0094] In addition, the power factor range can be determined based on the power factor and the power factor fluctuation range. For example, if the PF (Power Factor) is 0.8 and the PF is allowed to fluctuate by ±0.01 (i.e., the power factor fluctuation range is ±0.01), then the power factor range can be determined to be 0.79 to 0.81.

[0095] Furthermore, based on the active power on the grid side and the two end values ​​of the power factor range, the maximum value and the minimum value of the reactive power error range can be calculated.

[0096] Based on the above example, when the power factor is 0.79, the reactive power is When the power factor is 0.81, the reactive power is It can also be determined that the reactive power error range is 1303 to 1397.

[0097] Correspondingly, if the reactive power on the grid side measured by the power meter is 1380Var, the reactive power without calibrating the capacitor can be determined.

[0098] If the reactive power on the grid side measured by the power meter is 1450Var, the calibration value is determined to be 1450Var-1397Var=53Var.

[0099] If the reactive power on the grid side measured by the power meter is 1320Var, the reactive power without calibrating the capacitor can be determined.

[0100] If the reactive power on the grid side measured by the power meter is 1280Var, the calibration value is determined to be 1280Var-1303Var=-23Var.

[0101] The following is an introduction to the inverter calibration method provided in the embodiment of the present application. The method can also be applied to the electronic device that executes the parameter calibration method of the above embodiment.

[0102] See also Figure 5 , Figure 5 A flowchart of a calibration method for an inverter provided in an embodiment of the present application, the method comprising:

[0103] S510, when the inverter is connected to the grid, obtaining the actual current measured by the current sensor, where the current sensor is provided on the inverter side and is configured to measure the actual current on the inverter side.

[0104] As an example of the present application, the inverter is a unidirectional inverter, and the unidirectional inverter is connected to the grid and is in a power generation working state. When the photovoltaic or battery power is converted and transmitted to the power grid, the measured current of the current sensor can be obtained, and the measured current is the current flowing through the inverter inductor. Due to the error in converting the current value collected by the current sensor into an AD value and the limitation of the performance of the current sensor itself, the measured current is inconsistent with the real current, that is, the measured current needs to be calibrated. The measured current obtained here is an instantaneous value.

[0105] As another example of the present application, the inverter is a bidirectional inverter, which can convert DC power into AC power and also convert AC power into DC power. When the bidirectional inverter is connected to the grid and is in working state, when converting the power of photovoltaic or battery and transmitting it to the grid, or receiving the power of the grid and charging the battery, the measured current of the current sensor can be obtained, and the measured current is the current flowing through the inverter inductor.

[0106] S520, based on the calibration function, calibrate the measured current of the current sensor to obtain the real current.

[0107] The calibration function is obtained according to the parameter calibration method introduced in the above embodiment.

[0108] When the measured current of the current sensor needs to be calibrated, the electronic device can obtain the calibration function obtained before leaving the factory. The method for determining the calibration function can refer to the relevant introduction in the above embodiment. Since the calibration function is determined based on the mapping relationship between the measured current of the current sensor and the target current before the inverter leaves the factory, and the target current is calculated based on the active power on the grid side as the active power on the inverter side, the accuracy is relatively high. Therefore, by calibrating the measured current of the current sensor based on the calibration function, the accurate current value on the inverter side can be obtained.

[0109] Since the process of obtaining the calibration function can be realized without opening the casing of the inverter, calibrating the measured current of the current sensor based on the calibration function can reduce the complexity of the calibration and improve the production efficiency.

[0110] In some embodiments of the present application, as described in the aforementioned embodiments, if the calibration function is determined based on the mapping relationship between the effective value of the measured current and the effective value of the target current, then when the inverter is connected to the grid, the effective value of the measured current of the current sensor can also be obtained. Accordingly, the effective value of the measured current of the current sensor can be calibrated based on the calibration function, and the effective value of the real current on the inverter side can be obtained. Accordingly, based on the effective value, the instantaneous value of the real current on the inverter side can be determined.

[0111] For example, if the calibration function represents the difference between the effective value of the measured current and the effective value of the target current, if the difference is positive, then the difference is added to the measured current to reduce the value of the measured current to approach the real current; if the difference is negative, then the difference is added to the measured current to increase the value of the measured current to approach the real current, thus completing the calibration of the measured current.

[0112] For example, the calibration function takes the effective value of the measured current as the independent variable and the effective value of the target current as the dependent variable to determine the functional relationship. After obtaining the effective value of the measured current, the functional relationship can be substituted to obtain the effective value of the real current.

[0113] In some embodiments of the present application, after the current on the inverter side is calibrated, the active power and / or reactive power on the inverter side may be calibrated based on the real current obtained by the calibration.

[0114] For example, the voltage on the inverter side can be obtained, and the voltage on the inverter side and the real current obtained by calibration can be substituted into the above formula (1), and the active power on the inverter side can be obtained. Since the real current is the calibrated current, the active power on the inverter side calculated based on the real current is also relatively accurate. The voltage on the inverter side is the grid voltage when the inverter side is connected to the grid.

[0115] Accordingly, due to represents the power factor angle, that is, Represents the phase difference between voltage and current. Therefore, the phase of the real current can be lagged by 90°, and then the lagged current and the voltage on the inverter side can be substituted into the above formula (1) to obtain the reactive power on the inverter side. Since the real current is a calibrated current, the reactive power on the inverter side calculated based on the real current is also relatively accurate.

[0116] In addition, after obtaining the reactive power on the inverter side and the active power on the inverter side, the apparent power on the inverter side can be determined by calculating the sum of the two.

[0117] In some embodiments of the present application, a capacitor is also provided in the inverter, such as Figure 2 The capacitor 2013, that is, the inverter side also includes a capacitor, which is arranged between the inverter side and the grid side.

[0118] For capacitors, the current I c =2πfCU; f is the frequency of the power grid, C is the capacitance, and U is the power grid voltage.

[0119] The instantaneous value of the grid voltage is expressed as formula (2).

[0120]

[0121] A is the amplitude of the grid voltage, ω is the angular frequency, is the offset angle.

[0122] It can be seen that the magnitude of the capacitor current is related to the amplitude and frequency of the grid voltage, as well as the size of the capacitor. In other words, in a relatively stable grid environment (e.g., an environment where the effective value of the grid voltage fluctuates slightly and the frequency fluctuates slightly), the change in the magnitude of the current on the inverter side does not affect the magnitude of the capacitor current, so the capacitor current can be considered to be a constant value. In addition, since the power of a capacitor is equal to the capacitor voltage multiplied by the capacitor current, when the capacitor voltage is constant, the capacitor power can be considered to be constant.

[0123] Correspondingly, when the inverter side is connected to the grid, the voltage of the capacitor can be obtained, and the reactive power of the capacitor can be calculated by combining the above formula (1) and formula (2). It can be understood that the nominal capacitance of the capacitor is used when calculating the reactive power of the capacitor. However, the actual capacitance of the capacitor may be inconsistent with the nominal capacitance, which leads to a deviation between the calculated reactive power of the capacitor and the real reactive power. Therefore, it is necessary to calibrate the reactive power of the capacitor calculated based on the above formulas (1) and (2) according to the calibration value of the reactive power of the capacitor determined in the above embodiment.

[0124] As can be seen from the relevant introduction about determining the calibration value in the aforementioned embodiment, the calibration value of the reactive power of the determined capacitor may be a negative number or a positive number. If the calibration value is a negative number, it means that the reactive power of the capacitor calculated based on the nominal value of the capacitor is larger than the real reactive power of the capacitor. Accordingly, the sum of the reactive power and the calibration value is calculated to obtain the reactive power of the capacitor after calibration, and the numerical value of the reactive power of the capacitor can be adjusted down to obtain the real reactive power of the capacitor. If the calibration value is a positive number, it means that the reactive power of the capacitor calculated based on the nominal value of the capacitor is smaller than the real reactive power of the capacitor. Accordingly, the sum of the reactive power and the calibration value is calculated to obtain the reactive power of the capacitor after calibration, and the numerical value of the reactive power of the capacitor can be adjusted up to obtain the real reactive power of the capacitor.

[0125] Based on the same inventive concept, the present application also provides an inverter, including: an inverter inductor, a capacitor, a current sensor and a processor, wherein the inverter inductor, the capacitor and the current sensor are connected in series; the processor is used to execute the method described in any one of the above embodiments; the current sensor measures the actual current on the inverter side to which the inverter inductor belongs.

[0126] In some embodiments of the present application, the inverter includes a housing; the inverter inductor, the capacitor, the current sensor, and the processor are all located in the housing.

[0127] Based on the same inventive concept, the present application also provides a parameter calibration device, see Figure 6 , Figure 6 A structural diagram of a parameter calibration device provided in an embodiment of the present application, the device includes: a first acquisition module 601, which acquires the active power on the grid side measured by a power meter, acquires the voltage on the inverter side and the measured current of the current sensor, the current sensor is arranged on the inverter side, and measures the actual current on the inverter side; a calculation module 602, which uses the active power on the grid side as the active power on the inverter side, and calculates the target current on the inverter side based on the functional relationship among power, voltage and current; a first determination module 603, which determines the mapping relationship between the measured current and the target current as a calibration function for calibrating the measured current of the current sensor.

[0128] Since the active power on the grid side is equivalent to the active power on the inverter side, the target current on the inverter side is calculated using the measured active power on the grid side, and the target current is used as the real current on the inverter side. Accordingly, the measured current of the current sensor can be calibrated by using a calibration function that uses the relationship between the real current and the measured current to represent the mapping relationship between the measured current and the target current. In this way, there is no need to open the casing of the inverter. A power meter is connected to the output end of the inverter to measure the active power on the grid side, and the current calibration of the inverter side of the inverter can be achieved, which can reduce the complexity of the calibration and improve production efficiency.

[0129] In one or more embodiments of the present application, the first determination module 603 determines a mapping relationship between the effective value of the measured current and the effective value of the target current as a calibration function for calibrating the measured current of the current sensor.

[0130] Based on the effective value of the current, the difference between the measured current and the target current can be accurately reflected, thereby improving the accuracy of the calibration function.

[0131] In one or more embodiments of the present application, the grid-side active power includes: multiple active powers measured by the power meter when the inverter is in different multiple working states; the measured current includes: multiple currents measured by the current sensor when the inverter is in the multiple working states; the calculation module 602 uses the grid-side active power measured by the power meter when the inverter is in each working state as the active power of the inverter side in the working state, and combines the voltage of the inverter side to calculate the target current of the inverter side in the working state according to the functional relationship among power, voltage and current; the first determination module 603 determines the mapping relationship between the effective value of the target current of the inverter side in the multiple working states and the effective value of the measured current as a calibration function for calibrating the measured current of the current sensor.

[0132] Combining the measured current and the target current obtained under different working conditions of the inverter can further improve the accuracy of the determined calibration function.

[0133] In one or more embodiments of the present application, the inverter side includes a capacitor, which is connected between the inverter side and the grid side; the calculation module 602 is configured to calculate the reactive power error range of the grid side, and the device also includes: a second acquisition module, which acquires the reactive power error range and the reactive power of the grid side measured by the power meter; a second determination module, which determines the relationship between the reactive power of the grid side and the reactive power error range, and obtains a calibration value of the reactive power of the capacitor.

[0134] On the basis of ensuring that the reactive power error range on the grid side is met, the calibration value for the reactive power of the capacitor can be determined, and this can also be done without opening the inverter casing, which can reduce the complexity of inverter calibration and improve production efficiency.

[0135] In one or more embodiments of the present application, the second determination module, in response to the reactive power on the grid side being greater than the maximum value of the reactive power error range, determines the difference between the reactive power on the grid side and the maximum value of the reactive power error range as a calibration value of the reactive power of the capacitor; and / or, in response to the reactive power on the grid side being less than the minimum value of the reactive power error range, determines the difference between the reactive power on the grid side and the minimum value of the reactive power error range as a calibration value of the reactive power of the capacitor.

[0136] Based on the difference between the maximum and minimum values ​​of the reactive power on the grid side and the reactive power error range, the reactive power calibration value of the capacitor under different conditions can be accurately determined on the basis of satisfying the reactive power error range.

[0137] In one or more embodiments of the present application, the calculation module 602 calculates the maximum value of the reactive power error range and the minimum value of the reactive power error range on the grid side based on the rated active power of the inverter, the operating state of the inverter, the power factor, and the power factor fluctuation range, and obtains the reactive power error range on the grid side.

[0138] The reactive power error range is determined based on the power factor and the power factor fluctuation range, so that the determined power factor on the grid side can meet regulatory requirements or meet the working needs of the inverter and the grid, and is accurate to the specified power factor fluctuation range.

[0139] Based on the same inventive concept, the present application also provides a calibration device for an inverter, see Figure 7 , Figure 7 A structural diagram of a calibration device for an inverter provided in an embodiment of the present application, the device comprising: a first acquisition module 701, which acquires the measured current of a current sensor when the inverter is connected to the grid, the current sensor being arranged on the inverter side, and measuring the actual current on the inverter side; a first calibration module 702, which calibrates the measured current of the current sensor based on a calibration function to obtain a real current; the calibration function is obtained according to the parameter calibration method introduced in the above embodiment.

[0140] Since the process of obtaining the calibration function can be realized without opening the casing of the inverter, calibrating the measured current of the current sensor based on the calibration function can reduce the complexity of the calibration and improve the production efficiency.

[0141] In one or more embodiments of the present application, the device also includes: a first calculation module, which, after calibrating the measured current of the current sensor based on the calibration function to obtain the real current, obtains the voltage on the inverter side and the real current, and calculates the active power of the inverter side based on the functional relationship among power, voltage and current; and / or, lags the phase of the real current by 90°, and calculates the reactive power of the inverter side based on the lagging current and the voltage on the inverter side, as well as the functional relationship among power, voltage and current.

[0142] On the basis of calibrating the current on the inverter side, the active power and reactive power on the inverter side can also be effectively calibrated.

[0143] In one or more embodiments of the present application, the inverter side includes a capacitor, which is connected between the inverter side and the grid side; the device also includes: a second calculation module, which calculates the reactive power of the capacitor based on the voltage of the capacitor, the functional relationship between the voltage and current of the capacitor, and the functional relationship between power, voltage, and current when the inverter is connected to the grid; a second calibration module, which calculates the calibrated reactive power of the capacitor according to the calibration value of the reactive power of the capacitor; the calibration value of the reactive power of the capacitor is determined according to the method introduced in the above embodiment.

[0144] In this way, the reactive power of the capacitor can be calibrated on the basis of ensuring that the reactive power error range on the grid side is met.

[0145] The present application also provides an electronic device, such as Figure 8 As shown, it includes a processor 801, a communication interface 802, a memory 803 and a communication bus 804. The processor 801, the communication interface 802 and the memory 803 communicate with each other through the communication bus 804.

[0146] Memory 803, used for storing computer programs;

[0147] The processor 801 is used to implement the parameter calibration method or the inverter calibration method in the above embodiment when executing the program stored in the memory 803.

[0148] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0149] The communication interface is used for communication between the above electronic device and other devices.

[0150] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0151] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0152] In another embodiment provided in the present application, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned parameter calibration methods or inverter calibration methods are implemented.

[0153] In another embodiment provided in the present application, a computer program product including instructions is also provided. When the computer program product is run on a computer, the computer executes any parameter calibration method or inverter calibration method in the above embodiments.

[0154] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integration. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive Solid State Disk (SSD)), etc.

[0155] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0156] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the inverter, device and medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0157] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims

1. A parameter calibration method, characterized in that: The method comprises: Acquire the grid-side active power measured by the power meter and the actual current measured by the current sensor, wherein the current sensor is provided on the inverter side and is configured to measure the actual current of the inverter side; Acquire the voltage of the inverter side, take the active power of the grid side as the active power of the inverter side, and calculate the target current of the inverter side based on the functional relationship among power, voltage and current; A mapping relationship between the measured current and the target current is determined as a calibration function for calibrating the measured current of the current sensor.

2. The method according to claim 1, characterized in that The determining of the mapping relationship between the measured current and the target current as a calibration function for calibrating the measured current of the current sensor includes: A mapping relationship between the effective value of the measured current and the effective value of the target current is determined as a calibration function for calibrating the measured current of the current sensor.

3. The method according to claim 2, characterized in that The grid-side active power includes: a plurality of active powers measured by the power meter when the inverter is in a plurality of different working states; the measured current includes: a plurality of currents measured by the current sensor when the inverter is in the plurality of working states; The active power of the grid side is used as the active power of the inverter side, and the target current of the inverter side is calculated based on the functional relationship among power, voltage and current, including: The active power of the grid side measured by the power meter when the inverter is in each working state is used as the active power of the inverter side in the working state, and the target current of the inverter side in the working state is calculated according to the functional relationship among power, voltage and current in combination with the voltage of the inverter side; The determining of a mapping relationship between the effective value of the measured current and the effective value of the target current as a calibration function for calibrating the measured current of the current sensor includes: A mapping relationship between the effective value of the target current of the inverter side and the effective value of the measured current under the multiple working states is determined as a calibration function for calibrating the measured current of the current sensor.

4. The method according to claim 1, characterized in that The inverter side includes a capacitor, and the capacitor is connected between the inverter side and the grid side; the method further includes: Obtaining the reactive power error range of the grid side and the reactive power of the grid side measured by the power meter; The relationship between the grid-side reactive power and the reactive power error range is determined to obtain a calibration value of the reactive power of the capacitor.

5. The method according to claim 4, characterized in that The determining the relationship between the grid-side reactive power and the reactive power error range to obtain a calibration value of the reactive power of the capacitor includes: In response to the grid-side reactive power being greater than the maximum value of the reactive power error range, determining a difference between the grid-side reactive power and the maximum value of the reactive power error range as a calibration value of the reactive power of the capacitor; and / or, In response to the grid-side reactive power being less than a minimum value of the reactive power error range, a difference between the grid-side reactive power and the minimum value of the reactive power error range is determined as a calibration value of the reactive power of the capacitor.

6. The method according to claim 4 or 5, characterized in that: The obtaining of the reactive power error range of the grid side includes: Based on the rated active power of the inverter, the working state of the inverter, the power factor, and the power factor fluctuation range, the maximum value of the reactive power error range and the minimum value of the reactive power error range on the grid side are calculated respectively to obtain the reactive power error range on the grid side.

7. A calibration method for an inverter, characterized in that: The method comprises: When the inverter is connected to the grid, the actual current measured by the current sensor is obtained, wherein the current sensor is arranged on the inverter side and is configured to measure the actual current on the inverter side; Based on the calibration function, calibrating the measured current of the current sensor to obtain the real current; Wherein, the calibration function is obtained according to the method according to any one of claims 1 to 6.

8. The method according to claim 7, characterized in that After calibrating the measured current of the current sensor based on the calibration function to obtain the real current, the method further includes: Acquire the voltage and the real current of the inverter side, and calculate the active power of the inverter side based on the functional relationship among power, voltage and current; and / or, The phase of the real current is delayed by 90°, and the reactive power of the inverter side is calculated based on the delayed current and the voltage of the inverter side, and the functional relationship among the power, voltage and current.

9. The method according to claim 7 or 8, characterized in that: The inverter side includes a capacitor, and the capacitor is connected between the inverter side and the grid side; the method further includes: When the inverter is connected to the grid, the reactive power of the capacitor is calculated based on the voltage of the capacitor, the functional relationship between the voltage and current of the capacitor, and the functional relationship between power, voltage and current; According to the calibration value of the reactive power of the capacitor, the reactive power of the capacitor after calibration is calculated; Wherein, the calibration value of the reactive power of the capacitor is obtained according to the method described in any one of claims 4 to 6.

10. An inverter, characterized in that: The inverter comprises: an inverter inductor, a capacitor, a current sensor and a processor, wherein the inverter inductor, the capacitor and the current sensor are connected in series; The processor is used to execute the method according to any one of claims 1 to 9; The current sensor is configured to measure an actual current of an inverter side to which the inverter inductor belongs.

11. The inverter according to claim 10, characterized in that: The inverter comprises a housing; The inverter inductor, the capacitor, the current sensor and the processor are all located in the housing.

12. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing the method steps described in any one of claims 1 to 9 when executing a program stored in a memory.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in any one of claims 1 to 9 are implemented.

Citation Information

Cited By

  • Tracing circuit, equivalent apparent power value obtaining method and device and computer equipment

    CN120685960A