iMEC - Intelligent Motor Energy Controller