| CPC H02J 7/007 (2013.01) [H02J 7/00034 (2020.01); H02J 7/00036 (2020.01); H02J 7/0031 (2013.01); H02J 7/0036 (2013.01); H02J 7/0029 (2013.01)] | 9 Claims |

|
1. A charging apparatus, comprising: a first comparison module, a second comparison module, a control module connected to the first comparison module and the second comparison module, and a charging module connected to the control module; wherein
the first comparison module is configured to compare a first data voltage value with a target preset value when it is detected that the charging apparatus is connected to a device to be charged, and output a first voltage level set according to a comparison result;
the second comparison module is configured to compare a second data voltage value with the target preset value when it is detected that the charging apparatus is connected to the device to be charged, and output a second voltage level set according to a comparison result; and
the control module is configured to control the charging module to charge the device to be charged with a target power according to the first voltage level set and the second voltage level set; wherein
the first comparison module comprises a first comparator and a second comparator, and the second comparison module comprises a third comparator and a fourth comparator, the first comparator, the second comparator, the third comparator, and the fourth comparator are all connected to the control module; the target preset value comprises a first preset value and a second preset value, the first voltage level set comprises a first voltage level and a second voltage level, and the second voltage level set comprises a third voltage level and a fourth voltage level; wherein
the first comparator is configured to compare the first data voltage value with the first preset value, and output the first voltage level according to a comparison result;
the second comparator is configured to compare the first data voltage value with the second preset value, and output the second voltage level according to a comparison result;
the third comparator is configured to compare the second data voltage value with the first preset value, and output the third voltage level according to a comparison result; and
the fourth comparator is configured to compare the second data voltage value with the second preset value, and output the fourth voltage level according to a comparison result.
|