Power switching circuit, electrical system and vehicle

The power switching circuit, composed of a logic control module and a comparator, solves the problem of rapid switching of the power supply system under fault conditions, ensuring the reliability and response speed of the power supply, and reducing the circuit design cost and space occupation.

CN224385139UActive Publication Date: 2026-06-19BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202520664464.6
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-04-09
Publication Date
2026-06-19
Estimated Expiration
2035-04-09

AI Technical Summary

Technical Problem

Existing power supply systems are unable to achieve fast and reliable power switching in the event of a fault, causing vehicle safety-related functions to fail and failing to protect the life, health and safety of drivers and passengers.

Method used

The power switching circuit, composed of a logic control module and comparators, compares the power levels of the first and second power supplies using a first comparator and a second comparator to achieve automatic identification and rapid response, ensuring that the power supply switches to the backup power supply in the event of a power failure.

Benefits of technology

It achieves stable power switching, improves power supply reliability and response speed, and reduces circuit design cost and space occupation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224385139U_ABST
    Figure CN224385139U_ABST
Patent Text Reader

Abstract

A power switching circuit, electrical system, and vehicle are disclosed, relating to the field of power supply technology. The power switching circuit includes a logic control module, which includes a first comparator and a second comparator. The input terminals of the first and second comparators are connected to a power supply module. The power supply module includes a first power supply and a second power supply. The first power supply is connected to the non-inverting input terminal of the first comparator; the second power supply is connected to both the inverting input terminal of the first comparator and the non-inverting input terminal of the second comparator; the inverting input terminal of the second comparator is connected to the output terminal of the first comparator. When the second comparator outputs a low level, the power supply circuit of the first power supply to the load module is activated; when the first comparator outputs a low level, the power supply circuit of the second power supply to the load module is activated. This disclosure provides a power switching circuit capable of switching between different power supplies in the power supply module to power the load module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of power supply technology, and more specifically, to a power switching circuit, an electrical system, and a vehicle. Background Technology

[0002] Many power supply scenarios have high requirements for power supply reliability. For example, automotive electronics have very high safety requirements. They need to ensure that in the event of a vehicle malfunction, collision, or loss of power, a backup power source can be used to maintain the normal operation of the vehicle's safety-related functions and protect the life and health of the driver and passengers.

[0003] Therefore, redundancy backup needs to be reserved in the design of the power supply system, allowing the power supply to the load module to be switched between two or more power sources, and the power switching circuit needs to have good functional reliability. Utility Model Content

[0004] This disclosure provides a power switching circuit, electrical system, and vehicle capable of switching different power sources in a power supply module to power a load module.

[0005] According to one aspect of this disclosure, a power switching circuit is provided, including a logic control module. The logic control module includes a first comparator and a second comparator, the input terminals of which are connected to a power supply module. The power supply module includes a first power supply and a second power supply. The first power supply is connected to the non-inverting input terminal of the first comparator. The second power supply is connected to the inverting input terminal of the first comparator and the non-inverting input terminal of the second comparator, respectively. The inverting input terminal of the second comparator is connected to the output terminal of the first comparator.

[0006] Specifically, when the second comparator outputs a low level, the power supply circuit of the first power supply to the load module is turned on; when the first comparator outputs a low level, the power supply circuit of the second power supply to the load module is turned on.

[0007] In one exemplary embodiment of this disclosure, the power switching circuit further includes an input gating module, the power supply module is connected to the input gating module, and the input gating module is used to select one of the first power supply and the second power supply.

[0008] In one exemplary embodiment of this disclosure, the output terminal of the input gating module is connected to the power supply terminals of the first comparator and the second comparator.

[0009] In one exemplary embodiment of this disclosure, the input gating module includes a first switch and a second switch, a first power supply and a second power supply connected in parallel, the first switch and the first power supply connected in series, and the second switch and the second power supply connected in series; the first switch is used to unidirectionally conduct the first power supply to the output terminal of the input gating module; the second switch is used to unidirectionally conduct the second power supply to the output terminal of the input gating module.

[0010] In one exemplary embodiment of this disclosure, the output of the first comparator is connected to the output of the input gating module via a first pull-up resistor; the output of the second comparator is connected to the output of the input gating module via a second pull-up resistor.

[0011] In one exemplary embodiment of this disclosure, the power switching circuit further includes an output gating module, which includes a third switch and a fourth switch; the third switch is connected in series in the power supply circuit from the first power supply to the load module, and the fourth switch is connected in series in the power supply circuit from the second power supply to the load module; when the second comparator outputs a low level, the third switch is unidirectionally turned on; when the first comparator outputs a low level, the fourth switch is unidirectionally turned on.

[0012] In one exemplary embodiment of this disclosure, both the third switch and the fourth switch are P-type MOS transistors; the source of the third switch is connected to the first power supply, and the gate is connected to the output of the second comparator; the source of the fourth switch is connected to the second power supply, and the gate is connected to the output of the first comparator; the drains of the third switch and the fourth switch are connected and connected to the load module.

[0013] In one exemplary embodiment of this disclosure, a first power supply is connected to the non-inverting input of a first comparator via a first voltage divider network; and / or, a second power supply is connected to the inverting input of the first comparator and the non-inverting input of the second comparator via a second voltage divider network.

[0014] In one exemplary embodiment of this disclosure, a first resistor is connected in series between the first power supply and the non-inverting input of the first comparator; a second resistor is connected in series between the second power supply and the inverting input of the first comparator and the non-inverting input of the second comparator.

[0015] In one exemplary embodiment of this disclosure, a third resistor is connected in parallel between the first power supply and the non-inverting input of the first comparator to form a first voltage divider network; a fourth resistor is connected in parallel between the second power supply and the inverting input of the first comparator and the non-inverting input of the second comparator to form a second voltage divider network.

[0016] According to another aspect of this disclosure, an electrical system is provided, including a power supply module, a power switching circuit of any of the foregoing, and a load module; the power switching circuit is connected to a first power supply and a second power supply respectively, and the output terminal of the power switching circuit is connected to the load module.

[0017] According to another aspect of this disclosure, a vehicle is provided, including the electrical system of any of the foregoing.

[0018] The power switching circuit disclosed herein can achieve stable switching between a first power supply and a second power supply. By comparing the levels of the first power supply and the second power supply through a first comparator and a second comparator, automatic identification and fast response are achieved. Moreover, the logic control module can realize its function through two comparators, which is beneficial to controlling the overall design cost and reducing the space occupied by the circuit board design.

[0019] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0020] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure. It is obvious that the drawings described below are merely some embodiments of this disclosure, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.

[0021] Figure 1 This is a schematic diagram of an exemplary embodiment of the power switching circuit of this disclosure. Detailed Implementation

[0022] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the embodiments set forth herein; rather, they are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the exemplary embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar structures, and therefore detailed descriptions of them will be omitted. Furthermore, the drawings are merely illustrative of this disclosure and are not necessarily drawn to scale.

[0023] Unless otherwise specified or stated, the technical or scientific terms used in this disclosure shall have the ordinary meaning understood by one of ordinary skill in the art to which this disclosure pertains. The terms “a,” “an,” “the,” “the,” and “at least one” are used to indicate the presence of one or more elements / components / etc.; the terms “comprising” and “having” are used to indicate an open-ended inclusion and to mean that additional elements / components / etc. may exist in addition to those listed; the terms “first” and “second” are used only as illustrative marks and are not intended to limit the number, importance, or order of their contents. For example, without departing from the scope of this application, a first power source may also be referred to as a second power source, and a second power source may also be referred to as a first power source. Depending on the context, “when…” may be interpreted as “when…”, “if…”, or “in response to determination.”

[0024] In the following description, suffixes such as "module" or "unit" used to denote elements are used only for the purposes of this application and have no specific meaning in themselves. Therefore, "module" or "unit" can be used interchangeably.

[0025] In this disclosure, for ease of explanation and understanding, the power switching circuit applied to a vehicle's power supply system is used as an example. For instance, the power supply module includes a first power supply DC1 and a second power supply DC2, used to power the vehicle's autonomous driving / assisted driving module. The first power supply DC1 can be the primary power supply, and the second power supply DC2 can be a backup power supply, forming a redundant power supply system. Under normal operating conditions, the autonomous driving function module is powered by the primary power supply. When the primary power supply experiences an abnormal drop or power failure, the power switching circuit switches from the primary power supply to the backup power supply.

[0026] According to one aspect of this disclosure, a power switching circuit is provided. Referring to the figures, a schematic diagram of an exemplary embodiment of the power switching circuit is shown. The power switching circuit includes a logic control module 10, which includes a first comparator U1 and a second comparator U2. The input terminals of the first comparator U1 and the second comparator U2 are connected to a power supply module. The power supply module includes a first power supply DC1 and a second power supply DC2. The first power supply DC1 is connected to the non-inverting input terminal of the first comparator U1; the second power supply DC2 is connected to the inverting input terminal of the first comparator U1 and the non-inverting input terminal of the second comparator U2, respectively. The inverting input terminal of the second comparator U2 is connected to the output terminal of the first comparator U1.

[0027] When the second comparator U2 outputs a low level, it turns on the power supply circuit of the first power supply DC1 to the load module; when the first comparator U1 outputs a low level, it turns on the power supply circuit of the second power supply DC2 to the load module.

[0028] When the power switching circuit provided in this disclosure is operating, under one operating condition, the voltage level at the non-inverting input terminal of the first power supply DC1 is higher than the voltage level at the inverting input terminal of the first comparator U1 at the second power supply DC2. The first comparator U1 can be a push-pull output or an open-collector / open-drain output, and the first comparator U1 outputs a high level. The voltage level at the output terminal of the first comparator U1 at the inverting input terminal of the second comparator U2 is higher than the voltage level at the non-inverting input terminal of the second comparator U2 at the second power supply DC2. The second comparator U2 can be a push-pull output or an open-collector / open-drain output, and the second comparator U2 outputs a low level. The low level output of the second comparator U2 activates the power supply circuit from the first power supply DC1 to the load module, thereby enabling the first power supply DC1 to supply power to the load module.

[0029] In another operating condition, the voltage level at the non-inverting input of the first comparator U1, supplied by the first power supply DC1, is lower than the voltage level at the inverting input of the first comparator U1, supplied by the second power supply DC2, causing the first comparator U1 to output a low level. The voltage level at the output of the first comparator U1, supplied to the inverting input of the second comparator U2, is lower than the voltage level at the non-inverting input of the second comparator U2, supplied by the second power supply DC2, causing the second comparator U2 to output a high level. The low voltage output of the first comparator U1 activates the power supply circuit of the second power supply DC2 to the load module, thus enabling the second power supply DC2 to supply power to the load module.

[0030] For example, the first power supply DC1 and the second power supply DC2 can be two power supplies in a redundant power supply system. For instance, the first power supply DC1 is the primary power supply, and the second power supply DC2 is the backup power supply. Under normal operating conditions, the voltage level of the first power supply DC1 is higher than that of the second power supply DC2. After passing through the logic control module 10, the first power supply DC1 supplies power to the load module. In the event of a power outage or failure of the first power supply DC1, the voltage level of the first power supply DC1 drops below that of the second power supply DC2. The logic control module 10 can then switch the power supply to the load module from the second power supply DC2, ensuring the reliability of the power supply.

[0031] As can be seen, the power switching circuit provided in this disclosure can achieve stable switching between the first power supply DC1 and the second power supply DC2. By comparing the levels of the first power supply DC1 and the second power supply DC2 through the first comparator U1 and the second comparator U2, automatic identification and fast response are achieved. Moreover, the logic control module 10 can realize its function through two comparators, which is beneficial to control the overall design cost and reduce the space occupied by the circuit board design.

[0032] Next, we will combine the appendix Figure 1 Further description of the power switching circuit disclosed herein:

[0033] In one exemplary embodiment of this disclosure, the power switching circuit further includes an input gating module 20. The power supply module 30 is connected to the input gating module 20, which is used to select one of a first power supply DC1 and a second power supply DC2. For example, the input gating module 20 includes a first switch D1 and a second switch D2. The first power supply DC1 and the second power supply DC2 are connected in parallel, the first switch D1 is connected in series with the first power supply DC1, and the second switch D2 is connected in series with the second power supply DC2. The first switch D1 is used to unidirectionally conduct the first power supply DC1 to the output terminal of the input gating module; the second switch D2 is used to unidirectionally conduct the second power supply DC2 to the output terminal of the input gating module.

[0034] For example, the first switch D1 and the second switch D2 can be diode-like components, such as Schottky diodes or high-side switches. The first switch D1 and the second switch D2 can achieve unidirectional conduction of the first power supply DC1 and the second power supply DC2, preventing reverse current flow and protecting the power supply module 30. In some embodiments, the first switch D1 and the second switch D2 can also be implemented as integrated circuit chips, for example, controlling an external metal-oxide-semiconductor field-effect transistor (MOSFET), thereby simulating the properties of an ideal diode integrated circuit chip.

[0035] In one exemplary embodiment of this disclosure, the first comparator U1 and the second comparator U2 are also powered by the power supply module 30. For example, the first power supply DC1 is connected to the power supply terminal of the first comparator U1; and as another example, the second power supply DC2 is connected to the power supply terminal of the first comparator U1.

[0036] For example, the higher of the first power supply DC1 and the second power supply DC2 is used as the power supply for the first comparator U1 and the second comparator U2. Specifically, refer to... Figure 1 As shown, the output terminal DC_MAIN of the input gating module is connected to the power supply terminals of the first comparator U1 and the second comparator U2. Utilizing the unidirectional conduction characteristics of the first switch D1 and the second switch D2, the input gating module 20 can select the higher-level power supply (DC1 or DC2) as the output DC_MAIN. Based on the aforementioned analysis, when the first power supply DC1 is operating normally, its output is DC_MAIN; when the first power supply DC1 is powered down or malfunctions, the second power supply DC2 outputs DC_MAIN. Powering the first comparator U1 and the second comparator U2 with DC_MAIN ensures reliable power supply and improves the operational reliability of the logic control module 10.

[0037] In one exemplary embodiment of this disclosure, the power switching circuit further includes an output gating module 40. (See reference...) Figure 1 As shown, the output gating module 40 includes a third switch Q1 and a fourth switch Q2; the third switch Q1 is connected in series in the power supply circuit from the first power supply DC1 to the load module, and the fourth switch Q2 is connected in series in the power supply circuit from the second power supply DC2 to the load module. When the second comparator U2 outputs a low level, it unidirectionally conducts the third switch Q1; when the first comparator U1 outputs a low level, it unidirectionally conducts the fourth switch Q2.

[0038] For example, both the third switch Q1 and the fourth switch Q2 are P-type MOSFETs; the source of the third switch Q1 is connected to the first power supply DC1, and the gate is connected to the output of the second comparator U2; the source of the fourth switch Q2 is connected to the second power supply DC2, and the gate is connected to the output of the first comparator U1; the drains of the third switch Q1 and the fourth switch Q2 are connected, and the output VOUT is connected to the load module.

[0039] Due to the presence of the body diodes in the third switch Q1 and the fourth switch Q2, when the level of the first power supply DC1 is higher than that of the second power supply DC2, VOUT is powered by DC1.

[0040] When the first power supply DC1 is operating normally, the voltage level at the non-inverting input of the first comparator U1, supplied by the first power supply DC1, is higher than the voltage level at the inverting input of the first comparator U1, supplied by the second power supply DC2. The first comparator U1 outputs a high level to the gate of the fourth switch Q2, thus turning off Vds of the fourth switch Q2. The voltage level at the output of the first comparator U1, supplied to the inverting input of the second comparator U2, is higher than the voltage level at the non-inverting input of the second comparator U2, supplied by the second power supply DC2. The second comparator U2 outputs a low level to the gate of the third switch Q1, turning on Vds of the third switch Q1. The channel of the third switch Q1 is fully open, and the VOUT load output is provided by the first power supply DC1.

[0041] When the first power supply DC1 is powered down or fails, the voltage level at the non-inverting input of the first comparator U1, supplied by the first power supply DC1, is lower than the voltage level at the inverting input of the first comparator U1, supplied by the second power supply DC2. The first comparator U1 outputs a low level to the gate of the fourth switch Q2, thus turning on Vds of the fourth switch Q2. The voltage level at the output of the first comparator U1, supplied to the inverting input of the second comparator U2, is higher than the voltage level at the non-inverting input of the second comparator U2, supplied by the second power supply DC2. The second comparator U2 outputs a high level to the gate of the third switch Q1, turning off Vds of the third switch Q1. The channel of the fourth switch Q2 is fully open, and the VOUT load output is provided by the second power supply DC2.

[0042] In this exemplary embodiment, when only one of the third switch Q1 and the fourth switch Q2 is open, there is no leakage between the source and drain of the body diode in the third switch Q1 and the fourth switch Q2, and the first power supply DC1 and the second power supply DC2 will not be short-circuited together.

[0043] In some implementations, the third switch Q1 and the fourth switch Q2 may also be high-side switches or load switches. Exemplarily, the third switch Q1 and the fourth switch Q2 may also be implemented as integrated circuit chips, such as integrated circuit chips that can control external metal-oxide-semiconductor field-effect transistors, thereby simulating the properties of an ideal diode.

[0044] For example, this disclosure uses the term "comparator" to name the first comparator U1 and the second comparator U2. However, the term "comparator" used in this disclosure is only for illustrating the function and operation of the first comparator U1 and the second comparator U2, and is not intended to limit the actual device structure or classification of the first comparator U1 and the second comparator U2. Those skilled in the art will understand that the first comparator U1 and the second comparator U2 can be comparators in the narrow sense, or can also be implemented as operational amplifiers or other devices, or logic circuits built with digital logic gates, as long as they can achieve the functions of the first comparator U1 and the second comparator U2 of this disclosure.

[0045] For example, the first comparator U1 and the second comparator U2 can be push-pull outputs or open-collector / open-drain outputs. For instance, refer to... Figure 1 As shown, both the first comparator U1 and the second comparator U2 are open-collector outputs. The output of the first comparator U1 is connected to the output of the input gating module 20 via a first pull-up resistor R1. The first pull-up resistor R1 pulls the output of the first comparator U1 up to a level close to the high level of the first power supply DC1. The output of the second comparator U2 is connected to the output of the input gating module 20 via a second pull-up resistor R6.

[0046] In one exemplary embodiment of this disclosure, a first resistor R2 is connected in series between the first power supply DC1 and the non-inverting input terminal of the first comparator U1. The first resistor R2 limits the current input from the first power supply DC1 to the first comparator U1, preventing damage to the first comparator U1 from large current. Similarly, a second resistor R4 can also be connected in series between the second power supply DC2 and the inverting input terminal of the first comparator U1 and the non-inverting input terminal of the second comparator U2. The second resistor R4 limits the current input from the second power supply DC2 to both the first comparator U1 and the second comparator U2, preventing damage to both comparators from large current.

[0047] In one exemplary embodiment of this disclosure, a first power supply DC1 is connected to the non-inverting input of a first comparator U1 via a first voltage divider network. For example, a third resistor R3 is also connected in parallel between the first power supply DC1 and the non-inverting input of the first comparator U1, and the third resistor R3 and the first resistor R2 can form the first voltage divider network.

[0048] refer to Figure 1As shown, the decision threshold of the first comparator U1 can be adjusted through the first voltage divider network. For example, by changing the voltage division ratio of the third resistor R3 and the first resistor R2, the actual voltage level of the first power supply DC1 connected to the non-inverting input of the first comparator U1 can be changed. Compared with directly connecting the first power supply DC1 to the non-inverting input of the first comparator U1, or connecting it to the non-inverting input of the first comparator U1 only after current limiting by the first resistor R2 connected in series, the first voltage divider network can flexibly set the switching conditions between the first power supply DC1 and the second power supply DC2 according to the actual usage.

[0049] For example, the second power supply DC2 can also be connected to the inverting input of the first comparator U1 and the non-inverting input of the second comparator U2 through the second voltage divider network. For instance, a fourth resistor R5 is also connected in parallel between the second power supply DC2 and the inverting input of the first comparator U1 and the non-inverting input of the second comparator U2, and the second resistor R4 and the fourth resistor R5 can form the second voltage divider network.

[0050] refer to Figure 1 As shown, the decision thresholds of the first comparator U1 and the second comparator U2 can be adjusted through the second voltage divider network. For example, by changing the voltage division ratio of the second resistor R4 and the fourth resistor R5, the actual voltage level of the second power supply DC2 connected to the inverting input of the first comparator U1 and the non-inverting input of the second comparator U2 can be changed. Compared with directly connecting the second power supply DC2 to the inverting input of the first comparator U1 and the non-inverting input of the second comparator U2, or connecting it only after current limiting by the second resistor R4 connected in series, the second voltage divider network can flexibly set the switching conditions between the first power supply DC1 and the second power supply DC2 according to the actual usage.

[0051] In the exemplary embodiments of this disclosure, the first voltage divider network and the second voltage divider network can be selectively set, or set simultaneously, to improve the flexibility of power supply module switching. Simultaneously, the first voltage divider network and the second voltage divider network also help improve the anti-interference capability of the logic control module 10, preventing slight fluctuations in the first power supply DC1 or the second power supply DC2 from causing the calculation results of the first comparator U1 and the second comparator U2 to flip, thereby improving the operational reliability of the power switching circuit.

[0052] According to another aspect of this disclosure, an electrical system is provided. The electrical system includes a power supply module, a power switching circuit of any of the foregoing embodiments, and a load module; the power switching circuit is connected to a first power supply and a second power supply respectively, and the output terminal of the power switching circuit is connected to the load module. Exemplarily, the electrical system of this disclosure can be an in-vehicle electrical system, and the load module can include an autonomous driving control module. Exemplarily, the load module can also be a cockpit domain controller, and other critical loads related to vehicle safety. Those skilled in the art will understand that the electrical system provided by this disclosure can also be applied to other scenarios with high requirements for power supply reliability, using redundant power supplies.

[0053] According to another aspect of this disclosure, a vehicle is provided, including the electrical system of any of the foregoing embodiments. Specifically, the vehicle can be a hybrid vehicle, a non-hybrid vehicle, an electric vehicle, a fuel cell vehicle, or a vehicle with other power types. The vehicle can be an autonomous vehicle, a semi-autonomous vehicle, or a non-autonomous vehicle. The vehicle may also include a powertrain, chassis, body, instruments, etc., which will not be listed here.

[0054] The electrical system and vehicle disclosed herein have enhanced safety due to the use of a power switching circuit with high reliability, flexibility, and functional stability.

[0055] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the utility models disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the appended claims.

Claims

1. A power switching circuit, characterized in that, The system includes a logic control module, which includes a first comparator and a second comparator, the inputs of which are connected to a power supply module. The power supply module includes a first power supply and a second power supply. The first power supply is connected to the non-inverting input of the first comparator. The second power supply is connected to the inverting input of the first comparator and the non-inverting input of the second comparator, respectively. The inverting input of the second comparator is connected to the output of the first comparator. Specifically, when the second comparator outputs a low level, the power supply circuit of the first power supply to the load module is turned on; when the first comparator outputs a low level, the power supply circuit of the second power supply to the load module is turned on.

2. The power switching circuit according to claim 1, characterized in that, The power switching circuit further includes an input gating module, the power supply module is connected to the input gating module, and the input gating module is used to select one of the first power supply and the second power supply.

3. The power switching circuit according to claim 2, characterized in that, The output terminal of the input gating module is connected to the power supply terminals of the first comparator and the second comparator.

4. The power switching circuit according to claim 2, characterized in that, The input gating module includes a first switch and a second switch. The first power supply and the second power supply are connected in parallel. The first switch is connected in series with the first power supply, and the second switch is connected in series with the second power supply. The first switch is used to unidirectionally conduct the first power supply to the output terminal of the input gating module. The second switch is used to unidirectionally conduct the second power supply to the output terminal of the input gating module.

5. The power switching circuit according to claim 2, characterized in that, The output of the first comparator is connected to the output of the input gating module via a first pull-up resistor; the output of the second comparator is connected to the output of the input gating module via a second pull-up resistor.

6. The power switching circuit according to claim 1, characterized in that, The power switching circuit further includes an output gating module, which includes a third switch and a fourth switch; the third switch is connected in series in the power supply circuit from the first power source to the load module, and the fourth switch is connected in series in the power supply circuit from the second power source to the load module; when the second comparator outputs a low level, the third switch is unidirectionally turned on; when the first comparator outputs a low level, the fourth switch is unidirectionally turned on.

7. The power switching circuit according to claim 6, characterized in that, Both the third switch and the fourth switch are P-type MOS transistors; the source of the third switch is connected to the first power supply, and the gate is connected to the output of the second comparator; the source of the fourth switch is connected to the second power supply, and the gate is connected to the output of the first comparator; the drains of the third switch and the fourth switch are connected to the load module.

8. The power switching circuit according to claim 1, characterized in that, The first power supply is connected to the non-inverting input of the first comparator through a first voltage divider network; and / or, the second power supply is connected to the inverting input of the first comparator and the non-inverting input of the second comparator through a second voltage divider network.

9. The power switching circuit according to claim 8, characterized in that, A first resistor is connected in series between the first power supply and the non-inverting input of the first comparator; a second resistor is connected in series between the second power supply and the inverting input of the first comparator and the non-inverting input of the second comparator.

10. The power switching circuit according to claim 9, characterized in that, A third resistor is connected in parallel between the first power supply and the non-inverting input of the first comparator to form a first voltage divider network; a fourth resistor is connected in parallel between the second power supply and the inverting input of the first comparator and the non-inverting input of the second comparator to form a second voltage divider network.

11. An electrical system, characterized in that, It includes a power supply module, a power switching circuit according to any one of claims 1 to 10, and a load module; the power switching circuit is respectively connected to the first power supply and the second power supply, and the output terminal of the power switching circuit is connected to the load module.

12. A vehicle, characterized in that, Includes the electrical system as described in claim 11.