CN115473324A - Dual power management circuit, method, apparatus, device, and computer storage medium - Google Patents

Dual power management circuit, method, apparatus, device, and computer storage medium Download PDF

Info

Publication number
CN115473324A
CN115473324A CN202210976442.4A CN202210976442A CN115473324A CN 115473324 A CN115473324 A CN 115473324A CN 202210976442 A CN202210976442 A CN 202210976442A CN 115473324 A CN115473324 A CN 115473324A
Authority
CN
China
Prior art keywords
module
power supply
switch module
electrically connected
power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210976442.4A
Other languages
Chinese (zh)
Inventor
薛张涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Co Wheels Technology Co Ltd
Original Assignee
Beijing Co Wheels Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Co Wheels Technology Co Ltd filed Critical Beijing Co Wheels Technology Co Ltd
Priority to CN202210976442.4A priority Critical patent/CN115473324A/en
Publication of CN115473324A publication Critical patent/CN115473324A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J9/00Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting
    • H02J9/04Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source
    • H02J9/06Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H11/00Emergency protective circuit arrangements for preventing the switching-on in case an undesired electric working condition might result
    • H02H11/002Emergency protective circuit arrangements for preventing the switching-on in case an undesired electric working condition might result in case of inverted polarity or connection; with switching for obtaining correct connection
    • H02H11/003Emergency protective circuit arrangements for preventing the switching-on in case an undesired electric working condition might result in case of inverted polarity or connection; with switching for obtaining correct connection using a field effect transistor as protecting element in one of the supply lines
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H7/00Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions
    • H02H7/10Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for converters; for rectifiers
    • H02H7/12Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for converters; for rectifiers for static converters or rectifiers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B70/00Technologies for an efficient end-user side electric power management and consumption
    • Y02B70/30Systems integrating technologies related to power network operation and communication or information technologies for improving the carbon footprint of the management of residential or tertiary loads, i.e. smart grids as climate change mitigation technology in the buildings sector, including also the last stages of power distribution and the control, monitoring or operating management systems at local level
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S20/00Management or operation of end-user stationary applications or the last stages of power distribution; Controlling, monitoring or operating thereof
    • Y04S20/20End-user application control systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Stand-By Power Supply Arrangements (AREA)

Abstract

The application discloses a dual-power management circuit, a method, a device, equipment and a computer storage medium, and relates to the technical field of power management. The circuit includes: the main power supply is electrically connected with the first power supply rail; the first end of the first voltage regulating module is electrically connected with the main power supply and the first power supply rail respectively, and the second end of the first voltage regulating module is electrically connected with the second power supply rail; the first end of the first switch module is electrically connected with the second end of the first voltage regulating module; the first end of the second voltage regulating module is electrically connected with the second end of the first switch module, and the second end of the second voltage regulating module is respectively electrically connected with the third power supply rail, the first end of the first voltage regulating module and the first power supply rail; the second end of the second switch module is electrically connected with the first end of the second voltage regulating module; the standby power supply is electrically connected with the first end of the second switch module. According to the embodiment of the application, the main power supply or the standby circuit can flexibly supply power to the three power rails.

Description

Dual power management circuit, method, apparatus, device, and computer storage medium
Technical Field
The application belongs to the technical field of power management, and particularly relates to a dual power management circuit, method, device, equipment and computer storage medium.
Background
In some power utilization occasions where power needs to be continuously supplied to electric equipment to maintain uninterrupted operation of the equipment, such as traveling vehicles, large and small vehicles, or monitoring stations for weather, geology, water conservancy and the like, dual power supplies are often adopted, that is, a main power supply and a standby power supply are adopted to switch power supplies for corresponding power supply rails (providing voltages in a specific range), so as to maintain continuous operation of the electric equipment.
As the demand for electrical devices continues to increase, the number of power rails required in the devices to provide voltages in different ranges also increases. Currently, for dual power supply of power rails with three different voltage ranges required by the same device (such as a vehicle), no corresponding dual power supply management scheme is provided in the industry.
Disclosure of Invention
The embodiment of the application provides a dual-power management circuit, a method, a device, equipment and a computer storage medium, which can realize flexible power supply of a main power supply or a standby circuit to three power supply rails under the same circuit structure.
In a first aspect, an embodiment of the present application provides a dual power management circuit, including:
a main power supply electrically connected to the first power rail;
the first end of the first voltage regulating module is electrically connected with the main power supply and the first power supply rail respectively, and the second end of the first voltage regulating module is electrically connected with the second power supply rail;
the first end of the first switch module is electrically connected with the second end of the first voltage regulating module;
the first end of the second voltage regulating module is electrically connected with the second end of the first switch module, and the second end of the second voltage regulating module is electrically connected with the third power supply rail, the first end of the first voltage regulating module and the first power supply rail respectively;
the second end of the second switch module is electrically connected with the first end of the second voltage regulating module;
and the standby power supply is electrically connected with the first end of the second switch module.
In some possible implementations, the first switch module and the second switch module each include: the anti-reflection module and the switch module are arranged in the circuit board;
the first end of the anti-reversion module of the first switch module is electrically connected with the second end of the first voltage regulating module, the second end of the anti-reversion module of the first switch module is electrically connected with the first end of the switch sub-module of the first switch module, and the second end of the switch sub-module of the first switch module is electrically connected with the first end of the second voltage regulating module;
the first end of the anti-reverse submodule of the second switch module is electrically connected with the standby power supply, the second end of the anti-reverse submodule of the second switch module is electrically connected with the first end of the switch submodule of the second switch module, and the second end of the switch submodule of the second switch module is electrically connected with the first end of the second voltage regulating module;
the anti-reverse module is used for preventing the reverse connection of the main power supply or the standby power supply;
the switch submodule is used for realizing the connection or disconnection of the first switch module or the second switch module.
In some possible implementation manners, the anti-inversion module comprises a first PMOS tube, and the switch sub-module comprises a first NMOS tube, a second PMOS tube and a pull-up resistor;
the source electrode of the first PMOS tube and the source electrode of the second PMOS tube are electrically connected with the first end of the pull-up resistor;
the grid electrode of the first PMOS tube, the grid electrode of the second PMOS tube and the second end of the pull-up resistor are electrically connected;
the second end of the pull-up resistor is electrically connected with the drain electrode of the first NMOS tube, and the source electrode of the first NMOS tube is grounded;
the drain electrode of a first PMOS tube in the first switch module is electrically connected with the second end of the first voltage regulating module, and the drain electrode of a second PMOS tube in the first switch module is electrically connected with the first end of the second voltage regulating module;
the drain electrode of a first PMOS tube in the second switch module is electrically connected with the standby power supply, and the drain electrode of a second PMOS tube in the second switch module is electrically connected with the first end of the second voltage regulating module.
In some possible implementations, the dual power management circuit further includes a dual power switching control module,
the first end of the dual-power switching control module is electrically connected with a main power supply;
the second end of the dual-power switching control module is respectively electrically connected with the grid electrode of the first NMOS in the first switch module and the grid electrode of the first NMOS in the second switch module;
the dual power supply switching control module is used for respectively sending a first level signal to a grid electrode of a first NMOS in the first switch module and sending a second level signal to a grid electrode of a first NMOS in the second switch module according to a first voltage value of the main power supply.
In some possible implementations, the dual power switching control module includes: the power supply comprises a first voltage dividing resistor, a second voltage dividing resistor, an NPN triode, a first power supply and a third NMOS (N-channel metal oxide semiconductor) tube, wherein the first power supply is used for providing a high level signal;
the first end of the first divider resistor is electrically connected with a main power supply, the second end of the first divider resistor is electrically connected with the first end of the second divider resistor, and the second end of the second divider resistor is grounded;
the second end of the first divider resistor and the first end of the second divider resistor are both electrically connected with the base electrode of the NPN triode;
a collector of the NPN triode is respectively and electrically connected with the first power supply, the grid of the third NMOS tube and the grid of the first NMOS in the first switch module, and an emitter of the NPN triode is grounded;
the drain electrode of the third NMOS tube is respectively and electrically connected with the grid electrode of the first NMOS in the second switch module and the first power supply, and the source electrode of the third NMOS tube is grounded.
In some possible implementations, the dual power management circuit further includes:
the first end of the charging module is electrically connected with the first end of the second switch module, and the second end of the charging module is electrically connected with the second end of the second voltage regulating module;
the charging module is used for charging the standby power supply through the main power supply under the conditions that the first switch module is switched on, the second switch module is switched off, the first voltage value of the main power supply is larger than the first threshold value, and the second voltage value of the standby battery is smaller than the second threshold value.
In some possible implementations, the dual power management circuit further includes:
and the power internal resistance detection module is electrically connected with the first end of the second switch module and is used for detecting the power internal resistance of the standby power supply under the condition that the third switch module is switched on.
In some possible implementation manners, the power internal resistance detection module comprises a detection resistor, a pull-down resistor and a second NMOS tube;
the first end of the detection resistor is electrically connected with the first end of the second switch module, and the second end of the detection resistor is electrically connected with the drain electrode of the second NMOS tube;
the grid electrode of the second NMOS tube is electrically connected with the first end of the pull-down resistor, the source electrode of the second NMOS tube is electrically connected with the second end of the pull-down resistor, and the second end of the pull-down resistor is grounded.
In some possible implementations, the dual power management circuit further includes:
the anode of the first diode is electrically connected with the second end of the second voltage regulating module, and the cathode of the first diode is electrically connected with the first end of the first voltage regulating module;
and the anode of the second diode is electrically connected with the main power supply, and the cathode of the second diode is electrically connected with the first end of the first voltage regulating module.
In some possible implementations, the dual power management circuit further includes:
and the first end of the third switch module is electrically connected with the standby power supply, and the second end of the third switch module is electrically connected with the first end of the second switch module.
In a second aspect, an embodiment of the present application provides a dual power management method, where the dual power management method is applied to a dual power management circuit provided in any one of the foregoing embodiments of the present application, and the dual power management method includes:
detecting whether a first voltage value of a main power supply is smaller than a first threshold value;
and under the condition that the first voltage value is smaller than the first threshold value, sending a turn-off level signal to the first switch module, and sending a turn-on level signal to the second switch module, so that the first switch module is turned off, the second switch module is turned on, and the standby power supply respectively supplies power to the first power rail, the second power rail and the third power rail.
In some possible implementations, a dual power management circuit is disposed in the vehicle, the dual power management circuit including a third switching module, and before detecting whether a first voltage value of the primary power is less than a first threshold, the dual power management method further includes:
acquiring state information of a vehicle;
determining that the vehicle is in a non-transportation state or a new vehicle storage state according to the state information of the vehicle;
and sending a conducting level signal to the third switching module to enable the third switching module to be conducted.
In some possible implementations, before obtaining the status information of the vehicle, the dual power supply management method further includes:
performing a target operation to cause the primary power supply to supply power to the first power rail, the second power rail, and the third power rail, respectively;
the target operation comprises:
sending a conducting level signal to the first switch module to enable the first switch module to be conducted;
sending a turn-off level signal to the second switch module to turn off the second switch module;
and sending a turn-off level signal to the third switching module to turn off the third switching module.
In some possible implementations, the dual power management circuit further includes a charging module, and after detecting whether the first voltage value of the main power supply is smaller than the first threshold, the dual power management method further includes:
detecting whether a second voltage value of the standby power supply is smaller than a second threshold value or not under the condition that the first voltage value is larger than the first threshold value;
and sending a conducting level signal to the first switch module and sending a disconnecting level signal to the second switch module under the condition that the second voltage value is smaller than a second threshold value, so that the main power supply charges the standby power supply through the charging module.
In some possible implementations, the dual power management circuit further includes a power internal resistance detection module, and after detecting whether the second voltage value of the backup power is smaller than the second threshold, the dual power management method further includes:
when the second voltage value is larger than a second threshold value, sending an enabling signal to a power supply internal resistance detection module so that the power supply internal resistance detection module detects the power supply internal resistance of the standby power supply;
receiving power supply internal resistance detection parameters sent by a power supply internal resistance detection module;
determining the resistance value of the internal resistance of the power supply of the standby power supply according to the detection parameters of the internal resistance of the power supply;
outputting power supply replacement prompt information of the standby power supply under the condition that the resistance value is greater than a third threshold value;
in the case where the resistance value is smaller than the third threshold value, the count value of the counter is set to 1.
In some possible implementations, sending the enable signal to the power internal resistance detection module includes:
inquiring the count value of the counter;
sending an enabling signal to a power supply internal resistance detection module under the condition that the count value overflows or is reset;
if the count value does not overflow and is not cleared, the count value is incremented by 1.
In a third aspect, an embodiment of the present application provides a dual power management device, which is applied to a dual power management circuit provided in any one of the foregoing embodiments of the present application, and includes:
the first detection module is used for detecting whether a first voltage value of the main power supply is smaller than a first threshold value or not;
the first sending module is used for sending a turn-off level signal to the first switch module and sending a turn-on level signal to the second switch module under the condition that the first voltage value is smaller than the first threshold value, so that the first switch module is turned off, the second switch module is turned on, and the standby power supply supplies power to the first power rail, the second power rail and the third power rail respectively.
In a fourth aspect, an embodiment of the present application provides a dual power management device, including:
a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements the dual power management method as provided in any of the embodiments of the present application.
In a fifth aspect, the present application provides a computer storage medium, where computer program instructions are stored on the computer storage medium, and when executed by a processor, the computer program instructions implement the dual power supply management method as provided in any one of the above embodiments of the present application.
In a sixth aspect, embodiments of the present application provide a vehicle, including at least one of: a dual power management circuit as provided in any of the embodiments of the present application described above; the dual power management device provided in the embodiment of the present application; the dual power management device provided in the embodiment of the present application; the computer-readable storage medium provided in the embodiments of the present application described above.
According to the dual-power-supply management circuit, the method, the device, the equipment and the computer storage medium, the first switch module, the second switch module, the first voltage regulating module and the second voltage regulating module are arranged between the main power supply, the standby power supply and the first power supply rail, the second power supply rail and the third power supply rail, so that the normal power supply of the three power supply rails can be realized by combining the first voltage regulating module and the second voltage regulating module according to the connection or disconnection of different switch modules when the main power supply is switched to the standby power supply to work or the standby power supply is switched to the main power supply to work.
In addition, the embodiment of the application provides a dual-power management circuit, a method, a device, equipment and a computer storage medium, when the dual-power management circuit is applied specifically, the circuit design is simple, the manufacturing cost is low, and the main power supply or the standby power supply can be selectively conducted through the on-off of different switch modules, so that the flexible power supply of the main power supply and the standby power supply to three power rails can be realized under the same circuit structure.
Drawings
Fig. 1 is a schematic structural diagram of a dual power management circuit according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a first switch module according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a second switch module according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a dual power management circuit including a third switch module according to an embodiment of the disclosure
Fig. 5 is a schematic structural diagram of a third switch module according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram illustrating specific operations of a dual power switching control module according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a dual power management circuit including a charging module according to an embodiment of the present disclosure;
FIG. 8 is a schematic diagram of a dual power management circuit including a power internal resistance detection module according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a power internal resistance detection module according to an embodiment of the present application;
FIG. 10 is a schematic diagram of a dual power management circuit including a first diode and a second diode according to an embodiment of the present application;
FIG. 11 is a schematic flow chart diagram illustrating a dual power management method according to an embodiment of the present application;
fig. 12 is a schematic flowchart of a scenario embodiment of a dual power management method according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of a dual power management apparatus according to an embodiment of the application;
fig. 14 is a schematic structural diagram of a dual power management device according to an embodiment of the present application.
In the drawings:
10. a main power supply; 21. a first power rail; 22. a second power rail; 23. a third power rail; 30. a first voltage regulating module; 40. a first switch module; 50. a second voltage regulating module; 60. a second switch module; 70. a third switch module; 80. a standby power supply; 90. a charging module; 100. a power supply internal resistance detection module; 110. a first diode; 120. a second diode.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be further described below. It should be noted that the embodiments and features of the embodiments of the present disclosure may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced otherwise than as described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
As described in the background section, in some power utilization situations where power needs to be continuously supplied to a power utilization device to maintain the uninterrupted operation of the device, a main power source and a backup power source are used to switch power supply to corresponding power rails, so as to maintain the continuous operation of the power utilization device.
As the demand for electrical devices increases, the number of power rails required in the devices to provide voltages in different ranges also increases. In the present application, in order to cover the different power requirements of the individual electronic components or circuit modules as fully as possible in the same device (e.g. vehicle), it is proposed to provide three power rails with different power supply ranges on the device. However, a dual power supply for three power rails with different voltage ranges required on the same device is not a specific dual power supply management scheme.
Based on this, in order to solve the prior art problems, embodiments of the present application provide a dual power management circuit, a method, an apparatus, a device, and a computer storage medium. It should be noted that the examples provided herein are not intended to limit the scope of the disclosure herein.
Note that the power supply rails in this application are: the power rail or voltage rail is an output of a certain voltage value provided by the power supply unit, including the main power supply or the standby power supply, such as +5v rail. In design, the power rail is often used as a supply voltage to power electrical or electronic devices or components on the integrated circuit board.
The dual power management circuit provided in the embodiment of the present application is first described below. Referring to fig. 1, fig. 1 is a schematic structural diagram illustrating a dual power management circuit according to an embodiment of the present disclosure. As shown in fig. 1, the dual power management circuit includes:
a main power supply 10, the main power supply 10 being electrically connected to the first power rail 21;
a first end of the first voltage regulating module 30 is electrically connected with the main power supply 10 and the first power rail 21, respectively, and a second end of the first voltage regulating module 30 is electrically connected with the second power rail 22;
a first switch module 40, wherein a first end of the first switch module 40 is electrically connected with a second end of the first voltage regulating module 30;
a second voltage regulating module 50, wherein a first end of the second voltage regulating module 50 is electrically connected with a second end of the first switch module 40, and a second end of the second voltage regulating module 50 is electrically connected with the third power rail 23, a first end of the first voltage regulating module 30 and the first power rail 21 respectively;
a second switch module 60, wherein a second end of the second switch module 60 is electrically connected with a first end of the second voltage regulating module 50;
and the standby power supply 80, wherein the standby power supply 80 is electrically connected with the first end of the second switch module 60.
In this embodiment, by providing the first switch module 40, the second switch module 60, the first voltage regulating module 30, and the second voltage regulating module 50 between the main power supply 10 and the standby power supply 80 and between the first power rail 21, the second power rail 22, and the third power rail 23, when the main power supply 10 is switched to the standby power supply 80 to work, or when the standby power supply 80 is switched to the main power supply 10 to work, normal power supply to the three power rails can be realized according to on or off of different switch modules and by combining the first voltage regulating module 30 and the second voltage regulating module 50. The embodiment of the application provides a dual power management circuit, and when specifically using, circuit design is simple, low in manufacturing cost, can carry out main power 10 or stand-by power supply 80's selection conduction through the break-make of different switch module to can realize main power 10 and stand-by power supply 80 to the nimble power supply of three power rails under same circuit structure.
In practical applications, the supply range of the first power rail 21 partially coincides with the supply range of the third power rail 23. Since the supply range of the first power rail 21 partially overlaps the supply range of the third power rail 23, normal supply of power to the first power rail 21 and the third power rail 23, respectively, can be achieved at the same output voltage even when the backup power supply 80 is in operation.
In the present embodiment, when the main power supply 10 is operating, the first switch module 40 is in an on state, and the second switch module 60 is in an off state.
As such, for the first power rail 21, the main power supply 10 may directly supply power to the first power rail 21, since the main power supply 10 is connected to the first power rail 21.
For the second power rail 22, since the main power source 10 is electrically connected to the first end of the first voltage regulating module 30, and the second end of the first voltage regulating module 30 is directly electrically connected to the second power rail 22, the main power source 10 can directly supply power to the second power rail 22 through the first voltage regulating module 30.
For the third power rail 23, since the first switch module 40 is turned on, the main power supply 10 can supply power to the third power rail 23 through the first voltage regulating module 30, the turned-on first switch module 40 and the turned-on second voltage regulating module 50.
And, at this time, because the second switch module 60 is in the off state, the standby power supply 80 will not be connected to the circuit to form a complete power supply loop, so that the normal power supply of the main power supply 10 in the normal working state can be effectively ensured.
In another embodiment, the first switch module 40 is in an off state and the second switch module 60 is in an on state when the backup power source 80 is operating.
As described above, for the first power rail 21 and the third power rail 23, since the second switch module 60 is in the on state, the standby power 80 can supply power to the first power rail 21 and the third power rail 23 through the on second switch module 60 and the on second voltage regulating module 50.
For the second power rail 22, since the second switch module 60 is in the on state, the second end of the second voltage regulating module 50 is electrically connected to the first end of the first voltage regulating module 30, and the second end of the first voltage regulating module 30 is electrically connected to the second power rail 22, the standby power source 80 can supply power to the second power rail 22 through the second switch module 60, the second voltage regulating module 50, and the first voltage regulating module 30 which are turned on.
And, at this time, because the first switch module 40 is in the off state, the current flowing out of the second end of the first voltage regulating module 30 does not flow to the second voltage regulating module 50 through the first switch module 40, and so on, which effectively ensures the normal power supply of the standby power supply 80 to the first power rail 21, the second power rail 22 and the third power rail 23.
It is understood that, in the above-mentioned embodiment in which the backup power supply 80 operates, the main power supply 10 is in a non-operating state, and the electrical connection between the main power supply 10 and the first power rail 21 and the first end of the first voltage regulating module 30 is disconnected, and the connection and disconnection can be controlled by a switch or the like, which will not be described in detail in this application.
It should be noted that the voltage value of the main power source 10, the voltage value of the backup power source 80, and the power supply range of the first power rail 21, the second power rail 22, and the third power rail 23 may be determined according to actual power utilization situations and specific requirements, and when the power voltage value is different from the power rail power supply range, the voltage regulation types (voltage increase and voltage decrease) and the voltage regulation capabilities of the first voltage regulating module 30 and the second voltage regulating module 50 may also be adaptively adjusted, which is not particularly limited in the present application.
For example, in a specific implementation scenario in which the dual power management circuit is powered by a vehicle-mounted terminal, the main power supply 10 may be a main power supply of the vehicle-mounted terminal, and the voltage value is 14V; the backup power supply 80 may be an emergency power supply of the vehicle-mounted terminal, and the voltage value is 5V.
The first power rail 21 may be a wide voltage power rail, and the operating voltage range is 6-18V; the second power rail 22 may be a 5V power rail, which may be adjusted between 3.3-5.5V as required; the third power rail 23 may be a 9V power rail, and the third power rail 23 may be adjusted between 6-9V as required.
It should be noted that in this example, the power supply range of the first power rail 21 also overlaps with the power supply range of the third power rail 23, so that, when the backup power source 80 is operating, the backup power source 80 can respectively satisfy the power supply requirements of the first power rail 21 and the third power rail 23 through the voltage regulated by the second voltage regulating module 50.
And correspondingly, since the power supply range of the second power rail 22 is smaller than the power supply range of the first power rail 21 and smaller than the power supply range of the third power rail 23 in this example, the voltage regulation function performed by the first voltage regulation module 30 at this time is actually a step-down function, and the voltage regulation function performed by the second voltage regulation module 40 is actually a step-up operation.
In some possible implementations, the first switch module 40 and the second switch module 60 may respectively include: an anti-reflection sub-module and a switch sub-module.
A first end of the anti-kickback module of the first switch module 40 may be electrically connected with a second end of the first voltage regulating module 30, a second end of the anti-kickback module of the first switch module 40 may be electrically connected with a first end of the switch sub-module of the first switch module 40, and a second end of the switch sub-module of the first switch module 40 may be electrically connected with a first end of the second voltage regulating module 50.
A first end of the anti-backup module of the second switch module 60 may be electrically connected with the backup power supply 80, a second end of the anti-backup module of the second switch module 60 may be electrically connected with a first end of the switch sub-module of the second switch module 60, and a second end of the switch sub-module of the second switch module 60 may be electrically connected with a first end of the second voltage regulating module 50.
The anti-reverse modules in each of the switch modules described above may be used to prevent the main power supply 10 or the backup power supply 80 from being reversed.
The switch sub-modules in each switch module can be used to turn on or off the first switch module 40 or the second switch module 60, respectively.
In some possible implementations, the anti-inversion module may include a first PMOS transistor, and the switch sub-module may include a first NMOS transistor, a second PMOS transistor, and a pull-up resistor;
the source electrode of the first PMOS tube and the source electrode of the second PMOS tube are electrically connected with the first end of the pull-up resistor;
the grid electrode of the first PMOS tube and the grid electrode of the second PMOS tube are electrically connected with the second end of the pull-up resistor;
the second end of the pull-up resistor is electrically connected with the drain electrode of the first NMOS tube, and the source electrode of the first NMOS tube is grounded;
the drain of the first PMOS transistor in the first switch module 40 is electrically connected to the second end of the first voltage regulating module 30, and the drain of the second PMOS transistor in the first switch module 40 is electrically connected to the first end of the second voltage regulating module 50;
the drain of the first PMOS transistor in the second switch module 60 is electrically connected to the standby power supply 80, and the drain of the second PMOS transistor in the second switch module 60 is electrically connected to the first end of the second voltage regulating module 50.
Specifically, please refer to fig. 2, wherein fig. 2 is a schematic structural diagram of a first switch module 40 according to an embodiment of the present disclosure. As shown in fig. 2, in the first switch module 40, a source of the first PMOS transistor M1 of the first switch module 40 and a source of the second PMOS transistor M2 of the first switch module 40 are electrically connected to a first end of the pull-up resistor R1; the grid electrode of the first PMOS transistor M1 and the grid electrode of the second PMOS transistor M2 of the first switch module 40 are electrically connected with the second end of the pull-up resistor R1; the second end R1 of the pull-up resistor is electrically connected to the drain of the first NMOS transistor M3, and the source of the first NMOS transistor M3 is grounded.
The drain of the first PMOS transistor M1 in the first switch module 40 is electrically connected to the second end (potential is Vo 2) of the first voltage regulating module 30, and the drain of the second PMOS transistor M2 in the first switch module 40 is electrically connected to the first end (potential is Vupin) of the second voltage regulating module 50.
Thus, when cs01 received by the gate of the first NMOS transistor M3 in the first switch module 40 is at a high level, the first NMOS transistor M3 is turned on, and the first PMOS transistor M1 in the first switch module 40 and the second PMOS transistor M2 in the first switch module 40 are controlled to be turned on. When the cs01 received by the gate of the first NMOS transistor M3 in the first switch module 40 is a low level, the first NMOS transistor M3 is turned off, and the first PMOS transistor M1 and the second PMOS transistor M2 in the first switch module 40 are controlled to be turned off.
And, because of the existence of the parasitic diode in the first PMOS transistor M1 in the first switch module 40, the main power supply 10 or the backup power supply 80 can be effectively prevented from being connected in reverse, thereby effectively avoiding the problems of damage to related devices, increase of economic risk and the like caused by power supply reverse connection.
It should be noted that the cs01 received by the gate of the first NMOS transistor M3 in the first switch template 40 may be sent by a related controller, or directly implement high-low level conversion, level signal sending, and the like based on a hardware circuit, which is not limited in this application.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a second switch module 60 according to an embodiment of the present disclosure. As shown in fig. 3, in the second switch module 60, the source of the first PMOS transistor M4 of the second switch module 60 and the source of the second PMOS transistor M5 of the second switch module 60 are electrically connected to the first end of the pull-up resistor R1; the grid electrode of the first PMOS transistor M4 and the grid electrode of the second PMOS transistor M5 of the second switch module 60 are electrically connected to the second end of the pull-up resistor R1; the second end R1 of the pull-up resistor is electrically connected to the drain of the first NMOS transistor M6, and the source of the first NMOS transistor M6 is grounded.
The drain of the first PMOS transistor M4 in the second switch module 60 (with a potential of Vupkp 2) is electrically connected to the standby power supply, and the drain of the second PMOS transistor M5 in the second switch module 60 is electrically connected to the first end of the second voltage regulating module 50 (with a potential of Vupin).
In this way, when the gate of the first NMOS transistor M6 in the second switch module 60 receives cs02 high level, the first NMOS transistor M6 is turned on, and the first PMOS transistor M4 in the second switch module 60 and the second PMOS transistor M5 in the second switch module 60 are controlled to be turned on. When cs02 received by the gate of the first NMOS transistor M6 in the second switch module 60 is a low level, the first NMOS transistor M6 is turned off, and the first PMOS transistor M4 and the second PMOS transistor M5 in the second switch module 60 are controlled to be turned off.
And, due to the existence of the parasitic diode in the first PMOS transistor M4 in the second switch module 60, the reverse connection of the main power supply 10 or the standby power supply 80 can be effectively prevented, so that the problems of damage to related devices and increase of economic risk caused by the reverse connection of the power supplies can be effectively avoided.
It should be noted that the cs02 received by the gate of the first NMOS transistor M6 in the second switch template 60 may be sent by a related controller, or directly implement high-low level conversion and level signal sending based on a hardware circuit, and the application is not limited in this respect.
In some embodiments, in combination with a practical application scenario, in order to further implement flexible control over a working loop and a state of the dual power management circuit, the dual power management circuit may further include:
and a third switching module 70, wherein a first end of the third switching module 70 is electrically connected with the standby power supply 80, and a second end of the third switching module 70 is electrically connected with a first end of the second switching module 60.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a dual power management circuit including a third switch module 70 according to an embodiment of the present disclosure.
In fig. 4, a first terminal of the third switch module 70 is electrically connected to the standby power supply 80, and a second terminal of the third switch module 70 is electrically connected to a first terminal of the second switch module 60, so that the standby power supply 80 can supply power to the first power rail 21, the second power rail 22, and the third power rail 23 only when the third switch module 70 and the second switch module 60 are both turned on and the first switch module 40 is turned off; and correspondingly, in this embodiment, when the third switch module 70 and the second switch module 60 are both turned off and the first switch module 40 is turned on, the main power supply 10 can supply power to the first power rail 21, the second power rail 22 and the third power rail 23 respectively.
Specifically, the third switch module 70 may also include the anti-inversion module and the switch module as described in the foregoing embodiments, and the anti-inversion module in the third switch module 70 may also include the first PMOS transistor as described in the foregoing embodiments, and the switch module in the third switch module 70 may also include the first NMOS transistor, the second PMOS transistor and the pull-up resistor as described in the foregoing embodiments.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a third switch module 70 according to an embodiment of the present disclosure. As shown in fig. 5, in the third switching module 70, the source of the first PMOS transistor M7 of the third switching module 70 and the source of the second PMOS transistor M8 of the third switching module 70 are electrically connected to the first end of the pull-up resistor R1; the gate of the first PMOS transistor M7 and the gate of the second PMOS transistor M8 of the third switching module 70 are electrically connected to the second end of the pull-up resistor R1; the second end R1 of the pull-up resistor is electrically connected to the drain of the first NMOS transistor M9, and the source of the first NMOS transistor M9 is grounded.
The drain of the first PMOS transistor M7 in the third switch module 70 is electrically connected to the standby power supply 80 (with a potential of Vbkp), and the drain of the second PMOS transistor M8 in the third switch module 70 (with a potential of Vbkp 2) is electrically connected to the drain of the first PMOS transistor M4 in the second switch module 60.
In this way, when cs03 received by the gate of the first NMOS transistor M9 in the third switching module 70 is at a high level, the first NMOS transistor M9 is turned on, and the first PMOS transistor M7 in the third switching module 70 and the second PMOS transistor M8 in the third switching module 70 are controlled to be turned on. When cs03 received by the gate of the first NMOS transistor M9 in the third switching module 70 is a low level, the first NMOS transistor M9 is turned off, and the first PMOS transistor M7 and the second PMOS transistor M8 in the third switching module 70 are controlled to be turned off.
And, considering the charging scenario of the subsequent backup power source 80, the current of the third switching module 70 flows from Vbkp to Vbkp2 when the backup power source is discharged, and from Vbkp2 to Vbkp1 when the backup power source 80 is charged.
For different charging and discharging scenes of the backup power supply 80, because the first PMOS transistor M7 and the second PMOS transistor M8 in the third switch module 70 both include parasitic diodes, the first PMOS transistor M7 in the third switch module 70 plays a role in preventing reverse in the discharging scene, and the second PMOS transistor M8 in the third switch module 70 plays a role in preventing reverse in the charging scene. In this way, the reverse connection of the main power supply 10 or the backup power supply 80 can be effectively prevented, so that the problems of damage to related devices and increase of economic risk caused by the reverse connection of the power supplies can be effectively avoided.
It should be noted that the cs03 received by the gate of the first NMOS transistor M9 in the third switch template 70 may be sent by a related controller, or directly implement high-low level conversion and level signal sending based on a hardware circuit, and the application is not limited in this respect.
In some possible implementations, the dual power management circuit can further include a dual power switching control module,
a first end of the dual power supply switching control module can be electrically connected with a main power supply 10;
the second end of the dual power switching control module may be electrically connected to the gate of the first NMOS in the first switch module 40 and the gate of the first NMOS in the second switch module 60, respectively;
the dual power switching control module may be configured to send a first level signal to a gate of the first NMOS in the first switch module 40 and send a second level signal to a gate of the first NMOS in the second switch module 60, respectively, according to the first voltage value of the main power source 10.
Therefore, through the dual-power switching control module, the working state switching between the main power supply and the standby power supply based on the hardware circuit can be effectively realized.
In some possible implementations, the dual power switching control module may specifically include: the power supply comprises a first voltage-dividing resistor, a second voltage-dividing resistor, an NPN triode, a first power supply and a third NMOS tube, wherein the first power supply is used for providing a high-level signal;
a first end of the first voltage-dividing resistor may be electrically connected to the main power supply 10, a second end of the first voltage-dividing resistor may be electrically connected to a first end of the second voltage-dividing resistor, and a second end of the second voltage-dividing resistor is grounded;
the second end of the first divider resistor and the first end of the second divider resistor are both electrically connected with the base electrode of the NPN triode;
a collector electrode of the NPN triode is electrically connected with the first power supply, the gate electrode of the third NMOS transistor, and the gate electrode of the first NMOS in the first switch module 40, respectively, and an emitter electrode of the NPN triode is grounded;
the drain of the third NMOS transistor is electrically connected to the gate of the first NMOS in the second switch module 60, and to the first power supply, respectively, and the source of the third NMOS transistor is grounded.
In a specific implementation, the NPN transistor is configured to be turned on when the first voltage value of the main power supply 10 is greater than the first threshold, provide a low level signal to the gate of the first NMOS transistor M6 in the second switch module 60, and control the third NMOS transistor to be turned off, and provide a high level signal to the gate of the first NMOS transistor M3 in the first switch module 40.
The NPN transistor is further configured to turn off when the first voltage value of the main power supply 10 is smaller than the first threshold, provide a high level signal to the gate of the first NMOS transistor M6 in the second switch module 60, and control the third NMOS transistor to turn on, and provide a low level signal to the gate of the first NMOS transistor M3 in the first switch module 40.
The following describes a specific operation process of the dual power supply switching control module with reference to fig. 6.
Fig. 6 is a schematic structural diagram of a specific operation of a dual power switching control module according to an embodiment of the present application, as shown in fig. 6, fig. 6 further includes a specific implementation structure of the aforementioned first switch module 40 and the second switch module 60, and in fig. 6, a high-level signal providing function of the first power supply is implemented based on the standby power supply by electrically connecting a collector of the NPN transistor Q1 and a drain (with a potential of Vupkp 2) of the first PMOS transistor M4 in the second switch module 60.
It should be noted that, since the resistance of the resistor R6 in fig. 6 is small, the voltage reduction effect for the Vupkp2 potential is negligible.
In this embodiment, considering that the control signals cs01 and cs02 are always opposite, that is, only one of the first switch module 40 and the second switch module 60 is turned on at the same time, one signal can be used to generate two signals cs01 and cs02 for controlling the on/off of the first switch module 40 and the second switch module 60. In fig. 6, the third NMOS transistor M11 may specifically implement this function, i.e., cs02 is used as a preceding stage control signal, and the non-logic is implemented by M11.
In this embodiment, the judgment of the undervoltage or overvoltage of the voltage value Vmain of the main power supply 10, that is, the judgment of whether the first voltage value of the main power supply 10 is smaller than the first threshold value may be specifically implemented by the first voltage dividing resistor R7, the second voltage dividing resistor R8, and the NPN transistor Q1 in fig. 6. The first voltage dividing resistor R7 and the second voltage dividing resistor R8 form a voltage dividing circuit, and the first voltage value Vmain of the main power supply 10 is converted into a voltage Vmain2 suitable for control; r6 is a pull-up resistor; q1 is turned on or off under the control of Vmain 2.
When Vmain2 is greater than Vbesat of NPN transistor Q1, Q1 is turned on, and collector voltage Vc of NPN transistor Q1 is 0.
When Vmain2 is less than Vbesat of NPN triode Q1, Q1 is turned off, and collector voltage Vc of Q1 is Vbkp2.
The first threshold specifically includes: vmain (th) = Vbesat (R7 + R8)/R8
That is, when Vmain is greater than Vmain (th), vc is 0; when Vmain is less than Vmain (th), vc is Vbkp2.
Overvoltage condition for the main power supply 10:
when the first voltage value Vmain of the main power supply 10 is greater than the first threshold Vmain (th), vmain2 is greater than Vbesat of the NPN transistor Q1, and at this time, the NPN transistor Q1 is turned on to provide a low level signal to the gate of the first NMOS transistor M6 in the second switch module 60, cs02 is 0, and control the third NMOS transistor M11 to be turned off to provide a high level signal to the gate of the first NMOS transistor M3 in the first switch module 40, and cs01 is 1.
In this way, the first switch module 40 is turned on, the second switch module 60 is turned off, and the main power supply 10 can supply power to the first power rail 21, the second power rail 22 and the third power rail 23, respectively.
For an under-voltage condition of the main power supply 10:
when the first voltage value Vmain of the main power supply 10 is smaller than the first threshold Vmain (th), vmain2 is smaller than Vbesat of the NPN transistor Q1, the NPN transistor is turned off, a high level signal is provided to the gate of the first NMOS transistor M6 in the second switch module 60, cs02 is 1, the third NMOS transistor M11 is controlled to be turned on, a low level signal is provided to the gate of the first NMOS transistor M3 in the first switch module 40, and cs01 is 0.
In this way, the first switch module 40 is turned off, the second switch module 60 is turned on, and the standby power source 80 can respectively supply power to the first power rail 21, the second power rail 22 and the third power rail 23 under the condition that the third switch module 70 is turned on.
In some possible implementations, in order to more reasonably and effectively implement power management on the main power supply 10 and the backup power supply 80, the dual power supply management circuit may further include:
a first end of the charging module 90 is electrically connected to a first end of the second switch module 60, and a second end of the charging module 90 is electrically connected to a second end of the second voltage regulating module 50;
the charging module 90 is configured to charge the backup power source 80 through the main power source 10 when the first switch module 40 is turned on, the second switch module 60 is turned off, the first voltage value of the main power source 10 is greater than the first threshold, and the second voltage value of the backup battery is less than the second threshold.
Referring now to fig. 7, fig. 7 is a dual power management circuit including a charging module 90 according to an embodiment of the present disclosure. As shown in fig. 6, a first end of the charging module 90 is electrically connected to a first end of the second switching module 60, and a second end of the charging module 90 is electrically connected to a second end of the second voltage regulating module 50.
Specifically, the charging module 90 may charge the backup power supply 80 through the main power supply 10 when the first switch module 40 is turned on, the second switch module 60 is turned off, the first voltage value of the main power supply 10 is greater than the first threshold, and the second voltage value of the backup battery is less than the second threshold.
Specifically, in fig. 7, when the charging module 90 is enabled, the main power supply 10 charges the backup power supply 80 through the first voltage regulating module 30, the conducted first switch module 40, the conducted second voltage regulating module 50, the enabled charging module 90.
In addition, since the second switch module 60 is in the off state at this time, the current flowing from the second end of the first switch module 40 can only flow to the second voltage regulating module 50 and then to the enabled charging module 90, so that the charging module 90 is not short-circuited by the second switch module 60 and the third switch module 70.
It can be understood that, when the third switching module 70 as described in the foregoing embodiment is included in the dual power management circuit, the charging module is specifically configured to charge the backup power supply 80 through the main power supply 10 when the third switching module 70 is turned on, the first switching module 40 is turned on, the second switching module 60 is turned off, and the first voltage value of the main power supply 10 is greater than the first threshold value and the second voltage value of the backup battery is smaller than the second threshold value.
It should be noted that, the charging module may specifically adopt a boost circuit in the prior art to implement a charging function, and the present application is not limited to this specifically.
In some possible implementations, in order to detect the health status of the backup power supply 80 in time, so as to achieve more reasonable management of the power supply, the dual power management circuit may further include:
and the power internal resistance detection module 100, the power internal resistance detection module 100 being electrically connected to the first end of the second switch module 60, is configured to detect the power internal resistance of the standby power supply 80.
Specifically, referring to fig. 8, fig. 8 is a dual power management circuit including a power internal resistance detection module 100 according to an embodiment of the present application. As shown in fig. 8, the power internal resistance detection module 100 is electrically connected to the first end of the second switch module 60, so that the power internal resistance detection module 100 can detect the power internal resistance of the standby power source 80.
In some possible implementations, specifically, the power internal resistance detection module 100 may include a detection resistor, a pull-down resistor, and a second NMOS transistor;
a first end of the detection resistor is electrically connected with a first end of the second switch module 60, and a second end of the detection resistor is electrically connected with a drain electrode of the second NMOS transistor;
the grid electrode of the second NMOS tube is electrically connected with the first end of the pull-down resistor, the source electrode of the second NMOS tube is electrically connected with the second end of the pull-down resistor, and the second end of the pull-down resistor is grounded.
Specifically, please refer to fig. 8, and fig. 9 is a schematic structural diagram of a power internal resistance detection module 100 according to an embodiment of the present application.
As shown in fig. 9, a first terminal of the detection resistor Rdetect is electrically connected to a first terminal (node potential is Vbkp 2) of the second switch module 60, a node potential of the first terminal of the detection resistor Rdetect, and a power source detection point voltage is Vdet; the second end of the detection resistor Rdetect is electrically connected with the drain electrode of the second NMOS tube M010.
The gate of the second NMOS transistor M10 is electrically connected to the first end of the pull-down resistor R4, the source of the second NMOS transistor M10 is electrically connected to the second end of the pull-down resistor R4, and the second end of the pull-down resistor R4 is grounded.
Thus, when the control signal cs04 received by the gate of the second NMOS transistor M010 is 0, the second NMOS transistor M10 is turned off to obtain the power detection point voltage Vdet1; when the control signal cs04 received by the gate of the second NMOS transistor M010 is 1, the second NMOS transistor M10 is turned on, and the power detection point voltage Vdet2 is obtained.
When the second NMOS transistor M10 is turned on, the current on the detection resistor Rdetect (i.e., the current of the standby power supply 80) is:
Figure BDA0003798588090000161
when the second NMOS transistor M10 is turned off, the voltage Vdet1 at the power detection point is the voltage of the standby power 80, and there are:
V det1 =V det2 +R i I
Figure BDA0003798588090000162
wherein Ri is the internal power supply resistance of the backup power supply 80;
thus, the actual internal power resistance Ri of the backup power supply 80 can be calculated as:
Figure BDA0003798588090000171
in some possible implementations, to further ensure the normal operation of the main power source 10 and the backup power source 80 and the normal power output of the first power rail 21, the second power rail 22, and the third power rail 23, the dual power management circuit may further include:
a first diode 110, an anode of the first diode 110 being electrically connected to the second end of the second voltage regulation module 50, and a cathode of the first diode 110 being electrically connected to the first end of the first voltage regulation module 30;
and a second diode 120, wherein an anode of the second diode 120 is electrically connected to the main power supply 10, and a cathode of the second diode 120 is electrically connected to the first end of the first voltage regulating module 30.
One possible implementation of the above is described in detail below with reference to fig. 10. Referring to fig. 10, fig. 10 is a schematic diagram illustrating a dual power management circuit including a first diode and a second diode according to an embodiment of the present disclosure.
As shown in fig. 10, an anode of the first diode 110 is electrically connected to the second end of the second voltage regulation block 50, a cathode of the first diode 110 is electrically connected to the first end of the first voltage regulation block 30, an anode of the second diode 120 is electrically connected to the main power supply 10, and a cathode of the second diode 120 is electrically connected to the first end of the first voltage regulation block 30.
Thus, by utilizing the unidirectional conduction characteristics of the first diode 110 and the second diode 120, the normal operation of the main power supply 10 and the standby power supply 80 and the normal power supply output of the first power rail 21, the second power rail 22 and the third power rail 23 can be effectively ensured.
Based on the dual power management circuit provided in the above embodiment, an embodiment of the application further provides a dual power management method, specifically please refer to fig. 11. Fig. 11 shows a flowchart of a dual power management method according to an embodiment of the present application. It should be noted that, the method is applied to the dual power management circuit provided in any one of the embodiments of the present application, and the execution subject of the method may be, but is not limited to, a microcontroller unit, a digital signal processing chip, a single chip microcomputer, or a device terminal.
As shown in fig. 11, the dual power supply management method is applied to the dual power supply management circuit provided in any one of the embodiments of the present application, and includes:
s1010, detecting whether a first voltage value of the main power supply is smaller than a first threshold value;
and S1020, when the first voltage value is smaller than the first threshold, sending a turn-off level signal to the first switch module, and sending a turn-on level signal to the second switch module, so that the first switch module is turned off, the second switch module is turned on, and the standby power supply supplies power to the first power rail, the second power rail and the third power rail respectively.
According to the dual-power-supply management method, the first voltage value of the main power supply is detected, and corresponding level signals are sent to the first switch module and the second switch module in time under the condition that the first voltage value is smaller than the first threshold value, so that the standby battery can normally supply power to the first power rail, the second power rail and the third power rail respectively. Therefore, the working state switching between the main power supply and the standby power supply can be realized, and the standby power supply can flexibly supply power to the three power rails.
The following describes a specific implementation manner of each step by taking a Micro Controller Unit (MCU) as an execution subject.
In S1010, in a specific implementation, the mcu may be in communication with the dual power management circuit provided in any of the embodiments of the present application, for example, a voltage sensor may be electrically connected to a main power source.
Therefore, the micro control unit can timely detect whether the first voltage value of the main power supply is smaller than the first threshold value by receiving the sensing signal sent by the voltage sensor.
In S1020, in specific implementation, the micro control unit may establish communication with the first switch module and the second switch module in the dual power management circuit in the foregoing embodiment in advance, so as to implement state control of turning on or off the first switch module and the second switch module.
For example, if the sensing signal received by the micro control unit and sent by the voltage sensor indicates that the first voltage value of the main power supply is smaller than the first threshold, at this time, the micro control unit sends an off level signal to the first switch module to turn off the first switch module; and sending a conducting level signal to the second switch module to enable the second switch module to be conducted.
Therefore, when the first switch module is turned off and the second switch module is turned on, the standby power supply can normally supply power to the first power rail, the second power rail and the third power rail respectively.
It should be noted that, in consideration of that when the specific structures of the first switch module and the second switch module in the dual power management circuit are changed, the levels of the turn-off level signal and the turn-on level signal are also correspondingly adjusted, and therefore, the present application does not specifically limit the turn-off level signal and the turn-on level signal.
In some implementation manners, the dual power management circuit may be specifically disposed in a vehicle, and the dual power management circuit may include a third switch module, in this embodiment, in combination with vehicle states under different conditions, in order to implement power supply management on the main power source and the standby power source more reasonably, before detecting whether a first voltage value of the main power source is smaller than a first threshold, the dual power management method may further include:
acquiring state information of a vehicle;
determining that the vehicle is in a non-transportation state or a new vehicle storage state according to the state information of the vehicle;
and sending a conducting level signal to the third switching module to enable the third switching module to be conducted.
In a specific implementation, the micro control unit may establish communication with the intelligent driving system of the vehicle or other related units in advance, so as to obtain the state information of the vehicle by receiving the state information of the vehicle sent by the intelligent driving system of the vehicle, for example.
If the vehicle is currently in a non-transportation state or a new vehicle storage state, after the state information of the vehicle is acquired, the micro control unit can determine that the vehicle is currently in the non-transportation state or the new vehicle storage state according to the vehicle state specifically indicated by the state information.
It should be noted that the specific form of the vehicle status information may not be limited to at least one of a message, a code, an electrical signal, and the like, and the present application does not specifically limit this.
In some implementations, it is considered that the main power supply is generally continuously supplied before switching to the standby power supply for supplying power, and therefore, before acquiring the state information of the vehicle, the dual power supply management method may further include:
performing a target operation to cause a primary power source to supply power to the first power rail, the second power rail, and the third power rail, respectively;
the target operation may specifically include:
sending a conducting level signal to the first switch module to enable the first switch module to be conducted;
sending a turn-off level signal to the second switch module to turn off the second switch module;
and sending a turn-off level signal to the third switching module to turn off the third switching module.
Therefore, before the state information of the vehicle is obtained, corresponding on or off signals are respectively sent to the first switch module, the second switch signal and the third switch signal in the dual power management circuit in the above embodiment, so that the main power supply can respectively and normally supply power to the first power rail, the second power rail and the third power rail under the condition that the first switch module is on, the second switch module is off and the third switch module is off, and at this time, because the third switch module is off, the standby power supply is not connected to the loop to supply power, so that the normal work of the main power supply is effectively guaranteed.
It should be noted that, similarly, when the specific structures of the first switch module and the second switch module in the dual power management circuit are changed, the levels of the turn-off level signal and the turn-on level signal are also adjusted accordingly, and therefore, the present application is not limited to the turn-off level signal and the turn-on level signal.
In some implementations, the dual power management circuit may further include a charging module, and in order to charge the backup power more reasonably in consideration of an actual charging scenario, after detecting whether the first voltage value of the main power is less than the first threshold, the dual power management method may further include:
detecting whether a second voltage value of the standby power supply is smaller than a second threshold value or not under the condition that the first voltage value is larger than the first threshold value;
and sending a conducting level signal to the first switch module and sending a switching-off level signal to the second switch module under the condition that the second voltage value is smaller than the second threshold value, so that the main power supply charges the standby power supply through the charging module.
In a specific implementation, the micro control unit may also establish communication with the dual power management circuit provided in any of the embodiments of the present application in advance, for example, a further voltage sensor may be electrically connected to the standby power supply.
Therefore, when the third switch module is turned on and the first voltage of the main power supply is detected to be greater than the first threshold, the micro control unit can receive the sensing signal sent by the voltage sensor, so that whether the second voltage value of the standby power supply is smaller than the second threshold can be detected in time.
For example, if the sensing signal received by the micro control unit and sent by the voltage sensor indicates that the second voltage value of the backup power supply is smaller than the first threshold, at this time, the micro control unit sends an on level signal to the first switch module and sends an off level signal to the second switch module, so that the charging module operates, and based on the first switch module after being turned on and the second switch module after being turned off in the dual power management circuit, the charging of the backup power supply by the main power supply is realized through the charging module in an operating state.
In some implementation manners, in order to detect the health state of the standby power supply in time, so as to achieve more reasonable management of the power supply, the dual power supply management circuit in this embodiment may further include a power supply internal resistance detection module, and after detecting whether the second voltage value of the standby power supply is smaller than the second threshold, the dual power supply management method may further include:
sending an enabling signal to the power supply internal resistance detection module under the condition that the second voltage value is larger than a second threshold value, so that the power supply internal resistance detection module detects the power supply internal resistance of the standby power supply;
receiving power supply internal resistance detection parameters sent by a power supply internal resistance detection module;
determining the resistance value of the power supply internal resistance of the standby power supply according to the power supply internal resistance detection parameters;
outputting power supply replacement prompt information of the standby power supply under the condition that the resistance value is greater than a third threshold value;
in the case where the resistance value is smaller than the third threshold value, the count value of the counter is set to 1.
It should be noted that the specific form of the enable signal may not be limited to at least one of a digital signal, an analog signal or other electrical signals, and the present application does not limit this.
The power internal resistance detection parameter may specifically include a voltage, a current, or other circuit parameters of a relevant internal resistance detection node in the dual power management circuit, which is not specifically limited in this application, and is specifically determined according to a working principle of the power internal resistance detection module in the dual power management circuit.
The specific form of the power supply replacement prompt message may include, but is not limited to: at least one of pop-up window prompt, voice broadcast prompt, short message notification form, warning sound prompt and the like of the vehicle-mounted intelligent screen is not specifically limited in the application.
In this embodiment, when the second voltage value is greater than the second threshold, the power internal resistance detection module detects the power internal resistance of the standby power supply by sending an enable signal to the power internal resistance detection module. Based on this, after the power internal resistance detection parameters are obtained, the power internal resistance detection parameters can be correspondingly processed and calculated based on kirchhoff's law or other laws suitable for circuits, and therefore the actual resistance value of the power internal resistance of the standby power supply can be obtained.
After the actual resistance value of the internal power resistance of the standby power supply is determined, specifically, the resistance value is compared with a third threshold value, and under the condition that the resistance value is larger than the third threshold value, power supply replacement prompt information of the standby power supply, such as pop-up window prompt of a vehicle-mounted intelligent screen, is output; and under the condition that the resistance value is smaller than the third threshold value, the counting value of the counter is set to be 1 so as to indicate that the standby power supply is in a healthy state.
In some implementations, in order to implement management of the main power source and the standby power source more reasonably, sending an enable signal to the power source internal resistance detection module may include:
inquiring the count value of the counter;
sending an enabling signal to a power supply internal resistance detection module under the condition that the count value overflows or is reset;
in the case where the count value does not overflow and is not cleared, the count value is incremented by 1.
It should be noted that, in this embodiment, the count value of the counter is cleared when the main power supply is powered on and the system is initialized, and in consideration of the diversity of the application of the counter, the detailed description of this application is omitted.
In order to facilitate understanding of the dual power management method provided by the above embodiment, the above method is described below with a specific scenario embodiment. Fig. 12 is a schematic flowchart of a scenario embodiment of a dual power management method according to an embodiment of the present application.
The application scenario of the scenario embodiment may be as follows: the main power supply and the standby power supply of the vehicle-mounted terminal both need to supply power to the three power rails, wherein the main power supply and the standby power supply power in a staggered mode.
As shown in fig. 12, the scenario embodiment may specifically include the following steps:
step one, in the vehicle, after a main battery of the vehicle-mounted terminal is switched on, namely a first voltage value Vmain of the main battery is electrified.
At the moment, the first voltage regulating module Step-Down works, the first Switch module Switch1 is turned on, the second voltage regulating module Step-Up works, and the first power rail Vo1, the second power rail Vo2 and the third power rail Vo3 are all normally output; the second Switch module Switch2 and the third Switch module Switch3 are turned off; and the charging module, the Charger, the power supply internal resistance detection module, the Health Monitor and the counter are closed and reset.
Step two, the micro control unit receives the state information of the vehicle, wherein the state information is specifically a CAN instruction, and whether the current vehicle state is a transportation mode is analyzed based on the received CAN instruction; if the CAN command is in the transportation mode, no operation is performed, and a next CAN command is waited; if the mode is not the transport mode, the third Switch module Switch3 is turned on, and the standby power supply is connected.
And step three, detecting a first voltage value Vmain of the main power supply, and if the first voltage value Vmain is lower than a first threshold value, determining that Vmini is under-voltage, at the moment, closing (turning off) the first Switch module Switch1, opening (turning on) the second Switch module Switch2, and closing the charging module Charger, wherein the standby power supply normally supplies power to the first power rail Vo1, the second power rail Vo2 and the third power rail Vo 3.
Step four, if the first voltage value Vmain of the main power supply is higher than a first threshold value, the Vmain is considered to be normal, a second voltage value Vbkp of the standby power supply is detected, if the second voltage value Vbkp is lower than a second threshold value, the Vbkp is considered to be under-voltage, the first Switch module Switch1 is opened (conducted), the Switch2 is closed (turned off), and the charging module Charger works, the standby power supply is charged through the main power supply, and the step three is returned; if the second voltage value Vbkp is higher than the second threshold, it is considered that Vbkp is normal, the first Switch module Switch1 is turned on (conducting), the second Switch module Switch2 is turned off (switching off), and the charging module charge does not work.
Inquiring a counter corresponding to the Health Monitor of the power internal resistance detection module, if the count value of the counter is in a zero clearing state or an overflow state, performing Health detection on the resistance value of the power internal resistance of the standby power supply, and returning to the third step; if the count value of the counter is not overflowed and is not cleared, accumulating and returning to the third step; and when the resistance value of the internal power resistance of the standby power supply is detected healthily, if the resistance value of the internal power resistance of the standby power supply is higher than a third threshold value, prompting to replace the power supply, and returning to the step three.
In the embodiment of the present scenario, by setting the above reasonable flow determination steps, the flexible switching of the working states between the main power source and the standby power source can be realized, so that the normal power supply of the main power source and the standby power source to the three power rails respectively can be effectively realized.
Based on the dual power management method provided by the above embodiment and applied to the dual power management circuit described in any of the foregoing embodiments, correspondingly, the application also provides a dual power management device corresponding to the dual power management method. The resource management apparatus will be described in detail with reference to fig. 13.
Fig. 13 is a schematic structural diagram of a dual power management device provided in an embodiment of the present application, where the dual power management device is applied to a dual power management circuit provided in any one of the embodiments of the present application. The dual power management apparatus 1300 shown in fig. 13 includes:
a first detecting module 1310 for detecting whether a first voltage value of the main power supply is less than a first threshold;
the first sending module 1320 is configured to send an off level signal to the first switch module and send an on level signal to the second switch module when the first voltage value is smaller than the first threshold, so that the first switch module is turned off, the second switch module is turned on, and the standby power supply supplies power to the first power rail, the second power rail, and the third power rail respectively.
According to the dual-power-supply management device, through the corresponding functional modules, the first voltage value of the main power supply is detected under the condition that the third switch module is switched on, and corresponding level signals are timely sent to the first switch module and the second switch module under the condition that the first voltage value is smaller than the first threshold value, so that the standby battery can normally supply power to the first power rail, the second power rail and the third power rail respectively. Therefore, the working state switching between the main power supply and the standby power supply can be realized, and the standby power supply can flexibly supply power to the three power supply rails.
In some possible implementation manners, the dual power management circuit is disposed in the vehicle, and the dual power management circuit further includes a third switch module, in this embodiment, in combination with vehicle states under different conditions, in order to more reasonably implement power management on the main power source and the standby power source, before detecting whether the first voltage value of the main power source is smaller than the first threshold, the dual power management apparatus 1300 may further include:
the system comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module can be used for acquiring the state information of the vehicle;
the first determination module can be used for determining that the vehicle is in a non-transportation state or a new vehicle storage state according to the state information of the vehicle;
the second sending module may be configured to send the conduction level signal to the third switching module, so that the third switching module is turned on.
In some possible implementations, it is considered that the main power supply is always continuously supplied with power before switching to the backup power supply for supplying power, and therefore, before acquiring the status information of the vehicle, the dual power supply management apparatus 1300 may further include:
an execution module that can be configured to execute a target operation to cause a main power supply to supply power to a first power rail, a second power rail, and a third power rail, respectively;
the target operation may specifically include:
sending a conducting level signal to the first switch module to enable the first switch module to be conducted;
sending a turn-off level signal to the second switch module to turn off the second switch module;
and sending a turn-off level signal to the third switching module to turn off the third switching module.
In some possible implementations, the dual power management circuit may further include a charging module, and in order to charge the backup power more reasonably in consideration of an actual charging scenario, after detecting whether the first voltage value of the main power is smaller than the first threshold, the dual power management apparatus 1300 may further include:
the second detection module can be used for detecting whether a second voltage value of the standby power supply is smaller than a second threshold value or not under the condition that the first voltage value is larger than the first threshold value;
the third sending module may be configured to send an on level signal to the first switch module and send an off level signal to the second switch module, so that the main power source charges the backup power source through the charging module, when the second voltage value is smaller than the second threshold value.
In some possible implementations, in order to detect the health status of the backup power supply in time, so as to achieve more reasonable management of the power supply, the dual power management circuit may further include a power internal resistance detection module, and after detecting whether the second voltage value of the backup power supply is smaller than the second threshold, the dual power management apparatus 1300 may further include:
the fourth sending module may be configured to send an enable signal to the power internal resistance detection module when the second voltage value is greater than the second threshold value, so that the power internal resistance detection module detects the power internal resistance of the standby power supply;
the first receiving module can be used for receiving the power supply internal resistance detection parameters sent by the power supply internal resistance detection module;
the second determining module can be used for determining the resistance value of the power supply internal resistance of the standby power supply according to the power supply internal resistance detection parameter;
the output module can be used for outputting power supply replacement prompt information of the standby power supply under the condition that the resistance value is greater than the third threshold value;
and the setting module can be used for setting the count value of the counter to be 1 under the condition that the resistance value is smaller than the third threshold value.
In some possible implementation manners, in order to implement management of the main power supply and the standby power supply more reasonably, the fourth sending module may specifically include:
the query submodule can be used for querying the count value of the counter;
the sending submodule can be used for sending an enabling signal to the power supply internal resistance detection module under the condition that the count value overflows or is reset;
and the accumulation submodule can be used for adding 1 to the count value under the condition that the count value is not overflowed and is not cleared.
Fig. 14 is a schematic structural diagram of a dual power management device according to an embodiment of the present application.
The dual power management device may include a processor 1401 and a memory 1402 storing computer program instructions.
Specifically, the processor 1401 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured to implement one or more Integrated circuits of the embodiments of the present Application.
Memory 1402 may include mass storage for data or instructions. By way of example, and not limitation, memory 1402 may include a Hard Disk Drive (HDD), a floppy Disk Drive, flash memory, an optical Disk, a magneto-optical Disk, tape, or a Universal Serial Bus (USB) Drive or a combination of two or more of these. Memory 1402 may include removable or non-removable (or fixed) media, where appropriate. The memory 1402 may be internal or external to the integrated gateway disaster recovery device, where appropriate. In a particular embodiment, the memory 1402 is non-volatile solid-state memory.
The memory may include Read Only Memory (ROM), random Access Memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical, or other physical/tangible memory storage devices. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software comprising computer-executable instructions and when the software is executed (e.g., by one or more processors) it is operable to perform operations described with reference to the method according to an aspect of the disclosure.
The processor 1401 implements any one of the dual power supply management methods in the above embodiments by reading and executing computer program instructions stored in the memory 1402.
In one example, the data dual power management device can also include a communication interface 1403 and a bus 1410. As shown in fig. 14, the processor 1401, the memory 1402, and the communication interface 1403 are connected via a bus 1410 to communicate with each other.
The communication interface 1403 is mainly used for implementing communication between modules, apparatuses, units and/or devices in this embodiment of the present application.
Bus 1410 includes hardware, software, or both coupling the components of the dual power management device to each other. By way of example, and not limitation, a bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industrial Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industrial Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus or a combination of two or more of these. Bus 1410 may include one or more buses, where appropriate. Although specific buses are described and shown in the embodiments of the present application, any suitable buses or interconnects are contemplated by the present application.
The dual power supply management device executes the dual power supply management method in the embodiment of the present application, thereby implementing the dual power supply management method described in fig. 11.
In addition, in combination with the dual power management method in the foregoing embodiment, the embodiment of the present application may provide a computer storage medium to implement. The computer storage medium having computer program instructions stored thereon; the computer program instructions, when executed by a processor, implement any of the dual power management methods of the above embodiments.
And, this application embodiment still provides a vehicle, and this vehicle includes at least one of the following: the dual power management circuit provided in any of the embodiments of the present application described above; the dual power management device provided in any one of the embodiments of the present application; the dual power management device provided in the embodiment of the present application; the computer-readable storage medium provided in the embodiments of the present application described above.
It is to be understood that the present application is not limited to the particular arrangements and instrumentality described above and shown in the attached drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present application are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications, and additions or change the order between the steps after comprehending the spirit of the present application.
The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the present application are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include an electronic circuit, a semiconductor memory device, a ROM, a flash memory, an Erasable ROM (EROM), a floppy disk, a CD-ROM, an optical disk, a hard disk, an optical fiber medium, a Radio Frequency (RF) link, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be performed in an order different from the order in the embodiments, or may be performed simultaneously.
Aspects of the present disclosure are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable dual power management apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable dual power management apparatus, enable the implementation of the functions/acts specified in the flowchart and/or block diagram block or blocks. Such a processor may be, but is not limited to, a general purpose processor, a special purpose processor, an application specific processor, or a field programmable logic circuit. It will also be understood that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware for performing the specified functions or acts, or combinations of special purpose hardware and computer instructions.
As described above, only the specific embodiments of the present application are provided, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the module and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present application, and these modifications or substitutions should be covered within the scope of the present application.

Claims (20)

1. A dual power management circuit, comprising:
a primary power supply electrically connected to a first power rail;
a first end of the first voltage regulating module is electrically connected with the main power supply and the first power supply rail respectively, and a second end of the first voltage regulating module is electrically connected with the second power supply rail;
the first end of the first switch module is electrically connected with the second end of the first voltage regulating module;
a first end of the second voltage regulating module is electrically connected with a second end of the first switch module, and a second end of the second voltage regulating module is electrically connected with a third power rail, the first end of the first voltage regulating module and the first power rail respectively;
a second switch module, a second end of which is electrically connected with a first end of the second voltage regulating module;
and the standby power supply is electrically connected with the first end of the second switch module.
2. The dual power management circuit of claim 1,
the first switch module and the second switch module respectively include: an anti-reflection sub-module and a switch sub-module;
the first end of the anti-reverse module of the first switch module is electrically connected with the second end of the first voltage regulating module, the second end of the anti-reverse module of the first switch module is electrically connected with the first end of the switch submodule of the first switch module, and the second end of the switch submodule of the first switch module is electrically connected with the first end of the second voltage regulating module;
a first end of the anti-reversion module of the second switch module is electrically connected with the standby power supply, a second end of the anti-reversion module of the second switch module is electrically connected with a first end of the switch submodule of the second switch module, and a second end of the switch submodule of the second switch module is electrically connected with a first end of the second voltage regulating module;
the anti-reverse module is used for preventing the reverse connection of the main power supply or the standby power supply;
the switch submodule is used for realizing the connection or disconnection of the first switch module or the second switch module.
3. The dual power management circuit of claim 2, wherein the anti-back-off module comprises a first PMOS transistor, and the switch sub-module comprises a first NMOS transistor, a second PMOS transistor, and a pull-up resistor;
the source electrode of the first PMOS tube and the source electrode of the second PMOS tube are electrically connected with the first end of the pull-up resistor;
the grid electrode of the first PMOS tube, the grid electrode of the second PMOS tube and the second end of the pull-up resistor are electrically connected;
the second end of the pull-up resistor is electrically connected with the drain electrode of the first NMOS tube, and the source electrode of the first NMOS tube is grounded;
the drain electrode of the first PMOS tube in the first switch module is electrically connected with the second end of the first voltage regulating module, and the drain electrode of the second PMOS tube in the first switch module is electrically connected with the first end of the second voltage regulating module;
the drain electrode of the first PMOS tube in the second switch module is electrically connected with the standby power supply, and the drain electrode of the second PMOS tube in the second switch module is electrically connected with the first end of the second voltage regulating module.
4. The dual power management circuit of claim 3, further comprising a dual power switching control module,
the first end of the dual-power switching control module is electrically connected with the main power supply;
the second end of the dual-power switching control module is electrically connected with the grid electrode of the first NMOS in the first switch module and the grid electrode of the first NMOS in the second switch module respectively;
the dual power supply switching control module is used for respectively sending a first level signal to the grid electrode of the first NMOS in the first switch module and sending a second level signal to the grid electrode of the first NMOS in the second switch module according to the first voltage value of the main power supply.
5. The dual power management circuit of claim 4, wherein the dual power switching control module comprises: the power supply comprises a first voltage dividing resistor, a second voltage dividing resistor, an NPN triode, a first power supply and a third NMOS transistor, wherein the first power supply is used for providing a high level signal;
a first end of the first voltage-dividing resistor is electrically connected with the main power supply, a second end of the first voltage-dividing resistor is electrically connected with a first end of the second voltage-dividing resistor, and a second end of the second voltage-dividing resistor is grounded;
the second end of the first voltage-dividing resistor and the first end of the second voltage-dividing resistor are both electrically connected with the base electrode of the NPN triode;
a collector electrode of the NPN triode is electrically connected with the first power supply, a grid electrode of the third NMOS tube and a grid electrode of a first NMOS in the first switch module respectively, and an emitting electrode of the NPN triode is grounded;
and the drain electrode of the third NMOS tube is respectively and electrically connected with the grid electrode of the first NMOS in the second switch module and the first power supply, and the source electrode of the third NMOS tube is grounded.
6. The dual power management circuit of claim 1, wherein the circuit further comprises:
the first end of the charging module is electrically connected with the first end of the second switch module, and the second end of the charging module is electrically connected with the second end of the second voltage regulating module;
the charging module is used for charging the standby power supply through the main power supply under the conditions that the first switch module is switched on, the second switch module is switched off, the first voltage value of the main power supply is larger than a first threshold value, and the second voltage value of the standby battery is smaller than a second threshold value.
7. The dual power management circuit of claim 1, the circuit further comprising:
and the power supply internal resistance detection module is electrically connected with the first end of the second switch module and is used for detecting the power supply internal resistance of the standby power supply.
8. The dual-power-supply management circuit of claim 7, wherein the power internal resistance detection module comprises a detection resistor, a pull-down resistor, a second NMOS transistor;
the first end of the detection resistor is electrically connected with the first end of the second switch module, and the second end of the detection resistor is electrically connected with the drain electrode of the second NMOS tube;
the grid electrode of the second NMOS tube is electrically connected with the first end of the pull-down resistor, the source electrode of the second NMOS tube is electrically connected with the second end of the pull-down resistor, and the second end of the pull-down resistor is grounded.
9. The dual power management circuit of claim 1, wherein the circuit further comprises:
the anode of the first diode is electrically connected with the second end of the second voltage regulating module, and the cathode of the first diode is electrically connected with the first end of the first voltage regulating module;
and the anode of the second diode is electrically connected with the main power supply, and the cathode of the second diode is electrically connected with the first end of the first voltage regulating module.
10. The dual power management circuit of any of claims 1-9, wherein the circuit further comprises:
and the first end of the third switch module is electrically connected with the standby power supply, and the second end of the third switch module is electrically connected with the first end of the second switch module.
11. A dual power supply management method applied to the dual power supply management circuit according to any one of claims 1 to 10, comprising:
detecting whether a first voltage value of a main power supply is smaller than a first threshold value;
and sending a turn-off level signal to a first switch module and sending a turn-on level signal to a second switch module under the condition that the first voltage value is smaller than the first threshold value, so that the first switch module is turned off, the second switch module is turned on, and a standby power supply respectively supplies power to a first power rail, a second power rail and a third power rail.
12. The dual power management method of claim 11, wherein the dual power management circuit is disposed in a vehicle, the dual power management circuit including a third switching module, the method further comprising, prior to the detecting whether the first voltage value of the primary power source is less than a first threshold value:
acquiring state information of the vehicle;
determining that the vehicle is in a non-transportation state or a new vehicle storage state according to the state information of the vehicle;
and sending a conducting level signal to the third switching module to enable the third switching module to be conducted.
13. The dual power supply management method of claim 12, wherein prior to the obtaining the status information of the vehicle, the method further comprises:
performing a target operation to cause the primary power source to supply power to the first power rail, the second power rail, and the third power rail, respectively;
the target operation comprises:
sending a conducting level signal to the first switch module to enable the first switch module to be conducted;
sending a turn-off level signal to the second switch module to turn off the second switch module;
sending a turn-off level signal to the third switching module to turn off the third switching module.
14. The dual power management method of claim 11, wherein the dual power management circuit further comprises a charging module, after the detecting whether the first voltage value of the primary power source is less than a first threshold, the method further comprising:
detecting whether a second voltage value of the standby power supply is smaller than a second threshold value or not under the condition that the first voltage value is larger than the first threshold value;
and sending a conducting level signal to the first switch module and sending a switching-off level signal to the second switch module under the condition that the second voltage value is smaller than the second threshold value, so that the main power supply charges the standby power supply through the charging module.
15. The dual power management circuit of claim 11 further comprising a power internal resistance detection module, after detecting whether the second voltage value of the backup power supply is less than a second threshold, the method further comprising:
when the second voltage value is larger than the second threshold value, sending an enable signal to the power internal resistance detection module so that the power internal resistance detection module detects the power internal resistance of the standby power supply;
receiving power supply internal resistance detection parameters sent by the power supply internal resistance detection module;
determining the resistance value of the power supply internal resistance of the standby power supply according to the power supply internal resistance detection parameter;
outputting power supply replacement prompt information of the standby power supply under the condition that the resistance value is larger than a third threshold value;
and setting the count value of the counter to be 1 under the condition that the resistance value is smaller than the third threshold value.
16. The dual power management method of claim 15, wherein said sending an enable signal to the power internal resistance detection module comprises:
inquiring the count value of the counter;
sending an enabling signal to the power supply internal resistance detection module under the condition that the count value overflows or is reset;
and if the count value is not overflowed and is not cleared, adding 1 to the count value.
17. A dual power management device, wherein the device is applied to the dual power management circuit according to any one of claims 1 to 10, the device comprising:
the first detection module is used for detecting whether a first voltage value of the main power supply is smaller than a first threshold value;
the first sending module is used for sending a turn-off level signal to the first switch module and sending a turn-on level signal to the second switch module under the condition that the first voltage value is smaller than the first threshold value, so that the first switch module is turned off, the second switch module is turned on, and the standby power supply supplies power to the first power rail, the second power rail and the third power rail respectively.
18. A dual power management apparatus, the apparatus comprising: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements the dual power management method of any of claims 11-16.
19. A computer-readable storage medium having computer program instructions stored thereon, which when executed by a processor, implement the dual power management method of any one of claims 11-16.
20. A vehicle, characterized by comprising at least one of: the dual power management circuit of any of claims 1-10; the dual power management device of claim 17; the dual power management apparatus of claim 18; the computer readable storage medium of claim 19.
CN202210976442.4A 2022-08-15 2022-08-15 Dual power management circuit, method, apparatus, device, and computer storage medium Pending CN115473324A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210976442.4A CN115473324A (en) 2022-08-15 2022-08-15 Dual power management circuit, method, apparatus, device, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210976442.4A CN115473324A (en) 2022-08-15 2022-08-15 Dual power management circuit, method, apparatus, device, and computer storage medium

Publications (1)

Publication Number Publication Date
CN115473324A true CN115473324A (en) 2022-12-13

Family

ID=84367731

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210976442.4A Pending CN115473324A (en) 2022-08-15 2022-08-15 Dual power management circuit, method, apparatus, device, and computer storage medium

Country Status (1)

Country Link
CN (1) CN115473324A (en)

Similar Documents

Publication Publication Date Title
CN209786868U (en) backup battery hardware switching circuit
CN101728843B (en) Automatic startup circuit and uninterrupted power supply with same
CN101969188B (en) Resistor short-circuit protective device and protective method used for switching power supply
US10038427B2 (en) Power path switching in an electronic device including a plurality of charging ports
JP6657071B2 (en) Voltage regulator overcurrent protection
US20140210400A1 (en) Battery charger reverse-boosting detection
JP5954788B2 (en) Electronic component, power receiving device, and power feeding system
US10630101B2 (en) Charging-discharging module of energy storage unit and charging-discharging method thereof
CN110391746B (en) PFM power management system with automatic mode switching
US11101672B2 (en) Secondary battery protection apparatus
CN111668809A (en) Power supply voltage control circuit and GPRS module
JP2016223797A (en) Battery disconnection detector, charging device, and battery pack
CN104143854A (en) Direct-current uninterruptible power system and abnormal voltage detection method thereof
EP4346076A1 (en) Voltage conversion apparatus, base station power supply system, and control method
CN201947164U (en) Resistor short circuit protection device
CN115473324A (en) Dual power management circuit, method, apparatus, device, and computer storage medium
US20150234420A1 (en) Clock Switching Circuit
CN110165743B (en) Automatic load detection circuit and automatic load detection method
CN112310938A (en) Local side equipment, power supply system, electric shock protection method and device
US10958168B2 (en) Techniques for controlling a single-inductor multiple-output (SIMO) switched-mode power supply (SMPS)
CN219678160U (en) Non-polar installation device of battery and mobile electronic consumer equipment
US11606031B1 (en) Power supply circuit with low quiescent current in bypass mode
CN117458677B (en) Retired battery pack recycling serial switching control system
CN218788654U (en) Standby power supply
CN221408682U (en) Power supply circuit, power supply source and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination