Energy regulation and control method of photovoltaic system
Through the improved P&O algorithm, IncCond method and segmentation search method, combined with sliding average filtering and Kalman filtering, the neural network model is used to realize the accurate tracking of the maximum power point by the photovoltaic system, which solves the problem of photovoltaic system under the conditions of light and temperature changes in the photovoltaic system. The problem of the maximum power point is difficult to accurately track, which improves power generation efficiency and system stability.
Patent Information
- Application Number
- CN202411720920.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2044-11-28
AI Technical Summary
It is difficult for photovoltaic systems to accurately track the maximum power point under light and temperature changes, resulting in energy loss and system instability, unable to reach or maintain the optimal power point in time, and oscillation or errors may occur in the precise positioning of the maximum power point.
Using an energy regulation method of photovoltaic system, the maximum power point is achieved by collecting and processing comprehensive state data, using improved P&O algorithm, IncCond method and subdivided search method, combined with sliding average filtering, Kalman filtering and neural network model. Accurate tracking and optimization.
It significantly improves power generation efficiency, reduces power oscillation and tracking errors, improves the operating stability and response speed of the system, and can maximize power generation under different environmental conditions, increase economic benefits and reduce maintenance costs.
Smart Images

Figure CN119209625A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of photovoltaic system energy regulation, and more specifically, to a photovoltaic system energy regulation method. Background Art
[0002] The maximum power point plays a vital role in the energy regulation of photovoltaic systems. The maximum power point of a photovoltaic system is the maximum power that a photovoltaic module can output under specific light and temperature conditions. By ensuring that the system operates at this point, the energy output of the photovoltaic module can be maximized. In power plants or commercial photovoltaic systems, improving energy conversion efficiency means being able to produce more electricity under the same conditions, which directly translates into increased economic benefits. When integrated into a power grid or power system, ensuring that the photovoltaic system operates at the maximum power point can improve the efficiency of energy scheduling and make the use and distribution of photovoltaic power more efficient.
[0003] Especially when light conditions and environmental factors are constantly changing, continuous tracking of the maximum power point can ensure that the system always operates at the highest efficiency, thereby maximizing daily power generation. If the system does not correctly track the maximum power point, it will result in energy loss. This not only affects the total power generation of the system, but may also cause long-term instability of the system. Light and temperature changes will affect the performance of the photovoltaic modules. When the light changes rapidly or the system starts, the speed of tracking the maximum power point may be slow, resulting in the system being unable to reach or maintain the optimal power point in time. In addition, when accurately locating the maximum power point, oscillations or errors may occur, and the maximum power point cannot be accurately found. Therefore, when regulating the energy of the photovoltaic system through the maximum power point, innovative design is required. Summary of the invention
[0004] In view of the problems existing in the prior art, the purpose of the present invention is to provide an energy regulation method for a photovoltaic system, so as to achieve energy regulation of the photovoltaic system at a maximum power point.
[0005] To achieve the above object, the present invention provides the following technical solution: an energy control method for a photovoltaic system, the energy control method for a photovoltaic system comprising: Step S1: Collecting comprehensive status data within a time period T, and processing the comprehensive status data to obtain time series status data; Step S2: Optimize the time series state data to obtain a gain data set, and use the improved P&O algorithm to perform disturbance judgment on the gain data set; Step S3: Use IncCond method to eliminate power oscillation of voltage in the prediction interval, make segmented demand judgment, use segmented search method to accurately locate the maximum power point, and output it as the operating point of the system.
[0006] Preferably, the comprehensive status data includes the voltage, current and power of the photovoltaic module, as well as the ambient temperature and light intensity. The voltage is measured by a voltage sensor, the current is measured by a current sensor or a Hall effect sensor, the power is obtained by calculation or a power sensor, the ambient temperature is measured by a temperature sensor, and the light intensity is measured using a light sensor.
[0007] Preferably, the method for processing the comprehensive status data comprises: Set the time axis in chronological order, discretize the time period T into R_O time points on average, collect comprehensive status data at each time point, fill the comprehensive status data into the time point on the time axis, obtain R_O comprehensive status data with time series attributes, and aggregate R_O comprehensive status data to form time series status data.
[0008] Preferably, the method for optimizing the time series state data includes: The time series state data is preliminarily processed using a sliding average filter to obtain a smoothed initial data set, which is used as the observation input of the Kalman filter. The Kalman filter is used to further smooth the data to obtain a high-precision gain data set. The process of using sliding average filtering to preliminarily process the time series state data is as follows: select a sliding window with a step size of O_P, calculate the sliding average ,in, Indicates time point The output of the sliding average filter is Time forward Data in the time series state data at a time point, time point The number of previous time points , The first The data in the time series state data at a time point, is the mean value of the data in the time series state data within the time period T, is the growth coefficient, For rated values, a sliding average filter is applied to the voltage, current and power in the time series state data as well as the ambient temperature and light intensity data to obtain an initial data set after preliminary smoothing; The process of further smoothing the data using Kalman filtering is as follows: set the data at the first time point after the sliding average filter as the initial state estimate, set the initial covariance matrix, state transfer matrix, control input matrix and observation matrix, calculate the Kalman gain, update the state estimate and covariance matrix of the data, and stop when the covariance matrix gradually converges and the fluctuation error tends to be stable. Apply the Kalman filter to the voltage, current and power in the initial data set as well as the ambient temperature and light intensity data to obtain the gain data set.
[0009] Preferably, the method of using the improved P&O algorithm to perform disturbance judgment on the gain data set includes: Extract the voltage and power in the gain data set, assuming the initial voltage at time point k and initial power , at voltage Apply a dynamic perturbation step The direction of the disturbance is to increase or decrease the voltage, and the new voltage is the measured voltage. , when measuring voltage Get the measured power of the new output ; Comparative measurement power and initial ,if , indicating that the power is increasing, indicating that the voltage adjustment direction is correct, and the measured voltage and measure power As the new initial voltage and initial power, use the new dynamic perturbation step size along this direction Continue to perform the perturbation until the absolute difference between the measured power and the initial power is less than or equal to the threshold Or stop when there is no change, and obtain the predicted interval of the maximum power point; if , indicating that the power is decreasing, indicating that the voltage adjustment direction is wrong, and readjust in the opposite direction.
[0010] Preferably, the dynamic perturbation step length The setting process is: Set the initial perturbation step size , maximum step length , minimum step length and power change threshold ; After each disturbance, calculate the real-time change in power ,like , then update the perturbation step size ,in is the increase factor, and ,like , then update the perturbation step size ,in is the reduction factor, and ; In each perturbation process, the updated dynamic perturbation step size is used To disturb; Among them, the neural network model is used to obtain the initial perturbation step size , methods include: Construct a sample set, import the sample set into the neural network model for training, use the mean square error as the loss function, obtain the trained neural network model until the loss function value no longer changes, and then import the comprehensive state data at time point k into the trained neural network model to obtain the initial perturbation step length at time point k ; The construction of the sample set includes: collecting multiple historical data subsets, dividing them into multiple batches, importing the data subsets in batches, and in the data subsets, using voltage, current and power difference as well as ambient temperature and light intensity as model inputs, and the perturbation step size. As the output of the model, the power difference is the difference between the power at the current time point and the previous time point.
[0011] Preferably, the method of eliminating power oscillation of voltage in the prediction interval by using the IncCond method and performing segmented demand judgment includes: Set the initial smoothing power value and select the smoothing factor , get the voltage at time point z , Current and power , calculate the smoothed power at time point z ,in, represents the smoothed power at time point z-1 before time point z; Calculating power changes , voltage change and admittance increment ; like , it means that the current voltage has not reached the maximum power point, and the subdivision search method needs to be used to continue the analysis. , it means that the current voltage reaches the maximum power point.
[0012] Preferably, the method for accurately locating the maximum power point using the subdivision search method comprises: Extract the prediction interval of the maximum power point output by the improved P&O algorithm and set the prediction interval as , represents the maximum voltage in the prediction interval, Indicates the minimum voltage in the prediction interval and sets the rough step size and fine step size , and the coarse step length Greater than fine step size , coarse step length As the initial interval for rough segmentation, the fine step size As the final interval, refine the segmentation; Rough step size Roughly divide the voltage within the prediction interval to obtain the voltage rough point ,in, Indicates the first For each selected voltage coarse point , measure the corresponding coarse point power ; Calculate the power of any two coarse points The difference between the two coarse points is selected when the difference is the smallest. The corresponding voltage coarse point forms a refined interval, and the fine step size is used within the refined interval. The final interval is regarded as fine segmentation, the refined interval is discretized into voltage fine points, the corresponding fine point power is extracted, and the maximum value of the fine point power is selected as the maximum power point.
[0013] Preferably, the voltage and current corresponding to the maximum power point are recorded as the optimal voltage and optimal current, the reference voltage or control signal of the converter is adjusted, the parameters are output according to the optimal voltage, the current limit of the converter is set to the optimal current, and the switching frequency and duty cycle are adjusted so that the photovoltaic system can operate stably under the set optimal voltage and optimal current.
[0014] Preferably, during the regulation of the optimal voltage and the optimal current, feedback control is used to adjust the input and output in real time, so that the voltage and current of the system are stable and close to the maximum power point.
[0015] Compared with the prior art, the present invention has the following beneficial effects: In the present invention, by comprehensively using P&O, IncCond and subdivision search method, the photovoltaic system can accurately track the maximum power point, significantly improving the power generation efficiency. The dynamic disturbance step and feedback control mechanism adopted reduce the power oscillation and tracking error of the system, and improve the operation stability of the overall system. The combined processing of sliding average filtering and Kalman filtering improves the smoothness and accuracy of the data, so that the MPPT algorithm can be optimized based on more accurate data. The dynamic disturbance step predicted by the neural network model improves the tracking speed of the system, so that it can adapt to environmental changes more quickly and enhance the response speed. Accurate MPP tracking and optimization strategy enables the photovoltaic system to maximize the power generation under different lighting and environmental conditions, directly increasing economic benefits. Improve the stability and reliability of the system, and reduce the maintenance cost and downtime caused by system instability. The system can quickly adapt to changes in light and temperature, and remain near the optimal working point, so as to achieve efficient power generation under various environmental conditions. The adaptive control optimization mechanism continuously improves the overall efficiency of intelligent analysis, and multiple modules cooperate with each other to achieve comprehensive data collection, processing and analysis, provide real-time and accurate analysis of detection data, and realize energy regulation of the photovoltaic system at the maximum power point. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A schematic diagram of a method for energy regulation of a photovoltaic system proposed by the present invention; Figure 2 It is a structural schematic diagram of the energy regulation method applied to the photovoltaic system in the present invention. DETAILED DESCRIPTION
[0017] Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the exemplary embodiments described here.
[0018] Embodiment 1 Reference Figure 1 and Figure 2 , Example 1 further illustrates the energy control method of a photovoltaic system proposed by the present invention.
[0019] Maximum power point tracking (MPPT) provides several key benefits in the energy regulation of photovoltaic systems, including improving energy conversion efficiency, enhancing system economy, improving system stability and reliability, optimizing energy management efficiency, and enhancing adaptability to extreme environmental conditions. These benefits combined help ensure that photovoltaic systems can operate in the best state, thereby achieving maximum power generation benefits and system performance.
[0020] In the maximum power point tracking (MPPT) process of photovoltaic systems, in order to achieve efficient energy regulation, multiple key data need to be collected and processed in real time.
[0021] Collecting comprehensive status data within a time period T, and processing the comprehensive status data to obtain time series status data; The comprehensive status data includes the voltage, current and power of the photovoltaic module, as well as the ambient temperature and light intensity. The voltage is measured by a voltage sensor, the current is measured by a current sensor or a Hall effect sensor, the power is obtained by calculation or a power sensor, the ambient temperature is measured by a temperature sensor, and the light intensity is measured using a light sensor.
[0022] Voltage is one of the electrical characteristics of the PV module output that is used to calculate power and perform maximum power point tracking. It is measured by a voltage sensor. Current is another electrical characteristic of the PV module output that is used together with voltage to calculate power. It is measured by a current sensor or a Hall effect sensor. Power is the product of the PV module voltage and current and is a key data for calculating the maximum power point. Power can be calculated in real time or directly measured by a power sensor.
[0023] Ambient temperature has a significant impact on the performance of PV modules. Understanding temperature variations helps adjust system parameters to maintain a stable power output. Light intensity directly affects the power generation capability of PV modules, as measured by temperature sensors such as thermocouples or digital temperature sensors. High light intensity generally increases the power output of PV modules. This is measured using light sensors such as photoelectric sensors or light intensity sensors.
[0024] By collecting data such as the voltage, current, power, ambient temperature and light intensity of the photovoltaic module and using appropriate sensors for data collection, the performance of the photovoltaic system can be monitored in real time and effective maximum power point tracking (MPPT) can be implemented. This data-driven approach can ensure that the photovoltaic system always operates in the best state under different environmental conditions, thereby improving energy conversion efficiency, system stability and overall performance.
[0025] Methods for processing comprehensive status data include: Set the time axis in chronological order, discretize the time period T into R_O time points on average, collect comprehensive status data at each time point, fill the comprehensive status data into the time point on the time axis, obtain R_O comprehensive status data with time series attributes, and aggregate R_O comprehensive status data to form time series status data.
[0026] Optimize the time series state data to obtain the gain data set, and use the improved P&O algorithm to perform disturbance judgment on the gain data set; Methods for optimizing the time series state data include: The time series state data is preliminarily processed using a sliding average filter to obtain a smoothed initial data set, which is used as the observation input of the Kalman filter. The Kalman filter is used to further smooth the data to obtain a high-precision gain data set. The data processed by Kalman filtering will be the result of comprehensive consideration of preliminary smoothing and Kalman filtering, so that it can enjoy the smoothness of sliding average filtering and the estimation accuracy of Kalman filtering at the same time.
[0027] The process of using sliding average filtering to preliminarily process the time series state data is as follows: select a sliding window with a step size of O_P (the window step size is usually 3, 5, 7, etc.), calculate the sliding average ,in, Indicates time point The output of the sliding average filter is Time forward Data in the time series state data at a time point, time point The number of previous time points , The first The data in the time series state data at a time point, is the mean value of the data in the time series state data within the time period T, is the growth coefficient, For rated values, a sliding average filter is applied to the voltage, current and power in the time series state data as well as the ambient temperature and light intensity data to obtain an initial data set after preliminary smoothing; The process of further smoothing the data using Kalman filtering is as follows: set the data at the first time point after the sliding average filter as the initial state estimate, set the initial covariance matrix, state transfer matrix, control input matrix and observation matrix, calculate the Kalman gain, update the state estimate and covariance matrix of the data, and stop when the covariance matrix gradually converges and the fluctuation error tends to be stable. Apply the Kalman filter to the voltage, current and power in the initial data set as well as the ambient temperature and light intensity data to obtain the gain data set.
[0028] The basic idea of the P&O algorithm is to determine whether it is close to the maximum power point by disturbing the working voltage of the photovoltaic module and observing the power change. The voltage direction is adjusted according to the power change to find the maximum power point.
[0029] The method of using the improved P&O algorithm to perform disturbance judgment on the gain data set includes: Extract the voltage and power in the gain data set, assuming the initial voltage at time point k and initial power , at voltage Apply a dynamic perturbation step , the direction of the disturbance is to increase or decrease the voltage (i.e. or ), remember that the new voltage is the measured voltage , when measuring voltage Get the measured power of the new output ; Comparative measurement power and initial ,if , indicating that the power is increasing, indicating that the voltage adjustment direction is correct, and the measured voltage and measure power As the new initial voltage and initial power, use the new dynamic perturbation step size along this direction Continue to perform the perturbation until the absolute difference between the measured power and the initial power (i.e. the change in power before and after the perturbation) is less than or equal to the threshold Or stop when there is no change, and obtain the predicted interval of the maximum power point; if , indicating that the power is decreasing, indicating that the voltage adjustment direction is wrong, and readjust in the opposite direction; As the core of the improved P&O algorithm, the perturbation step size cannot be too large, otherwise the maximum power point may be missed; nor can it be too small, otherwise the tracking speed will be slow. Therefore, it is dynamically adjusted according to the speed of real-time power changes to improve tracking efficiency.
[0030] Dynamic perturbation step size The setting process is: Set the initial perturbation step size , maximum step length , minimum step length and power change threshold , used to determine the speed of power change; After each disturbance, calculate the real-time change in power ,like , then update the perturbation step size ,in is the increase factor, and ,like , then update the perturbation step size ,in is the reduction factor, and ; In each perturbation process, the updated dynamic perturbation step size is used To disturb; Among them, the neural network model is used to obtain the initial perturbation step size , methods include: Construct a sample set, import the sample set into the neural network model for training, use the mean square error as the loss function, obtain the trained neural network model until the loss function value no longer changes, and then import the comprehensive state data at time point k into the trained neural network model to obtain the initial perturbation step length at time point k ; The construction of the sample set includes: collecting multiple historical data subsets, dividing them into multiple batches, importing the data subsets in batches, and in the data subsets, using voltage, current and power difference as well as ambient temperature and light intensity as model inputs, and the perturbation step size. As the output of the model, the power difference is the difference between the power at the current time point and the previous time point; The IncCond method is used to eliminate the power oscillation of the voltage in the prediction interval, and the segmented demand judgment is performed. The segmented search method is used to accurately locate the maximum power point and output it as the operating point of the system; The IncCond method determines the maximum power point by comparing the admittance (conductance) increment of the photovoltaic array. The basic principle is that at the maximum power point, the derivative of power is zero, that is, the conductance (negative value of the derivative) and the increment (derivative) of voltage are equal.
[0031] Methods for using the IncCond method to eliminate power oscillations in the voltage prediction interval and to make segmented demand judgments include: Set the initial smoothing power value and select the smoothing factor , get the voltage at time point z , Current and power , calculate the smoothed power at time point z ,in, represents the smoothed power at time point z-1 before time point z; Calculating power changes , voltage change and admittance increment ; like , it means that the current voltage has not reached the maximum power point, and the subdivision search method needs to be used to continue the analysis. , it means that the current voltage reaches the maximum power point; The subdivision search method is a method for more accurate search when approaching the maximum power point. The basic step is to divide the voltage range into smaller intervals for fine search after approaching the maximum power point.
[0032] Methods for using the segmentation search method to accurately locate the maximum power point include: Extract the prediction interval of the maximum power point output by the improved P&O algorithm and set the prediction interval as , represents the maximum voltage in the prediction interval, Indicates the minimum voltage in the prediction interval and sets the rough step size and fine step size , and the coarse step length Greater than fine step size , coarse step length As the initial interval for rough segmentation, the fine step size As the final interval, the segmentation is refined; Rough step size Roughly divide the voltage within the prediction interval to obtain the voltage rough point ,in, Indicates the first For each selected voltage coarse point , measure the corresponding coarse point power ; Calculate the power of any two coarse points The difference between the two coarse points is selected when the difference is the smallest. The corresponding voltage coarse point forms a refined interval, and the fine step size is used within the refined interval. The final interval is regarded as fine segmentation, the refined interval is discretized into voltage fine points, the corresponding fine point power is extracted, and the maximum value of the fine point power is selected as the maximum power point.
[0033] After determining the maximum power point (MPP), adjust the system parameter settings to stably operate at this point to ensure maximum efficiency of the PV system.
[0034] The voltage and current corresponding to the maximum power point are recorded as the optimal voltage and optimal current. The reference voltage or control signal of the converter is adjusted, the parameter output is performed according to the optimal voltage, the current limit of the converter is set to the optimal current, and the switching frequency and duty cycle are adjusted to make the photovoltaic system operate stably under the set optimal voltage and optimal current.
[0035] In the process of regulating the optimal voltage and current, a feedback control system (e.g., proportional-integral-derivative controller (PID)) is used to adjust the input and output in real time, so that the voltage and current of the system are stable and close to the maximum power point, and the gain and parameters of the controller are adjusted to make the system respond faster and reduce overshoot and steady-state errors. When the lighting conditions change, the operating point is adjusted dynamically. The system should be able to update the maximum power point in real time and adjust the operating point to keep it near the latest maximum power point.
[0036] By combining P&O, IncCond and the segmentation search method, a dynamic switching mechanism is formed. Based on power changes, the power change threshold is set, and the P&O method and IncCond method are dynamically switched; based on derivative fluctuations: the fluctuations of incremental conductance and conductance value are detected to determine whether it is necessary to switch to the segmentation search method, which can realize the dynamic MPPT of the photovoltaic system and ensure efficient and stable operation under different conditions. In the initial search stage, the P&O method is used for rapid positioning, and then the IncCond method is used for precise adjustment, and finally the segmentation search method is used for fine optimization when necessary. This combined method combines the advantages of each algorithm and improves the response speed and accuracy of the system.
[0037] Embodiment 2 Reference Figure 1 and Figure 2 , Example 2 further illustrates the energy control method of a photovoltaic system proposed by the present invention.
[0038] The energy control method of a photovoltaic system comprises the following steps: Step S1: Collecting comprehensive status data within a time period T, and processing the comprehensive status data to obtain time series status data; Step S2: Optimize the time series state data to obtain a gain data set, and use the improved P&O algorithm to perform disturbance judgment on the gain data set; Step S3: Use IncCond method to eliminate power oscillation of voltage in the prediction interval, make segmented demand judgment, use segmented search method to accurately locate the maximum power point, and output it as the operating point of the system.
[0039] The energy control system of a photovoltaic system, applied to an energy control method of a photovoltaic system, comprises: Data acquisition module: used to collect raw data from various areas of the city, perform time series processing on the raw data, and obtain comprehensive data packets in a time series state; Data optimization module: Use sliding average filtering to preliminarily process the time series state data to obtain a smoothed initial data set, use the initial data set as the observation input of the Kalman filter, use the Kalman filter to further smooth the data, obtain a high-precision gain data set, and use the improved P&O algorithm to perform disturbance judgment on the gain data set; Control point module: Use IncCond method to eliminate power oscillation of voltage in the prediction interval, make segmented demand judgment, use segmented search method to accurately locate the maximum power point, and use it as the system's operating point for voltage output; The modules are connected to each other via wired and / or wireless means.
[0040] In addition, according to the implementation of the present application, the process described in the attached figure of a method for regulating energy of a photovoltaic system can be implemented as a computer software program. For example, the present application provides a non-transitory machine-readable storage medium, which stores machine-readable instructions, and the machine-readable instructions can be executed by a processor to execute instructions corresponding to the method steps provided in the present application. Of course, the architecture shown in the attached figure of a method for regulating energy of a photovoltaic system is only exemplary, and when implementing different devices, adaptive selection or adjustment can be performed according to actual needs.
[0041] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters and thresholds in the formula are set by technicians in this field according to actual conditions.
[0042] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technical users in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.
Claims
1. A method for regulating energy of a photovoltaic system, characterized in that: The energy control method of the photovoltaic system includes: Step S1: Collecting comprehensive status data within a time period T, and processing the comprehensive status data to obtain time series status data; Step S2: Optimize the time series state data to obtain a gain data set, and use the improved P&O algorithm to perform disturbance judgment on the gain data set; Step S3: Use IncCond method to eliminate power oscillation of voltage in the prediction interval, make segmented demand judgment, use segmented search method to accurately locate the maximum power point, and output it as the operating point of the system.
2. The energy control method of a photovoltaic system according to claim 1, characterized in that: The comprehensive status data includes the voltage, current and power of the photovoltaic module, as well as the ambient temperature and light intensity. The voltage is measured by a voltage sensor, the current is measured by a current sensor or a Hall effect sensor, the power is obtained by calculation or a power sensor, the ambient temperature is measured by a temperature sensor, and the light intensity is measured using a light sensor.
3. The energy control method of a photovoltaic system according to claim 2, characterized in that: The method for processing the comprehensive status data comprises: Set the time axis in chronological order, discretize the time period T into R_O time points on average, collect comprehensive status data at each time point, fill the comprehensive status data into the time point on the time axis, obtain R_O comprehensive status data with time series attributes, and aggregate R_O comprehensive status data to form time series status data.
4. The energy control method of a photovoltaic system according to claim 3, characterized in that: The method for optimizing the time series state data includes: The time series state data is preliminarily processed using a sliding average filter to obtain a smoothed initial data set, which is used as the observation input of the Kalman filter. The Kalman filter is used to further smooth the data to obtain a high-precision gain data set. The process of using sliding average filtering to preliminarily process the time series state data is as follows: select a sliding window with a step size of O_P, calculate the sliding average ,in, Indicates time point The output of the sliding average filter is Time forward Data in the time series state data at a time point, time point The number of previous time points , The first The data in the time series state data at a time point, is the mean value of the data in the time series state data within the time period T, is the growth coefficient, For rated values, a sliding average filter is applied to the voltage, current and power in the time series state data as well as the ambient temperature and light intensity data to obtain an initial data set after preliminary smoothing; The process of further smoothing the data using Kalman filtering is as follows: set the data at the first time point after the sliding average filter as the initial state estimate, set the initial covariance matrix, state transfer matrix, control input matrix and observation matrix, calculate the Kalman gain, update the state estimate and covariance matrix of the data, and stop when the covariance matrix gradually converges and the fluctuation error tends to be stable. Apply the Kalman filter to the voltage, current and power in the initial data set as well as the ambient temperature and light intensity data to obtain the gain data set.
5. The energy control method of a photovoltaic system according to claim 4, characterized in that: The method for using the improved P&O algorithm to perform disturbance judgment on the gain data set includes: Extract the voltage and power in the gain data set, assuming the initial voltage at time point k and initial power , at voltage A dynamic perturbation step is applied on The direction of the disturbance is to increase or decrease the voltage, and the new voltage is the measured voltage. , when measuring voltage Get the measured power of the new output ; Comparative measurement power and initial ,if , indicating that the power is increasing, indicating that the voltage adjustment direction is correct, and the measured voltage and measure power As the new initial voltage and initial power, use the new dynamic perturbation step size along this direction Continue to perform the perturbation until the absolute difference between the measured power and the initial power is less than or equal to the threshold Or stop when there is no change, and obtain the predicted interval of the maximum power point; if , indicating that the power is decreasing, indicating that the voltage adjustment direction is wrong, and readjust in the opposite direction.
6. The energy control method of a photovoltaic system according to claim 5, characterized in that: The dynamic perturbation step size The setting process is: Set the initial perturbation step size , maximum step length , minimum step length and power change threshold ; After each disturbance, calculate the real-time change in power ,like , then update the perturbation step size ,in is the increase factor, and ,like , then update the perturbation step size ,in is the reduction factor, and , In each perturbation process, the updated dynamic perturbation step size is used To disturb; Among them, the neural network model is used to obtain the initial perturbation step size , methods include: Construct a sample set, import the sample set into the neural network model for training, use the mean square error as the loss function, obtain the trained neural network model until the loss function value no longer changes, and then import the comprehensive state data at time point k into the trained neural network model to obtain the initial perturbation step length at time point k ; The construction of the sample set includes: collecting multiple historical data subsets, dividing them into multiple batches, importing the data subsets in batches, and in the data subsets, using voltage, current and power difference as well as ambient temperature and light intensity as model inputs, and the perturbation step length As the output of the model, the power difference is the difference between the power at the current time point and the previous time point.
7. The energy control method of a photovoltaic system according to claim 6, characterized in that: The method of using the IncCond method to eliminate power oscillation of voltage in the prediction interval and to perform segmented demand judgment includes: Set the initial smoothing power value and select the smoothing factor , get the voltage at time point z , Current and power , calculate the smoothed power at time point z ,in, represents the smoothed power at time point z-1 before time point z; Calculating power changes , voltage change and admittance increment ; like , it means that the current voltage has not reached the maximum power point, and the subdivision search method needs to be used to continue the analysis. , it means that the current voltage reaches the maximum power point.
8. The energy control method of a photovoltaic system according to claim 7, characterized in that: The method for accurately locating the maximum power point using the subdivision search method comprises: Extract the prediction interval of the maximum power point output by the improved P&O algorithm and set the prediction interval as , represents the maximum voltage in the prediction interval, Indicates the minimum voltage in the prediction interval and sets the rough step size and fine step size , and the coarse step length Greater than fine step size , coarse step length As the initial interval for rough segmentation, the fine step size As the final interval, the segmentation is refined; Rough step size Roughly divide the voltage within the prediction interval to obtain the voltage rough point ,in, Indicates the first For each selected voltage coarse point , measure the corresponding coarse point power ; Calculate the power of any two coarse points The difference between the two coarse points is selected when the difference is the smallest. The corresponding voltage coarse point forms a refined interval, and the fine step size is used within the refined interval. The final interval is regarded as fine segmentation, the refined interval is discretized into voltage fine points, the corresponding fine point power is extracted, and the maximum value of the fine point power is selected as the maximum power point.
9. The energy control method of a photovoltaic system according to claim 8, characterized in that: The voltage and current corresponding to the maximum power point are recorded as the optimal voltage and optimal current, the reference voltage or control signal of the converter is adjusted, the parameters are output according to the optimal voltage, the current limit of the converter is set to the optimal current, and the switching frequency and duty cycle are adjusted to make the photovoltaic system operate stably under the set optimal voltage and optimal current.
10. The energy control method of a photovoltaic system according to claim 9, characterized in that: Feedback control is used in the process of regulating the optimal voltage and the optimal current to adjust the input and output in real time, so that the voltage and current of the system are stable and close to the maximum power point.
Citation Information
Patent Citations
Three-level power generation system model prediction control method based on time-varying disturbance compensation
CN113659905A
A control method, device and system for a grid-connected photovoltaic power generation system
CN114938034A
MPPT photovoltaic power optimization method and system based on photovoltaic module
CN118939073A
Power processing methods and apparatus for photovoltaic systems
US20130221753A1
Cited By
Photovoltaic inverter, method and system for cadmium telluride glass power generation in building integrated photovoltaics (BIPV)
CN120165433A
Photovoltaic inverter, method and system for cadmium telluride glass power generation in BIPV
CN120165433B
Semi-solid-state circuit breaker with intelligent regulation and control function based on photovoltaic system
CN120357623A
Optical storage system power stabilizing method, system and device based on moving average algorithm and dynamic power compensation and medium
CN122051979A
