Intelligent control motor