Open access peer-reviewed chapter

Improved Performance of a Photovoltaic Panel by MPPT Algorithms

By Djamel Eddine Tourqui, Achour Betka, Atallah Smaili and Tayeb Allaoui

Submitted: November 19th 2017Reviewed: June 21st 2018Published: February 13th 2019

DOI: 10.5772/intechopen.79709

Downloaded: 829


This work is devoted to the presentation and realization of a digital control card (maximum power point tracking) which serves to improve the performance of a photovoltaic generator (GPV). This makes it possible to increase the profitability of the latter, on the one hand, and the stability of electrical networks, on the other hand. The command card has been developed using simple circuits, and tested on a system that includes a photovoltaic panel powering a resistive load under changing weather conditions. The aim of this paper is to implement three well-known MPPT algorithms (Hill-Climbing, Pertube & Observe and Incremental Conductance), using a PIC microcontroller type 16F877A.


  • photovoltaic panel
  • MPPT
  • PIC 16F877A
  • P&O
  • Hill-climbing
  • incremental conductance

1. Introduction

Solar energy is among the most widely used sources of renewable energy on a global scale with an installed global capacity of up to 100 GW [1]. This source is considered one of the most promising and best alternative energy source because of its natural availability and cleanliness [2, 3].

It is known that photovoltaic panels have a non-linear characteristic I = f (V) with a single point where the power generated is maximum (PPM). It is known that PV panels have a non-linear characteristic I = f (V) with a single point where the power generated is maximum (MPP). This maximum power strongly depends on the intensity of solar radiation and the temperature, which changes during the day.

However, the most difficulties associated with the use of a photovoltaic panel is the perfect non-coupling between the GPV photovoltaic generator and the load [4]. In direct connection mode, a technological barrier that exists in this type of coupling is the problem of transferring the maximum power of the GPV to the load, which often suffers from a bad adaptation. The resulting point of exploitation is then sometimes very far from the real MPP. In other words, it becomes difficult under these conditions to extract the maximum output power of PV panel in all weather conditions [5]. In order to extract at all times the maximum power available at the GPV terminals and transfer it to the load, an MPPT strategy is necessary in order to pursue the maximum power point of the PV panel [6]. There have been many research methods in the literature ranging from the simplest method like Disrupt & Observer (P & O) and IncCond to more sophisticated and complex [7, 8, 9].

Static converters, adapted to solar photovoltaic energy, are often called “solar converters” [10]. This adaptation can be achieved by inserting a series chopper controlled by a tracking mechanism “maximum power point tracking” (MPPT). Figure 1 represents an elementary photovoltaic conversion elementary chain associated with an MPPT control.

Figure 1.

Elementary components of a PV power system.


2. Modeling of a photovoltaic generator

Figure 2 shows the equivalent electrical circuit (single-diode model) of a photovoltaic generator, which is used to calculate the power supplied by this generator under all irradiation and temperature conditions [11].

Figure 2.

Equivalent circuit of the PV generator.

The relationship between the cell terminal current I and voltage V is given by [12, 13]:



I: output current, ID: reverse saturation diode current, Iphphotovoltaic current, KB: Boltzmann constant (1.3854 × 10–23 JK−1), m: ideality factor, q:Charge of an electron (1.6021 × 10–19 C), Rs:the series resistance (Ω) and Rsh:the shunt resistance (Ω).

As mentioned previously, the characteristic I = f (V) (Figure 1) of a solar cell strongly depends on the illumination (E) and the ambient temperature (Tamb) [14]. The empirical model developed by Garcia and Balenzatgui gives the mathematical relation of the temperature of the photovoltaic module as follows [11, 15]:


In order to calculate the solar generator power (P), we used the model developed by Skoplaki and Palyvos [14] as follows:


3. Overview of MPPT algorithms used

In the literature, there are various examples of MPPT technologies that serve to improve [8, 16, 17]. The Hill-Climbing, IncCond and Perturbe & Observe techniques are the most widely used because of their simplicity and ease of implementation. The operating principle of these three techniques is briefly summarized below:

3.1. Perturb and observe (P&O)

The principle of the P&O type MPPT commands consists in disturbing the panel voltage (VPV) of a small amplitude around its initial value and analyzing the behavior of the instantaneous power variation PPV of the photovoltaic panel before and after the disturbance [16, 18, 19]. If the change in dPPV power increases, this implies that VPV should be set in the same direction as in the previous cycle. If the power of dPPV decreases, it means that the system is far from the optimal point, so the disturbance size must be reduced in order to bring the operating point around to the point of maximum power [20]. In summary, if following a voltage disturbance, the PV power increases, the disturbance direction is maintained. If not, it is reversed to resume convergence to the new MPP. The implementation steps of the P & O technique are illustrated in Figure 3.

Figure 3.

Algorithm of an MPPT command based on the P&O method.

3.2. Hill-climbing method

The hill-climbing method [16, 21] consists in moving the operating point along the characteristic I = f (V) in the direction in which the instantaneous power PPV increases. For this, the disturbance is applied for the duty cycle D of the converter. The search stops theoretically until the operating power oscillates at the MPP [22, 23]. The flow diagram of this method is illustrated in Figure 4.

Figure 4.

Algorithm of an MPPT command based on the hill-climbing method.

3.3. Incremental conductance method

To find the MPP, this other technique is based on the knowledge of the GPV conductance variation and the consequences on the position of the operating point with respect to a PPM [24, 25]. Thus, the conductance of the photovoltaic module is defined by the ratio between the current and the voltage of the GPV as indicated below:

The conductance G of the PV circuit is:


Moreover, an elementary variation (increment) conductance can be defined by:


Figure 5 shows the position of the operating point on the power characteristic of the PV generator.

Figure 5.

PV power characteristic for different operating points.

Figure 6.

MPPT control algorithm based on IncCond [10].

The equation of PV panel power is:




On the other hand, the evolution of the power of the module (PPV) with respect to the voltage (VPV) gives the position of the operating point relative to the PPM. When the power derivative is zero, it means that it is on the PPM, if it is positive the operating point is to the left of the maximum, when it is negative, it is to the right of the MPP [23]. Figure 5 allows to write the following conditions:


4. Design and realization of the digital MPPT algorithm

At this stage of the research, we will explain the design steps and the realization of the electronic card based on the MPPT algorithms integrated in a microcontroller (μC) PIC. This digital MPPT control based μC has several advantages over analog MPPT control [26, 27]. Our control board contains three important blocks: power block, power supply, and control block.

4.1. Dimensioning of the power block

The control block consists of two essential parts: the measuring circuit is used to read the voltage and current of our photovoltaic panel at the input of the control unit. The second part, which is actually the brain of this block is formed by a microcontroller PIC 16F877A, to program the various proposed MPPT algorithms, and sends the control signal (the duty cycle) of the chopper to the power block, after isolation and amplification.

  • Tensions measurement:So that the microcontroller can read the voltage of the photovoltaic panel, we must perform the operation of transforming a voltage of 0–22 V into a voltage of 0–5 V.

It is therefore with a simple voltage divider bridge that we perform this operation as show in Figure 10. The voltage input to PIC

will be connected to pin AN1 of port A configured as input:

Calculation of the resistances:

We choose VPV=22Volts(photovoltaic panel open circuit voltage) and VPIC=5Voltas the maximum input value to the microcontroller:


Digital application: 522=R2R1+R2.


  • Current measurement

For the measurement of the current derived from the PV module, an inverter amplifier based on an operational amplifier TL082 was chosen. This configuration allowed us to read the value of the current of the panel, with the mass chosen on the side of the load.

The following formulas determine the parameters of this circuit:


So output voltage:



VS: output voltage, VE: Tension d’entrée input voltage.

4.2. The power block

A Buck converter, or chopper, is a switching power supply that converts a DC voltage into another DC voltage of lower value. Using this converter, the DC input voltage, which is for example generated by the photovoltaic generator (GPV) as shown in Figure 7, can be lowered. This serial converter can be used as a source-load adapter, when the direct-coupled operating point is to the left of the MPP. For points to the right of the MPP point, the boost converter is more efficient [28].

Figure 7.

Diagram of the electrical circuit of a Buck converter.

It consists of a DC-DC buck converter based on IGBT BUP 314, and ensuring the transfer of all of the power extracted from the solar panel to a resistive load.

If switch S1is turned on, diode Dis reverse biased and a circuit current occurs, but does not pass through this diode (Figure 8).

Figure 8.

Convertisseur buck Durant l’état on.

The current iL does not increase immediately, but increases with a rate imposed by inductance L[28]:


Meantime, the inductor stores the energy in a magnetic form. If switch S1is deactivated after t = t1, the load is separated from the source (system supplied). The current is however maintained by the energy stored in the inductor Land flows by means of the freewheeling diode (Figure 9). By neglecting the voltage drop across the diode, the current falls, however, because of the following equation:


Figure 9.

Convertisseur buck Durant l’état off.

Capacitor C1 is used to support the supply voltage (Vpv). In principle, the switch S1 is activated and deactivated with a switching frequency f.

The 80 Watt PV panel used in this study is shown in Figure 10.

Figure 10.

PV module employed in the experiment.

We operate our serial converter in continuous conduction mode (CCM) and the parameters of this circuit are C1 = 2200 μF, C2 = 200 μF and L = 600 μH. This value of ‘L’ has been chosen so that the converter operates in TLC according to the following equation [29, 30]:


4.3. The energy block

The operation of our control circuit requires a power supply at three voltage levels. For this, we realized four power supplies based on a voltage regulator:

  • The LM 7805voltage regulator to supply the microcontroller with a fixed voltage equal to 5 V.

  • The two LM 7815and LM 7915voltage regulators to provide power required current sensor (−15 V and +15 V), based on an operational amplifier the TL082.

  • A second LM 7815regulator to power the 4 N25 optocoupler with +15 V voltage. The latter will serve as a driver for the power switch, to ensure the galvanic isolation between the power block and the control block.

The diagram of Figure 11, representing the prototype to be produced, was made under the Proteus PCB design software designed by ‘Labcenter Electronics’, which makes it possible to draw electronic diagrams, to simulate them and to produce the corresponding printed circuit.

Figure 11.

Electrical diagram of the prototype realized.

Figure 12a and b represents the prototype, which has been realized practically for the digital MPPT control.

Figure 12.

Practical realization of the electronic cards.


5. Results obtained from the MPPT control

In this part, we present the experimental results of the three numerical MPPT algorithms: Perturbed & Observed, Hill-Climbing, and Incremental Conductance, tested on a resistive load (Rm = 3.1 (Ω), which is lower than the load of the maximum power point (MPP) within three (03) clear days. These experiments have been done under the following operating conditions: (1) direct coupling of the load with the photovoltaic panel without MPPT control, (2) using digital MPPT control (DMPPT), (3) by manual MPPT until finding a position to the MPP (manual variation of the load value).

As a result of characteristic I = f(V), we have found that the power generated (P) by the solar panel is related to the intensity of the radiation E and the temperature Tamb. We will take the measurements of: E, Tamb, P and efficiency of control ηfor each of the three MPPT algorithms studied (Perturb and Observe, Hill-climbing and Incremental Conductance). Tables 13 illustrate the results obtained from the different experiments studied.

Time (hh:mm)P for direct coupling (watt)P for DMPPT (watt)P in MPP (watt)η(%)E (watt/m2)Tamb (°C)

Table 1.

Experimental values identified by the P&O control

Time (hh:mm)P for direct coupling (watt)P for DMPPT (watt)P in MPP (watt)η(%)E (watt/m2)Tamb (°C)

Table 2.

Experimental values identified by hill-climbing control

Time (hh:mm)P for direct coupling (watt)P for DMPPT (watt)P in MPP (watt)η(%)E (watt/m2)Tamb (°C)

Table 3.

Experimental values identified by IncCond control

The histograms of Figures 1315 for these three methods show the difference between the power in the case of direct coupling and the power recovered when applying digital MPPT control that it is compared by the maximum power point search method manually.

Figure 13.

Histogram of powers to P&O algorithm.

Figure 14.

Histogram of powers to hill-climbing algorithm.

Figure 15.

Histogram of powers to incremental conductance algorithm.

Figure 16 illustrates current and voltage (Upv, Ipv) of the photovoltaic generator, current and voltage of the resistive load (Uch, Ich) for direct coupling and MPPT cases based on the P & O technique.

Figure 16.

Current and voltage of the photovoltaic generator and the load. (a) (Upv, Ipv) using direct coupling, (b) (Upv, Ipv) using digital MPPT control, (c) (Uch, Ich) using direct coupling, (d) (Uch, Ich) using digital MPPT control.

The duty cycle of the converter in the case of the P & O algorithm is illustrated in Figure 17.

Figure 17.

The duty cycle of the P&O algorithm.

The results of current and voltage of PV panel and the load obtained by Hill-climbing algorithm as shown in Figure 18. Figure 19 explains the duty cycle that controlled the DC-DC converter.

Figure 18.

Current and voltage of the photovoltaic generator and the load. (a) (Upv, Ipv) using direct coupling, (b) (Upv, Ipv) using digital MPPT control, (c) (Uch, Ich) using direct coupling, (d) (Uch, Ich) using digital MPPT control.

Figure 19.

The duty cycle of the hill-climbing algorithm.

Finally, the same experiment is performed using IncCond control and the results shown in Figure 20. Figure 21 shows the duty cycle generated by the IncCond algorithm.

  • Interpretation and discussion of the results

Figure 20.

Current and voltage of the photovoltaic generator and the load. (a) (Upv, Ipv) using direct coupling, (b) (Upv, Ipv) using digital MPPT control, (c): (Uch, Ich) using direct coupling, (d) (Uch, Ich) using digital MPPT control.

Figure 21.

The duty cycle of the incremental conductance algorithm.

The results obtained previously in the power tables and histograms clearly show the efficiency of the electronic control card filled for different control algorithms used. The energy extracted from the solar panel using the digital MPPT technique is very large compared to the direct charge connection method with the panel. Therefore, in the case of a direct connection between the generator and the load is unlikely to place the PV system at its maximum power point PPM. However, the digital MPPT technique can automatically find the operating voltage of the PV panel that corresponds to the PPM. However, comparing the results obtained by the three algorithms shows the Incremental Conductance technique is the most accurate and closest to the MPP compared to the other two methods.

In addition, the results clearly show the effectiveness of the tracking system (η) which in many cases reaches 100%. This efficiency represents the ratio between the maximum power obtained manually and the other using the MPPT command as indicated in the following equation:


where PDMPPT represent the power reached by using the proposed of DMPPT controller and PMPPis the expected maximum power output in the MPP.

Figures 16, 18 and 20 show that the chopper operates as a voltage step-down, with a voltage of the photovoltaic module stabilizes at Vpv = 14.5 (V). For the current of the load, it is found that the current is in continuous conduction, with a ripple of 2 kHz.

Finally, because of the integration of the PWM control signal into PIC, the duty cycle signal frequency generated by the MPPT command (Figures 18, 20 and 21) is of the order of 2 kHz. If the desired maximum power point voltage (VMPP) is higher than the measured panel voltage (Vpv), the duty cycle must be incremented; it must be decreased according to the control technique used. This ratio is adjusted in real time, with the meteorological variations (E and Tamb), and this to position itself on the optimum point.


6. Conclusion and future action

The paper presented a simplified design and implementation of impedance matching stage using a DC-DC buck converter supplying a resistive load controlled by one low cost microcontroller. This circuit allows the acquisition and processing of measured current and voltage signals and generates the appropriate control signals for controlling the switching of the power unit designed primarily around the buck converter. Three popular MPPT algorithms for extracting the maximum power of the photovoltaic panel namely P&O, Hill-Climbing and IncCond have been considered.

MPPT control has led to improved speed of response, a better MPP search accuracy and good control in the presence of perturbations such as sudden variations of the illumination and the temperature.

This work enables us to increase the cost-effectiveness of solar systems as well as reduce the cost which were imported from abroad and the worldwide costly in terms of our scientific laboratory or sector level using this energy in sustainable development agriculture deployed locally as photovoltaic pumping, irrigation and domestic use.

In the future, experiment of these prototypes on other PV installations (like the PV pumping which is available in our laboratory) will be presented in future works.

© 2019 The Author(s). Licensee IntechOpen. This chapter is distributed under the terms of the Creative Commons Attribution 3.0 License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

How to cite and reference

Link to this chapter Copy to clipboard

Cite this chapter Copy to clipboard

Djamel Eddine Tourqui, Achour Betka, Atallah Smaili and Tayeb Allaoui (February 13th 2019). Improved Performance of a Photovoltaic Panel by MPPT Algorithms, Recent Developments in Photovoltaic Materials and Devices, Natarajan Prabaharan, Marc A. Rosen and Pietro Elia Campana, IntechOpen, DOI: 10.5772/intechopen.79709. Available from:

chapter statistics

829total chapter downloads

1Crossref citations

More statistics for editors and authors

Login to your personal dashboard for more detailed statistics on your publications.

Access personal reporting

Related Content

This Book

Next chapter

A Quick Maximum Power Point Tracking Method Using an Embedded Learning Algorithm for Photovoltaics on Roads

By Koichiro Yamauchi

Related Book

First chapter

Gaseous Scanning Electron Microscope (GSEM): Applications and Improvement

By Lahcen Khouchaf

We are IntechOpen, the world's leading publisher of Open Access books. Built by scientists, for scientists. Our readership spans scientists, professors, researchers, librarians, and students, as well as business professionals. We share our knowledge and peer-reveiwed research papers with libraries, scientific and engineering societies, and also work with corporate R&D departments and government entities.

More About Us