A DC-AC inverter comprising: an input (102, 104) configured to be coupled to a battery and to receive input DC power from the battery; a DC-DC converter portion coupled to the input (102, 104) and configured to receive the input DC power; an inverter portion coupled to the output of the DC-DC converter portion; an output coupled to the outputs of the inverter portion and configured to be coupled to a load, the output having a first connection and a second connection; a clamp circuit coupled to the output of the DC-DC converter portion, the clamp circuit including an energy storage device; and a controller coupled to the DC-DC converter portion, the clamp circuit, and the inverter portion, and configured to: operate, in a first mode of operation, the DC-DC converter portion to convert the input DC power into DC power having a desired voltage level and the inverter portion to provide output power having the desired voltage level with a first polarity to the connections of the output; operate, in a second mode of operation, the DC-DC converter portion to convert the input DC power into DC power having the desired voltage level and the inverter portion to provide output power having the desired voltage level with a second polarity to the connections of the output; wherein the clamp circuit is arranged to provide energy stored in the energy storage device via the inverter portion to the connections of the output in the first and second mode of operation; and operate, in a third mode of operation, the clamp circuit to drive voltage at the first and second connections of the output to zero, to receive, via the inverter portion or its outputs, energy discharged by a load capacitance at the load, and to store the energy discharged by the load capacitance in the energy storage device. an input (102, 104) configured to be coupled to a battery and to receive input DC power from the battery; a DC-DC converter portion coupled to the input (102, 104) and configured to receive the input DC power; an inverter portion coupled to the output of the DC-DC converter portion; an output coupled to the outputs of the inverter portion and configured to be coupled to a load, the output having a first connection and a second connection; a clamp circuit coupled to the output of the DC-DC converter portion, the clamp circuit including an energy storage device; and a controller coupled to the DC-DC converter portion, the clamp circuit, and the inverter portion, and configured to: operate, in a first mode of operation, the DC-DC converter portion to convert the input DC power into DC power having a desired voltage level and the inverter portion to provide output power having the desired voltage level with a first polarity to the connections of the output; operate, in a second mode of operation, the DC-DC converter portion to convert the input DC power into DC power having the desired voltage level and the inverter portion to provide output power having the desired voltage level with a second polarity to the connections of the output; wherein the clamp circuit is arranged to provide energy stored in the energy storage device via the inverter portion to the connections of the output in the first and second mode of operation; and operate, in a third mode of operation, the clamp circuit to drive voltage at the first and second connections of the output to zero, to receive, via the inverter portion or its outputs, energy discharged by a load capacitance at the load, and to store the energy discharged by the load capacitance in the energy storage device. operate, in a first mode of operation, the DC-DC converter portion to convert the input DC power into DC power having a desired voltage level and the inverter portion to provide output power having the desired voltage level with a first polarity to the connections of the output; operate, in a second mode of operation, the DC-DC converter portion to convert the input DC power into DC power having the desired voltage level and the inverter portion to provide output power having the desired voltage level with a second polarity to the connections of the output; wherein the clamp circuit is arranged to provide energy stored in the energy storage device via the inverter portion to the connections of the output in the first and second mode of operation; and operate, in a third mode of operation, the clamp circuit to drive voltage at the first and second connections of the output to zero, to receive, via the inverter portion or its outputs, energy discharged by a load capacitance at the load, and to store the energy discharged by the load capacitance in the energy storage device.