A general algorithm for speed and position estimation of AC motors | Synapse