Distributed photovoltaic maximum power point tracking method and device and electronic equipment
By applying Kepler optimization algorithm in distributed photovoltaic systems, the duty cycle is updated and adjusted, the precise tracking of the maximum power point is achieved, the problem of low tracking accuracy in the existing technology is solved, and the energy of the photovoltaic system is improved Conversion efficiency.
Patent Information
- Application Number
- CN202411222672.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-02
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-09-02
AI Technical Summary
In the prior art, photovoltaic power generation systems are difficult to accurately and quickly track the maximum power point of distributed photovoltaics, resulting in low tracking accuracy.
The Kepler optimization algorithm is adopted to determine multiple duty cycles, update the optimal duty cycle using the algorithm, and iteratively adjust the output power until the number of iterations threshold is reached to achieve accurate tracking of the maximum power point.
It improves the tracking accuracy of the maximum power point of the photovoltaic, avoids local maximum power points, and enhances the energy conversion efficiency of the photovoltaic system.
Smart Images

Figure CN119088166A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of distributed photovoltaics, and in particular to a maximum power point tracking method, device and electronic equipment for distributed photovoltaics. Background Art
[0002] As the penetration rate of new energy continues to increase, solar energy has been widely studied and applied as a clean energy. However, due to the influence of local shadows such as buildings and clouds, the output power-voltage characteristic curve of the photovoltaic array will have multiple peaks, and the photovoltaic power generation system is difficult to continuously operate at the optimal working point. Therefore, the study of maximum power point tracking technology has important theoretical and application value for improving the solar energy utilization rate of photovoltaic power generation systems.
[0003] At present, there are relatively mature traditional maximum point power tracking methods including perturbation and observation (P&O) and conductance increment method, but these traditional methods are difficult to accurately and quickly track the global maximum power point, resulting in the problem of low accuracy in tracking the photovoltaic maximum power point.
[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0005] The embodiments of the present invention provide a distributed photovoltaic maximum power point tracking method, device and electronic device to at least solve the technical problem of low accuracy in tracking the photovoltaic maximum power point in the related art.
[0006] According to one aspect of an embodiment of the present invention, a method for tracking a maximum power point of distributed photovoltaics is provided, comprising: determining a plurality of duty cycles corresponding to distributed photovoltaics, wherein the duty cycle is used to control the output power of distributed photovoltaics; determining an optimal duty cycle from a plurality of duty cycles according to the output power corresponding to the distributed photovoltaics at each duty cycle; updating the plurality of duty cycles according to the optimal duty cycle using a Kepler optimization algorithm to obtain a plurality of updated duty cycles; and, if the number of iterations does not reach a threshold of the number of iterations, repeatedly executing the step of determining an optimal duty cycle from a plurality of updated duty cycles according to the output power corresponding to the distributed photovoltaics at each updated duty cycle, until the number of iterations reaches the threshold of the number of iterations, controlling the output power of the distributed photovoltaics according to the latest optimal duty cycle, and determining that the tracking of the maximum power point of the distributed photovoltaics is completed.
[0007] Furthermore, the maximum power point tracking method of distributed photovoltaics also includes: taking the optimal duty cycle as the sun in the Kepler optimization algorithm, and determining the value of the optimal duty cycle as the position of the sun; for each duty cycle, taking the duty cycle as the planet in the Kepler optimization algorithm, and determining the value of the duty cycle as the position of the planet; using the Kepler optimization algorithm, determining the gravitational force exerted on the planet according to the position of the sun and the position of the planet, and determining the speed of the planet according to the preset mass corresponding to the sun and the preset mass corresponding to the planet; updating the position of the planet according to the gravitational force exerted on the planet and the speed of the planet, and determining the updated position of the planet as the updated duty cycle to obtain multiple updated duty cycles.
[0008] Furthermore, the maximum power point tracking method of distributed photovoltaics also includes: calculating a normalized value of the Euclidean distance between the sun and the planet based on the position of the sun and the position of the planet; calculating a target universal gravitation based on an initial value of the universal gravitation and a current number of iterations; and determining the gravitational force exerted on the planet based on the normalized value of the Euclidean distance between the sun and the planet and the target universal gravitation.
[0009] Furthermore, the maximum power point tracking method of distributed photovoltaics also includes: calculating the semi-major axis of the planet's orbit based on a preset mass corresponding to the sun, a preset mass corresponding to the planet, a target gravitational force, and a motion period; calculating a normalized value of the distance between the planet and the sun to obtain a first value; determining the speed of the planet based on the semi-major axis of the planet's orbit and a numerical relationship between the first value and the preset value.
[0010] Furthermore, the maximum power point tracking method of distributed photovoltaics also includes: randomly determining two duty cycles from multiple duty cycles to obtain two target duty cycles; when the first value is less than or equal to a preset value, determining the speed of the planet according to the two target duty cycles and the semi-major axis of the planet's orbit; when the first value is greater than the preset value, determining the speed of the planet according to one of the two target duty cycles and the semi-major axis of the planet's orbit.
[0011] Furthermore, the distributed photovoltaic maximum power point tracking method also includes: using the perturbation observation method to track the maximum power point of the distributed photovoltaic according to the latest optimal duty cycle to obtain the target optimal duty cycle; and controlling the distributed photovoltaic output power according to the target optimal duty cycle.
[0012] Furthermore, the maximum power point tracking method of distributed photovoltaics also includes: after controlling the output power of distributed photovoltaics according to the latest optimal duty cycle, judging whether the degree of change of the lighting environment of the distributed photovoltaics is greater than a preset degree; when the degree of change of the lighting environment of the distributed photovoltaics is greater than a preset degree, redetermining multiple duty cycles corresponding to the distributed photovoltaics to redetermine the optimal duty cycle, and controlling the maximum power output of the distributed photovoltaics based on the redetermined optimal duty cycle.
[0013] According to another aspect of an embodiment of the present invention, a distributed photovoltaic maximum power point tracking device is also provided, including: a first determination module, used to determine multiple duty cycles corresponding to the distributed photovoltaic, wherein the duty cycle is used to control the output power of the distributed photovoltaic; a second determination module, used to determine the optimal duty cycle from multiple duty cycles according to the output power corresponding to the distributed photovoltaic at each duty cycle; an update module, used to use the Kepler optimization algorithm to update the multiple duty cycles according to the optimal duty cycle to obtain multiple updated duty cycles; a first processing module, used to repeatedly execute the step of determining the optimal duty cycle from multiple updated duty cycles according to the output power corresponding to the distributed photovoltaic at each updated duty cycle when the number of iterations does not reach the iteration number threshold, until the number of iterations reaches the iteration number threshold, the distributed photovoltaic output power is controlled according to the latest optimal duty cycle, and it is determined that the tracking of the distributed photovoltaic maximum power point is completed.
[0014] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned distributed photovoltaic maximum power point tracking method when running.
[0015] According to another aspect of an embodiment of the present invention, an electronic device is also provided, the electronic device comprising one or more processors; a memory for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors are enabled to run the programs, wherein the programs are configured to execute the above-mentioned distributed photovoltaic maximum power point tracking method when running.
[0016] In the embodiment of the present invention, the maximum power point tracking of distributed photovoltaic is performed by using the Kepler optimization algorithm, by determining multiple duty cycles corresponding to distributed photovoltaic, according to the output power corresponding to distributed photovoltaic under each duty cycle, the optimal duty cycle is determined from multiple duty cycles, and then the Kepler optimization algorithm is used to update multiple duty cycles according to the optimal duty cycle to obtain multiple updated duty cycles, so that when the number of iterations does not reach the iteration number threshold, the step of determining the optimal duty cycle from multiple updated duty cycles according to the output power corresponding to distributed photovoltaic under each updated duty cycle is repeated, until the number of iterations reaches the iteration number threshold, the output power of distributed photovoltaic is controlled according to the latest optimal duty cycle, and the tracking of the maximum power point of distributed photovoltaic is determined to be completed. Wherein, the duty cycle is used to control the output power of distributed photovoltaic.
[0017] In the above process, since the Kepler optimization algorithm simulates the motion law of planets around the sun and uses gravity to adjust the search method of candidate solutions, it can more effectively explore and utilize the search space, avoid falling into the local maximum power point, and improve the tracking accuracy. Therefore, by first determining multiple duty cycles corresponding to distributed photovoltaics, and then using the Kepler optimization algorithm to update multiple duty cycles according to the optimal duty cycle, multiple updated duty cycles are obtained, and then iterated continuously until the number of iterations reaches the iteration number threshold, the distributed photovoltaic output power is controlled according to the latest optimal duty cycle, which can effectively realize the search for the optimal duty cycle, so that the final distributed photovoltaic output power is a more accurate maximum power point, which effectively improves the accuracy of tracking the photovoltaic maximum power point.
[0018] It can be seen that the solution provided in the present application achieves the purpose of using the Kepler optimization algorithm to track the maximum power point of distributed photovoltaics, thereby achieving the technical effect of improving the accuracy of tracking the maximum power point of photovoltaics, and further solving the technical problem of low accuracy in tracking the maximum power point of photovoltaics in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0020] Figure 1 The following is a flow chart of an optional distributed photovoltaic maximum power point tracking method according to an embodiment of the present invention. Figure 1 ;
[0021] Figure 2 is a schematic diagram of an optional Boost circuit according to an embodiment of the present invention;
[0022] Figure 3 The following is a flow chart of an optional distributed photovoltaic maximum power point tracking method according to an embodiment of the present invention. Figure 2 ;
[0023] Figure 4 is a schematic diagram of an optional output power-voltage curve according to an embodiment of the present invention;
[0024] Figure 5 is a schematic diagram of an optional power curve according to an embodiment of the present invention Figure 1 ;
[0025] Figure 6 is a schematic diagram of an optional duty cycle curve according to an embodiment of the present invention Figure 1 ;
[0026] Figure 7 is a schematic diagram of an optional power curve according to an embodiment of the present invention Figure 2 ;
[0027] Figure 8 is a schematic diagram of an optional duty cycle curve according to an embodiment of the present invention Figure 2 ;
[0028] Fig. 9 is a schematic diagram of an optional power curve according to an embodiment of the present invention Figure 3 ;
[0029] Fig.10 is a schematic diagram of an optional duty cycle curve according to an embodiment of the present invention Figure 3 ;
[0030] Fig.11 is a schematic diagram of an optional distributed photovoltaic maximum power point tracking device according to an embodiment of the present invention;
[0031] Fig.12 is a schematic diagram of an optional electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0032] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0034] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards in the relevant regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0035] Example 1
[0036] According to an embodiment of the present invention, an embodiment of a maximum power point tracking method for distributed photovoltaics is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0037] Figure 1 The following is a flow chart of an optional distributed photovoltaic maximum power point tracking method according to an embodiment of the present invention. Figure 1 ,like Figure 1 As shown, the method comprises the following steps:
[0038] Step S101, determining a plurality of duty cycles corresponding to distributed photovoltaics, wherein the duty cycle is used to control the output power of distributed photovoltaics.
[0039] Optionally, electronic devices, application systems, servers and other devices may be used as execution entities. In this embodiment, the target processing system is used as the execution entity to execute the maximum power point tracking method of distributed photovoltaics.
[0040] Optionally, in this embodiment, distributed photovoltaics can be deployed in a Boost circuit. Figure 2 is a schematic diagram of an optional Boost circuit according to an embodiment of the present invention, such as Figure 2 As shown, the Boost circuit includes a photovoltaic array, which includes multiple photovoltaic modules. The photovoltaic array is equivalent to distributed photovoltaics. The Boos circuit also includes an input capacitor C in , inductor, switch tube, output capacitor C out And the load, the duty cycle refers to the PWM (Pulse width modulation) duty cycle, the target processing system can output the duty cycle to generate a corresponding PWM signal to control the conduction and cutoff of the switch tube in the Boost circuit, thereby realizing the control of the output power of the distributed photovoltaic.
[0041] Optionally, the target processing system may first initialize multiple duty cycles, and then determine the initialized multiple duty cycles as multiple duty cycles corresponding to distributed photovoltaics. For example, the duty cycle is initialized by the following formula:
[0042]
[0043] Among them, D i is the i-th duty cycle; D min and D max are the lower limit and upper limit of the duty cycle respectively, and N is the total number of multiple duty cycles.
[0044] Step S102, determining an optimal duty cycle from multiple duty cycles according to the output power corresponding to each duty cycle of the distributed photovoltaic system.
[0045] Optionally, after obtaining multiple duty cycles, for each duty cycle, the target processing system can control the distributed photovoltaics to operate at the duty cycle, and during the operation of the distributed photovoltaics, collect the output voltage and output current of the distributed photovoltaics, so as to determine the output power corresponding to the distributed photovoltaics at the duty cycle based on the output voltage and output current, and then determine the duty cycle with the highest output power as the optimal duty cycle.
[0046] For example, in an iteration round, the target processing system can send different duty cycles to distributed photovoltaics for execution at different times, collect the output voltage and output current of the distributed photovoltaics at different times, calculate its output power, and then compare the output power of the distributed photovoltaics at the previous moment with the output power at the current moment. If the output power at the previous moment is greater than the output power at the current moment, the duty cycle at the previous moment is used as the optimal duty cycle, otherwise, the duty cycle at the current moment is used as the optimal duty cycle, thereby obtaining the optimal duty cycle for the current iteration round.
[0047] Step S103, using the Kepler optimization algorithm, updating multiple duty cycles according to the optimal duty cycle to obtain multiple updated duty cycles.
[0048] Optionally, the target processing system can regard the optimal duty cycle as the sun in the Kepler Optimization Algorithm (KOA), regard the duty cycles among the multiple duty cycles as planets in the Kepler optimization algorithm, and determine the value of the optimal duty cycle as the position of the sun, and the value of the duty cycle as the position of the planet, thereby using the Kepler optimization algorithm to update the multiple duty cycles according to the optimal duty cycle to obtain multiple updated duty cycles.
[0049] Step S104, when the number of iterations does not reach the iteration number threshold, repeatedly execute the step of determining the optimal duty cycle from multiple updated duty cycles according to the output power corresponding to the distributed photovoltaics under each updated duty cycle, until the number of iterations reaches the iteration number threshold, control the distributed photovoltaic output power according to the latest optimal duty cycle, and determine that the tracking of the distributed photovoltaic maximum power point is completed.
[0050] Optionally, when the number of iterations does not reach the iteration number threshold, the target processing system may repeat the above steps S102-S103, and in each round of iterations, that is, each time steps S102-S103 are executed, the duty cycle used is the duty cycle updated using the Kepler optimization algorithm in the previous round of iterations.
[0051] Optionally, the maximum power point tracking technology is a technology used to improve the energy conversion efficiency of photovoltaic systems. It adjusts the output voltage and current of the photovoltaic system so that it works at the point where the maximum power is generated, thereby maximizing the extraction of power. Therefore, the above iterative process is equivalent to the process of tracking the maximum power point of distributed photovoltaics.
[0052] Optionally, when the number of iterations reaches an iteration number threshold, the target processing system may control the output power of the distributed photovoltaic system according to the latest optimal duty cycle, and determine that the tracking of the maximum power point of the distributed photovoltaic system is completed.
[0053] In some embodiments, when the number of iterations reaches an iteration number threshold, the target processing system may determine the optimal duty cycle in the latest round of iterations that has not been updated by the Kepler optimization algorithm as the latest optimal duty cycle.
[0054] In some embodiments, in the process of controlling the distributed photovoltaic output power according to the latest optimal duty cycle, the target processing system can directly control the distributed photovoltaic output power according to the latest optimal duty cycle. The target processing system can also combine the perturbation observation method to continue tracking the maximum power point of the distributed photovoltaic according to the latest optimal duty cycle to obtain the target optimal duty cycle, thereby controlling the distributed photovoltaic output power according to the target optimal duty cycle.
[0055] Based on the scheme defined in the above steps S101 to S104, it can be known that in the embodiment of the present invention, the maximum power point tracking of distributed photovoltaics is performed by using the Kepler optimization algorithm, by determining multiple duty cycles corresponding to distributed photovoltaics, according to the output power corresponding to the distributed photovoltaics at each duty cycle, determining the optimal duty cycle from the multiple duty cycles, and then using the Kepler optimization algorithm, updating the multiple duty cycles according to the optimal duty cycle to obtain multiple updated duty cycles, so that when the number of iterations does not reach the iteration number threshold, the step of determining the optimal duty cycle from the multiple updated duty cycles according to the output power corresponding to the distributed photovoltaics at each updated duty cycle is repeated, until the number of iterations reaches the iteration number threshold, the distributed photovoltaic output power is controlled according to the latest optimal duty cycle, and the tracking of the maximum power point of the distributed photovoltaics is determined to be completed. Wherein, the duty cycle is used to control the output power of the distributed photovoltaics.
[0056] It is easy to notice that in the above process, since the Kepler optimization algorithm simulates the motion law of planets around the sun and uses gravity to adjust the search method of candidate solutions, it can more effectively explore and utilize the search space, avoid falling into the local maximum power point, and improve the tracking accuracy. Therefore, by first determining multiple duty cycles corresponding to distributed photovoltaics, and then using the Kepler optimization algorithm to update multiple duty cycles according to the optimal duty cycle, multiple updated duty cycles are obtained, and then iterated continuously until the number of iterations reaches the iteration number threshold, the distributed photovoltaic output power is controlled according to the latest optimal duty cycle, which can effectively realize the search for the optimal duty cycle, so that the final distributed photovoltaic output power is a more accurate maximum power point, which effectively improves the accuracy of tracking the photovoltaic maximum power point.
[0057] It can be seen that the solution provided in the present application achieves the purpose of using the Kepler optimization algorithm to track the maximum power point of distributed photovoltaics, thereby achieving the technical effect of improving the accuracy of tracking the maximum power point of photovoltaics, and further solving the technical problem of low accuracy in tracking the maximum power point of photovoltaics in related technologies.
[0058] In an optional embodiment, in the process of using the Kepler optimization algorithm to update multiple duty cycles according to the optimal duty cycle to obtain multiple updated duty cycles, the target processing system can use the optimal duty cycle as the sun in the Kepler optimization algorithm, and determine the value of the optimal duty cycle as the position of the sun. Then, for each duty cycle, the duty cycle is used as a planet in the Kepler optimization algorithm, and the value of the duty cycle is determined as the position of the planet. Then, using the Kepler optimization algorithm, the gravity exerted on the planet is determined according to the position of the sun and the position of the planet, and the speed of the planet is determined according to the preset mass corresponding to the sun and the preset mass corresponding to the planet. Therefore, the position of the planet is updated according to the gravity exerted on the planet and the speed of the planet, and the updated position of the planet is determined as the updated duty cycle to obtain multiple updated duty cycles.
[0059] In some embodiments, the target processing system may determine a preset mass corresponding to the sun and a preset mass of each planet based on a Kepler optimization algorithm.
[0060] Optionally, after determining the gravitational force exerted on the planet and the speed of the planet, the target processing system may use the Kepler optimization algorithm to update the position of the planet according to the gravitational force exerted on the planet and the speed of the planet.
[0061] Optionally, after the position of each of the multiple planets is updated and the updated position of the planet is determined as the updated duty cycle, multiple updated duty cycles are determined.
[0062] It should be noted that, through the above process, each duty cycle is effectively substituted into the Kepler optimization algorithm, so that the maximum power point can be tracked effectively through the Kepler optimization algorithm, thereby improving the accuracy of maximum power point tracking.
[0063] In an optional embodiment, in the process of determining the gravitational force exerted on a planet based on the position of the sun and the position of the planet, the target processing system can calculate the normalized value of the Euclidean distance between the sun and the planet based on the position of the sun and the position of the planet, and then calculate the target universal gravitation based on the initial value of the universal gravitation and the current number of iterations, thereby determining the gravitational force exerted on the planet based on the normalized value of the Euclidean distance between the sun and the planet and the target universal gravitation.
[0064] Optionally, before the iteration begins, the target processing system may initialize the eccentricity and motion period in the Kepler optimization algorithm. The initialization calculation formula for the eccentricity is:
[0065] e i =rand[0,1],i=1,2,...,N
[0066] Among them, e iis the eccentricity of the elliptical orbit of the i-th planet; rand [0,1] is a random number in the interval [0,1]; N is the number of planets, that is, the total number of multiple duty cycles.
[0067] The initialization calculation formula for the motion cycle is:
[0068] T i =|r|,i=1,2,...,N
[0069] Among them, T i is the motion period of the ith planet; r is a random number obtained based on the standard normal distribution.
[0070] During the iteration process, the target processing system calculates the gravitational force on the planet using the following formula:
[0071]
[0072] Among them, F i (t) is the gravitational force on the ith planet in the tth iteration round; μ(t) is the gravitational constant in the tth iteration round, that is, the target gravitational force; and are the normalized values of the mass of the sun and the planets, respectively; is the normalized value of the Euclidean distance between the sun and the planet; X s (t) is the position of the sun in the tth iteration; X i (t) is the position of the i-th planet in the t-th iteration round, ε is a small number, which is a preset value; r1 is a random number in the interval [0,1]; μ0 is the initial value of gravity; γ is a constant; t and T max are the current iteration number and iteration number threshold respectively.
[0073] It should be noted that, through the above process, the accurate calculation of the gravitational force on the planet is achieved, thereby effectively improving the accuracy of maximum power point tracking.
[0074] In an optional embodiment, in the process of determining the speed of a planet according to a preset mass corresponding to the sun and a preset mass corresponding to the planet, the target processing system can calculate the semi-major axis of the planet's orbit according to the preset mass corresponding to the sun, the preset mass corresponding to the planet, the target universal gravitation and the motion period, and calculate the normalized value of the distance between the planet and the sun to obtain a first value, thereby determining the speed of the planet according to the semi-major axis of the planet's orbit and the numerical relationship between the first value and the preset value.
[0075] Optionally, the target processing system can calculate the semi-major axis of the planetary orbit according to the following formula:
[0076]
[0077] Among them, a i (t) is the semi-major axis of the i-th planetary orbit in the t-th iteration round, and r5 is a random number in the interval [0,1].
[0078] Afterwards, the target processing system can calculate the normalized value of the distance between the planet and the sun to obtain a first value, thereby determining the speed of the planet based on the semi-major axis of the planet's orbit and the numerical relationship between the first value and a preset value.
[0079] For example, in the two cases where the first value is less than or equal to the preset value and the first value is greater than the preset value, different calculation methods are used to determine the speed of the planet according to the semi-major axis of the planet's orbit.
[0080] It should be noted that, through the above process, the planetary speed can be accurately determined, thereby effectively improving the accuracy of maximum power point tracking.
[0081] In an optional embodiment, in the process of determining the speed of the planet based on the semi-major axis of the planet's orbit and the numerical relationship between the first value and the preset value, the target processing system can randomly determine two duty cycles from multiple duty cycles to obtain two target duty cycles, and then determine the speed of the planet based on the two target duty cycles and the semi-major axis of the planet's orbit when the first value is less than or equal to the preset value; and determine the speed of the planet based on one of the two target duty cycles and the semi-major axis of the planet's orbit when the first value is greater than the preset value.
[0082] Optionally, in the process of determining the speed of the planet according to the semi-major axis of the planetary orbit and the numerical relationship between the first value and the preset value, the target processing system may calculate the planetary speed by the following formula:
[0083]
[0084] Among them, V i (t) is the velocity of the i-th planet in the t-th iteration round; r2, r3, r4, r5 and r6 are all random numbers in the interval [0,1]; X a and X b are two randomly selected candidate solutions, namely X a and X b are two target duty cycles, that is, X a and X b are the positions of two randomly selected planets; X i is the position of the ith planet; R i-norm(t) is the normalized value of the distance between the planet and the sun; F is a flag used to change the search direction of the Kepler optimization algorithm; U, U1, U2, L and η are all coefficients; M s and m i are the masses of the sun and the planets respectively; T i is the planet's motion period; ε is a smaller number, which is a preset value to prevent the denominator from being 0.
[0085] In an optional embodiment, after determining the gravitational force on the planet and the speed of the planet, the target processing system may use the Kepler optimization algorithm to update the position of the planet using the following formula:
[0086]
[0087] Among them, X i (t+1) is the position of the i-th planet in the t+1 iteration round, that is, the position of the planet after update.
[0088] It should be noted that, through the above process, the planetary speed can be accurately determined, thereby effectively improving the accuracy of maximum power point tracking.
[0089] In an optional embodiment, in the process of controlling the distributed photovoltaic output power according to the latest optimal duty cycle, the target processing system can use the perturbation observation method to track the maximum power point of the distributed photovoltaic according to the latest optimal duty cycle, obtain the target optimal duty cycle, and control the distributed photovoltaic output power according to the target optimal duty cycle.
[0090] Optionally, when the number of iterations reaches an iteration number threshold, the target processing system may determine the optimal duty cycle in the latest round of iterations that has not been updated by the Kepler optimization algorithm as the latest optimal duty cycle, and then switch to the perturbation observation method to track the global maximum power point of the distributed photovoltaics.
[0091] For example, the latest optimal duty cycle is disturbed, the output power of the distributed photovoltaic after the disturbance is measured, and compared with the output power of the distributed photovoltaic before the disturbance, and then the observed power change is used to determine whether the disturbance direction increases the power output. If the disturbance increases the power output, it is determined that the disturbance direction is close to the maximum power point, and the current duty cycle can be disturbed along the disturbance direction. If the disturbance reduces the power output, it is determined that the disturbance direction is far away from the maximum power point, and the current duty cycle can be disturbed in the opposite direction of the disturbance direction. This is repeated until the current duty cycle stabilizes near the maximum power point, and the target optimal duty cycle is determined to be found, so that the distributed photovoltaic output power is controlled according to the target optimal duty cycle.
[0092] It should be noted that in the present application, by first leveraging the excellent global search capability of the Kepler optimization algorithm, using the Kepler optimization algorithm to track to the vicinity of the global maximum power point, and then switching to the perturbation observation method to accurately locate and track the global maximum power point, the tracking speed can be effectively improved, the tracking accuracy can be increased, the power oscillation during the tracking process can be reduced, and the photovoltaic utilization rate can be improved.
[0093] In an optional embodiment, after controlling the distributed photovoltaic output power according to the latest optimal duty cycle, the target processing system can determine whether the degree of change of the lighting environment of the distributed photovoltaic is greater than a preset degree, thereby redetermining multiple duty cycles corresponding to the distributed photovoltaics when the degree of change of the lighting environment of the distributed photovoltaics is greater than a preset degree, so as to redetermine the optimal duty cycle, and control the distributed photovoltaic output maximum power based on the redetermined optimal duty cycle.
[0094] Optionally, the target processing system can detect the output power of the distributed photovoltaic in real time, and calculate the target value according to the difference between the output power of the distributed photovoltaic at the current moment and the output power at the previous moment, so as to determine that the degree of change of the lighting environment is greater than the preset degree when the target value is greater than or equal to the preset threshold, and determine that the degree of change of the lighting environment is not greater than the preset degree when the target value is less than the preset threshold. Among them, the target value and the difference between the output power of the distributed photovoltaic at the current moment and the output power at the previous moment are positively correlated.
[0095] For example, the following formula is used to determine whether the degree of change in the distributed photovoltaic lighting environment is greater than a preset degree:
[0096]
[0097] Among them, P(k) is the output power at the current moment k; P(k-1) is the output power at the moment k-1. The left side of the formula is equivalent to the above-mentioned target value, and the right side of the formula is equivalent to the above-mentioned preset threshold. If this formula is satisfied, it is determined that the illumination has changed and the algorithm needs to be restarted, that is, the above-mentioned steps S101-S104 are re-executed; otherwise, no change occurs and the algorithm ends.
[0098] Figure 3 The following is a flow chart of an optional distributed photovoltaic maximum power point tracking method according to an embodiment of the present invention. Figure 2 ,according to Figure 3 An optional application process of this embodiment is described. Figure 3 As shown, the target processing system can perform the following steps:
[0099] Step 1: Initialize the Kepler optimization algorithm, allocate the initial duty cycle of distributed photovoltaics, and send it to distributed photovoltaics for execution in turn;
[0100] Step 2: Collect the output voltage and output current of distributed photovoltaic at different times and calculate its output power;
[0101] Step 3: Compare the calculated output power, compare the output power of the distributed photovoltaic system at the previous moment with the output power at the current moment, and obtain the optimal duty cycle at the current moment;
[0102] Step 4: For the optimal duty cycle at the current moment, the Kepler optimization algorithm is used to iteratively update the duty cycle;
[0103] Step 5: Determine whether the number of iterations t reaches the iteration threshold T max , when the number of iterations t reaches the iteration threshold T max In the case of , switch to the perturbation observation method to track the global maximum power point of distributed photovoltaics. If the number of iterations does not reach the iteration number threshold T max If the error occurs, repeat steps 2 to 4.
[0104] Step 6: When the light changes, repeat steps 1 to 5 until the light stops changing.
[0105] In some embodiments, three working conditions are designed to illustrate the application effect of the method provided in the present application. Optionally, the parameters of the boost circuit where the distributed photovoltaic is located can be: C in =100μF, L=10mH, C out =10μF, R=40Ω, f=20kHz.
[0106] Optionally, the irradiance under different working conditions is shown in Table 1, and the output power-voltage curve of the photovoltaic array is shown in Figure 4 shown.
[0107] Table 1-Irradiance and maximum power under three working conditions
[0108]
[0109] Optionally, simulations are performed according to the method provided in this application under three working conditions: uniform illumination condition 1, non-uniform illumination condition 2, and sudden illumination change condition 3. The simulation results under working condition 1 are as follows: Figure 5 , Figure 6 As shown, Figure 5 is a schematic diagram of an optional power curve according to an embodiment of the present invention Figure 1 , Figure 6 is a schematic diagram of an optional duty cycle curve according to an embodiment of the present invention Figure 1 , Figure 5 The output power in Figure 6The duty cycle changes in the simulation results under working condition 2 are as follows: Figure 7 , Figure 8 As shown, Figure 7 is a schematic diagram of an optional power curve according to an embodiment of the present invention Figure 2 , Figure 8 is a schematic diagram of an optional duty cycle curve according to an embodiment of the present invention Figure 2 , Figure 7 The output power in Figure 8 The duty cycle changes in the simulation results under working condition 3 are as follows: Fig. 9 , Fig.10 As shown, Fig. 9 is a schematic diagram of an optional power curve according to an embodiment of the present invention Figure 3 , Fig.10 is a schematic diagram of an optional duty cycle curve according to an embodiment of the present invention Figure 3 , Fig. 9 The output power in Fig.10 It can be seen that the method proposed in this application can adapt to various situations and can perform maximum power point tracking with faster speed and higher accuracy.
[0110] It can be seen that the solution provided in the present application achieves the purpose of using the Kepler optimization algorithm to track the maximum power point of distributed photovoltaics, thereby achieving the technical effect of improving the accuracy of tracking the maximum power point of photovoltaics, and further solving the technical problem of low accuracy in tracking the maximum power point of photovoltaics in related technologies.
[0111] Example 2
[0112] According to an embodiment of the present invention, an embodiment of a distributed photovoltaic maximum power point tracking device is provided, wherein: Fig.11 is a schematic diagram of an optional distributed photovoltaic maximum power point tracking device according to an embodiment of the present invention, such as Fig.11 As shown, the device comprises:
[0113] A first determination module 1101 is used to determine a plurality of duty cycles corresponding to distributed photovoltaics, wherein the duty cycle is used to control the output power of distributed photovoltaics;
[0114] The second determination module 1102 is used to determine the optimal duty cycle from multiple duty cycles according to the output power corresponding to each duty cycle of the distributed photovoltaic system;
[0115] An updating module 1103 is used to update multiple duty cycles according to the optimal duty cycle using a Kepler optimization algorithm to obtain multiple updated duty cycles;
[0116] The first processing module 1104 is used to repeatedly execute the step of determining the optimal duty cycle from multiple updated duty cycles according to the output power corresponding to the distributed photovoltaic under each updated duty cycle when the number of iterations does not reach the iteration number threshold, until the number of iterations reaches the iteration number threshold, and control the distributed photovoltaic output power according to the latest optimal duty cycle, and determine that the tracking of the distributed photovoltaic maximum power point is completed.
[0117] It should be noted that the above-mentioned first determination module 1101, second determination module 1102, update module 1103 and first processing module 1104 correspond to steps S101 to S104 in the above-mentioned embodiment, and the examples and application scenarios implemented by the four modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned embodiment 1.
[0118] Optionally, the update module also includes: a first determination submodule, used to take the optimal duty cycle as the sun in the Kepler optimization algorithm, and determine the value of the optimal duty cycle as the position of the sun; a second determination submodule, used to, for each duty cycle, take the duty cycle as the planet in the Kepler optimization algorithm, and determine the value of the duty cycle as the position of the planet; a third determination submodule, used to use the Kepler optimization algorithm to determine the gravitational force exerted on the planet according to the position of the sun and the position of the planet, and determine the speed of the planet according to the preset mass corresponding to the sun and the preset mass corresponding to the planet; a fourth determination submodule, used to update the position of the planet according to the gravitational force exerted on the planet and the speed of the planet, and determine the updated position of the planet as the updated duty cycle to obtain multiple updated duty cycles.
[0119] Optionally, the third determination submodule also includes: a first calculation unit, used to calculate the normalized value of the Euclidean distance between the sun and the planet according to the position of the sun and the position of the planet; a second calculation unit, used to calculate the target universal gravitation according to the initial value of the universal gravitation and the current number of iterations; the first determination unit, used to determine the gravity exerted on the planet according to the normalized value of the Euclidean distance between the sun and the planet and the target universal gravitation.
[0120] Optionally, the third determination submodule also includes: a third calculation unit, used to calculate the semi-major axis of the planet's orbit based on the preset mass corresponding to the sun, the preset mass corresponding to the planet, the target gravity and the motion period; a fourth calculation unit, used to calculate the normalized value of the distance between the planet and the sun to obtain a first numerical value; a second determination unit, used to determine the speed of the planet based on the semi-major axis of the planet's orbit and the numerical relationship between the first numerical value and the preset numerical value.
[0121] Optionally, the second determination unit also includes: a first determination subunit, used to randomly determine two duty cycles from multiple duty cycles to obtain two target duty cycles; a second determination subunit, used to determine the speed of the planet based on the two target duty cycles and the semi-major axis of the planet's orbit when the first value is less than or equal to a preset value; and a third determination subunit, used to determine the speed of the planet based on one of the two target duty cycles and the semi-major axis of the planet's orbit when the first value is greater than a preset value.
[0122] Optionally, the first processing module also includes: a first processing sub-module, used to use the perturbation observation method to track the maximum power point of the distributed photovoltaic according to the latest optimal duty cycle to obtain the target optimal duty cycle; a second processing sub-module, used to control the distributed photovoltaic output power according to the target optimal duty cycle.
[0123] Optionally, the maximum power point tracking device of distributed photovoltaics also includes: a judgment module, used to judge whether the degree of change of the lighting environment of the distributed photovoltaics is greater than a preset degree; a second processing module, used to redetermine multiple duty cycles corresponding to the distributed photovoltaics when the degree of change of the lighting environment of the distributed photovoltaics is greater than a preset degree, so as to redetermine the optimal duty cycle, and control the distributed photovoltaics to output the maximum power based on the re-determined optimal duty cycle.
[0124] Example 3
[0125] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned distributed photovoltaic maximum power point tracking method when running.
[0126] Example 4
[0127] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, wherein: Fig.12 is a schematic diagram of an optional electronic device according to an embodiment of the present invention, such as Fig.12 As shown, the electronic device includes one or more processors; a memory for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors are enabled to run the programs, wherein the programs are configured to execute the above-mentioned distributed photovoltaic maximum power point tracking method when running.
[0128] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0129] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0130] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0131] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0132] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0133] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0134] The above are only preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A maximum power point tracking method for distributed photovoltaics, It is characterized in that include: Determine a plurality of duty cycles corresponding to distributed photovoltaics, wherein the duty cycles are used to control the output power of the distributed photovoltaics; Determining an optimal duty cycle from the multiple duty cycles according to the output power corresponding to each duty cycle of the distributed photovoltaic system; Using a Kepler optimization algorithm, the multiple duty cycles are updated according to the optimal duty cycle to obtain multiple updated duty cycles; When the number of iterations does not reach the iteration number threshold, the step of determining the optimal duty cycle from the multiple updated duty cycles according to the output power corresponding to the distributed photovoltaic under each updated duty cycle is repeatedly performed until the number of iterations reaches the iteration number threshold, the distributed photovoltaic output power is controlled according to the latest optimal duty cycle, and it is determined that the tracking of the distributed photovoltaic maximum power point is completed.
2. The method according to claim 1, It is characterized in that The multiple duty cycles are updated according to the optimal duty cycle by using the Kepler optimization algorithm to obtain multiple updated duty cycles, including: Using the optimal duty cycle as the sun in the Kepler optimization algorithm, and determining the value of the optimal duty cycle as the position of the sun; For each duty cycle, treating the duty cycle as a planet in the Kepler optimization algorithm and determining the value of the duty cycle as the position of the planet; Using the Kepler optimization algorithm, the gravitational force on the planet is determined according to the position of the sun and the position of the planet, and the speed of the planet is determined according to the preset mass corresponding to the sun and the preset mass corresponding to the planet; The position of the planet is updated according to the gravitational force exerted on the planet and the speed of the planet, and the updated position of the planet is determined as the updated duty cycle to obtain the multiple updated duty cycles.
3. The method according to claim 2, It is characterized in that Determining the gravitational force on the planet according to the position of the sun and the position of the planet includes: Calculating a normalized value of the Euclidean distance between the sun and the planet according to the position of the sun and the position of the planet; According to the initial value of universal gravitation and the current number of iterations, the target universal gravitation is calculated; The gravitational force exerted on the planet is determined according to the normalized value of the Euclidean distance between the sun and the planet and the target universal gravitation.
4. The method according to claim 2, It is characterized in that Determining the speed of the planet according to the preset mass corresponding to the sun and the preset mass corresponding to the planet includes: Calculate the semi-major axis of the planet's orbit according to the preset mass corresponding to the sun, the preset mass corresponding to the planet, the target gravitational force, and the motion period; Calculating a normalized value of the distance between the planet and the sun to obtain a first value; The speed of the planet is determined according to the semi-major axis of the planet's orbit and the numerical relationship between the first value and a preset value.
5. The method according to claim 4, It is characterized in that Determining the speed of the planet according to the semi-major axis of the planetary motion orbit and the numerical relationship between the first value and a preset value includes: randomly determining two duty ratios from the plurality of duty ratios to obtain two target duty ratios; When the first value is less than or equal to a preset value, determining the speed of the planet according to the two target duty cycles and the semi-major axis of the planetary orbit; When the first value is greater than the preset value, the speed of the planet is determined according to one of the two target duty cycles and the semi-major axis of the planet's orbit.
6. The method according to claim 1, It is characterized in that Controlling the distributed photovoltaic output power according to the latest optimal duty cycle includes: Using a perturbation observation method, the maximum power point of the distributed photovoltaic system is tracked according to the latest optimal duty cycle to obtain a target optimal duty cycle; The distributed photovoltaic output power is controlled according to the target optimal duty cycle.
7. The method according to claim 1, It is characterized in that After controlling the distributed photovoltaic output power according to the latest optimal duty cycle, the method further includes: Determining whether the degree of change in the lighting environment of the distributed photovoltaic is greater than a preset degree; When the degree of change of the lighting environment of the distributed photovoltaic is greater than the preset degree, multiple duty cycles corresponding to the distributed photovoltaic are redetermined to redetermine the optimal duty cycle, and the distributed photovoltaic is controlled to output a maximum power based on the redetermined optimal duty cycle.
8. A maximum power point tracking device for distributed photovoltaics, It is characterized in that include: A first determination module is used to determine a plurality of duty cycles corresponding to distributed photovoltaics, wherein the duty cycles are used to control the output power of the distributed photovoltaics; A second determination module is used to determine an optimal duty cycle from the multiple duty cycles according to the output power corresponding to each duty cycle of the distributed photovoltaic system; An updating module, configured to update the plurality of duty cycles according to the optimal duty cycle using a Kepler optimization algorithm to obtain a plurality of updated duty cycles; The first processing module is used to repeatedly execute the step of determining the optimal duty cycle from the multiple updated duty cycles according to the output power corresponding to the distributed photovoltaic under each updated duty cycle when the number of iterations does not reach the iteration number threshold, until the number of iterations reaches the iteration number threshold, control the distributed photovoltaic output power according to the latest optimal duty cycle, and determine that the tracking of the distributed photovoltaic maximum power point is completed.
9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the distributed photovoltaic maximum power point tracking method described in any one of claims 1 to 7 when running.
10. An electronic device, It is characterized in that The electronic device includes one or more processors; A memory for storing one or more programs, which, when executed by the one or more processors, enables the one or more processors to run the programs, wherein the program is configured to execute the distributed photovoltaic maximum power point tracking method described in any one of claims 1 to 7 when running.
Citation Information
Patent Citations
Compound control method of photovoltaic maximum power point tracking on condition of partial shadow
CN103092250A
Ultrasensitive spectral imaging astronomical telescope and astronomical spectral imaging method
CN104019898A
Polar hovering satellite orbit-based system design method
CN106446313A
MPPT (Maximum Power Point Tracking) control method suitable for centralized thermoelectric power generation system
CN117873277A
Photovoltaic MPPT control method combining PO and improved SSA
CN118432168A
Cited By
Regional water resource multi-objective optimization configuration decision-making method and system and storage medium
CN120494606A
