CN102231543B - System capable of identifying charging capability of charger and charging method thereof - Google Patents

System capable of identifying charging capability of charger and charging method thereof Download PDF

Info

Publication number
CN102231543B
CN102231543B CN201110176213.6A CN201110176213A CN102231543B CN 102231543 B CN102231543 B CN 102231543B CN 201110176213 A CN201110176213 A CN 201110176213A CN 102231543 B CN102231543 B CN 102231543B
Authority
CN
China
Prior art keywords
charger
pin
charging
selective switch
charging ability
Prior art date
Application number
CN201110176213.6A
Other languages
Chinese (zh)
Other versions
CN102231543A (en
Inventor
伍延椿
Original Assignee
惠州Tcl移动通信有限公司
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 惠州Tcl移动通信有限公司 filed Critical 惠州Tcl移动通信有限公司
Priority to CN201110176213.6A priority Critical patent/CN102231543B/en
Publication of CN102231543A publication Critical patent/CN102231543A/en
Application granted granted Critical
Publication of CN102231543B publication Critical patent/CN102231543B/en

Links

Abstract

The invention discloses a charging method capable of identifying the charging capability of a charger. The charging method comprises the following steps of: when a universal serial bus (USB)/charging multiplexing interface of electrical equipment generates a plugging interrupt signal, judging whether the charger is plugged into the multiplexing interface or not; if a judgment result indicates that the charger is plugged into the multiplexing interface, acquiring the charging capability detection voltage of the charger; querying a preset charging capability detection voltage-charging current comparison table according to the charging capability detection voltage of the charger to determine the charging capability of the charger; and correspondingly setting the charging current of the electrical equipment according to the charging capability of the charger. In addition, the invention discloses a system capable of identifying the charging capability of the charger. By the system and the charging method capable of identifying the charging capability of the charger in such a way, the charging capability of the charger is identified, and the charging current of the charger is further set properly to fully charge a battery and avoid the charger being burnt out.

Description

Can identify the system of charger charging ability

Technical field

The present invention relates to mobile phone technique field, particularly relate to a kind of system of identifying charger charging ability.

Background technology

Along with scientific and technological development, mobile phone, as a kind of electronic product of fast sale, has spread in various crowds.The charger matching with mobile phone, as a part of Cellphone Accessories, is indispensable.

Charger is varied in the market, and the electrical characteristic of charger is different, and particularly power curve is different.Ministry of Industry and Information sets about customizing unified USB/ charging multiplex interface standard, to reduce user to buy different mobile phones, causes the not spendable situation of former charger.The charger of prior art only allows user can insert at Mobile phone the charger of different brands from structure, yet the charging current of the charger of different brands is different, utilize the charger of different brands to charge, can cause battery to be not fully filled, reduce the useful life of battery, even can cause and burn out charger.

Therefore, need badly a kind of system of knowing charger charging ability is provided, to address the above problem.

Summary of the invention

The technical problem that the present invention mainly solves is to provide a kind of system of identifying charger charging ability, by identification charger charging ability and then the charging current of charger is set, can make battery be full of, and avoids burning out charger.

For solving the problems of the technologies described above, another technical solution used in the present invention is: a kind of system of identifying charger charging ability is provided, it comprises: power consumption equipment and charger, power consumption equipment comprises USB/ charging multiplex interface and processing module, multiplex interface produces interrupt signal, processing module comprises the first data terminal, the second data terminal and test side, the first data terminal is connected with the second pin of multiplex interface, the second data terminal is connected with the 3rd pin of multiplex interface, the charging ability that processing module detects charger by test side detects voltage, power consumption equipment comprises the first selective switch and the second selective switch, the first end of the first selective switch is connected with the first data terminal, the second end of the first selective switch is connected with the second pin of multiplex interface, the 3rd end of the first selective switch is connected with one end of the first resistance, the other end of the first resistance connects the first reference voltage, the first end of the second selective switch is connected with the second data terminal, the second end of the second selective switch is connected with the 3rd pin of multiplex interface, the 3rd end of the second selective switch is connected with test side, charger is connected with multiplex interface, the charging ability that processing module is obtained charger detects voltage, according to the charging ability of charger, detect voltage and inquire about default charging ability detection voltage-charging current table of comparisons, to determine the charging ability of charger, and according to the charging current of the charging ability relative set power consumption equipment of charger.

Wherein, charger further comprises a pull down resistor, and one end of pull down resistor is connected with the 3rd pin with the second pin of charger, and the other end of pull down resistor is connected with the 4th pin of charger.

Wherein, the first selective switch and the second selective switch further comprise a control end, and control end is connected with the GPIO end of power consumption equipment.

The invention has the beneficial effects as follows: be different from prior art, the system of identifying charger charging ability of the present invention, by identification charger charging ability and then the charging current of charger is set rightly, can make battery be full of, and avoids burning out charger.

Accompanying drawing explanation

Fig. 1 is the disclosed circuit structure diagram of identifying system one preferred embodiment of charger charging ability;

Fig. 2 is the disclosed schematic flow sheet of identifying charging method one preferred embodiment of charger charging ability.

Embodiment

First refer to Fig. 1, Fig. 1 is the disclosed circuit structure diagram of identifying system one preferred embodiment of charger charging ability.As shown in Figure 1, the system 10 of the disclosed charger identified charging ability comprises: power consumption equipment (not indicating) and charger 14.

In the present embodiment, power consumption equipment comprises: processing module 11, selective switch module 12, multiplex interface 13 and the first resistance R 1.Wherein, processing module 11 comprises the first data terminal 111, the second data terminal 112 and test side 113.Selective switch module 12 comprises the first selective switch 121, the second selective switch 122 and control end 123.Multiplex interface 13 comprises the first pin VBUS, the second pin D+, the 3rd pin D-, the 4th pin ID and the 5th pin GND, and multiplex interface 13 not only can be used as USB interface to carry out transfer of data but also can be used as charging inlet.

Particularly, the first data terminal 111 of processing module 11 is connected with the first end 1211 of the first selective switch 121, the second data terminal 112 of processing module 11 is connected with the first end 1221 of the second selective switch 122, and the test side 113 of processing module 11 is connected with the 3rd end 1223 of the second selective switch.The second end 1212 of the first selective switch 121 is connected with the second pin D+ of multiplex interface 13, and the 3rd end 1213 of the first selective switch 121 is connected with one end 152 of the first resistance R 1, and the other end 151 of the first resistance R 1 is connected with the first reference voltage V1.The second end 1222 of the second selective switch 122 is connected with the 3rd pin D-of multiplex interface 13.In the present embodiment, by control end 123, control the first selective switch 121 and the second selective switch 122.Particularly, power consumption equipment is further provided with GPIO end and is connected with the control end 123 of selectivity module 12, so that being connected to the second end 1222 selectivity of first end 1211 or the 3rd end 1213, the second selective switchs 122, the first selective switch 121 second end 1212 selectivity are connected to first end 1221 or the 3rd end 1223.

Charger 14 comprises the first pin VBUS, the second pin D+, the 3rd pin D-, the 4th pin GND and the second resistance R 2.Wherein, one end of the second resistance R 2 is connected with the 3rd pin D-with the second pin D+ of charger 14, the other end of the second resistance R 2 is connected with the 4th pin GND of charger 14, the second resistance R 2 is the pull down resistor of charger 14, the charging ability of charger 14 is determined by the second resistance R 2, the second resistance R 2 is larger, and the charging ability of corresponding charger 14 is stronger.

When charger 14 inserts USB/ charging multiplex interface 13, the first pin VBUS, the second pin D+, the 3rd pin D-and the corresponding connection of the 5th pin GND of the first pin VBUS of charger 14, the second pin D+, the 3rd pin D-and the 4th pin GND and multiplex interface 13.First, multiplex interface 13 produces interrupt signal and sends subscriber equipment to, and subscriber equipment, by the second pin D+ and the 3rd pin D-short circuit of multiplex interface 13 being detected, is that charger 14 inserts multiplex interface 13.Subsequently, subscriber equipment holds the second end 1212 of controlling the first selective switch 121 to be connected to the 3rd end 1213 by GPIO, the second end 1222 of the second selective switch 122 is connected to the 3rd end 1223, now the first pin VBUS of charger 14 is connected to battery (not shown) to be charged, the second pin D+ of charger 14 is connected to one end 152 of the first resistance R 1, the 3rd pin D-of charger 14 is connected to the test side 113 of processing module 11, one end ground connection of the second resistance R 2 of charger 14.Subsequently, the dividing potential drop that processing module 11 detects the second resistance R 2 by test side 113 is V2, and the pass of itself and the first reference voltage V1 is:

V 2 = V 1 ( R 2 R 1 + R 2 )

Thus, can show that the charging ability of charger 14 detects voltage V2 according to known V1 and R1, R2.Subsequently, processing module 11 detects voltage V2 according to the charging ability of charger 14 and inquires about default charging ability detection voltage-charging current table of comparisons, if detect at default charging ability the charging ability detection voltage V2 that inquires charger 14 in voltage-charging current table of comparisons, according to the charging current of the charging ability relative set power consumption equipment of charger 14; If detect at default charging ability the charging ability detection voltage V2 that does not inquire charger 14 in voltage-charging current table of comparisons, the charging current value that charger 14 is set is 100mA, and wherein table 1 is that default charging ability detects voltage-charging current table of comparisons.

The default charging ability of table 1 detects voltage-charging current table of comparisons

V2(V) V1(V) R1(KΩ) R2(KΩ) Charging ability 1.425 2.85 10 10 500mA 1.9 2.85 10 20 600mA 2.1375 2.85 10 30 700mA 2.28 2.85 10 40 800mA 2.375 2.85 10 50 1000mA

In table 1, the charging ability that inquires charger 14 in the default charging ability of table 1 detects voltage-charging current table of comparisons detects voltage V2, default charging ability detects voltage-charging current table of comparisons and arranges according to the second resistance R 2 of charger 14, the second resistance R 2 is larger, it is larger that the charging ability of corresponding charger 14 detects voltage, and corresponding charging current is larger.In addition, the charging ability of charger 14 detection voltage V2, the second resistance value R2 can arrange according to particular circuit configurations.

It should be noted that the processing module 11 at the present embodiment further comprises ADC modular converter (not shown), ADC modular converter detects voltage V2 by the charging ability of charger 14 and carries out digital-to-analogue conversion.In other embodiments, subscriber equipment is further provided with an ADC modular converter and the charging ability of charger 14 is detected to voltage V2 carries out digital-to-analogue conversion.In addition, selective switch module 12 for example can be FSUSB30, and those skilled in the art can expect utilizing other selective switchs IC to realize switching completely.

Refer to Fig. 2, Fig. 2 is the disclosed schematic flow sheet of identifying charging method one preferred embodiment of charger charging ability.As shown in Figure 2, the charging method of the disclosed charger identified charging ability comprises the following steps:

Step 201: when the USB/ charging multiplex interface 13 of power consumption equipment produces interrupt signal, determine whether that charger 14 inserts multiplex interface 13, if so, enter step 203, if not, enter step 202;

Particularly, in step 201, power consumption equipment receive interruption signal, and by detecting whether short circuit of the second pin D+ of multiplex interface 13 and the 3rd pin D-, to determine whether that charger 14 inserts multiplex interfaces 13.

If the second pin D+ of multiplex interface 13 and the 3rd pin D-be short circuit not, not that charger 14 inserts multiplex interface 13, enter step 202:

Proceed to other judgements, such as: determine whether that other plug-in units such as USB insert in multiplex interface 13;

If the second pin D+ of multiplex interface 13 and the 3rd pin D-short circuit, be that charger 14 inserts multiplex interface 13, enter step 203:

When judgment result is that charger 14 inserts multiplex interface 13, the charging ability that obtains charger 14 detects voltage V2;

Detailed, charger 14 comprises a drop-down resistance R 2, it is the dividing potential drop on pull down resistor R2 that the charging ability of charger 14 detects voltage V2.The charging ability of charger 14 determined by pull down resistor R2, and pull down resistor R2 is larger, and the charging ability of charger 14 detects that voltage V2 is larger, and the charging ability of corresponding charger 14 is stronger, and corresponding charging current is larger.

Step 204: detect voltage V2 according to charger 14 charging abilities and inquire about default charging ability detection voltage-charging current table of comparisons, to determine the charging ability of charger 14.

Particularly, in this step, judge whether the charging ability detection voltage V2 of charger 14 detects in voltage-charging current table of comparisons at default charging ability.

Wherein, default charging ability detects voltage-charging current table of comparisons and arranges according to the pull down resistor R2 of charger 14, and pull down resistor R2 is larger, and it is larger that the charging ability of corresponding charger 14 detects voltage V2, and corresponding charging current is larger.

Wherein, if inquire the charging ability of charger 14 in the default charging ability of table 1 detects voltage-charging current table of comparisons, do not detect voltage V2, enter step 205;

If inquire the charging ability of charger 14 in the default charging ability of table 1 detects voltage-charging current table of comparisons, detect voltage V2, enter step 206.

Step 205: the charging current value that charger 14 is set is 100mA;

Step 206: according to the charging current of the charging ability relative set power consumption equipment of charger 14.

Particularly, as shown in table 1, for example, it is 1.9V that the charging ability of charger 14 detects voltage V2, question blank 1, and its corresponding charging ability is 600mA, with the set point of 600mA, charges; And for example, it is 2.28V that the charging ability of charger 14 detects voltage V2, question blank 1, and its corresponding charging ability is 800mA, with the set point of 800mA, charges, by that analogy.

In sum, system and the charging method thereof of identifying charger charging ability of the present invention, by identification charger charging ability and then the charging current of charger is set rightly, can make battery be full of, and avoids burning out charger.

These are only embodiments of the invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes specification of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (1)

1. can identify a system for charger charging ability, it is characterized in that, described system comprises:
Power consumption equipment, described power consumption equipment comprises USB/ charging multiplex interface, processing module, selective switch module and GPIO end, described multiplex interface comprises the first pin VBUS, the second pin D+, the 3rd pin D-, the 4th pin ID and the 5th pin GND, described processing module comprises the first data terminal, the second data terminal and test side, described selective switch module comprises the first selective switch and the second selective switch, described the first data terminal is connected with the first end of described the first selective switch, described the second data terminal is connected with the first end of described the second selective switch, the second end of described the first selective switch is connected with the second pin D+ of described multiplex interface, the 3rd end of described the first selective switch is connected with one end of the first resistance, the other end of described the first resistance connects the first reference voltage V1, the first end of described the second selective switch is connected with described the second data terminal, the second end of described the second selective switch is connected with the 3rd pin D-of described multiplex interface, the 3rd end of described the second selective switch is connected with described test side, described GPIO end is connected with the control end of described selectivity module, so that the second end selectivity of described the first selective switch is connected to first end or the 3rd end, the second end selectivity of described the second selective switch is connected to first end or the 3rd end,
Charger, described charger comprises the first pin VBUS, the second pin D+, the 3rd pin D-, the 4th pin GND and pull down resistor, one end of described pull down resistor is connected with the 3rd pin D-with the second pin D+ of described charger, and the other end of pull down resistor is connected with the 4th pin GND of described charger, when described charger is connected with described multiplex interface: the first pin VBUS of described charger, the second pin D+, the first pin VBUS of the 3rd pin D-and the 4th pin GND and described multiplex interface, the second pin D+, the 3rd pin D-and the corresponding connection of the 5th pin GND, the second pin D+ of described multiplex interface and the 3rd pin D-short circuit produce interrupt signal and send to described power consumption equipment, to judge that described charger inserts described multiplex interface, the second end that described power consumption equipment is controlled described the first selective switch by described GPIO end is connected to the 3rd end, the second end of controlling described the second selective switch is connected to the 3rd end, the second pin D+ of described charger is connected with described one end of described the first resistance, the 3rd pin D-of described charger is connected to described test side, described one end ground connection of described pull down resistor, described processing module detects the dividing potential drop V2 on described pull down resistor by described test side, it is the dividing potential drop V2 on described pull down resistor that described charging ability detects voltage, according to the charging ability of described charger, detect voltage and inquire about default charging ability detection voltage-charging current table of comparisons, to determine the charging ability of described charger, and according to the charging current of power consumption equipment described in the charging ability relative set of described charger.
CN201110176213.6A 2011-06-28 2011-06-28 System capable of identifying charging capability of charger and charging method thereof CN102231543B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110176213.6A CN102231543B (en) 2011-06-28 2011-06-28 System capable of identifying charging capability of charger and charging method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110176213.6A CN102231543B (en) 2011-06-28 2011-06-28 System capable of identifying charging capability of charger and charging method thereof

Publications (2)

Publication Number Publication Date
CN102231543A CN102231543A (en) 2011-11-02
CN102231543B true CN102231543B (en) 2014-09-17

Family

ID=44844088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110176213.6A CN102231543B (en) 2011-06-28 2011-06-28 System capable of identifying charging capability of charger and charging method thereof

Country Status (1)

Country Link
CN (1) CN102231543B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9312576B2 (en) * 2012-02-15 2016-04-12 Htc Corporation Portable electronic devices capable of obtaining charging current value of charger and charging method thereof
CN102709970B (en) 2012-05-23 2015-09-16 中兴通讯股份有限公司 Charging circuit and control method thereof and device
JP2016531368A (en) * 2013-09-27 2016-10-06 インテル コーポレイション Apparatus and method for changing current limit value
CN103532211B (en) * 2013-10-29 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Terminal and charge control method
CN105281387A (en) * 2014-07-17 2016-01-27 中兴通讯股份有限公司 Charging method and device
CN104467117B (en) * 2014-12-31 2018-01-26 展讯通信(上海)有限公司 Charging method, device and charger
CN104467139B (en) * 2014-12-31 2017-10-24 展讯通信(上海)有限公司 charging method, device and charger
CN105846484A (en) * 2015-01-15 2016-08-10 中兴通讯股份有限公司 Charging control method, terminal, and charger
CN107104469A (en) * 2016-02-19 2017-08-29 德业科技股份有限公司 The electric supply installation and its method of charging current can be adjusted according to the pull down resistor value of mobile device
CN106374567A (en) * 2016-09-27 2017-02-01 奇酷互联网络科技(深圳)有限公司 Terminal equipment, charging method thereof and load capability detection device
CN106374309A (en) * 2016-11-02 2017-02-01 上海传英信息技术有限公司 USB transmission line, mobile terminal and USB charging method
CN106972568A (en) * 2017-04-13 2017-07-21 上海与德科技有限公司 Charging detecting circuit, method and electronic equipment
CN107394860A (en) * 2017-09-06 2017-11-24 芯海科技(深圳)股份有限公司 A kind of charging bluetooth earphone low current detection method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232196A (en) * 2008-02-02 2008-07-30 中兴通讯股份有限公司 Control circuit of charging mode in USB charging stand and method thereof
CN101383627A (en) * 2007-09-04 2009-03-11 大唐移动通信设备有限公司 Device and method for terminal charger charging, USB charging and data communication
CN101398459A (en) * 2008-10-28 2009-04-01 深圳华为通信技术有限公司 Method and device for identifying charger type

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050268000A1 (en) * 2004-05-28 2005-12-01 Carlson Mark J Accessory identifier in an electronic device
TW200713739A (en) * 2005-09-30 2007-04-01 Hon Hai Prec Ind Co Ltd Charging mode control circuit
KR100782271B1 (en) * 2005-11-28 2007-12-04 엘지전자 주식회사 Charging apparatus and method of mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101383627A (en) * 2007-09-04 2009-03-11 大唐移动通信设备有限公司 Device and method for terminal charger charging, USB charging and data communication
CN101232196A (en) * 2008-02-02 2008-07-30 中兴通讯股份有限公司 Control circuit of charging mode in USB charging stand and method thereof
CN101398459A (en) * 2008-10-28 2009-04-01 深圳华为通信技术有限公司 Method and device for identifying charger type

Also Published As

Publication number Publication date
CN102231543A (en) 2011-11-02

Similar Documents

Publication Publication Date Title
EP2650752B1 (en) Terminal device and power supply method for terminal device
JP6359459B2 (en) Mobile terminal and charging device and method thereof
JP5717005B2 (en) Method and terminal for selecting an internal circuit according to the status of a USB interface
CN106716389B (en) Method for fast USB charging, electronic device and charger device
CN106291210B (en) USB interface detector, USB interface detection method, USB connector and electronic equipment
CN103178583B (en) Mobile phone USB (Universal Serial Bus) interface charging system supporting charging for other mobile devices and charging realization method of mobile phone USB interface charging system
RU2587159C2 (en) Mobile terminal and interface connection method therefor
CN103986217B (en) A kind of charger and its implementation for adaptively exporting different voltages
CN102692987B (en) Electronic apparatus and electronic apparatus system
CN103106167B (en) A kind of USB device and control method thereof
CN101398459B (en) Method and device for identifying charger type
US9484759B2 (en) Method for detecting a type of charger coupled to an input-output circuit and input-output circuit therefor
CN103633709B (en) A kind of charging recognition system and recognition methods thereof
CN103208850B (en) The USB charging system of charge-variable voltage, charger and intelligent terminal
US8683087B2 (en) Mobile device auto detection apparatus and method
US9142985B2 (en) Battery charger for portable electronic equipment
KR20150065938A (en) High voltage dedicated charging port
CN103457458B (en) Current switching control appliance and electronic equipment
US9407987B2 (en) Audio interface self-adaptation device
US8225114B2 (en) Power supply device, portable electronic apparatus and related method for determining types of a power supply device
CN101426038B (en) Portable electronic device and accessory identification method
US20160336779A1 (en) Charging Method, Alternating Current Adaptor, Charging Management Device and Terminal
CN101320080B (en) Apparatuses and methods for detecting power source
US9448611B2 (en) Interface expending method and device for tablet computer
CN101667166B (en) Equipment identification method and device

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