A power tool, comprising: a functional element ; a motor configured to drive the functional element to rotate, wherein the motor comprises a stator and a rotor; a power supply module configured to supply power to the motor; a driver circuit electrically connected to the motor and the power supply module and configured to apply a voltage of the power supply module to the motor; and a control module electrically connected to the driver circuit and configured to output a control signal to the driver circuit to control the driver circuit, wherein the control module is configured to: control the driver circuit in a first control mode so that a voltage of the motor varies with the position of the rotor of the motor in a square wave when the power tool is in a first operation stage; and control the driver circuit in a second control mode so that the voltage of the motor varies with the position of the rotor of the motor in a sine wave or a saddle wave when the power tool is in a second operation stage, characterized in that the control module is configured to determine that the power tool is in the second operation stage and be switched from the first control mode to the second control mode when a rotational speed of the motor is less than or equal to a first preset rotational speed threshold and a current of the motor is greater than or equal to a first preset current threshold. a functional element ; a motor configured to drive the functional element to rotate, wherein the motor comprises a stator and a rotor; a power supply module configured to supply power to the motor; a driver circuit electrically connected to the motor and the power supply module and configured to apply a voltage of the power supply module to the motor; and a control module electrically connected to the driver circuit and configured to output a control signal to the driver circuit to control the driver circuit, wherein the control module is configured to: control the driver circuit in a first control mode so that a voltage of the motor varies with the position of the rotor of the motor in a square wave when the power tool is in a first operation stage; and control the driver circuit in a second control mode so that the voltage of the motor varies with the position of the rotor of the motor in a sine wave or a saddle wave when the power tool is in a second operation stage, characterized in that the control module is configured to determine that the power tool is in the second operation stage and be switched from the first control mode to the second control mode when a rotational speed of the motor is less than or equal to a first preset rotational speed threshold and a current of the motor is greater than or equal to a first preset current threshold. control the driver circuit in a first control mode so that a voltage of the motor varies with the position of the rotor of the motor in a square wave when the power tool is in a first operation stage; and control the driver circuit in a second control mode so that the voltage of the motor varies with the position of the rotor of the motor in a sine wave or a saddle wave when the power tool is in a second operation stage, characterized in that the control module is configured to determine that the power tool is in the second operation stage and be switched from the first control mode to the second control mode when a rotational speed of the motor is less than or equal to a first preset rotational speed threshold and a current of the motor is greater than or equal to a first preset current threshold. <EOS>