Energy-saving motor and electronic control