The invention, which belongs to the technical field of the motor, provides a motor comprising a case, a main shaft, end covers, a bearing seat,
moving parts, a bearing and control parts. The
moving parts include a permanent-
magnet rotor and a
stator winding. The control parts include a rotating
transformer and a
junction box. A main shaft is arranged in the hollow space of the case coaxially. The
moving parts are arranged between the case and the main shaft. The end covers are arranged at the two ends of the case; an
oil supply hole is formed in the front end cover and is communicated with a channel, thereby realizing effects of
lubrication and cooling. A framework oil seal is arranged between the main shaft and the bearing seat so as to realize a better sealing effect. Oil control rings are arranged between the main shaft and the bearing seat and between the main shaft and the front end cover; light surfaces of the oil control rings correspond to
oil storage grooves; second oil outlets are formed in the
oil storage grooves; and thus a
cooling effect is realized. Third oil outlets are formed in the
stator winding, so that a liquid discharging effect is good. Besides, a
tail-end inclined oil channel is arranged on the rear cover, so that safety oil discharging is realized and the security is high. And with the rotating
transformer, angle and position sensing and measuring are realized and the operation becomes stable.