A motor or generator comprising a rotor and a stator is disclosed. The rotor has an axis of rotation and is configured to produce a first magnetic flux parallel to the axis of rotation, the stator is configured to produce a second magnetic flux parallel to the axis of rotation, and wherein at least one of the rotor or stator is non-uniform about the axis of rotation. and generate a distributed magnetic flux profile. Also disclosed is a method involving generating one or more magnetic fluxes that produce windings of a stator non-uniformly about an axis of rotation of a rotor of an axial flux motor or generator.
展开▼