Abstract: This paper presents the methods for synchronization of a wind based micro grid with main grid. The wind power is generated using the permanent magnet brushless DC generator (PMBLDCG) and the MPPT (Maximum Power Point Tracking) is executed with P&O (Perturb & Observe) approach to extract the maximum power from the wind generation. This power is fed to the AC load using a voltage source inverter (VSI) through the battery bank (BSS) at DC link. The control algorithm operates in standalone mode and grid connected mode. It can switch between islanded and grid connected modes seamlessly according to the wind conditions. In standalone mode, this wind power is fed to the load through a VSI, during low wind conditions; the battery discharges itself to fulfill the load demand. After that, the grid is connected to give power to the load during low wind conditions, and for this, control algorithm operates in grid connected mode. Therefore, the control algorithm switches from voltage control to current control mode to provide smooth synchronization and vice versa at de-synchronization. A MATLAB Simulink model is developed to simulate the system performance during wind variations and load, and during synchronization and de-synchronization.