This application provides a sampling circuit and an
inverter for an
inverter. The
inverter includes a three-phase output circuit, each phase output circuit including an AC switch connected to the
power grid; the side of the AC switch closer to the inverter is connected to an inverter-side
inductor and a
filter capacitor, and the side closer to the
power grid is connected to a grid-side
inductor. The sampling circuit includes three
resistor sampling units. The first terminal of the first
resistor sampling unit is connected to the node between the AC switch and the grid-side
inductor in the first phase output circuit, and its second terminal is connected to the node between the AC switch and the grid-side inductor in the second phase output circuit, used to sample the line
voltage between the first and second phase output circuits; the second
resistor sampling unit is used to sample the line
voltage between the second and
third phase output circuits; and the third resistor sampling unit is used to sample the line
voltage between the third and first phase output circuits. This solution can avoid introducing high-frequency
harmonic paths and suppress high-frequency
harmonics generated by the sampling circuit.