Iron loss in permanent-magnet brushless AC machines under maximum torque per ampere and flux weakening control