CN102510115A - Intelligent charging control circuit and intelligent charging control method - Google Patents

Intelligent charging control circuit and intelligent charging control method Download PDF

Info

Publication number
CN102510115A
CN102510115A CN2011104326355A CN201110432635A CN102510115A CN 102510115 A CN102510115 A CN 102510115A CN 2011104326355 A CN2011104326355 A CN 2011104326355A CN 201110432635 A CN201110432635 A CN 201110432635A CN 102510115 A CN102510115 A CN 102510115A
Authority
CN
China
Prior art keywords
charging
voltage
charger
current
vchg
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011104326355A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN2011104326355A priority Critical patent/CN102510115A/en
Publication of CN102510115A publication Critical patent/CN102510115A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses an intelligent charging control circuit, which comprises a charger, a battery, a charging integrated circuit (IC), a central processing unit (CPU), an input current setting digital resistor and a charging current setting digital resistor, wherein an analog-to-digital conversion (ADC) interface is arranged on the CPU; one channel of the charger is connected with the ADC interface of the CPU, and the other channel of the charger is connected with an input end of the charging IC; the charging IC is respectively connected with the input current setting digital resistor and the charging current setting digital resistor; an output end of the charging IC is connected with the battery; and a voltage drain-drain (VDD) interface of the CPU is connected with the charging IC. The invention also discloses an intelligent charging control method. The invention has the advantages that: a Vchg voltage of a port of the charger is monitored through the ADC interface of the CPU, a charging current is adjusted in real time, and the output capacity of the charger can be fully utilized; and an input current limit which is set by the intelligent charging control circuit is prevented from exceeding the output capacity of the charger, damaging the charger and influencing operation of the whole circuit.

Description

A kind of intelligent charge control circuit and control method thereof
Technical field
The present invention relates to a kind of charger control technology, particularly relate to a kind of intelligent charge control circuit and control method thereof.
Background technology
The existing charging circuit that is used for electronic product is according to charger a constant charge current to be set basically; Like standard charging device 650mA, USB PC 500mA, non-standard charger 450mA; But charger is very chaotic on the existing market; Standard charging device and the available electric current of non-standard charger and uncertain if a charging current value is set merely, might surpasses the fan-out capability of charger or not make full use of the charging ability of charger.
Summary of the invention
The objective of the invention is to overcome the deficiency of prior art, a kind of intelligent charge control circuit and control method thereof are provided, can make full use of the fan-out capability of charger, effectively protect charger, machine system, battery.
In order to achieve the above object; The technical scheme that the present invention adopts is: a kind of intelligent charge control circuit, comprise charger and battery, and described control circuit also comprises charging IC, microcontroller CPU, digital resistor is set input current and charging current is provided with digital resistor; Microcontroller CPU is provided with the ADC interface; Charger one tunnel links to each other with the ADC interface of microcontroller CPU, and another road links to each other with the input of charging IC, and the IC that charges is provided with digital resistor and charging current with input current respectively and digital resistor is set is connected; Charging IC output links to each other with battery, and the VDD interface of microcontroller CPU is connected with charging IC.
This microcontroller CPU is the controller of mobile device or the chip that has the ADC interface, and microcontroller CPU is through ADC monitoring charger terminal voltage with through I2C control figure resistor resistance.
Charging IC forms the buck DC-DC transducer through external inductors and electric capacity; Convert charger voltage into VDD and battery charging voltage Vbat through the DC-DC transducer to the control circuit power supply; And comprise and the comparator of monitoring battery charging voltage Vbat and charging current be used for accomplishing battery charge.
Described digital resistor is 7 programmable digital resistors, realizes the multistage variation of input current and charging current.
A kind of control method of utilizing described intelligent charge control circuit, described control method step is following:
Step 1, charger insert the battery charge interface;
Step 2, regulate charging current through microcontroller CPU and digital resistor is set earlier charging current is provided with lowest high-current value;
Step 3, regulate input current through microcontroller CPU and digital resistor is set imports current limliting and be set to lowest high-current value;
Step 4, microcontroller CPU read charger voltage Vchg through the ADC interface;
Step 5, the chargeable minimum voltage of charger voltage Vchg and setting is compared, Vchg voltage is more than or equal to the chargeable minimum voltage of setting execution in step 6 then, otherwise execution in step 7;
Step 6, voltage Vchg then keep the setting of input current limliting constant more than or equal to the minimum voltage that charges;
Step 7, voltage Vchg are less than the minimum voltage that charges; Then will import current limliting and turn down one grade; Remove to read voltage Vchg after turning down once more, and the chargeable minimum voltage of charger voltage Vchg and setting is compared, up to the chargeable minimum voltage of charger voltage Vchg more than or equal to setting; Then keep the setting of input current limliting constant, the input cut-off current that be provided with this moment is only current value.
Above-mentioned steps 3 described input current limlitings by circuit the lowest high-current value of permission input.
The minimum voltage of above-mentioned steps 5,6, the charging described in 7 is the chargeable minimum voltage of software set.
Compared with prior art, the invention has the beneficial effects as follows: through bringing in constant renewal in charger port Vchg voltage, come the current limliting of adjustment input in real time, can make full use of the fan-out capability of charger; Prevent that the input current limliting of control circuit setting from exceeding the fan-out capability of charger, charger is caused damage and influences complete machine work.
Description of drawings
Fig. 1 is a control circuit theory diagram of the present invention;
Fig. 2 is a control method flow chart of the present invention.
Embodiment
Be elaborated with reference to accompanying drawing below in conjunction with embodiment, so that technical characterictic of the present invention and advantage are carried out more deep annotation.
Theory diagram of the present invention is as shown in Figure 1; A kind of intelligent charge control circuit comprises charger and battery, and described control circuit also comprises charging IC, microcontroller CPU, digital resistor is set input current and charging current is provided with digital resistor; Microcontroller CPU is provided with the ADC interface; Charger one tunnel links to each other with the ADC interface of microcontroller CPU, and another road links to each other with the input of charging IC, and the IC that charges is provided with digital resistor and charging current with input current respectively and digital resistor is set is connected; Charging IC output links to each other with battery, and the VDD interface of microcontroller CPU is connected with charging IC.
The model of described charging IC is MAX8903C, and it is MCP40D17 that input current is provided with the model that digital resistor and charging current be provided with digital resistor.
Described digital resistor is 7 programmable digital resistors, realizes the multistage variation of input current and charging current.
This microcontroller CPU is the controller of mobile device or the chip (like single-chip microcomputer) that has the AD interface, and it act as through ADC monitoring charger terminal voltage with through I2C control figure resistor resistance.
Charging IC forms the buck DC-DC transducer through external inductors and electric capacity; Convert charger voltage into VDD and battery charging voltage through the DC-DC conversion to the control circuit power supply; And the subsidiary comparator that monitoring cell voltage and charging current are arranged, be used for accomplishing battery charge.
Control method flow chart of the present invention is as shown in Figure 2, a kind of control method of utilizing described intelligent charge control circuit, and described control method step is following:
Step 1, charger insert the battery charge interface;
Step 2, regulate charging current through microcontroller CPU and digital resistor is set earlier charging current is provided with lowest high-current value;
Step 3, regulate input current through microcontroller CPU and digital resistor is set imports current limliting and be set to lowest high-current value;
Step 4, microcontroller CPU read charger voltage Vchg through the ADC interface;
Step 5, the minimum voltage of charger voltage Vchg and charging is compared, Vchg voltage is more than or equal to the chargeable minimum voltage of software set execution in step 6 then, otherwise execution in step 7;
Step 6, voltage Vchg then keep the setting of input current limliting constant more than or equal to the chargeable minimum voltage of software set;
Step 7, voltage Vchg are less than the chargeable minimum voltage of software set; Then will import current limliting and turn down one grade; Remove to read voltage Vchg after turning down once more, and the chargeable minimum voltage of charger voltage Vchg and software set is compared, up to the chargeable minimum voltage of charger voltage Vchg more than or equal to software set; Then keep the setting of input current limliting constant, the input cut-off current that be provided with this moment is only current value.
Above-mentioned steps 3 described input current limlitings by circuit the lowest high-current value of permission input.
The minimum voltage of above-mentioned steps 5,6, the charging described in 7 is the chargeable minimum voltage of software set.
Is example (the minimum chargeable voltage of software set is 4.3V) with MAX8903C (charging IC) with MCP40D17 (digital resistor): after charger inserted, CPU removed to read CVHG voltage through ADC, if VCHG>4.3V; Then charging current and input current all are set to maximum, it is in order to check the real input capability of charger through battery charge that charging current is set to maximum, completion is set after; Read VCHG voltage once more, if VCHG voltage greater than 4.3V, then keeps set point constant; If VCHG is less than 4.3V; Then will import cut-off current and turn down one grade, like this cycle detection, up to VCHG voltage greater than 4.3V; Input current and the charging current that be provided with this moment are final settings, and are optimal values;
It is to be used for satisfying the different temperature environment that charging current is provided with through AD5246, when temperature higher (greater than 40 the degree) or lower (less than 0 the degree) can set different charging current values;
After completion was set, CPU still can monitor VCHG voltage in real time, in case VCHG voltage occurs less than 4.3V, then will import current limliting and turn down one grade;
Numeral resistor AD5246 is 7 Bit programmable digital resistors, has 128 grades (0-127).
Through bringing in constant renewal in charger port Vchg voltage, come adjustment charging current in real time, can make full use of the fan-out capability of charger; Prevent that the input current limliting of control circuit setting from exceeding the fan-out capability of charger, charger is caused damage and influences complete machine work.
Although the present invention has made the clear description of accomplishing through specifically describing to realization intelligent charge control circuit and control method thereof; But the present invention is not limited only to said embodiment, through simple reprogramming with change device to reach identical purpose be contingent and all be included in the present invention.

Claims (5)

1. intelligent charge control circuit; Comprise charger and battery; It is characterized in that: described control circuit also comprises charging IC, microcontroller CPU, digital resistor is set input current and charging current is provided with digital resistor, and microcontroller CPU is provided with the ADC interface, and charger one tunnel links to each other with the ADC interface of microcontroller CPU; Another road links to each other with the input of charging IC; Charging IC is provided with digital resistor and charging current with input current respectively and digital resistor is set is connected, and charging IC output links to each other with battery, and the VDD interface of microcontroller CPU is connected with the IC that charges;
This microcontroller CPU is the controller of mobile device or the chip that has the ADC interface, and microcontroller CPU is through ADC monitoring charger terminal voltage with through I2C control figure resistor resistance;
Charging IC forms the buck DC-DC transducer through external inductors and electric capacity; Convert charger voltage into VDD and battery charging voltage Vbat through the DC-DC transducer to the control circuit power supply; And comprise and the comparator of monitoring battery charging voltage Vbat and charging current be used for accomplishing battery charge.
2. intelligent charge control circuit according to claim 1 is characterized in that: described digital resistor is 7 programmable digital resistors, realizes the multistage variation of input current and charging current.
3. a control method of utilizing claim 1 or 2 described intelligent charge control circuits is characterized in that, described control method step is following:
Step 1, charger insert the battery charge interface;
Step 2, microcontroller CPU are provided with digital resistor through the adjusting charging current and earlier charging current are provided with lowest high-current value;
Step 3, microcontroller CPU are provided with digital resistor and import current limliting and be set to lowest high-current value through regulating input current;
Step 4, microcontroller CPU read charger voltage Vchg through the ADC interface;
Step 5, the chargeable minimum voltage of charger voltage Vchg and setting is compared, Vchg voltage is more than or equal to the minimum voltage of charging execution in step 6 then, otherwise execution in step 7;
Step 6, voltage Vchg then keep the setting of input current limliting constant more than or equal to the minimum voltage that charges;
Step 7, voltage Vchg are less than the minimum voltage that charges; Then will import current limliting and turn down one grade; Remove to read voltage Vchg after turning down once more, and the minimum voltage of charger voltage Vchg and charging is compared, up to the minimum voltage of charger voltage Vchg more than or equal to charging; Then keep the setting of input current limliting constant, the input cut-off current that be provided with this moment is only current value.
4. intelligent charge control method according to claim 3 is characterized in that: above-mentioned steps 3 described input current limlitings by circuit the lowest high-current value of permission input.
5. intelligent charge control method according to claim 4 is characterized in that: the minimum voltage of above-mentioned steps 5,6, the charging described in 7 is the minimum chargeable voltage of software set.
CN2011104326355A 2011-12-21 2011-12-21 Intelligent charging control circuit and intelligent charging control method Pending CN102510115A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104326355A CN102510115A (en) 2011-12-21 2011-12-21 Intelligent charging control circuit and intelligent charging control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104326355A CN102510115A (en) 2011-12-21 2011-12-21 Intelligent charging control circuit and intelligent charging control method

Publications (1)

Publication Number Publication Date
CN102510115A true CN102510115A (en) 2012-06-20

Family

ID=46222174

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104326355A Pending CN102510115A (en) 2011-12-21 2011-12-21 Intelligent charging control circuit and intelligent charging control method

Country Status (1)

Country Link
CN (1) CN102510115A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102938572A (en) * 2012-11-05 2013-02-20 Tcl通讯(宁波)有限公司 Method and system capable of automatically recognizing non-standard charger and setting charging current of non-standard charger
CN103001290A (en) * 2012-11-28 2013-03-27 惠州Tcl移动通信有限公司 Self-adaption charging circuit and corresponding mobile terminal
CN103219556A (en) * 2013-04-01 2013-07-24 广东欧珀移动通信有限公司 Method and system for charging mobile terminal
WO2014012394A1 (en) * 2012-07-17 2014-01-23 广东欧珀移动通信有限公司 Quick charging method
CN104283264A (en) * 2014-10-11 2015-01-14 惠州Tcl移动通信有限公司 System and method for controlling charging current of mobile terminal
CN105743163A (en) * 2016-02-26 2016-07-06 上海与德通讯技术有限公司 Method for detecting whether charger is standard and self-adaptive charging method
CN107425578A (en) * 2017-09-08 2017-12-01 维沃移动通信有限公司 A kind of method and apparatus for detecting charger power output
CN107769320A (en) * 2017-11-10 2018-03-06 深圳天珑无线科技有限公司 A kind of mobile terminal and its charge control method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340011A (en) * 2008-08-07 2009-01-07 中兴通讯股份有限公司 Intelligent charging method and apparatus
CN101675570A (en) * 2007-04-19 2010-03-17 舒米特微电子公司 Batter-charghing system and method with adjustable current restriction
CN201656501U (en) * 2009-10-22 2010-11-24 中兴通讯股份有限公司 Charging device used for mobile terminal
CN201813422U (en) * 2010-09-09 2011-04-27 Tcl集团股份有限公司 Charging chip and mobile terminal capable of automatically adjusting charging mode

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101675570A (en) * 2007-04-19 2010-03-17 舒米特微电子公司 Batter-charghing system and method with adjustable current restriction
CN101340011A (en) * 2008-08-07 2009-01-07 中兴通讯股份有限公司 Intelligent charging method and apparatus
CN201656501U (en) * 2009-10-22 2010-11-24 中兴通讯股份有限公司 Charging device used for mobile terminal
CN201813422U (en) * 2010-09-09 2011-04-27 Tcl集团股份有限公司 Charging chip and mobile terminal capable of automatically adjusting charging mode

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014012394A1 (en) * 2012-07-17 2014-01-23 广东欧珀移动通信有限公司 Quick charging method
CN102938572A (en) * 2012-11-05 2013-02-20 Tcl通讯(宁波)有限公司 Method and system capable of automatically recognizing non-standard charger and setting charging current of non-standard charger
CN102938572B (en) * 2012-11-05 2015-05-13 Tcl通讯(宁波)有限公司 Method and system capable of automatically recognizing non-standard charger and setting charging current of non-standard charger
CN103001290A (en) * 2012-11-28 2013-03-27 惠州Tcl移动通信有限公司 Self-adaption charging circuit and corresponding mobile terminal
CN103219556A (en) * 2013-04-01 2013-07-24 广东欧珀移动通信有限公司 Method and system for charging mobile terminal
CN103219556B (en) * 2013-04-01 2015-06-17 广东欧珀移动通信有限公司 Method and system for charging mobile terminal
CN104283264A (en) * 2014-10-11 2015-01-14 惠州Tcl移动通信有限公司 System and method for controlling charging current of mobile terminal
CN104283264B (en) * 2014-10-11 2017-05-10 惠州Tcl移动通信有限公司 System and method for precisely controlling charging current of mobile terminal
CN105743163A (en) * 2016-02-26 2016-07-06 上海与德通讯技术有限公司 Method for detecting whether charger is standard and self-adaptive charging method
CN107425578A (en) * 2017-09-08 2017-12-01 维沃移动通信有限公司 A kind of method and apparatus for detecting charger power output
CN107769320A (en) * 2017-11-10 2018-03-06 深圳天珑无线科技有限公司 A kind of mobile terminal and its charge control method and system

Similar Documents

Publication Publication Date Title
CN102510115A (en) Intelligent charging control circuit and intelligent charging control method
US20190097433A1 (en) Method, apparatus, and device for charging a battery and storage medium
CN201813422U (en) Charging chip and mobile terminal capable of automatically adjusting charging mode
JP2015202024A (en) Mobile Battery
CN203086213U (en) Rapid charger and mobile power supply with the charger
CN102208702A (en) Battery charging method and electronic device
CN103501023A (en) Charging circuit
CN103326437A (en) Parallel connection charging circuit of multi-lithium-battery pack and parallel connection charging method of multi-lithium-battery pack
CN101604774A (en) Intelligent activating method for accumulator
CN203761085U (en) Mobile power source with over-voltage, under-voltage, over-current and over-temperature protection functions
CN203481855U (en) Portable power supply device
CN105449758A (en) Charging current adjusting method and mobile terminal
CN103618361A (en) Self-adaption charging method and charger
CN103475065A (en) Intelligent charging method and system
CN104767243A (en) Charging method, charging device, charging circuit and charging system with charging circuit
CN104882946B (en) A kind of mobile phone charge management module and its charging management method
CN104810897A (en) Quick charging simulation method
CN204651614U (en) A kind of data wire with charging instruction
CN105098862A (en) Charging control method, charging control device and charging control terminal
CN204012756U (en) Dynamic lithium battery group administrative protection device
CN103633719A (en) Charge system and charge control method thereof
CN203933057U (en) A kind of portable multi-function portable power source
CN205195315U (en) Syllogic charging circuit of compatible nickel -hydrogen battery and lithium cell
CN204465080U (en) For the battery management system of lithium battery group
CN205195378U (en) Current -limiting circuit and battery charging outfit charge based on battery charging outfit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120620