Optimization of transient operations in sensorless control techniques based on carrier signal injection