摘要 |
[Problem] To provide a motor having a structure capable of suppressing degradation of detection accuracy of a rotation sensor when the axial size of the motor is reduced. [Solution] One embodiment of a motor according to the present invention is provided with: a motor body; a power board which has switching components and is electrically connected to the motor body; a control board which is electrically connected to the power board and disposed on the opposite side from the output side in the axial direction of the motor body; a control board holding unit which is attached to the motor body and holds the control board; a sensor magnet which is positioned on the opposite side from the output side relative to a stator and fixed to a shaft; a rotation sensor which is attached to the control board and faces the sensor magnet; and a power board case which is directly or indirectly attached to the motor body and supports the power board. The power board is positioned radially outward of the motor body. The board surfaces of the power board are inclined relative to the board surfaces of the control board. |