An inverter, comprising: an inverter circuit; an alternating current filter, wherein an input port of the alternating current filter is connected to an output port of the inverter circuit; an alternating current electromagnetic interference, EMI, filter; a first alternating current switch (S 1), connected between an output port of the alternating current filter and an input port of the alternating current EMI filter; wherein the inverter further comprises a first split capacitor, and the first split capacitor is disposed between the first alternating current switch and the input port of the alternating current EMI filter; wherein the alternating current filter comprises an inductor connected in series between the input port and the output port of the alternating current filter and comprises a second split capacitor, and the second split capacitor is connected in parallel between the input port and the output port of the alternating current filter and disposed between the inductor L and the output port of the alternating current filter, characterised in that the inverter further comprises a second alternating current switch, disposed between the first alternating current switch and the input port of the alternating current EMI filter, wherein the first split capacitor is disposed between the first alternating current switch and the second alternating current switch, wherein the inverter is configured such that when the first alternating current switch is turned off and the second alternating current switch is turned on, the first split capacitor is disconnected from the output port of the alternating current filter, and the first split capacitor is connected to a circuit in which an alternating current system connected to the output port of the inverter is located, so that a capacitance value of the circuit in which the alternating current system is located is increased to suppress harmonic distortion input into the alternating current system, and wherein the inverter is configured such that when the first alternating current switch is turned on and the second alternating current switch is turned off, the first split capacitor and the second split capacitor are connected in parallel and then connected in series to the inductor L of the filter, to jointly constitute the filter capacitor of the alternating current filter. an inverter circuit; an alternating current filter, wherein an input port of the alternating current filter is connected to an output port of the inverter circuit; an alternating current electromagnetic interference, EMI, filter; a first alternating current switch (S 1), connected between an output port of the alternating current filter and an input port of the alternating current EMI filter; wherein the inverter further comprises a first split capacitor, and the first split capacitor is disposed between the first alternating current switch and the input port of the alternating current EMI filter; wherein the alternating current filter comprises an inductor connected in series between the input port and the output port of the alternating current filter and comprises a second split capacitor, and the second split capacitor is connected in parallel between the input port and the output port of the alternating current filter and disposed between the inductor L and the output port of the alternating current filter, characterised in that the inverter further comprises a second alternating current switch, disposed between the first alternating current switch and the input port of the alternating current EMI filter, wherein the first split capacitor is disposed between the first alternating current switch and the second alternating current switch, wherein the inverter is configured such that when the first alternating current switch is turned off and the second alternating current switch is turned on, the first split capacitor is disconnected from the output port of the alternating current filter, and the first split capacitor is connected to a circuit in which an alternating current system connected to the output port of the inverter is located, so that a capacitance value of the circuit in which the alternating current system is located is increased to suppress harmonic distortion input into the alternating current system, and wherein the inverter is configured such that when the first alternating current switch is turned on and the second alternating current switch is turned off, the first split capacitor and the second split capacitor are connected in parallel and then connected in series to the inductor L of the filter, to jointly constitute the filter capacitor of the alternating current filter.