The present application relates to a method, and an electromagnetic machine comprising a control unit that is designed to implement the method, for controlling and regulating the electromagnetic machine. The electromagnetic machine comprises a rotor and a stator. Electromagnetic state variables of the machine are determined by means of a mathematical model with a space vector representation. Conveniently, a factor is included in a multiplication for a vector of a correction voltage when a torque-forming component of a current at the stator has an opposite mathematical sign to an estimated value of a rotating field frequency. The torque-forming component of the current at the stator is determined from a measured actual value of the vector of the current and the estimated phase angle.