Power compensation control method and device for multi-type direct current source access and electronic equipment

The method analyzes DC power spectrum to calculate compensation forces, addressing DC source variability and ensuring rapid, precise power adjustments for grid stability.

CN120320271APending Publication Date: 2025-07-15STATE GRID JIANGSU ELECTRIC POWER CO LTD TAIZHOU POWER SUPPLY BRANCH +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510474687.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-16
Publication Date
2025-07-15

AI Technical Summary

Technical Problem

The prior art is difficult to achieve fast and accurate power compensation when multiple types of DC sources are connected to the power grid, resulting in problems with grid voltage stability and power supply quality. Especially when DC source output power fluctuates, the existing methods are slow to respond or insufficient compensation accuracy.

Method used

By collecting real-time power signals from each DC source in the power grid system, performing spectral analysis, calculating the power fluctuation amplitude, change rate and change speed, combining the system inertia, dynamic damping and compensation equipment adjustment capabilities, generating success rate compensation signals, controlling compensation equipment for dynamic compensation, and adjusting compensation strategies according to the transient conditions of the grid voltage.

Benefits of technology

It realizes rapid and precise compensation of power of multiple types of DC sources, ensures grid voltage stability, can quickly adapt to environmental disturbances, and improves the operating stability and power supply quality of the power grid.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120320271A_ABST
    Figure CN120320271A_ABST
Patent Text Reader

Abstract

The invention discloses a power compensation control method and device for multi-type direct current source access and electronic equipment. The method comprises the steps that real-time power signals output by all direct current sources in a power grid system are collected; inputting the real-time power signal into a spectrograph for spectral analysis to obtain the spectral intensity of the output power of each direct-current source in the corresponding wavelength range; analyzing the spectral intensity to obtain the power fluctuation amplitude of each direct current source; calculating a change rate and a change speed of power fluctuation according to the power fluctuation amplitude; calculating power compensation force according to the change rate and the change speed of the power fluctuation and a preset power target value; generating a power compensation signal based on the power compensation force, and controlling compensation equipment to execute compensation action and output compensation power according to the power compensation signal; according to the method, rapid and accurate compensation of multi-type DC source power can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of distribution networks, and particularly to a power compensation control method, device, and electronic device for accessing multiple types of DC sources. Background Art

[0002] In modern power systems, the access of multiple types of DC sources to the power grid has become an important trend. These DC sources include photovoltaic, wind power, and energy storage devices, etc., which provide electrical energy to the power grid in a flexible and efficient manner. However, due to the characteristic differences of different DC sources and the uncertainty of the environment, their output powers often have fluctuations. These fluctuations are likely to cause transient phenomena of the grid voltage, thereby affecting the stability and power supply quality of the power grid.

[0003] In the prior art, the compensation for the power fluctuations of DC sources mainly relies on energy storage systems or other fast-response compensation devices. For example, energy storage devices such as supercapacitors and batteries are used to compensate for the power to mitigate the impact of power fluctuations on the grid voltage. However, this method has problems with response speed limitations in practical applications. Some compensation devices, such as conventional batteries, have a slow dynamic response speed and are difficult to meet the fast compensation requirements for transient voltage changes.

[0004] In addition, there are also studies that use control algorithms to coordinate and distribute the outputs of multiple DC sources to achieve overall power smoothing. For example, the prior art proposes a power output compensation method and device applied to a power supply device that can output at least two types of power sources. When the power supply device outputs the first type and the second type of power sources simultaneously, if the output power value of the first type of power source reaches a preset power value, the output power value of the first type of power source is monitored in real time. When the current output power of the first type of power source exceeds the first quota value, the power value is allocated to the first type of power source based on the second quota value. This solution automatically allocates power by reserving the quota values of the two types of power sources. However, this method is not applicable to the case of accessing multiple DC sources. In the case of accessing multiple DC sources, it is necessary to accurately schedule the characteristics and dynamic requirements of each type of DC source. There is a lack of a unified and effective coordination mechanism in the above method. In addition, the above method also has the problem of insufficient compensation accuracy, and it is difficult to achieve accurate compensation for the power fluctuations of different types of DC sources, which is likely to lead to an unsatisfactory grid voltage regulation effect and may even cause new stability problems. Summary of the Invention

[0005] The present invention provides a power compensation control method, device, and electronic device for accessing multiple types of DC sources, which can achieve fast and accurate compensation for the powers of multiple types of DC sources.

[0006] In a first aspect, the present invention provides a power compensation control method for accessing multiple types of DC sources, including:

[0007] Collect the real-time power signals of each DC source in the power grid system;

[0008] Input the real-time power signals into a spectrometer for spectral analysis to obtain the spectral intensities of the output powers of each DC source within the corresponding wavelength ranges;

[0009] Analyze the spectral intensities to obtain the power fluctuation amplitudes of each DC source;

[0010] According to the power fluctuation amplitudes, calculate the change rate and change speed of the power fluctuation;

[0011] According to the change rate, change speed of the power fluctuation and a preset power target value, calculate the power compensation force;

[0012] Based on the power compensation force, generate a power compensation signal, and control a compensation device to perform a compensation action and output a compensation power according to the power compensation signal.

[0013] Further, the DC sources include at least two of a photovoltaic system, a wind power system, and an energy storage system.

[0014] Further, analyzing the spectral intensities to obtain the power fluctuation amplitudes of each DC source includes:

[0015] Integrate the spectral intensities within the corresponding wavelength ranges to obtain the power fluctuation amplitudes of the output powers of the corresponding DC sources within the corresponding wavelength ranges.

[0016] Further, the change speed of the power fluctuation is the first-order differential of the power fluctuation amplitude, and the change rate of the power fluctuation is the second-order differential of the power fluctuation amplitude;

[0017] According to the change rate, change speed of the power fluctuation and a preset power target value, calculating the power compensation force includes:

[0018] According to the change rate of the power fluctuation, calculate the inertial force of the power compensation;

[0019] According to the change speed of the power fluctuation and the system dynamic damping coefficient, calculate the resistance of the power compensation;

[0020] According to the preset power target value and the real-time power signal, calculate the deviation value of the real-time power from the power target value;

[0021] According to the deviation value and the power adjustment parameter, calculate the adjustment force of the power compensation;

[0022] Calculate the sum of the inertial force, the resistance and the adjustment force as the power compensation force.

[0023] Further, after controlling the compensation device to perform a compensation action and output compensation power, it further includes:

[0024] Detecting the transient amplitude of the grid voltage;

[0025] Calculating the speed at which the compensation device outputs compensation power according to the transient amplitude of the grid voltage, the change rate of the power fluctuation, and the pre-obtained compensation device adjustment parameters, and dynamically adjusting the output of the compensation device according to the speed at which the compensation device outputs compensation power.

[0026] Further, calculating the speed at which the compensation device outputs compensation power according to the transient amplitude of the grid voltage, the change rate of the power fluctuation, and the pre-obtained compensation device adjustment parameters includes:

[0027] Pre-measuring the response speed of the compensation device under the power fluctuation of the DC source output, and fitting to obtain the basic constant of the response speed of the compensation device to the power fluctuation;

[0028] Pre-statistically calculating the power adjustment speed of the compensation device under different transient conditions of the grid voltage, and fitting to obtain the sensitivity coefficient of the compensation device to the transient of the grid voltage;

[0029] Pre-testing the power adjustment speed of the compensation device at different change rates of the DC source output power fluctuation, and analyzing to obtain the sensitivity coefficient of the compensation device to the change rate of the power fluctuation;

[0030] Calculating the speed at which the compensation device outputs compensation power according to the basic constant of the response speed of the compensation device to the power fluctuation, the sensitivity coefficient of the compensation device to the transient of the grid voltage, the sensitivity coefficient of the compensation device to the change rate of the power fluctuation, the transient amplitude of the grid voltage, and the change rate of the power fluctuation.

[0031] Further, after dynamically adjusting the output of the compensation device according to the speed at which the compensation device outputs compensation power, it further includes:

[0032] Detecting the real-time voltage, and calculating the benefit value of the current compensation device for power compensation according to the fluctuation of the real-time voltage;

[0033] Adjusting the control strategy of the compensation device according to the benefit value.

[0034] Further, adjusting the control strategy of the compensation device according to the benefit value includes:

[0035] Judging whether the benefit value is lower than the preset benefit value;

[0036] When the revenue value is lower than the preset revenue value, calculate the difference between the real-time voltage and the target voltage. If the difference is less than the first preset value, adjust the output voltage of the compensation device; if the number of times the difference is greater than or equal to the first preset value and less than the second preset value within the preset time is greater than the preset number of times, adjust the output current of the compensation device; if the difference is greater than or equal to the second preset value, adjust both the output voltage and the output current of the compensation device simultaneously.

[0037] In a second aspect, the present invention provides a power compensation control device for accessing multiple types of DC sources, including:

[0038] An acquisition module for acquiring real-time power signals of each DC source in the power grid system;

[0039] A spectral analysis module that inputs the real-time power signal into a spectrometer for spectral analysis to obtain the spectral intensity of the output power of each DC source within the corresponding wavelength range;

[0040] A fluctuation calculation module for analyzing the spectral intensity to obtain the power fluctuation amplitude of each DC source;

[0041] A rate calculation module for calculating the change rate and change speed of the power fluctuation based on the power fluctuation amplitude;

[0042] A compensation calculation module for calculating the power compensation force based on the change rate, change speed of the power fluctuation, and a preset power target value;

[0043] An action execution module for generating a power compensation signal based on the power compensation force and controlling the compensation device to execute a compensation action and output a compensation power according to the power compensation signal.

[0044] Further, the DC source includes at least two of a photovoltaic system, a wind power system, and an energy storage system.

[0045] Further, the spectral analysis module analyzes the spectral intensity to obtain the power fluctuation amplitude of each DC source, including:

[0046] Integrate the spectral intensity within the corresponding wavelength range to obtain the power fluctuation amplitude of the output power of the corresponding DC source within the corresponding wavelength range.

[0047] Further, the change speed of the power fluctuation is the first-order differential of the power fluctuation amplitude, and the change rate of the power fluctuation is the second-order differential of the power fluctuation amplitude;

[0048] The compensation calculation module calculates the power compensation force based on the change rate, change speed of the power fluctuation, and a preset power target value, including:

[0049] Calculate the inertial force of power compensation according to the change rate of power fluctuation;

[0050] Calculate the resistance force of power compensation according to the change speed of power fluctuation and the system dynamic damping coefficient;

[0051] Calculate the deviation value of the real-time power from the power target value according to the preset power target value and the real-time power signal;

[0052] Calculate the adjustment force of power compensation according to the deviation value and the power adjustment parameter;

[0053] Calculate the sum of the inertial force, the resistance force and the adjustment force as the power compensation force.

[0054] Furthermore, the control device further includes a speed adjustment module, configured to detect the transient amplitude of the grid voltage after controlling the compensation device to perform a compensation action and output a compensation power; calculate the speed of the compensation device to output the compensation power according to the transient amplitude of the grid voltage, the change rate of the power fluctuation, and the pre-obtained adjustment parameter of the compensation device, and dynamically adjust the output of the compensation device according to the speed of the compensation device to output the compensation power.

[0055] Furthermore, the rate adjustment module calculates the speed of the compensation device to output the compensation power according to the transient amplitude of the grid voltage, the change rate of the power fluctuation, and the pre-obtained adjustment parameter of the compensation device, including:

[0056] Measure the response speed of the compensation device under the power fluctuation of the DC source output in advance, and fit to obtain the basic constant of the response speed of the compensation device to the power fluctuation;

[0057] Statistically analyze the power adjustment speed of the compensation device under different transient conditions of the grid voltage in advance, and fit to obtain the sensitivity coefficient of the compensation device to the transient of the grid voltage;

[0058] Test the power adjustment speed of the compensation device at different change rates of the power fluctuation of the DC source output in advance, and analyze to obtain the sensitivity coefficient of the compensation device to the change rate of the power fluctuation;

[0059] Calculate the speed of the compensation device to output the compensation power according to the basic constant of the response speed of the compensation device to the power fluctuation, the sensitivity coefficient of the compensation device to the transient of the grid voltage, the sensitivity coefficient of the compensation device to the change rate of the power fluctuation, the transient amplitude of the grid voltage, and the change rate of the power fluctuation.

[0060] Further, the control device further includes an optimization module, which is configured to detect the real-time voltage after dynamically adjusting the output of the compensation device according to the speed of the compensation device for outputting compensation power, calculate the benefit value of the current compensation device for power compensation according to the fluctuation of the real-time voltage, and adjust the control strategy of the compensation device according to the benefit value.

[0061] Further, the optimization module adjusts the control strategy of the compensation device according to the benefit value, including:

[0062] Judging whether the benefit value is lower than a preset benefit value;

[0063] When the benefit value is lower than the preset benefit value, calculate the difference between the real-time voltage and the target voltage. If the difference is less than a first preset value, adjust the output voltage of the compensation device; if the number of times the difference is greater than or equal to the first preset value and less than a second preset value within a preset time is greater than a preset number of times, adjust the output current of the compensation device; if the difference is greater than or equal to the second preset value, adjust both the output voltage and the output current of the compensation device.

[0064] In a third aspect, the present invention provides an electronic device, including a processor and a storage device. The storage device stores multiple instructions, and the processor is configured to read the instructions and execute the above method.

[0065] In a fourth aspect, the present invention provides a computer storage medium, which stores multiple instructions, and the multiple instructions can be read and executed to perform the method as described above.

[0066] The power compensation control method, device and electronic device for accessing multiple types of DC sources provided by the present invention have at least the following beneficial effects:

[0067] (1) By performing spectral analysis on the real-time power signal of the DC source to obtain the spectral intensity, which can reflect the changes in the output of each DC source, analyzing based on the spectral intensity to obtain the power fluctuation amplitude, and further calculating the power compensation force according to the power fluctuation amplitude. In the calculation of the power compensation force, the inertia of the DC source system, the dynamic damping effect of the power grid system on power fluctuations, and the power regulation ability of the compensation device are fully considered, so that the power compensation signal generated based on the compensation force acts on the compensation device, enabling the compensation device to accurately match the output characteristics of various types of DC sources, better respond to power compensation, and achieve fast and accurate compensation of the power of multiple types of DC sources;

[0068] (2) Calculate the output compensation power speed of the compensation device based on the response speed of the compensation device to power fluctuations, the sensitivity to grid voltage transients, and the sensitivity to the change rate of power fluctuations. Adjust the output power speed of the compensation device based on the calculated speed to ensure the power output response speed and accuracy. Combine the transient situation of the grid voltage to enable the power compensation to quickly adapt to environmental disturbances;

[0069] (3) By calculating and judging the power compensation value of the compensation device, an evaluation of the compensation effect can be obtained. Furthermore, voltage and / or current can be adjusted according to the deviation between the real-time voltage and the target voltage to ensure the stable operation of the power grid. Description of the Drawings

[0070] Figure 1 It is a flowchart of an embodiment of the power compensation control method for multi-type DC source access provided by the present invention.

[0071] Figure 2 It is a flowchart of an embodiment of calculating the power compensation force in the power compensation control method for multi-type DC source access provided by the present invention.

[0072] Figure 3 It is a flowchart of an embodiment of calculating the compensation power speed in the power compensation control method for multi-type DC source access provided by the present invention.

[0073] Figure 4 It is a flowchart of another embodiment of the power compensation control method for multi-type DC source access provided by the present invention.

[0074] Figure 5 It is a flowchart of an embodiment of calculating the revenue value in the power compensation control method for multi-type DC source access provided by the present invention.

[0075] Figure 6 It is a flowchart of an embodiment of adjusting the control strategy in the power compensation control method for multi-type DC source access provided by the present invention.

[0076] Figure 7 It is a schematic structural diagram of an embodiment of the power compensation control device for multi-type DC source access provided by the present invention. Detailed Embodiments

[0077] To better understand the above technical solutions, the above technical solutions will be described in detail below in conjunction with the accompanying drawings of the specification and specific embodiments.

[0078] Refer to Figure 1 , in some embodiments, a power compensation control method for multi-type DC source access is provided, including:

[0079] S1. Collect the real-time power signals output by each DC source in the power grid system;

[0080] S2. Input the real-time power signals into a spectrometer for spectral analysis to obtain the spectral intensities of the output powers of each DC source within the corresponding wavelength ranges;

[0081] S3. Analyze the spectral intensities to obtain the power fluctuation amplitudes of each DC source;

[0082] S4. Calculate the change rate and change speed of the power fluctuation according to the power fluctuation amplitude;

[0083] S5. Calculate the power compensation force according to the change rate and change speed of the power fluctuation and a preset power target value;

[0084] S6. Generate a power compensation signal based on the power compensation force, and control a compensation device to perform a compensation action and output a compensation power according to the power compensation signal.

[0085] Specifically, in step S1, the DC sources include at least two of a photovoltaic DC source, a wind power DC source, and an energy storage system.

[0086] Further, in step S2, inputting the real-time power signals into a spectrometer for spectral analysis to obtain the spectral intensities of the output powers of each DC source within the corresponding wavelength ranges. Specifically, for a photovoltaic DC source, the spectral intensity reflects the change in solar radiation intensity and affects the output power fluctuation. For an energy storage system, the spectral intensity corresponds to the change in the charge-discharge curve and affects the power stability. For a wind power DC source, the change in wind speed affects the output power, so the signal decomposition can also be performed by the spectral analysis method.

[0087] Further, in step S3, analyzing the spectral intensities to obtain the power fluctuation amplitudes of each DC source specifically includes:

[0088] Integrate the spectral intensities within the corresponding wavelength ranges to obtain the power fluctuation amplitudes of the output powers of the corresponding DC sources within the corresponding wavelength ranges. The specific calculation formula is as follows:

[0089]

[0090] where I(λ,t) is the spectral intensity within the corresponding wavelength range, P(t) represents the power fluctuation amplitude, λ1 and λ2 respectively represent the start and end points of the corresponding wavelength range, and t represents time.

[0091] Further, in step S4, according to the power fluctuation amplitude, calculate the change rate and change speed of the power fluctuation. Wherein, the change speed of the power fluctuation is the first derivative of the power fluctuation amplitude, and the change rate of the power fluctuation is the second derivative of the power fluctuation amplitude, that is:

[0092]

[0093] Wherein, v represents the change speed of the power fluctuation, a represents the change rate of the power fluctuation, and P(t) represents the power fluctuation amplitude.

[0094] Further, referring to Figure 2 , in step S5, according to the change rate, change speed of the power fluctuation and a preset power target value, calculate the power compensation force, including:

[0095] S51. Calculate the inertial force of the power compensation according to the change rate of the power fluctuation;

[0096] S52. Calculate the resistance of the power compensation according to the change speed of the power fluctuation and the system dynamic damping coefficient;

[0097] S53. Calculate the deviation value of the real-time power deviating from the power target value according to the preset power target value and the real-time power signal;

[0098] S54. Calculate the adjustment force of the power compensation according to the deviation value and the power adjustment parameter;

[0099] S55. Calculate the sum value of the inertial force, resistance and adjustment force as the power compensation force.

[0100] Specifically, in step S51, the inertial force is the product of the inertia parameter of the DC power source system and the change rate of the power fluctuation. Wherein, the inertia of the DC power source system, that is, its response lag degree to the external power fluctuation, can be obtained by measuring the power fluctuation response time constant of the DC power source system through experiments and conversion. It can also be obtained by system identification methods, such as step response experiments or frequency domain analysis.

[0101] Further, in step S52, the resistance of the power compensation is the product of the system dynamic damping coefficient and the square of the change speed of the power fluctuation. Wherein, the system dynamic damping coefficient is the dynamic damping effect of the power grid system on the power fluctuation, that is, the recovery ability after the power fluctuation. It can be determined by analyzing the equivalent resistance, inductance and damping ratio of the system. The power system stability analysis method can be used to solve it in combination with the damping oscillation equation.

[0102] Further, in step S53, the deviation value is the difference between the real-time power and the preset power target value.

[0103] Further, in step S54, the adjustment force for power compensation is the product of the deviation value and the power adjustment parameter, where the power adjustment parameter represents the power adjustment ability of the compensation device, that is, the correction ability of the compensation device for power deviation. The calculation method can be calculated through the active power adjustment ability curve of the compensation device or the adjustment margin of the power grid dispatching system. The optimal control method can also be used, combined with the adjustment ability measurement of the energy storage or reactive power compensation system.

[0104] Further, in step S55, the power compensation force is calculated by the following formula:

[0105] F = m * a + C * v 2 + k * x; (4)

[0106] where, F represents the compensation force generated to compensate for the DC source fluctuation, m represents the inertia parameter of the DC source system, a represents the change rate of the power fluctuation, C represents the system dynamic damping coefficient, v represents the change speed of the power fluctuation, k represents the power adjustment parameter, and x represents the deviation value of the real-time power from the power target value.

[0107] Further, in step S6, after obtaining the power compensation force F, the specific value of the compensation power can be calculated based on this power compensation force, and the calculation formula is as follows:

[0108] P comp = F * v; (5)

[0109] where, P comp represents the value of the compensation power, F represents the power compensation force, and v represents the change speed of the power fluctuation.

[0110] Based on this power compensation force and the calculated value of the compensation power, a corresponding power compensation signal is generated, and the compensation device performs a compensation action and outputs the compensation power.

[0111] In the method provided by the above embodiments, by performing spectral analysis on the real-time power signal of the DC source to obtain the spectral intensity, which can reflect the changes in the output of each DC source, analyzing based on this spectral intensity to obtain the power fluctuation amplitude, and further calculating the power compensation force according to this power fluctuation amplitude. In the calculation of the power compensation force, the inertia of the DC source system, the dynamic damping effect of the power grid system on the power fluctuation, and the power adjustment ability of the compensation device are fully considered, so that the power compensation signal generated based on this compensation force acts on the compensation device, enabling the compensation device to accurately match the output characteristics of various types of DC sources, better respond to power compensation, and achieve fast and accurate compensation of the power of various types of DC sources.

[0112] Further, in some embodiments, after obtaining the spectral intensity, the spectral intensity obtained within a preset time duration may be subjected to Fourier transform to obtain the power fluctuation frequency and the power fluctuation period. The control parameters of the DC source may be adjusted based on the power fluctuation frequency and the power fluctuation period to improve the system response speed. For an energy storage system, the charge-discharge strategy may be determined by the fluctuation period to reduce the loss caused by frequent switching.

[0113] Further, with reference to Figure 3 , after controlling the compensation device to perform a compensation action and output compensation power, it further includes:

[0114] S7. Detect the transient amplitude of the grid voltage;

[0115] S8. Calculate the speed of the compensation device outputting compensation power according to the transient amplitude of the grid voltage, the change rate of the power fluctuation, and the pre-obtained compensation device adjustment parameters, and dynamically adjust the output of the compensation device according to the speed of the compensation device outputting compensation power.

[0116] Specifically, the grid compensation device adjustment parameters include the basic constant of the response speed of the compensation device to power fluctuation, the sensitivity coefficient of the compensation device to the transient change of the grid voltage, and the sensitivity coefficient of the compensation device to the change rate of the power fluctuation.

[0117] Specifically, with reference to Figure 4 , in step S8, calculating the speed of the compensation device outputting compensation power according to the transient amplitude of the grid voltage, the change rate of the power fluctuation, and the pre-obtained compensation device adjustment parameters includes:

[0118] S81. Measure the response speed of the compensation device under the power fluctuation of the DC source output in advance, and fit to obtain the basic constant of the response speed of the compensation device to power fluctuation;

[0119] S82. Statistically analyze the power adjustment speed of the compensation device under different transient changes of the grid voltage in advance, and fit to obtain the sensitivity coefficient of the compensation device to the transient change of the grid voltage;

[0120] S83. Test the power adjustment speed of the compensation device under different change rates of the power fluctuation of the DC source output in advance, and analyze to obtain the sensitivity coefficient of the compensation device to the change rate of the power fluctuation;

[0121] S84. Calculate the speed of the compensation device outputting compensation power according to the basic constant of the response speed of the compensation device to power fluctuation, the sensitivity coefficient of the compensation device to the transient change of the grid voltage, the sensitivity coefficient of the compensation device to the change rate of the power fluctuation, the transient amplitude of the grid voltage, and the change rate of the power fluctuation.

[0122] Specifically, in step S81, the basic constant of the response speed of the compensation device to power fluctuations can be based on experimental or simulation measurements of the response speed under different power fluctuations, and the characteristic parameters are fitted as the basic constant of the response speed of the compensation device to power fluctuations.

[0123] Furthermore, in step S82, the sensitivity coefficient of the compensation device to grid voltage transients can be obtained by analyzing historical data, statistically calculating the power adjustment speed of the compensation device under different voltage transient conditions, and using the data regression analysis method to obtain the sensitivity coefficient of the compensation device to grid voltage transients. In addition, a small-signal perturbation experiment can also be used. Given different voltage perturbations, the adjustment speed of the compensation device is measured, and the sensitivity coefficient of the compensation device to grid voltage transients is calculated based on exponential fitting.

[0124] Furthermore, in step S83, the sensitivity coefficient of the compensation device to the change rate of power fluctuations can be determined by analyzing power fluctuation data, studying the influence of different power change rates on the adjustment speed of the compensation device, and performing exponential fitting. A dynamic power perturbation test can also be used. The adjustment rate of the compensation device is tested under different power fluctuation rates, and the sensitivity coefficient is obtained through data analysis and calculation.

[0125] Furthermore, in step S84, the rate of the compensation device outputting compensation power is calculated by the following formula:

[0126] R = p * [A] m * [B] n ; (6)

[0127] wherein, R represents the speed of the compensation device outputting compensation power, p represents the basic constant of the response speed to power fluctuations, [A] represents the amplitude of grid voltage transients, [B] represents the change rate of power fluctuations output by the DC source, m represents the sensitivity coefficient of the compensation device to grid voltage transients, and n represents the sensitivity coefficient of the compensation device to the change rate of power fluctuations.

[0128] After calculating the speed of the compensation device outputting compensation power, adjust the output of the compensation device to make its output speed consistent with the calculated speed.

[0129] In the above embodiments, based on the response speed of the compensation device to power fluctuations, the sensitivity to grid voltage transients, and the sensitivity to the change rate of power fluctuations, the speed of the compensation device outputting compensation power is calculated. Based on the calculated speed, the output power speed of the compensation device is adjusted to ensure the power output response speed and accuracy, and combined with the transient situation of the grid voltage, the power compensation can quickly adapt to environmental disturbances.

[0130] Furthermore, referring toFigure 3 After dynamically adjusting the output of the compensation device according to the speed of the output compensation power of the compensation device, it further includes:

[0131] S9. Detect the real-time voltage, and calculate the benefit value of the current compensation device for power compensation according to the fluctuation of the real-time voltage;

[0132] S10. Adjust the control strategy of the compensation device according to the benefit value.

[0133] Specifically, referring to Figure 5 , in step S9, calculating the benefit value of the current compensation device for power compensation according to the fluctuation of the real-time voltage includes:

[0134] S91. Based on historical data, statistically analyze the short-term and long-term fluctuations of the grid voltage, and analyze and obtain the probability that the real-time voltage of the short-term fluctuation exceeds the target voltage and the probability that the real-time voltage of the long-term fluctuation exceeds the target voltage;

[0135] S92. Calculate the benefit value of the current compensation device for power compensation according to the real-time voltage, the target voltage, the probability that the real-time voltage of the short-term fluctuation exceeds the target voltage, and the probability that the real-time voltage of the long-term fluctuation exceeds the target voltage.

[0136] In step S91, collect sufficient historical grid operation data, and use statistical analysis methods to calculate the probability. Collect historical fluctuation data of the grid voltage, and calculate the difference between the current voltage and the target voltage. Calculate the number of occurrences of the difference exceeding a certain threshold (such as ±5%), and thus calculate the probability.

[0137] In step S92, the calculation formula of the benefit value is as follows:

[0138] C = S * N(d1) - X * e -rT * N * (d2); (7)

[0139] Among them, C represents the benefit value of the current compensation device for power compensation, S represents the value of the real-time voltage, N(d1) represents the probability that the real-time voltage of the short-term fluctuation exceeds the target voltage, N(d2) represents the probability that the real-time voltage of the long-term fluctuation exceeds the target voltage, T represents the time range of voltage fluctuation response, r represents the stability coefficient of the grid, reflecting the basic stable state of the grid under no external interference, and X represents the value of the target voltage.

[0140] Further, referring to Figure 6 , in step S10, adjusting the control strategy of the compensation device according to the benefit value includes:

[0141] S101. Judge whether the benefit value is lower than the preset benefit value;

[0142] S102. When the benefit value is lower than the preset benefit value, calculate the difference between the real-time voltage and the target voltage. If the difference is less than the first preset value, adjust the output voltage of the compensation device; if the number of times that the difference is greater than or equal to the first preset value and less than the second preset value within the preset time is greater than the preset number of times, adjust the output current of the compensation device; if the difference is greater than or equal to the second preset value, adjust both the output voltage and the output current of the compensation device simultaneously.

[0143] Specifically, when the benefit value is lower than the preset benefit value, it indicates that the compensation effect of the compensation device may be poor due to other disturbances at this time. Then calculate the difference between the real-time voltage and the target voltage. If the difference is less than the first preset value, it means that the grid voltage fluctuates slightly at this time, and a voltage regulation strategy can be adopted to adjust the output of the voltage source of the compensation device to restore the voltage to the target value. If the number of times that the difference is greater than or equal to the first preset value and less than the second preset value within the preset time is greater than the preset number of times, it means that the voltage deviation is large and fluctuates frequently, then adjust the output current of the compensation device. If the difference is greater than or equal to the second preset value, it means that the grid is subjected to a large impact or severe fluctuation (such as the access of a short-time high-power load), then adjust both the output voltage and the output current of the compensation device simultaneously, use current regulation to provide rapid compensation in a short time, and use voltage regulation to maintain long-term stability at the same time.

[0144] In the above embodiment, by calculating and judging the power compensation value of the compensation device, an evaluation of the compensation effect can be obtained, and then the voltage and / or current can be adjusted further according to the deviation between the real-time voltage and the target voltage to ensure the stable operation of the power grid.

[0145] Reference Figure 7 , in some embodiments, a power compensation control device for multi-type DC source access is provided, including:

[0146] An acquisition module 201 for acquiring the real-time power signals of each DC source in the power grid system;

[0147] A spectral analysis module 202 that inputs the real-time power signal into a spectrometer for spectral analysis to obtain the spectral intensity of the output power of each DC source within the corresponding wavelength range;

[0148] A fluctuation calculation module 203 for analyzing the spectral intensity to obtain the power fluctuation amplitude of each DC source;

[0149] A rate calculation module 204 for calculating the change rate and change speed of the power fluctuation according to the power fluctuation amplitude;

[0150] The compensation calculation module 205 is configured to calculate a power compensation force according to the change rate, change speed of the power fluctuation, and a preset power target value.

[0151] The action execution module 206 is configured to generate a power compensation signal based on the power compensation force, and control a compensation device to perform a compensation action and output a compensation power according to the power compensation signal.

[0152] Further, the DC power source includes at least two of a photovoltaic system, a wind power system, and an energy storage system.

[0153] Further, the spectral analysis module 202 analyzes the spectral intensity to obtain the power fluctuation amplitude of each DC power source, including:

[0154] Integrating the spectral intensity within a corresponding wavelength range to obtain the power fluctuation amplitude of the output power of the corresponding DC power source within the corresponding wavelength range.

[0155] Further, the change speed of the power fluctuation is the first derivative of the power fluctuation amplitude, and the change rate of the power fluctuation is the second derivative of the power fluctuation amplitude;

[0156] The compensation calculation module 205 calculates the power compensation force according to the change rate, change speed of the power fluctuation, and a preset power target value, including:

[0157] Calculating the inertial force of the power compensation according to the change rate of the power fluctuation;

[0158] Calculating the resistance of the power compensation according to the change speed of the power fluctuation and the system dynamic damping coefficient;

[0159] Calculating a deviation value of the real-time power deviating from the power target value according to the preset power target value and the real-time power signal;

[0160] Calculating the adjustment force of the power compensation according to the deviation value and the power adjustment parameter;

[0161] Calculating the sum value of the inertial force, the resistance, and the adjustment force as the power compensation force.

[0162] Further, the control device further includes a speed adjustment module, configured to detect the transient amplitude of the grid voltage after controlling the compensation device to perform a compensation action and output a compensation power; calculating the speed of the compensation device outputting the compensation power according to the transient amplitude of the grid voltage, the change rate of the power fluctuation, and the pre-obtained compensation device adjustment parameter, and dynamically adjusting the output of the compensation device according to the speed of the compensation device outputting the compensation power.

[0163] Further, the rate adjustment module calculates the speed at which the compensation device outputs compensation power according to the transient amplitude of the grid voltage, the change rate of the power fluctuation, and the pre-obtained compensation device adjustment parameters, including:

[0164] Measure the response speed of the compensation device under the power fluctuation of the DC source output in advance, and obtain the basic constant of the response speed of the compensation device to the power fluctuation by fitting;

[0165] Statistically obtain the power adjustment speed of the compensation device under different transient conditions of the grid voltage in advance, and obtain the sensitivity coefficient of the compensation device to the transient of the grid voltage by fitting;

[0166] Test the power adjustment speed of the compensation device at different change rates of the DC source output power fluctuation in advance, and analyze and obtain the sensitivity coefficient of the compensation device to the change rate of the power fluctuation;

[0167] Calculate the speed at which the compensation device outputs compensation power according to the basic constant of the response speed of the compensation device to the power fluctuation, the sensitivity coefficient of the compensation device to the transient of the grid voltage, the sensitivity coefficient of the compensation device to the change rate of the power fluctuation, the transient amplitude of the grid voltage, and the change rate of the power fluctuation.

[0168] Further, the control device further includes an optimization module, which is used to detect the real-time voltage after dynamically adjusting the output of the compensation device according to the speed at which the compensation device outputs compensation power, calculate the benefit value of the current compensation device for power compensation according to the fluctuation of the real-time voltage; adjust the control strategy of the compensation device according to the benefit value.

[0169] Further, the optimization module adjusts the control strategy of the compensation device according to the benefit value, including:

[0170] Judge whether the benefit value is lower than the preset benefit value;

[0171] When the benefit value is lower than the preset benefit value, calculate the difference between the real-time voltage and the target voltage. If the difference is less than the first preset value, adjust the output voltage of the compensation device; if the number of times the difference is greater than or equal to the first preset value and less than the second preset value within the preset time is greater than the preset number of times, adjust the output current of the compensation device; if the difference is greater than or equal to the second preset value, adjust the output voltage and output current of the compensation device at the same time.

[0172] In some embodiments, an electronic device is further provided, including a processor and a storage device. The storage device stores multiple instructions, and the processor is used to read the instructions and execute the above method.

[0173] In some embodiments, a computer storage medium is further provided. The computer storage medium stores multiple instructions, and the multiple instructions can be read and executed to perform the method as described above.

[0174] The power compensation control method, device, and electronic device for accessing multiple types of DC sources provided by the above embodiments at least include the following beneficial effects:

[0175] (1) By performing spectral analysis on the real-time power signal of the DC source to obtain the spectral intensity, which can reflect the changes in the output of each DC source, analyzing based on the spectral intensity to obtain the power fluctuation amplitude, and further calculating the power compensation force according to the power fluctuation amplitude. In the calculation of the power compensation force, the inertia of the DC source system, the dynamic damping effect of the power grid system on power fluctuations, and the power regulation ability of the compensation device are fully considered. The power compensation signal generated based on the compensation force acts on the compensation device, enabling the compensation device to accurately match the output characteristics of various types of DC sources, better respond to power compensation, and achieve fast and precise compensation of the power of multiple types of DC sources;

[0176] (2) Calculate the speed of the output compensation power of the compensation device based on the response speed of the compensation device to power fluctuations, the sensitivity to grid voltage transients, and the sensitivity to the change rate of power fluctuations. Adjust the speed of the output power of the compensation device based on the calculated speed to ensure the response speed and accuracy of power output, and combine with the transient situation of the grid voltage to enable power compensation to quickly adapt to environmental disturbances;

[0177] (3) By calculating and judging the power compensation value of the compensation device, an evaluation of the compensation effect can be obtained, and then the voltage and / or current can be further adjusted according to the deviation between the real-time voltage and the target voltage to ensure the stable operation of the power grid.

[0178] Although the preferred embodiments of the present invention have been described, those skilled in the art can make additional changes and modifications to these embodiments once they learn the basic creative concept. Therefore, the appended claims are intended to be construed to include the preferred embodiments as well as all changes and modifications falling within the scope of the present invention. Obviously, those skilled in the art can make various changes and variations to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention is also intended to include these modifications and variations.

Claims

1. A power compensation control method for accessing multiple types of DC power sources, characterized in that, Including: Collecting the real-time power signals output by each DC source in the power grid system; Inputting the real-time power signals into a spectrometer for spectral analysis to obtain the spectral intensities of the output powers of each DC source within the corresponding wavelength ranges; Analyzing the spectral intensities to obtain the power fluctuation amplitudes of each DC source; Calculating the change rate and change speed of the power fluctuation according to the power fluctuation amplitude; Calculating the power compensation force according to the change rate of the power fluctuation, the change speed, and a preset power target value; Generating a power compensation signal based on the power compensation force, and controlling a compensation device to perform a compensation action and output a compensation power according to the power compensation signal.

2. The method according to claim 1, wherein The DC source includes at least two of a photovoltaic system, a wind power system, and an energy storage system.

3. The method according to claim 1, wherein Analyzing the spectral intensities to obtain the power fluctuation amplitudes of each DC source, including: Integrating the spectral intensities within the corresponding wavelength ranges to obtain the power fluctuation amplitudes of the output powers of the corresponding DC sources within the corresponding wavelength ranges.

4. The method according to claim 1, characterized in that, The change speed of the power fluctuation is the first-order differential of the power fluctuation amplitude, and the change rate of the power fluctuation is the second-order differential of the power fluctuation amplitude; Calculating the power compensation force according to the change rate of the power fluctuation, the change speed, and a preset power target value, including: Calculating the inertial force of the power compensation according to the change rate of the power fluctuation; Calculating the resistance of the power compensation according to the change speed of the power fluctuation and the system dynamic damping coefficient; Calculating the deviation value of the real-time power deviating from the power target value according to the preset power target value and the real-time power signal; Calculating the regulating force of the power compensation according to the deviation value and the power regulation parameter; Calculating the sum value of the inertial force, the resistance, and the regulating force as the power compensation force.

5. The method according to claim 1, wherein After controlling the compensation device to perform a compensation action and output a compensation power, it further includes: Detecting the transient amplitude of the grid voltage; Calculating the speed of the compensation device outputting the compensation power according to the transient amplitude of the grid voltage, the change rate of the power fluctuation, and the pre-obtained compensation device regulation parameter, and dynamically adjusting the output of the compensation device according to the speed of the compensation device outputting the compensation power.

6. The method according to claim 5, wherein Calculating the speed of the compensation device outputting the compensation power according to the transient amplitude of the grid voltage, the change rate of the power fluctuation, and the pre-obtained compensation device regulation parameter, including: Pre-measuring the response speed of the compensation device under the power fluctuation of the DC source output, and fitting to obtain the basic constant of the response speed of the compensation device to the power fluctuation; Pre-statistically analyzing the power regulation speed of the compensation device under different transient conditions of the grid voltage, and fitting to obtain the sensitivity coefficient of the compensation device to the transient of the grid voltage; Pre-testing the power regulation speed of the compensation device under different change rates of the power fluctuation of the DC source output, and analyzing to obtain the sensitivity coefficient of the compensation device to the change rate of the power fluctuation; Calculating the speed of the compensation device outputting the compensation power according to the basic constant of the response speed of the compensation device to the power fluctuation, the sensitivity coefficient of the compensation device to the transient of the grid voltage, the sensitivity coefficient of the compensation device to the change rate of the power fluctuation, the transient amplitude of the grid voltage, and the change rate of the power fluctuation.

7. The method according to claim 5, wherein After dynamically adjusting the output of the compensation device according to the speed of the output compensation power of the compensation device, it further includes: Detect the real-time voltage, and calculate the benefit value of the current compensation device for power compensation according to the fluctuation of the real-time voltage; Adjust the control strategy of the compensation device according to the benefit value.

8. The method according to claim 7, wherein Adjusting the control strategy of the compensation device according to the benefit value includes: Judge whether the benefit value is lower than the preset benefit value; When the benefit value is lower than the preset benefit value, calculate the difference between the real-time voltage and the target voltage. If the difference is less than the first preset value, adjust the output voltage of the compensation device; if the number of times the difference is greater than or equal to the first preset value and less than the second preset value within the preset time is greater than the preset number of times, adjust the output current of the compensation device; if the difference is greater than or equal to the second preset value, adjust the output voltage and output current of the compensation device at the same time.

9. A power compensation control device for accessing multiple types of DC power sources, characterized in that Includes: An acquisition module for acquiring the real-time power signals of each DC source in the power grid system; A spectral analysis module that inputs the real-time power signal into a spectrometer for spectral analysis to obtain the spectral intensity of the output power of each DC source within the corresponding wavelength range; A fluctuation calculation module for analyzing the spectral intensity to obtain the power fluctuation amplitude of each DC source; A rate calculation module for calculating the change rate and change speed of the power fluctuation according to the power fluctuation amplitude; A compensation calculation module for calculating the power compensation force according to the change rate and change speed of the power fluctuation and the preset power target value; An action execution module for generating a power compensation signal based on the power compensation force, and controlling the compensation device to execute a compensation action and output compensation power according to the power compensation signal.

10. An electronic device, characterized in that, Includes a processor and a storage device, the storage device stores multiple instructions, and the processor is used to read the instructions and execute the method according to any one of claims 1-8.