A fast MPPT tracking method, system and device based on unipolar inverter circuit
By initializing and adjusting the MPPT control parameters in a single pole inverter circuit, the maximum power point of the photovoltaic cell is quickly tracked, and the problems of slow tracking speed and calculation error in the prior art are solved, and fast response and efficient maximum power point tracking are achieved. .
Patent Information
- Application Number
- CN202410220212.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-28
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-02-28
AI Technical Summary
The existing MPPT control method cannot track the maximum power point in real time when the light changes quickly, resulting in energy loss. The traditional method tracks slowly and the calculation results do not match the actual results, so it is impossible to achieve perfect tracking.
Using a fast MPPT tracking method based on a single pole inverter circuit, the MPPT control parameters are initialized, the photovoltaic side data is sampled, the power compensation factor is calculated, the output power and reference voltage are adjusted, and the output power is determined using the power compensation factor and strategy to achieve rapid response and Low computing power.
The MPPT tracking speed is improved, and the maximum power point is usually reached within 10 grid cycles, simplifying the algorithm and sampling frequency, reducing calculations, and the power compensation factor perturbation finally converges to the optimal solution.
Smart Images

Figure CN118040774B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of battery capacity division, and in particular to a fast MPPT tracking method, system and device based on a unipolar inverter circuit. Background Art
[0002] With the advancement of science and technology, the existing MPPT (maximum power point tracking) control methods include constant voltage method, perturbation observation method, conductivity increment method and fuzzy control method. The advantages of these traditional methods are easy to implement, moderate display accuracy, and the working point oscillates around the maximum power point (MPPT). However, this method is slow and not suitable for rapidly changing conditions. When the light changes rapidly, it is impossible to track the maximum power point in real time, resulting in energy loss.
[0003] In the photovoltaic inverter circuit, the MPPT tracking algorithm provides a reference voltage. The usual practice is to adjust the photovoltaic side voltage through the voltage outer loop, and the tracking speed often requires multiple cycles to complete the adjustment. If open-loop calculation adjustment is used, the calculation result will not match the actual result due to circuit errors, and perfect tracking cannot be achieved. Summary of the invention
[0004] The purpose of the present invention is to provide a fast MPPT tracking method, system and device based on a unipolar inverter circuit, which achieves the goals of low computing power and high response speed based on the characteristics of the unipolar inverter circuit.
[0005] To achieve the above object, the present invention provides the following technical solutions:
[0006] A fast MPPT tracking method based on a unipolar inverter circuit, the method comprising the following steps: initializing MPPT control parameters;
[0007] When the sampling conditions are met in each calculation cycle, the sampling operation is triggered to record the photovoltaic side data in the current calculation cycle;
[0008] When the grid phase meets the calculation conditions, the magnitude relationship between the voltage in the current calculation cycle and the voltage in the previous calculation cycle is calculated, and the power compensation factor is determined according to the magnitude relationship;
[0009] The output power and / or reference voltage are determined according to the power compensation factor and the power calculation strategy; and the inverter power within the calculation cycle is controlled according to the output power.
[0010] In the above technical solution, the output power is determined according to the power compensation factor and the power calculation strategy, including:
[0011] Let the reference voltage be the maximum power point voltage among every 4 sampling points, and calculate the first output power according to the output power calculation formula;
[0012] Determine whether the first output power meets the power output requirement. If so, directly output the first output power. If not, determine the second output power and / or reference voltage according to the power adjustment strategy.
[0013] In the above technical solution, the output power calculation formula is:
[0014]
[0015] Among them, P out is the first output power, V now 2 is the voltage in the current calculation cycle, C is the photovoltaic input capacitance, T is the calculation cycle, k is the power compensation factor, P now is the power value in the current calculation cycle, (V ref is the reference voltage.
[0016] In the above technical solution, the power output requirement is that the first output power is greater than the maximum output power or less than 0;
[0017] Determining the second output power and / or the reference voltage according to the power adjustment strategy includes:
[0018] When the first output power is greater than the maximum output power, the reference voltage is determined by a first reference voltage calculation formula, and the second output power is the maximum output power;
[0019] When the first output power is less than 0, the reference voltage is determined by a second reference voltage calculation formula, and the second output power is 0.
[0020] In the above technical solution, the first reference voltage calculation formula is:
[0021]
[0022] Among them, V now 2 is the voltage in the current calculation cycle, C is the photovoltaic input capacitance, T is the calculation cycle, k is the power compensation factor, P now is the power value in the current calculation cycle, P max is the maximum output power, (V ref is the reference voltage;
[0023] The second reference voltage calculation formula is:
[0024]
[0025] Among them, V now 2is the voltage in the current calculation cycle, C is the photovoltaic input capacitance, T is the calculation cycle, P now is the power value in the current calculation cycle, (V ref is the reference voltage.
[0026] In the above technical solution, the magnitude relationship between the voltage in the current calculation cycle and the reference voltage in the previous calculation cycle is calculated, and the power compensation factor is determined according to the magnitude relationship, including:
[0027] When the voltage in the current calculation cycle is less than the reference voltage in the previous calculation cycle, the power compensation factor is set to be the first power compensation factor;
[0028] When the voltage in the current calculation cycle is greater than the reference voltage in the previous calculation cycle, the power compensation factor is set to be the second power compensation factor; and the first power compensation factor is less than the second compensation power factor.
[0029] In the above technical solution, the MPPT control parameters include a photovoltaic side reference voltage and a power factor, and the photovoltaic side data include a voltage value and / or a power value.
[0030] In the above technical solution, the sampling condition includes that the grid phase is an integer multiple of 45°;
[0031] Alternatively, the calculation condition is that the grid phase is 0° and / or 180°.
[0032] In a second aspect, a fast MPPT tracking system based on a unipolar inverter circuit is also provided, comprising: a unipolar inverter circuit and a controller; the controller executes any of the above-described fast MPPT tracking methods based on a unipolar inverter circuit.
[0033] In a third aspect, a fast MPPT tracking device based on a unipolar inverter circuit is also provided, comprising:
[0034] A memory storing executable program code;
[0035] a processor coupled to the memory;
[0036] The processor calls the executable program code stored in the memory, and the processor executes the fast MPPT tracking method based on a unipolar inverter circuit as described above.
[0037] Compared with the prior art, the present invention has the following beneficial effects:
[0038] 1. The present application provides a fast MPPT tracking method, system, and device based on a unipolar inverter circuit, which has a fast MPPT tracking speed and updates parameters once every 10 grid cycles. Usually, the maximum power point can be reached within 10 grid cycles, greatly improving the tracking speed.
[0039] 2. The algorithm is simple and the sampling frequency is low. Each calculation cycle only needs to sample and calculate data 4 times, which saves memory and reduces a lot of calculations for digital power supply.
[0040] 3. Due to the disturbance of power compensation factors, after quickly approaching the maximum power point voltage, it will fluctuate up and down at the reference voltage and finally converge to the optimal solution. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 A schematic diagram of a unipolar inverter circuit used in an embodiment of the present invention;
[0042] Figure 2 A schematic diagram of photovoltaic side voltage and grid side voltage provided in an embodiment of the present invention;
[0043] Figure 3 A schematic diagram of a flow chart provided by an embodiment of the present invention; DETAILED DESCRIPTION
[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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 are within the scope of protection of the present invention.
[0045] The terms "including" and "having" and any variations thereof in the embodiments of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or modules is not necessarily limited to those steps or modules explicitly listed, but may include other steps or modules not explicitly listed or inherent to these processes, methods, products or apparatus.
[0046] This application provides a fast MPPT tracking method based on a unipolar inverter circuit. A single-stage inverter circuit means that the photovoltaic power is directly connected to the grid. Since there is no intermediate decoupling capacitor, the ripple of the output power will be directly reflected on the capacitor on the photovoltaic side. Figure 1 Taking the flyback inverter circuit as an example, there are actually many circuit implementation methods, including flyback inverter circuit, high-voltage full-bridge inverter circuit, T-type three-level circuit and other circuits without substantial high-voltage busbar in the photovoltaic front stage. The relationship between the photovoltaic side voltage and the grid voltage is as follows: Figure 2By detecting the disturbance of capacitor voltage, MPPT tracking can be achieved within half a grid cycle.
[0047] like Figure 3 As shown, the method comprises the following steps:
[0048] Step S1, initialize MPPT control parameters.
[0049] The MPPT control parameters include setting a reasonable photovoltaic side reference voltage (V ref , power factor = k, × reference voltage (V ref Set to 0.85 times the photovoltaic open circuit voltage. Usually the MPPT voltage of a photovoltaic panel is between 0.7 and 0.85 times the open circuit voltage. In this application, a minimum value is taken for initialization.
[0050] Step S2: triggering a sampling operation when a sampling condition is met in each calculation cycle, and recording photovoltaic side data in the current calculation cycle; the photovoltaic side data includes a voltage value and / or a power value.
[0051] The sampling condition includes that the grid phase is an integer multiple of 45°. When the grid phase is an integer multiple of 45°, sampling is triggered and the corresponding voltage and power values of the photovoltaic side are recorded. By simplifying the sampling and calculation process, only the voltage and power of the voltage phase that is an integer multiple of 45° need to be sampled. Figure 2 As shown in the figure, the red dotted part is the sampling point. Taking half a grid cycle as an example, according to the characteristics of the unipolar circuit, the points with phases of 45° and 135° are the highest and lowest points of the PV side voltage. At this time, the PV side reference voltage is determined according to the PV characteristics of the PV panel.
[0052] The sampling operation first obtains the grid phase through a phase-locked loop. When the grid phase reaches an integer multiple of 45°, the microcontroller is used to sample the photovoltaic side voltage and current at the current moment to calculate the power value.
[0053] Step S3: When the grid phase meets the calculation conditions, the magnitude relationship between the voltage in the current calculation cycle and the voltage in the previous calculation cycle is calculated, and the power compensation factor is determined according to the magnitude relationship.
[0054] The calculation condition is that the grid phase is 0° and / or 180°. In the present application, a calculation is performed once when the grid phase is 0° and 180° to obtain the relationship between the voltage value of the current calculation cycle and the reference voltage value.
[0055] The larger the value of the power compensation factor, the faster the convergence and the larger the oscillation value in steady state. The smaller the value of the power compensation factor, the slower the convergence and the smaller the oscillation in steady state. The range of the power compensation factor is related to the PV curve of the photovoltaic panel, the input capacitor C, the power update period T and the inverter power P.
[0056] In the PV curve, there is a maximum power point P of the photovoltaic panel. mppt Voltage V mppt , so that V mppt ±ΔV power P>99.5%*P mppt , the maximum value of the oscillation voltage ΔV at the maximum power point is limited by the above conditions. And the oscillation voltage By modifying the value of the power compensation factor = k×, a faster convergence speed or a smaller oscillation voltage can be obtained.
[0057] Therefore, the magnitude relationship between the voltage in the current calculation cycle and the reference voltage in the previous calculation cycle is calculated, and the power compensation factor is determined according to the magnitude relationship, including:
[0058] When the voltage V now 2 Less than the reference voltage V in the previous calculation cycle ref When , let the power compensation factor be the first power compensation factor;
[0059] When the voltage V now 2 Greater than the reference voltage V in the previous calculation cycle ref When the power compensation factor is set to the second power compensation factor; the first power compensation factor is less than the second compensation power factor.
[0060] Schematically, in the present application, when the voltage V now 2 Less than the reference voltage V in the previous calculation cycle ref When , let the power compensation factor k be the first power compensation factor, k = k*0.99;
[0061] When the voltage V now 2 Greater than the reference voltage V in the previous calculation cycle ref , let k be the second power compensation factor, k=k*1.01.
[0062] The power compensation factor k is adjusted through the feedback of the output voltage to achieve compensation for the output power and disturbance of the photovoltaic side voltage. The oscillation amplitude and convergence speed of the algorithm are adjusted by adjusting the power compensation factor.
[0063] Step S4: determining the output power and / or reference voltage according to the power compensation factor and the power calculation strategy; and controlling the inverter power within the calculation period according to the output power.
[0064] The output power is determined based on the power compensation factor and power calculation strategy, including:
[0065] Step S41, setting the reference voltage to the maximum power point voltage among every four sampling points, and calculating the first output power according to the output power calculation formula;
[0066] The output power calculation formula is:
[0067]
[0068] Among them, P out is the first output power, V now 2 is the voltage in the current calculation cycle, C is the photovoltaic input capacitance, T is the calculation cycle, k is the power compensation factor, P now is the power value in the current calculation cycle, V ref is the reference voltage.
[0069] Step S42: determine whether the first output power meets the power output requirement. If so, directly output the first output power. If not, determine the second output power and / or reference voltage according to the power adjustment strategy.
[0070] Furthermore, the power output requirement is that the first output power is greater than the maximum output power or less than 0. If the first output power calculated by MPPT is greater than the maximum output power, the calculated output result will not match the actual result, resulting in a deviation in the power compensation factor. Therefore, the current output power of the inverter is calculated in an open loop, and the maximum power of the inverter is calculated according to C*U now_pv 2 =C*U old_pv 2 -P out *T+P pv *T is used to infer the current reference voltage.
[0071] Therefore, in step S42, determining the second output power and / or reference voltage according to the power adjustment strategy includes:
[0072] Step S421: when the first output power is greater than the maximum output power, determining a reference voltage by a first reference voltage calculation formula, and the second output power is the maximum output power;
[0073] The first reference voltage calculation formula is:
[0074]
[0075] Among them, V now 2is the voltage in the current calculation cycle, C is the photovoltaic input capacitance, T is the calculation cycle, k is the power compensation factor, P now is the power value in the current calculation cycle, P max is the maximum output power, V ref is the reference voltage.
[0076] Step S422: when the first output power is less than 0, determining a reference voltage by a second reference voltage calculation formula, and the second output power is 0.
[0077] The second reference voltage calculation formula is:
[0078]
[0079] Among them, V now 2 is the voltage in the current calculation cycle, C is the photovoltaic input capacitance, T is the calculation cycle, P now is the power value in the current calculation cycle, V ref is the reference voltage.
[0080] The current output power of the inverter is calculated by open loop. now_pv 2 =C*U old_pv 2 -P out *T+P pv *T is derived. If the power calculated by MPPT is greater than the maximum power, the maximum power of the inverter should be used to reverse the current reference voltage, otherwise the calculated result will not match the actual result, resulting in a deviation in the k value.
[0081] The inverter power in the calculation cycle is calculated according to the output power control, that is, the output power P out Generate the current reference value of the power grid and use the current loop to complete the power control of the inverter. Compared with the traditional algorithm, the MPPT side no longer directly outputs the reference voltage, but directly outputs the output power after power factor compensation. In a single-stage circuit, the voltage closed-loop control can only be adjusted at the power frequency, and it takes multiple cycles to reach the specified power. By calculating in the output power mode, this calculation time can be avoided, and the deviation between the calculation error and the actual circuit value can be compensated in the MPPT.
[0082] Based on the same inventive concept, the present application provides a fast MPPT tracking system based on a unipolar inverter circuit, including a unipolar inverter circuit and a controller; the controller executes any of the above-described fast MPPT tracking methods based on a unipolar inverter circuit.
[0083] The processing method of the system can refer to the description of the above method and will not be repeated here.
[0084] The present application also provides a fast MPPT tracking device based on a unipolar inverter circuit, which may include: a memory storing executable program code;
[0085] A memory storing executable program code;
[0086] a processor coupled to the memory;
[0087] The processor calls the executable program code stored in the memory, and the processor executes the fast MPPT tracking method based on a unipolar inverter circuit as described above.
[0088] An embodiment of the present application also provides a non-transitory machine-readable storage medium, on which an executable program is stored. When the executable program is executed by a processor, the processor executes the processing method provided in the above embodiment.
[0089] An embodiment of the present invention discloses a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program enables a computer to execute the described fast MPPT tracking method based on a unipolar inverter circuit.
[0090] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the described fast MPPT tracking method based on a unipolar inverter circuit.
[0091] The embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without paying creative labor.
[0092] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or partly contributed to the prior art in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0093] Finally, it should be noted that the contents disclosed in the embodiments of the present invention are only preferred embodiments of the present invention and are only used to illustrate the technical solutions of the present invention rather than to limit them. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A fast MPPT tracking method based on a unipolar inverter circuit, characterized in that: This method comprises the following steps: Initialize MPPT control parameters; When the sampling conditions are met in each calculation cycle, the sampling operation is triggered to record the photovoltaic side data in the current calculation cycle; When the grid phase meets the calculation conditions, the magnitude relationship between the voltage in the current calculation cycle and the voltage in the previous calculation cycle is calculated, and the power compensation factor is determined according to the magnitude relationship; Determine output power and / or reference voltage according to power compensation factor and power calculation strategy; controlling the inverter power within a calculation period according to the output power; The output power is determined based on the power compensation factor and power calculation strategy, including: Let the reference voltage be the maximum power point voltage among every 4 sampling points, and calculate the first output power according to the output power calculation formula; Determine whether the first output power meets the power output requirement, and if so, directly output the first output power; if not, determine the second output power and / or reference voltage according to the power adjustment strategy; The output power calculation formula is: Among them, P out is the first output power, V now 2 is the voltage in the current calculation cycle, C is the photovoltaic input capacitance, T is the calculation cycle, k is the power compensation factor, P now is the power value in the current calculation cycle, V ref is the reference voltage.
2. A fast MPPT tracking method based on a unipolar inverter circuit according to claim 1, characterized in that: The power output requirement is that the first output power is greater than the maximum output power or less than 0; Determining the second output power and / or the reference voltage according to the power adjustment strategy includes: When the first output power is greater than the maximum output power, the reference voltage is determined by a first reference voltage calculation formula, and the second output power is the maximum output power; When the first output power is less than 0, the reference voltage is determined by a second reference voltage calculation formula, and the second output power is 0.
3. A fast MPPT tracking method based on a unipolar inverter circuit according to claim 2, characterized in that: The first reference voltage calculation formula is: Among them, V now 2 is the voltage in the current calculation cycle, C is the photovoltaic input capacitance, T is the calculation cycle, k is the power compensation factor, P now is the power value in the current calculation cycle, P max is the maximum output power, V ref is the reference voltage; The second reference voltage calculation formula is: Among them, V now 2 is the voltage in the current calculation cycle, C is the photovoltaic input capacitance, T is the calculation cycle, P now is the power value in the current calculation cycle, V ref is the reference voltage.
4. A fast MPPT tracking method based on a unipolar inverter circuit according to claim 1, characterized in that: Calculate the magnitude relationship between the voltage in the current calculation cycle and the reference voltage in the previous calculation cycle, and determine the power compensation factor according to the magnitude relationship, including: When the voltage in the current calculation cycle is less than the reference voltage in the previous calculation cycle, the power compensation factor is set to be the first power compensation factor; When the voltage in the current calculation cycle is greater than the reference voltage in the previous calculation cycle, the power compensation factor is set to be the second power compensation factor; and the first power compensation factor is less than the second compensation power factor.
5. The fast MPPT tracking method based on a unipolar inverter circuit according to claim 1, characterized in that: The MPPT control parameters include a photovoltaic side reference voltage and a power factor, and the photovoltaic side data include a voltage value and / or a power value.
6. A fast MPPT tracking method based on a unipolar inverter circuit according to claim 3, characterized in that: The sampling condition includes that the grid phase is an integer multiple of 45°; Alternatively, the calculation condition is that the grid phase is 0° and / or 180°.
7. A fast MPPT tracking system based on a unipolar inverter circuit, characterized in that: include: Unipolar inverter circuit and controller; The controller executes a fast MPPT tracking method based on a unipolar inverter circuit as described in any one of claims 1-6.
8. A fast MPPT tracking device based on a unipolar inverter circuit, characterized in that: include: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory, and the processor executes a fast MPPT tracking method based on a unipolar inverter circuit as described in any one of claims 1-6.
