A unified predictive DTC algorithm for AC machine sensorless control