Aiming at the problems of low inertia of DC microgrids and power fluctuation which easily effects the bus voltage, a control strategy of analogous virtual synchronous generator is proposed and applied in bi-directional DC-DC converter to strengthen the inertia of DC microgrid and suppress voltage fluctuation of DC bus. Firstly, the virtual synchronous generator control in AC microgrid is analogized to obtain the control strategy of analogous virtual synchronous which is suitable in DC microgrid. Then, the small-signal model is built to theoretically analyze the proposed strategy. The large disturbance in the beginning changes of voltage is corrected by the feedforward compensation. Furthermore, the influence of control parameters on stability after using virtual inertia is analyzed. Finally, the effectiveness of the above theoretical analysis and control strategy is verified by MATLAB/Simulink Simulations. © 2019 Automation of Electric Power Systems Press.