A single phase inverter feeding AC loads injects a substantial pulsation of the second order harmonic current (SHC) ripple at DC link. Moreover, this ripple may propagate to the DC source in the absence of the suitable controller or large size DC link capacitor. This paper proposes a SHC ripple reduction technique based on the sliding mode control for the DC microgrid application. The control technique utilizes the concept of the output impedance shaping of the DC source in order to resist the propagation of the ripple to input. A non-isolated boost converter topology has been considered as a voltage booster. This converter feeds the single phase inverter loads, and also acts as the output impedance shaping tool of the source. The proposed control technique is verified using MATLAB-simulink. © 2016 IEEE.