CN104103868B - Charging method and system for charger of mobile terminal - Google Patents

Charging method and system for charger of mobile terminal Download PDF

Info

Publication number
CN104103868B
CN104103868B CN201410346744.9A CN201410346744A CN104103868B CN 104103868 B CN104103868 B CN 104103868B CN 201410346744 A CN201410346744 A CN 201410346744A CN 104103868 B CN104103868 B CN 104103868B
Authority
CN
China
Prior art keywords
charger
mobile terminal
usb interface
standard
charging
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
CN201410346744.9A
Other languages
Chinese (zh)
Other versions
CN104103868A (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.)
Hank Electronics Co Ltd
Original Assignee
TCL Communication Ningbo 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 TCL Communication Ningbo Ltd filed Critical TCL Communication Ningbo Ltd
Priority to CN201410346744.9A priority Critical patent/CN104103868B/en
Publication of CN104103868A publication Critical patent/CN104103868A/en
Application granted granted Critical
Publication of CN104103868B publication Critical patent/CN104103868B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a charging method and system for a charger of a mobile terminal. The method comprises the steps as follows: detecting whether a D+ end and a D- end of a USB port of the charger are short-circuited or not after preset time when the mobile terminal is charged by the charger, and if the D+ end and the D- end of the USB port of the charger are short-circuited, setting a charging current as a first current value; if the D+ end and the D- end of the USB port of the charger are not short-circuited, setting the charging current as a second current value, and detecting whether the D+ end and the D- end are short-circuited or not at intervals of the preset time. Thus, the mobile terminal can identify the type of the charger accurately, detection errors caused by arrangement of port structures of the USB port are avoided, the problem that the mobile terminal detects the standard charger as a non-standard charger by mistake is solved, and the great convenience is brought to users.

Description

A kind of charger charging method of mobile terminal and system
Technical field
The present invention relates to mobile terminal charging field, more particularly to a kind of mobile terminal charger charging method and System.
Background technology
As the use of the mobile terminals such as the continuous development of mobile terminal technology, mobile phone is increasingly popularized, during due to using Between it is longer so that the charging times of mobile terminal are more and more.The charger majority that mobile terminal is used at present is USB interface, This charger is divided into two kinds, and as shown in Fig. 1 ~ Fig. 3, Fig. 1 show the D+ ends of the USB interface of charger and D- terminal shortcircuits, this It is standard charger.The D+ ends that Fig. 2 and Fig. 3 show the USB interface of charger are not short-circuit with D- ends, wherein, Fig. 2 be D+ ends with D- ends are opened a way, and Fig. 3 is that D+ ends connect VBUS ends by a resistance, and D- ends connect GND ends by a resistance, and Fig. 2 and Fig. 3 is existing Two kinds of non-standard chargers.
At present, general mobile terminal can recognize the charger of both types, adopt after identifying as which kind of charger It is charged with corresponding charge parameter;In general, standard charger, its charging current are larger;The USB of non-standard charger Interface, its charging current are less.Rather than standard charger species is a lot, for example IPhone chargers, onboard charger(Though also it is USB interface, but its D+, D- be not short-circuit, therefore be non-standard charger)Deng the detection method only life of these non-standard chargers Just the manufacturer for producing charger is known, for safe charging and compatible these chargers, mobile terminal production firm typically all will be non- The charging current of standard charger is set to 0.5A.
Mobile terminal when detection is connected with charger, by judge charger USB interface D+ ends and D- ends whether Short circuit is judging charger for standard charger also criteria of right and wrong charger.When actually used, Fig. 4 is referred to, connect mobile whole End is connected by USB line with charger, and the USB interface of the USB line includes tetra- ports of VBUS, D+, D-, GND;Wherein, VBUS End is slightly longer than D+, D- two ends with GND ends, as shown in Figure 4;This is prior art.
Due to the VBUS ends and GND ends of USB interface in prior art it is slightly longer than D+ end and D- ends, it will cause mobile terminal Standard charger is detected into into non-standard charger, so that charging current is less, the charging interval is elongated, brings not to user Just.Fig. 5 is referred to specifically, Fig. 5 is connected the schematic diagram for charging for mobile terminal in prior art with charger, mobile terminal Usb 10 connects the USB interface 20 of charger by USB line 30.When charger being connected with mobile terminal using USB line 30 When, if insert action is slightly slow, as shown in figure 5, the VBUS ends of mobile terminal, GND ends VBUS ends respectively with charger, GND ends Correspondence is connected, but D+ ends, D- ends also do not correspond to successful connection;Cause standard charger is detected into mobile terminal non-standard Charger;Cause that charging current of user when using standard charger is less, the charging interval is elongated, brings greatly to user Inconvenience.
Therefore, prior art has yet to be improved and developed.
The content of the invention
The technical problem to be solved in the present invention is, there is provided a kind of charger charging method of mobile terminal and system, purport Error detection is produced so as to cause the charging current less charging interval longer to charger easily existing mobile terminal is solved Problem.
The technical proposal for solving the technical problem of the invention is as follows:
A kind of charger charging method of mobile terminal, wherein, comprise the following steps:
Whether A, detection mobile terminal have charger to access and charge, if it has, then execution step B;
B, after the scheduled time, detect whether the D+ ends of the USB interface of the charger short-circuit with D- ends, if it has, then The charger is standard charger;If it has not, then the charger is non-standard charger;
C, when the charger is standard charger, the size for arranging the charging current of the charger is the first electric current Value, and the mobile terminal is charged;When the charger is non-standard charger, the size for arranging charging current is Second current value, is charged to the mobile terminal, and return to step B.
The charger charging method of described mobile terminal, wherein, step A is specifically included:
Whether rising edge interruption is produced on A1, the VBUS ends of the USB interface of detection mobile terminal;If it has, then mobile whole End has charger to access and charge, and proceeds to step B;If it has not, then mobile terminal does not have charger to charge.
The charger charging method of described mobile terminal, wherein, step B is specifically included:
B1, startup time-out time are the intervalometer of the scheduled time, judge whether the intervalometer is overtime, if it has, then inspection Whether the D+ ends for surveying the USB interface of the charger are short-circuit with D- ends;
B2, some different magnitudes of voltage are exported to the D+ ends of the USB interface of the charger, and check the charger The corresponding voltage value at the D- ends of USB interface, judges whether the D+ ends of the USB interface of the charger are consistent with the voltage at D- ends, If so, then the charger is the standard charger at D+ ends and D- terminal shortcircuits;If it has not, then the charger is D+ ends and D- ends Not short-circuit non-standard charger.
The charger charging method of described mobile terminal, wherein, the scheduled time is 1 second.
The charger charging method of described mobile terminal, wherein, first current value is 1 ampere, the second current value For 0.5 ampere.
A kind of charger charging system of mobile terminal, wherein, including:
Charger connection detection module, for detecting whether mobile terminal has charger to access and charge;
Charger type detection module, for when detection mobile terminal be pre- timing when having charger to access and charge Between after, detect whether the D+ ends of the USB interface of the charger short-circuit with D- ends, if it has, then the charger is filled for standard Electrical equipment;If it has not, then the charger is non-standard charger;
Charge control module, for when the charger is non-standard charger, the size for arranging charging current is the Two current values, are charged to the mobile terminal, and the D+ of the USB interface for continuing the charger is detected after the scheduled time Whether end is short-circuit with D- ends;When the charger is standard charger, the size for arranging charging current is the first current value, and right The mobile terminal is charged.
The charger charging system of described mobile terminal, wherein, the charger connection detection module is moved for detecting Whether rising edge interruption is produced on the VBUS ends of the USB interface of dynamic terminal;If it has, then mobile terminal has charger to access and fill Electricity;If it has not, then mobile terminal does not have charger to charge.
The charger charging system of described mobile terminal, wherein, the charger type detection module includes:
Timing unit, for starting the intervalometer that time-out time is the scheduled time, judges whether the intervalometer is overtime;
Charger type detector unit, for when the timer expiry, to the D+ ends of the USB interface of the charger Export some different magnitudes of voltage, and check the corresponding voltage value at the D- ends of the USB interface of the charger, judge the charging Whether the D+ ends of the USB interface of device are consistent with the voltage at D- ends, and if so, then the charger is the standard at D+ ends and D- terminal shortcircuits Charger;If it has not, then the charger is D+ ends and the not short-circuit non-standard charger in D- ends.
The charger charging system of described mobile terminal, wherein, the scheduled time is 1 second.
The charger charging system of described mobile terminal, wherein, first current value is 1 ampere, the second current value For 0.5 ampere.
A kind of charger charging method and system of mobile terminal provided by the present invention, efficiently solves existing shifting Dynamic terminal easily produces error detection so as to cause charging current less charging interval longer problem to charger, is moved by detecting Whether dynamic terminal has charger to access and charge, if it has, then after the scheduled time, detecting the D of the USB interface of the charger Whether+end is short-circuit with D- ends;If short-circuit, the charger is standard charger;If not short-circuit, the charger is nonstandard Quasi- charger;When the charger is standard charger, the size for arranging the charging current of the charger is the first electric current Value, and the mobile terminal is charged;When the charger is non-standard charger, the size for arranging charging current is Second current value, is charged to the mobile terminal, and continuation detects the USB interface of the charger after the scheduled time Whether D+ ends are short-circuit with D- ends;Detect that the USB of charger connects after the scheduled time when mobile terminal has charger to charge Whether the D+ ends of mouth are short-circuit with D- ends, if short-circuit, setting charging current is the first current value;If not short-circuit, arrange and charge Whether electric current is the second current value, and short-circuit with D- ends every scheduled time detection D+ ends;Enable mobile terminal accurate The type of identification charger, it is to avoid the error detection that the port organization of USB interface is arranged and caused, it is to avoid mobile terminal will be marked Quasi- charger error detection is brought to user and is greatly facilitated into non-standard charger.
Description of the drawings
Schematic diagrams of the Fig. 1 for the USB interface of prior art Plays charger.
Fig. 2 is the schematic diagram of the USB interface first embodiment of non-standard charger in prior art.
Fig. 3 is the schematic diagram of the USB interface second embodiment of non-standard charger in prior art.
Fig. 4 is the practical structures schematic diagram of the USB interface of charger in prior art.
Fig. 5 is connected the schematic diagram for charging for mobile terminal in prior art with charger.
The flow chart of the charger charging method preferred embodiment of the mobile terminal that Fig. 6 is provided for the present invention.
The flow and method figure of the charger charging method Application Example of the mobile terminal that Fig. 7 is provided for the present invention.
The structured flowchart of the charger charging system preferred embodiment of the mobile terminal that Fig. 8 is provided for the present invention.
Specific embodiment
The present invention provides a kind of charger charging method and system of mobile terminal, to make the purpose of the present invention, technical side Case and advantage are clearer, clear and definite, and the present invention is described in more detail for the embodiment that develops simultaneously referring to the drawings.It should be appreciated that Specific embodiment described herein only to explain the present invention, is not intended to limit the present invention.
Refer to Fig. 6, the flow process of the charger charging method preferred embodiment of the mobile terminal that Fig. 6 is provided for the present invention Figure, as illustrated, the charger charging method of the mobile terminal is comprised the following steps:
Whether step S100, detection mobile terminal have charger to access and charge, if it has, then execution step S200;
Step S200, after the scheduled time, detect whether the D+ ends of the USB interface of the charger short-circuit with D- ends, if It is yes, then the charger is standard charger;If it has not, then the charger is non-standard charger;
Step S300, when the charger is standard charger, the size for arranging the charging current of the charger is First current value, and the mobile terminal is charged;When the charger is non-standard charger, charging current is set Size be the second current value, the mobile terminal is charged, and return to step S200.
Above-mentioned steps are described in detail with reference to specific embodiment.
In the step s 100, detect that mobile terminal is that whether charger is accessed and charged, if it has, then execution step S200.Specifically, the mobile terminal can be the mobile terminals with USB interface such as mobile phone, panel computer.It is described mobile whole The USB interface at end can be used for charging and data transfer etc., and the USB interface of the charger is described by USB line correspondence connection The USB interface of mobile terminal, so as to charge to mobile terminal.The charging input USB interface of the mobile terminal includes VBUS, D +, tetra- pins of D-, GND, wherein VBUS ends be USB power source, GND ends for ground connection, D+ ends be USB data line(Just), D- ends are USB data line(It is negative).This is prior art, is only briefly described.In practical application, mobile terminal detects its input of charging Whether rising edge interruption is produced on the VBUS ends of USB interface;If it has, then mobile terminal has charger to access and charge, proceed to Step S200;If it has not, then mobile terminal does not have charger to charge.This is, as charger is when charging to mobile terminal, to move The VBUS ends of the USB interface of dynamic terminal can all produce rising edge interruption, by detecting that mobile terminal detects that its input USB that charges connects Rising edge on the VBUS ends of mouth interrupts and just can detect whether charger accesses mobile terminal and charge.
In step s 200, after the scheduled time, detect whether the D+ ends of the USB interface of the charger are short with D- ends Road, if it has, then the charger is standard charger;If it has not, then the charger is non-standard charger.It is concrete next Say, when charger access mobile terminal is detected and charge, then illustrate that the VBUS ends of mobile terminal are corresponding with GND ends and is connected to The VBUS ends and GND ends of charger.Step S200 is exactly pre- when charger access mobile terminal is detected and charge After fixing time, mobile terminal detects whether the D+ ends of the USB interface of the charger are short-circuit with D- ends, if short-circuit, illustrate institute Charger is stated for standard charger;If not short-circuit, illustrate that the charger is non-standard charger;It is achieved thereby that mobile whole Hold to charger be whether standard charger detection.
In step S300, when the charger is standard charger, arrange the charger charging current it is big Little is the first current value, and the mobile terminal is charged;When the charger is non-standard charger, arranges and charge The size of electric current is the second current value, and the mobile terminal is charged, and return to step S200.Specifically, work as detection When being standard charger to the charger, then the charging current that mobile terminal arranges the charger is the first electric current It is worth, for example 1A, so as to charge to mobile terminal;When it is non-standard charger to detect the charger, then mobile terminal sets The charging current for putting the charger is the second current value, for example 0.5A, so as to charge to mobile terminal, and also is returned Step S200.That is, after charger is detected for non-standard charger, it is 0.5A that mobile terminal arranges charging current, Then continue to detect whether D+ ends are short-circuit with D- ends again after the scheduled time, if that is, detecting charger for non-standard charging Device, then detect whether the D+ ends of the USB interface of the charger are short-circuit with D- ends at predetermined time intervals, until mobile terminal charges Complete, or mobile terminal detects charger for standard charger.So, the present invention just realizes and avoids missing standard charger Be detected as non-standard charger, it is to avoid occur when standard charger is detected into non-standard charger by mobile terminal charging current compared with Elongated situation of little and charging interval.
Further, first current value is 1 ampere, and the second current value is 0.5 ampere, and the two current values are mobile The charging current value of the charging current value of the standard charger of terminal and non-standard charger.It is of course also possible to according to actual ginseng Number is required and demand is configured.
Further, step S200 is specifically included:
S210, startup time-out time are the intervalometer of the scheduled time, judge whether the intervalometer is overtime, if it has, then Detect whether the D+ ends of the USB interface of the charger are short-circuit with D- ends;
S220, some different magnitudes of voltage are exported to the D+ ends of the USB interface of the charger, and check the charger USB interface D- ends corresponding voltage value, judge the voltage whether one at D+ ends and the D- ends of the USB interface of the charger Cause, if so, then the charger is the standard charger at D+ ends and D- terminal shortcircuits;If it has not, then the charger be D+ ends with The not short-circuit non-standard charger in D- ends.
Specifically, an intervalometer is set in the terminal, and its time-out time is the scheduled time.Then in detection movement When terminal is that have charger to access and charge, start the intervalometer, when the timer expiry, detect the charger Whether the D+ ends of USB interface are short-circuit with D- ends.As for specifically how to detect whether short circuit, several can be exported by mobile terminal The electricity at D+ end of the different magnitudes of voltage to the USB interface of charger, mobile terminal the D- ends by the USB interface for detecting charger Whether pressure is consistent with the magnitude of voltage of mobile terminal output, thinks charger for standard charger if consistent, otherwise it is assumed that charging Device is non-standard charger.For example, successively by mobile terminal output voltage 2V, 3V, 4V;If the voltage for detecting D- ends successively is 2V, 3V, 4V then think the standard charger that the charger of mobile terminal connection is D+, D- short circuit;Otherwise it is assumed that mobile terminal connects The charger for connecing is the not short-circuit non-standard charger of D+, D-.
In practical application, the scheduled time is 1 second.That is charger is being detected for non-standard charger Afterwards, it is 0.5A that mobile terminal arranges charging current, and every an i.e. 1 second scheduled time, detects the type of charger again, if short-circuit Be then standard charger, settings charging current is 1A, if not short-circuit, for non-standard charger, continue waiting for the scheduled time it Detect again afterwards, until mobile terminal stops charging, charging complete or detects charger for standard charger.
Below with an Application Example, the step of the present invention is described in detail, Fig. 7 is referred to, Fig. 7 is carried for the present invention For mobile terminal charger charging method Application Example flow and method figure.The charger charging side of the mobile terminal Method is comprised the following steps that:S10, when on the VBUS ends for detecting mobile terminal USB interface produce rising edge interrupt when think move Dynamic terminal is connected with charger.Subsequently into step S20, start the intervalometer that time-out time is 1 second.S30, judge intervalometer It is whether overtime, if it has, then step S40 is entered, if it has not, then continuing to judge whether intervalometer is overtime.S40, detection charger USB interface D+ ends and D- ends it is whether short-circuit, if it has, then into step S50, arrange charging current be charged for 1A, Off Timer;If it has not, be then charged into step S60, setting charging current for 0.5A, and return to step S20.
The charger charging method of the mobile terminal that the present invention is provided, it is to avoid by standard charger error detection into non-standard Charger, it is to avoid standard charger is detected into non-standard charger by mobile terminal, and constantly charging current is less and the charging interval Elongated problem, improves the accuracy rate of charger detection, brings to user and greatly facilitate.
Based on the charger charging method of above-mentioned mobile terminal, present invention also offers a kind of charger of mobile terminal fills Electric system, as shown in figure 8, the system includes:
Charger connection detection module 210, for detecting whether mobile terminal has charger to access and charge;It is concrete such as to walk Described in rapid S100.
Charger type detection module 220, for when detection mobile terminal be pre- when having charger to access and charge After fixing time, detect whether the D+ ends of the USB interface of the charger are short-circuit with D- ends, if it has, then the charger is mark Quasi- charger;If it has not, then the charger is non-standard charger;Specifically as described in step S200.
Charge control module 230, for when the charger be non-standard charger when, arrange charging current size be Second current value, is charged to the mobile terminal, and continuation detects the USB interface of the charger after the scheduled time Whether D+ ends are short-circuit with D- ends;When the charger is standard charger, the size for arranging charging current is the first current value, and The mobile terminal is charged;Specifically as described in step S300.
In practical application, please continue to refer to Fig. 8, the charger connection detection module 210, charger type detects mould Block 220 and charge control module 230 are arranged in the central processing unit 200 of mobile terminal, and the USB of correspondence connection mobile terminal Interface 100.
Further, the charger connection detection module 210, for detecting the VBUS ends of the USB interface of mobile terminal On whether produce rising edge interruption;If it has, then mobile terminal has charger to access and charge;If it has not, then mobile terminal does not have There is charger to charge.
Further, the charger type detection module 220 includes:
Timing unit, for starting the intervalometer that time-out time is the scheduled time, judges whether the intervalometer is overtime;
Charger type detector unit, for when the timer expiry, to the D+ ends of the USB interface of the charger Export some different magnitudes of voltage, and check the corresponding voltage value at the D- ends of the USB interface of the charger, judge the charging Whether the D+ ends of the USB interface of device are consistent with the voltage at D- ends, and if so, then the charger is the standard at D+ ends and D- terminal shortcircuits Charger;If it has not, then the charger is D+ ends and the not short-circuit non-standard charger in D- ends.
Preferably, the scheduled time is 1 second.Preferably, first current value is 1 ampere, and the second current value is 0.5 Ampere.
In sum, the charger charging method and system of a kind of mobile terminal that the present invention is provided, by mobile terminal Detect after scheduled time when having charger to charge whether the D+ ends of the USB interface of charger are short-circuit with D- ends, if short-circuit, set Charging current is put for the first current value;If not short-circuit, setting charging current is the second current value, and is examined every a scheduled time Survey D+ ends whether short-circuit with D- ends;The mobile terminal is enabled to accurately identify the type of charger, it is to avoid the port of USB interface Structure setting and the error detection that causes, it is to avoid mobile terminal by standard charger error detection into non-standard charger, to user Bring and greatly facilitate.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, and for those of ordinary skills, can To be improved according to the above description or be converted, all these modifications and variations should all belong to the guarantor of claims of the present invention Shield scope.

Claims (6)

1. the charger charging method of a kind of mobile terminal, it is characterised in that comprise the following steps:
Whether A, detection mobile terminal have charger to access and charge, if it has, then execution step B;
B, after the scheduled time, detect whether the D+ ends of the USB interface of the charger short-circuit with D- ends, if it has, then described Charger is standard charger;If it has not, then the charger is non-standard charger;
C, when the charger is standard charger, the size for arranging the charging current of the charger is the first current value, And the mobile terminal is charged;When the charger is non-standard charger, the size for arranging charging current is the Two current values, are charged to the mobile terminal, and return to step B;
Step B is specifically included:
B1, startup time-out time are the intervalometer of the scheduled time, judge whether the intervalometer is overtime, if it has, then detection institute Whether the D+ ends for stating the USB interface of charger are short-circuit with D- ends;
B2, some different magnitudes of voltage are exported to the D+ ends of the USB interface of the charger, and check the USB of the charger The corresponding voltage value at the D- ends of interface, judges whether the D+ ends of the USB interface of the charger are consistent with the voltage at D- ends, if It is that then the charger is the standard charger at D+ ends and D- terminal shortcircuits;If it has not, then the charger be D+ ends and D- ends not The non-standard charger of short circuit, mobile terminal can accurately identify the type of charger, it is to avoid the port organization of USB interface sets The error detection put and cause;
Step A is specifically included:
Whether rising edge interruption is produced on A1, the VBUS ends of the USB interface of detection mobile terminal;If it has, then mobile terminal has Charger is accessed and is charged, and proceeds to step B;If it has not, then mobile terminal does not have charger to charge;Charger is to mobile terminal During charging, the VBUS ends of the USB interface of mobile terminal can all produce rising edge interruption, by detecting that mobile terminal detects its charging Rising edge on the VBUS ends of input USB interface interrupts and just can detect whether charger accesses mobile terminal and charge.
2. the charger charging method of mobile terminal according to claim 1, it is characterised in that the scheduled time is 1 Second.
3. the charger charging method of mobile terminal according to claim 1, it is characterised in that first current value is 1 ampere, the second current value is 0.5 ampere.
4. the charger charging system of a kind of mobile terminal, it is characterised in that include:
Charger connection detection module, for detecting whether mobile terminal has charger to access and charge;
Charger type detection module, for when detection mobile terminal be scheduled time when having charger to access and charge Afterwards, detect whether the D+ ends of the USB interface of the charger are short-circuit with D- ends, if it has, then the charger is standard charging Device;If it has not, then the charger is non-standard charger;
Charge control module, for when the charger is non-standard charger, the size for arranging charging current is second electric Flow valuve, is charged to the mobile terminal, and continue detect after the scheduled time charger USB interface D+ ends with Whether D- ends are short-circuit;When the charger is standard charger, the size for arranging charging current is the first current value, and to described Mobile terminal is charged;
The charger type detection module includes:
Timing unit, for starting the intervalometer that time-out time is the scheduled time, judges whether the intervalometer is overtime;
Charger type detector unit, for when the timer expiry, to the D+ ends output of the USB interface of the charger Some different magnitudes of voltage, and the corresponding voltage value at the D- ends of the USB interface of the charger is checked, judge the charger Whether the D+ ends of USB interface are consistent with the voltage at D- ends, and if so, then the charger is the standard charging at D+ ends and D- terminal shortcircuits Device;If it has not, then the charger is D+ ends and the not short-circuit non-standard charger in D- ends, mobile terminal can be accurately identified and be filled The type of electrical equipment, it is to avoid the error detection that the port organization of USB interface is arranged and caused;
The charger connection detection module, whether produce rising edge for detecting on the VBUS ends of the USB interface of mobile terminal Interrupt;If it has, then mobile terminal has charger to access and charge;If it has not, then mobile terminal does not have charger to charge;Charge When charging to mobile terminal, the VBUS ends of the USB interface of mobile terminal can all produce rising edge interruption to device, by detecting movement Terminal detects the rising edge on the VBUS ends of its input USB interface that charges to interrupt just and can detect whether charger accesses mobile terminal And charge.
5. the charger charging system of mobile terminal according to claim 4, it is characterised in that the scheduled time is 1 Second.
6. the charger charging system of mobile terminal according to claim 4, it is characterised in that first current value is 1 ampere, the second current value is 0.5 ampere.
CN201410346744.9A 2014-07-21 2014-07-21 Charging method and system for charger of mobile terminal Active CN104103868B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410346744.9A CN104103868B (en) 2014-07-21 2014-07-21 Charging method and system for charger of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410346744.9A CN104103868B (en) 2014-07-21 2014-07-21 Charging method and system for charger of mobile terminal

Publications (2)

Publication Number Publication Date
CN104103868A CN104103868A (en) 2014-10-15
CN104103868B true CN104103868B (en) 2017-04-12

Family

ID=51671811

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410346744.9A Active CN104103868B (en) 2014-07-21 2014-07-21 Charging method and system for charger of mobile terminal

Country Status (1)

Country Link
CN (1) CN104103868B (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104348238B (en) * 2014-11-13 2017-05-10 惠州Tcl移动通信有限公司 Charging voltage control device, mobile terminal and control method
CN104333088A (en) * 2014-11-18 2015-02-04 惠州Tcl移动通信有限公司 Method and system for preventing battery electric leakage after full charge of mobile terminal
US9577452B2 (en) * 2014-12-05 2017-02-21 Htc Corporation Portable electronic device and charging method therefor
CN104767180B (en) * 2015-03-20 2018-06-08 深圳市万普拉斯科技有限公司 The guard method of USB interface large current charge and system
CN105826961B (en) * 2015-06-29 2019-01-29 维沃移动通信有限公司 The device of electronic equipment standard configuration charger for identification
CN105826975B (en) * 2016-03-25 2018-07-27 维沃移动通信有限公司 A kind of charging circuit, mobile terminal and charge control method
CN106026298A (en) * 2016-07-25 2016-10-12 Tcl移动通信科技(宁波)有限公司 USB (Universal Serial Bus) based charging debugging method and system for mobile terminal
CN110120693A (en) * 2016-09-21 2019-08-13 奇酷互联网络科技(深圳)有限公司 Mobile device and its charging method
CN106792131B (en) * 2016-12-23 2019-08-02 东软集团股份有限公司 Data transmission method and device
CN108347070A (en) * 2017-01-25 2018-07-31 维沃移动通信有限公司 A kind of method and mobile terminal, charging equipment of charging
CN106849246A (en) * 2017-03-01 2017-06-13 顺丰科技有限公司 Charging inlet short-circuit detecting device, mobile terminal and method for detecting short circuit
CN106877452B (en) * 2017-03-31 2020-02-21 联想(北京)有限公司 Charging method and charging device
CN107359661A (en) * 2017-07-31 2017-11-17 上海与德科技有限公司 Charger, charging system and charging method
CN107742909A (en) * 2017-10-30 2018-02-27 深圳依偎控股有限公司 Charging circuit, intelligent terminal and its charging method
CN107769320A (en) * 2017-11-10 2018-03-06 深圳天珑无线科技有限公司 A kind of mobile terminal and its charge control method and system
CN108270266A (en) * 2018-01-22 2018-07-10 维沃移动通信有限公司 A kind of charging method and charger
CN108448177B (en) * 2018-03-14 2019-12-20 维沃移动通信有限公司 Charging method and terminal
CN110213754B (en) * 2019-05-13 2022-08-30 惠州Tcl移动通信有限公司 Bluetooth sharing method based on mobile terminal, storage medium and mobile terminal
CN112737061A (en) * 2021-01-22 2021-04-30 惠州Tcl移动通信有限公司 Charger charging processing method and device, charging terminal equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101627348A (en) * 2007-03-14 2010-01-13 索尼爱立信移动通讯股份有限公司 Charging cable with USB-like connector
CN101674366A (en) * 2009-09-19 2010-03-17 惠州Tcl移动通信有限公司 Mobile terminal USB, or charger inserting identification method and identification device thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080272741A1 (en) * 2007-05-03 2008-11-06 Summit Microelectronics, Inc. Systems and methods for detecting power sources

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101627348A (en) * 2007-03-14 2010-01-13 索尼爱立信移动通讯股份有限公司 Charging cable with USB-like connector
CN101674366A (en) * 2009-09-19 2010-03-17 惠州Tcl移动通信有限公司 Mobile terminal USB, or charger inserting identification method and identification device thereof

Also Published As

Publication number Publication date
CN104103868A (en) 2014-10-15

Similar Documents

Publication Publication Date Title
CN104103868B (en) Charging method and system for charger of mobile terminal
US20160181843A1 (en) Power supply terminal, and charging control method and apparatus
CN104617615B (en) Charging method and electronic equipment
CN103269106A (en) Charging method for setting charging current automatically and mobile terminal
CN102769156A (en) Quick charging method
CN104009265B (en) A kind of battery activated method and apparatus of mobile terminal
CN103616551B (en) The terminal and cell voltage acquisition methods of cell voltage can be accurately obtained when charging
CN102005795A (en) Electric quantity detecting device for rechargeable battery
CN102944845A (en) Method and system for detecting electric quantity of battery in constant-voltage charging process of mobile terminal
CN105403764A (en) Mobile terminal power consumption test system and method
CN102938572A (en) Method and system capable of automatically recognizing non-standard charger and setting charging current of non-standard charger
CN107658916A (en) Cue circuit and electronic equipment
CN106329654A (en) Electronic device and charging method thereof
CN202798035U (en) Charging mode detection circuit and mobile terminal
CN112018463A (en) Battery charging method, device, equipment and medium
CN105826962B (en) Poewr control method and device in a kind of charging process
US9570932B2 (en) Charging current setting method and charging module
CN104795864B (en) A kind of mobile terminal and charged state detection method of accurate detection charged state
CN103078363A (en) Battery cell identification circuit and identification method thereof
CN103033763B (en) A kind ofly show the method and system of battery electric quantity when controlling mobile terminal charging
CN106300549A (en) Electronic installation and charging method thereof
CN103633705A (en) Terminal and method of precisely acquiring battery voltage by discharging during charging
CN106597085B (en) Power consumption testing method, device and system
CN106655401A (en) Charging method and charging equipment
US10644361B2 (en) Electronic device and method for charging and managing power of electronic 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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20211202

Address after: 264200 No. 369-11, Shuangdao Road, Weihai high district, Weihai City, Shandong Province

Patentee after: Weihai Regional Innovation Center Co.,Ltd.

Address before: 6 / F, No.5, Lane 999, Yangfan Road, high tech Zone, Ningbo, Zhejiang 315100

Patentee before: TCL COMMUNICATION (NINGBO) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240401

Address after: Room 1108, Building A, Innovation and Entrepreneurship Base, No.213-2 Torch Road, Torch High tech Industrial Development Zone, Weihai City, Shandong Province, 264200

Patentee after: Shandong Xinsheng Information Technology Co.,Ltd.

Country or region after: China

Address before: 264200 No. 369-11, Shuangdao Road, Weihai high district, Weihai City, Shandong Province

Patentee before: Weihai Regional Innovation Center Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240409

Address after: 518000 Room 201, building 2, phase I, Tian'an cloud Valley Industrial Park, Gangtou community, Bantian street, Longgang District, Shenzhen City, Guangdong Province

Patentee after: HANK ELECTRONICS Co.,Ltd.

Country or region after: China

Address before: Room 1108, Building A, Innovation and Entrepreneurship Base, No.213-2 Torch Road, Torch High tech Industrial Development Zone, Weihai City, Shandong Province, 264200

Patentee before: Shandong Xinsheng Information Technology Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right