Design and implementation of a low-cost sensorless control for synchronous reluctance motors