This paper presents the detailed mathematical and Simulink® model of a two-phase stepper BLDC motor in the machine variables, proving the rotor's position role in supplying the motor. Then an extended Kalman filter (EKF) is designed to estimate the motor state variables: stator currents, and the rotor position and velocity, on the basis of noisy measurements of stator currents, since it has a n...