AC to DC converters based on one cycle control exhibit instability in current control. In this paper, Modified One Cycle Control (MOCC) for bidirectional ac to dc is proposed. The sum of fictitious current and the actual load current is compared with a sawtooth waveform to generate the generating switches. In order to interface the inverter with the grid service of a Phase Locked Loop (PLL) is required. Designing a phase locked loop for interfacing with a weak grid is always a difficult proposition considering the non-idealities like frequency variation and harmonic distortions in the line voltages.