A photovoltaic module power optimization control method and system under shadow conditions

By adjusting the adaptive inertial weight and orientation of the photovoltaic module particles, the problem that the power optimization of photovoltaic modules is difficult to achieve maximum power under shadow conditions is solved, and the rapid convergence and efficient output of photovoltaic modules are achieved.

CN118466683BActive Publication Date: 2024-11-19SHENZHEN LEIMING TECH DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410911964.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-11-19
Estimated Expiration
2044-07-09

AI Technical Summary

Technical Problem

Under shadow conditions, it is difficult to achieve maximum power control of photovoltaic modules. The prior art such as perturbation observation method and particle swarm algorithms are prone to fall into local optimal solutions when tracking the maximum power of photovoltaic modules, resulting in low output efficiency and increased energy consumption.

Method used

By acquiring the voltage and power data of the photovoltaic module under shadow conditions, adjusting the adaptive inertia weight based on the particle swarm algorithm, modifying the local maximum output power using power differences and distance differences, optimizing the approaching distance and overall inertia weight of the photovoltaic module particles to ensure that The particle swarm quickly converges to the global optimal solution.

Benefits of technology

The power optimization effect of photovoltaic modules in the shadow state is improved, the optimal solution inaccuracy problem caused by multiple local solutions is solved, the optimal solution adjustment optimization effect of photovoltaic module power is improved, and rapid convergence and efficient output are achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118466683B_ABST
    Figure CN118466683B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of photovoltaic module power optimization, and specifically to a photovoltaic module power optimization control method and system under shadow conditions, the method comprising: obtaining a number of voltage data and output power data of the photovoltaic module under shadow conditions; using each voltage data and power data as the initial distribution position and fitness of each photovoltaic module particle respectively, determining the adaptive inertia weight of each photovoltaic module particle in the particle swarm algorithm based on the distribution of the voltage data and output power data at the location of the photovoltaic module particle, optimizing the inertia weight of each photovoltaic module particle in the particle swarm algorithm based on the adaptive inertia weight and the number of iterations, and optimizing the photovoltaic module power with the output result of the optimized particle swarm algorithm. The present application aims to solve the problem that the optimal solution is inaccurate due to the appearance of multiple local solutions of the photovoltaic module power under shadow conditions, and improve the optimization effect of the adjustment of the optimal solution of the photovoltaic module power.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of photovoltaic module power optimization, and in particular to a photovoltaic module power optimization control method and system under shadow conditions. Background Art

[0002] Photovoltaic power generation is the process of converting solar energy into electrical energy using the photoelectric effect. Usually, a photovoltaic power generation system consists of solar panels, which convert sunlight into direct current, and then convert direct current into alternating current through an inverter. The power of a photovoltaic module is the maximum electrical power that a photovoltaic module can generate. The power of photovoltaic power generation is generally controlled by MPPT. Under normal conditions without shadows and good light intensity, the characteristic equation between photovoltaic power and photovoltaic voltage has one and only one optimal solution. When the photovoltaic power is at its maximum value, it is the power tracked by the MPPT algorithm. When the photovoltaic panel is affected by the environment and the shadow of other objects appears on the photovoltaic panel, the characteristic equation of the voltage and power of the photovoltaic panel module will have multiple solutions. Therefore, the system may fall into a local optimal solution so that the power of the photovoltaic module cannot reach the maximum power, resulting in a waste of resources.

[0003] When the traditional technology Perturbation and Observation (P&O) is used to track the maximum power of photovoltaic modules, it often falls into the local optimal solution under shadow conditions. Although the particle swarm algorithm can track the global maximum power point, its fixed weights can easily lead to problems such as slow system convergence and violent oscillation, resulting in low output efficiency and increased energy consumption of photovoltaic modules. Summary of the invention

[0004] In order to solve the above technical problems, the present application provides a method and system for optimizing the power control of photovoltaic modules under shadow conditions. The technical solutions adopted are as follows:

[0005] In a first aspect, an embodiment of the present application provides a method for optimizing power control of a photovoltaic module under shadow conditions, the method comprising the following steps:

[0006] Obtain several voltage data and output power data of photovoltaic modules under shadow conditions;

[0007] Each voltage data and output power data are used as the initial distribution position and fitness of each photovoltaic component particle respectively. Based on the distribution of voltage data and output power data at the location of the photovoltaic component particle, the adaptive inertia weight of each photovoltaic component particle in the particle swarm algorithm is determined, specifically:

[0008] (1) Based on the power difference between PV module particles, determine the directional movement weight of each PV module particle for each local maximum output power;

[0009] (2) Based on the distance between the PV module particle and the PV module particles with all local maximum output powers and the directional motion weight, the values ​​of all local maximum output powers are corrected, and the directional approach distance of each PV module particle is determined based on the correction result;

[0010] (3) determining the overall inertia weight of the photovoltaic component particles based on the approach distance and the distribution state of the photovoltaic component particles;

[0011] (4) determining an adaptive inertia weight of each photovoltaic component particle based on the overall inertia weight and the approach distance;

[0012] The inertia weight of each photovoltaic component particle in the particle swarm algorithm is optimized based on the adaptive inertia weight and the number of iterations, and the output result of the optimized particle swarm algorithm is used to optimize the photovoltaic component power.

[0013] Preferably, the method for determining the directional movement weight includes:

[0014] Obtaining a preset number of maximum output powers as local maximum output powers;

[0015] The difference between each local maximum output power and the output power of each photovoltaic component particle is used as the directional movement weight of each photovoltaic component particle with respect to each local maximum output power.

[0016] Preferably, the method for determining the approach distance includes:

[0017] Determine the positive and negative direction of each photovoltaic module particle based on the position between the photovoltaic module particle and the photovoltaic module particle with the maximum output power;

[0018] Calculate the distance difference between each photovoltaic component particle and each photovoltaic component particle with the local maximum output power;

[0019] Based on the distance difference and the positive and negative directions, determining the directional distance between each photovoltaic component particle and the photovoltaic component particle where the local maximum output power is located;

[0020] Calculate the product of the directional distance between each photovoltaic component particle and each local maximum output power and the directional motion weight as the denominator; use each local maximum output power as the numerator; and use the ratio of the numerator to the denominator as the power correction value between each photovoltaic component particle and each local maximum output power;

[0021] The absolute value of the accumulated result of the power correction value of each photovoltaic component particle and all local maximum output powers is used as the approach distance of each photovoltaic component particle.

[0022] Preferably, the method for determining the positive and negative directions includes: for each photovoltaic component particle, taking the direction of the maximum output power among the output powers of other photovoltaic component particles except the current photovoltaic component particle as the positive direction of each photovoltaic component particle, and taking the opposite direction as the negative direction of each photovoltaic component particle.

[0023] Preferably, the method for determining the directional distance includes: adding a positive sign or a negative sign to the distance difference in the positive direction or the negative direction of each photovoltaic component particle by combining the photovoltaic component particle where each local maximum output power is located, and recording the result of adding the positive sign or the negative sign as the directional distance between each photovoltaic component particle and the photovoltaic component particle where the local maximum output power is located.

[0024] Preferably, the method for determining the overall inertia weight includes:

[0025] Based on the approach distance of the photovoltaic module particles, a near-distance orientation set and a far-distance orientation set are screened out;

[0026] Calculate the difference between the number of elements in the near-facing set and the number of elements in the far-facing set, and record it as the number difference;

[0027] The overall inertia weight of the photovoltaic component particles is determined based on the quantity difference; wherein the quantity difference is negatively correlated with the overall inertia weight of the photovoltaic component particles.

[0028] Preferably, the screening process of the near-to-far direction set and the far-to-far direction set includes:

[0029] The approach distance of all photovoltaic module particles is used as the input of the threshold segmentation algorithm, and the segmentation threshold is output;

[0030] The orientation close distances greater than the segmentation threshold are grouped into a near orientation set, and the orientation close distances less than or equal to the segmentation threshold are grouped into a far orientation set.

[0031] Preferably, the method for determining the adaptive inertia weight includes:

[0032] Normalizing the approach distance of any photovoltaic component particle and the sum of the segmentation threshold, and using the normalized value as the corrected approach distance of any photovoltaic component particle;

[0033] When the orientation-corrected approach distance of any photovoltaic component particle is greater than the normalized segmentation threshold, the minimum value of all orientation-corrected approach distances greater than the normalized segmentation threshold is used as the inertia adjustment reference parameter of any photovoltaic component particle;

[0034] Calculate the difference between the inertial adjustment reference parameter and the orientation-corrected approach distance of any photovoltaic component particle, and record it as the reference difference of any photovoltaic component particle;

[0035] Based on the reference difference and the overall inertia weight, determining an adaptive inertia weight of any photovoltaic component particle; wherein the reference difference and the overall inertia weight are both positively correlated with the adaptive inertia weight;

[0036] When the orientation-corrected approach distance of any photovoltaic component particle is less than or equal to the normalized segmentation threshold, the overall inertia weight is used as the adaptive inertia weight of any photovoltaic component particle.

[0037] Preferably, the inertia weight of each photovoltaic component particle in the particle swarm algorithm is optimized based on the adaptive inertia weight and the number of iterations, and the output result of the optimized particle swarm algorithm is used to optimize the photovoltaic component power, including:

[0038] The difference between the preset maximum number of iterations and the current number of iterations, and the ratio of the preset maximum number of iterations, are used as the iteration correction coefficient of each photovoltaic component particle;

[0039] The product of the iterative correction coefficient and the adaptive inertia weight is used as the adaptive updated inertia weight of each PV module particle;

[0040] The input of the particle swarm algorithm is all voltage data and all output power data. The adaptive updated inertia weight of the PV module particles replaces the original inertia weight of the particle swarm algorithm. The output of the particle swarm algorithm is the optimal solution for the output power of the PV module.

[0041] In the second aspect, an embodiment of the present application also provides a photovoltaic module power optimization control system under shadow conditions, including a memory, a processor, and a computer program stored in the memory and running on the processor, and when the processor executes the computer program, it implements the steps of any one of the above-mentioned photovoltaic module power optimization control methods under shadow conditions.

[0042] This application has at least the following beneficial effects:

[0043] The present application realizes the optimization of photovoltaic module power under shadow state. Compared with the prior art using particle swarm algorithm to optimize photovoltaic power, due to the multiple local optimal solutions of photovoltaic module power and voltage in the shadow state, the particle swarm algorithm has a poor tracking effect on the maximum power of photovoltaic modules. The present application uses the distribution gap characteristics of photovoltaic module particles, the power difference and distance difference between photovoltaic module particles, to correct the values ​​of all local maximum output powers, adjust the approach distance of photovoltaic module particles, so that it affects the speed of photovoltaic module particles reaching the global optimal solution; at the same time, the distribution state of all photovoltaic module particles is used to evaluate the distance between the overall photovoltaic module particles and the global optimal solution; the adaptive inertia weight of photovoltaic module particles is determined by combining the overall inertia weight and the approach distance, and on the basis of the inertia of the overall photovoltaic module particles, it is ensured that each photovoltaic module particle can reach the optimal state, and further combined with the number of iterations, so as to realize the overall particle swarm to the global optimal solution for rapid convergence, improve the convergence accuracy of the algorithm. The present application solves the problem that the optimal solution is inaccurate due to the multiple local solutions of photovoltaic module power under shadow state, and improves the optimization effect of the adjustment of the optimal solution of photovoltaic module power. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0045] Figure 1 A flowchart of a photovoltaic module power optimization control method under shadow conditions provided in this application;

[0046] Figure 2 A flow chart of the steps for constructing the adaptive inertia weight of photovoltaic module particles provided in this application. DETAILED DESCRIPTION

[0047] In order to further explain the technical means and effects adopted by the present application to achieve the predetermined invention purpose, the following is a detailed description of the photovoltaic module power optimization control method and system under shadow conditions proposed by the present application, its specific implementation method, structure, features and effects in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0048] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.

[0049] The following is a detailed description of a specific scheme of a photovoltaic module power optimization control method and system under shadow conditions provided by the present application in conjunction with the accompanying drawings.

[0050] An embodiment of the present application provides a method and system for optimizing photovoltaic module power control under shadow conditions.

[0051] Specifically, the following method for optimizing the power control of photovoltaic modules under shadow conditions is provided. Figure 1 , the method comprises the following steps:

[0052] The first major step is to obtain some voltage data and output power data of the PV module under shadow conditions.

[0053] An ammeter and a voltmeter are installed on the photovoltaic module to collect the voltage data and current data of the photovoltaic module under the shadow condition. At the same time, the maximum voltage in the shadow state is obtained, and the voltage from 0 to the maximum voltage is evenly divided into N equal parts to obtain N voltage data and N current data of the photovoltaic module under the shadow condition. The output power of the photovoltaic module is calculated according to the current and voltage data using known technology. In this embodiment, N is 20.

[0054] At this point, N voltage data and N output power data of the photovoltaic module under shadow conditions can be obtained according to the above method.

[0055] The second major step is to use each voltage data and output power data as the initial distribution position and fitness of each PV module particle respectively, and determine the adaptive inertia weight of each PV module particle in the particle swarm algorithm based on the distribution of voltage data and output power data at the location of the PV module particle.

[0056] Because the power generation of photovoltaic modules is different under different shadow conditions, the power generation and voltage curve of photovoltaic modules under shadow conditions changes from a single-peak nonlinear curve under normal conditions to a multi-peak nonlinear curve.

[0057] This application uses each voltage data of photovoltaic module power generation as the initial distribution position of each photovoltaic module particle, and uses each output power data as the fitness of each photovoltaic module particle, so as to obtain the global optimal solution.

[0058] However, when optimizing the power of photovoltaic modules under shadow conditions, it is necessary to find the global optimal solution of the multi-peak nonlinear curve. When tracking the global optimal solution through the particle swarm algorithm, the collected photovoltaic module particles need to converge to the optimal output voltage so that the output power reaches the maximum value.

[0059] In the particle swarm optimization (PSO) algorithm, the inertia weight is a key parameter that controls the movement trend of particles in the search space. When the overall inertia weight of the PV module particles is large, it usually means that the distribution of the particle swarm in the search space is relatively dispersed, and the particles are far away from the local maximum power point. In this case, the particles need more kinetic energy to push the particles closer to the local maximum power point in order to achieve rapid convergence. Considering that there are multiple peaks in the voltage-power curve of the PV module under the shadow state at that time, it is necessary to take into account the multiple local maximum output powers of the PV module particles, that is, by analyzing the voltage data and power data, the adaptive inertia weight of each PV module particle is determined, so as to obtain the global optimal solution of the particle swarm algorithm.

[0060] In this application, the construction steps of the adaptive inertia weight of the photovoltaic module particles are shown in the attached flowchart. Figure 2 As shown, specifically:

[0061] In the first small step, based on the power difference between PV module particles, the directional movement weight of each PV module particle for each local maximum output power is determined.

[0062] In order to calculate the influence of multiple local maximum output powers on other particles, so that the particles can reach a better state during convergence, this application analyzes the power difference between the photovoltaic module particles where the multiple local maximum output powers are located by different particles, specifically:

[0063] First, the output powers of all particles are calculated, and the first m largest output powers are selected as the local maximum output powers. In this embodiment, m is 3.

[0064] During the convergence process of PV module particles, the PV module particles will move towards the optimal solution. However, since the optimal solution under the current iteration is not necessarily the global optimal solution, the movement direction towards the optimal solution under the current iteration may not be the movement direction towards the global optimal solution.

[0065] Since the PV module particles need to move in the direction of the optimal solution, and the larger the value of the optimal solution, the more they should move towards it. Based on this, this application calculates the weight of the PV module particles' movement towards each local maximum output power according to the power difference between the PV module particles, specifically:

[0066] The difference between each local maximum output power and the output power of each photovoltaic component particle is used as the directional movement weight of each photovoltaic component particle with respect to each local maximum output power.

[0067] In one embodiment of the present application, the difference between the power of each photovoltaic component particle with the local maximum output power and the power of the photovoltaic component particle is used as the directional movement weight of each photovoltaic component particle for each local maximum output power.

[0068] It should be understood that the greater the weight of the movement toward, the more the photovoltaic module particles should move toward the local maximum output power; at the same time, the greater the value of the weight of the movement toward, the greater the difference between the power of the photovoltaic module particles and the local maximum power, which also means that the photovoltaic module particles are farther away from the photovoltaic module particles with the local maximum output power. In order to obtain the maximum power of the photovoltaic module, the photovoltaic module particles should use a higher speed so that they can quickly converge to the local position of the maximum power.

[0069] In the second small step, the values ​​of all local maximum output powers are corrected based on the distance between the PV module particles and the PV module particles where all local maximum output powers are located and the directional motion weight, and the directional approach distance of each PV module particle is determined based on the correction result.

[0070] Furthermore, the distance difference between the PV module particles and the local maximum output power, like the directional motion weight, has a greater impact on the motion between them and the maximum output power. That is, if the distance difference and the power difference are both smaller, it means that the distance between the PV module particles and the global optimal solution may be closer, the PV module particles should be slower, and the PV module particles will converge to the maximum power better.

[0071] Based on this, the present application combines the distance between the photovoltaic component particles and the photovoltaic component particles where all local maximum output powers are located and the weight of the directional movement to correct the values ​​of all local maximum output powers, and determines the directional approach distance of each photovoltaic component particle based on the correction result, specifically:

[0072] For each photovoltaic component particle, the direction of the maximum output power among the output powers of other photovoltaic component particles except the current photovoltaic component particle is taken as the positive direction of each photovoltaic component particle, and the opposite direction is taken as the negative direction of each photovoltaic component particle. The distance difference between each photovoltaic component particle and the m photovoltaic component particles where the local maximum output power is located is calculated respectively as the distance between each photovoltaic component particle and each local maximum output power, and then, by combining the photovoltaic component particle where each local maximum output power is located in the positive direction or negative direction of each photovoltaic component particle, a positive or negative sign is added to the distance, and the result of adding the positive or negative sign is recorded as the direction distance between each photovoltaic component particle and the photovoltaic component particle where the local maximum output power is located. In this embodiment, the distance difference is the absolute value of the distance difference between the positions of two photovoltaic component particles.

[0073] In one embodiment of the present application, taking the i-th photovoltaic component particle as an example, when the photovoltaic component particle where any local maximum output power is located is in the positive direction of the i-th photovoltaic component particle, the distance between the i-th photovoltaic component particle and the photovoltaic component particle where any local maximum output power is located is recorded as the directional distance between the i-th photovoltaic component particle and the photovoltaic component particle where any local maximum output power is located; when the photovoltaic component particle where any local maximum output power is located is in the negative direction of the i-th photovoltaic component particle, the opposite of the distance between the i-th photovoltaic component particle and the photovoltaic component particle where any local maximum output power is located is recorded as the directional distance between the i-th photovoltaic component particle and the photovoltaic component particle where any local maximum output power is located.

[0074] Furthermore, the product of the directional distance between each photovoltaic component particle and each local maximum output power and the directional movement weight is calculated as the denominator; each local maximum output power is used as the numerator; the ratio of the numerator to the denominator is used as the power correction value of each photovoltaic component particle and each local maximum output power; the absolute value of the cumulative result of the power correction value of each photovoltaic component particle and all local maximum output powers is used as the directional approach distance of each photovoltaic component particle.

[0075] It should be noted that when calculating the denominator, it may be 0. Therefore, this embodiment uses a preset parameter adjustment factor plus the denominator as a new denominator for subsequent calculations. Among them, this embodiment sets the value of the preset parameter adjustment factor to 1, and the implementer can set it according to the actual situation.

[0076] It should be understood that, when the value of the approach distance is larger, that is, the distance difference and power difference of the photovoltaic component particles to the global optimal solution are smaller, the distance between the photovoltaic component particles and the photovoltaic component particles where the m local maximum output powers are located is closer, and the closer the distance is, the closer the photovoltaic component particles are to the global optimal solution. The movement speed of the photovoltaic component particles should be slower, and the effect of the photovoltaic component particles converging to the maximum power is better.

[0077] The third small step is to determine the overall inertia weight of the photovoltaic component particles based on the approach distance and the distribution state of the photovoltaic component particles.

[0078] Photovoltaic module particles can be roughly divided into two categories: one is the photovoltaic module particles far away from the photovoltaic module particles where the local maximum output power is located, and the other is the photovoltaic module particles close to the photovoltaic module particles where the local maximum output power is located. The distribution states of these two categories are different, so all photovoltaic module particles need to be classified, specifically:

[0079] The orientation proximity distances of all PV module particles are used as the input of the threshold segmentation algorithm, and the segmentation threshold is output. The orientation proximity distances greater than the segmentation threshold are grouped into a near orientation set, and the orientation proximity distances less than or equal to the segmentation threshold are grouped into a far orientation set.

[0080] In one embodiment of the present application, the OTSU method is used to perform threshold segmentation on the orientation proximity distance of the photovoltaic module particles. The OTSU method is a well-known technology, and the specific calculation process is not repeated here.

[0081] Furthermore, when the PV module particle is in the near direction set, it means that the PV module particle is closer to the current optimal solution than the PV module particle in the far direction set. Therefore, when converging the PV module particles, a smaller inertia weight should be used to facilitate local search. On the contrary, when the PV module particle is in the far direction set, a larger inertia weight should be used to facilitate global search.

[0082] It should be understood that when the number of elements in the near-to-away orientation set is greater, it means that the number of photovoltaic component particles close to the local maximum output power is greater. When calculating the inertia weight of the overall particles, the distribution of photovoltaic particles in the near-to-away orientation set elements should be taken into account.

[0083] Accordingly, the present application determines the overall inertia weight of the photovoltaic module particles based on the difference in the number of elements in the near-to-far orientation set and the far-to-far orientation set, specifically:

[0084] The difference between the number of elements in the near-away orientation set and the number of elements in the far-away orientation set is calculated and recorded as the quantity difference; the overall inertia weight of the photovoltaic component particles is determined based on the quantity difference; wherein the quantity difference is negatively correlated with the overall inertia weight of the photovoltaic component particles.

[0085] In one embodiment of the present application, the opposite number of the quantity difference is used as the exponent of an exponential function with a natural constant as the base, and the product of the calculation result of the exponential function and a preset adjustment coefficient is used as the overall inertia weight of the photovoltaic component particles. In this embodiment, the adjustment coefficient is 0.9, and the implementer can set it according to the actual situation.

[0086] It should be understood that when the overall inertia weight of the PV module particles is large, that is, the number of elements in the far-away orientation set is greater than the number of elements in the near-away orientation set, it means that the distribution of the particle group in the search space is relatively dispersed, and the PV module particles are far away from the local maximum output power point. In this case, the particles need more kinetic energy to push the particles closer to the local maximum output power point in order to achieve rapid convergence.

[0087] The fourth sub-step is to determine the adaptive inertia weight of each photovoltaic component particle based on the overall inertia weight and the approach distance.

[0088] Since the overall inertia weight only represents the overall motion inertia of the PV module particle group, in order to ensure that each PV module particle can reach the optimal state, it is necessary to customize the inertia weight for each PV module particle to ensure that each PV module particle can conduct effective exploration at the appropriate time, and finally achieve the rapid convergence of the entire particle group to the maximum output power point. Based on this, the calculation of the adaptive inertia weight of any PV module particle is as follows:

[0089] Firstly, the approach distance of any photovoltaic component particle and the sum of the segmentation threshold are normalized, and the normalized value is used as the corrected approach distance of any photovoltaic component particle;

[0090] When the orientation-corrected approach distance of any photovoltaic component particle is greater than the normalized segmentation threshold, the minimum value of all orientation-corrected approach distances greater than the normalized segmentation threshold is used as the inertia adjustment reference parameter of any photovoltaic component particle; the difference between the inertia adjustment reference parameter and the orientation-corrected approach distance of any photovoltaic component particle is calculated and recorded as the reference difference of any photovoltaic component particle; based on the reference difference and the overall inertia weight, the adaptive inertia weight of any photovoltaic component particle is determined; wherein the reference difference and the overall inertia weight are both positively correlated with the adaptive inertia weight;

[0091] When the orientation-corrected approach distance of any photovoltaic component particle is less than or equal to the normalized segmentation threshold, the overall inertia weight is used as the adaptive inertia weight of any photovoltaic component particle.

[0092] In one embodiment of the present application, based on the baseline difference and the overall inertia weight, the calculation process for determining the adaptive inertia weight of any photovoltaic component particle can be: taking the sum of the baseline difference of any photovoltaic component particle and the number 1 as the adaptive inertia weight coefficient of any photovoltaic component particle; taking the product of the adaptive inertia weight coefficient of any photovoltaic component particle and the overall inertia weight as the adaptive inertia weight of any photovoltaic component particle.

[0093] It should be understood that when the orientation-corrected approach distance of any photovoltaic component particle is greater than the normalized segmentation threshold, the degree of being greater than the normalized segmentation threshold is calculated, and the overall inertia weight is reduced according to the degree of being greater than the normalized segmentation threshold, that is, the larger the orientation-corrected approach distance, the closer the photovoltaic component particle is to the optimal solution, so that on the basis of the original overall inertia weight, the movement speed of the photovoltaic component particle should be slowed down, thereby avoiding the over-search phenomenon and improving the convergence accuracy of the algorithm. When the orientation-corrected approach distance of any photovoltaic component particle is less than or equal to the normalized segmentation threshold, it means that the photovoltaic component particle is far from the optimal solution, and its overall inertia weight is not reduced, and it needs to be searched according to the overall inertia weight.

[0094] At this point, the adaptive inertia weight of each PV module particle can be obtained.

[0095] The third major step is to optimize the inertia weight of each photovoltaic component particle in the particle swarm algorithm based on the adaptive inertia weight and the number of iterations, and to optimize the photovoltaic component power using the output result of the optimized particle swarm algorithm.

[0096] Since the number of iterations in the iterative process of the particle swarm algorithm has a great influence on the calculation of the inertia weight of the particle swarm algorithm. In the initial stage, a higher inertia weight helps the particle swarm to conduct extensive exploration in the solution space. As the number of algorithm iterations increases, the exploration range of the particle swarm gradually shifts from global to local. At this time, the appropriate reduction of the inertia weight can help the particle swarm search for the optimal solution more finely. Gradually reducing the inertia weight can prompt the particle swarm to focus on the most promising area, thereby improving the convergence accuracy of the algorithm.

[0097] Therefore, it is necessary to reduce and update the adaptive inertia weight according to the increase in the number of iterations. The specific update method is:

[0098] The difference between the preset maximum number of iterations and the current number of iterations, and the ratio of the preset maximum number of iterations, are used as the iteration correction coefficient of each photovoltaic component particle; the product of the iteration correction coefficient and the adaptive inertia weight is used as the adaptive updated inertia weight of each photovoltaic component particle.

[0099] It should be understood that for the particle swarm algorithm to track the maximum output power of the photovoltaic module, as the number of algorithm iterations increases, the inertia weight is gradually reduced, thereby encouraging the photovoltaic module particles to conduct a more detailed search in the local area, which helps the photovoltaic module particles to more accurately locate the maximum output power point. Therefore, the present application updates the adaptive inertia weight of the photovoltaic module particles through iterative transformation coefficients, so that the process of the photovoltaic module particles obtaining the optimal solution in the later iteration process is more accurate as the number of iterations increases.

[0100] This application replaces the particle inertia weight parameter in the particle swarm algorithm with the adaptively updated inertia weight of the photovoltaic component particles to optimize the particle swarm algorithm. At the same time, the voltage generated by the photovoltaic component is used as the initial distribution position of the particles, and the output power is used as the fitness of the particles as the input of the particle swarm algorithm. The output result of the particle swarm algorithm is the optimal solution for the output power of the photovoltaic component.

[0101] The MPPT controller in the inverter supporting the photovoltaic module adjusts the output voltage of the photovoltaic module to reach the voltage data value where the photovoltaic module output power is optimally solved. The above process realizes the optimal control of the photovoltaic module power.

[0102] Based on the same inventive concept as the above method, the present application also provides a photovoltaic module power optimization control system under shadow conditions, including a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, it implements the steps of any one of the above-mentioned photovoltaic module power optimization control methods under shadow conditions.

[0103] The various embodiments in the present application are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

[0104] It should be noted that, unless otherwise specified and limited, terms such as "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a circuit structure, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such article or device. In the absence of further restrictions, an element defined by the sentence "including one..." does not exclude the existence of other identical elements in the article or device including the element. In addition, the term "and\or" used herein includes any and all combinations of one or more related listed items.

[0105] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not invented by the present application.

[0106] It should be understood that the present application is not limited to the exact construction that has been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof.

Claims

1. A method for optimizing the power control of photovoltaic modules under shadow conditions, characterized in that: The method comprises the following steps: Obtain several voltage data and output power data of photovoltaic modules under shadow conditions; Each voltage data and output power data are used as the initial distribution position and fitness of each photovoltaic component particle respectively. Based on the distribution of voltage data and output power data at the location of the photovoltaic component particle, the adaptive inertia weight of each photovoltaic component particle in the particle swarm algorithm is determined, specifically: (1) Based on the power difference between photovoltaic module particles, determine the directional movement weight of each photovoltaic module particle for each local maximum output power; (2) combining the distance between the PV module particle and the PV module particles where all local maximum output powers are located and the directional motion weight, correcting the values ​​of all local maximum output powers, and determining the directional approach distance of each PV module particle based on the correction result; (3) determining the overall inertia weight of the photovoltaic component particles based on the approach distance and the distribution state of the photovoltaic component particles; (4) determining an adaptive inertia weight of each photovoltaic component particle based on the overall inertia weight and the approach distance; The inertia weight of each photovoltaic component particle in the particle swarm algorithm is optimized based on the adaptive inertia weight and the number of iterations, and the output result of the optimized particle swarm algorithm is used to optimize the photovoltaic component power; The method for determining the directional motion weight comprises: Obtaining a preset number of maximum output powers as local maximum output powers; The difference between each local maximum output power and the output power of each photovoltaic component particle is used as the direction movement weight of each photovoltaic component particle to each local maximum output power; The method for determining the approach distance comprises: Determine the positive and negative direction of each photovoltaic module particle based on the position between the photovoltaic module particle and the photovoltaic module particle with the maximum output power; Calculate the distance difference between each photovoltaic component particle and each photovoltaic component particle with the local maximum output power; Based on the distance difference and the positive and negative directions, determining the directional distance between each photovoltaic component particle and the photovoltaic component particle where the local maximum output power is located; Calculate the product of the directional distance between each PV module particle and each local maximum output power and the directional motion weight as the denominator; use each local maximum output power as the numerator; and use the ratio of the numerator to the denominator as the power correction value between each PV module particle and each local maximum output power; The absolute value of the accumulated result of the power correction value of each photovoltaic component particle and all local maximum output powers is used as the approach distance of each photovoltaic component particle.

2. A photovoltaic module power optimization control method under shadow conditions as claimed in claim 1, characterized in that: The method for determining the positive and negative directions includes: for each photovoltaic component particle, taking the direction of the maximum output power among the output powers of other photovoltaic component particles except the current photovoltaic component particle as the positive direction of each photovoltaic component particle, and taking the opposite direction as the negative direction of each photovoltaic component particle.

3. The photovoltaic module power optimization control method under shadow conditions as claimed in claim 1, characterized in that: The method for determining the directional distance includes: adding a positive sign or a negative sign to the distance difference in the positive direction or the negative direction of each photovoltaic component particle by combining the photovoltaic component particle where each local maximum output power is located, and recording the result after adding the positive sign or the negative sign as the directional distance between each photovoltaic component particle and the photovoltaic component particle where the local maximum output power is located.

4. The photovoltaic module power optimization control method under shadow conditions as claimed in claim 1, characterized in that: The method for determining the overall inertia weight includes: Based on the approach distance of the photovoltaic module particles, a near-distance orientation set and a far-distance orientation set are screened out; Calculate the difference between the number of elements in the near-facing set and the number of elements in the far-facing set, and record it as the number difference; The overall inertia weight of the photovoltaic component particles is determined based on the quantity difference; wherein the quantity difference is negatively correlated with the overall inertia weight of the photovoltaic component particles.

5. A photovoltaic module power optimization control method under shadow conditions as claimed in claim 4, characterized in that: The screening process of the near-to-far direction set and the far-to-far direction set includes: The approach distance of all photovoltaic module particles is used as the input of the threshold segmentation algorithm, and the segmentation threshold is output; The orientation close distances greater than the segmentation threshold are grouped into a near orientation set, and the orientation close distances less than or equal to the segmentation threshold are grouped into a far orientation set.

6. A photovoltaic module power optimization control method under shadow conditions as claimed in claim 5, characterized in that: The method for determining the adaptive inertia weight includes: Normalizing the approach distance of any photovoltaic component particle and the sum of the segmentation threshold, and using the normalized value as the corrected approach distance of any photovoltaic component particle; When the orientation-corrected approach distance of any photovoltaic component particle is greater than the normalized segmentation threshold, the minimum value of all orientation-corrected approach distances greater than the normalized segmentation threshold is used as the inertia adjustment reference parameter of any photovoltaic component particle; Calculate the difference between the inertial adjustment reference parameter and the orientation-corrected approach distance of any photovoltaic component particle, and record it as the reference difference of any photovoltaic component particle; Based on the reference difference and the overall inertia weight, determining an adaptive inertia weight of any photovoltaic component particle; wherein the reference difference and the overall inertia weight are both positively correlated with the adaptive inertia weight; When the orientation-corrected approach distance of any photovoltaic component particle is less than or equal to the normalized segmentation threshold, the overall inertia weight is used as the adaptive inertia weight of any photovoltaic component particle.

7. The photovoltaic module power optimization control method under shadow conditions as claimed in claim 1, characterized in that: The inertia weight of each photovoltaic component particle in the particle swarm algorithm is optimized based on the adaptive inertia weight and the number of iterations, and the output result of the optimized particle swarm algorithm is used to optimize the photovoltaic component power, including: The difference between the preset maximum number of iterations and the current number of iterations, and the ratio of the preset maximum number of iterations, are used as the iteration correction coefficient of each photovoltaic component particle; The product of the iterative correction coefficient and the adaptive inertia weight is used as the adaptive updated inertia weight of each PV module particle; The input of the particle swarm algorithm is all voltage data and all output power data. The adaptive updated inertia weight of the PV module particles replaces the original inertia weight of the particle swarm algorithm. The output of the particle swarm algorithm is the optimal solution for the output power of the PV module.

8. A photovoltaic module power optimization control system under shadow conditions, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the steps of the method for optimizing power control of photovoltaic components under shadow conditions as described in any one of claims 1 to 7 are implemented.