1. Introduction
In recent times the industrial revolution has forced drastic changes on the lifestyle of the world that has raised the energy demand due to population growth and industrial development. Hence, an extra burden has been placed on the energy sector as the conventional energy sources diminish rapidly and face depletion as these trends continue [
1]. These resources have raised another serious issue, which is climate variation, and the impact of carbon-generated systems cannot be ignored. Climate changes have a drastic effect due to carbon being released into the air and enhancing the greenhouse effect [
2]. This serious concern has led to a search for alternatives that meet the energy demand and are environmentally friendly. One of the big sources of renewable energy is solar energy; abundantly available on the Earth, its efficient use can help us to counter the energy demand and climatic concerns [
3].
Keeping in view the non-linear property of the PV, which is dependent upon the falling of photons from the sun to transform them into current accordingly. Change in weather conditions induces a variation in current-voltage (I-V) and power-voltage (P-V) characteristics, and control systems should be efficient enough to extract maximum power from the PV panels by achieving MPPT. In the literature survey extensive studies have been dedicated to making the tracking algorithm efficient and robust under fast-changing weather conditions. Hill climbing [
4], P&O [
5] and incremental conductance (InC) [
6] are initially installed to track maximum power point (MPP) but these algorithms are susceptible to fast-changing weather conditions and the oscillation of algorithms around MPP. Moreover, hard computing techniques like fractional open circuit (FOCV) [
7] and fractional short circuit (FSCC) [
8] were also adopted to achieve MPPT, but regular disconnection from the load is a major drawback and continuity is affected and depends on prior knowledge of the PV panel.
The researchers started working on advanced algorithms to make the PV system more efficient. Different metaheuristic techniques were developed based on some observations to achieve the best output under the search space. The soft computing techniques like artificial neural network (ANN) require excessive training of the neural network and knowledge [
9]. Fuzzy Logic Controller (FLC) is complicated and requires a high-speed processing unit [
10]. A lot of work was carried out on evolutionary techniques that were utilized to track MPP for PV connected dc-dc converter. Some of the renowned techniques are genetic algorithm (GA) [
11], ant colony optimization (ACO) [
12], particle swarm optimization-based variable step size fractional incremental conductance [
13], and firefly algorithm (FA) having a fast convergence response [
14]; cuckoo search algorithm (CSA) was also developed for MPP tracking but this algorithm and its advanced form are not plausible enough to show fast settling time [
15]. Grasshopper optimization (GOA) algorithm is also designed to track maximum power point, but this algorithm has shown slow convergence while tracking the MPP [
16].
Different strategies are adopted to improve the effectiveness of the P&O algorithm by mixing or interlinking it with other algorithms. In [
17] FLC is deployed for the inverter control for PV connected grid system but with a modified variable step size P&O for dc-dc converter is missing. Similarly, hybrid algorithms like genetic algorithm-neural network (GA-ANN) [
18] and genetic algorithm-fuzzy logic controller (GA-FLC) [
19] are used in PV MPP tracking. ACO is applied in the solar system to track MPPT, the utilization of ACO is made effective by using hybrid with P&O and show fast tracking as compared to PSO [
20]. Enhanced adaptive (EA-P&O) for the changing weather condition was deployed to improve the efficiency of P&O algorithm [
21].
There is room to improve the ability of the algorithm to achieve fast tracking and to show minimum settling time under fast-changing weather conditions. The novelties of the modified P&O controller are enumerated as follows:
Modified P&O algorithm established along with fuzzy controller to control the inverter, while variable step size P&O is utilized to control the dc-dc converter;
Limitations associated with fixed step size P&O are encountered by using an approach of variable step size through the ant colony optimization technique;
The stability analysis of the system is tested and ensures the effectiveness of the proposed work.
The characteristics of the ACO are in listed in
Table 1.
2. Proposed Methodology
Keeping in view the characteristic graphs of the PV array, irradiation and temperature will affect the overall output power. This non-linear characteristic of the PV module forces the PV panel to operate at its MPPT. For this a DC-DC converter is introduced that will extract maximum power from the PV module. To generate a pulse width modulation (PWM) under varying weather conditions, a tracking algorithm is required that enables the PV system to operate at maximum power point.
In the recent past, many researchers have presented their work on tracking the MPPT using the P&O algorithm due to its simplicity and clarity of understanding. P&O working is based on calculating the output power that depends on the disturbance in the output voltage. Perturbation is applied on the calculated output power and then observed with the previously calculated power and a decision is taken in terms of the step forwards or backwards on the P-V curve. Moreover, fixed step size P&O lacks fast-tracking and shows oscillation around MPP. Furthermore, it loses more power due to slow tracking under varying weather conditions.
Figure 1 represents the conventional operation of P&O where tracking and oscillation around MPPT are shown. The conventional P&O with fixed step size shows a slow tracking speed and fluctuation around MPPT. Large step size leads to large oscillation and fast response while small step size leads to small oscillation and slow tracking speed, hence it was a tradeoff between steady-state and dynamic accuracy.
2.1. ACO-Based Variable Step P&O
Keeping the context of fixed step P&O in view, further studies are carried out in improving the drawbacks related to the P&O algorithm. The variable step size algorithm is proposed to enhance its ability for fast convergence and low oscillation around MPP. The proposed ACO-based P&O will tune the PID controller by producing proportional gain
, integral gain (
) and derivative gain (
) to generate optimal values that will introduce variable step in P&O algorithm. ACO optimizes the error, which is a difference in generated PV power and the reference power (
). On the basis of the error, the PID controller is tuned to generate an optimal value; that value will introduce a variable step in perturbation and the adaptive duty cycle is achieved, which will then improve the MPP tracking and minimize the oscillations. The proposed block diagram is shown in
Figure 2.
Moreover, to design the proposed method an online/offline approach was developed. The system designed operates in two modes: (1) online mode; (2) offline mode. Gaining the parameters for the PID controller is achieved in offline mode to form an optimal controller. Here, Integrated Absolute Error (IAE), which illustrates the performance index, needs to be minimized to find the optimal controller and the IAE is given in Equation (1):
where
is the error that is equal to
. When these parameters are transferred into online mode the optimal PID controller tracks the MPPT. The online/offline working is depicted in
Figure 3. The optimal value generated by the PID controller makes P&O a variable step size to enhance its efficiency by minimizing its oscillations, ripples, overshoot and response time.
2.2. Ant Colony Optimization
The ACO is a probabilistic swarm optimization technique based on the movement of ants and used for global search in a stochastic problem. This technique is used in the redundancy allocation problem [
22], data mining [
23] and optimization of weapon-targets [
24]. The ACO algorithm was developed based on the ants’ search for food in the
direction. Initially, individual ants search for the food and estimate the size of the food. If the size of the food is large, they will leave pheromones in its path and bring food back to the nest. These pheromones constitute a pheromone tail, which is used by other ants to track the source. Ants follow the shortest route because the longest portion of route loses their trail pheromones.
Figure 4 represents the behavior of ants searching for food and it is also known as the foraging behavior of ants, where a set of ants moves in a search space to find the food. Once the food is found, the ants bring the food back to the nest and drop pheromones on the way. Track the same food next time and they will try to follow the shortest path from foraging section to nest.
Keeping in view the foraging behavior of ants, the algorithm is designed to track MPPT. In this technique, the duty cycle is a control variable and PV power is a target function. In order to achieve the optimized point, a random generation of ants move in the
direction. Each direction has its own strength and attractions, so each ant makes a transition from lower to higher strength depending upon the region of strength. In the next iteration, the ants move towards stronger strength and attraction and the remaining ants will adjust their position using Equation (2):
where,
is the predefined number of iterations,
represents the current iteration,
represents the best objective location and
is a unit vector starting from
ant to the ants having the maximum amount of pheromone content. After successive iteration, the optimized point of MPPT is achieved.
2.3. PID Controller Tuning via ACO
PID controller is used widely in many applications to evaluate error. In the proposed technique, this controller is tuned by ACO to generate three parameters,
,
and
. The PID controller evaluates these parameters according to its basic equation shown in Equation (3):
The ACO method is mainly inspired by the ants that follow the shortest path in search of food. Moreover, it will evaluate the fitness function and calculate maximum fitness for each iteration based on the error. It will also optimize the error and generate gain values for PID controller.
The complete work for tracking MPPT is depicted in
Figure 5, where the ACO section is broadly demonstrated and its working is illustrated. The function of ACO is to optimize the PID controller on the basis of error, which is the difference in PV panel generated power and the output power of the converter (
); this absolute error (fitness function) is fed to the ACO block for evaluation based on the concept of the foraging behavior of ants. The pheromones are evaluated and define the direction of the ants towards the strong and attractive place. Finally, the max fitness for each error will generate an optimal set of values of PID controller. These optimal values will create a variable step size in P&O that will ultimately generate an adaptive duty cycle for the DC-DC boost converter.
3. Results and Discussion
The analysis for the proposed technique is presented in this section. To obtain the set of PID parameters the ACO block is initialized by the number of iterations, pheromones, number of ants, and positive and negative pheromones as shown in
Table 2.
The proposed method is implemented on MATLAB/Simulation as shown in
Figure 6., where different sections are highlighted and all of these sections contribute to developing a proposed ACO-based variable P&O.
Table 3, the obtained optimum values for the PID controller are installed in the system. These values are obtained from the proposed optimization technique (ACO) and the gain parameters are shown in
Table 4.
The obtained results from the proposed controller ACO-P&O are plotted in
Figure 7, which show the high quality of tracking MPPT with minimum oscillations, response time, ripples and overshoot. The response is plotted under varying irradiance at a fixed temperature of
.
Whereas for other controllers GA-P&O variable step size and P&O fixed step size lags behind in terms of achieving high efficiency, variable step size GA-P&O has a tendency to show better efficiency over P&O with fixed step size. Furthermore, the caliber of the variable step size ACO-P&O via tuning of the PID controller is analyzed in
Figure 8 that demonstrates the response time and energy lost.
The proposed controller ACO-P&O is highlighted in red in
Figure 8 where the response time of the proposed controller is
and the loss in power is
of the output power. The GA-P&O controller is shaded in blue with a response time of
and the loss in energy is
of the output power. The last compared result with the proposed controller is P&O with fixed step size
that is plotted and the results obtained show a higher response time of
where the loss in power is
.
The proposed controller is showing its ability to deal with the changing weather conditions and its tracking efficiency is high when compared to others. The results are obtained by applying offline and online tests on the proposed system. Moreover, the dynamic, transient and steady-state responses of the ACO-based algorithm are analyzed for different irradiance levels and their results are displayed in
Table 5.
4. Under Decreasing–Increasing Irradiance Conditions
The analysis is further carried out under varying irradiance in increasing and decreasing order to check the validity of the proposed controller (ACO-P&O) with other controllers. Different irradiance conditions under the fixed temperature at
are shown in
Table 6.
In
Figure 9 the analysis of the rising irradiance from 400 to 600 W/m
2 is analyzed and the results clarify the greater tracking of the proposed controller in term of settling time and lost energy.
The results are demonstrated in
Table 7. that shows the ability of the proposed controller in term of response time, energy lost and overshoot.
The ripple associated with ACO-P&O is minute in just settling the section while at rest; there is no ripple and it is around
in tracking MPPT section. With other controllers GA-P&O has ripple in the equilibrium state around
and P&O shows
, which are high when compared to the proposed controller. Further analysis is carried out under varying temperature conditions which are set as random from
and irradiance is kept fixed at
. The proposed controller is also observed. The response under the varying temperature of ACO-P&O controller is analyzed in
Figure 10.
Furthermore, another test is applied to check the authenticity of the proposed algorithm (ACO-P&O) for tracking MPPT under a gradual change in irradiance and at rapid change in irradiance. The change in irradiance is between
to
, where different static and dynamic oscillations are monitored. The ramp test applied on the system as shown in
Figure 11.
The result obtained from the applied test (ramp test) is shown in
Figure 12. The result is highlighted in A, B, C, D, E, F and G to monitor the ACO-P&O algorithm with the GA-P&O and fixed step size P&O. The highlighted section clearly manifests the performance of the ACO-P&O algorithm, which shows high efficiency in tracking the MPPT while other controllers lack ability in tracking MPPT under changing irradiance conditions. Fixed step size P&O is depicting disorganized tracking due to confusing behavior under varying conditions; this scenario is highlighted in the E and F sections, where point D highlights the robust tracking of the proposed controller as compared to other controllers.
5. Extended Analysis of Algorithm for PV Connected Grid
The PV network is extended to connect with a grid by the inverter. There are different stages involved: (1) converter and (2) inverter. The converter is controlled by the variable step size P&O approach, while the inverter is controlled by the fuzzy logic controller (FLC). Overall, the working model is showcased in
Figure 13.
The efficacy of the proposed technique is analyzed in the form of results as shown in
Figure 14, where the power analysis of the grid-connected PV is tested and the proposed work shows greater efficiency as compared to other controllers.
The DC-link voltages are depicted in
Figure 15, while current and voltage phases are shown in
Figure 16 and
Figure 17, respectively. The results depict the robust response of the proposed work.
6. Stability Analysis of the System
The stability analysis is checked at different irradiance levels of
and
. It is clear from the plot of stability in
Figure 18 that the system remains in a state of stability under different irradiance conditions and there is no sign of instability under the proposed scenarios. In order to simulate the stability analysis, a generic transfer function is obtained for the online mode as demonstrated in Equation (6). The final expression established for the boost converter is given in Equation (4):
Expression for the PID controller is presented in (5):
Solving (4) and (5) in feedback the final expression comes out to be as expressed in Equation (6):
Under Equation (6) the stability test is carried out for different irradiance levels with their respective optimum controller gains.
The crux of the research is presented in
Figure 19, where the efficiency of the proposed controller is around
whereas GA-P&O has efficiency around
and P&O has the efficiency of around
. The bar chart is designed for
to
change and the change in irradiance level clearly effects the efficiency of the algorithm although the proposed algorithm has shown robust tracking as compared to other algorithms.