Patent attributes
Power tools described herein include a housing, a motor supported by the housing, a battery pack configured to provide electrical power to the power tool, a user input configured to provide an input signal corresponding to a target speed of the motor, a plurality of sensors supported by the housing and configured to generate sensor data indicative of an operational parameter of the power tool, and an electronic controller. The electronic controller includes an electronic processor and a memory. The memory includes a machine learning control program for execution by the electronic processor. The electronic controller is configured to receive the target speed, receive the sensor data, process the sensor data using the machine learning control program, generate, using the machine learning control program, an output based on the sensor data, the output including one or more field weakening parameters, and control the motor based on the generated output.