Recently, the penetration of energy storage systems and photovoltaics has been significantly expanded worldwide. In this regard, this paper presents the enhanced operation and control of DC microgrid systems, which are based on photovoltaic modules, battery storage systems, and DC load. DC–DC and DC–AC converters are coordinated and controlled to achieve DC voltage stability in the microgrid. To achieve such an ambitious target, the system is widely operated in two different modes: stand-alone and grid-connected modes. The novel control strategy enables maximum power generation from the photovoltaic system across different techniques for operating the microgrid. Six different cases are simulated and analyzed using the MATLAB/Simulink platform while varying irradiance levels and consequently varying photovoltaic generation. The proposed system achieves voltage and power stability at different load demands. It is illustrated that the grid-tied mode of operation regulated by voltage source converter control offers more stability than the islanded mode. In general, the proposed battery converter control introduces a stable operation and regulated DC voltage but with few voltage spikes. The merit of the integrated DC microgrid with batteries is to attain further flexibility and reliability through balancing power demand and generation. The simulation results also show the system can operate properly in normal or abnormal cases, thanks to the proposed control strategy, which can regulate the voltage stability of the DC bus in the microgrid with energy storage systems and photovoltaics |