The invention discloses a multi-phase permanent magnet brushless direct current square wave motor capable of replacing Z4 series motors and relates to a direct current motor. The motor consists of four parts, namely a motor body, a position sensor, a speed sensor and an electronic switch control circuit; the multi-phase permanent magnet direct current motor is integrated by multiple three-phase permanent magnet brushless direct current motors in the same set of mechanical component, and comprises the motor body, a motor stator, a motor rotor, rotor magnetic steel, a combined sensor stator, a combined sensor rotor and a fan, wherein the stator winding is wound in a three-phase, or six-phase, nine-phase or multi-phase mode; and tile-shaped magnetic steel is attached to the outer side of the axial surface of the rotor, and the permanent magnetic steel is formed by pole pairs. An electric brush is canceled, the electronic commutation is performed, and the motor is integrally regulated by a controller, so that the average efficiency of the motor is over 94 percent, the load rate is within 25 to 125 percent, the multi-phase permanent magnet brushless direct current square wave motor is a motor driving system in a high-efficiency area, the Z4 series motors can be replaced, and the requirements of energy conservation and emission reduction are met.