The invention discloses a photovoltaic grid-connected system based on an FPGA and a realization method thereof. The system comprises following apparatuses: a photovoltaic cell PV, a voltage-stabilizing capacitor, a DC/DC converting circuit, a direct current bus, a DC/AC full-bridge inverter, a core controller FPGA, an alternating current power grid and power supply device, a Web server, and a computer or a mobile terminal etc., the core controller FPGA employs a heterogeneous double-core mode, core-1 generates PWM driving signals of the pre-stage DC/DC converting circuit and the post-stage DC/AC full-bridge inverter and maximum power point tracking (MPPT) control signals, and core-0 performs functions of network service, a database, and remote monitoring etc. through a Linux system. The system and the realization method thereof are advantageous in that the heterogeneous double-core FPGA can process tasks in parallel, flexible combination of various functions is realized, and the operation efficiency of the system is improved; the expansion of the double-core system is easy, high processing performance can be combined with small size, and the system with the appearance is also advantaged by low power consumption and low heat generated by calculation of the power consumption.