External electronic equipment

By designing an external electronic device including a load, a first interface and a second interface, and using the first switch circuit and the power supply switching circuit, the problem of power outage of the external device when charging the mobile electronic device is solved, and uninterrupted use between devices is realized. Switching between power and charging modes meets the uninterrupted power needs of mobile electronic devices and external electronic devices.

CN221652604UActive Publication Date: 2024-09-03VANJEE TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323572037.5
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-26
Publication Date
2024-09-03
Estimated Expiration
2033-12-26

AI Technical Summary

Technical Problem

Mobile electronic devices need to unplug the external electronic device when charging, causing the external device to lose power, which may lead to shutdown, reset and data loss.

Method used

An external electronic device is designed, which includes a load, a first interface for connecting to a mobile electronic device, a second interface for connecting to a power supply device, a first switching circuit and a power supply switching circuit that can output when the mobile electronic device is not connected to a power supply device. Get the power signal to obtain the power supply, and turn on the power supply when connecting the power supply device to achieve switching between OTG mode and charging mode.

Benefits of technology

It realizes uninterrupted power consumption of mobile electronic devices and external electronic devices, meets charging needs, and avoids shutdown and data loss problems of external devices due to power outages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221652604U
    Figure CN221652604U
Patent Text Reader

Abstract

The utility model provides an external electronic device which comprises a load, a first interface, a second interface, a first switch circuit and a power supply switching circuit, when the external electronic device is not connected with a power supply device, the power supply switching circuit outputs a power taking signal to a mobile electronic device, and obtains a power supply from the mobile electronic device and the first interface; when the external electronic equipment is connected with the power supply equipment, the first switching circuit is switched on, the mobile electronic equipment stops supplying power, the first switching circuit is switched on, a power supply output by the power supply equipment is output to the load and the mobile electronic equipment through the second interface, and the mobile electronic equipment and the external electronic equipment can realize switching between an OTG mode and a charging mode. The uninterrupted power utilization requirement of the mobile electronic equipment and the external electronic equipment is met, and meanwhile the charging requirement of the mobile electronic equipment is met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model belongs to the technical field of electronic equipment, and in particular relates to an external electronic equipment. Background Art

[0002] With the development of technology, mobile electronic devices have gradually developed different functions. For example, they can connect to external electronic devices through OTG (On-The-Go) technology to exchange data and achieve functional expansion, such as connecting to storage devices to expand capacity and connecting to radio frequency devices to achieve radio frequency functions.

[0003] At present, when a mobile electronic device is connected to an external electronic device for use, the charging port of the mobile electronic device is occupied. When the mobile electronic device needs to be charged, the external electronic device needs to be unplugged and then connected to a power supply device for charging. For example, when connected to a power adapter, the external electronic device is powered off, causing the external electronic device to shut down, reset, etc., resulting in data loss. When the mobile electronic device is connected again, it needs to be restarted and the data needs to be restored. Utility Model Content

[0004] The utility model aims to provide an external electronic device, aiming to solve the problem that a traditional mobile electronic device needs to be unplugged to charge with a power supply device, which causes the external electronic device to shut down and reset.

[0005] The present utility model embodiment provides an external electronic device for connecting to a mobile electronic device, the external electronic device comprising:

[0006] load;

[0007] A first interface, used to connect to a mobile electronic device, wherein the first interface is also connected to the load;

[0008] The second interface is used to connect the power supply device;

[0009] a first switch circuit, connected to the second interface, the first interface and the load, wherein the first switch circuit is configured to be triggered to be turned on when the second interface is connected to the power supply device, and to transmit the power supply output by the power supply device to the first interface and the load;

[0010] A power supply switching circuit is connected to the first interface and the second interface respectively. When the first interface is connected to the mobile electronic device and the second interface is not connected to the power supply device, the power supply switching circuit triggers to output a power supply signal to the mobile electronic device so that the mobile electronic device outputs power supply to the load. When the second interface is connected to the power supply device, the power supply switching circuit triggers to cut off the output of the power supply signal.

[0011] Optionally, the first interface includes a first signal port for transmitting a data signal and a first power port for transmitting a power supply, and the first power port is connected to the load;

[0012] The power supply switching circuit comprises:

[0013] an energy storage circuit, wherein the energy storage circuit is connected to the first signal port and the first power port respectively, and when the first interface is connected to the mobile electronic device, the energy storage circuit is charged through the first signal port or the first power port;

[0014] A power-taking signal generating circuit is connected to the first interface, the second interface and the energy storage circuit, and when the terminal voltage of the energy storage circuit reaches a preset voltage, the power-taking signal generating circuit triggers the output of the power-taking signal to the first signal port and the mobile electronic device;

[0015] When the second interface is connected to the power supply device, the power taking signal generating circuit is triggered to stop outputting the power taking signal.

[0016] Optionally, the data signal transmitted by the first signal port is a PWM signal.

[0017] Optionally, the energy storage circuit is an energy storage capacitor or a battery.

[0018] Optionally, the second interface includes a second signal port for transmitting a data signal and a second power port for transmitting a power supply;

[0019] The power taking signal generating circuit comprises:

[0020] an impedance circuit, a first end of the impedance circuit being connected to a first signal port of the first interface;

[0021] A second switch circuit, wherein the first end of the second switch circuit is connected to the second end of the impedance circuit, the control end of the second switch circuit is connected to the energy storage circuit, the control end of the second switch circuit is also connected to the second signal port or the second power supply port, the second end of the second switch circuit is grounded, and the second switch circuit is triggered to turn on and output a low-level power supply signal when the terminal voltage of the energy storage circuit reaches a preset voltage, and is triggered to turn off and cut off the output of the low-level power supply signal when receiving a data signal or power supply transmitted by the second interface.

[0022] Optionally, the impedance circuit comprises a resistor, and a first end and a second end of the resistor constitute a first end and a second end of the impedance circuit respectively.

[0023] Optionally, the first switch circuit includes a first controllable switch, a first end of the first controllable switch is connected to the second power port, a second end of the first controllable switch is connected to the load and the first power port of the first interface, and a control end of the first controllable switch is connected to the second signal port or the second power port;

[0024] The second switch circuit includes a second controllable switch;

[0025] The first end of the second controllable switch is connected to the second end of the impedance circuit, the control end of the second controllable switch is connected to the energy storage circuit, the control end of the second controllable switch is also connected to the second signal port or the second power supply port, and the second end of the second controllable switch is grounded.

[0026] Optionally, the first controllable switch includes a first PMOS tube and a second PMOS tube;

[0027] The drain of the first PMOS tube constitutes the first end of the first controllable switch, the source of the first PMOS tube is connected to the source of the second PMOS tube, the drain of the second PMOS tube constitutes the second end of the first controllable switch, and the gate of the first PMOS tube and the gate of the second PMOS tube are connected together to constitute the control end of the first controllable switch.

[0028] Optionally, the power supply switching circuit further includes:

[0029] A first unidirectional conducting circuit, connected between the first power port and the energy storage circuit, and configured to unidirectionally transmit the power supply to the energy storage circuit;

[0030] The second unidirectional conducting circuit is connected between the first signal port and the energy storage circuit, and is configured to unidirectionally transmit the PWM signal.

[0031] Optionally, the first unidirectional conducting circuit comprises a first diode, an anode of the first diode is connected to the first power port, and a cathode of the first diode is connected to the energy storage circuit;

[0032] The second unidirectional conducting circuit includes a second diode, an anode of the second diode is connected to the first signal port, and a cathode of the second diode, a cathode of the first diode and the energy storage circuit are connected.

[0033] Compared with the prior art, the embodiments of the utility model have the following beneficial effects: the above-mentioned external electronic device includes a load, a first interface, a second interface, a first switching circuit and a power supply switching circuit; when the external electronic device is not connected to the power supply device, the power supply switching circuit outputs a power-taking signal to the mobile electronic device, and obtains power from the mobile electronic device and the first interface; when the external electronic device is connected to the power supply device, the first switching circuit is turned on, the mobile electronic device stops supplying power, the first switching circuit is turned on, and the power output by the power supply device is output to the load and the mobile electronic device through the second interface; the mobile electronic device and the external electronic device can realize switching between OTG mode and charging mode, thereby meeting the uninterrupted power demand of the mobile electronic device and the external electronic device, and at the same time meeting the charging demand of the mobile electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0035] Figure 1 A schematic diagram of the first structure of an external electronic device provided by an embodiment of the utility model;

[0036] Figure 2 A second structural schematic diagram of an external electronic device provided by an embodiment of the utility model;

[0037] Figure 3 A third structural schematic diagram of an external electronic device provided by an embodiment of the utility model;

[0038] Figure 4 A fourth structural schematic diagram of an external electronic device provided by an embodiment of the utility model;

[0039] Figure 5 A first circuit diagram of an external electronic device provided by an embodiment of the utility model;

[0040] Figure 6A second circuit diagram of an external electronic device provided by an embodiment of the utility model;

[0041] Figure 7 A third circuit diagram of an external electronic device provided by an embodiment of the utility model. DETAILED DESCRIPTION

[0042] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0043] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present utility model, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0044] The embodiment of the utility model proposes an external electronic device 100 for connecting to a mobile electronic device 200. The mobile electronic device 200 may be a mobile phone, a tablet, a laptop computer, etc. The external electronic device 100 may be a storage device, a radio frequency module, an issuer, etc.

[0045] Among them, Figure 1 As shown, in this embodiment, the external electronic device 100 includes:

[0046] Load 10;

[0047] A first interface 20, used to connect to a mobile electronic device 200, and the first interface 20 is also connected to a load 10;

[0048] The second interface 30 is used to connect to the power supply device 300;

[0049] The first interface 20 and the second interface 30 may be USB interfaces, serial ports, etc., which are not specifically limited here.

[0050] A first switch circuit 40 is connected to the second interface 30, the first interface 20 and the load 10. The first switch circuit 40 is configured to be triggered to be turned on when the second interface 30 is connected to the power supply device 300, and transmit the power supply output by the power supply device 300 to the first interface 20 and the load 10;

[0051] The power supply switching circuit 50 is connected to the first interface 20 and the second interface 30 respectively. When the first interface 20 is connected to the mobile electronic device 200 and the second interface 30 is not connected to the power supply device 300, the power supply switching circuit 50 triggers the output of the power supply signal to the mobile electronic device 200 so that the mobile electronic device 200 outputs the power supply to the load 10, and when the second interface 30 is connected to the power supply device 300, the power supply switching circuit 50 triggers the output of the power supply signal to be cut off.

[0052] In this embodiment, the mobile electronic device 200 and the external electronic device 100 can be connected through a connection structure such as an adapter and a wiring harness. The connection structure includes a signal line and a power line. The signal line may include a detection line, a data line, etc. The connection structure may also include a ground line. Correspondingly, the first interface 20 and the second interface 30 also include corresponding signal ports and power ports. The mobile electronic device 200 performs data exchange, connection identification, etc. through the signal line of the connection structure and the signal port in the first interface 20, and performs bidirectional power transmission through the signal line of the connection structure and the power port in the first interface 20.

[0053] The load 10 is a functional component of the external electronic device 100, such as a memory, a radio frequency component, a distribution component, etc.

[0054] The power supply device 300 has the function of outputting power supply and may also have a communication function. The power supply device 300 may be a mobile power supply, a power adapter, or another mobile electronic device 200. The specific structure is not limited.

[0055] When the external electronic device 100 is initially connected to the mobile electronic device 200 and is not connected to the power supply device 300, at this time, the second interface 30 does not input power supply, the control end of the first switch circuit 40 does not receive the power supply or data signal transmitted by the second interface 30, the first switch circuit 40 is controlled to be shut down, the power supply switching circuit 50 receives the data signal transmitted by the mobile electronic device 200 through the first interface 20, and the power supply switching circuit 50 does not receive the power supply or data signal transmitted by the second interface 30. At this time, the power supply switching circuit 50 triggers the output of the power supply signal to the first interface 20 and the external electronic device 100. After receiving the power supply signal, the external electronic device 100 outputs power supply to the first interface 20, and the power supply is output to the load 10. The load 10 is powered on, and the load 10 exchanges data with the mobile electronic device 200 through the first interface 20.

[0056] Also, when the mobile electronic device 200 needs to be charged, at this time, the external electronic device 100 is connected to the mobile electronic device 200 and the power supply device 300 at the same time. At this time, the second interface 30 transmits power supply and can also transmit data signals. When the first switching circuit 40 receives the power supply or the data signal, it is controlled to be turned on and transmits the power supply to the load 10. At the same time, the power supply switching circuit 50 receives the power supply or the data signal transmitted by the second interface 30, and the power supply switching circuit 50 cuts off the output power supply signal. When the mobile electronic device 200 does not receive the power supply signal, it stops outputting power supply and switches from the charging state to the power receiving state. The power supply output by the power supply device 300 is synchronously output to the mobile electronic device 200 through the first interface 20, and the mobile electronic device 200 is charged and stores energy.

[0057] At the same time, after charging is completed, the power supply device 300 is removed from the external electronic device 100, the control end of the first switch circuit 40 does not receive the power supply or data signal transmitted by the second interface 30, the first switch circuit 40 is controlled to be shut down, and the power supply switching circuit 50 receives the data signal and power signal transmitted by the mobile electronic device 200 through the first interface 20, and the power supply switching circuit 50 does not receive the power supply or data signal transmitted by the second interface 30. At this time, the power supply switching circuit 50 triggers the output of the power supply signal to the first interface 20 and the external electronic device 100. After receiving the power supply signal, the external electronic device 100 outputs the power supply to the first interface 20, and the power supply is output to the load 10.

[0058] The mobile electronic device 200 and the external electronic device 100 can switch between the OTG mode and the charging mode, thereby meeting the uninterrupted power demand of the mobile electronic device 200 and the external electronic device 100 and the charging demand of the mobile electronic device 200 .

[0059] The first interface 20 and the second interface 30 may be interfaces such as micro USB, miniUSB, and Type-C.

[0060] The power supply switching circuit 50 may adopt a corresponding switch circuit, a signal generating circuit and the like. In an optional embodiment, as shown in FIG. Figure 2 As shown, the first interface 20 includes a first signal port S1 for transmitting a data signal and a first power port P1 for transmitting a power supply, and the first power port P1 is connected to a load 10;

[0061] The power supply switching circuit 50 includes:

[0062] The energy storage circuit 51 is connected to the first signal port S1 and the first power port P1 respectively. When the first interface 20 is connected to the mobile electronic device 200, the energy storage circuit 51 is charged through the first signal port S1 or the first power port P1;

[0063] The power-taking signal generating circuit 52 is connected to the first interface 20, the second interface 30 and the energy storage circuit 51. When the terminal voltage of the energy storage circuit 51 reaches a preset voltage, the power-taking signal generating circuit 52 triggers the output of the power-taking signal to the first signal port S1 and the mobile electronic device 200;

[0064] When the second interface 30 is connected to the power supply device 300 , the power-taking signal generating circuit 52 is triggered to cut off the output of the power-taking signal.

[0065] When the external electronic device 100 is initially connected to the mobile electronic device 200 and is not connected to the power supply device 300, at this time, the second interface 30 does not input the power supply, the control end of the first switch circuit 40 does not receive the power supply or data signal transmitted by the second interface 30, the first switch circuit 40 is controlled to be turned off, the energy storage circuit 51 receives the data signal transmitted by the mobile electronic device 200 through the first interface 20 and charges and stores energy, and the power-taking signal generating circuit 52 does not receive the power supply or data signal transmitted by the second interface 30. Under the charging and energy storage of the data signal, the terminal voltage of the energy storage circuit 51 gradually increases. When the energy storage circuit 51 When the terminal voltage reaches the preset voltage, the power supply signal generating circuit 52 is triggered to output the power supply signal to the first interface 20 and the external electronic device 100 under the drive of the preset voltage. After receiving the power supply signal, the external electronic device 100 outputs the power supply to the first interface 20, and the power supply is output to the load 10 and the energy storage circuit 51. The terminal voltage of the energy storage circuit 51 continues to be maintained above the preset voltage. The power supply signal generating circuit 52 continues to output the power supply signal to the mobile electronic device 200, the mobile electronic device 200 continues to discharge, the load 10 continues to power on, and the load 10 exchanges data with the mobile electronic device 200 through the first interface 20.

[0066] Also, when the mobile electronic device 200 needs to be charged, at this time, the external electronic device 100 is connected to the mobile electronic device 200 and the power supply device 300 at the same time. At this time, the second interface 30 transmits power supply and can also transmit data signals. When the first switching circuit 40 receives the power supply or the data signal, it is controlled to be turned on and transmits the power supply to the load 10. At the same time, the power supply signal generating circuit 52 receives the power supply or the data signal transmitted by the second interface 30, and the power supply signal generating circuit 52 cuts off the output of the power supply signal. When the mobile electronic device 200 does not receive the power supply signal, it stops outputting the power supply and switches from the charging state to the power receiving state. The power supply output by the power supply device 300 is synchronously output to the mobile electronic device 200 and the energy storage circuit 51 through the first interface 20, and the mobile electronic device 200 is charged and stores energy.

[0067] At the same time, after charging is completed, the power supply device 300 is removed from the external electronic device 100, the control end of the first switch circuit 40 does not receive the power supply or data signal transmitted by the second interface 30, and the first switch circuit 40 is controlled to be turned off. At this time, the terminal voltage of the energy storage circuit 51 is above the preset voltage, and the power supply signal generating circuit 52 does not receive the power supply or data signal transmitted by the second interface 30. At this time, the power supply signal generating circuit 52 triggers the output of the power supply signal to the first interface 20 and the external electronic device 100. After receiving the power supply signal, the external electronic device 100 outputs the power supply to the first interface 20, and the power supply is output to the load 10.

[0068] Among them, the data signal can be a waveform of a corresponding type. In an optional embodiment, the data signal is a PWM signal. When the external electronic device 100 is initially connected to the mobile electronic device 200, the energy storage circuit 51 in the external electronic device 100 obtains the PWM signal through the first data port and charges and stores energy. After the mobile electronic device 200 is discharged, the power supply is obtained through the first power port P1 and charges and stores energy, so that the terminal voltage of the energy storage circuit 51 is maintained above the preset voltage.

[0069] The energy storage circuit 51 may be a circuit or component with energy storage. In an optional embodiment, the energy storage circuit 51 is an energy storage capacitor or a battery. The first end of the energy storage capacitor or the positive electrode of the battery is used to connect the first data port of the first interface 20 and the first power port P1, and the second end of the energy storage capacitor or the negative electrode of the battery is grounded. Figure 5 As shown, the energy storage circuit 51 includes a first capacitor C1, a first end of the first capacitor C1 is connected to the first data port and the first power port P1 of the first interface 20, a second end of the first capacitor C1 is grounded, and the first capacitor C1 is an energy storage capacitor.

[0070] The power-taking signal generating circuit 52 may adopt a corresponding signal source, a switch circuit and other structures. In an optional embodiment, as Figure 3 As shown, the second interface 30 includes a second signal port S2 for transmitting data signals and a second power port P2 for transmitting power supply;

[0071] The power-taking signal generating circuit 52 includes:

[0072] An impedance circuit 521, a first end of the impedance circuit 521 is connected to the first signal port S1 of the first interface 20;

[0073] The second switch circuit 522, the first end of the second switch circuit 522 is connected to the second end of the impedance circuit 521, the control end of the second switch circuit 522 is connected to the energy storage circuit 51, the control end of the second switch circuit 522 is also connected to the second signal port S2 or the second power port P2, the second end of the second switch circuit 522 is grounded, the second switch circuit 522 is triggered to turn on and output a low-level power supply signal when the terminal voltage of the energy storage circuit 51 reaches a preset voltage, and is triggered to turn off and cut off the output of the low-level power supply signal when receiving the data signal or power supply transmitted by the second interface 30.

[0074] In this embodiment, when the external electronic device 100 is initially connected to the mobile electronic device 200 and is not connected to the power supply device 300, at this time, the second interface 30 does not input power supply, the control end of the first switch circuit 40 does not receive the power supply or data signal transmitted by the second interface 30, the first switch circuit 40 is controlled to be turned off, the energy storage circuit 51 receives the data signal transmitted by the mobile electronic device 200 through the first interface 20 and charges and stores energy, and the second switch circuit 522 does not receive the power supply or data signal transmitted by the second interface 30. Under the charging and energy storage of the data signal, the terminal voltage of the energy storage circuit 51 gradually increases. When the terminal voltage of the energy storage circuit 51 reaches the preset voltage, the first switch circuit 40 is turned off. The second switch circuit 522 is triggered to be turned on and grounded under the drive of the preset voltage, and outputs a low-level power supply signal to the first interface 20 and the external electronic device 100 through the impedance circuit 521. After receiving the power supply signal, the external electronic device 100 outputs the power supply to the first interface 20, and the power supply is output to the load 10 and the energy storage circuit 51. The terminal voltage of the energy storage circuit 51 continues to be maintained above the preset voltage. The second switch circuit 522 continues to be in the on state and outputs a low-level power supply signal to the mobile electronic device 200. The mobile electronic device 200 continues to discharge, and the load 10 continues to power on. The load 10 exchanges data with the mobile electronic device 200 through the first interface 20.

[0075] Also, when the mobile electronic device 200 needs to be charged, at this time, the external electronic device 100 is connected to the mobile electronic device 200 and the power supply device 300 at the same time. At this time, the second interface 30 transmits power supply and can also transmit data signals. When the first switch circuit 40 receives the power supply or the data signal, it is controlled to be turned on and transmits the power supply to the load 10. At the same time, the second switch circuit 522 receives the power supply or the data signal transmitted by the second interface 30, and the second switch circuit 522 is turned off, cutting off the output of the low-level power-taking signal. When the mobile electronic device 200 does not receive the power-taking signal, it stops outputting power supply and switches from the charging state to the power receiving state. The power supply output by the power supply device 300 is synchronously output to the mobile electronic device 200 and the energy storage circuit 51 through the first interface 20, and the mobile electronic device 200 is charged and stores energy.

[0076] At the same time, after charging is completed, the power supply device 300 is removed from the external electronic device 100, the control end of the first switch circuit 40 does not receive the power supply or data signal transmitted by the second interface 30, and the first switch circuit 40 is controlled to be turned off. At this time, the terminal voltage of the energy storage circuit 51 is above the preset voltage, and the second switch circuit 522 does not receive the power supply or data signal transmitted by the second interface 30. At this time, the second switch circuit 522 is triggered to turn on and outputs a low-level power supply signal to the first interface 20 and the external electronic device 100. After receiving the power supply signal, the external electronic device 100 outputs the power supply to the first interface 20, and the power supply is output to the load 10.

[0077] In order to realize the one-way transmission of the data signal and the power supply of the mobile electronic device 200 and prevent the crosstalk between the power supply and the data signal, which may cause the mobile electronic device 200 or the external electronic device 100 to be triggered incorrectly, in an optional embodiment, as Figure 4 As shown, the power supply switching circuit 50 also includes:

[0078] The first unidirectional conducting circuit 53 is connected between the first power port P1 and the energy storage circuit 51 and is configured to unidirectionally transmit the power supply to the energy storage circuit 51;

[0079] The second unidirectional conducting circuit 54 is connected between the first signal port S1 and the energy storage circuit 51 and is configured to unidirectionally transmit the PWM signal.

[0080] In this embodiment, by setting a first unidirectional conduction circuit 53 and a second unidirectional conduction circuit 54, when transmitting a data signal to the energy storage circuit 51, due to the existence of the first unidirectional conduction circuit 53, the data signal will not be transmitted to the load 10 and the first switch circuit 40, thereby avoiding false triggering of the load 10 and the first switch circuit 40. Similarly, when transmitting power supply to the energy storage circuit 51, due to the existence of the second unidirectional conduction circuit 54, the power supply will not be output to the first interface 20 and the impedance circuit 521, thereby avoiding false triggering of the second switch circuit 522 and the mobile electronic device 200, causing the problem of power supply cutoff, and improving power supply reliability.

[0081] The first unidirectional conductive circuit 53 and the second unidirectional conductive circuit 54 can be made of unidirectional conductive devices or circuits such as diodes, triodes, MOS tubes, etc. In order to simplify the circuit structure and reduce the design cost, in an optional embodiment, as Figure 5 As shown, the first unidirectional conducting circuit 53 includes a first diode D1, an anode of the first diode D1 is connected to the first power port P1, and a cathode of the first diode D1 is connected to the energy storage circuit 51;

[0082] The second unidirectional conducting circuit 54 includes a second diode D2 , an anode of the second diode D2 is connected to the first signal port S1 , and a cathode of the second diode D2 , a cathode of the first diode D1 and the energy storage circuit 51 are connected.

[0083] The first diode D1 realizes unidirectional transmission of power supply, and the second diode D2 realizes unidirectional transmission of data signal, thereby preventing crosstalk between power supply and data signal, avoiding false triggering of mobile electronic device 200 or external electronic device 100, and improving power supply reliability.

[0084] The impedance circuit 521 may use an impedance device with a corresponding resistance value. In order to simplify the circuit structure, for example Figure 5 As shown, in an optional embodiment, the impedance circuit 521 includes a resistor R1 , and a first end and a second end of the resistor R1 constitute a first end and a second end of the impedance circuit 521 , respectively.

[0085] The first switch circuit 40 and the second switch circuit 522 can use switch devices with controlled on and off, such as transistors, MOS tubes, relays, etc. At the same time, different switch states are switched when the second switch circuit 522 receives a power signal or a data signal transmitted by the energy storage circuit 51 or the second interface 30. A corresponding signal conversion circuit, such as an inverting circuit, a voltage divider circuit, etc., can also be set between the second switch circuit 522 and the energy storage circuit 51, or between the second switch circuit 522 and the second interface 30, so that the second switch circuit 522 can switch to different switch states when receiving different signals output by different module circuits.

[0086] The control end of the first switch circuit 40 can be connected to the second signal port S2 or the second power port P2 of the second interface 30, or be indirectly connected through a corresponding signal conversion circuit, so as to be turned on and off accordingly when the second interface 30 is connected to the power supply device 300 or disconnected. The signal conversion circuit can be a voltage conversion circuit, an inverter circuit, a voltage divider circuit, etc., and the specific structure is not limited.

[0087] like Figure 5 As shown, in an optional embodiment, the first switch circuit 40 includes a first controllable switch K1, a first end of the first controllable switch K1 is connected to the second power port P2, a second end of the first controllable switch K1 is connected to the load 10 and the first power port P1 of the first interface 20, and a control end of the first controllable switch K1 is connected to the second signal port S2 or the second power port P2;

[0088] The second switch circuit 522 includes a second controllable switch K2;

[0089] The first end of the second controllable switch K2 is connected to the second end of the impedance circuit 521, the control end of the second controllable switch K2 is connected to the energy storage circuit 51, the control end of the second controllable switch K2 is also connected to the second signal port S2 or the second power port P2, and the second end of the second controllable switch K2 is grounded.

[0090] like Figure 6 As shown, when the external electronic device 100 is initially connected to the mobile electronic device 200 and is not connected to the power supply device 300, at this time, the second interface 30 does not input the power supply, the control end of the first controllable switch K1 does not receive the power supply or data signal transmitted by the second interface 30, the first controllable switch K1 is controlled to be turned off, the first capacitor C1 receives the PWM signal transmitted by the mobile electronic device 200 through the first interface 20 and the second diode D2 and charges and stores energy, and the second controllable switch K2 does not receive the power supply or data signal transmitted by the second interface 30. Under the charging and energy storage of the PWM signal, the terminal voltage of the first capacitor C1 gradually increases. When the terminal voltage of the first capacitor C1 reaches the preset voltage, the second The controllable switch K2 is triggered to be turned on and grounded under the drive of a preset voltage, and outputs a low-level power-taking signal to the first interface 20 and the external electronic device 100 through the resistor R1. After receiving the power-taking signal, the external electronic device 100 outputs the power supply to the first interface 20, and the power supply is output to the load 10 and to the first capacitor C1 through the first diode D1. The terminal voltage of the first capacitor C1 continues to be maintained above the preset voltage. The second controllable switch K2 continues to be in the on state and outputs a low-level power-taking signal to the mobile electronic device 200. The mobile electronic device 200 continues to discharge, the load 10 continues to be powered on, and the load 10 exchanges data with the mobile electronic device 200 through the first interface 20.

[0091] And, if Figure 7 As shown, when the mobile electronic device 200 needs to be charged, at this time, the external electronic device 100 is connected to the mobile electronic device 200 and the power supply device 300 at the same time. At this time, the second interface 30 transmits power supply and can also transmit data signals. When the first controllable switch K1 receives the power supply or the data signal, it is controlled to be turned on and transmits the power supply to the load 10. At the same time, the second controllable switch K2 receives the power supply or the data signal transmitted by the second interface 30, and the second controllable switch K2 is turned off, and the output of the low-level power-taking signal is cut off. When the mobile electronic device 200 does not receive the power-taking signal, it stops outputting the power supply and switches from the charging state to the power receiving state. The power supply output by the power supply device 300 is synchronously output to the mobile electronic device 200 and the first capacitor C1 through the first interface 20, and the mobile electronic device 200 is charged and stores energy.

[0092] At the same time, if Figure 5 As shown, after charging is completed, the power supply device 300 is removed from the external electronic device 100, the control end of the first controllable switch K1 does not receive the power supply or data signal transmitted by the second interface 30, and the first controllable switch K1 is controlled to be turned off. At this time, the terminal voltage of the first capacitor C1 is above the preset voltage, and the second controllable switch K2 does not receive the power supply or data signal transmitted by the second interface 30. At this time, the second controllable switch K2 is triggered to turn on and outputs a low-level power-taking signal to the first interface 20 and the external electronic device 100. After receiving the power-taking signal, the external electronic device 100 outputs the power supply to the first interface 20, and the power supply is output to the load 10.

[0093] The first controllable switch K1 and the second controllable switch K2 may adopt corresponding switching devices with controlled on and off such as triodes, MOS tubes, relays, etc. At the same time, in order to prevent current backflow when voltage exists in the two USB interfaces at the same time, in an optional embodiment, the first controllable switch K1 includes a first PMOS tube and a second PMOS tube;

[0094] The drain of the first PMOS tube constitutes the first end of the first controllable switch K1, the source of the first PMOS tube is connected to the source of the second PMOS tube, the drain of the second PMOS tube constitutes the second end of the first controllable switch K1, and the gate of the first PMOS tube and the gate of the second PMOS tube are connected together to constitute the control end of the first controllable switch K1.

[0095] The first controllable switch K1 uses two first PMOS tubes and a second PMOS tube connected in series. When the first interface 20 and the second interface 30 are simultaneously connected to the mobile electronic device 200 and the power supply device 300, the current of the mobile electronic device 200 is prevented from flowing back to the power supply device 300, thereby realizing unidirectional current transmission and ensuring the safety of charging.

[0096] Compared with the prior art, the embodiments of the utility model have the following beneficial effects: the above-mentioned external electronic device 100 includes a load 10, a first interface 20, a second interface 30, a first switch circuit 40 and a power supply switching circuit 50. When the external electronic device 100 is not connected to the power supply device 300, the power supply switching circuit 50 outputs a power-taking signal to the mobile electronic device 200, and obtains power supply from the mobile electronic device 200 and the first interface 20. When the external electronic device 100 is connected to the power supply device 300, the first switch circuit 40 is turned on, the mobile electronic device 200 stops supplying power, the first switch circuit 40 is turned on, and the power supply output by the power supply device 300 is output to the load 10 and the mobile electronic device 200 through the second interface 30. The mobile electronic device 200 and the external electronic device 100 can realize switching between OTG mode and charging mode, thereby meeting the uninterrupted power demand of the mobile electronic device 200 and the external electronic device 100, and at the same time meeting the charging demand of the mobile electronic device 200.

[0097] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention.

Claims

1. An external electronic device for connecting to a mobile electronic device, characterized in that: The external electronic device comprises: load; A first interface, used to connect to a mobile electronic device, wherein the first interface is also connected to the load; The second interface is used to connect the power supply device; a first switch circuit, connected to the second interface, the first interface and the load, wherein the first switch circuit is configured to be triggered to be turned on when the second interface is connected to the power supply device, and to transmit the power supply output by the power supply device to the first interface and the load; A power supply switching circuit is connected to the first interface and the second interface respectively. When the first interface is connected to the mobile electronic device and the second interface is not connected to the power supply device, the power supply switching circuit triggers to output a power supply signal to the mobile electronic device so that the mobile electronic device outputs power supply to the load. When the second interface is connected to the power supply device, the power supply switching circuit triggers to cut off the output of the power supply signal.

2. The external electronic device according to claim 1, characterized in that: The first interface comprises a first signal port for transmitting a data signal and a first power port for transmitting a power supply, and the first power port is connected to the load; The power supply switching circuit comprises: an energy storage circuit, wherein the energy storage circuit is connected to the first signal port and the first power port respectively, and when the first interface is connected to the mobile electronic device, the energy storage circuit is charged through the first signal port or the first power port; A power-taking signal generating circuit is connected to the first interface, the second interface and the energy storage circuit, and when the terminal voltage of the energy storage circuit reaches a preset voltage, the power-taking signal generating circuit triggers the output of the power-taking signal to the first signal port and the mobile electronic device; When the second interface is connected to the power supply device, the power taking signal generating circuit is triggered to stop outputting the power taking signal.

3. The external electronic device according to claim 2, characterized in that: The data signal transmitted by the first signal port is a PWM signal.

4. The external electronic device according to claim 2, characterized in that: The energy storage circuit is an energy storage capacitor or a battery.

5. The external electronic device according to claim 2, characterized in that: The second interface includes a second signal port for transmitting a data signal and a second power port for transmitting a power supply; The power taking signal generating circuit comprises: an impedance circuit, a first end of the impedance circuit being connected to a first signal port of the first interface; A second switch circuit, wherein the first end of the second switch circuit is connected to the second end of the impedance circuit, the control end of the second switch circuit is connected to the energy storage circuit, the control end of the second switch circuit is also connected to the second signal port or the second power supply port, the second end of the second switch circuit is grounded, and the second switch circuit is triggered to turn on and output a low-level power supply signal when the terminal voltage of the energy storage circuit reaches a preset voltage, and is triggered to turn off and cut off the output of the low-level power supply signal when receiving a data signal or power supply transmitted by the second interface.

6. The external electronic device according to claim 5, characterized in that: The impedance circuit includes a resistor, and a first end and a second end of the resistor constitute a first end and a second end of the impedance circuit respectively.

7. The external electronic device according to claim 5, characterized in that: The first switch circuit comprises a first controllable switch, a first end of the first controllable switch is connected to the second power port, a second end of the first controllable switch is connected to the load and the first power port of the first interface, and a control end of the first controllable switch is connected to the second signal port or the second power port; The second switch circuit includes a second controllable switch; The first end of the second controllable switch is connected to the second end of the impedance circuit, the control end of the second controllable switch is connected to the energy storage circuit, the control end of the second controllable switch is also connected to the second signal port or the second power supply port, and the second end of the second controllable switch is grounded.

8. The external electronic device according to claim 7, characterized in that: The first controllable switch includes a first PMOS tube and a second PMOS tube; The drain of the first PMOS tube constitutes the first end of the first controllable switch, the source of the first PMOS tube is connected to the source of the second PMOS tube, the drain of the second PMOS tube constitutes the second end of the first controllable switch, and the gate of the first PMOS tube and the gate of the second PMOS tube are connected together to constitute the control end of the first controllable switch.

9. The external electronic device according to claim 3, characterized in that: The power supply switching circuit further includes: A first unidirectional conducting circuit, connected between the first power port and the energy storage circuit, and configured to unidirectionally transmit the power supply to the energy storage circuit; The second unidirectional conducting circuit is connected between the first signal port and the energy storage circuit, and is configured to unidirectionally transmit the PWM signal.

10. The external electronic device according to claim 9, characterized in that: The first unidirectional conducting circuit comprises a first diode, an anode of the first diode is connected to the first power port, and a cathode of the first diode is connected to the energy storage circuit; The second unidirectional conducting circuit includes a second diode, an anode of the second diode is connected to the first signal port, and a cathode of the second diode, a cathode of the first diode and the energy storage circuit are connected.