Patent attributes
A power tool includes a housing, a motor, a switching network electrically coupled to the motor, and a printed circuit board positioned at an angle within the housing. The power tool further includes a user input configured to receive a sensitivity level for loss of control detection, a sensor configured to measure an acceleration of the housing with respect to at least two axes, and an electronic processor coupled to the switching network. The electronic processor is configured to receive one or more signals related to the acceleration of the housing of the power tool from the acceleration sensor, determine that the one or more signals exceed an acceleration threshold corresponding to the sensitivity level for loss of control detection, and control the switching network to brake the brushless DC motor in response to the one or more signals exceeding the acceleration threshold.