CN205049711U - Battery detection device on throne - Google Patents

Battery detection device on throne Download PDF

Info

Publication number
CN205049711U
CN205049711U CN201520821232.3U CN201520821232U CN205049711U CN 205049711 U CN205049711 U CN 205049711U CN 201520821232 U CN201520821232 U CN 201520821232U CN 205049711 U CN205049711 U CN 205049711U
Authority
CN
China
Prior art keywords
battery
resistance
pin
voltage comparator
voltage
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.)
Active
Application number
CN201520821232.3U
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.)
Vanstone Electronic Beijing Co Ltd
Original Assignee
Vanstone Electronic Beijing 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 Vanstone Electronic Beijing Co Ltd filed Critical Vanstone Electronic Beijing Co Ltd
Priority to CN201520821232.3U priority Critical patent/CN205049711U/en
Application granted granted Critical
Publication of CN205049711U publication Critical patent/CN205049711U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The utility model discloses a battery detection device on throne relates to battery charging circuit technical field. This detection device includes linear charging circuit and battery detection circuitry on the throne, battery detection circuitry on the throne includes battery socket circuits and voltage comparater circuit, the voltage comparater circuit includes voltage comparater, battery socket circuits includes tripod battery socket, connects through the input with battery NTC foot and voltage comparater for height / low level is exported to CPU to voltage comparater's output, has realized the measuring on the throne to the battery, has solved prior art, and linear -charging IC does not possess the problem of battery measuring function on the throne, thereby whether guarantee in time to detect the battery on the throne, in order to avoid influence the normal use of user to the battery.

Description

A kind of battery is at level detecting apparatus
Technical field
The utility model relates to battery charger technical field, particularly relates to a kind of battery at level detecting apparatus.
Background technology
At present, the use of electron device is more and more extensive, and battery is the critical component in various electron device, most of battery of present use is all chargeable, and all do not possess battery measuring ability in place for most of linear-charging IC of battery charging, therefore, cannot learn that whether battery is in place, thus affect the normal use of user to battery.
Utility model content
The purpose of this utility model is to provide a kind of battery at level detecting apparatus, thus solves the foregoing problems existed in prior art.
To achieve these goals, the technical solution adopted in the utility model is as follows:
A kind of battery is at level detecting apparatus, comprise linear charging block and battery testing circuit in place, described battery testing circuit in place comprises battery socket circuit and voltage comparator circuit, described voltage comparator circuit comprises voltage comparator, described battery socket circuit comprises tripod battery socket, 1 pin ground connection of described battery socket, 2 pin one end of contact resistance R8 and one end of battery NTC pin respectively of described battery socket, the other end of described resistance R8 connects external power supply, the other end of described battery NTC pin connects the 1IN1 pin of described voltage comparator, described battery NTC pin connects battery NTC resistance to ground, 3 pin of described battery socket connect the voltage output end of described linear charging block, one end of 1IN+ pin difference contact resistance R9 and R11 of described voltage comparator, the other end of described resistance R9 connects external power supply, the other end ground connection of described resistance R11, the 1OUT pin of described voltage comparator is connected with the GPIO mouth of CPU.
Preferably, the output voltage of described linear charging block is 4.2V, and the voltage of described external power supply is 3.3V, and the resistance of described resistance R8, R9 and R11 is respectively: 100K Ω, 49.9K Ω and 49.9K Ω, and the resistance of described battery NTC resistance is: 10K Ω.
Further, also comprise battery power detection circuit, described battery power detection circuit comprises resistance R12 and R13, one end of described resistance R12 connects the output terminal of described linear charging block, the other end of described resistance R12 connects described resistance R13 to ground, and described resistance R13 dividing potential drop is to the ADC of CPU.
Preferably, the output voltage of described linear charging block is 4.2V, and the resistance of described resistance R12 and R13 is respectively: 100K Ω and 33K Ω.
The beneficial effects of the utility model are: the battery that the utility model embodiment provides is at level detecting apparatus, by battery NTC pin is connected with the input end of voltage comparator, the output terminal of voltage comparator is made to export high/low level to CPU, achieve the detection in place to battery, solve in prior art, linear-charging IC does not possess the problem of battery measuring ability in place, thus guarantees to detect that whether battery is in place in time, in order to avoid affect the normal use of user to battery.
Accompanying drawing explanation
Fig. 1 is the linear charging block figure that the utility model embodiment provides;
Fig. 2 is the battery socket circuit diagram that the utility model embodiment provides;
Fig. 3 is the voltage comparator circuit figure that the utility model embodiment provides;
Fig. 4 is the battery power detection circuit figure that the utility model embodiment provides.
Embodiment
In order to make the purpose of this utility model, technical scheme and advantage clearly understand, below in conjunction with accompanying drawing, the utility model is further elaborated.Should be appreciated that embodiment described herein only in order to explain the utility model, and be not used in restriction the utility model.
As Figure 1-3, the utility model embodiment provides a kind of battery at level detecting apparatus, comprise linear charging block and battery testing circuit in place (see Fig. 1), described battery testing circuit in place comprises battery socket circuit (see Fig. 2) and voltage comparator circuit (see Fig. 3), described voltage comparator circuit comprises voltage comparator, described battery socket circuit comprises tripod battery socket, 1 pin ground connection of described battery socket, 2 pin one end of contact resistance R8 and one end of battery NTC pin respectively of described battery socket, the other end of described resistance R8 connects external power supply, the other end of described battery NTC pin connects the 1IN1 pin of described voltage comparator, described battery NTC pin connects battery NTC resistance to ground, 3 pin of described battery socket connect the voltage output end of described linear charging block, one end of 1IN+ pin difference contact resistance R9 and R11 of described voltage comparator, the other end of described resistance R9 connects external power supply, the other end ground connection of described resistance R11, the 1OUT pin of described voltage comparator is connected with the GPIO mouth of CPU.
The device of said structure, its principle of work is:
When inserting battery in battery socket J1, the fender NTC pin of battery can connect battery NTC resistance to ground, with R8 dividing potential drop to the 1IN1 pin of voltage comparator U2, meanwhile, in voltage comparator circuit, resistance R9 and R11 dividing potential drop are to the 1IN+ pin of voltage comparator U2, if the voltage of the voltage <1IN1 of 1IN+, then the 1OUT of voltage comparator U2 exports BAT_PRESENT is low level, otherwise, it is high level that 1OUT exports BAT_PRESENT, and high/low level sends to the GPIO mouth of CPU;
When not inserting battery in battery socket J1, voltage comparator 1IN1 pin directly connects R8 pull-up resistor to external power supply, and meanwhile, in voltage comparator circuit, resistance R9 and R11 dividing potential drop are to the 1IN+ pin of voltage comparator U2.If the voltage of the voltage <1IN1 of 1IN+, then the 1OUT of voltage comparator U2 exports BAT_PRESENT is low level, otherwise it is high level that 1OUT exports BAT_PRESENT, and high/low level sends to the GPIO mouth of CPU.
In actual mechanical process, by arranging the resistance of each resistance, when can make insert battery and do not insert battery, the level of the 1OUT output BAT_PRESENT of voltage comparator U2 is contrary, namely when the battery is inserted, it is low level that the 1OUT of voltage comparator U2 exports BAT_PRESENT, then when not inserting battery, it is high level that the 1OUT of voltage comparator U2 exports BAT_PRESENT, or, namely when the battery is inserted, it is high level that the 1OUT of voltage comparator U2 exports BAT_PRESENT, then when not inserting battery, the 1OUT of voltage comparator U2 exports BAT_PRESENT low level, then CPU can judge battery situation in place according to the height of output level.
In a preferred embodiment of the present utility model, the output voltage of described linear charging block is 4.2V, the voltage of described external power supply is 3.3V, and the resistance of described resistance R8, R9 and R11 is respectively: 100K Ω, 49.9K Ω and 49.9K Ω, and the resistance of described battery NTC resistance is: 10K Ω.
Then when inserting battery in J1, battery NTC pin connects the NTC resistance of 10K Ω to ground, 0.3V is approximately to the 1IN1 pin of U2 with R8 dividing potential drop, resistance R9 and R11 dividing potential drop 1.65V is to the 1IN+ pin of U2, then, the voltage of the voltage >1IN1 of 1IN+, the 1OUT of U2 exports BAT_PRESENT high level, and this level sends to the GPIO mouth of CPU.
When not inserting battery in J1,1IN1 pin directly connects R8 pull-up resistor to 3.3V external power supply, resistance R9 and R11 dividing potential drop 1.65V is to the 1IN+ of U2, then, the voltage of the voltage <1IN1 of 1IN+, it is low level that the 1OUT of U2 exports BAT_PRESENT, and this level sends to the GPIO mouth of CPU.
Then CPU can judge battery situation in place according to the height of output level.Namely when the level that CPU receives is high level, battery is in place, otherwise when the level that CPU receives is low level, battery is not in place, thus realizes the detection in place to battery.
The battery that the present embodiment provides is at level detecting apparatus, battery power detection circuit (see Fig. 4) can also be comprised, described battery power detection circuit comprises resistance R12 and R13, one end of described resistance R12 connects the output terminal of described linear charging block, the other end of described resistance R12 connects described resistance R13 to ground, and described resistance R13 dividing potential drop is to the ADC of CPU.
Adopt above-mentioned battery power detection circuit, CPU according to ADC value, can detect battery electric quantity.
Wherein, in above-mentioned battery power detection circuit, filter capacitor C6 can also be connected at resistance R13 place.
In a preferred embodiment of the present utility model, the output voltage of described linear charging block is 4.2V, and the resistance of described resistance R12 and R13 is respectively: 100K Ω and 33K Ω.
By adopting technique scheme disclosed in the utility model, obtain effect useful as follows: the battery that the utility model embodiment provides is at level detecting apparatus, by battery NTC pin is connected with the input end of voltage comparator, the output terminal of voltage comparator is made to export high/low level to CPU, achieve the detection in place to battery, solve in prior art, linear-charging IC does not possess the problem of battery measuring ability in place, thus guarantee to detect that whether battery is in place in time, in order to avoid affect the normal use of user to battery.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
Those skilled in the art it should be understood that the sequential of the method step that above-described embodiment provides can carry out accommodation according to actual conditions, also can carry out according to actual conditions are concurrent.
The hardware that all or part of step in the method that above-described embodiment relates to can carry out instruction relevant by program has come, described program can be stored in the storage medium that computer equipment can read, for performing all or part of step described in the various embodiments described above method.Described computer equipment, such as: personal computer, server, the network equipment, intelligent mobile terminal, intelligent home device, wearable intelligent equipment, vehicle intelligent equipment etc.; Described storage medium, such as: the storage of RAM, ROM, magnetic disc, tape, CD, flash memory, USB flash disk, portable hard drive, storage card, memory stick, the webserver, network cloud storage etc.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, commodity or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, commodity or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, commodity or the equipment comprising described key element and also there is other identical element.
The above is only preferred implementation of the present utility model; it should be pointed out that for those skilled in the art, under the prerequisite not departing from the utility model principle; can also make some improvements and modifications, these improvements and modifications also should look protection domain of the present utility model.

Claims (4)

1. a battery is at level detecting apparatus, it is characterized in that, comprise linear charging block and battery testing circuit in place, described battery testing circuit in place comprises battery socket circuit and voltage comparator circuit, described voltage comparator circuit comprises voltage comparator, described battery socket circuit comprises tripod battery socket, 1 pin ground connection of described battery socket, 2 pin one end of contact resistance R8 and one end of battery NTC pin respectively of described battery socket, the other end of described resistance R8 connects external power supply, the other end of described battery NTC pin connects the 1IN1 pin of described voltage comparator, described battery NTC pin connects battery NTC resistance to ground, 3 pin of described battery socket connect the voltage output end of described linear charging block, one end of 1IN+ pin difference contact resistance R9 and R11 of described voltage comparator, the other end of described resistance R9 connects external power supply, the other end ground connection of described resistance R11, the 1OUT pin of described voltage comparator is connected with the GPIO mouth of CPU.
2. battery according to claim 1 is at level detecting apparatus, it is characterized in that, the output voltage of described linear charging block is 4.2V, the voltage of described external power supply is 3.3V, the resistance of described resistance R8, R9 and R11 is respectively: 100K Ω, 49.9K Ω and 49.9K Ω, and the resistance of described battery NTC resistance is: 10K Ω.
3. according to battery according to claim 1 at level detecting apparatus, it is characterized in that, also comprise battery power detection circuit, described battery power detection circuit comprises resistance R12 and R13, one end of described resistance R12 connects the output terminal of described linear charging block, the other end of described resistance R12 connects described resistance R13 to ground, and described resistance R13 dividing potential drop is to the ADC of CPU.
4. according to battery according to claim 3 at level detecting apparatus, it is characterized in that, the output voltage of described linear charging block is 4.2V, and the resistance of described resistance R12 and R13 is respectively: 100K Ω and 33K Ω.
CN201520821232.3U 2015-10-21 2015-10-21 Battery detection device on throne Active CN205049711U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201520821232.3U CN205049711U (en) 2015-10-21 2015-10-21 Battery detection device on throne

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201520821232.3U CN205049711U (en) 2015-10-21 2015-10-21 Battery detection device on throne

Publications (1)

Publication Number Publication Date
CN205049711U true CN205049711U (en) 2016-02-24

Family

ID=55343280

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201520821232.3U Active CN205049711U (en) 2015-10-21 2015-10-21 Battery detection device on throne

Country Status (1)

Country Link
CN (1) CN205049711U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107256190A (en) * 2017-06-27 2017-10-17 山东超越数控电子有限公司 Battery method in place is detected in a kind of EC programs
CN109507593A (en) * 2018-12-21 2019-03-22 惠州Tcl移动通信有限公司 Enabled method, relevant apparatus and the storage medium of battery of mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107256190A (en) * 2017-06-27 2017-10-17 山东超越数控电子有限公司 Battery method in place is detected in a kind of EC programs
CN109507593A (en) * 2018-12-21 2019-03-22 惠州Tcl移动通信有限公司 Enabled method, relevant apparatus and the storage medium of battery of mobile terminal

Similar Documents

Publication Publication Date Title
CN203387203U (en) Charging switching system possessing USB on-the-go (OTG) function
CN101989749B (en) Charging device and charging method
CN103464388A (en) Lithium ion battery screening method
CN104978300A (en) Mobile terminal as well as detecting method and device for connection of mobile terminal and external equipment
CN205049711U (en) Battery detection device on throne
CN103872736A (en) Protected charging circuit capable of displaying electric quantity
CN102914744A (en) Mobile terminal, battery power display system of mobile terminal, and method for acquiring battery power
CN101179199A (en) Terminal and charging method thereof
CN103257699A (en) Notebook computer battery intelligent control circuit
CN200976023Y (en) CMOS battery voltage detecting circuit
CN208781221U (en) Blade server control device
CN206649501U (en) A kind of computer software testing device
CN205945119U (en) Portable power source with load automatic identification function
CN214314671U (en) Charging equipment and charging system
CN204925291U (en) Circuit board falls electrical detection circuitry
CN205211892U (en) Battery heating device of controllable temperature
CN105119118B (en) A kind of USB charging wires
CN114465319A (en) Electronic device, method for determining path impedance, chip, and storage medium
CN105280970B (en) The charging method and mobile terminal of a kind of mobile terminal
CN105762891A (en) Charging circuit and method of intelligent mobile terminal
CN207764337U (en) A kind of USB device insertion detection circuit
CN208654778U (en) A kind of OTA upgrading circuit
CN206248804U (en) The charging quality test system and mancarried device of a kind of USB electric supply installations
CN106026254B (en) Electronic equipment and its charging method
CN206283271U (en) A kind of portable power source

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant