Patent attributes
An opening-closing body is operated toward an end position of the movable range, a section where the motor application voltage is set to a fixed value defines a first section. A section set between the first section and the end position defines a second section. The controller is configured to execute speed reduction control and stop control in the second section. At a point in time when the rotation speed of the motor body becomes less than or equal to a second threshold value, in the first section or the second section, the controller sets the motor application voltage that is applied from the point in time until the opening-closing body reaches the end position and the stop control is executed to a voltage value that is greater than or equal to the motor application voltage applied at the point in time.