Device and method for kickback protection
In accordance with various embodiments of the present disclosure, a method for confirming kickback is provided. In some embodiments, the method for confirming kickback comprises, in response to an indication of a kickback occurrence, comparing an input current to a predetermined current threshold; if the input current is greater than the predetermined current threshold for a first predetermined amount of time, generating a kickback interrupt signal; if the input current is not greater than the predetermined current threshold, comparing an input voltage to a predetermined voltage threshold; if the input voltage is less than the predetermined voltage threshold for a second predetermined amount of time; generating a kickback interrupt signal; and if the input voltage is not less than the predetermined voltage threshold and the input current is not greater than the predetermined current threshold, generating a false positive (FP) signal.
1 . A method for confirming kickback, the method comprising:
in response to an indication of a kickback occurrence, comparing an input current to a predetermined current threshold;
when the input current is greater than the predetermined current threshold for a first predetermined amount of time, generating a kickback interrupt signal;
when the input current is not greater than the predetermined current threshold, comparing an input voltage to a predetermined voltage threshold;
when the input voltage is less than the predetermined voltage threshold for a second predetermined amount of time; generating a kickback interrupt signal; and
when the input voltage is not less than the predetermined voltage threshold and the input current is not greater than the predetermined current threshold, generating a false positive (FP) signal.
2 . The method of claim 1 , wherein the input current comprises a battery current or an alternating current (AC) line current; and
the input voltage comprises a battery voltage or an AC line voltage.
3 . The method of claim 1 , wherein the indication of a kickback occurrence is based on one or more outputs from an inertial measurement unit (IMU).
4 . The method of claim 3 , wherein the indication of a kickback occurrence is based on at least one of the one or more outputs from the IMU being greater than a predetermined IMU threshold for a third predetermined amount of time.
5 . The method of claim 4 , wherein the one or more outputs from the IMU comprise three outputs; and
wherein each of the three outputs corresponds to an axis.
6 . The method of claim 4 , further comprising:
maintaining a running total of the generated FP signals.
7 . The method of claim 6 , further comprising:
comparing the running total of the generated FP signals to a first FP threshold; and
when the running total of the generated FP signals is greater than the first FP threshold, determining an adjusted value of the predetermined IMU threshold by adding a respective predetermined delta to the predetermined IMU threshold.
8 . The method of claim 7 , further comprising:
comparing the running total of the generated FP signals to a second FP threshold; and
when the running total of the generated FP signals is less than the second FP threshold, determining an adjusted value of the predetermined IMU threshold by subtracting a respective predetermined delta from the predetermined IMU threshold.
9 . The method of claim 8 , further comprising:
when the running total of the generated FP signals is greater than the first FP threshold and the determined adjusted value of the predetermined IMU threshold is greater than a predetermined maximum value, setting the predetermined IMU threshold to the predetermined maximum value; and
when the running total of the generated FP signals is less than the second FP threshold and the determined adjusted value of the predetermined IMU threshold is less than a predetermined minimum value, setting the predetermined IMU threshold to the predetermined minimum value.
10 . The method of claim 6 , further comprising:
comparing the running total of the generated FP signals to a first FP threshold; and
when the running total of the generated FP signals is greater than the first FP threshold, applying an artificial intelligence data model to determine an adjusted value of the predetermined IMU threshold.
11 . A device for confirming kickback, the device comprising:
an inertial measurement unit (IMU); and
a finite state machine configured to:
compare one or more outputs from the IMU to a predetermined IMU threshold;
when any one of the one or more outputs from the IMU is greater than the predetermined IMU threshold for a first predetermined amount of time, compare an input current to a predetermined current threshold;
when the input current is greater than the predetermined current threshold for a second predetermined amount of time, generate a kickback interrupt signal;
when the input current is not greater than the predetermined current threshold, compare an input voltage to a predetermined voltage threshold;
when the input voltage is less than the predetermined voltage threshold for a third predetermined amount of time; generate a kickback interrupt signal; and
when the input voltage is not less than the predetermined voltage threshold for the third predetermined amount of time and the input current is not greater than the predetermined current threshold for the second predetermined amount of time, generate a false positive (FP) signal.
12 . The device of claim 11 , wherein the input current comprises a battery current or an alternating current (AC) line current; and
the input voltage comprises a battery voltage or an AC line voltage.
13 . The device of claim 11 , wherein the one or more outputs from the IMU comprise three outputs; and
wherein each of the three outputs corresponds to an axis.
14 . The device of claim 11 , further comprising:
a register to maintain a running total of the generated FP signals.
15 . The device of claim 14 , further comprising:
a machine learning core (MLC) configured to:
compare the running total of the generated FP signals to a first FP threshold; and
when the running total of the generated FP signals is greater than the first FP threshold, determine an adjusted value of the predetermined IMU threshold by adding a respective predetermined delta to the predetermined IMU threshold.
16 . The device of claim 15 , wherein the MLC is further configured to:
compare the running total of the generated FP signals to a second FP threshold; and
when the running total of the generated FP signals is less than the second FP threshold, determine an adjusted value of the predetermined IMU threshold by subtracting a respective predetermined delta from the predetermined IMU threshold.
17 . The device of claim 16 , wherein the MLC is further configured to:
when the running total of the generated FP signals is greater than the first FP threshold and the determined adjusted value of the predetermined IMU threshold is greater than a predetermined maximum value, set the predetermined IMU threshold to the predetermined maximum value; and
when the running total of the generated FP signals is less than the second FP threshold and the determined adjusted value of the predetermined IMU threshold is less than a predetermined minimum value, set the predetermined IMU threshold to the predetermined minimum value.
18 . The device of claim 14 , further comprising:
a machine learning core (MLC) configured to:
compare the running total of the generated FP signals to a first FP threshold; and
when the running total of the generated FP signals is greater than the first FP threshold, apply an artificial intelligence data model to determine an adjusted value of the predetermined IMU threshold.