US 11,863,006 B2
Method and apparatus for determining charging circuit, electronic device, and storage medium
Changyu Sun, Beijing (CN); and Hang Ren, Beijing (CN)
Assigned to BEIJING XIAOMI MOBILE SOFTWARE CO., LTD., Beijing (CN)
Filed by BEIJING XIAOMI MOBILE SOFTWARE CO., LTD., Beijing (CN)
Filed on Apr. 30, 2021, as Appl. No. 17/246,542.
Claims priority of application No. 202010789338.5 (CN), filed on Aug. 7, 2020.
Prior Publication US 2022/0045539 A1, Feb. 10, 2022
Int. Cl. H02J 7/00 (2006.01)
CPC H02J 7/007192 (2020.01) [H02J 7/0068 (2013.01); H02J 2310/22 (2020.01)] 12 Claims
OG exemplary drawing
 
1. A method for determining a charging circuit, applied to a first electronic device, wherein the first electronic device is stored with a preset equivalent circuit model, the method comprising:
acquiring the preset equivalent circuit model comprising a preset number of charging paths, wherein one or more of the preset number of charging paths comprise a controllable device;
controlling an operating state of a first controllable device to obtain a first initial equivalent circuit, wherein the first initial equivalent circuit comprises a first charging path different than a second charging path of a second initial equivalent circuit comprising a second controllable device, and wherein the first controllable device and second controllable device include a first operating state in which the controllable device is a non-zero resistor, or a second operating state in which resistance of the controllable device is infinite;
acquiring a charging current in the charging path of the first initial equivalent circuit in a charging state;
acquiring a charging current in the charging path of the second initial equivalent circuit in a charging state;
for the first initial equivalent circuit, acquiring a heat loss value of the initial equivalent circuit based on the charging current in the charging path of the first initial equivalent circuit and a resistance value of the equivalent device in the equivalent circuit model;
for the second initial equivalent circuit, acquiring a heat loss value of the initial equivalent circuit based on the charging current in the charging path of the second initial equivalent circuit and a resistance value of the equivalent device in the equivalent circuit model;
determining one of the initial equivalent circuits having a minimum heat loss value under a same condition as a target charging circuit; and
deploying, in a second electronic device, an actual charging circuit corresponding to the target charging circuit and using the actual charging circuit to charge for the second electronic device under the same condition.