The invention discloses a
stator assembly and a motor, and the
stator assembly is characterized in that an integral-
pitch hairpin coil is arranged in a middle-layer space, a short-
pitch hairpin coil and an integral-
pitch hairpin coil are arranged in an inner-layer space, and a
stator winding of the short-pitch hairpin coil is arranged in an outer-layer space, or the integral-pitch hairpin coil is arranged in the middle-layer space, the integral-pitch hairpin coil and the short-pitch hairpin coil are arranged in the inner-layer space, and the integral-pitch hairpin coil is arranged in the outer-layer space. The inner layer space is provided with a long-distance hairpin coil and a whole-distance hairpin coil, and the outer layer space is provided with a winding displacement design of the stator winding of the long-distance hairpin coil, so that the current in each
branch winding in the sub-winding can be equal,
branch loop current among the
branch windings is avoided, the winding temperature rise of the motor in the operation process is reduced, and the service life of the motor is prolonged. The performance of the motor is improved, and the operation efficiency of the motor during operation can be improved. Meanwhile, the flat
cable design can be compatible with the stator windings of a plurality of branches, the wire type compatibility of the hairpin coils is high, the
processing cost is reduced, and the production efficiency is improved.