Dual power supply switching circuit and electronic device
Patent Information
- Application Number
- CN202521492260.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-16
- Publication Date
- 2026-08-28
- Estimated Expiration
- 2035-07-16
AI Technical Summary
[0004]本申请的目的在于提供一种双电源切换电路以及电子设备,旨在解决传统的单电源供电存在的供电可靠性低的问题
[0034] The first comparison module is connected to the first power supply to obtain the first voltage Vcc1 provided by the first power supply. The first switching module is connected between the first power supply and the load terminal Vout. When the first voltage Vcc1 is greater than a preset voltage threshold, the first comparison module controls the first switching module to conduct, so that the first power supply supplies power to the load terminal Vout. Conversely, when the first voltage Vcc1 is less than or equal to the preset voltage threshold, the first comparison module controls the first switching module to disconnect, so that the first power supply cannot supply power to the load terminal Vout.
Smart Images

Figure CN224697477U_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of power supply technology, and in particular relates to a dual power supply switching circuit and electronic equipment. Background Technology
[0002] With the rapid development of technology, various electronic devices are widely used in industrial production, medical care, communications, and daily life. Among these applications, the power supply stability and reliability of electronic devices are receiving increasing attention.
[0003] Traditional power supplies rely on a single power source to power electronic devices, making them completely dependent on that one source for operation. However, when this single power source fails—such as a power outage, insufficient power, or a sudden voltage drop—the electronic devices cannot function properly. Therefore, the reliability of power supply in a single-source configuration is low. Utility Model Content
[0004] The purpose of this application is to provide a dual power supply switching circuit and electronic device, which aims to solve the problem of low power supply reliability in traditional single power supply.
[0005] This application provides a dual power supply switching circuit, including a first comparison module, a first switching module, and a second switching module;
[0006] The first comparison module is connected to the first switch module. The first comparison module is also used to connect to the first power supply. The first switch module is also used to connect to the first power supply and the load terminal.
[0007] The second switch module is used to connect to the first power supply and the second power supply, and the second switch module is also used to connect to the load terminal;
[0008] The first comparison module is used to control the first switch module to turn on when the first voltage provided by the first power supply is greater than a preset voltage threshold, so that the first power supply supplies power to the load terminal.
[0009] The second switch module is used to turn on when the first voltage is less than or equal to the preset voltage threshold and the first voltage is less than the second voltage provided by the second power supply, thereby controlling the second power supply to supply power to the load terminal.
[0010] In one embodiment, the dual power supply switching circuit further includes:
[0011] A current limiting module, connected to the second power supply and the first switching module, is used to limit the current between the second power supply and the first switching module.
[0012] In one embodiment, the dual power supply switching circuit further includes:
[0013] The first current-limiting and voltage-regulating module is connected to the first power supply and the second switching module, and is used to limit the current between the first power supply and the second switching module, and stabilize the voltage between the first power supply and the second switching module.
[0014] In one embodiment, the first comparison module includes:
[0015] An N-type bipolar transistor, wherein the base terminal of the N-type bipolar transistor is connected to the first power supply, the emitter terminal of the N-type bipolar transistor is grounded, and the collector terminal of the N-type bipolar transistor is connected to the first switching module.
[0016] In one embodiment, the first switch module includes:
[0017] The first P-type field-effect transistor has its drain terminal connected to the first power supply, its source terminal connected to the load terminal, and its gate terminal connected to the collector terminal of the N-type bipolar transistor and the second power supply.
[0018] In one embodiment, the first switch module includes:
[0019] A first P-type bipolar transistor, wherein the emitter of the first P-type bipolar transistor is connected to the first power supply, the collector of the first P-type bipolar transistor is connected to the load terminal, and the base of the first P-type bipolar transistor is connected to the collector of the N-type bipolar transistor and the second power supply.
[0020] In one embodiment, the first comparison module further includes:
[0021] The second current-limiting and voltage-regulating module is connected to the first power supply and the base terminal of the N-type bipolar transistor, and is used to limit the current between the first power supply and the base terminal of the N-type bipolar transistor, and stabilize the voltage at the base terminal of the N-type bipolar transistor.
[0022] In one embodiment, the first comparison module further includes:
[0023] A voltage regulator module is connected to the collector terminal of the N-type bipolar transistor, and the voltage regulator module is also connected to the first switching module;
[0024] The voltage regulator module is used to stabilize the voltage at the connection point between the collector of the N-type bipolar transistor and the first switching module.
[0025] In one embodiment, the second switching module includes a second P-type bipolar transistor and a third P-type bipolar transistor;
[0026] The drain terminal of the second P-type bipolar transistor is connected to the second power supply, the source terminal of the second P-type bipolar transistor is connected to the source terminal of the third P-type bipolar transistor, the drain terminal of the third P-type bipolar transistor is connected to the load terminal, and the gate terminals of the second P-type bipolar transistor and the third P-type bipolar transistor are respectively connected to the first power supply.
[0027] In one embodiment, the second switch module includes:
[0028] The second P-type bipolar transistor has its emitter connected to the second power supply, its collector connected to the load terminal, and its base connected to the first power supply.
[0029] In one embodiment, the second switching module is further configured to disconnect when the first voltage is greater than the second voltage and the first voltage is less than the sum of the second voltage and the switching transistor turn-on voltage threshold.
[0030] This application provides an electronic device including any of the dual power supply switching circuits described above.
[0031] In one embodiment, the electronic device further includes a first power supply, a second power supply, and a satellite positioning module, wherein the first power supply and the second power supply are connected to the satellite positioning module through the dual power supply switching circuit;
[0032] When the first power supply does not supply power to the satellite positioning module, the second power supply is controlled by the dual power supply switching circuit to supply power to the satellite positioning module, so that the satellite positioning module can obtain the location information of the electronic device and send the location information to the user terminal.
[0033] The beneficial effects of this utility model embodiment compared with the prior art are:
[0034] The first comparison module is connected to the first power supply to obtain the first voltage Vcc1 provided by the first power supply. The first switching module is connected between the first power supply and the load terminal Vout. When the first voltage Vcc1 is greater than a preset voltage threshold, the first comparison module controls the first switching module to conduct, so that the first power supply supplies power to the load terminal Vout. Conversely, when the first voltage Vcc1 is less than or equal to the preset voltage threshold, the first comparison module controls the first switching module to disconnect, so that the first power supply cannot supply power to the load terminal Vout.
[0035] The second switching module is connected to the first power supply and obtains a first voltage Vcc1 provided by the first power supply. The second switching module is connected to the second power supply and obtains a second voltage Vcc2 provided by the second power supply. When the first voltage Vcc1 is less than or equal to a preset voltage threshold, the first power supply cannot supply power to the load terminal Vout. Furthermore, when the first voltage Vcc1 is less than or equal to the preset voltage threshold, if the first voltage Vcc1 is less than the second voltage Vcc2 provided by the second power supply, the second switching module is turned on under the action of the first voltage Vcc1 and the second voltage Vcc2, allowing the second power supply to supply power to the load terminal Vout.
[0036] Therefore, when the first power supply cannot supply power to the load terminal Vout, the second switching module can enable the second power supply to supply power to the load terminal Vout. The dual power supply switching circuit provided in this application realizes a dual power supply connection structure where both the first and second power supplies can supply power to the load terminal Vout. The dual power supply switching circuit also ensures that when the first power supply supplies power to the load terminal Vout, the second power supply does not supply power to the load terminal Vout, and vice versa. Therefore, the dual power supply switching circuit provided in this application improves power utilization and saves energy, solves the problem of low power supply reliability in traditional single power supply systems, and can reliably and stably address problems caused by single power supply failures in traditional technologies. Attached Figure Description
[0037] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or exemplary technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0038] Figure 1 A schematic diagram of the overall connection structure of the dual power supply switching circuit in some embodiments provided in this application.
[0039] Figure 2 A schematic diagram of the circuit connection structure of the first P-type field-effect transistor, the second P-type bipolar transistor, and the third P-type bipolar transistor in some embodiments provided in this application.
[0040] Figure 3 A schematic diagram of the circuit connection structure of the first P-type bipolar transistor and the second P-type bipolar transistor in some embodiments provided in this application.
[0041] Figure 4 A schematic diagram of the circuit connection structure of the first P-type bipolar transistor, the second P-type bipolar transistor, and the third P-type bipolar transistor in some embodiments provided in this application.
[0042] Figure 5 A schematic diagram of the circuit connection structure between the first P-type field-effect transistor and the second P-type bipolar transistor in some embodiments provided in this application.
[0043] Figure 6 The circuit connection structure diagrams of the N-type bipolar transistor, the second current-limiting voltage regulator module, and the voltage regulator module in some embodiments provided in this application are shown.
[0044] Figure 7 The circuit connection structure diagrams of the N-type bipolar transistor, the second current-limiting voltage regulator module, and the voltage regulator module are shown in some other embodiments provided in this application.
[0045] Figure 8 A schematic diagram of the circuit connection structure between the current limiting module and the first current limiting voltage regulator module in some embodiments provided in this application.
[0046] Figure 9 A schematic diagram of the overall connection structure of various modules of the electronic device in some embodiments provided in this application. Detailed Implementation
[0047] To make the technical problems, technical solutions, and beneficial effects to be solved by this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and are not intended to limit the scope of this application.
[0048] It should be noted that when a component is referred to as being "fixed to" or "set on" another component, it can be directly on or indirectly on that other component. When a component is referred to as being "connected to" another component, it can be directly connected to or indirectly connected to that other component.
[0049] It should be understood that the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application.
[0050] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include one or more of that feature. Additionally, in the embodiments of this application, the terms "first" and "second" are used to distinguish identical or similar items that have substantially the same function and effect. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or order of execution, and that "first" and "second" do not necessarily imply difference.
[0051] In the description of this application, unless otherwise stated, " / " indicates that the objects before and after it are in an "or" relationship. For example, A / B can mean A or B. "And / or" in this application is merely a description of the relationship between the related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone, where A and B can be singular or plural. Furthermore, in the description of this application, unless otherwise stated, "multiple" means two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.
[0052] Please see Figure 1 This application provides a dual power supply switching circuit 100. The dual power supply switching circuit 100 includes a first comparison module 10, a first switch module 20, and a second switch module 30. The first comparison module 10 is connected to the first switch module 20 and is also connected to a first power supply 410. The first switch module 20 is also connected to the first power supply 410 and the load terminal Vout. The second switch module 30 is connected to the first power supply 410 and the second power supply 420, and is also connected to the load terminal Vout.
[0053] The first comparison module 10 is used to control the first switch module 20 to conduct when the first voltage Vcc1 provided by the first power supply 410 is greater than a preset voltage threshold, so that the first power supply 410 supplies power to the load terminal Vout. The second switch module 30 is used to conduct when the first voltage Vcc1 is less than or equal to the preset voltage threshold, and the first voltage Vcc1 is less than the second voltage Vcc2 provided by the second power supply 420, so that the second power supply 420 supplies power to the load terminal Vout.
[0054] In this embodiment, the first comparison module 10 is connected to the first power supply 410 to obtain the first voltage Vcc1 provided by the first power supply 410. The first switch module 20 is connected between the first power supply 410 and the load terminal Vout. When the first voltage Vcc1 is greater than a preset voltage threshold, the first comparison module 10 controls the first switch module 20 to conduct, so that the first power supply 410 supplies power to the load terminal Vout. Conversely, when the first voltage Vcc1 is less than or equal to the preset voltage threshold, the first comparison module 10 controls the first switch module 20 to disconnect, so that the first power supply 410 cannot supply power to the load terminal Vout.
[0055] The second switching module 30 is connected to the first power supply 410 and obtains the first voltage Vcc1 provided by the first power supply 410. The second switching module 30 is also connected to the second power supply 420 and obtains the second voltage Vcc2 provided by the second power supply 420. When the first voltage Vcc1 is less than or equal to a preset voltage threshold, the first power supply 410 cannot supply power to the load terminal Vout. Furthermore, when the first voltage Vcc1 is less than or equal to the preset voltage threshold, if the first voltage Vcc1 is less than the second voltage Vcc2 provided by the second power supply 420, the second switching module 30 is turned on under the action of the first voltage Vcc1 and the second voltage Vcc2, allowing the second power supply 420 to supply power to the load terminal Vout.
[0056] Therefore, when the first power supply 410 cannot supply power to the load terminal Vout, the second power supply 420 can supply power to the load terminal Vout through the second switching module 30. The dual power supply switching circuit 100 provided in this application realizes a dual power supply connection structure where the first power supply 410 and the second power supply 420 can supply power to the load terminal Vout. The dual power supply switching circuit 100 provided in this application ensures that when the first power supply 410 supplies power to the load terminal Vout, the second power supply 420 does not supply power to the load terminal Vout, and when the first power supply 410 does not supply power to the load terminal Vout, the second power supply 420 supplies power to the load terminal Vout. Therefore, the dual power supply switching circuit 100 provided in this application improves power utilization and saves energy, solves the problem of low power supply reliability in traditional single power supply, and can reliably and stably respond to and resolve problems caused by single power supply failures in traditional technologies.
[0057] In one embodiment, the preset voltage threshold can be set according to the on-state voltage threshold of the N-type bipolar transistor 110 in the first comparison module 10 actually used. This application does not limit the specific value, and it can be set according to the actual application.
[0058] In one embodiment, when the first voltage Vcc1 is less than or equal to a preset voltage threshold, the first voltage Vcc1 can be 0V.
[0059] In one embodiment, when the power supply 410 is insufficient or the electronic device containing the first power supply 410 is powered off, for safety reasons, the first power supply 410 stops supplying power. At this time, the first voltage Vcc1 provided by the first power supply 410 is 0V.
[0060] In one embodiment, the dual power supply switching circuit 100 further includes a current limiting module 50. The current limiting module 50 is connected to the second power supply 420 and the first switching module 20, and is used to limit the current between the second power supply 420 and the first switching module 20.
[0061] In this embodiment, the current limiting module 50 is connected between the second power supply 420 and the first switch module 20. The current limiting module 50 prevents excessive current between the second power supply 420 and the first switch module 20 from damaging the components in the first switch module 20, thus protecting the first switch module 20.
[0062] Furthermore, the first switching module 20 is connected to the first power supply 410 to obtain the first voltage Vcc1 provided by the first power supply 410. The second voltage Vcc2 provided by the second power supply 420 is connected to the first switching module 20 after passing through the current limiting module 50. When the first voltage Vcc1 is less than or equal to a preset voltage threshold, the first switching module 20 is disconnected and not conductive, preventing the first power supply 410 from supplying power to the load terminal Vout. Based on the first voltage Vcc1 being less than or equal to the preset voltage threshold, the first voltage Vcc1 is also less than the second voltage Vcc2, further ensuring that the first switching module 20 is disconnected and not conductive. This double assurance ensures that the first switching module 20 is in the disconnected state, preventing the first power supply 410 from supplying power to the load terminal Vout.
[0063] The current limiting module 50 ensures that the current between the second power supply 420 and the first switching module 20 remains at a stable level. This helps maintain the first switching module 20 in a non-conducting state when the first voltage Vcc1 provided by the first power supply 410 is less than or equal to a preset voltage threshold, preventing the first power supply 410 from supplying power to the load terminal Vout. When the first voltage Vcc1 is less than or equal to the preset voltage threshold, it is less than the second voltage Vcc2, allowing the second switching module 30 to conduct and the second power supply 420 to supply power to the load terminal Vout. Therefore, the dual power supply switching circuit 100 provided in this application can automatically switch between the first power supply 410 and the second power supply 420 to supply power to the load terminal Vout, improving power utilization and saving energy, and solving the problem of low power supply reliability in traditional single power supply systems.
[0064] In one embodiment, the dual power supply switching circuit 100 further includes a first current-limiting and voltage-regulating module 60. The first current-limiting and voltage-regulating module 60 is connected to the first power supply 410 and the second switching module 30. The first current-limiting and voltage-regulating module 60 is used to limit the current between the first power supply 410 and the second switching module 30, and to stabilize the voltage between the first power supply 410 and the second switching module 30.
[0065] In this embodiment, the first current-limiting and voltage-regulating module 60 is connected between the first power supply 410 and the second switching module 30. The first current-limiting and voltage-regulating module 60 enables current limiting and voltage regulation. It also prevents excessive current between the first power supply 410 and the second switching module 30 from damaging the components in the second switching module 30, thus protecting the second switching module 30.
[0066] Furthermore, the second switching module 30 is connected to the second power supply 420 to obtain the second voltage Vcc2 provided by the second power supply 420. The first power supply 410 is connected to the second switching module 30 through the first current-limiting and voltage-regulating module 60. The first voltage Vcc1 provided by the first power supply 410 is stepped down by the first current-limiting and voltage-regulating module 60 before being connected to the second switching module 30. The first current-limiting and voltage-regulating module 60 can also stabilize the voltage provided by the first power supply 410 to the second switching module 30, which helps the second switching module 30 to conduct when the first voltage Vcc1 is less than or equal to a preset voltage threshold and the first voltage Vcc1 is less than the second voltage Vcc2, thus controlling the second power supply 420 to supply power to the load terminal Vout. At the same time, the first current-limiting and voltage-regulating module 60 can also stabilize the voltage provided by the first power supply 410 to the second switching module 30, which helps the second switching module 30 to disconnect and not conduct when the first voltage Vcc1 is greater than or equal to the second voltage Vcc2, thus preventing the second power supply 420 from supplying power to the load terminal Vout.
[0067] Please see Figure 2 In one embodiment, the first comparison module 10 includes an N-type bipolar transistor 110. The base terminal of the N-type bipolar transistor 110 is connected to a first power supply 410. The emitter terminal of the N-type bipolar transistor 110 is grounded. The collector terminal of the N-type bipolar transistor 110 is connected to a first switching module 20.
[0068] In this embodiment, the base terminal of the N-type bipolar transistor 110 is connected to the first power supply 410 to obtain the first voltage Vcc1 provided by the first power supply 410. The emitter terminal of the N-type bipolar transistor 110 is grounded, making the emitter voltage Ve 0V. When the first voltage Vcc1 is greater than a preset voltage threshold, and the base voltage Vb of the N-type bipolar transistor 110 is greater than the emitter voltage Ve, the N-type bipolar transistor 110 is turned on, pulling down the voltage at the connection point between the collector terminal of the N-type bipolar transistor 110 and the first switching module 20, close to 0V.
[0069] Subsequently, the first switching module 20 is connected to the first power supply 410, and obtains a first voltage Vcc1 that is greater than the voltage at the connection point between the collector of the N-type bipolar transistor 110 and the first switching module 20, causing the first switching module 20 to conduct. Thus, with the first switching module 20 conducting, the first power supply 410 supplies power to the load terminal Vout.
[0070] Conversely, when the first voltage Vcc1 is less than or equal to a preset voltage threshold, the base voltage Vb of the N-type bipolar transistor 110 is less than or equal to the emitter voltage Ve, causing the N-type bipolar transistor 110 to not conduct. This prevents the voltage at the connection point between the collector of the N-type bipolar transistor 110 and the first switching module 20 from being pulled low, thus preventing the first switching module 20 from conducting. When the first switching module 20 cannot conduct, the first power supply 410 does not supply power to the load terminal Vout, and prevents backflow from the load terminal Vout to the first power supply 410. Therefore, the N-type bipolar transistor 110 enables automatic switching between dual power supplies with simple circuit components, resulting in a more compact circuit design and lower product cost.
[0071] In one embodiment, the number of N-type bipolar transistors 110 and related parameters in the first comparison module 10 can also be set according to the actual application scenario.
[0072] In one embodiment, the first switching module 20 includes a first P-type field-effect transistor 210. The drain terminal of the first P-type field-effect transistor 210 is connected to a first power supply 410, the source terminal of the first P-type field-effect transistor 210 is connected to a load terminal, and the gate terminal of the first P-type field-effect transistor 210 is connected to the collector terminal of an N-type bipolar transistor 110 and a second power supply 420.
[0073] In this embodiment, the drain terminal of the first P-type field-effect transistor 210 is connected to the first power supply 410, allowing it to obtain the first voltage Vcc1 provided by the first power supply 410. Under the initial conduction of the body diode in the first P-type field-effect transistor 210, the voltage difference between the drain terminal voltage Vd and the source terminal voltage Vs of the first P-type field-effect transistor 210 is the forward voltage drop of the body diode (which can also be understood as the conduction voltage threshold of the body diode). Furthermore, the source terminal voltage Vs of the first P-type field-effect transistor 210 is smaller than the drain terminal voltage Vd, and differs from the forward voltage drop of the body diode. In some embodiments, the forward voltage drop of the body diode ranges from 0.6V to 0.8V.
[0074] The gate of the first P-type field-effect transistor 210 is connected to the collector of the N-type bipolar transistor 110. When the N-type bipolar transistor 110 is turned on, the gate voltage Vg of the first P-type field-effect transistor 210 is the same as the collector voltage Vc of the N-type bipolar transistor 110, and is pulled down to near 0V. Furthermore, the gate voltage Vg of the first P-type field-effect transistor 210 is less than the source voltage Vs, and the absolute value of the difference Vgs between the gate voltage Vg and the source voltage Vs is sufficiently large to satisfy the conduction condition of the first P-type field-effect transistor 210, thus turning on the first P-type field-effect transistor 210.
[0075] When the first P-type field-effect transistor 210 is turned on, the first power supply 410 supplies power to the load terminal Vout. Conversely, when the gate voltage Vg of the first P-type field-effect transistor 210 is greater than or equal to the source voltage Vs, the first P-type field-effect transistor 210 is not turned on. When the first P-type field-effect transistor 210 is not turned on, the first power supply 410 cannot supply power to the load terminal Vout.
[0076] When the first P-type field-effect transistor 210 is turned on, the voltage drop between the drain terminal voltage Vd and the source terminal voltage Vs is smaller, which can reduce voltage loss and make the load terminal Vout close to the first voltage Vcc1 provided by the first power supply 410. With the first P-type field-effect transistor 210, the function of automatic switching between dual power supplies can be realized with simple circuit components, making the circuit design more compact and the product cost lower.
[0077] Furthermore, when the first voltage Vcc1 is less than or equal to a preset voltage threshold, the voltage difference between the base and emitter terminals of the N-type bipolar transistor 110 is less than the turn-on voltage threshold of the N-type bipolar transistor 110, thus causing the N-type bipolar transistor 110 to not conduct. With the N-type bipolar transistor 110 not conducting, the voltage between the collector terminal of the N-type bipolar transistor 110 and the gate terminal of the first P-type field-effect transistor 210 cannot be pulled down to near 0V. Simultaneously, the gate terminal of the first P-type field-effect transistor 210 is also connected to the second power supply 420. Based on the first voltage Vcc1 being less than or equal to the preset voltage threshold, the first voltage Vcc1 is less than the second voltage Vcc2, causing the gate terminal voltage Vg of the first P-type field-effect transistor 210 to be greater than the source terminal voltage Vs, thus failing to meet the turn-on condition of the first P-type field-effect transistor 210, causing the first P-type field-effect transistor 210 to not conduct. The first power supply 410 cannot supply power to the load terminal Vout. The gate of the first P-type field-effect transistor 210 is connected to the second power supply 420. Based on the premise that the first voltage Vcc1 is less than or equal to a preset voltage threshold, the first voltage Vcc1 is less than the second voltage Vcc2, which further ensures that the first P-type field-effect transistor 210 is not turned on. This double guarantee ensures the non-conducting state of the first P-type field-effect transistor 210, so that the first power supply 410 cannot supply power to the load terminal Vout.
[0078] In one embodiment, the number and related parameters of the first P-type field-effect transistor 210 in the first switching module 20 can also be set according to the actual application scenario.
[0079] In one embodiment, the second switching module 30 includes a second P-type bipolar transistor 310 and a third P-type bipolar transistor 320. The drain terminal of the second P-type bipolar transistor 310 is connected to the second power supply 420, the source terminal of the second P-type bipolar transistor 310 is connected to the source terminal of the third P-type bipolar transistor 320, the drain terminal of the third P-type bipolar transistor 320 is connected to the load terminal Vout, and the gate terminals of the second P-type bipolar transistor 310 and the third P-type bipolar transistor 320 are respectively connected to the first power supply 410.
[0080] In this embodiment, the drain terminal of the second P-type bipolar transistor 310 is connected to the second power supply 420, allowing it to obtain the second voltage Vcc2 provided by the second power supply 420. Under the initial conduction of the body diode in the second P-type bipolar transistor 310, the voltage difference between the drain terminal voltage Vd and the source terminal voltage Vs of the second P-type bipolar transistor 310 is equal to the forward voltage drop of the body diode (which can also be understood as the conduction voltage threshold of the body diode). Furthermore, the source terminal voltage Vs of the second P-type bipolar transistor 310 is smaller than the drain terminal voltage Vd, and differs from the forward voltage drop of the body diode.
[0081] The gate of the second P-type bipolar transistor 310 is connected to the first power supply 410, and can obtain the first voltage Vcc1 provided by the first power supply 410. When the first voltage Vcc1 is less than the second voltage Vcc2, the gate voltage Vg of the second P-type bipolar transistor 310 is less than the source voltage Vs, and the absolute value of the difference Vgs between the gate voltage Vg and the source voltage Vs is large enough to satisfy the conduction condition of the second P-type bipolar transistor 310, thus turning on the second P-type bipolar transistor 310.
[0082] The drain voltage Vd of the second P-type bipolar transistor 310 is equal to the second voltage Vcc2. When the second P-type bipolar transistor 310 is turned on, the voltage difference between the drain voltage Vd and the source voltage Vs is the forward voltage drop of the body diode (which can also be understood as the conduction voltage threshold of the body diode). The source voltage Vs of the second P-type bipolar transistor 310 is smaller than the drain voltage Vd, and differs from the forward voltage drop of the body diode. That is, the source voltage Vs of the second P-type bipolar transistor 310 is smaller than the second voltage Vcc2, and differs from the forward voltage drop of the body diode.
[0083] The source terminal of the third P-type bipolar transistor 320 is connected to the source terminal of the second P-type bipolar transistor 310, making the source terminal voltage Vs of the third P-type bipolar transistor 320 the same as that of the second P-type bipolar transistor 310. Furthermore, the source terminal voltage Vs of the third P-type bipolar transistor 320 is smaller than the second voltage Vcc2, and differs from the forward voltage drop of the body diode. The gate terminal of the third P-type bipolar transistor 320 is connected to the first power supply 410, allowing the acquisition of the first voltage Vcc1. When the first voltage Vcc1 is less than the second voltage Vcc2, the gate terminal voltage Vg of the third P-type bipolar transistor 320 is less than the source terminal voltage Vs, and the absolute value of the difference Vgs between the gate terminal voltage Vg and the source terminal voltage Vs is sufficiently large to satisfy the conduction condition of the third P-type bipolar transistor 320, thus turning it on.
[0084] Therefore, when the first voltage Vcc1 is less than or equal to a preset voltage threshold, the first power supply 410 cannot supply power to the load terminal Vout. Furthermore, when the first voltage Vcc1 is less than the second voltage Vcc2, both the second P-type bipolar transistor 310 and the third P-type bipolar transistor 320 are turned on, allowing the second power supply 420 to supply power to the load terminal Vout. Thus, when the first voltage Vcc1 is less than or equal to the preset voltage threshold, and the first voltage Vcc1 is less than the second voltage Vcc2, the first power supply 410 cannot supply power to the load terminal Vout, and the second power supply 420 supplies power to the load terminal Vout.
[0085] Conversely, when the first voltage Vcc1 is greater than the preset voltage threshold, the first power supply 410 supplies power to the load terminal Vout, making the load terminal Vout approach the first voltage Vcc1. Then, the drain terminal of the third P-type bipolar transistor 320 is connected to the load terminal Vout, making the drain terminal voltage Vd of the third P-type bipolar transistor 320 equal to the voltage of the load terminal Vout, thus approaching the first voltage Vcc1. Under the initial conduction of the body diode in the third P-type bipolar transistor 320, the voltage difference between the drain terminal voltage Vd and the source terminal voltage Vs of the third P-type bipolar transistor 320 is the forward voltage drop of the body diode (which can also be understood as the conduction voltage threshold of the body diode). The source terminal voltage Vs of the third P-type bipolar transistor 320 is smaller than the drain terminal voltage Vd, and differs from the forward voltage drop of the body diode. Therefore, the source terminal voltage Vs of the third P-type bipolar transistor 320 is smaller than the voltage of the load terminal Vout, and differs from the forward voltage drop of the body diode.
[0086] The gate terminal of the third P-type bipolar transistor 320 is connected to the first voltage Vcc1 provided by the first power supply 410, so that the difference Vgs between the gate terminal voltage Vg and the source terminal voltage Vs of the third P-type bipolar transistor 320 does not meet the conduction condition, and the third P-type bipolar transistor 320 is not turned on.
[0087] Similarly, the difference Vgs between the gate voltage Vg and the source voltage Vs of the second P-type bipolar transistor 310 does not meet the conduction condition, causing the second P-type bipolar transistor 310 to not conduct. Therefore, when the first voltage Vcc1 is greater than the preset voltage threshold, the first power supply 410 supplies power to the load terminal Vout alone, and the second power supply 420 does not supply power to the load terminal Vout. Furthermore, the current at the load terminal Vout will not flow back to the second power supply 420 through the third P-type bipolar transistor 320 and the second P-type bipolar transistor 310, avoiding circuit abnormalities or leakage faults caused by reverse flow to the second power supply 420.
[0088] Furthermore, the drain terminal of the second P-type bipolar transistor 310 is connected to the second power supply 420, the source terminal of the second P-type bipolar transistor 310 is connected to the source terminal of the third P-type bipolar transistor 320, and the drain terminal of the third P-type bipolar transistor 320 is connected to the load terminal Vout. This reverse connection between the body diode in the second P-type bipolar transistor 310 and the body diode in the third P-type bipolar transistor 320 ensures that when the first voltage Vcc1 is greater than the second voltage Vcc2, the second power supply 420 will not supply power to the load terminal Vout through the body diode, thereby improving power utilization and saving energy.
[0089] When the second P-type bipolar transistor 310 and the third P-type bipolar transistor 320 are turned on, the voltage drop between the drain voltage Vd and the source voltage Vs is smaller, which reduces voltage loss and makes the load terminal Vout close to the second voltage Vcc2 provided by the second power supply 420. By using the second P-type bipolar transistor 310 and the third P-type bipolar transistor 320, the function of automatic switching between dual power supplies can be achieved with simple circuit components, resulting in a more compact circuit design and lower product cost.
[0090] Please see Figure 3 In one embodiment, the first switching module 20 includes a first P-type bipolar transistor 220. The emitter terminal of the first P-type bipolar transistor 220 is connected to a first power supply 410. The collector terminal of the first P-type bipolar transistor 220 is connected to the load terminal Vout. The base terminal of the first P-type bipolar transistor 220 is connected to the collector terminal of an N-type bipolar transistor 110 and the second power supply 420.
[0091] In this embodiment, the emitter of the first P-type bipolar transistor 220 is connected to the first power supply 410, allowing it to obtain the first voltage Vcc1 provided by the first power supply 410. The base of the first P-type bipolar transistor 220 is connected to the collector of the N-type bipolar transistor 110. When the N-type bipolar transistor 110 is turned on, the base voltage Vb of the first P-type bipolar transistor 220 is the same as the collector voltage Vc of the N-type bipolar transistor 110, and is pulled down to near 0V. Furthermore, the base voltage Vb of the first P-type bipolar transistor 220 is less than the emitter voltage Ve, satisfying the conduction condition of the first P-type bipolar transistor 220, thus turning on the first P-type bipolar transistor 220.
[0092] When the first P-type bipolar transistor 220 is turned on, the first power supply 410 supplies power to the load terminal Vout. Conversely, when the base voltage Vb of the first P-type bipolar transistor 220 is greater than or equal to the emitter voltage Ve, the first P-type bipolar transistor 220 is not turned on. When the first P-type bipolar transistor 220 is not turned on, the first power supply 410 cannot supply power to the load terminal Vout. The first P-type bipolar transistor 220 enables automatic switching between dual power supplies with simple circuit components, resulting in a more compact circuit design and lower product cost.
[0093] Furthermore, when the first voltage Vcc1 is less than or equal to a preset voltage threshold, the voltage difference between the base and emitter terminals of the N-type bipolar transistor 110 is less than the turn-on voltage threshold of the N-type bipolar transistor 110, thus causing the N-type bipolar transistor 110 to not conduct. With the N-type bipolar transistor 110 not conducting, the voltage between the collector terminal of the N-type bipolar transistor 110 and the base terminal of the first P-type bipolar transistor 220 cannot be pulled down to near 0V. Simultaneously, the base terminal of the first P-type bipolar transistor 220 is also connected to the second power supply 420. Based on the first voltage Vcc1 being less than or equal to the preset voltage threshold, the first voltage Vcc1 is less than the second voltage Vcc2, causing the base terminal voltage Vb of the first P-type bipolar transistor 220 to be greater than the emitter terminal voltage Ve, thus failing to meet the turn-on condition of the first P-type bipolar transistor 220, causing the first P-type bipolar transistor 220 to not conduct. The first power supply 410 cannot supply power to the load terminal Vout. The base of the first P-type bipolar transistor 220 is connected to the second power supply 420. Based on the premise that the first voltage Vcc1 is less than or equal to a preset voltage threshold, the first voltage Vcc1 is less than the second voltage Vcc2, which further ensures that the first P-type bipolar transistor 220 is not conducting. This double guarantee ensures that the first P-type bipolar transistor 220 is not conducting, so that the first power supply 410 cannot supply power to the load terminal Vout.
[0094] In one embodiment, the number and related parameters of the first P-type bipolar transistor 220 in the first switching module 20 can also be set according to the actual application scenario.
[0095] In one embodiment, the second switching module 30 includes a second P-type bipolar transistor 330. The emitter terminal of the second P-type bipolar transistor 330 is connected to the second power supply 420, the collector terminal of the second P-type bipolar transistor 330 is connected to the load terminal Vout, and the base terminal of the second P-type bipolar transistor 330 is connected to the first power supply 410.
[0096] In this embodiment, the emitter terminal of the second P-type bipolar transistor 330 is connected to the second power supply 420, and can obtain the second voltage Vcc2 provided by the second power supply 420. The base terminal of the second P-type bipolar transistor 330 is connected to the first power supply 410, and can obtain the first voltage Vcc1 provided by the first power supply 410.
[0097] When the first voltage Vcc1 is less than the second voltage Vcc2, the base voltage Vb of the second P-type bipolar transistor 330 is less than the emitter voltage Ve, satisfying the conduction condition of the second P-type bipolar transistor 330, thus turning it on. With the second P-type bipolar transistor 330 on, the second power supply 420 supplies power to the load terminal Vout. Therefore, when the first voltage Vcc1 is less than or equal to a preset voltage threshold, the first power supply 410 does not supply power to the load terminal Vout, and when the first voltage Vcc1 is less than the second voltage Vcc2, the second power supply 420 supplies power to the load terminal Vout.
[0098] Conversely, when the first voltage Vcc1 is greater than or equal to the second voltage Vcc2, the base voltage Vb of the second P-type bipolar transistor 330 is greater than or equal to the emitter voltage Ve, and the second P-type bipolar transistor 330 is not conducting. When the second P-type bipolar transistor 330 is not conducting, the second power supply 420 cannot supply power to the load terminal Vout. The second P-type bipolar transistor 330 enables automatic switching between dual power supplies with simple circuit components, resulting in a more compact circuit design and lower product cost.
[0099] In one embodiment, the number and related parameters of the second P-type bipolar transistor 330 in the second switching module 30 can also be set according to the actual application scenario.
[0100] Please see Figure 4 In one embodiment, the first P-type bipolar transistor 220 in the first switching module 20 and the second P-type bipolar transistor 310 and the third P-type bipolar transistor 320 in the second switching module 30 are combined to enable the first power supply 410 to supply power to the load terminal Vout when the first voltage Vcc1 is greater than a preset voltage threshold, and the second power supply 420 to supply power to the load terminal Vout when the first voltage Vcc1 is less than or equal to the preset voltage threshold and the first voltage Vcc1 is less than the second voltage Vcc2.
[0101] Please see Figure 5In one embodiment, the first P-type field-effect transistor 210 in the first switching module 20 and the second P-type bipolar transistor 330 in the second switching module 30 are combined to enable the first power supply 410 to supply power to the load terminal Vout when the first voltage Vcc1 is greater than a preset voltage threshold, and the second power supply 420 to supply power to the load terminal Vout when the first voltage Vcc1 is less than or equal to the preset voltage threshold and the first voltage Vcc1 is less than the second voltage Vcc2.
[0102] Please see Figure 6 and Figure 7 In one embodiment, the first comparison module 10 further includes a second current-limiting and voltage-regulating module 120. The second current-limiting and voltage-regulating module 120 is connected to the first power supply 410 and the base terminal of the N-type bipolar transistor 110, and is used to limit the current between the first power supply 410 and the base terminal of the N-type bipolar transistor 110, and stabilize the voltage at the base terminal of the N-type bipolar transistor 110.
[0103] In this embodiment, the second current-limiting and voltage-regulating module 120 is connected between the first power supply 410 and the N-type bipolar transistor 110. The second current-limiting and voltage-regulating module 120 enables current limiting and voltage regulation. It also prevents excessive current between the first power supply 410 and the N-type bipolar transistor 110 from damaging the transistor, thus protecting it.
[0104] The second current-limiting and voltage-regulating module 120 can also stabilize the voltage at the base of the N-type bipolar transistor 110 supplied by the first power supply 410, which helps to keep the N-type bipolar transistor 110 in a conducting state when the first voltage Vcc1 provided by the first power supply 410 is greater than the preset voltage threshold.
[0105] In one embodiment, the second current-limiting and voltage-regulating module 120 includes a fourth resistor 121, a fifth resistor 122, and a second capacitor 123. One end of the fourth resistor 121 is connected to the first power supply 410. The other end of the fourth resistor 121 is connected to the base of the N-type bipolar transistor 110. One end of the fifth resistor 122 is connected to the other end of the fourth resistor 121. The other end of the fifth resistor 122 is grounded. One end of the second capacitor 123 is connected to the other end of the fourth resistor 121. The other end of the second capacitor 123 is grounded.
[0106] In this embodiment, the first voltage Vcc1 provided by the first power supply 410 is divided by the fourth resistor 121 and the fifth resistor 122, providing a stable voltage to the base terminal of the N-type bipolar transistor 110. Based on Ohm's law, the current in the circuit is limited by the fourth resistor 121, preventing excessive current from damaging the N-type bipolar transistor 110 and thus protecting it.
[0107] The fifth resistor 122 is connected in parallel with the second capacitor 123 to stabilize the voltage. When the voltage in the circuit changes, the second capacitor 123 maintains a stable voltage through charging and discharging. The fifth resistor 122 assists the second capacitor 123 in transferring charge when the voltage changes, making the voltage adjustment smoother and maintaining it within a stable range. Therefore, through the fourth resistor 121, the fifth resistor 122, and the second capacitor 123, the voltage at the base of the N-type bipolar transistor 110 can be kept stable, ensuring the safe and stable operation of the circuit.
[0108] In one embodiment, the number and related parameter values of the fourth resistor 121, the fifth resistor 122, and the second capacitor 123 in the second current limiting and voltage regulating module 120 can be set according to the actual application scenario.
[0109] In one embodiment, the second current limiting and voltage regulating module 120 includes a fourth resistor 121, a fifth resistor 122, and a second capacitor 123, which helps to reduce the cost of the dual power supply switching circuit 100 and reduce the space occupied by the circuit.
[0110] In one embodiment, the first comparison module 10 further includes a voltage regulator module 130. The voltage regulator module 130 is connected to the collector terminal of the N-type bipolar transistor 110, and is also connected to the first switching module 20. The voltage regulator module 130 is used to stabilize the voltage at the connection point between the collector terminal of the N-type bipolar transistor 110 and the first switching module 20.
[0111] In this embodiment, the voltage regulator module 130 is connected to the first switching module 20. Specifically, the voltage regulator module 130 is connected to the gate terminal of the first P-type field-effect transistor 210 or the base terminal of the first P-type bipolar transistor 220. The voltage regulator module 130 is connected between the collector terminal of the N-type bipolar transistor 110 and the first switching module 20. The voltage regulator module 130 enables voltage regulation. It stabilizes the voltage between the collector terminal of the N-type bipolar transistor 110 and the connection terminal of the first switching module 20, ensuring the first switching module 20 remains in a stable on or off state, thus helping to maintain the on or off state of the first switching module 20.
[0112] In one embodiment, the voltage regulator module 130 includes a sixth resistor 131 and a third capacitor 132. One end of the sixth resistor 131 is connected to the collector terminal of the N-type bipolar transistor 110. Another end of the sixth resistor 131 is also connected to the gate terminal of the first P-type field-effect transistor 210 (e.g., ...). Figure 6 (As shown) connected to or the base terminal of the first P-type bipolar transistor 220 (such as Figure 7 (As shown) Connections. The other end of the sixth resistor 131 is grounded. One end of the third capacitor 132 is connected to the collector terminal of the N-type bipolar transistor 110. One end of the third capacitor 132 is also connected to the gate terminal of the first P-type field-effect transistor 210 or the base terminal of the first P-type bipolar transistor 220. The other end of the third capacitor 132 is grounded.
[0113] In this embodiment, the sixth resistor 131 and the third capacitor 132 are connected in parallel to stabilize the voltage. When the voltage between the third capacitor 132 and the gate terminal of the first P-type field-effect transistor 210 or the base terminal of the first P-type bipolar transistor 220 changes, the third capacitor 132 maintains voltage stability through charging and discharging. When the voltage between the sixth resistor 131 and the gate terminal of the first P-type field-effect transistor 210 or the base terminal of the first P-type bipolar transistor 220 changes, the sixth resistor 131 assists the third capacitor 132 in transferring charge, making voltage adjustment more stable.
[0114] In one embodiment, the number and related parameter values of the sixth resistor 131 and the third capacitor 132 in the voltage regulator module 130 can be set according to the actual application scenario.
[0115] In one embodiment, the voltage regulator module 130 includes a sixth resistor 131 and a third capacitor 132, which helps to reduce the cost of the dual power supply switching circuit 100 and reduce the space occupied by the circuit.
[0116] Please see Figure 8 In one embodiment, the current limiting module 50 includes at least one first resistor 510, which may include one, two, or three first resistors 510, etc. The number and resistance value of the first resistors 510 can be set according to the actual application scenario.
[0117] In one embodiment, the current limiting module 50 includes a first resistor 510. One end of the first resistor 510 is connected to the gate of the first P-type field-effect transistor 210 or the base of the first P-type bipolar transistor 220. The other end of the first resistor 510 is connected to the second power supply 420. The first resistor 510 serves to limit current. The inclusion of a first resistor 510 in the current limiting module 50 helps reduce the cost of the dual power supply switching circuit 100 and decreases the space occupied by the circuit.
[0118] In one embodiment, the first current-limiting and voltage-regulating module 60 includes a second resistor 610, a third resistor 620, and a first capacitor 630. One end of the second resistor 610 is connected to the first power supply 410. The other end of the second resistor 610 is connected to the gate of the second P-type bipolar transistor 310 and the gate of the third P-type bipolar transistor 320. Alternatively, the other end of the second resistor 610 is connected to the base of the second P-type bipolar transistor 330.
[0119] One end of the third resistor 620 is connected to one end of the second resistor 610. The other end of the third resistor 620 is grounded. One end of the first capacitor 630 is connected to one end of the second resistor 610. The other end of the first capacitor 630 is grounded.
[0120] In this embodiment, the first voltage Vcc1 provided by the first power supply 410 is divided by the second resistor 610 and the third resistor 620, providing a stable voltage to the gate terminals of the second P-type bipolar transistor 310 and the third P-type bipolar transistor 320. Alternatively, the first voltage Vcc1 provided by the first power supply 410 is divided by the second resistor 610 and the third resistor 620, providing a stable voltage to the base terminal of the second P-type bipolar transistor 330.
[0121] Based on Ohm's law, the current in the circuit is limited by the second resistor 610 and the third resistor 620 to prevent excessive current from damaging the transistors in the second switching module 30, thus protecting the second switching module 30.
[0122] The third resistor 620 is connected in parallel with the first capacitor 630 to stabilize the voltage. When the voltage in the circuit changes, the first capacitor 630 maintains a stable voltage through charging and discharging. The third resistor 620 assists the first capacitor 630 in transferring charge when the voltage changes, making the voltage adjustment smoother and maintaining it within a stable range.
[0123] In one embodiment, the number and related parameter values of the second resistor 610, the third resistor 620, and the first capacitor 630 in the first current limiting and voltage regulating module 60 can be set according to the actual application scenario.
[0124] In one embodiment, the first current limiting and voltage regulating module 60 includes a second resistor 610, a third resistor 620, and a first capacitor 630, which helps to reduce the cost of the dual power supply switching circuit 100 and reduce the space occupied by the circuit.
[0125] In one embodiment, the second switching module 30 is further configured to disconnect and not conduct when the first voltage Vcc1 is greater than the second voltage Vcc2 and the first voltage Vcc1 is less than the sum of the second voltage Vcc2 and the switching transistor conduction voltage threshold.
[0126] In this embodiment, the switching transistor turn-on voltage threshold can be understood as the threshold value when the first P-type field-effect transistor 210, the second P-type bipolar transistor 310, the third P-type bipolar transistor 320, the first P-type bipolar transistor 220, or the second P-type bipolar transistor 330 is turned on. This threshold value can be 0.6V, 0.7V, 1.0V, 1.5V, or 2.5V, etc., and is set according to the actual type of switching transistor used. This application does not impose a specific numerical limitation. By setting the first voltage Vcc1 provided by the first power supply 410 to be greater than the second voltage Vcc2 provided by the second power supply 420, it can be ensured that when the first P-type field-effect transistor 210 (or the first P-type bipolar transistor 220) is turned on, the second P-type bipolar transistor 310 and the third P-type bipolar transistor 320 (or the second P-type bipolar transistor 330) are not turned on, allowing the first power supply 410 to supply power to the load terminal Vout alone. Therefore, when the first voltage Vcc1 provided by the first power supply 410 is greater than the preset voltage threshold, regardless of whether the second power supply 420 is powered, it can be ensured that the first power supply 410 supplies power to the load alone, while the second power supply 420 does not supply power to the load.
[0127] By setting the first voltage Vcc1 to be less than the sum of the second voltage Vcc2 and the switching transistor's on-state voltage threshold, the difference between the first voltage Vcc1 and the second voltage Vcc2 can be limited. Furthermore, when the first voltage Vcc1 provided by the first power supply 410 and the second voltage Vcc2 provided by the second power supply 420 supply power to the load terminal Vout separately, excessive voltage differences at the load terminal Vout are avoided. This prevents excessive voltage differences when the load terminal Vout supplies power to the same load, thus providing a protective and stabilizing effect on the load.
[0128] Please see Figure 9 This application provides an electronic device 200. The electronic device 200 includes the dual power supply switching circuit 100 described in any of the above embodiments.
[0129] In this embodiment, the electronic device 200 can be a smart device such as a lawn mower, snow sweeper, sweeping robot, floor scrubber, pool robot, or sprinkler robot.
[0130] In one embodiment, the electronic device 200 further includes a first power supply 410, a second power supply 420, and a satellite positioning module 730. The first power supply 410 and the second power supply 420 are connected to the satellite positioning module 730 through a dual power supply switching circuit 100.
[0131] When the first power supply 410 does not supply power to the satellite positioning module 730, the dual power supply switching circuit 100 controls the second power supply 420 to supply power to the satellite positioning module 730. When the second power supply 420 supplies power to the satellite positioning module 730, the satellite positioning module 730 acquires the location information of the electronic device 200 and sends the location information to the user terminal.
[0132] In this embodiment, the satellite positioning module 730 is a Real-Time Kinematic (RTK) positioning module. When the first power supply 410 is low on power, the electronic device 200 is powered off, or the first power supply 410 is stolen, it will be unable to supply power to the satellite positioning module 730. Therefore, when the first power supply 410 is not supplying power to the satellite positioning module 730, the dual power supply switching circuit 100 can control the second power supply 420 to supply power to the satellite positioning module 730, enabling the satellite positioning module 730 to acquire the location information of the electronic device 200 in real time and send the location information to the user terminal. Thus, the user terminal can obtain the location information of the electronic device 200 in real time, enabling it to locate the electronic device 200 promptly and preventing its loss.
[0133] Therefore, even if the electronic device 200 is stolen or turned off, and the first power supply 410 cannot supply power to the satellite positioning module 730, the second power supply 420 can still supply power to the satellite positioning module 730, enabling the user to retrieve the electronic device 200 in a timely manner. Thus, through the first power supply 410 and the second power supply 420 in the electronic device 200 provided in this application, power can be supplied to the satellite positioning module 730 under different circumstances, ensuring the normal operation of the satellite positioning module 730, real-time location information of the electronic device 200, achieving anti-theft functionality, saving energy and reducing costs.
[0134] In one embodiment, the satellite positioning module 730 can acquire the location information of the electronic device 200 in real time and feed the location information of the electronic device back to the user through the cloud or mobile APP, which is helpful to help find the electronic device 200 when it is lost, and realizes the anti-theft function.
[0135] In one embodiment, the electronic device 200 further includes a main functional module 710 and an auxiliary functional module 720. A first power supply 410 is connected to the main functional module 710 and is used to supply power to the main functional module 710. A second power supply 420 is connected to the auxiliary functional module 720 and is used to supply power to the auxiliary functional module 720.
[0136] In this embodiment, the first power supply 410 supplies power to the main functional module 710, thus functioning as the main power supply. The second power supply 420 supplies power to the auxiliary functional module 720, thus functioning as the auxiliary power supply.
[0137] The main function module 710 can be the host of the electronic device 200. The auxiliary function module 720 can be a communication module, a Bluetooth module, or a high-volume alarm module, etc. The second power supply 420 is an independent power supply module for the auxiliary function module 720, which can be used as a backup power supply to power the satellite positioning module 730.
[0138] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application.
[0139] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0140] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0141] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0142] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0143] If the integrated module / unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electrical carrier signals and telecommunication signals.
[0144] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A dual power supply switching circuit, characterized in that, It includes a first comparison module (10), a first switch module (20), and a second switch module (30); The first comparison module (10) is connected to the first switch module (20). The first comparison module (10) is also used to connect to the first power supply (410). The first switch module (20) is also used to connect to the first power supply (410) and the load terminal. The second switch module (30) is used to connect to the first power supply (410) and the second power supply (420), and the second switch module (30) is also used to connect to the load terminal; The first comparison module (10) is used to control the first switch module (20) to turn on when the first voltage provided by the first power supply (410) is greater than a preset voltage threshold, so that the first power supply (410) supplies power to the load terminal; The second switch module (30) is used to turn on when the first voltage is less than or equal to the preset voltage threshold and the first voltage is less than the second voltage provided by the second power supply (420), thereby controlling the second power supply (420) to supply power to the load.
2. The dual power supply switching circuit as described in claim 1, characterized in that, The dual power supply switching circuit also includes: A current limiting module (50) is connected to the second power supply (420) and the first switch module (20) to limit the current between the second power supply (420) and the first switch module (20).
3. The dual power supply switching circuit as described in claim 1, characterized in that, The dual power supply switching circuit also includes: The first current limiting and voltage regulating module (60) is connected to the first power supply (410) and the second switching module (30) to limit the current between the first power supply (410) and the second switching module (30) and stabilize the voltage between the first power supply (410) and the second switching module (30).
4. The dual power supply switching circuit as described in any one of claims 1 to 3, characterized in that, The first comparison module (10) includes: An N-type bipolar transistor (110) is provided, wherein the base terminal of the N-type bipolar transistor (110) is connected to the first power supply (410), the emitter terminal of the N-type bipolar transistor (110) is grounded, and the collector terminal of the N-type bipolar transistor (110) is connected to the first switching module (20).
5. The dual power supply switching circuit as described in claim 4, characterized in that, The first switch module (20) includes: A first P-type field-effect transistor (210) is connected to the first power supply (410) at its drain end, and to the load end at its source end. The gate end of the first P-type field-effect transistor (210) is connected to the collector end of the N-type bipolar transistor (110) and to the second power supply (420).
6. The dual power supply switching circuit as described in claim 4, characterized in that, The first switch module (20) includes: A first P-type bipolar transistor (220) is connected to the first power supply (410) at its emitter terminal, and to the load terminal at its collector terminal. The base terminal of the first P-type bipolar transistor (220) is connected to the collector terminal of the N-type bipolar transistor (110) and to the second power supply (420).
7. The dual power supply switching circuit as described in claim 4, characterized in that, The first comparison module (10) further includes: The second current-limiting and voltage-regulating module (120) is connected to the first power supply (410) and the base terminal of the N-type bipolar transistor (110) to limit the current between the first power supply (410) and the base terminal of the N-type bipolar transistor (110) and stabilize the voltage at the base terminal of the N-type bipolar transistor (110).
8. The dual power supply switching circuit as described in claim 4, characterized in that, The first comparison module (10) further includes: A voltage regulator module (130) is connected to the collector terminal of the N-type bipolar transistor (110), and the voltage regulator module (130) is also connected to the first switching module (20); The voltage regulator module (130) is used to stabilize the voltage at the connection point between the collector of the N-type bipolar transistor (110) and the first switching module (20).
9. The dual power supply switching circuit as described in any one of claims 1 to 3, characterized in that, The second switching module (30) includes a second P-type bipolar transistor (310) and a third P-type bipolar transistor (320); The drain terminal of the second P-type bipolar transistor (310) is connected to the second power supply (420), the source terminal of the second P-type bipolar transistor (310) is connected to the source terminal of the third P-type bipolar transistor (320), the drain terminal of the third P-type bipolar transistor (320) is connected to the load terminal, and the gate terminals of the second P-type bipolar transistor (310) and the third P-type bipolar transistor (320) are respectively connected to the first power supply (410).
10. The dual power supply switching circuit as described in any one of claims 1 to 3, characterized in that, The second switch module (30) includes: The second P-type bipolar transistor (330) has its emitter terminal connected to the second power supply (420), its collector terminal connected to the load terminal, and its base terminal connected to the first power supply (410).
11. The dual power supply switching circuit as described in claim 1, characterized in that, The second switch module (30) is also used to disconnect when the first voltage is greater than the second voltage and the first voltage is less than the sum of the second voltage and the switch tube turn-on voltage threshold.
12. An electronic device, characterized in that, Includes the dual power supply switching circuit according to any one of claims 1 to 11.
13. The electronic device as claimed in claim 12, characterized in that, The electronic device also includes a first power supply (410), a second power supply (420), and a satellite positioning module (730). The first power supply (410) and the second power supply (420) are connected to the satellite positioning module (730) through the dual power supply switching circuit. When the first power supply (410) does not supply power to the satellite positioning module (730), the second power supply (420) is controlled by the dual power supply switching circuit to supply power to the satellite positioning module (730), so that the satellite positioning module (730) can obtain the location information of the electronic device and send the location information to the user terminal.