Add framework for BEMF, speed and duty cycle