SelfDrive: a high-integration self-commutated DC brushless smart motor