Photovoltaic inverter active power calibration method and device and electronic equipment

Through the fitting analysis of multiple sets of sampled data of the photovoltaic inverter and the division of reactive power intervals, calibration parameters are dynamically called, which solves the problem of large error in the active power measurement of photovoltaic inverter, and significantly improves calibration accuracy and dynamic response capabilities.

CN119675120APending Publication Date: 2025-03-21HUIZHOU HUINENG JINGDIAN TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411941340.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

There are large errors in the measurement of active power during the grid connection process of existing photovoltaic inverters, especially when capacitive and inductive reactive power devices are added, the error is even greater, and the existing calibration methods are not effective.

Method used

Through the fitting analysis of multiple sets of sampled data, the linear fitting relationship between the active power sampling value of the photovoltaic inverter and the actual load power value is determined, the calibration coefficient and offset are determined according to the fitting relationship, and calibration parameters are set for different reactive power intervals, and dynamically call them to improve calibration accuracy.

Benefits of technology

It significantly improves the accuracy of active power calibration of photovoltaic inverters, enhances dynamic response capabilities, and improves the stability and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119675120A_ABST
    Figure CN119675120A_ABST
Patent Text Reader

Abstract

The invention provides a photovoltaic inverter active power calibration method and device and electronic equipment. The method comprises the following steps: determining a calibration coefficient and an offset according to a linear fitting relationship between an active power sampling value and an actual load power value of a photovoltaic inverter; aiming at different preset reactive power intervals, setting a calibration parameter comprising a corresponding calibration coefficient and an offset for each reactive power interval; obtaining current reactive power, matching a target reactive power interval corresponding to the current reactive power, and determining a target calibration parameter corresponding to the target reactive power interval; and collecting a current active power sampling value corresponding to the photovoltaic inverter, substituting the current active power sampling value into the linear fitting relationship adopting the target calibration parameter, and determining a target calibration value of the active power of the photovoltaic inverter. Through fitting analysis of multiple groups of sampling data, interval division of reactive power and dynamic calling of calibration parameters, the problems of insufficient precision and poor dynamics in the prior art are effectively solved, and the calibration precision is remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of photovoltaic inverters, and in particular to a photovoltaic inverter active power calibration method, device and electronic equipment. Background Art

[0002] As the core equipment in the photovoltaic power generation system, the photovoltaic inverter has the main function of converting the DC power output by the photovoltaic module into AC power and connecting the electric energy to the grid. The performance of the photovoltaic inverter directly affects the efficiency and reliability of the entire photovoltaic power generation system. Especially in the process of grid connection, the accurate measurement and output of active power is a key indicator to ensure the stable operation of the system.

[0003] At present, the active power data of the power grid is mainly calculated after sampling and conversion by the power grid ADC (Analog-to-Digital Converter). There is a problem that the data has a large error with the data tested by the real power components, especially when capacitive and inductive reactive power devices are added, the data error is even greater. In view of this situation, after calibration using the existing calibration method, the data accuracy obtained will still have a large error, and the calibration effect is poor. Summary of the invention

[0004] The embodiments of the present disclosure at least provide a method, device and electronic device for calibrating active power of a photovoltaic inverter. Through the fitting analysis of multiple sets of sampling data, as well as the interval division of reactive power and the dynamic calling of calibration parameters, the problems of insufficient accuracy and poor dynamics in the prior art are effectively solved, and the calibration accuracy can be significantly improved and the calibration has dynamic response capability.

[0005] The present disclosure provides a photovoltaic inverter active power calibration method, including:

[0006] Determine a linear fitting relationship between an active power sampling value of a photovoltaic inverter and an actual load power value, and determine a calibration coefficient and an offset according to the linear fitting relationship;

[0007] For different preset reactive power intervals, setting calibration parameters including corresponding calibration coefficients and offsets for each reactive power interval;

[0008] Acquire current reactive power and match the target reactive power interval corresponding to the current reactive power, and determine the target calibration parameter corresponding to the target reactive power interval;

[0009] The current active power sampling value corresponding to the photovoltaic inverter is collected, the current active power sampling value is brought into the linear fitting relationship using the target calibration parameter, and the target calibration value of the active power of the photovoltaic inverter is determined.

[0010] In an optional implementation manner, determining a linear fitting relationship between an active power sampling value of a photovoltaic inverter and an actual load power value specifically includes:

[0011] For each phase of the three-phase photovoltaic inverter, respectively collect a plurality of active power sampling values ​​and a plurality of actual load power values ​​corresponding to each reactive power interval;

[0012] Taking the actual load power value as the dependent variable and the active power sampling value as the independent variable, a scatter plot of the active power sampling value and the actual load power value is drawn;

[0013] Fitting a trend line between the active power sampling value and the actual load power value, and generating the linear fitting relationship;

[0014] Determine the slope and intercept corresponding to the linear fitting relationship;

[0015] The slope is determined as the calibration coefficient and the intercept is determined as the offset.

[0016] In an optional implementation manner, for different preset reactive power intervals, setting a calibration parameter corresponding to the calibration coefficient and the offset for each reactive power interval specifically includes:

[0017] Determine a reactive power range of the photovoltaic inverter, and divide the reactive power range into a plurality of reactive power intervals;

[0018] For each reactive power interval, matching the corresponding calibration parameter for the reactive power interval;

[0019] Initializing a corresponding calibration parameter array for each reactive power interval;

[0020] The calibration coefficient and the offset included in the corresponding calibration parameters are assigned to array elements in the calibration parameter array for storage.

[0021] In an optional implementation manner, matching a target reactive power interval corresponding to the current reactive power and determining a target calibration parameter corresponding to the target reactive power interval specifically includes:

[0022] Determining the target reactive power interval to which the current reactive power belongs;

[0023] Extracting the target calibration coefficient and the target offset included in the calibration parameter array corresponding to the target reactive power;

[0024] The target calibration coefficient and the target offset are determined as the target calibration parameters.

[0025] In an optional implementation manner, bringing the current active power sampling value into the linear fitting relationship using the target calibration parameter to determine the target calibration value specifically includes:

[0026] Taking the current active power sampling value as an independent variable and the target calibration value as a dependent variable, bringing them into the linear fitting relationship;

[0027] According to the target parameter and the current active power sampling value, the target calibration value is calculated using the linear fitting relationship as the calibrated active power of the photovoltaic inverter.

[0028] In an optional implementation, after determining the target calibration value, the method further includes:

[0029] The target calibration value is uploaded to a cloud platform through a preset photovoltaic inverter monitoring system, and the target calibration value is displayed to a user through the cloud platform.

[0030] In an optional implementation manner, after determining the target calibration parameter corresponding to the target reactive power interval, the method further includes:

[0031] monitoring the current active power sampling value in real time, and updating the current active power sampling value in real time when the current active power sampling value exceeds the target reactive power interval;

[0032] Determine an updated reactive power interval to which the current active power sampling value after update belongs, and determine an updated calibration parameter corresponding to the updated reactive power interval;

[0033] The updated current active power sampling value is brought into the linear fitting relationship using the updated calibration parameter to determine the updated target calibration value.

[0034] The embodiment of the present disclosure also provides a photovoltaic inverter active power calibration device, including:

[0035] A fitting relationship determination module is used to determine a linear fitting relationship between an active power sampling value of a photovoltaic inverter and an actual load power value, and to determine a calibration coefficient and an offset according to the linear fitting relationship;

[0036] A calibration parameter determination module, configured to set, for each reactive power interval, a calibration parameter corresponding to the calibration coefficient and the offset;

[0037] A reactive power matching module, used to obtain the current reactive power and match the target reactive power interval corresponding to the current reactive power, and determine the target calibration parameter corresponding to the target reactive power interval;

[0038] The calibration value determination module is used to collect the current active power sampling value corresponding to the photovoltaic inverter, bring the current active power sampling value into the linear fitting relationship using the target calibration parameter, and determine the target calibration value of the active power of the photovoltaic inverter.

[0039] The embodiment of the present disclosure also provides an electronic device, including: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the above-mentioned photovoltaic inverter active power calibration method or the steps in any possible implementation of the above-mentioned photovoltaic inverter active power calibration method are executed.

[0040] The embodiment of the present disclosure also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the computer program executes the above-mentioned photovoltaic inverter active power calibration method, or the steps of any possible implementation of the above-mentioned photovoltaic inverter active power calibration method.

[0041] The embodiments of the present disclosure also provide a computer program product, including a computer program / instruction, which, when executed by a processor, implements the above-mentioned photovoltaic inverter active power calibration method, or the steps in any possible implementation of the above-mentioned photovoltaic inverter active power calibration method.

[0042] The embodiments of the present disclosure provide a method, device and electronic device for calibrating active power of a photovoltaic inverter, which determines the linear fitting relationship between the active power sampling value of the photovoltaic inverter and the actual load power value, and determines the calibration coefficient and the offset according to the linear fitting relationship; for different preset reactive power intervals, a calibration parameter including the corresponding calibration coefficient and the offset is set for each reactive power interval; the current reactive power is obtained and matched with the target reactive power interval corresponding to the current reactive power, and the target calibration parameter corresponding to the target reactive power interval is determined; the current active power sampling value corresponding to the photovoltaic inverter is collected, and the current active power sampling value is brought into the linear fitting relationship using the target calibration parameter to determine the target calibration value of the active power of the photovoltaic inverter. Through the fitting analysis of multiple groups of sampling data, the interval division of reactive power and the dynamic call of calibration parameters, the problems of insufficient accuracy and poor dynamics in the prior art are effectively solved, and the calibration accuracy can be significantly improved and dynamic response capability can be achieved.

[0043] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following is a brief introduction to the drawings required for use in the embodiments. The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used together with the specification to illustrate the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can also be obtained based on these drawings without creative work.

[0045] Figure 1 A flow chart of a photovoltaic inverter active power calibration method provided by an embodiment of the present disclosure is shown;

[0046] Figure 2 A flow chart of another photovoltaic inverter active power calibration method provided by an embodiment of the present disclosure is shown;

[0047] Figure 3 A schematic diagram of a photovoltaic inverter active power calibration device provided by an embodiment of the present disclosure is shown;

[0048] Figure 4 A schematic diagram of an electronic device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical scheme and advantages of the embodiments of the present disclosure clearer, the technical scheme in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The components of the embodiments of the present disclosure generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the present disclosure for protection, but merely represents the selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present disclosure.

[0050] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0051] The term "and / or" herein only describes an association relationship, indicating that three relationships may exist. For example, A and / or B may represent the following three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C may represent including any one or more elements selected from the set consisting of A, B, and C.

[0052] Research has found that the current active power data of the power grid is mainly calculated after grid AD sampling and conversion, and there is a large error between the data and the data tested by the real power components, especially when capacitive and inductive reactive power devices are added. The data error is very large. Taking a 20kw three-phase grid-connected inverter as an example, the active power error calculated by sampling can reach 500W~800W when it is large, resulting in a large difference between the data displayed by the host computer and cloud platform monitoring and the real value. When the uncertain factors such as capacitive and inductive reactive power become larger, the existing calibration method will cause the actual calibration data accuracy to still have a large error, and the calibration effect is poor.

[0053] Based on the above research, the present disclosure provides a method, device and electronic device for calibrating active power of a photovoltaic inverter, which determines the linear fitting relationship between the active power sampling value of the photovoltaic inverter and the actual load power value, and determines the calibration coefficient and the offset according to the linear fitting relationship; for different preset reactive power intervals, a calibration parameter including the corresponding calibration coefficient and the offset is set for each reactive power interval; the current reactive power is obtained and matched with the target reactive power interval corresponding to the current reactive power, and the target calibration parameter corresponding to the target reactive power interval is determined; the current active power sampling value corresponding to the photovoltaic inverter is collected, and the current active power sampling value is brought into the linear fitting relationship using the target calibration parameter to determine the target calibration value of the active power of the photovoltaic inverter. Through the fitting analysis of multiple groups of sampling data, the interval division of reactive power and the dynamic call of calibration parameters, the problems of insufficient accuracy and poor dynamics in the prior art are effectively solved, and the calibration accuracy can be significantly improved and dynamic response capability can be achieved.

[0054] To facilitate understanding of this embodiment, a photovoltaic inverter active power calibration method disclosed in the embodiment of the present disclosure is first introduced in detail. The executor of the photovoltaic inverter active power calibration method provided in the embodiment of the present disclosure is generally a computer device with certain computing capabilities, and the computer device includes, for example: a terminal device or a server or other processing device, and the terminal device can be a user equipment (User Equipment, UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (Personal Digital Assistant, PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc. In some possible implementations, the photovoltaic inverter active power calibration method can be implemented by a processor calling a computer-readable instruction stored in a memory.

[0055] See also Figure 1 FIG. 1 is a flow chart of a photovoltaic inverter active power calibration method provided by an embodiment of the present disclosure, the method comprising steps S101 to S104, wherein:

[0056] S101, determining a linear fitting relationship between an active power sampling value of a photovoltaic inverter and an actual load power value, and determining a calibration coefficient and an offset according to the linear fitting relationship.

[0057] In the specific implementation, for the three phases of the photovoltaic inverter, the active power sampling value and the actual load power value of each phase are collected respectively to ensure that each set of collected data covers different preset reactive power intervals to ensure the accuracy of linear fitting.

[0058] Here, the collected active power sampling values ​​and actual load power values ​​are organized into a format that can be used for fitting, and the collected data are checked for abnormal points (such as extreme values ​​or collection errors), and invalid data are eliminated. Each set of data is organized into a corresponding form in which the actual load power value is the dependent variable and the active power sampling value is the independent variable, and the linear fitting relationship between the two is determined by mathematical methods.

[0059] Specifically, the linear fitting relationship between the active power sampling value of the photovoltaic inverter and the actual load power value is determined by the following steps 1 to 5:

[0060] Step 1: for each phase of the three-phase photovoltaic inverter, respectively collect a plurality of active power sampling values ​​and a plurality of actual load power values ​​corresponding to each reactive power interval.

[0061] Step 2: Taking the actual load power value as the dependent variable and the active power sampling value as the independent variable, a scatter plot of the active power sampling value and the actual load power value is drawn.

[0062] Step 3: Fit the trend line between the active power sampling value and the actual load power value, and generate the linear fitting relationship.

[0063] Step 4: determine the slope and intercept corresponding to the linear fitting relationship.

[0064] Step 5: Determine the slope as the calibration coefficient, and determine the intercept as the offset.

[0065] In the specific implementation, the reactive power range of the photovoltaic inverter is divided into multiple intervals, each interval represents a specific reactive power working state, to ensure the accuracy of the active power sampling data, for each phase, the inverter is set to work in a certain reactive power interval, and the load is adjusted to gradually change the output power, in each reactive power interval, multiple groups of active power sampling values ​​and actual load power values ​​are collected, at this time, it is necessary to ensure that there are enough data points in each interval (such as at least 20-30 samples in each interval) to improve the fitting accuracy.

[0066] Preferably, a high-precision power analyzer can be used to record the actual load power, and ensure that the test environment is stable to avoid the impact of environmental factors (such as temperature and voltage fluctuations) on the data.

[0067] Furthermore, the actual load power value is set as the dependent variable, the active power sampling value is set as the independent variable, and the collected multiple groups of (active power sampling value, actual load power value) data points are grouped according to the corresponding reactive power intervals. A scatter plot of (active power sampling value, actual load power value) is drawn for each reactive power interval using a data visualization tool (such as Python's Matplotlib, Excel or MATLAB, etc.).

[0068] Optionally, data points in different reactive power intervals may be marked with different colors to distinguish the relationship between the intervals.

[0069] Here, the relationship between the active power sampling value and the actual load power value is established according to the linear equation y=kx+b, where k represents the slope of the fitting line and b represents the intercept of the fitting line. The least squares method (LSM) is used to perform linear regression fitting on the data points of each reactive power interval, and the slope k and intercept b in the fitting formula are calculated.

[0070] Among them, the actual load power value is substituted into the dependent variable y in the linear equation y=kx+b, and the active power sampling value is substituted into the independent variable x in the linear equation y=kx+b to generate a linear fitting equation: actual load power value=k active power sampling value+b, the slope k and intercept b are output, and the fitting trend line is drawn and superimposed on the scatter plot.

[0071] Furthermore, the slope k in the fitting equation is used as a calibration coefficient to adjust the proportional deviation of the PV inverter sampling value; the intercept b in the fitting equation is used as an offset to compensate for the fixed deviation. A set of calibration parameters is generated for each reactive power interval, including the calibration coefficient k and the offset b, and these parameters are stored in the form of an array or a data table for subsequent active power calibration.

[0072] S102: for different preset reactive power intervals, setting calibration parameters including the corresponding calibration coefficient and the offset for each reactive power interval.

[0073] In the specific implementation, the reactive power working range of the photovoltaic inverter is determined, and the reactive power range is divided into multiple reactive power intervals with equal or unequal spacing, and each interval corresponds to a reactive power value. For example, the reactive power of 1kw, 3kw, 5kw... is divided into several sections. Taking a 20kw grid-connected inverter as an example, it can be divided into 10 reactive power intervals.

[0074] Here, multiple groups of tests are performed on the photovoltaic inverter in each reactive power interval, and the corresponding active power sampling values ​​and actual load power values ​​are collected to ensure that the amount of sampling data in each interval is sufficient to improve the fitting accuracy. Under stable power grid conditions, the photovoltaic inverter is set to operate in a certain reactive power interval, and by adjusting the output power and load of the inverter, the (active power sampling value, actual load power value) data pairs under different load conditions are collected.

[0075] Among them, for each reactive power interval, the collected (active power sampling value, actual load power value) data points are used for linear fitting to generate a fitting equation, and the slope and intercept of each interval are extracted from the fitting equation, and the slope and intercept are used as calibration coefficients and offsets to generate the calibration parameters of the interval.

[0076] Furthermore, the calibration parameter table is stored in the control system of the photovoltaic inverter or in the cloud server. The format of the calibration parameter table can be a configuration file (such as JSON or XML) or a record in a database. During the operation of the photovoltaic inverter, the corresponding calibration parameters are dynamically matched according to the current reactive power interval. If the operating data of the reactive power interval changes, new calibration parameters can be re-fitted and generated.

[0077] Specifically, the process of setting calibration parameters including corresponding calibration coefficients and offsets for each reactive power interval may be implemented by the following steps 1 to 4:

[0078] Step 1: determine the reactive power range of the photovoltaic inverter, and divide the reactive power range into a plurality of reactive power intervals.

[0079] Step 2: For each reactive power interval, match the corresponding calibration parameter for the reactive power interval.

[0080] Step 3: Initialize the corresponding calibration parameter array for each reactive power interval.

[0081] Step 4: assign the calibration coefficient and the offset included in the calibration parameter to the array element in the calibration parameter array for storage.

[0082] In this way, by setting calibration parameters for each reactive power interval, high-precision active power calibration of the photovoltaic inverter under different reactive power states is achieved, measurement errors caused by proportional errors and fixed deviations are eliminated, and the overall operating accuracy and reliability of the inverter are improved.

[0083] S103: Acquire current reactive power and match a target reactive power interval corresponding to the current reactive power, and determine a target calibration parameter corresponding to the target reactive power interval.

[0084] In the specific implementation, the reactive power value currently output by the photovoltaic inverter is monitored and collected. The reactive power data can be obtained through the built-in power metering module of the inverter or through an external electric energy meter. In order to ensure the real-time and stability of the reactive power data, a reasonable sampling frequency is set, such as collecting once per second or dynamically adjusting the sampling frequency according to load changes. The collected reactive power data is filtered to eliminate possible grid fluctuations or noise interference. The filtering method can use sliding average method or Kalman filtering.

[0085] Here, the reactive power currently collected is checked in turn to see if it falls into a certain interval range. A reactive power interval table is stored inside the photovoltaic inverter or in the cloud server, and all interval ranges and numbers are defined. The interval table is traversed to check whether the reactive power currently collected has an interval number that meets the conditions and is marked as the target reactive power interval.

[0086] Among them, according to the matched target reactive power interval, the corresponding calibration coefficient and offset are read from the calibration parameter table, and the target calibration parameters are the calibration coefficient and offset corresponding to the current reactive power interval.

[0087] Specifically, the process of determining the target calibration parameter corresponding to the target reactive power interval can be implemented through the following steps 1 to 4:

[0088] Step 1: Determine the target reactive power interval to which the current reactive power belongs.

[0089] Step 2: extracting the target calibration coefficient and the target offset included in the calibration parameter array corresponding to the target reactive power.

[0090] Step 3: Determine the target calibration coefficient and the target offset as the target calibration parameters.

[0091] As a possible implementation, after the target calibration parameters are determined, the target calibration values ​​may be uploaded to a cloud platform via a preset photovoltaic inverter monitoring system, and the target calibration values ​​may be displayed to a user via the cloud platform.

[0092] In this way, the PV inverter can dynamically match the target interval according to the current reactive power during operation, and use the corresponding calibration parameters to achieve high-precision active power calibration.

[0093] S104: Collect the current active power sampling value corresponding to the photovoltaic inverter, bring the current active power sampling value into the linear fitting relationship using the target calibration parameter, and determine the target calibration value of the active power of the photovoltaic inverter.

[0094] In the specific implementation, the active power output value of the photovoltaic inverter is monitored in real time. The current active power sampling value can be uploaded and collected through the power monitoring module built into the inverter or the external energy meter through the communication protocol. A reasonable sampling frequency (for example, once per second) is set to balance system performance and real-time requirements. If the load changes frequently, the sampling frequency can be increased; if the system is relatively stable, the sampling frequency can be reduced to save computing resources.

[0095] Here, the current active power sampling value is used as the independent variable, and the target calibration value is used as the dependent variable, and a linear fitting relationship is introduced; according to the target parameters and the current active power sampling value, the linear fitting relationship is used to calculate the target calibration value as the calibrated active power of the photovoltaic inverter.

[0096] Among them, the real-time collected active power sampling value is brought into the linear fitting formula, the calibration result corresponding to the current sampling value is calculated, and the calibration result is transmitted to the inverter control system to update the active power display value or be used for subsequent control logic.

[0097] For example, assume the following conditions: the currently collected active power is 50kW, the current reactive power is -35kVar, and the corresponding target calibration parameters include target calibration coefficient k=1.02 and target offset b=-0.5. Substituting the specific values ​​into the linear fitting formula, the calibrated active power value of 50.5kW is obtained.

[0098] The embodiment of the present disclosure provides a method for calibrating active power of a photovoltaic inverter, which determines the linear fitting relationship between the active power sampling value of the photovoltaic inverter and the actual load power value, and determines the calibration coefficient and the offset according to the linear fitting relationship; for different preset reactive power intervals, a calibration parameter including the corresponding calibration coefficient and the offset is set for each reactive power interval; the current reactive power is obtained and matched with the target reactive power interval corresponding to the current reactive power, and the target calibration parameter corresponding to the target reactive power interval is determined; the current active power sampling value corresponding to the photovoltaic inverter is collected, and the current active power sampling value is brought into the linear fitting relationship using the target calibration parameter to determine the target calibration value of the active power of the photovoltaic inverter. Through the fitting analysis of multiple groups of sampling data, the interval division of reactive power and the dynamic call of calibration parameters, the problems of insufficient accuracy and poor dynamics in the prior art are effectively solved, and the calibration accuracy can be significantly improved and dynamic response capability can be achieved.

[0099] As a possible implementation, see Figure 2 As shown, after determining the target calibration parameters corresponding to the target reactive power interval, a flowchart of another photovoltaic inverter active power calibration method provided by an embodiment of the present disclosure may be performed, the method comprising steps S201 to S203, wherein:

[0100] S201. Monitor the current active power sampling value in real time, and when the current active power sampling value exceeds the target reactive power interval, update the current active power sampling value in real time.

[0101] S202: Determine the updated reactive power interval to which the current active power sampling value after update belongs, and determine the updated calibration parameter corresponding to the updated reactive power interval.

[0102] S203: Substitute the updated current active power sampling value into the linear fitting relationship using the updated calibration parameter to determine the updated target calibration value.

[0103] The embodiment of the present disclosure provides a method for calibrating active power of a photovoltaic inverter, which determines the linear fitting relationship between the active power sampling value of the photovoltaic inverter and the actual load power value, and determines the calibration coefficient and the offset according to the linear fitting relationship; for different preset reactive power intervals, a calibration parameter including the corresponding calibration coefficient and the offset is set for each reactive power interval; the current reactive power is obtained and matched with the target reactive power interval corresponding to the current reactive power, and the target calibration parameter corresponding to the target reactive power interval is determined; the current active power sampling value corresponding to the photovoltaic inverter is collected, and the current active power sampling value is brought into the linear fitting relationship using the target calibration parameter to determine the target calibration value of the active power of the photovoltaic inverter. Through the fitting analysis of multiple groups of sampling data, the interval division of reactive power and the dynamic call of calibration parameters, the problems of insufficient accuracy and poor dynamics in the prior art are effectively solved, and the calibration accuracy can be significantly improved and dynamic response capability can be achieved.

[0104] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.

[0105] Based on the same inventive concept, a photovoltaic inverter active power calibration device corresponding to the photovoltaic inverter active power calibration method is also provided in the embodiment of the present disclosure. Since the principle of solving the problem by the device in the embodiment of the present disclosure is similar to the above-mentioned photovoltaic inverter active power calibration method in the embodiment of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0106] See also Figure 3 , Figure 3 A schematic diagram of a photovoltaic inverter active power calibration device provided by an embodiment of the present disclosure. Figure 3 As shown in , the photovoltaic inverter active power calibration device 300 provided in the embodiment of the present disclosure includes:

[0107] The fitting relationship determination module 310 is used to determine the linear fitting relationship between the active power sampling value of the photovoltaic inverter and the actual load power value, and determine the calibration coefficient and the offset according to the linear fitting relationship.

[0108] The calibration parameter determination module 320 is used to set a calibration parameter including the corresponding calibration coefficient and the offset for each reactive power interval according to different preset reactive power intervals.

[0109] The reactive power matching module 330 is used to obtain the current reactive power and match the target reactive power interval corresponding to the current reactive power, and determine the target calibration parameter corresponding to the target reactive power interval.

[0110] The calibration value determination module 340 is used to collect the current active power sampling value corresponding to the photovoltaic inverter, bring the current active power sampling value into the linear fitting relationship using the target calibration parameter, and determine the target calibration value of the active power of the photovoltaic inverter.

[0111] For descriptions of the processing flow of each module in the device and the interaction flow between each module, reference may be made to the relevant descriptions in the above method embodiment, which will not be described in detail here.

[0112] The embodiment of the present disclosure provides a photovoltaic inverter active power calibration device, which determines the linear fitting relationship between the active power sampling value of the photovoltaic inverter and the actual load power value, and determines the calibration coefficient and the offset according to the linear fitting relationship; for different preset reactive power intervals, a calibration parameter including the corresponding calibration coefficient and the offset is set for each reactive power interval; the current reactive power is obtained and matched with the target reactive power interval corresponding to the current reactive power, and the target calibration parameter corresponding to the target reactive power interval is determined; the current active power sampling value corresponding to the photovoltaic inverter is collected, and the current active power sampling value is brought into the linear fitting relationship using the target calibration parameter to determine the target calibration value of the active power of the photovoltaic inverter. Through the fitting analysis of multiple groups of sampling data, the interval division of reactive power and the dynamic call of calibration parameters, the problems of insufficient accuracy and poor dynamics in the prior art are effectively solved, and the calibration accuracy can be significantly improved and dynamic response capability can be achieved.

[0113] Corresponds to Figure 1 and Figure 2 The photovoltaic inverter active power calibration method in the present disclosure also provides an electronic device 400, such as Figure 4 FIG. 4 is a schematic diagram of the structure of an electronic device 400 provided in an embodiment of the present disclosure, including:

[0114] Processor 41, memory 42, and bus 43; memory 42 is used to store execution instructions, including memory 421 and external memory 422; memory 421 here is also called internal memory, which is used to temporarily store operation data in processor 41 and data exchanged with external memory 422 such as hard disk. Processor 41 exchanges data with external memory 422 through memory 421. When the electronic device 400 is running, the processor 41 communicates with the memory 42 through bus 43, so that the processor 41 executes Figure 1 and Figure 2The steps of the photovoltaic inverter active power calibration method are as follows.

[0115] The embodiment of the present disclosure also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the photovoltaic inverter active power calibration method described in the above method embodiment are executed. The storage medium can be a volatile or non-volatile computer-readable storage medium.

[0116] The embodiment of the present disclosure also provides a computer program product, which includes computer instructions. When the computer instructions are executed by a processor, the steps of the photovoltaic inverter active power calibration method described in the above method embodiment can be executed. For details, please refer to the above method embodiment, which will not be repeated here.

[0117] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is implemented as a computer storage medium. In another optional embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).

[0118] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the device or unit can be electrical, mechanical or other forms.

[0119] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0120] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0121] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0122] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A photovoltaic inverter active power calibration method, characterized in that: include: Determine a linear fitting relationship between an active power sampling value of a photovoltaic inverter and an actual load power value, and determine a calibration coefficient and an offset according to the linear fitting relationship; For different preset reactive power intervals, setting calibration parameters including corresponding calibration coefficients and offsets for each reactive power interval; Acquire current reactive power and match the target reactive power interval corresponding to the current reactive power, and determine the target calibration parameter corresponding to the target reactive power interval; The current active power sampling value corresponding to the photovoltaic inverter is collected, the current active power sampling value is brought into the linear fitting relationship using the target calibration parameter, and the target calibration value of the active power of the photovoltaic inverter is determined.

2. The method according to claim 1, characterized in that Determine the linear fitting relationship between the active power sampling value of the photovoltaic inverter and the actual load power value, specifically including: For each phase of the three-phase photovoltaic inverter, respectively collect a plurality of active power sampling values ​​and a plurality of actual load power values ​​corresponding to each reactive power interval; Taking the actual load power value as the dependent variable and the active power sampling value as the independent variable, a scatter plot of the active power sampling value and the actual load power value is drawn; Fitting a trend line between the active power sampling value and the actual load power value, and generating the linear fitting relationship; Determine the slope and intercept corresponding to the linear fitting relationship; The slope is determined as the calibration coefficient and the intercept is determined as the offset.

3. The method according to claim 1, characterized in that For different preset reactive power intervals, setting calibration parameters corresponding to the calibration coefficient and the offset for each reactive power interval specifically includes: Determine a reactive power range of the photovoltaic inverter, and divide the reactive power range into a plurality of reactive power intervals; For each reactive power interval, matching the corresponding calibration parameter for the reactive power interval; Initializing a corresponding calibration parameter array for each reactive power interval; The calibration coefficient and the offset included in the corresponding calibration parameters are assigned to array elements in the calibration parameter array for storage.

4. The method according to claim 3, characterized in that Matching a target reactive power interval corresponding to the current reactive power and determining a target calibration parameter corresponding to the target reactive power interval specifically includes: Determining the target reactive power interval to which the current reactive power belongs; Extracting the target calibration coefficient and the target offset included in the calibration parameter array corresponding to the target reactive power; The target calibration coefficient and the target offset are determined as the target calibration parameters.

5. The method according to claim 1, characterized in that Substituting the current active power sampling value into the linear fitting relationship using the target calibration parameter to determine the target calibration value specifically includes: Taking the current active power sampling value as an independent variable and the target calibration value as a dependent variable, bringing them into the linear fitting relationship; According to the target parameter and the current active power sampling value, the target calibration value is calculated using the linear fitting relationship as the calibrated active power of the photovoltaic inverter.

6. The method according to claim 1, characterized in that After determining the target calibration value, the method further includes: The target calibration value is uploaded to a cloud platform through a preset photovoltaic inverter monitoring system, and the target calibration value is displayed to a user through the cloud platform.

7. The method according to claim 1, characterized in that After determining the target calibration parameter corresponding to the target reactive power interval, the method further includes: monitoring the current active power sampling value in real time, and updating the current active power sampling value in real time when the current active power sampling value exceeds the target reactive power interval; Determine an updated reactive power interval to which the current active power sampling value after update belongs, and determine an updated calibration parameter corresponding to the updated reactive power interval; The updated current active power sampling value is brought into the linear fitting relationship using the updated calibration parameter to determine the updated target calibration value.

8. A photovoltaic inverter active power calibration device, characterized in that: include: A fitting relationship determination module is used to determine a linear fitting relationship between an active power sampling value of a photovoltaic inverter and an actual load power value, and to determine a calibration coefficient and an offset according to the linear fitting relationship; A calibration parameter determination module, configured to set, for each reactive power interval, a calibration parameter corresponding to the calibration coefficient and the offset; A reactive power matching module, used to obtain the current reactive power and match the target reactive power interval corresponding to the current reactive power, and determine the target calibration parameter corresponding to the target reactive power interval; The calibration value determination module is used to collect the current active power sampling value corresponding to the photovoltaic inverter, bring the current active power sampling value into the linear fitting relationship using the target calibration parameter, and determine the target calibration value of the active power of the photovoltaic inverter.

9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the photovoltaic inverter active power calibration method as described in any one of claims 1 to 7 are performed.

10. 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 steps of the photovoltaic inverter active power calibration method according to any one of claims 1 to 7 are executed.

Citation Information

Cited By

  • Three-phase alternating current electric energy meter production calibration method capable of adaptively calibrating parameters

    CN120652384A