A method of controlling a switched reluctance motor is disclosed herein. The motor comprises a stator carrying a plurality of phase windings and a rotor. The method comprises activating the phase windings in a sequence selected to apply torque to the rotor, wherein during a cycle of rotation of the rotor the phase windings switch between an active state in which current in the phase winding applies torque to the rotor and an inactive state; applying a voltage to a selected phase winding whilst the selected phase winding is in the inactive state to provide a flux in the selected phase winding; determining the current in the selected phase winding; determining the rotor angle based on the current and the flux; and controlling said activating based on the rotor angle.
展开▼