Search

CN-121977724-A - NTC temperature compensation method and compensation system of electronic equipment

CN121977724ACN 121977724 ACN121977724 ACN 121977724ACN-121977724-A

Abstract

The invention discloses an NTC temperature compensation method and system of electronic equipment, wherein the NTC temperature compensation method comprises the steps of adjusting the current of a battery in the electronic equipment in a test mode, collecting pin partial pressure formed by a thermistor and a lead by a PMIC chip, and calculating and storing the impedance of the lead by a central processing unit; when the electronic equipment is charged, the central processing unit calculates the voltage division of the thermistor according to the current entering the battery, the pin voltage division and the impedance acquired by the PMIC chip, and then temperature compensation is carried out. The error generated by the current flowing through the lead is subtracted in the charging process, the accuracy of temperature compensation is improved, and the problem of inaccurate temperature judgment caused by high lead impedance between the conventional processor and the NTC resistor is solved.

Inventors

  • ZHANG WENTAO

Assignees

  • 四川酷比通信设备有限公司

Dates

Publication Date
20260505
Application Date
20260206

Claims (9)

  1. 1. An NTC temperature compensation method of an electronic device, comprising: Step A, adjusting the current of a battery in the electronic equipment in a test mode, wherein a PMIC chip collects pin partial pressure formed by a thermistor and a wire, and a central processing unit calculates and stores the impedance of the wire; And B, when the electronic equipment is charged, the central processing unit calculates the voltage division of the thermistor according to the current entering the battery, the pin voltage division and the impedance acquired by the PMIC chip, and then temperature compensation is carried out.
  2. 2. The NTC temperature compensation method of electronic equipment according to claim 1, characterized in that step a specifically comprises: Step A1, in a test mode, a pseudo battery with a thermistor with a fixed value in the electronic equipment is powered; Step A2, simulating charge, namely gradually increasing the battery voltage from a lower limit threshold to an upper limit threshold according to a variable value, recording the pin voltage and the battery current once when the battery voltage is increased, and gradually decreasing the battery voltage from the upper limit threshold to the lower limit threshold according to the variable value, and recording the pin voltage and the battery current once when the battery voltage is reduced; and A3, calculating the impedance of the lead during charging and discharging by combining the constant thermistor and averaging the impedance, and storing the average value as the impedance of the lead.
  3. 3. The NTC temperature compensation method of electronic equipment according to claim 2, characterized in that in the step A2, when the variable value is 0.02V, the PMIC chip starts to collect its pin voltage for the first time when the detected battery voltage is 3.5V, the PMIC chip collects its pin voltage again after the detected battery voltage reaches 3.52V, the PMIC chip collects its pin voltage again after the detected battery voltage reaches 3.54V, and so on, until the last pin voltage is collected after the detected battery voltage reaches 4.2V upper threshold.
  4. 4. The NTC temperature compensation method of electronic equipment according to claim 2, characterized in that in the step A3, the temperature compensation formula comprises: the battery is charged with the power of Vts Filling material =Vntc Filling material -Intc Filling material ×R Filling material , Discharging the battery, wherein the discharging is Vts Put and put =Vntc Put and put +Intc Put and put ×R Put and put ; wherein Vts is the pin voltage on its TS pin collected by the PMIC chip, vntc is the partial voltage of the thermistor and is a certain value, intc is the current through the wire and the thermistor of a certain value only, R is the impedance of the wire, intc ×r is the temperature compensation parameter.
  5. 5. The NTC temperature compensation method of electronic equipment according to claim 1, characterized in that step a specifically comprises: step A01, in a test mode, supplying a first preset current to the electronic equipment, and collecting a first pin voltage by the PMIC chip; step A02, supplying a second preset current to the electronic equipment, and collecting a second pin voltage by the PMIC chip; and A03, calculating the impedance of the lead by the central processing unit according to the preset current supplied by the power supply twice and the acquired pin voltage, and storing the impedance.
  6. 6. The NTC temperature compensation method according to claim 5 characterized in that in step a01 the power supply means at the calibration station provides two sets of pre-determined currents for each electronic device.
  7. 7. The NTC temperature compensation method of electronic equipment according to claim 1, characterized in that in step a03 the temperature compensation formula is: Vntc=Vts1-Intc1×R, Vntc=Vts2-Intc2×R; wherein Vts1 is a first pin voltage, intc is a first predetermined current, vts2 is a second pin voltage, intc is a second predetermined current, and R is the impedance of the wire.
  8. 8. The NTC temperature compensating method of electronic equipment according to claim 2 or 5, characterized in that in the step S20, the formula for calculating the thermistor partial pressure is: Vntc=Vts-Intc×R, wherein Vts is the pin voltage division collected by the PMIC chip, intc is the current into the battery, and R is the impedance of the stored wire.
  9. 9. A compensation system for realizing the NTC temperature compensation method of the electronic equipment according to claim 1 is characterized by comprising power supply equipment and electronic equipment, wherein the power supply equipment adjusts the current of a battery in the electronic equipment, a PMIC chip in the electronic equipment collects pin partial pressure formed by a thermistor and a lead, a central processing unit in the electronic equipment calculates and stores the impedance of the lead, and when the electronic equipment is charged, the central processing unit calculates the thermistor partial pressure according to the current entering the battery, the pin partial pressure collected by the PMIC chip and the impedance to perform temperature compensation.

Description

NTC temperature compensation method and compensation system of electronic equipment Technical Field The invention relates to the technical field of electronics, in particular to an NTC temperature compensation method and system of electronic equipment. Background Most of the electronic products on the market at present have an anti-burning function design, that is, an NTC (negative temperature coefficient thermistor) resistor is placed at the charging port of the electronic device, and meanwhile, an upper temperature limit is set. A PMIC (Power MANAGEMENT IC, power management integrated circuit) chip inside the electronic device collects the voltage of the NTC resistor, the voltage is converted into a digital quantity by an ADC (analog-to-digital converter), and then converted into a corresponding temperature value by logic operation, and the temperature value is compared with an upper temperature limit to determine whether to trigger the burn-proof threshold. When the temperature of the charging port rises to a value higher than the upper temperature limit, the processor controls to stop charging, so that the temperature of the electronic equipment is prevented from being too high, and the aim of protecting the electronic equipment is fulfilled. But this approach is only applicable where the PMIC chip and NTC resistor are on the same circuit board or are located adjacent. When the PMIC chip is separated from the NTC resistor or is far away from the NTC resistor, as shown in FIG. 1, the PMIC chip and the NTC resistor are separately arranged on the two boards, and at the moment, the lead impedance of the connecting line between the PMIC chip and the NTC resistor is large, so that a certain error range is caused, and the temperature judgment is inaccurate. Therefore, the temperature value converted by the voltage cannot be directly used for judging whether the burn-out prevention threshold is triggered or not, and compensation measures are needed to be added to obtain the accurate temperature. Accordingly, the prior art is still in need of improvement and development. Disclosure of Invention In view of the above-mentioned shortcomings of the prior art, the present invention is directed to providing an NTC temperature compensation method and compensation system for an electronic device, so as to solve the problem of inaccurate temperature determination caused by high wire impedance between the existing processor and the NTC resistor. In order to achieve the above purpose, the invention adopts the following technical scheme: an NTC temperature compensation method of an electronic device, comprising: Step A, adjusting the current of a battery in the electronic equipment in a test mode, wherein a PMIC chip collects pin partial pressure formed by a thermistor and a wire, and a central processing unit calculates and stores the impedance of the wire; And B, when the electronic equipment is charged, the central processing unit calculates the voltage division of the thermistor according to the current entering the battery, the pin voltage division and the impedance acquired by the PMIC chip, and then temperature compensation is carried out. In the NTC temperature compensation method of the electronic device, the step a specifically includes: Step A1, in a test mode, a pseudo battery with a thermistor with a fixed value in the electronic equipment is powered; Step A2, simulating charge, namely gradually increasing the battery voltage from a lower limit threshold to an upper limit threshold according to a variable value, recording the pin voltage and the battery current once when the battery voltage is increased, and gradually decreasing the battery voltage from the upper limit threshold to the lower limit threshold according to the variable value, and recording the pin voltage and the battery current once when the battery voltage is reduced; and A3, calculating the impedance of the lead during charging and discharging by combining the constant thermistor and averaging the impedance, and storing the average value as the impedance of the lead. In the NTC temperature compensation method of the electronic device, in the step A2, when the variable value is 0.02V and the battery voltage is detected to be 3.5V, the PMIC chip starts to collect the pin voltage for the first time, after the battery voltage is detected to be 3.52V, the PMIC chip collects the pin voltage again, after the battery voltage is detected to be 3.54V, the PMIC chip collects the pin voltage again, and so on, until the battery voltage is detected to be 4.2V, the last pin voltage is collected. In the NTC temperature compensation method of the electronic device, in the step A3, a temperature compensation formula includes: The battery is charged with the power of Vts Filling material =Vntc Filling material -Intc Filling material ×R Filling material , Discharging the battery, wherein the discharging is Vts Put and put =Vntc Put and put +Intc Put and put ×R P