Optimal Design of a New Magnetic Variable Gear with Controllable Gear Ratio