An electric vehicle, EV, three level inverter motor drive circuit with an integrated battery charger, comprising: a direct current, DC, battery (512, 606) for the EV connected in parallel with a first and a second capacitance, wherein the first capacitance and the second capacitance are connected in series, and a middle node between the two capacitances is referred to as a neutral point a three level inverter circuit in parallel with the DC battery and connected to the neutral point, comprising: an upper level bridge circuit connected between the battery (512, 606) positive and the capacitance neutral point; a lower level bridge circuit connected between the battery (512, 606) negative and the capacitance neutral point; the three level inverter motor drive circuit with an integrated battery charger also comprising: a first mid level bridge circuit connected between the outputs of the upper and lower level bridge circuits; motor windings connected to the outputs of the first mid level bridge circuit, a second mid level bridge circuit connected in parallel to the first mid level bridge circuit; and an inductance connectable in series with an alternating current, AC, grid and connected to an output of the second mid level bridge circuit. a direct current, DC, battery (512, 606) for the EV connected in parallel with a first and a second capacitance, wherein the first capacitance and the second capacitance are connected in series, and a middle node between the two capacitances is referred to as a neutral point a three level inverter circuit in parallel with the DC battery and connected to the neutral point, comprising: an upper level bridge circuit connected between the battery (512, 606) positive and the capacitance neutral point; a lower level bridge circuit connected between the battery (512, 606) negative and the capacitance neutral point; the three level inverter motor drive circuit with an integrated battery charger also comprising: a first mid level bridge circuit connected between the outputs of the upper and lower level bridge circuits; motor windings connected to the outputs of the first mid level bridge circuit, a second mid level bridge circuit connected in parallel to the first mid level bridge circuit; and an inductance connectable in series with an alternating current, AC, grid and connected to an output of the second mid level bridge circuit. an upper level bridge circuit connected between the battery (512, 606) positive and the capacitance neutral point; a lower level bridge circuit connected between the battery (512, 606) negative and the capacitance neutral point; the three level inverter motor drive circuit with an integrated battery charger also comprising: a first mid level bridge circuit connected between the outputs of the upper and lower level bridge circuits; motor windings connected to the outputs of the first mid level bridge circuit, a second mid level bridge circuit connected in parallel to the first mid level bridge circuit; and an inductance connectable in series with an alternating current, AC, grid and connected to an output of the second mid level bridge circuit. a first mid level bridge circuit connected between the outputs of the upper and lower level bridge circuits; motor windings connected to the outputs of the first mid level bridge circuit, a second mid level bridge circuit connected in parallel to the first mid level bridge circuit; and an inductance connectable in series with an alternating current, AC, grid and connected to an output of the second mid level bridge circuit.