Analytic model of BLDC motor