You are currently viewing a new version of our website. To view the old version click .
Applied Sciences
  • Article
  • Open Access

18 September 2021

Online Learning-Based ANN Controller for a Grid-Interactive Solar PV System

,
,
,
,
and
1
Department of Electrical and Electronics Engineering, Jawaharlal Nehru Technological University, Hyderabad 500085, Telangana, India
2
Department of Electrical and Electronics Engineering, SR University Warangal, Telangana 506371, India
3
Department of Electrical and Electronics Engineering, Mahatma Gandhi Institute of Technology, Hyderabad 500075, Telangana, India
4
Department of Electrical and Computer Engineering, Clemson University, Clemson, SC 29634, USA
This article belongs to the Special Issue Novel Power Electronics Technologies in Power Systems

Abstract

The technology transformation of industry 4.0 comprises computers, power converters such as variable speed devices, and microprocessors, which distract from the quality of power. The integration of distribution-generation technologies, such as solar photovoltaic (PV) and wind systems with source grids, frequently uses power converters, which increases the issues with power quality. DSTATCOM is the FACTS device most proficient in recompensing current-related power quality concerns. A model of DSTATCOM with an ANN controller was developed and implemented using a backpropagation online learning-based algorithm for balanced non-linear loads. This algorithm minimized the mathematical burden and the complications of control. It demonstrated a dynamic role in improving the quality of the power at the grid. The algorithm was implemented in MATLAB using an ANN model controller and the results were validated with an experimental set-up using an FPGA controller.

1. Introduction

Since the industrial insurgency, the energy blend of most nations across the globe has become subjugated by conventional fuels. This has had significant consequences for the global environment, and has worsened human health. Renewable energy will perform a crucial role in the decarbonization of our current systems in future decades. In 2020, 1% of global energy was generated from solar photovoltaic (PV) systems [1]. During power extraction from PV panels, there is no detrimental greenhouse gas discharges; thus, solar PV is ecologically-friendly. The operation of solar plants is reliant on environmental conditions such as irradiance, the speed of wind, temperature, and various operational loss components. The output of a solar panel can be improved by various suggestive practices while manufacturing and setting up the plant [2].
Solar photovoltaic power plants are connected to the grid with either the gross-metering system or net-metering system in India. The grid-interactive system has great potential and is very popular in India. The Ministry of New and Renewable Energy is promoting the solar grid-interactive system at a large scale [3]. The grid-tied system has great potential to make the power infrastructure stronger and more sustainable, and has the ability to meet the needs of the present without compromising the ability of the future. The grid-tied systems may lead India to better energy security. The system can be installed for industrial purposes, domestic purposes, commercial purposes, etc.
The DG structure consists of a non-conventional energy resource, a DC/DC chopper, and an inverter. The voltage source converters (VSCs) use controllable switches that are controlled by various pulse generators [4,5]. Maximum power is extracted from the sun or the wind, and made constant using a DC–DC converter [6]. The power generated from renewables is given to the grid using grid-tied inverters. In a grid-tied system, however, the inverter has numerous supplementary roles to perform. Under normal scenarios, the inverter sustains the battery in a mode of full charge for use throughout power interruptions. When the grid is disconnected, the grid-tied inverter impeccably steps in to convert DC power from both the solar and battery sources into operational AC power to sensitive loads, so that they run without any interruption [7].
The power electronic-based converters and non-linear loads pollute the system with multiple power quality challenges, such as harmonics [8]. The grid-tied inverter works as a DSTATCOM and can mitigate the harmonics at the source side, keeping it purely sinusoidal [9]. Many conventional devices such as SVC, STATCOM, and UPQC [10,11,12,13,14,15,16], as well as advanced control techniques such as ANN and Fuzzy, are available in the literature, but due to their limitations, they are not flexible or simple to use [17,18,19,20,21]. Control of the grid-interactive VSC using an adaptive ANN model with online training is discussed in this paper. The VSC, connected via shunt to the system, was acting as a DSTATCOM. The performance of this grid-interactive solar-distributed generation system was analyzed using a three-phase balanced non-linear load. The simulation results were validated using an experimental set-up, and the THD was determined for the above-mentioned system.

2. System Description

A schematic diagram of the ANN-BP control strategy for the grid-tied solar PV-battery system is shown in Figure 1 with the balanced three-phase three-wire (3P-3W) nonlinear load. The proposed model, based on an ANN-based backpropagation algorithm, would be used to regulate the DSTATCOM.
Figure 1. Schematic diagram of the ANN-BP control strategy for the grid-tied solar PV System.
The three-phase balanced non-linear load was linked to three-phase grid sources. Load currents were sensed and given to the adaptive ANN controller to create the signal pulses of the VSC. The DC link voltage of the VSC was fed from the solar PV Panel. The panel voltage was boosted using a DC–DC boost converter, and an incremental conductance method was used to extract maximum power from the sun.

4. Proposed ANN Model to Control Grid-Interactive VSC

Valuation of the active component and reactive component of the load currents and reference source currents were determined using the backpropagation algorithm. The block diagram of the weight estimation is shown in Figure 6. The sensed source currents and reference source currents were processed, errors were amplified through a PI controller, and their outputs were fed to a PWM controller to generate IGBT switching pulses.
Figure 6. Block diagram of the ANN controller.
URp, UYp, and UBp are the unit template voltages of the three-phase source grid. ILr, ILy, and IlB are the sensed load currents of the three phases. Assuming the initial weights, the estimated weights were calculated and activated using a sigmoidal function. The weights were updated until the error becames zero. The ANN model of the proposed controller is shown in Figure 7.
Figure 7. Configuration of backpropagation-based ANN model.
Batch/offline training is typically a time-consuming matter as it may include many repetitions throughout the training data. In most cases, this may demand much time; furthermore, the learning parameters (i.e., learning rate, number of learning epochs, stopping criteria, and other predefined parameters) must be appropriately selected to ensure convergence. Whenever new sets of data are used by the batch model, it includes the past set of data together with the new data, and performs a retraining, thus taking a large amount of time.
Online learning performs parameter updates one by one (no training with the entire dataset)
  • No redundancy as there is only one update at a time;
  • It learns online, so it is faster than offline learning;
  • Backpropagation is the appropriate method for both offline and online learning.
A gradient descent-based backpropagation (BP) algorithm offers improved simplification performance at an enormously fast learning rate and the training of many models can be finished much faster. This algorithm is used to estimate the reference source current components to obtain the pulses for the DSTATCOM.
One input layer, one output layer, and two hidden layers were used in the model, as shown in Figure 8. There were three neurons in each layer for the active component estimation of reference source currents, and three for the reactive component.
Figure 8. Structural view of the ANN model.
The weights were updated continuously using an online-learning based gradient descent backpropagation algorithm. The detailed algorithm is shown using the flowchart in Figure 9. The same ANN model can also be used for unbalanced loads.
Figure 9. Flowchart of the ANN-BP algorithm.
The updated weight of the active component of phase R was assessed using Wp(k) as a feedback signal represented as an Equation (10).
W Rp ( k ) =   W p ( k ) + η { W p ( k ) W Rp 1 ( k ) }   f ( i Rp 1 ) Z Rp ( k )
Revision of the weights using backpropagation algorithm is shown in Figure 9. Wp(k) is the average weight of three phases; WRp1(k) is the fundamental component of the R phase; iRp1 is the current of phase R, i.e., output of the hidden layer; ZRp(k) is the sigmoidal function output; and η is the learning rate, which was tuned and updated as per the adaptive learning based-gradient descent online learning.

5. Results and Discussion

The Deep Learning Toolbox was used for the modelling of estimation blocks, and pulses were generated using a hysteresis controller. The parameters used for the MATLAB simulation are tabulated in Table 1.
Table 1. Constraints and ratings of the system components.
The voltage generated from the panel was fixed using a super-lift converter, and it was given as DC input to the VSC. The VSC connected to the system using a coupling inductor. The balanced non-linear load was used, which required harmonic current and reactive power to operate. Harmonic current and reactive power were provided by the VSC which was acting as the DSTATCOM. The simulation model is shown in Figure 10.
Figure 10. Simulink model of the grid-tied solar PV system.
The developed DSTATCOM was tested with the three-phase balanced non-linear load. The single-phase source voltage, source current, compensator current, and compensator voltage waveforms are presented in Figure 11. Until DSTATCOM was activated, the non-linear load drew harmonic current from the source; thus, the source current was also non-sinusoidal. After DSTATCOM was activated, source current remained sinusoidal, and harmonic component currents were supplied by the DSTATCOM.
Figure 11. Single phase: (a) VS: supply voltage; (b) IS: supply current; (c) IC: compensator current; (d) VC: compensator voltage.
The three-phase voltages and currents are shown in Figure 12. It reflects that the ANN-BP-based algorithm compensates for the harmonics produced due to the non-linear load. Load current THD remained 26.4% and source current harmonics became 3.6%, as shown in Figure 13a,b.
Figure 12. Three phase: (a) VS: supply voltage; (b) IS: supply current; (c) IL: Load current; (d) IC: compensator current.
Figure 13. (a) Load current THD; (b) source current THD.

Hardware Implementation: Balanced Non-Linear Load

The above case was implemented using the experimental set-up. The developed scheme was realized using a dSPACE set-up for a balanced loading condition, as shown in Figure 14. The FPGA controller produced the wanted gating pulses for all six IGBT switches of voltage source converters to attain the expected performance, and demanded less sampling time, needing only 10 microseconds to perform the developed control algorithm. This section includes the experimental performances of the adaptive learning backpropagation-based control algorithm for a three-phase three-wire system feeding a non-linear balanced load. The ratings and specifications of the experimental set-up are presented in the Table 2.
Figure 14. Experimental set-up of the DSTATCOM.
Table 2. Hardware components and their details.
The prototyping set-up developed for testing the ANN-BP controller implementation comprised four parts: DSTATCOM; an FPGA board; a dSPACE Board; and two computers. Quartus software was used to design the controller for implementation on the FPGA board. The plant set-up, developed by MATLAB/SIMULINK, was copied to the dSPACE board via the interface. The test information set was transferred between the dSPACE and the FPGA using a serial link, and results were supervised using a DSO (digital storage oscilloscope).
As shown in Figure 15, whenever DSTATCOM was activated and started delivering the compensation current, the source current became purely sinusoidal. Before operating DSTATCOM, the non-sinusoidal current could be observed at the source side, the same as the currents drawn by the non-linear load. The change in the shape of the source current reflects the improvement of THD at the source side.
Figure 15. Single phase: (a) supply voltage; (b) supply current; (c) compensator current; (d) compensator voltage.
The load currents of the three phases are shown in Figure 16, which are purely non-sinusoidal, as load current is non-linear by nature. The three source currents are shown in Figure 17, and are purely sinusoidal.
Figure 16. Load currents of the three phases.
Figure 17. Supply currents of the three phases and their THD.
The simulation results were validated using experimentation, and the values are tabulated in Table 3 and Table 4 for the purpose of comparison and also shown in graph i.e., Figure 18. The DSTATCOM using the ANN-BP-based controller was implemented using a hardware set-up and the results were satisfactory. Comparison charts are displayed in Figure 19 and Figure 20.
Table 3. THD of the simulated and experimented models.
Table 4. Source current THD for various conditions.
Figure 18. THD comparison of the simulated model and the experimental set-up.
Figure 19. Source current THD using DSTATCOM with a PI Controller.
Figure 20. THD comparison with and without DSTATCOM.

6. Conclusions

The power derived using solar panels is more environmentally friendly and freely available by nature. Here, the system considered was a 3P3W grid-interactive solar PV system with an ANN-BP-based controller. Nonlinear loads connected at the distribution side generated power quality issues, and DSTATCOM compensated for it by injecting currents via shunt at the PCC to address the harmonic and reactive power demand of the loads. The implementation of the ANN-BP control scheme for a grid-tied solar PV system addressing the demand of balanced load has been successful. Hardware and simulated results of the ANN-BP control scheme have reflected that the proposed scheme is capable of addressing the balanced loads. The developed model is within the IEEE standard of power quality.

Author Contributions

Contributions: Conceptualization, M.M.I., S.M., C.P. and S.S.R.; methodology, software, validation, M.M.I., C.P., S.M., S.S.R., R.E.C. and T.S.; investigation, resources, writing—original draft preparation, writing—review and editing, visualization; supervision; project administration, M.M.I., C.P., S.M., S.S.R., R.E.C. and T.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Ritchie, H.; Roser, M. Energy. Published online at OurWorldInData.org. Available online: https://ourworldindata.org/grapher/solar-energy-consumption (accessed on 13 September 2021).
  2. Lamnini, S.; Kadar, P. Survey on perspectives of PV technology and their applications. In Proceedings of the 2017 IEEE 15th International Symposium on Applied Machine Intelligence and Informatics (SAMI), Herl’any, Slovakia, 26–28 January 2017; IEEE: Piscataway, NJ, USA, 2017; pp. 000503–000510. [Google Scholar]
  3. Available online: https://mnre.gov.in/solar/current-status (accessed on 31 March 2021).
  4. Bouzid, A.M.; Guerrero, J.M.; Cheriti, A.; Bouhamida, M.; Sicard, P.; Benghanem, M. A survey on control of electric power distributed generation systems for microgrid applications. Renew. Sustain. Energy Rev. 2015, 44, 751–766. [Google Scholar] [CrossRef] [Green Version]
  5. Kumar, R.; Sahu, B.; Shiva, C.K.; Rajender, B. A control topology for frequency regulation capability in a grid integrated PV system. Arch. Electr. Eng. 2020, 69, 389–401. [Google Scholar]
  6. Bendib, B.; Belmili, H.; Krim, F. A survey of the most used MPPT methods: Conventional and advanced algorithms applied for photovoltaic systems. Renew. Sustain. Energy Rev. 2015, 45, 637–648. [Google Scholar] [CrossRef]
  7. Shayeghi, H.; Shahryari, E.; Moradzadeh, M.; Siano, P. A Survey on Microgrid Energy Management Considering Flexible Energy Sources. Energies 2019, 12, 2156. [Google Scholar] [CrossRef] [Green Version]
  8. Nejabatkhah, F.; Li, Y.W.; Tian, H. Power Quality Control of Smart Hybrid AC/DC Microgrids: An Overview. IEEE Access 2019, 7, 52295–52318. [Google Scholar] [CrossRef]
  9. Bajaj, M.; Singh, A.K. Grid integrated renewable DG systems: A review of power quality challenges and state-of-the-art mitigation techniques. Int. J. Energy Res. 2019, 44, 26–69. [Google Scholar] [CrossRef]
  10. Gowrishankar, A.; Ramasamy, M. SPV-Based UPQC with Modified Power Angle Control Scheme for the Enhancement of Power Quality. J. Circuits Syst. Comput. 2019, 29, 2050064. [Google Scholar] [CrossRef]
  11. Lakshmi, G.N.; Jayalaxmi, A.; Veeramsetty, V. Optimal placement of distributed generation using firefly algorithm. In Proceedings of the IOP Conference Series: Materials Science and Engineering, Warangal, India, 9–10 October 2020; IOP Publishing: Bristol, UK, 2020; Volume 981, p. 042060. [Google Scholar]
  12. Vedik, B.; Naveen, P.; Shiva, C.K. A novel disruption based symbiotic organisms search to solve economic dispatch. Evol. Intell. 2020, 1–36. [Google Scholar] [CrossRef]
  13. Nandi, M.; Shiva, C.K.; Mukherjee, V. Moth-Flame Algorithm for TCSC-and SMES-Based Controller Design in Automatic Generation Control of a Two-Area Multi-unit Hydro-power System. Iran. J. Sci. Technol. Trans. Electr. Eng. 2019, 44, 1173–1196. [Google Scholar] [CrossRef]
  14. Mudi, J.; Shiva, C.K.; Mukherjee, V. Multi-verse optimization algorithm for LFC of power system with imposed nonlinearities using three-degree-of-freedom PID controller. Iran. J. Sci. Technol. Trans. Electr. Eng. 2019, 43, 837–856. [Google Scholar] [CrossRef]
  15. Karri, C.; Durgam, R.; Raghuram, K. Electricity Price Forecasting in Deregulated Power Markets using Wavelet-ANFIS-KHA. In Proceedings of the 2018 International Conference on Computing, Power and Communication Technologies (GUCON), Greater Noida, India, 28–29 September 2018; IEEE: Piscataway, NJ, USA, 2018; pp. 982–987. [Google Scholar] [CrossRef]
  16. Vemuganti, H.P.; Dharmavarapu, S.; Ganjikunta, S.K.; Suryawanshi, H.M.; Rub, H.A. A Survey on Reduced Switch Count Multilevel Inverters. IEEE Open J. Ind. Electron. Soc. 2021, 2, 80–111. [Google Scholar] [CrossRef]
  17. Gaur, P.; Mittal, A.P.; Singh, B. Feedforward fuzzy logic control for permanent magnet synchronous motor drive. Int. J. Power Electron. 2009, 1, 363–380. [Google Scholar] [CrossRef]
  18. Arya, S.R.; Singh, B.; Chandra, A.; Al-Haddad, K. Control of Shunt Custom Power Device Based on Anti-Hebbian Learning Algorithm. In Proceedings of the IECON 2012-38th Annual Conference on IEEE Industrial Electronics Society, Montreal, QC, Canada, 25–28 October 2012; IEEE: Piscataway, NJ, USA, 2012; pp. 1246–1251. [Google Scholar]
  19. Hsin, H.C.; Li, C.C.; Sun, M.; Sclabassi, R.J. An adaptive training algorithm for back-propagation neural networks. IEEE Trans. Syst. Man Cybern. 1995, 25, 512–514. [Google Scholar] [CrossRef]
  20. Janpong, S.; Areerak, K.L.; Areerak, K.N. A literature survey of neural network applications for shunt active power filters. J. World Acad. Sci. Eng. Technol. 2011, 60, 392–398. [Google Scholar]
  21. Petrík, T.; Daneček, M.; Uhlíř, I.; Poulek, V.; Libra, M. Distribution Grid Stability—Influence of Inertia Moment of Synchronous Machines. Appl. Sci. 2020, 10, 9075. [Google Scholar] [CrossRef]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.