CN101989749B - Charging device and charging method - Google Patents

Charging device and charging method Download PDF

Info

Publication number
CN101989749B
CN101989749B CN200910056049.8A CN200910056049A CN101989749B CN 101989749 B CN101989749 B CN 101989749B CN 200910056049 A CN200910056049 A CN 200910056049A CN 101989749 B CN101989749 B CN 101989749B
Authority
CN
China
Prior art keywords
triode
charging
resistance
charger
usb
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
CN200910056049.8A
Other languages
Chinese (zh)
Other versions
CN101989749A (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.)
Leadcore Technology Co Ltd
Original Assignee
Leadcore Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Leadcore Technology Co Ltd filed Critical Leadcore Technology Co Ltd
Priority to CN200910056049.8A priority Critical patent/CN101989749B/en
Publication of CN101989749A publication Critical patent/CN101989749A/en
Application granted granted Critical
Publication of CN101989749B publication Critical patent/CN101989749B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Abstract

The invention discloses a charging device and a charging method. The charging device comprises a charging type detecting circuit, a Trickle2 charging current control circuit and an alternating current/universal serial bus (AC/USB) charging current control circuit, wherein the charging type detecting circuit is used for detecting whether a charger inserted by a user is an AC charger or a USB charger; the Trickle2 charging current control circuit is used for controlling the Trickle2 charging current according to the detecting result of the charging type detecting circuit, wherein the Trickle2 charging current is less than 100mA in a USB charging state, and the Trickle2 charging current is larger in an AC charging state; and the AC/USB charging current control circuit is used for controlling the charging current of each phase of the AC charger or the USB charger according to the detecting result of the charging type detecting circuit, and AC and USB charging currents flow through the same passage. The invention has the advantages that the charging reliability and the charging stability are improved, and the cost is lowered.

Description

Charging device and charging method
Technical field
The present invention relates to communication technical field, relate in particular to a kind of charging device and charging method.
Background technology
Before 2007, mobile phone terminal is supported AC charging, also supports USB charging, but the external physical interface that AC charging and USB charging are had nothing in common with each other.2007, the Ministry of Information Industry determines that mobile phone charging must be in accordance with new criteria (< < mobile phone charger and interfacing require and method of testing > >), new criteria requires mobile phone terminal not only will support AC charging and USB charging, and AC charges and same external physical interface is shared in USB charging.In order to meet charging new criteria, need to redesign mobile phone charge inside circuit.
Current existing method is to judge that by hardware charging type is that AC charges or USB charges, and opens AC charging path or USB charging path according to result of determination, thereby realizes dissimilar charging.As shown in Figure 1, for existing mobile phone terminal charging circuit block diagram, comprise charging type decision circuit 110, usb signal commutation circuit 120, AC/USB charging current path commutation circuit 130, AC charging current control circuit 140 and USB charging current control circuit 150.Wherein, charging type decision circuit 110 is for judging that the charger type that user inserts is AC charging or USB charging; Usb signal commutation circuit 120 is opened usb signal for cutting on-off according to the height of charging type decision circuit 110 input signals; AC/USB charging current path commutation circuit 130 is for cutting logical AC or USB hardware charging path according to the height of charging type decision circuit 110 output signals; AC charging current control circuit 140 is for controlling AC each stage charging current of charging, and then realizes AC charging; USB charging current control circuit 150 is for controlling USB each stage charging current of charging, and then realizes USB charging.
Concrete charging circuit as shown in Figure 2, wherein, charging type decision circuit consists of two diodes and several resistance, when inserting AC charger to charging external interface (USB connector), and DP, DM shorted to earth, decision circuit output (output of Q2 collector electrode) is low, the two analog switches of putting of double-pole are connected DP, DM signal with charging type decision circuit, M1 saturation conduction now, and AC charging path is got through, the simultaneously inner M2 cut-off of PMU, the USB path blockade that charges; When inserting USB charger to charging external interface, on DP signal, weak pull-down can not end Q3, decision circuit output (output of Q2 collector electrode) height, the two analog switches of putting of double-pole are connected DP, DM signal and USB receiving-transmitting device, now M1 cut-off, the AC path blockade that charges, the inner M2 saturation conduction of PMU simultaneously, USB charging path is got through.Charging path charges to battery after getting through immediately.It should be noted that, because USB connector is except being used as charging inlet, also as USB coffret, in order to prevent that USB when transmission type decision circuit that charges from exerting an influence to usb data signals DP, DM, on usb data holding wire, by placing the two analog switches of putting of double-pole, do to isolate, analog switch is by the type decision circuit output signal gating that charges.Further, in order to prevent from inserting signal jitter, analog switch gating signal is suitably postponed, in analog switch gating signal, increase delayer, delayer can adopt common RC circuit.
After mobile phone power-on, insert charger, the Charge Management software that resides in processor side starts immediately, controls constant current and the whole charging process of constant voltage.Particularly, when processor detects charging interruption, first judgement is that AC charger inserts or USB inserts, if judgement is the insertion of AC charger, carries out AC charging initialization, starts AC constant current charge, and AC constant current charge electric current conventionally approaches 1C but is less than 1C.Startup constant voltage charge after AC constant current charge completes, until charging finishes; If judgement is USB charger, insert, open immediately USB power initiation enumeration process, if enumerate failure, alarm, otherwise carry out USB charging initialization, and starting USB constant current charge, USB constant current charge electric current must be less than 500mA.Startup constant voltage charge after USB constant current charge completes, until charging finishes.
At present, due to disengaging time of new criteria soon, the existing mobile phone terminal charging circuit that meets new criteria is also immature, its problem is mainly manifested in three aspects:, one, it is higher that AC/USB inserts False Rate; Its two, charging circuit cost compare is high; Its three, there is the risk that battery can not be full of in USB charging.
Summary of the invention
The embodiment of the present invention provides a kind of charging device and charging method, not only can improve the reliability and stability of charging, can also reduce costs.
The embodiment of the present invention provides following technical scheme:
A charging device, comprising:
Charging type testing circuit, the charger type inserting for detection of user is AC charger or USB charger;
Trickle2 charging current control circuit, for controlling Trickle2 trickle-charge current according to the testing result of described charging type testing circuit, and make Trickle2 trickle-charge current when USB charges be less than 100mA, and Trickle2 trickle-charge current is larger when AC charges;
AC/USB charging current control circuit, for control each stage charging current of AC charger or USB charger according to the testing result of described charging type testing circuit, and makes AC and the USB charging current identical path of flowing through.
Preferably, described charging type testing circuit comprises: triode Q2, Q3 and Q4, resistance R 6 are to R12; Wherein, after resistance R 6 and R7 series connection, be connected between VBUS and ground and form bleeder circuit, the emitter of triode Q2 is connected on resistance R 6 and R7 connecting place, the collector electrode of triode Q2 is connected on USB differential signal DP, resistance R 8 is connected to as current-limiting resistance in the base stage of VUSB power supply and triode Q2, and resistance R 9 is received between VBUS and ground; The emitter of triode Q3 is connected on USB differential signal DM, the base stage of triode Q3 is connected to VUSB by current-limiting resistance R10, the collector electrode of triode Q3 is connected in the base stage of triode Q4 by current-limiting resistance R11, the grounded emitter of triode Q4, resistance R 12 is connected between the collector electrode of triode Q4 and VBUS as triode Q4 provides drive current, the charger type that the height state of the collector electrode output signal of triode Q4 reflection user inserts; Wherein by described VUSB, control conducting and the shutoff of triode Q2, Q3.
Preferably, described charging type testing circuit comprises: triode Q2, Q3 and Q4, resistance R 6 are to R12; Wherein, after resistance R 6 and R7 series connection, be connected between VBUS and ground and form bleeder circuit, the emitter of triode Q2 is connected on resistance R 6 and R7 connecting place, the collector electrode of triode Q2 is connected on USB differential signal DP, resistance R 8 is connected in the universal input/output interface GPIO1 of CPU and the base stage of triode Q2 as current-limiting resistance, and resistance R 9 is received between VBUS and ground; The emitter of triode Q3 is connected on USB differential signal DM, the base stage of triode Q3 is connected to the universal input/output interface GPIO1 of CPU by current-limiting resistance R10, the collector electrode of triode Q3 is connected in the base stage of triode Q4 by current-limiting resistance R11, the grounded emitter of triode Q4, resistance R 12 is connected between the collector electrode of triode Q4 and VBUS as triode Q4 provides drive current, the charger type that the height state of the collector electrode output signal of triode Q4 reflection user inserts; Wherein by the output of described GPIO1, control conducting and the shutoff of triode Q2, Q3.
Preferably, when the signal of described charging type testing circuit output is low signal, detecting the charger inserting for user is AC charger; When the signal of described charging type testing circuit output is high signal, detecting the charger inserting for user is USB charger.
Preferably, the resistance of described resistance R 6 is 1.5K Ω, and the resistance of resistance R 7 is 510 Ω, and the resistance of resistance R 8 to R12 is respectively 4.7K Ω.
Preferably, described Trickle2 charging current control circuit comprises: triode Q5, resistance R 4, R5 and R13; Wherein, resistance R 13 is connected between the base stage of triode Q5 and the output signal of described charging type testing circuit as current-limiting resistance, the transmitting collection ground connection of triode Q5, is connected between Trickle2 and ground after resistance R 4 and R5 series connection, and the collector electrode of triode Q5 is connected on resistance R 4 and R5 connecting place.
Preferably, when described charging type testing circuit detects charger type that user inserts and is AC charger, charging type testing circuit output low signal, triode Q5 is obstructed, and Trickle2 charging current is determined by resistance R 4, R5, and meets R4+R5=R trickle2; When described charging type testing circuit detects charger type that user inserts and is USB charger, charging type testing circuit is exported high signal, triode Q5 conducting, and Trickle2 charging current is determined by resistance R 4, and meets R4=R trickle1.
Preferably, the resistance R of described resistance R 4 trickle1, the resistance of resistance R 5 is R trickle2-R trickle1, the resistance of resistance R 13 is 4.7K Ω.
Preferably, the charging current that described AC/USB charging current control circuit is controlled AC charger or USB charger is all successively by diode V1, triode Q1, resistance R 3, until battery.
A charging method, comprising:
The charger type that detects user's insertion is AC charger or USB charger;
According to testing result, automatically control Trickle2 trickle-charge current, and make Trickle2 trickle-charge current when USB charges be less than 100mA, and Trickle2 trickle-charge current is larger when AC charges; And
According to testing result, control each stage charging current of AC charger or USB charger, and make AC and the USB charging current identical path of flowing through, and then complete the charging process of AC charger or USB charger.
Preferably, the described charger type that detects user's insertion when VUSB power supply does not enable is that AC charger or USB charger comprise:
What by judgement universal input/output interface GPIOx state, determine that user inserts is AC charger or USB charger, if GPIOx is high, the charger that is defined as user's insertion is USB charger, if GPIOx is low, the charger that is defined as user's insertion is AC charger.
The invention provides a kind of charging device applicable to comprising any intelligent wireless handset products of mobile phone, and a kind of method of utilizing this charging device to charge to terminal is provided.The present invention has following beneficial effect compared with prior art, particularly:
The present invention only can realize USB or AC charging type detection and charging current by several triodes and resistance and control, and prior art needs the devices such as high-speed analog switch, MOSFET, triode could realize charging current automatic switchover and control.Therefore, charging device cost provided by the invention is very cheap, compares with existing charging device the cost that can save 9 yuan, is more suitable for commercialization, is beneficial to product promotion, has immeasurable commercial value.
In addition, the present invention is when USB charges, USB charging current is few through a MOS switch, the pressure drop little (0.2~0.3V) that charge path causes, compare more easily battery is full of with existing charging device, therefore, utilize charging device provided by the invention to charge to terminal, can improve the reliability and stability of charging.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is prior art mobile phone terminal charging circuit block diagram;
Fig. 2 is prior art mobile phone terminal charging circuit physical circuit figure;
Fig. 3 is AC charging current curve chart;
Fig. 4 is USB charging current curve chart;
Fig. 5 is the charging circuit block diagram that the embodiment of the present invention provides;
Fig. 6 is the charging circuit physical circuit figure that the embodiment of the present invention provides;
Fig. 7 is another charging circuit physical circuit figure that the embodiment of the present invention provides;
Fig. 8 is the Charge Management software flow pattern that the embodiment of the present invention provides.
Embodiment
The embodiment of the present invention provides a kind of charging device and charging method, not only can improve the reliability and stability of charging, can also reduce costs.For making object of the present invention, technical scheme and advantage clearer, the embodiment that develops simultaneously with reference to the accompanying drawings, the present invention is described in more detail.
For the ease of understanding the present invention, first introduce the feature of AC charging current and USB charging current.First, as shown in Figure 3, be AC charging current curve chart.As can be seen from Figure 3, after AC charging path is got through, when cell voltage VBAT < 2.5V, system is not started shooting, hardware charging circuit with 30mA electric current to battery automatic charging; When cell voltage 2.5V < VBAT < 3.0V, charging enters the Trickle1 charging stage, and system is not started shooting yet, and hardware charging circuit is with R trickle1the electric current determining is to battery automatic charging; When cell voltage VBAT > 3.0V, charging enters the Trickle2 charging stage, and hardware charging circuit starts with R trickle2the electric current determining is to battery automatic charging, system boot now, and after this software can start soon and fills, and controls triode Q1 to constant-current charging of battery, if software does not start soon and fills, charging circuit continues R trickle2the electric current determining is to battery automatic charging, until stop after VBAT > 3.6V; When VBAT approaches after 4.2V, under software control, charging enters constant voltage charge process, until battery is full of.Wherein, α is constant.In order to protect battery, Trickle1 charging current should not be too large, so R trickle1resistance is less.And in the Trickle2 charging stage, system boot need consume a lot of electric currents, therefore require Trickle2 stage charging current very large, so R trickle1resistance is larger, generally R trickle2> > R trickle1.
Again as shown in Figure 4, be USB charging current curve chart.As can be seen from Figure 4, after USB charging path is got through, when cell voltage VBAT < 2.5V, system is not started shooting, hardware charging circuit with 30mA electric current to battery automatic charging; When cell voltage 2.5V < VBAT < 3.0V, charging enter the Trickle1 charging stage, system is not started shooting yet, hardware charging circuit with 53mA electric current to battery automatic charging; When cell voltage VBAT > 3.0V, charging enters the Trickle2 charging stage, hardware charging circuit equally with 53mA electric current to battery automatic charging, system boot now, after this software can start soon and fills, and control Q1 to constant-current charging of battery, if software does not start soon and fills, charging circuit continues R trickle2the electric current determining is to battery automatic charging, until stop after VBAT > 3.6V; When VBAT approaches after 4.2V, under software control, charging enters constant voltage charge process, until battery is full of.
Based on this, the invention provides a kind of brand-new charging method, by hardware, make AC and the USB charging current identical path of flowing through, and realize AC/USB charging type detection and Trickle2 trickle-charge current is controlled by hardware circuit, then by software, according to charging type testing circuit testing result, control AC or USB fills process soon.
As shown in Figure 5, the charging circuit block diagram for the embodiment of the present invention provides, comprising: charging type testing circuit 510, Trickle2 charging current control circuit 520, AC/USB charging current control circuit 530; Wherein:
Described charging type testing circuit 510, the charger type inserting for detection of user is AC charger or USB charger;
Described Trickle2 charging current control circuit 520, for controlling Trickle2 trickle-charge current according to the testing result of described charging type testing circuit 510, and make Trickle2 trickle-charge current when USB charges be less than 100mA, and Trickle2 trickle-charge current is larger when AC charges;
Described AC/USB charging current control circuit 530, for control each stage charging current of AC charger or USB charger according to the testing result of described charging type testing circuit 510, and makes AC and the USB charging current identical path of flowing through.
As shown in Figure 6, the charging circuit physical circuit figure providing for the embodiment of the present invention.
Particularly, described charging type testing circuit comprises: triode Q2, Q3 and Q4, resistance R 6 are to R12; Wherein, after resistance R 6 and R7 series connection, be connected between VBUS and ground and form bleeder circuit, the emitter of triode Q2 is connected on resistance R 6 and R7 connecting place, the collector electrode of triode Q2 is connected on USB differential signal DP, resistance R 8 is connected to as current-limiting resistance in the base stage of VUSB power supply and triode Q2, and resistance R 9 is received between VBUS and ground; The emitter of triode Q3 is connected on USB differential signal DM, the base stage of triode Q3 is connected to VUSB by current-limiting resistance R10, the collector electrode of triode Q3 is connected in the base stage of triode Q4 by current-limiting resistance R11, the grounded emitter of triode Q4, resistance R 12 is connected between the collector electrode of triode Q4 and VBUS as triode Q4 provides drive current, the charger type that the height state of the collector electrode output signal of triode Q4 reflection user inserts.Value for resistance R 6 to R12 has a variety of possibilities, and resistance R 6 can be got 1.5K Ω conventionally, and resistance R 7 can be got 510 Ω, and resistance R 8~R12 can get 4.7K Ω.
When AC charger inserts, due to USB DP, USB DM short circuit, triode Q2, Q3 and Q4 conducting, type testing circuit output low signal therefore charges; When USB charger inserts, because USB DM is low, triode Q3 and not conducting of Q4, the type testing circuit that therefore charges is exported high signal.What processor (CPU) just judged according to charging type testing circuit output signal that user inserts just is AC charger or USB charger, and controls the corresponding charging flow of AC/USB based on this.
Described Trickle2 charging current control circuit comprises: triode Q5, resistance R 4, R5 and R13; Wherein, resistance R 13 is connected between the base stage of triode Q5 and the output signal of described charging type testing circuit as current-limiting resistance, the transmitting collection ground connection of triode Q5, is connected between Trickle2 and ground after resistance R 4 and R5 series connection, and the collector electrode of triode Q5 is connected on resistance R 4 and R5 connecting place.Value for resistance R 6 to R12 has a variety of possibilities, and resistance R 4 can be got R conventionally trickle1, and resistance R 5 can be got R trickle2-R trickle1, resistance R 13 can be got 4.7K Ω.
When AC charger inserts, charging type testing circuit output low signal, triode Q5 is obstructed, so Trickle2 trickle-charge current is by resistance R 4+R5=R trickle2determine, larger according to the known Trickle2 trickle-charge current of Fig. 3; When USB charger inserts, charging type testing circuit is exported high signal, triode Q5 conducting, so Trickle2 trickle-charge current is by resistance R 4=R trickle1determine, smaller according to the known Trickle2 trickle-charge current of Fig. 4, meet USB code requirement (charging current < 100mA before enumerating).
Described AC/USB charging current control circuit consists of 1 power charging triode, diode and charging control circuit, according to charging type testing circuit testing result, controls AC or USB each stage charging current of charging.
No matter from Fig. 6, can be clearly seen that, be USB charging or AC charging, and its charging current all pass through same hardware circuit, first by a diode V1, again pass through a triode Q1, after through a resistance R 3, be finally filled with battery.
It should be noted that, physical circuit shown in above-mentioned Fig. 6 is only a specific case of the present invention, it is just for helping to understand the solution of the present invention, to those skilled in the art, can be easy to expect, except above-mentioned enumerating, can also have a lot of mutation, for example, VUSB in Fig. 6 is controlled to conducting and the shutoff of triode Q2 and Q3, the output that changes the GPIO1 of the Charge Management software by CPU as shown in Figure 7 into is controlled.Again for example, the device in Fig. 6 is equal to replacement etc.Therefore, so long as according to thought of the present invention, the scheme after doing aspect embodiment and range of application to change also should belong to the scope of protection of the invention.
As shown in Figure 8, the Charge Management software flow pattern providing for the embodiment of the present invention.After mobile phone power-on, insert charger, the Charge Management software that resides in processor side starts immediately, controls constant current and the whole charging process of constant voltage.What Charge Management software determined by judgement GPIOx state that user inserts is USB charger or AC charger, if GPIOOx is high, what determine user's insertion is USB charger, open USB power initiation enumeration process, if enumerate failure, abnormality alarming charges, otherwise carry out USB charging initialization, start USB constant current charge, USB constant current charge electric current must be less than 500mA.Startup constant voltage charge after USB constant current charge completes, until charging finishes.If GPIOOx is low, what determine user's insertion is AC charger, carries out AC charging initialization, starts AC constant current charge, and AC constant current charge electric current conventionally approaches 1C but is less than 1C.Startup constant voltage charge after AC constant current charge completes, until charging finishes.
One of ordinary skill in the art will appreciate that realizing all or part of step that above-described embodiment method carries is to come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, this program, when carrying out, comprises step of embodiment of the method one or a combination set of.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, can be also that the independent physics of unit exists, and also can be integrated in a module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and also can adopt the form of software function module to realize.If described integrated module usings that the form of software function module realizes and during as production marketing independently or use, also can be stored in a computer read/write memory medium.
The above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
In sum, the invention provides a kind of charging device applicable to comprising any intelligent wireless handset products of mobile phone, and a kind of method of utilizing this charging device to charge to terminal is provided.The present invention only can realize USB or AC charging type detection and charging current by several triodes and resistance and control, and prior art needs the devices such as high-speed analog switch, MOSFET, triode could realize charging current automatic switchover and control.Therefore, charging device cost provided by the invention is very cheap, compares with existing charging device the cost that can save 9 yuan, is more suitable for commercialization, is beneficial to product promotion, has immeasurable commercial value.
In addition, the present invention is when USB charges, USB charging current is few through a MOS switch, the pressure drop little (0.2~0.3V) that charge path causes, compare more easily battery is full of with existing charging device, therefore, utilize charging device provided by the invention to charge to terminal, can improve the reliability and stability of charging.
Above charging device provided by the present invention and charging method are described in detail, have applied specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment is just for helping to understand the solution of the present invention; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.

Claims (9)

1. a charging device, is characterized in that, comprising:
Charging type testing circuit, the charger type inserting for detection of user is AC charger or USB charger, described charging type testing circuit comprises: triode Q2, Q3 and Q4, resistance R 6 are to R12; Wherein, after resistance R 6 and R7 series connection, be connected between VBUS and ground and form bleeder circuit, the emitter of triode Q2 is connected on resistance R 6 and R7 connecting place, the collector electrode of triode Q2 is connected on USB differential signal DP, resistance R 8 as current-limiting resistance, the two ends of described R8 are connected to respectively in the base stage of VUSB power supply and triode Q2, and resistance R 9 is received between VUSB and ground; The emitter of triode Q3 is connected on USB differential signal DM, the base stage of triode Q3 is connected to VUSB by current-limiting resistance R10, the collector electrode of triode Q3 is connected in the base stage of triode Q4 by current-limiting resistance R11, the grounded emitter of triode Q4, resistance R 12 is connected between the collector electrode of triode Q4 and VBUS as triode Q4 provides drive current, the charger type that the height state of the collector electrode output signal of triode Q4 reflection user inserts; Wherein by described VUSB, control conducting and the shutoff of triode Q2, Q3;
The second trickle charge stage charging current control circuit, for controlling the second trickle charge stage trickle-charge current according to the testing result of described charging type testing circuit, and make the second trickle charge stage trickle-charge current when USB charges be less than 100mA, and the second trickle charge stage trickle-charge current is larger when AC charges;
AC/USB charging current control circuit, for control each stage charging current of AC charger or USB charger according to the testing result of described charging type testing circuit, and makes AC and the USB charging current identical path of flowing through.
2. a charging device, is characterized in that, comprising:
Charging type testing circuit, the charger type inserting for detection of user is AC charger or USB charger, described charging type testing circuit comprises: triode Q2, Q3 and Q4, resistance R 6 are to R12; Wherein, after resistance R 6 and R7 series connection, be connected between VBUS and ground and form bleeder circuit, the emitter of triode Q2 is connected on resistance R 6 and R7 connecting place, the collector electrode of triode Q2 is connected on USB differential signal DP, resistance R 8 is as current-limiting resistance, the two ends of described resistance R 8 are connected to respectively in the universal input/output interface GPIO1 of CPU and the base stage of triode Q2, and resistance R 9 is received between the universal input/output interface GPIO1 and ground of CPU; The emitter of triode Q3 is connected on USB differential signal DM, the base stage of triode Q3 is connected to the universal input/output interface GPIO1 of CPU by current-limiting resistance R10, the collector electrode of triode Q3 is connected in the base stage of triode Q4 by current-limiting resistance R11, the grounded emitter of triode Q4, resistance R 12 is connected between the collector electrode of triode Q4 and VBUS as triode Q4 provides drive current, the charger type that the height state of the collector electrode output signal of triode Q4 reflection user inserts; Wherein by the output of described GPIO1, control conducting and the shutoff of triode Q2, Q3;
The second trickle charge stage charging current control circuit, for controlling the second trickle charge stage trickle-charge current according to the testing result of described charging type testing circuit, and make the second trickle charge stage trickle-charge current when USB charges be less than 100mA, and the second trickle charge stage trickle-charge current is larger when AC charges;
AC/USB charging current control circuit, for control each stage charging current of AC charger or USB charger according to the testing result of described charging type testing circuit, and makes AC and the USB charging current identical path of flowing through.
3. charging device according to claim 1 and 2, is characterized in that, when the signal of described charging type testing circuit output is low signal, detecting the charger inserting for user is AC charger; When the signal of described charging type testing circuit output is high signal, detecting the charger inserting for user is USB charger.
4. charging device according to claim 1 and 2, is characterized in that, the resistance of described resistance R 6 is 1.5K Ω, and the resistance of resistance R 7 is 510 Ω, and the resistance of resistance R 8 to R12 is respectively 4.7K Ω.
5. charging device according to claim 1 and 2, is characterized in that, described the second trickle charge stage charging current control circuit comprises: triode Q5, resistance R 4, R5 and R13; Wherein, resistance R 13 is connected between the base stage of triode Q5 and the output signal of described charging type testing circuit as current-limiting resistance, the transmitting collection ground connection of triode Q5, after resistance R 4 and R5 series connection, be connected between the pin and ground of controlling for the second trickle charge stage on charging chip, the collector electrode of triode Q5 is connected on resistance R 4 and R5 connecting place.
6. charging device according to claim 5, it is characterized in that, when described charging type testing circuit detects charger type that user inserts and is AC charger, charging type testing circuit output low signal, triode Q5 is obstructed, the second trickle charge stage charging current is determined by resistance R 4, R5, and meets R4+R5=R trickle2; When described charging type testing circuit detects charger type that user inserts and is USB charger, charging type testing circuit is exported high signal, triode Q5 conducting, and the second trickle charge stage charging current is determined by resistance R 4, and meets R4=R trickle1.
7. charging device according to claim 5, is characterized in that, the resistance R of described resistance R 4 trickle1, the resistance of resistance R 5 is R trickle2-R trickle1, the resistance of resistance R 13 is 4.7K Ω.
8. charging device according to claim 1 and 2, is characterized in that, described AC/USB charging current control circuit is controlled the charging current of AC charger or USB charger all successively by diode V1, triode Q1, resistance R 3, until battery.
9. a charging method, is characterized in that, comprising:
The charger type that detects user with testing circuit is AC charger or USB charger, and described testing circuit comprises: triode Q2, Q3 and Q4, resistance R 6 are to R12; Wherein, after resistance R 6 and R7 series connection, be connected between VBUS and ground and form bleeder circuit, the emitter of triode Q2 is connected on resistance R 6 and R7 connecting place, the collector electrode of triode Q2 is connected on USB differential signal DP, resistance R 8 is as current-limiting resistance, the two ends of described resistance R 8 are connected to respectively in the universal input/output interface GPIO1 of CPU and the base stage of triode Q2, and resistance R 9 is received between the universal input/output interface GPIO1 and ground of CPU; The emitter of triode Q3 is connected on USB differential signal DM, the base stage of triode Q3 is connected to the universal input/output interface GPIO1 of CPU by current-limiting resistance R10, the collector electrode of triode Q3 is connected in the base stage of triode Q4 by current-limiting resistance R11, the grounded emitter of triode Q4, resistance R 12 is connected between the collector electrode of triode Q4 and VBUS as triode Q4 provides drive current, the charger type that the height state of the collector electrode output signal of triode Q4 reflection user inserts; Wherein by the output of described GPIO1, control conducting and the shutoff of triode Q2, Q3;
The charger type that described detection user inserts is that AC charger or USB charger comprise:
What by judgement universal input/output interface GPIOx state, determine that user inserts is AC charger or USB charger, described GPIOx is the universal input/output interface of the CPU that is connected with described triode Q4 collector electrode, if GPIOx is high, the charger that is defined as user's insertion is USB charger, if GPIOx is low, the charger that is defined as user's insertion is AC charger;
According to testing result, automatically control the second trickle charge stage trickle-charge current, and make the second trickle charge stage trickle-charge current when USB charges be less than 100mA, and the trickle-charge current in the second trickle charge stage is larger when AC charges; And
According to testing result, control each stage charging current of AC charger or USB charger, and make AC and the USB charging current identical path of flowing through, and then complete the charging process of AC charger or USB charger.
CN200910056049.8A 2009-08-04 2009-08-04 Charging device and charging method Active CN101989749B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910056049.8A CN101989749B (en) 2009-08-04 2009-08-04 Charging device and charging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910056049.8A CN101989749B (en) 2009-08-04 2009-08-04 Charging device and charging method

Publications (2)

Publication Number Publication Date
CN101989749A CN101989749A (en) 2011-03-23
CN101989749B true CN101989749B (en) 2014-03-12

Family

ID=43746154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910056049.8A Active CN101989749B (en) 2009-08-04 2009-08-04 Charging device and charging method

Country Status (1)

Country Link
CN (1) CN101989749B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9327321B2 (en) 2011-11-09 2016-05-03 Mediatek Inc. Method and apparatus for performing system power management

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102290842A (en) * 2011-08-16 2011-12-21 惠州Tcl移动通信有限公司 Method for controlling charge currents of mobile terminals
US9148026B2 (en) 2011-09-30 2015-09-29 Fairchild Semiconductor Corporation Charger detection with proprietary charger support
CN105703429B (en) * 2011-12-28 2018-09-11 中兴通讯股份有限公司 A kind of charging method, mobile terminal, charging equipment and system
CN103701156A (en) * 2013-08-23 2014-04-02 赛龙通信技术(深圳)有限公司 Charge device and electronic equipment
CN103491248B (en) 2013-09-16 2016-01-20 华为技术有限公司 A kind of method of low electricity start and subscriber equipment
CN103887854A (en) * 2014-03-19 2014-06-25 深圳市中兴移动通信有限公司 Mobile terminal and charging control method thereof
CN105375544B (en) * 2014-08-29 2019-08-23 锐迪科(重庆)微电子科技有限公司 A kind of low battery method for charging batteries and power management integrated circuit
CN106856349B (en) * 2014-12-31 2019-11-12 展讯通信(上海)有限公司 Charging method, device, charger, charging equipment and charging system
CN105429213B (en) * 2015-11-30 2019-01-18 深圳市沃特沃德股份有限公司 System, the method that a kind of mobile terminal and its charging current are adjusted
CN106059010B (en) * 2016-07-29 2018-07-03 深圳市云充吧科技有限公司 A kind of mobile power and its data processing method
CN107872087B (en) * 2017-12-04 2021-01-26 努比亚技术有限公司 Charging circuit and charging method
CN110308349B (en) * 2019-07-05 2021-12-03 科大讯飞股份有限公司 Charging test method, intelligent charging product and charging test system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040058128A (en) * 2004-05-29 2004-07-03 류봉균 A mobilephone charger with an evdo socket
CN101022278A (en) * 2007-01-16 2007-08-22 华为技术有限公司 Terminal equipment, connector, charger and charging method
CN201087932Y (en) * 2007-03-12 2008-07-16 大唐移动通信设备有限公司 Battery charging circuit
CN101232196A (en) * 2008-02-02 2008-07-30 中兴通讯股份有限公司 Control circuit of charging mode in USB charging stand and method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040058128A (en) * 2004-05-29 2004-07-03 류봉균 A mobilephone charger with an evdo socket
CN101022278A (en) * 2007-01-16 2007-08-22 华为技术有限公司 Terminal equipment, connector, charger and charging method
CN201087932Y (en) * 2007-03-12 2008-07-16 大唐移动通信设备有限公司 Battery charging circuit
CN101232196A (en) * 2008-02-02 2008-07-30 中兴通讯股份有限公司 Control circuit of charging mode in USB charging stand and method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开2004-104998A 2004.04.02

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9327321B2 (en) 2011-11-09 2016-05-03 Mediatek Inc. Method and apparatus for performing system power management
US9859737B2 (en) 2011-11-09 2018-01-02 Mediatek Inc. Method and apparatus for performing system power management in electronic device equipped with battery

Also Published As

Publication number Publication date
CN101989749A (en) 2011-03-23

Similar Documents

Publication Publication Date Title
CN101989749B (en) Charging device and charging method
US8756358B2 (en) Method and device for identifying universal serial bus (USB) insertion or charger insertion of mobile terminal
CN102393837B (en) USB charger recognition device and method
CN111697663B (en) Charging circuit and charging cable
CN106291210B (en) USB interface detector, USB interface detection method, USB connector and electronic equipment
CN101232196B (en) Control circuit of charging mode in USB charging stand and method thereof
CN102055223B (en) USB special charger recognition circuit
CN102820682B (en) A kind of communicated by USB interface and be external equipment charging device and method
CN101398459B (en) Method and device for identifying charger type
CN101963835B (en) Electronic equipment and method for dynamically allocating USB port power
EP3086433A1 (en) Charging method, alternating current adaptor, charging management device and terminal
CN104767260A (en) Charger, terminal device and charging system
CN103064489A (en) Method for selecting internal circuit according to conditions of universal serial bus (USB) interface and terminal
CN100574041C (en) Charger type distinguishing system, terminal charging method, terminal and charger
US9018896B2 (en) Method and system for determining whether a portable device is charging
WO2011088672A1 (en) Intelligent charging method and device for terminal
US20110087805A1 (en) Multi-mode dongle for peripheral devices and associated methods
CN103457458A (en) Current switching control device and electronic device
CN103186483A (en) Terminal, and OTG (On-The-Go) function-charging function paralleled execution method used for same
CN102054370B (en) USB (universal serial bus) cable controller and electronic reading device using same
CN104978300A (en) Mobile terminal as well as detecting method and device for connection of mobile terminal and external equipment
CN105022468A (en) USB adapter and USB line
CN105071484B (en) A kind of charging method and device of the terminal with data exchanging function
CN104701937A (en) Charging method, terminal equipment and adapter
CN101179199A (en) Terminal and charging method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20110323

Assignee: Shanghai Li Ke Semiconductor Technology Co., Ltd.

Assignor: Leadcore Technology Co., Ltd.

Contract record no.: 2018990000159

Denomination of invention: Charging device and charging method

Granted publication date: 20140312

License type: Common License

Record date: 20180615