A linear electric machine with a power electronic converter for controlling the linear electric machine the linear electric machine comprising a primary part (101, 201) and a secondary part (102, 202) which are linearly movable with respect to each other, wherein the primary part comprises primary sections (103, 104) each having an airgap surface, the secondary part comprises secondary sections (105, 106, 205, 206, 215, 216) each having an airgap surface facing towards the air-gap surface of a respective one of the primary sections, each primary section comprises force-generating windings (U1, V1, W1, U2, V2, W2) for generating a longitudinal magnetic thrust force tending to move the primary part longitudinally with respect to the secondary part and a transversal magnetic force pulling the primary section towards a respective one of the secondary sections, the primary sections are mechanically connected to each other and the secondary sections are mechanically connected to each other so that the transversal magnetic forces acting on the primary sections are controllable to cancel each other, and the primary part comprises, at least at a first end-region of the primary part, one or more tilt-control windings (T1, T11, T12) for generating one or more transversal magnetic tilt-control forces so as to control an angular deviation between a longitudinal direction of the primary part and a longitudinal direction of the secondary part, the power electronic converter comprising: - a first current supply section for supplying force-generating currents to the force-generating windings of the linear electric machine, - a first controller section for controlling the force-generating currents in accordance with control information related to a longitudinal magnetic thrust force to be generated by the linear electric machine, and - a second controller section for controlling differences of the force-generating currents related to different ones of the primary sections in accordance with position information indicative of a transversal position of the primary part of the linear electric machine with respect to the secondary part of the linear electric machine so as to magnetically levitate the primary part with respect to the secondary part, characterized in that the power electronic converter further comprises: - a second current supply section for supplying one or more tilt-control currents to the one or more tilt-control windings of the linear electric machine, and - a third controller section for controlling the one or more tilt-control currents in accordance with tilting information indicative of the angular deviation between the longitudinal direction of the primary part of the linear electric machine and the longitudinal direction of the secondary part of the linear electric machine. - a first current supply section for supplying force-generating currents to the force-generating windings of the linear electric machine, - a first controller section for controlling the force-generating currents in accordance with control information related to a longitudinal magnetic thrust force to be generated by the linear electric machine, and - a second controller section for controlling differences of the force-generating currents related to different ones of the primary sections in accordance with position information indicative of a transversal position of the primary part of the linear electric machine with respect to the secondary part of the linear electric machine so as to magnetically levitate the primary part with respect to the secondary part, - a second current supply section for supplying one or more tilt-control currents to the one or more tilt-control windings of the linear electric machine, and - a third controller section for controlling the one or more tilt-control currents in accordance with tilting information indicative of the angular deviation between the longitudinal direction of the primary part of the linear electric machine and the longitudinal direction of the secondary part of the linear electric machine.