The invention relates to an inverter which comprises a circuit system and a control system. The circuit system comprises a solar cell panel and a power grid output. A direct current switch, a BOOST boosted circuit, a single phase full bridge circuit and a grid-tied filter are sequentially arranged between the solar cell panel and the power grid output. The control system comprises a digital signal processor (DSP) control platform, the DSP control platform is connected with a protection module, a sampling and conditioning module, a passage zero comparison module and a level switch module, and the level switch module is connected with an input/output (I/O) information module, a driving module and a power amplifier module. The inverter has the advantages of being based on the DSP control platform, using modes of topology, modulation and the like, and having high efficiency, light weight, small size and the like in actual use. The highest efficiency reaches to 97.51%. Simultaneously, the inverter can control and track grid-tied voltage phase without dead beat, and achieves unity power factor grid-tied. Grid-tied current has good harmonic characteristics, and full load total harmonic distortion (THD) is 1.57%.