Control solution of DC brushless motor