CN107707000B - OTG power supply and wireless charging compatible circuit, related method and terminal equipment - Google Patents

OTG power supply and wireless charging compatible circuit, related method and terminal equipment Download PDF

Info

Publication number
CN107707000B
CN107707000B CN201711138602.3A CN201711138602A CN107707000B CN 107707000 B CN107707000 B CN 107707000B CN 201711138602 A CN201711138602 A CN 201711138602A CN 107707000 B CN107707000 B CN 107707000B
Authority
CN
China
Prior art keywords
module
wired interface
charging
wireless receiving
power supply
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711138602.3A
Other languages
Chinese (zh)
Other versions
CN107707000A (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.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201711138602.3A priority Critical patent/CN107707000B/en
Publication of CN107707000A publication Critical patent/CN107707000A/en
Application granted granted Critical
Publication of CN107707000B publication Critical patent/CN107707000B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0068Battery or charger load switching, e.g. concurrent charging and load supply
    • 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
    • H02J7/025

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The technical field of charging is related to, and particularly relates to an OTG power supply and wireless charging compatible circuit, a related method and a terminal device, wherein a switch module is arranged, so that if the OTG device is connected while the terminal device is wirelessly charged, the wireless receiving module can be respectively electrically connected with a charging loop of a battery module and a wired interface module through controlling the switch module, and the wired interface module is disconnected with the charging loop, so that the wireless receiving module can simultaneously provide electric energy for the charging loop and the OTG device, namely, the wireless charging of the terminal device and the simultaneous operation of OTG functions are realized.

Description

OTG power supply and wireless charging compatible circuit, related method and terminal equipment
Technical Field
The invention relates to the technical field of charging, in particular to an OTG power supply and wireless charging compatible circuit, a related method and terminal equipment.
Background
OTG is an abbreviation for On-The-Go, which is mainly applied to The connection and data transfer between various devices without Host. For example, based on the OTG technology, a digital camera may be directly connected to a printer through USB (Universal Serial Bus) interfaces of two devices to print out a shot photo; for another example, the data in the digital camera can be sent to the mobile hard disk through USB interface connection, so that the expensive digital camera memory card or the notebook computer used as Host is not needed to be carried in field operation. In addition, based on the OTG technology, USB interface accessories of the intelligent terminal can be expanded to enrich the functions of the intelligent terminal; for example, the remote control accessory is expanded, and a smart phone and a tablet personal computer can be changed into a universal remote controller for use. The OTG function has almost become a standard configuration function of portable devices, such as smart phones and tablet computers, and most of the smart phones in the current market can recognize and use devices such as OTG usb disks, OTG mice and OTG sound cards.
When the OTG function is used, the terminal equipment is required to supply power to the external OTG equipment through an interface, and 5V voltage is generally provided; therefore, the terminal cannot use the OTG function at the same time when performing wired charging. However, wireless charging has gradually become a mainstream mode of terminal equipment charging due to advantages of non-contact, convenience, no cable, no plugging and the like, and most of terminal equipment in the prior art are still designed to be incapable of using the OTG function while performing wireless charging, which undoubtedly affects user experience.
Disclosure of Invention
The embodiment of the invention provides an OTG power supply and wireless charging compatible circuit, a related method and terminal equipment, which are used for solving the problem that the OTG function cannot be used when the existing terminal equipment is wirelessly charged.
The embodiment of the invention provides an OTG power supply and wireless charging compatible circuit, which comprises a wireless receiving module, a wired interface module, a switch module and a control module, wherein:
the control module is configured to send a first switch control signal to the switch module if it is determined that the wireless receiving module is connected to a first set power supply and the wired interface module is connected to the OTG device;
the switch module is used for responding to the first switch control signal, conducting the electric connection between the wireless receiving module and a charging loop, conducting the electric connection between the wireless receiving module and the wired interface module, and disconnecting the electric connection between the wired interface module and the charging loop;
the wireless receiving module is used for receiving the electric energy transmitted by the first set power supply and providing the electric energy for the charging loop and the wired interface module;
and the wired interface module is used for receiving the electric energy provided by the wireless receiving module and providing the electric energy for the OTG equipment.
Optionally, the control module is configured to send a second switch control signal to the switch module if it is determined that the wireless receiving module is connected to a first set power supply and the wired interface module is not connected to the OTG device;
the switch module is used for responding to the second switch control signal, conducting the electric connection between the wireless receiving module and the charging loop, disconnecting the electric connection between the wireless receiving module and the wired interface module, and disconnecting the electric connection between the wired interface module and the charging loop;
the wireless receiving module is used for receiving the electric energy transmitted by the first set power supply and providing the electric energy for the charging loop.
Optionally, the control module is configured to send a third switch control signal to the switch module if it is determined that the wireless receiving module is not connected to the first set power supply and the wired interface module is connected to the second set power supply;
the switch module is used for responding to the third switch control signal, disconnecting the electric connection between the wireless receiving module and the charging loop, disconnecting the electric connection between the wireless receiving module and the wired interface module, and conducting the electric connection between the wired interface module and the charging loop;
and the wired interface module is used for receiving the electric energy provided by the second set power supply and providing the electric energy for the charging loop.
Optionally, the OTG power supply and wireless charging compatible circuit further includes a first conversion module, configured to convert the electric energy output by the wireless receiving module into a direct current with a voltage amplitude of a first set value, and output the direct current to the wired interface module.
Optionally, the OTG power supply and wireless charging compatible circuit further includes a second conversion module, configured to convert the electric energy output by the wireless receiving module into a direct current with a voltage amplitude of a second set value and/or a current amplitude of a third set value, and output the direct current to the charging loop.
Correspondingly, the embodiment of the invention also provides terminal equipment, which comprises the OTG power supply and wireless charging compatible circuit.
Correspondingly, the embodiment of the invention also provides an OTG power supply and wireless charging compatible device, which is applied to terminal equipment, wherein the terminal equipment comprises a wireless receiving module, a wired interface module and a switch module, and the method comprises the following steps:
if the wireless receiving module is determined to be connected with a first set power supply and the wired interface module is determined to be connected with the OTG equipment;
controlling the switch module to enable the wireless receiving module to be electrically connected with a charging loop and the wired interface module respectively, and the wired interface module to be disconnected with the charging loop;
and controlling the wireless receiving module to receive the electric energy transmitted by the first set power supply, charging the battery module of the terminal equipment through the charging loop, and providing the electric energy for the OTG equipment through the wired interface module.
Optionally, the method further comprises:
if the wireless receiving module is determined to be connected with a first set power supply and the wired interface module is not connected with the OTG equipment;
controlling the switch module to electrically connect the wireless receiving module with the charging loop, and disconnecting the wired interface module with the wireless receiving module and the charging loop respectively;
and controlling the wireless receiving module to receive the electric energy transmitted by the first set power supply and charging the battery module of the terminal equipment through the charging loop.
Optionally, the method further comprises:
if the wireless receiving module is not connected with a first set power supply and the wired interface module is connected with a second set power supply;
controlling the switch module to electrically connect the wired interface module with the charging loop, and disconnecting the wireless receiving module from the charging loop and the wired interface module respectively;
and controlling the wired interface module to receive the electric energy provided by the second set power supply and charging the battery module of the terminal equipment through the charging loop.
Optionally, the terminal device further includes a first conversion module, and the method further includes:
and controlling the first conversion module to convert the electric energy output by the wireless receiving module into direct current with a voltage amplitude value of a first set value and output the direct current to the wired interface module.
Optionally, the terminal device further includes a second conversion module, and the method further includes:
and controlling the second conversion module to convert the electric energy output by the wireless receiving module into direct current with a voltage amplitude value of a second set value and/or a current amplitude value of a third set value, and outputting the direct current to the charging loop.
The invention has the following beneficial effects:
the embodiment of the invention provides an OTG power supply and wireless charging compatible circuit, a related method and terminal equipment, wherein if a control module determines that a wireless receiving module is connected with a first set power supply and a wired interface module is connected with OTG equipment, a first switch control signal is sent to a switch module; the switch module responds to the first switch control signal, conducts the electric connection between the wireless receiving module and the charging loop, conducts the electric connection between the wireless receiving module and the wired interface module, and disconnects the electric connection between the wired interface module and the charging loop; the wireless receiving module receives electric energy transmitted by the first set power supply and provides the electric energy for the charging loop and the wired interface module; the wired interface module receives the electric energy provided by the wireless receiving module and provides the electric energy for the OTG equipment. That is to say, through setting up the switch module for control module if confirm that terminal equipment connects the OTG equipment when carrying out wireless charging, then accessible control switch module makes wireless receiving module be connected with the charging circuit and the wired interface module electricity of battery module respectively, and makes wired interface module and charging circuit disconnection, thereby makes wireless receiving module can provide the electric energy for charging circuit and OTG equipment simultaneously, has realized going on simultaneously of terminal equipment's wireless charging and OTG function promptly.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without inventive efforts.
Fig. 1 is a schematic structural diagram of an OTG power supply and wireless charging compatible circuit in a first embodiment of the present invention;
fig. 2(a) is a schematic structural diagram of an OTG power supply and wireless charging compatible circuit in a first embodiment of the present invention;
fig. 2(b) is a schematic structural diagram of an OTG power supply and wireless charging compatible circuit in the first embodiment of the present invention;
fig. 3(a) is a schematic structural diagram of an OTG power supply and wireless charging compatible circuit according to a first embodiment of the present invention;
fig. 3(b) is a schematic structural diagram of an OTG power supply and wireless charging compatible circuit in the first embodiment of the present invention;
fig. 4(a) shows a part of a specific implementation of an OTG power supply and wireless charging compatible circuit in an example;
fig. 4(b) shows part two of a specific implementation of the OTG power supply and wireless charging compatible circuit in the example;
fig. 5 is a flowchart illustrating steps of an OTG power supply and wireless charging compatible method according to a second embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The first embodiment is as follows:
an OTG power supply and wireless charging compatible circuit is provided in an embodiment of the present invention, and specifically, as shown in fig. 1, the OTG power supply and wireless charging compatible circuit in the first embodiment of the present invention is a schematic structural diagram, and may include a wireless receiving module 101, a wired interface module 102, a switch module 103, and a control module 104, where:
the control module 104 is configured to send a first switch control signal to the switch module 103 if it is determined that the wireless receiving module 101 is connected to a first set power supply and the wired interface module 102 is connected to an OTG device;
the switch module 103 is configured to, in response to the first switch control signal, turn on an electrical connection between the wireless receiving module 101 and a charging loop, turn on an electrical connection between the wireless receiving module 101 and the wired interface module 102, and turn off an electrical connection between the wired interface module 102 and the charging loop;
the wireless receiving module 101 is configured to receive electric energy transmitted by the first set power source, and provide the electric energy to the charging loop and the wired interface module 102;
the wired interface module 102 is configured to receive the electric energy provided by the wireless receiving module 101, and provide the electric energy to the OTG device.
That is to say, by setting the switch module 103, if the control module 104 determines that the terminal device is connected to the OTG device while performing wireless charging, the wireless receiving module 101 may be electrically connected to the charging loop of the battery module and the wired interface module 102 respectively by controlling the switch module 103, and the wired interface module 102 is disconnected from the charging loop, so that the wireless receiving module 101 may provide electric energy for the charging loop and the OTG device simultaneously, that is, the wireless charging and the OTG function of the terminal device are performed simultaneously.
Preferably, the first setting power supply may be embodied as a wireless adapter, the wireless receiving module 101 may include a wireless charging interface (e.g., a receiving coil), and the first setting power supply may be coupled to the wireless charging interface in the wireless receiving module 101 based on electromagnetic induction, magnetic resonance, electric field coupling, or radio wave transmission. The specific manner of coupling connection between the first setting power source and the wireless receiving module 101 and the principle of power transmission are similar to those of the prior art, and are not described herein again in this embodiment.
Also optionally, the OTG device includes, but is not limited to, an OTG mouse, an OTG usb disk, an OTG sound card, and other electronic devices that implement data transmission and power supply based on an OTG technology, which is not limited in this embodiment.
It should be noted that the charging loop is a circuit that receives the electric energy provided by the wireless receiving module 101 or the wired interface module 102, and performs appropriate electric energy conversion to output an appropriate voltage and/or current to charge the battery module, and the implementation manner of the charging loop is similar to the prior art, for example, the charging loop may be implemented based on a Buck conversion circuit, and this embodiment is not limited in this respect.
Optionally, the control module 104 may be further configured to send a second switch control signal to the switch module 103 if it is determined that the wireless receiving module 101 is connected to a first set power source and the wired interface module 102 is not connected to an OTG device;
correspondingly, the switch module 103 is further configured to, in response to the second switch control signal, turn on the electrical connection between the wireless receiving module 101 and the charging loop, turn off the electrical connection between the wireless receiving module 101 and the wired interface module 102, and turn off the electrical connection between the wired interface module 102 and the charging loop;
the wireless receiving module 101 may be further configured to receive the electric energy transmitted by the first setting power source, and provide the electric energy to the charging loop.
That is, by providing the switch module 103, if the control module 104 determines that the terminal device only performs wireless charging, the switch module 103 can be controlled to electrically connect the wireless receiving module 101 with the charging loop of the battery module, and the wired interface module 102 is disconnected from the wireless receiving module 101 and the charging loop, respectively, so that the wireless receiving module 101 only provides power for the charging loop.
Optionally, the control module 104 may be further configured to send a third switch control signal to the switch module 103 if it is determined that the wireless receiving module 101 is not connected to the first set power supply and the wired interface module 102 is connected to the second set power supply;
correspondingly, the switch module 103 may be further configured to, in response to the third switch control signal, disconnect the electrical connection between the wireless receiving module 101 and the charging loop, disconnect the electrical connection between the wireless receiving module 101 and the wired interface module 102, and connect the electrical connection between the wired interface module 102 and the charging loop;
the wired interface module 102 may be further configured to receive power provided by the second setting power source and provide power to the charging loop.
Preferably, the second predetermined power source may include, but is not limited to, a wired power adapter, a mobile power source, and the like, and the embodiment is not limited in any way herein.
That is, by providing the switch module 103, if the control module 104 determines that the terminal device only performs wired charging, the switch module 103 can be controlled to electrically connect the wired interface module 102 with the charging circuit of the battery module, so that the wireless receiving module 101 is disconnected from the wired interface module 102 and the charging circuit, respectively.
Further optionally, the control module 104 may be further configured to send a fourth control signal to the wireless receiving module 101 to turn off the wireless receiving module 101 if it is determined that the wireless receiving module 101 is not connected to the first setting power supply and the wired interface module 102 is connected to the second setting power supply.
Also optionally, the switch module 103 may be further configured to send a fifth control signal to the wireless receiving module 101 to turn off the wireless receiving module 101 if it is determined that the wired interface module 102 is connected to the second set power supply.
That is, when it is determined that the terminal device is only charged by the wire, the control module 104 or the switch module 103 may send a corresponding control signal to the wireless receiving module 101, so that the wireless receiving module 101 stops operating.
Preferably, as shown in fig. 2(a) and 2(b), the OTG power supply and wireless charging compatible circuit may further include a first conversion module 201, which is configured to convert the electric energy output by the wireless receiving module 101 into a direct current with a voltage amplitude of a first set value, and output the direct current to the wired interface module 102. The first conversion module 201 may be connected between the wireless receiving module 101 and the switch module 103, and may also be connected between the switch module 103 and the wired interface module 102, which is not limited herein.
That is to say, the main function of the first conversion module 201 is to convert the electric energy output by the wireless receiving module 101 into a direct current with a voltage amplitude of a first set value to supply power to the OTG device when the wireless charging and the OTG function are performed simultaneously. The first set value can be flexibly set according to the actual use condition, for example, 5V; the present embodiment is not limited thereto.
Further optionally, the control module 104 may be further configured to send a sixth control signal to the first conversion module 201 if it is determined that the wireless receiving module 101 is connected to a first set power source and the wired interface module 102 is connected to an OTG device, so that the first conversion module 201 converts the electric energy output by the wireless receiving module 101 into a direct current with a voltage amplitude being a first set value, and outputs the direct current to the wired interface module 102. That is, the first conversion module 201 may also receive the control of the control module 104, and start the power conversion or stop the power conversion according to the enable signal sent by the control module 104.
Preferably, as shown in fig. 3(a) and 3(b), the OTG power supply and wireless charging compatible circuit may further include a second conversion module 301, configured to convert the electric energy output by the wireless receiving module 101 into a direct current with a voltage amplitude of a second set value and/or a current amplitude of a third set value, and output the direct current to the charging loop. The second conversion module 301 may be connected between the wireless receiving module 101 and the switch module 103, and may also be connected between the switch module 103 and a charging circuit, which is not limited herein.
That is, the main function of the second conversion module 301 is to perform power conversion setting on the power output by the wireless receiving module 101 during wireless charging, so as to provide appropriate dc power to the charging circuit to charge the battery module. The second setting value and the third setting value may be flexibly set according to an actual use condition, and this embodiment is not limited herein.
Further optionally, the control module 104 may be further configured to send a seventh control signal to the second conversion module 301 if it is determined that the wireless receiving module 101 is connected to the first set power supply, so that the second conversion module 301 converts the electric energy output by the wireless receiving module 101 into a direct current with a voltage amplitude of a second set value and/or a current amplitude of a third set value, and outputs the direct current to the charging loop. That is, the second conversion module 301 may also receive the control of the control module 104, and start to perform power conversion or stop power conversion according to the enable signal sent by the control module 104.
In addition, it should be noted that the OTG power supply and wireless charging compatible circuit may not include the second conversion module 301, and a corresponding functional module in the charging loop may perform a related function of the second conversion module 301, which is not described herein again.
The OTG power supply and wireless charging compatible circuit provided in this embodiment will be described in detail below by taking a specific example as an example.
As shown in fig. 4(a) and 4(b), this is an optional implementation manner of the OTG power supply and wireless charging compatible circuit provided in this embodiment.
The wireless receiving module includes a wireless charging receiving end chip (U103 in fig. 4 (a)), which may specifically adopt a NU1618 chip; the wired interface module includes a Type-C connector socket (CN 100 in FIG. 4 (b)), which can be UAF 05-16003-0001/dry; the switch module comprises an overvoltage protection chip and a bidirectional load switch chip (U100 and U101 in fig. 4(b), and can be specifically realized by an FPF2280 chip and an NCP3902 chip respectively; the first conversion module comprises a 5V output Buck voltage reduction chip (U104 in FIG. 4 (a)), and specifically a TPS62136 chip can be adopted; the control module may be specifically implemented by an application processor in the terminal device, which is not shown in fig. 4(a) and 4 (b).
As shown in the figure, the output pin of the wireless charging receiving end chip is respectively connected with the input pin of the 5V output Buck chip and the input end of the charging loop (not shown in fig. 4(a) and 4 (b)); an output pin of the 5V output Buck voltage reduction chip is connected with an output pin of the overvoltage protection chip; an input pin of the overvoltage protection chip and an input pin of the bidirectional load switch chip are connected with a VBUS2 pin of the Type-C connector seat; and an output pin of the bidirectional load switch chip is connected with the input end of the charging loop.
When the terminal equipment is in a WIRELESS charging state and no wired power adapter or OTG equipment is connected with the terminal equipment, the WIRELESS charging receiving end chip works and sends an AP _ RX _ INT interrupt signal to the application processor, so that the application processor controls the 5V output Buck voltage reduction chip to be turned off through a WIRELESS _ OTG _ PWR _ EN signal, controls the overvoltage protection chip to be turned off through an AP _ OVP _ EN signal and controls the bidirectional load SWITCH chip to be turned off through an AP _ SWITCH _ EN signal; thereby disconnection wireless charging receives the connection between end chip and the Type-C connector seat to and disconnection Type-C connector seat and the charging circuit between be connected, provide the electric energy for charging circuit by the output of wireless charging receiving end chip.
When the terminal equipment is in a WIRELESS charging state and the insertion of the OTG equipment into the terminal equipment is detected (the insertion of the OTG equipment can be detected through TYPEC _ CC1/TYPEC _ CC 2), the application processor controls the 5V output Buck voltage reduction chip to perform power conversion through a WIRELESS _ OTG _ PWR _ EN signal and controls the overvoltage protection chip to be conducted through an AP _ OVP _ EN signal, so that the output end of the 5V output Buck voltage reduction chip is communicated with a VBUS2 pin of a Type-C connector seat, the output voltage amplitudes of the VBUS1 and VBUS2 pins of the 5V output Buck voltage reduction chip are 5V direct current, and the 5V output Buck voltage reduction chip can be used for supplying power to the OTG equipment; and the application processor can communicate and transmit data with the OTG device through the USB _ DP/USB _ DM signals.
When detecting that the wired power adapter is inserted into the terminal equipment, the bidirectional load switch chip can inform the wireless charging receiving terminal chip of turning off through an enabling signal RX _ EN; meanwhile, the processor controls the overvoltage protection chip to be turned off through an AP _ OVP _ EN signal, so that the connection between the 5V output Buck voltage reduction chip and the Type-C connector seat is disconnected; the application processor controls the bidirectional load SWITCH chip to be conducted through the AP _ SWITCH _ EN signal, so that the Type-C connector seat is electrically connected with the charging circuit, and wired charging is carried out.
It should be noted that the above example is only one possible implementation manner of the OTG power supply and wireless charging compatible circuit provided in the embodiment of the present invention, and the OTG power supply and wireless charging compatible circuit may also be implemented by using other chips or circuit structures, for example, the control module 104 may also be implemented by using a specially configured processor chip, which is not described herein again.
In summary, the OTG power supply and wireless charging compatible circuit provided in the embodiment of the present invention includes a wireless receiving module, a wired interface module, a switch module, and a control module; the control module is configured to send a first switch control signal to the switch module if it is determined that the wireless receiving module is connected to a first set power supply and the wired interface module is connected to the OTG device; the switch module is used for responding to the first switch control signal, conducting the electric connection between the wireless receiving module and a charging loop, conducting the electric connection between the wireless receiving module and the wired interface module, and disconnecting the electric connection between the wired interface module and the charging loop; the wireless receiving module is used for receiving the electric energy transmitted by the first set power supply and providing the electric energy for the charging loop and the wired interface module; and the wired interface module is used for receiving the electric energy provided by the wireless receiving module and providing the electric energy for the OTG equipment. That is to say, through setting up the switch module for control module if confirm that terminal equipment connects the OTG equipment when carrying out wireless charging, then accessible control switch module makes wireless receiving module be connected with the charging circuit and the wired interface module electricity of battery module respectively, and makes wired interface module and charging circuit disconnection, thereby makes wireless receiving module can provide the electric energy for charging circuit and OTG equipment simultaneously, has realized going on simultaneously of terminal equipment's wireless charging and OTG function promptly.
Correspondingly, the embodiment of the invention also provides terminal equipment, which comprises the OTG power supply and wireless charging compatible circuit.
Example two:
based on the same inventive concept, the second embodiment of the present invention provides a compatible method for OTG power supply and wireless charging, which is applied to a terminal device, where the terminal device may include a wireless receiving module, a wired interface module, and a switch module. Specifically, as shown in fig. 5, it is a flowchart of steps of the OTG power supply and wireless charging compatible method in the second embodiment of the present invention, where the method may include:
step 501: if the wireless receiving module is connected with the first set power supply and the wired interface module is connected with the OTG equipment;
step 502: the switch module is controlled to enable the wireless receiving module to be respectively electrically connected with the charging loop and the wired interface module, and the wired interface module is disconnected with the charging loop;
step 503: and controlling the wireless receiving module to receive the electric energy transmitted by the first set power supply, charging the battery module of the terminal equipment through the charging loop, and providing the electric energy for the OTG equipment through the wired interface module.
That is to say, the switch module is arranged, if it is determined that the terminal device is connected with the OTG device while performing wireless charging, the switch module is controlled to enable the wireless receiving module to be electrically connected with the charging loop of the battery module and the wired interface module respectively, and the wired interface module is disconnected from the charging loop, so that the wireless receiving module can provide electric energy for the charging loop and the OTG device simultaneously, and the wireless charging and the OTG function of the terminal device are performed simultaneously.
Preferably, the method may further comprise:
if the wireless receiving module is determined to be connected with a first set power supply and the wired interface module is not connected with the OTG equipment;
controlling the switch module to electrically connect the wireless receiving module with the charging loop, and disconnecting the wired interface module with the wireless receiving module and the charging loop respectively;
and controlling the wireless receiving module to receive the electric energy transmitted by the first set power supply and charging the battery module of the terminal equipment through the charging loop.
Preferably, the method may further comprise:
if the wireless receiving module is not connected with a first set power supply and the wired interface module is connected with a second set power supply;
controlling the switch module to electrically connect the wired interface module with the charging loop, and disconnecting the wireless receiving module from the charging loop and the wired interface module respectively;
and controlling the wired interface module to receive the electric energy provided by the second set power supply and charging the battery module of the terminal equipment through the charging loop.
Preferably, the terminal device may further include a first conversion module, and after determining that the wireless receiving module is not connected to the first setting power supply and the wired interface module is connected to the second setting power supply, the method may further include:
and controlling the first conversion module to convert the electric energy output by the wireless receiving module into direct current with a voltage amplitude value of a first set value and output the direct current to the wired interface module.
Preferably, the terminal device may further include a second switching module, and after determining that the wireless receiving module is connected to the first set power supply, the method may further include:
and controlling the second conversion module to convert the electric energy output by the wireless receiving module into direct current with a voltage amplitude value of a second set value and/or a current amplitude value of a third set value, and outputting the direct current to the charging loop.
Optionally, the OTG power supply and wireless charging compatible method provided in this embodiment may be implemented by an application processor in the terminal device, and may also be implemented by a specially-configured processor chip, which is not limited herein. For a specific implementation of the OTG power supply and wireless charging compatible method, reference may be made to relevant contents of the first embodiment, and details of this embodiment are not described herein again.
In summary, the OTG power supply and wireless charging compatible method provided in this embodiment is applied to a terminal device, where the terminal device includes a wireless receiving module, a wired interface module, and a switch module, and the method includes: if the wireless receiving module is determined to be connected with a first set power supply and the wired interface module is determined to be connected with the OTG equipment; controlling the switch module to enable the wireless receiving module to be electrically connected with a charging loop and the wired interface module respectively, and the wired interface module to be disconnected with the charging loop; and controlling the wireless receiving module to receive the electric energy transmitted by the first set power supply, charging the battery module of the terminal equipment through the charging loop, and providing the electric energy for the OTG equipment through the wired interface module. That is to say, the switch module is arranged, if it is determined that the terminal device is connected with the OTG device while performing wireless charging, the switch module is controlled to enable the wireless receiving module to be electrically connected with the charging loop of the battery module and the wired interface module respectively, and the wired interface module is disconnected from the charging loop, so that the wireless receiving module can provide electric energy for the charging loop and the OTG device simultaneously, and the wireless charging and the OTG function of the terminal device are performed simultaneously.
Furthermore, any number of elements in the drawings and description are to be regarded as illustrative in nature and not as restrictive, and any naming is intended to be distinguishing rather than limiting.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus (device), or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (9)

1. The utility model provides a compatible circuit of OTG power supply and wireless charging which characterized in that, includes wireless receiving module, wired interface module, switch module and control module, wherein:
the control module is configured to send a first switch control signal to the switch module if it is determined that the wireless receiving module is connected to a first set power supply and the wired interface module is connected to the OTG device;
the switch module is used for responding to the first switch control signal, conducting the electric connection between the wireless receiving module and a charging loop, conducting the electric connection between the wireless receiving module and the wired interface module, and disconnecting the electric connection between the wired interface module and the charging loop;
the wireless receiving module is used for receiving the electric energy transmitted by the first set power supply and providing the electric energy for the charging loop and the wired interface module;
the wired interface module is used for receiving the electric energy provided by the wireless receiving module and providing the electric energy for the OTG equipment;
the wireless receiving module is used for receiving electric energy output by the wireless receiving module and outputting the electric energy to the wired interface module;
the wireless receiving module comprises a wireless charging receiving end chip; the wired interface module comprises a Type-C connector seat; the switch module comprises an overvoltage protection chip and a bidirectional load switch chip; the first conversion module comprises a 5V output Buck voltage reduction chip; the control module is realized by an application processor in the terminal equipment; an output pin of the wireless charging receiving end chip is respectively connected with an input pin of the 5V output Buck voltage reduction chip and an input end of the charging loop; an output pin of the 5V output Buck voltage reduction chip is connected with an output pin of the overvoltage protection chip; an input pin of the overvoltage protection chip and an input pin of the bidirectional load switch chip are connected with a VBUS2 pin of the Type-C connector seat; an output pin of the bidirectional load switch chip is connected with an input end of the charging loop; an enabling signal output pin of the bidirectional load switch chip is connected with an enabling signal input pin of the wireless charging receiving end chip, and the bidirectional load switch chip is used for controlling the wireless charging receiving end chip to be turned off and on by sending an enabling signal to the wireless charging receiving end chip; the application processor is used for controlling the overvoltage protection chip to be turned off or turned on so as to disconnect the connection between the wireless charging receiving end chip and the Type-C connector seat or turn on the connection between the 5V output Buck voltage reduction chip and the Type-C connector seat.
2. The OTG power and wireless charging compatible circuit of claim 1,
the control module is configured to send a second switch control signal to the switch module if it is determined that the wireless receiving module is connected to a first set power supply and the wired interface module is not connected to the OTG device;
the switch module is used for responding to the second switch control signal, conducting the electric connection between the wireless receiving module and the charging loop, disconnecting the electric connection between the wireless receiving module and the wired interface module, and disconnecting the electric connection between the wired interface module and the charging loop;
the wireless receiving module is used for receiving the electric energy transmitted by the first set power supply and providing the electric energy for the charging loop.
3. The OTG power and wireless charging compatible circuit of claim 1,
the control module is used for sending a third switch control signal to the switch module if the wireless receiving module is not connected with a first set power supply and the wired interface module is connected with a second set power supply;
the switch module is used for responding to the third switch control signal, disconnecting the electric connection between the wireless receiving module and the charging loop, disconnecting the electric connection between the wireless receiving module and the wired interface module, and conducting the electric connection between the wired interface module and the charging loop;
and the wired interface module is used for receiving the electric energy provided by the second set power supply and providing the electric energy for the charging loop.
4. The OTG power supply and wireless charging compatible circuit according to claim 1 or 2, further comprising a second conversion module, configured to convert the electric energy output by the wireless receiving module into a direct current with a voltage amplitude of a second set value and/or a current amplitude of a third set value, and output the direct current to the charging loop.
5. A terminal device, characterized by comprising the OTG power supply and wireless charging compatible circuit of any claim 1-4.
6. An OTG power supply and wireless charging compatible method is applied to the terminal device of claim 5, the terminal device comprises a wireless receiving module, a wired interface module, a switch module and a first conversion module, and the wireless receiving module comprises a wireless charging receiving end chip; the wired interface module comprises a Type-C connector seat; the switch module comprises an overvoltage protection chip and a bidirectional load switch chip; the first conversion module comprises a 5V output Buck voltage reduction chip; the method comprises the following steps:
if the wireless receiving module is determined to be connected with a first set power supply and the wired interface module is determined to be connected with OTG equipment, controlling the switch module to enable the wireless receiving module to be respectively electrically connected with a charging loop and the wired interface module and to be disconnected with the charging loop;
the wireless receiving module is controlled to receive the electric energy transmitted by the first set power supply, the battery module of the terminal device is charged through the charging loop, and the electric energy is provided for the OTG device through the wired interface module;
the method further comprises the following steps:
the first conversion module is controlled to convert the electric energy output by the wireless receiving module into direct current with a voltage amplitude value of a first set value and output the direct current to the wired interface module;
control the switch module makes wireless receiving module respectively with charge circuit and wired interface module electricity is connected, wired interface module with charge circuit disconnection, include:
controlling the overvoltage protection chip to be conducted so that the wireless receiving module is electrically connected with the wired interface module; and controlling the bidirectional load switch chip to be turned off, so that the wired interface module is disconnected with the charging loop.
7. The OTG power supply and wireless charging compatible method of claim 6, wherein the method further comprises:
if the wireless receiving module is determined to be connected with a first set power supply and the wired interface module is not connected with the OTG equipment;
controlling the switch module to electrically connect the wireless receiving module with the charging loop, and disconnecting the wired interface module with the wireless receiving module and the charging loop respectively;
and controlling the wireless receiving module to receive the electric energy transmitted by the first set power supply and charging the battery module of the terminal equipment through the charging loop.
8. The OTG power supply and wireless charging compatible method of claim 6, wherein the method further comprises:
if the wireless receiving module is not connected with a first set power supply and the wired interface module is connected with a second set power supply;
controlling the switch module to electrically connect the wired interface module with the charging loop, and disconnecting the wireless receiving module from the charging loop and the wired interface module respectively;
and controlling the wired interface module to receive the electric energy provided by the second set power supply and charging the battery module of the terminal equipment through the charging loop.
9. The OTG power supply and wireless charging compatible method according to claim 6 or 7, wherein the terminal device further comprises a second conversion module, the method further comprising:
and controlling the second conversion module to convert the electric energy output by the wireless receiving module into direct current with a voltage amplitude value of a second set value and/or a current amplitude value of a third set value, and outputting the direct current to the charging loop.
CN201711138602.3A 2017-11-16 2017-11-16 OTG power supply and wireless charging compatible circuit, related method and terminal equipment Active CN107707000B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711138602.3A CN107707000B (en) 2017-11-16 2017-11-16 OTG power supply and wireless charging compatible circuit, related method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711138602.3A CN107707000B (en) 2017-11-16 2017-11-16 OTG power supply and wireless charging compatible circuit, related method and terminal equipment

Publications (2)

Publication Number Publication Date
CN107707000A CN107707000A (en) 2018-02-16
CN107707000B true CN107707000B (en) 2022-01-28

Family

ID=61179784

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711138602.3A Active CN107707000B (en) 2017-11-16 2017-11-16 OTG power supply and wireless charging compatible circuit, related method and terminal equipment

Country Status (1)

Country Link
CN (1) CN107707000B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3745554A4 (en) * 2018-04-25 2021-02-17 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Terminal device and charging control method
CN109101447B (en) * 2018-07-17 2021-09-14 努比亚技术有限公司 Method and terminal for parallel execution of OTG function and charging function
DE102018124902A1 (en) 2018-10-09 2020-04-09 Endress+Hauser SE+Co. KG Field device adapter for wireless data transmission
CN111130222B (en) * 2018-10-30 2022-04-01 北京小米移动软件有限公司 Wireless charging power supply circuit and method and electronic equipment
CN109888928B (en) * 2019-02-28 2021-06-08 维沃移动通信有限公司 Terminal and wireless charging control method
CN111969686A (en) * 2020-08-18 2020-11-20 上海乐今通信技术有限公司 Mobile terminal for concurrent USB OTG and charging and implementation method
CN113852165B (en) * 2021-09-27 2024-05-03 Oppo广东移动通信有限公司 Electronic equipment, charging connecting wire and wireless charging equipment assembly

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014129694A1 (en) * 2013-02-21 2014-08-28 (주)에스와이씨 Wireless data storage device
CN105990885A (en) * 2015-01-23 2016-10-05 广达电脑股份有限公司 Power input circuit
CN106469928A (en) * 2015-08-19 2017-03-01 三星电子株式会社 Wired method with wireless charging in electronic equipment and electronic equipment
CN106532867A (en) * 2016-12-30 2017-03-22 宇龙计算机通信科技(深圳)有限公司 Charging circuit and mobile terminal
CN207652075U (en) * 2017-11-16 2018-07-24 珠海市魅族科技有限公司 A kind of OTG power supply and wireless charging compatible circuit and terminal device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130175931A1 (en) * 2012-01-05 2013-07-11 Laurence P. Sadwick Triac Dimming Control System
CN107147168B (en) * 2017-05-27 2020-02-07 珠海市魅族科技有限公司 Charging device and terminal equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014129694A1 (en) * 2013-02-21 2014-08-28 (주)에스와이씨 Wireless data storage device
CN105990885A (en) * 2015-01-23 2016-10-05 广达电脑股份有限公司 Power input circuit
CN106469928A (en) * 2015-08-19 2017-03-01 三星电子株式会社 Wired method with wireless charging in electronic equipment and electronic equipment
CN106532867A (en) * 2016-12-30 2017-03-22 宇龙计算机通信科技(深圳)有限公司 Charging circuit and mobile terminal
CN207652075U (en) * 2017-11-16 2018-07-24 珠海市魅族科技有限公司 A kind of OTG power supply and wireless charging compatible circuit and terminal device

Also Published As

Publication number Publication date
CN107707000A (en) 2018-02-16

Similar Documents

Publication Publication Date Title
CN107707000B (en) OTG power supply and wireless charging compatible circuit, related method and terminal equipment
EP2985856B1 (en) Usb charging system with variable charging voltage, charger, and intelligent terminal
CN110829523B (en) Electronic equipment and reverse charging method
CN108988431B (en) Multi-protocol charging device and multi-protocol charging method
CN107465240A (en) A kind of intelligent movable power supplies and carry out the method for usb data communication with it
EP3086433A1 (en) Charging method, alternating current adaptor, charging management device and terminal
CN105226742A (en) Wireless charging device, system and method
TW201012024A (en) Battery system and controlling method thereof and the charger for the battery system
CN104917016A (en) Charging type concentrator
CN101601001A (en) A plurality of connections to single serial interface
CN104007801A (en) Method and apparatus for providing power to an electronic device
CN102255346A (en) Portable electronic device
CN103618356A (en) Charging system for mobile terminal and charging method thereof
CN102929821B (en) Electronic equipment and electronic apparatus system
CN203014451U (en) USB charger
CN105162213A (en) USB controller, and device
CN104158251A (en) Terminal, charger and charging method
US20170162929A1 (en) Charging Cable
CN102981916A (en) Mobile terminal and control method of mobile terminal and device of mobile terminal
CN110138022A (en) Charging unit, battery charge controller, terminal device and charging method
WO2014006619A1 (en) Method and system of charging a mobile device
CN104426186B (en) A kind of charge control method and electronic equipment
CN207652075U (en) A kind of OTG power supply and wireless charging compatible circuit and terminal device
CN110492575B (en) Quick charging system and method for handheld device and handheld device
KR102315230B1 (en) ELECTRONIC DEVICE WITH USB Type-C CONNECTOR

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