CN101949966B - Mobile terminal capable of accurately detecting charging current - Google Patents

Mobile terminal capable of accurately detecting charging current Download PDF

Info

Publication number
CN101949966B
CN101949966B CN201010256150.0A CN201010256150A CN101949966B CN 101949966 B CN101949966 B CN 101949966B CN 201010256150 A CN201010256150 A CN 201010256150A CN 101949966 B CN101949966 B CN 101949966B
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.)
Expired - Fee Related
Application number
CN201010256150.0A
Other languages
Chinese (zh)
Other versions
CN101949966A (en
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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201010256150.0A priority Critical patent/CN101949966B/en
Publication of CN101949966A publication Critical patent/CN101949966A/en
Application granted granted Critical
Publication of CN101949966B publication Critical patent/CN101949966B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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

A kind of portable terminal that can accurately detect charging current
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 0.2 Ω (ohm) or less resistance when the detection of handset charging current, realize control and the detection of charging current.
Because resistance has two pins, so when detecting charging current, need to detect respectively the voltage on these two pins, the voltage with these two pins subtracts each other afterwards, obtain this ohmically voltage, then obtain flowing through the size of the charging current of this resistance 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 represent 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, for detection of the first voltage detection module of charging voltage, for detection of the current detection module of charging current with for detection of the second voltage detection module of the output voltage of described operational amplifier;
The first output terminal of described PMIC module is connected with the first input end of described charging circuit, the second output terminal is connected with the 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 the first voltage detection module, and the 4th output terminal is connected with the output terminal of described operational amplifier by the second voltage detection module;
The four-input terminal of described charging circuit connects described charging port, the first output terminal of charging circuit is by the reverse input end of the first resistance concatenation operation amplifier, the 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 the 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 be connected resistance and connect the negative electrode of described diode, the first voltage detection module be connected resistance and connect the positive pole of battery; 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 the 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 the first resistance equates with the resistance of the 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 having adopted operational amplifier of access in charging circuit, utilize operational amplifier that the voltage of a certain moment two end points in the charging circuit is carried out differential amplification, and by the operational amplifier Single-end output, there is not the detection of timesharing when making voltage detecting, the value that detects each time all is the charging current value that represents sometime, 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 detect operational amplifier of two pin accesses of resistance in charging, the voltage at resistance two ends is carried out differential amplification, by the operational amplifier Single-end output, 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, the present invention is described in more detail referring to the accompanying drawing examples.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit 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, the 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 for arranging the charging current of portable terminal, and the scope that PMIC module 120 arranges charging current is between the 0mA-1.5A.
Charging circuit 130 is used for cooperating the PMIC module to realize the control of charging current and charging voltage, the first voltage detection module 150 is for detection of the charging voltage in the charging circuit 130, second voltage detection module 160 is for detection of the voltage of charger output, and current detection module 140 is used for cooperating the first voltage detection module 150 to detect the charging current of charging circuit 130.
Operational amplifier U1 be used for its positive input and anyway the voltage of input end carry out differential amplification, and output voltage is sent to second voltage detection module 160.
The first output terminal of described PMIC module 120 is connected with the first input end of charging circuit 130, the second output terminal of PMIC module 120 is connected with the 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 the 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, the first output terminal of charging circuit is by the reverse input end of the first resistance R 1 concatenation operation amplifier U1, the second output terminal of charging circuit 130 is by the positive input of the 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, consist of 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 the 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, the first resistance R 1 and battery Bat.Described metal-oxide-semiconductor M1 is P raceway groove (model of 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 the 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 be connected resistance R 1 and all be connected with the negative electrode of diode D1, the first voltage detection module 150 be connected resistance R 2 and all be connected with the positive pole of battery Bat, 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 less.
In order accurately to detect the voltage at the 5th resistance two ends, in the present embodiment, described the first resistance R 1 equates with the resistance of the 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 respectively the pressure drop on the first resistance R 1, the second resistance R 2, make the voltage difference input on the 5th resistance R 5, and output to the 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 respectively the voltage at the 5th resistance R 5 two ends, 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 the 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 The 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-end output by operational amplifier U1 by difference, the amplitude of output voltage is determined by the voltage at the 5th resistance R 5 two ends and the enlargement factor of amplifier.
Because operational amplifier U1 is set to difference input Single-end output pattern, and R1=R2, R3=R4, according to calculating, the enlargement factor that can obtain operational amplifier is:
Figure BSA00000233537900061
Thereby the voltage that the operational amplifier that finally obtains owing to second voltage detection module 160 is exported 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 that detects each time all is the charging current value that represents sometime.
In sum, a kind of portable terminal that can accurately detect charging current provided by the invention, owing to adopting the operational amplifier of two ends access that detects resistance in charging, utilize operational amplifier to charge to detect the voltage in the resistance a certain moment of two ends and carry out differential amplification, and pass through the operational amplifier Single-end output to the second voltage detection module, there is not the detection of timesharing when making voltage detecting, making the value that detects each time all is the charging current value that represents 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, for detection of the first voltage detection module of charging voltage, for detection of the current detection module of charging current with for detection of the second voltage detection module of the output voltage of described operational amplifier;
The first output terminal of described PMIC module is connected with the first input end of described charging circuit, the second output terminal of PMIC module is connected with the second input end of described charging circuit by described current detection module, the 3rd output terminal of PMIC module is connected with the 3rd input end of described charging circuit by the first voltage detection module, and the 4th output terminal of PMIC module is connected with the output terminal of described operational amplifier by the second voltage detection module;
The four-input terminal of described charging circuit connects described charging port, the first output terminal of charging circuit is by the reverse input end of the first resistance concatenation operation amplifier, the second output terminal of charging circuit 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 the 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 be connected resistance and connect the negative electrode of described diode, the first voltage detection module be connected resistance and connect the positive pole of battery; 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 the 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 the first resistance equates with the resistance of the second resistance, and 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.
CN201010256150.0A 2010-08-17 2010-08-17 Mobile terminal capable of accurately detecting charging current Expired - Fee Related CN101949966B (en)

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 CN101949966A (en) 2011-01-19
CN101949966B true 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)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102324762B (en) * 2011-08-30 2013-10-09 广东欧珀移动通信有限公司 Cell phone charging control method
TWI443929B (en) * 2011-11-16 2014-07-01 Via Tech Inc Circuit and system and method for controlling battery
CN103454509B (en) * 2012-05-30 2016-02-03 联芯科技有限公司 Mobile phone charging detection system and method
CN106597143B (en) * 2016-11-10 2022-01-14 青岛海信移动通信技术股份有限公司 Test equipment and test method
CN108072790B (en) * 2017-12-25 2020-04-07 北京华峰测控技术股份有限公司 Current measuring circuit and current measuring method
CN110879316B (en) * 2018-09-05 2022-03-22 Oppo(重庆)智能科技有限公司 Terminal charging current detection method, system and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
凌振宝等.具有检测电池容量功能的充电器设计.《吉林大学学报(信息科学版)》.2010,第28卷(第1期), *

Also Published As

Publication number Publication date
CN101949966A (en) 2011-01-19

Similar Documents

Publication Publication Date Title
CN101949966B (en) Mobile terminal capable of accurately detecting charging current
CN103457320B (en) Lithium ion battery switch charging circuit
CN207939738U (en) A kind of microphone state detection circuit and vehicle multi-media player
CN104020339A (en) Programmable current detection circuit
CN207007937U (en) A kind of detection circuit of multi-section serial battery voltage
CN206585328U (en) A kind of Novel cable voltage-drop compensation circuit
CN101931370A (en) Low-voltage-drop amplifying circuit with quiescent current suppression function
CN101769954B (en) Voltage detecting circuit for multiple serial batteries
CN105510670A (en) Detection circuit for detecting battery voltage in battery pack, and battery pack
CN204669589U (en) A kind of Multi-audio-frequency passage bridge control circuit and audio frequency apparatus
CN108345343A (en) A kind of bidirectional current detection circuit
CN202712884U (en) Battery connection detecting circuit and battery charger
CN202759260U (en) Charging circuit and terminal device
CN205749650U (en) Charging current detecting circuit
CN205584156U (en) Common mode level produces circuit
CN105738812A (en) Apparatus and method for detecting charge and discharge currents of battery
CN214227880U (en) Heavy current battery power supply equipment
CN203775031U (en) Power supply circuit and two-wire system electronic switching circuit using the power supply circuit
CN204539115U (en) Based on the switched-capacitor integrator of levitation current supplies gain bootstrap inverter
CN103115635B (en) Double-channel frequency division photoelectric signal detection circuit
CN208078690U (en) A kind of solar charger circuit adaptively exported
CN102291489B (en) Mobile phone and voltage calibration method thereof
CN202677228U (en) Laser temperature control circuit
CN206136016U (en) Last circuit of getting rid of inherent noise when gathering sensor signal of putting through fortune of mobile platform
CN202948046U (en) Weak current detecting circuit for power supply

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130220