The invention relates to an
algorithm for indirectly detecting
metal foreign bodies for a
wireless charger. When the
metal foreign bodies appear between the
wireless charger and mobile equipment, eddy-current loss of the
metal foreign bodies is caused, heat is generated, and accordingly ignition and other security problems are brought. The
algorithm is used for detecting heating of the metal foreign bodies and terminating
power transmission in time. The core content of the
algorithm is as follows: the difference between power transmitted from the transmitting end of the
wireless charger and power received from the receiving end of the mobile equipment is detected so that loss power of the metal foreign bodies can be calculated, if the loss power exceeds a certain set value,
power transmission is terminated, and thus the temperature of the metal foreign bodies is prevented from further rising. An indirect detection method is used for detecting transmission power, the vector difference of a
voltage effective value and a current effective value is deduced so that a vector
phase difference can be obtained, accordingly the vector
phase difference between active power and apparent power is obtained, and the effective value of the active power is solved through the effective value of the apparent power and the vector difference; compared with a direct detection method, cost is obviously reduced.