CN107204494A - Detection method, terminal and the computer-readable recording medium of battery temperature - Google Patents

Detection method, terminal and the computer-readable recording medium of battery temperature Download PDF

Info

Publication number
CN107204494A
CN107204494A CN201710563818.8A CN201710563818A CN107204494A CN 107204494 A CN107204494 A CN 107204494A CN 201710563818 A CN201710563818 A CN 201710563818A CN 107204494 A CN107204494 A CN 107204494A
Authority
CN
China
Prior art keywords
battery
temperature
resistance
thermo
sensitive resistor
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.)
Withdrawn
Application number
CN201710563818.8A
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.)
Shenzhen Tinno Mobile Technology Co Ltd
Shenzhen Tinno Wireless Technology Co Ltd
Original Assignee
Shenzhen Tinno Mobile Technology Co Ltd
Shenzhen Tinno Wireless Technology 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 Shenzhen Tinno Mobile Technology Co Ltd, Shenzhen Tinno Wireless Technology Co Ltd filed Critical Shenzhen Tinno Mobile Technology Co Ltd
Priority to CN201710563818.8A priority Critical patent/CN107204494A/en
Publication of CN107204494A publication Critical patent/CN107204494A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/48Accumulators combined with arrangements for measuring, testing or indicating the condition of cells, e.g. the level or density of the electrolyte
    • H01M10/486Accumulators combined with arrangements for measuring, testing or indicating the condition of cells, e.g. the level or density of the electrolyte for measuring temperature
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Abstract

The invention discloses a kind of detection method of battery temperature; applied to terminal, the battery of the terminal inner is electrically connected with mainboard, and the battery includes battery core and battery protecting plate; thermo-sensitive resistor is set on each side around battery core, and the detection method of the battery temperature includes:In the charging process of battery, the corresponding total resistance of each thermo-sensitive resistor is obtained;Total resistance based on acquisition, determines the temperature of battery.The invention also discloses a kind of terminal and computer-readable recording medium.The present invention realizes the detection to battery temperature by each thermo-sensitive resistor around battery core, and accuracy is higher, effectively reduction battery work risk.

Description

Detection method, terminal and the computer-readable recording medium of battery temperature
Technical field
The present invention relates to the detection field of battery temperature, more particularly to a kind of detection method of battery temperature, terminal and meter Calculation machine readable storage medium storing program for executing.
Background technology
Nowadays the mobile terminal such as mobile phone generally uses lithium ion battery, lithium ion battery when high temperature and low temperature charge, The service life of battery can be not only reduced, the danger for also having blast.To improve the security of battery charging, inside battery is needed Temperature collection circuit, with the real-time temperature level of the system of informing, so as to protect cell safety.
The circuit of tradition collection battery temperature is all placed on battery protecting plate, but because battery is when being charged and discharged, electricity Stream can produce larger heat when flowing through narrow battery protecting plate, cause battery protection plate temperature higher, square in addition Battery core temperature is distributed in interval, hotter closer to positive and negative electrode interface, more remote then colder from positive and negative electrode interface.Such inside battery Temperature is different, and the temperature of temperature sensing circuit will be more slightly higher than battery core temperature, more slightly lower than thermal source on protection board, therefore temperature is passed The battery temperature that inductive circuit is collected will be higher than battery core actual temperature, so that battery core temperature can not accurately be reflected, increase electricity Pond work risk.
The content of the invention
It is a primary object of the present invention to provide a kind of battery temperature detection method, terminal and computer-readable storage medium Matter, it is intended to solve existing battery temperature detection mode, accuracy is low, the technical problem of increase battery work risk.
To achieve the above object, the present invention provides a kind of detection method of battery temperature, applied to terminal, in the terminal The battery in portion is electrically connected with mainboard, and the battery includes battery core and battery protecting plate, and temperature is set on each side around battery core Quick resistance, the detection method of the battery temperature includes:
In the charging process of battery, the corresponding total resistance of each thermo-sensitive resistor is obtained;
Total resistance based on acquisition, determines the temperature of battery.
Alternatively, the mainboard is provided with the fixed value resistance of micro-control unit and connection power supply, and the micro-control unit is leaned on One end of nearly fixed value resistance is provided with converter, includes the step of each thermo-sensitive resistor of the acquisition corresponding total resistance:
Obtain supply voltage, fixed value resistance and the transducer voltage detected in the converter;
Based on supply voltage, transducer voltage and fixed value resistance, total resistance of each thermo-sensitive resistor is calculated.
Alternatively, the thermo-sensitive resistor uses the thermo-sensitive resistor of negative temperature coefficient, and each thermo-sensitive resistor is connected in parallel.
Alternatively, it is described to be based on supply voltage, transducer voltage and fixed value resistance, calculate total resistance of each thermo-sensitive resistor The step of include:
Supply voltage, transducer voltage and the corresponding analog signal of fixed value resistance are turned by the converter of micro-control unit Change data signal into, and by the digital data transmission after conversion into micro-control unit;
In micro-control unit, each is calculated based on the supply voltage after conversion, transducer voltage and fixed value resistance temperature sensitive Total resistance of resistance.
Alternatively, the transducer voltage is VADC, supply voltage be VREFIt is R1 with fixed value resistance, calculates each temperature sensitive electricity The RX formula of total resistance of resistance are:
Alternatively, the resistance of the fixed value resistance is depending on the number of thermo-sensitive resistor.
Alternatively, the step of total resistance based on acquisition, temperature for determining battery, includes:
Total resistance based on calculating, searches default resistance temperature map table;
Mapping relations based on total resistance and preset temperature, determine the corresponding temperature of total resistance.
Alternatively, after total resistance based on acquisition, the step of determining the temperature of battery, methods described also includes:
When the temperature of battery reaches preset temperature value, control battery stops charging.
In addition, to achieve the above object, the present invention also provides a kind of terminal, the terminal includes mainboard, battery, memory And the battery temperature detection program that can be run on the memory and on the mainboard is stored in, the battery temperature detects journey The step of battery temperature detection method as described above is realized when sequence is performed by the mainboard.
In addition, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, described computer-readable The battery temperature that is stored with storage medium detects program, and battery temperature detection program realizes such as institute above when being performed by mainboard The step of battery temperature detection method stated.
Technical scheme proposed by the present invention, the battery of terminal inner is electrically connected with mainboard, and the battery includes battery core and electricity Pond protection board, thermo-sensitive resistor is set on each side around battery core, in the charging process of battery, is first obtained around battery core The corresponding total resistance of each thermo-sensitive resistor, then total resistance based on acquisition again, determines the temperature of battery.The present invention passes through battery core Each thermo-sensitive resistor of surrounding realizes the detection to battery temperature, compared to the single inspection of temperature sensing circuit in circuit protection plate Battery temperature is surveyed, accuracy is higher, effectively reduction battery work risk.
Brief description of the drawings
Fig. 1 is the terminal structure schematic diagram for the hardware running environment that scheme of the embodiment of the present invention is related to;
Fig. 2 is the schematic flow sheet of the detection method first embodiment of battery temperature of the present invention;
Fig. 3 is the structural representation of battery of the present invention;
Fig. 4 is the circuit diagram that battery of the present invention is electrically connected with mainboard;
The refinement schematic flow sheet that Fig. 5 is step S10 in Fig. 2;
The refinement schematic flow sheet that Fig. 6 is step S12 in Fig. 5;
The refinement schematic flow sheet that Fig. 7 is step S20 in Fig. 2;
Fig. 8 is the schematic flow sheet of the detection method second embodiment of battery temperature of the present invention;
Fig. 9 is the structural representation that the implement scene of thermo-sensitive resistor first is set in battery of the present invention;
Figure 10 is the structural representation that the implement scene of thermo-sensitive resistor second is set in battery of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The solution of the embodiment of the present invention is mainly:The battery of terminal inner is electrically connected with mainboard, and the battery includes Battery core and battery protecting plate, thermo-sensitive resistor is set on each side around battery core, in the charging process of battery, first obtains electricity The corresponding total resistance of each thermo-sensitive resistor around core, then total resistance based on acquisition again, determines the temperature of battery.The present invention Detection to battery temperature is realized by each thermo-sensitive resistor around battery core, compared to the TEMP electricity in circuit protection plate The single detection battery temperature in road, accuracy is higher, effectively reduction battery work risk.
It should be appreciated that the invention reside in a kind of method of increase battery temperature Acquisition Circuit is proposed, the temperature of battery is calculated, Influence of the external heat sources such as battery protecting plate to battery core temperature acquisition is reduced with this, more real battery core temperature is finally obtained.
As shown in figure 1, Fig. 1 is the terminal structure schematic diagram for the hardware running environment that scheme of the embodiment of the present invention is related to.
Equipment of the embodiment of the present invention can be PC or smart mobile phone, tablet personal computer, E-book reader, portable Computer etc. has the packaged type terminal device of display function.
As shown in figure 1, the equipment can include:Mainboard 1001, such as CPU, communication bus 1002, user interface 1003, Network interface 1004, memory 1005 and battery 1006.Wherein, communication bus 1002 is used to realize the connection between these components Communication.User interface 1003 can include display screen (Display), input block such as keyboard (Keyboard), optional user Interface 1003 can also include wireline interface, the wave point of standard.Network interface 1004 can optionally include having for standard Line interface, wave point (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory or stable storage Device (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of foregoing mainboard 1001 storage device.Mainboard 1001 and battery 1006 are electrically connected, and the battery includes battery core and battery protecting plate, in battery core week Thermo-sensitive resistor is set on each side enclosed.
Alternatively, terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, audio Circuit, WiFi module etc..
It will be understood by those skilled in the art that the restriction of the terminal structure shown in Fig. 1 not structure paired terminal, can be wrapped Include than illustrating more or less parts, either combine some parts or different parts arrangement.
As shown in figure 1, as operating system, net can be included in a kind of memory 1005 of computer-readable recording medium The detection program of network communication module, Subscriber Interface Module SIM and battery temperature.Wherein, operating system be management and control terminal and The program of software resource, support network communication module, Subscriber Interface Module SIM, the detection program of battery temperature and other programs or The operation of software;Network communication module is used to managing and controlling network interface 1002;Subscriber Interface Module SIM is used to manage and control User interface 1003.
In the terminal shown in Fig. 1, network interface 1004 is mainly used in external equipment, and carrying out data with external equipment leads to Letter;User interface 1003 is mainly used in connecting terminal interface;The terminal is called in memory 1005 by mainboard 1001 and stored Battery temperature detection program, to realize following steps:
In the charging process of battery, the corresponding total resistance of each thermo-sensitive resistor is obtained;
Total resistance based on acquisition, determines the temperature of battery.
Further, the mainboard is provided with the fixed value resistance of micro-control unit and connection power supply, the micro-control unit Converter is provided with close to one end of fixed value resistance, the terminal calls the battery temperature stored in memory 1005 by mainboard 1001 The detection program of degree, to realize the step of obtaining each thermo-sensitive resistor corresponding total resistance:
Obtain supply voltage, fixed value resistance and the transducer voltage detected in the converter;
Based on supply voltage, transducer voltage and fixed value resistance, total resistance of each thermo-sensitive resistor is calculated.
Further, the thermo-sensitive resistor uses the thermo-sensitive resistor of negative temperature coefficient, and each thermo-sensitive resistor is connected in parallel.
Further, the terminal calls the detection journey of the battery temperature stored in memory 1005 by mainboard 1001 Sequence, supply voltage, transducer voltage and fixed value resistance, the step of calculating total resistance of each thermo-sensitive resistor are based on to realize:
Supply voltage, transducer voltage and the corresponding analog signal of fixed value resistance are turned by the converter of micro-control unit Change data signal into, and by the digital data transmission after conversion into micro-control unit;
In micro-control unit, each is calculated based on the supply voltage after conversion, transducer voltage and fixed value resistance temperature sensitive Total resistance of resistance.
Further, the transducer voltage is VADC, supply voltage be VREFIt is R1 with fixed value resistance, calculates each temperature sensitive The RX formula of total resistance of resistance are:
Further, the resistance of the fixed value resistance is depending on the number of thermo-sensitive resistor.
Further, the terminal calls the detection journey of the battery temperature stored in memory 1005 by mainboard 1001 Sequence, to realize total resistance based on acquisition, the step of determining the temperature of battery:
Total resistance based on calculating, searches default resistance temperature map table;
Mapping relations based on total resistance and preset temperature, determine the corresponding temperature of total resistance.
Further, after total resistance based on acquisition, the step of determining the temperature of battery, the terminal passes through master Plate 1001 calls the detection program of the battery temperature stored in memory 1005, to realize following steps:
When the temperature of battery reaches preset temperature value, control battery stops charging.
Based on above-mentioned terminal hardware structure, each embodiment of the detection method of battery temperature of the present invention is proposed.
Reference picture 2, Fig. 2 is the schematic flow sheet of the detection method preferred embodiment of battery temperature of the present invention.
In the present embodiment, the detection method of the battery temperature is applied to terminal, the battery of the terminal inner and master Plate is electrically connected, and the battery includes battery core and battery protecting plate, and thermo-sensitive resistor, the electricity are set on each side around battery core The detection method of pond temperature includes:
In the charging process of battery, the corresponding total resistance of each thermo-sensitive resistor is obtained;
Total resistance based on acquisition, determines the temperature of battery.
In the present embodiment, the detection method of the battery temperature is applied to terminal, terminal end as shown in Figure 1 End.The terminal inner is provided with battery and mainboard, and the battery is electrically connected by battery connector and mainboard.Wherein, the electricity Pond is made up of battery core and battery protecting plate, and the battery core is preferably polygon, such as square or triangle, and concrete shape is not limited, The battery protecting plate includes battery connector pin THERM, both positive and negative polarity interface P+ and P-, and the structural representation of battery can refer to Fig. 3.
In the present embodiment, each side around the battery core is provided with thermo-sensitive resistor, and the number of the thermo-sensitive resistor is not done Limit, can be set to according to actual needs one, two, three even more than, and each thermo-sensitive resistor be arranged on battery core week In the different edge enclosed, for example, being separately positioned on the left side of battery core, the right and bottom position.
In the present embodiment, the thermo-sensitive resistor can preferably use the thermo-sensitive resistor of positive temperature coefficient or the temperature of negative temperature coefficient Quick resistance is, it is necessary to illustrate, because the resistance coefficient of the thermo-sensitive resistor of negative temperature coefficient is more accurate, therefore in order to improve electricity The accuracy of pond temperature detection, the embodiment of the present invention is preferred to use negative temperature coefficient (NTC, Negative Temperature Coefficient thermo-sensitive resistor).The resistance of negative temperature coefficient thermo-sensitive resistor is varied with temperature and changed, and it is in inverse ratio to be Its higher resistance value of temperature of relation, i.e. resistance is smaller.
In the present embodiment, provided with micro-control unit (MCU, Micro controller Unit) and connection in the mainboard The fixed value resistance of power supply, micro-control unit and fixed value resistance are connected with each other, and the micro-control unit is in one end close to fixed value resistance Provided with converter, the converter is ADC (Analog to Digital, analog-digital converter), for analog voltage signal to be changed For data signal.In the present embodiment, fixed value resistance is chosen as common fixed carbon resister, and its resistance is not varied with temperature and changed, One end connection power supply of the fixed value resistance, the other end separates two roads by electric wire and connects micro-control unit and connection battery respectively Battery connector.To be best understood from, the connection circuit diagram of battery and mainboard can refer to Fig. 4, it is necessary to which explanation, Fig. 4 is only For a kind of preferably circuit structure connection figure, in other embodiments, the placement of all parts can be also adjusted according to actual needs Position, is not limited herein.
The following is the specific steps for the detection that battery temperature is realized in the present embodiment:
Step S10, in the charging process of battery, obtains the corresponding total resistance of each thermo-sensitive resistor;
In the present embodiment, during battery charges, each temperature sensitive electricity that can be in real time or around timing acquisition battery core Hinder corresponding total resistance.If total resistance of thermo-sensitive resistor is obtained in real time, exactly when detecting battery charging instruction, you can open Beginning obtains total resistance of thermo-sensitive resistor, and the triggering mode of the battery charging instruction includes:
A, in the case that battery is built in terminal, when the power supply of terminal is connected to external power source by data wire, triggering Battery charging instruction.
B, when battery can be dismantled, if battery fastens to mainboard and electrically connected with mainboard, and the power supply of terminal passes through number When being connected to external power source according to line, battery charging instruction is triggered.
If total resistance of timing acquisition thermo-sensitive resistor, then can regularly it be carried out temperature sensitive according to the time interval set in advance The acquisition of total resistance of resistance.
In the present embodiment, the connected mode of each thermo-sensitive resistor is preferred to use parallel way and is attached, wherein, each One end (common port) of thermo-sensitive resistor connects GND signals, and the other end is electrically connected by battery connector with mainboard, that is to say, that electricity Each thermo-sensitive resistor inside pond is connected in parallel, then is electrically connected by battery connector with mainboard.
So, in the present embodiment, the total resistance for obtaining each thermo-sensitive resistor around battery core is:
Obtain the corresponding total resistance of each thermo-sensitive resistor being connected in parallel.
Wherein, when the number of thermo-sensitive resistor is two, two thermo-sensitive resistors are represented with R2 and R3, then total resistance RX= R2//R3=R2*R3/ (R2+R3);When the number of thermo-sensitive resistor is three, three thermo-sensitive resistors are represented with R2, R3 and R4, then Total resistance RX=R2//R3//R4=R2*R3*R4/ (R2+R3+R4).Other various situations by that analogy, are no longer gone to live in the household of one's in-laws on getting married one by one herein State.
Originally it is that reference picture 5, the step S10 includes in embodiment:
Step S11, obtains supply voltage, fixed value resistance and the transducer voltage detected in the converter;
Step S12, based on supply voltage, transducer voltage and fixed value resistance, calculates total resistance of each thermo-sensitive resistor.
That is, supply voltage, fixed value resistance and the transducer voltage detected in the converter, this implementation are first obtained In example, the voltage detected in the converter can use VADCRepresent, supply voltage can use VREFRepresent, fixed value resistance can use R1 tables Show, getting the VADC, R1 and VREFAfterwards, then based on supply voltage, transducer voltage and fixed value resistance, thermo-sensitive resistor is calculated Total resistance.
Wherein, calculation formula is:
RX represents total resistance of the thermo-sensitive resistor after parallel connection.
In the present embodiment, due to VADC、VREFAll being with R1 can known value, then pass through above-mentioned calculation formula, you can Calculate total resistance RX of the thermo-sensitive resistor after parallel connection.
Further, in the embodiment of the present invention, reference picture 6, the step S12 includes:
Step S121, micro-control unit is passed through by supply voltage, transducer voltage and the corresponding analog signal of fixed value resistance Converter be converted into data signal, and by the digital data transmission after conversion into micro-control unit;
Step S122, in micro-control unit, is calculated based on the supply voltage after conversion, transducer voltage and fixed value resistance Total resistance of each thermo-sensitive resistor.
In this embodiment, because supply voltage, transducer voltage and fixed value resistance are analog voltage signals, therefore, pass through Analog voltage signal is converted into data signal by the converter of micro-control unit, follow-up according to the power supply electricity for being converted into data signal Pressure, transducer voltage and fixed value resistance calculate total resistance of the thermo-sensitive resistor after parallel connection.
Step S20, total resistance based on acquisition, determines the temperature of battery.
In the present embodiment, after total resistance of the thermo-sensitive resistor after getting parallel connection, total resistance based on acquisition, really Determine the temperature of battery.
Specifically, reference picture 7, the step S20 includes:
Step S21, total resistance based on calculating searches default resistance temperature map table;
Step S22, the mapping relations based on total resistance and preset temperature determine the corresponding temperature of total resistance.
In the present embodiment, after the total resistance for the thermo-sensitive resistor being connected in parallel is calculated, the resistance temperature prestored is obtained Mapping table is spent, the resistance temperature map table is prior foundation, and record has the corresponding temperature value of total resistance of different thermo-sensitive resistors, After getting total resistance temperature map table, you can determine the corresponding temperature of the total resistance.
In the present embodiment, equivalent to after the total resistance for the thermo-sensitive resistor being connected in parallel is calculated, by tabling look-up really Determine the corresponding temperature of resistance, regard the temperature of determination as the current temperature of battery.
It should be noted that the characteristic of thermo-sensitive resistor is:Different resistance values are presented in different temperatures.Therefore, this implementation In example, when the battery to terminal charges, by obtaining the corresponding resistance of temperature and resistance being connected in parallel, to determine battery Current temperature, realizes the detecting to temperature.
In the present embodiment, when battery, which is fastened on, carries out battery charging on mainboard, fixed value resistance is connected with thermo-sensitive resistor, One is formed to VREFThe bleeder circuit of power supply.Therefore, in the case where supply voltage and transducer voltage are certain, due to temperature sensitive After resistor coupled in parallel, total resistance is less than the resistance of any one thermo-sensitive resistor before parallel connection, and thermo-sensitive resistor in parallel is more, always Resistance is smaller.Because half is decreased by almost in resistance value after two thermo-sensitive resistors are in parallel, it is therefore desirable to which fixed value resistance R1 is dropped into original The voltage that the voltage come after the half of resistance, such partial pressure is just reflected closer to actual temperature.Similarly, if increase temperature When quick resistance is four, thermo-sensitive resistor equivalent resistance is about a quarter of original resistance, and fixed value resistance R1 is needed from original The resistance of resistance a quarter size.
Therefore, in the present embodiment, in order to improve the accuracy of battery temperature detection.The resistance of the fixed value resistance is by temperature sensitive Depending on the number of resistance.Preferably, when thermo-sensitive resistor is one, fixed value resistance is R1, is two in the number of thermo-sensitive resistor When, fixed value resistance is 1/2R1, and when thermo-sensitive resistor is three, fixed value resistance is 1/3R1, when thermo-sensitive resistor is four, then Fixed value resistance is just 1/4R1, and other various situations by that analogy, are no longer repeated one by one herein.
That is, in the case where thermo-sensitive resistor is in parallel, the number based on thermo-sensitive resistor sets the resistance of fixed value resistance Value, if during thermo-sensitive resistor one, fixed value resistance is R1, then thermo-sensitive resistor for it is N number of when, the fixed value resistance is 1/N*R1, with Partial pressure is carried out to power supply by the fixed value resistance and thermo-sensitive resistor after setting, to obtain the total resistance of accurate thermo-sensitive resistor, improved The follow-up accuracy for calculating battery temperature.
That is, when thermo-sensitive resistor is 2, thermo-sensitive resistor is represented with R2 and R3, and specific calculation formula is as follows:
Similarly, when thermo-sensitive resistor is 3, thermo-sensitive resistor is represented with R2, R3, R4, and specific calculation formula is as follows:
Thermo-sensitive resistor determines calculation formula according to above-mentioned algorithm, no longer repeated one by one herein in other numbers.
The technical scheme that the present embodiment is proposed, the battery of terminal inner electrically connect with mainboard, the battery including battery core with Battery protecting plate, thermo-sensitive resistor is set on each side around battery core, in the charging process of battery, is first obtained around battery core The corresponding total resistance of each thermo-sensitive resistor, then total resistance based on acquisition again, determines the temperature of battery.The present invention passes through electricity Each thermo-sensitive resistor around core realizes the detection to battery temperature, single compared to temperature sensing circuit in circuit protection plate Battery temperature is detected, accuracy is higher, effectively reduction battery work risk.
Further, the second embodiment of battery temperature detection method of the present invention is proposed based on first embodiment.In this reality Apply in example, reference picture 8, after the step S20, the battery temperature detection method also includes:
Step S30, when battery temperature reaches preset temperature value, control battery stops charging.
In this embodiment, after being detected to battery temperature, if detecting battery temperature reaches preset temperature value, say The temperature of the bright terminal is higher, now, in order to improve the security of battery charging, and control battery stops charging, wherein, this is preset The concrete numerical value of temperature value is set according to actual conditions, is not limited herein.
In the present embodiment, by being detected to battery temperature, so that when battery temperature is more than certain value, control terminal is electric Pond stops terminal, to improve the security of battery charging.
Based on the embodiment described in Fig. 2 to Fig. 8, the battery temperature that the present invention describes the present invention with actual scene figure again is examined Survey method.
With continued reference to Fig. 4, when the battery of terminal is charged, supply voltage V is first obtainedREFWith fixed value resistance R1, then In micro-control unit MCU switching device interface detecting converter voltage VADC, then by VREF、R1VADCIn the converter from simulation letter Number be converted into data signal, to transmit to MCU, calculated in MCU it is in parallel after thermo-sensitive resistor total resistance RX, calculating RX Afterwards, by tabling look-up, to determine the corresponding temperature values of the RX, you can, subsequently, should using the temperature value as the current temperature of battery The temperature value that mainboard can be measured according to this controls the charging of battery.
It should be noted that in terminal using disconnected plate PCB design, then the mainboard side of putting, the battery side of putting down, battery temperature meeting The regional temperature for showing top by mainboard is higher, and temperature is then relatively low below battery.Such case, is adapted to use and puts two temperature The scheme of quick resistance a, thermo-sensitive resistor is placed on battery protecting plate edge, and another thermo-sensitive resistor is put into battery core bottom by lead Portion, is placed, as shown in Figure 8 with first thermo-sensitive resistor in symmetrical configuration.If mobile device uses L-type PCB design, battery Top and left side (or right side) be all PCB, battery core close to pcb board regional temperature all can more high point, now can be using putting four On the left of the scheme of individual thermo-sensitive resistor, an electric discharge circuit protecting board, an electric discharge pond lower right side, the left and right of two cores that discharge respectively Side, puts position as shown in Figure 9.
In addition, the embodiment of the present invention also proposes a kind of computer-readable recording medium, the computer-readable recording medium On be stored with the detection program of battery temperature, following operation is realized when the detection program of the battery temperature is performed by mainboard:
In the charging process of battery, the corresponding total resistance of each thermo-sensitive resistor is obtained;
Total resistance based on acquisition, determines the temperature of battery.
Further, the mainboard is provided with the fixed value resistance of micro-control unit and connection power supply, the micro-control unit Converter is provided with close to one end of fixed value resistance, it is also real when the detection program of the file storage battery temperature is performed by mainboard Now obtain the operation of the corresponding total resistance of each thermo-sensitive resistor:
Obtain supply voltage, fixed value resistance and the transducer voltage detected in the converter;
Based on supply voltage, transducer voltage and fixed value resistance, total resistance of each thermo-sensitive resistor is calculated.
Further, the thermo-sensitive resistor uses the thermo-sensitive resistor of negative temperature coefficient, and each thermo-sensitive resistor is connected in parallel.
Further, when the detection program of the file storage battery temperature is performed by mainboard, also realize based on power supply electricity Pressure, transducer voltage and fixed value resistance, calculate the operation of total resistance of each thermo-sensitive resistor:
Supply voltage, transducer voltage and the corresponding analog signal of fixed value resistance are turned by the converter of micro-control unit Change data signal into, and by the digital data transmission after conversion into micro-control unit;
In micro-control unit, each is calculated based on the supply voltage after conversion, transducer voltage and fixed value resistance temperature sensitive Total resistance of resistance.
Further, the transducer voltage is VADC, supply voltage be VREFIt is R1 with fixed value resistance, calculates each temperature sensitive The RX formula of total resistance of resistance are:
Further, the resistance of the fixed value resistance is depending on the number of thermo-sensitive resistor.
Further, when the detection program of the file storage battery temperature is performed by mainboard, also realize based on acquisition Total resistance, determines the operation of the temperature of battery:
Total resistance based on calculating, searches default resistance temperature map table;
Mapping relations based on total resistance and preset temperature, determine the corresponding temperature of total resistance.
Further, after total resistance based on acquisition, the step of determining the temperature of battery, the file storage electricity When the detection program of pond temperature is performed by mainboard, following operate also is realized:
When the temperature of battery reaches preset temperature value, control battery stops charging.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and And also including the other key elements being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in process, method, article or the device of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal equipment (can be mobile phone, computer, clothes It is engaged in device, air conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of detection method of battery temperature, it is characterised in that applied to terminal, battery and the mainboard electricity of the terminal inner Connection, the battery includes battery core and battery protecting plate, and thermo-sensitive resistor, the battery temperature are set on each side around battery core The detection method of degree includes:
In the charging process of battery, the corresponding total resistance of each thermo-sensitive resistor is obtained;
Total resistance based on acquisition, determines the temperature of battery.
2. the detection method of battery temperature as claimed in claim 1, it is characterised in that the mainboard is provided with micro-control unit With connection power supply fixed value resistance, the micro-control unit close to one end of fixed value resistance be provided with converter, the acquisition each The step of thermo-sensitive resistor corresponding total resistance, includes:
Obtain supply voltage, fixed value resistance and the transducer voltage detected in the converter;
Based on supply voltage, transducer voltage and fixed value resistance, total resistance of each thermo-sensitive resistor is calculated.
3. battery temperature detection method as claimed in claim 2, it is characterised in that the thermo-sensitive resistor uses negative temperature coefficient Thermo-sensitive resistor, each thermo-sensitive resistor is connected in parallel.
4. battery temperature detection method as claimed in claim 3, it is characterised in that described based on supply voltage, converter electricity The step of pressure and fixed value resistance, total resistance for calculating each thermo-sensitive resistor, includes:
Supply voltage, transducer voltage and the corresponding analog signal of fixed value resistance are converted into by the converter of micro-control unit Data signal, and by the digital data transmission after conversion into micro-control unit;
In micro-control unit, each thermo-sensitive resistor is calculated based on the supply voltage after conversion, transducer voltage and fixed value resistance Total resistance.
5. the detection method of battery temperature as claimed in claim 4, it is characterised in that the transducer voltage is VADC, power supply Voltage is VREFIt is R1 with fixed value resistance, the RX formula for calculating total resistance of each thermo-sensitive resistor are:
<mrow> <msub> <mi>V</mi> <mrow> <mi>A</mi> <mi>D</mi> <mi>C</mi> </mrow> </msub> <mo>=</mo> <msub> <mi>V</mi> <mrow> <mi>R</mi> <mi>E</mi> <mi>F</mi> </mrow> </msub> <mo>&amp;times;</mo> <mfrac> <msub> <mi>R</mi> <mi>X</mi> </msub> <mrow> <msub> <mi>R</mi> <mn>1</mn> </msub> <mo>+</mo> <msub> <mi>R</mi> <mi>X</mi> </msub> </mrow> </mfrac> <mo>.</mo> </mrow>
6. battery temperature detection method as claimed in claim 5, it is characterised in that the resistance of the fixed value resistance is by temperature sensitive electricity Depending on the number of resistance.
7. battery temperature detection method as claimed in claim 1, it is characterised in that total resistance based on acquisition, it is determined that The step of temperature of battery, includes:
Total resistance based on calculating, searches default resistance temperature map table;
Mapping relations based on total resistance and preset temperature, determine the corresponding temperature of total resistance.
8. the battery temperature detection method as described in claim any one of 1-7, it is characterised in that total resistance based on acquisition After value, the step of determining the temperature of battery, methods described also includes:
When the temperature of battery reaches preset temperature value, control battery stops charging.
9. a kind of terminal, it is characterised in that the terminal includes mainboard, battery, memory and is stored on the memory simultaneously The battery temperature detection program that can be run on the mainboard, the battery temperature detection program is realized when being performed by the mainboard The step of battery temperature detection method as any one of claim 1 to 8.
10. a kind of computer-readable recording medium, it is characterised in that be stored with battery temperature on the computer-readable recording medium Detection program is spent, the battery temperature detection program realizes the electricity as any one of claim 1 to 8 when being performed by mainboard The step of pond temperature checking method.
CN201710563818.8A 2017-07-11 2017-07-11 Detection method, terminal and the computer-readable recording medium of battery temperature Withdrawn CN107204494A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710563818.8A CN107204494A (en) 2017-07-11 2017-07-11 Detection method, terminal and the computer-readable recording medium of battery temperature

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710563818.8A CN107204494A (en) 2017-07-11 2017-07-11 Detection method, terminal and the computer-readable recording medium of battery temperature

Publications (1)

Publication Number Publication Date
CN107204494A true CN107204494A (en) 2017-09-26

Family

ID=59911053

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710563818.8A Withdrawn CN107204494A (en) 2017-07-11 2017-07-11 Detection method, terminal and the computer-readable recording medium of battery temperature

Country Status (1)

Country Link
CN (1) CN107204494A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109786880A (en) * 2019-01-23 2019-05-21 成都市银隆新能源产业技术研究有限公司 A method of test internal temperature of battery
CN111674224A (en) * 2020-01-20 2020-09-18 广州华凌制冷设备有限公司 Control method and device of air conditioner, air conditioner and storage medium
CN113295291A (en) * 2020-02-21 2021-08-24 Oppo广东移动通信有限公司 Temperature detection method and device, electronic equipment and computer readable storage medium
CN113706128A (en) * 2021-08-05 2021-11-26 百富计算机技术(深圳)有限公司 Financial transaction control circuit and method and financial terminal
CN115020845A (en) * 2021-11-09 2022-09-06 荣耀终端有限公司 Cell temperature detection method, device, storage medium, and program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103515669A (en) * 2012-06-26 2014-01-15 希姆通信息技术(上海)有限公司 Electronic equipment battery heating apparatus and heating method
CN103594753A (en) * 2013-10-19 2014-02-19 深圳市朗科智能电气股份有限公司 Multipoint temperature control protective method and device of lithium-ion power battery
CN103594743A (en) * 2012-08-16 2014-02-19 凹凸电子(武汉)有限公司 Device, method, and electronic equipment used for managing battery abnormity
CN206076978U (en) * 2016-08-08 2017-04-05 天津力神电池股份有限公司 A kind of two grades of anti-overcharge protection boards of lithium battery

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103515669A (en) * 2012-06-26 2014-01-15 希姆通信息技术(上海)有限公司 Electronic equipment battery heating apparatus and heating method
CN103594743A (en) * 2012-08-16 2014-02-19 凹凸电子(武汉)有限公司 Device, method, and electronic equipment used for managing battery abnormity
CN103594753A (en) * 2013-10-19 2014-02-19 深圳市朗科智能电气股份有限公司 Multipoint temperature control protective method and device of lithium-ion power battery
CN206076978U (en) * 2016-08-08 2017-04-05 天津力神电池股份有限公司 A kind of two grades of anti-overcharge protection boards of lithium battery

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109786880A (en) * 2019-01-23 2019-05-21 成都市银隆新能源产业技术研究有限公司 A method of test internal temperature of battery
CN109786880B (en) * 2019-01-23 2023-11-10 成都市银隆新能源产业技术研究有限公司 Method for testing internal temperature of battery
CN111674224A (en) * 2020-01-20 2020-09-18 广州华凌制冷设备有限公司 Control method and device of air conditioner, air conditioner and storage medium
CN111674224B (en) * 2020-01-20 2023-01-13 广州华凌制冷设备有限公司 Control method and device of air conditioner, air conditioner and storage medium
CN113295291A (en) * 2020-02-21 2021-08-24 Oppo广东移动通信有限公司 Temperature detection method and device, electronic equipment and computer readable storage medium
CN113706128A (en) * 2021-08-05 2021-11-26 百富计算机技术(深圳)有限公司 Financial transaction control circuit and method and financial terminal
CN115020845A (en) * 2021-11-09 2022-09-06 荣耀终端有限公司 Cell temperature detection method, device, storage medium, and program product
CN115020845B (en) * 2021-11-09 2023-01-13 荣耀终端有限公司 Cell temperature detection method, device, storage medium, and program product

Similar Documents

Publication Publication Date Title
CN107204494A (en) Detection method, terminal and the computer-readable recording medium of battery temperature
CN108475935B (en) Battery charging management method and terminal
CN111183561B (en) Charging control method and device, electronic equipment and computer readable storage medium
EP2667166B1 (en) Battery cell temperature detection
CN108107364B (en) Method and device for detecting battery
CN109991554B (en) Battery electric quantity detection method and device and terminal equipment
CN110506215A (en) A kind of method and device of determining battery internal short-circuit
CN204558611U (en) A kind of cell apparatus for internal temperature of battery test
CN103018680A (en) Metering method and metering device of battery level and battery supply set
JP2020521947A (en) Battery equivalent circuit model parameter estimation method, apparatus and recording medium
CN107450029B (en) Battery state checking method and device, computer equipment and computer readable storage medium
CN108474823B (en) Method and device for estimating temperature
WO2020199928A1 (en) Method for detecting short circuit in battery pack and related apparatus and electric vehicle
CN108254697A (en) Battery type detection method, detection terminal and storage medium
CN102984368A (en) Mobile terminal for identifying original batteries automatically and identification method of mobile terminal
CN203490636U (en) Intelligent battery control circuit for notebook computer
CN106840442A (en) A kind of battery temperature measuring system and method
JP5879016B2 (en) High voltage battery charging simulation system and charging simulation method using the same
CN105098871A (en) Portable device and method for controlling charging current thereof
CN103257699A (en) Notebook computer battery intelligent control circuit
WO2020125407A1 (en) Method and device for detecting internal resistance of battery and method and device for detecting ageing of battery
CN202906503U (en) Control device for mobile power supply and mobile charging power supply
CN106291179A (en) Terminal discharge and recharge automatic test circuit and method of testing thereof
CN106058971A (en) Charging protection method and mobile terminal
US11360148B2 (en) Method for updating capacity of battery, device for updating capacity of battery, electronic device, and storage unit

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20170926