Abstract

Photovoltaic (PV) research is rapidly growing, and the need for controlled environments to validate new MPPT controllers is becoming increasingly important. Currently, researchers face several challenges in testing MPPT algorithms due to the unpredictable nature of solar PV power generation. In this paper, we propose a new photovoltaic emulator (PVE) that could replace solar panels and ensure a highly controllable environment suitable for testing photovoltaic (PV) systems. In this PVE, the complex nonlinear equations of the PV cell/module are fast computed and resolved by a new linearization technique which involves the systematic breakdown of the current-voltage (-) curve of the PV into twelve linear segments. Based on input environmental conditions, an artificial neural network (ANN) was constructed to assist the linearization process by predicting the current-voltage boundary coordinates of these segments. Using simple linear equations, with the segment boundary coordinates, a reference voltage was generated for the PVE. A nonlinear backstepping controller was designed to exploit the reference voltage and stabilize the power conversion stage (PCS). The PVE was optimized using particle swarm optimization (PSO). Several tests have shown that the proposed nonlinear controller provides better dynamic and robust performance than the PI controller, the most reputable and recurrent control method in the area of PVE. The PVE was coupled with a recently proposed integral backstepping MPPT controller and analyzed under several dynamic conditions, including the MPPT test specified by EN 50530. It was found that the accuracy of the proposed PVE measured by its relative error is less than 0.5%, with an MPPT efficiency of greater than 99.5%. The attractive results achieved by this PVE make it especially suitable for simulating and validating MPPT controllers.

1. Introduction

The last decade has seen tremendous attention given to renewable energies. There is no doubt that resorting to renewable energy sources is one of the most effective alternatives to accelerate the energy transition. Thus, renewable energy progress has been promising, with recent estimates from the International Energy Agency (IEA) suggesting that 2022 was a record year for renewable energy, with an estimated 340 GW of capacity. The IEA reports that even though renewable energy deployment is on the rise, its global contribution must grow faster by 2050 to achieve net zero emissions, where renewable energy generates more than 60% of electricity by 2030. Consequently, there has been a dramatic increase in the penetration of renewable energy sources (RSEs) into the grid [1, 2]. It has been shown that microgrids [3, 4] are a promising way to supply electrical power to isolated rural communities that are not accessible to main power grids [5] As solar PV power is integrated into the grid, it is necessary to consider topics such as maximum power point tracking (MPPT), grid inverters, modulation and propagation of harmonic signals, and others [6]. Currently, there is a growing interest in using maximum power point tracking (MPPT) as a method of optimizing solar PV systems. As a result, several MPPT algorithms/controllers have been developed during the last year, and more are expected as PV system research continues to be stimulated. Therefore, as photovoltaic (PV) research grows, it becomes important to seek a controllable environment to properly simulate and validate new MPPT controllers. Currently, researchers are facing several problems in testing maximum power point-tracking algorithms and controllers. This is attributable to the fact that solar PV power generation depends on uncontrollable environmental conditions including irradiance and temperature. Therefore, the challenge in testing new MPPT controllers lies in ensuring that a controllable environment is available, which is often a daunting task. To address these problems, PV emulators have been proposed as a replacement for PV systems [710], allowing researchers to easily set up testing profiles.

The photovoltaic emulator (PVE) is a power electronic-based system that simulates the static and dynamic characteristics of solar cells in a wide range of conditions [8]. One of the most important subsystems of a PVE is the power conversion stage (PCS), which can either be linear [10] or nonlinear [11]. Although PVEs based on linear power supplies perform exceptionally well, their efficiency is seldom high, making them suitable only for low-power applications. In contrast, PVEs based on a nonlinear power supply provide better performance at higher efficiency and lower cost; hence, they are suitable for relatively higher power applications.

By employing a buck converter in the power conversion stage (PCS) and the PI controller in the control stage, Ref. [12] proposed a dynamic PVE emulator with attractive dynamic and static performances. Although their emulator showed attractive performances, its main flaw is the low-level control in the power stage, typically by the use of a PI controller. Although the PI controller provides a simple control solution, it requires linearization of the system under control over a small operating region. To generate similar features as an actual PV, the photovoltaic emulator (PVE) should operate over a broad spectrum. Therefore, linearizing the power conversion stage as performed in [12] makes the PVE functional within the small region from which the linearized models were obtained. Additionally, certain nonlinear and robust features necessary for a PVE are destroyed in the process of linearization. In addition to dynamic features, the PVE is supposed to be accurate. Therefore, the control stage is usually fed by a reference voltage or current signal. The researchers [1214] resorted to the analytical and numerical methods for resolving the nonlinear complex mathematical equations of the PV cell/module to provide a reference signal to the PI controller. The accurate design of a PVE system based on analytical or numerical resolutions is difficult; in particular, the nonlinear current-voltage (-) curves of the PV demand significant computational effort and resources. One of the main challenges in the design of the PVE is the complex resolution of the nonlinear equations of the PV model [15].

The research work in [15] addressed the challenge of resolving the nonlinear equations of the PV by linearizing the - curve into four linear segments. Treating the - curve by linearization offers several benefits over the analytical or numerical approaches, principally because it is simple and demands lower computational efforts. Hence, the works of [15] encompass all these rich benefits. However, its main limitation lies in the weak accuracy achieved by considering just four linear segments in resolving the whole - curve. Additionally, the work was not extended to an MPPT context. Moreover, by employing a PI controller in their control loop [15], the PVE will exhibit similar limitations as was previously discussed. As could be seen in [15], the PVE demonstrated a weak dynamic response to changing load and irradiance, respectively.

By resorting to an instantaneous output impedance matching (IOIM) controller, Ref. [7] tackled the dynamical problems of the PVE. The IOIM is based on load resistance feedback which generates the PVE voltage reference signal and an inner boundary control (BC) scheme that regulates the converter at the given reference. The conventional PVE suffers from oscillation in one region of operation (i.e., in constant voltage region (CVR) with current-mode control and constant current region (CCR) with voltage-mode (VM) control) as the feedback signal always has an ac ripple [7]. The oscillation-based ripple problem in the PVE control was addressed in [7], by employing load resistance feedback in the reference voltage generation algorithm. Their works show attractive results, however limited by 2 facts; the control scheme is linear PI based, and secondly, the reference generation is inherently based on the lookup table which has a very limited range of operation. A similar resistance feedback PVE developed by [16] addressed the problem of control in the PVE, but the overlinearity of the system using the PI linear controller reduces the range of operation and sacrifices the dynamic robustness of the PVE.

In this paper, a new photovoltaic emulator (PVE) is proposed to emulate the full dynamic and static characteristics of the PV cell/module. To guarantee a broad spectrum of operation, as well as ensure the highly robust dynamic performance of the PVE, we resort to a nonlinear control strategy to stabilize the power conversion stage of the PVE. Furthermore, to consolidate simplicity in treating and resolving the nonlinear complex equations of the PV, we propose a new linearization that involves piecewise linearization of the - curve into 12 segments. The strength of the proposed PVE is confirmed by testing it with a nonlinear MPPT controller. The proposed PVE and its control strategy was found better than the PI controller, which is the most reputable control technique in the current literature of PVE. Furthermore, by resorting to a higher order segmentation approach, the proposed PVE archives higher accuracy than the four segment-based PVE approach in [15]. The excellent and promising results achieved by the proposed PVE show that it is very suitable for simulating and validating MPPT controllers. The rest of the paper is composed as follows. The model of the reference PV is presented in Section 2. In Section 3, the proposed PVE is designed and elaborated from a subsystem point of view. The proposed PVE-coupled MPPT system is discussed in Section 4. The results of this paper are presented and discussed in Section 5, while a conclusion is provided in Section 6.

2. Modelling of the Reference PV Model

The equivalent circuit of the PV reference model is shown in Figure 1. It is based on the single diode which offers a good compromise between complexity and performance [1720]. It consists mainly of a photocurrent source that responds to irradiance () through the flow of current , a diode , carrying current , the parallel and series resistors , carrying current and , respectively. At the terminal of the cell, a voltage termed is available. The PV current governing the single diode can be written as

A PV power system will often contain a large number of cells in series and in parallel , to match a particular level of voltage/power rating. In Equation (1), , , , , and are the charge constant, diode ideality factor, Boltzmann constant, cell operating temperature, and diode saturation current, respectively. From the same equation, the parameters and are environmentally dependent in one way or the other. It is therefore convenient to write as and as to convey the sense of dependence on environmental conditions and . These parameters are defined as

If that is a single PV module, as is the case in this paper. Then, Equation (1) reduced to

It can be inferred from Equations (2) and (3) that irradiance and operating temperatures are indispensable environmental parameters. The terms , , , and are the saturation current at the reference (standard test conditions (STC)), the energy gap in electron volts, the reference photocurrent, and the reference irradiance . The term is the temperature coefficient of current readily provided by the manufacturer. By inspection, we can see from Equation (4) that the relationship between the PV current and PV voltage is nonlinear. In this paper, we are going to resort to piecewise linearization to resolve this system of equations.

3. Design of the Proposed Photovoltaic Emulator

Synoptically, the proposed photovoltaic emulator (PVE) can be seen in Figure 2. It consists of an artificial neural network- (ANN-) based linear reference voltage generator, which provides a reference voltage, , to the close controlled system. The reference generator principally responds to the environmental inputs, temperature (), and irradiance (). Therefore, the operator can manually set the desired values or profiles of irradiance and temperature for his tests, hence making the overall system entirely controllable. A voltage comparator compares the error between and the actual PVE output voltage, . The resulting error is fed to a nonlinear backstepping controller (BSC). Fed with feedback measurements of the inductor current from the power conversion stage (PCS) and , the BSC ensures that the voltage error runs to zero. This is achieved by a nonlinear control law . Hence, the stability and robustness of the entire PVE lie with the nonlinear. Therefore, from a synoptic point of view, the proposed PVE is made up of three main subsystems. In this section, we are going to proceed with the subsystem-by-subsystem design of the proposed PVE.

3.1. PVE Reference Voltage Generation

Given the nonlinear inherent nature of the PV as inferred from its electrical equation, it is a huge computational burden to directly solve its - curve. This is the limitation of most PVE. To get rid of this tremendous computational burden, we are proposing to piecewise linearize the entire - curve into 12 linear segments. By using the (voltage-current) boundary coordinates of these segments, the reference voltage for the PVE can be generated. To ensure a broad environmental spectrum, an ANN can be employed to assist the linearization scheme, by predicting the boundary coordinates of these segments.

As seen in Figure 3, we propose to break down the - curve into 12 linear segments. The boundary coordinates of these segments are labeled to . We chose to assign them the following coordinate variables . We note that these coordinates appear in pair of current-voltage. This means that, from the - curve model, having the voltage value, we can directly infer its corresponding current pair.

It is imperative to precisely define the coordinates of these (-) segments. We are in a position to clearly label these points. The coordinates are obvious, since the short circuit current , maximum power point current, and voltage of the PV module can be known from the model if and are precisely available. We recall that when dealing with the coordinate (pair of current-voltage) if we have the voltage, the current can be easily extracted from the PV model. The voltage coordinate of segments , and is obtained as shown in Equation (A.1) of the appendix. Similarly, the voltage coordinate of the segments and is presented in Equation (A.2) of the Appendix. The rest of the voltage boundary coordinates are obtained as shown in Equations (A.3)–(A.6) of the appendix.

According to the Sandia International Photovoltaic Modeling Laboratory [21], the voltage coordinate point and can be obtained as and . In the proposed 12-segment linearization method, we desire that be closer to the short-circuit point () and closer to the open-circuit point. Hence, rather than taking a division by a factor of 2 in either case, we divide by 2.44 and 1.88, respectively, as inferred from Equation (A.1) of the appendix. A similar analogy is applied to the voltage coordinates of and . We seek good coverage of the - curve; therefore, we desire that the voltage coordinate of and be closer to the maximum power point (). To achieve this, there is a division by the factor of 1.88 for and by 2.44 for , as inferred from Equation (A.2) of the appendix. By looking at the boundary voltage coordinate that contains the ’s that is to , we notice that is closely bounded by two other boundary voltage coordinates. For example is bounded by and and bounded by and . Therefore, , that is, to , are obtained by taking the median of the voltage at the upper and lower bound coordinate. For example, the voltage at is the median of and . That is . Using the boundary coordinates of these 12 linear segments together with the measurement of the PVE current, the linear equation of every segment can be determined. This equation follows the form of the equation of a straight line given the gradient and the intercept; , such that are the respective slope and intercept of the line segments.

Therefore, by segmenting the - curve into these respective pieces together with their current boundary coordinates, the reference voltage for the PVE is generated. As such if the actual PVE current falls between respective current boundaries, the corresponding reference voltage equation is easily computed for that segment using the notion of . The linear equations for the respective 12 segments are presented in Equations (A.7)–(A.17) of the appendix.

It is very important to distinguish two crucial regions of the - curve known as the constant current region (CCR) and constant voltage region (CVR) as shown in Figure 4. In the CCR, a small change in the current causes a large change in voltage, while a small change of the voltage in the CVR causes the current to escalate [7]. A major problem in the control of the power stage of the PVE lies in the fact that using a voltage controller, the reference voltage oscillates in the CCR, while using a current controller the reference current oscillates in the CVR. In this work, we consider a voltage controller; therefore, to alleviate the problem of oscillatory reference voltage in the CCR, a resistance feedback technique is employed. The resistance feedback strategy makes the proposed voltage controller behave as a pure voltage controller in the CVR and a current controller in the CCR, hence solving the problem of oscillations in the control of the PVE. As seen in Figure 4, we propose to recognize the boundary of the two regions using the dotted line in Figure 4. A close inspection of this figure shows that this boundary cut the coordinate. Therefore, the CCR is the region from short-circuit () to , whose piecewise equations are defined as in Equations (A.7)–(A.11). Hence, once the CCR/CVR boundary is recognized, the CCR detected the load resistance information fed into the general linear equation of the PVE, such that in the CCR, is computed as for running from 1 to 5. This principally means that we get rid of the current control problem in the CCR as is no longer a function of the current but the load resistance hence making the control effective. Therefore, Equations (A.7)–(A.11) of the appendix, provide a versatile and accurate voltage control scheme in the CCR. Conversely, when the CVR is detected, the voltage reference for the respective coordinates will be defined as in Equations (A.12)–(A.18) of the appendix. The proposed recognition is similar to a hybrid control stage, where a voltage controller is deployed in the CVR and a current controller in the CCR.

To ensure that the PVE operates over a broad spectrum, we propose to assist the linearization process using an artificial neural network (ANN). As such, we resort to training an ANN model which will predict the (voltage-current) boundary coordinates of the 12 respective segments.

In this work, an MSX-60W solar panel [22] was modeled and used to extract data to train the ANN. Using the setup in Figure 5, a data extraction algorithm was written to extract data from the PV model. For this training, we considered operating temperatures ranging from to , in steps of with operating irradiance spanning from to in steps of . The 12 segments with boundary coordinates constitute 24 outputs for the ANN model.

The proposed linearization method was applied to the PV system under uniform irradiance conditions. The versatility of the proposed method makes it easily replicable for a PV system under partial shading conditions. A comprehensive flowchart algorithm for the proposed PVE is presented in Figure 6.

The ANN model structure is composed mainly of 2 neurons in the input layer, 10 hidden layer neurons, and 24 output neurons. Furthermore, the data ANN was trained using 70% of the dataset for training and 15%, respectively, for testing and validation. The input neurons are irradiance () and temperature (), with the output being the 24 boundary coordinates of the 12 segments. The ANN structure was trained by Levenberg-Marquardt using the extracted data. The boundary coordinates available at the output of the ANN can then be utilized by the mathematical formulations in Equations (A.7)–(A.18), to supply a reference voltage to the PVE.

3.2. Power Conversion Stage and Nonlinear Controller

The power conversion stage (PCS) and nonlinear controller form the two other important subsystems of the proposed PVE. In this work, a nonlinear switch mode power supply based on the DC-DC buck converter is considered in the power stage. The full dynamics of the converter will then be exploited to design the nonlinear controller that should stabilize the PVE.

The buck has recently received attractive attention in the design of PVE [7, 12, 13]. The electrical circuit of a buck converter is shown in Figure 7. It consists of a transistor () controlled via a PWM control law, a diode (), and two storage elements, the inductor () and capacitor; hence, the converter is a second-order system. The inductor carries current . The DC load, in this case, modeled by a resistive element () carries the output current , imposed by the PVE voltage . During the first mode of operation, the switch is on, and while the diode is blocked, the input voltage source () charges the storage elements and supplies energy to the load directly. In mode 2, the switch is off, and the diode comes on, ensuring the freewheeling of energy to the load. The parameters of the converters are chosen such it continuously operates the buck in continuous conduction mode, hence must satisfy the minimum criteria:

A good estimate of the inductor ripple current is 20% to 40% of the output current. In Equation (5), the actual inductor must be greater than , that is, . Similarly, the capacitance follows a similar design based on the desired value of output voltage ripple, where . where is the desired output voltage ripple and the switching frequency. To design a nonlinear controller for the converter, its full dynamics must be defined. Considering the averaged model of such a converter to be the following [23]: where denote the average inductor current and PVE voltage , respectively. is the average value of the duty cycle. A nonlinear controller that stabilizes the PVE can then be designed to exploit the full dynamics of Equation (7).

Unlike numerous PVE works in the literature, where the control of the PVE is based on linear control, in this work, we present a pure nonlinear controller designed to exploit the full dynamics of the converter. The nonlinear controller is based on backstepping, which is a recursive methodology, involving a systematic construction of control laws and Lyapunov functions. In the nonlinear control design, we desire to force the PVE voltage to operate at the PVE reference . Therefore, the error resulting from the deviation of the PVE voltage from the reference must turn to zero, where . Defining the dynamics of this error by taking its first derivative with the use of Equation (7), it follows that

In Equation (8), behaves as a virtual control input. Such an equation shows that one gets (, being a design parameter) provided that

Given that is just a variable and not an effective control input, Equation (8) cannot be enforced for all . However, from Equation (9), we can define the desired value of as

One defines the error between the desired and actual virtual input as

If decays asymptotically to zero, then the desired control goal stated as “ turning to zero” is achieved. To this end, the desired value of is called a stabilization function. Replacing by gives which in conjunction with Equation (10) returns

Defining the time derivative of , with Equations (7) and (11), in view of investigating its dynamics, we have that

From Equation (10), one has

Using Equations (14) and (13), we have

With the new error system , the controlled system of Equation (7) is expressed by a couple of Equations (12) and (15). It is therefore imperative to define a composite Lyapunov function that ensures that the error system vanishes to zero that is . To this end, we define the composite Lyapunov . The dynamics of via the time derivative along the path is derived as

In Equation (16), is a design parameter, chosen such that . It can be seen from Equation (16) that, if the term in brackets of that is was zero, then the derivative of the Lyapunov function would be negative which warrants the global asymptotically stability of the system in that case. Exploiting this possibility, by so doing one deduced that when , together with Equation (15), the following nonlinear control law is attained.

To this end, in Equation (17) is the nonlinear law that stabilizes the PVE power stage. As can be inferred from Equation (17), the controller which is an indispensable element of the PVE has two parameters, that is, and . The performance of the controller is inherently dependent on these parameters. Consequently, the optimal design of the controller is supposed to ensure the optimal performance of the PVE.

3.3. Optimization of the PVE Using Particle Swarm Optimization

To ensure optimal performance of the PVE control stage, we propose to optimize it with particle swarm optimization. The theory of PSO is already well established in the literature and can be found [24, 25]. The dynamics of particles in the PSO swarm are represented by the equations: where are the position and velocity of particle at iteration in dimension. are the position and velocity of particle at iteration in dimension. is the inertia weight; are the self-weight and social acceleration coefficients, respectively. and are uniformly distributed random numbers between 0 and 1. is the best position of the best particle in dimension evaluated at instant , while is the global best position.

The inertial weight is defined as [24]

Once a problem has been identified as an optimization task, the next step is to formulate the optimization problem.

PSO is responsible to determine the optimal parameters of the PVE controller, . In this light, the objective or cost function that permits the determination of optimal values of the parameters must be formulated. In the literature on control parameter optimization, numerous optimization cost functions can be spotted in the literature [26, 27] such as the integral of absolute error (IAE), integral square error (ISE), and integral of time squared error (ITSE). These cost functions exhibit exceptional performance in terms of error minimization. However, their main limitation lies in the fact that the steady-state error objective is usually satisfactory at the detriment of some other key time domain control objectives such as overshoots, rise time, and selling time. For example, the disadvantage of the IAE and ISE criteria is that their minimization can result in a response with a relatively small overshoot but a long settling time because the ISE performance criterion weights all errors equally independent of time [28]. Although the ITSE performance criterion can overcome the disadvantage of the ISE criterion, the derivation processes of the analytical formula are complex and time-consuming [28]. To address this problem, Ref. [24] proposed an objective function that harnesses the minimal error objective and the optimization of overshoots , rise time , and settling time defined as where ISE is . Recalling that we desire to act on error , between the actual PVE voltage and the desired reference. The objective in Equation (20) permits us to have control over the value of with the weighing coefficients and . The most important parameter in this cost function is the ISE. Based on its definition, the parameter forces the other parameters to be optimum. Hence, to have a minimum ISE, the other parameters have to be in their minimum possible values. Therefore, minimizing the cost function is directly related to the optimization of in the cost function [24]. In addition to the optimization of , we desire to also optimize the peak time of the PVE response . This permits us to modify the cost function of [24] to

To this end, Equation (21) represents the cost function proposed in this paper. It is a natural practice to optimize a controller for a step response of its input [29]. To optimize the PVE, the buck converter (power stage) and the controller are decoupled from the architecture system of Figure 8. This enables the power stage to be subjected to a step response in reference voltage at a fixed PVE resistance.

4. Application of the PVE for Simulating and Validation of MPPT Algorithms/Controllers

A PV system is subject to environmental conditions, including temperature and irradiance. The continuous variation of these conditions induces the systematic variation of the maximum power point (MPP). Therefore, it becomes imperative to continually track this point and ensure that PV systems operate at their maximum energy potential [20]. In the spirit of optimizing PV systems, numerous maximum power point tracking (MPPT) algorithms/controllers have been developed in this recent decade [19, 3033]. The perturb and observe (P&O) and incremental conductance algorithm (INC) are the most popular MPPT algorithms/controllers. Although these algorithms are simple in terms of implementation, they present numerous problems such as the trade-off between accuracy and speed and oscillations under fast-changing operating conditions. Numerous attempts in the form of modifications and hybrid techniques have been proposed to improve the performance of these algorithms. However, according to [34], it would be more suitable to subject the PV system to a nonlinear MPPT control. This appears to be a promising strategy because the PV system is inherently nonlinear. To the best of our knowledge, the integral backstepping controller is one of the most performant MPPT techniques that has been recently applied to PV systems.

The works of [34] show that the integral backstepping controller is better than the P&O, INC, backstepping, and fuzzy logic MPPT controllers. Therefore, in this paper, we are going to resort to the integral backstepping MPPT controller to assess the proposed PV emulator.

The good number of articles we came across from the literature including [1316] did not carry out in-depth MPPT assessment of their PVE. Therefore, the PVE proposed in this paper will offer a suitable platform for simulating and validating MPPT controllers.

The architecture of the PVE coupled with an MPPT controller is presented in Figure 8. It is made up of two stages, namely, the PVE and the maximum power point tracking (MPPT) controller. As seen from the figure, the PVE adopts its three main subsystems, the power conversion stage (PCS), the nonlinear controller, and the PVE reference. The second stage, as seen in Figure 8, is the maximum power point tracking controller. In the first stage, the power conversion stage is controlled by the PVE nonlinear controller. As seen in Figure 8, the controller is governed by the resolutions of Equations (10) and (11) and the main control law (17). Moreover, the main control law is supplied with the optimal parameters of the controller, and , from the PSO algorithm. Hence, by feeding the controller with the PVE reference voltage, the buck converter in the power stage is optimally driven to operate at a stated reference. Furthermore, the MPPT controller in the second stage is composed of the dc-dc boost converter, coupled with a DC load () and an integral backstepping control algorithm. The reference for the MPPT system is provided by a constructed regression plane as proposed by Arsalan et al. [34]. Therefore, Figure 8 is a typical PV system where the PV source has been replaced by our proposed emulator. Furthermore, it is presented as the proposed architecture suitable for simulating and validating MPPT controllers. In this paper, we consider the nonlinear integral backstepping controller recently proposed by [34] to simulate and assess the proposed PVE. It is worth noting that [34] developed the integral backstepping algorithm for a noninverting buck-boost converter. Therefore, in this paper, we refer to the control algorithm developed for a boost converter as seen in the recently published work of [33].

To ensure that the system operates at the maximum power point, Ref. [33] derived the following nonlinear control law : where , , , and .

As seen in Equation (17) and Figure 8, and are the capacitance and inductance of the boost converter in the MPPT controller, while , , and are the parameters of the controller.

The configuration in Figure 8 is highly versatile; hence, other MPPT controllers can be simulated by direct coupling of the respective MPPT to the PVE.

5. Results and Discussions

In this paper, we proposed to replace PV modules with a high-performance emulator that can ensure a controllable testing environment suitable for testing PV systems. All the investigations presented in this paper are carried out in MATLAB/Simulink environment. The performance of the ANN model trained in this work is presented in Figure 9. It was found the regression coefficient and mean squared error of the model for all the dataset (70% training, 15% validation, and 15% testing). The good correlation coefficient between the target and the output data of the model and the very low MSE suggest the very high performance of the ANN model.

During the optimization of the PVE, we found that the best cost of the optimization obeyed the profile in Figure 10. The optimization was performed optimized for a step change in operating condition. To achieve this, we decoupled the MPPT from the whole system and provided a step change of 10 V to the controller. In addition, the PVE resistance at its terminal was maintained at during the optimization process.

It can be seen in Figure 10 that the system converged after 17 iterations. At the point of convergence, we extracted the optimal parameters of the controller and . Their respective values are presented in Table 1.

5.1. Accuracy of the Proposed PVE

An accurate PVE is supposed to produce similar characteristics as the PV model over a broad spectrum of environmental conditions. Assessing the accuracy of the proposed PVE, we found that it exhibited similar features as the PVE model as shown in Figure 11. The result was obtained by varying the PVE output resistance from the short circuit to the open circuit. It can be seen that the proposed PVE covers the entire - curve. By inspection, we see that the proposed PVE closely fits the - curve of the PV model. Furthermore, it can be seen that even during extreme control conditions , the proposed PVE still covered the entire - curve, hence suggesting that the proposed PVE can be used to conduct a short-circuit or open-circuit test. The operational range of the proposed PVE is better than that of [16], where the PVE is limited to a small range of the - curve and cannot run from the short circuit to the open circuit. The lower limit/range of operation is attributable to the small-scale control performance of the PI controller.

To allow a detailed view of the accuracy of the PVE, we computed its error for different operating conditions. The PVE error is mathematically written as where is the output voltage of the PVE and is the output voltage of the PV model under the same conditions.

The load at the output of the PVE was varied from to in steps of , hence allowing a good coverage of the - curve from short circuit to open circuit. The variation of the PVE error computed according to Equation (23), as a function of the output resistance, with irradiance running ranging from to , is shown in Figure 12. For the operating condition corresponding to 200, the closest resistance to the short-circuit point was noted to be ; hence, the curve in Figure 12 begins at the output resistance of . For the other conditions, the output resistance was varied starting from . From the error distribution in Figure 13, we see that the maximum PVE error is lesser than 1% for irradiance ranging from 200 to . The mean error of the PVE for these conditions was found less than 0.2% (see Table 2). By inspection of Figure 12, the greatest errors in the PVE were recorded at points closer to the maximum power point, for which the - curve demonstrated great nonlinearity. This is justified by the fact that the proposed PVE is based on linearization; therefore, regions of the - curve with higher nonlinear trends introduced high error due to linearization. This suggests that the accuracy of the PVE would increase if more linear segments were added around these inherent nonlinear regions of the - curve. The achieved accuracy of the proposed PVE is quite high and acceptable for a PV system. The 0.2% accuracy for operating conditions ranging from to was found better than the 2.9% accuracy in [13]. We note that [13] resorted to complex analytical and numerical solutions to solve the nonlinear equations of the PV. The better accuracy achieved by this PVE could be an indication that the proposed linearization of the - curve is better than the direct nonlinear resolution of the - curve.

Environmentally, a PV responds to two key parameters, including irradiance and temperatures. To further assess the proposed PVE, we considered its accuracy for varying temperatures. To realize this experiment, the load resistance of the PVE was again varied from to in steps of .

It can be seen in Figure 13 that the maximum error of the PVE was found to occur at . Consequently, the overall mean error under this temperature was recorded to be 0.4881% (see Table 2), which is further better than the 2.9% in [13]. A temperature of is considered an extreme condition and will not often be considered in the testing profile for PV system applications. More interestingly, the mean error of the PVE was found very low at the temperature of (see Table 2). Furthermore, for varying temperatures and fixed irradiance, the PVE error was found to be lowest at and , respectively, which is the frequent temperature range for testing most MPPT. Finally, for varying temperatures and irradiance as seen in Table 2 (rows 11–13), the accuracy of the PVE was recorded to be less than 0.1%.

5.2. Dynamic Assessment of the PVE in response to Fast-Changing Environmental Conditions

In addition to steady-state accuracy, a PVE is supposed to exhibit a good dynamic response. That is, the controller in the PVE should fast stabilize the PVE at the reference operating point. This suggests that the controller is a key element of the PVE. To appreciate the dynamics of the proposed PVE, we subjected it to fast-changing environmental operating conditions as shown in Figure 14.

The PVE voltage and current responses are shown in Figures 15 and 16, respectively. It is worth noting that the PVE has an initial settling time of 2.5 ms which is better than the 10 ms in [15]. The proposed PVE further shows an interesting dynamic response during changing irradiance marked by a small settling time of 0.4 ms and zero oscillation, which is the case in Figure 15, as the temperature rises from to and irradiance at the value of . The good performance of the overall PVE is justified by the fact that the controller ensures that the emulator operates at the reference voltage, which can be attested in Figure 15. Consequently, the current response in Figure 16 shows a good dynamic response. We can also see that there is no steady-state error nor oscillation during the different responses to fast-changing irradiance and temperature. These attractive dynamic results suggest that the PVE will exhibit the same dynamic features as the PV module when replaced by the latter.

5.3. Dynamic Assessment of the PVE under the EN 50530 Irradiance Profile

To further comment on the dynamic performance of the PVE, we subjected it to the European EN 50530 test, which involves subjecting the PVE to sequences of fast/slow-changing irradiance. The EN 50530 irradiance profile is shown in Figure 17. In response to EN 50530, the obtained voltage and current response of the proposed PVE is presented in Figures 18 and 19, respectively. It can be seen that the PVE voltage exactly follows the reference voltage, both for fast- and slow-changing sequences of irradiance, with zero steady-state error. The result obtained so far demonstrates the excellent dynamic and robust performance of the PVE.

5.4. Dynamic Assessment of the PVE in response to Changing Load

In addition to varying environmental conditions, a PV panel is often connected to loads that are not fixed. Therefore, the PVE must exhibit the same features as the PV panel under changing load. That is, the PVE voltage increases following an increase in load resistance, which is associated with a drop in PVE current. More so, the voltage at the terminal of the PVE should decrease following a decrease in load resistance. To carry out this test, environmental conditions are held constant at standard test conditions (STC).

We found that when the load resistance decreased from to , at the instant 0.1 s, the PVE voltage decreased from approximately 20 V to 19.14 V as inferred from Figure 20, consequently resulting in an increase in current from 1.35 A to 2.393 A as shown in Figure 21. We want to exalt the relatively small settling time of the PVE in response to the load decrease. This settling time was measured at 3 ms, faster than the 10 ms of [15]. In the emulator proposed by [15], the PI controller-based PVE showed significant oscillations due to changes in load. By visual inspection of Figures 20 and 21, one can attest that the PVE exhibit no oscillations. The supremacy of the nonlinear controller can further be appreciated by the fact that it ensures the excellent tracking of the reference voltage at zero steady-state error.

5.5. Dynamic Comparison of the Proposed PVE with a PI Controller-Based PVE

It is worth emphasizing that almost all the PVE available in the literature are based on the linear PI controller. In this subsection, we are going to compare the dynamic performance of the PI controller-based PVE with our nonlinear-based proposed PVE. The PI is a linear controller; hence, it demands that the system under control be linearized. To this end, a linearized model of the buck converter power stage as defined by [35] was obtained: where is the small signal of the PVE voltage . The small signal of the duty cycle of the converter is denoted by Therefore, is the linear control-to-output transfer function of the buck converter power conversion stage. On the other hand, the PI controller transfer function can be defined as where is the error between the reference and actual PVE voltage and is the small signal of . The constants and are the parameters of the PI controller. These parameters were tuned using the “PI tunner” function in MATLAB/Simulink according to [36] for optimal dynamic response. The dynamic response of the PVE-PI controller and the proposed PVE nonlinear controller to fast-changing solar irradiance is shown in Figure 22. It can be seen that the proposed nonlinear controller converged faster than the PI controller at all the instances of changes in irradiance. When the irradiance increased to , it was found that the settling time of the nonlinear and the PI controller was, respectively, 3 ms and 17 ms, which implies that the nonlinear controller is at least 5 times faster than the PI for this condition. A magnified view of the response for both controllers at shows that the PI controller oscillates between approximately 19.2 V and 19.15 V around the reference voltage. This is an indication of the limited robustness of the PI controller. Conversely, the proposed nonlinear controller maintains the PVE voltage at the reference, with no oscillation nor steady-state error. This permits us to note that the proposed nonlinear controller has better dynamic and robust performances than the linear-based PI controller.

Furthermore, by subjecting the two PVEs with their respective controllers, to changing load, one can conclude their dynamic performances. The response of the two controllers, to the change in load from to , is shown in Figure 23. It can further be confirmed that the proposed nonlinear controller is faster than the PI. In response to the change of load at 0.1 s, the PI controller exhibited relatively larger overshoots than the nonlinear controller. Moreover, the voltage response of the PI settled at 12.5 ms, as compared to the 3 ms of the nonlinear controller. This result, therefore, suggests that the proposed nonlinear controller is dynamically superior to the linear PI control.

5.6. Application of the Proposed PVE for the Testing of the MPPT Controller

We are proposing a PVE suitable for simulating MPP controllers. In this light, the PVE was coupled to the nonlinear MPPT controller and two major tests were performed including the response to fast-changing irradiance and temperatures and the EN 50530 assessment. During each of these tests, we computed the efficiency of the proposed PVE applied to the MPP controller.

5.6.1. PVE Coupled to MPPT Controller under Fast-Changing Irradiance and Temperatures

By subjecting the proposed PVE-MPPT controller to fast-changing irradiance and temperatures, we recorded the following response of the system. The voltage, current, and power of the PVE obtained during this test are shown in Figures 2426, respectively.

To assess the proposed PVE, it was compared with the reference PVE model. In that light, Figures 2426 also contain the theoretical MPP values of voltage, current, and power. These plots were directly obtained from the PV reference model. Therefore, by comparing the PVE power tracked by the MPP controller, with this theoretical power, we can quantify the efficiency of the proposed PVE in an MPPT context.

By inspection of Figures 2426, we first appreciate that the MPPT controller is effective, as it effectively followed the theoretical MPP power. Also, the tracked power by the MPPT controller from the PVE is in close agreement with the theoretical MPP power from the PV model. By taking the ratio of the power under the PVE-MPPT controller to that under the theoretical MPP, we get the efficiency of the PVE, written mathematically as where is the theoretical MPP obtained from the PV model and the power of the tracked by the MPPT controller from the PVE.

By applying Equation (26), the efficiency of the PVE was computed and found to be 99.61% for fast-changing operating conditions.

5.6.2. PVE Coupled to MPPT Controller under the EN 50530 Test

To further comment on the efficiency of the proposed PVE and validate its suitability for simulating and testing MPPT controllers, the EN 50530 test was exhibited. The voltage, current, and power of the PVE system in response to the EN 50530 test can be seen in Figures 2729. The effectiveness of the MPPT controller in tracking the MPP is worth praising. The MPPT controller effectively tracked the theoretical MPP voltage, current, and power as seen in the figures. This further suggests the high accuracy of the proposed PVE. Using Equation (26), the efficiency of the PVE was computed and found to be 99.5618%, which is quite high and attractive for a PV system.

The very high efficiency of the proposed PVE (>99.5%) suggests that the proposed PVE can replace the actual PV panel to ensure a realistic testing environment for MPT controllers.

6. Conclusion

A new high-performance photovoltaic emulator (PVE) was introduced in this paper. The PVE was proposed to replace solar panels and to provide a controllable and realistic environment suitable for testing PV systems, especially the maximum power point tracking (MPPT) controllers. The proposed PVE was constructed based on three main subsystems. A reference voltage generator, the power conversion stage (PCS), and the nonlinear control stage. To generate the accurate reference voltage for the PVE, we presented a new and fast resolution method for the - curve. The - curve was segmented into 12 linear pieces with assistance from a trained artificial neural network (ANN). By using the current-voltage coordinate of the linear segments, a reference voltage was generated for the PVE. This reference was used in the control stage to stabilize the PCS. The controller in the control stage was constructed based on the robust backstepping technology while its optimal performance was ensured by resorting to particle swarm optimization. The attractive features of the buck converter were employed in the power stage to ensure the effective transfer of energy from the PVE input to the output. By coupling the proposed PVE to a nonlinear-based MPPT controller, it was shown that the PVE offers high performance. Numerous tests including EN 50530 proved that the efficiency of the PVE is greater than 99.5%. Hence, the proposed PVE is very suitable for testing MPPT algorithms. The promising results achieved by this PVE are paving the way for the practical testing of numerous PV systems including MPPT controllers. In that light, the authors are tremendously working to release the full experimental prototype of this new PVE.

Appendix

A. Voltage Coordinates and Linear Equations of the PVE

The voltage coordinates and linear equations for the respective segments are presented as follows:

Data Availability

The data which supported the findings of this study are openly available in “figshare” at doi:10.6084/m9.figshare.21677555.v1 [37]. Also, the MATLAB/Simulink package for the proposed PVE is available with the corresponding author upon request.

Additional Points

Highlights. (1) Fast computation and resolution of the PV nonlinear equations by a new 12-segment-based linearization method. (2) Reference voltage generation assisted by artificial neural networks. (3) Photovoltaic emulator efficiency greater than 99.5% and accuracy less than 0.5%. (4) New nonlinear control of the photovoltaic emulator power conversion stage. (5) Optimization of the emulator using particle swarm optimization. (6) Coupling of the photovoltaic emulator with a recent nonlinear MPPT controller.

Conflicts of Interest

The authors declare that they have no conflicts of interest.