CN107271917A - Battery detection circuit and mobile terminal - Google Patents

Battery detection circuit and mobile terminal Download PDF

Info

Publication number
CN107271917A
CN107271917A CN201710589927.7A CN201710589927A CN107271917A CN 107271917 A CN107271917 A CN 107271917A CN 201710589927 A CN201710589927 A CN 201710589927A CN 107271917 A CN107271917 A CN 107271917A
Authority
CN
China
Prior art keywords
resistance
battery
resistor
thermo
ntc
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710589927.7A
Other languages
Chinese (zh)
Inventor
王晓光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Ding Electronic Technology (group) Co Ltd
Original Assignee
Shanghai Ding Electronic Technology (group) Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Ding Electronic Technology (group) Co Ltd filed Critical Shanghai Ding Electronic Technology (group) Co Ltd
Priority to CN201710589927.7A priority Critical patent/CN107271917A/en
Publication of CN107271917A publication Critical patent/CN107271917A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K7/00Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements
    • G01K7/16Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements using resistive elements
    • G01K7/22Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements using resistive elements the element being a non-linear resistance, e.g. thermistor
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/382Arrangements for monitoring battery or accumulator variables, e.g. SoC

Abstract

The invention discloses a kind of battery detection circuit and mobile terminal, the battery detection circuit includes battery circuit and motherboard circuit;The motherboard circuit includes first resistor, one end of the first resistor and the ID/NTC pins connection of mainboard, the other end connects one end of voltage end and second resistance respectively, and the other end of the second resistance connects one end of the first thermo-sensitive resistor, the other end ground connection of first thermo-sensitive resistor;The first partial pressure branch road is provided between the first resistor and the ID/NTC pins of the mainboard, the second partial pressure branch road is provided between the second resistance and first thermo-sensitive resistor, the first partial pressure branch road and the second partial pressure branch road are all connected with the ADC of mainboard;The battery circuit includes ID resistance and the second thermo-sensitive resistor.The present invention is using a vacant pin, while realizing ID detections and the temperature NTC detection functions of battery.

Description

Battery detection circuit and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of battery detection circuit and mobile terminal.
Background technology
In mobile terminal product, such as mobile phone, the complete management being detected and used for cell safety is, it is necessary to specific aim The progress ID recognition detection corresponding with battery resource (such as battery core, producer, capacity), and with battery temperature safety detection phase Corresponding NTC (Negative Temperature Coefficient, negative tempperature coefficient thermistor) resistance detection.However, The overall design of many battery-disassembleds, because complete machine structure design or the limitation of material resource, battery spring lamination connector are used 3pin (pin) connector and 3pin battery, wherein, 3pin purposes is:1pin makees anode, and 1pin makees GND, 1pin is used for battery detecting.
When using 3pin battery connectors, because the vacant pin of only one of which can be used for battery detecting, therefore existing normal In rule design, the design of alternative can only be typically carried out to ID identifications and battery temperature NTC resistances, there is design and use performance Defect.
The content of the invention
In order to solve problem of the prior art, the embodiments of the invention provide a kind of battery detection circuit and mobile terminal. The technical scheme is as follows:
On the one hand there is provided a kind of battery detection circuit, the battery detection circuit includes battery circuit and motherboard circuit;
The motherboard circuit includes first resistor, one end of the first resistor and the ID/NTC pins connection of mainboard, separately One end connects one end of voltage end and second resistance respectively, and the other end of the second resistance connects the one of the first thermo-sensitive resistor End, the other end ground connection of first thermo-sensitive resistor;Provided with the between the first resistor and the ID/NTC pins of the mainboard One partial pressure branch road, is provided with the second partial pressure branch road, the first partial pressure branch between the second resistance and first thermo-sensitive resistor Road and the second partial pressure branch road are all connected with the ADC of mainboard;
The battery circuit includes ID resistance and the second thermo-sensitive resistor, and the ID resistance and the second thermo-sensitive resistor are connected on electricity Between the ID/NTC pins and GND pin in pond.
Further, the first resistor and the second resistance are fixed value resistance.
Further, first thermo-sensitive resistor and the second thermo-sensitive resistor are NTC resistance.
On the other hand there is provided a kind of mobile terminal, including the battery detecting electricity described in claims 1 to 3 any one Road.
Further, the mobile terminal is mobile phone, tablet personal computer or POS.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
Circuit of the present invention is simple, and cost is low, can utilize a vacant pin of battery, while realizing the ID detections of battery Function is detected with temperature NTC, and with good precision and reliability.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of battery detection circuit figure that the embodiment of the present invention one is provided.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Embodiment one
The embodiments of the invention provide a kind of battery detection circuit, including battery circuit and motherboard circuit;
The motherboard circuit includes first resistor, one end of the first resistor and the ID/NTC pins connection of mainboard, separately One end connects one end of voltage end and second resistance respectively, and the other end of the second resistance connects the one of the first thermo-sensitive resistor End, the other end ground connection of first thermo-sensitive resistor;Provided with the between the first resistor and the ID/NTC pins of the mainboard One partial pressure branch road, is provided with the second partial pressure branch road, the first partial pressure branch between the second resistance and first thermo-sensitive resistor Road and the second partial pressure branch road are all connected with the ADC of mainboard;
The battery circuit includes ID resistance and the second thermo-sensitive resistor, and the ID resistance and the second thermo-sensitive resistor are connected on electricity Between the ID/NTC pins and GND pin in pond.
First, the principle to conventional detection battery ID and battery temperature is introduced.
The principle of conventional detection battery ID is, using bleeder circuit, detects that the drop-down of ID pins is different in inside battery The ID resistance of resistance, enables mainboard end ADC to read the different magnitudes of voltage of ID resistance, different electricity is distinguished according to magnitude of voltage The ID of Pooled resources (battery core, capacity, size etc.), is moved easily terminal and makes correct battery identification.
The principle of conventional detection battery temperature is, using bleeder circuit, the drop-down temperature of ID pins to be detected in inside battery Quick NTC resistance, it is different using the thermo-sensitive resistor resistance under different battery temperatures, mainboard end ADC is read not equality of temperature The different magnitudes of voltage of the lower thermo-sensitive resistor of degree, according to the temperature of thermo-sensitive resistor and resistance corresponding relation, realize system to different batteries The temperature NTC detections of operating temperature, are moved easily terminal and make correct temperature measurement and control.
That is, the magnitude of voltage by detecting ID resistance or temperature sensitive NTC resistance under setting voltage, to detect battery ID or temperature.
By taking 10K (25 degree/thermal sensitive resin 3380) temperature sensitive NTC resistance as an example, the corresponding relation of its resistance and temperature, referring to table One.
Table one
Resistance (K) Temperature (DEG C)
3.54 55
4.16 50
4.91 45
5.82 40
6.93 35
8.3 30
10 25
12.11 20
14.76 15
18.1 10
22.35 5
27.79 0
34.82 -5
43.97 -10
The present embodiment is improved by the circuit to battery-end and mainboard end, using a vacant pin, while realizing electricity The ID detections in pond and temperature NTC detect function.
In the present embodiment, the first resistor and the second resistance are fixed value resistance.The resistance of such as first resistor It is worth for 39K, the resistance of second resistance is 20K, and designer can flexibly set first resistor and second resistance according to actual needs Resistance, be not limited thereof herein.
In the present embodiment, first thermo-sensitive resistor and the second thermo-sensitive resistor are NTC resistance.Such as first temperature sensitive electricity Resistance uses 15K (25 degree/thermal sensitive resin 3080) temperature sensitive NTC resistance, and the second thermo-sensitive resistor uses (25 degree/thermal sensitive resin of 10K 3380) temperature sensitive NTC resistance, designer can choose the type of the first thermo-sensitive resistor and the second thermo-sensitive resistor according to actual needs, It is not limited thereof herein.
Referring to Fig. 1, Fig. 1 provides a kind of embodiment of battery detection circuit, in Fig. 1 motherboard circuit, and R1 is the One resistance, R1 one end connects the ID/NTC pins of mainboard, and the R1 other end connection voltage end VDD, the R1 other end are gone back simultaneously It is connected with second resistance R4, R5 is the first thermo-sensitive resistor, R5 one end connection R4, R5 other end ground connection.
In Fig. 1 battery circuit, R2 is ID resistance, and R3 is the second thermo-sensitive resistor, and R2 and R3 are connected on the ID/ of battery Between NTC pins and GND pin.
The ADC of mainboard is used for detecting the partial pressure V1 of (R2+R3) total resistance, and R5 partial pressure V2.To use 10K Exemplified by the #1 batteries of (25 degree/thermal sensitive resin 3380) temperature sensitive NTC resistance, R1 is set as 39K, R2 is 0K, VDD is 1.8V, mainboard ADC detection V1 values formula it is as follows:
V1=VDD × (R2+R3)/(R1+R2+R3)
It when battery temperature is 25 DEG C, can be obtained according to table one, R3 is 10K, calculate V1 values for 0.367V.Equally, master is worked as When the ADC detection V1 values of plate are 0.367V, by inquiring about the temperature and resistance table of #1 batteries, the temperature that can obtain battery is 25℃。
For different ID battery, foreign matter material can be for example made the difference in the battery by selecting different R2 and R3 resistance Selection so that total resistance formation difference of (R2+R3) of different batteries, then by detecting that (R2+R3) is supplied to the electricity of ADC Pressure value V1 distinguishes the ID of battery.
The present embodiment additionally provides a kind of detection method detected using the battery detection circuit, including:
S1:Import the specification of various batteries, #1 battery specifications as escribed above, including #1 batteries in the terminal first In R2 resistance values, such as R2 be 0K, R3 type and its resistance and temperature characterisitic relation, such as R3 be 10K (25 degree/temperature Quick coefficient 3380) temperature sensitive NTC resistance, its corresponding relation is with reference to table one.
S2:Detect open state under motherboard circuit V2 magnitudes of voltage, according to known R4 resistance values, vdd voltage value and R5 resistance and temperature characterisitic relation, calculate the temperature of mainboard and battery presumption temperature under open state.
Specifically, there is premise in this step, i.e., the temperature difference of the temperature of mainboard and battery is very under open state It is small.Just system load is relatively low during start, and very little is influenceed on temperature, in order to avoid the influence that main board work heating is caused as far as possible, Only the very first time reads after starting up for the reading of terminal-pair V2 magnitudes of voltage.Because mainboard can generate heat under open state, therefore, Mainboard temperature can be subtracted to a fixed value, battery presumption temperature is obtained.Such as fixed value is set as 5 DEG C or 10 DEG C, and this is fixed Value can be set according to specific heat condition, and experimental data, not limited herein.
S3:The V1 values of battery circuit are detected, temperature is estimated according to battery, battery ID is determined.
Specifically, system is calculated under V1 voltages, the temperature sensitive NTC of different batteries after the V1 values of battery circuit are detected Resistance, calculation formula is
V1=VDD × (R2+R3)/(R1+R2+R3)
Due to R1, it is known that the ID resistance R2 of different batteries resistance is substituted into above-mentioned formula, you can obtain temperature sensitive NTC resistance R3 resistances, it is to be obtained to arrive after R3 resistances, compare R3 resistance and temperature characterisitic table, you can draw R3 corresponding with R3 resistances electricity Hinder temperature.The R3 resistance temperatures of different batteries and battery presumption temperature are subjected to difference comparsion, difference minimum R3 resistance institute's generation The battery of table is correct battery, so that it is determined that battery ID.
It should be noted that for the judgement of battery ID, only detecting once, subsequently no longer carrying out in each start process The detection of battery ID.
S4:Detection V1 values, according to the NTC resistance R3 of the S3 batteries determined resistance and temperature characterisitic table, calculate R3 in real time Resistance, battery temperature is obtained according to R3 resistances.
In the present embodiment, foregoing circuit can be used in the design of 3pin battery connector+3Pin batteries, utilize one Individual vacant pin, while realizing ID detections and the temperature NTC detection functions of battery.
Embodiment two
The embodiments of the invention provide the battery detection circuit in a kind of mobile terminal, including embodiment one.
In the present embodiment, the mobile terminal is mobile phone, tablet personal computer or POS.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
It should also be noted that, term " comprising " or any other variant thereof is intended to cover non-exclusive inclusion, from And to include the commodity or system of a series of key elements not only including those key elements, but also its including being not expressly set out His key element, or also include for this commodity or the intrinsic key element of system.In the absence of more restrictions, by language The key element that sentence "including a ..." is limited, it is not excluded that also exist in addition in the commodity or system including the key element Identical element.
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.

Claims (5)

1. a kind of battery detection circuit, it is characterised in that the battery detection circuit includes battery circuit and motherboard circuit;
The motherboard circuit includes first resistor, one end of the first resistor and the ID/NTC pins connection of mainboard, the other end One end of voltage end and second resistance is connected respectively, and the other end of the second resistance connects one end of the first thermo-sensitive resistor, institute State the other end ground connection of the first thermo-sensitive resistor;The first partial pressure is provided between the first resistor and the ID/NTC pins of the mainboard Branch road, is provided with the second partial pressure branch road, the first partial pressure branch road and institute between the second resistance and first thermo-sensitive resistor State the ADC that the second partial pressure branch road is all connected with mainboard;
The battery circuit includes ID resistance and the second thermo-sensitive resistor, and the ID resistance and the second thermo-sensitive resistor are connected on battery Between ID/NTC pins and GND pin.
2. battery detection circuit according to claim 1, it is characterised in that the first resistor and the second resistance are equal For fixed value resistance.
3. battery detection circuit according to claim 1, it is characterised in that first thermo-sensitive resistor and the second temperature sensitive electricity Resistance is NTC resistance.
4. a kind of mobile terminal, it is characterised in that including the battery detection circuit described in claims 1 to 3 any one.
5. mobile terminal according to claim 4, it is characterised in that the mobile terminal is mobile phone, tablet personal computer or POS Machine.
CN201710589927.7A 2017-07-19 2017-07-19 Battery detection circuit and mobile terminal Pending CN107271917A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710589927.7A CN107271917A (en) 2017-07-19 2017-07-19 Battery detection circuit and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710589927.7A CN107271917A (en) 2017-07-19 2017-07-19 Battery detection circuit and mobile terminal

Publications (1)

Publication Number Publication Date
CN107271917A true CN107271917A (en) 2017-10-20

Family

ID=60079340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710589927.7A Pending CN107271917A (en) 2017-07-19 2017-07-19 Battery detection circuit and mobile terminal

Country Status (1)

Country Link
CN (1) CN107271917A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107797009A (en) * 2017-11-28 2018-03-13 郑州云海信息技术有限公司 A kind of power supply mixed insertion detecting system and power module
CN111487526A (en) * 2020-05-22 2020-08-04 Oppo(重庆)智能科技有限公司 Circuit board detection circuit, device, method and storage medium
CN111787428A (en) * 2020-06-24 2020-10-16 Oppo广东移动通信有限公司 User terminal equipment
CN117110913A (en) * 2023-10-13 2023-11-24 荣耀终端有限公司 Battery detection circuit, electronic device, and battery detection method
CN117388728A (en) * 2023-12-12 2024-01-12 荣耀终端有限公司 Battery detection circuit, method and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200928403A (en) * 2007-12-31 2009-07-01 High Tech Comp Corp Battery module and method for determining a charging state thereof
CN101771428A (en) * 2010-01-19 2010-07-07 青岛海信移动通信技术股份有限公司 Temperature detection circuit and mobile communication equipment
CN102183315A (en) * 2011-02-28 2011-09-14 惠州Tcl移动通信有限公司 Circuit and method for detecting identity (ID) and temperature of battery by using common detection pin
CN103078363A (en) * 2012-12-13 2013-05-01 广东欧珀移动通信有限公司 Battery cell identification circuit and identification method thereof
CN103217650A (en) * 2013-04-09 2013-07-24 青岛海信移动通信技术股份有限公司 Battery type detection method and mobile terminal designed by same
CN203242716U (en) * 2013-04-09 2013-10-16 青岛海信移动通信技术股份有限公司 Battery, battery type detection circuit and mobile terminal
CN104360281A (en) * 2014-11-17 2015-02-18 惠州Tcl移动通信有限公司 Mobile-terminal-based battery identification method and system and mobile terminal
JP2015049935A (en) * 2013-08-29 2015-03-16 京セラ株式会社 Mobile terminal system, mobile terminal, and battery pack
CN105676145A (en) * 2016-04-01 2016-06-15 福建联迪商用设备有限公司 Method and device for detecting temperature and ID of battery
CN207020289U (en) * 2017-07-19 2018-02-16 上海鼎为电子科技(集团)有限公司 Battery detection circuit and mobile terminal

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200928403A (en) * 2007-12-31 2009-07-01 High Tech Comp Corp Battery module and method for determining a charging state thereof
CN101771428A (en) * 2010-01-19 2010-07-07 青岛海信移动通信技术股份有限公司 Temperature detection circuit and mobile communication equipment
CN102183315A (en) * 2011-02-28 2011-09-14 惠州Tcl移动通信有限公司 Circuit and method for detecting identity (ID) and temperature of battery by using common detection pin
CN103078363A (en) * 2012-12-13 2013-05-01 广东欧珀移动通信有限公司 Battery cell identification circuit and identification method thereof
CN103217650A (en) * 2013-04-09 2013-07-24 青岛海信移动通信技术股份有限公司 Battery type detection method and mobile terminal designed by same
CN203242716U (en) * 2013-04-09 2013-10-16 青岛海信移动通信技术股份有限公司 Battery, battery type detection circuit and mobile terminal
JP2015049935A (en) * 2013-08-29 2015-03-16 京セラ株式会社 Mobile terminal system, mobile terminal, and battery pack
CN104360281A (en) * 2014-11-17 2015-02-18 惠州Tcl移动通信有限公司 Mobile-terminal-based battery identification method and system and mobile terminal
CN105676145A (en) * 2016-04-01 2016-06-15 福建联迪商用设备有限公司 Method and device for detecting temperature and ID of battery
CN207020289U (en) * 2017-07-19 2018-02-16 上海鼎为电子科技(集团)有限公司 Battery detection circuit and mobile terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107797009A (en) * 2017-11-28 2018-03-13 郑州云海信息技术有限公司 A kind of power supply mixed insertion detecting system and power module
CN111487526A (en) * 2020-05-22 2020-08-04 Oppo(重庆)智能科技有限公司 Circuit board detection circuit, device, method and storage medium
CN111787428A (en) * 2020-06-24 2020-10-16 Oppo广东移动通信有限公司 User terminal equipment
CN111787428B (en) * 2020-06-24 2022-03-08 Oppo广东移动通信有限公司 User terminal equipment
CN117110913A (en) * 2023-10-13 2023-11-24 荣耀终端有限公司 Battery detection circuit, electronic device, and battery detection method
CN117110913B (en) * 2023-10-13 2024-04-05 荣耀终端有限公司 Battery detection circuit, electronic device, and battery detection method
CN117388728A (en) * 2023-12-12 2024-01-12 荣耀终端有限公司 Battery detection circuit, method and electronic equipment

Similar Documents

Publication Publication Date Title
CN107271917A (en) Battery detection circuit and mobile terminal
CN103855772B (en) Mobile terminal and charge control method thereof
US10720778B2 (en) Method for identifying type of cable, power adapter and cable
CN102984368B (en) A kind of mobile terminal for automatically identifying genuine battery and recognition methods thereof
CN104714912A (en) Multi-card detection device, multi-card detection system and method thereof
KR20160105167A (en) Electronic device and method for charging controlling of the electronic device
US20140006678A1 (en) Portable electronic device and accessory device thereof, and operating method for the portable electronic device
CN117110913B (en) Battery detection circuit, electronic device, and battery detection method
CN108896823A (en) A kind of method of charging resistor detection
CN106840442A (en) A kind of battery temperature measuring system and method
CN201885823U (en) Accurate temperature-measuring circuit of electromagnetic oven
CN203242716U (en) Battery, battery type detection circuit and mobile terminal
CN207020289U (en) Battery detection circuit and mobile terminal
CN203519204U (en) Temperature-sensing wrap detection circuit
WO2023070321A1 (en) Battery overcurrent detection method, battery management system, and battery
CN103078363A (en) Battery cell identification circuit and identification method thereof
CN110571758B (en) USB interface protection circuit, method, adapter and electronic equipment
CN104568227A (en) Circuit, method and device for detecting temperature sensing bulb
CN112214439B (en) Hot plug self-identification circuit and identification method
CN110843598B (en) Temperature acquisition compensation method and circuit and battery management system of electric equipment
CN206331094U (en) A kind of battery data detection means and terminal
US20130156064A1 (en) System and method for testing electronic device
CN103546638A (en) Method for no-load recovery of flash memory card and mobile terminal of flash memory card
CN215492129U (en) Temperature detection circuit and test tool
CN104639708A (en) Mobile terminal, temperature detection method and system based on mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20171020