# Cascade Control of Grid-Connected PV Systems Using TLBO-Based Fractional-Order PID

Authors: Afef Badis; Mohamed Nejib Mansouri; Mohamed Habib Boujmil
Journal: International Journal of Photoenergy
 (2019)

---

## Abstract

Cascade control is one of the most efficient systems for improving the performance of the conventional single-loop control, especially in the case of disturbances. Usually, controller parameters in the inner and the outer loops are identified in a strict sequence. This paper presents a novel cascade control strategy for grid-connected photovoltaic (PV) systems based on fractional-order PID (FOPID). Here, simultaneous tuning of the inner and the outer loop controllers is proposed. Teaching-learning-based optimization (TLBO) algorithm is employed to optimize the parameters of the FOPID controller. The superiority of the proposed TLBO-based FOPID controller has been demonstrated by comparing the results with recently published optimization techniques such as genetic algorithm (GA), particle swarm optimization (PSO), and ant colony optimization (ACO). Simulations are conducted using MATLAB/Simulink software under different operating conditions for the purpose of verifying the effectiveness of the proposed control strategy. Results show that the performance of the proposed approach provides better dynamic responses and it outperforms the other control techniques.


---

## Body

## 1. Introduction

In recent years, solar energy has become one of the most potential renewable and environmentally friendly resources of energy thanks to its free gas emission, abundance, and low maintenance cost [1]. Usually, the solar energy is exploited either for stand-alone systems or for grid-connected photovoltaic (PV) systems. Several papers in the literature are targeting the issue of grid-connected PV generator (PVG) [2], and studies are carried out in this issue in order to improve the overall efficiency of the system. In fact, the nonlinearity of the PV power systems and the unpredictable intrinsic and atmospheric changes, which make the operating point vary due to the control unit and the parametric errors, are the two key factors that should be thoroughly examined. Thus, the main objective in a grid-connected PV system is to ensure high performance with low cost by choosing the appropriate control strategy.The control chain consists of two main parts, including the PVG-side control which ensures maximum extraction of PVG power using the appropriate MPPT algorithm and the grid-side control by controlling the DC bus voltage and injecting the desired power into the grid.A considerable progress has been made over the last decade in optimization techniques. Among these methods, proportional-integral-derivative (PID) controllers are known to be the most widely used in many studies of grid-connected PV systems since they perform well in linear systems as compared to many new advanced control strategies, namely, model predictive control [3], neural control [4], and fuzzy PI control [5–7]. However, for nonlinear systems or with varying parameters, PID controllers become insufficient and unreliable, especially, when the performance requirements of the system are rigorous.To overcome the weaknesses of the already cited control strategies, metaheuristic has recently emerged in the literature with new evolutionary techniques. Particle swarm optimization (PSO) was first developed in [8], and since then, it has gained much attention and become largely exploited in several fields [9–12]. PSO has the advantage of generating a high-quality solution within shorter calculation time and stable convergence characteristics in designing and tuning a PID controller [13]. Nowadays, teaching-learning-based optimization (TLBO) is a new optimization technique which outperforms the conventional methods. TLBO has been immersed in the literature for the purpose of tuning the PID parameters.Moreover, performances of the classical PID controller can be further improved by setting the appropriate fractional-I and fractional-D actions. The fractional-order PID (FOPID) was firstly reported in [14] for a fractional-order system. Since then, FOPID controllers concern more researchers to reach the most robust performance of various systems [15, 16].Cascade control is one of the most commonly used complex control structures in industrial processes. It is implemented to enable faster disturbance rejection. Although sophisticated cascade control schemes have been proposed [17–19], the basic scheme still includes two nested loops with two controllers. Since this configuration requires the tuning of two controllers, cascade tuning systems are more complex than single-loop tuning systems. The usual approach is to first optimize the secondary regulator. The primary controller is then adjusted by evaluating the action of the secondary controller on the internal loop. Such a setting procedure takes a long time because at least two tests are usually necessary [20, 21]. However, the sequential tuning procedure has been improved so that only one test is performed to adjust both controllers simultaneously [22].Very limited studies are available in the literature for how to tune cascade control systems, and most of them change the original structure of the cascade control system. In [23], the authors have proposed a technique to tune the P/PI controllers and PID/PID simultaneously for the internal and external loop. It consists in finding the ideal parameters by the Maclaurin series. This method is compared with the method in [24, 25]. The method in reference [23] outperforms the other methods.In [26], GA is used to tune the P/PI and PID/PID controllers for the internal and external loops simultaneously. This method enables the user to select the performance criteria, which is not the case in [23]. GA has proven to be very effective in finding the optimal gains [27]. The GA-based method is compared to the method in [28]. Simulation results show the superiority of GA over the other methods.Owing to the control design, this paper presents a comparative study of different metaheuristic-based control strategies to control the entire system which includes four cascaded controllers designed on the basis of the nonlinear system. On this topic, a TLBO-based FOPID controller is proposed to design a control strategy which is insensitive to parameter variations, perturbations, and nonlinearity and its parameters’ gain is varying accordingly.In the conventional cascade control, the controller parameters in the primary and secondary loops are tuned sequentially which makes the control more difficult and time-consuming. This paper describes a simultaneous tuning method for both GPV and grid-side cascade subsystems using the TLBO algorithm to estimate the appropriate parameters of the primary and secondary loop controllers. The control technique takes advantage of a simple but accurate control design technique.The paper is organized as follows. Section2 covers the PV system modeling. Section 3 encompasses the different control strategies. In section 4, simulation results are discussed for various operating conditions. Comparison and comments supporting the performance and robustness of the TLBO-FOPID control strategy are given. Finally, Section 5 draws the conclusion followed by References.


## 2. Modeling of the Grid-Connected Photovoltaic System

The PV interface configuration consists of two conversion stages. The first stage is made up of a PV generator and a DC-DC boost converter which executes the maximum power point tracking (MPPT) and follows the power reference while the second stage includes a three-phase inverter connected between the DC bus and the grid via a low-pass filter.The Energetic Macroscopic Representation (EMR) for all components has been used for description and modeling of the PV conversion system as shown in Figure1, while the Maximum Control Structure (MCS) allows modeling the control loops [29]. The EMR is interconnected in order to frame the EMR of the entire system. The used representation helps to understand the relations between all the system parameters and to design controllers for the system by characterizing the tuning chains. The MCS is generated by inversion of the EMR [29, 30].Figure 1
The EMR and its reverse MCS of the overall system.In order to implement the control strategy, it is essential to provide control circuits either for the PVG voltage or for the currents injected into the grid, while maintaining the DC bus voltage, so as to obtain good module and phase accuracy and a rapid dynamic response.The EMR model and its inverse MCS allow not only to decompose the system into two or more first-order subsystems but also to make its modeling systematic in view of its setting. Moreover, thanks to this decomposition, the system and its chain of control thus obtained lead to a structure consisting of nested loops which require a cascade control. This control provides good dynamic performance and is characterized by the following properties [31]:
(i)
Cascading of two or more controllers of any type
(ii)
Since the subsystems are of the first order, it is easier to stabilize the control circuits
(iii)
The choice and dimensioning of the controller are facilitated. Conventionally, first is the control circuit of the inner loop in which the static converter control unit is treated, and then, the superposed control loop and so on are processed. In the current study, the two loops are tuned simultaneously. The block diagram of Figures2 and 3 is obtainedFigure 2
Block diagram of the PVG side.Figure 3
Block diagram of the grid side.


## 3. Presentation of the Proposed Control Strategy

The main objective in a grid-connected PV system is to ensure high performances with low costs by choosing the adequate control strategy. Furthermore, the simplicity of the control algorithm is very crucial. This section deals with the presentation of the proposed control technique used for controlling the whole system. The control chain consists of two main subsystems including the PVG-side control which ensures the maximum power extraction from the PVG by using the appropriate MPPT and the grid-side control by controlling the DC link voltage and injecting the desired power to the grid.


### 3.1. Fractional-Order PID Controller

The FOPID controller presents a generic control loop feedback mechanism which attempts to reduce the error between a measured variable and the desired set point of a process. The generalized transfer function is given by(1)Cs=UsEs=KP+KIsλKDsμλ,μ≥0,where Cs represents the controller output; Us and Es are the control signal and the error signal, respectively; KP, KI, and Kd are the proportional, integral, and derivative constant gains, respectively; λ is the order of integration; and μ is the order of differentiator [31].Ifλ=1 and μ=1, a classical PID controller is recovered. The FOPID controller generalizes the PID controller and expands it from point to plane by moving in the quarter plane defined by selecting the values of λ and μ instead of jumping between four points. In general, researchers are using a range of 0 to 2 as the order of the FOPID.


### 3.2. TLBO-Based FOPID Tuning

This optimization technique was firstly invented by Rao et al. in 2011 [32]. Since then, TLBO has been rapidly emerged as a powerful optimization tool owing to the high-quality solutions and the good convergence it gives. It imitates the teaching and learning process between the teacher and learners in the class.TLBO is based on a randomly generated population which consists of a class of students and it relies on two modes:(i)
Teacher mode where teachers learn students in a perfect way
(ii)
Learners’ mode where learning is made through interaction between learnersInitially, a matrix ofN rows and D columns is randomly generated where N represents the random initial population of initial solutions and D is the dimension of each vector (number of subjects).Thejth parameter of the ith vector in the first generation is chosen randomly using the equation below:
(2)xi,j1=xjmin+randi,jxjmax−xjmin,with randi,j∈0.1.Theith learner’s vector for the gth generation can be expressed by
(3)Xig=Xi,1g,Xi,2g,…,Xi,jg,…,Xi,Dg.In the teacher mode, the student’s result of an exam in a subject represents the fitness function to be optimized and the best learner becomes the teacher. The learners are motivated by the teacher and try to improve their own performance. Thus, the performance of each learner improves continuously through the process of information sharing between the teacher and learners.The vector below contains the learners’ mean in the class for each subject at thegth iteration. The teacher has always the best mean.
(4)Mg=∑i=1Nxi,1gNi=1N∑i=1Nxi,2gNi=1N…∑i=1Nxi,jgNi=1N…∑i=1Nxi,DgNi=1N.A randomly weighted differential vector is formed and added to the existing population of learners according to the actual mean and the desired mean vector in order to get a new set of improved learners.(5)Xnewig=Xig+randgXteacherg−TFMg,where TF is randomly selected at each iteration (1 or 2). Each teacher improves the mean result of the class in the subject in charge of. Bad learners of the population are replaced by the best learners found through this phase.In the learner mode, learners interact with each other as well as with the teacher in order to boost their proficiency and facilitate the knowledge sharing.This process of mutual interaction is randomly made. In fact, two learnersXig and Xrg are randomly chosen (i≠r).Theith vector of the Xnew matrix is given by
(6)Xnewig=Xig+randigXig−XrgsiYig<Yrg,Xig+randigXrg−Xig.In this proposed work, the optimal values of the FOPID controllers’ gains are obtained using the TLBO algorithm. The performance of many optimization techniques in the literature depends on the appropriate setting of certain control parameters. In the differential evolution algorithm, the control parameters are the scale factor and the crossing rate; in the PSO algorithm, the control parameters are the inertia weightω, social and cognitive parameters (c1 and c2, respectively). The selection of these parameters is crucial to the performance of the algorithms. However, the TLBO algorithm does not require any control parameters. As it is a parameter-free algorithm, it is simple, efficient, and fast.The proposed TLBO-based control ensures the optimum power transfer from the PV panel to the grid. In order to prove its reliability, the model of the whole system has been designed using MATLAB/Simulink software. The model has been then tested under different operating conditions. The control strategy is designed to tune the parameters (Kp, Ki, Kd, λ, and μ) of the FOPID/FOPID cascade controllers simultaneously in order to maintain the stability of the entire control system. The algorithm searches for the five controller parameters that most optimize the power transfer from the PVG to the grid. The optimization algorithm gradually and iteratively minimizes the integral performance index while finding the optimal set of parameters for FOPID/FOPID controllers following the steps described above. The algorithm ends if the value of the fitness function is kept constant appreciably over a few successive iterations.


### 3.3. Fitness Function

In order to prove the reliability of the proposed cascade control, it is implemented in the grid-connected PV system. Very limited researches which develop guidelines for tuning a FOPID controller are available. Reference [33] highlights the relationships between the order of differentiation (μ) and integration (λ) and the time domain specifications. The existence of a particular relationship between μ and the maximum overshoot has been proven. That is why the maximum overshoot is an important characteristic of a control system, and it is used as a measure of performance for optimization of the FOPID controller.For each loop in the subsystem, controller performances are evaluated according the following fitness function as illustrated in equation (7) and equation (8).
(7)overshoot=maxYout−Yref,(8)F=α.overshoot+β.ITAE.As there is no preference between the two objectives,α=β=0.5.


## 3.1. Fractional-Order PID Controller

The FOPID controller presents a generic control loop feedback mechanism which attempts to reduce the error between a measured variable and the desired set point of a process. The generalized transfer function is given by(1)Cs=UsEs=KP+KIsλKDsμλ,μ≥0,where Cs represents the controller output; Us and Es are the control signal and the error signal, respectively; KP, KI, and Kd are the proportional, integral, and derivative constant gains, respectively; λ is the order of integration; and μ is the order of differentiator [31].Ifλ=1 and μ=1, a classical PID controller is recovered. The FOPID controller generalizes the PID controller and expands it from point to plane by moving in the quarter plane defined by selecting the values of λ and μ instead of jumping between four points. In general, researchers are using a range of 0 to 2 as the order of the FOPID.


## 3.2. TLBO-Based FOPID Tuning

This optimization technique was firstly invented by Rao et al. in 2011 [32]. Since then, TLBO has been rapidly emerged as a powerful optimization tool owing to the high-quality solutions and the good convergence it gives. It imitates the teaching and learning process between the teacher and learners in the class.TLBO is based on a randomly generated population which consists of a class of students and it relies on two modes:(i)
Teacher mode where teachers learn students in a perfect way
(ii)
Learners’ mode where learning is made through interaction between learnersInitially, a matrix ofN rows and D columns is randomly generated where N represents the random initial population of initial solutions and D is the dimension of each vector (number of subjects).Thejth parameter of the ith vector in the first generation is chosen randomly using the equation below:
(2)xi,j1=xjmin+randi,jxjmax−xjmin,with randi,j∈0.1.Theith learner’s vector for the gth generation can be expressed by
(3)Xig=Xi,1g,Xi,2g,…,Xi,jg,…,Xi,Dg.In the teacher mode, the student’s result of an exam in a subject represents the fitness function to be optimized and the best learner becomes the teacher. The learners are motivated by the teacher and try to improve their own performance. Thus, the performance of each learner improves continuously through the process of information sharing between the teacher and learners.The vector below contains the learners’ mean in the class for each subject at thegth iteration. The teacher has always the best mean.
(4)Mg=∑i=1Nxi,1gNi=1N∑i=1Nxi,2gNi=1N…∑i=1Nxi,jgNi=1N…∑i=1Nxi,DgNi=1N.A randomly weighted differential vector is formed and added to the existing population of learners according to the actual mean and the desired mean vector in order to get a new set of improved learners.(5)Xnewig=Xig+randgXteacherg−TFMg,where TF is randomly selected at each iteration (1 or 2). Each teacher improves the mean result of the class in the subject in charge of. Bad learners of the population are replaced by the best learners found through this phase.In the learner mode, learners interact with each other as well as with the teacher in order to boost their proficiency and facilitate the knowledge sharing.This process of mutual interaction is randomly made. In fact, two learnersXig and Xrg are randomly chosen (i≠r).Theith vector of the Xnew matrix is given by
(6)Xnewig=Xig+randigXig−XrgsiYig<Yrg,Xig+randigXrg−Xig.In this proposed work, the optimal values of the FOPID controllers’ gains are obtained using the TLBO algorithm. The performance of many optimization techniques in the literature depends on the appropriate setting of certain control parameters. In the differential evolution algorithm, the control parameters are the scale factor and the crossing rate; in the PSO algorithm, the control parameters are the inertia weightω, social and cognitive parameters (c1 and c2, respectively). The selection of these parameters is crucial to the performance of the algorithms. However, the TLBO algorithm does not require any control parameters. As it is a parameter-free algorithm, it is simple, efficient, and fast.The proposed TLBO-based control ensures the optimum power transfer from the PV panel to the grid. In order to prove its reliability, the model of the whole system has been designed using MATLAB/Simulink software. The model has been then tested under different operating conditions. The control strategy is designed to tune the parameters (Kp, Ki, Kd, λ, and μ) of the FOPID/FOPID cascade controllers simultaneously in order to maintain the stability of the entire control system. The algorithm searches for the five controller parameters that most optimize the power transfer from the PVG to the grid. The optimization algorithm gradually and iteratively minimizes the integral performance index while finding the optimal set of parameters for FOPID/FOPID controllers following the steps described above. The algorithm ends if the value of the fitness function is kept constant appreciably over a few successive iterations.


## 3.3. Fitness Function

In order to prove the reliability of the proposed cascade control, it is implemented in the grid-connected PV system. Very limited researches which develop guidelines for tuning a FOPID controller are available. Reference [33] highlights the relationships between the order of differentiation (μ) and integration (λ) and the time domain specifications. The existence of a particular relationship between μ and the maximum overshoot has been proven. That is why the maximum overshoot is an important characteristic of a control system, and it is used as a measure of performance for optimization of the FOPID controller.For each loop in the subsystem, controller performances are evaluated according the following fitness function as illustrated in equation (7) and equation (8).
(7)overshoot=maxYout−Yref,(8)F=α.overshoot+β.ITAE.As there is no preference between the two objectives,α=β=0.5.


## 4. Results and Discussion

The instantaneous average model of the overall system is developed, and results of simulation of different strategies are carried out under the same conditions as follows:(9)P=1kW,C=220μF,R=100kΩ,L=23mH,C1=5000μF,R1=10kΩ,r1=0.0002Ω,L1=1mH,Ur=380V,f=50Hz.This section presents the control response of the proposed TLBO-based cascade control compared to PSO-PID, ACO-PID, and GA-FOPID for autotuning of the gains for each cascade control loop for sudden irradiation variations, sudden parametric variations, and under voltage dips of the grid.


### 4.1. Control under Sudden Irradiation Variations

Five irradiation step signals were simulated in order to evaluate the performance of the proposed algorithm. The ability of MPP tracking is demonstrated for the P&O method after every step change, and the maximum PV current and voltage are consequently extracted. Figures4 and 5 show the good tracking results obtained in case of fast-changing conditions.Figure 4
P-V curve with P&O.Figure 5
I-V curve with P&O.


#### 4.1.1. Stage 1: Cascade Control across the PVG

The simplified block diagram of the process and its control on the GPV side is shown in Figure6. It shows that the Upv voltage control of the PVG leads to a structure made up of two nested loops. As it can be seen, there are also two regulators C1s and C2s which, respectively, intervene on the current iL and the voltage Upv. These two controllers are cascaded.Figure 6
The simplified block diagram of the process.TheUpv voltage loop is the outer loop while the iL current loop is an inner loop. The inner loop has been designed to have a relatively short response time in order to promptly correct the error. The outer loop can be configured to be slower.First, the performance of the proposed algorithm is tested in each subsystem. The search for the parameters of the FOPID-FOPID controllers is carried out simultaneously, and the response corresponding to each set of gains is evaluated. The TLBO algorithm must gradually and iteratively minimize the integral performance index to find the optimal parameters for the FOPID-FOPID controllers of the inner and outer loop in order to find the best performance. The algorithm ends if the value of the fitness function is kept constant over a few successive iterations as shown in Figures7(a) and 7(b) for the inner and outer loop, respectively, on the PVG side.Figure 7
Convergence of the fitness function of the inner loopiL (a) and the outer loop Upv (b).
(a)
(b)The TLBO algorithm is simulated with a small population size. This specification is important in order to allow a faster adjustment. In this study, the size of the initial populations is set at 20 for all control loops while the maximum number of iterations is set at 30.The gains of the controllers used for all loops on the GPV side are shown in Table1. By providing better performance, FOPI controllers can be used instead of FOPID controllers, thanks to the reduced order of the inner loop subsystem.Table 1
Controller parameters of theUpv loop.
Parameters
P
I
D
Λ
Μ
PSO-PID
0.3448
0.0869
0
_
_
TLBO-FOPID
1.45974
0.03948
0.00597
0.88048
0.46836
ACO-PID
0.6232
2.3787
0
_
_
GA-FOPID
0.2783
0.0095
0
1.1049
0.3005For the tuning of theUpv loop, cascade control is obtained by controlling the two processes where the output of the inner process feeds the external process. The value of the fitness function reaches a minimal value after 28 iterations. The MPP search is performed simultaneously using the P&O algorithm. Controller gains of the current loop are shown in Table 2.Table 2
Controller parameters of theiL loop.
Parameters
P
I
D
Λ
Μ
PSO-PID
166.7585
617.1194
0
_
_
TLBO-FOPID
22.40959
0.14503
0
0.10325
0
ACO-PID
0.67797
0.89969
0.18383
_
_
GA-FOPID
228.1800
18.7110
0
0.1768
0.4135The simulation results are shown in Figure8 for the PVG-side control. The results in the figure below show that the TLBO-based FOPID offers good performance for reference tracking. When the irradiation changes from one level to another, the FOPID-FOPID controller is able to quickly track the new power level for each subsystem.Figure 8
Upv voltage at varying irradiation.ACO-PID is less reliable than the PSO-PID and GA-FOPID. When the irradiation moves from one level to another, the TLBO-based FOPID tracks quickly the new power level. However, ACO-PID takes more time to find the steady state (Trise=0.5 s).


#### 4.1.2. Stage 2 Grid-Side Control

The purpose of the control is to keep the DC bus voltage constant regardless of the power variation. The tuning of theUdc outer loop by the TLBO-based FOPID controller is completed after 30 iterations as shown in Figure 9. The value of the fitness function reaches a minimum value after 27 iterations (outer loop).Figure 9
Convergence of the fitness function of the inner loopidq (a) and the outer loop Udc (b).
(a)
(b)Figure10 validates the DC bus controller which ensures a good monitoring of the DC voltage measured in relation to its reference. It can be seen that when the power increases, the DC voltage tries to increase simultaneously.Figure 10
Udc link voltage at varying irradiation.The FOPID controller very quickly reduces the error and always maintains the DC bus voltage at the same constant value (700 V).Table3 indicates the controller gains of the DC link voltage loop while Table 4 enumerates the controller gains of the grid current loop.Table 3
Controller parameters of theUdc loop.
Parameters
P
I
D
Λ
Μ
PSO-PID
10
10
0
_
_
TLBO-FOPID
1.35201
1.08842
0.018702
0.30639
0.044487
ACO-PID
0.4633
0.5796
0
_
_
GA-FOPID
0.50140
0.0068
0
1.0748
0.08004Table 4
Controller parameters ofidq loop.
Parameters
P
I
D
Λ
Μ
PSO-PID
156.4459
2.3633
0
_
_
TLBO-FOPID
8.0678
37.2269
6.6273
0.3780
0.0879
ACO-PID
0.0803
1.07
0.3727
_
_
GA-FOPID
0.2783
0.0095
0
1.1049
0.3005Figures11–14 show the behavior of the grid current that is controlled in the inner loop with adequate control simultaneously with the DC bus voltage of the outer loop. The simulation is performed for a unity power factor under variable atmospheric conditions. No reactive power will be supplied to the grid since the voltage and current will be in phase with each other.Figure 11
Grid currents (GA-FOPID control).Figure 12
Grid currents (ACO-PID control).Figure 13
Grid currents (TLBO-FOPID).Figure 14
Grid currents (PSO-PID).From Figure13, it is clear that the TLBO cascade control is capable of generating the desired current. There is no phase difference between the grid voltage and the voltage for the designed controller. Indeed, the current loop regulator is validated and we can see that the measured current signals follow their references.


### 4.2. Control under Voltage Dips without Current Limitation

The target of the TLBO-FOPID control consists on keeping the DC link voltage stable independently of the power variation. Figure15 highlights the impact of a grid voltage dip as depicted in Figure 16 for a constant irradiation G=1000 G/m2 on the grid currents.Figure 15
Voltage dip effect on grid currents without limitation by using (a) PSO-PID; (b) TLBO-FOPID; (c) ACO-PID; (d) GA-FOPID.
(a)
(b)
(c)
(d)Figure 16
Voltage dip att=0.8s,0.9s.Figure17 validates the DC link voltage controller which is able to force the measured DC link voltage to track its reference when the system experiences a 50% voltage dip without limitation of the grid current amplitude at t=0.8s,0.9s. This defect involves an increase in the grid currents as portrayed in Figure 15, whereas Udc remains constant thanks to the MPPT algorithm. Results of the control strategies are approximately similar.Figure 17
Voltage dip effect on DC link voltage without limitation by using (a) PSO-PID; (b) TLBO-FOPID; (c) ACO-PID; (d) GA-FOPID.
(a)
(b)
(c)
(d)


### 4.3. Control under Voltage Dips with Current Limitation

Similarly, Figures18 and 19 highlight the impact of the same voltage dip of the grid on the DC link voltage and the grid currents with limitation of their amplitudes. This limitation provokes an increase in DC link voltage as illustrated in Figure 19. Results are close and the robustness of the control techniques is proven if such a defect occurs.Figure 18
Voltage dip effect on grid currents with limitation by using (a) PSO-PID; (b) GA-FOPID; (c) ACO-PID; (d) TLBO-FOPID.
(a)
(b)
(c)
(d)Figure 19
Voltage dip effect on DC link voltage with limitation by using (a) PSO-PID; (b) GA-FOPID; (c) ACO-PID; (d) TLBO-FOPID.
(a)
(b)
(c)
(d)


### 4.4. Control under Parametric Variation

A reduction of 50% of resistancer1 leads to an increase of 100% of the time constant (T1=L1/r1) as shown in Figure 20. The results of simulation given in Figure 21 prove the reliability of the cascade TLBO-FOPID control to sudden parametric variations of the system as compared to the other controllers. In fact, only the TLBO-FOPID controller shows ability to deliver the desired output power to the grid with a unity power factor; in other words, TLBO-FOPID keeps the output current in phase with the grid voltage. However, the ACO-PID controller is unable to address this defect since the steady state has not been reached yet when the resistance value varies.Figure 20
Time constant of the line.Figure 21
The effect of line resistance sudden decrease on the grid currents by using (a) PSO-PID; (b) TLBO-FOPID; (c) ACO-PID; (d) GA-FOPID.
(a)
(b)
(c)
(d)


## 4.1. Control under Sudden Irradiation Variations

Five irradiation step signals were simulated in order to evaluate the performance of the proposed algorithm. The ability of MPP tracking is demonstrated for the P&O method after every step change, and the maximum PV current and voltage are consequently extracted. Figures4 and 5 show the good tracking results obtained in case of fast-changing conditions.Figure 4
P-V curve with P&O.Figure 5
I-V curve with P&O.


### 4.1.1. Stage 1: Cascade Control across the PVG

The simplified block diagram of the process and its control on the GPV side is shown in Figure6. It shows that the Upv voltage control of the PVG leads to a structure made up of two nested loops. As it can be seen, there are also two regulators C1s and C2s which, respectively, intervene on the current iL and the voltage Upv. These two controllers are cascaded.Figure 6
The simplified block diagram of the process.TheUpv voltage loop is the outer loop while the iL current loop is an inner loop. The inner loop has been designed to have a relatively short response time in order to promptly correct the error. The outer loop can be configured to be slower.First, the performance of the proposed algorithm is tested in each subsystem. The search for the parameters of the FOPID-FOPID controllers is carried out simultaneously, and the response corresponding to each set of gains is evaluated. The TLBO algorithm must gradually and iteratively minimize the integral performance index to find the optimal parameters for the FOPID-FOPID controllers of the inner and outer loop in order to find the best performance. The algorithm ends if the value of the fitness function is kept constant over a few successive iterations as shown in Figures7(a) and 7(b) for the inner and outer loop, respectively, on the PVG side.Figure 7
Convergence of the fitness function of the inner loopiL (a) and the outer loop Upv (b).
(a)
(b)The TLBO algorithm is simulated with a small population size. This specification is important in order to allow a faster adjustment. In this study, the size of the initial populations is set at 20 for all control loops while the maximum number of iterations is set at 30.The gains of the controllers used for all loops on the GPV side are shown in Table1. By providing better performance, FOPI controllers can be used instead of FOPID controllers, thanks to the reduced order of the inner loop subsystem.Table 1
Controller parameters of theUpv loop.
Parameters
P
I
D
Λ
Μ
PSO-PID
0.3448
0.0869
0
_
_
TLBO-FOPID
1.45974
0.03948
0.00597
0.88048
0.46836
ACO-PID
0.6232
2.3787
0
_
_
GA-FOPID
0.2783
0.0095
0
1.1049
0.3005For the tuning of theUpv loop, cascade control is obtained by controlling the two processes where the output of the inner process feeds the external process. The value of the fitness function reaches a minimal value after 28 iterations. The MPP search is performed simultaneously using the P&O algorithm. Controller gains of the current loop are shown in Table 2.Table 2
Controller parameters of theiL loop.
Parameters
P
I
D
Λ
Μ
PSO-PID
166.7585
617.1194
0
_
_
TLBO-FOPID
22.40959
0.14503
0
0.10325
0
ACO-PID
0.67797
0.89969
0.18383
_
_
GA-FOPID
228.1800
18.7110
0
0.1768
0.4135The simulation results are shown in Figure8 for the PVG-side control. The results in the figure below show that the TLBO-based FOPID offers good performance for reference tracking. When the irradiation changes from one level to another, the FOPID-FOPID controller is able to quickly track the new power level for each subsystem.Figure 8
Upv voltage at varying irradiation.ACO-PID is less reliable than the PSO-PID and GA-FOPID. When the irradiation moves from one level to another, the TLBO-based FOPID tracks quickly the new power level. However, ACO-PID takes more time to find the steady state (Trise=0.5 s).


### 4.1.2. Stage 2 Grid-Side Control

The purpose of the control is to keep the DC bus voltage constant regardless of the power variation. The tuning of theUdc outer loop by the TLBO-based FOPID controller is completed after 30 iterations as shown in Figure 9. The value of the fitness function reaches a minimum value after 27 iterations (outer loop).Figure 9
Convergence of the fitness function of the inner loopidq (a) and the outer loop Udc (b).
(a)
(b)Figure10 validates the DC bus controller which ensures a good monitoring of the DC voltage measured in relation to its reference. It can be seen that when the power increases, the DC voltage tries to increase simultaneously.Figure 10
Udc link voltage at varying irradiation.The FOPID controller very quickly reduces the error and always maintains the DC bus voltage at the same constant value (700 V).Table3 indicates the controller gains of the DC link voltage loop while Table 4 enumerates the controller gains of the grid current loop.Table 3
Controller parameters of theUdc loop.
Parameters
P
I
D
Λ
Μ
PSO-PID
10
10
0
_
_
TLBO-FOPID
1.35201
1.08842
0.018702
0.30639
0.044487
ACO-PID
0.4633
0.5796
0
_
_
GA-FOPID
0.50140
0.0068
0
1.0748
0.08004Table 4
Controller parameters ofidq loop.
Parameters
P
I
D
Λ
Μ
PSO-PID
156.4459
2.3633
0
_
_
TLBO-FOPID
8.0678
37.2269
6.6273
0.3780
0.0879
ACO-PID
0.0803
1.07
0.3727
_
_
GA-FOPID
0.2783
0.0095
0
1.1049
0.3005Figures11–14 show the behavior of the grid current that is controlled in the inner loop with adequate control simultaneously with the DC bus voltage of the outer loop. The simulation is performed for a unity power factor under variable atmospheric conditions. No reactive power will be supplied to the grid since the voltage and current will be in phase with each other.Figure 11
Grid currents (GA-FOPID control).Figure 12
Grid currents (ACO-PID control).Figure 13
Grid currents (TLBO-FOPID).Figure 14
Grid currents (PSO-PID).From Figure13, it is clear that the TLBO cascade control is capable of generating the desired current. There is no phase difference between the grid voltage and the voltage for the designed controller. Indeed, the current loop regulator is validated and we can see that the measured current signals follow their references.


## 4.1.1. Stage 1: Cascade Control across the PVG

The simplified block diagram of the process and its control on the GPV side is shown in Figure6. It shows that the Upv voltage control of the PVG leads to a structure made up of two nested loops. As it can be seen, there are also two regulators C1s and C2s which, respectively, intervene on the current iL and the voltage Upv. These two controllers are cascaded.Figure 6
The simplified block diagram of the process.TheUpv voltage loop is the outer loop while the iL current loop is an inner loop. The inner loop has been designed to have a relatively short response time in order to promptly correct the error. The outer loop can be configured to be slower.First, the performance of the proposed algorithm is tested in each subsystem. The search for the parameters of the FOPID-FOPID controllers is carried out simultaneously, and the response corresponding to each set of gains is evaluated. The TLBO algorithm must gradually and iteratively minimize the integral performance index to find the optimal parameters for the FOPID-FOPID controllers of the inner and outer loop in order to find the best performance. The algorithm ends if the value of the fitness function is kept constant over a few successive iterations as shown in Figures7(a) and 7(b) for the inner and outer loop, respectively, on the PVG side.Figure 7
Convergence of the fitness function of the inner loopiL (a) and the outer loop Upv (b).
(a)
(b)The TLBO algorithm is simulated with a small population size. This specification is important in order to allow a faster adjustment. In this study, the size of the initial populations is set at 20 for all control loops while the maximum number of iterations is set at 30.The gains of the controllers used for all loops on the GPV side are shown in Table1. By providing better performance, FOPI controllers can be used instead of FOPID controllers, thanks to the reduced order of the inner loop subsystem.Table 1
Controller parameters of theUpv loop.
Parameters
P
I
D
Λ
Μ
PSO-PID
0.3448
0.0869
0
_
_
TLBO-FOPID
1.45974
0.03948
0.00597
0.88048
0.46836
ACO-PID
0.6232
2.3787
0
_
_
GA-FOPID
0.2783
0.0095
0
1.1049
0.3005For the tuning of theUpv loop, cascade control is obtained by controlling the two processes where the output of the inner process feeds the external process. The value of the fitness function reaches a minimal value after 28 iterations. The MPP search is performed simultaneously using the P&O algorithm. Controller gains of the current loop are shown in Table 2.Table 2
Controller parameters of theiL loop.
Parameters
P
I
D
Λ
Μ
PSO-PID
166.7585
617.1194
0
_
_
TLBO-FOPID
22.40959
0.14503
0
0.10325
0
ACO-PID
0.67797
0.89969
0.18383
_
_
GA-FOPID
228.1800
18.7110
0
0.1768
0.4135The simulation results are shown in Figure8 for the PVG-side control. The results in the figure below show that the TLBO-based FOPID offers good performance for reference tracking. When the irradiation changes from one level to another, the FOPID-FOPID controller is able to quickly track the new power level for each subsystem.Figure 8
Upv voltage at varying irradiation.ACO-PID is less reliable than the PSO-PID and GA-FOPID. When the irradiation moves from one level to another, the TLBO-based FOPID tracks quickly the new power level. However, ACO-PID takes more time to find the steady state (Trise=0.5 s).


## 4.1.2. Stage 2 Grid-Side Control

The purpose of the control is to keep the DC bus voltage constant regardless of the power variation. The tuning of theUdc outer loop by the TLBO-based FOPID controller is completed after 30 iterations as shown in Figure 9. The value of the fitness function reaches a minimum value after 27 iterations (outer loop).Figure 9
Convergence of the fitness function of the inner loopidq (a) and the outer loop Udc (b).
(a)
(b)Figure10 validates the DC bus controller which ensures a good monitoring of the DC voltage measured in relation to its reference. It can be seen that when the power increases, the DC voltage tries to increase simultaneously.Figure 10
Udc link voltage at varying irradiation.The FOPID controller very quickly reduces the error and always maintains the DC bus voltage at the same constant value (700 V).Table3 indicates the controller gains of the DC link voltage loop while Table 4 enumerates the controller gains of the grid current loop.Table 3
Controller parameters of theUdc loop.
Parameters
P
I
D
Λ
Μ
PSO-PID
10
10
0
_
_
TLBO-FOPID
1.35201
1.08842
0.018702
0.30639
0.044487
ACO-PID
0.4633
0.5796
0
_
_
GA-FOPID
0.50140
0.0068
0
1.0748
0.08004Table 4
Controller parameters ofidq loop.
Parameters
P
I
D
Λ
Μ
PSO-PID
156.4459
2.3633
0
_
_
TLBO-FOPID
8.0678
37.2269
6.6273
0.3780
0.0879
ACO-PID
0.0803
1.07
0.3727
_
_
GA-FOPID
0.2783
0.0095
0
1.1049
0.3005Figures11–14 show the behavior of the grid current that is controlled in the inner loop with adequate control simultaneously with the DC bus voltage of the outer loop. The simulation is performed for a unity power factor under variable atmospheric conditions. No reactive power will be supplied to the grid since the voltage and current will be in phase with each other.Figure 11
Grid currents (GA-FOPID control).Figure 12
Grid currents (ACO-PID control).Figure 13
Grid currents (TLBO-FOPID).Figure 14
Grid currents (PSO-PID).From Figure13, it is clear that the TLBO cascade control is capable of generating the desired current. There is no phase difference between the grid voltage and the voltage for the designed controller. Indeed, the current loop regulator is validated and we can see that the measured current signals follow their references.


## 4.2. Control under Voltage Dips without Current Limitation

The target of the TLBO-FOPID control consists on keeping the DC link voltage stable independently of the power variation. Figure15 highlights the impact of a grid voltage dip as depicted in Figure 16 for a constant irradiation G=1000 G/m2 on the grid currents.Figure 15
Voltage dip effect on grid currents without limitation by using (a) PSO-PID; (b) TLBO-FOPID; (c) ACO-PID; (d) GA-FOPID.
(a)
(b)
(c)
(d)Figure 16
Voltage dip att=0.8s,0.9s.Figure17 validates the DC link voltage controller which is able to force the measured DC link voltage to track its reference when the system experiences a 50% voltage dip without limitation of the grid current amplitude at t=0.8s,0.9s. This defect involves an increase in the grid currents as portrayed in Figure 15, whereas Udc remains constant thanks to the MPPT algorithm. Results of the control strategies are approximately similar.Figure 17
Voltage dip effect on DC link voltage without limitation by using (a) PSO-PID; (b) TLBO-FOPID; (c) ACO-PID; (d) GA-FOPID.
(a)
(b)
(c)
(d)


## 4.3. Control under Voltage Dips with Current Limitation

Similarly, Figures18 and 19 highlight the impact of the same voltage dip of the grid on the DC link voltage and the grid currents with limitation of their amplitudes. This limitation provokes an increase in DC link voltage as illustrated in Figure 19. Results are close and the robustness of the control techniques is proven if such a defect occurs.Figure 18
Voltage dip effect on grid currents with limitation by using (a) PSO-PID; (b) GA-FOPID; (c) ACO-PID; (d) TLBO-FOPID.
(a)
(b)
(c)
(d)Figure 19
Voltage dip effect on DC link voltage with limitation by using (a) PSO-PID; (b) GA-FOPID; (c) ACO-PID; (d) TLBO-FOPID.
(a)
(b)
(c)
(d)


## 4.4. Control under Parametric Variation

A reduction of 50% of resistancer1 leads to an increase of 100% of the time constant (T1=L1/r1) as shown in Figure 20. The results of simulation given in Figure 21 prove the reliability of the cascade TLBO-FOPID control to sudden parametric variations of the system as compared to the other controllers. In fact, only the TLBO-FOPID controller shows ability to deliver the desired output power to the grid with a unity power factor; in other words, TLBO-FOPID keeps the output current in phase with the grid voltage. However, the ACO-PID controller is unable to address this defect since the steady state has not been reached yet when the resistance value varies.Figure 20
Time constant of the line.Figure 21
The effect of line resistance sudden decrease on the grid currents by using (a) PSO-PID; (b) TLBO-FOPID; (c) ACO-PID; (d) GA-FOPID.
(a)
(b)
(c)
(d)


## 5. Conclusion

A comparative assessment between the proposed TLBO-FOPID and three controllers is presented in this paper, namely, GA-FOPID, PSO-PID, and ACO-PID for a grid-connected PV system. For superior tracking efficiency, a P&O-based MPPT algorithm is employed to extract the maximum power from PV panels. All of the control strategies are designed for controlling all cascade loops in the conversion chain in order to eliminate the grid current harmonics. Performances of the controllers are compared when fast-changing solar irradiation, voltage dip, and parametric variations of the system are experienced. The TLBO-FOPID addresses all the already quoted challenges. Simulations have been conducted using MATLAB/Simulink validating the functionality, robustness, and simplicity of the algorithm compared with the other metaheuristic techniques.



---

*Source: 4325648-2019-05-16.xml*