Patent attributes
A hydraulic drive unit of a hydraulic excavator is configured to include a first hydraulic pump (P1) that discharges a hydraulic oil for activating a boom cylinder (36) and the like, a first electric motor (M1) that drives the first hydraulic pump (P1), a hydraulic pump for revolution (P2) that discharges a hydraulic oil for activating a revolution motor (26), a second electric motor (M2) that drives the hydraulic pump for revolution (P2), and a motor control device (150) that controls the rotation of the first electric motor (M1) and that of the second electric motor (M2). The motor control device (150) is configured such that when the revolution of the revolving body is not activated by the revolution motor (26), control to deactivate the second electric motor (M2) is performed.