CN101949966A - Mobile terminal capable of accurately detecting charging current - Google Patents
Mobile terminal capable of accurately detecting charging current Download PDFInfo
- Publication number
- CN101949966A CN101949966A CN2010102561500A CN201010256150A CN101949966A CN 101949966 A CN101949966 A CN 101949966A CN 2010102561500 A CN2010102561500 A CN 2010102561500A CN 201010256150 A CN201010256150 A CN 201010256150A CN 101949966 A CN101949966 A CN 101949966A
- Authority
- CN
- China
- Prior art keywords
- resistance
- detection module
- charging
- voltage
- operational amplifier
- 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.)
- Granted
Links
Images
Landscapes
- Secondary Cells (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The invention discloses a mobile terminal capable of accurately detecting charging current. The mobile terminal comprises a charging port, a charging circuit, a PMIC module, an operational amplifier, a first voltage detection module, a current detection module and a second voltage detection module, wherein the first voltage detection module is used for detecting charging voltage; the current detection module is used for detecting charging current; and the second voltage detection module is used for detecting output voltage of the operational amplifier. In the mobile terminal capable of accurately detecting the charging current provided by the invention, because one operational amplifier is connected in the charging circuit and adopted to differentially amplify voltage at two end points in the charging circuit at a moment, and the voltage is output through a single end of the operational amplifier, so that time sharing detection does not exist in the voltage detection, and the detected value each time represents the charging current value at a moment; and thus the obtained charging current is more accurate and the detection speed is improved.
Description
Technical field
The present invention relates to charging current detection technique field, particularly a kind of portable terminal that can accurately detect charging current.
Background technology
At present, general by in the charge circuit of mobile phone, increasing by one 0.2 Ω (ohm) or littler resistance when the detection of handset charging current, realize the control and the detection of charging current.
Because resistance has two pins, so when detecting charging current, need detect the voltage on these two pins respectively, the voltage with these two pins subtracts each other afterwards, obtain this ohmically voltage, obtain flowing through the size of the charging current of this resistance then by Ohm law.
When detecting the voltage at resistance two ends with said method, because being timesharing, the voltage at resistance two ends detects, and respectively in the moment of detecting voltage for this twice, charging current also can be different, and the current value that causes calculating according to Ohm law at last can not be represented accurate charging current of a certain moment of mobile phone.
Thereby the current detection technology of existing portable terminal is still waiting to improve and improve.
Summary of the invention
In view of above-mentioned the deficiencies in the prior art part, the object of the present invention is to provide a kind of portable terminal that can accurately detect charging current, can accurately detect the charging current in a certain moment of portable terminal.
In order to achieve the above object, the present invention has taked following technical scheme:
A kind of portable terminal that can accurately detect charging current, it comprises charging port, charging circuit and PMIC module, wherein, also comprise: operational amplifier, be used to detect first voltage detection module of charging voltage, be used to second voltage detection module that detects the current detection module of charging current and be used to detect the output voltage of described operational amplifier;
First output terminal of described PMIC module is connected with the first input end of described charging circuit, second output terminal is connected with second input end of described charging circuit by described current detection module, the 3rd output terminal is connected with the 3rd input end of described charging circuit by first voltage detection module, and the 4th output terminal is connected with the output terminal of described operational amplifier by second voltage detection module;
The four-input terminal of described charging circuit connects described charging port, first output terminal of charging circuit is by the reverse input end of the first resistance concatenation operation amplifier, second output terminal is by the positive input of the second resistance concatenation operation amplifier, the 3rd output head grounding of charging circuit;
The reverse input end of described operational amplifier is by the output terminal of the 3rd resistance concatenation operation amplifier, and the positive input of operational amplifier connects the 3rd output terminal of charging circuit by the 4th resistance.
The described portable terminal that can accurately detect charging current, wherein, described charging circuit comprises metal-oxide-semiconductor, diode, the 5th resistance and battery; Wherein
The source electrode of described metal-oxide-semiconductor connects charging port, and grid connects first output terminal of PMIC module, and drain electrode connects the 5th resistance by described diode; Described the 5th resistance connects the positive pole of battery, the minus earth of described battery;
Described current detection module is connected the negative electrode of described diode with first resistance, first voltage detection module is connected the positive pole of battery with second resistance; The positive input of described operational amplifier is by the 4th resistance eutral grounding.
The described portable terminal that can accurately detect charging current, wherein, described first voltage detection module and second voltage detection module are the ADC voltage detection module; Described current detection module is the ADC current detection module.
The described portable terminal that can accurately detect charging current, wherein, described first resistance equates that with the resistance of second resistance the 3rd resistance equates with the resistance of the 4th resistance.
The described portable terminal that can accurately detect charging current, wherein, described metal-oxide-semiconductor is the P channel MOS tube.
The described portable terminal that can accurately detect charging current, wherein, described the 5th resistance detects resistance for charging.
A kind of portable terminal that can accurately detect charging current provided by the invention, owing to adopted and in charging circuit, inserted an operational amplifier, utilize operational amplifier that the voltage of a certain moment two end points in the charging circuit is carried out the difference amplification, and by the single-ended output of operational amplifier, there is not the detection of timesharing when making voltage detecting, the value of Jian Ceing all is the charging current value of representing sometime each time, thereby the charging current that obtains is very accurate, and has improved detection speed.
Description of drawings
Fig. 1 is the structured flowchart of portable terminal of the present invention;
Fig. 2 is the circuit structure diagram of portable terminal of the present invention.
Embodiment
The invention provides a kind of portable terminal that can accurately detect charging current, by inserting an operational amplifier on two pins that detect resistance in charging, the voltage at resistance two ends is carried out the difference amplification, by the single-ended output of operational amplifier, make charging current not exist timesharing to detect, thereby make the charging current of final detection accurate, and detection speed is fast.
For making purpose of the present invention, technical scheme and effect clearer, clear and definite, below with reference to accompanying drawing and give an actual example that the present invention is described in more detail.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
See also Fig. 1, the portable terminal that can accurately detect charging current of the present invention, comprise charging port 110, PMIC (project management integrate circuit, power management chip) module 120, charging circuit 130, current detection module 140, first voltage detection module 150, second voltage detection module 160 and operational amplifier U1.
Wherein, portable terminal inserts charger by charging port 110 and charges, and PMIC module 120 is used to be provided with the charging current of portable terminal, and the scope that PMIC module 120 is provided with charging current is between the 0mA-1.5A.
Operational amplifier U1 be used for its positive input and anyway the voltage of input end carry out difference and amplify, and output voltage is sent to second voltage detection module 160.
First output terminal of described PMIC module 120 is connected with the first input end of charging circuit 130, second output terminal of PMIC module 120 is connected with second input end of charging circuit 130 by current detection module 140, the 3rd output terminal of PMIC module 120 is connected with the 3rd input end of charging circuit 130 by first voltage detection module 150, and the 4th output terminal of PMIC module 120 is by the output terminal of second voltage detection module, 160 concatenation operation amplifier U1.
The four-input terminal of described charging circuit 130 is connected with charging port 110, first output terminal of charging circuit is by the reverse input end of first resistance R, 1 concatenation operation amplifier U1, second output terminal of charging circuit 130 is by the positive input of second resistance R, 2 concatenation operation amplifier U1, the 3rd output head grounding of charging circuit 130.
And, the reverse input end of operational amplifier U1 is by the output terminal of the 3rd resistance R 3 concatenation operation amplifiers, constitute the close loop negative feedback loop of operational amplifier U1, the positive input of operational amplifier U1 connects the 3rd output terminal of charging circuit 130 by the 4th resistance R 4.
In the present embodiment, described first voltage detection module 150 and second voltage detection module 160 are ADC (Analog Digital Converter, analog to digital conversion) voltage detection module, and current detection module 140 is the ADC current detection module.
See also Fig. 2, described charging circuit 130 comprises metal-oxide-semiconductor (metal oxid semiconductor, field effect transistor) M1, diode D1, first resistance R 1 and battery Bat.Described metal-oxide-semiconductor M1 is P raceway groove (model of a metal-oxide-semiconductor) metal-oxide-semiconductor, the main on-off action that rises in charging circuit 130.
In the present embodiment, the source electrode of described metal-oxide-semiconductor M1 connects charging port 110, and metal-oxide-semiconductor M1 grid connects first output terminal of PMIC module 120, and drain electrode connects the 5th resistance R 5 by diode D1.Described the 5th resistance R 5 connects the positive pole of battery Bat, the minus earth of battery Bat.
Described current detection module 140 all is connected with the negative electrode of diode D1 with first resistance R 1, and first voltage detection module 150 all is connected with the positive pole of battery Bat with second resistance R 2, and the positive input of operational amplifier is by the 4th resistance R 4 ground connection.Herein, since the 4th resistance R 4 and battery Bat its with identical ground, so can think that also the 4th resistance R 4 is connected with the negative pole of battery Bat.
Wherein, described the 5th resistance R 5 is that a charging detects resistance, and its resistance is 0.2 Ω (ohm) or littler.
In order accurately to detect the voltage at the 5th resistance two ends, in the present embodiment, described first resistance R 1 equates with the resistance of second resistance R 2, the 3rd resistance R 3 equates with the resistance of the 4th resistance R 4, and the operational amplifier positive input and anyway the voltage of input end be that voltage on 5 two pins of the 5th resistance R deducts the pressure drop on first resistance R 1, second resistance R 2 respectively, make the voltage difference input on the 5th resistance R 5, and output to second voltage detection module by the operational amplifier amplification.
Below principle of work of the present invention is elaborated:
According to Fig. 2 as can be known, the method for traditional detection charging current is, detects the voltage at the 5th resistance R 5 two ends respectively, then divided by the resistance of the 5th resistance R 5, obtains flowing through the electric current of R5, and this electric current is charging current.Its formula is
Because first voltage detection module 150 and 140 pairs of voltage samples of current detection module are time-sharing operations, and charging current is changing, thereby V
First voltage detection moduleAnd V
Current detection moduleVoltage sample constantly, the electric current that flows through the 5th resistance R 5 can be different, cause the charging current value out of true that finally calculates.
And the present invention adopts voltage with the 5th resistance R 5 two ends as a differential voltage, be input to operational amplifier U1, make this differential voltage become single-ended output by operational amplifier U1 by difference, amplitude of output voltage is by the voltage at the 5th resistance R 5 two ends and the enlargement factor decision of amplifier.
Because operational amplifier U1 is set to difference and imports single-ended output mode, and R1=R2, R3=R4, according to calculating, the enlargement factor that can obtain operational amplifier is:
Thereby the final because voltage of the operational amplifier output that second voltage detection module 160 is obtained is:
The magnitude of voltage that 2. can be obtained according to second voltage detection module 160 easily by above-mentioned formula calculates charging current value, and does not have the detection of timesharing when detecting voltage, and the value of Jian Ceing all is the charging current value of representing sometime each time.
In sum, a kind of portable terminal that can accurately detect charging current provided by the invention, owing to adopt the operational amplifier of two ends access that detects resistance in charging, utilizing operational amplifier to charge to detect the voltage in the resistance a certain moment of two ends to carry out difference amplifies, and by single-ended second voltage detection module of exporting to of operational amplifier, there is not the detection of timesharing when making voltage detecting, making the value that detects each time all is the charging current value of representing sometime, thereby make the detection of charging current very accurate, and improved detection speed.
Be understandable that, for those of ordinary skills, can be equal to replacement or change according to technical scheme of the present invention and inventive concept thereof, and all these changes or replacement all should belong to the protection domain of the appended claim of the present invention.
Claims (6)
1. portable terminal that can accurately detect charging current, it comprises charging port, charging circuit and PMIC module, it is characterized in that, also comprise: operational amplifier, be used to detect first voltage detection module of charging voltage, be used to second voltage detection module that detects the current detection module of charging current and be used to detect the output voltage of described operational amplifier;
First output terminal of described PMIC module is connected with the first input end of described charging circuit, second output terminal is connected with second input end of described charging circuit by described current detection module, the 3rd output terminal is connected with the 3rd input end of described charging circuit by first voltage detection module, and the 4th output terminal is connected with the output terminal of described operational amplifier by second voltage detection module;
The four-input terminal of described charging circuit connects described charging port, first output terminal of charging circuit is by the reverse input end of the first resistance concatenation operation amplifier, second output terminal is by the positive input of the second resistance concatenation operation amplifier, the 3rd output head grounding of charging circuit;
The reverse input end of described operational amplifier is by the output terminal of the 3rd resistance concatenation operation amplifier, and the positive input of operational amplifier connects the 3rd output terminal of charging circuit by the 4th resistance.
2. the portable terminal that can accurately detect charging current according to claim 1 is characterized in that described charging circuit comprises metal-oxide-semiconductor, diode, the 5th resistance and battery; Wherein
The source electrode of described metal-oxide-semiconductor connects charging port, and grid connects first output terminal of PMIC module, and drain electrode connects the 5th resistance by described diode; Described the 5th resistance connects the positive pole of battery, the minus earth of described battery;
Described current detection module is connected the negative electrode of described diode with first resistance, first voltage detection module is connected the positive pole of battery with second resistance; The positive input of described operational amplifier is by the 4th resistance eutral grounding.
3. the portable terminal that can accurately detect charging current according to claim 1 is characterized in that described first voltage detection module and second voltage detection module are the ADC voltage detection module; Described current detection module is the ADC current detection module.
4. the portable terminal that can accurately detect charging current according to claim 2 is characterized in that, described first resistance equates that with the resistance of second resistance the 3rd resistance equates with the resistance of the 4th resistance.
5. the portable terminal that can accurately detect charging current according to claim 2 is characterized in that described metal-oxide-semiconductor is the P channel MOS tube.
6. the portable terminal that can accurately detect charging current according to claim 2 is characterized in that, described the 5th resistance detects resistance for charging.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010256150.0A CN101949966B (en) | 2010-08-17 | 2010-08-17 | Mobile terminal capable of accurately detecting charging current |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010256150.0A CN101949966B (en) | 2010-08-17 | 2010-08-17 | Mobile terminal capable of accurately detecting charging current |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101949966A true CN101949966A (en) | 2011-01-19 |
CN101949966B CN101949966B (en) | 2013-02-20 |
Family
ID=43453535
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010256150.0A Expired - Fee Related CN101949966B (en) | 2010-08-17 | 2010-08-17 | Mobile terminal capable of accurately detecting charging current |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101949966B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102324762A (en) * | 2011-08-30 | 2012-01-18 | 广东欧珀移动通信有限公司 | Cell phone charging control circuit and charging control method with charging control circuit |
CN102496988A (en) * | 2011-11-16 | 2012-06-13 | 威盛电子股份有限公司 | Battery control circuit, system and method |
CN103454509A (en) * | 2012-05-30 | 2013-12-18 | 联芯科技有限公司 | Mobile phone charging detecting system and mobile phone charging detecting method |
CN106597143A (en) * | 2016-11-10 | 2017-04-26 | 青岛海信移动通信技术股份有限公司 | Test device and test method |
CN108072790A (en) * | 2017-12-25 | 2018-05-25 | 北京华峰测控技术股份有限公司 | A kind of current measurement circuit and current measuring method |
CN110879316A (en) * | 2018-09-05 | 2020-03-13 | Oppo(重庆)智能科技有限公司 | Terminal charging current detection method, system and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6407532B1 (en) * | 2000-12-29 | 2002-06-18 | Nokia Mobile Phones, Ltd. | Method and apparatus for measuring battery charge and discharge current |
CN1578050A (en) * | 2003-07-07 | 2005-02-09 | 阿尔卑斯电气株式会社 | Charging apparatus and charging current detecting circuit thereof |
CN101102119A (en) * | 2007-07-17 | 2008-01-09 | 青岛海信移动通信技术股份有限公司 | A charging detection circuit of appliance device and charging detection method |
CN101546919A (en) * | 2009-01-21 | 2009-09-30 | 炬力集成电路设计有限公司 | Method and device for charging battery |
-
2010
- 2010-08-17 CN CN201010256150.0A patent/CN101949966B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6407532B1 (en) * | 2000-12-29 | 2002-06-18 | Nokia Mobile Phones, Ltd. | Method and apparatus for measuring battery charge and discharge current |
CN1578050A (en) * | 2003-07-07 | 2005-02-09 | 阿尔卑斯电气株式会社 | Charging apparatus and charging current detecting circuit thereof |
CN101102119A (en) * | 2007-07-17 | 2008-01-09 | 青岛海信移动通信技术股份有限公司 | A charging detection circuit of appliance device and charging detection method |
CN101546919A (en) * | 2009-01-21 | 2009-09-30 | 炬力集成电路设计有限公司 | Method and device for charging battery |
Non-Patent Citations (1)
Title |
---|
凌振宝等: "具有检测电池容量功能的充电器设计", 《吉林大学学报(信息科学版)》, vol. 28, no. 1, 31 January 2010 (2010-01-31) * |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102324762A (en) * | 2011-08-30 | 2012-01-18 | 广东欧珀移动通信有限公司 | Cell phone charging control circuit and charging control method with charging control circuit |
CN102496988A (en) * | 2011-11-16 | 2012-06-13 | 威盛电子股份有限公司 | Battery control circuit, system and method |
US8952662B2 (en) | 2011-11-16 | 2015-02-10 | Via Technologies, Inc. | Circuit and system and method for controlling battery |
CN102496988B (en) * | 2011-11-16 | 2015-09-09 | 威盛电子股份有限公司 | Battery control circuit, system and method |
CN103454509A (en) * | 2012-05-30 | 2013-12-18 | 联芯科技有限公司 | Mobile phone charging detecting system and mobile phone charging detecting method |
CN103454509B (en) * | 2012-05-30 | 2016-02-03 | 联芯科技有限公司 | Mobile phone charging detection system and method |
CN106597143A (en) * | 2016-11-10 | 2017-04-26 | 青岛海信移动通信技术股份有限公司 | Test device and test method |
CN106597143B (en) * | 2016-11-10 | 2022-01-14 | 青岛海信移动通信技术股份有限公司 | Test equipment and test method |
CN108072790A (en) * | 2017-12-25 | 2018-05-25 | 北京华峰测控技术股份有限公司 | A kind of current measurement circuit and current measuring method |
CN108072790B (en) * | 2017-12-25 | 2020-04-07 | 北京华峰测控技术股份有限公司 | Current measuring circuit and current measuring method |
CN110879316A (en) * | 2018-09-05 | 2020-03-13 | Oppo(重庆)智能科技有限公司 | Terminal charging current detection method, system and storage medium |
CN110879316B (en) * | 2018-09-05 | 2022-03-22 | Oppo(重庆)智能科技有限公司 | Terminal charging current detection method, system and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN101949966B (en) | 2013-02-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101949966B (en) | Mobile terminal capable of accurately detecting charging current | |
CN106501722A (en) | A kind of battery voltage detection circuit and detecting voltage method | |
CN203339951U (en) | Non-isolated DC/DC low stand-by power consumption type circuit | |
CN207939738U (en) | A kind of microphone state detection circuit and vehicle multi-media player | |
CN204989290U (en) | Wide dynamic range's high -pressure side current detection circuit | |
CN103457320B (en) | Lithium ion battery switch charging circuit | |
CN206339589U (en) | Current detection circuit | |
CN205385281U (en) | Current foldback circuit with locking function | |
CN104020339A (en) | Programmable current detection circuit | |
CN102004227B (en) | High power battery detection circuit of electric vehicle | |
CN207007937U (en) | A kind of detection circuit of multi-section serial battery voltage | |
CN202614719U (en) | Amplifying circuit for carbon monoxide sensor | |
CN101769954B (en) | Voltage detecting circuit for multiple serial batteries | |
CN101931370A (en) | Low-voltage-drop amplifying circuit with quiescent current suppression function | |
CN205427679U (en) | Open circuit voltage control circuit of sun battle array simulator | |
CN108345343A (en) | A kind of bidirectional current detection circuit | |
CN202712884U (en) | Battery connection detecting circuit and battery charger | |
CN214227880U (en) | Heavy current battery power supply equipment | |
CN205749650U (en) | Charging current detecting circuit | |
CN203775031U (en) | Power supply circuit and two-wire system electronic switching circuit using the power supply circuit | |
CN101562426A (en) | Power amplification circuit | |
CN202677228U (en) | Laser temperature control circuit | |
CN204517686U (en) | Voltage stabilizing full-wave rectifying circuit | |
CN203178344U (en) | Direct current voltage signal acquisition circuit | |
CN208078690U (en) | A kind of solar charger circuit adaptively exported |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130220 |
|
CF01 | Termination of patent right due to non-payment of annual fee |