Estimation of speed and rotor position of BLDC motor using Extended Kalman Filter