Abstract

With increasing solar photovoltaic-based power generation, a photovoltaic emulator (PVE) is necessary to experimentally validate new control strategies without the influence of external factors such as irradiance and temperature. However, two significant challenges with PVEs are (i) solving the nonlinear equation of photovoltaic (PV) panel and (ii) oscillations in constant current (voltage) region with voltage (current) control. Thus, in this paper, a PVE with the ability to mimic both uniformly irradiated and partially shaded PV panels is proposed by employing artificial neural network (ANN) and piecewise-linearization technique. Based on the input operating conditions (irradiance, temperature, and partial shading), the ANN breaks the nonlinear I-V curve into piecewise-linear segments and outputs their boundary points. Then, with these boundary points, piecewise-linear equations of the segments relating PVE’s voltage and current are formed. Subsequently, using these piecewise-linear equations, the reference PVE voltage corresponding to PVE’s output current is calculated and given to the PI controller of a synchronous buck converter to mimic a PV panel. Thus, the proposed PVE overcomes the problem of solving nonlinear I-V equation by piecewise linearization which in turn aids an impedance-matching technique to mitigate the aforementioned oscillations. The generation of training data and development of ANN were carried out in MATLAB. Finally, the simulation studies performed in MATLAB/Simulink and hardware experiments validated the steady-state accuracy and the transient response which settled within 10 ms endorsing the real-time application of the proposed PVE.

1. Introduction

The alarming consequences of global warming have forced the world’s electricity systems to “decentralize, decarbonize, and democratize”, in many cases from the bottom up [1]. With increasing awareness of the environmental issues, the application of renewable energy in power systems has become the need of the day to decarbonize the power sector [2, 3]. The penetration of renewable energy sources (RESs) in power system generation has significantly increased; microgrids have been employed as an effective way to tackle the challenges associated with the intermittent nature of renewable sources and load, as load demands are satisfied locally through distributed generators (DGs) (decentralized approach) [4, 5].

Solar power is one of the renewable sources that is widely researched around the world as a viable source in microgrid system [6]. Power generated by solar photovoltaic (PV) panels depends on solar irradiance and temperature which vary continuously due to changing weather conditions. Therefore, solar PV-based power generation introduces challenges such as power quality degradation, stability issues, and reliability concerns [7]. To improve the performance of solar PV panels, different power management strategies are to be explored and experimented with. However, to study the behavior of solar PV system with new power management strategies, the solar PV panel should be operated in a controlled irradiance and temperature condition which is difficult to achieve practically. This led to the development of solar PV emulator (PVE) which mimics the behavior of an actual solar PV panel. Over several years, researchers have developed different models of PVEs and the most common type of PVE is the standard PVE developed using I-V characteristics of PV cells [8].

In [9], the authors have proposed a PVE using buck converter and dSPACE controller in which PV model is implemented in MATLAB/Simulink. The PV model takes PV current as input and PV voltage as output which is then tracked using a PI controller. However, this method requires a dSPACE controller which is not cost-effective, and also, the nonlinear governing equation of the PV panel needs to be solved which can be time-consuming. In [10], the authors have developed a PVE employing buck converter with PV model implemented in an FPGA through Matlab/XSG toolbox. The model takes irradiance, temperature, and PV voltage as input and computes PV current as output to be tracked by a buck converter’s PI controller. However, the problem of solving the nonlinear I-V equation is not addressed. Authors of [8] have provided an exhaustive review on PVEs where the existing PVEs are compared based on factors, such as complexity, accuracy, implementation methodology, and hardware implementation, and addressed the complexity associated with emulating a PV panel under partially shaded conditions. In [11], the authors have proposed a resistance feedback controller and have modified the single diode model of PV into the current-resistance (I-R) model which is solved using the binary search method. The model gives PV current as output which is then regulated using a buck converter. A PVE employing fractional order sliding mode controller governed by two-diode model for PV panel is proposed in [12] where the two diode model increases the PVE’s accuracy with the fractional order sliding mode controller ensuring the robust operation of the PVE against load changes and other disturbances.

The role of artificial neural network (ANN) in the field of solar PV generation is explored extensively in [1316]. In [13], the authors have developed an ANN model to predict the output power of PV panels. The ANN model takes irradiance and temperature as inputs and gives I-V characteristics as output. Gradient Descent Least Squares Regression-based ANN is proposed in [14] that extracts the fundamental component of current in a grid-connected solar PV system for its control while improving power quality. Whereas [15] employs a steepest descent laplacian regression for a single-layer ANN that control a grid-supporting solar PV system. The single-layer ANN of [14, 15] decreases the computation time while making the controller robust against abnormal grid conditions. The authors of [16] have developed an ANN with two hidden layers with irradiance, temperature as input, and panel power as output. Further evolutionary programming has been used to train and optimize the neural architecture. In [17], the authors have implemented an ANFIS for emulating and analyzing the characteristics of PV panels in real-time using FPGA and also suggested that both ANN and ANFIS can be utilized in the developed PVE in terms of accuracy. However, in terms of response speed, ANN was significantly slower. To meet the active power requirement of loads in a grid-connected PV system, a leaky least logarithmic absolute difference-based ANN is proposed in [18] along with a novel learning-based incremental conductance maximum power point tracking (MPPT) algorithm, whereas in [19], a novel Perturb and Observe MPPT algorithm and Leaky Least Mean Logarithmic Fourth learning method for a single layer ANN to control active power of a grid-connected PV system is proposed. In [20], power normalized kernel least mean fourth-based ANN is proposed for active load component extraction from a distorted load current thereby attenuating harmonics, DC bias and other distortions The authors of [21] have proposed PVE employing a PI-controlled two-stage interleaved buck converter with a two-stage LC filter and single diode model for solar PV. To have a fast response, the controller gains are varied as a function of the PVE’s output resistance and irradiance. The functions mapping input irradiance and resistance to PI gains are determined using an ANN. A look-up table-based PVE, proposed in [22], takes PV current as input and gives PV voltage as output. The output PV voltage is given as a reference to a DC-DC converter controlled by a sliding mode controller. However, relying on a look-up table has limited the PVE’s range of operating temperature and irradiance. Authors of [23] have proposed an efficiency enhancement technique for current source-diode string-based PVE where the diode string is swapped with a noninverting buck-boost converter when the PVE operates near the open-circuit voltage region. An impedance-matching technique is proposed in [24] to overcome the problem of oscillating voltage (current) reference signal when a PVE operates in a constant current (voltage) region. However, a look-up table is employed to model a PV panel which not only limits the operating range of the PVE but also necessitates an integral controller for impedance matching.

Based on the above-cited research works, the major challenge lies in solving the nonlinear equation governing the PV panel quickly while mitigating the oscillations in constant current/voltage region with voltage/current control. The research works cited above use a high-end computational device [9, 10, 17] which increases the cost of the system, whereas other research works employ an ANN-based technique to fit the entire nonlinear I-V characteristics [13, 16, 17]. Thus, the ANN has to be executed continuously to determine the controller’s reference signal () for load changes which is not effective as the computational time may get increased depending on the size of the ANN. Meanwhile other research works adopt a look-up table to mimic the I-V characteristic curve [22] which can get tedious with more number of unique I-V characteristic curves for every combination of temperature and irradiance. Thus, to address this research gap, inspired by the piecewise linear model of diode [25], the authors of this paper propose a PVE based on a piecewise-linearized I-V curve. The I-V curve is divided into small, linear segments with clearly defined intervals (end points). These intervals define the boundary conditions of the individual linear segments in the piecewise-linear function and are predicted using a pretrained ANN. Using the piecewise linear function formed with the predicted boundary conditions, panel voltage is calculated for a particular current which is then given as a reference to control a synchronous buck converter whose output terminals mimic the behavior of an actual PV panel. Thus, the major contributions of the paper are (1)A PVE based on a piecewise-linearized I-V curve is proposed which drastically decreases the computational time and computational power requirement(2)An ANN is employed to compute the boundary conditions of the piecewise-linear equation based on temperature and irradiance. This enables the proposed PVE to operate over a wide range of temperature and irradiance variations(3)Then, the proposed PVE is expanded to include the effect of commonly-encountered partial shading condition and hence the ANN takes an additional input representing the ratio of panel receiving reduced irradiance(4)Furthermore, the problem of voltage reference oscillation in constant current region operation is overcome by the impedance matching method without any additional controller

The structure of the paper is as follows. Section 2 discusses the modeling of solar PV panels and their I-V, P-V characteristics. Section 3 explains the design of the proposed solar PVE along with the impedance matching method for mitigating the oscillatory reference signal. Section 4 contains simulation results along with relevant discussion. Section 5 contains hardware setup with experimental validation. Finally, Section 6 concludes the paper.

2. Modeling and Characteristics of Solar PV Panel

2.1. Modeling of Solar PV Panel

Since the objective is to mimic the behavior of a PV panel, it is essential to develop its mathematical model to generate the data for training the ANN. The developed mathematical model also serves as a benchmark for evaluating the performance of the proposed PVE measured using root mean square error (RMSE). The equivalent circuit diagram of a solar PV panel based on the single diode model is shown in Figure 1.

The output current of a PV panel is given by equation (1) [26, 27]. where and are the shunt and series resistance, respectively; are the PV panel output voltage, diode reverse saturation current, light generated current, and PV panel output current, respectively. and are the number of parallel and series-connected cells, respectively. , , , and are diode ideality factor (, for ideal diode), Boltzmann’s constant (), the temperature of PV panel, and charge of an electron (), respectively.

The temperature of the PV panel affects the diode reverse saturation current () and the light generated current (), whereas the irradiance () affects only the light generated current. Thus, the effect of temperature on the reverse saturation current is given by equation (2) whereas equation (3) relates temperature and irradiance with the light generated current [27]. For more information on PV array modelling, the readers are referred to [27] where is the nominal temperature (25°C), nominal irradiance (1000 W/m2), nominal saturation current, nominal light generated current, bandgap energy of solar cell, and temperature coefficient for short circuit current, respectively.

2.2. Characteristics of Solar PV Panel

Three significant inferences that can be drawn from equations (1)-(3) are (i) the nonlinear relationship between and , and (ii) the nonlinearity in the relationship can be attributed to the diode present in the equivalent circuit (iii) the influence of temperature and irradiance (and hence shading conditions as well) on the I-V characteristics of a solar cell. To understand the impact of temperature and irradiance, I-V and P-V characteristics are simulated for two different irradiance values and temperatures with one parameter kept constant at its STC value while the other parameter is varied.

With the temperature fixed at 25°C, I-V and P-V characteristics are simulated for irradiance values of 500 W/m2 and 1000 W/m2 as shown in Figure 2(a) which reveals that the short circuit current varies linearly with irradiance, whereas open-circuit voltage has nonlinear relation with irradiance. Thus, as a result, maximum power has an approximately linear dependence on irradiance.

For a fixed irradiance of 1000 W/m2, I-V and P-V curves for a temperature of 25°C and 55°C are obtained as shown in Figure 2(b). It can be inferred from Figure 2(b) that the open-circuit voltage is more sensitive to change in temperature whereas short circuit current varies only by a small amount which makes maximum power vary nonlinearly with respect to temperature.

Solar PV panels operating under nonuniform irradiance due to partial shading caused by passing clouds, trees, bird droppings, building structures are not uncommon [28]. Partial shading can cause severe performance degradation calling for additional efforts such as bypass diodes to mitigate its detrimental impacts, and hence, power management strategies capable of handling partial-shading conditions as well are desired. Motivated by this, the proposed PVE is designed to mimic a PV panel receiving two different irradiances across its entire area. To study the characteristics of a partially shaded PV panel, the temperature is maintained at 25°C, unshaded cells are given an irradiance of 1000 W/m2 whereas shaded cells are given 300 W/m2 irradiance and I-V, and P-V characteristics are obtained with 12 and 24 cells (out of 60) of the panel receiving reduced irradiance. Figure 3 shows the corresponding family of I-V and P-V characteristics which reveals that there is one global and one local maximum in P-V characteristics. Another interesting observation is that the number of maxima points in the P-V curve is equal to the number of regions on the PV panel that are receiving different irradiance.

3. Design of the Proposed PV Emulator

As mentioned earlier, two major challenges in a PVE are (i) solving the nonlinear equation governing the panel and (ii) oscillatory reference signal in constant current (voltage) region with voltage (current) control mode. To overcome the issue of solving the nonlinear equation, the authors of this paper propose to split the nonlinear I-V curve into small, linear segments thereby reproducing the entire nonlinear curve with a piecewise linear function defined by a linear equation for each segment. Evidently, with more segments, the accuracy of the piecewise-linear model is improved which can be inferred from Figure 4 containing two-segment and four-segment piecewise linear models.

The other issue of the oscillatory reference signal can be overcome by the impedance matching method. [24] As can be inferred from the I-V characteristics, voltage is extremely sensitive to current in the constant current region whereas the current is extremely sensitive to voltage in the constant voltage region of the I-V curve. Thus, when the voltage control mode is employed in the constant current region, a small ripple in current shall result in large oscillations in the reference voltage signal, whereas with current control mode in constant voltage region, a small noise in voltage signal shall induce oscillations in reference current signal. This issue is overcome with an additional integral controller trying to match the load impedance with that of PVE in ref. [24]. This is because the stable, equilibrium operating point of a PVE is the intersection of I-V characteristics of the PVE with that of the load. Since the proposed PVE typically employs a linear approximation, the intersection of the load and PVE characteristics can be calculated in a single step without any additional integral controller. Thus, both the major challenges are overcome by adopting a piecewise-linear model for a PV panel.

Consequently, given a particular I-V curve for certain irradiance, temperature, and ratio of partial shading, its corresponding piecewise-linear model depends on the boundary conditions which are strongly coupled with the aforementioned operating conditions. Hence, an ANN model is employed to predict the boundary conditions for a given set of operating conditions. This enables the proposed PVE to operate over a wide range of operating conditions. Finally, the piecewise linear function takes PV current as input to compute the corresponding PV voltage which is then tracked by a PI controller controlling a synchronous buck converter. The flowchart of the proposed PVE and its overall block diagram are shown in Figures 5 and 6, respectively. Thus, the design of the proposed PVE can be split into three phases as (i) ANN model, (ii) deriving an expression for each segment in piecewise linear function, and (iii) design and development of synchronous buck converter.

3.1. ANN Model

A PVE should have the ability to mimic PV panels under a wide range of operating conditions, namely, temperature, irradiance, and the ratio of partial shading. However, the boundary conditions of each segment in the piecewise linear function vary with the aforementioned operating conditions. Hence, logic is required to determine the corresponding boundary conditions and an ANN is a good solution to this because of its ability to represent nonlinear equations through regression. The neural network toolbox available in MATLAB is used in this study. Hence, in this regression problem, the input variables (features or independent variables) are (i) temperature, (ii) irradiance, and (iii) ratio of partial shading, whereas the output variables (dependent variables) are the Cartesian coordinates of the boundary conditions (, of corresponding segment boundaries) along with the peak powers. The peak power is also added as an output variable so that the ANN model can be tested more effectively. Based on this schema, training data must be generated since the performance of ANN depends on how well the network is trained. Before generating the training data, it is essential to decide upon the number of segments for linearizing the I-V curve.

Based on visual observation, the uniform-irradiance and partial-shading I-V curves are split into 4 and 7 segments, respectively, as shown in Figures 7(a) and 7(b), respectively. Thus, for the uniform-irradiance I-V curve (Figure 7(a)), the output variables are peak power and the five points from A to E which are defined by [, ] in the Cartesian coordinates. Since the points from A to E have two values each (, ), there are 10 () values along with 1 peak power as output variables. However, for point A (short circuit) , and for point E (open circuit), . Hence, those two values can be ignored which makes the total number of (10 values for points A-E+1 for peak power–2 for ). Similarly, for the partial-shading I-V curve, 8 points from A to H along with two peak powers are the dependent variables leading to a total of 16 output variables.

After finalizing the data schema, training data were generated by varying the temperature from 20°C to 50°C for every value of irradiance ranging from 500 W/m2 to 1000 W/m2 in steps of 50 W/m2 for uniform irradiance condition. However, for the partial-shading condition, the number of independent factors affecting the performance is (i) temperature, (ii) number of regions of the panel receiving different irradiances (=number of peaks in the P-V curve), (iii) area of such regions receiving different irradiances (=number of cells in such regions), and (iv) irradiance values for those regions. For brevity, the number of regions receiving different irradiances was fixed at two and their irradiances were fixed at 300 W/m2 and 1000 W/m2. The areas of these two regions were obtained from the user as ratio of the panel receiving reduced irradiance. Thus, for training-data generation, the panel temperature was varied from 20°C to 50°C for a ratio of partial shading ranging from 0.1 to 0.5 in steps of 0.1. Thus, a total of 341 and 155 observations were generated as per the aforementioned schema for uniform irradiance and partial-shading conditions, respectively, to train the corresponding networks. The generated dataset is hosted publicly in Mendeley Data and can be accessed at [29].

Since the number of dependent variables (output variables) varies for uniform irradiance and partial-shading conditions, the proposed PVE employs two separate ANN models as shown in Figures 8(a) and (b), respectively. In case of uniform-irradiance conditions, the inputs are temperature and irradiance, whereas for partial-shading conditions, the inputs are temperature and ratio of partial shading.

One interesting observation from Figure 8(b) is the difference in the number of outputs (16) and the number of neurons in the output layer (15). This is because of the way the data was generated. As mentioned earlier, during data generation for partial-shading conditions, the irradiance level for shaded cells was fixed at 300 W/m2 and the 155 observations were generated by varying the operating temperature from 20°C to 50°C and partial shading conditions ranging from 0.1 to 0.5. However, the current at in Figure 7(b) depends only on the irradiance of shaded cells (which was maintained constant at 300 W/m2). Hence, , an output variable, remains constant for all the 155 observations for which a separate neuron is not needed in the output layer. With the generated data, the Levenberg-Marquardt algorithm available in the neural network toolbox is employed for training, during which the number of neurons in the hidden layer was set at 10, 20, and 50 to observe mean square error (MSE). However, the MSE did not significantly improve with a higher number of neurons in the hidden layer and hence it was fixed at 10 for both models. The split-up of data for training, validation, and testing and the performance (MSE) of the models are shown in Figures 9(a) and (b) for uniform irradiance and partial-shading conditions, respectively.

3.2. Piecewise Linear Function

After developing the ANN models, the output boundary conditions are used to define the piecewise linear function describing each segment through a linear equation. The linear equation of each segment takes the PV current as input to compute the corresponding PV voltage and is of the form , where mi and ci are the slope and the intercept of the th linear segment. The piecewise linear functions for uniform irradiance and partial-shading conditions are given by equations (4) and (6), respectively. The corresponding and can be calculated using the two-point form of a straight line as given in equations (5) and (7), for uniform-irradiance and partial-shading conditions, respectively, where the constants (, ) in equations (5) and (7) are the output variables from the ANN model and their positions on the I-V curve are shown in Figure 7.

As mentioned earlier, when the PVE is operating near the short circuit region, i.e., constant current region, the reference voltage has to be generated based on the impedance matching principle. Hence, in equations (4) and (6), the function definition for the constant-current region is different which can be calculated by substituting the load characteristics (; where RL is load resistance) in the corresponding PVE characteristics ().

where

where

3.3. Power Converter of PVE

The output PV voltage from the piecewise linear function is given as a reference to the control loop of a DC-DC power converter which is a synchronous buck converter in this paper. The basic circuit diagram of a synchronous buck converter is depicted in Figure 6. The power converter stage can be further split into two subsections as (i) converter design stage and (ii) controller design stage.

3.3.1. Design of Power Converter

To filter out the current and voltage ripples optimally, the inductor and capacitor of the synchronous buck converter should be sized properly. Even though large values of inductor and capacitor can significantly improve ripple attenuation, the settling time of the converter increases for higher values which is not desirable for PVE. Hence, a trade-off is made between ripple attenuation and settling time and the values of inductor and capacitor can be calculated using equations (8)-(11) [30].

where , , , , , D, , , and are the synchronous buck converter’s inductor current ripple (), rated input current (), minimum value of inductor (), nominal input, output voltages (), nominal duty, switching frequency (Hz), output voltage ripple (), and minimum value of output capacitor ().

3.3.2. Small-Signal Model of Converter

To tune the PI controller for tracking the reference voltage from piecewise linear function, a mathematical model of the converter is necessary. Due to the nonlinear nature of the converter, a linear small-signal averaging model is derived around a quiescent operating point and the corresponding small-signal averaging model of the converter is given by equation (12) [31]. Using MATLAB’s in-built PID tuning application, the PI controller is tuned by the Ziegler-Nichols method.

where are the small-signal change in output voltage and duty, respectively, is the nominal Q-point output voltage of the synchronous buck converter, is the corresponding Q-point duty, and are the inductor and output capacitor of the synchronous buck converter, respectively, and is the load resistance.

4. Simulation Results and Discussion

To validate the proposed PVE, simulation studies were carried out in MATLAB/Simulink where the proposed PVE shown in Figure 6 is implemented. The ANN developed in MATLAB’s neural network toolbox is also imported into the Simulink environment. Based on the timescale, the proposed PVE is assessed by its steady-state and transient performance. Good steady-state performance means a good agreement of the emulated I-V characteristics with the actual I-V characteristics, whereas a good transient response means having a quick settling time with minimal overshoot and oscillations. The PVE enters a transient state for the following conditions (i) load change, (ii) irradiance change, (iii) temperature change, and (iv) change in the ratio of partial shading.

Thus, by appropriate load switching, the steady-state performance (I-V characteristics) and transient performance for load change can be analyzed, whereas the transient performance for change in irradiance, temperature, and ratio of partial shading can be analyzed by simulating the same with load fixed at a particular value. Therefore, the simulation analysis is split into three cases. Case 1 deals with load switching for uniformly irradiated conditions whereas Case 2 again deals with load switching but for partially-shaded conditions. Finally, Case 3 deals with transient performance analysis for change in irradiance, temperature, and ratio of partial shading.

Case 1. With the temperature, irradiance, and partial shading kept at 25°C, 1000 W/m2, and 0.0, respectively, and a resistive load was switched in 14 steps in a 0.5-second interval as [1.7, 4.5, 5.5, 7.5, 10, 12.5, 15, 17.5, 20, 22.5, 25, 27.5, 30, 500] Ω. Figure 10(a) shows the corresponding PVE output current and voltage. The transient responses for the load changes at time and at time are shown in Figures 10(b) and 10(c), respectively. The transient responses in Figures 10(b) and 10(c) are oscillatory, yet the system reaches steady-state in around 10 ms duration which is a good value [24] because neither advanced nor additional controllers are employed in this work. Meanwhile, Figure 11 shows that the emulated I-V curve is in good agreement with the reference I-V curve. Thus, the steady-state performance under uniformly irradiated condition and the transient performance of the proposed PVE for load change are satisfactory.

Case 2. Similar to Case 1, with irradiance and temperature fixed at 1000 W/m2 and 25°C, respectively, the load resistance was switched in steps with a 0.5-second interval as [1.7, 4.5, 5.5, 7.5, 10, 12.5, 15, 17.5, 20, 22.5, 25, 27.5, 30, 500] Ω. But in this case, the ratio of partial shading is fixed at 0.2 (20% of the panel is partially illuminated). Figure 12 shows the corresponding PVE output current and voltage where the transient response during load change was similar to that in Case 1 (and hence not shown separately). Meanwhile, Figure 13 shows that the corresponding I-V curve of the proposed PVE is in good agreement with the reference I-V curve validating its steady-state performance under partially-shaded condition.

Case 3. This case deals with the analysis of the proposed PVE’s transient performance for irradiance change and temperature change under uniformly irradiated conditions. Furthermore, the proposed PVE’s transient performance for a change in the ratio of partial shading while operating under partially shaded conditions is also analyzed. The load resistance is fixed at 2.5 Ω thereby ensuring that the PVE is operated in the constant-current region.

Figure 14(a) shows the transient response of the PVE at 25°C when its irradiance is changed from 1000 W/m2 to 750 W/m2. The transient profile is smooth with a settling time of less than 7.5 ms for the aforementioned irradiance change. Then, with irradiance fixed at 750 W/m2, the temperature is changed from 25°C to 30°C producing a smooth transience to the new steady state settling within 5 ms as shown in Figure 14(b). Finally, with the irradiance, and temperature fixed at 1000 W/m2, and 25°C, the ratio of partial shading was changed from 0.2 to 0.3 resulting in a smooth decrease in voltage and current as shown in Figure 14(c). It can be noted that there is a small delay during the beginning of transience which is caused by the ANN while computing the new boundary conditions for the piecewise-linear function. However, the total settling time is within 10 ms for all the cases along with a smooth transient profile.

From the simulation results, it is clear that the proposed PVE has a good steady-state as well as a good transient performance with a quick settling time of around 10 ms for changes in load, irradiance, temperature, and ratio of partial shading. This proves that the proposed PVE has successfully overcome the problem of solving the nonlinear equation by piecewise linearization. Furthermore, the simulation results also prove that the proposed PVE has overcome the problem of reference oscillations in constant current/voltage region without any additional controller.

5. Experimental Verification

A laboratory-scale hardware setup is implemented to validate the proposed PVE. The block diagrams shown in Figure 6 containing ANN model, piecewise linear function, and PI controller are implemented using Raspberry Pi (RPi) and the experimental setup is shown in Figure 15. Table 1 shows the specifications for hardware components used in the DC-DC converter.

Two main objectives of the experimental verification are validating (i) the steady-state accuracy and (ii) the transient performance of the proposed PVE. Thus, to verify the steady-state accuracy, irradiance and temperature are set at 1000 W/m2 and 25°C, respectively, and the load is varied to obtain the I-V characteristics shown in Figures 16 and 17 for uniform irradiance and partially shaded condition with the ratio of partial shading set to 0.2, respectively. Figures 16 and 17 show that the experimentally observed values are in good agreement with the actual I-V curves thereby validating the steady-state accuracy of the proposed PVE.

Furthermore, to validate the transient performance of the PVE, the PVE’s voltage and current are captured in a DSO for (i) load changes in constant current and voltage regions during the aforementioned uniform irradiance case and (ii) a change in the ratio of partial shading. The PVE’s transience for changes in irradiance and temperature are not shown here as they were similar to the PVE’s transience for a change in the ratio of partial shading. Figures 18(a) and (b) show the PVE’s transience for a load change when the PVE is operating near constant current and constant voltage regions, respectively, whereas Figure 18(c) shows its transient response when the ratio of partial shading is changed from 0.2 to 0.3. As can be seen from Figure 18(a), the proposed PVE settles without any oscillation near the constant current region. Besides, for all the cases, the transience settles within 10 ms which is an acceptable value in comparison with the settling time of 120 ms of commercially available PVE [23].

Thus, the experimental validation shows that the proposed PVE can be implemented using low-cost hardware components which makes it an effective tool for testing new strategies for a solar PV system under both uniform irradiance and partial-shading conditions.

6. Conclusion

In this paper, an ANN-based simplified PVE capable of mimicking a PV panel under uniformly irradiated and partially-shaded conditions is proposed. The proposed PVE linearizes the I-V curve by splitting it into smaller segments with clearly defined boundaries which are determined using an ANN for a given irradiance, temperature, and fraction of partial shading. Furthermore, the problem of oscillations in reference signals in the constant current (voltage) region of operation with voltage (current) control is eliminated by the impedance matching technique without any additional controller. The simulation studies performed in MATLAB/Simulink and the laboratory experiments validate the steady-state accuracy and transient performance of the proposed PVE with a settling time of 10 ms. Also, the accuracy of the proposed PVE can further be improved by increasing the number of segments in the linearization process. Thus, the proposed PVE is well suited for validating the effectiveness of new control strategies under a wide range of variations in temperature, irradiance, and ratio of partial shading. Finally, expanding the degrees-of-freedom during partial-shading operating conditions and generalizing the PVE is considered for future work.

Data Availability

The data used for training the artificial neural network are generated through the solar PV model and are made available to everyone at doi:10.17632/z93gzbptf7.1.

Conflicts of Interest

The authors have no conflict of interest to disclose.