This paper presents an on-grid photovoltaic (PV) in a micogrid which is including a PV array, a boost converter, an inverter and an LC filter. The main challenge of designing the proposed system is the ability to combine the power electronic converters with the corresponding control method to achieve best performance. In this paper, a voltage-current mode controller is proposed to adjust both the input current and DC voltage of a boost-inverter in order to improve the performance of the PV. The proposed system is based on fuzzy-making-decision predictive voltage-current controller (FPVCC). The simulation results show that in case of using the proposed FPVCC, the input current of a PV array is in the limited value (i.e., is approximate 27% of the short-circuit current of a PV panel) compared with a classical voltage controller, an over-current is passing through PV array (i.e., is about 155% of the short-circuit current). Also, the waveform of the output voltage is sinusoidal with low total harmonic distortion (THD), i.e. 4.21%, and the power obtained from a PV array with FPVCC is approximately 6 times of power obtained without a controller.