ANN-based position and speed sensorless estimation for BLDC motors