CN108631401A - Charging circuit, method, electronic equipment and storage medium - Google Patents

Charging circuit, method, electronic equipment and storage medium Download PDF

Info

Publication number
CN108631401A
CN108631401A CN201810499409.0A CN201810499409A CN108631401A CN 108631401 A CN108631401 A CN 108631401A CN 201810499409 A CN201810499409 A CN 201810499409A CN 108631401 A CN108631401 A CN 108631401A
Authority
CN
China
Prior art keywords
electronic equipment
charging
circuit
interface
charging circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810499409.0A
Other languages
Chinese (zh)
Other versions
CN108631401B (en
Inventor
钱平
蒋飞
熊鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810499409.0A priority Critical patent/CN108631401B/en
Publication of CN108631401A publication Critical patent/CN108631401A/en
Application granted granted Critical
Publication of CN108631401B publication Critical patent/CN108631401B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B40/00Technologies aiming at improving the efficiency of home appliances, e.g. induction cooking or efficient technologies for refrigerators, freezers or dish washers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

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

Abstract

Present disclose provides a kind of charging circuit, method, electronic equipment and storage mediums, belong to terminal applies field.Charging circuit includes:Application processor AP, power circuit and output port;The input terminal of AP is used to connect the charging interface of the first electronic equipment, and the output end of AP is connected with the input terminal of power circuit, and AP is for controlling the charging current that first the second electronic equipment of electronic equipment pair charges;The output end of power circuit is connected with the input terminal of output port, and the output end of output port is used to connect the charging interface of the second electronic equipment, and the interface of the second electronic equipment is identified as charging downstream interface CDP by power circuit for the first electronic equipment.Due to configuring the second electronic equipment to CDP.According to the regulation of USB bc1.2 agreements, the charging current of CDP is 1.5A, and therefore, the first electronic equipment can be charged with the second electronic equipment of charging current pair of 1.5A, greatly improve charge efficiency.

Description

Charging circuit, method, electronic equipment and storage medium
Technical field
This disclosure relates to terminal applies field more particularly to a kind of charging circuit, method, electronic equipment and storage medium.
Background technology
The portable electronic devices such as existing mobile phone, tablet computer since charge storage ability is limited, charging problems always by To the concern of user.When user goes out, mobile power can be carried to ensure the normal continuation of the journey of electronic equipment.But user may The case where leaving behind mobile power, then user often miss important thing because of that can not charge in time outdoor.In order to It solves the problems, such as that electronic equipment cannot charge in time in outdoor, occurs the electronic equipment with reverse charging function on the market. It is that other electronic equipments to charge is needed to charge that electronic equipment, which can be used as power supply,.
Current charging circuit includes AP (Application Processor, application processor) and port (output ends Mouthful), the input terminal of AP is used to connect the charging interface of the first electronic equipment, and the output end of AP is connected with the input terminal of port, The output end of port is used to connect the charging interface of the second electronic equipment.When passing through first the second electronic equipment of electronic equipment pair When being charged, the input terminal of AP is connected to the charging interface of the first electronic equipment, the output end of port is connected into the second electronics The charging interface of equipment, to which the second electronic equipment is configured to SDP (Standard Downstream Port, standard down Interface).
However according to USB (Universal Serial Bus, universal serial bus) standard《battery charging specification1.2》The electric current of the regulation of agreement, the ports SDP is limited within 500mA.Therefore, the first electronic equipment It can only be charged with the second electronic equipment of size of current pair of maximum 500mA, therefore charging rate is slow, efficiency is low.
Invention content
A kind of charging circuit of disclosure offer, method, electronic equipment and storage medium, to improve charge efficiency, institute It is as follows to state technical solution:
According to the first aspect of the embodiments of the present disclosure, a kind of charging circuit is provided, the charging circuit includes:Using processing Device AP, power circuit and output port;
The input terminal of the AP is used to connect the charging interface of the first electronic equipment, the output end of the AP and the power supply The input terminal of circuit is connected, and the AP is used to control the charging electricity that second electronic equipment of the first electronic equipment pair charges Stream;
The output end of the power circuit is connected with the input terminal of the output port, and the output end of the output port is used In the charging interface for connecting the second electronic equipment, the power circuit sets second electronics for first electronic equipment Standby interface is identified as charging downstream interface CDP.
In the embodiments of the present disclosure, due to by accessing power circuit in the charging circuit, so as to by the second electricity Sub- device configuration is CDP.According to the regulation of USB bc1.2 agreements, the charging current of CDP is 1.5A, therefore, the first electronic equipment It can be charged with the second electronic equipment of charging current pair of 1.5A, greatly improve charge efficiency.
In a possible realization method, the charging circuit further includes:Control switch;
One input terminal of the control switch is connected with the output end of the power circuit, and the control switchs another A input terminal is connected with the output end of the AP, and the output end of the control switch is connected with the input terminal of the output port.
In the embodiments of the present disclosure, the setting control switch in the charging circuit, can be realized by control switch and be connect Energization source circuit, to realize that first the second electronic equipment of electronic equipment pair charges by the charging circuit.Pass through the control System switch can also interrupting power circuit, to realize charge to the first electronic equipment.Therefore, by the charging circuit Middle setting control switch enriches charging circuit so that the charging circuit has the function of charging and reverse charging two Function.
In another possible realization method, the charging circuit further includes:Power supply, the power supply and institute The input terminal for stating power circuit is connected.
In the embodiments of the present disclosure, power supply is set in the charging circuit, so that the parasitism in power circuit The reverse bias of diode circuit disconnects, and eliminates the influence of capacitance, ensure that the accurate of the bc1.2 protocol detections identification of USB Fixed and data communicate eye diagram quality.
In another possible realization method, the power circuit includes parasitic diode circuit, the power supply electricity The voltage in source is not less than the reverse bias voltage of the parasitic diode circuit.
In the embodiments of the present disclosure, the voltage of supply voltage is not less than the reverse bias voltage of parasitic diode circuit, from And can determine that the reverse bias of the parasitic diode circuit is fully disconnected, further improve detection accuracy and data communication Eye diagram quality.
In another possible realization method, the charging circuit further includes:Movable OTG circuits;
The input end grounding of the OTG circuits, the output end of the OTG circuits and the input terminal phase of the output port Even.
In the embodiments of the present disclosure, by the way that OTG circuits are arranged in the charging circuit, and passing through the first electronic equipment pair When second electronic equipment is charged, the level of the high OTG circuits is set, to reduce by the first electronic equipment from sleeping to waking up out Existing fluctuation.
In another possible realization method, the power circuit is TPS2547 chips.
In the embodiments of the present disclosure, which can be TPS2547 chips, the TPS2547 chips be it is independent and at This low chip, to reduce the complexity and cost of charging circuit.
In another possible realization method, the charging circuit is reverse charging circuit, and first electronics is set For charging to first electronic equipment, the charging interface of first electronics is additionally operable to described standby charging interface Second electronic equipment charges.
In the embodiments of the present disclosure, which is reverse charging circuit, and the charging interface of the first electronic equipment was both It may be implemented to charge to itself, can also realize charged to other equipment (namely electric discharge) namely the charging circuit It is not the charging circuit of mobile power, the charging effect to charge to the second electronic equipment can be improved by the charging circuit Rate.
In another possible realization method, first electronic equipment is the electronic equipment that can be communicated.
In the embodiments of the present disclosure, it can realize that first the second electronic equipment of electronic equipment pair charges, the first electronics Equipment is the electronic equipment that can be communicated namely first electronic equipment is not mobile power, and passes through charging electricity Road can improve the charge efficiency to charge to the second electronic equipment.
According to the second aspect of the embodiment of the present disclosure, a kind of charging method is provided, the method is applied in first aspect Or in the charging circuit of any possible realization method of first aspect, and the executive agent of the method is the first electronic equipment, The method includes:
When detecting that the charging interface of the first electronic equipment connected is the input terminal of application processor AP, and the charging When output port in circuit connects the charging interface of the second electronic equipment, determine through first electronic equipment to described the Two electronic equipments charge;
When the power circuit in the charging circuit is switched on, and the interface of the AP in the charging circuit is standard down When interface SDP, identify that the interface of second electronic equipment is charging downstream interface CDP;
When the interface for connecting second electronic equipment is CDP, by the AP control first electronic equipment with First specified current flow size charges to second electronic equipment, and the first specified charging current is specified more than second to fill Electric current, the second specified charging current are the corresponding charging currents of the SDP.
In the embodiments of the present disclosure, when charging by first the second electronic equipment of electronic equipment pair, charging is connected Power circuit in circuit, so as to configure the second electronic equipment to CDP.According to the regulation of USBbc1.2 agreements, CDP's Corresponding first specified charging current is more than the corresponding second specified charging currents of SDP, and therefore, the first electronic equipment passes through first The second electronic equipment of specified current flow size pair charges, and greatly improves charge efficiency.
In a possible realization method, the determination is by first electronic equipment to second electronic equipment After being charged, the method further includes:
By the control switch in the charging circuit, the power circuit is connected.
In the embodiments of the present disclosure, the setting control switch in the charging circuit, is switched by the control, connects the power supply Circuit can configure the second electronic equipment to CDP to the SDP interfaces and power circuit of AP.
In another possible realization method, the method further includes:
When detect the AP input terminal connect external power supply, and first electronic equipment charging interface connection When being output port, determination charges to the first electronic equipment;
By the external power supply, charge to first electronic equipment.
In the embodiments of the present disclosure, the setting control switch in the charging circuit, can be realized by control switch and be connect Energization source circuit, to realize that first the second electronic equipment of electronic equipment pair charges by the charging circuit.Pass through the control System switch can also interrupting power circuit, to realize charge to the first electronic equipment.Therefore, it is realized by controlling switch Switching between two charging circuits.
In another possible realization method, after the first electronic equipment of the determination pair charges, the method Further include:
By the control switch in the charging circuit, the power circuit is disconnected.
In the embodiments of the present disclosure, the setting control switch in the charging circuit, is switched by the control, disconnects the power supply Circuit charges to the first electronic equipment to realize.
In another possible realization method, the method further includes:
During to first electronic equipment charge or charge to second electronic equipment, open The power supply in the charging circuit is opened, the anti-of the parasitic diode in the power circuit is controlled by the power supply To being biased off, the voltage of the power supply is more than the reverse bias voltage of the parasitic diode.
In the embodiments of the present disclosure, power supply is set in the charging circuit, so that the parasitism in power circuit The reverse bias of diode circuit disconnects, and eliminates the influence of capacitance, ensure that the accurate of the bc1.2 protocol detections identification of USB Fixed and data communicate eye diagram quality.
In another possible realization method, the method further includes:
When detecting that stopping charges to first electronic equipment or stopping is charged to the second electronic equipment, institute is closed The power supply in charging circuit is stated, the reversed inclined of the parasitic diode in the power circuit is controlled by the power supply Set closure.
The present disclosure embodies in, when stopping charging to the first electronic equipment or stop charging to the second electronic equipment When, the power supply in the charging circuit is closed, to save the energy consumption of the first electronic equipment.
In another possible realization method, the determination sets second electronics by first electronic equipment After being charged, the method further includes:
The level for setting the OTG circuits in the high charging circuit is set the high level and is set for reducing first electronics The standby fluctuation occurred from sleeping to waking up.
In the embodiments of the present disclosure, by the way that OTG circuits are arranged in the charging circuit, and passing through the first electronic equipment pair When second electronic equipment is charged, the level of the high OTG circuits is set, to reduce by the first electronic equipment from sleeping to waking up out Existing fluctuation.
In another possible realization method, the method further includes:
When detecting that stopping charges to second electronic equipment, the level of the OTG circuits is set low.
In the embodiments of the present disclosure, when detecting that stopping charges to second electronic equipment, the electricity of OTG circuits is set low It is flat, to save the energy consumption of the first electronic equipment.
According to the third aspect of the embodiment of the present disclosure, a kind of electronic equipment is provided, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
What it is when the charging interface connection for detecting the first electronic equipment is movable OTG cables, and the OTG cables is another One end connect the second electronic equipment charging interface when, determine by first electronic equipment to second electronic equipment into Row charging;
When the power circuit in the charging circuit is switched on, and the interface of the AP in the charging circuit is standard down When interface SDP, determine that the interface that the OTG cables connect second electronic equipment is charging downstream interface CDP;
When the interface for connecting second electronic equipment is CDP, by the AP control first electronic equipment with First specified current flow size charges to second electronic equipment, and the first specified charging current is specified more than second to fill Electric current, the second specified charging current are the corresponding charging currents of the SDP.
In the embodiments of the present disclosure, when charging by first the second electronic equipment of electronic equipment pair, charging is connected Power circuit in circuit, so as to configure the second electronic equipment to CDP.According to the regulation of USBbc1.2 agreements, CDP's Corresponding first specified charging current is more than the corresponding second specified charging currents of SDP, and therefore, the first electronic equipment passes through first The second electronic equipment of specified current flow size pair charges, and greatly improves charge efficiency.
According to the fourth aspect of the embodiment of the present disclosure, a kind of computer readable storage medium is provided, the computer can It reads to be stored with instruction on storage medium, described instruction is executed by processor to complete second aspect or any possibility of second aspect The charging method in realization method.
It should be understood that above general description and following detailed description is only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of schematic diagram of charging circuit shown according to an exemplary embodiment;
Fig. 2 is the schematic diagram of another charging circuit shown according to an exemplary embodiment;
Fig. 3 is the schematic diagram of another charging circuit shown according to an exemplary embodiment;
Fig. 4 is the schematic diagram of another charging circuit shown according to an exemplary embodiment;
Fig. 5 is a kind of flow chart of charging method shown according to an exemplary embodiment;
Fig. 6 is the block diagram according to a kind of electronic equipment shown in an exemplary embodiment.
10 AP
11 power circuits
12 port
13 control switches
14 power supplies
15 OTG circuits
Specific implementation mode
To keep the purpose, technical scheme and advantage of the disclosure clearer, below in conjunction with attached drawing to disclosure embodiment party Formula is described in further detail.
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
The embodiment of the present disclosure provides a kind of charging circuit, and referring to Fig. 1, which includes:AP10, power circuit 11 With port12 (output port).The input terminal of AP10 is used to connect the charging interface of the first electronic equipment, the output end of AP10 and The input terminal of power circuit 11 is connected, and the AP10 is for controlling the charging that first the second electronic equipment of electronic equipment pair charges Electric current;The output end of power circuit 11 is connected with the input terminal of port12, and the output end of the port12 is for connecting the second electronics The charging interface of equipment.
First electronic equipment is any electronic equipment for supporting reverse charging;For example, the first electronic equipment is to support reversely Mobile phone or tablet computer of charging etc..Second electronic equipment is any electronic equipment being electrically charged;For example, the second electronic equipment For mobile phone, tablet computer or wearable device etc..In addition, the standard SDP that power circuit 11 can be any combination AP10 can The second electronic equipment that output port connects is identified as to the power circuit 11 of CDP, for example, power circuit 11 can be TPS cores The model of piece, the TPS chips can be configured and change as needed, in the embodiments of the present disclosure, to the model of TPS chips It is not especially limited;For example, the TPS chips can be TPS2547 etc..
In the embodiments of the present disclosure, when being charged by first the second electronic equipment of electronic equipment pair, by charging electricity The input terminal of AP10 in road connects the charging interface of the first electronic equipment, and the output end of the port12 in charging circuit is connected The charging interface of second electronic equipment, to realize that first the second electronic equipment of electronic equipment pair charges.Due to by Power circuit 11 is accessed in the charging circuit, power circuit 11 identifies the interface of the second electronic equipment for the first electronic equipment For charge downstream interface CDP, so as to identify the second electronic equipment be CDP.According to the regulation of USB bc1.2 agreements, CDP Charging current be 1.5A, therefore, the first electronic equipment can be charged with the second electronic equipment of size of current pair of 1.5A, pole The earth improves charge efficiency.
In a possible realization method, which can not only realize through first the second electricity of electronic equipment pair Sub- equipment charges, additionally it is possible to which realization charges to the first electronic equipment.Correspondingly, referring to Fig. 2, which also wraps It includes:Control switch 13;One input terminal of the control switch 13 is connected with the output end of power circuit 11, controls the another of switch 13 One input terminal is connected with the output end of AP10, and the output end of control switch 13 is connected with the input terminal of port12.Wherein, the control It can be that USB is switched to make switch 13.
When realizing that first the second electronic equipment of electronic equipment pair charges by the charging circuit, control switch 13 is controlled Turn-on power circuit 11 is also connected the circuit between power circuit 11 and port12, the line between AP10 and port12 Road disconnects.When charging to the first electronic equipment by charging circuit realization, 13 controlling power circuit 11 of switch is controlled It disconnects, also disconnects the circuit between power circuit 11 and port12, the circuit between AP10 and port12 is connected.
It should be noted is that including parasitic diode in AP10, power circuit 11, control switch 13, port12 Circuit.Correspondingly, the anode of parasitic diode circuit in AP10 respectively with the parasitic diode circuit in power circuit 11 The anode of anode and the parasitic diode circuit in control switch 13 is connected, the cathode point of the parasitic diode circuit in AP10 Not with the cathode of the parasitic diode circuit in power circuit 11 and control switch 13 in parasitic diode circuit cathode It is connected.The positive phase of the anode of parasitic diode circuit in power circuit 11 and the parasitic diode circuit in control switch 13 Even, the cathode phase of the cathode of the parasitic diode circuit in power circuit 11 and the parasitic diode circuit in control switch 13 Even.The anode of parasitic diode circuit in control switch 13 is connected with the anode of the parasitic diode circuit in port12, controls The cathode of parasitic diode circuit in system switch 13 is connected with the cathode of the parasitic diode circuit in port12.
In a possible realization method, since power circuit 11 includes parasitic diode circuit, it can cause Capacitive effect on power circuit 11 is to the signal waveform between the D+ and D- of parasitic diode.Therefore, referring to Fig. 3, the charging Circuit further includes:Power supply 14, power supply 14 are connected with the input terminal of power circuit 11.
It charges to the first electronic equipment when detecting, or is carried out by first the second electronic equipment of electronic equipment pair When charging, a power supply 14 is enabled on power circuit 11, also, the voltage of the power supply 14 is not less than power circuit The bias voltage of the 11 parasitic diode circuits for including.The voltage of the power supply 14 can be configured and more as needed Change, in the embodiments of the present disclosure, the voltage of the power supply 14 is not especially limited;For example, the voltage of the power supply 14 Can be 5V or 6V etc..In addition, in order to reduce energy consumption, the voltage of the power supply 14 can include equal to power circuit 11 Parasitic diode circuit bias voltage.
It should be noted is that charging to the first electronic equipment when detecting, or pass through the first electronic equipment When charging to the second electronic equipment, a power supply 14 is enabled on the power circuit 11, so as to make the power supply Parasitic diode reverse bias in circuit 11 disconnects, and eliminates the influence of capacitance, can ensure that the bc1.2 detections of USB are known in this way Not and data communicate eye diagram quality.
It needs to illustrate on the other hand, when stopping passes through the first electronic equipment to the charging of the first electronic equipment, or stopping When charging to the second electronic equipment, power supply 14 is closed, to optimize stand-by power consumption.
In another possible realization method, since there are one intrinsic bug meetings in sleep standby for the first electronic equipment When causing to charge by first the second electronic equipment of electronic equipment pair, the phy power supplies 14 of USB are being slept to when waking up It fluctuates, the fluctuation synchronous with phy power supplies occurs with the bc.2 of D- identification waveforms so as to cause D+, to influence CDP's Identification.Therefore, referring to Fig. 4, which further includes OTG (On-The-Go, movable) circuit.The input of the OTG circuits 15 End ground connection, the output end of the OTG circuits 15 are connected with the input terminal of the port12.
It should be noted is that by when charging by first the second electronic equipment of electronic equipment pair, height is set The level of the OTG circuits 15, when so as to solve the first electronic equipment from sleeping to waking up the D+ and D- of electronic equipment Signal fluctuation, the identification so as to avoid signal fluctuation to CDP, to improve the identification accuracy of CDP.
Need to illustrate that on the other hand, which can be integrated in OTG cables.In addition, the charging circuit is anti- To charging circuit, reverse charging circuit charges for first the second electronic equipment of electronic equipment pair, and the first electronic equipment Charging interface can be used for charging to the first electronic equipment, can be also used for charging to the second electronic equipment.By This can be improved by the charging circuit and be set to the second electronics as it can be seen that the charging circuit is not the charging circuit of mobile power The standby charge efficiency to charge.Also, first electronic equipment is the electronic equipment that can be communicated.In addition, first Electronic equipment is the electronic equipment that can be communicated namely first electronic equipment is not mobile power, and is filled by this Circuit can improve the charge efficiency to charge to the second electronic equipment.
In the embodiments of the present disclosure, due to by accessing power circuit 11 in the charging circuit, so as to by second Electronic equipment is configured to CDP.According to the regulation of USB bc1.2 agreements, the charging current of CDP is 1.5A, and therefore, the first electronics is set It is standby to be charged with the second electronic equipment of charging current pair of 1.5A, greatly improve charge efficiency.
The alternative embodiment that any combination forms the disclosure may be used, herein no longer in above-mentioned all optional technical solutions It repeats one by one.
Fig. 5 is a kind of flow chart of charging method shown according to an exemplary embodiment, and this method is applied fills above-mentioned In circuit, the executive agent of this method can be the first electronic equipment, and the first electronic equipment is the electronic equipment of charging, and the One electronic equipment is the electronic equipment that can be communicated.As shown in figure 5, including the following steps.
In step S501, the charging interface of first the first electronic equipment of electronic equipment pair is detected, when detecting this What charging interface connected is the input terminal of AP, and the output port in charging circuit connects the charging interface of the second electronic equipment When, execute step S502.
When needing to charge to the first electronic equipment, the charging interface of the first electronic equipment is connected USB line by user The output end of the port of cable.When needing to charge by first the second electronic equipment of electronic equipment pair, user is electric by first The input terminal of the charging interface connection AP of sub- equipment, the second electronic equipment is connected by the output end of port.Correspondingly, step S501 Can be:First electronic equipment is detected the charging interface, when the first electronic equipment detects the charging interface connecting line When cable, the first electronic equipment is detected the cable;When the first electronic equipment detects that the cable is OTG cables, determine Whether the other end for being the input terminal of AP, and then detecting the OTG cables of the charging interface connection of the first electronic equipment connects the Two electronic equipments;When the other end of the OTG cables connects the second electronic equipment, determine that the output port in the charging circuit connects Connect the charging interface of the second electronic equipment.When the first electronic equipment detects that the cable is USB cable, the first electronic equipment is true The charging interface connection of fixed first electronic equipment is output port, executes step S506.
The step of first electronic equipment is detected the cable can be:First electronic equipment determines the interface of the cable Type;When the interface type is the interface type of OTG cables, determine that the cable is OTG cables;When the interface type is USB When the interface type of cable, determine that the cable is USB cable.
It should be noted is that the first electronic equipment can be every the charging interface of the first electronic equipment of predetermined period pair It is detected;The predetermined period can be configured and change as needed, in the embodiments of the present disclosure, not make to predetermined period It is specific to limit;For example, predetermined period can be 5s or 10s.
In step S502, when detect the first electronic equipment charging interface connect be application processor AP input End, and when output port in charging circuit connects the charging interface of the second electronic equipment, the first electronic equipment are determined by the One the second electronic equipment of electronic equipment pair charges.
In a possible realization method, the first electronic equipment, which determines, passes through first the second electronic equipment of electronic equipment pair When being charged, the first electronic equipment is switched by the control in charging circuit, connects the power circuit.
It should be noted is that powering on circuit by the control switch control in the charging circuit or disconnecting electricity Source circuit.Control switch includes 2 control valves, respectively the first control valve and the second control valve;First control valve is for connecing Energization source circuit, the second control valve are used to connect the connection between AP and port.Correspondingly, the first electronic equipment passes through the electricity that charges Control switch in road, the step of connecting the power circuit can be:First electronic equipment controls first in control switch The state of control valve is to be closed, and the state of the second control valve is to disconnect.
It needs to illustrate on the other hand, according to the regulation of USB bc1.2 agreements, the charging current of the ports SDP is limited in Within 500mA, and the charging circuit of the ports CDP can reach 1.5A, therefore, when the first electronic equipment is determined through the first electricity When the second electronic equipment of sub- equipment pair charges, step S503 is executed, determines that OTG cables connect the end of the second electronic equipment Mouthful.
In step S503, when the power circuit in the charging circuit is switched on, and the AP interfaces in the charging circuit are When SDP, the first electronic equipment identifies that the interface of the second electronic equipment is CDP, executes step S504.
When the power circuit in the charging circuit is switched on, and the interface of AP is standard SDP, the first electronic equipment determines The interface of second electronic equipment is CDP.When the power circuit in the charging circuit is disconnected (namely the AP in the charging circuit Directly it is connected with port), the first electronic equipment determines that the interface of second electronic equipment is SDP.
In a possible realization method, due to the regulation according to USB bc1.2 agreements, the charging current of the ports SDP It is limited within 500mA;Therefore, when the first electronic equipment determines that the port is the ports SDP, the first electronic equipment passes through the Two the second electronic equipments of specified charging current pair charge, and the second specified charging current is not more than 500mA, and second refers to Determining charging current can be configured and change as needed, in the embodiments of the present disclosure, not make to the second specified charging current It is specific to limit;For example, the second specified charging current is 500mA or 400mA.
In step S504, when the interface for connecting the second electronic equipment is CDP, the first electronic equipment passes through AP controls the One electronic equipment is charged with first the second electronic equipment of specified current flow size pair, and the first specified charging current is more than second and refers to Determine charging current.
When the interface for connecting the second electronic equipment is CDP, the first electronic equipment is put with the first specified current flow size Electricity, while the second electronic equipment is charged with the first specified current flow size.According to the regulation of USB bc1.2 agreements, the ports CDP Corresponding charging current is 1.5A;Therefore, the first specified charging current is not more than 1.5A, and the first specified charging current can root It is configured and changes according to needing, in the embodiments of the present disclosure, the first specified charging current is not especially limited;For example, the One specified charging current can be 1.5A or 1.2A etc..
Since the first specified charging current is more than the second specified charging current, the first electronic equipment refers to by first Determine the second electronic equipment of charging current pair to charge, charge efficiency can be improved.
It should be noted is that in order to save the electric energy of the first electronic equipment, the first electronic equipment refers to by first During the second electronic equipment of constant current size pair charges, the first electronic device control system enters off-mode.When When detecting that charging interface OTG cables are pulled out, the first electronic equipment restarting systems enter open state.
In step S505, the first electronic equipment sets the level of the OTG circuits in the high charging circuit, sets the high level and uses In the fluctuation that the first electronic equipment of reduction is occurring from sleeping to waking up.
Since the first electronic equipment can cause there are one intrinsic bug through the first electronic equipment pair second in sleep standby When electronic equipment is charged, USB phy power supplies are being slept to being fluctuated when waking up, so as to cause the bc.2 of D+ and D- Identify that the fluctuation synchronous with phy power supplies occurs in waveform, to influence the identification of the ports CDP.Therefore, it is set by the first electronics It is standby in the second electronic equipment charging process, setting the level of high OTG circuits, to reduce the wave of charging generation synchronous with power supply It is dynamic, to improve the accuracy of charging identification.
In a possible realization method, when the first electronic equipment is detected through first the second electronics of electronic equipment pair Equipment carries out in charging process, and the first electronic equipment can be with the level of the high OTG circuits of a disposed upright;Certainly, in order to save energy consumption, the After one electronic equipment sets the level of high OTG circuits, the first electronic equipment is detected charging interface;When check stop pair When second electronic equipment charges, the first electronic equipment sets low the level of OTG circuits, to save energy consumption.
In step S506, when detecting that the input terminal of AP connects external power supply, and the charging interface of the first electronic equipment Connection be output port when, determination charge to the first electronic equipment, by first electronic equipment of external power supply pair into Row charging.
When the input terminal of the AP connects external power supply, when what output port connected is the first electronic equipment, the first electronics is set Standby determination charges to the first electronic equipment, is switched by the control in the charging circuit, the power circuit is disconnected, to make The output end for obtaining AP is connected with the input terminal of port.Control switch includes the first control valve and the second control valve, correspondingly, the One electronic equipment is switched by control in the charging circuit, and the step of disconnecting the power circuit can be:First electronic equipment The state for controlling the first control valve in control switch is to disconnect, and the state of the second control valve is to be closed.
In this step, the first electronic equipment can specify the battery of the first electronic equipment of charging current pair with third It charges;Third specifies charging current can be equal with the first specified charging current, can also be with the second specified charging current It is equal, it can also be different from the first specified charging current and the second specified charging current.In the embodiments of the present disclosure, to third Specified charging current and the magnitude relationship of the first specified charging current and the second specified charging current are not especially limited.For Improving the charge efficiency of the first electronic equipment, third specifies charging current that can be more than the first specified charging current, also, the Three specified charging currents can be configured and change as needed, in the embodiments of the present disclosure, charging current be specified to third It is not especially limited.For example, it can be 2A or 2.5A etc. that third, which specifies charging current,.
In step s 507, it charges to the first electronic equipment, or to mistake that the second electronic equipment charges Cheng Zhong, the first electronic equipment open the power supply in the charging circuit, pass through posting in the power supply controlling power circuit The reverse bias of raw diode disconnects.
Since power circuit includes parasitic diode, the capacitance on power supply circuit can be caused to be responsive to D+'s and D- in this way Signal waveform.Therefore, it charges, or during charging to the second electronic equipment, makes to the first electronic equipment One power supply of power circuit is obtained, so that the reverse bias of parasitic diode disconnects, capacitive effect is eliminated, ensures in this way The bc1.2 detections identification of USB and data communicate eye diagram quality, and then improve identification accuracy.Wherein, the electricity of power supply Reverse bias voltage of the pressure more than parasitic diode.
In step S508, stops charging to the first electronic equipment when detecting or stop charging to the second electronic equipment When, the first electronic equipment closes the power supply in the charging circuit, passes through the parasitism two in power supply controlling power circuit The reverse bias of pole pipe is closed.
It should be noted that step S508 is optional step, namely stop to the charging of the first electronic equipment or stopping pair When second electronic equipment charges, the power supply that is not turned off in the charging circuit.Certainly, in order to save power consumption, the first electronics Equipment is detecting that the first electronic equipment closes when stopping charging to the first electronic equipment or stopping charging to the second electronic equipment The power supply is closed, to save energy consumption.
In the embodiments of the present disclosure, when charging by first the second electronic equipment of electronic equipment pair, charging is connected Power circuit in circuit, so as to configure the second electronic equipment to CDP.According to the regulation of USBbc1.2 agreements, CDP's Corresponding first specified charging current is more than the corresponding second specified charging currents of SDP, and therefore, the first electronic equipment passes through first The second electronic equipment of specified current flow size pair charges, and greatly improves charge efficiency.
Fig. 6 is the block diagram according to a kind of electronic equipment 600 shown in an exemplary embodiment.For example, electronic equipment 600 can To be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices are good for Body equipment, personal digital assistant etc..
With reference to Fig. 6, electronic equipment 600 may include following one or more components:Processing component 602, memory 604, Power supply module 606, multimedia component 608, audio component 610, the interface 612 of input/output (I/O), sensor module 614, And communication component 616.
The integrated operation of 602 usual control electronics 600 of processing component, such as with display, call, data are logical Letter, camera operation and record operate associated operation.Processing component 602 may include one or more processors 620 to hold Row instruction, to perform all or part of the steps of the methods described above.In addition, processing component 602 may include one or more moulds Block, convenient for the interaction between processing component 602 and other assemblies.For example, processing component 602 may include multi-media module, with Facilitate the interaction between multimedia component 608 and processing component 602.
Memory 604 is configured as storing various types of data to support the operation in electronic equipment 600.These data Example include instruction for any application program or method that are operated on electronic equipment 600, contact data, telephone directory Data, message, picture, video etc..Memory 604 can by any kind of volatibility or non-volatile memory device or it Combination realize, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable Except programmable read only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, soon Flash memory, disk or CD.
Power supply module 606 provides electric power for the various assemblies of electronic equipment 600.Power supply module 606 may include power supply pipe Reason system, one or more power supplys and other generated with for electronic equipment 600, management and the associated component of distribution electric power.
Multimedia component 608 is included in the screen of one output interface of offer between the electronic equipment 600 and user. In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch surface Plate, screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touches Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding The boundary of action, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, Multimedia component 608 includes a front camera and/or rear camera.When electronic equipment 600 is in operation mode, such as clap When taking the photograph pattern or video mode, front camera and/or rear camera can receive external multi-medium data.It is each preposition Camera and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 610 is configured as output and/or input audio signal.For example, audio component 610 includes a Mike Wind (MIC), when electronic equipment 600 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone It is configured as receiving external audio signal.The received audio signal can be further stored in memory 604 or via logical Believe that component 616 is sent.In some embodiments, audio component 610 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 612 provide interface between processing component 602 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor module 614 includes one or more sensors, the state for providing various aspects for electronic equipment 600 Assessment.For example, sensor module 614 can detect the state that opens/closes of electronic equipment 600, the relative positioning of component, example As the component be electronic equipment 600 display and keypad, sensor module 614 can also detect electronic equipment 600 or The position change of 600 1 components of electronic equipment, the existence or non-existence that user contacts with electronic equipment 600, electronic equipment 600 The temperature change of orientation or acceleration/deceleration and electronic equipment 600.Sensor module 614 may include proximity sensor, be configured For detecting the presence of nearby objects without any physical contact.Sensor module 614 can also include optical sensor, Such as CMOS or ccd image sensor, for being used in imaging applications.In some embodiments, which may be used also To include acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 616 is configured to facilitate the communication of wired or wireless way between electronic equipment 600 and other equipment. Electronic equipment 600 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.Show at one In example property embodiment, communication component 616 receives broadcast singal or broadcast from external broadcasting management system via broadcast channel Relevant information.In one exemplary embodiment, the communication component 616 further includes near-field communication (NFC) module, short to promote Cheng Tongxin.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, electronic equipment 600 can be believed by one or more application special circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing above-mentioned charging method.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of Such as include the memory 604 of instruction, above-metioned instruction can be executed by the processor 620 of electronic equipment 600 to complete above-mentioned charging side Method.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic Band, floppy disk and optical data storage devices etc..
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (18)

1. a kind of charging circuit, which is characterized in that the charging circuit includes:Application processor AP, power circuit and output end Mouthful;
The input terminal of the AP is used to connect the charging interface of the first electronic equipment, the output end of the AP and the power circuit Input terminal be connected, the AP is for controlling the charging current that second electronic equipment of the first electronic equipment pair charges;
The output end of the power circuit is connected with the input terminal of the output port, and the output end of the output port is for connecting The charging interface of the second electronic equipment is connect, the power circuit is used for first electronic equipment by second electronic equipment Interface is identified as charging downstream interface CDP.
2. charging circuit according to claim 1, which is characterized in that the charging circuit further includes:Control switch;
One input terminal of the control switch is connected with the output end of the power circuit, and another of the control switch is defeated Enter end with the output end of the AP to be connected, the output end of the control switch is connected with the input terminal of the output port.
3. charging circuit according to claim 2, which is characterized in that the charging circuit further includes:Power supply, it is described Power supply is connected with the input terminal of the power circuit.
4. charging circuit according to claim 3, which is characterized in that the power circuit includes parasitic diode electricity Road, the voltage of the power supply are not less than the reverse bias voltage of the parasitic diode circuit.
5. charging circuit according to claim 1, which is characterized in that the charging circuit further includes:Movable OTG electricity Road;
The output end of the input end grounding of the OTG circuits, the OTG circuits is connected with the input terminal of the output port.
6. according to claim 1-5 any one of them charging circuits, which is characterized in that the power circuit is TPS2547 cores Piece.
7. charging circuit according to claim 1, which is characterized in that the charging circuit is reverse charging circuit, and institute The charging interface for stating the first electronic equipment is used to charge to first electronic equipment, the charging interface of first electronics It is additionally operable to charge to second electronic equipment.
8. charging circuit according to claim 1, which is characterized in that first electronic equipment can be communicated Electronic equipment.
9. a kind of charging method, which is characterized in that the method is applied in any charging circuits of claim 1-8, and The executive agent of the method is the first electronic equipment, the method includes:
When detecting that the charging interface of first electronic equipment connected is the input terminal of application processor AP, and the charging When output port in circuit connects the charging interface of the second electronic equipment, determine through first electronic equipment to described the Two electronic equipments charge;
When the power circuit in the charging circuit is switched on, and the interface of the AP in the charging circuit is standard down interface When SDP, identify that the interface of second electronic equipment is charging downstream interface CDP;
When the interface for connecting second electronic equipment is CDP, first electronic equipment is controlled with first by the AP Specified current flow size charges to second electronic equipment, and the first specified charging current is more than the second specified charging electricity Stream, the second specified charging current are the corresponding charging currents of the SDP.
10. according to the method described in claim 9, it is characterized in that, the determination by first electronic equipment to described After second electronic equipment is charged, the method further includes:
By the control switch in the charging circuit, the power circuit is connected.
11. according to the method described in claim 9, it is characterized in that, the method further includes:
When the input terminal connection external power supply for detecting the AP, and the charging interface connection of first electronic equipment is defeated When exit port, determination charges to the first electronic equipment;
By the external power supply, charge to first electronic equipment.
12. according to the method for claim 11, which is characterized in that the first electronic equipment of the determination pair carries out charging it Afterwards, the method further includes:
By the control switch in the charging circuit, the power circuit is disconnected.
13. according to the method described in claim 9 or 11, which is characterized in that the method further includes:
During to first electronic equipment charge or charge to second electronic equipment, institute is opened The power supply in charging circuit is stated, the reversed inclined of the parasitic diode in the power circuit is controlled by the power supply Disconnection is set, the voltage of the power supply is more than the reverse bias voltage of the parasitic diode.
14. according to the method for claim 13, which is characterized in that the method further includes:
When detecting that stopping charges to first electronic equipment or stopping is charged to the second electronic equipment, filled described in closing Power supply in circuit, the reverse bias that the parasitic diode in the power circuit is controlled by the power supply close It closes.
15. according to the method described in claim 9, it is characterized in that, the determination by first electronic equipment to described After second electronic equipment is charged, the method further includes:
The level for setting the OTG circuits in the high charging circuit, set the high level for reduce first electronic equipment from It sleeps to the fluctuation for waking up appearance.
16. according to the method for claim 15, which is characterized in that the method further includes:
When detecting that stopping charges to second electronic equipment, the level of the OTG circuits is set low.
17. a kind of electronic equipment, which is characterized in that including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
When detect that the charging interface of the first electronic equipment connects is movable OTG cables, and the other end of the OTG cables When connecting the charging interface of the second electronic equipment, determination fills second electronic equipment by first electronic equipment Electricity;
When the power circuit in the charging circuit is switched on, and the interface of the AP in the charging circuit is standard down interface When SDP, determine that the interface that the OTG cables connect second electronic equipment is charging downstream interface CDP;
When the interface for connecting second electronic equipment is CDP, first electronic equipment is controlled with first by the AP Specified current flow size charges to second electronic equipment, and the first specified charging current is more than the second specified charging electricity Stream, the second specified charging current are the corresponding charging currents of the SDP.
18. a kind of computer readable storage medium, which is characterized in that instruction is stored on the computer readable storage medium, Described instruction is executed by processor to complete any one of claim 9-16 charging methods.
CN201810499409.0A 2018-05-23 2018-05-23 Charging circuit, method, electronic device, and storage medium Active CN108631401B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810499409.0A CN108631401B (en) 2018-05-23 2018-05-23 Charging circuit, method, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810499409.0A CN108631401B (en) 2018-05-23 2018-05-23 Charging circuit, method, electronic device, and storage medium

Publications (2)

Publication Number Publication Date
CN108631401A true CN108631401A (en) 2018-10-09
CN108631401B CN108631401B (en) 2020-07-28

Family

ID=63693995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810499409.0A Active CN108631401B (en) 2018-05-23 2018-05-23 Charging circuit, method, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN108631401B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108964182A (en) * 2018-07-17 2018-12-07 北京小米移动软件有限公司 The adjusting method and device of reverse charging equipment, reverse charging electric current
CN110351479A (en) * 2019-05-30 2019-10-18 华为技术有限公司 Light supplement control method, light filling lamp fitting and electronic equipment
CN110829523A (en) * 2019-10-31 2020-02-21 华为技术有限公司 Electronic equipment and reverse charging method
CN111245057A (en) * 2020-03-06 2020-06-05 维沃移动通信有限公司 Electronic equipment
CN111404227A (en) * 2020-03-30 2020-07-10 维沃移动通信有限公司 Charging method, OTG cable and electronic equipment
CN112086830A (en) * 2020-07-23 2020-12-15 福建联迪商用设备有限公司 Data line circuit communicating with Apple equipment
CN113162129A (en) * 2020-01-22 2021-07-23 华为技术有限公司 Electronic equipment, charging method and system
CN116707048A (en) * 2022-09-06 2023-09-05 荣耀终端有限公司 OTG-based charging control method and related device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016028597A1 (en) * 2014-08-20 2016-02-25 Qualcomm Incorporated Fast battery charging through digital feedback
CN105790356A (en) * 2016-04-06 2016-07-20 北京天诚盛业科技有限公司 Data line having charging circuit
CN106026247A (en) * 2016-06-17 2016-10-12 上海与德通讯技术有限公司 Charging equipment and charging method thereof
CN106685018A (en) * 2017-03-17 2017-05-17 上海与德科技有限公司 Reverse charging method and device as well as terminal
CN106712179A (en) * 2016-12-27 2017-05-24 努比亚技术有限公司 Method and device realizing reverse charging
CN107681727A (en) * 2017-10-24 2018-02-09 北京小米移动软件有限公司 The control method and device of electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016028597A1 (en) * 2014-08-20 2016-02-25 Qualcomm Incorporated Fast battery charging through digital feedback
CN105790356A (en) * 2016-04-06 2016-07-20 北京天诚盛业科技有限公司 Data line having charging circuit
CN106026247A (en) * 2016-06-17 2016-10-12 上海与德通讯技术有限公司 Charging equipment and charging method thereof
CN106712179A (en) * 2016-12-27 2017-05-24 努比亚技术有限公司 Method and device realizing reverse charging
CN106685018A (en) * 2017-03-17 2017-05-17 上海与德科技有限公司 Reverse charging method and device as well as terminal
CN107681727A (en) * 2017-10-24 2018-02-09 北京小米移动软件有限公司 The control method and device of electronic equipment

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108964182A (en) * 2018-07-17 2018-12-07 北京小米移动软件有限公司 The adjusting method and device of reverse charging equipment, reverse charging electric current
CN108964182B (en) * 2018-07-17 2020-12-04 北京小米移动软件有限公司 Reverse charging equipment, and method and device for adjusting reverse charging current
US11128148B2 (en) 2018-07-17 2021-09-21 Beijing Xiaomi Mobile Software Co., Ltd. Reverse charging device, and method and device for regulating reverse charging current
CN110351479A (en) * 2019-05-30 2019-10-18 华为技术有限公司 Light supplement control method, light filling lamp fitting and electronic equipment
CN110829523A (en) * 2019-10-31 2020-02-21 华为技术有限公司 Electronic equipment and reverse charging method
WO2021082731A1 (en) * 2019-10-31 2021-05-06 华为技术有限公司 Electronic device and reverse charging method
CN113162129A (en) * 2020-01-22 2021-07-23 华为技术有限公司 Electronic equipment, charging method and system
WO2021147537A1 (en) * 2020-01-22 2021-07-29 华为技术有限公司 Electronic device, charging method and system
CN111245057A (en) * 2020-03-06 2020-06-05 维沃移动通信有限公司 Electronic equipment
CN111404227A (en) * 2020-03-30 2020-07-10 维沃移动通信有限公司 Charging method, OTG cable and electronic equipment
CN112086830A (en) * 2020-07-23 2020-12-15 福建联迪商用设备有限公司 Data line circuit communicating with Apple equipment
CN116707048A (en) * 2022-09-06 2023-09-05 荣耀终端有限公司 OTG-based charging control method and related device

Also Published As

Publication number Publication date
CN108631401B (en) 2020-07-28

Similar Documents

Publication Publication Date Title
CN108631401A (en) Charging circuit, method, electronic equipment and storage medium
US11336105B2 (en) Multi-battery charging and discharging device and mobile terminal
CN106356925B (en) Mobile terminal and its battery charge controller, charge control method
KR101409766B1 (en) Method and system for processing connecting device and potable device using the same
JP7121865B2 (en) Reverse charging device, method and device for adjusting reverse charging current
CN105137831B (en) Energy-saving mode open method and device
CN106067571B (en) For the method and electronic equipment of battery charging
WO2021077611A1 (en) Battery charging method, battery charging apparatus and storage medium
WO2015085501A1 (en) Screen control method, screen control device and touch control terminal
CN105720644A (en) Charging control method and device and terminal device
EP3846305A1 (en) Electronic device, charging method and device for the same, and computer-readable storage medium
CN104991625B (en) Electronic equipment and its repositioning method and device
CN107329520B (en) USB interface connection method, device and system of mobile terminal
CN111949107B (en) Method and device for controlling electronic equipment comprising USB Type-C interface and electronic equipment
CN108919936A (en) The power-off protection apparatus and electronic equipment of electronic equipment
US11556158B2 (en) On-the-go (OTG) control and configuration method, mobile terminal, and storage medium
CN109525919B (en) On-off control device, on-off control method, system and storage medium
CN107124012B (en) Charging method, device, charger, terminal and system
CN106774802A (en) The reminding method of terminal power, device and terminal
CN106325454A (en) Power supply control device and method, and electronic equipment
CN106451670B (en) A kind of charge control method, device and terminal device
CN104917238B (en) Method, device and smart machine that control device is powered
CN113451669A (en) Charging method and device, electronic device and storage medium
CN106655413B (en) Electronic equipment and charging method
CN204886223U (en) Device and smart machine of controlgear power supply

Legal Events

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