CN105098900B - Mobile terminal, can directly charge source adapter and charging method - Google Patents

Mobile terminal, can directly charge source adapter and charging method Download PDF

Info

Publication number
CN105098900B
CN105098900B CN201510473330.7A CN201510473330A CN105098900B CN 105098900 B CN105098900 B CN 105098900B CN 201510473330 A CN201510473330 A CN 201510473330A CN 105098900 B CN105098900 B CN 105098900B
Authority
CN
China
Prior art keywords
charging
mobile terminal
charge
source adapter
directly
Prior art date
Application number
CN201510473330.7A
Other languages
Chinese (zh)
Other versions
CN105098900A (en
Inventor
胡二勐
尹荣贻
张新涛
杜文娟
Original Assignee
青岛海信移动通信技术股份有限公司
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 青岛海信移动通信技术股份有限公司 filed Critical 青岛海信移动通信技术股份有限公司
Priority to CN201510473330.7A priority Critical patent/CN105098900B/en
Publication of CN105098900A publication Critical patent/CN105098900A/en
Application granted granted Critical
Publication of CN105098900B publication Critical patent/CN105098900B/en

Links

Classifications

    • 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
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety devices
    • H02J7/0036Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety devices using connection detecting circuits
    • 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
    • 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
    • H02J7/02Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries for charging batteries from ac mains by converters
    • H02J7/04Regulation of charging current or voltage
    • H02J7/042Regulation of charging current or voltage the charge cycle being controlled in response to a measured parameter
    • H02J7/045Regulation of charging current or voltage the charge cycle being controlled in response to a measured parameter in response to voltage or current
    • H02J2207/20
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • H02J50/10Circuit arrangements or systems for wireless supply or distribution of electric power using inductive coupling
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • H02J50/10Circuit arrangements or systems for wireless supply or distribution of electric power using inductive coupling
    • H02J50/12Circuit arrangements or systems for wireless supply or distribution of electric power using inductive coupling of the resonant type
    • H02J7/00034
    • 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
    • H02J7/0042Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction
    • H02J7/0044Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction specially adapted for holding portable devices containing batteries
    • 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
    • H02J7/02Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries for charging batteries from ac mains by converters
    • H02J7/022Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries for charging batteries from ac mains by converters characterised by the type of converter
    • H02J7/025Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries for charging batteries from ac mains by converters characterised by the type of converter using non-contact coupling, e.g. inductive, capacitive

Abstract

The invention discloses a kind of mobile terminal, can directly charge source adapter and charging method, mobile terminal is by detecting the short circuit situations of two communications pins in its USB interface, and when the external equipment of insertion is power supply adaptor, by the way of communicating with power supply adaptor, automatic identification of the mobile terminal to external charging equipment type is realized.Simultaneously, for can directly charge, source adapter designs special fast charge pattern, the period charged is concentrated in the battery of mobile terminal, high current is carried out using the charging voltage for the source adapter output that can directly charge to battery directly to fill, and the volt value of the charging voltage is dynamically adjusted according to the variation of cell voltage, thus on the premise of battery charging safety is ensured, realize being substantially improved for battery charging rate, shorten the time needed for mobile terminal single charge, it reduces because mobile terminal needs frequently, it is charged for a long time to influence caused by user's routine use, largely improve the satisfaction that user uses.

Description

Mobile terminal, can directly charge source adapter and charging method

Technical field

The invention belongs to DC charging technical fields, are to be related to a kind of be used for the electricity inside mobile terminal specifically The method and support the mobile terminal of the charging method and the source adapter that can directly charge that pond is charged.

Background technology

At present, portable mobile termianl has been deep into the every aspect of people's life, becomes before leading semiconductor industry Into leading force.Current portable mobile termianl uses rechargeable battery to power for the circuit system of interiors of products mostly. The function of being supported with portable product is increasingly various, and the power consumption of circuit system also increases therewith, has in battery capacity In the case of limit, the cruising time after product charges is gradually shortened, and charging operations is caused to become more and more frequently.

At present, there are mainly two types of widely used battery charging arrangements:A kind of is to utilize conventional power supply adaptor(It charges Device)It charges for battery, i.e. standard DCP charging modes, this conventional power adapter normally only supports the fixed electricity such as 5V/9V/12V Pressure output, the selectivity of output voltage is relatively small, and the charging time is longer, such as one piece of battery of mobile phone is from being depleted to fully charged institute The time needed is generally when 3-4 is small;Another kind is to utilize host(Such as computer etc.)It charges for battery, i.e. SDP charging modes, This charging modes, since the charging voltage exported by host is constant, and charging current is smaller, it is therefore desirable to than standard DCP The charging modes longer charging time.The longer charging time, which drastically influences user, makes the daily of portable mobile termianl With largely reducing the satisfaction that user uses.

The content of the invention

It is an object of the invention to provide a kind of mobile terminal, can directly charge source adapter and charging method, to accelerate electricity The charging rate in pond.

In one aspect, the present invention proposes a kind of charging method of mobile terminal, including:Mobile terminal detects it Have external equipment insertion on USB interface, judge USB interface two differential data pins whether short circuit;If short circuit, with insertion External device communication;If external equipment can directly to charge source adapter, can directly charge, source adapter is by its charging interface Two communications pins switch to off-state from the short circuit state of acquiescence, and communicate with the mobile terminal;Mobile terminal With after the source adapter success communication that can directly charge, detecting the voltage of its battery, if cell voltage directly fills threshold value default In the range of, then the battery is plugged in by the charging voltage for the source adapter output that can directly charge, and according to current battery electricity The charging voltage value of the definite source adapter that can directly charge of pressure.

In order to realize identification of the mobile terminal to the charger type of insertion, the present invention proposes following three kinds of preferred differentiation sides Formula:

First way is that for mobile terminal when the external equipment with insertion is communicated, mobile terminal is first to outside Equipment exports dedicated pulse shape;After postponing a preset time, mobile terminal interacts instruction of shaking hands with external equipment, if shaking hands Success, then the external equipment for judging insertion is the source adapter that can directly charge;If shaking hands unsuccessfully, judging the external equipment of insertion is Conventional power adapter;

The second way is, mobile terminal when the external equipment with insertion is communicated, mobile terminal setting etc. It the communications command that external equipment to be received is sent such as treats in the time, if receiving communications command, judges the external equipment of insertion It is the source adapter that can directly charge;Otherwise, it is determined that the external equipment of insertion is conventional power adapter;

The third mode is, mobile terminal when the external equipment with insertion is communicated, mobile terminal setting etc. It treats that outwards portion's equipment sends communications command for timing in the time, and waits the acknowledgement command of feedback to be received, if in the stand-by period Effective acknowledgement command is inside received, then the external equipment for judging insertion is the source adapter that can directly charge;Otherwise, it is determined that insertion External equipment is conventional power adapter.

When mobile terminal using can directly charging source adaptor charge when, can be using can directly fill in order to accelerate charging rate Power supply adaptor output charging voltage the battery inside mobile terminal is directly filled, but during battery directly fills, it is necessary to According to the battery core voltage V of batterybat_realThe charging voltage value for the source adapter output that can directly charge dynamically is adjusted, to ensure battery Charging safety.Specific regulative mode, the present invention propose following three kinds of preferred designs:

The first scheme is that mobile terminal is according to the battery core voltage V detectedbat_realThe default table of comparisons is searched, is obtained Vbat_realTarget charging voltage value V corresponding to residing segmentout, the source adapter that can directly charge is sent to, to determine directly to fill The charging voltage value of power supply adaptor output;

Second scheme is the battery core voltage V that mobile terminal will detectbat_realThe source adapter that can directly charge is sent to, By can directly charge, source adapter searches the default table of comparisons, to obtain Vbat_realTarget corresponding to residing segment charges Voltage value Vout, and receive the target charging voltage that the source adapter that can directly charge adjusts output;

The third scheme is that mobile terminal is determined according to the battery backed maximum terminal voltage and the internal resistance of cell Charging current maximum Imax, then according to ImaxDetermine current battery core voltage Vbat_realCorresponding target charge current value Itarg, and then according to ItargIn resistance on combined charge line, the resistance on the circuit board of mobile terminal and battery Resistance calculates target charging voltage value Vout, the source adapter that can directly charge is sent to, to determine that the source adapter that can directly charge is defeated The charging voltage value gone out.

Wherein, the table of comparisons preferably generates in the following ways:

I segment is set for battery core voltage of the scope in [S1, S2] section, is denoted as xi1~xi2

The V corresponding to the segment is calculated respectively for the segment described in eachout、ItargIt is maximum with charging current Value Imax, wherein,

Imax=min((Vbat_max-Vbat_real)/Rbat,Iallow),

Itarg=Imax- Δ I,

Vout=Vbat_real+Itarg*(Rline+Rboard+Rbat);

In formula, RlineFor the resistance on charging wire, RboardFor the resistance on the circuit board of mobile terminal, RbatFor the internal resistance resistance value of the battery, Vbat_maxFor the battery backed maximum terminal voltage value, IallowIt is to ensure battery The maximum safe charging current value chosen on the premise of charging safety, Δ I are the current differential of setting;

According to parameter Vbat_real、Vout、Itarg、ImaxThe generation table of comparisons.

Preferably, the straight scope [S1, S2] for filling threshold value and the constant-current charging phase institute under standard DCP charge modes are right The battery voltage range answered is consistent;When cell voltage is less than S1, low current is carried out to the battery by power management chip Preliminary filling;When cell voltage is more than S2, constant-voltage charge is carried out to the battery by power management chip;When the cell voltage Fall it is described it is straight fill beyond the scope of threshold value when, mobile terminal notice can directly charge, and to export it defeated in default situations for source adapter The constant charge voltage gone out.

Further, the mobile terminal judges in the non-short circuit of two differential data pins detecting its USB interface The external equipment of insertion is host, and starts the SDP charge modes of standard;The mobile terminal is detecting its USB interface Two differential data pin short circuits and when failing with the external device communication of insertion, the external equipment for judging insertion is normal power supplies Adapter, and start the DCP charge modes of standard.

Based on the charging method of above-mentioned mobile terminal, the present invention also provides a kind of mobile terminals, are provided with to store The battery of electric energy, USB interface and microprocessor for grafting external equipment;The microprocessor is detecting the USB When having external equipment insertion on interface, to two differential data pins of USB interface, whether short circuit judges;If short circuit, With the external device communication of insertion;If external equipment is the source adapter that can directly charge, the source adapter that can directly charge is charged Two communications pins of interface switch to off-state from the short circuit state of acquiescence, and communicate with the microprocessor;Institute Microprocessor is stated with after the source adapter success communication that can directly charge, detecting the voltage of the battery, if cell voltage is default It is straight fill in the range of threshold value, then can directly the charge charging voltage of source adapter output of control directly fills the battery, and Can directly charge the charging voltage value of source adapter according to determining current cell voltage.

Preferably, the microprocessor is connected when detecting two differential data pin short circuits of the USB interface The communication interface for connecing two differential data pins of the USB interface switches to UART interface, using UART communication modes and outside Portion's equipment communication.

Further, it is additionally provided in the mobile terminal and directly fills switch and power management chip;It is described directly to fill switch It is connected between the USB interface and battery, the microprocessor is detecting cell voltage in the default straight model for filling threshold value When enclosing interior, control is described directly to fill switch conduction, and the charging voltage that can directly charge source adapter output is conveyed directly to institute Battery is stated, the battery is directly filled;The power management chip is connected between the USB interface and battery, described micro- Processor detect cell voltage it is default it is straight fill beyond the scope of threshold value when, the power management chip is controlled to receive institute The charging voltage for the source adapter output that can directly charge is stated, and is charged to the battery.

On the other hand, the invention also provides a kind of charging method for the source adapter that can directly charge, including:Configuration can be straight Two communications pins in the charging interface of charging source adapter short circuit by default;Shifting is connected in the charging interface After in dynamic terminal, two communications pins of the charging interface is controlled to disconnect;By the communications pins and communication of mobile terminal, After communicating successfully, the charging voltage value for the source adapter output that determines directly to charge according to the current cell voltage of mobile terminal.

In order to realize automatic identification of the mobile terminal to the power supply adaptor type of insertion, following three kinds of present invention proposition is excellent Select mode:

Mode one, it is described directly to charge source adapter after being connected with mobile terminal, wait what mobile terminal to be received was sent Dedicated pulse shape if receiving the dedicated pulse shape, controls two communications pins of the charging interface to disconnect, so It communicates afterwards with mobile terminal;

Mode two, the source adapter that can directly charge judge whether it is whole with movement according to its charging current exported End connection, and after detecting that it is connected with mobile terminal, two communications pins of the charging interface is controlled to disconnect, and actively Communications command, interactive instruction of shaking hands are sent to the mobile terminal;

Mode three, the source adapter that can directly charge judge whether it is whole with movement according to its charging current exported End connection, and after detecting that it is connected with mobile terminal, two communications pins of the charging interface is controlled to disconnect, then etc. The communications command that the mobile terminal to be received is sent, and after the communications command is received, feed back acknowledgement command, complete to hold Hand.

In order to which the charging voltage for the source adapter output that pair can directly charge is adjusted, to meet battery in different battery core voltages Under charging requirement, the present invention proposes following two preferred designs:

Scheme one, the target charging voltage value that source adapter is directly sended over according to mobile terminal that can directly charge Vout, adjust its charging voltage exported and reach the target charging voltage value Vout

Scheme two, the cell voltage that source adapter is sended over according to mobile terminal that can directly charge, lookup can directly fill The default table of comparisons in power supply adaptor obtains the target charging voltage value V corresponding to current battery levelout, feed back to movement Terminal, and the charging voltage for the source adapter output that can directly charge described in adjusting reaches the target charging voltage value Vout

In order to overcome because on the internal resistance of cell, line impedance change such as factors such as temperature, agings caused by reality Border charging current value IchgDeviate target charge current and be worth more situation, in order to be promoted as much as possible in allowed limits Charging current further speeds up charging rate, and the source adapter that can directly charge described in present invention design receives mobile terminal and is transmitted across The target charge current value I cometargWith charging current maximum ImaxOr worked as by the way of the table of comparisons is searched Target charge current value I corresponding to preceding cell voltagetargWith charging current maximum Imax;The source adapter that can directly charge The charging current I of its output is monitored in real timechgIf Itarg-Ie≤Ichg<Itarg, then gradually output it charging voltage up-regulation Δ V makes the charging current I by the source adapter reality output that can directly chargechgClose to target charge current value Itarg;If IchgWith ItargDifference absolute value be more than IeOr IchgMore than Imax, then it is described can directly charge source adapter stop output charge power supply; Wherein, IeThe actual charge current value of source adapter that can directly charge described in expression and the controllable variance model of target charge current value It encloses.

In order to ensure the charging safety of battery, the source adapter that can directly charge described in design exports constant fill by default Piezoelectric voltage.

Based on the charging method of the above-mentioned source adapter that can directly charge, the invention also provides one kind can directly charging source be adapted to Device is provided with charging interface, AC-DC conversion unit and control unit;The charging interface is used for external mobile terminal, including The communications pins of two short circuits by default;The AC-DC conversion unit is used to be converted into moving by alternating current input power supplying Charging voltage needed for terminal, and pass through the charging interface and export;The described control unit connection charging interface, is being examined It measures after the charging interface is connected with mobile terminal, two communications pins of the charging interface is controlled to disconnect, and pass through institute Communications pins and communication of mobile terminal are stated, to adjust the charging voltage of the AC-DC conversion unit output.

Further, a switch is additionally provided in the source adapter that can directly charge, it is described two logical is connected across connection Between two signal wires for believing pin, described control unit controls two communications to draw by controlling the switch on and off Foot short circuit or disconnection.

It yet still another aspect, the invention also provides a kind of charging method, apply using host, conventional power adapter or During the source adapter that can directly charge charges for the internal battery of mobile terminal;Including:Mobile terminal and external equipment are connected It connects;Mobile terminal judges two differential data pins of USB interface when there is external equipment insertion on detecting its USB interface Whether short circuit;If short circuit, the external device communication with insertion;It, can when the external equipment is that can directly charge source adapter Two communications pins of its charging interface are switched to off-state by straight charging source adapter from the short circuit state of acquiescence, and with institute Mobile terminal is stated to communicate;If communicating successfully, mobile terminal detects the voltage of its battery, if cell voltage is directly filled default In the range of threshold value, then the charging voltage by the source adapter output that can directly charge is conveyed directly to the battery, to the battery Directly filled;Can directly charge source adapter by with communication of mobile terminal, determine its output charging voltage value.

Preferably, the mobile terminal and the source adapter that can directly charge are using wherein one in following three kinds of communication modes Kind:

(1)The mobile terminal is defeated to external equipment when detecting two differential data pin short circuits of its USB interface Go out dedicated pulse shape;The source adapter that can directly charge controls its charging interface after the dedicated pulse shape is received Two communications pins state is gone off by the short circuit state given tacit consent to;The mobile terminal communicates with external equipment, if It communicates successfully, then the external equipment for judging insertion is the source adapter that can directly charge;If communication failure, judge insertion is conventional Power supply adaptor;

(2)It is described directly to charge source adapter after being connected with mobile terminal, two communications of its charging interface is controlled to draw Foot goes off state by the short circuit state given tacit consent to, and then actively sends communications command to mobile terminal;The mobile terminal exists When detecting two differential data pin short circuits of its USB interface, the communications command to be received such as within the stand-by period of setting, if Communications command is received, then the external equipment for judging insertion is the source adapter that can directly charge;Otherwise, it is determined that insertion is conventional electricity Source adapter;

(3)The mobile terminal is when detecting two differential data pin short circuits of its USB interface, in the wait of setting Timing exports communications command by its USB interface in time, and waits the acknowledgement command of feedback to be received;It is described directly charging source to fit Orchestration controls two communications pins of its charging interface to go off shape by the short circuit state given tacit consent to after being connected with mobile terminal State, and after the communications command that mobile terminal is sent is received, feedback acknowledgement command to the mobile terminal;It is described mobile whole End is within the stand-by period, if receiving effective acknowledgement command, the external equipment for judging insertion is directly charging source to fit Orchestration;Otherwise, it is determined that insertion, it is conventional power adapter.

Compared with prior art, the advantages and positive effects of the present invention are:The present invention is directed to the communication of different external equipments The difference of the configuring condition of pin designs charge type recognition strategy, realizes mobile terminal and filled to external in the terminal The automatic identification of electric equipment type.Meanwhile for the source adapter that can directly charge, special fast charge pattern is designed, is concentrated in battery The period of charging in a manner that high current is directly filled, realizes being substantially improved for battery charging rate, shortens mobile terminal list Time needed for secondary charging, reducing influences caused by mobile terminal needs to be charged frequently, for a long time to user's routine use, Largely improve the satisfaction that user uses.

After the detailed description of embodiment of the present invention is read in conjunction with the figure, the other features and advantages of the invention will become more Add clear.

Description of the drawings

It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present invention, for this field For those of ordinary skill, without creative efforts, other attached drawings are can also be obtained according to these attached drawings.

Fig. 1 is a kind of circuit theory frame of embodiment of mobile terminal proposed by the invention and the source adapter that can directly charge Figure;

Fig. 2 be Fig. 1 in can directly charge source adapter a kind of embodiment physical circuit schematic diagram;

Fig. 3 is a kind of process chart of embodiment of charging method proposed by the invention;

Fig. 4 is a kind of specific process chart of embodiment of charging method proposed by the invention;

Fig. 5 is mobile terminal shown in Fig. 1 and a kind of flow of the embodiment for the source adapter progress communication check that can directly charge Figure;

A kind of reality of timed communication testing mechanisms of the Fig. 6 between mobile terminal shown in Fig. 1 and the source adapter that can directly charge Apply the flow chart of example;

Fig. 7 is a kind of control flow chart for embodiment that charge control strategy is directly filled using table-look-up type;

Fig. 8 is a kind of control flow chart for embodiment that control strategy is directly filled using voltage follow formula.

Specific embodiment

The specific embodiment of the present invention is described in more detail below in conjunction with the accompanying drawings.

The present invention in order to enable to be built-in with the mobile terminal of rechargeable battery automatically, identify what is be currently inserted into exactly Which kind of type external equipment is, to call different Charge Management patterns according to the different charge characteristics of different external equipments, Realize charging resource rational utilization, the present invention for host, conventional power adapter, can directly charge source adapter these three External equipment proposes a kind of charging method.Pair can directly the charge first communication mode of source adapter of this method configures, excellent Choosing is using UART(Asynchronous serial is received and dispatched)Communication mode carries out data interaction with mobile terminal to be charged;Then, according to current The host and the configuring condition of the interface pin of conventional power adapter to be charged based on USB data line, in mobile terminal The charge management circuit in portion is transformed, and enables mobile terminal to host, conventional power adapter, can directly charge source adapter These three external equipments realize automatic identification.

The hardware configuration situation of mobile terminal and the source adapter that can directly charge is specifically addressed first below.

As shown in Figure 1, in order to retain the existing traditional charge function of mobile terminal, ensure mobile terminal can with it is existing Host and the normal grafting of conventional power adapter, charging, the present embodiment keep the existing USB interface Ji of mobile terminal constant, i.e., Be used for charging and transmit the multiplex interfaces of data, such as USB interface widely used at present, with meet its at present on the market The conventional power adapter of most producer's productions and the grafting charging requirement of main frame.For in USB interface Ji It is connected to the power management chip inside mobile terminal by power pins VBUS, the present embodiment all the way, and another way is by directly filling Switch is connected to battery, it is described it is straight fill switch can be conduction impedance it is small and support high current by any type of controllably open Element, such as silicon-controlled, metal-oxide-semiconductor etc. are closed, receives the switch controlling signal of mobile terminal internal microprocessor output, is realized conventional The selection switching of charge mode and fast charge mode.For two differential datas pin D+, D- in USB interface Ji, design It can select double-point double-throw switch, receive microprocessor by the gating switch connection microprocessor, the gating switch The control signal of device output, by default, by the gating switch by differential data pin D+, D- of USB interface Ji Connection corresponding with differential data interface DP, DN of microprocessor;It is short in differential data pin D+, the D- for detecting USB interface Ji When connecing, by microprocessor the gating switch is controlled to switch to differential data pin D+, D- of USB interface Ji and microprocessor UART interface TXD, RXD of device corresponds to connection, to identify that external charge equipment is conventional power adapter or can straight charging source Adapter.Specifically, microprocessor in mobile terminal can be designed and connect switching to its UART interface TXD, RXD and USB After differential data pin D+, D- connection of mouth Ji, UART communications are carried out with external power supply adaptor, if communicating successfully, are sentenced Surely what is be inserted into is the source adapter that can directly charge;If communication failure, judge insertion is conventional power adapter.

The present embodiment configuration can directly charge source adapter using UART communication modes, without selecting I2C bus communication modes, The reason is that:Using asynchronous communication means, the traffic is small, rate is low, strong antijamming capability, can effectively solve for UART communications Certainly the communication between mobile terminal and power supply adaptor due to the signals such as electric current, impedance, voltage interference and caused by the two Between communicate extremely unstable situation occur, it is possible thereby to which the source adapter that ensures directly to charge can stablize mobile terminal execution High current fast charge, improve mobile terminal charging security.

Certainly, if without considering above-mentioned influence, other communication modes in addition to UART can also be used(Such as I2C buses are led to Letter mode etc.)The communication scheme between mobile terminal and the source adapter that can directly charge is carried out, the present embodiment is to this without specific Limitation.

Fig. 2 shows that a kind of circuit for the source adapter that can directly charge that UART is supported to communicate sets up schematic diagram, mainly includes Charging interface Jo, control unit and AC-DC conversion unit(AC-DC units)Three parts, with reference to shown in Fig. 1.Wherein, described Power pins Vbus, grounding pin Gnd and two communications pins Tx, Rx are provided in charging interface Jo.The power pins Vbus is used for transmission charge power supply, connects AC-DC units, by the transmitting DC that AC-DC cell translations export to movement eventually The power pins VBUS of the USB interface Ji at end charges for mobile terminal.The grounding pin Gnd connections can directly charging source be adapted to Device systematically, after can directly charge source adapter and mobile terminal grafting, the grounding pin Gnd and mobile terminal The grounding pin GND connections of USB interface Ji, both realize commonly.Two communications pins Tx, Rx of charging interface Jo are giving tacit consent to Short circuit under state, and be correspondingly connected with UART interface TX, RX of control unit.

When control unit detects can directly charge source adapter and mobile terminal grafting and delay adjustments time(The setting Time can be detected needed for its differential data pin D+, D- short circuit according to mobile terminal from having detected that external equipment is inserted into Time on the basis of determine)Afterwards, two communications pins Tx, Rx of control unit control charging interface Jo are by the short circuit state given tacit consent to Off-state is switched to, communications command is actively then sent to mobile terminal by its UART interface TX, RX, with mobile terminal UART communications are carried out, interaction is shaken hands instruction, and after shaking hands successfully, the control information that reception mobile terminal is sent, and then according to The control information adjusts the volt value of the charging voltage of AC-DC units output, to meet difference of the mobile terminal in different phase Charge requirement.It is of course also possible to configure the mobile terminal by UART interface TXD, RXD of its microprocessor switch to After differential data pin D+, D- connection of USB interface Ji, the power supply adaptor that timing outwards connects within the stand-by period of setting is sent out UART communications commands are sent, and wait the acknowledgement command for the source adapter feedback that can directly charge;If it is received within the stand-by period Effective acknowledgement command is then determined as the source adapter that can directly charge;Otherwise, it is determined that insertion is conventional power adapter.At this In embodiment, the stand-by period should be greater than the setting time, and to ensure directly to charge, source adapter completes its communication After the disconnection action of pin Tx, Rx, receive the UART communications commands that mobile terminal is sent and make feedback.

It is of course also possible to described control unit is designed after the dedicated pulse shape that mobile terminal is sent is received, then it is right The on off operating mode of two communications pins Tx, Rx of charging interface Jo switch over control.Specifically, control unit can be set Its UART interface TX, RX is configured first by default as input state, mobile terminal is electricity detect external insertion Source adapter, and its UART interface TXD, RXD is switched to and drawn with the differential data of USB interface Ji by the microprocessor of mobile terminal After foot D+, D- connection, dedicated pulse shape is exported to external power supply adaptor by microprocessor first.If external power supply Adapter is conventional power adapter, then will not make any response to the dedicated pulse shape.If external power adaptation Device is the source adapter that can directly charge, then the control unit in the source adapter that can directly charge is since its UART interface TX, RX is matched somebody with somebody at this time Input state is set to, so even communications pins Tx, Rx short circuit, can also receive the dedicated pulse shape.Work as control After unit receives the dedicated pulse shape, communications pins Tx, Rx of charging interface Jo are switched by the short circuit state given tacit consent to To off-state, and recover the communication interface function of its UART interface TX, RX.In order to ensure can directly charging source fitting for different model Orchestration can be reliably received the dedicated pulse shape, and the microprocessor in mobile terminal is set to be held in preset time Supervention goes out the dedicated pulse shape, and the preset time can be according to the source adapter that can directly charge from receiving certain pulses Waveform completes the time needed on off operating mode change specifically to determine to control its communications pins Tx, Rx.Hereafter, microprocessor is adopted Communications command is actively initiated to external power supply adaptor with the UART modes to communicate, if receiving external power adapter feedback Effective order, then judge insertion be the source adapter that can directly charge, start fast charge mode;If no effective order feedback, Then judge insertion is conventional power adapter, at this point, microprocessor disconnects its UART interface TXD, RXD's and USB interface Ji The connection of differential data pin D+, D- start standard DCP charge modes.

In order to realize dynamic regulation to the charging voltage exported by AC-DC units, the present embodiment is in the AC-DC units In devise the main portion such as rectification circuit, transformer unit, synchronous rectifying controller, PWM controller, optocoupler and power MOS pipe Point;The parts such as controller, digital regulation resistance, current monitoring chip and booster circuit are devised in described control unit, referring to Shown in Fig. 2.Wherein, the rectification circuit receives the alternating current input power supplying AC_IN that utility grid provides, and is rectified into direct current Power supply is exported to transformer unit, to be converted into the charging voltage for charging to mobile terminal.The UART of the controller connects Mouth TX2, RX2 connects communications pins Tx, Rx of charging interface Jo by two signal wires, is bridged between two signal wires There is a switch K, by default, the switch K is closed, by communications pins Tx, Rx short circuit.When controller receives specific arteries and veins Rush waveform or after controller detects the source adapter that can directly charge with mobile terminal grafting and delay adjustments time(According to tool Body configuring condition selects one), controller passes through its interface CTL2(Such as GPIO mouthfuls all the way)Output control signals to described open K is closed, the switch K is controlled to disconnect, then builds the UART communication lines that can directly charge between source adapter and mobile terminal.

In the present embodiment, detection may be employed and pass through the power pins Vbus of the charging interface Jo charging currents exported Whether the mode of size is connected come the source adapter that judges directly to charge with mobile terminal.When can directly charge source adapter not with movement When terminal connects, the charging current exported by power pins Vbus is almost nil.When the source adapter that can directly charge is whole with movement It, also can there are certain charging currents even in the case where the battery capacity of mobile terminal has been expired during the connection of end.Therefore, In the source adapter one side that can directly charge, it can judge whether it connects with external mobile terminal according to the size of charging current It connects.

In order to realize the dynamic regulation to AC-DC unit output voltages, the present embodiment designs digital electricity in a control unit Position device, connects the controller.Controller generates voltage adjust instruction, is sent to number according to the control information received Potentiometer, to change the resistance value of the effective resistance of digital regulation resistance.In the present embodiment, the controller preferably uses I2C is total The mode of line and digital regulation resistance connection communication, as shown in Fig. 2, the voltage adjust instruction that transmission is described.In order to ensure that signal passes Defeated stability, the present embodiment is in the I2Voltage pull-up circuit is also further connected in C buses, for example, by I2C buses Clock line SCL and data cable SDA are connected to DC power supply VDD by pull-up resistor R2, R3 respectively, are being transmitted across with improving signal Antijamming capability in journey.

The mode that individually designed one group of small electromagnetic coil in transformer unit may be employed in the DC power supply VDD is given birth to Into.By configuring the turn ratio of primary coil and secondary coil in the small electromagnetic coil, rectifier circuit rectifies are exported DC power supply change is pressed into required DC power supply VDD, to need the component of direct-current working volts in the source adapter that can directly charge Power supply is, for example, the power supply of the components such as controller, digital regulation resistance, the current monitoring chip, to meet its work requirements.

The digital regulation resistance is a kind of adjustable resistance device of resistance value, is built-in with a resistive element.The present embodiment is by described in After resistive element is connected with a current-limiting resistance R1, another set electromagnetic coil in transformer unit is connected to(Hereinafter referred to as electromagnetism Coil)Secondary coil anode and ground between.Specifically, the current limliting electricity that one end P0A of resistive element can be passed through series connection Resistance R1 is connected to the anode of the secondary coil of the electromagnetic coil, the other end P0B of resistive element is grounded, by the resistive element Centre tap P0W is connected to the reference voltage pin VREF of synchronous rectifying controller.When the resistance of the effective resistance of digital regulation resistance When value changes, in order to keep the reference voltage on the reference voltage pin VREF of synchronous rectifying controller constant, it is necessary to adjust The volt value of the whole charging voltage exported by electromagnetic coil described in transformer unit.In order to adjust the volt value of charging voltage, together Step commutation controller adjusts the control signal of its output according to the change in resistance of the effective resistance of digital regulation resistance, and through optocoupler pair After the control signal carries out Phototube Coupling processing, PWM controller is transmitted to, to adjust the pwm signal of PWM controller output Duty cycle.The pwm signal is transmitted to the transformer unit, can specifically be transmitted to in the electromagnetic coil just The switching tube that grade coil is in series, by controlling the switching tube break-make, to adjust the switching sequence of the electromagnetic coil, and then The volt value for the charging voltage that adjustment is exported by the conversion of its secondary coil, to reach the purpose of design of charging voltage dynamic adjustment.

It in the present embodiment, can be in the range of 3.6V-12V in fact by the charging voltage of transformer unit conversion output It now fine-tunes, to meet the actual charge requirement of different mobile terminal.

In order to stablize the charging voltage by transformer unit conversion output, the present embodiment abandoning tradition is in charging voltage The rectifier system of series diode on transmission line, using the side that power MOS pipe is connected in the charging voltage transmission line Formula controls power MOS pipe break-make using the on-off model of synchronous rectifying controller output, transformer unit is exported with realizing Charging voltage waveform shaping.

In the present embodiment, the power MOS pipe preferably uses NMOS tube, is connected to the secondary coil of the electromagnetic coil Cathode and charging interface Jo grounding pin Gnd between.Since the source adapter that can directly charge supports High-current output, if Shaping is carried out using the charging voltage of diode pair transformer unit output, can due to the conduction voltage drop of diode is big and cause can The power consumption rise of straight charging source adapter, reduces charge efficiency.The present embodiment carries out charging voltage using power MOS pipe whole Shape, due to the internal resistance of power MOS pipe is small and support high current by, can effectively reduce can directly charge source adapter be System power consumption, improves the charge efficiency to mobile terminal.

In order to be detected in real time to the charging current exported by transformer unit, to improve the security to charge, this Embodiment is also further in series with a sampling resistor R6 in the transmission line of charging current, as shown in Fig. 2, it is preferred that being connected on change Between the anode of the secondary coil of electromagnetic coil described in depressor unit and the power pins Vbus of charging interface Jo, electric current is supervised Input terminal-the IN ,+IN for surveying chip are connected to the both ends of sampling resistor R6, gather the pressure drop at resistance R6 both ends, and to the pressure drop After being amplified processing, go out the size of charging current with reference to the computing the resistor value of sampling resistor R6.The current monitoring chip according to The size of the charging current calculated generates corresponding sampled voltage, and the ADC of controller is transmitted to by its output terminal OUT Interface AD1 after via controller carries out analog-to-digital conversion, obtains charging current value, realizes real-time monitoring of the controller to charging current.

If the amplitude range of the sampled voltage exported by current monitoring chip is beyond the ADC interface AD1 institutes of controller Defined interface voltage scope can then damage the ADC interface of controller.In order to protect controller, may be employed in electricity The mode of bleeder circuit is added between the output terminal OUT of stream monitoring chip and the ADC interface AD1 of controller, such as by resistance R4, R5 The voltage signal that current monitoring chip exports is adjusted to the AD1 interfaces institute of the controller by the resistor voltage divider circuit of composition In the range of receptible interface voltage, to avoid damage caused by the excessively high ADC interface AD1 controller of input voltage.

In order to improve the security of charging, the source adapter that enables directly to charge is promptly cut off when occurring and charging abnormal Charge power supply avoids damaging mobile terminal, and the present embodiment is in the charge power supply transmission line of source adapter that can directly charge In be additionally provided with support high current by switching tube Q1, using booster circuit generation be enough driving switch pipe Q1 conducting switch Voltage is transmitted to the control pole of switching tube Q1, by controlling switching tube Q1 on or off, to realize charge power supply transmission line The connection or cut-out on road.

In the present embodiment, the switching tube preferably uses the NMOS for the parasitic diode for being built-in with reverse parallel connection to pipe Q1, as shown in Figure 2.The NMOS is connected in the transmission line of charge power supply the switch ways of pipe Q1, can specifically incite somebody to action NMOS docks the source electrodes of two NMOS tubes in pipe Q1, the drain electrodes of two NMOS tubes respectively with electromagnetism described in transformer unit The one-to-one connections of power pins Vbus of the anode and charging interface Jo of the secondary coil of coil;Then by two NMOS tubes Grid is connected to booster circuit.The Enable Pin of the booster circuit is connected to controller, receives the enabled letter of controller output Number.In charging process, when controller detects that charging current is normal, exporting effective enable signal control booster circuit makes It can run, the DC power supply that transformer unit exports be boosted into switching voltage more higher than the volt value of charging voltage, output is extremely NMOS controls NMOS to turn on pipe Q1, connects the transmission line of charge power supply, export charge power supply to the grid of pipe Q1 It is that the battery inside mobile terminal charges to external mobile terminal.When controller detects that charging current is abnormal or receives When sending the control information for stopping charging to mobile terminal, invalid enable signal is exported, control booster circuit is out of service.This When, NMOS enters cut-off state to pipe Q1 due to its grid voltage disappears, and cuts off the transmission line of charge power supply, blocks the electricity that charges The external output in source, control can directly charge source adapter stop to mobile terminal power.

With reference to Fig. 1, hardware configuration shown in Fig. 2, it can charge to mobile terminal and directly what source adapter was run Specific charging method is described in detail.

As shown in figure 4, its charge control flow relates generally to following steps:

S401, the insert state of external equipment by using mobile terminal are detected, and when having detected external equipment insertion, Perform subsequent step.

In the present embodiment, existing mode can be continued to use for the detection whether external equipment is inserted into, for example, can adopt Differentiation is realized with the power pins VBUS of the USB interface Ji of the detection mobile terminal modes for whether having DC power supply to access.For For traditional host charging modes SDP and normal power supplies adaptation charging modes DCP, it is adapted to by host and normal power supplies The charging voltage of device output is usually 5V;For the source adapter that can directly charge, the source adapter that can directly charge can be set to exist The constant charge voltage identical with host and conventional power adapter, such as 5V constant charge voltages are exported under default situations, with Realize effective differentiation of the mobile terminal to its insert state.

Certainly, 5V constant charge voltages here are only one embodiment, other volt value constant pressures are required for some For the mobile terminal of charging, the constant charge voltage that source adapter exports in default situations of can directly charging need to be only set with adopting When being charged with conventional power adapter for such mobile terminal, the charging voltage of conventional power adapter output is consistent.

The type for the external equipment that S402, detection are inserted into.

In the present embodiment, mobile terminal acquiescence be operated in it is non-straight fill state, i.e., the microprocessor in mobile terminal is being write from memory Recognize under state to control and directly fill switch disconnection, the power pins VBUS of USB interface Ji is connected with power management chip.It is meanwhile micro- Processor control gating switch keeps default conditions, makes differential data pin D+, D- of USB interface Ji and the difference of microprocessor Data-interface DP, DN are connected.

External equipment for insertion is host or conventional power adapter, and existing BC1.2 charge types may be employed Type detection technique is identified.It is of course also possible to use discriminant approach in detail below, with reference to shown in Fig. 3:

When mobile terminal, which detects, has external equipment insertion on its charging interface, USB is judged by microprocessor first Differential data pin D+, D- of interface Ji whether short circuit, if non-short circuit, judge insertion be host.Because current host (Particularly main frame)All it is to charge by the way that USB data line and mobile terminal connection communication are simultaneously simultaneous for it mostly.Certainly, Can also usb communication further be carried out by differential data interface DP, DN and the charging equipment of external insertion of microprocessor, with Whether further confirm that insertion is host.If detecting differential data pin D+, D- short circuit of USB interface Ji, judge to insert What is entered is power supply adaptor.Because current conventional power adapter, communications pins are essentially all to be configured in a manner of short circuit 's.Moreover, it in the present embodiment, in order to which the configuration with conventional power adapter is unified, in order to which mobile terminal identifies, also designs Can directly be charged communications pins Tx, Rx short circuit by default of source adapter.What it is in mobile terminal judgement insertion is that power supply is fitted After orchestration, the mode to communicate with external power supply adaptor may be employed, be normal power supplies adaptation come further differentiate insertion Device still can directly charge source adapter.Specifically, when microprocessor detects the differential data of the USB interface Ji of mobile terminal After pin D+, D- short circuit, first control gating switch action, by differential data pin D+, D- of USB interface Ji switch to it is micro- UART interface TXD, the RXD connection of processor.Then, microprocessor within the period of setting by its UART interface TXD, RXD exports dedicated pulse shape to external power supply adaptor.After the period of the setting reaches, microprocessor uses The mode of UART communications actively initiates communications command to external power supply adaptor, if receiving external power adapter feedback Effective response order, then judge insertion is the source adapter that can directly charge(Because the source adapter that can directly charge at this time has been incited somebody to action Communications pins Tx, Rx of its charging interface Jo is switched to from short circuit state to be connected with UART interface TX2, RX2 of its controller); Otherwise, it is determined that insertion is conventional power adapter.

Certainly, microprocessor can also use other discriminant approaches, for example, microprocessor control its UART interface TXD, After RXD connections corresponding with differential data pin D+, D- of USB interface Ji, the source adapter to be received that can directly charge is waited actively to initiate UART communications commands.If receiving UART communications commands within the stand-by period of setting, judge insertion is directly to charge Source adapter;Conversely, judge insertion is conventional power adapter.Alternatively, the microprocessor is within the stand-by period of setting Timing sends UART communications commands to external power supply adaptor, and the acknowledgement command that external power adapter is waited to feed back, if Effective acknowledgement command is received, then judge insertion is the source adapter that can directly charge;Otherwise, it is determined that insertion is normal power supplies Adapter.

Judge insertion in microprocessor can be directly charged after source adapter, in order to obtain better handover mechanism and fault-tolerant Mechanism, for the communication check flow of mobile terminal and the source adapter that can directly charge, the present embodiment preferably in the following ways, is tied It closes shown in Fig. 5:

Microprocessor is being communicated interface after differential data interface DP, DN are switched in UART interface TXD, RXD, main Power supply adaptor outside trend initiates communications command A, while records number of communications.When can directly charge, source adapter successfully connects After receiving communications command A, corresponding reply process can be performed, communications command B is sent to mobile terminal, if mobile terminal does not have Effective communications command B is received, then can first determine whether number of communications at this time, if number of communications is less than 2, can be sent out again Communications command A is sent, secondary communication is carried out and attempts;If it is larger than or equal to twice, then it is assumed that communication failure disconnects its USB and connects The connection of differential data pin D+, D- of mouth Ji and the UART interface TXD and RXD of microprocessor, are restored to reset condition, i.e., Differential data pin D+, D- of USB interface Ji is connected with differential data interface DP, DN of microprocessor.If mobile terminal into Work(receives communications command B, then it is assumed that communicates successfully, number of communications is reset, and just starts the testing mechanism of timed communication, ginseng afterwards As shown in Figure 6.

In the mechanism of timed communication detection, mobile terminal periodically can send instruction of shaking hands to the source adapter that can directly charge, Such as communication instruction C is sent, while number of communications adds 1;If the source adapter that can directly charge is properly received, will feed back at once should Instruction is answered to mobile terminal, such as sends communication instruction D to the mobile terminal.If mobile terminal is successfully received communication and holds Row D, then success of shaking hands judge that the two communication is normal, keep current charging process, and number of communications is reset, wait and reaching Communication instruction C is initiated again during next timing detection period.If mobile terminal is not received by communication instruction D, mobile whole End can send communication instruction C to the source adapter that can directly charge again, fail if communicated twice, and judgement can with its grafting Straight charging source adapter occurs abnormal.To ensure the safety of mobile terminal, at this point, microprocessor will cut off the USB of mobile terminal Connection circuit between interface Ji and its built-in system circuit, and prompt the external power supply adaptor of user abnormal, to user into Row alarm is reminded.

The external equipment type that S403, basis detect, into corresponding charge mode.

In the present embodiment, when the external equipment for detecting insertion is host or conventional power adapter, using electricity Source control chip charges for battery, performs standard SDP charge modes(For insertion be host situation)Or standard DCP fills Power mode(For insertion be conventional power adapter situation).

Specifically, the off-state that switch keeps acquiescence, while startup power supply managing chip are directly filled in microprocessor control Receiving host or the charging voltage of conventional power adapter input, and according to the current battery core voltage of battery, into different Charging stage.It illustrates:For the rechargeable battery of one piece of 4.2V(The 4.2V is battery core electricity when battery is fully charged Pressure), when battery core voltage is less than 3.5V, power management chip enters low current charging stage, exports the charging current of 500mA, Low current preliminary filling is carried out to battery.When the battery core voltage of battery is in 3.5V between 4.1V, power management chip enters perseverance Current charge stage, the charging current for exporting 1A or 1.5A carry out constant-current charge to battery.Battery is in entire charging process, absolutely Most of the time, generally, the battery core voltage of battery was risen to from 3.5V needed for 4.1V in constant-current charging phase Time about accounts for the 90% of entire charging time.When the battery core voltage of battery rises to more than 4.1V, power management chip into Enter constant voltage charging phase, that is, export constant voltage for battery charge, at this time charging current can with the rise of cell voltage and It is gradually reduced, until being full of.

When the external equipment for detecting insertion is that can directly charge source adapter, subsequent fast charge mode is performed.

S404, judge battery battery core voltage whether it is straight fill threshold value in the range of, if so, performing subsequent high current Directly fill process;Otherwise, charged using power management chip for battery.

In the present embodiment, it is described directly to fill threshold value(Low pressure threshold S1, HVT high voltage threshold S2)It can be according to the actual feelings of battery Condition specifically determines, preferably consistent with the battery voltage range corresponding to the constant-current charging phase under standard DCP charge modes.Such as The rechargeable battery of above-mentioned 4.2V can set its low pressure threshold S1=3.5V, HVT high voltage threshold S2=4.1V.When the battery core electricity of battery Press Vbat_real<3.5V or Vbat_real>During 4.1V, the off-state that switch keeps acquiescence is directly filled in microprocessor control, is opened simultaneously Dynamic power management chip receives the constant charge voltage for the source adapter input that can directly charge, such as direct current 5V charging voltages, to electricity Pond carries out low current preliminary filling(For Vbat_real<The situation of 3.5V)Or constant-voltage charge(For Vbat_real>The situation of 4.1V), The charging modes identical with host and conventional power adapter is used to charge for battery.When the battery core voltage for detecting battery Vbat_realIn straight fill in the range of threshold value [3.5V, 4.1V], then directly process is filled into subsequent.

S405, mobile terminal by its UART interface with can directly charging source adapter communications, according to the battery core voltage of battery Variation dynamically adjusts the charging voltage for the source adapter output that can directly charge, and controls and directly fill switch conduction, is shorted out power supply pipe Chip is managed, makes power management chip out of service, charging voltage is fed directly to battery, battery is directly filled.

In the present embodiment, for the dynamic regulation of charging voltage, may be employed in following three kinds of preferred design modes Any one:

The first design method:The relation between the battery core voltage and target charging voltage of battery is preset in the terminal The table of comparisons by detecting the battery core voltage of battery, is searched the table of comparisons according to battery core voltage, is obtained corresponding to the battery core voltage Target charging voltage, can directly be charged the voltage output of source adapter with control.

It illustrates, can threshold value [S1, S2] be filled according to the straight of setting, go out several for the battery core voltage division of battery Segment, such as using 100mV as span, mark off N number of segment, N=(S2-S1)/100mV.It is prior for each segment Determine the target charging voltage value V corresponding to the battery core voltage of each segmentout, target charge current value ItargWith fill Electric current maxima Imax, form the table of comparisons, preserve in the microprocessor or preserve in the terminal with micro- place In the memory for managing device connection, called for microprocessor.

Into after directly filling process, with reference to shown in Fig. 7, the timing microprocessor detects the battery core voltage of battery Vbat_real, according to the battery core voltage V detectedbat_realThe table of comparisons is searched, judges battery core voltage Vbat_realIt is fallen into Battery core voltage range section then according to the segment determined, searches the target charging voltage value V corresponding to the segmentout、 Target charge current value ItargWith charging current maximum Imax.Then, microprocessor and the source adapter that can directly charge carry out UART Communication, by the target charging voltage value Vout, target charge current value ItargWith charging current maximum ImaxBeing sent to can be straight Charging source adapter.

Can directly charging source adapter end, the source adapter that can directly charge is according to the target charging voltage value received Vout, the resistance value of the effective resistance of its digital regulation resistance is adjusted, then changes the charging voltage that its AC-DC unit exports, to reach The target charging voltage value Vout.After to be adjusted, the source adapter that can directly charge sends information E to mobile terminal, and leads to The overcurrent monitoring chip actual charge current I that detection is exported by its AC-DC unit in real timechgIf | Ichg-Itarg|>Ie(Institute State IeFor the actual charge current value of source adapter and the controllable variance scope of target charge current value of can directly charging, the present embodiment Preferably set Ie=500mA)Or Ichg>Imax, then judge to charge abnormal.At this point, in order to ensure the safety that charges, it can straight charging source Adapter exports invalid enable signal by its internal controller, and with reference to shown in Fig. 2, control booster circuit stops output and opens Powered-down pressure then controls NMOS to turn off pipe Q1, and the charge power supply of AC-DC parts output is blocked, is stopped defeated to mobile terminal It send.If | Ichg-Itarg|≤IeAnd Ichg≤Imax, then the source adapter that can directly charge terminates this adjustment process, and using adjustment after Charging voltage high current carried out to the internal cell of mobile terminal directly fill, charging current here can reach 3500mA with On, it is thus achieved that charging rate is substantially improved.

For the specific generating mode of the table of comparisons, the present embodiment proposes following preferred embodiment:

I segment is set for battery core voltage of the scope in [S1, S2] section, is denoted as xi1~xi2

For the segment [x described in eachi1, xi2], the target charging voltage corresponding to the segment is calculated respectively Value Vout, target charge current value ItargWith charging current maximum Imax, i.e.

Vout=Vbat_real+Itarg*(Rline+Rboard+Rbat)(1)

Itarg=Imax-ΔI (2)

Imax=min((Vbat_max-Vbat_real)/Rbat,Iallow)(3)

Wherein, RlineFor the resistance on charging wire;RboardFor the resistance on the circuit board of mobile terminal;Rbat For the internal resistance resistance value of battery, can be measured by experiment;Vbat_maxIt, should for the battery backed maximum terminal voltage value The hardware platform being based on according to mobile terminal determines, and should be less than the safety value V of the battery terminal voltage of definedbat_safe; IallowIt is the maximum safe charging current value chosen on the premise of battery charging safety is ensured;Δ I is the current differential of setting, It is preferred that the value between [150mA, 250mA];

According to parameter Vbat_real、Vout、Itarg、Imax, you can generate the table of comparisons.

In the present embodiment, in order to save Rline、RboardMeasurement work, the following formula can be utilized:

Rline+Rboard=(Vout-Vbat)/Ichg(4)

Calculate the resistance R on charging wirelineWith the resistance R on the circuit board of mobile terminalboardThe sum of.Its In, VbatFor the terminal voltage of battery.I.e., it is possible to using actual measurement different target charging voltage value VoutUnder battery terminal electricity Press VbatWith charging current Ichg, and substitute into formula(4)Mode calculate the RlineWith RboardThe sum of, substitute into formula (1)For target charging voltage value VoutCalculating.

As a kind of preferred design of the present embodiment, each segment [x is being calculatedi1, xi2] corresponding to target Charging voltage value VoutWith charging current maximum ImaxWhen, preferably by each described the battery core voltage of segment it is low critical Value xi1As Vbat_real, substitute into formula(1)Calculate the target charging voltage value V corresponding to the segmentout;Utilize each The high critical value x of the battery core voltage of the segmenti2As Vbat_real, substitute into formula(3)It calculates corresponding to the segment Charging current maximum Imax, then according to the I calculatedmaxUtilize formula(2)Obtain target charge current value Itarg, form institute The table of comparisons stated.

It illustrates:Still by taking the rechargeable battery of 4.2V as an example, for battery powered system, from device supply voltage Security standpoint consideration, the terminal voltage V of batterybatA definite value V cannot be more thanbat_max, definite value Vbat_maxIt is related with platform, and Less than the safety value V of the battery terminal voltage of definedbat_safe.Assuming that the safety value V of the terminal voltage of the batterybat_safe= 4500mV can then take Vbat_maxThe terminal voltage V of=4470mV, as a result, batterybat=Vbat_real+Ichg*Rbat≤4470。

Consider from the security standpoint of battery, it is assumed that choose maximum safe charging current value Iallow=4000mA, with reference to formula (3), charging current maximum ImaxFor:

Imax=min((4470-Vbat_real)/Rbat,4000)(5).

Assuming that the internal resistance R of batterybat=100m Ω, other impedances Rline+Rboard=100m Ω set the straight of battery and fill threshold value Scope is at [3500mV, 4100mV], using 100mV as span, then can fill threshold range [3500mV, 4100mV] by straight and be divided into The high critical value of the battery core voltage of each segment is substituted into formula by 6 segments(5), calculate charging current maximum Imax;With reference to the I calculatedmaxSubstitute into formula(2)Calculate target charge current value Itarg, the present embodiment takes Δ I=200mA;It will The low critical value of the battery core voltage of each segment substitutes into formula(1), and combine the I calculatedtargCalculate target charging electricity Pressure value Vout, it is as follows to be consequently formed the required table of comparisons:

Vbat_real(mV) Vout(mV) Itarg(mA) Imax(mA) 3500-3600 4260 3800 4000 4000-4100 4700 3500 3700

The charging current and fill that the battery core voltage that the table of comparisons has reacted battery to a certain extent is exported with adapter The correspondence of piezoelectric voltage, but may be slightly different with actual conditions, charge test can be carried out, records different charging currents Under charging voltage variation, the parameter value of the above-mentioned table of comparisons is adjusted, will be right for example with the mode of averaged Perfect condition is adjusted to according to each parameter value in table.

Since the target charging voltage obtained by look-up table is theoretical value, and actually the internal resistance of cell, impedance can on line It can change with factors such as temperature, agings, thus cause the actual charging electricity exported by the source adapter that can directly charge Flow valuve IchgDeviate target charge current value I to a certain extenttarg, so as to generate a degree of influence to charging rate.For Raising charging current as much as possible in allowed limits, to further speed up charging rate, the present embodiment can directly charge Source adapter end introduces self-adjusting charging current algorithm, i.e. output voltage is adjusted to V by the source adapter that can directly chargeoutAfterwards, if Itarg-Ie≤Ichg<Itarg, then using successive adjustment Vout= VoutThe mode of+Δ V so that source adapter is defeated by can directly charge The actual charge current value I gone outchgMove closer to target charge current value Itarg

The present embodiment preferably allows for 5 adjustment, and adjustment amplitude can pass through formula(1)Estimation, it is assumed that Vbat_real、R(Including All impedances such as the internal resistance of cell, line resistance)It is constant, then Δ V=Δ I*R.The present embodiment preferably sets Δ V=10mV.

Second of design method:Can directly charging source adapter end preset the battery core voltage of battery and target charging voltage it Between comparison table, according to the battery core voltage received(It is detected by mobile terminal and is provided)The table of comparisons is searched, is obtained Obtain the target charging voltage value corresponding to the battery core voltage.Then, the source adapter that can directly charge adjusts its output voltage and reaches institute The target charging voltage value stated directly is filled with carrying out high current to the internal battery of mobile terminal.

The generating mode of the table of comparisons may refer to the associated description in the first above-mentioned design method.

It illustrates:Into after directly filling process, at mobile terminal end, timing microprocessor detects the battery core voltage of battery Vbat_real, and carry out UART communications, the battery core voltage V that will be detected with the source adapter that can directly chargebat_realTiming is sent to can Straight charging source adapter.

Can directly charging source adapter end, the source adapter that can directly charge is according to the battery core voltage V receivedbat_realSearch it The table of comparisons of preservation judges battery core voltage Vbat_realThe battery core voltage range section fallen into, the segment that then basis is determined, Search the target charging voltage value V corresponding to the segmentout, target charge current value ItargWith charging current maximum Imax。 Then, controller then changes the charging electricity that its AC-DC unit exports by adjusting the resistance value of the effective resistance of digital potentiometer Pressure, until reaching the target charging voltage value Vout.After to be adjusted, the source adapter that can directly charge sends information E to shifting Dynamic terminal, and by the ItargAnd ImaxMobile terminal is sent to, abnormal detection judges for charging.At the same time, may be used Straight charging source adapter detects the actual charge current value I exported by AC-DC units in real time by its current monitoring chipchg, If | Ichg-Itarg|>IeOr Ichg>Imax, then judge to charge abnormal, cut off the output of charge power supply, stop filling to mobile terminal Electricity.If | Ichg-Itarg|≤IeAnd Ichg≤Imax, then the source adapter that can directly charge terminates this adjustment process.

Directly charging source adapter end it can also can be introduced into the self-adjusting that is illustrated in the first above-mentioned design method described and fill Electric current algorithm, so that the actual charge current value I exported by the source adapter that can directly chargechgTarget can be moved closer to fill Electric current value Itarg, then further promote charging rate.

Above-mentioned look-up method belongs to segmented class constant current charging method, it is possible to reduce pair can directly charge source adapter output electricity The adjustment number of pressure, but output voltage is constant whithin a period of time, with the continuous rising of the battery core voltage of battery, is charged Electric current can also gradually decrease, and therefore, can influence the charging rate of battery to a certain extent.

In order to ensure that charging current is able to maintain that in stable higher level, the present embodiment proposes to follow battery core electric in real time The straight of buckling fills charge control method, referring particularly to the third following design methods.

The third design method:Follow battery battery core voltage change adjust in real time the dynamic of target charging voltage value with With mode.

With reference to shown in Fig. 8, into after directly filling process, the battery core of the timing microprocessor detection battery in mobile terminal is electric Press Vbat_real, utilize above-mentioned formula(1)- formula(4)Calculate target charging voltage value Vout, target charge current value ItargWith Charging current maximum Imax, it is sent to the source adapter that can directly charge.

Source adapter can directly be charged according to the target charging voltage value V receivedoutAdjust effective electricity of its digital regulation resistance The resistance value of resistance, the output voltage for then adjusting AC-DC units reach the target charging voltage value Vout.After to be adjusted, Information E is sent to mobile terminal, while the charging current that the source adapter that can directly charge exports is detected by current monitoring chip IchgIf | Ichg-Itarg|>IeOr Ichg>Imax, then judge to charge abnormal, cut off the external charging electricity of the source adapter that can directly charge Source exports, and it is abnormal to notify that mobile terminal charges.If | Ichg-Itarg|≤IeAnd Ichg≤Imax, then can directly charge source adapter knot Beam this time adjusts process or starts above-mentioned self-adjusting charging current algorithm, charging voltage is carried out most 5 times(It can also Set other numbers)Micro-adjustment so that by can directly charge source adapter export actual charge current value IchgIt moves closer to Target charge current value Itarg, and then accelerate charging rate to greatest extent.

Whether S406, the battery core voltage of detection battery are beyond directly threshold range is filled, if without departing from return to step S405 It continues to execute;If exceeding, subsequent step is performed.

S407, microprocessor control are directly filled switch and are disconnected, and close and directly fill access, and notify the source adapter adjustment that can directly charge Described in its output voltage is received to the constant charge voltage of acquiescence, such as 5V DC charging voltages, and startup power supply managing chip Constant charge voltage, constant-voltage charge is carried out for battery, until charging complete.

In order to ensure the security of mobile terminal charging, the present embodiment proposes following charging exception handling:

(One)Mobile terminal side

1. mobile terminal detect the source adapter that can directly charge is used to be charged for it when, periodically to can straight charging source Adapter sends instruction of shaking hands, and the response message for the source adapter feedback that can directly charge is waited within the time of setting, if receiving To the response message, then success of shaking hands continues to charge;Otherwise, it is determined that it is abnormal to charge, the charging interface of mobile terminal is cut off Connection circuit between circuit system, and prompt user's power supply adaptor abnormal;

Into after directly filling process, if detecting, 2. the source adapter that can directly charge pulls out mobile terminal suddenly, cuts off shifting Access directly is filled between the charging interface and battery of dynamic terminal, and the charging interface is connected with power management chip;

3. mobile terminal is after entrance directly fills process, if the terminal voltage for detecting battery is more than the threshold value of setting(It is right For the rechargeable battery of 4.2V, the threshold value of terminal voltage can be set as 4.6V), then the charging of mobile terminal is cut off Straight between interface and battery fills access, and the source adapter that notifies directly to charge switches to the constant charge voltage output of acquiescence, Such as output 5V DC voltages;

4. mobile terminal detects the actual charge current value I received in real time into after directly filling processchgIf IchgWith ItargDifference absolute value be more than setting controllable variance scope, then cut off between the charging interface of mobile terminal and battery Access directly is filled, power management chip is switched to and charges for battery;

5. mobile terminal detects the actual charge current value I received in real time into after directly filling processchgIf IchgGreatly In Imax, then cut off and directly fill access between the charging interface of mobile terminal and battery, and prompt user's power supply adaptor abnormal.

(Two)Can directly be charged source adapter side

1. the source adapter that can directly charge is obtaining target charging voltage value Vout, target charge current value ItargWith the electricity that charges Flow maximum ImaxAfterwards, the actual charge current value I of its output is detected in real timechgIf IchgWith ItargThe absolute value of difference be more than The controllable variance scope of setting, then the source adapter that can directly charge stops output charge power supply, and flashing light prompting user pays attention to;

2. the source adapter that can directly charge detects the actual charge current value I of its output in real time into after directly filling processchg, If IchgMore than Imax, then judge to charge abnormal, cut off the output of its charge power supply, avoid continuing to power that mobile terminal is caused to damage It is bad.

Certainly, communication can also be used to carry out data between the mobile terminal and the source adapter that can directly charge Interaction, as shown in Figure 2.Specifically, can wireless communication module, example be set in the control unit that can directly charge source adapter Such as bluetooth, WiFi wireless communication modules, the controller is connected, can specifically connect the other UART interface all the way of controller TX1、RX1;Also, matched wireless communication module, such as Bluetooth chip are set in the terminal, connected described micro- Processor.It, can be by microprocessor and controller when mobile terminal needs to instruct with the source adapter interactive communication that can directly charge The communication instruction of generation is sent to wireless communication module connected to it, after being converted into wireless signal, retransmits to other side.It adopts With communication, can solve in large current charge, due on the charging wire between power supply adaptor and mobile terminal Pressure drop it is larger, and caused by ground level therebetween difference, the difference of this ground level can influence the waveform of signal of communication Quality causes the unstable of communication.

Charging method proposed by the invention can be widely used in mobile phone, tablet computer, laptop, mobile power It waits in mobile terminals, to meet the different charge requirement of user.

Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that:It still may be used To modify to the technical solution recorded in foregoing embodiments or carry out equivalent substitution to which part technical characteristic; And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical solution spirit and Scope.

Claims (15)

1. a kind of charging method of mobile terminal, it is characterised in that:
Mobile terminal, which detects, external equipment insertion on its USB interface, judge USB interface two differential data pins whether Short circuit;
If short circuit, the external device communication with insertion;
If external equipment can directly to charge source adapter, can directly charge, source adapter is by two communications pins of its charging interface Off-state is switched to from the short circuit state of acquiescence, and is communicated with the mobile terminal;Mobile terminal is with can directly charge After source adapter success communication, detect the voltage of its battery, if cell voltage it is default it is straight fill threshold value in the range of, it is described Battery is plugged in by the charging voltage for the source adapter output that can directly charge, and determines directly to charge according to current cell voltage The charging voltage of source adapter output;
The cell voltage is the battery core voltage V of batterybat_real, in the battery by the charging for the source adapter output that can directly charge When voltage plugs in, the following three kinds straight one of which for filling process are performed:
(1)Mobile terminal is according to the battery core voltage V detectedbat_realThe default table of comparisons is searched, obtains Vbat_realResiding section Target charging voltage value V corresponding to sectionout, the source adapter that can directly charge is sent to, with the source adapter output that determines directly to charge Charging voltage;
(2)The battery core voltage V that mobile terminal will detectbat_realThe source adapter that can directly charge is sent to, by can straight charging source Adapter searches the default table of comparisons, to obtain Vbat_realTarget charging voltage value V corresponding to residing segmentout, and connect Receive the target charging voltage that the source adapter that can directly charge adjusts output;
(3)Mobile terminal calculates target charging voltage value V according to the following formulaout
Imax=min((Vbat_max-Vbat_real)/Rbat,Iallow),
Itarg=Imax- Δ I,
Vout=Vbat_real+Itarg*(Rline+Rboard+Rbat);
Wherein, RlineFor the resistance on charging wire, RboardFor the resistance on the circuit board of mobile terminal, RbatFor institute State the internal resistance resistance value of battery, Vbat_maxFor the battery backed maximum terminal voltage value, IallowIt is to ensure battery charging peace The maximum safe charging current value chosen on the premise of complete, Δ I are the current differential of setting, ImaxFor charging current maximum, ItargFor target charge current value;The target charging voltage value V that the mobile terminal will calculateoutBeing sent to can straight charging source Adapter, to determine the charging voltage of the source adapter output that can directly charge.
2. the charging method of mobile terminal according to claim 1, it is characterised in that:The mobile terminal is outer with insertion Portion's equipment communication, specifically includes:
Mobile terminal exports dedicated pulse shape to external equipment;
After postponing a preset time, mobile terminal interacts instruction of shaking hands with external equipment, if shaking hands success, judges insertion External equipment is the source adapter that can directly charge.
3. the charging method of mobile terminal according to claim 1, it is characterised in that:The mobile terminal is outer with insertion Portion's equipment communication, specifically includes:
The mobile terminal communications command that external equipment to be received is sent within the stand-by period of setting etc., if receiving communication life Order, then the external equipment for judging insertion is the source adapter that can directly charge;Alternatively,
Outwards portion's equipment sends communications command to mobile terminal for timing within the stand-by period of setting, and waits the response of feedback to be received Order, if receiving effective acknowledgement command within the stand-by period, judge insertion external equipment be can straight charging source Adapter.
4. the charging method of mobile terminal according to any one of claim 1 to 3, it is characterised in that:It is described directly to fill threshold The scope [S1, S2] of value is consistent with the battery voltage range corresponding to the constant-current charging phase under standard DCP charge modes;Work as institute State cell voltage it is described it is straight fill beyond the scope of threshold value when, the mobile terminal notice source adapter that can directly charge exports it and is giving tacit consent to In the case of the constant charge voltage that exports to power management chip, when cell voltage is less than S1, pass through power management chip pair The battery carries out low current preliminary filling;When cell voltage is more than S2, constant pressure is carried out to the battery by power management chip It charges.
5. the charging method of mobile terminal according to any one of claim 1 to 3, it is characterised in that:
The mobile terminal judges that the outside of insertion is set in the non-short circuit of two differential data pins detecting its USB interface Standby is host, and starts the SDP charge modes of standard;
The mobile terminal detect two differential data pin short circuits of its USB interface and with the external device communication of insertion During failure, the external equipment for judging insertion is conventional power adapter, and starts the DCP charge modes of standard.
6. a kind of mobile terminal, is provided with
Battery, for storing electric energy;
USB interface, for grafting external equipment;
Microprocessor when there is external equipment insertion on detecting the USB interface, draws two differential datas of USB interface Whether short circuit is judged foot;If short circuit, the external device communication with insertion;If external equipment is directly charging source to be adapted to Two communications pins of its charging interface are switched to disconnection shape by device, the then source adapter that can directly charge from the short circuit state of acquiescence State, and communicate with the microprocessor;The microprocessor is with after the source adapter success communication that can directly charge, detecting institute State the battery core voltage V of batterybat_realIf battery core voltage Vbat_realIt is default it is straight fill threshold value in the range of, then control can directly fill The charging voltage of power supply adaptor output directly fills the battery, and can directly be filled according to determining current cell voltage The charging voltage of power supply adaptor output, and perform the following three kinds straight one of which for filling process:
(1)Microprocessor is according to the battery core voltage V detectedbat_realThe default table of comparisons is searched, obtains Vbat_realResiding section Target charging voltage value V corresponding to sectionout, the source adapter that can directly charge is sent to, with the source adapter output that determines directly to charge Charging voltage;
(2)The battery core voltage V that microprocessor will detectbat_realThe source adapter that can directly charge is sent to, by can straight charging source Adapter searches the default table of comparisons, to obtain Vbat_realTarget charging voltage value V corresponding to residing segmentout, and connect Receive the target charging voltage that the source adapter that can directly charge adjusts output;
(3)Microprocessor calculates target charging voltage value V according to the following formulaout
Imax=min((Vbat_max-Vbat_real)/Rbat,Iallow),
Itarg=Imax- Δ I,
Vout=Vbat_real+Itarg*(Rline+Rboard+Rbat);
Wherein, RlineFor the resistance on charging wire, RboardFor the resistance on the circuit board of mobile terminal, RbatFor institute State the internal resistance resistance value of battery, Vbat_maxFor the battery backed maximum terminal voltage value, IallowIt is to ensure battery charging peace The maximum safe charging current value chosen on the premise of complete, Δ I are the current differential of setting, ImaxFor charging current maximum, ItargFor target charge current value;The target charging voltage value V that the mobile terminal will calculateoutBeing sent to can straight charging source Adapter, to determine the charging voltage of the source adapter output that can directly charge.
7. mobile terminal according to claim 6, it is characterised in that:It is additionally provided with
Switch directly is filled, is connected between the USB interface and battery, the microprocessor is detecting the cell voltage pre- If it is straight when filling in the range of threshold value, control is described directly to fill switch conduction, the charging that the source adapter that can directly charge is exported Voltage is conveyed directly to the battery, and the battery is directly filled;
Power management chip is connected between the USB interface and battery, and the microprocessor is detecting the cell voltage It is default it is straight fill beyond the scope of threshold value when, control the power management chip receive described in can directly charge source adapter output Charging voltage, and to the battery charge.
8. a kind of charging method for the source adapter that can directly charge, it is characterised in that:
Configuration can directly charge source adapter charging interface in two communications pins short circuit by default;
After the charging interface is connected on mobile terminal, two communications pins of the charging interface is controlled to disconnect;
By the communications pins and communication of mobile terminal, after communicating successfully, determined according to the cell voltage that mobile terminal is current The charging voltage of the source adapter that can directly charge output;
The source adapter that can directly charge receives the target charge current value I that mobile terminal sends overtargWith charging current maximum ImaxOr target charge current value I corresponding to current battery level is obtained by the way of the table of comparisons is searchedtargAnd charging Current maxima Imax
Can directly charging source adapter monitors its output charging current IchgIf Itarg-Ie≤Ichg<Itarg, then gradually output it Charging voltage up-regulation Δ V, make the charging current I by the source adapter reality output that can directly chargechgClose to target charge current Value Itarg;If IchgWith ItargDifference absolute value be more than IeOr IchgMore than Imax, then the source adapter that can directly charge stop Only export charge power supply;
Wherein, IeThe actual charge current value of source adapter that can directly charge described in expression and the controllable variance of target charge current value Scope.
9. the charging method of the source adapter according to claim 8 that can directly charge, it is characterised in that:It is described can straight charging source Adapter waits the dedicated pulse shape of mobile terminal transmission to be received, if receiving described specific after being connected with mobile terminal Impulse waveform then controls two communications pins of the charging interface to disconnect, communicates with mobile terminal.
10. the charging method of the source adapter according to claim 8 that can directly charge, it is characterised in that:It is described directly to charge Source adapter judges whether it is connected with mobile terminal according to its charging current exported, and detecting itself and it is mobile eventually After the connection of end, two communications pins of the charging interface is controlled to disconnect;Then, actively communication life is sent to the mobile terminal Order, interactive instruction of shaking hands;Alternatively, waiting the communications command that the mobile terminal to be received is sent, and receiving the communication life After order, acknowledgement command is fed back, completes to shake hands.
11. the charging method of the source adapter that can directly charge according to any one of claim 8 to 10, it is characterised in that: The target charging voltage value V that source adapter is sended over according to mobile terminal that can directly chargeout, adjust the charging of its output Voltage reaches the target charging voltage value Vout;Or
The cell voltage that source adapter is sended over according to mobile terminal that can directly charge, lookup can directly charge in source adapter The default table of comparisons obtains the target charging voltage value V corresponding to current battery levelout, mobile terminal is fed back to, and is adjusted The charging voltage that source adapter output can directly be charged reaches the target charging voltage value Vout
12. the charging method of the source adapter that can directly charge according to any one of claim 8 to 10, it is characterised in that: The source adapter that can directly charge exports constant charge voltage by default.
The source adapter 13. one kind can directly charge, is provided with
Charging interface for external mobile terminal, includes the communications pins of two short circuits by default;
AC-DC conversion unit for alternating current input power supplying to be converted into the charging voltage needed for mobile terminal, and passes through described Charging interface exports;
Control unit connects the charging interface, after detecting that the charging interface is connected with mobile terminal, described in control Two communications pins of charging interface disconnect, and pass through the communications pins and communication of mobile terminal, after communicating successfully, according to shifting The current cell voltage of dynamic terminal adjusts the charging voltage of the AC-DC conversion unit output;
Wherein, described control unit receives the target charge current value I that mobile terminal sends overtargWith charging current maximum ImaxOr target charge current value I corresponding to current battery level is obtained by the way of the table of comparisons is searchedtargAnd charging Current maxima Imax;Described control unit monitors the charging current I of the AC-DC conversion unit outputchgIf Itarg-Ie≤ Ichg<Itarg, then gradually output it charging voltage up-regulation Δ V, make the charging by the source adapter reality output that can directly charge Electric current IchgClose to target charge current value Itarg;If IchgWith ItargDifference absolute value be more than IeOr IchgMore than Imax, then The source adapter that can directly charge stops output charge power supply;Wherein, IeCan directly charge actually the filling of source adapter described in expression Electric current value and the controllable variance scope of target charge current value.
14. the source adapter according to claim 13 that can directly charge, it is characterised in that:It is additionally provided with
One switch, is connected across between two signal wires for connecting described two communications pins, described control unit is by controlling Switch on and off is stated to control two communications pins short circuits or disconnection.
15. a kind of charging method, apply and using host, conventional power adapter or the source adapter that can directly charge is mobile terminal Internal battery charge during;It is characterized in that:
Mobile terminal is connected with external equipment;
Mobile terminal judges two differential data pins of USB interface when there is external equipment insertion on detecting its USB interface Whether short circuit;If short circuit, the external device communication with insertion, and judged using the one of which in following three kinds of communication modes The type of the power supply adaptor of insertion:
(1)The mobile terminal exports special when detecting two differential data pin short circuits of its USB interface to external equipment Determine impulse waveform;Source adapter can directly be charged after the dedicated pulse shape is received, control its charging interface two are logical Letter pin goes off state by the short circuit state given tacit consent to;The mobile terminal communicates with external equipment, if communicating successfully, The external equipment for then judging insertion is the source adapter that can directly charge;If communication failure, judge insertion is normal power supplies adaptation Device;
(2)Source adapter can directly be charged after being connected with mobile terminal, control two communications pins of its charging interface by giving tacit consent to Short circuit state go off state, then actively to mobile terminal send communications command;The mobile terminal is detecting it During two differential data pin short circuits of USB interface, if receiving communications command within the stand-by period of setting, judge to be inserted into External equipment be the source adapter that can directly charge;Otherwise, it is determined that insertion is conventional power adapter;
(3)The mobile terminal is when detecting two differential data pin short circuits of its USB interface, in the stand-by period of setting Interior timing exports communications command by its USB interface, and waits the acknowledgement command of feedback to be received;Can directly charge source adapter with After mobile terminal connection, two communications pins of its charging interface is controlled to go off state by the short circuit state given tacit consent to, and After receiving the communications command that mobile terminal is sent, feedback acknowledgement command to the mobile terminal;The mobile terminal is in institute It states in the stand-by period, if receiving effective acknowledgement command, the external equipment for judging insertion is the source adapter that can directly charge;It is no Then, judge insertion is conventional power adapter;
When the external equipment is that can directly charge source adapter, the source adapter that can directly charge communicates two of its charging interface Pin switches to off-state from the short circuit state of acquiescence, and communicates with the mobile terminal;
If communicating successfully, mobile terminal detects the voltage of its battery, if cell voltage it is default it is straight fill threshold value in the range of, The charging voltage for the source adapter output that can directly charge is conveyed directly to the battery, the battery is directly filled;
Can directly charge source adapter by with communication of mobile terminal, determine its output charging voltage.
CN201510473330.7A 2015-08-05 2015-08-05 Mobile terminal, can directly charge source adapter and charging method CN105098900B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510473330.7A CN105098900B (en) 2015-08-05 2015-08-05 Mobile terminal, can directly charge source adapter and charging method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201510473330.7A CN105098900B (en) 2015-08-05 2015-08-05 Mobile terminal, can directly charge source adapter and charging method
US15/064,010 US9899848B2 (en) 2015-08-05 2016-03-08 Mobile terminal, DC-charging power source adaptor, and charging method
US15/871,546 US10461549B2 (en) 2015-08-05 2018-01-15 Mobile terminal, DC-charging power source adaptor, and charging method

Publications (2)

Publication Number Publication Date
CN105098900A CN105098900A (en) 2015-11-25
CN105098900B true CN105098900B (en) 2018-05-29

Family

ID=54578737

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510473330.7A CN105098900B (en) 2015-08-05 2015-08-05 Mobile terminal, can directly charge source adapter and charging method

Country Status (2)

Country Link
US (2) US9899848B2 (en)
CN (1) CN105098900B (en)

Families Citing this family (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DK3131171T3 (en) * 2014-11-11 2019-04-15 Guangdong Oppo Mobile Telecommunications Corp Ltd Power adapters, terminal and charging system
CN105098900B (en) 2015-08-05 2018-05-29 青岛海信移动通信技术股份有限公司 Mobile terminal, can directly charge source adapter and charging method
CN104993562B (en) * 2015-08-05 2017-12-05 青岛海信移动通信技术股份有限公司 Can directly be charged source adapter
CN104993182B (en) * 2015-08-05 2018-01-09 青岛海信移动通信技术股份有限公司 A kind of mobile terminal, can directly charge source adapter and charging method
CN104993565B (en) 2015-08-05 2017-12-05 青岛海信移动通信技术股份有限公司 Can directly be charged source adapter
CN105140985B (en) * 2015-08-05 2017-08-25 青岛海信移动通信技术股份有限公司 Mobile terminal, can directly charge source adapter and charging method
CN104967200B (en) 2015-08-05 2018-04-27 青岛海信移动通信技术股份有限公司 A kind of fast charge method and mobile terminal
CN104967201B (en) 2015-08-05 2018-10-02 青岛海信移动通信技术股份有限公司 Fast charge method, mobile terminal and the source adapter that can directly charge
CN104967199B (en) 2015-08-05 2018-07-10 青岛海信移动通信技术股份有限公司 Fast charge method and mobile terminal
CN105553001B (en) * 2015-12-23 2019-04-30 深圳市万普拉斯科技有限公司 Charging method and intelligent terminal
CN105720631B (en) * 2016-01-22 2019-02-05 珠海市魅族科技有限公司 A kind of electric terminal and charging equipment
EP3276784A1 (en) 2016-07-26 2018-01-31 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Charging system, charging method, and power adapter
KR101906977B1 (en) 2016-02-05 2018-10-11 광동 오포 모바일 텔레커뮤니케이션즈 코포레이션 리미티드 Charge mehtod, adapter and mobile terminal
WO2017133387A1 (en) 2016-02-05 2017-08-10 广东欧珀移动通信有限公司 Adaptor and charge control method
CN105720645A (en) * 2016-04-11 2016-06-29 浙江德景电子科技有限公司 Charging method, charging device and charger
CN106058958A (en) * 2016-05-30 2016-10-26 乐视控股(北京)有限公司 Charger
CN105896679B (en) * 2016-05-31 2019-04-19 合肥联宝信息技术有限公司 A kind of charge control method and the electronic equipment using this method
CN105977563A (en) * 2016-06-28 2016-09-28 努比亚技术有限公司 Charging method, charging equipment and terminal
CN108370165A (en) * 2016-09-21 2018-08-03 北京小米移动软件有限公司 Power supply adaptor, mobile terminal and charging system
CN209488195U (en) * 2016-10-12 2019-10-11 Oppo广东移动通信有限公司 Mobile terminal
CN106532820A (en) * 2016-11-16 2017-03-22 普联技术有限公司 Quick charging method and electronic equipment
CN106655387B (en) * 2016-12-30 2019-08-02 建荣半导体(深圳)有限公司 A kind of charging equipment and its fast charge protocol identification chip
CN206348788U (en) * 2017-01-06 2017-07-21 台达电子工业股份有限公司 USB control devices
CN107069844B (en) * 2017-01-13 2019-07-16 Oppo广东移动通信有限公司 Charging method, device and terminal
WO2018188006A1 (en) * 2017-04-13 2018-10-18 广东欧珀移动通信有限公司 Device to be charged and charging method
CN107248769B (en) * 2017-07-31 2019-04-12 维沃移动通信有限公司 Wireless charging circuit, wireless charging method, wireless charging system and mobile terminal
CN107565623A (en) * 2017-07-31 2018-01-09 上海与德科技有限公司 Charger, terminal, charging system and charging method
CN108513690A (en) * 2018-03-21 2018-09-07 福建联迪商用设备有限公司 A kind of method and adapter for particular host charging

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103066340A (en) * 2012-12-17 2013-04-24 中兴通讯股份有限公司 Charging method, mobile terminal and adapter
CN103236568A (en) * 2013-05-03 2013-08-07 深圳市中兴移动通信有限公司 A charging method and a charging system
CN104796011A (en) * 2014-01-21 2015-07-22 中兴通讯股份有限公司 Charging method, AC adapter, charging managing device and terminal

Family Cites Families (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06276146A (en) 1993-03-19 1994-09-30 Fujitsu Ltd Traveling telephone system
EP1094587A1 (en) 1999-10-21 2001-04-25 Sony International (Europe) GmbH Mobile terminal for a wireless telecommunication system comprising a rechargeable battery and method for preventing bulging of said rechargeable battery
JP2001142837A (en) 1999-11-15 2001-05-25 Casio Comput Co Ltd Interface device and interface system for connecting portable terminal equipment and external device
US7464213B2 (en) * 2004-12-24 2008-12-09 Sony Corporation Memory adapter and unit including independent radio circuit and removable memory store
JP2007267498A (en) 2006-03-28 2007-10-11 Matsushita Electric Works Ltd Charger, charging system and electric apparatus
US20080291879A1 (en) 2007-05-22 2008-11-27 Duff Adam C Man-Portable Incident Command Platform
CN101674366B (en) * 2009-09-19 2012-03-28 惠州Tcl移动通信有限公司 Mobile terminal USB, or charger inserting identification method and identification device thereof
US20110309789A1 (en) 2010-06-21 2011-12-22 Kyocera Wireless Corp Charger with data storage
EP2487773A1 (en) 2011-02-10 2012-08-15 ST-Ericsson SA Method and electrical interface circuit enabling multiplexing
US8884598B2 (en) 2011-02-17 2014-11-11 Texas Instruments Incorporated Method and apparatus for operating a DC/DC converter
KR101846925B1 (en) * 2011-03-21 2018-04-09 삼성전자주식회사 Mobile terminal and interface method
US9148026B2 (en) * 2011-09-30 2015-09-29 Fairchild Semiconductor Corporation Charger detection with proprietary charger support
CN102684268A (en) 2012-05-24 2012-09-19 惠州市尚联达电子有限公司 Circuit and method for mobile power supply to automatically adjust and match output voltage
US8767379B2 (en) 2013-02-11 2014-07-01 Connecticut Electric, Inc. Recreational vehicle user interface system and method
CN103208850B (en) * 2013-04-12 2016-01-13 惠州Tcl移动通信有限公司 The USB charging system of charge-variable voltage, charger and intelligent terminal
CN103219770B (en) * 2013-04-24 2015-07-15 惠州Tcl移动通信有限公司 Mobile terminal with multi-port charging control function
US20140341318A1 (en) 2013-05-16 2014-11-20 Broadcom Corporation Average power tracking in a transmitter
WO2014194811A1 (en) * 2013-06-03 2014-12-11 Mediatek Inc. Method, device, and adaptor for dynamically adjusting charging current of adaptor to achieve thermal protection and fast charging
CN103354376A (en) 2013-06-26 2013-10-16 清华大学深圳研究生院 Intelligent universal wireless charging system for mobile phone
CN104253456A (en) 2013-06-27 2014-12-31 华为终端有限公司 Charging apparatus, power supply method, terminal device and charging method
US9362773B2 (en) 2013-06-28 2016-06-07 Nokia Technologies Oy Method and apparatus for determination of a non-charging operation
KR20150005030A (en) 2013-07-04 2015-01-14 삼성전자주식회사 Control method for usb interface and electronic device supporting the same
US20150123595A1 (en) * 2013-11-04 2015-05-07 Xiam Technologies Limited Intelligent context based battery charging
CN103580255B (en) * 2013-11-19 2016-09-14 惠州Tcl移动通信有限公司 A kind of quick charge terminal
US9647474B2 (en) 2014-01-06 2017-05-09 Incipio, Llc Protective case for mobile device with auxiliary battery and power control
CN203747485U (en) 2014-01-28 2014-07-30 广东欧珀移动通信有限公司 Electronic equipment charging device and power supply adapter thereof
KR20150108589A (en) 2014-03-18 2015-09-30 삼성전자주식회사 Method for controlling I/O interface and Electronic Device for the same
CN104393627B (en) 2014-08-29 2017-06-30 展讯通信(上海)有限公司 USB charger, mobile terminal and charge control method
US20160197732A1 (en) 2015-01-07 2016-07-07 Derek Lock Burnett Portable power over ethernet supply device
US9812878B1 (en) 2015-06-19 2017-11-07 Amazon Technologies, Inc. Dynamic current redistribution for portable electronic devices
CN104993565B (en) 2015-08-05 2017-12-05 青岛海信移动通信技术股份有限公司 Can directly be charged source adapter
CN105098900B (en) 2015-08-05 2018-05-29 青岛海信移动通信技术股份有限公司 Mobile terminal, can directly charge source adapter and charging method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103066340A (en) * 2012-12-17 2013-04-24 中兴通讯股份有限公司 Charging method, mobile terminal and adapter
CN103236568A (en) * 2013-05-03 2013-08-07 深圳市中兴移动通信有限公司 A charging method and a charging system
CN104796011A (en) * 2014-01-21 2015-07-22 中兴通讯股份有限公司 Charging method, AC adapter, charging managing device and terminal

Also Published As

Publication number Publication date
US20180138724A1 (en) 2018-05-17
US10461549B2 (en) 2019-10-29
CN105098900A (en) 2015-11-25
US20170040810A1 (en) 2017-02-09
US9899848B2 (en) 2018-02-20

Similar Documents

Publication Publication Date Title
US8830073B2 (en) Power converter with reduced power consumption when toggling between sleep and normal modes during device charging
CN101636892B (en) A battery management system
JP4956539B2 (en) Contactless charging method and contactless charging system
CA2020384C (en) Battery charger for a portable wireless telephone set having means for tricklingly charging the battery with an increased current during a stand-by period of the telephone set
US20110057724A1 (en) High- and Low-Power Power Supply with Standby Power Saving Features
EP2779359A2 (en) Apparatus and method for detecting foreign object in wireless power transmitting system
EP2648307A1 (en) Automatic walking device, charging station, docking system and docking method
TWI360278B (en) Power source detection system, charger can provide
EP3293849B1 (en) Device and system for power transmission
US8880909B2 (en) Auto-detect polling for correct handshake to USB client
US8810072B2 (en) High-power induction-type power supply system and its data transmission method
CN105740194B (en) The system and method for electric power are provided for connecting by reversed local data transfer
US9923396B2 (en) USB charger, mobile terminal and charging method thereof
US20090121684A1 (en) Systems and Methods for Pulse Charging a Battery
WO2013021371A1 (en) Energy efficient inductive power transmission system and method
KR20120124801A (en) Power charging apparatus and charging method for both wireline and wireless
CN108365469A (en) Hub with combined type power supply
US20140132206A1 (en) Portable Battery Charger with Inductive Charging
CN102981997B (en) Couple the devices and methods therefor of USB device and usb host
TW201145005A (en) Power saving apparatus and power saving method thereof
WO2013097381A1 (en) Mobile terminal and charge device and method thereof
EP2383861A2 (en) Battery charger for portable electronic equipment
US20150263638A1 (en) Smart power adaptor and method for controlling power supplay thereof
CN103777730B (en) Electric power management circuit and method thereof
CN104317376A (en) Power distribution inside cable

Legal Events

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