A method for tracking the global maximum power point of photovoltaic arrays under partial shading
By establishing a photovoltaic array model and constructing a Lyapunov function, combined with the leapfrog-particle swarm algorithm to optimize the RBF neural network, the problem of tracking the global maximum power point of the photovoltaic array under partial shading was solved, and the efficiency of photovoltaic power generation was improved.
Patent Information
- Application Number
- CN202011322008.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-23
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2040-11-23
AI Technical Summary
Under local shading conditions, the output power-voltage characteristic curve of the photovoltaic array presents multiple peaks. It is difficult for the traditional MPPT method to quickly and stably find the global maximum power point, resulting in low photovoltaic power generation efficiency.
By establishing a photovoltaic array model, constructing the Lyapunov function and the RBF neural network optimized based on the leapfrog-particle swarm algorithm, the duty cycle function of the global maximum power point is determined, and the metal-oxide semiconductor field effect transistor MOSFET is driven to track the global maximum Power point.
It achieves fast and stable tracking of the global maximum power point under partial occlusion, improves the stability of photovoltaic voltage and current, and improves photovoltaic power generation efficiency.
Smart Images

Figure CN112711294B
Abstract
Description
Technical Field
[0001] The present application relates to the field of photovoltaic power generation technology, and more specifically, to a method for tracking the global maximum power point of a photovoltaic array under partial shading. Background Art
[0002] Solar photovoltaic power generation is considered to be the most promising new energy technology in the world. However, the photovoltaic power generation industry has also encountered many problems in its development: high cost of photovoltaic modules, low photoelectric conversion efficiency, and the harm of partial shading. MPPT (Maximum Power Point Tracking) is the most direct and effective way to reduce power generation costs and improve power generation efficiency.
[0003] In the actual use of photovoltaic systems, the surrounding environment (clouds in the sky, high-rise buildings, dust) often affects the photovoltaic array, causing uneven light intensity and local shading problems. When the photovoltaic array is partially blocked, its output power-voltage PU characteristic curve will show multiple peak characteristics, and the traditional MPPT method is difficult to find the global MPP from multiple local MPPs (Maximum Power Points).
[0004] Therefore, how to quickly and stably track the global maximum power point under partial shading and thus improve the efficiency of photovoltaic power generation is a technical problem that needs to be solved. Summary of the invention
[0005] The present invention provides a method for tracking the global maximum power point of a photovoltaic array under partial shading, which is used to solve the technical problem in the prior art that it is difficult to quickly and stably find the global MPP from multiple local MPPs under partial shading. The method comprises the following steps:
[0006] Step 1: Establish a photovoltaic array model according to the states of the bypass diode and the blocking diode in the photovoltaic array equivalent circuit under partial shading, wherein the bypass diode is connected in parallel with each photovoltaic module in the equivalent circuit, and the blocking diode is connected in series with the positive side of each group of photovoltaic modules connected in series, and the state is either a conducting state or a blocking state;
[0007] Determine the output voltage of the local maximum power point according to the power-voltage PU curve corresponding to the photovoltaic array model;
[0008] Step 2: construct a Lyapunov function, determine the stability function of the expected value of the photovoltaic system current according to the time derivative of the Lyapunov function, and use the parameters determined by the state equation as the input variables of the RBF neural network;
[0009] Step 3: Determine a duty cycle function corresponding to the output voltage based on a radial basis function (RBF) neural network optimized by leapfrog-particle swarm algorithm;
[0010] Step 4: comparing the local maximum power points determined based on the duty cycle function to determine the global maximum power point;
[0011] Step 5: driving the metal-oxide semiconductor field effect transistor MOSFET in the photovoltaic array according to the duty cycle value corresponding to the global maximum power point to track the global maximum power point.
[0012] Preferably, the output voltage of the local maximum power point is determined according to the power-voltage PU curve corresponding to the photovoltaic array model in step 1, specifically:
[0013] Divide the power-voltage PU curve into several sections evenly;
[0014] The power-voltage PU change rate is used to judge and merge several sections to obtain the interval where each local maximum point is located;
[0015] The output voltage is determined according to the PU curve interval where the local maximum point is located.
[0016] Preferably, in step 3, the RBF neural network optimized based on the leapfrog-particle swarm algorithm determines the duty cycle value corresponding to the output voltage, specifically:
[0017] Determining the input variables of the RBF neural network based on Lyapunov's second-class method;
[0018] Determining the topological structure of the RBF neural network according to the input variables;
[0019] Determine the optimal radial basis center and optimal width of the RBF neural network based on the leapfrog-particle swarm algorithm;
[0020] Training the RBF neural network according to the optimal radial basis center and the optimal width;
[0021] The duty cycle function is output according to the training result.
[0022] Preferably, the input variables of the RBF neural network are determined based on Lyapunov's second-class method, specifically:
[0023] An array equation of the photovoltaic array is established according to Kirchhoff's law and the output voltage, wherein the array equation includes the output voltage, the photovoltaic system current, the inductor current, the boost voltage of the photovoltaic array and the duty cycle;
[0024] Constructing a Lyapunov function according to a preset first tracking error and the array equation;
[0025] Determining a stabilization function of an expected value of the photovoltaic system current according to the time derivative of the Lyapunov function;
[0026] constructing a second tracking error based on the stabilization function and an actual value of the photovoltaic system current;
[0027] The output voltage, the photovoltaic system current, the first tracking error and the second tracking error are determined as the input variables.
[0028] Preferably, the optimal radial basis center and optimal width of the RBF neural network are determined based on the leapfrog-particle swarm algorithm, specifically:
[0029] Determine the frog individual in the frog leaping algorithm according to the initial radial basis center and initial width of the RBF neural network;
[0030] Randomly generate a preset number of frog individuals and determine the maximum number of iterations and dimensions;
[0031] Determining the fitness value of each frog individual according to the fitness function;
[0032] Grouping the frog individuals according to the fitness values;
[0033] Determine the particles of the particle swarm algorithm according to the best frog individuals in each group of frog individuals;
[0034] Updating optimal particles based on the particle swarm algorithm;
[0035] When the maximum number of iterations is reached, the optimal radial basis center and the optimal width are output.
[0036] Accordingly, the present application also proposes a global maximum power point tracking device for a photovoltaic array under partial shading, the device comprising:
[0037] An establishment module is used to establish a photovoltaic array model according to the states of a bypass diode and a blocking diode in an equivalent circuit of a photovoltaic array under partial shading, wherein the bypass diode is connected in parallel with each photovoltaic module in the equivalent circuit, and the blocking diode is connected in series with the positive side of each group of photovoltaic modules connected in series, and the state is a conducting state or a blocking state;
[0038] A first determination module is used to determine the output voltage of the local maximum power point according to the power-voltage PU curve corresponding to the photovoltaic array model;
[0039] A second determination module is used to determine a duty cycle function corresponding to the output voltage based on an RBF neural network optimized by a leapfrog-particle swarm algorithm;
[0040] The driving module is used to drive the metal-oxide semiconductor field effect transistor MOSFET in the photovoltaic array according to the duty cycle value to track the global maximum power point.
[0041] Preferably, the first determining module is specifically used to:
[0042] Divide the power-voltage PU curve into several sections evenly;
[0043] The power-voltage PU change rate is used to judge and merge several sections to obtain the interval where each local maximum point is located;
[0044] The output voltage is determined according to the PU curve interval where the local maximum point is located.
[0045] Preferably, the second determining module is specifically used to:
[0046] Determining the input variables of the RBF neural network based on Lyapunov's second-class method;
[0047] Determining the topological structure of the RBF neural network according to the input variables;
[0048] Determine the optimal radial basis center and optimal width of the RBF neural network based on the leapfrog-particle swarm algorithm;
[0049] Training the RBF neural network according to the optimal radial basis center and the optimal width;
[0050] The duty cycle function is output according to the training result.
[0051] Preferably, the second determining module is further specifically used for:
[0052] Establishing an array equation of the photovoltaic array according to Kirchhoff's law and the output voltage, wherein the array equation includes the output voltage, the photovoltaic system current, the boost voltage of the photovoltaic array and the duty cycle;
[0053] Constructing a Lyapunov function according to a preset first tracking error and the array equation;
[0054] Determining a stabilization function of an expected value of the photovoltaic system current according to the time derivative of the Lyapunov function;
[0055] constructing a second tracking error based on the stabilization function and an actual value of the photovoltaic system current;
[0056] The output voltage, the photovoltaic system current, the first tracking error and the second tracking error are determined as the input variables.
[0057] Preferably, the second determining module is further specifically used for:
[0058] Determine the frog individual in the frog leaping algorithm according to the initial radial basis center and initial width of the RBF neural network;
[0059] Randomly generate a preset number of frog individuals and determine the maximum number of iterations and dimensions;
[0060] Determining the fitness value of each frog individual according to the fitness function;
[0061] Grouping the frog individuals according to the fitness values;
[0062] Determine the particles of the particle swarm algorithm according to the best frog individuals in each group of frog individuals;
[0063] Updating optimal particles based on the particle swarm algorithm;
[0064] When the maximum number of iterations is reached, the optimal radial basis center and the optimal width are output.
[0065] Compared with the prior art, the present invention has the following beneficial effects:
[0066] The invention discloses a method for tracking the global maximum power point of a photovoltaic array under partial shading, the method comprising: establishing a photovoltaic array model according to the states of bypass diodes and blocking diodes in an equivalent circuit of a photovoltaic array under partial shading; determining the output voltage of the local maximum power point according to a power-voltage PU curve corresponding to the photovoltaic array model; constructing a Lyapunov function, determining a stable function of the expected value of the photovoltaic system current according to the time derivative of the Lyapunov function, and using the parameters determined by the state equation as input variables of an RBF neural network; determining a duty cycle function corresponding to the output voltage based on a radial basis function (RBF) neural network optimized by a frog leaping-particle swarm algorithm; comparing the local maximum power points determined by the duty cycle function to determine the global maximum power point; and driving a metal-oxide semiconductor field effect transistor MOSFET in the photovoltaic array according to the duty cycle value corresponding to the global maximum power point to track the global maximum power point. Thus, the global maximum power point can be tracked quickly and stably, the unstable state of the photovoltaic voltage and current near the maximum power point can be improved, and the photovoltaic power generation efficiency can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0068] Figure 1 A schematic diagram of a flow chart of a method for tracking the global maximum power point of a photovoltaic array under partial shading proposed in an embodiment of the present invention;
[0069] Figure 2 A schematic diagram of the principle of a method for tracking the global maximum power point of a photovoltaic array under partial shading in an embodiment of the present invention;
[0070] Figure 3 A schematic diagram of the photovoltaic array structure in an embodiment of the present invention;
[0071] Figure 4 This is a schematic diagram of the photovoltaic array principle in an embodiment of the present invention;
[0072] Figure 5 Schematic diagram of a photovoltaic array simulation model under partial shading in an embodiment of the present invention;
[0073] Figure 6 This is a schematic diagram of the PU curve segmentation in an embodiment of the present invention;
[0074] Figure 7 This is a schematic diagram of the principle of a photovoltaic power generation system in an embodiment of the present invention;
[0075] Figure 8 A schematic diagram of the hardware design structure of a photovoltaic power generation system in an embodiment of the present invention;
[0076] Fig. 9 Flowchart of RBF neural network optimized by leapfrog-particle swarm algorithm;
[0077] Fig.10 A schematic diagram of a photovoltaic array output voltage curve combining segmented search with a Lyapunov stabilization function in an embodiment of the present invention;
[0078] Fig.11 A schematic diagram of a photovoltaic array output voltage curve in which a segmented search is combined with a traditional disturbance observation method in an embodiment of the present invention;
[0079] Fig.12 A schematic diagram of a photovoltaic array output power curve combining segmented search with a Lyapunov stabilization function in an embodiment of the present invention;
[0080] Fig.13A schematic diagram of a photovoltaic array output power curve combining segmented search with a traditional disturbance observation method in an embodiment of the present invention;
[0081] Fig.14 A schematic diagram of the structure of a global maximum power point tracking device for a photovoltaic array under partial shading proposed in an embodiment of the present invention. DETAILED DESCRIPTION
[0082] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0083] As described in the background art, it is difficult to quickly and stably find a global MPP from multiple local MPPs under local occlusion in the prior art.
[0084] To solve the above problems, an embodiment of the present application proposes a method for tracking the global maximum power point of a photovoltaic array under partial shading. By combining interval segmented search with the Lyapunov stability function, the global maximum power point can be tracked quickly and stably, thereby improving the efficiency of photovoltaic power generation.
[0085] like Figure 1 The flowchart of the method for tracking the global maximum power point of a photovoltaic array under partial shading proposed by an embodiment of the present invention is shown, and the method comprises the following steps:
[0086] S101 establishes a photovoltaic array model according to the states of bypass diodes and blocking diodes in the photovoltaic array equivalent circuit under partial shading, and determines the output voltage of the local maximum power point according to the PU curve corresponding to the photovoltaic array model.
[0087] like Figure 3 As shown in the figure, photovoltaic modules are mostly connected in series and parallel to form a photovoltaic array (i.e., M photovoltaic modules are connected in series to form a column, and N photovoltaic modules are connected in parallel). On this basis, a bypass diode D is added. b And the blocking diode D p The bypass diode is mainly used to eliminate the "hot spot effect" that occurs in partial shadow conditions. pThe function is to prevent the reverse current from flowing through the photovoltaic module. Under partial shading conditions, the current-voltage (IU) and power-voltage (PU) curves of the photovoltaic array are affected by the bypass diode and the blocking diode, and multiple peaks will appear. According to the state of the bypass diode and the blocking diode in the photovoltaic array equivalent circuit under partial shading, a photovoltaic array model can be established. Specifically, the corresponding IU curve and PU curve can be drawn according to the photovoltaic array model, such as Figure 6 As shown, the output voltage of the global maximum power point can be determined according to the PU curve.
[0088] In order to accurately determine the output voltage of the global maximum power point, in a preferred embodiment of the present application, the output voltage of the local maximum power point is determined according to the power-voltage PU curve corresponding to the photovoltaic array model, specifically:
[0089] Divide the power-voltage PU curve into several sections evenly;
[0090] The power-voltage PU change rate is used to judge and merge several sections to obtain the interval where each local maximum point is located;
[0091] The output voltage is determined according to the PU curve interval where the local maximum point is located.
[0092] Specifically, the power-voltage PU curve is first divided into several sections on average; the sections are judged and merged by the power-voltage PU change rate to obtain the interval where each local maximum point is located; the output voltage is determined according to the PU curve interval where the local maximum point is located. In the specific application scenario of this application, if Figure 6 As shown in Figure 1, after merging several PU curve segments, three intervals ABC, CD, and DE are obtained. Each interval has a local peak value, which corresponds to the P m =I m *U m Therefore, there is a coordinate point (U m ,I m ) is the local maximum power point in the interval, and the output voltage is determined according to the PU curve interval where the local maximum power point is located. It should be noted that the scheme of the above preferred embodiment is only a specific implementation scheme proposed by this application, and other methods of determining the output voltage of the global maximum power point according to the power-voltage PU curve all belong to the protection scope of this application.
[0093] S102 constructs a Lyapunov function, determines a stable function of an expected value of the photovoltaic system current according to a time derivative of the Lyapunov function, and uses parameters determined by the Lyapunov function as input variables of the RBF neural network.
[0094] Specifically, when studying linear steady-state systems, there are many criteria such as algebraic stability criteria and Nyquist stability criteria that can be used to determine the stability of the system. Lyapunov stability theory can be applied to the analysis of the stability of linear and nonlinear systems, steady-state systems and time-varying systems at the same time, and is a more general stability analysis method. Lyapunov stability theory mainly refers to Lyapunov's second method, also known as Lyapunov direct method. Lyapunov's second method can be used for systems of any order. This method can be used to directly determine stability without solving the system state equation. For nonlinear systems and time-varying systems, it is often difficult to solve the state equation, so Lyapunov's second method shows great superiority. According to the time derivative of the Lyapunov function, the stability function of the expected value of the photovoltaic system current is determined, and the parameters determined by the state equation are used as the input variables of the RBF neural network.
[0095] S103 determines a duty cycle function corresponding to the output voltage in the interval based on a radial basis function (RBF) neural network optimized by a leapfrog-particle swarm algorithm.
[0096] Specifically, the frog leaping algorithm is a new heuristic population evolution algorithm with efficient computing performance and excellent global search capabilities. The particle swarm algorithm is a random search algorithm based on group collaboration developed by simulating the foraging behavior of bird flocks. The RBF neural network optimized by the frog leaping-particle swarm algorithm is used to establish a prediction model for the duty cycle D. In essence, the radial basis center and width of the RBF neural network are used as the frog in the frog leaping algorithm, and the particle swarm algorithm is used to optimize the frog in the frog leaping algorithm, and the parameters are updated through continuous optimization to achieve network learning and training.
[0097] In order to determine the accurate duty cycle value, in a preferred embodiment of the present application, the duty cycle function corresponding to the output voltage is determined based on the RBF neural network optimized by the leapfrog-particle swarm algorithm, specifically:
[0098] Determining the input variables of the RBF neural network based on Lyapunov's second-class method;
[0099] Determining the topological structure of the RBF neural network according to the input variables;
[0100] Determine the optimal radial basis center and optimal width of the RBF neural network based on the leapfrog-particle swarm algorithm;
[0101] Training the RBF neural network according to the optimal radial basis center and the optimal width;
[0102] The duty cycle function is output according to the training result.
[0103] Specifically, the input variables of the RBF neural network are first determined by Lyapunov's second-class method; then the topological structure of the RBF neural network is determined according to the input variables; then the optimal radial basis center and the optimal width of the RBF neural network are determined based on the leapfrog-particle swarm algorithm; finally, the duty cycle function is output after the RBF neural network is trained according to the optimal radial basis center and the optimal width.
[0104] It should be noted that the scheme of the above preferred embodiment is only a specific implementation scheme proposed in this application, and other methods of determining the duty cycle value corresponding to the output voltage based on the RBF neural network optimized by the leapfrog-particle swarm algorithm are all within the protection scope of this application.
[0105] S104 compares the local maximum power points determined by the duty cycle function to determine the global maximum power point.
[0106] As described above, the global maximum power point is determined by comparing the local maximum power points determined by the duty cycle function.
[0107] In order to accurately determine the input variables of the RBF neural network, in a preferred embodiment of the present application, the input variables of the RBF neural network are determined based on Lyapunov's second type method, specifically:
[0108] An array equation of the photovoltaic array is established according to Kirchhoff's law and the output voltage, wherein the array equation includes the output voltage, the photovoltaic system current, the inductor current, the boost voltage of the photovoltaic array and the duty cycle;
[0109] Constructing a Lyapunov function according to a preset first tracking error and the array equation;
[0110] Determine a stabilization function of an expected value of the photovoltaic system current according to the time derivative of the Lyapunov function;
[0111] constructing a second tracking error based on the stabilization function and an actual value of the photovoltaic system current;
[0112] The output voltage, the photovoltaic system current, the first tracking error and the second tracking error are determined as the input variables.
[0113] Specifically, Kirchhoff's law includes Kirchhoff's current law and Kirchhoff's voltage law. First, an array equation of the photovoltaic array is established according to Kirchhoff's law and the output voltage, wherein the array equation includes the output voltage, the photovoltaic system current, the boost voltage of the photovoltaic array and the duty cycle. Then, a Lyapunov function is constructed according to a preset first tracking error and the array equation. A stability function of the expected value of the photovoltaic system current can be determined according to the time derivative of the Lyapunov function. Then, a second tracking error is constructed based on the stability function and the actual value of the photovoltaic system current. Finally, the output voltage, the photovoltaic system current, the first tracking error and the second tracking error are determined as the input variables. The specific calculation formula of the above process is described in detail in the embodiment of the specific application scenario of the present application and will not be repeated here.
[0114] It should be noted that the solution of the above preferred embodiment is only a specific implementation solution proposed in this application, and other methods of determining the input variables of the RBF neural network based on Lyapunov's second method all fall within the protection scope of this application.
[0115] In order to accurately determine the optimal radial basis center and optimal width of the RBF neural network, in a preferred embodiment of the present application, the optimal radial basis center and optimal width of the RBF neural network are determined based on the leapfrog-particle swarm algorithm, specifically:
[0116] Determine the frog individual in the frog leaping algorithm according to the initial radial basis center and initial width of the RBF neural network;
[0117] Randomly generate a preset number of frog individuals and determine the maximum number of iterations and dimensions;
[0118] Determining the fitness value of each frog individual according to the fitness function;
[0119] Grouping the frog individuals according to the fitness values;
[0120] Determine the particles of the particle swarm algorithm according to the best frog individuals in each group of frog individuals;
[0121] Updating optimal particles based on the particle swarm algorithm;
[0122] When the maximum number of iterations is reached, the optimal radial basis center and the optimal width are output.
[0123] Specifically, the radial basis center and width are first initialized, and are input into the frog leaping algorithm as frog individuals, and then a preset number of frog individuals are randomly generated by initializing the frog population and the maximum number of iterations and dimensions are determined, and then the fitness value of each frog individual is calculated according to the fitness function, and then the frog individuals are grouped based on the fitness value, and then the particles of the particle swarm algorithm are determined according to the optimal frog individuals in each group of frog individuals, and then the optimal particles are updated based on the particle swarm algorithm, and finally when the maximum number of iterations is reached, the optimal radial basis center and the optimal width are output. The maximum number of iterations can be divided into the local maximum number of iterations corresponding to the group (the maximum number of iterations of the particle swarm algorithm) and the global maximum number of iterations corresponding to all groups (the maximum number of iterations of the frog leaping algorithm), and when the local maximum number of iterations and the global maximum number of iterations are reached at the same time, it is determined that the maximum number of iterations is reached.
[0124] It should be noted that the above preferred embodiment is only a specific implementation scheme proposed in this application, and other methods based on the leapfrog-particle swarm algorithm to determine the optimal radial basis center and optimal width of the RBF neural network all fall within the protection scope of this application.
[0125] S105 drives the metal-oxide semiconductor field effect transistor MOSFET in the photovoltaic array according to the duty cycle value corresponding to the global maximum power point to track the global maximum power point.
[0126] Specifically, a MOSFET switch in the circuit is driven according to a PWM (Pulse Width Modulation) signal corresponding to the duty cycle value, thereby tracking the global maximum power point.
[0127] By applying the above technical scheme, a photovoltaic array model is established according to the state of the bypass diode and the blocking diode in the photovoltaic array equivalent circuit under partial shading; the output voltage of the local maximum power point is determined according to the power-voltage PU curve corresponding to the photovoltaic array model; a Lyapunov function is constructed, and the stability function of the expected value of the photovoltaic system current is determined according to the time derivative of the Lyapunov function, and the parameters determined by the Lyapunov function are used as the input variables of the RBF neural network; the radial basis function (RBF) neural network optimized based on the frog leaping-particle swarm algorithm determines the duty cycle function corresponding to the output voltage; the local maximum power point determined by the duty cycle function is compared to determine the global maximum power point; the metal-oxide semiconductor field effect transistor MOSFET in the photovoltaic array is driven according to the duty cycle value corresponding to the global maximum power point to track the global maximum power point. Thus, the global maximum power point can be tracked quickly and stably, the unstable state of the photovoltaic voltage and current near the maximum power point is improved, and the photovoltaic power generation efficiency is improved.
[0128] In order to further explain the technical idea of the present invention, the technical solution of the present invention is now described in combination with specific application scenarios.
[0129] The embodiment of the present invention proposes a method for tracking the global maximum power point of a photovoltaic array under partial shading. Under partial shading conditions, the output characteristic curve of the photovoltaic array presents multiple local peaks, which affects the maximum power point tracking (MPPT) of the photovoltaic array. The traditional MPPT algorithm makes the photovoltaic system work at the local maximum power point and misses the true global maximum power point. Figure 2 As shown, the embodiment of the present invention adopts segmented search, and determines the interval where the local maximum power point is located and the voltage value corresponding to each interval by segmentally merging the PU output curve of the photovoltaic array, and uses it as the input of the Lyapunov stability control system. In the Lyapunov stability control, the tracking error of the photovoltaic power generation system is set, and the duty cycle function of the power switching device is determined according to the Lyapunov function and the RBF neural network optimized based on the frog leaping-particle swarm algorithm. Finally, a new DC-DC controller is constructed to obtain the global maximum power point of the photovoltaic power generation system. By introducing an integral link in the constructed Lyapunov function, the global asymptotic stability of the photovoltaic system during operation is guaranteed, and the robustness of the nonlinear control of the photovoltaic system is improved, so that the maximum power point can be tracked quickly and stably, the unstable state of the photovoltaic voltage and current near the maximum power point is improved, and the energy utilization efficiency of the photovoltaic cell is improved.
[0130] Photovoltaic modules are usually connected in series and parallel to form a photovoltaic array, that is, M photovoltaic modules are connected in series to form a column, and N series of photovoltaic modules are connected in parallel to form a photovoltaic array of G = M × N. Figure 3 As shown in the figure, the diodes connected in reverse parallel at both ends of the series photovoltaic module are bypass diodes D b Its main function is to eliminate the "hot spot effect" that occurs in partial shading. In addition, when one of the photovoltaic modules is blocked or fails and stops generating electricity, a forward bias is formed at both ends of the diode, so as not to affect the normal power generation of other photovoltaic modules. At the same time, it also protects the photovoltaic modules from being damaged by high forward bias or heating. The diodes connected in series on each string of photovoltaic modules in the figure are blocking diodes D p Its function is to prevent the PV modules from flowing through reverse current. Under partial shading conditions, the current-voltage (IU) and power-voltage (PU) curves of the PV array will be affected by the bypass diode and the blocking diode, and multiple peaks will appear.
[0131] like Figure 4The figure is a schematic diagram of the photovoltaic array principle in an embodiment of the present invention. When the photovoltaic modules are uniformly illuminated, the current flowing through the battery is the same, and the bypass diodes connected in parallel are in a blocking state due to reverse bias. When a photovoltaic module on the photovoltaic array is blocked, that is, when the light on the photovoltaic module is unevenly distributed, the bypass diodes are in a conducting state due to forward bias.
[0132] Figure 5 Schematic diagram of the simulation model of the photovoltaic array under partial shading in the embodiment of the present invention. In the simulation experiment, three photovoltaic modules were set to receive different light intensities, and the output curve of the photovoltaic array under partial shading was verified by simulation to be a multi-peak phenomenon.
[0133] The above-mentioned method for tracking the global maximum power point of a photovoltaic array under partial shading mainly includes the following steps:
[0134] Step 1: Establish a photovoltaic array model based on the states of the bypass diode and the blocking diode in the photovoltaic array equivalent circuit under partial shading, such as Figure 3 As shown, the bypass diode is connected in parallel with each photovoltaic module in the equivalent circuit, and the blocking diode is connected in series with the positive side of each group of photovoltaic modules connected in series. The state is a conducting state or a blocking state.
[0135] Step 2: Determine the interval where the local maximum power point is located according to the power-voltage PU curve of the photovoltaic array. Specifically, the following steps are included:
[0136] Step a: Segmentation
[0137] The PU curve is divided into 10G small intervals, where G is the number of photovoltaic cells.
[0138] Step b: Merge
[0139] Calculate the power-voltage PU change rate between each cell Determine the interval where the local maximum power point is located.
[0140] 1) If the power-voltage PU change rates in adjacent intervals have the same sign, that is, Combine this to form a new interval;
[0141] 2) If the signs of the power-voltage PU change rates in adjacent intervals are different, when the PU change rates in adjacent intervals are arrive If yes, then merge, otherwise do not merge.
[0142] like Figure 6 As shown in Figure 1, the PU curve is segmented and merged into three intervals ABC, CD, and DE. Each interval has a local peak corresponding to the P m =I m *Um Therefore, there is a coordinate point (U m ,I m ) is the local maximum power point of the segment. When there are interference factors such as temperature and light, it is difficult to determine the global maximum power point. The neural network can track the maximum power point in an interference environment and has the advantages of fast tracking speed and anti-interference. Therefore, it is necessary to use the neural network to conduct a deep search on the divided segments to determine the local maximum power point P m , the output voltage is determined according to the PU curve interval where the local maximum point is located.
[0143] Step 3: Determine the state equation of the photovoltaic power generation system.
[0144] like Figure 7 The figure shows the principle schematic diagram of the photovoltaic power generation system in the embodiment of the present invention. The photovoltaic power generation system equation is listed according to Kirchhoff's current law and Kirchhoff's voltage law:
[0145]
[0146] In the equation: x3=I pv , where x1 is the current piecewise function output voltage U at the global maximum power point pv , x2 is the inductor current I in the photovoltaic power generation system L , x3 is the photovoltaic power generation system current I pv , D is the duty cycle of the power switch device in the DC-DC boost circuit of the photovoltaic power generation system. Duty cycle D is related to x1, x2, x3, There are nonlinear relationships among 5 parameters in total.
[0147] Step 4: Lyapunov function determines system stability
[0148] The second method of Lyapunov to judge stability is to analyze and judge stability by defining the Lyapunov scalar function. Closed-loop automatic control technology is based on the concept of feedback to reduce uncertainty. The elements of feedback theory include three parts: measurement, comparison and execution. The key to measurement is the actual value of the controlled variable, which is compared with the expected value. This deviation is used to correct the response of the system and perform regulatory control. First, set the tracking error to e1 and define e1 = yy ref , where y ref is the expected output value of the PV array, then the time derivative of e1 is:
[0149]
[0150] In engineering practice, the most widely used regulator control law is proportional, integral, and differential control, referred to as PID control, also known as PID regulation. PID controller (proportional-integral-differential controller) is a common feedback loop component in industrial control applications, consisting of a proportional unit P, an integral unit I, and a differential unit D. The basis of PID control is proportional control; integral control can eliminate steady-state errors, but may increase overshoot; differential control can speed up the response speed of large inertia systems and reduce overshoot trends. Therefore, the Lyapunov function is constructed from the three parts of (proportional-integral-differential). The Lyapunov function is constructed as:
[0151]
[0152] The virtual control quantity is set through the system state equation, the appropriate Lyapunov function is constructed, the control rate is calculated, and the system stability is determined by the Lyapunov function.
[0153] Step 5: Determine the duty cycle function of the output voltage at the local maximum power point.
[0154] The RBF neural network based on leapfrog-particle swarm algorithm is used to establish a prediction model for duty cycle D. In essence, the radial basis center μ and width σ of the RBF neural network are used as the frog in the leapfrog-particle swarm algorithm, and the parameters are updated by continuous optimization to achieve network learning and training.
[0155] Use a photovoltaic cell model to make the model work in different environments and light intensities, and record the output voltage U at every moment. pv , inductor current I L , boost voltage U de , the output current y of the photovoltaic array and the corresponding duty cycle D at the maximum power point. This patent collects 200 sets of data, and then randomly selects 180 sets of data as training sample sets, and the remaining 20 sets as training sample sets. The measured variables are derived from the system equation to obtain the input quantities x1, x2, x3, The algorithm flow chart is as follows Fig. 9 As shown, the specific steps are as follows:
[0156] 1. Determine the RBF neural network topology
[0157] The radial basis function is Where x is the input of the network, μ k ,σ k are the center and width of the kth hidden layer neuron respectively.
[0158] (1) Determine the number of neural network layers to be 3: RBF neural network is a three-layer neural network, which includes an input layer, a hidden layer, and an output layer.
[0159] (2) Determine the number of neurons in the input layer; since the input variables are 5 The number of neurons in the input layer is 5.
[0160] (3) Determine the number of neurons in the output layer to be 1; the output variable is the duty cycle D, so the number of neurons in the output layer is 1.
[0161] (4) Determine the number of neurons in the hidden layer to be 20.
[0162] 2. Initialize the radial basis center μ and width σ.
[0163] 3. Input the radial basis center μ and width σ as frog individuals into the frog leaping algorithm.
[0164] 4. Initialize the frog population and related parameters. Randomly generate P frog individuals and determine the relevant parameters of the algorithm (total number of iterations and dimension D); the i-th frog can be encoded as X i =(X i1 ,X i2 X i3 …X iD ).
[0165] 5. Calculate fitness. Calculate the fitness value of each frog individual according to the fitness function.
[0166] The cost function of the neural network is mapped to the objective function (fitness function) that the hybrid frog leaping particle swarm algorithm needs to converge. The fitness function calculation formula is: Among them, E av is the fitness function, net(n) is the actual output of the neural network, d(n) is the corresponding ideal output, and N is the number of neural network training samples. Substitute the training sample values into the fitness function calculation formula to calculate the fitness value of each frog individual.
[0167] 6. Group the frogs. Sort all frogs by fitness value and group them. Divide them into m subgroups according to the fitness value. The first frog individual enters subgroup 1, the second frog individual enters subgroup 2, the third frog individual enters subgroup 3, ..., the mth frog individual enters subgroup m, the m+1th frog individual enters subgroup 1, and so on. This process continues until all frog individuals are divided into m subgroups.
[0168] 7. Calculate the best frog individual in each group. Carry out local search to calculate the best frog individual in each group. In each subgroup, record the best frog individual in the current subgroup as X. b .
[0169] 8. Substitute the best frog individuals in each group as particles in the particle swarm into the particle swarm algorithm.
[0170] 9. Update the optimal particle. The particle position and velocity update strategy in this algorithm is as follows:
[0171]
[0172] w is the inertia weight, c1, c2, c3 represent the weight factors of the corresponding parts, r1, r2, r3 are random numbers between [0, 1], μ1, μ2 are speed control factors, p id is the best position of the ith particle, p igd is the optimal solution in the subgroup, and p gd is the global optimal solution of the population. Take the speed control factors μ1=0.5 and μ2=0.25.
[0173] 10. Determine whether the particle swarm algorithm has reached the maximum number of iterations.
[0174] 11. If the maximum number of iterations of the particle swarm algorithm is reached, determine whether the frog leaping algorithm has reached the maximum number of iterations; if not, return to step 9;
[0175] 12. If the maximum number of iterations of the leapfrog algorithm is reached, the optimal radial basis center μ and width σ are output; if not, return to step 5;
[0176] 13. Substitute the output optimal radial basis center μ and width σ into the RBF neural network;
[0177] 14. Calculate the training error (error function) of the network; use the cross entropy loss function to represent the difference between the true value and the expected value, Where y represents the true value, that is, the output value of the RBF neural network, Indicates expected value.
[0178] 15. Adjust the network parameters again based on the calculated error value;
[0179] 16. Determine whether the maximum number of iterations of the RBF neural network has been reached;
[0180] 17. If yes, then output the duty cycle D; if no, then return to 14;
[0181] Step 6: Compare the local maximum power points determined by the duty cycle function to determine the global maximum power point.
[0182] Step 7: Drive the metal-oxide semiconductor field effect transistor MOSFET in the photovoltaic array according to the duty cycle value corresponding to the global maximum power point to achieve the tracking of the maximum power point of the photovoltaic power generation system.
[0183] like Figure 8 As shown in the figure, the entire photovoltaic system consists of three parts: photovoltaic modules, DC-DC Boost circuit, MPPT controller and battery. The hardware design mainly includes sampling circuit, control circuit, drive circuit and voltage stabilization circuit. The purpose of adding the drive circuit is to make the PWM (Pulse width modulation) signal output by the microcontroller drive the MOSFET switch tube in the circuit. The specific working plan is as follows: First, use the voltage and current sampling circuit to send the detected output voltage and output current of the photovoltaic module to the STM32 microcontroller. Then the microcontroller changes the duty cycle of the PWM wave output by the microcontroller according to the duty cycle function. The PWM wave is input to the drive circuit to drive the power switch tube in the BOOST circuit, thereby realizing the global maximum power point tracking under partial shading.
[0184] DSP samples the voltage and current output by the photovoltaic cell through its sampling circuit, and then the internal A / D conversion module processes the sampled voltage and current, converts the analog quantity into a 0 / 1 digital quantity, generates a PWM control signal through the MPPT control program, and then the drive circuit amplifies and strengthens the PWM signal to realize the conduction and shutdown of the switch tube Q, change the duty cycle of the Boost circuit, realize the matching of the internal impedance of the photovoltaic module with the external equivalent impedance, and complete the MPPT control of the photovoltaic array.
[0185] like Figure 8 As shown, when the photovoltaic cell is in working state, the output of the photovoltaic cell is firstly sampled continuously through the sampling circuit, and the signal is sent to the IO port of the processor after being processed by the conditioning circuit. The processor receives the signal and analyzes and calculates it, and uses the formula P=UI to calculate the current output power value of the photovoltaic cell, and saves it in the memory of the processor, compares and calculates it, and then calls the maximum power point tracking algorithm in the main program to modify the duty cycle of the switch tube in the Boost circuit in real time, so that the output voltage changes continuously to meet the requirements of the maximum output power value, so as to achieve the purpose of maximum power point tracking control. After the voltage output by the photovoltaic cell is boosted by the Boost circuit, the voltage is converted into DC / DC and DC / AC by the voltage conversion circuit to meet the needs of AC and DC loads.
[0186] The perturbation observation method is a maximum power point tracking method that was earlier used in photovoltaic power generation systems and is known as the traditional maximum power point tracking method. The perturbation observation method has a simple control concept and is relatively easy to implement. It can track the maximum power point and improve the utilization efficiency of the system. However, since the perturbation observation method only studies the output power of the photovoltaic component twice before and after, and does not consider the impact of changes in external environmental conditions on the output power of the photovoltaic array twice before and after, the method is prone to "misjudgment" during use. "Misjudgment" increases the tracking time and reduces the output efficiency of the photovoltaic array. In severe cases, it leads to tracking failure, making the method unable to accurately track the maximum output power. In order to verify the superiority of the photovoltaic array MPPT method under partial shading in the embodiment of the present invention, it is simulated and compared with the MPPT algorithm that combines segmented search with the traditional perturbation observation method, so that the two MPPT algorithms are set to be consistent in the trend of changes in light intensity. The output voltage curve of the photovoltaic array is shown in the figure. Fig.10 and Fig.11 As shown, the photovoltaic array output power curve is as follows Fig.12 and Fig.13 As shown in the figure, it can be seen from the comparison of the two MPPT simulation results that the MPPT algorithm based on the combination of segmented search and Lyapunov stability function can stably find the maximum power point of the photovoltaic array under partial shading. The output curve of the optimization process has few harmonics, a smooth waveform, and low oscillation near the maximum power point.
[0187] In order to achieve the above technical objectives, the implementation example of this application also proposes a global maximum power point tracking device for a photovoltaic array under partial shading, such as Fig.14 As shown, the device includes:
[0188] Establishing module 401, used to establish a photovoltaic array model according to the states of bypass diodes and blocking diodes in the photovoltaic array equivalent circuit under partial shading, wherein the bypass diodes are connected in parallel with each photovoltaic module in the equivalent circuit, and the blocking diodes are connected in series with the positive side of each group of photovoltaic modules connected in series, and the states are either on or off;
[0189] A first determination module 402 is used to determine the output voltage of the global maximum power point according to the power-voltage PU curve corresponding to the photovoltaic array model;
[0190] A second determination module 403 is used to determine a duty cycle function corresponding to the output voltage based on an RBF neural network optimized by a leapfrog-particle swarm algorithm;
[0191] The driving module 404 is used to drive the metal-oxide semiconductor field effect transistor MOSFET in the photovoltaic array according to the duty cycle value corresponding to the global maximum power point, so as to track the global maximum power point.
[0192] In a specific application scenario, the first determining module 402 is specifically used to:
[0193] Divide the power-voltage PU curve into several sections evenly;
[0194] The power-voltage PU change rate is used to judge and merge several sections to obtain the interval where each local maximum point is located;
[0195] The output voltage is determined according to the PU curve interval where the local maximum point is located.
[0196] In a specific application scenario, the second determining module 403 is specifically used to:
[0197] Determining the input variables of the RBF neural network based on Lyapunov's second-class method;
[0198] Determining the topological structure of the RBF neural network according to the input variables;
[0199] Determine the optimal radial basis center and optimal width of the RBF neural network based on the leapfrog-particle swarm algorithm;
[0200] Training the RBF neural network according to the optimal radial basis center and the optimal width;
[0201] The duty cycle function is output according to the training result.
[0202] In a specific application scenario, the second determining module 403 is further specifically used to:
[0203] An array equation of the photovoltaic array is established according to Kirchhoff's law and the output voltage, wherein the array equation includes the output voltage, the photovoltaic system current, the inductor current, the boost voltage of the photovoltaic array and the duty cycle;
[0204] Constructing a Lyapunov function according to a preset first tracking error and the array equation;
[0205] Determining a stabilization function of an expected value of the photovoltaic system current according to the time derivative of the Lyapunov function;
[0206] constructing a second tracking error based on the stabilization function and an actual value of the photovoltaic system current;
[0207] The output voltage, the photovoltaic system current, the first tracking error and the second tracking error are determined as the input variables.
[0208] In a specific application scenario, the second determining module 403 is further specifically used to:
[0209] Determine the frog individual in the frog leaping algorithm according to the initial radial basis center and initial width of the RBF neural network;
[0210] Randomly generate a preset number of frog individuals and determine the maximum number of iterations and dimensions;
[0211] Determining the fitness value of each frog individual according to the fitness function;
[0212] Grouping the frog individuals according to the fitness values;
[0213] Determine the particles of the particle swarm algorithm according to the best frog individuals in each group of frog individuals;
[0214] Updating optimal particles based on the particle swarm algorithm;
[0215] When the maximum number of iterations is reached, the optimal radial basis center and the optimal width are output.
[0216] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for tracking the global maximum power point of a photovoltaic array under partial shading, characterized in that: The method comprises the following steps: Step 1: Establish a photovoltaic array model according to the states of the bypass diode and the blocking diode in the photovoltaic array equivalent circuit under partial shading, wherein the bypass diode is connected in parallel with each photovoltaic module in the equivalent circuit, and the blocking diode is connected in series with the positive side of each group of photovoltaic modules connected in series, and the state is either a conducting state or a blocking state; Determine the output voltage of the local maximum power point according to the power-voltage PU curve corresponding to the photovoltaic array model; Step 2: construct a Lyapunov function, determine the stability function of the expected value of the photovoltaic system current according to the time derivative of the Lyapunov function, and use the parameters determined by the state equation as the input variables of the RBF neural network; Step 3: Determine a duty cycle function corresponding to the output voltage based on a radial basis function (RBF) neural network optimized by leapfrog-particle swarm algorithm; Step 4: comparing the local maximum power points determined based on the duty cycle function to determine the global maximum power point; Step 5: driving the metal-oxide semiconductor field effect transistor MOSFET in the photovoltaic array according to the duty cycle value corresponding to the global maximum power point to track the global maximum power point; According to the RBF neural network optimized based on the leapfrog-particle swarm algorithm described in step 3, the duty cycle function corresponding to the output voltage is determined, specifically: Determine the input variables of the RBF neural network based on Lyapunov's second-class method as a judgment condition; Determining the topological structure of the RBF neural network according to the input variables; Determine the optimal radial basis center and optimal width of the RBF neural network based on the leapfrog-particle swarm algorithm; Training the RBF neural network according to the optimal radial basis center and the optimal width; The input variables of the RBF neural network are determined based on Lyapunov's second-class method, specifically: Establishing an array equation of the photovoltaic array according to Kirchhoff's law and the output voltage, wherein the array equation includes the output voltage, the photovoltaic system current, the inductor current, the boost voltage of the photovoltaic array and the duty cycle; Constructing a Lyapunov function according to a preset first tracking error and the array equation; Determining a stabilization function of an expected value of the photovoltaic system current according to the time derivative of the Lyapunov function; constructing a second tracking error based on the stabilization function and an actual value of the photovoltaic system current; Determine the output voltage, the photovoltaic system current, the first tracking error and the second tracking error as the input variables; The optimal radial basis center and optimal width of the RBF neural network are determined based on the leapfrog-particle swarm algorithm, specifically: Determine the frog individual in the frog leaping algorithm according to the initial radial basis center and initial width of the RBF neural network; Randomly generate a preset number of frog individuals and determine the maximum number of iterations and dimensions; Determining the fitness value of each frog individual according to the fitness function; Grouping the frog individuals according to the fitness values; Determine the particles of the particle swarm algorithm according to the best frog individuals in each group of frog individuals; Updating optimal particles based on the particle swarm algorithm; When the maximum number of iterations is reached, the optimal radial basis center and the optimal width are output.
2. The method according to claim 1, characterized in that According to the power-voltage PU curve corresponding to the photovoltaic array model in step 1, the output voltage at the local maximum power point is determined as follows: Divide the power-voltage PU curve into several sections evenly; The power-voltage PU change rate is used to judge and merge several sections to obtain the interval where each local maximum point is located; The output voltage is determined according to the PU curve interval where the local maximum point is located.
Citation Information
Patent Citations
Global maximum power point tracking method of photovoltaic generating system and system device
CN101783621A
Tracking method and device of maximum power point of photovoltaic power generation system
CN107678485A
Local shadow photovoltaic array MPPT control based on random leapfrog global search algorithm
CN108594927A
Maximum power tracking control device and maximum power tracking control method
JP2015102876A
Device and Method for Global Maximum Power Point Tracking
US20130016536A1
