A power tool, comprising: a motor; a power supply unit for supplying power to the motor; a driving circuit electrically connected to the motor to enable the power supply unit to apply a voltage to the motor; and a controller, which is configured to control the driving circuit to apply a voltage to the motor; characterized by further comprising: a voltage detection unit for detecting the voltage; a rotational speed detection unit for detecting the rotational speed of the motor; and a trigger switch, which is configured for enabling the driving circuit to start applying a voltage to the motor; wherein the controller is configured to: control the driving circuit to apply the voltage to the motor at a first slope when the voltage of the motor is less than a preset voltage; control the driving circuit to apply the voltage to the motor at a second slope when the voltage of the motor is greater than or equal to the preset voltage and the speed of the motor is less than a preset speed; and control the driving circuit to apply the voltage at a third slope when the speed of the motor is greater than or equal to the preset speed; and wherein the second slope ranges from 0 to 0.3, the third slope is greater than the second slope, and the first slope is less than or equal to the third slope. a motor; a power supply unit for supplying power to the motor; a driving circuit electrically connected to the motor to enable the power supply unit to apply a voltage to the motor; and a controller, which is configured to control the driving circuit to apply a voltage to the motor; characterized by further comprising: a voltage detection unit for detecting the voltage; a rotational speed detection unit for detecting the rotational speed of the motor; and a trigger switch, which is configured for enabling the driving circuit to start applying a voltage to the motor; wherein the controller is configured to: control the driving circuit to apply the voltage to the motor at a first slope when the voltage of the motor is less than a preset voltage; control the driving circuit to apply the voltage to the motor at a second slope when the voltage of the motor is greater than or equal to the preset voltage and the speed of the motor is less than a preset speed; and control the driving circuit to apply the voltage at a third slope when the speed of the motor is greater than or equal to the preset speed; and wherein the second slope ranges from 0 to 0.3, the third slope is greater than the second slope, and the first slope is less than or equal to the third slope. a voltage detection unit for detecting the voltage; a rotational speed detection unit for detecting the rotational speed of the motor; and a trigger switch, which is configured for enabling the driving circuit to start applying a voltage to the motor; wherein the controller is configured to: control the driving circuit to apply the voltage to the motor at a first slope when the voltage of the motor is less than a preset voltage; control the driving circuit to apply the voltage to the motor at a second slope when the voltage of the motor is greater than or equal to the preset voltage and the speed of the motor is less than a preset speed; and control the driving circuit to apply the voltage at a third slope when the speed of the motor is greater than or equal to the preset speed; and wherein the second slope ranges from 0 to 0.3, the third slope is greater than the second slope, and the first slope is less than or equal to the third slope. control the driving circuit to apply the voltage to the motor at a first slope when the voltage of the motor is less than a preset voltage; control the driving circuit to apply the voltage to the motor at a second slope when the voltage of the motor is greater than or equal to the preset voltage and the speed of the motor is less than a preset speed; and control the driving circuit to apply the voltage at a third slope when the speed of the motor is greater than or equal to the preset speed; and wherein the second slope ranges from 0 to 0.3, the third slope is greater than the second slope, and the first slope is less than or equal to the third slope.