An electronic device and a power supply method
By designing an electronic device including the first module and the second module, the problem of disconnecting the processing device and the extension device when the external power is disconnected is solved, and the stability of maintaining the device connection in the event of power failure is achieved.
Patent Information
- Application Number
- CN202111163389.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-30
- Publication Date
- 2025-06-20
- Estimated Expiration
- 2041-09-30
AI Technical Summary
When the external power supply is disconnected, the processing equipment is powered through the power storage module, and the expansion equipment will be powered off, causing the connection between the processing equipment and the expansion equipment to be temporarily disconnected, affecting the use of the processing equipment.
An electronic device is designed, including a first module and a second module, a first module for connecting a processing device with a power storage module, and a second module for connecting an expansion device. When the external power supply is disconnected, power is supplied to the expansion device through the second module and the processing device is supplied through the power storage module to maintain the device connection state.
It realizes the connection state between the processing equipment and the expansion equipment when the external power supply is disconnected, avoids the temporary disconnection of the equipment connection and improves the stability of the processing equipment.
Smart Images

Figure CN113922491B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of power supply, and particularly relates to an electronic device and a power supply method. Background Art
[0002] With the development of technology, devices are gradually becoming smaller and thinner. Some functions of a processing device with a power storage module may be removed or the performance of the processing device may be weakened. If the performance of the processing device is enhanced or the functions of the processing device are increased, the processing device can be connected to an expansion device, and the expansion device is used to provide expansion of functions and / or performance for the processing device.
[0003] The processing device can be powered by an external power source, and at the same time, the expansion device is also powered. When the external power source is disconnected, the processing device can be powered by the power storage module, but the expansion device will lose power, resulting in a brief disconnection between the processing device and the expansion device, thus affecting the use of the processing device. Summary of the Invention
[0004] This application provides an electronic device and a power supply method.
[0005] On the one hand, this application provides an electronic device, including:
[0006] A first module, configured to connect to a processing device having a power storage module;
[0007] A second module, configured to connect to an expansion device, where the expansion device is used to provide expansion of functions and / or performance for the processing device;
[0008] Wherein, the electronic device has at least different first and second states. In the first state, the electronic device connects the processing device and the expansion device, and the external power source supplies power to the processing device through the first module and supplies power to the expansion device; in the second state, the electronic device connects the processing device and the expansion device, and when the external power source is disconnected, it supplies power to the expansion device through the second module and the processing device is powered by the power storage module;
[0009] After the electronic device switches from the first state to the second state, it can maintain the connection state between the expansion device and the processing device.
[0010] Optionally, the second module supplies the power stored in the processing device to the expansion device;
[0011] The electronic device is connected to the forwarding device in a detachable manner, or the electronic device is integrated in the forwarding device;
[0012] Among them, the forwarding device is connected to the processing device through the electronic device, and the electronic device is connected to the expansion device through the forwarding device.
[0013] Optionally, the first module is a first interface, the second module is a second interface, and a forwarding device is further connected between the electronic device and the expansion device. The forwarding device is connected to the processing device through the first interface, and an external power supply supplies power to the processing device through the forwarding device and the first interface, and the external power supply supplies power to the expansion device through the forwarding device;
[0014] The second interface is connected to the expansion device through a forwarding device, and the power stored by the processing device is provided to the expansion device through the second interface and the forwarding device.
[0015] Optionally, the first module is a third interface, the second module is a fourth interface, and the electronic device further includes a third module, and the third module is a fifth interface, and the fifth interface is used to connect a power supply device, where the power supply device can supply power to the processing device;
[0016] The third interface is used to supply the power output by the power supply device to the processing device in the first state;
[0017] The fourth interface is used to supply the power stored by the processing device to the expansion device in the second state;
[0018] Among them, in the first state, the electronic device is connected to the processing device, the power supply device and the expansion device; in the second state, the electronic device is connected to the processing device and the expansion device.
[0019] Optionally, it further includes: a third module, and the third module is a sixth interface for connecting a power supply device;
[0020] The second module includes a seventh interface and an energy storage and power supply module. The seventh interface is used to connect the expansion device, and the energy storage and power supply module is used to store energy when the power supply device supplies power to the processing device, and supply power to the expansion device through the energy storage and power supply module in the second state;
[0021] Among them, in the first state, the electronic device is connected to the processing device, the power supply device and the expansion device; in the second state, the electronic device is connected to the processing device and the expansion device.
[0022] Optionally, a control module is provided on the power transmission path connecting the first module and the third module, and the energy storage power supply module is connected to the power transmission path to store energy when the power supply device supplies power to the processing device;
[0023] The control module is configured to conduct the power transmission path when the power supply device supplies power to the processing device, and to cut off the power transmission path when the power supply device is disconnected from the third module, so as to control the power flow output by the energy storage power supply module to the expansion device.
[0024] Optionally, the control module includes a switch provided on the power transmission path, the switch being in a closed state when the power supply device supplies power to the processing device, and in an open state when the power supply device is disconnected from the third module.
[0025] Optionally, the control module includes a first switching tube, a second switching tube, and a control circuit, the control circuit being provided between the first switching tube and the second switching tube;
[0026] The first switching tube is provided on the power transmission path, the second switching tube is configured to be in a conducting state when the power supply device is disconnected from the third module, and to cause the control circuit to control the first switching tube to be in a cut-off state, and to be in a conducting state when the power supply device supplies power to the processing device, and to cause the control circuit to control the first switching tube to be in a conducting state.
[0027] Optionally, a first end of the first switching tube is connected to the third module, a second end of the first switching tube is connected to the first module, and a third end of the first switching tube is connected to the control circuit;
[0028] The control circuit controls the state of the first switching tube by controlling the voltage at the third end of the first switching tube.
[0029] On the other hand, the present application provides a power supply method, the method including:
[0030] In a first state of the electronic device, controlling the electronic device to connect to the processing device and the expansion device, and an external power supply supplies power to the processing device through a first module of the electronic device and supplies power to the expansion device;
[0031] In a second state of the electronic device, controlling the electronic device to connect to the processing device and the expansion device, and when the external power supply is disconnected, supplying power to the expansion device through a second module of the electronic device and supplying power to the processing device through the energy storage module;
[0032] After the electronic device switches from the first state to the second state, the connection state between the expansion device and the processing device can be maintained; the first module is connected to the processing device having an energy storage module; the second module is connected to the expansion device, and the expansion device is used to provide expansion of functions and / or performance for the processing device. Description of the Drawings
[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0034] Figure 1 It is a schematic diagram of the connection between the processing device and the expansion device provided by the embodiment of the present application;
[0035] Figure 2 It is a schematic structural diagram of an electronic device provided by the embodiment of the present application;
[0036] Figure 3 It is a schematic diagram of the power transmission direction in different states provided by the embodiment of the present application;
[0037] Figure 4 It is a schematic diagram of the connection between devices provided by the embodiment of the present application;
[0038] Figure 5 It is another schematic diagram of the connection between devices provided by the embodiment of the present application;
[0039] Figure 6 It is still another schematic diagram of the connection between devices provided by the embodiment of the present application;
[0040] Figure 7 It is another schematic structural diagram of an electronic device provided by the embodiment of the present application;
[0041] Figure 8 It is still another schematic diagram of the connection between devices provided by the embodiment of the present application;
[0042] Figure 9 It is still another schematic structural diagram of an electronic device provided by the embodiment of the present application;
[0043] Figure 10 It is a circuit diagram of a control module provided by the embodiment of the present application;
[0044] Figure 11 It is a schematic diagram of a power supply method provided by the embodiment of the present application. Detailed Embodiments
[0045] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the following will clearly and completely describe the technical solutions in the embodiments of this application with reference to the accompanying drawings in the embodiments of this application. Apparently, the described embodiments are some, but not all, of the embodiments of this application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in this application without creative efforts shall fall within the scope of protection of this application.
[0046] For a processing device with a power storage module, its functions and / or performance can be extended through an expansion device. As Figure 1 shown, it shows that a processing device 10 with a power storage module is connected to an expansion device 20 through a forwarding device 30, enabling a data path to be established between the processing device and the expansion device, and the processing device can use the expansion device.
[0047] The expansion device may include a display screen and a hard disk, etc. The display screen provides a display function for the processing device, and the hard disk is used to expand the storage performance of the processing device. In addition to serving as the connection between the processing device and the expansion device, the forwarding device can also have a power transmission function. The forwarding device is connected to an external power supply and provides the power supplied by the external power supply for the expansion device and the processing device to use. The processing device operates under the action of the power supplied by the external power supply, and at the same time, the power storage module can also store electricity.
[0048] If the external power supply undergoes hot plugging and unplugging, the processing device can be powered by the power storage module. However, the expansion device does not have the ability to store electricity. During the hot plugging and unplugging of the external power supply, the power in the forwarding device is not sufficient to support the use of expansion devices such as the display screen and the hard disk, resulting in a short power outage of the expansion device and a temporary disconnection of the data path between the processing device and the expansion device, thus affecting the use of the processing device.
[0049] This embodiment provides an electronic device and a power supply method. By connecting the processing device and the expansion device through the electronic device, after the electronic device switches from the first state to the second state, the electronic device can maintain the connection state between the expansion device and the processing device. For example, after switching from the first state to the second state, the electronic device can maintain the data path between the expansion device and the processing device in a connected state, reducing the impact on the processing device.
[0050] Please refer to Figure 2 , which shows an optional structure of an electronic device 40 provided by an embodiment of this application, and may include: a first module 401 and a second module 402.
[0051] The first module 401 is used to connect to a processing device 10 with a power storage module.
[0052] The second module 402 is used to connect the expansion device 20, and the expansion device 20 is used to provide expansion of functions and / or performance for the processing device 10. The expansion device 20 can provide display functions, communication functions, input functions, etc. for the processing device 10. For example, the expansion device 20 includes: a display screen, an expansion dock, a mouse, a keyboard, etc., and various different functions are provided for the expansion device 20 through the display screen, the expansion dock, the mouse, the keyboard, etc. The expansion device 20 can also improve the performance of the processing device 10, such as improving the storage performance of the processing device. For example, the expansion device 20 can include: storage devices such as hard disks, and the hard disks and other storage devices are used to provide additional storage space for the processing device 10 to improve the storage performance of the processing device 10.
[0053] Among them, the electronic device 40 has at least different first and second states. In the first state, the electronic device 40 is connected to the processing device 10 and the expansion device 20, and an external power supply supplies power to the processing device 10 through the first module 401 and supplies power to the expansion device 20; in the second state, the electronic device 40 is connected to the processing device 10 and the expansion device 20, and when the external power supply is disconnected, it supplies power to the expansion device 20 through the second module 102 and the processing device 10 is powered by the power storage module.
[0054] That is to say, in the first state, the electronic device 40 can be connected to an external power supply, and the external power supply supplies power to the processing device 10 through the first module 401. If the power storage module of the processing device 10 has no power or insufficient power, the power storage module of the processing device 10 can also be charged when the external power supply supplies power to the processing device 10. In the first state, the power supply of the expansion device 20 can also be provided by the external power supply. One way is that after the electronic device 40 accesses the external power supply, the electronic device 40 converts the voltage of the external power supply into a voltage available for the expansion device 20 to supply power to the expansion device 20.
[0055] In the second state, the external power supply is disconnected, and the electronic device 40 cannot supply power to the processing device through the first module 401. In this case, the processing device 10 can be powered by its own internal power storage module. For the expansion device 20, the expansion device 20 can be powered by the second module 402. Therefore, even when the external power supply is disconnected in the second state, the expansion device 20 is still in a powered state and the expansion device 20 will not lose power.
[0056] For example, the electronic device 40 is a device with a power storage module. In the second state, the electronic device 40 can supply power to the expansion device 20; or, in the second state, the processing device 10 with a power storage module can supply power to the expansion device 20 through the second module 402. However, whether it is the electronic device 40 or the processing device 10 that supplies power to the expansion device 20, the expansion device 20 will lose power after the power of the power supply side is consumed.
[0057] After the electronic device 40 switches from the first state to the second state, the connection state between the expansion device 20 and the processing device 10 can be maintained. The reason for maintaining the connection state between the expansion device 20 and the processing device 10 is that after switching to the second state, both the processing device 10 and the expansion device 20 are in a powered state, that is, whether it is the processing device 10 or the expansion device 20, during the process of the electronic device switching to the second state and after switching to the second state, neither the processing device 10 nor the expansion device 20 loses power. Therefore, the connection state between the processing device 10 and the expansion device 20 can be maintained, such as at least keeping the data path between the processing device 10 and the expansion device 20 always in a connected state.
[0058] In this embodiment, the electronic device includes a first module and a second module. The first module is used to connect to a processing device having a power storage module; the second module is used to connect to an expansion device, and the expansion device is used to provide function and / or performance expansion for the processing device. Among them, the electronic device has at least different first and second states. In the first state, the electronic device connects the processing device and the expansion device, and an external power supply supplies power to the processing device through the first module and supplies power to the expansion device; in the second state, the electronic device connects the processing device and the expansion device, and when the external power supply is disconnected, it supplies power to the expansion device through the second module and the processing device is powered by the power storage module; after the electronic device switches from the first state to the second state, the connection state between the expansion device and the processing device can be maintained. In this way, no matter whether the electronic device is in the first state or the second state, the processing device can be connected to the expansion device, so that the connection state between the processing device and the expansion device will not be interrupted due to the state switch of the electronic device, thereby reducing the impact of the state switch of the electronic device on the use of the processing device.
[0059] The following introduces an optional method for the second module of the electronic device to supply power to the expansion device in the second state. In the second state, the second module 401 in the electronic device 40 supplies the power stored in the processing device 10 to the expansion device. The power stored in the processing device 10 is the power stored in the power storage module in the processing device 10.
[0060] In this embodiment, when the electronic device is in the first state, the power transmission direction is as Figure 3 shown. The external power supply supplies power to the processing device 10 through the first module 401 in the electronic device. The power storage module of the processing device 10 can supply power, and at the same time the external power supply can supply power to the expansion device 20. When the external power supply is disconnected and the electronic device switches from the first state to the second state, in this case, neither the processing device 10 nor the expansion device 20 can receive power supply from the external power supply. The power storage module in the processing device 10 switches from the charging state to the power supply state, and the power storage module supplies power to the processing device 10. At the same time, the power storage module also outputs a voltage to the second module 402 of the electronic device to supply power to the expansion device through the second module 402.
[0061] In order to be able to connect the expansion device 20, a forwarding device 30 can be introduced in this embodiment. The connection schematic diagram after introducing the forwarding device 30 is as Figure 4 shown, wherein the forwarding device 30 is connected to the processing device 10 through the electronic device 40, and the electronic device 40 is connected to the expansion device 20 through the forwarding device 30.
[0062] That is, the forwarding device 30 is connected between the electronic device 40 and the expansion device 20, and the electronic device 40 is connected between the forwarding device 30 and the processing device 10. An external power supply can be connected to the forwarding device 30. In the first state of the electronic device, the forwarding device 30 can convert the voltage provided by the external power supply into the voltage required by the expansion device 20 to supply power to the expansion device 20.
[0063] The voltage provided by the external power supply passes through the forwarding device 30 and is then provided to the processing device 10 through the first module 401. When supplying power to the processing device 10 from the forwarding device 30 and the first module 401, the forwarding device 30 and / or the first module 401 can adjust the power supply parameters or not. For example, if the voltage provided by the external power supply cannot meet the use of the processing device 10, the forwarding device 30 and / or the first module 401 can adjust the power supply parameters; if the voltage provided by the external power supply can meet the use of the processing device 10, the forwarding device 30 and the first module 401 do not adjust the power supply parameters. Or, in the first state of the electronic device, the forwarding device 30 transmits power to the processing device 10 transparently, and then the processing device 10 can supply power to the expansion device 20, so that the processing device 10 is both a charging device and a power supply device at the same time.
[0064] In the second state, there is no external power supply connected to the forwarding device 30. Therefore, the forwarding device 30 cannot supply power to the expansion device 20 or the power in it is insufficient to support the expansion device 20. In this case, the second module 402 can obtain power supply from the power storage module of the processing device and provide the power in the power storage module of the processing device to the expansion device 20. The reason why the forwarding device 30 cannot supply power to the expansion device 20 or the power in it is insufficient to support the expansion device 20 is that the forwarding device 30 may not have a power storage module, or the forwarding device 30 may have a power storage module, but during the process of the electronic device switching from the first state to the second state, the power transmission direction is still from the forwarding device 30 to the processing device 10, and the power stored in the power storage module of the forwarding device is consumed by the processing device 10, so that it is insufficient to support the use of the expansion device 20.
[0065] In this embodiment, the electronic device 40 can be used as an independent device. The electronic device 40 is connected to the forwarding device 30 in a detachable manner, or the electronic device 40 can be integrated in the forwarding device 30. The connection manner between the electronic device 40 and the forwarding device 30 is not limited in this embodiment.
[0066] In the scenario where the second module 401 in the electronic device 40 supplies the power stored in the processing device 10 to the expansion device, a schematic diagram of the electronic device 40 is as Figure 5 shown. In Figure 5 , the first module 401 is the first interface, and the second module 402 is the second interface. A forwarding device 30 is also connected between the electronic device 40 and the expansion device 20. The forwarding device 30 can be connected to the processing device 10 through the first interface. The external power supply supplies power to the processing device 10 through the forwarding device 30 and the first interface, and the external power supply supplies power to the expansion device 20 through the forwarding device 30 (or the processing device 10 supplies power to the expansion device 20). The second interface can be connected to the expansion device 20 through the forwarding device 30, and the power stored in the processing device 10 is supplied to the expansion device through the second interface and the forwarding device 30.
[0067] For example, in Figure 5 , the electronic device 40 is used as a connection device, and its function is to transparently transmit power. Among them, the first interface includes a first external power input interface 4011 and a first external power output interface 4012, and the second interface includes a first bus power input interface 4021 and a first bus power output interface 4022.
[0068] The first external power input interface 4011 is connected to the forwarding device 30, and the first external power output interface 4012 is connected to the electronic device 40. The power provided by the external power supply is sequentially transmitted to the processing device 10 through the forwarding device 30, the first external power input interface 4011, and the first external power output interface 4012 to supply power to the processing device 10. The first bus power input interface 4021 is connected to the processing device 10, and the first bus power output interface 4022 is connected to the forwarding device 30. The output end of the power storage module of the processing device 10 can be connected to the first bus power input interface 4021. In the second state, the power output by the power storage module of the processing device 10 is supplied to the expansion device 20 through the first bus power input interface 4021, the first bus power output interface 4022, and the forwarding device 30.
[0069] In the above Figure 5In the illustrated embodiment, the electronic device 40 serves as a connection device, and two pairs of interfaces are symmetrically arranged on both sides of the connection device. One pair of interfaces is related to an external power supply, and the other pair of interfaces is related to a bus power supply, so as to separate the interfaces for supplying power from the external power supply to the processing device 10 and for the processing device 10 to supply power to the expansion device 20 as a power source. During the hot plugging and unplugging process of the external power supply, the processing device 10 can supply power to the expansion device 20 through the relevant interfaces as a power source, solve the problem that the power required for the expansion device 20 is insufficient when the external power supply is disconnected, and supply power to the expansion device 20 in time when the external power supply is disconnected to maintain the connection state between the processing device 10 and the expansion device 20.
[0070] It should be noted here that: the first interface further includes a first external power supply grounding interface, and a loop is formed by grounding through the first external power supply grounding interface; the second interface further includes a first bus power supply grounding interface, and a loop is formed by grounding through the first bus power supply grounding interface. The first external power supply grounding interface and the first bus power supply grounding interface are not shown in the above Figure 5 above.
[0071] The power storage module in the processing device 10 can be a charging circuit. The charging circuit can access the voltage provided by the external power supply through the first external power supply input interface and output a first voltage after passing through the charging circuit. After the first voltage passes through the voltage converter in the processing device 10, a stable second voltage is output, and the stable second voltage can be provided to the expansion device 20 through the first bus power supply input interface.
[0072] In this embodiment, the electronic device 40 can be detachably connected to the forwarding device through the first interface and the second interface, as shown in the above Figure 5 above. Of course, the electronic device 40 can also be integrated in the forwarding device. After being integrated in the forwarding device 30, the working process of the electronic device 40 is as shown above and will not be elaborated here.
[0073] In the scenario where the second module 401 in the electronic device 40 supplies the power stored in the processing device 10 to the expansion device, the electronic device is used as a connection device, and the interfaces for supplying power to the processing device and the expansion device can be separated, and the processing device can be used as a power source when supplying power to the expansion device. In this way, in order to prevent the connection between the processing device and the expansion device from being disconnected, the electronic device serving as a connection device is connected between the processing device and the forwarding device, and corresponding interface modules are added to the processing device and the forwarding device, so that while maintaining the connection state between the processing device and the expansion device, the modification to the processing device and the forwarding device can be reduced.
[0074] For example Figure 6The processing device 10 shown is a notebook. The electronic device 40 is used as a connection device. One side of the connection device is connected to the notebook, and the other side is connected to the forwarding device 30. Expansion devices 20 such as a keyboard, a mouse, a USB flash drive, and a display screen are connected to the forwarding device 30. In order to connect to the electronic device 40, the notebook and the forwarding device are provided with interfaces that match the first interface and the second interface in the electronic device 40, so that the electronic device can be plugged between the notebook and the forwarding device.
[0075] After the external power supply is connected to the forwarding device 30, the power of the external power supply is transmitted to the notebook through the first interface of the forwarding device 30 and the electronic device 20. While the notebook is in use, the notebook can supply power to the expansion device 20 through the second interface of the electronic device and the forwarding device; if the external power supply is cut off, the notebook can be powered by its own battery, which is a power storage module, and at the same time maintain power supply to the expansion device. Neither the notebook nor the expansion device will lose power, thus maintaining the connection state between the notebook and the expansion device.
[0076] When the notebook and the forwarding device use the electronic device provided in this embodiment, the notebook and the forwarding device can add interfaces that match the electronic device. The addition method can be through the form of expansion interfaces, so that the notebook and the forwarding device can maintain their original structures unchanged and be realized through the expansion interfaces. Or the interfaces of the notebook and the forwarding device can be modified, and the power supply lines that match the interfaces can be modified. This kind of modification is relatively easy to implement.
[0077] Please refer to Figure 7 , which shows an alternative structure of another electronic device provided in the embodiment of the present application. Based on the Figure 2 shown electronic device, it may further include: a third module 403 for connecting to a power supply device, where the power supply device can supply power to the processing device. In the first state, the electronic device is connected to the processing device, the power supply device, and the expansion device; in the second state, the electronic device is connected to the processing device and the expansion device.
[0078] The power supply device can be an AC-DC conversion device that converts the alternating current provided by the external power supply into direct current, and then supplies power to the processing device 10 through the third module 403 and the first module 401 in sequence.
[0079] In this embodiment, Figure 7 One form of the electronic device is that the first module 401 is a third interface, the second module 402 is a fourth interface, and the third module 403 is a fifth interface.
[0080] Among them, the fifth interface is used to connect to the power supply device 50. The third interface is used to supply the power output by the power supply device to the processing device in the first state. For example, the power supplied by the power supply device 50 is sequentially supplied to the processing device 10 through the fifth interface and the third interface. When powering the processing device 10, the electronic device can be used as a device for transmitting power transparently. In the first state, the power supply device 50 can also supply power to the expansion device 20 through the electronic device. The fourth interface is used to supply the power stored in the processing device 10 to the expansion device 20 in the second state. For example, the power stored in the power storage module of the processing device 10 is supplied to the expansion device.
[0081] For example Figure 7 The electronic device shown can be a forwarding device. The forwarding device is connected between the processing device and the power supply device, and the forwarding device is also connected to an expansion device to provide function and / or performance expansion for the processing device. In the first state, the forwarding device can convert the power supplied by the power supply device into the power required by the expansion device. In the second state, the forwarding device supplies the power in the power storage module of the processing device to the expansion device through the fourth interface (i.e., the second module), which is similar to when the above electronic device is used as a connection device and will not be elaborated here.
[0082] In this embodiment, Figure 7 Another form of the electronic device shown is that the third module 403 is a sixth interface for connecting to the power supply device. The second module 402 includes a seventh interface and a power storage and power supply module. The seventh interface is used to connect to the expansion device. The power storage and power supply module is used to store energy when the power supply device supplies power to the processing device, and supply power to the expansion device through the power storage and power supply module in the second state.
[0083] The schematic diagram of the connection between this form of electronic device and the processing device and the expansion device is as Figure 8 shown. The first module 401 can also be an interface. Connect to the processing device 10 through the first module, connect to the power supply device 50 through the sixth interface, and connect to the expansion device 20 through the seventh interface.
[0084] In the first state, the power output by the power supply device 50 is sequentially supplied to the processing device 10 through the third module and the first module. At the same time, the power output by the power supply device 50 can also be sequentially supplied to the expansion device 20 through the third module and the seventh interface in the second module, and the power storage and power supply module in the second module starts to store energy. In the second state, there is no power supply device connected to the third module 403, and neither the processing device 10 nor the expansion device 20 can be powered by the power supply device. In the second state, the processing device 10 can be powered by its own power storage module, but the expansion device 20 does not have the function of storing electricity. At this time, the power storage and power supply module in the electronic device 40 can supply power to the expansion device 20.
[0085] In the first state, the energy storage power supply module starts energy storage, indicating that on the power transmission path connecting the energy storage power supply module to the first module and the third module, the energy storage power supply module can obtain the power provided by the power supply device from the power transmission path and then charge. However, there is a problem with this connection: during the process of the electronic device switching from the first state to the second state, the power of the energy storage power supply module is output to the processing device 10, and the processing device 10 will consume the power on the energy storage power supply module. As a high-load device, the processing device 10 can quickly consume the power on the energy storage power supply module in a short time, which may cause the power on the energy storage power supply module to be insufficient to support the expansion device 20.
[0086] Based on this problem, in this embodiment, a control module 404 is provided on the power transmission path connecting the first module 401 and the third module 403, as Figure 9 shown. In Figure 9 the electronic device shown, the energy storage power supply module is connected to the power transmission path to store energy when the power supply device supplies power to the processing device.
[0087] The control module 404 is used to conduct the power transmission path when the power supply device supplies power to the processing device, and is used to switch the power transmission path when the power supply device is disconnected from the third module, so as to control the power flow direction of the power output by the energy storage power supply module to the expansion device.
[0088] That is to say, after the power supply device 50 is disconnected from the third module 403, the control module 404 quickly switches the power transmission path, quickly switches the power flow direction from the processing device 10 to the expansion device 20, and timely reduces the power consumption of the processing device 10 on the energy storage power supply module of the electronic device.
[0089] In this embodiment, the control of the power transmission direction by the control module 404 can be achieved through the following but not limited to the following two methods:
[0090] One implementation method is that the control module 404 includes a switch provided on the power transmission path. The switch is in a closed state when the power supply device supplies power to the processing device, and is in an open state when the power supply device is disconnected from the third module. The energy storage power supply module is arranged between the switch and the third module 403. After the switch is in the open state, the connection between the energy storage power supply module and the processing device 10 is switched to prevent the processing device 10 from consuming the power on the energy storage power supply module. And by setting a switch on the power transmission path, the cost can be reduced and the size requirement for the electronic device can be reduced.
[0091] For example, in this embodiment, the above Figure 1Adjust the forwarding device shown. Set a first module, a second module, a third module, a control module, etc. in the forwarding device. When the forwarding device is in the second state, control the energy storage power supply module in the second module through the switch in the control module. The first module and the third module can be interfaces / pins, etc. In the forwarding device, by adding interfaces, energy storage power supply modules, switches, etc., the transformation cost of the forwarding device can be reduced, and these components do not occupy much space, reducing the size requirements for the forwarding device.
[0092] Another implementation method is that the control module 401 includes a first switching tube 1, a second switching tube 2, and a control circuit 3. The control circuit 3 is arranged between the first switching tube 1 and the second switching tube 2. The first switching tube 1 is arranged on the power transmission path. The second switching tube 2 is used to be in a conducting state when the power supply device is disconnected from the third module, and make the control circuit 3 control the first switching tube 1 to be in a cut-off state, and is used to be in a conducting state when the power supply device supplies power to the processing device, and make the control circuit 3 control the first switching tube 1 to be in a conducting state, so as to realize the control of power transmission through the state switching of the second switching tube 2 and the first switching tube 1.
[0093] In this embodiment, for the composition and connection of the first switching tube 1, the second switching tube 2, and the control circuit 3, reference can be made to Figure 10 as shown. Wherein, the first end of the first switching tube 1 is connected to the third module, the second end of the first switching tube 1 is connected to the first module, and the third end of the first switching tube 1 is connected to the control circuit 3. The control circuit 3 controls the state of the first switching tube 1 by controlling the voltage at the third end of the first switching tube 1.
[0094] The control circuit 3 includes a first resistor 31, a first capacitor 32, a second resistor 33, and a second capacitor 34.
[0095] The first resistor 31 and the first capacitor 32 are connected in parallel to form a charge-discharge circuit. The first resistor 31, the second resistor 33, and the second capacitor 34 are connected in series, and the second resistor 33 is located between the first resistor 31 and the second capacitor 34.
[0096] One end of the first resistor 31 is connected to the first end of the first switching tube 1, and the third end of the first switching tube 1 is connected to the other end of the first resistor 31. The first end of the second switching tube 2 is connected to the first end of the second capacitor 34, the second end of the second switching tube 2 is grounded, the third end of the second switching tube 2 is connected to an external voltage signal, and the first end of the second capacitor 34 is the port of the second capacitor 34 that is not connected to the second resistor 33.
[0097] The external voltage signal is used to make the second switching transistor 2 conductive when the power supply device is disconnected from the third module. When the second switching transistor 2 is conductive, the first switching transistor 1 is in the cut-off state. The external voltage signal is also used to make the second switching transistor 2 cut off when the power supply device supplies power to the processing device. When the second switching transistor 2 is cut off, the first switching transistor 1 is conductive.
[0098] For Figure 10 A control logic of the illustrated electronic device is that when the electronic device detects that the power supply device is disconnected from the third module, such as when the power supply device is unplugged, an external voltage signal is input to the third terminal of the second switching transistor 2. The external voltage signal can control the second switching transistor 2 to be conductive, and the voltage at the connection point of the first resistor 31 and the second resistor 33 drops to 0V, causing the first switching transistor 1 to be in the cut-off state, and the power transmission path is disconnected. The power in the energy storage power supply module will not flow to the processing device. In this way, the power transmission path can be quickly cut off, enabling the energy storage power supply module to save more power for itself and the expansion device, so that the forwarding device (such as a display and a USB flash drive, etc.) will not lose power.
[0099] When Figure 10 When the illustrated control module 401 is used to assist the forwarding device to maintain the connection state between the processing device and the expansion device, it is only necessary to add multiple switching transistors, multiple resistors, and multiple capacitors to the forwarding device. The switching transistors, resistors, and capacitors are small in volume and low in cost. Adding multiple switching transistors, multiple resistors, and multiple capacitors to the forwarding device will not significantly increase the cost of the forwarding device and will not significantly increase the product size of the forwarding device. Compared with paralleling multiple high-capacity tantalum capacitors in the power storage power supply module of the forwarding device, the transformation cost can be reduced and the size requirement for the forwarding device can be reduced.
[0100] Moreover, by reducing the resistance value of the resistor, the discharge time of the charge and discharge circuit becomes shorter, enabling the first switching transistor to quickly enter the cut-off state, disconnecting the power transmission path connecting the processing device 10, and the processing device 10 can no longer consume the power on the forwarding device, allowing the forwarding device to reserve more power for use by the expansion device. In this embodiment, the state change of the first switching transistor is not affected by the switching speed of the processing device. That is to say, regardless of whether the switching of the processing device from external power supply to power storage module power supply is fast or slow, after the external power supply is disconnected, the first switching transistor can quickly switch from the conductive state to the cut-off state to avoid the rapid consumption of the power on the forwarding device by the processing device. In contrast, the form of paralleling multiple high-capacity tantalum capacitors will highly probably reproduce problems when the switching of the processing device from external power supply to power storage module power supply is slow. This embodiment can improve the accuracy compared with this method.
[0101] Corresponding to the above device embodiment, an embodiment of the present application provides a power supply method, and its flow is as Figure 11As shown, it may include the following steps:
[0102] S101. In the first state of the electronic device, control the electronic device to connect to the processing device and the expansion device, and the external power supply supplies power to the processing device through the first module of the electronic device and supplies power to the expansion device.
[0103] S102. In the second state of the electronic device, control the electronic device to connect to the processing device and the expansion device, and when the external power supply is disconnected, supply power to the expansion device through the second module of the electronic device and supply power to the processing device through the power storage module.
[0104] Wherein, after the electronic device switches from the first state to the second state, the connection state of the expansion device and the processing device can be maintained; the first module is connected to the processing device having a power storage module; the second module is connected to the expansion device, and the expansion device is used to provide function and / or performance expansion for the processing device.
[0105] In this embodiment, the method of supplying power to the expansion device through the second module of the electronic device when the external power supply is disconnected includes but is not limited to the following methods:
[0106] The first method is to supply the power stored in the processing device to the expansion device through the second module when the external power supply is disconnected, such as supplying the power stored in the power storage module in the processing device to the expansion device.
[0107] For example, the first module is the first interface, the second module is the second interface, and a forwarding device is also connected between the electronic device and the expansion device. The forwarding device is connected to the processing device through the first interface, and the external power supply supplies power to the processing device through the forwarding device and the first interface and supplies power to the expansion device through the forwarding device;
[0108] The second interface is connected to the expansion device through the forwarding device, and the power stored in the processing device is supplied to the expansion device through the second interface and the forwarding device.
[0109] In the first method, the electronic device is detachably connected to the forwarding device, such as detachably connected to the forwarding device by using the first interface and the second interface. For the description of the first interface and the second interface, please refer to the above embodiment, or the electronic device is integrated in the forwarding device; wherein, the forwarding device is connected to the processing device through the electronic device, and the electronic device is connected to the expansion device through the forwarding device.
[0110] The second method is that the electronic device further includes a third module for connecting to a power supply device, and the power supply device can supply power to the processing device; in the first state, the electronic device is connected to the processing device, the power supply device and the expansion device; in the second state, the electronic device is connected to the processing device and the expansion device.
[0111] Among them, the first module is the third interface, the second module is the fourth interface, and the third module is the fifth interface; in the first state, the fifth interface is connected to the power device; in the first state, the third interface supplies the power output by the power device to the processing device; in the second state, the fourth interface supplies the power stored by the processing device to the expansion device.
[0112] In the third method, the electronic device further includes a third module for connecting to a power device, and the power device can supply power to the processing device; in the first state, the electronic device is connected to the processing device, the power device, and the expansion device; in the second state, the electronic device is connected to the processing device and the expansion device.
[0113] Among them, the third module is the sixth interface for connecting to the power device; the second module includes a seventh interface and an energy storage power supply module. The seventh interface is used to connect to the expansion device. In the first state, the energy storage power supply module stores energy when the power device supplies power to the processing device, and in the second state, it supplies power to the expansion device through the energy storage power supply module.
[0114] In the third method, a control module is provided on the power transmission path connected by the first module and the third module, and the energy storage power supply module is connected to the power transmission path to store energy when the power device supplies power to the processing device; when the power device supplies power to the processing device, the control module conducts the power transmission path, and when the power device is disconnected from the third module control module, it cuts off the power transmission path to control the flow of the power output by the energy storage power supply module to the expansion device.
[0115] Among them, the control module includes a switch provided on the power transmission path. The switch is in a closed state when the power device supplies power to the processing device, and in an open state when the power device is disconnected from the third module.
[0116] Among them, the control module includes a first switching tube, a second switching tube, and a control circuit. The control circuit is provided between the first switching tube and the second switching tube; the first switching tube is provided on the power transmission path. The second switching tube is used to be in a conducting state when the power device is disconnected from the third module, and make the control circuit control the first switching tube to be in a cut-off state, and is used to be in a conducting state when the power device supplies power to the processing device, and make the control circuit control the first switching tube to be in a conducting state.
[0117] The feasible ways of the first switching tube, the second switching tube, and the control circuit are as follows:
[0118] The first end of the first switching tube is connected to the third module, the second end of the first switching tube is connected to the first module, and the third end of the first switching tube is connected to the control circuit; the control circuit controls the state of the first switching tube by controlling the voltage at the third end of the first switching tube.
[0119] The control circuit includes a first resistor, a first capacitor, a second resistor, and a second capacitor; the first resistor and the first capacitor are connected in parallel to form a charge-discharge circuit, the first resistor, the second resistor, and the second capacitor are connected in series, and the second resistor is located between the first resistor and the second capacitor; one end of the first resistor is connected to the first end of the first switching tube, and the third end of the first switching tube is connected to the other end of the first resistor; the first end of the second switching tube is connected to the first end of the second capacitor, the second end of the second switching tube is grounded, the third end of the second switching tube is connected to an external voltage signal, and the first end of the second capacitor is the port of the second capacitor that is not connected to the second resistor; the external voltage signal is used to make the second switching tube in the conducting state when the power supply device is disconnected from the third module, the first switching tube is in the cut-off state when the second switching tube is in the conducting state, and is used to make the second switching tube in the cut-off state when the power supply device supplies power to the processing device, and the first switching tube is in the conducting state when the second switching tube is in the cut-off state.
[0120] An embodiment of the present application also provides a storage medium, in which computer program code is stored, and when the computer program code is executed, the above power supply method is implemented.
[0121] It should be noted that the various embodiments in this specification can be described in a progressive manner. The features described in each embodiment of this specification can be replaced or combined with each other. Each embodiment focuses on the differences from other embodiments. For the similarities between the various embodiments, reference can be made to each other. For method embodiments, since they are basically similar to device embodiments, they are described relatively simply, and reference can be made to the corresponding parts of the device embodiments for the relevant parts.
[0122] Finally, it should also 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 actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the phrase "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including the said element.
[0123] The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
[0124] The foregoing are only the preferred embodiments of the present application. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present application, several improvements and refinements can be made, and these improvements and refinements should also be regarded as the protection scope of the present application.
Claims
1. An electronic device, comprising: The first module is used to connect a processing device having a power storage module; The second module is used to connect an expansion device, and the expansion device is used to provide expansion of functions and / or performance for the processing device; Wherein, the electronic device has at least different first and second states. In the first state, the electronic device connects the processing device and the expansion device, and an external power supply supplies power to the processing device through the first module and supplies power to the expansion device; in the second state, the electronic device connects the processing device and the expansion device, and when the external power supply is disconnected, it supplies power to the expansion device through the second module and the processing device is powered by the power storage module; After the electronic device switches from the first state to the second state, it can maintain the connection state between the expansion device and the processing device.
2. The electronic device according to claim 1, wherein the second module supplies the power stored by the processing device to the expansion device; The electronic device is connected to the forwarding device in a detachable manner, or the electronic device is integrated in the forwarding device; Wherein, The forwarding device is connected to the processing device through the electronic device, and the electronic device is connected to the expansion device through the forwarding device.
3. The electronic device according to claim 1 or 2, wherein the first module is a first interface, the second module is a second interface, and a forwarding device is further connected between the electronic device and the expansion device. The forwarding device is connected to the processing device through the first interface, and an external power supply supplies power to the processing device through the forwarding device and the first interface, and the external power supply supplies power to the expansion device through the forwarding device; The second interface is connected to the expansion device through the forwarding device, and supplies the power stored by the processing device to the expansion device through the second interface and the forwarding device.
4. The electronic device according to claim 1, wherein the first module is a third interface, the second module is a fourth interface, and the electronic device further comprises a third module, and the third module is a fifth interface, and the fifth interface is used for connecting a power supply device, wherein, The power supply device can supply power to the processing device; The third interface is used to supply the power output by the power supply device to the processing device in the first state; The fourth interface is used to supply the power stored in the processing device to the expansion device in the second state; Wherein, in the first state, the electronic device connects the processing device, the power supply device and the expansion device; in the second state, the electronic device connects the processing device and the expansion device.
5. The electronic device according to claim 1, further comprising: The third module, the third module is the sixth interface, and is used to connect the power supply device; The second module includes a seventh interface and a power storage and power supply module. The seventh interface is used to connect the expansion device, and the power storage and power supply module is used to store energy when the power supply device supplies power to the processing device, and supply power to the expansion device through the power storage and power supply module in the second state; Wherein, in the first state, the electronic device connects the processing device, the power supply device and the expansion device; in the second state, the electronic device connects the processing device and the expansion device.
6. The electronic device according to claim 5, wherein a control module is provided on the power transmission path connected by the first module and the third module, and the energy storage power supply module is connected to the power transmission path to store energy when the power supply device supplies power to the processing device; The control module is configured to conduct the power transmission path when the power supply device supplies power to the processing device, and to cut off the power transmission path when the power supply device is disconnected from the third module, so as to control the power flow output by the energy storage power supply module to the expansion device.
7. The electronic device according to claim 6, wherein the control module includes a switch disposed on the power transmission path, the switch being in a closed state when the power supply device supplies power to the processing device, and being in an open state when the power supply device is disconnected from the third module.
8. The electronic device according to claim 6, wherein the control module includes a first switching transistor, a second switching transistor, and a control circuit, the control circuit being disposed between the first switching transistor and the second switching transistor; The first switching transistor is disposed on the power transmission path, and the second switching transistor is configured to be in a conducting state when the power supply device is disconnected from the third module, and to cause the control circuit to control the first switching transistor to be in a cut-off state, and to be in a conducting state when the power supply device supplies power to the processing device, and to cause the control circuit to control the first switching transistor to be in a conducting state.
9. The electronic device according to claim 8, wherein a first end of the first switching transistor is connected to the third module, a second end of the first switching transistor is connected to the first module, and a third end of the first switching transistor is connected to the control circuit; The control circuit controls the state of the first switching transistor by controlling the voltage at the third end of the first switching transistor.
10. A power supply method, the method comprising: In the first state of the electronic device, control the electronic device to connect the processing device and the expansion device, and an external power supply supplies power to the processing device through the first module of the electronic device and supplies power to the expansion device; The first module connects the processing device having a power storage module; In the second state of the electronic device, control the electronic device to connect the processing device and the expansion device, and when the external power supply is disconnected, supply power to the expansion device through the second module of the electronic device and the processing device is powered by the power storage module; Wherein, after the electronic device switches from the first state to the second state, it can maintain the connection state between the expansion device and the processing device; The second module connects the expansion device, and the expansion device is used to provide expansion of functions and / or performance for the processing device.
Citation Information
Patent Citations
Self-recognition power supply switching system
CN213661235U