Pso-based photovoltaic cell power regulation method, system, device, and medium

CN117193465BActive Publication Date: 2026-06-09STATE GRID SICHUAN ELECTRIC POWER CORP ELECTRIC POWER RES INST +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
STATE GRID SICHUAN ELECTRIC POWER CORP ELECTRIC POWER RES INST
Filing Date
2023-10-25
Publication Date
2026-06-09

AI Technical Summary

Technical Problem

The output power of photovoltaic cells is affected by changes in light intensity, making it impossible to achieve optimal output. Existing technologies make it difficult for photovoltaic cells to respond quickly and reach maximum power under various light conditions.

Method used

By monitoring changes in light intensity, the Particle Swarm Optimization (PSO) algorithm is used to search for power and adjust the operating voltage of the photovoltaic cells to reach the maximum power point. The voltage regulation is then optimized by combining the load configuration data with the PSO algorithm.

Benefits of technology

It enables photovoltaic cells to respond quickly to changes in light intensity under various lighting conditions, achieve optimal output power, and significantly improve power generation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117193465B_ABST
    Figure CN117193465B_ABST
Patent Text Reader

Abstract

This invention discloses a photovoltaic cell power regulation method, system, device, and medium based on PSO (Power Optimization Scale), relating to the field of new energy photovoltaic power generation technology. The method includes: acquiring light intensity; when the light intensity changes, altering the operating voltage of the photovoltaic cell to be regulated and performing a power search to obtain the maximum power of the photovoltaic cell under the changed light intensity, and determining the operating voltage corresponding to the maximum power as the target voltage; adjusting the operating voltage of the photovoltaic cell to be regulated to the target voltage, enabling the photovoltaic cell to operate at maximum power; and obtaining the optimal power generation of the photovoltaic cell under the current light intensity through power search, thereby optimizing the photovoltaic cell power regulation. This ensures that the photovoltaic cell can quickly respond to changes in light intensity under various light conditions to achieve optimal output power, significantly improving the photovoltaic cell power generation efficiency, and thus providing a new feasible solution for improving the efficiency of new energy power generation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of new energy photovoltaic power generation technology, and more specifically, to a photovoltaic cell power regulation method, system, device and medium based on PSO. Background Technology

[0002] Among existing renewable energy sources, photovoltaic (PV) power generation is a relatively mature method and has been widely applied. However, due to the significant nonlinear characteristics of PV cells and the influence of environmental conditions such as sunlight and temperature on their operating characteristics, their efficiency constantly changes. To maximize the power output of a PV power generation system, it is necessary to track the maximum power point of the PV cells. The output characteristic curve of a PV panel shows that as the voltage increases, the current gradually decreases, and when the voltage reaches the open-circuit voltage, the current decreases to zero. This characteristic is also affected by sunlight intensity. A typical PV cell characteristic curve is shown below. Figure 1 As shown in the figure, the short-circuit current increases almost proportionally to the solar irradiance, while the open-circuit voltage remains almost constant as the solar irradiance increases. As the solar irradiance decreases, the overall effect is a decrease in the output power of the solar cell. This means that even with unchanged load characteristics, the output power of the photovoltaic cell cannot reach its optimal level due to changes in solar irradiance. Summary of the Invention

[0003] The purpose of this invention is to provide a photovoltaic cell power regulation method, system, device and medium based on PSO, so as to solve the problems existing in the above-mentioned background art.

[0004] The above-mentioned technical objective of the present invention is achieved through the following technical solution:

[0005] In a first aspect, embodiments of this application provide a photovoltaic cell power regulation method based on PSO, comprising the following steps:

[0006] S1, acquire and monitor the light intensity shining on the photovoltaic cell to be adjusted;

[0007] S2, when the light intensity changes and the change in light intensity exceeds the threshold, change the operating voltage of the photovoltaic cell to be adjusted and perform a power search to obtain the maximum power of the photovoltaic cell to be adjusted under the changed light intensity, and determine the operating voltage corresponding to the maximum power as the target voltage;

[0008] S3 adjusts the operating voltage of the photovoltaic cell to be adjusted to the target voltage, so that the photovoltaic cell to be adjusted can operate at maximum power under the changed light intensity.

[0009] The beneficial effects of this invention are: by obtaining the optimal power generation of the photovoltaic cell under the current light intensity through power search, the power regulation of the photovoltaic cell is optimized, ensuring that the photovoltaic cell can quickly respond to changes in light intensity under various light conditions to achieve the optimal output power, significantly improving the power generation efficiency of the photovoltaic cell, and thus providing a new feasible solution for improving the power generation efficiency of new energy.

[0010] Based on the above technical solution, the present invention can be further improved as follows.

[0011] Furthermore, in step S2 above, the method also includes:

[0012] When the light intensity changes and the change in light intensity exceeds a threshold, the historical power of the photovoltaic cell to be adjusted under the light intensity and the current power of the photovoltaic cell to be adjusted under the changed light intensity are obtained.

[0013] If the current power value is less than or equal to the historical power value, the current power is determined as the maximum power; if the current power value is greater than the historical power value, the operating voltage of the photovoltaic cell to be adjusted is changed and a power search is performed.

[0014] Furthermore, if the current power value is greater than the historical power value, the operating voltage of the photovoltaic cell to be adjusted is changed and a power search is performed, including:

[0015] Obtain the operating voltage of the photovoltaic cell to be adjusted before and after the change, as well as the power values ​​corresponding to the operating voltage before and after the change.

[0016] If the power value corresponding to the changed working voltage is greater than the power value corresponding to the working voltage before the change, the working voltage of the photovoltaic cell to be adjusted is positively adjusted.

[0017] If the power value corresponding to the changed operating voltage is less than or equal to the power value corresponding to the original operating voltage, the operating voltage of the photovoltaic cell to be adjusted is reversed, and the power value corresponding to the reverse-adjusted operating voltage is determined as the maximum power.

[0018] Furthermore, the above methods also include:

[0019] The load configuration data of the photovoltaic cell to be regulated corresponding to the maximum power is determined by using the PSO algorithm. The load configuration data represents the operating voltage of the photovoltaic cell to be regulated.

[0020] The beneficial effects of adopting the above-mentioned further scheme are: using the PSO algorithm to calculate the load configuration data that determines the working voltage, and then setting the photovoltaic cells by referring to the load configuration data, thereby optimizing the power regulation of the photovoltaic cells, while ensuring the accuracy and precision of the working voltage regulation.

[0021] Furthermore, the aforementioned load configuration data is represented by a first formula, which is:

[0022] R id (t+1)=R id (t)+X id (t+1);

[0023] In the formula, R id (t) represents the load configuration data of the i-th particle in the d-th dimension at the t-th iteration, X id (t+1) represents the velocity of the i-th particle in the d-th dimension at the (t+1)-th iteration, R id (t+1) represents the load configuration data of the d-th dimension of the i-th particle at the (t+1)-th iteration;

[0024] The velocity of motion is expressed by the second formula, which is:

[0025] X id (t+1)=EX id (t)+T1rand(P i (t)-R id (t))+T2rand(G(t)-R id (t));

[0026] In the formula, X id (t+1) represents the velocity of the i-th particle in the d-th dimension at the (t+1)-th iteration, E represents the algorithm variable, T1 represents a constant, rand represents a random number between 0 and 1, and P i (t) represents the temporary optimal value of particle i at the t-th iteration, R id (t) represents the load configuration data of the i-th particle in the d-th dimension at the t-th iteration; T2 represents a constant, rand represents a random number between 0 and 1, and G(t) represents the overall optimal value at the t-th iteration.

[0027] Secondly, embodiments of this application provide a photovoltaic cell power regulation system based on PSO, applied to any of the PSO-based photovoltaic cell power regulation methods in the first aspect, including:

[0028] The light intensity acquisition module is used to acquire and monitor the light intensity shining on the photovoltaic cell to be regulated;

[0029] The power search acquisition module is used to change the operating voltage of the photovoltaic cell to be adjusted and perform a power search when the light intensity changes and the change in light intensity exceeds a threshold. The module obtains the maximum power of the photovoltaic cell to be adjusted under the changed light intensity and determines the operating voltage corresponding to the maximum power as the target voltage.

[0030] The power adjustment acquisition module is used to adjust the operating voltage of the photovoltaic cell to be adjusted to the target voltage, so that the photovoltaic cell to be adjusted can operate at maximum power under the changed light intensity.

[0031] Furthermore, the aforementioned power search and acquisition module includes:

[0032] The power acquisition submodule is used to acquire the historical power of the photovoltaic cell to be adjusted under the light intensity when the light intensity changes and the change in light intensity exceeds the threshold, as well as the current power of the photovoltaic cell to be adjusted under the light intensity after the change.

[0033] The power judgment submodule is used to determine the current power as the maximum power if the current power value is less than or equal to the historical power value; if the current power value is greater than the historical power value, the operating voltage of the photovoltaic cell to be adjusted is changed and a power search is performed.

[0034] Furthermore, the aforementioned power determination submodule includes:

[0035] The data acquisition unit is used to acquire the operating voltage of the photovoltaic cell before and after the change, as well as the power values ​​corresponding to the operating voltage before and after the change.

[0036] The forward adjustment unit is used to positively adjust the working voltage of the photovoltaic cell to be adjusted if the power value corresponding to the changed working voltage is greater than the power value corresponding to the working voltage before the change.

[0037] The voltage determination unit is used to reverse the operating voltage of the photovoltaic cell to be adjusted when the power value corresponding to the changed operating voltage is less than or equal to the power value corresponding to the original operating voltage, and to determine the power value corresponding to the reverse-adjusted operating voltage as the maximum power.

[0038] Thirdly, embodiments of this application provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method of any one of the first aspects.

[0039] Fourthly, embodiments of this application provide a non-transitory computer-readable storage medium that stores computer instructions that cause a computer to perform any of the methods in the first aspect.

[0040] Compared with the prior art, the present invention has at least the following beneficial effects:

[0041] This invention obtains the optimal power generation of a photovoltaic cell under the current light intensity through power search, thereby optimizing the power regulation of the photovoltaic cell. This ensures that the photovoltaic cell can quickly respond to changes in light intensity and achieve the optimal output power under various light conditions, significantly improving the power generation efficiency of the photovoltaic cell and providing a new feasible solution for improving the power generation efficiency of new energy sources.

[0042] The PSO algorithm is used to calculate the load configuration data that determines the operating voltage. The photovoltaic cells are then configured by referring to the load configuration data, thereby optimizing the power regulation of the photovoltaic cells and ensuring the accuracy and precision of the operating voltage regulation. Attached Figure Description

[0043] The accompanying drawings, which are included to provide a further understanding of embodiments of the invention and form part of this application, do not constitute a limitation thereof. In the drawings:

[0044] Figure 1 This is a typical photovoltaic cell characteristic curve diagram in an embodiment of the present invention;

[0045] Figure 2 This is a schematic diagram of power search in an embodiment of the present invention;

[0046] Figure 3 This is a simulation circuit diagram used in the embodiments of the present invention;

[0047] Figure 4 This is a schematic diagram of the simulation results in an embodiment of the present invention;

[0048] Figure 5 This is a schematic diagram of the simulation results when the light intensity changes in an embodiment of the present invention;

[0049] Figure 6 This is a flowchart of the adjustment method in an embodiment of the present invention;

[0050] Figure 7 This is a schematic diagram of the connection of the adjustment system in an embodiment of the present invention;

[0051] Figure 8 This is a schematic diagram of the connection of an electronic device in an embodiment of the present invention. Detailed Implementation

[0052] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0053] Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.

[0054] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0055] Example 1

[0056] This embodiment provides a photovoltaic cell power regulation method based on PSO, such as... Figure 6 As shown, it includes the following steps:

[0057] S1, acquire and monitor the light intensity illuminating the photovoltaic cell to be adjusted.

[0058] The implementation of this scheme requires real-time acquisition and monitoring of the light intensity illuminating the surface of the photovoltaic cell to be adjusted. Since the power generation efficiency of the photovoltaic cell is inextricably linked to the light intensity, generally speaking, the greater the light intensity, the greater the power generation of the photovoltaic cell.

[0059] S2, when the light intensity changes and the change in light intensity exceeds the threshold, the operating voltage of the photovoltaic cell to be adjusted is changed and a power search is performed to obtain the maximum power of the photovoltaic cell to be adjusted under the changed light intensity, and the operating voltage corresponding to the maximum power is determined as the target voltage.

[0060] When the change in light intensity exceeds a threshold range, power regulation is initiated. The threshold can be set according to the actual usage conditions, which will not be elaborated here. Specifically, the maximum power of the photovoltaic cell can be obtained through power search. Finally, under the changed light intensity, the maximum power of the photovoltaic cell under that light intensity is obtained. Finally, the working cell of the photovoltaic cell is adjusted to reach the target voltage corresponding to the maximum power by adjusting the impedance configuration data (load configuration data) of the photovoltaic cell. When the light intensity changes again, the power search is performed again and the working voltage of the photovoltaic cell is adjusted based on the new power search.

[0061] Optionally, in step S2 above, the method further includes:

[0062] When the light intensity changes and the change in light intensity exceeds a threshold, the historical power of the photovoltaic cell to be adjusted under the light intensity is obtained, as well as the current power of the photovoltaic cell to be adjusted under the changed light intensity.

[0063] If the current power value is less than or equal to the historical power value, the current power is determined as the maximum power; if the current power value is greater than the historical power value, the operating voltage of the photovoltaic cell to be adjusted is changed and a power search is performed.

[0064] The process involves comparing the historical power before the change in light intensity with the current power after the change. If the current power is less than or equal to the historical power, the current power is determined as the maximum power, thus completing the power search. If the current power is greater than the historical power, the operating voltage of the photovoltaic cell to be adjusted needs to be changed to perform the power search.

[0065] Optionally, if the current power value is greater than the historical power value, the operating voltage of the photovoltaic cell to be adjusted is changed and a power search is performed, including:

[0066] Obtain the operating voltage of the photovoltaic cell before and after the change, as well as the power values ​​corresponding to the operating voltage before and after the change.

[0067] The operating voltage before the change is the operating voltage before the change in light intensity, and the operating voltage after the change is the operating voltage after the change in light intensity. Specifically, the operating voltage and the corresponding power value can be obtained through a current and voltage metering device. The current and voltage metering device obtains the operating voltage and operating current of the photovoltaic cell, and the corresponding power value (power generation) can be obtained by calculating the operating voltage and operating current.

[0068] If the power value corresponding to the changed operating voltage is greater than the power value corresponding to the original operating voltage, the operating voltage of the photovoltaic cell to be adjusted is positively adjusted.

[0069] If, after a change in light intensity, the power value after the change is greater than the value before the change, the operating voltage will continue to be adjusted in the positive direction. See [link to relevant documentation]. Figure 2 , Figure 2 The curve in the figure is the power curve of the photovoltaic cell. Figure 2 The horizontal axis represents the operating voltage, and the vertical axis represents the power. Point P(m) represents the maximum power of the photovoltaic cell. Specifically, to the left of point P(m) is the value of the photovoltaic cell's maximum power when the light intensity is constant or the range of variation is small and does not exceed the threshold. The higher the operating voltage, the greater the power generation of the photovoltaic cell. Therefore, when the power value corresponding to the changed operating voltage is greater than the power value corresponding to the original operating voltage, the operating voltage of the photovoltaic cell to be adjusted continues to be adjusted in the positive direction, that is, the operating voltage continues to increase.

[0070] If the power value corresponding to the changed operating voltage is less than or equal to the power value corresponding to the original operating voltage, the operating voltage of the photovoltaic cell to be adjusted is reversed, and the power value corresponding to the reverse-adjusted operating voltage is determined as the maximum power.

[0071] When the power value corresponding to the changed working voltage is less than or equal to the power value corresponding to the working voltage before the change, it indicates that the point is already to the right of point P(m). At this time, the power of the photovoltaic cell decreases as the working voltage increases. Therefore, it is necessary to adjust the working voltage in the opposite direction, that is, reduce the working voltage. Then, the power value corresponding to the reduced working voltage is taken as the maximum power.

[0072] Optionally, the power search scheme described above can also involve repeatedly executing the following steps:

[0073] If the power value corresponding to the changed operating voltage is greater than the power value corresponding to the original operating voltage, the operating voltage of the photovoltaic cell to be adjusted is adjusted in the positive direction; if the power value corresponding to the changed operating voltage is less than or equal to the power value corresponding to the original operating voltage, the operating voltage of the photovoltaic cell to be adjusted is adjusted in the reverse direction.

[0074] Specifically, by continuously adjusting the operating voltage in both the forward and reverse directions, the obtained power can be maintained at [a certain level]. Figure 2 The photovoltaic cells are positioned near the midpoint P(m) to ensure they operate at their optimal power output. Furthermore, the voltage change can be adjusted based on the power difference before and after the voltage change to achieve precise control and ultimately ensure the photovoltaic cells operate at their optimal power output.

[0075] Optionally, the above methods also include:

[0076] The load configuration data of the photovoltaic cell to be regulated corresponding to the maximum power is determined by using the PSO algorithm. The load configuration data represents the operating voltage of the photovoltaic cell to be regulated.

[0077] The PSO algorithm can be used to calculate the load configuration data that determines the operating voltage. The photovoltaic cells can then be configured by referring to the load configuration data, thereby optimizing the power regulation of the photovoltaic cells. This ensures the accuracy and precision of the operating voltage regulation, enabling the photovoltaic cells to quickly respond to changes in light intensity under various lighting conditions and achieve optimal output power. It also significantly improves the power generation efficiency of photovoltaic cells, providing a new and feasible solution for improving the efficiency of new energy power generation.

[0078] Optionally, the above load configuration data is represented by a first formula, which is:

[0079] R id (t+1)=Rid (t)+X id (t+1);

[0080] In the formula, R id (t) represents the load configuration data of the i-th particle in the d-th dimension at the t-th iteration, X id (t+1) represents the velocity of the i-th particle in the d-th dimension at the (t+1)-th iteration, R id (t+1) represents the load configuration data of the d-th dimension of the i-th particle at the (t+1)-th iteration;

[0081] The velocity of motion is expressed by the second formula, which is:

[0082] X id (t+1)=EX id (t)+T1rand(P i (t)-R id (t))+T2rand(G(t)-R id (t));

[0083] In the formula, X id (t+1) represents the velocity of the i-th particle in the d-th dimension at the (t+1)-th iteration, E represents the algorithm variable, T1 represents a constant, rand represents a random number between 0 and 1, and P i (t) represents the temporary optimal value of particle i at the t-th iteration, R id (t) represents the load configuration data of the i-th particle in the d-th dimension at the t-th iteration; T2 represents a constant, rand represents a random number between 0 and 1, and G(t) represents the overall optimal value at the t-th iteration.

[0084] S3 adjusts the operating voltage of the photovoltaic cell to be adjusted to the target voltage, so that the photovoltaic cell to be adjusted can operate at maximum power under the changed light intensity.

[0085] Specifically, to verify the feasibility and accuracy of the above scheme, simulation experiments can be conducted using Simulink tools; the Boost circuit can be used as an example for simulation; see [link to Simulation]. Figure 3 The system incorporates a voltage detection module and a current detection module at the battery output. The outputs of these modules are connected to the input of the control algorithm module, providing data for the algorithm's operation. The output signal of the PWM pulse signal module is connected to the trigger terminal of the MOSFET on the Boost circuit. Output voltage and current detection modules are connected to the load at the resistor output. The output power is obtained by multiplying the outputs of these two modules and connecting them to an oscilloscope for real-time observation of the solar cell's power output. Additionally, a combined step input is used at the system input to simulate changes in light and temperature.

[0086] The simulation results are as follows: Figure 4 As shown, from Figure 4 As can be seen, this method provides relatively stable power regulation and can reach the optimal power within 0.4 seconds, achieving both accuracy and speed in power regulation.

[0087] Specifically, to further verify the effectiveness of the method of the present invention, the light intensity can be suddenly changed during the power search process, and the power adjustment curve is as follows: Figure 5 As shown in the figure, the curves indicate that when the illumination changes abruptly within 0.15 seconds, the proposed method will adaptively adjust and continue searching for the optimal power, completing the search within 0.5 seconds. This verifies the effectiveness and robustness of the method of the present invention.

[0088] Example 2

[0089] This application provides a photovoltaic cell power regulation system based on PSO, such as... Figure 7 As shown, the PSO-based photovoltaic cell power regulation method applied to any of the embodiments in Example 1 includes:

[0090] The light intensity acquisition module is used to acquire and monitor the light intensity shining on the photovoltaic cell to be regulated.

[0091] The power search acquisition module is used to change the operating voltage of the photovoltaic cell to be adjusted and perform a power search when the light intensity changes and the change in light intensity exceeds a threshold. The module obtains the maximum power of the photovoltaic cell to be adjusted under the changed light intensity and determines the operating voltage corresponding to the maximum power as the target voltage.

[0092] Optionally, the power search and acquisition module mentioned above includes:

[0093] The power acquisition submodule is used to acquire the historical power of the photovoltaic cell to be adjusted under the changed light intensity, and the current power of the photovoltaic cell to be adjusted under the changed light intensity, when the light intensity changes and the change in light intensity exceeds a threshold.

[0094] The power determination submodule is used to determine the current power as the maximum power if the current power value is less than or equal to the historical power value. If the current power value is greater than the historical power value, the operating voltage of the photovoltaic cell to be adjusted is changed and a power search is performed.

[0095] Optionally, the power determination submodule mentioned above includes:

[0096] The data acquisition unit is used to acquire the operating voltage of the photovoltaic cell before and after the change, as well as the power values ​​corresponding to the operating voltage before and after the change.

[0097] The forward adjustment unit is used to positively adjust the operating voltage of the photovoltaic cell to be adjusted if the power value corresponding to the changed operating voltage is greater than the power value corresponding to the original operating voltage.

[0098] The voltage determination unit is used to reverse the operating voltage of the photovoltaic cell to be adjusted when the power value corresponding to the changed operating voltage is less than or equal to the power value corresponding to the original operating voltage, and to determine the power value corresponding to the reverse-adjusted operating voltage as the maximum power.

[0099] The power adjustment acquisition module is used to adjust the operating voltage of the photovoltaic cell to be adjusted to the target voltage, so that the photovoltaic cell to be adjusted can operate at maximum power under the changed light intensity.

[0100] Example 3

[0101] This application provides an electronic device, such as... Figure 8 As shown, it includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the method of any one of Embodiment 1.

[0102] Example 4

[0103] This application provides a non-transitory computer-readable storage medium that stores computer instructions that cause a computer to perform any of the methods in Embodiment 1.

[0104] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A photovoltaic cell power regulation method based on PSO, characterized in that, Includes the following steps: S1, acquire and monitor the light intensity shining on the photovoltaic cell to be adjusted; S2, when the light intensity changes and the change in light intensity exceeds a threshold, the operating voltage of the photovoltaic cell to be adjusted is changed and a power search is performed to obtain the maximum power of the photovoltaic cell to be adjusted under the changed light intensity, and the operating voltage corresponding to the maximum power is determined as the target voltage; S3, adjust the operating voltage of the photovoltaic cell to be adjusted to the target voltage; In step S2, the method further includes: When the light intensity changes and the change in light intensity exceeds a threshold, the historical power of the photovoltaic cell to be adjusted under the light intensity and the current power of the photovoltaic cell to be adjusted under the changed light intensity are obtained. If the current power value is less than or equal to the historical power value, the current power is determined as the maximum power; if the current power value is greater than the historical power value, the operating voltage of the photovoltaic cell to be adjusted is changed and a power search is performed. If the current power value is greater than the historical power value, the operating voltage of the photovoltaic cell to be adjusted is changed and a power search is performed, including: Obtain the operating voltage of the photovoltaic cell to be adjusted before and after the change, as well as the power values ​​corresponding to the operating voltage before and after the change. If the power value corresponding to the changed working voltage is greater than the power value corresponding to the working voltage before the change, the working voltage of the photovoltaic cell to be adjusted is positively adjusted. If the power value corresponding to the changed operating voltage is less than or equal to the power value corresponding to the original operating voltage, the operating voltage of the photovoltaic cell to be adjusted is reversed, and the power value corresponding to the reverse-adjusted operating voltage is determined as the maximum power.

2. The photovoltaic cell power regulation method based on PSO according to claim 1, characterized in that, The method further includes: The load configuration data of the photovoltaic cell to be regulated corresponding to the maximum power is determined using the PSO algorithm. The load configuration data represents the operating voltage of the photovoltaic cell to be regulated.

3. The photovoltaic cell power regulation method based on PSO according to claim 2, characterized in that, The load configuration data is represented by a first formula, which is: ; In the formula, This represents the load configuration data of the i-th particle in the d-th dimension at the t-th iteration. This represents the velocity of the i-th particle in the d-th dimension at the (t+1)-th iteration. This represents the load configuration data of the d-th dimension of the ith particle at the (t+1)-th iteration; The speed of motion is expressed by a second formula, which is: ; In the formula, This represents the velocity of the i-th particle in the d-th dimension at the (t+1)-th iteration. Let T1 represent a constant, and rand represent a random number between 0 and 1. Let represent the temporary optimal value of particle i at the t-th iteration. This represents the load configuration data of the i-th particle in the d-th dimension at the t-th iteration; T2 represents a constant, and rand represents a random number between 0 and 1. This represents the overall optimal value at the t-th iteration.

4. A photovoltaic cell power regulation system based on PSO, applied to the photovoltaic cell power regulation method based on PSO as described in any one of claims 1-3, characterized in that, include: The light intensity acquisition module is used to acquire and monitor the light intensity shining on the photovoltaic cell to be regulated; The power search acquisition module is used to change the operating voltage of the photovoltaic cell to be adjusted and perform a power search when the light intensity changes and the change value of the light intensity exceeds a threshold, so as to obtain the maximum power of the photovoltaic cell to be adjusted under the changed light intensity, and determine the operating voltage corresponding to the maximum power as the target voltage. The power adjustment acquisition module is used to adjust the operating voltage of the photovoltaic cell to be adjusted to the target voltage.

5. The photovoltaic cell power regulation system based on PSO according to claim 4, characterized in that, The power search and acquisition module includes: The power acquisition submodule is used to acquire the historical power of the photovoltaic cell to be adjusted under the light intensity when the light intensity changes and the change value of the light intensity exceeds the threshold, and the current power of the photovoltaic cell to be adjusted under the light intensity after the change. The power determination submodule is used to determine the current power as the maximum power if the current power value is less than or equal to the historical power value; and to change the operating voltage of the photovoltaic cell to be adjusted and perform a power search if the current power value is greater than the historical power value.

6. The photovoltaic cell power regulation system based on PSO according to claim 5, characterized in that, The power determination submodule includes: The data acquisition unit is used to acquire the operating voltage of the photovoltaic cell before and after the change, as well as the power values ​​corresponding to the operating voltage before and after the change. A forward adjustment unit is used to positively adjust the operating voltage of the photovoltaic cell to be adjusted if the power value corresponding to the changed operating voltage is greater than the power value corresponding to the original operating voltage. The voltage determination unit is used to reverse the operating voltage of the photovoltaic cell to be adjusted if the power value corresponding to the changed operating voltage is less than or equal to the power value corresponding to the original operating voltage, and to determine the power value corresponding to the reverse-adjusted operating voltage as the maximum power.

7. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method of any one of claims 1-3.

8. A non-transitory computer-readable storage medium, characterized in that, The non-transitory computer-readable storage medium stores computer instructions that cause the computer to perform the method of any one of claims 1-3.