The document summarizes a study on synchronizing a photovoltaic (PV) system with a single phase grid. A digital phase locked loop (DPLL) technique is used for synchronization. An optocoupler detects the grid voltage zero crossings and a microcontroller using pulse width modulation controls the inverter to match the grid frequency and phase. Simulation results show the PV system output is synchronized with the grid with low harmonics. Hardware implementation involves using an optocoupler, microcontroller and inverter to synchronize the PV system voltage, frequency and phase to the grid.