WO2018072209A1 - 充电方法及电子设备 - Google Patents

充电方法及电子设备 Download PDF

Info

Publication number
WO2018072209A1
WO2018072209A1 PCT/CN2016/102937 CN2016102937W WO2018072209A1 WO 2018072209 A1 WO2018072209 A1 WO 2018072209A1 CN 2016102937 W CN2016102937 W CN 2016102937W WO 2018072209 A1 WO2018072209 A1 WO 2018072209A1
Authority
WO
WIPO (PCT)
Prior art keywords
charging
path
electronic device
mode
charging path
Prior art date
Application number
PCT/CN2016/102937
Other languages
English (en)
French (fr)
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 PCT/CN2016/102937 priority Critical patent/WO2018072209A1/zh
Priority to CN201680001223.7A priority patent/CN106537720B/zh
Priority to EP17197565.9A priority patent/EP3312969B1/en
Priority to US15/789,116 priority patent/US10797502B2/en
Publication of WO2018072209A1 publication Critical patent/WO2018072209A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/266Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
    • H02J7/0026
    • 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
    • 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 or protection devices or circuits
    • H02J7/0036Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits 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
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/0071Regulation of charging or discharging current or voltage with a programmable schedule
    • H02J7/025
    • 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/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00034Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge
    • 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 or protection devices or circuits
    • H02J7/00304Overcurrent protection

Definitions

  • the present disclosure relates to the field of electronic technologies, and in particular, to a charging method and an electronic device.
  • Wired charging refers to a process of connecting an electronic device to a wired charging device via USB (Universal Serial Bus)
  • wireless charging refers to charging.
  • the electronic device is placed at the transmitting end of the wireless charging device and is within the charging range of the wireless charging device, and the electronic device is charged by the wireless charging device.
  • the wireless charging method charges the mobile phone.
  • a charging method is provided, the charging method being applied to an electronic device, the electronic device comprising a charging circuit, the charging circuit comprising a first charging path operating in a first charging mode, operating at a second charging a second charging path of the mode and a parallel charging path operating simultaneously in the first charging mode and the second charging mode, the method comprising:
  • the technical solution provided by the embodiment of the present disclosure has the beneficial effects of: when the electronic device accesses the second charging mode, detecting a corresponding charging mode suitable for the charging protocol of the second charging mode, according to the charging protocol Controlling the on and off of the first charging path, the second charging path, and the parallel charging path enables charging by using different charging methods depending on the charging protocol.
  • the charging protocol used by the second charging mode is a first type of protocol
  • controlling the first charging path, the second charging path, and the The on/off of the parallel charging path causes the electronic device to perform parallel charging.
  • the charging speed is increased while avoiding the inability to charge or affect the battery life.
  • the first charging mode is a wired charging mode.
  • the second charging mode is a wireless charging mode, and the first type of protocol includes a Qi protocol and a MAP protocol.
  • the charging protocol used in the wireless charging mode is a Qi protocol or a MAP protocol, and when the charging voltage and the charging current corresponding to the wired charging mode are matched with the charging voltage and the charging current of the wired charging mode, parallel charging is performed at this time, which can be avoided. Causes failure to charge or adversely affect battery life.
  • the first charging mode is a wireless charging mode.
  • the second charging mode is a wired charging mode, and the first type of protocol includes a BC1.2 protocol.
  • the charging protocol used in the wired charging mode is the BC1.2 protocol, indicating that the charging voltage and the charging current corresponding to the wired charging mode match the charging voltage and the charging current of the wireless charging mode, parallel charging is performed at this time, which can be avoided. Causes failure to charge or adversely affect battery life.
  • controlling the on and off of the first charging path, the second charging path, and the parallel charging path to enable the electronic device to perform parallel charging including:
  • Controlling, in the first charging path and the second charging path, a charging path operating in a wired charging mode and the parallel charging path are in communication, and controlling a charging path that operates in a wireless charging mode to be disconnected.
  • Parallel charging is performed by controlling the wired charging path, the wireless charging path, and the parallel charging path, thereby improving the switching speed of the charging mode and charging in the parallel charging mode, thereby increasing the charging speed.
  • the controlling the on and off of the first charging path, the second charging path, and the parallel charging path to enable the electronic device to perform parallel charging Thereafter, the method further includes:
  • Controlling a charging current of a charging path operating in a wired charging mode in the first charging path and the second charging path to cause a charging current of a charging path operating in a wired charging mode and charging in a wireless charging mode The absolute value of the difference between the charging currents of the paths is within a preset range.
  • the controlling according to the charging protocol, controlling on and off of the first charging path, the second charging path, and the parallel charging path Charging the electronic device, including:
  • the charging protocol used in the second charging mode is a second type of protocol, controlling the second charging path and the parallel charging path to be disconnected, controlling the first charging path to communicate, and causing the electronic device to be wired Charging
  • the second type of protocol includes the A4WP protocol.
  • the first charging mode is the wired charging mode, in this case Parallel charging causes a higher temperature rise, thereby damaging the electronic device or the charging device; therefore, in order to avoid damage to the electronic device or the charging device, if the charging protocol of the second charging mode is the A4WP protocol, the first The charging path, the second charging path, and the parallel charging path are controlled to perform wired charging of the electronic device.
  • the controlling according to the charging protocol, controlling on and off of the first charging path, the second charging path, and the parallel charging path
  • the electronic device performs charging, and the method further includes:
  • the charging protocol used in the second charging mode is a second type of protocol, controlling the first charging path and the parallel charging path to be disconnected, controlling the second charging path to communicate, and causing the electronic device to be wired Charging
  • the second type of protocol includes a QC protocol and a PD protocol.
  • the second charging mode is the QC protocol or the PD protocol
  • the first charging mode is the wireless charging mode.
  • the charging protocol used in the second charging mode is QC protocol or PD protocol
  • the first charging path, the second charging path, and the parallel The charging path is controlled to wire the electronic device.
  • the controlling the on and off of the first charging path, the second charging path, and the parallel charging path to enable parallel charging of the electronic device Thereafter, the method further includes:
  • controlling a charging path that operates in a wireless charging mode and the parallel charging path are disconnected from the first charging path and the second charging path, and operates The charging path of the wired charging mode is connected to cause the electronic device to perform wired charging.
  • the parallel charging can be further ensured smoothly, and the battery cannot be properly charged or affected due to a large voltage difference or current difference. The situation of life.
  • the controlling the on and off of the first charging path, the second charging path, and the parallel charging path to enable the electronic device to perform parallel charging Thereafter, the method further includes:
  • first current detection information sent by the first charging device and second current detection information sent by the second charging device where the first current detection information includes outputting by the first charging device to the electronic device a current value of the first current, the second current detection information including a current value of the second current output by the second charging device to the electronic device;
  • the parallel charging path is disconnected, and the charging path operating in the wired charging mode is connected to enable the electronic device to perform wired charging.
  • the controlling the on and off of the first charging path, the second charging path, and the parallel charging path to enable the electronic device to perform parallel charging Thereafter, the method further includes:
  • controlling a charging path that operates in a wireless charging mode and the parallel charging path are disconnected from the first charging path and the second charging path, and operates on a wired charging
  • the mode charging path is connected to cause the electronic device to perform wired charging.
  • an electronic device in a second aspect, includes a charging management module and a charging circuit, and the charging circuit includes a first charging interface, a second charging interface, a first switch, a second switch, and a third switch, a first charging path, a parallel charging path, and a second charging path;
  • the first switch is connected to the first charging interface
  • the second switch is connected to the second charging interface, the first switch is connected to the first charging interface, and the first switch is connected to the second switch;
  • the third switch is connected to the second charging interface
  • the charging management module controls on/off of the first charging path by the first switch, and controls on and off of the parallel charging path by the first switch and the second switch, and passes the third switch Controlling the on and off of the second charging path.
  • the first switch, the second switch, and the third switch can control the on and off of the first charging path, the second charging path, and the parallel charging path, thereby improving the flexibility of charging mode switching, thereby improving charging performance.
  • the charging circuit further includes a switch control circuit, wherein the charge management module passes the switch control circuit to the first switch, the second switch, and The third switch performs control.
  • the charging management module realizes the control of the on/off of each charging passage through the switch control circuit, and can further Steps increase the flexibility of charging mode switching.
  • the switch control circuit is connected to a gate of the first switch, a gate of the second switch, and a gate of the third switch;
  • a drain of the first switch is connected to the first charging interface, a source of the first switch is connected to a source of the second switch, a drain of the second switch is connected to the second charging The interface is connected, and a drain of the third switch is connected to the second charging interface.
  • the first switch, the second switch, and the third switch are all NMOS switches.
  • the NMOS switch as the first switch, the second switch, and the third switch, the sensitivity of the control and the stability of the circuit can be improved.
  • the charging management module is further configured to detect a charging type of a charging mode in which the electronic device is located.
  • the charging mode By detecting the type of charging of the charging mode in which the electronic device is placed, the charging mode can be adjusted according to the charging type to further improve the charging performance.
  • the charging management module is further configured to detect a temperature of the electronic device.
  • the charging management module is further configured to: when detecting that the temperature of the electronic device reaches a preset threshold, the first switch, the second The switch and the third switch are controlled such that a charging path operating in a wireless charging mode and the parallel charging path are disconnected from the first charging path and the second charging path, operating in the wired charging mode The charging path is connected.
  • FIG. 1 is a schematic diagram of a charging circuit according to an embodiment of the present disclosure
  • FIG. 2 is a flow chart of a charging method according to an embodiment of the present disclosure
  • FIG. 3 is a flowchart of a charging method according to an embodiment of the present disclosure
  • FIG. 4 is a flow chart of a charging method provided by an embodiment of the present disclosure.
  • Embodiments of the present disclosure provide a charging method applied to an electronic device, the electronic device including a charging circuit including a first charging path operating in a first charging mode and a second operating mode a charging path including a first charging interface, a second charging interface, a first switch, a second switch, and a third switch; the charging circuit and the parallel charging path simultaneously operating in the first charging mode and the second charging mode;
  • the electronic device also includes a charge management module.
  • the first switch is connected to the first charging interface; in the parallel charging path, the second switch is connected to the second charging interface, and the first switch is connected to the first charging interface And the first switch is connected to the second switch; in the second charging path, the third switch is connected to the second charging interface; the charging management module controls the passage of the first charging path through the first switch The first switch and the second switch control the on and off of the parallel charging path, and the third switch controls the on and off of the second charging path.
  • the charging circuit shown in FIG. 1 is a schematic diagram of a charging circuit according to an embodiment of the present disclosure.
  • the charging circuit shown in FIG. 1 the charging circuit further includes a switch control circuit, and the charging management module passes the switch control circuit to the first switch. The second switch and the third switch are controlled.
  • the switch control circuit is connected to the gate of the first switch, the gate of the second switch, and the gate of the third switch; the drain of the first switch is connected to the first charging interface, the source of the first switch Extreme and the first The sources of the two switches are connected, the drain of the second switch is connected to the second charging interface, and the drain of the third switch is connected to the second charging interface.
  • the switch A is the first switch
  • the switch B is the second switch
  • the switch C is the third switch
  • the switch D is the fourth switch.
  • the first switch, the second switch, and the third switch are both NMOS switches.
  • the charging management module is further configured to detect a charging type of the charging mode of the electronic device and detect a temperature of the electronic device, and when detecting that the temperature of the electronic device reaches a preset threshold, the first switch and the second switch
  • the third switch is controlled such that the charging path operating in the wireless charging mode and the parallel charging path are disconnected from the first charging path and the second charging path, and the charging path operating in the wired charging mode is in communication.
  • the charging circuit may further include an over-protection circuit to prevent the voltage or current from being excessively high, and further includes a circuit capable of implementing a step-down function controlled by the fourth switch; of course, the charging circuit may further include a circuit for implementing other functions. Or an electrical device, the embodiment of the present disclosure does not specifically limit this.
  • the electronic device can be used for all devices that use electrical energy, such as a mobile phone, a tablet computer, a camera, etc., and the specific embodiments of the present disclosure are not limited.
  • FIG. 2 is a flowchart of a charging method according to an embodiment of the present disclosure.
  • the execution body of the method is a charging management module in an electronic device. As shown in FIG. 1 , the method includes the following steps:
  • the method provided by the embodiment of the present disclosure when the electronic device accesses the second charging mode, detects that the charging protocol of the second charging mode is a charging protocol suitable for parallel charging, according to the charging protocol, the first charging path, The on and off of the second charging path and the parallel charging path are controlled, and the purpose of charging by using different charging methods according to different charging protocols can be realized.
  • the charging protocol used in the second charging mode is a first type of protocol, controlling the on and off of the first charging path, the second charging path, and the parallel charging path, so that the electronic device performs Parallel charging.
  • the first charging mode is a wired charging mode.
  • the second charging mode is a wireless charging mode, and the first type of protocol includes a Qi protocol and a MAP protocol.
  • the first charging mode is a wireless charging mode
  • the second charging mode is a wired charging mode
  • the first type of protocol includes the BC1.2 protocol
  • controlling the on and off of the first charging path, the second charging path, and the parallel charging path to enable the electronic device to perform parallel charging includes:
  • Controlling, in the first charging path and the second charging path, a charging path operating in a wired charging mode and the parallel charging path are in communication, and controlling a charging path that operates in a wireless charging mode to be disconnected.
  • the controlling the on and off of the first charging path, the second charging path, and the parallel charging path, after the electronic device performs parallel charging also includes:
  • Controlling a charging current of a charging path operating in a wired charging mode in the first charging path and the second charging path to cause a charging current of a charging path operating in a wired charging mode and charging in a wireless charging mode The absolute value of the difference between the charging currents of the paths is within a preset range.
  • the controlling, by the charging protocol, the on and off of the first charging path, the second charging path, and the parallel charging path are performed for the electronic device Charging, including:
  • the charging protocol used in the second charging mode is a second type of protocol, controlling the second charging path and the parallel charging path to be disconnected, controlling the first charging path to communicate, and causing the electronic device to be wired Charging
  • the second type of protocol includes the A4WP protocol.
  • the controlling, by the charging protocol, the on and off of the first charging path, the second charging path, and the parallel charging path, for the electronic device Charging including:
  • the charging protocol used in the second charging mode is a second type of protocol, controlling the first charging path and the parallel charging path to be disconnected, controlling the second charging path to communicate, and causing the electronic device to be wired Charging
  • the second type of protocol includes a QC protocol and a PD protocol.
  • the controlling the on and off of the first charging path, the second charging path, and the parallel charging path, after the electronic device performs parallel charging The method also includes:
  • controlling a charging path that operates in a wireless charging mode and the parallel charging path are disconnected from the first charging path and the second charging path, and operates The charging path of the wired charging mode is connected to cause the electronic device to perform wired charging.
  • the controlling the on and off of the first charging path, the second charging path, and the parallel charging path, after the electronic device performs parallel charging also includes:
  • first current detection information sent by the first charging device and second current detection information sent by the second charging device where the first current detection information includes outputting by the first charging device to the electronic device a current value of the first current, the second current detection information including a current value of the second current output by the second charging device to the electronic device;
  • the parallel charging path is disconnected, and the charging path operating in the wired charging mode is connected to enable the electronic device to perform wired charging.
  • the controlling the on and off of the first charging path, the second charging path, and the parallel charging path, after the electronic device performs parallel charging also includes:
  • controlling a charging path that operates in a wireless charging mode and the parallel charging path are disconnected from the first charging path and the second charging path, and operates on a wired charging
  • the mode charging path is connected to cause the electronic device to perform wired charging.
  • FIG. 3 is a flowchart of a charging method according to an embodiment of the present disclosure.
  • the charging method is applied to an electronic device, where the electronic device includes a charging circuit, and the charging circuit includes a first working mode. a charging path, a second charging path operating in the second charging mode, and a parallel charging path operating in the first charging mode and the second charging mode simultaneously.
  • the implementation of the method is a charging management module in an electronic device.
  • the charging management module is a charging management chip. It is used to manage the charging process of the electronic device to avoid charging abnormality.
  • the charging method includes:
  • the charging mode includes two types: wired charging and wireless charging.
  • the wired charging is divided into BC (Battery Charging) 1.2 protocol, DCP (Discovery and Basic Configuration Protocol), and DCP (Discovery and Basic Configuration Protocol) according to the current magnitude and voltage level.
  • QC Quick Charge
  • PD Power Delivery
  • the charging handshake protocol is completed by D+ (Data+, Data+) signal and D-(Data-, Data-) signal on the USB (Universal Serial Bus) line, or by CC (Channel Configuration) signal. .
  • Wireless charging usually communicates via Bluetooth to implement a handshake protocol; or wireless charging is implemented through transmitter voltage feedback.
  • the wireless charging protocol includes the Qi protocol (the world's first standardization organization to promote wireless charging technology - Wireless Charging Alliance launched The wireless charging standard adopts the most mainstream electromagnetic induction technology, with compatibility and versatility.
  • MAP Manufacturing Automation Protocol
  • A4WP Alliance for Wireless Power
  • the first charging mode and the second charging mode are two different charging modes.
  • the first charging mode is the wired charging mode
  • the second charging mode is a wireless charging mode
  • the first charging path is It is a wired charging path
  • the first charging mode is the wireless charging mode
  • the second charging mode is a wired charging mode
  • the first charging path is a wireless charging path.
  • the charging circuit when the charging circuit is in the first charging mode, if the electronic device is detected to access the second charging mode, it indicates that the charging circuit is about to perform parallel charging, and the parallel charging refers to the electronic device. At the same time, the charging process is performed using the first charging mode and the second charging mode. In order to avoid the phenomenon that the charging voltage or the charging current of the two charging modes is different during the parallel charging process, the phenomenon that the charging cannot be performed or the battery in the electronic device may be damaged may be broken before determining whether parallel charging is possible.
  • the first charging circuit is turned on.
  • the method for detecting whether the electronic device is connected to the second charging mode may be: detecting whether a variation range of the charging voltage or the charging current exceeds a preset range, if the detection is The charging voltage or the variation range of the charging circuit exceeds the preset range, that is, the electronic device is determined to be connected to the second charging mode.
  • the preset range is determined according to a charging voltage or a charging current of the second charging mode, for example, determining the preset range as a minimum charging voltage or a minimum charging current of the second charging mode; and according to the first charging mode
  • the charging voltage fluctuation or the charging current fluctuation determines the preset range, for example, determining the preset range as the maximum charging voltage after the charging voltage fluctuates, or the maximum charging current after the charging current fluctuates; of course, other
  • the method determines the preset range, which is not specifically limited in the embodiment of the present disclosure.
  • the charging circuit when the charging circuit is in the first charging mode, if the electronic device is detected to access the second charging mode, detecting the charging type of the first charging mode to determine the first charging mode. Whether it is wired charging mode or wireless charging mode.
  • the method for detecting the charging type of the first charging mode may be: detecting a current charging successful charging protocol stored in the charging management module, determining a charging type of the first charging mode according to the charging protocol; for example, when the charging management module is used When the stored charging protocol of the current handshake is BC1.2 protocol or QC2.0/3.0 protocol or PD protocol, it is determined that the charging type of the first charging mode is wired charging; when the current handshake stored in the charging management module is successful When the charging protocol is the Qi protocol or the MAP protocol or the A4WP protocol, it is determined that the charging type of the first charging mode is wireless charging.
  • the electronic device is always charged by the first charging mode.
  • the charging management module When detecting that the electronic device accesses the second charging mode, the charging management module sends a plurality of charging protocols corresponding to the charging type to the charging device according to the charging type of the second charging mode, so that the charging device selects the charging device.
  • the charging protocol is used, and the charging protocol selected by the charging device is sent to the charging management module.
  • the charging management module stores the charging protocol of the second charging mode in which the handshake is successful.
  • the method for detecting the charging protocol used by the second charging mode may be: detecting a charging protocol stored in the charging management module that is successfully handshaked and consistent with the second charging mode, the charging protocol That is, the charging protocol used in the second charging mode.
  • the second charging mode can be determined by detecting a charging protocol used by the second charging mode The magnitude of the charging voltage, thereby determining whether the charging voltage matches the magnitude of the charging voltage of the first charging mode. If it matches, it is determined that the charging method can be performed by the parallel charging method. If it is not matched, it is determined that the parallel charging method cannot be used for charging. It avoids the possibility of charging or damaging the battery caused by charging directly using the parallel charging method.
  • step 303 according to the charging protocol, controlling the on/off of the first charging path, the second charging path, and the parallel charging path to charge the electronic device; if the charging protocol used in the second charging mode is the first class The protocol is performed in step 304. If the charging protocol used in the second charging mode is the second type of protocol, step 305 is performed.
  • the charging protocol used in the second charging mode is a first type of protocol, controlling the on and off of the first charging path, the second charging path, and the parallel charging path to cause the electronic device to perform parallel charging.
  • the charging voltage and charging current corresponding to the first type of charging protocol used in the second charging mode match the charging voltage and charging current of the first charging mode.
  • the protocol included in the first type of protocol is also different depending on the type of charging of the second charging mode.
  • controlling the first charging path, the second charging path, and the parallel charging path means controlling the first charging path and the second charging path.
  • the charging path operating in the wired charging mode is in communication with the parallel charging path, and the charging path that operates in the wireless charging mode is controlled to be disconnected. That is, according to the difference between the first charging mode and the second charging mode, the specific control methods of the first charging path, the second charging path, and the parallel charging path are also different, and are specifically divided into the following two cases. Detailed instructions are given.
  • the first charging mode Class protocols include the Qi protocol and the MAP protocol.
  • the charging management module sends a control command to the switch control circuit
  • the control command is used to instruct the switch control circuit to control the first switch in the charging circuit and
  • the second switch is simultaneously closed to enable the wireless charging path to communicate with the parallel charging path
  • the control command is further configured to instruct the switch control circuit to control the third switch to be disconnected to disconnect the wire Charging path.
  • the first Class protocols include the BC1.2 protocol.
  • the charging management module sends a control command to the switch control circuit, the control command is used to instruct the switch control circuit to control the first switch in the charging circuit and
  • the second switch is simultaneously closed to cause the wireless charging path to communicate with the parallel charging path.
  • the charging path when the charging circuit performs parallel charging, the charging path includes a parallel charging path where the first charging path and the second switch where the first switch is located, in order to avoid the initial charging path.
  • the parallel charging occurs, the phenomenon of backflow occurs, and it is necessary to simultaneously control the first switch and the second switch to simultaneously realize the communication and disconnection of the first charging path and the parallel charging path.
  • the backflow refers to a current in a charging path flowing backward into the second charging path.
  • the first charging path is The current flows through the source of the second switch and the source of the first switch to the parallel charging path, which is opposite to the direction of the original charging current in the parallel charging path, resulting in failure to perform parallel charging or affecting battery life.
  • the charging protocol used in the second charging mode is the first protocol
  • the first charging path, the second impulse sensing path, and the parallel charging path are controlled, so that the electronic device is simultaneously wired and wirelessly charged. While increasing the charging speed, it is also possible to avoid the possibility of charging or damaging the battery due to voltage or current mismatch in parallel charging.
  • the charging path operating in the wired charging mode is connected to the parallel charging path, and the control works. After the charging path of the wireless charging mode is disconnected, the charging current can be controlled or detected, including the following two methods:
  • a first method for detecting a charging current to adjust a charging mode specifically, detecting whether a wired charging voltage and a wireless charging voltage match during the parallel charging of the electronic device; if the wired charging voltage and the wireless charging Voltage matching, continue the parallel charging; if the cable The charging voltage and the wireless charging voltage do not match, and the charging path that operates in the wireless charging mode and the parallel charging path are disconnected from the first charging path and the second charging path, and the charging path operating in the wired charging mode is connected.
  • the electronic device is wired for charging.
  • the method for detecting whether the wired charging voltage and the wireless charging voltage match may be: detecting a maximum voltage difference between the wired charging voltage and the wireless charging voltage within a preset duration, if the maximum voltage difference is less than a preset threshold, Determining that the wired charging voltage is matched with the wireless charging voltage; if the maximum voltage difference is not less than the preset threshold, determining that the wired charging voltage and the wireless charging voltage do not match; the preset duration and the pre-predetermined embodiment of the present disclosure
  • the specific numerical values and specific determination methods of the threshold are not limited.
  • the parallel charging can be further ensured smoothly, and the battery cannot be properly charged or affected due to a large voltage difference or current difference. The situation of life.
  • the second method in order to avoid the phenomenon of backflow, can also control the charging current during the parallel charging of the electronic device; specifically, the first charging path and the second charging path work in the wired
  • the charging current of the charging path of the charging mode is controlled such that the absolute value of the difference between the charging current of the charging path operating in the wired charging mode and the charging current of the charging path operating in the wireless charging mode is within a preset range;
  • the specific values and specific determination methods of the preset range are not limited in the embodiment of the present disclosure.
  • the first charging mode is the wired charging mode and the second charging mode is the wireless charging mode
  • the charging path operating in the wired charging mode and the parallel charging The path is connected, and after controlling the charging path of the wireless charging mode to be disconnected, in order to avoid the wired charging current that existed before the wireless charging mode is accessed, the wired charging current in the parallel charging path is reversed to the parallel charging circuit.
  • the first charging mode is the wireless charging mode and the second charging mode is the wired charging mode
  • the first switch and the second switch are turned on, the wireless charging current in the wireless charging path is performed. limit.
  • the first charging device since the output voltage of the first charging mode and the charging voltage of the second charging mode are slightly different, the first charging device is used in order to avoid a situation in which parallel charging is abnormal due to such a small difference. And the second charging device periodically detects the magnitude of the output current, and periodically reports the detected output current value to the charging management module, so that the charging management module root According to the output current value, the charging mode is adjusted in time to ensure smooth charging.
  • the specific implementation method of the process can be:
  • the charging management module receives the first current detecting information sent by the first charging device and the second current detecting information sent by the second charging device, where the first current detecting information includes the first charging device outputting the electronic device a current value of the first current, the second current detection information includes a current value of the second current output by the second charging device to the electronic device; and a current value of the first current and a current value of the second current
  • the charging path that operates in the wireless charging mode and the parallel charging path are disconnected from the first charging path and the second charging path, and the charging path operating in the wired charging mode is connected to enable the electronic device to perform Wired charging.
  • the first charging mode is a wireless charging mode
  • the second charging mode is a wired charging mode
  • the first charging device is a wireless charging device
  • the second charging device is a wired charging device
  • the first charging mode is a wired charging mode
  • the second charging mode is a wireless charging mode
  • the first charging device is a wired charging device
  • the second charging mode is a wireless charging device.
  • the product of the current value of the first current and the current value of the second current is less than 0, indicating that a backfill phenomenon occurs during the parallel charging process, that is, a current in one charging path flows to another charging path, and The original charging current in the other charging path is opposite in direction.
  • the charging management module needs to control the first charging path, the second charging path and the parallel charging path to stop parallel charging and perform wired charging.
  • the temperature of the electronic device is tested to ensure that adverse effects on the electronic device are minimized.
  • the specific method can be:
  • the parallel charging of the electronic device detecting the temperature of the electronic device; when the temperature of the electronic device reaches a preset threshold, controlling the first charging path and the second charging path to operate in a wireless charging mode
  • the charging path and the parallel charging path are disconnected, and the charging path of the wired charging mode is connected to enable the electronic device to perform wired charging.
  • the method for determining the preset threshold and the specific value are not limited in the embodiment of the present disclosure.
  • the charging protocol used in the second charging mode is a second type of protocol, control the second charging path and the parallel charging path to be disconnected, and control the first charging path to communicate, so that the electronic device performs wired charging.
  • the charging voltage and the charging current corresponding to the second type of charging protocol used in the second charging mode do not match the charging voltage and the charging current of the first charging mode, or the second type of charging protocol used in the second charging mode It causes the temperature to rise too fast when charging. If you use other charging modes for parallel charging, it will cause the temperature to rise faster, which will damage the electronic device or the charging device. Because the wired charging mode is stable and the charging speed is relatively fast, At this time, the electronic charging device can be charged by preferentially selecting the wired charging mode.
  • the protocols included in the second type of protocol are also different, and specifically include the following two situations:
  • the second type of protocol includes a QC protocol and a PD protocol.
  • the second charging mode is the QC protocol or the PD protocol
  • the first charging mode is the wireless charging mode.
  • the charging protocol used in the second charging mode is QC protocol or PD protocol
  • the first charging path, the second charging path, and the parallel The charging path is controlled to wire the electronic device.
  • the second type of protocol includes the A4WP protocol.
  • the first charging mode is the wired charging mode, in this case Parallel charging causes a higher temperature rise, thereby damaging the electronic device or the charging device; therefore, in order to avoid damage to the electronic device or the charging device, if the charging protocol of the second charging mode is the A4WP protocol, the first The charging path, the second charging path, and the parallel charging path are controlled to perform wired charging of the electronic device.
  • the charging protocol used in the second charging mode is a protocol that is not suitable for parallel charging When the cable is wired to charge the electronic device, it is possible to avoid the situation that the parallel charging may cause charging failure or affect the battery life.
  • the charging method provided by the present disclosure may be performed according to the flow shown in FIG. 4 during actual use.
  • detecting that the electronic device is connected to the second charging mode detecting the charging type of the first charging mode, according to the first The charging type of the charging mode is different, and the corresponding operations are respectively performed according to the two branches shown in FIG.
  • the first branch when the first charging mode is the wired charging mode, if there is no wireless charging mode access, continue to maintain the first charging mode to charge the electronic device; if there is wireless charging mode access, disconnect the wired charging path, And detecting a charging protocol used by the wireless charging mode, when the charging protocol used in the wireless charging mode is the A4WP protocol, disconnecting the wireless charging path, connecting the wired charging path, and performing wired charging on the electronic device; when the wireless charging When the charging protocol used by the mode is the Qi protocol or the MAP protocol, the wired charging path and the parallel charging path are connected, and whether the wired charging voltage and the wireless charging voltage are matched, and if the matching performs parallel charging, if it does not match, the parallel charging path is disconnected. , perform wired charging.
  • the second branch when the first charging mode is the wireless charging mode, if there is no wired charging mode access, continue to maintain the first charging mode to charge the electronic device; if there is a wired charging mode access, disconnect the wired charging path, And detecting a charging protocol used by the wired charging mode, when the charging protocol used in the wired charging mode is a QC protocol or a PD protocol, disconnecting the wireless charging path, connecting the wired charging path, and performing wired charging on the electronic device;
  • the charging protocol used in the wired charging mode is the BC1.2 protocol
  • the wired charging path and the parallel charging path are connected, and whether the wired charging voltage and the wireless charging voltage are matched, and if the matching performs parallel charging, if it does not match, the parallel connection is disconnected. Charge the path and perform wired charging.
  • the method provided by the embodiment of the present disclosure when the electronic device accesses the second charging mode, detects that the charging protocol of the second charging mode is a charging protocol suitable for parallel charging, and the first charging path and the second charging
  • the path and the parallel charging path are controlled to perform parallel charging, while increasing the charging speed, avoiding the situation that the charging cannot be performed or affecting the battery life; by adding the temperature protection function, in the process of parallel charging of the electronic device, It is possible to avoid the adverse effect on the electronic device due to the temperature rise, and also to ensure that when the parallel charging causes the temperature rise to be too high, the battery is automatically switched to the wired charging mode for charging, thereby achieving the purpose of further optimizing the charging method.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Abstract

一种充电方法及电子设备,属于电子技术领域。所述充电方法应用于电子设备,所述电子设备包括充电电路,所述充电电路包括工作于第一充电模式的第一充电通路、工作于第二充电模式的第二充电通路和同时工作于所述第一充电模式和所述第二充电模式的并行充电通路,所述方法包括:如果在所述充电电路处于第一充电模式时,检测到所述电子设备接入第二充电模式,断开所述第一充电通路(201);检测所述第二充电模式所使用的充电协议(202);根据所述充电协议,控制所述第一充电通路、所述第二充电通路和所述并行充电通路的通断,为所述电子设备进行充电(203),在提高充电速度的同时,避免导致无法进行充电的情况。

Description

充电方法及电子设备 技术领域
本公开涉及电子技术领域,特别涉及一种充电方法及电子设备。
背景技术
随着电子技术的不断发展和日益成熟,电子设备如手机、平板电脑、手提电脑等也成为人们生活和工作中必不可少的工具。随着用户对电子设备的使用次数增多,由于电子设备中电池的蓄电能力有限,因此需要经常对该电子设备进行充电,以确保该电子设备能够正常工作。
对于电子设备的充电,常用的充电方法包括有线充电和无线充电,有线充电是指通过USB(Universal Serial Bus,通用串行总线)将电子设备与有线充电设备连接进行充电的过程,无线充电是指将电子设备置于无线充电设备的发射端,并处于该无线充电设备的充电范围内,通过该无线充电设备对该电子设备进行充电。而当用户在使用有线充电设备对电子设备进行充电时,如果用户将该电子设备同时放在无线充电器的发射端,并在该无线充电器的充电范围内,此时手机可能同时采用有线和无线两种充电方式对该手机进行充电。
发明内容
为了解决现有技术的问题,本公开实施例提供了一种充电方法及电子设备。所述技术方案如下:
第一方面,提供了一种充电方法,所述充电方法应用于电子设备,所述电子设备包括充电电路,所述充电电路包括工作于第一充电模式的第一充电通路、工作于第二充电模式的第二充电通路和同时工作于所述第一充电模式和所述第二充电模式的并行充电通路,所述方法包括:
如果在所述充电电路处于第一充电模式时,检测到所述电子设备接入第二充电模式,断开所述第一充电通路;
检测所述第二充电模式所使用的充电协议;
根据所述充电协议,控制所述第一充电通路、所述第二充电通路和所述并行充电通路的通断,为所述电子设备进行充电。
本公开实施例提供的技术方案带来的有益效果是:通过在该电子设备接入第二充电模式时,检测到该第二充电模式的充电协议所适合的对应的充电方式,根据该充电协议对第一充电通路、第二充电通路和并行充电通路的通断进行控制,能够实现根据充电协议的不同采用不同的充电方式进行充电的目的。
在本公开的第一方面的第一种可能实现方式中,如果所述第二充电模式所使用的充电协议为第一类协议,控制所述第一充电通路、所述第二充电通路和所述并行充电通路的通断,使所述电子设备进行并行充电。
通过对该第一充电通路、第二充电通路和并行充电通路进行控制,以进行并行充电,在提高充电速度的同时,避免导致无法进行充电或影响电池寿命的情况。
在本公开的第一方面的第二种可能实现方式中,当所述第一充电通路为有线充电通路,所述第二充电通路为无线充电通路时,所述第一充电模式为有线充电模式,所述第二充电模式为无线充电模式,所述第一类协议包括Qi协议和MAP协议。
该无线充电模式所使用的充电协议为Qi协议或MAP协议,表示该有线充电模式对应的充电电压和充电电流与有线充电模式的充电电压和充电电流相匹配时,此时执行并行充电,能够避免导致无法充电或对电池寿命造成不良影响的情况。
在本公开的第一方面的第三种可能实现方式中,当所述第一充电通路为无线充电通路,所述第二充电通路为有线充电通路时,所述第一充电模式为无线充电模式,所述第二充电模式为有线充电模式,所述第一类协议包括BC1.2协议。
在该有线充电模式所使用的充电协议为BC1.2协议,表示该有线充电模式对应的充电电压和充电电流与无线充电模式的充电电压和充电电流相匹配时,此时执行并行充电,能够避免导致无法充电或对电池寿命造成不良影响的情况。
在本公开的第一方面的第四种可能实现方式中,所述控制所述第一充电通路、所述第二充电通路和所述并行充电通路的通断,使所述电子设备进行并行充电,包括:
控制所述第一充电通路和所述第二充电通路中,工作于有线充电模式的充电通路和所述并行充电通路连通,控制工作于无线充电模式的充电通路断开。
通过对有线充电通路、无线充电通路和并行充电通路的控制,执行并行充电,能够提高充电模式的切换速度,采用并行充电模式进行充电,能够提高充电速度。
在本公开的第一方面的第五种可能实现方式中,所述控制所述第一充电通路、所述第二充电通路和所述并行充电通路的通断,使所述电子设备进行并行充电之后,所述方法还包括:
对所述第一充电通路和所述第二充电通路中,工作于有线充电模式的充电通路的充电电流进行控制,使工作于有线充电模式的充电通路的充电电流与工作于无线充电模式的充电通路的充电电流之间的差值的绝对值在预设范围内。
通过在开始进行并行充电时,对充电电流进行限制,能够避免发生电流倒灌现象,以确保并行充电的顺利进行,达到优化并行充电的目的。
在本公开的第一方面的第六种可能实现方式中,所述根据所述充电协议,控制所述第一充电通路、所述第二充电通路和所述并行充电通路的通断,为所述电子设备进行充电,包括:
如果所述第二充电模式所使用的充电协议为第二类协议,控制所述第二充电通路和所述并行充电通路断开,控制所述第一充电通路连通,使所述电子设备进行有线充电,所述第二类协议包括A4WP协议。
由于无线充电协议A4WP协议的无线充电范围较大,且无线充电过程中温度上升较高,如果在该第二充电模式的充电协议为A4WP协议,第一充电模式为有线充电模式,这种情况下进行并行充电,会导致温度上升更高,从而损坏电子设备或充电设备;因此,为了避免对该电子设备或充电设备的损坏,如果该第二充电模式的充电协议为A4WP协议,对该第一充电通路、第二充电通路和并行充电通路进行控制,以对该电子设备进行有线充电。
在本公开的第一方面的第七种可能实现方式中,所述根据所述充电协议,控制所述第一充电通路、所述第二充电通路和所述并行充电通路的通断,为所述电子设备进行充电,所述方法还包括:
如果所述第二充电模式所使用的充电协议为第二类协议,控制所述第一充电通路和所述并行充电通路断开,控制所述第二充电通路连通,使所述电子设备进行有线充电,所述第二类协议包括QC协议和PD协议。
由于有线充电协议QC协议和PD协议的充电电压高于无线充电电压,如果在该第二充电模式为QC协议或PD协议,第一充电模式为无线充电模式,这种情况下进行并行充电时,会产生电流倒灌现象,无法正常进行充电;因此,为了确保能够顺利充电,如果该第二充电模式所使用的充电协议为QC协议或PD协议,对该第一充电通路、第二充电通路和并行充电通路进行控制,以对该电子设备进行有线充电。
在本公开的第一方面的第八种可能实现方式中,所述控制所述第一充电通路、所述第二充电通路和所述并行充电通路的通断,使所述电子设备进行并行充电之后,所述方法还包括:
在所述电子设备进行并行充电的过程中,检测有线充电电压和无线充电电压是否匹配;
如果所述有线充电电压和所述无线充电电压匹配,继续进行所述并行充电;
如果所述有线充电电压和所述无线充电电压不匹配,控制所述第一充电通路和所述第二充电通路中,工作于无线充电模式的充电通路和所述并行充电通路断开,工作于有线充电模式的充电通路连通,使所述电子设备进行有线充电。
通过在该电子设备进行并行充电的过程中,检测有线充电电压和无线充电电压是否匹配,能够进一步保障并行充电的顺利进行,避免由于较大的电压差或电流差,导致无法正常充电或影响电池寿命的情况。
在本公开的第一方面的第九种可能实现方式中,所述控制所述第一充电通路、所述第二充电通路和所述并行充电通路的通断,使所述电子设备进行并行充电之后,所述方法还包括:
接收第一充电设备发送的第一电流侦测信息,和第二充电设备发送的第二电流侦测信息,所述第一电流侦测信息包括所述第一充电设备向所述电子设备输出的第一电流的电流值,所述第二电流侦测信息包括所述第二充电设备向所述电子设备输出的第二电流的电流值;
当所述第一电流的电流值与所述第二电流的电流值的乘积小于0时,控制所述第一充电通路和所述第二充电通路中,工作于无线充电模式的充电通路和所述并行充电通路断开,工作于有线充电模式的充电通路连通,使所述电子设备进行有线充电。
通过在并行充电过程中,周期性地对充电电流进行侦测,能够在发生倒灌 现象时,及时暂停并行充电,避免长时间倒灌导致无法正常充电和对电池寿命造成的不良影响,从而达到优化并行充电性能的目的。
在本公开的第一方面的第十种可能实现方式中,所述控制所述第一充电通路、所述第二充电通路和所述并行充电通路的通断,使所述电子设备进行并行充电之后,所述方法还包括:
在所述电子设备进行并行充电的过程中,检测所述电子设备的温度;
当所述电子设备的温度达到预设阈值时,控制所述第一充电通路和所述第二充电通路中,工作于无线充电模式的充电通路和所述并行充电通路断开,工作于有线充电模式的充电通路连通,使所述电子设备进行有线充电。
通过加入温度保护功能,使得在该电子设备进行并行充电的过程中,能够避免由于温度升高对该电子设备造成的不良影响,而且还能够确保在该并行充电导致温度上升过高时,自动切换至有线充电模式进行充电,从而达到进一步优化该充电方法的目的。
第二方面,提供了一种电子设备,所述电子设备包括充电管理模块和充电电路,所述充电电路包括第一充电接口、第二充电接口、第一开关、第二开关、第三开关、第一充电通路、并行充电通路和第二充电通路;
在所述第一充电通路中,所述第一开关与所述第一充电接口相连;
在所述并行充电通路中,所述第二开关与所述第二充电接口相连,所述第一开关与所述第一充电接口相连,且所述第一开关与所述第二开关相连;
在所述第二充电通路中,所述第三开关与所述第二充电接口相连;
所述充电管理模块通过所述第一开关控制所述第一充电通路的通断,通过所述第一开关和所述第二开关控制所述并行充电通路的通断,通过所述第三开关控制所述第二充电通路的通断。
通过第一开关、第二开关和第三开关能够实现对第一充电通路、第二充电通路和并行充电通路通断的控制,提高充电模式切换的灵活性,从而提高充电性能。
在本公开的第二方面的第一种可能实现方式中,所述充电电路还包括开关控制电路,所述充电管理模块通过所述开关控制电路对所述第一开关、所述第二开关和所述第三开关进行控制。
充电管理模块通过开关控制电路实现对各充电通路通断的控制,能够进一 步提高充电模式切换的灵活性。
在本公开的第二方面的第二种可能实现方式中,所述开关控制电路连接所述第一开关的栅极、所述第二开关的栅极、所述第三开关的栅极;
所述第一开关的漏极与所述第一充电接口相连,所述第一开关的源极与所述第二开关的源极相连,所述第二开关的漏极与所述第二充电接口相连,所述第三开关的漏极与所述第二充电接口相连。
在本公开的第二方面的第三种可能实现方式中,所述第一开关、所述第二开关和所述第三开关均为NMOS开关。
通过采用NMOS开关作为该第一开关、第二开关和第三开关,能够提高控制的灵敏性及电路的稳定性。
在本公开的第二方面的第四种可能实现方式中,所述充电管理模块还用于检测所述电子设备所处充电模式的充电类型。
通过检测电子设备所处充电模式的充电类型,能够根据该充电类型调整充电模式,进一步提高充电性能。
在本公开的第二方面的第五种可能实现方式中,所述充电管理模块还用于检测所述电子设备的温度。
通过检测电子设备的温度,能够为根据温度情况改变充电模式奠定基础,从而避免由于高温造成对电子设备或充电设备的损坏。
在本公开的第二方面的第六种可能实现方式中,所述充电管理模块还用于在检测到所述电子设备的温度达到预设阈值时,对所述第一开关、所述第二开关和所述第三开关进行控制,使得所述第一充电通路和所述第二充电通路中,工作于无线充电模式的充电通路和所述并行充电通路断开,工作于所述有线充电模式的充电通路连通。
通过加入温度保护功能,使得在该电子设备进行并行充电的过程中,能够避免由于温度升高对该电子设备造成的不良影响,而且还能够确保在该并行充电导致温度上升过高时,自动切换至有线充电模式进行充电,从而达到进一步优化该充电方法的目的。
附图说明
为了更清楚地说明本公开实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开 的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本公开实施例提供的一种充电电路示意图;
图2是本公开实施例提供的一种充电方法流程图;
图3是本公开实施例提供的一种充电方法流程图;
图4是本公开实施例提供的一种充电方法流程图。
具体实施方式
为使本公开的目的、技术方案和优点更加清楚,下面将结合附图对本公开实施方式作进一步地详细描述。
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。
本公开实施例提供了一种充电方法,该充电方法应用于电子设备,该电子设备包括充电电路,该充电电路包括工作于第一充电模式的第一充电通路、工作于第二充电模式的第二充电通路和同时工作于该第一充电模式和该第二充电模式的并行充电通路,该充电电路包括第一充电接口、第二充电接口、第一开关、第二开关、第三开关;该电子设备还包括充电管理模块。
在该第一充电通路中,该第一开关与该第一充电接口相连;在该并行充电通路中,该第二开关与该第二充电接口相连,该第一开关与该第一充电接口相连,且该第一开关与该第二开关相连;在该第二充电通路中,该第三开关与该第二充电接口相连;该充电管理模块通过该第一开关控制该第一充电通路的通断,通过该第一开关和该第二开关控制该并行充电通路的通断,通过该第三开关控制该第二充电通路的通断。
图1是本公开实施例提供的一种充电电路示意图,在图1所示的充电电路中,该充电电路还包括开关控制电路,该充电管理模块通过该开关控制电路对该第一开关、该第二开关和该第三开关进行控制。
该开关控制电路连接该第一开关的栅极、该第二开关的栅极、该第三开关的栅极;该第一开关的漏极与该第一充电接口相连,该第一开关的源极与该第 二开关的源极相连,该第二开关的漏极与该第二充电接口相连,该第三开关的漏极与该第二充电接口相连。
在图1中,开关A为第一开关、开关B为第二开关、开关C为第三开关、开关D为第四开关。该第一开关、该第二开关和该第三开关均为NMOS开关。该充电管理模块还用于检测该电子设备所处充电模式的充电类型及检测该电子设备的温度,在检测到该电子设备的温度达到预设阈值时,对该第一开关、该第二开关和该第三开关进行控制,使得该第一充电通路和该第二充电通路中,工作于无线充电模式的充电通路和该并行充电通路断开,工作于该有线充电模式的充电通路连通。
此外,该充电电路中还可以包括过保护电路,以防止电压或电流过高,还包括由第四开关控制的能够实现降压功能的电路;当然,该充电电路还可以包括实现其他功能的电路或电器件,本公开实施例对此不作具体限定。
需要说明的是,该电子设备可以为所有使用电能进行工作的设备,如手机、平板电脑、相机等设备,本公开实施例对该电子设备具体所指也不作限定。
图2是本公开实施例提供的一种充电方法流程图,该方法的执行主体为电子设备中的充电管理模块,如图1所示,包括以下步骤:
201、如果在充电电路处于第一充电模式时,检测到电子设备接入第二充电模式,断开第一充电通路。
202、检测第二充电模式所使用的充电协议。
203、根据所述充电协议,控制所述第一充电通路、所述第二充电通路和所述并行充电通路的通断,为所述电子设备进行充电。
本公开实施例提供的方法,通过在该电子设备接入第二充电模式时,检测到该第二充电模式的充电协议为适合进行并行充电的充电协议,根据该充电协议对第一充电通路、第二充电通路和并行充电通路的通断进行控制,能够实现根据充电协议的不同采用不同的充电方式进行充电的目的。
在本公开的第一种可能实现方式中,如果第二充电模式所使用的充电协议为第一类协议,控制第一充电通路、第二充电通路和并行充电通路的通断,使电子设备进行并行充电。
在本公开的第二种可能实现方式中,当所述第一充电通路为有线充电通路,所述第二充电通路为无线充电通路时,所述第一充电模式为有线充电模式, 所述第二充电模式为无线充电模式,所述第一类协议包括Qi协议和MAP协议。
在本公开的第三种可能实现方式中,当所述第一充电通路为无线充电通路,所述第二充电通路为有线充电通路时,所述第一充电模式为无线充电模式,所述第二充电模式为有线充电模式,所述第一类协议包括BC1.2协议。
在本公开的第四种可能实现方式中,所述控制所述第一充电通路、所述第二充电通路和所述并行充电通路的通断,使所述电子设备进行并行充电,包括:
控制所述第一充电通路和所述第二充电通路中,工作于有线充电模式的充电通路和所述并行充电通路连通,控制工作于无线充电模式的充电通路断开。
在本公开的第五种可能实现方式中,所述控制所述第一充电通路、所述第二充电通路和所述并行充电通路的通断,使所述电子设备进行并行充电之后,所述方法还包括:
对所述第一充电通路和所述第二充电通路中,工作于有线充电模式的充电通路的充电电流进行控制,使工作于有线充电模式的充电通路的充电电流与工作于无线充电模式的充电通路的充电电流之间的差值的绝对值在预设范围内。
在本公开的第六种可能实现方式中,所述根据所述充电协议,控制所述第一充电通路、所述第二充电通路和所述并行充电通路的通断,为所述电子设备进行充电,包括:
如果所述第二充电模式所使用的充电协议为第二类协议,控制所述第二充电通路和所述并行充电通路断开,控制所述第一充电通路连通,使所述电子设备进行有线充电,所述第二类协议包括A4WP协议。
在本公开的第七种可能实现方式中,所述根据所述充电协议,控制所述第一充电通路、所述第二充电通路和所述并行充电通路的通断,为所述电子设备进行充电,包括:
如果所述第二充电模式所使用的充电协议为第二类协议,控制所述第一充电通路和所述并行充电通路断开,控制所述第二充电通路连通,使所述电子设备进行有线充电,所述第二类协议包括QC协议和PD协议。
在本公开的第八种可能实现方式中,所述控制所述第一充电通路、所述第二充电通路和所述并行充电通路的通断,使所述电子设备进行并行充电之后,所述方法还包括:
在所述电子设备进行并行充电的过程中,检测有线充电电压和无线充电电压是否匹配;
如果所述有线充电电压和所述无线充电电压匹配,继续进行所述并行充电;
如果所述有线充电电压和所述无线充电电压不匹配,控制所述第一充电通路和所述第二充电通路中,工作于无线充电模式的充电通路和所述并行充电通路断开,工作于有线充电模式的充电通路连通,使所述电子设备进行有线充电。
在本公开的第九种可能实现方式中,所述控制所述第一充电通路、所述第二充电通路和所述并行充电通路的通断,使所述电子设备进行并行充电之后,所述方法还包括:
接收第一充电设备发送的第一电流侦测信息,和第二充电设备发送的第二电流侦测信息,所述第一电流侦测信息包括所述第一充电设备向所述电子设备输出的第一电流的电流值,所述第二电流侦测信息包括所述第二充电设备向所述电子设备输出的第二电流的电流值;
当所述第一电流的电流值与所述第二电流的电流值的乘积小于0时,控制所述第一充电通路和所述第二充电通路中,工作于无线充电模式的充电通路和所述并行充电通路断开,工作于有线充电模式的充电通路连通,使所述电子设备进行有线充电。
在本公开的第十种可能实现方式中,所述控制所述第一充电通路、所述第二充电通路和所述并行充电通路的通断,使所述电子设备进行并行充电之后,所述方法还包括:
在所述电子设备进行并行充电的过程中,检测所述电子设备的温度;
当所述电子设备的温度达到预设阈值时,控制所述第一充电通路和所述第二充电通路中,工作于无线充电模式的充电通路和所述并行充电通路断开,工作于有线充电模式的充电通路连通,使所述电子设备进行有线充电。
上述所有可选技术方案,可以采用任意结合形成本公开的可选实施例,在此不再一一赘述。
图3是本公开实施例提供的一种充电方法的流程图,如图3所示,该充电方法应用于电子设备,该电子设备包括充电电路,该充电电路包括工作于第一充电模式的第一充电通路、工作于第二充电模式的第二充电通路和同时工作于该第一充电模式和该第二充电模式的并行充电通路。该方法的执行主体为电子设备中的充电管理模块,在本公开实施例中,该充电管理模块为充电管理芯片, 用于对该电子设备的充电过程进行管理,以避免发生充电异常的现象。该充电方法包括:
301、如果在该充电电路处于第一充电模式时,检测到该电子设备接入第二充电模式,断开该第一充电通路。
目前充电模式包括有线充电和无线充电两种,有线充电根据电流大小和电压高低又分为以BC(Battery Charging,蓄电池充电)1.2协议、DCP(Discovery and basic Configuration Protocol,发现和基本配置协议)、QC(Quick Charge,快速充电)协议及PD(Power Delivery,功率输出)协议进行充电等充电方式,其中,BC1.2协议的充电电压小于QC协议的充电电压和PD协议的充电电压;这些充电协议通过USB(Universal Serial Bus,通用串行总线)线上的D+(Data+,数据+)信号和D-(Data-,数据-)信号,或者通过CC(Channel Configuration,通道配置)信号完成充电握手协议。而无线充电通常是通过蓝牙进行通信,实现握手协议;或者通过发射端电压反馈,实现无线充电功能,无线充电协议包括Qi协议(是全球首个推动无线充电技术的标准化组织——无线充电联盟推出的无线充电标准,其采用了目前最为主流的电磁感应技术,具备兼容性以及通用性两大特点)、MAP(Manufacturing Automation Protocol,制造自动化协议)和A4WP(Alliance for Wireless Power,无线充电标准联盟)协议。
该第一充电模式和该第二充电模式为两种不同的充电模式,当该第一充电模式为有线充电模式时,该第二充电模式为无线充电模式,相应地,该第一充电通路即为有线充电通路;当该第一充电模式为无线充电模式时,该第二充电模式为有线充电模式,相应地,该第一充电通路即为无线充电通路。
在本公开实施例中,在该充电电路处于第一充电模式时,如果检测到该电子设备接入第二充电模式,即表示该充电电路即将进行并行充电,该并行充电是指对该电子设备同时采用第一充电模式和第二充电模式进行充电的过程。为了避免在并行充电过程中,由于两种充电模式的充电电压或充电电流不同,可能造成的无法充电或对该电子设备中的电池造成损坏的现象,在确定能否进行并行充电之前,先断开该第一充电电路。
需要说明的是,在该充电电路处于第一充电模式时,检测该电子设备是否接入第二充电模式的方法可以为:检测充电电压或充电电流的变化范围是否超过预设范围,如果检测到充电电压或充电电路的变化范围超过该预设范围,即确定该电子设备接入第二充电模式。
其中,该预设范围根据第二充电模式的充电电压或充电电流确定,例如,将该预设范围确定为第二充电模式的最小充电电压或最小充电电流;也可以根据该该第一充电模式的充电电压波动或充电电流波动确定该预设范围,例如,将该预设范围确定为充电电压发生波动后的最大充电电压,或者充电电流发生波动后的最大充电电流;当然,也可以采用其他方法确定该预设范围,本公开实施例对此不作具体限定。
通过检测该电子设备在以第一充电模式进行充电的过程中,是否接入第二充电模式,确定断开第一充电通路的时机,以确保在不影响该电子设备正常充电的前提下,避免发生在接入第二充电模式时导致电子设备无法充电或影响电池寿命的情况。
在本公开另一实施例中,在该充电电路处于第一充电模式时,如果检测到该电子设备接入第二充电模式,检测该第一充电模式的充电类型,以确定该第一充电模式为有线充电模式还是无线充电模式。
检测该第一充电模式的充电类型的方法可以为:检测充电管理模块中存储的当前握手成功的充电协议,根据该充电协议确定该第一充电模式的充电类型;例如,当该充电管理模块中存储的当前握手成功的充电协议为BC1.2协议或QC2.0/3.0协议或PD协议时,确定该第一充电模式的充电类型为有线充电;当该充电管理模块中存储的当前握手成功的充电协议为Qi协议或MAP协议或A4WP协议时,确定该第一充电模式的充电类型为无线充电。
需要说明的是,在该充电电路处于第一充电模式期间,如果没有其他充电模式接入,则一直采用该第一充电模式对该电子设备进行充电。
302、检测该第二充电模式所使用的充电协议。
充电管理模块在检测到该电子设备接入该第二充电模式时,根据该第二充电模式的充电类型,将多个与该充电类型对应的充电协议发送至充电设备,以供充电设备选择所使用的充电协议,并向该充电管理模块发送该充电设备所选择的充电协议,当该充电协议握手成功后,该充电管理模块将该握手成功的第二充电模式的充电协议进行存储。
在本公开实施例中,检测该第二充电模式所使用的充电协议的方法可以为:检测该充电管理模块中存储的已握手成功的、与该第二充电模式一致的充电协议,该充电协议即为该第二充电模式所使用的充电协议。
通过检测该第二充电模式所使用的充电协议,能够确定该第二充电模式的 充电电压的大小,从而确定该充电电压是否与第一充电模式的充电电压的大小匹配,如果匹配,则确定可以采用并行充电方法进行充电,如果不匹配,则确定不能采用并行充电方法进行充电,避免了直接采用并行充电方法进行充电导致的无法充电或损坏电池的情况。
303、根据该充电协议,控制该第一充电通路、该第二充电通路和该并行充电通路的通断,为该电子设备进行充电;如果该第二充电模式所使用的充电协议为第一类协议,执行步骤304;如果该第二充电模式所使用的充电协议为第二类协议,执行步骤305.
通过在该电子设备接入第二充电模式时,检测到该第二充电模式的充电协议所适合的对应的充电方式,根据该充电协议对第一充电通路、第二充电通路和并行充电通路的通断进行控制,能够实现根据充电协议的不同采用不同的充电方式进行充电的目的。
304、如果该第二充电模式所使用的充电协议为第一类协议,控制该第一充电通路、该第二充电通路和该并行充电通路的通断,使该电子设备进行并行充电。
该第二充电模式所使用的第一类充电协议对应的充电电压和充电电流与第一充电模式的充电电压和充电电流相匹配。根据该第二充电模式的充电类型不同,该第一类协议所包括的协议也不同。
在该第二充电模式所使用的充电协议为第一类协议时,控制该第一充电通路、该第二充电通路和该并行充电通路,是指控制该第一充电通路和该第二充电通路中,工作于有线充电模式的充电通路和该并行充电通路连通,控制工作于无线充电模式的充电通路断开。也即是,根据该第一充电模式和该第二充电模式的不同,对该第一充电通路、该第二充电通路和该并行充电通路的具体控制方法也不同,具体分为以下两种情况进行详细说明。
第一种情况、当该第一充电通路为有线充电通路,该第二充电通路为无线充电通路时,该第一充电模式为有线充电模式,该第二充电模式为无线充电模式,该第一类协议包括Qi协议和MAP协议。
在这种情况下,当充电电路为如图2所示的电路时,该充电管理模块向开关控制电路发送控制指令,该控制指令用于指示开关控制电路控制该充电电路中的第一开关和第二开关同时闭合,以使得该无线充电通路和该并行充电通路连通,该控制指令还用于指示该开关控制电路控制第三开关断开,以断开有线 充电通路。
第二种情况、当该第一充电通路为无线充电通路,该第二充电通路为有线充电通路时,该第一充电模式为无线充电模式,该第二充电模式为有线充电模式,该第一类协议包括BC1.2协议。
在这种情况下,当充电电路为如图2所示的电路时,该充电管理模块向开关控制电路发送控制指令,该控制指令用于指示开关控制电路控制该充电电路中的第一开关和第二开关同时闭合,以使得该无线充电通路和该并行充电通路连通。需要说明的是,当该第一充电模式为无线充电模式,新接入的第二充电模式为有线充电模式时,该无线充电通路在步骤301已断开,此时无需再次对该无线充电通路中的第三开关执行断开操作。
需要说明的是,在图2所示的充电电路中,当该充电电路进行并行充电时,充电通路包括第一开关所在的第一充电通路和第二开关所在的并行充电通路,为了避免在最初进行并行充电时发生倒灌的现象,需要同时对该第一开关和该第二开关进行控制,以同时实现该第一充电通路和该并行充电通路的连通和断开。
其中,该倒灌是指一条充电通路中的电流反向流入该第二充电通路中,如图2所示,当第一充电通路中的电流大于并行充电通路中的电流时,第一充电通路中的电流经过第二开关的源极和第一开关的源极,流向该并行充电通路中,与该并行充电通路中原充电电流的方向相反,导致无法正常进行并行充电,或者对电池寿命造成影响。
通过在该第二充电模式所使用的充电协议为第一协议时,对该第一充电通路、第二冲动感通路和并行充电通路进行控制,使得对该电子设备同时进行有线充电和无线充电,在提高充电速度的同时,还能够避免由于并行充电时电压或电流不匹配可能导致的无法充电或损坏电池的情况。
在本公开另一实施例中,为了进一步确保并行充电的顺利进行,在控制该第一充电通路和该第二充电通路中,工作于有线充电模式的充电通路和该并行充电通路连通,控制工作于无线充电模式的充电通路断开以后,可以对充电电流进行控制或检测,具体包括以下两种方法:
第一种方法、对充电电流进行检测,以调整充电模式;具体地,在该电子设备进行并行充电的过程中,检测有线充电电压和无线充电电压是否匹配;如果该有线充电电压和该无线充电电压匹配,继续进行该并行充电;如果该有线 充电电压和该无线充电电压不匹配,控制该第一充电通路和该第二充电通路中,工作于无线充电模式的充电通路和该并行充电通路断开,工作于有线充电模式的充电通路连通,使该电子设备进行有线充电。
其中,检测该有线充电电压和该无线充电电压是否匹配的方法可以为:检测该有线充电电压和该无线充电电压在预设时长内的最大电压差,如果该最大电压差小于预设阈值,则确定该有线充电电压和该无线充电电压匹配;如果该最大电压差不小于该预设阈值,则确定该有线充电电压和该无线充电电压不匹配;本公开实施例对该预设时长和该预设阈值的具体数值和具体确定方法均不作限定。
通过在该电子设备进行并行充电的过程中,检测有线充电电压和无线充电电压是否匹配,能够进一步保障并行充电的顺利进行,避免由于较大的电压差或电流差,导致无法正常充电或影响电池寿命的情况。
第二种方法、为了避免发生倒灌现象,还可以在该电子设备进行并行充电的过程中,对充电电流进行控制;具体地,对该第一充电通路和该第二充电通路中,工作于有线充电模式的充电通路的充电电流进行控制,使工作于有线充电模式的充电通路的充电电流与工作于无线充电模式的充电通路的充电电流之间的差值的绝对值在预设范围内;其中,本公开实施例对该预设范围的具体数值和具体确定方法均不作限定。
具体地,当第一充电模式为有线充电模式,第二充电模式为无线充电模式时,在控制该第一充电通路和该第二充电通路中,工作于有线充电模式的充电通路和该并行充电通路连通,控制工作于无线充电模式的充电通路断开以后,为避免在无线充电模式接入之前已经存在的有线充电电流,倒灌至该并行充电电路中,对该并行充电通路中的有线充电电流进行限制;同理,当第一充电模式为无线充电模式,该第二充电模式为有线充电模式时,在第一开关和第二开关接通以后,对该无线充电通路中的无线充电电流进行限制。
通过在开始进行并行充电时,对充电电流进行限制,能够避免发生电流倒灌现象,以确保并行充电的顺利进行,达到优化并行充电的目的。
在本公开又一实施例中,由于第一充电模式的输出电压与第二充电模式的充电电压会有微小差别,因此,为了避免由此微小差别导致并行充电异常的情况,该第一充电设备和该第二充电设备分别周期性地侦测输出电流的大小,并将侦测到的输出电流值周期性地上报给充电管理模块,以使得充电管理模块根 据该输出电流值,适时调整充电模式,以确保顺利进行充电。该过程的具体实现方法可以为:
充电管理模块接收第一充电设备发送的第一电流侦测信息,和第二充电设备发送的第二电流侦测信息,该第一电流侦测信息包括该第一充电设备向该电子设备输出的第一电流的电流值,该第二电流侦测信息包括该第二充电设备向该电子设备输出的第二电流的电流值;当该第一电流的电流值与该第二电流的电流值的乘积小于0时,控制该第一充电通路和该第二充电通路中,工作于无线充电模式的充电通路和该并行充电通路断开,工作于有线充电模式的充电通路连通,使该电子设备进行有线充电。
需要说明的是,当该第一充电模式为无线充电模式,该第二充电模式为有线充电模式时,该第一充电设备即为无线充电设备,该第二充电设备为有线充电设备;当该第一充电模式为有线充电模式,该第二充电模式为无线充电模式时,该第一充电设备为有线充电设备,该第二充电模式为无线充电设备。
其中,该第一电流的电流值与该第二电流的电流值的乘积小于0,表示在该并行充电过程中发生倒灌现象,即有一条充电通路上的电流流向另一条充电通路中,与该另一条充电通路中的原充电电流方向相反,此时充电管理模块需要对该第一充电通路、第二充电通路和并行充电通路进行控制,以停止并行充电,进行有线充电。
通过在并行充电过程中,周期性地对充电电流进行侦测,能够在发生倒灌现象时,及时暂停并行充电,避免长时间倒灌导致无法正常充电和对电池寿命造成的不良影响,从而达到优化并行充电性能的目的。
在本公开再一实施例中,由于在进行并行充电过程中,充电电路中的电流流动会造成电子设备温度升高的现象,因此,为了避免高温损坏电子设备,在进行并行充电过程中,对电子设备的温度进行检测,以确保在温度对电子设备的不良影响降至最小。具体方法可以为:
在该电子设备进行并行充电的过程中,检测该电子设备的温度;当该电子设备的温度达到预设阈值时,控制该第一充电通路和该第二充电通路中,工作于无线充电模式的充电通路和该并行充电通路断开,工作于有线充电模式的充电通路连通,使该电子设备进行有线充电;本公开实施例对该预设阈值的确定方法及具体数值均不作限定。
通过加入温度保护功能,使得在该电子设备进行并行充电的过程中,能够 避免由于温度升高对该电子设备造成的不良影响,而且还能够确保在该并行充电导致温度上升过高时,自动切换至有线充电模式进行充电,从而达到进一步优化该充电方法的目的。
305、如果该第二充电模式所使用的充电协议为第二类协议,控制该第二充电通路和该并行充电通路断开,控制该第一充电通路连通,使该电子设备进行有线充电。
由于该第二充电模式所使用的第二类充电协议对应的充电电压和充电电流与第一充电模式的充电电压和充电电流不匹配,又或者该第二充电模式所使用的第二类充电协议本身在充电时导致温度上升过快,如果再同时使用其他充电模式进行并行充电,会导致温度上升更快,从而导致损坏电子设备或者充电设备;由于有线充电模式较稳定且充电速度相对较快,此时可以优先选择有线充电模式对该电子设备进行充电。
根据该第二充电模式的充电类型不同,该第二类协议所包括的协议也不同,具体包括以下两种情况:
第一种情况、如果该第二充电模式为有线充电模式,该第二类协议包括QC协议和PD协议。
由于有线充电协议QC协议和PD协议的充电电压高于无线充电电压,如果在该第二充电模式为QC协议或PD协议,第一充电模式为无线充电模式,这种情况下进行并行充电时,会产生电流倒灌现象,无法正常进行充电;因此,为了确保能够顺利充电,如果该第二充电模式所使用的充电协议为QC协议或PD协议,对该第一充电通路、第二充电通路和并行充电通路进行控制,以对该电子设备进行有线充电。
第二种情况、如果该第二充电模式为无线充电模式,该第二类协议包括A4WP协议。
由于无线充电协议A4WP协议的无线充电范围较大,且无线充电过程中温度上升较高,如果在该第二充电模式的充电协议为A4WP协议,第一充电模式为有线充电模式,这种情况下进行并行充电,会导致温度上升更高,从而损坏电子设备或充电设备;因此,为了避免对该电子设备或充电设备的损坏,如果该第二充电模式的充电协议为A4WP协议,对该第一充电通路、第二充电通路和并行充电通路进行控制,以对该电子设备进行有线充电。
通过在该第二充电模式所使用的充电协议为不适合进行并行充电的协议 时,有线选择对该电子设备进行有线充电,能够避免强制进行并行充电可能导致的无法充电或影响电池寿命的情况。
本公开所提供的充电方法,在实际使用过程中可以按照图4所示的流程进行,在检测到该电子设备接入第二充电模式时,检测第一充电模式的充电类型,根据该第一充电模式的充电类型的不同,按照图4所示的两个分支分别执行相应操作。
第一个分支、当第一充电模式为有线充电模式时,如果没有无线充电模式接入,继续维持第一充电模式对电子设备进行充电;如果有无线充电模式接入,断开有线充电通路,并检测该无线充电模式所使用的充电协议,当该无线充电模式所使用的充电协议为A4WP协议时,断开无线充电通路,连通有线充电通路,对该电子设备进行有线充电;当该无线充电模式所使用的充电协议为Qi协议或MAP协议时,连通有线充电通路和并行充电通路,并检测有线充电电压和无线充电电压是否匹配,如果匹配执行并行充电,如果不匹配,断开并行充电通路,执行有线充电。
第二个分支、当第一充电模式为无线充电模式时,如果没有有线充电模式接入,继续维持第一充电模式对电子设备进行充电;如果有有线充电模式接入,断开有线充电通路,并检测该有线充电模式所使用的充电协议,当该有线充电模式所使用的充电协议为QC协议或PD协议时,断开无线充电通路,连通有线充电通路,对该电子设备进行有线充电;当该有线充电模式所使用的充电协议为BC1.2协议时,连通有线充电通路和并行充电通路,并检测有线充电电压和无线充电电压是否匹配,如果匹配执行并行充电,如果不匹配,断开并行充电通路,执行有线充电。
本公开实施例提供的方法,通过在该电子设备接入第二充电模式时,检测到该第二充电模式的充电协议为适合进行并行充电的充电协议,对该第一充电通路、第二充电通路和并行充电通路进行控制,以进行并行充电,在提高充电速度的同时,避免导致无法进行充电或影响电池寿命的情况;通过加入温度保护功能,使得在该电子设备进行并行充电的过程中,能够避免由于温度升高对该电子设备造成的不良影响,而且还能够确保在该并行充电导致温度上升过高时,自动切换至有线充电模式进行充电,从而达到进一步优化该充电方法的目的。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述仅为本公开的较佳实施例,并不用以限制本公开,凡在本公开的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。

Claims (19)

  1. 一种充电方法,其特征在于,所述充电方法应用于电子设备,所述电子设备包括充电电路,所述充电电路包括工作于第一充电模式的第一充电通路、工作于第二充电模式的第二充电通路和同时工作于所述第一充电模式和所述第二充电模式的并行充电通路,所述方法包括:
    如果在所述充电电路处于第一充电模式时,检测到所述电子设备接入第二充电模式,断开所述第一充电通路;
    检测所述第二充电模式所使用的充电协议;
    根据所述充电协议,控制所述第一充电通路、所述第二充电通路和所述并行充电通路的通断,为所述电子设备进行充电。
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述充电协议,控制所述第一充电通路、所述第二充电通路和所述并行充电通路的通断,为所述电子设备进行充电,包括:
    如果所述第二充电模式所使用的充电协议为第一类协议,控制所述第一充电通路、所述第二充电通路和所述并行充电通路的通断,使所述电子设备进行并行充电。
  3. 根据权利要求2所述的方法,其特征在于,当所述第一充电通路为有线充电通路,所述第二充电通路为无线充电通路时,所述第一充电模式为有线充电模式,所述第二充电模式为无线充电模式,所述第一类协议包括无线充电Qi协议和制造自动化MAP协议。
  4. 根据权利要求1所述的方法,其特征在于,当所述第一充电通路为无线充电通路,所述第二充电通路为有线充电通路时,所述第一充电模式为无线充电模式,所述第二充电模式为有线充电模式,所述第一类协议包括蓄电池充电BC1.2协议。
  5. 根据权利要求2所述的方法,其特征在于,所述控制所述第一充电通路、 所述第二充电通路和所述并行充电通路的通断,使所述电子设备进行并行充电,包括:
    控制所述第一充电通路和所述第二充电通路中,工作于有线充电模式的充电通路和所述并行充电通路连通,控制工作于无线充电模式的充电通路断开。
  6. 根据权利要求2所述的方法,其特征在于,所述控制所述第一充电通路、所述第二充电通路和所述并行充电通路的通断,使所述电子设备进行并行充电之后,所述方法还包括:
    对所述第一充电通路和所述第二充电通路中,工作于有线充电模式的充电通路的充电电流进行控制,使工作于有线充电模式的充电通路的充电电流与工作于无线充电模式的充电通路的充电电流之间的差值的绝对值在预设范围内。
  7. 根据权利要求1所述的方法,其特征在于,所述根据所述充电协议,控制所述第一充电通路、所述第二充电通路和所述并行充电通路的通断,为所述电子设备进行充电,包括:
    如果所述第二充电模式所使用的充电协议为第二类协议,控制所述第二充电通路和所述并行充电通路断开,控制所述第一充电通路连通,使所述电子设备进行有线充电,所述第二类协议包括无线充电标准联盟A4WP协议。
  8. 根据权利要求2所述的方法,其特征在于,所述根据所述充电协议,控制所述第一充电通路、所述第二充电通路和所述并行充电通路的通断,为所述电子设备进行充电,包括:
    如果所述第二充电模式所使用的充电协议为第二类协议,控制所述第一充电通路和所述并行充电通路断开,控制所述第二充电通路连通,使所述电子设备进行有线充电,所述第二类协议包括快速充电QC协议和功率输出PD协议。
  9. 根据权利要求2所述的方法,其特征在于,所述控制所述第一充电通路、所述第二充电通路和所述并行充电通路的通断,使所述电子设备进行并行充电之后,所述方法还包括:
    在所述电子设备进行并行充电的过程中,检测有线充电电压和无线充电电压是否匹配;
    如果所述有线充电电压和所述无线充电电压匹配,继续进行所述并行充电;
    如果所述有线充电电压和所述无线充电电压不匹配,控制所述第一充电通路和所述第二充电通路中,工作于无线充电模式的充电通路和所述并行充电通路断开,工作于有线充电模式的充电通路连通,使所述电子设备进行有线充电。
  10. 根据权利要求2所述的方法,其特征在于,所述控制所述第一充电通路、所述第二充电通路和所述并行充电通路的通断,使所述电子设备进行并行充电之后,所述方法还包括:
    接收第一充电设备发送的第一电流侦测信息,和第二充电设备发送的第二电流侦测信息,所述第一电流侦测信息包括所述第一充电设备向所述电子设备输出的第一电流的电流值,所述第二电流侦测信息包括所述第二充电设备向所述电子设备输出的第二电流的电流值;
    当所述第一电流的电流值与所述第二电流的电流值的乘积小于0时,控制所述第一充电通路和所述第二充电通路中,工作于无线充电模式的充电通路和所述并行充电通路断开,工作于有线充电模式的充电通路连通,使所述电子设备进行有线充电。
  11. 根据权利要求2所述的方法,其特征在于,所述控制所述第一充电通路、所述第二充电通路和所述并行充电通路的通断,使所述电子设备进行并行充电之后,所述方法还包括:
    在所述电子设备进行并行充电的过程中,检测所述电子设备的温度;
    当所述电子设备的温度达到预设阈值时,控制所述第一充电通路和所述第二充电通路中,工作于无线充电模式的充电通路和所述并行充电通路断开,工作于有线充电模式的充电通路连通,使所述电子设备进行有线充电。
  12. 一种电子设备,其特征在于,所述电子设备包括充电管理模块和充电电路,所述充电电路包括第一充电接口、第二充电接口、第一开关、第二开关、第三开关、第一充电通路、并行充电通路和第二充电通路;
    在所述第一充电通路中,所述第一开关与所述第一充电接口相连;
    在所述并行充电通路中,所述第二开关与所述第二充电接口相连,所述第一开关与所述第一充电接口相连,且所述第一开关与所述第二开关相连;
    在所述第二充电通路中,所述第三开关与所述第二充电接口相连;
    所述充电管理模块通过所述第一开关控制所述第一充电通路的通断,通过所述第一开关和所述第二开关控制所述并行充电通路的通断,通过所述第三开关控制所述第二充电通路的通断。
  13. 根据权利要求12所述的电子设备,其特征在于,所述充电电路还包括开关控制电路,所述充电管理模块通过所述开关控制电路对所述第一开关、所述第二开关和所述第三开关进行控制。
  14. 根据权利要求13所述的电子设备,其特征在于,所述开关控制电路连接所述第一开关的栅极、所述第二开关的栅极、所述第三开关的栅极;
    所述第一开关的漏极与所述第一充电接口相连,所述第一开关的源极与所述第二开关的源极相连,所述第二开关的漏极与所述第二充电接口相连,所述第三开关的漏极与所述第二充电接口相连。
  15. 根据权利要求11至14任一条所述的电子设备,其特征在于,所述第一开关、所述第二开关和所述第三开关均为N型金属氧化物半导体场效应晶体管NMOS开关。
  16. 根据权利要求12所述的电子设备,其特征在于,所述充电管理模块还用于检测所述电子设备所处充电模式的充电类型。
  17. 根据权利要求12所述的电子设备,其特征在于,所述充电管理模块还用于检测所述电子设备的温度。
  18. 根据权利要求16所述的电子设备,其特征在于,所述充电管理模块还用于在检测到所述电子设备的温度达到预设阈值时,对所述第一开关、所述第二开关和所述第三开关进行控制,使得所述第一充电通路和所述第二充电通路中,工作于无线充电模式的充电通路和所述并行充电通路断开,工作于所述有线充电模式的充电通路连通。
  19. 一种充电装置,其特征在于,包括:
    处理器;
    用于存储处理器可执行的指令的存储器;
    其中,所述处理器被配置为:
    如果在所述充电电路处于第一充电模式时,检测到所述电子设备接入第二充电模式,断开所述第一充电通路;
    检测所述第二充电模式所使用的充电协议;
    根据所述充电协议,控制所述第一充电通路、所述第二充电通路和所述并行充电通路的通断,为所述电子设备进行充电。
PCT/CN2016/102937 2016-10-21 2016-10-21 充电方法及电子设备 WO2018072209A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
PCT/CN2016/102937 WO2018072209A1 (zh) 2016-10-21 2016-10-21 充电方法及电子设备
CN201680001223.7A CN106537720B (zh) 2016-10-21 2016-10-21 充电方法及电子设备
EP17197565.9A EP3312969B1 (en) 2016-10-21 2017-10-20 Charging method and electronic devices
US15/789,116 US10797502B2 (en) 2016-10-21 2017-10-20 Charging method and electronic devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/102937 WO2018072209A1 (zh) 2016-10-21 2016-10-21 充电方法及电子设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/789,116 Continuation US10797502B2 (en) 2016-10-21 2017-10-20 Charging method and electronic devices

Publications (1)

Publication Number Publication Date
WO2018072209A1 true WO2018072209A1 (zh) 2018-04-26

Family

ID=58335896

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/102937 WO2018072209A1 (zh) 2016-10-21 2016-10-21 充电方法及电子设备

Country Status (4)

Country Link
US (1) US10797502B2 (zh)
EP (1) EP3312969B1 (zh)
CN (1) CN106537720B (zh)
WO (1) WO2018072209A1 (zh)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9637016B2 (en) * 2012-12-14 2017-05-02 Agim GJINALI Fast charging system for electric vehicles
CN107437826B (zh) * 2016-05-23 2020-12-04 华为终端有限公司 一种电池充电装置、方法、终端、电源适配器及存储介质
KR102620178B1 (ko) * 2017-01-26 2024-01-03 삼성전자주식회사 전자 장치 및 그의 동작 방법
KR20180104381A (ko) * 2017-03-13 2018-09-21 삼성전자주식회사 전원 공급 장치와 이를 포함하는 디스플레이 시스템 및 전원 공급 장치의 전원 선택 방법
MX2019011391A (es) 2017-04-07 2020-02-05 Guangdong Oppo Mobile Telecommunications Corp Ltd Dispositivo y método de carga inalámbrica, y dispositivo a cargar.
CN109417308B (zh) 2017-04-07 2023-06-20 Oppo广东移动通信有限公司 无线充电系统、装置、方法及待充电设备
EP3462564A4 (en) 2017-04-07 2019-05-08 Guangdong Oppo Mobile Telecommunications Corp., Ltd. WIRELESS LOADING SYSTEM, DEVICE AND METHOD AND DEVICE TO BE LOADED
CN107979394B (zh) * 2017-12-27 2023-01-17 中山德著智能科技有限公司 一种基于Qi协议无线供能的无线数据采集装置
KR102522526B1 (ko) * 2018-06-22 2023-04-18 광동 오포 모바일 텔레커뮤니케이션즈 코포레이션 리미티드 충전 장치, 단말기 및 충전 제어 방법
CN108808882B (zh) * 2018-07-16 2020-06-19 中惠创智无线供电技术有限公司 无线供电控制装置和方法
KR102316486B1 (ko) * 2018-11-27 2021-10-22 주식회사 엘지화학 시동용 배터리의 구동 시스템 및 이를 이용한 외부 시스템 오프 상태 인식 방법
CN110676898B (zh) * 2019-09-16 2023-06-02 Oppo广东移动通信有限公司 待充电设备
CN112928787A (zh) * 2019-12-06 2021-06-08 北京小米移动软件有限公司 充电电路、电子设备、充电控制方法及装置
CN113394471B (zh) * 2020-03-13 2023-05-02 北京小米移动软件有限公司 充电方法及装置、电子设备、存储介质
CN111756095B (zh) * 2020-07-09 2023-02-24 北京小米移动软件有限公司 一种无线充电方法、装置、终端及存储介质
CN112787372B (zh) * 2020-12-29 2023-10-27 维沃移动通信有限公司 充电设备及充电系统

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101707384A (zh) * 2009-11-25 2010-05-12 中兴通讯股份有限公司 一种兼容有线充电和无线充电的系统及方法
CN103532198A (zh) * 2013-10-24 2014-01-22 小米科技有限责任公司 充电控制电路、芯片、充电电路、接收端和终端设备
CN104617620A (zh) * 2015-01-27 2015-05-13 山东共达电声股份有限公司 一种移动电源及适配器
US20150236539A1 (en) * 2010-12-28 2015-08-20 Lg Electronics Inc. Mobile terminal
US20160087480A1 (en) * 2014-09-23 2016-03-24 Qualcomm Incorporated Charging Apparatus Including Remote Device Reset
CN105656115A (zh) * 2015-11-30 2016-06-08 东莞酷派软件技术有限公司 一种双通道充电方法、系统和终端

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5864220A (en) * 1993-09-16 1999-01-26 Chartec Laboratories A/S Method and apparatus for controlling the charging of a rechargeable battery to ensure that full charge is achieved without damaging the battery
JP2001309568A (ja) * 2000-04-26 2001-11-02 Internatl Business Mach Corp <Ibm> 充電システム、充電制御装置、充電制御方法及びコンピュータ
US7375491B2 (en) * 2005-12-16 2008-05-20 Sunjett Corporation Battery charge circuit with multi-charge stage and method thereof
US20080238357A1 (en) * 2007-03-26 2008-10-02 Bourilkov Jordan T Ultra fast battery charger with battery sensing
WO2010129369A2 (en) 2009-04-28 2010-11-11 Mojo Mobility, Inc. System and methods for inductive charging, and improvements and uses thereof
CN201690242U (zh) * 2009-12-03 2010-12-29 国基电子(上海)有限公司 双模充电电路
KR101097263B1 (ko) 2009-12-28 2011-12-21 삼성에스디아이 주식회사 배터리 팩 및 이의 충전 제어방법
US8327165B2 (en) * 2010-01-21 2012-12-04 Dell Products L.P. Soft start with active reset
CN103326407A (zh) * 2012-03-22 2013-09-25 宏碁股份有限公司 充电源检测切换装置及方法
JP5942688B2 (ja) * 2012-08-08 2016-06-29 富士通株式会社 電子機器、充電制御方法、及び充電制御プログラム
KR102067019B1 (ko) * 2013-02-13 2020-02-11 삼성전자 주식회사 휴대 단말기의 충전 경로 제어 장치 및 방법
CN104237615B (zh) * 2013-06-09 2019-03-12 中兴通讯股份有限公司 电流过零检测装置、信号获取电路及电路系统
CN105720840B (zh) * 2015-06-24 2019-06-18 中兴通讯股份有限公司 功率变换装置及其设置方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101707384A (zh) * 2009-11-25 2010-05-12 中兴通讯股份有限公司 一种兼容有线充电和无线充电的系统及方法
US20150236539A1 (en) * 2010-12-28 2015-08-20 Lg Electronics Inc. Mobile terminal
CN103532198A (zh) * 2013-10-24 2014-01-22 小米科技有限责任公司 充电控制电路、芯片、充电电路、接收端和终端设备
US20160087480A1 (en) * 2014-09-23 2016-03-24 Qualcomm Incorporated Charging Apparatus Including Remote Device Reset
CN104617620A (zh) * 2015-01-27 2015-05-13 山东共达电声股份有限公司 一种移动电源及适配器
CN105656115A (zh) * 2015-11-30 2016-06-08 东莞酷派软件技术有限公司 一种双通道充电方法、系统和终端

Also Published As

Publication number Publication date
EP3312969A1 (en) 2018-04-25
CN106537720A (zh) 2017-03-22
US20180115179A1 (en) 2018-04-26
US10797502B2 (en) 2020-10-06
CN106537720B (zh) 2020-06-19
EP3312969B1 (en) 2022-10-12

Similar Documents

Publication Publication Date Title
WO2018072209A1 (zh) 充电方法及电子设备
JP5388484B2 (ja) 電源を検出するための装置および方法
EP2992583B1 (en) Battery charger integrated circuit chip
US20110074360A1 (en) Power adapter with internal battery
WO2016101509A1 (zh) 一种充电控制方法及装置
EP4290735A2 (en) Battery charging method and electronic device
US20150145468A1 (en) Device and chip for controlling charging, and user terminal
JP7121865B2 (ja) 逆方向充電装置、逆方向充電電流調整方法及び装置
US20160099608A1 (en) Power adapter with built-in battery and power storage and supply method thereof
US9509160B2 (en) Fast charging terminal
US8816644B2 (en) Interrupting the charging status of a rechargeable battery
CN110546846B (zh) 包括双向充电调节器的混合电池组
EP2984699A1 (en) Dynamic charging of a rechargeable battery
US8740456B2 (en) Adjusting delivery of current in a connection based on temperature
WO2018028316A1 (zh) 终端充电控制方法、装置及终端
CN113451669A (zh) 充电方法及装置、电子设备、存储介质
WO2016188301A1 (zh) 充电检测电路、移动终端及充电检测系统
TWI558058B (zh) 充電系統及其充電方法
CN109066906B (zh) 一种充电电路及一体式头戴设备
WO2016141554A1 (zh) 一种充电设备自环检测方法及装置
JP2021065094A (ja) 携帯端末
TW201733236A (zh) 在充電過程中偵測電池電壓並據以調整供電電流之充電方法
JP3216232U (ja) 携帯端末接続判定構造
CN104868512B (zh) 智能动态识别充电器负载能力的系统与方法
JP2023071141A (ja) 電力調整回路、充電装置、および、これらの給電モード設定方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16919276

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16919276

Country of ref document: EP

Kind code of ref document: A1