Current derivative estimation for sensorless motor drives