| CPC G01R 31/66 (2020.01) [G01R 1/0416 (2013.01); G01R 19/16538 (2013.01); H02J 7/0036 (2013.01); H02J 2207/30 (2020.01)] | 14 Claims |

|
1. A charging test apparatus, comprising:
a first USB interface, comprising a plurality of first pins, wherein the first USB interface is configured to connect to an electronic device;
a second USB interface, comprising a plurality of second pins, wherein the second USB interface is configured to connect to a charger, the second USB interface matches the first USB interface, and the plurality of first pins and the plurality of second pins match each other one by one to form a plurality of pin pairs;
a plurality of conductive paths, wherein the plurality of conductive paths are electrically connected to the plurality of pin pairs in a one-to-one correspondence;
a control module, wherein the control module is configured to control, based on a preset on/off time parameter, connection and disconnection of each conductive path, wherein the preset on/off time parameter is used to determine a connection start moment of each conductive path; and
a detection module, wherein the detection module is electrically connected to the control module, and is configured to detect a charging parameter between the first USB interface and the second USB interface, wherein the charging parameter comprises a charging current and a charging voltage;
wherein the control module is configured to:
calculate a first difference between the charging current and a preset standard current;
calculate a second difference between the charging voltage and a preset standard voltage; and
determine whether a charging function is normal by determining whether the first difference is less than a preset current difference threshold and determining whether the second difference is less than a preset voltage difference threshold.
|