MPPT
MPPT
MPPT
Application Note
Implementing a Simple Maximum Power Point Tracking
(MPPT) Algorithm
Table of Contents
1 Introduction.............................................................................................................................................................................2
2 Solar Battery Charging with the BQ25798............................................................................................................................3
2.1 Making Use of FOCV......................................................................................................................................................... 3
2.2 BQ25798 Key Features for MPPT..................................................................................................................................... 3
2.3 BQ25798 Key Registers.....................................................................................................................................................4
2.4 BQ25798 MPPT Algorithm.................................................................................................................................................4
2.5 Using Charge Current for Algorithm Improvement.............................................................................................................5
2.6 Second Algorithm in Action................................................................................................................................................ 6
3 Summary................................................................................................................................................................................. 7
4 References.............................................................................................................................................................................. 7
List of Figures
Figure 1-1. Example of a Solar Panel’s Open Circuit Voltage and Maximum Power Point Voltage vs. Temperature..................2
Figure 1-2. P-V Curve of Solar Panel Under Increasing Irradiances........................................................................................... 2
Figure 2-1. BQ25798 Integration and Features........................................................................................................................... 3
Figure 2-2. Open Circuit Voltage Measurement.......................................................................................................................... 4
Figure 2-3. Sample BQ25798 MPPT Algorithm with ADC...........................................................................................................5
Figure 2-4. MPPT Second Approach Algorithm Example............................................................................................................6
List of Tables
Table 2-1. REG15 Key Bits for MPPT Control............................................................................................................................. 4
Trademarks
All trademarks are the property of their respective owners.
SLUAAI1 – DECEMBER 2021 Implementing a Simple Maximum Power Point Tracking (MPPT) Algorithm 1
Submit Document Feedback
Copyright © 2021 Texas Instruments Incorporated
Introduction www.ti.com
1 Introduction
One defining parameter of a solar panel is its open circuit voltage (OCV). A solar panel’s OCV has a strong
negative correlation with the temperature of the solar cells [1] - [3]. Figure 1-1 demonstrates the relationship
between the temperature of a solar panel, its MPP voltage (Vmp), and OCV (Voc). As shown, the MPP voltage
and OCV change by the same percentage with temperature. As the temperature changes, whether by season or
climate, the OCV will also change. Having a solar charger that considers these temperature variations makes a
balanced and flexible solar charger. This means that using a MPPT method that combines the real-time OCV of
the panel with a fixed percentage is a great approach because the MPP will track the changes of the OCV as
shown by Figure 1-1.
130
Voltage Percentage Relative to Room Temperature Value (%)
Voc
Vmp
120
110
100
90
80
70
-50 -25 0 25 50 75 100
Temperature (°C)
Figure 1-1. Example of a Solar Panel’s Open Circuit Voltage and Maximum Power Point Voltage vs.
Temperature
The actual voltage a solar panel experiences is also heavily related to the load on the solar panel. For example,
a weakly irradiated solar panel will maintain its OCV based upon temperature, but the output voltage can lower
significantly when a load is applied to the panel. Figure 1-2 demonstrates the power-voltage characteristic under
different irradiance conditions. The peak in the P-V curves is known as the MPP.
To maximize the power given to the battery, a MPPT algorithm is needed. The first and simplest method is
FOCV. In this method, the OCV of the panel is measured and the input is regulated at a certain percentage of
the OCV. The second method is Perturb & Observe (P&O). In this method, you systematically perturb the input
voltage operating point until the maximum power is found. The third method is called Incremental Conductance
and collects panel voltage and current information until the derivative of the panel power with respect to voltage
is zero [4]. This would indicate the MPP has been found.
2 Implementing a Simple Maximum Power Point Tracking (MPPT) Algorithm SLUAAI1 – DECEMBER 2021
Submit Document Feedback
Copyright © 2021 Texas Instruments Incorporated
www.ti.com Solar Battery Charging with the BQ25798
VBUS
VSYS
+
±
IBUS
QBAT
Q2 Q3
Integrated
half bridge
for 4-switch BQ25798
buck-boost
converter
SLUAAI1 – DECEMBER 2021 Implementing a Simple Maximum Power Point Tracking (MPPT) Algorithm 3
Submit Document Feedback
Copyright © 2021 Texas Instruments Incorporated
Solar Battery Charging with the BQ25798 www.ti.com
Based upon the tested solar panel's measurement results, a VOC_PCT of 81.25% optimized the input power for
a specific day. Assuming no significant change in sunlight conditions, the tested solar panel could remain at this
setting all day across different seasons in order to maximize the use of the tested solar panel.
This algorithm helps the BQ25798 to perform in different temperature and sunlight environments. As the
temperature gets colder the OCV of the panel will rise. However, the VINPDM setting will also rise because
the VOC_PCT register value remains the same. This makes the BQ25798 an ideal candidate for a solar charger
because it can handle the variations of the seasons and can be used in different climates around the world.
4 Implementing a Simple Maximum Power Point Tracking (MPPT) Algorithm SLUAAI1 – DECEMBER 2021
Submit Document Feedback
Copyright © 2021 Texas Instruments Incorporated
www.ti.com Solar Battery Charging with the BQ25798
POR
Log IBAT_Original
and
IBAT_Lower< Yes
VOC_PCT_Original
IBAT_Original
<IBAT_Higher
Raise VOC_PCT and
wait for measurement
No Raise VOC_PCT
from original setting
IBAT_Higher<
Measure IBAT and
IBAT_Original
log as IBAT_Higher
<IBAT_Lower Yes
SLUAAI1 – DECEMBER 2021 Implementing a Simple Maximum Power Point Tracking (MPPT) Algorithm 5
Submit Document Feedback
Copyright © 2021 Texas Instruments Incorporated
Solar Battery Charging with the BQ25798 www.ti.com
6 Implementing a Simple Maximum Power Point Tracking (MPPT) Algorithm SLUAAI1 – DECEMBER 2021
Submit Document Feedback
Copyright © 2021 Texas Instruments Incorporated
www.ti.com Summary
3 Summary
Two different algorithms to implement solar MPPT with the BQ25798 were discussed. They both make use of
the key VINDPM feature that allows the input voltage to be maintained at the MPP. The first method requires just
setting the VOC_PCT and keeps the VINDPM at the value of the multiplication of the OCV and the VOC_PCT.
Adding in the tracking of the charge current allows greater flexibility to find the MPP.
4 References
1. N. H. Zaini, M. Z. Ab Kadir, M. Izadi, N. I. Ahmad, M. A. M. Radzi and N. Azis, The effect of temperature
on a mono-crystalline solar PV panel, 2015 IEEE Conference on Energy Conversion (CENCON), 2015, pp.
249-253.
2. Texas Instruments, Maximum Power Point Tracking With the bq24650 Charger (pp 3-4) application report.
3. N. I. Ahmad, M. Z. Ab Kadir, M. Izadi, N. H. Zaini, M. A. M. Radzi and N. Azis, Effect of temperature on
a poly-crystalline solar panel in large scale solar plants in Malaysia, 2015 IEEE Conference on Energy
Conversion (CENCON), 2015, pp. 244-248.
4. T. Esram and P. L. Chapman, Comparison of Photovoltaic Array Maximum Power Point Tracking
Techniques, in IEEE Transactions on Energy Conversion, vol. 22, no. 2, pp. 439-449, June 2007.
SLUAAI1 – DECEMBER 2021 Implementing a Simple Maximum Power Point Tracking (MPPT) Algorithm 7
Submit Document Feedback
Copyright © 2021 Texas Instruments Incorporated
IMPORTANT NOTICE AND DISCLAIMER
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATA SHEETS), DESIGN RESOURCES (INCLUDING REFERENCE
DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS”
AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD
PARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate
TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable
standards, and any other safety, security, regulatory or other requirements.
These resources are subject to change without notice. TI grants you permission to use these resources only for development of an
application that uses the TI products described in the resource. Other reproduction and display of these resources is prohibited. No license
is granted to any other TI intellectual property right or to any third party intellectual property right. TI disclaims responsibility for, and you
will fully indemnify TI and its representatives against, any claims, damages, costs, losses, and liabilities arising out of your use of these
resources.
TI’s products are provided subject to TI’s Terms of Sale or other applicable terms available either on ti.com or provided in conjunction with
such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable warranties or warranty disclaimers for
TI products.
TI objects to and rejects any additional or different terms you may have proposed. IMPORTANT NOTICE
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2022, Texas Instruments Incorporated