Search

CN-122026579-A - Control method and device of charging circuit, electronic equipment and storage medium

CN122026579ACN 122026579 ACN122026579 ACN 122026579ACN-122026579-A

Abstract

The disclosure relates to a control method and device of a charging circuit, electronic equipment and a storage medium. The charging circuit comprises a first thermistor and a second thermistor, wherein the resistance value of the first thermistor is inversely related to the temperature, the resistance value of the second thermistor is positively related to the temperature, the method comprises the steps of detecting the temperature based on one of the first thermistor and the second thermistor, detecting the temperature when the temperature does not exceed a preset temperature, detecting the temperature when the temperature exceeds the preset temperature, and executing the anti-burning logic of the charging circuit when the temperature is detected to be higher than the anti-burning threshold of the charging circuit.

Inventors

  • Jia Qingtao

Assignees

  • 北京小米移动软件有限公司

Dates

Publication Date
20260512
Application Date
20241105

Claims (10)

  1. 1. A control method of a charging circuit is characterized in that the charging circuit comprises a first thermistor and a second thermistor, the resistance value of the first thermistor is in negative correlation with temperature, and the resistance value of the second thermistor is in positive correlation with temperature, and the method comprises the following steps: The temperature detection is performed based on one of the first thermistor and the second thermistor, wherein the first thermistor is used for temperature detection when the temperature does not exceed a preset temperature, and the second thermistor is used for temperature detection when the temperature exceeds the preset temperature; executing the burn-out prevention logic of the charging circuit under the condition that the temperature is detected to be higher than the burn-out prevention threshold of the charging circuit; The voltage value of the first thermistor and the voltage value of the second thermistor at the preset temperature are not smaller than a voltage threshold, and the voltage threshold is larger than the voltage value of the thermistor used for temperature detection when the function which conflicts with the burn-in prevention logic is started.
  2. 2. The method of claim 1, wherein the step of determining the position of the substrate comprises, The burn-proof logic of the charging circuit is realized based on a burn-proof functional component of the charging circuit, and the burn-proof logic component is independent of a native platform architecture of charging equipment to which the charging circuit belongs.
  3. 3. The method of claim 1, wherein the executing the burn-out prevention logic of the charging circuit comprises: and grounding the anode of the charging circuit so as to enable the current to reach the current threshold of overcurrent protection, wherein the charging circuit is automatically disconnected when the current at the anode end is larger than the current threshold.
  4. 4. The method as recited in claim 1, further comprising: determining a charging protocol adopted by a charger connected to the charging circuit; the operation of detecting the temperature based on one of the first thermistor and the second thermistor is performed under the condition that the determined charging protocol is not matched with the charging protocol adopted by the charging equipment to which the charging circuit belongs.
  5. 5. The method of claim 1, wherein the function that conflicts with the burn-out prevention function is a charge management function of a charging device to which the charging circuit belongs.
  6. 6. The charging circuit is characterized by comprising a charging burn-proof circuit and a burn-proof logic trigger circuit; The burn-proof logic trigger circuit comprises a first thermistor and a second thermistor which can be switched; the temperature detection circuit comprises a first thermistor, a second thermistor, a charging circuit and a control circuit, wherein the resistance value of the first thermistor is in negative correlation with the temperature, and the resistance value of the second thermistor is in positive correlation with the temperature; the charging anti-burning circuit is used for executing anti-burning logic under the condition that the temperature exceeds an anti-burning threshold value of the charging circuit; The voltage value of the first thermistor and the voltage value of the second thermistor at the preset temperature are not smaller than a voltage threshold, and the voltage threshold is larger than the voltage value of the thermistor used for temperature detection when the function which conflicts with the burn-in prevention logic is started.
  7. 7. The charging circuit of claim 6, wherein the burn-out prevention logic trigger circuit further comprises a power management module, a voltage dividing resistor; One end of the voltage dividing resistor is connected with the first thermistor or the second thermistor, and the other end of the voltage dividing resistor is connected with the power management module; The power management module has the function of realizing the power management function in conflict with the burn-proof logic.
  8. 8. The charging circuit of claim 6, wherein the charging burn-out prevention circuit comprises a battery charging module and a ground control switch; The anode of the charging circuit is connected with the battery charging module and the grounding control switch so as to charge the battery through the battery charging module under the condition that the grounding control switch is disconnected; The executing of the burn-out prevention logic comprises the step of closing the grounding control switch to enable the anode to be grounded, wherein under the condition that the anode is grounded, the charging current reaches the current threshold of overcurrent protection, and the charging circuit is automatically opened.
  9. 9. An electronic device, comprising: A processor; A memory for storing processor-executable instructions; wherein the processor is configured to implement the method of any of claims 1-5 by executing the executable instructions.
  10. 10. A computer readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method according to any of claims 1-5.

Description

Control method and device of charging circuit, electronic equipment and storage medium Technical Field The disclosure relates to the technical field of terminals, and in particular relates to a control method and device of a charging circuit, electronic equipment and a storage medium. Background With the continuous development of the fast charging technology, the charging power supported by terminals such as smart phones, tablet computers and the like is also higher and higher. The interface burnout problem caused by high current and high voltage is accompanied by the problem, and for this purpose, most terminals are configured with corresponding burn-out prevention logic. However, the technician finds that in the actual charging process, the condition that the burn-out prevention logic is not triggered often occurs, so that the problem that the charging interface burns out cannot be avoided even though a large number of terminals are provided with the burn-out prevention logic. Disclosure of Invention The disclosure provides a control method and device of a charging circuit, electronic equipment and a storage medium, which can avoid the problem that anti-burning logic cannot be triggered due to collision. According to a first aspect of the present disclosure, there is provided a control method of a charging circuit, the charging circuit including a first thermistor and a second thermistor, the resistance of the first thermistor being inversely related to temperature and the resistance of the second thermistor being positively related to temperature, the method comprising: The temperature detection is performed based on one of the first thermistor and the second thermistor, wherein the first thermistor is used for temperature detection when the temperature does not exceed a preset temperature, and the second thermistor is used for temperature detection when the temperature exceeds the preset temperature; executing the burn-out prevention logic of the charging circuit under the condition that the temperature is detected to be higher than the burn-out prevention threshold of the charging circuit; The voltage value of the first thermistor and the voltage value of the second thermistor at the preset temperature are not smaller than a voltage threshold, and the voltage threshold is larger than the voltage value of the thermistor used for temperature detection when the function which conflicts with the burn-in prevention logic is started. According to a second aspect of the present disclosure, there is provided a control device of a charging circuit including a first thermistor and a second thermistor, the resistance value of the first thermistor being inversely related to temperature and the resistance value of the second thermistor being positively related to temperature, the device comprising: A detection unit that detects a temperature based on one of the first thermistor and the second thermistor, wherein the first thermistor is used for detecting the temperature when the temperature does not exceed a preset temperature, and the second thermistor is used for detecting the temperature when the temperature exceeds the preset temperature; an execution unit that executes an anti-burn logic of the charging circuit when detecting that a temperature is higher than an anti-burn threshold of the charging circuit; The voltage value of the first thermistor and the voltage value of the second thermistor at the preset temperature are not smaller than a voltage threshold, and the voltage threshold is larger than the voltage value of the thermistor used for temperature detection when the function which conflicts with the burn-in prevention logic is started. According to a third aspect of the present disclosure, there is provided a charging circuit comprising a charging burn-out prevention circuit and a burn-out prevention logic trigger circuit; The burn-proof logic trigger circuit comprises a first thermistor and a second thermistor which can be switched; the temperature detection circuit comprises a first thermistor, a second thermistor, a charging circuit and a control circuit, wherein the resistance value of the first thermistor is in negative correlation with the temperature, and the resistance value of the second thermistor is in positive correlation with the temperature; the charging anti-burning circuit is used for executing anti-burning logic under the condition that the temperature exceeds an anti-burning threshold value of the charging circuit; The voltage value of the first thermistor and the voltage value of the second thermistor at the preset temperature are not smaller than a voltage threshold, and the voltage threshold is larger than the voltage value of the thermistor used for temperature detection when the function which conflicts with the burn-in prevention logic is started. According to a fourth aspect of the present disclosure, there is provided an electronic device comprising: A processor; A memory for