Abstract
The performance of photovoltaic (PV) systems is influenced by various factors, including atmospheric conditions, geographical locations, and spatial and temporal characteristics. Consequently, the optimization of PV systems relies heavily on the global maximum power point tracking (GMPPT) methods. In this paper, we adopt virtual reality (VR) technology to visualize PV entities and simulate their performances. The integration of VR technology introduces a novel spatial and temporal dimension to the shading pattern recognition (SPR) of PV systems, thereby enhancing their descriptive capabilities. Furthermore, we introduce an interactive GMPPT (IGMPPT) method based on VR technology. This method leverages interactive search techniques to narrow down search regions, thereby enhancing the search efficiency. Experimental results demonstrate the effectiveness of the proposed IGMPPT in representing the spatial and temporal characteristics of PV systems and improving the efficiency of GMPPT.
PHOTOVOLTAIC (PV) systems have gained popularity as a sustainable way to harness solar energy, owing to their eco-friendliness, low operating costs, and silent operation [
The conventional GMPPT methods can be categorized into two groups: online and offline GMPPT methods [
The perturbation and observation (P&O) method is one of the most widely employed online GMPPT methods [
Conversely, the offline GMPPT methods rely on empirical expertise. An example of offline GMPPT methods is the fractional open-circuit voltage method and the fractional short-circuit current method [
There are now a range of hybrid methods based on a combination of online tracking and offline models. Reference [
In recent years, the virtual reality (VR) technology has risen as a promising tool for precisely representing the spatial and temporal characteristics of real-world entities due to its interactivity [
The primary contributions of this paper can be summarized as follows.
1) The spatial and temporal characteristics of PV system are described through the application of VR.
2) The VR technology interactively utilizes real-world measurements and VR models to facilitate SPR and power simulation.
3) The VR-based interactive GMPPT (IGMPPT) method is proposed, which uses interactive search to reduce search regions and thereby enhance the search efficiency.
The remainder of this paper is structured as follows. Section II outlines the methodology. In Section III, the experimental results are discussed. Finally, Section IV presents the conclusions.
As shown in

Fig. 1 Schematic illustration of VR-based PV system. (a) Spatial and temporal model of both PVs and nearby building. (b) PVM images and statistical analysis results of pixel grayscale. (c) SPR and power simulation.
The cross-platform VR engine, Unity, serves as a powerful tool for simulating the sun routine and capturing approximate irradiance data on virtual PV panels. This process entails several steps aimed at creating a realistic representation. To begin, a scene is meticulously crafted in Unity to mirror the physical installation of PV panels, including their precise geographic location. In this step, a proportional replication of PV panel configurations and their surrounding environment from the real world is achieved. In this virtual environment, a directional light object is strategically placed to represent the solar position. A script in Unity is crafted to animate the movement of this directional light, meticulously simulating the sun routine across the sky over a day. To achieve a high degree of precision, the solar position algorithm (SPA) is incorporated into the process. Recognized for its accuracy, the SPA is a creation of the National Renewable Energy Laboratory (NREL), designed to compute the solar position with pinpoint precision by considering the date, time, and geographical coordinates. SPA accounts for the factors such as the elliptical orbit, axial tilt, and atmospheric refraction of the earth. Furthermore, the PV panels, along with their nearby buildings and surrounding structures, are meticulously created as the objects within the Unity. A dedicated script is then implemented to capture irradiance data at each point on the PV panel plane, effectively storing this information for further analysis and visualization. The entire process can be conducted offline. The time resolution can be set by the script and determine the frequency at which the GMPPT is initiated.
The pseudocode presented in
To mitigate the modelling complexity in the VR environment to enhance the computational efficiency and model performance, we introduce the concept of MPI tolerance . The values falling within the range related to are averaged. For instance, if is set to be 10, the resultant average MPI is . The variable is used to record the number of PVMs corresponding to each , thereby quantifying the number of PVMs that share the same . In the scenario shown in
Algorithm 1 : VR-based PV system description |
---|
Input: , number of images , and MPI tolerance Output: average MPI 1: for to 2: = 3: end for 4: for to 5: equals the average brightness of 6: end for 7: =“descend”) 8: for to 9: 10: for to 11: if then 12: 13: else 14: for to 15: = 16: end for 17: Break 18: end if 19: end for 20: 21: end for |
The VR-based SPR is the first stage of interaction between the VR and the physical PVS entity in
(1) |
where is the open-circuit voltage of PVS; is the number of series-connected PVMs in the PVS; the superscript 0 denotes the initial iteration; ; and is a constant value and can be chosen as 0.5.
is utilized to guarantee that the sampling point falls at the midpoint of the designated - stair. For instance, considering the scenario depicted in
(2) |
where is the solar irradiance level of the PVM; is the solar irradiance under the standard test the condition; is the short-circuit current of the PVM under the standard test condition; is the ambient temperature; is the temperature coefficient of short-circuit current; is the temperature under the standard test condition; and is a constant and serves the purpose of converting temperature coefficients from percentages to Celsius.
The simulated characteristics of PVS in the VR environment can be computed using , where is the simulated output current; is the simulated light-generated current of the specified PVM; and is the simulated current loss due to recombination. As the proposed formulation of the VR-simulated - curve neglects the impact of parallel and series resistors inherent in actual PV systems, it incorporates a power deviation mechanism. Drawing upon the analytical modelling analysis by [
The proposed IGMPPT is conducted after SPR and power simulation. According to the VR simulated - curve obtained from Section II-A, the starting points for the interactive search regions are obtained. The starting point for the search region is given by:
(3) |
The selection of the constant 0.8 is derived from the established 0.8-model, deliberately chosen to secure finely tuned starting points [
The proposed IGMPPT is conducted following a Q-learning strategy. In the search region, the Q-learning strategy is employed to interactively determine the search step. Q-learning is a form of reinforcement learning strategy designed to maximize the rewards within an uncertain environment. The Q-learning strategy operates by responding to a state in with an action from A, thereby guiding the selection of actions to maximize the reward . This process is characterized as a Markov decision process. For the proposed IGMPPT, the definition and action of Q-learning are described as follows.
1) State: the state of voltage set-point at step k is defined by , as shown in (4).
(4) |
where , is the measured power at step k; and . The IGMPPT search is adjusted by the voltage step through a Q-learning strategy. Physically, the four states describe the approximate distance and direction of the agent from the MPPs.
2) Action: the set of possible actions, denoted as A, consists of desired voltage perturbations. The selection and setting of the step size depend on the performance of the DC-DC controller and the desired control precision of the PV system. The flexible action set , by allowing variable-step tracking, enables the proposed IGMPPT to adapt more precisely to different conditions.
3) Reward: the reward function is defined as:
(5) |
where is the power output under the standard test condition.
4) Policy: the Q value update function for the transition from state to with action is outlined as:
(6) |
where is the reward obtained after taking an action ; is the value function that uses expectations to make predictions about future rewards; and is the discount rate. The action for search region at state is determined according to (7).
(7) |
In the proposed IGMPPT, the voltage step in a specified search region aligns with the action associated with the highest value function. During the IGMPPT process, the algorithm interactively compares the measured power of each search region with the VR simulated power at each iteration of other search regions. If the VR simulated power in the current search region is less than the measured power of any other search region, the current search region will be discarded, because there is already at least one search region with measured power higher than its possible maximum power. Intuitively, the update strategy in each search region is described as:
(8) |
where is the maximum power value of the search region during the tracking process, and .
A demonstration of the proposed IGMPPT is shown in

Fig. 2 Demonstration of proposed IGMPPT. (a) Stop search in region 1 but continue search in region 2. (b) Continue search in both regions 1 and 2.
As shown in

Fig. 3 Flowchart for this paper.
The proposed IGMPPT is designed for real-world PV entity manipulation using information sourced from the VR. The performance of the proposed IGMPPT is assessed from two phases. In the first phase, the evaluations include SPR and power simulation assessments, aimed at evaluating its capabilities in depicting the spatio and temporal characteristics of the PV systems. The second phase entails evaluating the tracking efficiency and accuracy. The experimental setup, as illustrated in

Fig. 4 Test platforms and experimental arrangement. (a) Experimental setup for SPR and power simulation test. (b) VR setup for SPR and power simulation test. (c) Experimental setup for GMPPT test. (d) VR setup for GMPPT test.
The output characteristics of the PV system shown in

Fig. 5 Error between VR simulated power and measured power of proposed IGMPPT on Day-1, Day-2, and Day-3.
For the test results of Day-1, Day-2, and Day-3, we plot

Fig. 6 Temperature, solar irradiance, and absolute estimation error on Day-1, Day-2, and Day-3. (a) Day-1. (b) Day-2. (c) Day-3.
A comparative evaluation of the proposed IGMPPT against P&O [
PSC | Irradiance of each PVM () | Temperature (℃) | |||||||
---|---|---|---|---|---|---|---|---|---|
PVM1 | PVM2 | PVM3 | PVM4 | PVM5 | PVM6 | ||||
SC-1 | 460 | 460 | 460 | 130 | 130 | 130 | 8.5 | 25.6 | 10.5 |
SC-2 | 330 | 330 | 110 | 110 | 110 | 110 | 5.3 | 53.5 | 6.4 |
SC-3 | 450 | 450 | 330 | 110 | 110 | 110 | 3.2 | 23.5 | 12.4 |
The tracking performances of different methods under three PSCs, depicting the transitions from SC-1 to SC-2 and from SC-2 to SC-3, are illustrated in

Fig. 7 Tracking performance of different methods under three PSCs. (a) Proposed IGMPPT. (b) P&O. (c) LPSO. (d) RL-Beta.

Fig. 8 - curves under SC-1, SC-2, and SC-3.
Under SC-1, the sampling voltage list is {14.6, 36.1}V, and the corresponding current list is {0.61, 0.16}A. After the SPR and power simulation, is {13.6, 8.7}W. The measured power in the first iteration is 10.4 W, which exceeds the simulated power value of 8.7 W. Therefore, the voltage range , where represents the open-circuit voltage of the PVM, becomes the sole surviving search region in the first iteration, and the search continues until the GMPP is determined. Under SC-1, the P&O is unsuccessful in accurately locating the GMPP and becomes stuck in the local maximum power point (LMPP). Although the LPSO is capable of tracing the GMPP, it exhibits greater oscillations than the proposed IGMPPT, leading to a decreased efficiency of 23%. Although the RL-Beta manages to track the GMPP, it incurs a time cost twice as much as that of the proposed IGMPPT.
Under SC-2, the sampling voltage list is {8.5, 26.1}V, and the corresponding current list is {0.44, 0.15}A. After SPR and power simulation, is {5.8, 6.5}W. The measured power in the first iteration is 6.1 W, surpassing the simulated power value of 5.8 W. The voltage range becomes the sole surviving search region after the first iteration. Under SC-2, the LPSO faces challenges in accurately monitoring the GMPP and introduces elevated oscillations, making it difficult to mitigate the impact of the LMPP located within the voltage range during subsequent tracking attempts. The RL-Beta successfully identifies the GMPP but with a deviation of 3.4 V. This discrepancy under complex PSCs can be attributed to the reliance of RL-Beta on the pre-trained model.
Under SC-3, the sampling voltage list is {8.5, 22.1, 35.8}V, and the corresponding current list is {0.59, 0.43, 0.14}A. After SPR and power simulation, is {8.2, 10.9, 7.2}W. In the first iteration, is discarded because is less than either or . In the second iteration, the search region is discarded because of 7.2 W is less than of 9.2 W. After that, the search region becomes the last search region. The search continues in the last search region to identify the GMPP. The P&O fails under SC-3 because its starting point is far from the GMPP. Since the MPPs located in and have similar maximum power values under SC-3, the LPSO and RL-Beta produce larger oscillations than the proposed IGMPPT and cause around 20% and 22% efficiency losses, respectively.
The results of the proposed GMPPT are quantitatively compared with P&O, LPSO, and RL-Beta. The tracking accuracy of GMPP power , the tracking efficiency of GMPP power , the tracking error of GMPP voltage , and the root mean square value of GMPP power during the tracking process are used to evaluate the tracking performance, as summarized in
PSC | (%) | (%) | (V) | (W) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Proposed IGMPPT | P&O | LPSO | RL-Beta | Proposed IGMPPT | P&O | LPSO | RL-Beta | Proposed IGMPPT | P&O | LPSO | RL-Beta | Proposed IGMPPT | P&O | LPSO | RL-Beta | |
SC-1 | 94.30 | 52.49 | 71.25 | 86.73 | 99.91 | 56.12 | 98.98 | 98.52 | 0.16 | 33.50 | 1.17 | 0.17 | 1.75 | 5.93 | 4.47 | 3.17 |
SC-2 | 94.00 | 89.54 | 82.20 | 89.25 | 99.30 | 98.25 | 99.20 | 96.27 | 0.80 | 3.10 | 0.16 | 3.40 | 0.84 | 1.00 | 1.40 | 0.74 |
SC-3 | 90.87 | 57.89 | 69.03 | 87.91 | 99.84 | 61.21 | 91.08 | 99.47 | 0.24 | 26.50 | 3.24 | 0.47 | 2.03 | 4.46 | 3.69 | 2.55 |
It can be observed that the proposed IGMPPT achieves the highest average of 93.06% and average of 99.68% compared with the P&O, LPSO, and RL-Beta. Under all PSCs, the P&O can only track the LMPP closest to its starting point, which results in a power loss of over 5 W under SC-1 and SC-3. Besides, the proposed IGMPPT achieves the lowest during the tracking process under SC-1, SC-2, and SC-3. The LPSO can successfully track the GMPP, but it requires collecting more data points, leading to inefficient operations. In the worst case, of LPSO is only 69.03%. The perturbation of LPSO is significantly larger than that of the proposed IGMPPT. The performance of RL-Beta is second only to the proposed IGMPPT. There is still a gap in the tracking efficiency. In terms of tracking efficiency, the proposed IGMPPT achieves an average improvement of nearly 5% over RL-Beta. In conclusion, the proposed IGMPPT obtains the best performance in terms of and . Even under SC-2, where two MPPs with a similar values of peaks exist, the proposed IGMPPT can successfully discriminate and track the true GMPP. In contrast, the LPSO fails to track GMPP due to the random factors that affect the convergence processes of their search regions, leading to premature convergence and potentially missing the true GMPP values. The reason is that the VR modelling enables to obtain an accurate sampling point list in the VR environment. After completing the SPR and power simulation, the error of VR in the real world is further corrected. With more measured data during the tracking process, each search region is given a clear indication of their potential maximum power value and a rigorous abandonment mechanism, enabling the proposed IGMPPT to perform an efficient search.
An experimental setup, as depicted in
PSC | Irradiance () | Temperature (℃) | ||||
---|---|---|---|---|---|---|
PVM1 | PVM2 | PVM3 | ||||
SC-4 | 690 | 690 | 690 | 24.3 | 42.0 | 29.0 |
SC-5 | 650 | 650 | 170 | 26.1 | 27.6 | 18.2 |
SC-6 | 720 | 234 | 234 | 27.5 | 46.8 | 11.8 |
As demonstrated in

Fig. 9 Tracking performance of different methods under SC-4, SC-5, and SC-6 captured by oscilloscope. (a) Proposed IGMPPT under SC-4. (b) P&O under SC-4. (c) LPSO under SC-4. (d) RL-Beta under SC-4. (e) Proposed IGMPPT under SC-5. (f) P&O under SC-5. (g) LPSO under SC-5. (h) RL-Beta under SC-5. (i) Proposed IGMPPT under SC-6. (j) P&O under SC-6. (k) LPSO under SC-6. (l) RL-Beta under SC-6.
Moreover, SC-5 and SC-6 necessitate two sampling points to capture the shading patterns. The number of sampling points is dependent on the number of irradiance levels for the PVS. The proposed IGMPPT shows faster tracking speed and higher tracking efficiency compared with others. During the experimental assessment, the entire process of confirming the GMPP takes approximately 2.0 s for SC-4, 2.5 s for SC-5, and 2.5 s for SC-6, respectively. In contrast to the P&O, LPSO, and RL-Beta, the proposed IGMPPT shows enhanced efficiency. This advantage can be traced back to its adaptive strategy, where the number of search regions in the proposed IGMPPT depends on the shading conditions of the system. Furthermore, the search regions are strategically decreased when their potential to yield improved performance is deemed unlikely. Besides, the P&O, LPSO, and RL-Beta follow fixed search patterns and are more reliant on the starting points, which results in a decrease in tracking accuracy. As shown in
This paper introduces a novel VR-based IGMPPT method for accurate and efficient GMPPT in PV systems. The proposed IGMPPT leverages VR technology to simulate the spatial and temporal characteristics of a PV system, making it effective in the SPR and determination of search regions through iterative searches. Experimental results demonstrate that the proposed IGMPPT attains an efficiency rate surpassing 90%, accompanied by an accuracy level exceeding 99% in the selected test scenarios. Compared with P&O, LPSO, and RL-Beta methods, the proposed IGMPPT increases tracking efficiency by 27%, 19%, and 5%, respectively, while maintaining a promising tracking accuracy.
References
G. G. Platero, M. G. Casado, M. P. García et al., “CECRE: Supervision and Control of Spanish Renewable Energies in the Last 15 years,” Journal of Modern Power Systems and Clean Energy, vol. 10, no. 2, pp. 269-276, Mar. 2022. [Baidu Scholar]
K. Y. Yap, C. R. Sarimuthu, and J. M.-Y. Lim, “Artificial intelligence based MPPT techniques for solar power system: a review,” Journal of Modern Power Systems and Clean Energy, vol. 8, no. 6, pp. 1043-1059, Nov. 2020. [Baidu Scholar]
J. Dadkhah and M. Niroomand, “Optimization methods of MPPT parameters for PV systems: review, classification, and comparison,” Journal of Modern Power Systems and Clean Energy, vol. 9, no. 2, pp. 225-236, Mar. 2021. [Baidu Scholar]
N. Karami, N. Moubayed, and R. Outbib, “General review and classification of different MPPT Techniques,” Renewable and Sustainable Energy Reviews, vol. 68, pp. 1-18, Feb. 2017. [Baidu Scholar]
S. Makhloufi and S. Mekhilef, “Logarithmic PSO-based global/local maximum power point tracker for partially shaded photovoltaic systems,” IEEE Journal of Emerging and Selected Topics in Power Electronics, vol. 10, no. 1, pp. 375-386, Feb. 2022. [Baidu Scholar]
K. Ishaque and Z. Salam, “A deterministic PSO maximum power point tracker for PV system under PSC,” IEEE Transactions on Industrial Electronics, vol. 60, no. 8, pp. 3195-3206, May 2012. [Baidu Scholar]
D. F. Teshome, C. H. Lee, Y. W. Lin et al., “A modified firefly algorithm for photovoltaic maximum power point tracking control under partial shading,” IEEE Journal of Emerging and Selected Topics in Power Electronics, vol. 5, no. 2, pp. 661-671, Jun. 2017. [Baidu Scholar]
V. Jately, S. Bhattacharya, B. Azzopardi et al., “Voltage and current reference based MPPT under rapidly changing irradiance and load resistance,” IEEE Transactions on Energy Conversion, vol. 36, no. 3, pp. 2297-2309, Sept. 2021. [Baidu Scholar]
Z. Bi, J. Ma, K. L. Man et al., “An enhanced 0.8VOC-model-based global maximum power point tracking method for photovoltaic systems,” IEEE Transactions on Industry Applications, vol. 56, no. 6, pp. 6825-6834, Nov. 2020. [Baidu Scholar]
A. Gholami, M. Ameri, M. Zandi et al., “Step-by-step guide to model pv panels: an up-to-date comparative review study,” IEEE Journal of Photovoltaics, vol. 12, no. 4, pp. 915-928, May 2022. [Baidu Scholar]
S. Shukla, B. Singh, P. Shaw et al., “A new analytical MPPT-based induction motor drive for solar PV water pumping system with battery backup,” IEEE Transactions on Industrial Electronics, vol. 69, no. 6, pp. 5768-5781, Jun. 2022. [Baidu Scholar]
S. Senthilkumar, V. Mohan, S. P. Mangaiyarkarasi et al., “Analysis of single-diode PV model and optimized MPPT model for different environmental conditions,” International Transactions on Electrical Energy Systems, vol. 2022, p. 4980843, Jan. 2022. [Baidu Scholar]
V. L. Mishra, Y. K. Chauhan, and K. S. Verma, “A critical review on advanced reconfigured models and metaheuristics-based MPPT to address complex shadings of solar array,” Energy Conversion and Management, vol. 269, p. 116099, Oct.2022. [Baidu Scholar]
N. Swaminathan, N. Lakshminarasamma, and Y. Cao, “A fixed zone P&O MPPT technique for a standalone distributed PV system,” IEEE Journal of Emerging and Selected Topics in Power Electronics, vol. 10, no. 1, pp. 361-374, Mar. 2022. [Baidu Scholar]
J. S. Koh, R. H. Tan, W. H. Lim et al., “A modified PSO for efficient MPPT under PSC,” IEEE Transactions on Sustainable Energy, vol. 14, no. 3, pp. 1-12, Mar. 2023. [Baidu Scholar]
M. C. Cavalcanti, F. Bradaschia, A. J. do Nascimento et al., “Hybrid maximum power point tracking technique for PV modules based on a double-diode model,” IEEE Transactions on Industrial Electronics, vol. 68, no. 9, pp. 8169-8181, Sept. 2021. [Baidu Scholar]
D. Lin, X. Li, S. Ding et al., “Self-tuning MPPT scheme based on reinforcement learning and beta parameter in PV power systems,” IEEE Transactions on Power Electronics, vol. 36, no. 12, pp. 13826-1 838, Jun. 2021. [Baidu Scholar]
M. Dehghani, M. Taghipour, G. B. Gharehpetian et al., “Optimized fuzzy controller for MPPT of grid-connected PV systems in rapidly changing atmospheric conditions,” Journal of Modern Power Systems and Clean Energy, vol. 9, no. 2, pp. 376-383, Mar. 2021. [Baidu Scholar]
K. Danyluk, T. Ulusoy, W. Wei et al., “Touch and beyond: comparing physical and virtual reality visualizations,” IEEE Transactions on Visualization and Computer Graphics, vol. 28, no. 4, pp. 1930-1940, 2022. [Baidu Scholar]
J. M. G. Lopez, R. O. J. Betancourt, J. M. R. Arredondo et al., “Incorporating VR into the teaching and training of grid-tie photovoltaic power plants design,” Applied Sciences, vol. 9, no. 21, p. 4480, Oct. 2019. [Baidu Scholar]
B. Celik, E. Karatepe, N. Gokmen et al., “A VR study of surrounding obstacles on biPV systems for estimation of long-term performance of partially shaded PV arrays,” Renewable Energy, vol. 60, pp. 402-414, Dec. 2013. [Baidu Scholar]
J. Pinthong and W. Kaewmanee, “VR of solar farm for the solar energy system training,” in Proceedings of 2020 5th International STEM Education Conference (iSTEM-Ed), Hua Hin, Thailand, Nov. 2020, pp. 2-4. [Baidu Scholar]
J. Ma, D. Hong, K. Wang et al., “Analytical modeling and parameter estimation of photovoltaic strings under partial shading conditions,” Solar Energy Materials and Solar Cells, vol. 235, p. 111494, Jan. 2022. [Baidu Scholar]