Power supply access switching circuit and electronic equipment
By designing the power supply path switching circuit and using the detection module and switch module to switch the charging parameters, the problem of external keyboard power supply during fast charging of the tablet is solved and the production cost is reduced.
Patent Information
- Application Number
- CN202323212407.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-27
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2033-11-27
AI Technical Summary
When the tablet is charged using a fast-charging charger, the charging port of the external keyboard cannot supply power, causing it to be unable to be used normally. Existing solutions increase production costs.
A power supply path switching circuit is designed, including a control module, a first switch module, a second switch module, a detection module and a power supply module. By detecting the interface status and controlling the switch module to switch the charging parameters, power supply to external devices is achieved, avoiding An additional power supply module or step-up and step-down circuit is required.
It realizes that while the power supply device adopts different charging parameters to supply power, it can directly supply power to the access device, which reduces the circuit cost and avoids the power supply problem of the external keyboard under fast charging.
Smart Images

Figure CN221652262U
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of charging and power supply, and in particular to a power supply path switching circuit and an electronic device. Background Art
[0002] With the continuous development of electronic products, the performance of tablet computers has begun to approach that of ordinary computers. Therefore, more and more people choose to use more portable and high-performance tablet computers to replace ordinary computers. In order to make user operation more convenient and quick, tablet computers are usually equipped with external keyboards.
[0003] Since the external keyboard is powered by a 5V voltage, and the currently popular fast charging protocols all use a voltage exceeding 5V for power supply, when the tablet is charged with a fast charging charger, the charging port of the external keyboard will not be able to power the keyboard, making the external keyboard unable to be used normally. In order to solve the above problem, the existing technology usually provides an independent power supply chip and peripheral circuit for the charging port of the external keyboard, but this will increase production costs. Utility Model Content
[0004] In order to solve the above technical problem or at least partially solve the above technical problem, the present disclosure provides a power supply path switching circuit and an electronic device.
[0005] The embodiment of the present disclosure provides a power supply path switching circuit, including: a control module, a first switch module, a second switch module, a detection module and a power supply module;
[0006] The control module is electrically connected to the first interface through the detection module; the detection end of the power module is electrically connected to the second interface; the first switch module is connected in series between the first interface and the power supply end of the power module; the second switch module is connected in series between the second interface and the power supply end of the power module; the first interface charging enable end of the first switch module is electrically connected to the first output end of the control module; the first power supply device power supply enable end of the second switch module is electrically connected to the second output end of the control module; the control end of the power module is electrically connected to the first interface charging enable end of the first switch module; the detection module is used to detect the interface state of the first interface; the power module is used to detect the interface state of the second interface;
[0007] The first interface is connected to a first power-consuming device, and the second interface is connected to a power supply device, the control end of the power supply module and / or the first output end of the control module controls the first switch module to be turned on, the second output end of the control module controls the second switch module to be turned on, and the power supply device uses a first charging parameter to supply power to the first power-consuming device through the second switch module and the first switch module; the power supply device uses the first charging parameter to supply power to the power supply module through the second switch module;
[0008] The first interface is connected to a first power-consuming device, and the second interface is not connected to a device, the control end of the power module and / or the first output end of the control module controls the first switch module to be turned on, and the second output end of the control module controls the second switch module to be turned off, and the power module uses a first charging parameter to supply power to the first power-consuming device through the first switch module;
[0009] The first interface is not connected to a device, and the second interface is connected to a power supply device. The control end of the power supply module and / or the first output end of the control module controls the first switch module to be turned off, and the power supply device controls the second switch module to be turned on. The power supply device uses a second charging parameter to supply power to the power supply module through the second switch module.
[0010] Optionally, the second switch module further includes a second interface charging enable terminal; the control module further includes a third output terminal; the second interface charging enable terminal of the second switch module is electrically connected to the third output terminal of the control module;
[0011] The second interface is connected to a second power-consuming device, the third output terminal of the control module controls the second switch module to be turned on, and the power module uses the first charging parameter to supply power to the second power-consuming device through the second switch module.
[0012] Optionally, the first switch module includes: an enabling control unit, a first switch unit, a second switch unit and a first conduction control unit;
[0013] The first output end of the enabling control unit is electrically connected to the control end of the first switch unit, the first end of the first switch unit is electrically connected to the first interface, the second end of the first switch unit is electrically connected to the second end of the second switch unit, the control end of the second switch unit is electrically connected to the second output end of the enabling control unit, and the first end of the second switch unit is electrically connected to the power supply end of the power module; the first enabling end of the enabling control unit is electrically connected to the first end of the first conduction control unit; the second end of the first conduction control unit is grounded; the control end of the first conduction control unit is electrically connected to the first interface charging enabling end of the first switch module;
[0014] The first interface is connected to a first electrical device, the first conduction control unit is turned on, the potential of the first enable terminal of the enable control unit is pulled down, and the first switch unit and the second switch unit are turned on.
[0015] Optionally, the first switch unit includes a first transistor, and the second switch unit includes a second transistor;
[0016] The first output terminal of the enable control unit is electrically connected to the gate of the first transistor, the first electrode of the first transistor is electrically connected to the first interface, the second electrode of the first transistor is electrically connected to the second electrode of the second transistor, the gate of the second transistor is electrically connected to the second output terminal of the enable control unit, and the first electrode of the second transistor is electrically connected to the power supply terminal of the power module.
[0017] Optionally, the first conduction control unit includes a third transistor; the first enable terminal of the enable control unit is electrically connected to the first electrode of the third transistor, the gate of the third transistor is electrically connected to the first output terminal of the control module, and the second electrode of the third transistor is grounded.
[0018] Optionally, the first conduction control unit further includes a first diode; the first enable terminal of the enable control unit is electrically connected to the cathode terminal of the first diode, and the anode terminal of the first diode is electrically connected to the control terminal of the power module.
[0019] Optionally, the second switch module includes an enabling control unit, a third switch unit, a fourth switch unit and a second conduction control unit;
[0020] The first output end of the enable control unit is electrically connected to the control end of the third switch unit, the first end of the third switch unit is electrically connected to the second interface, the second end of the third switch unit is electrically connected to the second end of the fourth switch unit, the control end of the fourth switch unit is electrically connected to the second output end of the enable control unit, and the first end of the fourth switch unit is electrically connected to the power supply end of the power module; the second enable end of the enable control unit is electrically connected to the first end of the second conduction control unit, the second end of the second conduction control unit is grounded, and the control end of the second conduction control unit is electrically connected to the first power supply device power supply enable end of the second switch module;
[0021] The second interface is connected to a power supply device, the second conduction control unit is disconnected, the potential of the second enable terminal of the enable control unit is raised, the third switch unit is turned on, and the fourth switch unit is turned off.
[0022] Optionally, the enabling control unit further includes a third enabling terminal, and the third enabling terminal is electrically connected to the third output terminal of the control module;
[0023] The second interface is connected to a second electrical device, the third output terminal of the control module pulls up the potential of the third enable terminal of the enable control unit, the third switch unit is disconnected, and the fourth switch unit is turned on.
[0024] Optionally, the second switch module further includes an overvoltage protection conduction unit;
[0025] The third enabling terminal of the enabling control unit is electrically connected to the first terminal of the overvoltage protection conducting unit, the control terminal of the overvoltage protection conducting unit is electrically connected to the overvoltage protection terminal of the power module, and the second terminal of the overvoltage protection conducting unit is grounded.
[0026] An embodiment of the present disclosure also provides an electronic device, comprising any power supply path switching circuit as described above.
[0027] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:
[0028] The embodiment of the present disclosure provides a power supply path switching circuit and an electronic device, wherein the power supply path switching circuit includes a control module, a first switch module, a second switch module, a detection module and a power supply module. The control module is electrically connected to the first interface through the detection module, and the detection module detects the interface state of the first interface. When the first interface is connected to the first power-consuming device, the detection module transmits a signal of detecting that the first power-consuming device is connected to the first interface to the control module, and the control module sends a level signal to the first interface charging enable end of the first switch module through the first output end of the control module according to the signal. The detection end of the power supply module is electrically connected to the second interface, and the power supply module detects the interface state of the second interface. When the detection end of the power supply module detects that the second interface is connected to the power supply device, the power supply module directly sends a level signal to the first interface charging enable end of the first switch module through the control end of the power supply module, and the control end of the power supply module and / or the first output end of the control module control the first switch module to be turned on. In addition, the power module is also electrically connected to the control module. When the detection end of the power module detects that the second interface is connected to the power device, the power module transmits a signal that the power device is connected to the second interface to the control module. The control module sends a level signal to the first power device power supply enable end of the second switch module through the second output end of the control module according to the signal, and the second switch module is turned on. In the present disclosure, when the first interface is connected to the first power device and the second interface is connected to the power device, the power device can use the first charging parameter to supply power to the power module through the second switch module, and the power device can also use the first charging parameter to supply power to the first power device through the first switch module and the second switch module. Therefore, the present disclosure realizes that when the power device uses the first charging parameter to supply power to the power module from the second interface through the second switch module, the first charging parameter can be used to directly supply power to the first power device connected to the first interface through the first switch module and the second switch module, without setting an additional power supply module to supply power to the first power device connected to the first interface separately, or setting an additional boost or buck circuit to supply power to the first power device connected to the first interface, thereby reducing the circuit cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0030] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0031] Figure 1A schematic diagram of a power supply path switching circuit provided by an embodiment of the present disclosure;
[0032] Figure 2 A schematic diagram of another power supply path switching circuit provided by an embodiment of the present disclosure;
[0033] Figure 3 A schematic diagram of another power supply path switching circuit provided by an embodiment of the present disclosure;
[0034] Figure 4 A schematic diagram of another power supply path switching circuit provided by an embodiment of the present disclosure;
[0035] Figure 5 A schematic diagram of another power supply path switching circuit provided by an embodiment of the present disclosure;
[0036] Figure 6 A schematic diagram of another power supply path switching circuit provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0037] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0038] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0039] Figure 1 A schematic diagram of a power supply path switching circuit provided by an embodiment of the present disclosure is shown in FIG. Figure 1 As shown, the power supply path switching circuit includes: a control module 100 , a first switch module 200 , a second switch module 300 , a detection module 400 and a power module 500 .
[0040] The control module 100 is electrically connected to the first interface 610 through the detection module 400; the detection end 501 of the power module 500 is electrically connected to the second interface 620; the first switch module 200 is connected in series between the first interface 610 and the power supply end 502 of the power module 500; the second switch module 300 is connected in series between the second interface 620 and the power supply end 502 of the power module 500; the first interface charging enable end 201 of the first switch module 200 is electrically connected to the first output end 101 of the control module 100; the first power supply device power supply enable end 301 of the second switch module 300 is electrically connected to the second output end 102 of the control module 100; the control end 503 of the power module 500 is electrically connected to the first interface charging enable end 201 of the first switch module 200; the second interface 620 is also electrically connected to the second power supply device power supply enable end 302 of the second switch module 300; the detection module 400 is used to detect the interface state of the first interface 610; the power module 500 is used to detect the interface state of the second interface 620.
[0041] The first interface 610 is connected to the first power-consuming device, and the second interface 620 is connected to the power supply device. The control end 503 of the power supply module 500 and / or the first output end 101 of the control module 100 control the first switch module 200 to be turned on, and the second output end 102 of the control module 100 controls the second switch module 300 to be turned on. The power supply device uses the first charging parameter to supply power to the first power-consuming device through the second switch module 300 and the first switch module 200; the power supply device uses the first charging parameter to supply power to the power supply module 500 through the second switch module 300.
[0042] Exemplarily, when the first interface 610 is first connected to the first power device, and the second interface 620 is then connected to the power supply device. After the first interface 610 is connected to the first power device, the detection module 400 detects the interface state of the first interface 610, and the detection module 400 transmits the signal of detecting that the first power device is connected to the first interface 610 to the control module 100. The control module 100 sends a level signal to the first interface charging enable terminal 201 of the first switch module 200 through the first output terminal 101 of the control module 100 according to the signal, so that the first switch module 200 is turned on. When the second interface 620 is connected to the power supply device, the detection terminal 501 of the power supply module 500 detects that the second interface is connected to the power supply device, and the control terminal 503 of the power supply module 500 sends a level signal to the first interface charging enable terminal 201 of the first switch module 200, so that the first switch module 200 is turned off.
[0043] In addition, the power module 500 is also electrically connected to the control module 100. When the detection end 501 of the power module 500 detects that the second interface 620 is connected to the power device, the power module 500 transmits a signal of detecting that the power device is connected to the second interface 620 to the control module 100. Since the detection module 400 also sends a signal to the control module 100 to inform that a device is connected to the first interface 610, the control module 100 sends a level signal to the first power device power supply enable end 301 of the second switch module 300 through the second output end 102 of the control module 100, so that the second switch module 300 is turned on in the charging direction along the second interface 620 to the power module 500. After completing the conduction of the second switch module 300 in the charging direction, the control module 100 again controls the control end 503 of the power module 500 to send a level signal to the first interface charging enable end 201 of the first switch module 200, so that the first switch module 200 is turned on. Thus, the power supply device can use the first charging parameters of 5V charging voltage and 2A charging current to supply power to the power supply module 500 through the second switch module 300, and at the same time, the power supply device can also use the first charging parameters to supply power to the first power-consuming device through the first switch module 200 and the second switch module 300. In addition, this solution uses the above-mentioned method of first disconnecting the first switch module 200, then connecting the second switch module 300, and finally reconnecting the first switch module 200 to change the power supply mode of the power supply path switching circuit from the power supply module 500 supplying power to the first interface 610 to the power supply device connected to the second interface 620 supplying power to the first interface 610, thereby avoiding the power supply module 500 from being burned due to the situation of both charging and discharging, and ensuring the safety of the charging and power supply process.
[0044] Exemplarily, when the second interface 620 is first connected to the power supply device, and the first interface 610 is then connected to the first power-consuming device. When the detection end 501 of the power module 500 detects that the second interface 620 is connected to the power device, the power device sends a level signal to the second power device power enable end 302 of the second switch module 300 through the second interface 620, directly turning on the charging direction of the second switch module 300 along the second interface 620 toward the power module 500, and the power module 500 transmits the signal of detecting that a power device is connected to the second interface 620 to the control module 100. At this time, the control module 100 does not receive the signal from the detection module 400 informing the first interface 610 that a device is connected. The control module 100 orders the control end 503 of the power module 500 to send a level signal to the first interface charging enable end 201 of the first switch module 200, so that the first switch module 200 is turned off. At this time, the control module 100 controls the power module 500 to adopt the second charging parameters of a charging voltage of 9V and a charging current of 3A, so that the power device supplies power to the power module 500 through the second switch module 300.
[0045] After the first interface 610 is connected to the first power-consuming device, the detection module 400 transmits a signal detecting that the first power-consuming device is connected to the first interface 610 to the control module 100. The control module 100 changes the second charging parameter of the charging voltage of 9V and the charging current of 3A to the first charging parameter of the charging voltage of 5V and the charging current of 2A in the power module 500 according to the received signal. In addition, the control module 100 sends a level signal to the first interface charging enable terminal 201 of the first switch module 200 through the first output terminal 101 of the control module 100. The control module 100 also controls the power module 500 to send a level signal to the first interface charging enable terminal 201 of the first switch module 200 through the control terminal 503 of the power module 500, so that the first switch module 200 is turned on, thereby enabling the power supply device to use the first charging parameter of the charging voltage of 5V and the charging current of 2A to supply power to the power supply module 500 through the second switch module 300. At the same time, the power supply device can also use the first charging parameter to supply power to the first power-consuming device through the first switch module 200 and the second switch module 300. The present disclosure also realizes that when the device is charged using the second charging parameters of a charging voltage of 9V and a charging current of 3A, after the first interface 610 is inserted into the first power-consuming device, the charging parameters can be immediately switched to the first charging parameters of a charging voltage of 5V and a charging current of 2A, thereby ensuring that the power supply device can charge the power module 500 while also supplying power to the first power-consuming device connected to the first interface 610.
[0046] Therefore, the present disclosure realizes that while the power supply device uses the first charging parameters to supply power to the power supply module 500 from the second interface 620 through the second switch module 300, the first charging parameters can be used to directly supply power to the first power device connected to the first interface 610 through the first switch module 200 and the second switch module 300. There is no need to set up an additional power supply module to separately supply power to the first power device connected to the first interface 610, or to set up an additional boost or buck circuit to power the first power device connected to the first interface 610, thereby reducing circuit costs.
[0047] The first interface 610 is connected to a first power-consuming device, and no device is connected to the second interface 620. The control end 503 of the power module 500 and / or the first output end 101 of the control module 100 control the first switch module 200 to be turned on, and the second output end 102 of the control module 100 controls the second switch module 300 to be turned off. The power module 500 uses the first charging parameter to supply power to the first power-consuming device through the first switch module 200.
[0048] Specifically, after the first interface 610 is connected to the first electrical device, the detection module 400 detects the interface status of the first interface 610. The detection module 400 transmits the signal that the first electrical device is connected to the first interface 610 to the control module 100. The control module 100 sends a level signal to the first interface charging enable terminal 201 of the first switch module 200 through the first output terminal 101 of the control module 100 based on the signal, so that the first switch module 200 is turned on. Furthermore, since the second interface 620 is not connected to the power supply device, the detection end 501 of the power supply module 500 does not detect that the second interface 620 is connected to the power supply device, and the power supply module 500 sends a level signal to the control module 100 to inform that the second interface 620 is not connected to the power supply device. The control module 100 sends a level signal to the first power supply device power supply enable end 301 of the second switch module 300 through the second output end 102 of the control module 100 based on the received level signal, so that the second switch module 300 is turned off. At this time, the power supply module 500 adopts the first charging parameters of a charging voltage of 5V and a charging current of 2A to supply power to the first electrical device through the first switch module 200.
[0049] The first interface 610 is not connected to a device, and the second interface 620 is connected to a power supply device. The control end 503 of the power supply module 500 and / or the first output end 101 of the control module 100 control the first switch module 200 to be turned off, and the power supply device controls the second switch module 300 to be turned on. The power supply device uses the second charging parameters to supply power to the power supply module 500 through the second switch module 300.
[0050] Specifically, when the detection end 501 of the power module 500 detects that the second interface 620 is connected to the power supply device, the power supply device sends a level signal to the second power supply device power supply enable end 302 of the second switch module 300 through the second interface 620, directly making the second switch module 300 conduct along the second interface 620 to the charging direction of the power module 500, and the power module 500 transmits the signal of detecting that a power supply device is connected to the second interface 620 to the control module 100. At this time, the control module 100 does not receive the level signal from the detection module 400 informing the first interface 610 that a device is connected. The control module 100 makes the control end 503 of the power module 500 send a level signal to the first interface charging enable end 201 of the first switch module 200, making the first switch module 200 shut down. At this time, the control module 100 controls the power module 500 to adopt the second charging parameters of the charging voltage of 9V and the charging current of 3A, so that the power supply device supplies power to the power module 500 through the second switch module 300.
[0051] Figure 2 A schematic diagram of another power supply path switching circuit provided by an embodiment of the present disclosure is shown in FIG. Figure 2As shown, the second switch module 300 further includes a second interface charging enable terminal 303 ; the control module 100 further includes a third output terminal 103 ; and the second interface charging enable terminal 303 of the second switch module 300 is electrically connected to the third output terminal 103 of the control module 100 .
[0052] The second interface 620 is connected to the second power-consuming device, the third output terminal 103 of the control module 100 controls the second switch module 300 to be turned on, and the power module 500 uses the first charging parameter to supply power to the second power-consuming device through the second switch module 300.
[0053] Exemplarily, when the first interface 610 is first connected to the first power-consuming device, and the second interface 620 is then connected to the second power-consuming device. After the first interface 610 is connected to the first power-consuming device, the detection module 400 detects the interface state of the first interface 610, and the detection module 400 transmits the signal of detecting that the first power-consuming device is connected to the first interface 610 to the control module 100. The control module 100 sends a high-level signal to the first interface charging enable terminal 201 of the first switch module 200 through the first output terminal 101 of the control module 100 according to the signal, so that the first switch module 200 is turned on.
[0054] After the second interface 620 is connected to the second electrical device, the detection end 501 of the power module 500 detects that the second interface 620 is connected to the second electrical device, and the power module 500 transmits the signal of detecting that the second electrical device is connected to the second interface 620 to the control module 100. The control module 100 sends a high-level signal to the second interface charging enable end 303 of the second switch module 300 through the third output end 103 of the control module, so that the second switch module 300 is turned on along the path for the power module 500 to supply power to the second interface 620. At this time, the power module 500 adopts the first charging parameters of a charging voltage of 5V and a charging current of 2A to supply power to the second electrical device through the second switch module 300, and adopts the first charging parameters of a charging voltage of 5V and a charging current of 2A to supply power to the first electrical device through the first switch module 200.
[0055] Exemplarily, when the second interface 620 is connected to the second power-consuming device, and the first interface 610 is not connected to the first power-consuming device. After the second interface 620 is connected to the second power-consuming device, the detection end 501 of the power module 500 detects that the second interface 620 is connected to the second power-consuming device, and the power module 500 transmits the signal of detecting that the second power-consuming device is connected to the second interface 620 to the control module 100. The control module 100 sends a high-level signal to the second interface charging enable end 303 of the second switch module 300 through the third output end 103 of the control module, so that the second switch module 300 is turned on along the path for the power module 500 to supply power to the second interface 620. Furthermore, after the second electrical device is connected to the second interface 620, the second electrical device sends a high-level signal to the second power device power enable terminal 302 of the second switch module 300 through the second interface 620. Therefore, the charging path of the second switch module 300 along the second interface 620 to the power module 500 is also turned on. At this time, the power module 500 uses the first charging parameters of a charging voltage of 5V and a charging current of 2A to supply power to the second electrical device through the second switch module 300.
[0056] Exemplarily, when the second interface 620 is first connected to the second power-consuming device, and the first interface 610 is then connected to the first power-consuming device. After the second interface 620 is connected to the second power-consuming device, the detection end 501 of the power module 500 detects that the second interface 620 is connected to the second power-consuming device, and the power module 500 transmits the signal of detecting that the second power-consuming device is connected to the second interface 620 to the control module 100, and the control module 100 sends a high-level signal to the second interface charging enable end 303 of the second switch module 300 through the third output end 103 of the control module, so that the second switch module 300 is turned on along the path of the power module 500 supplying power to the second interface 620. In addition, since after the second power-consuming device is connected to the second interface 620, the second power-consuming device sends a high-level signal to the second power supply device power supply enable end 302 of the second switch module 300 through the second interface 620, and therefore, the path of the second switch module 300 charging the power module 500 along the second interface 620 is also turned on.
[0057] After the first interface 610 is connected to the first power-consuming device, the detection module 400 detects the interface state of the first interface 610. The detection module 400 transmits the signal of detecting that the first power-consuming device is connected to the first interface 610 to the control module 100. The control module 100 sends a high-level signal to the first interface charging enable terminal 201 of the first switch module 200 through the first output terminal 101 of the control module 100 according to the signal, so that the first switch module 200 is turned on. In addition, the control module 100 also outputs a high-level signal to the first power supply device power supply enable terminal 301 of the second switch module 300 through the first output terminal 101 of the control module 100, so that the path of the second switch module 300 charging the power module 500 along the second interface 620 is disconnected. At this time, only the first switch module 200 is turned on, and the path of the second switch module 300 along the power module 500 to supply power to the second interface 620 is turned on. At this time, the power module 500 uses the first charging parameters of a charging voltage of 5V and a charging current of 2A to supply power to the second electrical device through the second switch module 300, and uses the first charging parameters of a charging voltage of 5V and a charging current of 2A to supply power to the first electrical device through the first switch module 200.
[0058] Figure 3 A schematic diagram of another power supply path switching circuit provided by an embodiment of the present disclosure is shown in FIG. Figure 3 As shown, the first switch module 200 includes: an enabling control unit 210, a first switch unit 220, a second switch unit 230 and a first conduction control unit 240;
[0059] The first output terminal 211 of the enabling control unit 210 is electrically connected to the control terminal 221 of the first switch unit 220, the first terminal 222 of the first switch unit 220 is electrically connected to the first interface 610, the second terminal 223 of the first switch unit 220 is electrically connected to the second terminal 233 of the second switch unit 230, the control terminal 231 of the second switch unit 230 is electrically connected to the second output terminal 212 of the enabling control unit 210, and the first terminal 232 of the second switch unit 230 is electrically connected to the power supply terminal 502 of the power module 500; the first enabling terminal 213 of the enabling control unit 210 is electrically connected to the first terminal 242 of the first conduction control unit 240; the second terminal 243 of the first conduction control unit 240 is grounded; the control terminal 241 of the first conduction control unit 240 is electrically connected to the first interface charging enabling terminal 201 of the first switch module 200.
[0060] The first interface 610 is connected to the first power-consuming device, the first conduction control unit 240 is turned on, the potential of the first enable terminal 213 of the enable control unit 210 is pulled down, and the first switch unit 220 and the second switch unit 230 are turned on.
[0061] Exemplarily, the enable control unit 210 also includes a second enable terminal 214 and a third enable terminal 215, and the second enable terminal 214 of the enable control unit 210 and the third enable terminal 215 of the enable control unit 210 are both grounded, so that the second enable terminal 214 of the enable control unit 210 and the third enable terminal 215 of the enable control unit 210 are both at a low level, and the enable control unit 210 enters the first operating mode.
[0062] When the first interface 610 is connected to the first electrical device, the first interface charging enable terminal 201 of the first switch module 200 sends a level signal to the control terminal 241 of the first conduction control unit 240, so that the first terminal 242 of the first conduction control unit 240 sends a low level signal to the first enable terminal 213 of the enable control unit 210, and pulls down the potential of the first enable terminal 213 of the enable control unit 210. At this time, the enable control unit 210 starts to work, and sends a high level signal to the control terminal 221 of the first switch unit 220 through the first output terminal 211 of the enable control unit 210, and to the control terminal 231 of the second switch unit 230 through the second output terminal 212 of the enable control unit 210. The first switch unit 220 and the second switch unit 230 are turned on, thereby making the first interface 610 and the power supply terminal 502 of the power module 500 turned on. At this time, the power module 500 can supply power to the first interface 610 through the turned-on first switch unit 220 and the second switch unit 230.
[0063] It should be noted that the high-level conduction of the first switch unit 220 and the second switch unit 230 is only an example, and the first switch unit 220 and the second switch unit 230 can also be, for example, low-level conduction, which is not specifically limited here.
[0064] Figure 4 A schematic diagram of another power supply path switching circuit provided by an embodiment of the present disclosure is shown in FIG. Figure 4 As shown, the first switch unit 220 includes a first transistor Q1, and the second switch unit 230 includes a second transistor Q2.
[0065] The first output terminal 211 of the enable control unit 210 is electrically connected to the gate of the first transistor Q1, the first electrode of the first transistor is electrically connected to the first interface 610, the second electrode of the first transistor Q1 is electrically connected to the second electrode of the second transistor Q2, the gate of the second transistor Q2 is electrically connected to the second output terminal 212 of the enable control unit 210, and the first electrode of the second transistor is electrically connected to the power supply terminal 502 of the power module 500.
[0066] For example, the first transistor Q1 and the second transistor Q2 are both NMOS tubes. When the first interface charging enable terminal 201 of the first switch module 200 sends a level signal to the control terminal 241 of the first conduction control unit 240, the first terminal 242 of the first conduction control unit 240 sends a low level signal to the first enable terminal 213 of the enable control unit 210, pulling down the potential of the first enable terminal 213 of the enable control unit 210, and then the enable control unit 210 starts to work, and sends a high level signal to the gate of the first transistor Q1 through the first output terminal 211 of the enable control unit 210, and sends a high level signal to the gate of the second transistor Q2 through the second output terminal 212 of the enable control unit 210, and the first transistor Q1 and the second transistor Q2 are turned on, thereby making the first interface 610 and the power supply terminal 502 of the power module 500 turned on, and then the power module 500 can supply power to the first interface 610 through the turned-on first transistor Q1 and the second transistor Q2.
[0067] It should be noted that the first transistor Q1 and the second transistor Q2 are NMOS transistors for example only, and the first transistor Q1 and the second transistor Q2 may also be PMOS transistors, which is not specifically limited here.
[0068] Continue to see Figure 4 The first conduction control unit 240 includes a third transistor Q3; the first enable terminal 213 of the enable control unit 210 is electrically connected to the first electrode of the third transistor Q3, the gate of the third transistor Q3 is electrically connected to the first output terminal 101 of the control module 100, and the second electrode of the third transistor Q3 is grounded.
[0069] Exemplarily, taking the third transistor Q3 as an NMOS tube as an example. The first output terminal 101 of the control module 100 sends a high-level signal to the gate of the third transistor Q3, and the first electrode of the third transistor Q3 and the second electrode of the third transistor Q3 are turned on, so that the first enable terminal 213 of the enable control unit 210 is grounded. At this time, since the first enable terminal 213 of the enable control unit 210 is at a low level, the enable control unit 210 starts to work, and sends a high-level signal to the gate of the first transistor Q1 through the first output terminal 211 of the enable control unit 210, and sends a high-level signal to the gate of the second transistor Q2 through the second output terminal 212 of the enable control unit 210, the first transistor Q1 and the second transistor Q2 are turned on, thereby making the first interface 610 and the power supply terminal 502 of the power module 500 turned on, and at this time the power module 500 can supply power to the first interface 610 through the turned-on first transistor Q1 and the second transistor Q2.
[0070] It should be noted that the third transistor Q3 being an NMOS transistor is only an example, and the third transistor Q3 may also be a PMOS transistor, which is not specifically limited here.
[0071] Continue to see Figure 4 The first conduction control unit 240 also includes a first diode D1; the first enable terminal 213 of the enable control unit 210 is electrically connected to the cathode terminal of the first diode D1, and the anode terminal of the first diode D1 is electrically connected to the control terminal 503 of the power module 500.
[0072] Specifically, the control end 503 of the power module 500 sends a low-level signal to the first enable end 213 of the enable control unit 210 through the first diode D1. At this time, since the first enable end 213 of the enable control unit 210 is at a low level, the enable control unit 210 starts to work, and sends a high-level signal to the gate of the first transistor Q1 through the first output end 211 of the enable control unit 210, and sends a high-level signal to the gate of the second transistor Q2 through the second output end 212 of the enable control unit 210. The first transistor Q1 and the second transistor Q2 are turned on, thereby making the first interface 610 and the power supply end 502 of the power module 500 turned on. At this time, the power module 500 can supply power to the first interface 610 through the turned-on first transistor Q1 and the second transistor Q2. And when the enable control unit 210 is just started, the level of the first enable terminal 213 of the enable control unit 210 may be higher than the level of the control terminal 503 of the power module 500. Therefore, the present disclosure sets a first diode D1 between the first enable terminal 213 of the enable control unit 210 and the control terminal 503 of the power module 500 to avoid the reverse control of the enable control unit 210 affecting the power module 500.
[0073] Continue to see Figure 4 The first conduction control unit 240 further includes a first resistor R1, and the first switch module further includes a second resistor R2 and a third resistor R3.
[0074] Specifically, the first electrode of the first transistor Q1 is electrically connected to the first enable terminal 213 of the enable control unit 210 through the first resistor R1, and the first resistor R1 is used to prevent excessive current from flowing from the first electrode of the first transistor Q1 to the first enable terminal 213 of the enable control unit 210. The second enable terminal 214 of the enable control unit 210 is grounded through the second resistor R2, and the third enable terminal 215 of the enable control unit 210 is grounded through the third resistor R3. The second resistor R2 and the third resistor R3 are used as pull-down resistors.
[0075] Figure 5 A schematic diagram of another power supply path switching circuit provided by an embodiment of the present disclosure is shown in FIG. Figure 5 As shown, the second switch module 300 includes an enabling control unit 210, a third switch unit 310, a fourth switch unit 320 and a second conduction control unit 330;
[0076] The first output terminal 211 of the enabling control unit 210 is electrically connected to the control terminal 311 of the third switch unit 310, the first terminal 312 of the third switch unit 310 is electrically connected to the second interface 620, the second terminal 313 of the third switch unit 310 is electrically connected to the second terminal 323 of the fourth switch unit 320, the control terminal 321 of the fourth switch unit 320 is electrically connected to the second output terminal 212 of the enabling control unit 210, and the first terminal 322 of the fourth switch unit 320 is electrically connected to the power supply terminal 502 of the power module 500; the second enabling terminal 214 of the enabling control unit 210 is electrically connected to the first terminal 332 of the second conduction control unit 330, the second terminal 333 of the second conduction control unit 330 is grounded, the control terminal 331 of the second conduction control unit 330 is electrically connected to the first power supply device power supply enabling terminal 301 of the second switch module 300, and the second power supply device power supply enabling terminal 302 of the second switch module 300 is electrically connected to the second enabling terminal 214 of the enabling control unit 210.
[0077] The second interface 620 is connected to the power supply device, the second conduction control unit 330 is disconnected, the potential of the second enable terminal 214 of the enable control unit 210 is pulled high, the third switch unit 310 is turned on, and the fourth switch unit 320 is turned off.
[0078] For example, Figure 6 A schematic diagram of another power supply path switching circuit provided by an embodiment of the present disclosure is shown in FIG. Figure 6 As shown, the third switch unit 310 is the fourth transistor Q4, the fourth switch unit 320 is the fifth transistor Q5, the second conduction control unit 330 is the sixth transistor Q6, and the fourth transistor Q4, the fifth transistor Q5 and the sixth transistor Q6 are all NMOS transistors.
[0079] The first output terminal 211 of the enable control unit 210 is electrically connected to the gate of the fourth transistor Q4, the first electrode of the fourth transistor Q4 is electrically connected to the second interface 620, the second electrode of the fourth transistor Q4 is electrically connected to the second electrode of the fifth transistor Q5, the gate of the fifth transistor Q5 is electrically connected to the second output terminal 212 of the enable control unit 210, and the first electrode of the fifth transistor Q5 is electrically connected to the power supply terminal 502 of the power module 500; the second enable terminal 214 of the enable control unit 210 is electrically connected to the first electrode of the sixth transistor Q6, the second electrode of the sixth transistor Q6 is grounded, the gate of the sixth transistor Q6 is electrically connected to the first power supply device power supply enable terminal 301 of the second switch module 300, and the second power supply device power supply enable terminal 302 of the second switch module 300 is electrically connected to the second enable terminal 214 of the enable control unit 210.
[0080] The first enable terminal 213 of the enable control unit 210 is grounded, so that the first enable terminal 213 of the enable control unit 210 maintains a low level, and the enable control unit 210 enters the second working mode.
[0081] After the second interface 620 is connected to the power supply device, the second output terminal 102 of the control module 100 outputs a low-level signal to the gate of the sixth transistor Q6 through the first power supply device power supply enable terminal 301 of the second switch module 300, and the sixth transistor Q6 is turned off. Since the second enable terminal 214 of the enable control unit 210 is electrically connected to the second interface 620 through the second power supply device power supply enable terminal 302 of the second switch module 300, the power supply device can output a high-level signal to the second enable terminal 214 of the enable control unit 210, and pull up the potential of the second enable terminal 214 of the enable control unit 210. At this time, the fourth transistor Q4 is turned on and the fifth transistor Q5 is turned off. At this time, the second switch module 300 is turned on in the charging direction from the second interface 620 to the power supply module 500, and the current flows from the second interface 620 to the charging module through the parasitic diode of the turned-on fourth transistor Q4 and the turned-off fifth transistor Q5, so that the power supply device starts to charge the power supply module 500.
[0082] It should be noted that the third switch unit 310 uses the fourth transistor Q4, the fourth switch unit 320 uses the fifth transistor Q5, the second conduction control unit 330 uses the sixth transistor Q6, and the fourth transistor Q4, the fifth transistor Q5 and the sixth transistor Q6 are all NMOS tubes for example only and are not specifically limited here.
[0083] Continue to see Figure 5 The enabling control unit 210 further includes a third enabling terminal 215 , and the third enabling terminal 215 is electrically connected to the third output terminal 103 of the control module 100 .
[0084] The second interface 620 is connected to the second electrical device, the third output terminal 103 of the control module 100 pulls up the potential of the third enable terminal 215 of the enable control unit 210, the third switch unit 310 is disconnected, and the fourth switch unit 320 is turned on.
[0085] For example, see Figure 6 , the third enable terminal 215 of the enable control unit 210 is electrically connected to the cathode terminal of the second diode D2, and the anode terminal of the second diode D2 is electrically connected to the third output terminal 103 of the control module 100. The first enable terminal 213 of the enable control unit 210 is grounded, thereby keeping the first enable terminal 213 of the enable control unit 210 at a low level, and the enable control unit 210 enters the second working mode.
[0086] After the second interface 620 is connected to the second electrical device, the third output terminal 103 of the control module 100 sends a high-level signal to the third enable terminal 215 of the enable control unit 210, pulling up the potential of the third enable terminal 215 of the enable control unit 210. At this time, the fourth transistor Q4 is turned off and the fifth transistor Q5 is turned on. At this time, the second switch module 300 is turned on in the power supply direction from the power module 500 to the second interface 620. The current flows from the power module 500 through the parasitic diode of the turned-on fifth transistor Q5 and the turned-off fourth transistor Q4 to the second interface 620, so that the power module 500 starts to supply power to the second electrical device. And when the enable control unit 210 is just started, the level of the third enable terminal 215 of the enable control unit 210 may be higher than the level of the third output terminal 103 of the control module 100. Therefore, the present disclosure sets a second diode D2 between the third enable terminal 215 of the enable control unit 210 and the third output terminal 103 of the control module 100 to avoid the reverse control of the enable control unit 210 affecting the control module 100.
[0087] Continue to see Figure 6 The second switch module 300 also includes a fourth resistor R4 and a fifth resistor R5.
[0088] Specifically, the first enable terminal 213 of the enable control unit is grounded through the fourth resistor R4, and the fourth resistor R4 is used as a pull-down resistor. The second enable terminal 214 of the enable control unit is electrically connected to the second power supply device power supply enable terminal 302 of the second switch module 300 through the fifth resistor R5, and the fifth resistor R5 is used as a pull-up resistor.
[0089] Continue to see Figure 5 The second switch module 300 also includes an overvoltage protection conduction unit 340; the third enable terminal 215 of the enable control unit 210 is electrically connected to the first terminal 342 of the overvoltage protection conduction unit 340, the control terminal 341 of the overvoltage protection conduction unit 340 is electrically connected to the overvoltage protection terminal 504 of the power module 500, and the second terminal 343 of the overvoltage protection conduction unit 340 is grounded.
[0090] Specifically, when the second interface 620 is connected to a second electrical device and the power module 500 supplies power to the second electrical device, if an overvoltage condition occurs, the power module 500 sends a level signal to the control end 341 of the overvoltage protection conduction unit 340 through the overvoltage protection end 504 of the power module 500, so that the first end 342 of the overvoltage protection conduction unit 340 is conducted with the second end 343 of the overvoltage protection conduction unit 340. At this time, the third enable end 215 of the enable control unit 210 is grounded, and the level of the third enable end 215 of the enable control unit 210 is pulled low. The enable control unit 210 sends a level signal to the control end 311 of the third switch unit 310 through the first output end 211 of the enable control unit 210, so that the third switch unit 310 is turned off, thereby disconnecting the power supply from the power module 500 to the second interface 620, thereby preventing the second electrical device from being damaged due to excessive voltage, and ensuring the safety of the product.
[0091] An embodiment of the present disclosure also provides an electronic device, comprising any of the above power supply path switching circuits.
[0092] The electronic device disclosed in the above embodiment has the same or corresponding beneficial effects as the power supply path switching circuit disclosed in the above embodiments, and will not be described again to avoid repetition.
[0093] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0094] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A power supply path switching circuit, characterized in that: include: A control module, a first switch module, a second switch module, a detection module, and a power supply module; The control module is electrically connected to the first interface through the detection module; the detection end of the power module is electrically connected to the second interface; the first switch module is connected in series between the first interface and the power supply end of the power module; the second switch module is connected in series between the second interface and the power supply end of the power module; the first interface charging enable end of the first switch module is electrically connected to the first output end of the control module; the first power supply device power supply enable end of the second switch module is electrically connected to the second output end of the control module; the control end of the power module is electrically connected to the first interface charging enable end of the first switch module; the detection module is used to detect the interface status of the first interface; and the power module is used to detect the interface status of the second interface; The first interface is connected to a first power-consuming device, and the second interface is connected to a power supply device. The control end of the power supply module and / or the first output end of the control module controls the first switch module to be turned on, and the second output end of the control module controls the second switch module to be turned on. The power supply device uses the first charging parameter to supply power to the first power-consuming device through the second switch module and the first switch module; and the power supply device uses the first charging parameter to supply power to the power module through the second switch module. The first interface is connected to a first power-consuming device, and the second interface is not connected to any device. The control end of the power module and / or the first output end of the control module controls the first switch module to be turned on, and the second output end of the control module controls the second switch module to be turned off. The power module uses the first charging parameter to supply power to the first power-consuming device through the first switch module. The first interface is not connected to a device, and the second interface is connected to a power supply device. The control end of the power supply module and / or the first output end of the control module controls the first switch module to be turned off, and the power supply device controls the second switch module to be turned on. The power supply device uses second charging parameters to supply power to the power supply module through the second switch module.
2. The power supply path switching circuit according to claim 1, wherein: The second switch module further includes a second interface charging enable terminal; the control module further includes a third output terminal; the second interface charging enable terminal of the second switch module is electrically connected to the third output terminal of the control module; The second interface is connected to a second electric device, the third output end of the control module controls the second switch module to be turned on, and the power module uses the first charging parameter to supply power to the second electric device through the second switch module.
3. The power supply path switching circuit according to claim 1, wherein: The first switch module includes: an enabling control unit, a first switch unit, a second switch unit and a first conduction control unit; The first output terminal of the enabling control unit is electrically connected to the control terminal of the first switching unit, the first terminal of the first switching unit is electrically connected to the first interface, the second terminal of the first switching unit is electrically connected to the second terminal of the second switching unit, the control terminal of the second switching unit is electrically connected to the second output terminal of the enabling control unit, and the first terminal of the second switching unit is electrically connected to the power supply terminal of the power module; the first enabling terminal of the enabling control unit is electrically connected to the first terminal of the first conduction control unit; the second terminal of the first conduction control unit is grounded; and the control terminal of the first conduction control unit is electrically connected to the first interface charging enabling terminal of the first switch module; The first interface is connected to a first electrical device, the first conduction control unit is turned on, the potential of the first enable terminal of the enable control unit is pulled down, and the first switch unit and the second switch unit are turned on.
4. The power supply path switching circuit according to claim 3, wherein: The first switch unit includes a first transistor, and the second switch unit includes a second transistor; The first output terminal of the enable control unit is electrically connected to the gate of the first transistor, the first electrode of the first transistor is electrically connected to the first interface, the second electrode of the first transistor is electrically connected to the second electrode of the second transistor, the gate of the second transistor is electrically connected to the second output terminal of the enable control unit, and the first electrode of the second transistor is electrically connected to the power supply terminal of the power supply module.
5. The power supply path switching circuit according to claim 3, wherein: The first conduction control unit includes a third transistor; the first enable terminal of the enable control unit is electrically connected to the first electrode of the third transistor, the gate of the third transistor is electrically connected to the first output terminal of the control module, and the second electrode of the third transistor is grounded.
6. The power supply path switching circuit according to claim 5, wherein: The first conduction control unit further includes a first diode; the first enable terminal of the enable control unit is electrically connected to the cathode terminal of the first diode, and the anode terminal of the first diode is electrically connected to the control terminal of the power module.
7. The power supply path switching circuit according to claim 1, wherein: The second switch module includes an enabling control unit, a third switch unit, a fourth switch unit and a second conduction control unit; The first output terminal of the enabling control unit is electrically connected to the control terminal of the third switch unit, the first terminal of the third switch unit is electrically connected to the second interface, the second terminal of the third switch unit is electrically connected to the second terminal of the fourth switch unit, the control terminal of the fourth switch unit is electrically connected to the second output terminal of the enabling control unit, and the first terminal of the fourth switch unit is electrically connected to the power supply terminal of the power module; the second enabling terminal of the enabling control unit is electrically connected to the first terminal of the second conduction control unit, the second terminal of the second conduction control unit is grounded, and the control terminal of the second conduction control unit is electrically connected to the first power supply device power enabling terminal of the second switch module; The second interface is connected to a power supply device, the second conduction control unit is disconnected, the potential of the second enable terminal of the enable control unit is raised, the third switch unit is turned on, and the fourth switch unit is turned off.
8. The power supply path switching circuit according to claim 7, wherein: The enabling control unit further includes a third enabling terminal, wherein the third enabling terminal is electrically connected to the third output terminal of the control module; The second interface is connected to a second electrical device, the third output terminal of the control module pulls up the potential of the third enable terminal of the enable control unit, the third switch unit is disconnected, and the fourth switch unit is turned on.
9. The power supply path switching circuit according to claim 7, wherein: The second switch module further includes an overvoltage protection conduction unit; The third enabling terminal of the enabling control unit is electrically connected to the first terminal of the overvoltage protection conducting unit, the control terminal of the overvoltage protection conducting unit is electrically connected to the overvoltage protection terminal of the power module, and the second terminal of the overvoltage protection conducting unit is grounded.
10. An electronic device, characterized in that: The method comprises the power supply path switching circuit according to any one of claims 1 to 9.
