Wildfire BLDC brushless motor drive board FOC PID Closed-loop PMSM PWM three phase current acquisition