CPC H02P 29/60 (2016.02) [E01H 5/098 (2013.01)] | 17 Claims |
1. A power tool, comprising:
a power interface configured to be connected to a power supply;
a motor;
a driver circuit having a plurality of switching elements for driving the motor;
a capacitor configured to filter out current spikes in the power supply;
a capacitor switch connected to the capacitor and configured to control a working state of the capacitor, the capacitor comprises a first capacitor and a second capacitor, the capacitor switch comprises a first switch, and the first switch is connected to the first capacitor and configured to control an on or off state of the first capacitor, the capacitor switch further comprises a second switch, the second switch is connected to the second capacitor and configured to control an on or off state of the second capacitor;
a temperature detection unit configured to detect a temperature of a related object; and
a controller electrically connected to the capacitor switch and configured to control an on or off state of the capacitor switch,
wherein the controller is configured to:
acquire the temperature of the related object;
control the capacitor switch to be in a first on or off state such that the capacitor works in a first working state when the temperature is lower than a temperature threshold;
control the capacitor switch to be in a second on or off state such that the capacitor works in a second working state when the temperature is higher than the temperature threshold;
control the first switch to be turned on such that the first capacitor is in a working state and control the second switch to be turned off such that the second capacitor is in a non-working state when the temperature is lower than the temperature threshold; and
control the first switch to be turned off such that the first capacitor is in a non-working state and control the second switch to be turned on such that the second capacitor is in a working state when the temperature is higher than the temperature threshold.
|