MPPT control method based on Buck / Boost circuit duty ratio control
By calculating the change in PV output power and voltage, adjusting the duty cycle command of the Buck/Boost circuit, the misjudgment of MPPT technology and poor dynamic performance under local shading are solved, and the power generation efficiency and stability of the photovoltaic system are improved.
Patent Information
- Application Number
- CN202411405567.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-10
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2044-10-10
AI Technical Summary
The existing maximum power point tracking (MPPT) technology based on duty cycle control of Buck/Boost circuit has problems such as misjudgment and poor dynamic performance under local shading, which affects the power generation efficiency and stability of photovoltaic power generation systems. .
By calculating the change in PV output power and voltage, we will judge the step size and direction of duty cycle disturbance, decide whether to restart the MPPT algorithm, and adjust the duty cycle instructions of the Buck/Boost circuit to avoid local optimal points and power fluctuations, and improve dynamics Responsiveness.
It significantly improves the accuracy and stability of MPPT, avoids local optimality and power fluctuations, improves the power generation efficiency and dynamic tracking performance of photovoltaic systems, and ensures efficient and stable operation under complex lighting conditions.
Smart Images

Figure CN118920871A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power supply, and in particular to an MPPT control method based on Buck / Boost circuit duty cycle control. Background Art
[0002] The existing maximum power point tracking (MPPT) technology based on Buck / Boost circuit duty cycle control has some significant problems in partial shading conditions, which affects the overall efficiency and dynamic performance of the photovoltaic power generation system: When the photovoltaic system is working normally, the MPPT algorithm helps the system to continuously track the maximum power point (MPP) of the photovoltaic module under different lighting conditions by adjusting the duty cycle of the circuit to obtain the optimal power generation efficiency. However, when the photovoltaic module is partially shaded, multiple local maximum power points will appear in the current-voltage (IV) and power-voltage (PV) curves of the photovoltaic array. In this case, the traditional MPPT algorithm may misjudge and identify the local optimal point as the global optimal point, causing the system to be unable to find the true global maximum power point. This local optimal problem causes the system to operate in a suboptimal state, failing to fully utilize photovoltaic energy, which in turn affects power generation efficiency.
[0003] At the same time, under shading conditions, the output power of photovoltaic modules will fluctuate with the dynamic changes of shading area and light intensity. Traditional MPPT algorithms usually use perturbation observation method or incremental conductance method, which adjust the duty cycle according to the changes in voltage and power. However, these algorithms show large power fluctuations when dealing with shading, especially in the scenario of rapid shading changes, the system may experience large instantaneous power fluctuations. Such fluctuations will not only lead to reduced power generation efficiency, but may also affect the stable operation of subsequent power electronic equipment.
[0004] In addition, due to the existence of local optimum and power fluctuation problems, the existing MPPT algorithm fails to provide a fast enough dynamic response when the photovoltaic modules are shaded, and the system cannot adjust to the optimal working point in time. This poor dynamic performance makes the system's power tracking speed slow when shaded, further affecting the overall operating efficiency of the photovoltaic power generation system.
[0005] To address these issues, optimizing the MPPT algorithm based on Buck / Boost circuit duty cycle control to improve performance under partial shading conditions has become a key requirement. Summary of the invention
[0006] The present invention provides an MPPT control method based on Buck / Boost circuit duty cycle control, which can improve dynamic performance and optimize the operation effect of a photovoltaic system under partial shading conditions.
[0007] In order to solve the above technical problems, this application provides the following technical solutions: An MPPT control method based on Buck / Boost circuit duty cycle control, comprising: Initialize MPPT; Call the following steps according to the preset cycle: S1, calculate the difference DeltaP between the PV output power at the current moment and the PV output power at the previous moment, and the difference DeltaV between the PV voltage at the current moment and the PV voltage at the previous moment; S2. Determine the step size of the duty cycle disturbance according to the absolute value of DeltaP; S3, determine the disturbance direction according to the changes in DeltaP and DeltaV, and decide whether to restart the MPPT; S4. Determine whether the duty cycle instruction of the Buck / Boost circuit output exceeds the limit and assign a value to the duty cycle instruction.
[0008] Further, in step S1, DeltaP=Pnow-Pprev, DeltaV=Vnow-Vprev; Among them, Pnow is the PV output power at the current moment, Pprev is the PV output power at the previous moment; Vnow is the PV voltage at the current moment, and Vprev is the PV voltage at the previous moment.
[0009] Further, in step S2, if abs(DeltaP)>PowerStep1, DutyStep takes DutyStep1; If abs(DeltaP)≤PowerStep1, and abs(DeltaP)>PowerStep2, then DutyStep is DutyStep2; If abs(DeltaP)≤PowerStep1, and abs(DeltaP)≤PowerStep2, DutyStep is DutyStep0; Where abs(DeltaP) is the absolute value of the difference between the PV output power at the current moment and the PV output power at the previous moment; PowerStep1 is the first power threshold, PowerStep2 is the second power threshold, PowerStep1 is greater than or equal to PowerStep2; DutyStep is the duty cycle disturbance step at the current moment, DutyStep1 is the first duty cycle disturbance step, DutyStep2 is the second duty cycle disturbance step, DutyStep0 is the default duty cycle disturbance step, DutyStep1 is greater than or equal to DutyStep2, and DutyStep1 is greater than or equal to DutyStep0.
[0010] Further, in the initialization MPPT, Boost circuit: Set Pprev to 0, Vprev to 0, BoostDuty to Dmin, and BoostDutyprev to BoostDuty; Among them, BoostDuty is the current Boost circuit duty cycle instruction; BoostDutyprev is the duty cycle instruction of the Boost circuit at the previous moment; Dmin is the lower limit of the duty cycle of the controlled Buck circuit and Boost circuit.
[0011] Further, in step S3, in the Boost circuit: If DeltaP<-DropPower, then BoostDuty=BoostDutyprev×DropFactor; clear local variables Pprev and Vprev, BoostDutyprev = BoostDuty; If DeltaP>-DropPower, and (DeltaP×DeltaV)>0, BoostDuty = BoostDutyprev-DutyStep; if DeltaP>-DropPower, and (DeltaP×DeltaV)≤0, BoostDuty =BoostDutyprev +DutyStep; update local variables: Pprev = Pnow, Vprev = Vnow,BoostDutyprev=BoostDuty; Among them, DropPower is the abnormal power drop; DropFactor is the drop factor, the value range is 0 <DropFactor<1。
[0012] Further, in step S4, in the Boost circuit: If BoostDuty>Dmax, then BoostDuty=Dmax; If BoostDuty ≤ Dmax and BoostDuty < Dmin, then BoostDuty = Dmin; otherwise, directly output BoostDuty. Among them, Dmax is the upper limit of the duty cycle of the controlled Buck circuit and Boost circuit.
[0013] Furthermore, for the initialization of MPPT in the Buck circuit: Let Pprev be assigned the value 0, Vprev be assigned the value 0, BoostDuty be assigned the value Dmax, and BuckDutyprev be assigned the value of BuckDuty. Among them, BuckDuty is the duty cycle command of the Buck circuit at the current moment. BuckDutyprev is the duty cycle command of the Buck circuit at the previous moment.
[0014] Furthermore, in step S3, in the Buck circuit: If DeltaP < -DropPower, then BuckDuty = BuckDutyprev × RaiseFactor, clear the local variables Pprev and Vprev, and BuckDutyprev = BuckDuty. If DeltaP > -DropPower and (DeltaP × DeltaV) > 0, then BuckDuty = BuckDutyprev + DutyStep; if DeltaP > -DropPower and (DeltaP × DeltaV) ≤ 0, then BuckDuty = BuckDutyprev - DutyStep; update the local variables: Pprev = Pnow, Vprev = Vnow, and BuckDutyprev = BuckDuty. Among them, RaiseFactor is the rising coefficient, and its value range is RaiseFactor > 1.
[0015] Furthermore, in step S4, in the Buck circuit: If BuckDuty > Dmax, then BuckDuty = Dmax. If BuckDuty ≤ Dmax and BuckDuty < Dmin, then BuckDuty = Dmin; otherwise, directly output BuckDuty.
[0016] This scheme uses photovoltaic voltage (PV voltage) and photovoltaic output power as input quantities, avoiding current sampling errors and misjudgment of disturbances that may be caused by sudden changes in light or drastic changes in current under partial shading conditions, and significantly improving the accuracy and stability of MPPT disturbances.
[0017] In the Boost circuit control, this solution compares the change in photovoltaic output power with the preset abnormal power drop. When the change in output power is less than the negative abnormal power drop, the system will automatically reduce the duty cycle instruction of the Boost circuit, determine whether to restart the MPPT algorithm, and clear the relevant local variables. This mechanism effectively prevents the MPPT algorithm from falling into the local optimal point under local shading conditions, thereby ensuring that the system can quickly jump out of the suboptimal state and continue to track the global maximum power point. In addition, this operation can also avoid large power fluctuations caused by local shading, thereby improving the power generation efficiency and stability of the photovoltaic system.
[0018] Similarly, the control based on the Buck circuit uses the same logic. When the change in PV output power is lower than the set abnormal power drop, the system automatically increases the duty cycle instruction of the Buck circuit and determines whether to restart the MPPT with a duty cycle instruction higher than the previous moment. This not only prevents the MPPT from falling into the local optimum after shading, but also reduces dynamic performance problems caused by power fluctuations, allowing the system to respond to power changes faster and improve overall dynamic tracking performance.
[0019] Through these adjustments, this solution effectively solves the problem of traditional algorithm failure caused by partial shading by controlling the Boost circuit or Buck circuit, ensuring that high power generation efficiency and system stability can be maintained under complex lighting conditions. Especially under partial shading conditions, the dynamic performance is significantly improved, large power fluctuations and suboptimal tracking states are avoided, and the operation effect of the photovoltaic system is effectively optimized. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 It is a flowchart of a Boost circuit in Embodiment 1 of an MPPT control method based on Buck / Boost circuit duty cycle control; Figure 2 The present invention is a flow chart of a Buck circuit in Embodiment 2 of an MPPT control method based on Buck / Boost circuit duty cycle control. DETAILED DESCRIPTION
[0021] The following is further described in detail through specific implementation methods: Example
[0022] An MPPT control method based on Buck / Boost circuit duty cycle control in this embodiment includes: Initialize MPPT; Call the following steps according to the preset cycle: S1. Calculate DeltaP and DeltaV; S2. Determine the step size of the duty cycle disturbance according to the absolute value of DeltaP; S3, determine the disturbance direction according to the changes in DeltaP and DeltaV, and decide whether to restart the MPPT; S4. Determine whether the duty cycle instruction of the Buck / Boost circuit output exceeds the limit and assign a value to the duty cycle instruction.
[0023] In this embodiment, the control method is described based on the Boost circuit: Initialize MPPT so that Pprev is 0, Vprev is 0, BoostDuty is Dmin, and BoostDutyprev is BoostDuty; like Figure 1 As shown, the following steps are called according to the preset cycle: S1, calculate the difference DeltaP between the PV output power at the current moment and the PV output power at the previous moment, and the difference DeltaV between the PV voltage at the current moment and the PV voltage at the previous moment; Specifically, DeltaP=Pnow-Pprev, DeltaV=Vnow-Vprev; Wherein, Pnow is the PV output power at the current moment, and Pprev is the PV output power at the previous moment; the PV output power can be the power on the input side of the power electronic converter, or the power on the output side; Vnow is the PV voltage at the current moment, and Vprev is the PV voltage at the previous moment; S2. Determine the step size of the duty cycle disturbance based on the absolute value of DeltaP: If abs(DeltaP)>PowerStep1, DutyStep takes DutyStep1; If abs(DeltaP)≤PowerStep1, and abs(DeltaP)>PowerStep2, then DutyStep is DutyStep2; If abs(DeltaP)≤PowerStep1, and abs(DeltaP)≤PowerStep2, DutyStep is DutyStep0; Where abs(DeltaP) is the absolute value of the difference between the PV output power at the current moment and the PV output power at the previous moment; PowerStep1 is the first - stage power threshold, PowerStep2 is the second - stage power threshold, and PowerStep1 is greater than or equal to PowerStep2; DutyStep is the duty - cycle perturbation step at the current moment, DutyStep1 is the first - stage duty - cycle perturbation step, DutyStep2 is the second - stage duty - cycle perturbation step, DutyStep0 is the default duty - cycle perturbation step, DutyStep1 is greater than or equal to DutyStep2, and DutyStep1 is greater than or equal to DutyStep0; S3. Determine the perturbation direction and the MPPT restart judgment according to the change amounts of DeltaP and DeltaV.
[0024] If DeltaP < - DropPower, then BoostDuty = BoostDutyprev×DropFactor, that is, the Boost - circuit duty - cycle command decreases. The way of decreasing the duty - cycle command here is relatively flexible. It can subtract a quantity or directly take a smaller value. At the same time, clear the local variables Pprev and Vprev, and BoostDutyprev = BoostDuty.
[0025] If DeltaP > - DropPower and (DeltaP×DeltaV)>0, BoostDuty = BoostDutyprev - DutyStep; if DeltaP > - DropPower and (DeltaP×DeltaV)≤0, BoostDuty = BoostDutyprev + DutyStep. Finally, update the local variables, Pprev = Pnow, Vprev = Vnow, and BoostDutyprev = BoostDuty.
[0026] Among them, DropPower is the abnormal power - decrease amount, which can be obtained through calibration or comprehensively judged from sampling data such as voltage and power; DropFactor is the decrease coefficient, and its value range is (0 < DropFactor < 1), which can be obtained through calibration or comprehensively judged from sampling data such as voltage and power; BoostDuty is the Boost - circuit duty - cycle command at the current moment; BoostDutyprev is the Boost - circuit duty - cycle command at the previous moment; S4. Determine whether it is out - of - limit according to the output Boost - circuit duty - cycle command BoostDuty.
[0027] If BoostDuty > Dmax, then BoostDuty = Dmax; If BoostDuty ≤ Dmax and BoostDuty < Dmin, then BoostDuty = Dmin; otherwise, directly output BoostDuty.
[0028] Among them, Dmax is the upper limit of the duty cycle of the controlled Buck circuit and Boost circuit; Dmin is the lower limit of the duty cycle of the controlled Buck circuit and Boost circuit.
[0029] This embodiment is based on the duty cycle control of the Boost circuit. It uses the relatively stable PV voltage and PV output power as the input quantities of the algorithm, avoiding the inaccuracy of current sampling and the disturbance misjudgment caused by the current mutation under sudden light changes or partial shading, and improving the accuracy of MPPT perturbation. By comparing the change amount of PV output power with the abnormal power decrease amount, when the change amount of PV output power is less than the negative abnormal power decrease amount, the Boost circuit duty cycle command is reduced, and the local variables of the algorithm are cleared. Then, it is judged whether to restart MPPT with a duty cycle command lower than the previous moment, avoiding the local optimum after shading and the large power fluctuations caused by it. Embodiment
[0030] The difference between this embodiment and Embodiment 1 is that this embodiment illustrates the control method based on the Buck circuit: Initialize MPPT, make Pprev take the value of 0, Vprev take the value of 0, BoostDuty take the value of Dmax, and BuckDutyprev take the value of BuckDuty; As Figure 2 shown, call the following steps at a preset period: S1. Calculate DeltaP and DeltaV S2. Judge the step size of duty cycle perturbation according to the absolute value of DeltaP: If abs(DeltaP) > PowerStep1, then DutyStep takes DutyStep1; If abs(DeltaP) ≤ PowerStep1 and abs(DeltaP) > PowerStep2, then DutyStep takes DutyStep2; If abs(DeltaP) ≤ PowerStep1 and abs(DeltaP) ≤ PowerStep2, then DutyStep takes DutyStep0; S3. Determine the disturbance direction and the MPPT restart judgment based on the change amounts of DeltaP and DeltaV.
[0031] If DeltaP < -DropPower, then BuckDuty = BuckDutyprev × RaiseFactor, that is, the Buck circuit duty cycle command is increased. The way to increase the duty cycle command here is relatively flexible. It can add a quantity or directly take a larger value. At the same time, clear the local variables Pprev and Vprev, and BuckDutyprev = BuckDuty.
[0032] If DeltaP > -DropPower and (DeltaP × DeltaV) > 0, BuckDuty = BuckDutyprev + DutyStep; if DeltaP > -DropPower and (DeltaP × DeltaV) ≤ 0, BuckDuty = BuckDutyprev - DutyStep; finally update the local variables, Pprev = Pnow, Vprev = Vnow, BuckDutyprev = BuckDuty.
[0033] Among them, RaiseFactor is the rising coefficient, and its value range is (RaiseFactor > 1). This value can be obtained through calibration or comprehensively judged from sampling data such as voltage and power. BuckDuty is the Buck circuit duty cycle command at the current moment. BuckDutyprev is the Buck circuit duty cycle command at the previous moment. S4. Determine whether it exceeds the limit according to the output Buck circuit duty cycle command BuckDuty. If BuckDuty > Dmax, then BuckDuty = Dmax; If BuckDuty ≤ Dmax and BuckDuty < Dmin, BuckDuty = Dmin, otherwise directly output BuckDuty.
[0034] This embodiment, based on Buck circuit duty cycle control, uses relatively stable PV voltage and PV output power as the input of the algorithm, avoiding the inaccuracy of current sampling and the misjudgment of disturbance caused by sudden changes in light or current under partial shading, and improving the accuracy of MPPT disturbance. The change in PV output power is compared with the abnormal power drop. When the change in PV output power is less than the negative abnormal power drop, the Buck circuit duty cycle instruction is increased, and the algorithm local variables are cleared to determine whether to restart the MPPT with a duty cycle instruction higher than the previous moment, so as to avoid the MPPT falling into the local optimum after shading and the large power fluctuations caused.
[0035] The above are only embodiments of the present invention. The invention is not limited to the fields involved in this implementation case. The common sense such as the known specific structures and characteristics in the scheme is not described in detail here. The ordinary technicians in the relevant field know all the common technical knowledge in the technical field to which the invention belongs before the application date or the priority date, can obtain all the existing technologies in the field, and have the ability to apply the conventional experimental means before that date. The ordinary technicians in the relevant field can improve and implement this scheme in combination with their own abilities under the enlightenment given by this application. Some typical known structures or known methods should not become obstacles for ordinary technicians in the relevant field to implement this application. It should be pointed out that for those skilled in the art, without departing from the structure of the present invention, several deformations and improvements can be made, which should also be regarded as the protection scope of the present invention, which will not affect the effect of the implementation of the present invention and the practicality of the patent. The protection scope required by this application shall be based on the content of its claims, and the specific implementation methods and other records in the specification can be used to explain the content of the claims.
Claims
1. An MPPT control method based on Buck / Boost circuit duty cycle control, characterized in that: include: Initialize MPPT; Call the following steps according to the preset cycle: S1, calculate the difference DeltaP between the PV output power at the current moment and the PV output power at the previous moment, and the difference DeltaV between the PV voltage at the current moment and the PV voltage at the previous moment; S2. Determine the step size of the duty cycle disturbance according to the absolute value of DeltaP; S3, determine the disturbance direction according to the changes in DeltaP and DeltaV, and decide whether to restart the MPPT; S4. Determine whether the duty cycle instruction of the Buck / Boost circuit output exceeds the limit and assign a value to the duty cycle instruction.
2. The MPPT control method based on Buck / Boost circuit duty cycle control according to claim 1, characterized in that: In the step S1, DeltaP=Pnow-Pprev, DeltaV=Vnow-Vprev; Among them, Pnow is the PV output power at the current moment, Pprev is the PV output power at the previous moment; Vnow is the PV voltage at the current moment, and Vprev is the PV voltage at the previous moment.
3. The MPPT control method based on Buck / Boost circuit duty cycle control according to claim 2, characterized in that: In step S2, if abs(DeltaP)>PowerStep1, DutyStep takes DutyStep1; If abs(DeltaP)≤PowerStep1, and abs(DeltaP)>PowerStep2, then DutyStep is DutyStep2; If abs(DeltaP)≤PowerStep1, and abs(DeltaP)≤PowerStep2, DutyStep is DutyStep0; Where abs(DeltaP) is the absolute value of the difference between the PV output power at the current moment and the PV output power at the previous moment; PowerStep1 is the first power threshold, PowerStep2 is the second power threshold, PowerStep1 is greater than or equal to PowerStep2; DutyStep is the duty cycle disturbance step at the current moment, DutyStep1 is the first duty cycle disturbance step, DutyStep2 is the second duty cycle disturbance step, DutyStep0 is the default duty cycle disturbance step, DutyStep1 is greater than or equal to DutyStep2, and DutyStep1 is greater than or equal to DutyStep0.
4. The MPPT control method based on Buck / Boost circuit duty cycle control according to claim 3 is characterized in that: Initializing the MPPT, Boost circuit: Set Pprev to 0, Vprev to 0, BoostDuty to Dmin, and BoostDutyprev to BoostDuty; Among them, BoostDuty is the current Boost circuit duty cycle instruction; BoostDutyprev is the duty cycle instruction of the Boost circuit at the previous moment; Dmin is the lower limit of the duty cycle of the controlled Buck circuit and Boost circuit.
5. The MPPT control method based on Buck / Boost circuit duty cycle control according to claim 4 is characterized in that: In the step S3, in the Boost circuit: If DeltaP < -DropPower, then BoostDuty = BoostDutyprev × DropFactor; clear the local variables Pprev and Vprev, and BoostDutyprev = BoostDuty; If DeltaP > -DropPower and (DeltaP × DeltaV) > 0, BoostDuty = BoostDutyprev - DutyStep; if DeltaP > -DropPower and (DeltaP × DeltaV) ≤ 0, BoostDuty = BoostDutyprev + DutyStep; Update the local variables: Pprev = Pnow, Vprev = Vnow, BoostDutyprev = BoostDuty; Where DropPower is the abnormal power drop; DropFactor is the drop coefficient, and the value range is 0 < DropFactor < 1.
6. The MPPT control method based on Buck / Boost circuit duty cycle control according to claim 5, characterized in that: In the Boost circuit of step S4: If BoostDuty > Dmax, then BoostDuty = Dmax; If BoostDuty ≤ Dmax and BoostDuty < Dmin, BoostDuty = Dmin, otherwise directly output BoostDuty; Where Dmax is the upper limit of the duty cycle of the controlled Buck circuit and Boost circuit.
7. The MPPT control method based on Buck / Boost circuit duty cycle control according to claim 3, characterized in that: In the initialization of MPPT, in the Buck circuit: Let Pprev take the value of 0, Vprev take the value of 0, BoostDuty take the value of Dmax, and BuckDutyprev take the value of BuckDuty; Where BuckDuty is the duty cycle command of the Buck circuit at the current moment; BuckDutyprev is the duty cycle command of the Buck circuit at the previous moment.
8. The MPPT control method based on Buck / Boost circuit duty cycle control according to claim 7, characterized in that: In the Buck circuit of step S3: If DeltaP < -DropPower, then BuckDuty = BuckDutyprev × RaiseFactor, clear the local variables Pprev and Vprev, and BuckDutyprev = BuckDuty; If DeltaP > -DropPower and (DeltaP × DeltaV) > 0, BuckDuty = BuckDutyprev + DutyStep; if DeltaP > -DropPower and (DeltaP × DeltaV) ≤ 0, BuckDuty = BuckDutyprev - DutyStep; update the local variables: Pprev = Pnow, Vprev = Vnow, BuckDutyprev = BuckDuty; Where RaiseFactor is the rise coefficient, and the value range is RaiseFactor > 1.
9. The MPPT control method based on Buck / Boost circuit duty cycle control according to claim 8, characterized in that: In the step S4, in the Buck circuit: If BuckDuty > Dmax, then BuckDuty = Dmax; If BuckDuty ≤ Dmax and BuckDuty < Dmin, then BuckDuty = Dmin, otherwise directly output BuckDuty.
Citation Information
Patent Citations
Multi-step size based photovoltaic power generation system maximum power tracking control method
CN104298295A
Photovoltaic array maximum power point tracking algorithm based on parameter optimization
CN108958350A
Photovoltaic maximum power tracking control method based on rolling small window
CN111367350A
Maximum power point tracking method, photovoltaic controller and photovoltaic system
CN114779871A
Photo-voltaic maximum power point trackers
US9154032B1
