in this paper, simulation and decentralized control of a microgrid(MG) with two distributed generation (DG) systems are presented. Photovoltaic controller is the type of Maximum Power Point Tracking (MPPT) by Constant Voltage (CV) method and the micro-turbine, voltage and frequency controller is used. A simplified model of VSI with hysteresis Inverter is designed. In order to increase the reliability, energy storage devices are used. In PV system grid-side controller is designed to control the voltage and current signal. Design and control principles of grid-side controller are discussed. The purpose is voltage and current control of MG so that at any moment to be able to respond loads on the network due to overload pressure, the fault events and etc. MATLAB/Simulink software is used for simulation.