Open Access
ARTICLE
Research on MPPT Control and Grid-Connected and Off-Grid Operation Control Strategy of Photovoltaic-Storage Microgrid Based on PSO Algorithm
1 Mechanical Engineering, College of Mechanical and Equipment Engineering, New Campus, Hebei University of Engineering, Handan, 056038, China
2 College of Mechanical and Equipment Engineering, Hebei University of Engineering, Handan, 056038, China
* Corresponding Author: Ze Feng. Email:
(This article belongs to the Special Issue: Advances and Emerging Trends in Photovoltaic Technologies, Energy Storage, and Green Hydrogen)
Energy Engineering 2026, 123(7), 15 https://doi.org/10.32604/ee.2025.074054
Received 30 September 2025; Accepted 20 November 2025; Issue published 18 June 2026
Abstract
This paper develops an MPPT control strategy utilizing the particle swarm optimization (PSO) algorithm to enhance the tracking accuracy of photovoltaic arrays under complex operating conditions and to mitigate the transient effects on energy storage batteries during grid-connected and off-grid transitions. Initially, the operational principle of the three-phase voltage source PWM converter and the bidirectional DC/DC converter within solar power generation and energy storage systems is carefully examined, leading to the establishment of the appropriate mathematical model. Secondly, a voltage and current double closed-loop control structure utilizing feedforward decoupling is devised to meet the cooperative control requirements of multi-energy units in a microgrid. The integration of constant power (PQ) control, virtual synchronous motor (VSG) management, and constant current and voltage charging and discharging strategies facilitate the seamless interaction of energy storage systems and the smooth transition between grid-connected and off-grid states. The integration of multiple control links enhances MPPT tracking accuracy and dynamic response speed, effectively mitigating current and voltage fluctuations during the switching process, thereby significantly improving the system’s transient performance and operational stability in the microgrid. Finally, the simulation model is constructed using MATLAB/Simulink to validate the control approach presented in this paper. The simulation findings indicate that the control approach exhibits commendable dynamic performance, stability, and engineering feasibility in complicated operational settings.Keywords
Amid the escalation of the global energy crisis and the growing awareness of environmental protection, solar energy, recognized as an eco-friendly and renewable resource, has gained prominence. It is frequently developed and utilized as distributed power sources to establish dependable and stable distributed power generation technology [1–3]. Photovoltaic cells are the primary medium for transforming solar energy into electrical energy. Its utilization rate is intrinsically linked to maximum power point tracking. Adopting a judicious MPPT control approach is of paramount importance. The prevalent techniques include the incremental conductance method (INC), perturbation and observation method (P&O), fuzzy control method (Fuzzy), and several enhanced algorithms [4–8]. Reference [9] proposed an artificial rabbit optimization algorithm (ARO) to determine the maximum size of the battery energy storage system in the microgrid to minimize operating costs. Compared with other algorithms, it shows effectiveness and robustness. Reference [10] presented a MPPT methodology that combines the cuckoo algorithm with the conductance increment technique. The cuckoo algorithm is first utilized for global optimization, subsequently succeeded by the conduct increment method for precise localization.
The variability of solar power generation, influenced by temperature and illumination, necessitates the incorporation of an energy storage system to stabilize and establish a microgrid system [11,12]. The microgrid can function in both grid-connected mode with the larger power grid via a common connection point and can swiftly disconnect to operate in off-grid (island) mode during a fault. In this mode, it independently supplies power to local loads while maintaining voltage and frequency stability through the converter’s control strategy [13]. The prevalent control modes of microgrids include master-slave control and peer-to-peer control. Photovoltaic energy storage microgrids typically employ master-slave control systems [14]. The prevalent control strategies employed in the converter encompass PQ control, V/f control, droop control, and VSG control, among others [15–18]. Reference [19] advocated employing a PQ + PQ control approach for grid-connected operation and a V/f + PQ comprehensive control method for off-grid operation to achieve seamless transition from grid-connected to off-grid mode in optical storage microgrids, therefore enhancing stability. Reference [20] indicated that to guarantee stable and efficient synchronization of the microgrid cluster during the transition between island mode and grid-connected mode, while minimizing frequency deviation and enhancing power sharing, a seamless synchronization control utilizing the differential evolution algorithm was devised to address the deficiency of a robust, rapid, and quantifiable synchronization method in microgrid clusters employing hybrid inverters. Reference [21] addresses the power balance issue of the microgrid during off-grid operation following a power grid failure, examines prevalent operational modes, and investigates the seamless transition method between maximum power point tracking and stable voltage control processes of the photovoltaic array. Simultaneously, adaptive droop control is implemented for the energy storage unit to prevent the risk of overcharging or overdischarging. Reference [22] introduced a multi-parameter cooperative adaptive control strategy derived from the conventional VSG control strategy, which significantly mitigated substantial output fluctuations and inadequate response performance during the grid-connected transient process; however, it overlooked the examination of the converter control effect in the off-grid mode of the microgrid. Reference [23] introduced the concept of hybrid energy storage and established the power stratification point for the transition of batteries and supercapacitors to operational mode, employing droop control of the acceleration factor based on state of charge (SOC) data; however, its primary emphasis is on the investigation of micro-grid control strategies that incorporate hybrid energy storage.
This study provides a comprehensive overview of the structure of photovoltaic energy storage microgrids and presents enhancements and innovations to the conventional photovoltaic maximum power point tracking algorithm. The MPPT control strategy employs a particle swarm optimization algorithm to enhance tracking precision and response velocity. A voltage and current double closed-loop control system utilizing feedforward decoupling is proposed to augment the anti-interference capability of the system. Two control mechanisms of the energy storage system converter are examined: constant power control and VSG control. In grid-connected operation mode, the system must maintain a constant power connection to the grid to mitigate the effects of fluctuations in photovoltaic output power on the voltage at the common coupling point (PCC). Consequently, a control method based on PCC voltage has been developed for the energy storage battery. The energy storage battery absorbs and discharges varying powers to sustain the stability of the bus voltage. Simultaneously, a bidirectional DC/DC converter is employed to extend battery lifespan, and a constant current constant voltage charging and discharging control technique is formulated. Upon transitioning from grid-connected mode to off-grid mode, the control mode concurrently shifts to VSG control, thereby markedly mitigating transient effects on the system during the control strategy transition. This effectively preserves the stability of the internal voltage and frequency of the microgrid, facilitating stable operation in off-grid mode. The MATLAB/Simulink simulation platform is employed to construct the photovoltaic energy storage system, and a parallel/off-grid simulation analysis is conducted to validate the stability and feasibility of the system control.
The design framework of this article will be delineated in the subsequent chapters: The second chapter introduces the MPPT control technique with the particle swarm optimization algorithm. The third portion establishes the mathematical model of the solar energy storage microgrid structure, together with the three-phase voltage source PWM converter and the bidirectional DC/DC converter. The fourth section examines the control strategies of solar inverters, bidirectional DC/DC converters, and energy storage converters in both grid-connected and off-grid scenarios. Ultimately, in the fifth portion, the simulation validation is conducted on the MATLAB/Simulink platform, which substantiates the viability of the system’s control strategy coordination.
2 Photovoltaic Maximum Power Point Tracking Principle and Control Strategy
2.1 Photovoltaic Maximum Power Point Tracking Principle
The photovoltaic cell produces free electrons and holes via the photovoltaic effect of the semiconductor PN junction, converting light energy into electrical energy [24]. The output power characteristic curve is a single peak function, with the maximum power point representing the extreme value. To optimize the performance of solar cells and enhance the conversion of light energy into electrical energy, it is essential to use control strategies that adapt the photovoltaic system in real time, ensuring sustained operational output at peak power points.
The infinitesimal technique posits that the characteristic curve of photovoltaic cells can be considered a linear system over a brief duration. As seen in Fig. 1, U0 represents the solar voltage source, R0 denotes the output impedance of the photovoltaic cell, and R1 signifies the load impedance.

Figure 1: Photovoltaic source impedance circuit
The power
The derivation of Eq. (1) can be attained:
To achieve
2.2 MPPT Control Strategy Based on Particle Swarm Optimization Algorithm
The particle swarm optimization algorithm is a numerical optimization technique grounded in swarm intelligence. The concept is inspired by the collective behavior of birds or fish, particularly their cooperative actions while foraging. The particle swarm optimization approach is applicable to both multi-peak convex optimization issues and single-peak problems. The program delineates a collection of
In the context of maximizing value, a higher objective function value correlates with an improved fitness value In the particle swarm optimization process, the individual ideal position
The optimal location
According to the definition, the formula for updating the position and velocity of an individual particle in the PSO algorithm is:
In the formula previously mentioned,
Certain parameters in the PSO algorithm can influence its performance and perhaps compromise the correctness of the answer. A bigger population size increases the number of particles, enhancing global search capabilities, but incurs higher computing costs. A reduced population size results in fewer particles, accelerates convergence speed, but increases the likelihood of succumbing to local optima. To mitigate the deficiencies of various elements, the particle count

Figure 2: Speed direction update diagram
Fig. 3 illustrates the flowchart of the PSO algorithm:

Figure 3: Flow chart of PSO algorithm
The crux of the maximum power point tracking issue in solar power generating systems is the optimization of the photovoltaic array’s output power. Consequently, the PSO_MPPT algorithm is applicable to solar MPPT. The position

Figure 4: Circuit diagram of photovoltaic power generation system based on PSO_MPPT control
When solar irradiance and temperature are specified, the theory of maximum power point tracking dictates that the photovoltaic array delivers maximum power when the output impedance is equivalently matched to the load impedance. A simulation model in MATLAB/Simulink employing the particle swarm optimization approach for MPPT control has been developed. As illustrated in Fig. 5. The Function module encapsulates the prepared particle swarm optimization method within a subsystem. The system utilizes the output voltage and current of the photovoltaic cell as inputs, which subsequently regulate the duty cycle of the DC chopper switch to manage the pulse. The output impedance is adjusted to match the internal resistance by modifying the duty cycle, thereby enabling the photovoltaic cell to operate at its maximum power point.

Figure 5: Simulation model of photovoltaic power generation based on PSO_MPPT control
3 The Establishment of Topology and Mathematical Model of Photovoltaic Energy Storage Microgrid System
3.1 Optical Storage Micro-Grid Structure
The configuration of the optical storage microgrid presented in this paper is illustrated in Fig. 6. The photovoltaic system functions as the primary power source for the load. The energy storage module regulates charge and discharge via the bidirectional Buck-Boost circuit, interfaces with the critical load through the bidirectional AC/DC converter and ultimately integrates into the distribution network at the Point of Common Coupling. The photovoltaic power generating system employs MPPT control utilizing a particle swarm optimization technique to maximize power output, while the photovoltaic inverter implements double closed-loop control with feedforward decoupling. The energy storage converter employs PQ control in grid-connected mode to achieve a stable power connection and maintain the system’s power quality. In off-grid mode, the energy storage converter is transitioned to VSG management to maintain system voltage and frequency stability, hence facilitating the reliable operation of the microgrid.

Figure 6: Structure diagram of photovoltaic energy storage microgrid system
3.2 Topology and Mathematical Model of Voltage Source PWM Converter
The three-phase voltage source PWM inverter comprises six power switching components. The AC side employs a three-phase symmetrical connection method, directly interfacing with the three-phase lines of the power grid. The entire system demonstrates robust coupling properties and nonlinearity. The six switch tubes operate in a complimentary conduction mode of the upper and lower half bridges, with the switch tube signals created by space vector pulse width modulation technology to achieve the desired control effect. Fig. 7 illustrates the configuration of the primary circuit of the photovoltaic energy storage system.

Figure 7: Main circuit topology
In Fig. 7,
Fig. 7 demonstrates that the mathematical model of the three-phase stationary coordinate system is established using Kirchhoff’s theorem:
In Formula (8),
In the three-phase stationary coordinate system, the three-phase variables are interdependent and vary throughout time. The analysis of one phase’s behavior is frequently influenced by the other two phases. To address this issue and enhance the efficiency and stability of the system control, the three-phase stationary coordinate system (
The link between the three-phase stationary coordinate system and the two-phase stationary coordinate system is established through Clarke transformation:
In Eq. (9), the variables
The mathematical model of the
In Formula (10),
The correlation between Eq. (10) and the
In Eq. (11), the physical quantities
The mathematical model of the
In Eq. (12),
The Laplace transform is used to Eq. (12), resulting in the mathematical model in the corresponding frequency domain as follows:
In type (13),
3.3 The Mathematical Model of Bidirectional DC/DC Converter Is Established
A bidirectional DC/DC converter is a power conversion apparatus capable of facilitating bidirectional energy transfer. The prevalent architecture is the Buck/Boost circuit. Its primary role is to regulate the output duty cycle by modifying the space vector pulse modulation signal that influences the power switch transistor. The boost and buck are successfully implemented, fulfilling the objectives of charging and draining the energy storage battery. Fig. 8 is the circuit structure diagram:

Figure 8: Bidirectional DC/DC converter circuit structure diagram
The energy storage battery is currently in discharge mode. The bidirectional DC/DC converter functions as a boost chopper circuit to elevate the lower voltage of the battery to the higher voltage demanded by the grid or load. At its interior, the inductor stores and subsequently releases energy, thereby increasing the voltage through the high-speed switching of the switch tube. Currently,
In type (14),
Eq. (14) is resolved using three elements to determine
In Formula (15),
Upon deactivation of the power diode
In Eq. (16),
Eq. (16) is resolved using three elements to determine
In Eq. (17),
Combining Eq. (15) with Eq. (17), we can get:
When
The energy storage battery is in charging mode. To safely and reliably decrease the elevated grid voltage to a lower voltage suitable for the battery, the bidirectional DC/DC converter functions as a step-down chopper circuit. The calculation steps are the same as above. The process is no longer described here. The final formula is:
When
During normal circuit operation, four power units are produced. The photovoltaic system’s output power is denoted as
3.4.1 Grid-Connected Operation of Photovoltaic Energy Storage System
In the photovoltaic system, the photovoltaic component consistently generates power in a positive state. In the energy storage system, the energy storage battery exhibits a positive condition during discharge and a negative state during charging. The load consistently consumes power, maintaining a negative state, while the photovoltaic output exceeds the load consumption.
The Formula (20) elucidates the link among the four variables and facilitates the assessment of the energy storage battery’s operational status:
1. When
2. When
3. When
3.4.2 Photovoltaic Energy Storage System Off-Grid Operation
The Formula (21) elucidates the link among the three variables and enables the assessment of the energy storage battery’s operational state:
1. When
2. When
3. When
4 Research on Grid-Connected and Off-Grid Control Strategy of Photovoltaic Energy Storage System
4.1 Control Strategy of Voltage Source PWM Converter for Photovoltaic System
The three-phase voltage source PWM converter in a photovoltaic system has a dual closed-loop control strategy consisting of an outer voltage loop and an inner current loop. The voltage outer loop output dictates the input for the current inner loop. The synchronous phase locking technique is employed to guarantee frequency synchronization and phase alignment between the inverter and the grid. The space vector pulse technology is employed to produce the signals for six power switches. As illustrated in Fig. 9:

Figure 9: Photovoltaic system converter control block diagram
The mathematical model of the
In Formula (22),
The feed-forward decoupling model of three-phase voltage source PWM converter in
Eq. (23) demonstrates the elimination of the two coupling quantities in the

Figure 10: Current feed-forward decoupling loop control block diagram
The prior study indicates that the existing inner loop control can enhance the dynamic reaction speed of the converter and mitigate voltage fluctuations post-decoupling. Fig. 11 illustrates the control procedure of the

Figure 11: D-axis current loop control process
The image illustrates
In Eq. (24),
Then the open loop transfer function of the inner loop can be derived:
To satisfy the requirements of the present inner loop for high current tracking, the current loop is engineered in accordance with the type I system. The specific parameters are shown in Table 1:

Among the parameters of the type I system, the damping ratio
The formula for determining the parameters of a PI regulator can be derived concurrently:
The simplified transfer function of the current loop, as per this design, is:
Eq. (28) indicates that the current inner loop, created in accordance with the type I system, can be approximated as an inertial link, with an inertia constant of
In Formula (29):
Through computational integration, we can obtain:
The voltage outer loop ensures the stability of the output voltage; it mitigates overshoot and fluctuations during load or input voltage variations, hence enhancing the system’s resistance to interference. The voltage loop is engineered in accordance with a type II system. The voltage loop control procedure is illustrated in Fig. 12:

Figure 12: Voltage loop control block diagram
In the diagram,
From this, the open loop transfer function of the outer ring can be derived:
Voltage outer ring bandwidth:
According to the integration of type II system design parameters:
Based on the attributes of the voltage outer loop,
In the design of the voltage loop utilizing a conventional type II system, the cut-off frequency
When
The frequency bandwidth
Through computational integration, we can obtain:
4.2 Control Strategy of Voltage Source PWM Converter for Energy Storage System
4.2.1 Grid-Connected Operation Mode
The energy storage system employs PQ control in grid-connected mode, comprising a phase-locked loop module, a coordinate transformation module, a power control loop, and a current control loop as its primary components. The power outer loop primarily oversees and dynamically modifies the output power in real time to attain zero-error control, thereby integrating into the grid with a stable power of 10,000 W. As seen in Fig. 13:

Figure 13: Grid-connected control block diagram of energy storage system converter
The energy storage system is similarly regulated by the PI controller, akin to the solar system, as detailed below:
In Formula (37):

Figure 14: Control block diagram based on power outer loop and current inner loop
The energy storage system’s power outer loop control principle parallels the voltage outer loop control principle of the photovoltaic system, while the current inner loop control principle aligns with that of the photovoltaic system; thus, this aspect will not be examined in detail here. By analyzing the integration solution, the proportional gain
The energy storage system operating in off-grid mode is regulated by VSG, primarily consisting of an active power-frequency loop, a reactive power-voltage loop, and a dual closed-loop control for voltage and current. Currently, energy storage is employed as the main power supply to maintain the voltage and frequency stability of the microgrid and support the microgrid to run stably in the off-grid mode. As illustrated on Fig. 15:

Figure 15: Off-grid control block diagram of energy storage system converter
VSG control aims to attain stable regulation of the power grid by emulating the operational characteristics of classic synchronous generators using converters from renewable energy generation equipment, facilitated by algorithms and power electronic control technology. The conventional synchronous generator depends on the mechanical inertia of the rotor and the damping winding to uphold system frequency and voltage stability. The VSG emulates the characteristics of rotor motion equations and excitation regulation via a mathematical model, thereby simulating inertia
In Formula (38):
The block diagram of the active-frequency loop control model of the VSG is generated from the second-order model of the traditional synchronous generator, in conjunction with Formula (38), as seen in Fig. 16.

Figure 16: VSG active-frequency loop control block diagram
The primary objective of the excitation control system in a synchronous generator is to uphold the stability of the generator’s terminal voltage and to allocate the excitation-induced electromotive force across parallel operating units by modulating the excitation current. This concept is further developed in the VSG control technique. The simulation is executed by the droop characteristics of reactive power-voltage. The relationship between reactive power-voltage control is typically represented by the following equation:
In Formula (39):
The phase reference value is derived from the output voltage amplitude reference of the reactive power-voltage control block diagram in Fig. 17. The integration demonstrates that the VSG reference voltage is represented in Eq. (40):

Figure 17: VSG reactive power-voltage loop control block diagram
The structural diagram of the VSG control technique is illustrated in Fig. 18:

Figure 18: VSG control structure block diagram
In VSG control, the converter’s output voltage and current are regulated using dual-loop control, enhancing steady-state precision, current response velocity, and system quality. Moreover, while the essential principles of the double closed-loop control in PWM converters within photovoltaic systems are analogous, there exist distinctions in their primary purposes. In VSG control, it is essential to manage bidirectional energy flow and support the power grid. The

Figure 19: Double-loop control block diagram of d-axis voltage and current
4.3 Design and Research of Bidirectional DC/DC Converter in Energy Storage System
To guarantee the reliable functioning of the optical storage microgrid system, it is essential to investigate the control strategy of the bidirectional DC/DC converter. The converter employs a constant current and constant voltage charging mechanism, in conjunction with the lifespan of the energy storage battery. The actual voltage value

Figure 20: Constant current constant voltage charge control block diagram
During discharge, the converter employs constant current discharge control, utilizing just current loop control. The present output reference value

Figure 21: Constant current discharge control block diagram
To assess the viability of MPPT control utilizing the particle swarm optimization algorithm, as well as the grid-connected PQ control and off-grid VSG control of the photovoltaic energy storage system proposed herein, a simulation model for both grid-connected and off-grid configurations of the photovoltaic energy storage system is developed in MATLAB/Simulink, as illustrated in Fig. 22.

Figure 22: Photovoltaic energy storage system off-grid simulation model
5.1 MPPT Simulation Analysis Based on Particle Swarm Optimization Algorithm
In this paper, the type of photovoltaic panel is ISoltech ISTH-215-P, in which the number of parallel connections is 5 and the number of series connections is 14. This work employs a step change in irradiance to accurately reflect the instability of light intensity in real life. At a light intensity of 1000

Figure 23: Photovoltaic panel power and voltage diagram. (a) Power and voltage of a single photovoltaic panel under different light intensities; (b) The power and voltage of photovoltaic array at different temperatures
The solar array, serving as the primary power supply, will experience significant power fluctuations due to variations in light intensity, whereas temperature has minimal impact on these fluctuations. Consequently, this research establishes the temperature at 25°C, which remains constant throughout the simulation phase. The initial light intensity is 1000
This research establishes a total simulation duration of 1 s to examine the rapid response capabilities and transient stability of the control system under varying external conditions. Fig. 24 illustrates that at a light intensity of 1000

Figure 24: Comparison of particle swarm optimization algorithm and incremental conductance method. (a) 0~0.3 s local amplification map; (b) 0.3~1 s local amplification map
5.2 Parallel/Off-Grid Simulation Analysis of Photovoltaic Energy Storage System
To thoroughly examine the attributes of the current and voltage in the photovoltaic energy storage system during both grid-connected and off-grid operations depicted in Fig. 22, This work establishes a simulation duration of 1 s, with a constant load consumption power of 4000 W, and delineates the entire operational process into three distinct stages for research and analysis.
During the simulation process, the system temperature is maintained at a constant 25°C, while only the light irradiance is varied to assess the system’s response. In the initial phase (0~0.3 s), the light intensity of the photovoltaic array is established at 1000
This document designates the battery as the energy storage unit. The fundamental specifications are a rated voltage of 400 V, a rated capacity of 200 Ah, and an initial SOC established at 80%. In grid-connected operation, the system delivers an active power of 10 kW and a reactive power of
The voltage and current waveforms on the grid side during the grid-connected period are illustrated in Fig. 25. The operational process exhibits sinusoidal characteristics, while the absence of mutation indicates the system’s great stability. Fig. 25a illustrates that the current and voltage attain identical frequency and phase at 0.06 s, indicating a trend towards system stability. Fig. 25b illustrates that at 0.3 s, the output power of the photovoltaic array, prompted by the abrupt change in light intensity, is inferior to that of the power grid, rendering it insufficient for grid connection. The voltage on the grid side remains stable, indicating that the energy storage battery effectively sustains voltage and current stability during this interval, thereby mitigating system fluctuations resulting from the sudden light variation.

Figure 25: Grid-side voltage and current waveforms. (a) 0~0.3 s voltage and current waveforms; (b) 0.3~0.6 s voltage and current waveforms
The related power waveforms of the system grid-connected and off-grid are shown in Fig. 26. The research indicates that in the initial phase, the photovoltaic system’s output power is approximately 14,920.5 W, with the surplus power remaining after load consumption exceeding the grid’s necessary power by 10,000 W. The battery is charged at a power of 920.5 W, and the power value is negative. During the second stage, the residual power output of the photovoltaic system abruptly alters to 6555.1 W, which is inferior to the power grid’s output. The battery discharges at 3444.9 W, with a positive power value. In the third step, the system is in an off-grid condition. Currently, after deducing the power necessary for the critical load, the remaining 6555.1 W is being charged to the battery, resulting in a negative power figure. The reactive power of the energy storage system exhibits no overshoot and remains consistently steady at 0 Var.

Figure 26: Simulation diagram of grid-connected/off-grid power of photovoltaic energy storage system. (a) Power grid active power diagram; (b) Reactive power diagram of power grid; (c) Active power diagram of energy storage system; (d) Reactive power diagram of energy storage system
The charge and discharge state diagram of the battery, as well as the waveform of the voltage and current, are depicted in Fig. 27. The waveform exhibits sinusoidal characteristics, no discernible distortion, and no significant current fluctuations. The figure illustrates that voltage and current stabilization commence at around 0.06 s. Between 0 and 0.3 s, as the battery charges, the SOC increases, resulting in voltage and current oscillating at the same frequency. During battery depletion at 0.3 to 0.6 s, the SOC diminishes, with voltage and current exhibiting identical frequency and phase. When the battery is charged at 0.6 to 1 s, the SOC rises, and the same frequency is reversed.

Figure 27: The voltage and current waveforms and the state of charge diagram of the battery side. (a) 0~0.3 s voltage and current waveforms; (b) 0.3~0.6 s voltage and current waveforms; (c) 0.6~1 s voltage and current waveform; (d) Charging and discharging state of charge of battery
Fig. 28 illustrates the DC bus output process of solar and energy storage systems. The system promptly monitors the maximum power initially, resulting in transient power and bus voltage overshoots. Both waveforms stabilize approximately at 0.1 s. Upon the reduction of light at 0.3 s, the photovoltaic output power diminishes, leading to a concomitant decline in the DC bus voltage. After 0.6 s, the residual power from the photovoltaic output is utilized to charge the battery, leading to a transient elevation in the bus voltage of the energy storage system, which stabilizes after around 0.05 s. The system’s voltage level is progressively stabilized and sustained at 800 V.

Figure 28: DC bus voltage simulation diagram. (a) DC bus voltage diagram of photovoltaic system; (b) DC bus voltage diagram of energy storage system
In the context of the photovoltaic energy storage system integrated into the grid, when the system is stable, the total harmonic distortion (THD) of the current, after Fourier transformation, is 3.71%, as illustrated in Fig. 29. This value is below the regulatory threshold of 5%, thereby satisfying the criteria for grid connection.

Figure 29: FFT analysis of grid-connected current
The examination of Fig. 30a,b indicates that at 0.6 s, the microgrid system transitions to the off-grid state, resulting in fluctuations currently. The frequency fluctuation difference

Figure 30: Comparison of frequency and current AC buses under different control strategies. (a) Frequency waveform of control strategy in this paper; (b) Frequency waveform of conventional control strategy; (c) Single-phase current waveform of control strategy in this paper; (d) Single-phase current waveform of conventional control strategy
Fig. 31 illustrates the comparative diagram of the current output of the energy storage system: The analysis indicates that the traditional control approach will overshoot upon switching at 0.6 s, but the control strategy presented in this work demonstrates the benefit of a smooth transition.

Figure 31: Comparison of current output of energy storage system under different control strategies. (a) The current output waveform of the energy storage terminal under the control strategy of this paper; (b) The current output waveform of the energy storage terminal under the conventional control strategy
Comparison with Reference [25] and traditional control strategies, as illustrated in Table 2, demonstrates that the control method mitigates the impact of voltage, current, and frequency on the system.

This paper employs the particle swarm optimization algorithm for maximum power point tracking in photovoltaic systems, excluding the consideration of local shading effects. It analyzes the control strategy transition of photovoltaic energy storage systems from grid-connected to off-grid but does not examine the reverse transition. Furthermore, it verifies only the feasibility of the overall system control strategy, without an in-depth investigation of the power grid’s harmonic issues. Considering the constraints of this study and the prospective advancement of photovoltaic energy storage microgrid systems, the course group members intend to engage in comprehensive research and discourse in the subsequent areas:
1. To address the issue of local shading conditions, a refined particle swarm optimization approach is employed to attain more precise maximum power point tracking.
2. The simulation study comparing off-grid and grid-connected systems has been incorporated, and a pre-synchronization control plan module has been introduced to mitigate the transient effects on the system. Attain seamless grid integration.
3. The three-level or multi-level architecture of the three-phase voltage source PWM converter is engineered to diminish grid-connected current harmonics, minimize losses, and enhance conversion efficiency.
This work focuses on the maximum power point tracking of solar arrays and the switching between grid-connected and off-grid modes in photovoltaic energy storage microgrids. The contents encompass the MPPT control technique, the three-phase voltage source PWM converter control method, and the bidirectional DC/DC converter. The mathematical modeling, topology, and operational mode of the control strategy are presented. Through theoretical study and simulation validation, the following findings are derived:
1. The suggested MPPT control technique utilizing a particle swarm optimization algorithm attains enhanced response speed, superior tracking precision, and reduced oscillation, hence maximizing the output efficiency of photovoltaic cells.
2. A control technique utilizing feedforward decoupling of the voltage outer loop and current inner loop in a double closed-loop configuration is proposed for a three-phase voltage source PWM converter in solar systems. The converter employs a PQ control approach in the energy storage system when interfaced with the grid. Following the active off-grid phase, the system transitions to a VSG control strategy, with each control strategy operating in conjunction with the others. During the grid-connected phase, it can be integrated into an extensive power system, resulting in stable power output. When the solar cell’s power is higher than that of the power grid, the extra energy can be used to charge the energy storage battery and power the grid at the same time. This way, no energy is wasted. When the power is inferior to the power grid, energy storage compensates for the deficit to prevent power fluctuations. Throughout the off-grid duration, energy storage serves as the primary power source to uphold the voltage and frequency stability of the microgrid system. The residual energy from the solar cell utilized by the critical load is still directed into the energy storage battery to compensate for future power deficits or outages.
3. A constant voltage charging and discharging control approach is given for the bidirectional DC/DC converter, which significantly enhances the stability of the DC bus voltage and the charging and discharging efficiency of the energy storage battery.
4. The synchronized implementation of each control technique successfully mitigates power fluctuations. Upon transitioning the grid to off-grid mode, the enhanced control method minimizes transient effects, thereby significantly enhancing power quality and ensuring system stability.
Acknowledgement: Not applicable.
Funding Statement: The authors received no specific funding for this study.
Author Contributions: The authors confirm contribution to the paper as follows: research conception and design: Tao Wang, Ze Feng, Jinghao Ma; data collection: Ze Feng, Jinghao Ma, Shenhui Chen; analysis and interpretation of the results: Jihui Zhang, Tong Wang; manuscript preparation: Ze Feng; vouch: Tao Wang. All authors reviewed the results and approved the final version of the manuscript.
Availability of Data and Materials: The data that support the findings of this study are available from the Corresponding Author, Ze Feng, upon reasonable request.
Ethics Approval: Not applicable.
Conflicts of Interest: The authors declare no conflicts of interest to report regarding the present study.
References
1. Wang T, Ma J, Lin C, Li X, Chen S, Zhang J. Research on the smooth switching control strategy of electric vehicle charging stations based on photovoltaic-storage–charging integration. World Electr Veh J. 2024;15(11):528. doi:10.3390/wevj15110528. [Google Scholar] [CrossRef]
2. Chen L, Xu Q, Yang Y, Gao H, Xiong W. Community integrated energy system trading: a comprehensive review. J Mod Power Syst Clean Energy. 2022;10(6):1445–58. doi:10.35833/mpce.2022.000044. [Google Scholar] [CrossRef]
3. Xiao D. A review on risk-averse bidding strategies for virtual power plants with uncertainties: resources, technologies, and future pathways. Technologies. 2025;13(11):488. doi:10.3390/technologies13110488. [Google Scholar] [CrossRef]
4. Gonzalez-Carreon KM, García Kerdan I. Optimising large-scale solar-based distributed energy generation systems in high-density urban areas: an integrated approach using geospatial and techno-economic modelling. Energy. 2025;327:136425. doi:10.1016/j.energy.2025.136425. [Google Scholar] [CrossRef]
5. Id Ouissaaden F, Dlimi S, Kamel H, Mohssin A, Abdelaziz K. Comparative analysis of P&O and fuzzy logic MPPT techniques for photovoltaic systems under standard and partial shading conditions using DC-DC converters. Int J Eng Res Afr. 2025;75(1):159–73. doi:10.4028/p-n9gkzc. [Google Scholar] [CrossRef]
6. Hasan MG, Uddin MA, Ferdous AHMI, Sadeque MG. Enhanced maximum power point tracking using hybrid GA and PSO algorithms for solar PV systems. Results Eng. 2025;28:107708. doi:10.1016/j.rineng.2025.107708. [Google Scholar] [CrossRef]
7. Zhou R, Xu L, Liu W, Han B, Wan Z. Research on photovoltaic MPPT control algorithm based on improved perturbation and observation methods. Power Supply Technol. 2023;47(3):388–92. (In Chinese). [Google Scholar]
8. Yaakub MF, Radzi MAM, Noh FHM, Azri M, Shafie S, Azis N, et al. Enhanced incremental conductance MPPT with adjustable reference current and scheduled-gain using a power zoning strategy for flyback-based photovoltaic inverter systems. J Power Energy Eng. 2025;13(9):261–73. doi:10.4236/jpee.2025.139018. [Google Scholar] [CrossRef]
9. Momani RQ, Abuelrub A, Al-Masri HMK, Al-Shetwi AQ. Cost-optimal sizing of battery energy storage systems in microgrids using artificial Rabbits optimization. Energy Nexus. 2025;19:100486. doi:10.1016/j.nexus.2025.100486. [Google Scholar] [CrossRef]
10. Muhammad SA, Jans H, Yusuf PY. Speed improvement of maximum power point tracker (MPPT) based on perturb and observe (P&O) algorithm by using fractional short circuit current (FSCC) on the FPGA. Eng Headw. 2025;27:122–33. doi:10.4028/P-MZXTE1. [Google Scholar] [CrossRef]
11. Xiao Y, Wei H, Wu S, Pan J, Chen T, Zhang H. Research on MPPT control strategy based on LSTM and IHOA algorithm. Electr Power Syst Res. 2026;250:112097. doi:10.1016/j.epsr.2025.112097. [Google Scholar] [CrossRef]
12. Dey B, Jadav R, Kumar RS. Choice of an efficient, sustainable and cost-effective energy storage system for optimal operation of a microgrid system incorporating adaptive demand side management strategies. J Energy Storage. 2025;139:118896. doi:10.1016/j.est.2025.118896. [Google Scholar] [CrossRef]
13. Thi Pham XH. An improved controller for AC/DC hybrid microgrid using bidirectional interlinking converter. J Electr Eng Technol. 2025;2025:1–15. doi:10.1007/s42835-025-02466-1. [Google Scholar] [CrossRef]
14. Alves GH, Guimarães GC, Moura FAM, de Souza AC, Rogério L, Silva LRC. Proposal of a master-slave control for an isolated microgrid after an intentional islanding. J Control Autom Electr Syst. 2023;34(4):731–42. doi:10.1007/s40313-023-01001-9. [Google Scholar] [CrossRef]
15. Wang T, Lin C, Zheng K, Zhao W, Wang X. Research on grid-connected control strategy of photovoltaic (PV) energy storage based on constant power operation. Energies. 2023;16(24):8056. doi:10.3390/en16248056. [Google Scholar] [CrossRef]
16. Vimala D, Vemula NK, Lokeshgupta B, Devarapalli R, Knypiński Ł. Hybrid finite control set model predictive control and universal droop control for enhanced power sharing in inverter-based microgrids. Energies. 2025;18(19):5200. doi:10.3390/en18195200. [Google Scholar] [CrossRef]
17. Zhu Z, Sun S, Ding Y. Research on adaptive smooth switching control strategy for strong and weak power grids in multi-machine parallel PV energy storage VSG system. Glob Energy Interconnect. 2025;8(5):790–803. doi:10.1016/j.gloei.2025.03.005. [Google Scholar] [CrossRef]
18. Liang Z, Mu L, Zhang F, Zhou H, Zhang X. The fault detection method of islanded microgrid with the V/f controlled distributed generation. Int J Electr Power Energy Syst. 2019;112:28–35. doi:10.1016/j.ijepes.2019.04.030. [Google Scholar] [CrossRef]
19. Wang X, Zhang J. Research on an integrated control strategy for grid-connected and off-grid optical storage microgrids. J Phys Conf Ser. 2024;2741(1):012050. doi:10.1088/1742-6596/2741/1/012050. [Google Scholar] [CrossRef]
20. Horrillo-Quintero P, García-Triviño P, Carrasco-González D, Fernández-Ramírez LM. Optimal control strategy based on differential evolution algorithm for seamless transition between islanded and grid-connected operation modes in microgrid clusters. Expert Syst Appl. 2026;297:129461. doi:10.1016/j.eswa.2025.129461. [Google Scholar] [CrossRef]
21. Chen M, Ma S, Wan H, Wu J, Jiang Y. Distributed control strategy for DC microgrids of photovoltaic energy storage systems in off-grid operation. Energies. 2018;11(10):2637. doi:10.3390/en11102637. [Google Scholar] [CrossRef]
22. Mei Y, Zong J. Control strategy of grid-connected inverter based on adaptive virtual synchronous machine. J Power Supply. 2024;45(7):259–66. [Google Scholar]
23. Liu DB, Li LG, Li SC, Liu GX, Dai X. Coordinated control strategy for isolated DC microgrid with hybrid energy storage system. Renew Energy Resour. 2020;38(4):524–31. (In Chinese). doi:10.13941/j.cnki.21-1469/tk.2020.04.016. [Google Scholar] [CrossRef]
24. Su Z, Shi C, Zhang K, Xie X, Zhang X, Xiao J. TransFCloudNet: a dual-branch feature fusi on ground-based cloud image fine-grained segmentation method for photovoltaic power prediction. Energy Convers Manag. 2026;348:120647. doi:10.1016/j.enconman.2025.120647. [Google Scholar] [CrossRef]
25. Yang Y, Yang K, Shao Y, Chen Y. Research on smooth switching control strategy of microgrid. Renew Energy. 2018;36(1):36–42. (In Chinese). doi:10.13941/j.cnki.21-1469/tk.2018.01.006. [Google Scholar] [CrossRef]
Cite This Article
Copyright © 2026 The Author(s). Published by Tech Science Press.This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.


Submit a Paper
Propose a Special lssue
View Full Text
Download PDF
Downloads
Citation Tools