In a microgrid, photovoltaic (PV) systems are broadly preferred with energy storage systems (ESSs) that form small-sized direct current (DC) microgrids. They are also termed local grids i.e., DC nanogrids, which feed the local consumers to some extent in the next decades. Therefore, ESSs enable the DC nanogrids more flexible and stable by preserving the intermittent nature of renewables. Yet still, feeding local consumers smoothly with PV-battery-based systems is exceedingly a considerable theme. In this context, proper control of power electronics converters as the main carrier of the system is essential. Besides, the rise of PV applications challenges possible issues upon integrating the conventional grid. Emerging possible issues and the ways of dealing with them have been developing day by day. Thus, it is inevitable that innovative methods will be put into practice. To achieve this goal, the deep learning aidedsensorless control approach is adopted. To validate the proposed control method, the training phase is presented elaborately with the help of the experimental setup of a DC nanogrid. From the obtained results, it is concluded that the deep learning-based approach reaches very small error values, captures the system dynamics with a high accuracy rate successfully, and allows the possibility to apply practically.INDEX TERMS Deep neural network (DNN), sensorless control, deep supervised learning, photovoltaics, power electronic converters, DC microgrid, DC nanogrid.