Experimental Analysis of Modiﬁed DC-P&O Technique with Arm Controller for a Stand-Alone 40 W PV System

: The world is moving towards the generation of electricity with renewable energy sources (RES) due to the deterioration of the green environment and trying to replace non-renewable energy resources. The real-time results are achieved with the help of an arm controller, having good controller efﬁciency with the Waijung toolbox, compatible with MATLAB using STM32ST-link utility. In this paper, the authors are focused on areas such as easy to implement controller efﬁciency, and real-time solutions for modiﬁed direct-control perturbation & observation (DC-P&O) technique based on 32- bit ARM Cortex microcontroller (STM32F407VGT6) with embedded programming using Waijung blocksets, which offers very expected outcomes of the problem to make the stand-alone system efﬁcient with fast-tracking. The observation setup is tested with a 40-watt photovoltaic (PV) panel with resistive load for achieving its stability. The designed algorithm enhances the efﬁciency of the controller by 84.48% for the real-time parameters of the PV panel at maximum power point (MPP) for a 57% duty ratio.


Introduction
The global climate and energy crisis is demanding more renewable electricity to be generated by solar cells and also poses a major concern for the present civilized world. The limited reservoirs of conventional fuels and emission of greenhouse gases are greatly responsible. Moreover, it was reported that still today 86% of the world's energy consumption is met by conventional fuels and it is increasing daily [1]. To overcome this concern, renewable energy sources (RES) play a vital role in producing power across the world throughout the year with a green concept [2].

Background, Motivation, and Related Work
J. Prasanth Ram et al. [3] have proposed an MPPT survey on different MPP algorithms and their critical analysis has been performed concerning areas like speed tracking, the complexity of the algorithm, difficulties in hardware implementation. Jen-Hao Teng et al. [4] presented that MPPT is very important to extract maximum power in realtime. The challenges of MPPT are the step size of control variables and the high cost of hardware implementation. This paper proposes an estimation of the MPPT parameter. Mahmoudian et al. [5] found a maximum output power, using MPPT. In this paper, an artificial intelligence (AI) based technique is suggested and others are proposed based on their performance and effectiveness compared to other MPPT techniques. Singh et al. [6] presented MPPT as useful for PV systems to get the maximum output power with the beta technique based on the merits of steady-state performance and their fast-tracking speed. New hybrid MPPT techniques were used with the help of adaptive scaling factor (ASF) and P&O. Dallago et al. [7] presented a D-MPPT based on identifying MPP. Hardware results were performed on the breadboard. The tracking efficiency is claimed to be 78.8% of the DC-P&O method. Francisco et al. [8] considered P&O methods are widely used because of their simplicity. The P&O has limitations for steady-state operation. Hegazy et al. [9] presented different MPPT techniques for boost converters and was simulated using PSIM and MATLAB software. The objective of this paper is to simulate different MPPT techniques to check their performance. In the conclusion, FLC techniques are proposed for reduction with a lower percentage for different duty cycles.
Dengsheng et al. [10] discussed the importance of the MPPT controller as suggested and also gave the direction to design it. Ehssein et al. [11] gave ideas for different topologies of a dc-dc convertor with their optimal controller using various techniques. Valenciaga et al. [12] introduced the novel technique of MPPT based on a second order sliding mode gradient server for a partial shading system. Rekioua et al. [13] worked on various MPPT methods for hybrid RES for a stand-alone system.

Research Gap
The literature suggests that solar technology is performing with flying colors across all green sources (GS). Solar technology consists of many solar cells combined in series and in parallel for producing large voltage and current, respectively. The authors have discussed the various energy sources available. The Sun itself is a massive fusion reactor in which hydrogen atoms are fused into helium. The energy from this fusion reaction is released into space in the form of radiation. The authors have already calculated the value of the radiation power of the sun (3.828×1026 W), which we used to calculate the solar constant (1367 W/m 2 ). We totalled the energy according to the AM1.5 spectrum in Figure 1 and found 835 W/m 2 was received. Thus 61% of the originally available 1367 W/m 2 is received on earth as direct radiation [14]. However, it is important to pay attention to a large portion of radiation, namely the diffused radiation caused by the scattering of the light in the atmosphere for the given spectrum, where global radiation (G) is a summation of direct and diffuse radiation. Therefore, the authors used 1000 W/m 2 as the total irradiance for peak power of a solar module [15].
In this study, the solar cell schematic is presented in Figure 2 with the DC load (resistive) and whose I-V characteristic is obtained when the load is varied with a different value of current and voltage is measured [16,17]. In this study, the solar cell schematic is presented in Figure 2 with the DC load (resistive) and whose I-V characteristic is obtained when the load is varied with a different value of current and voltage is measured [16,17]. To amend the efficiency of solar cells, many maximum power point techniques (MPPT) have been proposed in the literature, e.g., perturb and observe (P&O) or hillclimbing, improved perturb and observe (IP&O), incremental conductance (IC) technique, open circuit voltage methods, a fuzzy logic technique, DC-P&O, short circuit current and suggested modified P&O technique with some changes in the parameter for less steadystate oscillation and fast-tracking [18].

•
This work is carried out with a modified and fast-tracking DC-P&O technique, which helps to fix the MPP at a certain point. This case is focused on the solution to the problem of solar cells with practical implementation. In the literature, some researchers are facing a problem in solar cells due to their high cost and inclination for low conversion efficiency. The authors are trying to focus the attention of the researcher with a feasible solution. The case is related to the design MPPT charge controller with modified DC-P&O method using an efficient DC-DC  In this study, the solar cell schematic is presented in Figure 2 with the DC load (resistive) and whose I-V characteristic is obtained when the load is varied with a different value of current and voltage is measured [16,17]. To amend the efficiency of solar cells, many maximum power point techniques (MPPT) have been proposed in the literature, e.g., perturb and observe (P&O) or hillclimbing, improved perturb and observe (IP&O), incremental conductance (IC) technique, open circuit voltage methods, a fuzzy logic technique, DC-P&O, short circuit current and suggested modified P&O technique with some changes in the parameter for less steadystate oscillation and fast-tracking [18].

•
This work is carried out with a modified and fast-tracking DC-P&O technique, which helps to fix the MPP at a certain point.

•
The observation setup is tested with a 40 W PV panel with a dc load for charging from the PV panel. This case is focused on the solution to the problem of solar cells with practical implementation. In the literature, some researchers are facing a problem in solar cells due to their high cost and inclination for low conversion efficiency. The authors are trying to focus the attention of the researcher with a feasible solution. The case is related to the design MPPT charge controller with modified DC-P&O method using an efficient DC-DC

•
This work is carried out with a modified and fast-tracking DC-P&O technique, which helps to fix the MPP at a certain point.

•
The observation setup is tested with a 40 W PV panel with a dc load for charging from the PV panel. This case is focused on the solution to the problem of solar cells with practical implementation. In the literature, some researchers are facing a problem in solar cells due to their high cost and inclination for low conversion efficiency. The authors are trying to focus the attention of the researcher with a feasible solution. The case is related to the design MPPT charge controller with modified DC-P&O method using an efficient DC-DC boost convertor and an intelligent, efficient and low-cost 32-bit ARM Cortex microcontroller (STM32F407VGT6) with 168 MHz frequency testing for optimal results with a 40 W panel having DC load [19].

Materials and Methods
In this paper, the authors attempt to help all learners understand the overall workflow with the help of the block diagram given below in Figure 3. The methodology of the workflow is discussed step by step. boost convertor and an intelligent, efficient and low-cost 32-bit ARM Cortex microcontroller (STM32F407VGT6) with 168 MHz frequency testing for optimal results with a 40 W panel having DC load [19].

Materials and Methods
In this paper, the authors attempt to help all learners understand the overall workflow with the help of the block diagram given below in Figure 3. The methodology of the workflow is discussed step by step.

PV Technology
Despite the advantages of PV technology like clean, pollution-free, and non-exhaustible etc., solar cells are facing challenges due to their nonlinear characteristic, which lies in the irradiance and ambient temperature, and very low efficiency due to partial shading. In a stand-alone solar system, PV modules and batteries are pricier and directly coupled with PV modules, protecting against changing over [20].
Charge controllers play a very vital role as a solution to bring through the batteries from changing over. But charge controllers cannot operate PV modules at MPP, due to lower efficiency. To overcome this issue, the researcher needs to operate the PV module at the peak power point to deliver maximum power from the source to load under variable atmospheric conditions [21].

Single Diode Equivalent Circuit of PV Cell with their Simulation
Nowadays, PV has become popular for many applications such as lighting, battery charging, wireless power transmission, water pumping for agriculture, and satellite power systems. The single diode model is based on five important parameters discussed in Figure 4. The photon current (Iph) is generated by incident light (insolation) on the solar cell. The diode is connected for safety purpose due to any damage and disturbance in PV module. The shunt and series resistance are passive elements to represent the power losses. The single diode model is shown in Figure 4.

PV Technology
Despite the advantages of PV technology like clean, pollution-free, and non-exhaustible etc., solar cells are facing challenges due to their nonlinear characteristic, which lies in the irradiance and ambient temperature, and very low efficiency due to partial shading. In a stand-alone solar system, PV modules and batteries are pricier and directly coupled with PV modules, protecting against changing over [20].
Charge controllers play a very vital role as a solution to bring through the batteries from changing over. But charge controllers cannot operate PV modules at MPP, due to lower efficiency. To overcome this issue, the researcher needs to operate the PV module at the peak power point to deliver maximum power from the source to load under variable atmospheric conditions [21].

Single Diode Equivalent Circuit of PV Cell with their Simulation
Nowadays, PV has become popular for many applications such as lighting, battery charging, wireless power transmission, water pumping for agriculture, and satellite power systems. The single diode model is based on five important parameters discussed in Figure 4. The photon current (I ph ) is generated by incident light (insolation) on the solar cell. The diode is connected for safety purpose due to any damage and disturbance in PV module. The shunt and series resistance are passive elements to represent the power losses. The single diode model is shown in Figure 4. boost convertor and an intelligent, efficient and low-cost 32-bit ARM Cortex microcontroller (STM32F407VGT6) with 168 MHz frequency testing for optimal results with a 40 W panel having DC load [19].

Materials and Methods
In this paper, the authors attempt to help all learners understand the overall workflow with the help of the block diagram given below in Figure 3. The methodology of the workflow is discussed step by step.

PV Technology
Despite the advantages of PV technology like clean, pollution-free, and non-exhaustible etc., solar cells are facing challenges due to their nonlinear characteristic, which lies in the irradiance and ambient temperature, and very low efficiency due to partial shading. In a stand-alone solar system, PV modules and batteries are pricier and directly coupled with PV modules, protecting against changing over [20].
Charge controllers play a very vital role as a solution to bring through the batteries from changing over. But charge controllers cannot operate PV modules at MPP, due to lower efficiency. To overcome this issue, the researcher needs to operate the PV module at the peak power point to deliver maximum power from the source to load under variable atmospheric conditions [21].

Single Diode Equivalent Circuit of PV Cell with their Simulation
Nowadays, PV has become popular for many applications such as lighting, battery charging, wireless power transmission, water pumping for agriculture, and satellite power systems. The single diode model is based on five important parameters discussed in Figure 4. The photon current (Iph) is generated by incident light (insolation) on the solar cell. The diode is connected for safety purpose due to any damage and disturbance in PV module. The shunt and series resistance are passive elements to represent the power losses. The single diode model is shown in Figure 4.   Table 1  and temperature [21,22]. The output current can be measured from Figure 4, By applying KCL, we can obtain: where, I ph : Photon current (A), I D : diode current (A), I sh = shunt current (A), I: load current (A). The diode current equation can be represented as follows: where I 0 : reverse saturation current (A), V: load voltage (V), R s : series resistance (ohm), m: diode ideality factor (unitless), k: Boltzmann's constant (1.381 × 10 −23 J/K).
where, q: charge (1.6 × 10 −19 C) T: absolute temperature (V T = kT q ≈ 0.0259 V) at 25 • C. Simulation carried with different levels of irradiance 2,704,806,008,001,000 W/M 2 at cell temperature 25 • C. Modeling of stand-alone PV obtains various results as shown in The model has experimented and simulated a PV panel (Waree solar 40 Watt) with different parameters specified in Table 1 on MATLAB software with different irradiance and temperature [21,22]. The output current can be measured from Figure 4, By applying KCL, we can obtain: The diode current equation can be represented as follows: where     Table 1, as shown below, represents the parameters of the PV panel used for the experimental bench. These parameters are useful for getting the optimal results as well as to find the efficiency of the solar cell. Panel efficiency can be calculated by [23].     Table 1, as shown below, represents the parameters of the PV panel used for the experimental bench. These parameters are useful for getting the optimal results as well as to find the efficiency of the solar cell. Panel efficiency can be calculated by [23].    Table 1, as shown below, represents the parameters of the PV panel used for the experimental bench. These parameters are useful for getting the optimal results as well as to find the efficiency of the solar cell. Panel efficiency can be calculated by [23].

The Functioning of DC-DC Boost Converter
A DC-DC boost converter shown in Figure 8a, was used to step up the voltage level where the input end was low. It consisted of an inductor, output capacitor, and switching device. There were two modes of operation depending upon the switching shown in Figure 8b,c [24]. Switching can be achieved by either a metal-oxide field-effect transistor (MOSFET) or an insulated gate bipolar transistor (IGBT). For low voltage, MOSFET is preferred rather than high voltage applications. IGBT is preferred due to its high input impedance and high voltage rating application greater than 1 kV. The output voltage can be regulated by switching devices with the variation of the duty cycle [25]. It can be represented as follows: where, V o = output voltage; V i = input voltage; t off = IGBT off, sec; t on = IGBT on, sec; t s = total time. ferred rather than high voltage applications. IGBT is preferred due to its high input impedance and high voltage rating application greater than 1 kV. The output voltage can be regulated by switching devices with the variation of the duty cycle [25]. It can be represented as follows: When the switch is ON, the diode will develop reverse bias then the state-space equation can be written as follows: When the switch is ON, the diode will develop reverse bias then the state-space equation can be written as follows: When the switch is OFF, the diode will develop forward bias then the state-space equation can be written as follows: The required minimum value of the inductor can be written in continuous conduction mode (CCM) as follows: After consideration of the output voltage ripple, the capacitor value can be written as follows: where il is the current across the inductor, i c is the current across the capacitor, vgis the input voltage, v c voltage across the capacitor, i • l = change in the current across the inductor, v • c is the change in voltage across the capacitor during switching, fpwm is the switching frequency, ∆V is the output voltage ripple, I o is the output current, D is the duty cycle, V o is the output voltage. After calculation of the value of the inductor and capacitor we created Table 2, as below.

Modified Direct-Control Perturbation & Observation Technique
This technique is capable enough to track maximum power point (MPP) shown in Figure 9. The power level of the proposed technique was affected due to irradiance, unpredictable temperature and resistive (DC) load [26]. This method is very useful to obtain the MPP by the hill-climbing process. As per the literature, solar irradiance is directly proportional to power. If irradiance increases, power will be increased and vice versa. Table 3 represents the process of the implemented method [27]. The duty cycle plays a very vital role in deciding the perturbation. If the duty cycle is positive the change in power will be positive and the next perturbation will be positive. There are three more cases to discuss which are based on the duty cycle. If the change in power is negative (-ve) then the next perturbation will be negative that depends upon the nature of the duty cycle. In the next case, if the duty is negative and change in power is positive then the next perturbation would be negative. This process will be ongoing until it reaches the highest power [28].  [9].

Perturbation
Change in Power Next Perturbation The flow chart of this method shows very few sensors are utilized which makes it very cheap. The operating voltage is sampled and the algorithm changes the operating voltage in the required direction of slop dP/dV.
If dP/dV is positive, then the algorithm increases the voltage value towards the MPP until dP/dV is negative. This iteration is continued until the algorithm finally reaches the MPP. The voltage never actually reaches an exact value but perturbs around the MPP.
As soon as the slope becomes high the perturbation step will be more and vice versa. This calculation helps to improve the fast-tracking MPP. There is so much literature available on various MPPT methods but the reason to choose this MPPT is improvisation in the conventional P&O by using direct controlling with the help of a proportional integral derivative (PID) controller. There are unique features associated with the proposed technique, which are also shown in Figure 8.

•
Very less PV array dependency; • It has the power to give true MPPT; • To get analog and digital output; • Having fast convergence speed; • Low complexity; • Having a fewer number of sensors.

Arm Cortex Microcontroller
There is a lack of literature for investigating the use of STMicroelectronics 32-bit arm as an MPPT controller with the specialty of an inexpensive, high performance, rapid processor, and easy to install feature which is supported by MATLAB 2014 and above versions. The microcontroller is a potential solution to the problem of low conversion efficiency in standalone solar systems. In this study, deploying MATLAB and STMicroelectronics−32-bit development board containing an ARM Cortex M4 microcontroller. For obtaining real-time operation on the PV system, the practical test is set up for easy and rapid changes with modified DC-P&O algorithm, to find the real data to track MPP in a short duration for small-scale stand-alone solar energy systems. Rapid control added more advantages to its performance. Mathematical models of modified DC-P&O are designed on MATLAB in Figure 9. The results were obtained under different irradiation and temperature levels with different modulation indexes. Designed Simulink models were transferred into the control board with the help of the Waijung block set on MATLAB [28,29].

Reasons to Choose
• It has a 1 MB flash memory, 192 KB RAM in LQFP100 package running at 168 MHz providing a peak through 210 MIPs, comparatively greater than others (STM32 G491, STMG4 A1 with 512 KB of flash memory); • It has an on-board ST-LINK/V2 debugger for the hardware; • It has 3 × 12 bit, 2.4 MSPS A/D converter up to 24 channels, and 2 × 12 bit D/A con- The proposed microcontroller has up to 5 V tolerances, which are better than existing microcontrollers.

Experimental Setup
The experimental block diagram is shown in Figure 10 for testing the MPPT algorithm. The panel was illuminated with artificial light (halogen lamp); the intensity of artificial light was controlled by connecting the autotransformer and getting real data at different temperatures. The PV was connected to the DC-DC boost convertor as per the rating of the PV panel [30]. Input voltage and current are sensed by respective sensors and given input by the ARM Cortex M4 microcontroller (STM32 F407 VGT6). This ARM controller was used to simplify the process of the proposed MPPT and record the gate pulse through gate terminals or by sensing the output unit through a digital storage oscilloscope. A direct memory access (DMA) controller added more advantages with first in first out support (FIFO) for this user-friendly process with the help of PID. All data can be recorded with the help of a data logger, which is built-in programming [31,32]. The experimental set up is shown in Figure 11a,b.
(a) Input voltage and current are sensed by respective sensors and given input by the ARM Cortex M4 microcontroller (STM32 F407 VGT6). This ARM controller was used to simplify the process of the proposed MPPT and record the gate pulse through gate terminals or by sensing the output unit through a digital storage oscilloscope. A direct memory access (DMA) controller added more advantages with first in first out support (FIFO) for this user-friendly process with the help of PID. All data can be recorded with the help of a data logger, which is built-in programming [31,32]. The experimental set up is shown in Figure 11a,b.
ARM Cortex M4 microcontroller (STM32 F407 VGT6). This ARM controller was used to simplify the process of the proposed MPPT and record the gate pulse through gate terminals or by sensing the output unit through a digital storage oscilloscope. A direct memory access (DMA) controller added more advantages with first in first out support (FIFO) for this user-friendly process with the help of PID. All data can be recorded with the help of a data logger, which is built-in programming [31,32]. The experimental set up is shown in Figure 11a,b.

Results and Discussion
The attainment of the objectives was to look for an efficient, user-friendly, and high performing MPPT system with rapid changes. It allows the uses of electricity in the standalone DC grid. The simulation was tested in the MATLAB to understand the nature of the algorithm and introduce a quick transition in the system implementation [33,34]. Figure 12 represents the model of experimental studies with the ARM cortex microcontroller for implementation of the modified (DC-P&O) technique. This technique is quite useful and user-friendly with the ARM Cortex M4 microcontroller (STM32 F407 VGT6) for getting good results. This algorithm can reach the MPP within 0.11 sec as shown in Figure 13 [35,36].

Results and Discussion
The attainment of the objectives was to look for an efficient, user-friendly, and high performing MPPT system with rapid changes. It allows the uses of electricity in the standalone DC grid. The simulation was tested in the MATLAB to understand the nature of the algorithm and introduce a quick transition in the system implementation [33,34]. Figure 12 represents the model of experimental studies with the ARM cortex microcontroller for implementation of the modified (DC-P&O) technique. This technique is quite useful and user-friendly with the ARM Cortex M4 microcontroller (STM32 F407 VGT6) for getting good results. This algorithm can reach the MPP within 0.11 sec as shown in Figure 13 [35,36].    The maximum output power was reached in a very short period of 0.02 sec as shown in Figure 14. The proposed techniques help to reduce the steady-state oscillation and fasttracking [37]. The maximum output power was reached in a very short period of 0.02 s as shown in Figure 14. The proposed techniques help to reduce the steady-state oscillation and fast-tracking [37]. By varying the duty cycle of the boost converter (30% 50% 68%) for open-loop and closed-loop control, the convertor gave good real-time results on these duties cycles as the algorithm suggested [38].
By comparing the output voltage and control pulse of the DC-DC boost converter by By varying the duty cycle of the boost converter (30% 50% 68%) for open-loop and closed-loop control, the convertor gave good real-time results on these duties cycles as the algorithm suggested [38].
By comparing the output voltage and control pulse of the DC-DC boost converter by simulation and hardware results at (30% 50% 68%), the duty cycle is shown in Figure 15.  In Figure 15, the open-loop control system of the boost convertor is shown for different duty cycles (30% 50% 68%). It is observed that as soon as the duty cycle increased the output voltage increased and the input voltage slightly decreased by 10 micro sec. Figure 16 shows the result of a boost converter in the closed-loop control with the duty cycle of 63% where K p and K i are 2.1 and 1.2, respectively. The PID controller was used to control the gate pulse [39]. The gate pulse operates at 20 kHz in 50 micro sec for open loop and closed loop, respectively. In the real-time analysis, authors found that the boost convertor was more compatible with the ARM Cortex 32-bit microcontroller with the Waijung block [40]. In Figure 15, the open-loop control system of the boost convertor is shown for different duty cycles (30% 50% 68%). It is observed that as soon as the duty cycle increased the output voltage increased and the input voltage slightly decreased by 10 micro sec. Figure 16 shows the result of a boost converter in the closed-loop control with the duty cycle of 63% where Kp and Ki are 2.1 and 1.2, respectively. The PID controller was used to control the gate pulse [39]. The gate pulse operates at 20 kHz in 50 micro sec for open loop and closed loop, respectively. In the real-time analysis, authors found that the boost convertor was more compatible with the ARM Cortex 32-bit microcontroller with the Waijung block [40]. It is clearly shown that the closed-loop action performed very well for getting an output voltage of 45 V with the supportive action of a boost convertor. Figure 17a,b represents PV and IV curves at insolation of 270 W/m 2 with real-time tracing of MPP by using the modified DC-P&O method. It is helpful to fetch the real-time parameters easily with the help of Waijung. It is clearly shown that the closed-loop action performed very well for getting an output voltage of 45 V with the supportive action of a boost convertor. Figure 17a,b represents PV and IV curves at insolation of 270 W/m 2 with real-time tracing of MPP by using the modified DC-P&O method. It is helpful to fetch the real-time parameters easily with the help of Waijung.
Comparative studies of hardware and software results of DC P&O technique at 270 W/M 2 are shown in Table 4. Due to hardware limitations the experiment was not performed, only a simulation study was conducted at 800 W/M 2 . Comparative studies of hardware and software results of DC P&O technique at 270 W/M 2 are shown in Table 4. Due to hardware limitations the experiment was not performed, only a simulation study was conducted at 800 W/M 2 .  It is essential to study the hardware results with the proposed technique from Table 5, where the open circuit voltage is 18.56 V, short circuit current is 0.635 A, maximum voltage is 15.5 V, max current is 0.48 A, and output power is 4.9 W, which is 6.5% more than conventional P&O and conversion efficiency is more than 7.9%.

Conclusions
The authors have analyzed the following: • The modified DC-P&O is having better results, i.e., output power is 4.9 W which is 6.5% more than convention P&O and conversion efficiency is more than 7.9% in comparison with conventional P&O.

•
The modified DC-P&O helps the boost converter for improving fast-tracking MPP through PID.

•
The proposed experiment can efficiently analyze the DC-DC boost converter operating in open-loop, closed-loop, real-time capturing and analyzing PV curve of MPPT.

•
The conversion efficiency of PV panel was found to be 84.48% with the ARM microcontroller in comparison to 76.56 % found from conventional P&O.

•
The proposed method is better suited to a stand-alone PV system because it requires a very low voltage (12-48 volts).