In this article, power management strategy (PMS) is presented, that controls power flow in a grid-connected mode in a DC microgrid. The power regulation plan for a DC microgrid, when linked to the main grid, is designed to maintain a balance among power generation, storage, and usage within the microgrid, taking into account its relationship with the main power source. This approach should strive to optimally utilize existing resources, guarantee a stable grid, and enhance the overall performance and dependability of the microgrid system. Components of this model are ac utility grid, Voltage Source Converter (VSC), a distributed generation (DG) used as a grid-feeding unit, Energy Storage System (ESS) made up of battery bank in combination with bidirectional dc-dc converter behaving as a grid-supporting structure and loads that demand strict voltage regulation. By relying entirely on VSC power exchange for information, the proposed PMS streamlines the communication channel between the VSC and the ESS. The outcomes of the experiments conducted demonstrate the viability of the proposed PMS, which offers good ESS performance and power flow control inside the DC microgrid while preserving the DC bus voltage. Power flow inside the system is balanced between supply and demand at various periods with help of the overall control strategy. The control technique was tested under various circumstances in the MATLAB/Simulink software.