Implementation of a Novel MPPT Tactic for PV System Applications on MATLAB/Simulink and Proteus-Based Arduino Board Environments

This paper is aimed at harvesting the photovoltaic systems extracting power under difficult irradiance and load conditions, by proposing a novel maximum power point tracking (MPPT). This proposed MPPT tactic has been examined under various climatic and load conditions using two powerful and accurate simulation environments for PV systems, MATLAB/Simulink and Proteus. The first implementation using the MATLAB/Simulink software was carried out to examine the performance of the novel MPPT tactic under sudden insolation and load change, where the second implementation using the Proteus software was carried out in order to prove that the novel MPPT tactic can be easily implemented using low-cost components, Arduino board, and LCD display. The simulation results prove that the novel MPPT tactic has a high convergence speed to locate the MPP, especially at fast solar irradiation and load variation with zero oscillation under steady-state operation, which takes less than 9.6 milliseconds (ms) under the MATLAB/Simulink software and 0.24 microseconds (μs) under Proteus environment. That means it is about six times faster than P&O and five times faster than INC MPPT methods, and its tracking efficiency is between 99.40% and 99.86%. Furthermore, the novel MPPT tactic shows the best tracking accuracy and better ability to mitigate power losses under overall simulation scenarios compared with other traditional MPPT methods.


Introduction
Without a doubt, renewable energy sources will be the world's key source of power within two decades, and their establishments in the global energy system will be faster than at any time. Photovoltaic or solar energy is one of several free, sustainable, and abundant renewable energies (wind, hydropower, tide, biomass, geothermal, and so on), which can be harvested from natural renewable resources. Thanks to its abundance and cleanness, photovoltaic energy, pollute less, and its conversion technology in the last decades getting improved.
Photovoltaic (PV) generators can be used for various aspects, like grid-connected, stand-alone battery charging, building-integrated domestic electric supply, and pumping systems. On the other hand, PV generator is affected by variable weather conditions such as solar irradiation and ambient temperature, which cause a change current, voltage, and maximum power point of PV panels. In addition, it suffers from low conversion efficiency, which lies in the range of 15-20%. In order to enhance the PV system's efficiency and decrease its power losses, it is necessary to operate the PV panel at its maximum power point (MMP). This MPP can be extracted by a specific mechanism called maximum power point tracking (MPPT) [1].
MPPT is aimed at extracting the available maximum power generated by the PV panel under different climatic conditions (temperature and solar irradiation). MPPT control aging on DC-DC converter, which is located between the PV generator and the load, in order to adapt and control the power delivered by the PV generator and that, requires the load. Thus, the MPP is reached by adjusting the duty cycle of the DC-DC converter by the MPPT algorithm.
Maximum power point tracking has been employed in different PV system configurations, stand-alone, and gridconnected PV systems. For the stand-alone PV systems, many MPPT algorithms have been proposed recently in the scientific literature [1][2][3][4][5]. Nevertheless, it remains the most used from the existing MPPT algorithms in the literature for the stand-alone PV systems: perturb and observe (P&O) [2,6], increment of conductance (INC) [7,8], hill climbing (HC) [9,10], and fuzzy logic (FLC) [11][12][13] MPPT methods, according to their simplicity and ease of implementation. These methods differ in many terms, such as time convergence speed, cost, performance, sensors used, and implementation. Nevertheless, they suffer from several shortcomings, such as slow tracking speed at sudden environment condition variation and PV output power's steady-state error around the MPP, which consequently leads to greater power losses from the PV array [1].
Recently, numerous MPPT methods have been proposed to deal with these aforementioned drawbacks [1,3,5]. In [1], a novel MPPT tactic is proposed to surmount famous shortcomings of the existing MPPTs in the literature (P&O, INC, HC, etc.), such as slow converging speed under fast solar irradiation variation and the oscillation around the MPP at steady-state operation. Furthermore, the proposed MPPT tactic has a good performance to track MPP with high convergence speed and zero oscillation; in addition, this technique is expected to reduce the power loss and improve the response speed of tracking [1]. This paper is an extension of work originally presented in the 2020 5th International Conference on Renewable Energies for Developing Countries (REDEC) [1]. In this work, the novel MPPT tactic is implemented under two celebrate simulation environments, MATLAB/Simulink and Proteus, in order to examine its efficiency and performance to track the MPP under different simulation scenarios of solar irradiation and load variation.
Simulation results are proven the effectiveness and robustness of the proposed MPPT tactic compared to other MPPT algorithms such as P&O, INC, and FLC to track the real MPP of the PV generator under various solar irradiation and load levels.
The remaining of this work is chained as follows: Section 2 explains the basic model and characteristic analysis of the PV module. Section 3 presents and explains the principle of the proposed MPPT tactic. Next, the simulation results obtained by using MATLAB/Simulink and Proteus software are described in Section 4. Finally, the conclusion of this paper is reported in Section 5.

Basic Model and Characteristic Analysis of PV Module
This section is divided into two subsections. Subsection one will present the basic equivalent circuit and characteristics of a PV module. Moreover, subsection two will study the DC-DC boost converter.
2.1. Basic Photovoltaic Model. PV cell also known as a solar power cell is the basic model unit of the PV module. Many PV cells are connected in series or/and parallel to produce the appropriate current and voltage. The PV cell equivalent circuit model is shown in Figure 1, which consists of two resistances and a diode. The losses which small leakage current flows through the parallel path are represented with a parallel R P resistance, the losses which are loss of metal grid contacts and current collecting bus are represented by a series R S resistance, and the cross current which associated with p-n junctions in semiconductor devices is represented with a diode [14,15].
The PV panel output current I pv expression according to the equivalent circuit shown in Figure 1 can be expressed as follows: where I pv and V pv are the current and voltage at the terminals of the PV cell, I G is the light current of the PV cell, I 0 characterizes the reverse diode saturation current, n P and n S are the numbers of solar cells in parallel and series, respectively. The electronic charge value q is (1:6 × 10 −19 C), A is the ideality factor, K is the Boltzmann's constant (8:65 × 10 −5 eV/K), and T is the p-n junction temperature (K) [11].
The PV cell output current shows a nonlinear characteristic as reported in equation (1), and it can be greatly influenced by insolation and ambient temperature.
The dependence of the PV cell light current I G with temperature and solar irradiation is given as follows: where k i is the temperature coefficient, T r is the reference temperature of the PV cell (°C), G is solar irradiation  International Journal of Photoenergy (W/m 2 ), and I s is the saturation current which can be written as follows: where I os is the reverse saturation current at T r and E g is the bandgap energy of the semiconductor of the PV cell.

DC-DC Boost
Converter. The most frequently used from DC-DC converters in photovoltaic power conversion is the DC-DC boost converter shown in Figure 2 which is the most popular one, which ensures a better maximum power transfer between PV panel and load, with fewer losses of energy [14,16]. The duty ratio of the DC-DC converter is regulated using the maximum power point tracking (MPPT) algorithm in order to match the source and load operating point at the maximum power point. To reach a higher conversion efficiency with electrical circuit simplicity, a DC-DC boost converter is chosen to be used in this study, contrary to other complex configurations [9].
To reduce the power losses at high frequencies, the MOS-FET is used as the switching device, which can be controlled by a PWM signal.
The relationships of input and output side of the boost converter in case of the voltage and current are obtained as follows: Derivation of (3) by (5) provides the following: where R in and R out present the input and output resistance side of the boost converter, respectively.
The equation (6) can be expressed in a PV system as follows: where R load presents the load resistance and R pv presents the resistance seen by the PV string. From (7), the boost converter's duty ratio can be expressed as follows:

The Principle of the Proposed MPPT Tactic
In order to surmount the weaknesses of several MPPT methods, this new MPPT method is proposed. Furthermore, the principle of this method is based on the maximum power point's area shown in Figure 3, where you can obviously see that the maximum power point's zone is located in a very narrow region of the maximum power point voltages Vmpps and it is limited by V mppmin etV mppmax [1]. Firstly and according to the PV array current and voltage measurement, the actual voltage VðkÞ is compared with V mppmin and V mppmax voltages. If the actual voltage VðkÞ is greater than V mppmax , it receives the value of V mppmax , and if the VðkÞ is less than V mppmin , it receives the value of V mppmin . Secondly, when the regulation of the PV panel voltage is made, the below equation (9) is used for calculating the new duty ratio of the boost converter [1]: Finally, the new duty ratio dðk + 1Þ receives the last duty ratio dðkÞ value, if VðkÞ is within the range (V mppmin to V mppmax ). Thus, these operations allow the novel MPPT 3 International Journal of Photoenergy control to focus the MPP area with a high precision and convergence speed [1].
As a conclusion, from the novel MPPT's flowchart shown in Figure 4, a direct control strategy can be achieved to track the real MPP by the PV voltage regulation.
The solar irradiation level suddenly increases or decreases as shown in Figure 5, which illustrates the PV module's P pv -V pv characteristics under four levels of insolation, with corresponding MPPs at points A, B, C, and D. The proposed MPPT method operates consistently at the MPP, during this process. Therefore, the actuating points' curve 1, curve 2, curve 3, and curve 4 are located at points A, B, C, and D, respectively. As a result, the proposed MPPT algorithm has good reliability, and it is appropriate for

Simulation Results
To show the validity and performance of the proposed MPPT technique, numerous simulation scenarios under several environmental conditions are carried out. The simulation implementation is developed numerically using two well-known environments, MATLAB/Simulink and Proteus software 4.1. MATLAB/Simulink Environment Implementation. The overall MATLAB/Simulink implementation is shown in Figure 6, which includes a PV generator, DC-DC boost converter, maximum power point tracking (MPPT) algorithm, and a resistive load. The used PV panel and boost converter specifications are listed in Table 1.
In this part of the simulation, as shown in Figures 7-9, three scenarios of solar irradiation variation are carried out in order to investigate the performance and accuracy of the proposed MPPT tactic to track the available power under different insolation conditions and transition levels, where the proposed MPPT tactic is compared with other famous MPPT algorithms such as P&O, INC, and the fuzzy logic in [14]. Furthermore, the simulation results with these three different scenarios are shown in  In the scenario I, the solar irradiation is set at 800 W/m 2 , and then, it varies suddenly between three levels 1200 W/m 2 , 400 W/m 2 , and 900 W/m 2 , as shown in Figure 7. For scenario II, the solar irradiance is increased continuously from 400 W/m 2 to 1200 W/m 2 , and then, it decreased continuously from 1200 W/m 2 to 400 W/m 2 , as presented in Figure 8. In addition, Figure 9 shows the scenario III of the solar irradiation, where a slow variation of the insolation (Sin form) is presented.    5 International Journal of Photoenergy and zero oscillation using the novel MPPT algorithm as can be seen in the zoomed portions. In addition, the FLC method is not able to follow the MPP under fast insolation variation and loses its tracking during the whole test time.
Furthermore, the novel MPPT technique has a good performance to stabilize the output power, current, and voltage of the PV generator with neglected steady-state error. This stability can be a result of the generated duty ratio of the boost converter, which varies perfectly as soon as the solar irradiation varies, and kept stable at steady-state operation as shown in Figure 10, whereas the P&O and INC methods present bad performance of stability in the PV generator output power, current, and voltage at steady-state operation. This instability is a result of the three-level oscillations in the duty ratio of the boost converter as can be observed in the zoomed portions of Figure 11, which conducted to an extra loss of energy power. Figures 12 and 13 present the scenario II simulation results. This scenario II is proposed in order to examine the performance of the novel MPPT tactic to track the MPP under the continual sudden increase and decrease of the solar irradiation levels. Figure 12 shows    Figures 14 and 15. By comparing these simulation results, especially, the PV output power curves, it can be noticeable the highest performance tracking of the proposed MPPT technique of the real MPP during the whole scenario III time. Firstly, the proposed MPPT technique is able to reach the MPP exactly and with less convergence time (9.5 milliseconds) as observed in the left below zoomed portion. In addition, it presents a high accuracy to follow and track the available MPP with zero oscillation in the entire simulation time as shown in the zoomed portions of Figure 14. Thus, the power losses are neglected. In the contrast, the P&O and INC MPPT methods can be able to follow the MPP under the overall insolation scenario III, but they exhibit slow converging time (35 and 41 milliseconds, respectively) and large oscillations, especially, at low insolation level as shown in the zoomed views of Figure 14, whereas the FLC MPPT method has a bad tracking performance among all MPPT methods.
Furthermore, Figure 15 presents the PV output current and voltage and the duty cycle of the boost converter of the novel MPPT controller compared with the P&O, INC, and FLC MPPT algorithms. The comparison reveals that the novel MPPT controller performs better in the case of the PV current and voltage stability, which is a result of the accurate duty cycle generated. Figure 16 shows the output simulation results of the proposed MPPT tactic compared to the P&O, INC, and FLC MPPT algorithms under the load scenario variation shown in Figure 17. The solar irradiation and temperature conditions are at STC conditions (1000 W/m 2 and 25°C) during the whole test period.

Load Variation.
From the output simulation results of the load variation scenario, the fast location of the MPP is done using the novel MPPT method, with neglected oscillations, while INC and P&O MPPT methods present high oscillations around the MPP, and the P&O method is the slowest one to locate the  Figure 19: PV generator circuit on Proteus environment.

12
International Journal of Photoenergy MPP. As shown in the power waveforms of load variation in Figure 16, the proposed MPPT algorithm has a high tracking speed, where it can track the MPP at a time of 0.007 seconds. In contrast, the MPP is reached in a time of 0.013 and 0.015 seconds in case of using the INC and P&O MPPT methods, respectively.
In the case of the FLC MPPT controller, it is noticeable that it loses its tracking direction as soon as the variation of the load is detected. Thus, the boost converter's duty ratio has remained unchanged as can be seen from Figure 18. However, as observed in the zoomed portions of Figure 18, there are large overshoots of the PV power at the load variation and huge ripples around the MPP at steady-state operation when using the P&O and INC MPPT methods. On the other hand, the novel MPPT tactic tracks the available maximum power almost perfectly with zero steady-state error, specifically when the load variation is detected. Table 2 presents the comparison results of MPPT methods in terms of average efficiency during the overall simulation scenario period, where the average efficiency of the proposed MPPT technique is the best one among all MPPT algorithms, and it is between 99.40% and 99.86% under all scenario situations.

Proteus Environment Implementation.
Proteus platform is one of the best and simple environments implementation addressed to the PV systems. Furthermore, thanks to its simplicity of work and the large libraries of various electronic components that provide, Proteus software is one of the most frequently used simulation software. The Arduino UNO board with the microcontroller AT Mega328 is one of among components that can be used flexibly in the Proteus environment [17].

Implementation of a PV Generator on Proteus
Environment. The PV generator circuit used in this simulation on the Proteus environment is shown in Figure 19, where its characteristics are given in Table 3 and the block PV generator and the DC-DC boost converter with resistive load are shown in Figure 20.
The power and current curves according to the voltage under different irradiation levels with a constant temperature of 25°C are shown in Figures 21 and 22, respectively.   Figure 23. In addition, Figure 24 presents test III, where the solar irradiation varies with slow and sudden transition procedure between four levels 1200 W/m 2 , 1000 W/m 2 , 600 W/m 2 , and 400 W/m 2 .
In this simulation, three PV generators and three boost converters are implemented, where the three MPPT controllers are employed on Arduino boards, and to measure the PV  Besides, the new MPPT approach can achieve an efficiency of 99.41% or instead of an efficiency of 98.82% and 98.23% for the P&O and INC algorithms, respectively.

Simulation Results under the Test II Insolation
Conditions. Figure 27 shows the simulation results of the output powers of the PV generators tracked by the three MPPT controllers under the test II, which presents sudden decrease of solar irradiation variation from 1200 W/m 2 to 400 W/m 2 with a constant temperature of 25°C as reported in Figure 23. It is noticeable from Figure 27 that the novel MPPT tactic follows exactly the real output PV power according to the solar irradiation variation curve. Also, it provides a better performance and high speed of convergence towards the MPP under the fast change of the solar irradiation. On the other hand, the P&O and INC MPPT algorithms are very clearly influenced by the sudden change of the solar irradiation and provide nonstability around the MPP with slow-speed convergence.

Simulation Results under the Test III Insolation
Conditions. The test III shown in Figure 24 presents a combination of difficult insolation transitions and different insolation levels, in order to examine the performance tracking and accuracy of the novel MPPT controller.
The simulation result comparison reported in Figure 28 reveals that the novel MPPT controller performs better, by eliminating the steady-state error and by responding faster and accurate to the variation in insolation level and transition condition. On the other hand, the P&O and INC MPPT algorithms clearly loss their tracking and cannot track the real MPP when the solar irradiation changed. Thus, high power losses are mitigated in case of using the proposed MPPT technique. Table 4 shows the comparison between the proposed MPPT technique and other MPPT algorithms published in scientific literature. This comparison is based on simulation results carried out under MATLAB/Simulink environment. By comparing these results, it can be seen that the proposed MPPT method has the highest efficiency and speed of tracking with the lowest time converging. In addition, the proposed MPPT method is obviously reducing the

Conclusion
In this paper, a novel MPPT tactic has been implemented and analyzed in order to harvest the power generation from photovoltaic systems. Different scenarios of sudden solar irradiation and load variation levels are adopted in order to examine the efficiency and performance of the novel MPPT technique using MATLAB/Simulink and Proteus simulation environments. The tracking accuracy is improved, and the steadystate ripple is eliminated using the novel algorithm. Furthermore, the novel MPPT tactic can track MPP faster compared to other conventional MPPT algorithms P&O, INC, and FLC under sudden solar irradiation and load variation, which can improve the reduction of the power losses. The simulation results demonstrate the superior performance and efficiency, which can be reached using the proposed MPPT tactic over traditional MPPT methods such as P&O, INC, and FLC. Furthermore, a low-cost system component is required (Arduino UNO board) to implement the novel MPPT controller without extra control mechanisms, which is simpler than other MPPT algorithms.

Data Availability
The data used to support the findings of this study are available from the corresponding author upon request.