CN115933852A - Power supply architecture of storage system and standby power control method thereof - Google Patents

Power supply architecture of storage system and standby power control method thereof Download PDF

Info

Publication number
CN115933852A
CN115933852A CN202310219520.0A CN202310219520A CN115933852A CN 115933852 A CN115933852 A CN 115933852A CN 202310219520 A CN202310219520 A CN 202310219520A CN 115933852 A CN115933852 A CN 115933852A
Authority
CN
China
Prior art keywords
power supply
circuit
backup battery
storage system
battery unit
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
CN202310219520.0A
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202310219520.0A priority Critical patent/CN115933852A/en
Publication of CN115933852A publication Critical patent/CN115933852A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the invention provides a power supply framework of a storage system and a power supply control method thereof, relating to the technical field of power supply control, wherein the power supply framework of the storage system comprises a power supply unit and a backup battery unit, and the power supply framework also comprises a hot plug protection module, a bidirectional flow charge-discharge control circuit and a bypass discharge circuit; the bidirectional flow charge-discharge control circuit comprises a voltage reduction circuit and a voltage boosting circuit; wherein: when the power supply unit supplies power normally, the power supply unit supplies power to the storage system through the hot plug protection module; when the backup battery unit needs to be charged, the power supply unit charges the backup battery unit through the voltage reduction circuit; when the power supply unit supplies power abnormally, the backup battery unit discharges through the bypass discharging circuit so as to supply power to the storage system; when the discharging voltage for discharging by the bypass discharging circuit is lower than a preset boosting threshold value, the backup battery unit is discharged through the boosting circuit.

Description

Power supply architecture of storage system and power backup control method thereof
Technical Field
The embodiment of the invention relates to the technical field of power supply control, in particular to a power supply framework of a storage system, a power supply control method of the storage system, electronic equipment and a computer readable storage medium.
Background
Under the background of digital transformation, mass data is continuously increased, and a unified storage system is generally applied; meanwhile, the unified storage system can be applied to various scenarios, and the performance requirement of the unified storage system is higher and higher under the promotion of a commercialization mode. In the technology of the unified storage system, in a general case, a standby Power control circuit of the unified storage system usually includes two different branches, namely a charging branch and a discharging branch, and both a storage system node PSU (Power Supply Unit) and a BBU (Backup Battery Unit) in the unified storage system Supply Power to the system through an OR-in (Logical OR line OR logic) control circuit, where the discharging branch includes a voltage reduction module and a bypass output.
In the related art, a standby power control circuit of the unified storage system is complex, a voltage reduction module usually needs two milliseconds to adjust time, seamless switching of cold standby power supply cannot be achieved, the service life of BBUs (base band units) needs to be sacrificed in hot standby power supply, and the stability and reliability of the unified storage system are affected because different storage node BBUs cannot achieve current-sharing power supply and redundant power supply.
Disclosure of Invention
The embodiment of the invention provides a power supply framework of a storage system, a standby power control method of the storage system, electronic equipment and a computer readable storage medium, and aims to solve or partially solve the problems that a standby power control circuit is complex, a discharging branch is adjusted slowly, seamless switching of cold standby power supply cannot be achieved, and battery units of different storage nodes cannot achieve current-sharing power supply and redundant power supply.
The embodiment of the invention discloses a power supply framework of a storage system, which comprises a power supply unit and a backup battery unit, and further comprises a hot plug protection module, a bidirectional flow charge and discharge control circuit and a bypass discharge circuit; the bidirectional flow charge-discharge control circuit comprises a voltage reduction circuit and a voltage boosting circuit; wherein:
when the power supply unit supplies power normally, the power supply unit supplies power to the storage system through the hot plug protection module; when the backup battery unit needs to be charged, the power supply unit charges the backup battery unit through the voltage reduction circuit;
when the power supply unit supplies power abnormally, the backup battery unit discharges through the bypass discharge circuit to enable the backup battery unit to supply power for the storage system; when the discharging voltage of the bypass discharging circuit is lower than a preset boosting threshold value, the backup battery unit is discharged through the boosting circuit.
Optionally, the bypass discharge circuit is formed by a switching tube, and the switching tube includes a bypass diode and a switching tube body; the power supply architecture further comprises a control module; wherein:
when a power supply link of the power supply unit is abnormal, the backup battery unit discharges through the bypass diode so as to supply power to the storage system;
when the control module detects that a power supply link of the power supply unit is abnormal, the switch tube body is controlled to be conducted, so that the backup battery unit is switched to the switch tube body to supply power to the storage system.
Optionally, the control module includes a sampling module and a bypass intelligent control circuit, and the sampling module is configured to detect whether a power supply link of the power supply unit is abnormal; wherein:
when the sampling module detects that a power supply link of the power supply unit is abnormal, the bypass intelligent control circuit controls the switch tube body to be conducted so that the backup battery unit is switched to the switch tube body to supply power to the storage system.
Optionally, when the bypass intelligent control circuit predicts that the power supply state of the power supply unit is to be abnormal, the bypass intelligent control circuit controls the switching tube body to be switched on, so that the backup battery unit supplies power to the storage system through the switching tube body.
Optionally, the bypass intelligent control circuit includes a resistor, a capacitor, a transistor, and a controller, where the resistor is a first resistor and a second resistor, and the capacitor is a first capacitor, where:
the first resistor is connected with the first capacitor in parallel, two ends of the first resistor are respectively connected with the base electrode and the emitting electrode of the triode, and two ends of the second resistor are respectively connected with the base electrode of the triode and the controller.
Optionally, the control module comprises a hysteresis comparator; the hysteresis comparator is used for controlling the switch tube body to be conducted when the output voltage of the power supply unit is lower than a preset reference voltage, so that the backup battery unit is switched to the switch tube body to supply power to the storage system.
Optionally, the hysteretic comparator includes an integrated chip, a resistor, a bypass diode, and a capacitor, where the resistor is a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, and a seventh resistor, and the capacitor is a second capacitor, where:
the positive electrode of the bypass diode is connected with the third resistor, the negative electrode of the bypass diode is respectively connected with the fourth resistor, the fifth resistor and the sixth resistor, the third resistor is respectively connected with the second capacitor and the seventh resistor, and the seventh resistor is connected with the integrated chip.
Optionally, the power supply architecture further comprises: and the push-pull output circuit is arranged on a control branch circuit between the control module and the switch tube body.
Optionally, the bypass discharge circuit is connected in parallel with the bidirectional flow charge and discharge control circuit.
Optionally, the power supply unit comprises a first power supply unit and a second power supply unit; the power supply unit is provided with an OR logic control circuit, and the OR logic control circuit is used for normally supplying power to the storage system through the second power supply unit when the power supply link of the first power supply unit is abnormal.
Optionally, the power supply state of the power supply unit at least includes an output voltage of the current power supply unit, an output current of the current power supply unit, and a temperature of a key component.
The embodiment of the invention also discloses a standby power control method of the storage system, which is applied to the power supply framework of the storage system, wherein the power supply framework of the storage system comprises a power supply unit and a backup battery unit, and the power supply framework further comprises a hot plug protection module, a bidirectional flow charge and discharge control circuit and a bypass discharge circuit; the bidirectional flow charge-discharge control circuit comprises a voltage reduction circuit and a voltage boosting circuit; the method comprises the following steps:
when the power supply unit supplies power normally, the power supply unit supplies power to the storage system through the hot plug protection module; when the backup battery unit needs to be charged, the power supply unit charges the backup battery unit through the voltage reduction circuit;
when the power supply unit supplies power abnormally, the backup battery unit discharges through the bypass discharge circuit to enable the backup battery unit to supply power for the storage system; when the discharging voltage of the bypass discharging circuit is lower than a preset boosting threshold value, the backup battery unit is discharged through the boosting circuit.
Optionally, the method further comprises:
receiving a control signal of the storage system;
judging the signal type of the control signal according to the control signal;
and processing the control signal according to the signal type.
Optionally, the signal type of the control signal includes a charging control signal, and processing the control signal according to the signal type includes:
when the signal type of the control signal is the charging control signal, judging that a power supply link of the power supply unit is normal;
sampling the voltage of the backup battery unit to obtain a voltage sampling value corresponding to the voltage of the backup battery unit;
and adjusting the duty ratio of the PWM signal of the charging control signal according to the voltage sampling value so as to charge the backup battery unit.
Optionally, the signal type of the control signal includes a discharge control signal, and the processing the control signal according to the signal type includes:
when the signal type of the control signal is the discharge control signal, determining that a power supply link of the power supply unit is abnormal;
sampling the voltage of the backup battery unit to obtain a voltage sampling value corresponding to the voltage of the backup battery unit;
and when the voltage sampling value is smaller than a preset boosting threshold value, switching to a boosting circuit of the bidirectional flow charge-discharge control circuit to discharge and closing the bypass discharge circuit.
Optionally, after the switching to the boost circuit of the bidirectional flow charging and discharging control circuit to discharge and turn off the bypass discharge circuit when the voltage sampling value is smaller than a preset boost threshold value, the method further includes:
and adjusting the duty ratio of a PWM (pulse-width modulation) signal of a charging control signal in the control signal according to a voltage sampling value corresponding to the voltage of the backup battery unit so as to keep the output voltage of the backup battery unit as a constant voltage.
Optionally, the signal type of the control signal includes a verification control signal, the power supply architecture is provided with a verification control subroutine, and processing the control signal according to the signal type includes:
when the signal type of the control signal is the checking control signal, judging that the charging control signal and the discharging control signal of the control signal are in an invalid state;
and inputting the verification control signal into the verification control subprogram, verifying whether the standby power capacity of the backup battery unit meets the standby power requirement of the storage system, and correcting the sampling error of the backup battery unit.
Optionally, before the receiving the control signal of the storage system, the method further includes:
receiving a control instruction of the storage system;
and setting the circuit parameters of the backup battery unit according to the control instruction.
Optionally, the power supply architecture is further provided with a system management bus subprogram, and the system management bus subprogram is used for querying a power supply state of the power supply unit.
The embodiment of the invention also discloses electronic equipment which comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory finish mutual communication through the communication bus;
the memory is used for storing a computer program;
the processor is configured to implement the method according to the embodiment of the present invention when executing the program stored in the memory.
Also disclosed is a computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform a method according to an embodiment of the invention.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the power supply architecture of the storage system comprises a power supply unit and a backup battery unit, the power supply architecture further comprises a hot plug protection module, a bidirectional flow charge and discharge control circuit and a bypass discharge circuit, and the bidirectional flow charge and discharge control circuit comprises a voltage reduction circuit and a voltage boost circuit; wherein: when the power supply unit supplies power normally, the power supply unit supplies power to the storage system through the hot plug protection module; when the backup battery unit needs to be charged, the power supply unit charges the backup battery unit through the voltage reduction circuit; when the power supply unit supplies power abnormally, the backup battery unit discharges through the bypass discharge circuit to enable the backup battery unit to supply power for the storage system; when the discharging voltage for discharging by the bypass discharging circuit is lower than a preset boosting threshold value, the backup battery unit is discharged through the boosting circuit. In the embodiment of the invention, the charging and discharging of the backup battery unit are controlled and managed through the voltage reduction circuit and the voltage boosting circuit of the bidirectional flow charging and discharging control circuit, so that the stability and the reliability of power supply of the storage system are improved, and meanwhile, the power supply link of the storage system is simplified through the bidirectional flow charging and discharging control circuit.
Drawings
Fig. 1 is a schematic structural diagram of a power supply architecture of a storage system provided in an embodiment of the present invention;
FIG. 2 is a block diagram of a power architecture of a storage system provided in an embodiment of the present invention;
fig. 3 is a block diagram of a standby power control circuit of a memory system provided in an embodiment of the present invention;
FIG. 4 is a flowchart illustrating steps of a power backup control method for a memory system according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a power backup control method of a memory system according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a computer-readable storage medium provided in an embodiment of the present invention;
fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
As an example, in the context of digital transformation, mass data is constantly growing, and unified storage systems have become popular; meanwhile, the unified storage system can be applied to various scenes, and the performance requirement on the unified storage system is higher and higher under the promotion of a commercialization mode. In the unified storage system technology, under a normal condition, a standby power control circuit of the unified storage system usually includes two different branches, namely a charging branch and a discharging branch, a storage system node power supply unit and a backup battery unit in the unified storage system both supply power to the system through an or logic control circuit, wherein the discharging branch includes a voltage reduction module and a bypass output part. In the related art, a standby power control circuit of the unified storage system is complex, a voltage reduction module usually needs two milliseconds to adjust time, seamless switching of cold backup power supply cannot be achieved, the service life of a backup battery unit needs to be sacrificed for hot backup power supply, and the backup battery units of different storage nodes cannot achieve current-sharing power supply and redundant power supply, so that the stability and reliability of the unified storage system are affected.
One of the core invention points in that the power supply architecture of the storage system comprises a power supply unit and a backup battery unit, the power supply architecture also comprises a hot plug protection module, a bidirectional flow charge and discharge control circuit and a bypass discharge circuit, and the bidirectional flow charge and discharge control circuit comprises a voltage reduction circuit and a voltage boost circuit; wherein: when the power supply unit supplies power normally, the power supply unit supplies power to the storage system through the hot plug protection module; when the backup battery unit needs to be charged, the power supply unit charges the backup battery unit through the voltage reduction circuit; when the power supply unit supplies power abnormally, the backup battery unit discharges through the bypass discharging circuit so as to supply power to the storage system; when the discharging voltage for discharging by the bypass discharging circuit is lower than a preset boosting threshold value, the backup battery unit is discharged through the boosting circuit. In the embodiment of the invention, the charging and discharging of the backup battery unit are controlled and managed through the voltage reduction circuit and the voltage boosting circuit of the bidirectional flow charging and discharging control circuit, so that the stability and the reliability of power supply of the storage system are improved, and meanwhile, the power supply link of the storage system is simplified through the bidirectional flow charging and discharging control circuit.
Referring to fig. 1, a schematic structural diagram of a power supply architecture of a storage system provided in an embodiment of the present invention is shown, where the power supply architecture of the storage system includes a power supply unit and a backup battery unit, and the power supply architecture further includes a hot plug protection module, a bidirectional flow charge and discharge control circuit, and a bypass discharge circuit; the bidirectional flow charge-discharge control circuit comprises a voltage reduction circuit and a voltage boosting circuit; wherein:
when the power supply unit supplies power normally, the power supply unit supplies power to the storage system through the hot plug protection module; when the backup battery unit needs to be charged, the power supply unit charges the backup battery unit through the voltage reduction circuit;
when the power supply unit supplies power abnormally, the backup battery unit discharges through the bypass discharge circuit to enable the backup battery unit to supply power for the storage system; when the discharging voltage of the bypass discharging circuit is lower than a preset boosting threshold value, the backup battery unit is discharged through the boosting circuit.
The Power Supply Unit (Power Supply Unit PSU) is an electric energy conversion type Power Supply (Power Supply different from battery Power Supply) of the computer or the server, and is mainly responsible for converting standard alternating current into low-voltage stable direct current to be used by other components in the computer or the server, wherein when the Power Supply Unit supplies Power normally, the Power Supply Unit supplies Power to the storage system; specifically, the power supply unit may supply power to the storage system through the hot plug protection module. For the backup battery unit, it may be understood as a backup power source or a backup power module, and when the power supply unit is abnormal in power supply, the power supply unit may be seamlessly switched to the backup battery unit to supply power to the storage system.
Referring to fig. 2, a block diagram illustrating a power supply architecture of a storage system according to an embodiment of the present invention is shown; as shown in fig. 2, assuming that there are two power supply units in the power supply architecture of the storage system, when the power supply link of the power supply unit 1 is abnormal, the power supply unit 2 can supply power to the storage system, and when the power supply links of both power supply units are abnormal, the backup battery unit can be switched to supply power to the storage system. It should be noted that, for convenience of understanding, the above example is only a simple example, and the number of the power supply units and the backup battery units may be one or more, as shown in fig. 2, there are two power supply units, namely, the power supply unit 1 and the power supply unit 2, and there are two backup battery units, namely, the backup battery unit 1 and the backup battery unit 2, and it is understood that, in practical applications, the number of the power supply units and the backup battery units may be far more than the number mentioned in the embodiment of the present invention, and a person skilled in the art may adjust the number according to practical situations, and the embodiment of the present invention is not limited thereto.
For the bidirectional flow charge-discharge control circuit, it can be used for managing the charging and discharging of the backup battery unit, the bidirectional flow charge-discharge control circuit includes the step-down circuit (can be BUCK circuit) and the step-up circuit (can be BOOST circuit); for the voltage reduction circuit, the voltage reduction circuit can be used for charging control of the backup battery unit; the booster circuit may be used for discharge control of the backup battery cell.
The bypass discharging circuit can be used for discharging the backup battery unit through the bypass discharging circuit so that the backup battery unit supplies power to the storage system when the power supply of each power supply unit is abnormal, so that the reliability and stability of the power supply of the storage system are improved, and the condition of power supply interruption is avoided.
Optionally, the bypass discharge circuit is connected in parallel with the bidirectional flow charge-discharge control circuit. In specific implementation, the bypass discharge circuit is connected in parallel with the bidirectional flow charge-discharge control circuit, so that the power supply architecture of the storage system is simplified, and the problem of complex power supply architecture of the storage system in the related art is solved.
The preset boosting threshold value is a preset voltage value and can be adjusted according to actual conditions, and the preset boosting threshold value can be used for determining whether the boosting circuit which is switched from the bypass discharging circuit to the bidirectional flow charging and discharging control circuit needs to discharge or not.
In specific implementation, when the power supply unit supplies power normally, the power supply unit supplies power to the storage system through the hot plug protection module, wherein when the backup battery unit needs to be charged, the power supply unit charges the backup battery unit through the voltage reduction circuit; in addition, when the power supply unit supplies power abnormally, the backup battery unit discharges through the bypass discharge circuit to enable the backup battery unit to supply power for the storage system, wherein when the discharge voltage discharged by the bypass discharge circuit is lower than a preset boosting threshold value, the backup battery unit discharges through the boosting circuit.
In the embodiment of the invention, the power supply architecture of the storage system comprises a power supply unit and a backup battery unit, the power supply architecture further comprises a hot plug protection module, a bidirectional flow charge and discharge control circuit and a bypass discharge circuit, and the bidirectional flow charge and discharge control circuit comprises a voltage reduction circuit and a voltage boost circuit; wherein: when the power supply unit supplies power normally, the power supply unit supplies power to the storage system through the hot plug protection module; when the backup battery unit needs to be charged, the power supply unit charges the backup battery unit through the voltage reduction circuit; when the power supply unit supplies power abnormally, the backup battery unit discharges through the bypass discharge circuit to enable the backup battery unit to supply power for the storage system; when the discharging voltage for discharging by the bypass discharging circuit is lower than a preset boosting threshold value, the backup battery unit is discharged through the boosting circuit. In the embodiment of the invention, the charge and the discharge of the backup battery unit are controlled and managed by the voltage reduction circuit and the voltage boosting circuit of the bidirectional flow charge and discharge control circuit, so that the stability and the reliability of power supply of the storage system are improved, and meanwhile, the power supply link of the storage system is simplified by arranging the bidirectional flow charge and discharge control circuit.
In an alternative embodiment, the bypass discharge circuit is composed of a switch tube, and the switch tube comprises a bypass diode and a switch tube body; the power supply architecture further comprises a control module; wherein:
when a power supply link of the power supply unit is abnormal, the backup battery unit discharges through the bypass diode so as to supply power to the storage system;
when the control module detects that a power supply link of the power supply unit is abnormal, the switching tube body is controlled to be conducted, so that the backup battery unit is switched to the switching tube body to supply power to the storage system.
In the embodiment of the present invention, the switching tube may be a Metal Oxide Semiconductor (MOS) tube, and for the MOS tube, the switching tube is a Metal Oxide Semiconductor (MOS) field effect transistor, or is referred to as a Metal-Insulator Semiconductor (Insulator). The switch tube can form a bypass discharge circuit, and the switch tube can comprise a bypass diode and a switch tube body.
Optionally, the control module includes a sampling module and a bypass intelligent control circuit, and the sampling module is configured to detect whether a power supply link of the power supply unit is abnormal; wherein:
when the sampling module detects that a power supply link of the power supply unit is abnormal, the bypass intelligent control circuit controls the switch tube body to be conducted so as to enable the backup battery unit to be switched to the switch tube body to supply power to the storage system.
When the bypass intelligent control circuit prejudges that the power supply state of the power supply unit is abnormal, the bypass intelligent control circuit controls the switch tube body to be conducted so that the backup battery unit supplies power to the storage system through the switch tube body.
The control module may include a sampling module and a bypass intelligent control circuit, the sampling module is configured to detect whether a power supply link of the power supply unit is abnormal, and the bypass intelligent control circuit is configured to pre-determine whether a power supply state of the power supply unit is abnormal.
The power supply state of the power supply unit at least comprises the current output voltage of the power supply unit, the current output current of the power supply unit and the temperature of the key component.
In the specific implementation, the control module controls the switch tube body to supply power to the storage system in two ways, one is that when the sampling module detects that the power supply link of the power supply unit is abnormal, the bypass intelligent control circuit controls the switch tube body to be conducted so that the backup battery unit is switched to the switch tube body to supply power to the storage system, and the other is that when the bypass intelligent control circuit judges that the power supply state of the power supply unit is abnormal, the switch tube body is controlled to be conducted so that the backup battery unit supplies power to the storage system through the switch tube body.
Optionally, the bypass intelligent control circuit includes a resistor, a capacitor, a transistor and a controller, the resistor is a first resistor and a second resistor, the capacitor is a first capacitor, the first resistor and the first capacitor are connected in parallel, two ends of the first resistor are respectively connected to a base and an emitter of the transistor, and two ends of the second resistor are respectively connected to the base and the controller of the transistor. The controller may be an MCU (Micro Control Unit).
Optionally, the control module further includes a hysteresis comparator, and the hysteresis comparator is configured to control the switching tube body to be turned on when the output voltage of the power supply unit is lower than a preset reference voltage, so that the backup battery unit is switched to the switching tube body to supply power to the storage system. The hysteresis comparator comprises an integrated chip, a resistor, a bypass diode and a capacitor, the resistor is a third resistor, a fourth resistor, a fifth resistor, a sixth resistor and a seventh resistor, the capacitor is a second capacitor, wherein the anode of the bypass diode is connected with the third resistor, the cathode of the bypass diode is respectively connected with the fourth resistor, the fifth resistor and the sixth resistor, the third resistor is respectively connected with the second capacitor and the seventh resistor, and the seventh resistor is connected with the integrated chip.
Referring to fig. 3, a schematic structural diagram of a standby power control circuit of a memory system provided in an embodiment of the present invention is shown; as shown in fig. 3, the bypass intelligent control circuit includes a resistor, a capacitor, a triode and a controller, the resistor is a first resistor R2 and a second resistor R3, the capacitor is a first capacitor C1, wherein the first resistor R2 is connected in parallel with the first capacitor C1, two ends of the first resistor R2 are respectively connected with the base and the emitter of the triode Q1, and two ends of the second resistor R3 are respectively connected with the base of the triode Q1 and the controller MCU. It should be noted that the module of the controller is located in the bypass control BYC module. The controller can prejudge the power supply state of the power supply unit and judge whether the power supply state of the power supply unit is abnormal or not so as to judge whether the bypass discharge circuit needs to be opened or not.
Secondly, the hysteresis comparator comprises an integrated chip U1, a resistor, a bypass diode D1 and a capacitor, the resistor is a third resistor R4, a fourth resistor R6, a fifth resistor R7, a sixth resistor R8 and a seventh resistor R5, the capacitor is a second capacitor C2, wherein the anode of the bypass diode D1 is connected with the third resistor R4, the cathode of the bypass diode D1 is respectively connected with the fourth resistor R6, the fifth resistor R7 and the sixth resistor R8, the third resistor R4 is respectively connected with the second capacitor C2 and the seventh resistor R5, and the seventh resistor R5 is connected with the integrated chip U1. The hysteresis comparator can avoid the error conduction of the bypass intelligent control circuit.
Optionally, the power supply architecture of the storage system further includes a push-pull output circuit disposed on the control branch between the control module and the switch tube body. The push-pull output circuit can be composed of a triode, specifically, the push-pull output circuit can be composed of a triode Q5 and a triode Q6, and the push-pull output circuit can be used for increasing the driving capability of the bypass intelligent control circuit to the switching tube so as to improve the switching control speed.
Specifically, as shown in fig. 3, in the embodiment of the present invention, a bidirectional flow charging and discharging control circuit may be composed of a switching tube Q4, a switching tube Q2, an inductor L1, a resistor R1, and a controller MCU, wherein the controller may control a PWM (Pulse Width Modulation) signal 1 and a duty ratio corresponding to the PWM signal 2 sent by an upper end (such as a substrate management controller) of the storage system according to a sampling value obtained by the sampling module, so as to ensure a pre-charge (low current charge), a constant Current Charge (CC), and a constant voltage Charge (CV) of the backup battery unit when the backup battery unit is charged, and ensure a constant voltage discharge (such as 11.5V) when the backup battery unit is discharged. The switch tube Q3 can form a bypass discharge circuit, the source of the switch tube Q3 can be connected to the output of BBU (backup battery unit), and the drain can be connected to the discharge link of PSU (power supply unit). The reference voltage VREF is connected to the positive terminal of the hysteresis comparator through a fourth resistor R6, the power supply of the PSU (power supply unit) is divided by a fifth resistor R7 and a sixth resistor R8 and then connected to the positive terminal of the hysteresis comparator, and the output terminal of the hysteresis comparator is connected to the negative terminal of the hysteresis comparator through a third resistor R4 and a bypass diode D1.
In one example, in a case that a power supply link of a Power Supply Unit (PSU) is normal, the storage system may be powered by a 12V output voltage of the power supply unit in fig. 3, but when the power supply link of the power supply unit is abnormal, the 12V output voltage of the power supply unit may be lower than an output voltage of a Backup Battery Unit (BBU), at this time, a bypass diode in a switch tube Q3 of a bypass discharge circuit is preferentially turned on (a switch tube body is not yet turned on), and the backup battery unit may preferentially discharge through the bypass diode in the switch tube Q3 to enable the backup battery unit to uninterruptedly power the storage system, and in addition, when the backup battery unit discharges through the bypass diode in the switch tube Q3 to reach a certain trigger time length, the switch tube body is controlled to be turned on, so that the backup battery unit is switched to the switch tube body to power the storage system. Through the interaction and the switching between the bypass diode of the switch tube and the switch tube body, the seamless switching of the power supply switching of the storage system is ensured, and meanwhile, the stability and the reliability of the power supply of the storage system are improved.
It should be noted that, in the embodiment of the present invention, when a power supply link of the power supply unit is abnormal, power is mainly supplied to the storage system through the switch tube body in the bypass discharge circuit, but certain trigger conditions (such as a certain period of time and the like) are required for the conduction of the switch tube body, so that when the power supply link of the power supply unit is abnormal, the storage system is discharged preferentially through the bypass diode of the switch tube in the bypass discharge circuit, thereby implementing uninterrupted power supply for the storage system, and ensuring reliability and stability of power supply for the storage system.
In the embodiment of the invention, the bypass discharging circuit is composed of a switching tube, the switching tube comprises a bypass diode and a switching tube body, the power supply framework of the storage system also comprises a control module, when the power supply link of the power supply unit is abnormal, the backup battery unit discharges through the bypass diode so as to supply power to the storage system; when the control module detects that a power supply link of the power supply unit is abnormal, the switch tube body is controlled to be conducted, so that the backup battery unit is switched to the switch tube body to supply power to the storage system. Through the interaction and the switching between the bypass diode of the switch tube and the switch tube body, the seamless switching of the power supply switching of the storage system is ensured, and meanwhile, the stability and the reliability of the power supply of the storage system are improved.
In an alternative embodiment, the power supply unit includes a first power supply unit and a second power supply unit; the power supply unit is provided with an OR logic control circuit, and the OR logic control circuit is used for normally supplying power to the storage system through the second power supply unit when a power supply link of the first power supply unit is abnormal.
The OR logic control circuit can be used for normally supplying power to the storage system through the second power supply unit when the power supply link of the first power supply unit is abnormal.
In one example, assuming that two power supply units exist in a power supply architecture of the storage system, when a power supply link of one of the power supply units is abnormal, the other power supply unit may be controlled by the or logic control circuit to supply power to the storage system, so as to maintain uninterrupted power supply to the storage system.
The stability and the reliability of the power supply of the storage system are improved.
In the specific implementation, an OR logic control circuit is designed in the power supply units, when one power supply unit is abnormal, a power supply link can be cut off rapidly, the normal power supply of the other power supply unit is not influenced, and the stability and the reliability of the power supply of the storage system are improved.
In the embodiment of the invention, the power supply architecture of the storage system comprises a power supply unit and a backup battery unit, the power supply architecture further comprises a hot plug protection module, a bidirectional flow charge and discharge control circuit and a bypass discharge circuit, and the bidirectional flow charge and discharge control circuit comprises a voltage reduction circuit and a voltage boost circuit; wherein: when the power supply unit supplies power normally, the power supply unit supplies power to the storage system through the hot plug protection module; when the backup battery unit needs to be charged, the power supply unit charges the backup battery unit through the voltage reduction circuit; when the power supply unit supplies power abnormally, the backup battery unit discharges through the bypass discharging circuit so as to supply power to the storage system; when the discharging voltage for discharging by the bypass discharging circuit is lower than a preset boosting threshold value, the backup battery unit is discharged through the boosting circuit. In the embodiment of the invention, the charging and discharging of the backup battery unit are controlled and managed through the voltage reduction circuit and the voltage boosting circuit of the bidirectional flow charging and discharging control circuit, so that the stability and the reliability of power supply of the storage system are improved, and meanwhile, the power supply link of the storage system is simplified through the bidirectional flow charging and discharging control circuit.
In addition, the power supply switching of the storage system can be enabled to be seamless through a bypass diode of the MOS tube, and the stability and reliability of power supply of the storage system are improved; meanwhile, the bypass discharge circuit is connected in parallel with the bidirectional flow charge-discharge control circuit, so that the power supply architecture of the storage system is simplified, and the problem of complex power supply architecture as in the related technology is solved; in addition, the power supply unit is provided with a wired or logic control circuit, and the wired or logic control circuit is used for normally supplying power to the storage system through the second power supply unit when the power supply link of the first power supply unit is abnormal, so that the stability and reliability of power supply of the storage system are improved.
Referring to fig. 4, a flowchart of steps of a power backup control method of a storage system provided in an embodiment of the present invention is shown, and the power backup control method is applied to a power supply architecture of the storage system, where the power supply architecture of the storage system includes a power supply unit and a backup battery unit, and is characterized in that the power supply architecture further includes a hot plug protection module, a bidirectional flow charge and discharge control circuit, and a bypass discharge circuit; the bidirectional flow charge-discharge control circuit comprises a voltage reduction circuit and a voltage boosting circuit; the method specifically comprises the following steps:
step 401, when the power supply unit supplies power normally, the power supply unit supplies power to the storage system through the hot plug protection module; when the backup battery unit needs to be charged, the power supply unit charges the backup battery unit through the voltage reduction circuit;
in a specific implementation, when the power supply unit supplies power normally, the power supply unit supplies power to the storage system through the hot plug protection module; when the backup battery unit needs to be charged, the power supply unit charges the backup battery unit through the voltage reduction circuit.
Step 402, when the power supply unit supplies power abnormally, the backup battery unit discharges through the bypass discharge circuit to enable the backup battery unit to supply power to the storage system; when the discharging voltage of the bypass discharging circuit is lower than a preset boosting threshold value, the backup battery unit is discharged through the boosting circuit.
In a specific implementation, when the power supply unit supplies power abnormally, the backup battery unit discharges through the bypass discharge circuit so as to supply power to the storage system; when the discharging voltage of the bypass discharging circuit is lower than a preset boosting threshold value, the backup battery unit is discharged through the boosting circuit.
In the embodiment of the invention, a power supply framework of a storage system comprises a power supply unit and a backup battery unit, and further comprises a hot plug protection module, a bidirectional flow charge-discharge control circuit and a bypass discharge circuit, wherein the bidirectional flow charge-discharge control circuit comprises a voltage reduction circuit and a voltage boost circuit; wherein: when the power supply unit supplies power normally, the power supply unit supplies power to the storage system through the hot plug protection module; when the backup battery unit needs to be charged, the power supply unit charges the backup battery unit through the voltage reduction circuit; when the power supply unit supplies power abnormally, the backup battery unit discharges through the bypass discharging circuit so as to supply power to the storage system; when the discharging voltage for discharging by the bypass discharging circuit is lower than a preset boosting threshold value, the backup battery unit is discharged through the boosting circuit. In the embodiment of the invention, the charging and discharging of the backup battery unit are controlled and managed through the voltage reduction circuit and the voltage boosting circuit of the bidirectional flow charging and discharging control circuit, so that the stability and the reliability of power supply of the storage system are improved, and meanwhile, the power supply link of the storage system is simplified through the bidirectional flow charging and discharging control circuit.
In an optional embodiment, the method further comprises:
receiving a control signal of the storage system;
judging the signal type of the control signal according to the control signal;
and processing the control signal according to the signal type.
Wherein, for the control signal, it may include a charging control signal, a discharging control signal, and a verification control signal, which are typically sent by a controller of the storage system; the control signal may include a PWM (Pulse Width Modulation) signal, and a duty ratio exists in the PWM signal.
Among them, as for the signal type, it may be a charging control signal type, a discharging control signal type, and a verifying control signal type.
The power supply of the storage system is provided with a control signal judgment and identification subprogram, and the control signal judgment and identification subprogram is used for identifying and eliminating the jitter of the control signal.
Optionally, the signal type of the control signal includes a charging control signal, and processing the control signal according to the signal type includes:
when the signal type of the control signal is the charging control signal, determining that a power supply link of the power supply unit is normal;
sampling the voltage of the backup battery unit to obtain a voltage sampling value corresponding to the voltage of the backup battery unit;
and adjusting the duty ratio of the PWM signal of the charging control signal according to the voltage sampling value so as to charge the backup battery unit.
In a specific implementation, the signal type of the control signal comprises a charging control signal, and when the control signal determines that the signal type of the control signal identified by the identification subroutine is the charging control signal, the power supply link of the power supply unit is determined to be normal; sampling the voltage of the backup battery unit to obtain a voltage sampling value corresponding to the voltage of the backup battery unit; and according to the voltage sampling value, adjusting the duty ratio of the PWM signal of the charging control signal to perform pre-charging, constant-current charging and constant-voltage charging on the backup battery unit.
Optionally, the signal type of the control signal includes a discharge control signal, and the processing the control signal according to the signal type includes:
when the signal type of the control signal is the discharge control signal, determining that a power supply link of the power supply unit is abnormal;
sampling the voltage of the backup battery unit to obtain a voltage sampling value corresponding to the voltage of the backup battery unit;
and when the voltage sampling value is smaller than a preset boosting threshold value, switching to a boosting circuit of the bidirectional flow charge-discharge control circuit to discharge and closing the bypass discharge circuit.
In specific implementation, when the signal type of the control signal is a discharge control signal, determining that a power supply link of the power supply unit is abnormal, and further sampling the voltage of the backup battery unit to obtain a voltage sampling value corresponding to the voltage of the backup battery unit; in addition, when the voltage sampling value is smaller than the preset boosting threshold value, the bidirectional flow charging and discharging control circuit is switched to the boosting circuit of the bidirectional flow charging and discharging control circuit to discharge and the bypass discharging circuit is closed; and after the boost circuit switched to the bidirectional flow charge-discharge control circuit discharges and the bypass discharge circuit is closed, the duty ratio of the PWM signal of the charge control signal is adjusted according to the voltage sampling value corresponding to the voltage of the backup battery unit so as to keep the output voltage of the backup battery unit at a constant voltage.
In a specific implementation, the signal type of the control signal comprises a discharge control signal, and when the control signal judges that the signal type of the control signal identified by the identification subprogram is the discharge control signal, the power supply link of the power supply unit is judged to be abnormal; sampling the voltage of the backup battery unit to obtain a voltage sampling value corresponding to the voltage of the backup battery unit; and when the voltage sampling value is smaller than the preset boosting threshold value, switching to a boosting circuit of the bidirectional flow charge-discharge control circuit to discharge and closing the bypass discharge circuit. After the boost circuit switched to the bidirectional flow charge-discharge control circuit discharges and the bypass discharge circuit is closed, the duty ratio of the PWM signal of the charge control signal is adjusted according to the voltage sampling value corresponding to the voltage of the backup battery unit so as to keep the output voltage of the backup battery unit at a constant voltage.
Optionally, the signal type of the control signal includes a verification control signal, the power supply architecture is provided with a verification control subroutine, and processing the control signal according to the signal type includes:
when the signal type of the control signal is the checking control signal, judging that the charging control signal and the discharging control signal of the control signal are in an invalid state;
and inputting the verification control signal into the verification control subprogram, verifying whether the standby power capacity of the backup battery unit meets the standby power requirement of the storage system, and correcting the sampling error of the backup battery unit.
In a specific implementation, the signal type of the control signal comprises a check control signal, the backup power supply framework is provided with a check control subprogram, and when the control signal judges that the signal type of the control signal identified by the identification subprogram is the check control signal, the charging control signal and the discharging control signal are judged to be in an invalid state; and inputting the verification control signal into a verification control subprogram, verifying whether the standby power capacity of the backup battery unit meets the standby power requirement of the storage system or not, and correcting the sampling error of the backup battery unit.
Optionally, before the receiving the control signal of the storage system, the method further includes:
receiving a control instruction of the storage system;
and setting the circuit parameters of the backup battery unit according to the control instruction.
The circuit parameters at least comprise charging voltage and charging current of the backup battery unit. Optionally, the power supply architecture is further provided with a system management bus subprogram, and the system management bus subprogram is used for inquiring the power supply state of the power supply unit. In addition, the power supply architecture is further provided with a sampling subprogram, and the sampling subprogram is used for sampling the output voltage of the power supply unit, the output current of the power supply unit, the output voltage of the backup battery unit, the output current of the backup battery unit and the voltage of the backup battery unit.
In one example, referring to fig. 5, a flow chart of a power backup control method of a storage system provided in an embodiment of the present invention is shown; as shown in fig. 5, first, the controller MCU function and the status register are initialized by the initialization program, and then the corresponding control register is configured. Secondly, the system management bus subprogram is used for receiving a control instruction of the storage system, so that the charging voltage, the charging current, abnormal log collection and the like can be preset; the system management bus subprogram can also inquire the power supply state of the power supply unit and the like, such as the output voltage, the output current, the temperature of key components, a state register and the like of the current power supply unit; the system management bus subprogram can also carry out intelligent analysis, if a power supply unit has hidden danger, the controller can control the triode Q1 and the push-pull output circuit through the second resistor R3 so as to open a bypass discharge circuit formed by the switch tube Q3, and the driving capability of the triode Q1 is improved. Moreover, the sampling sub-program can sample and intelligently analyze the output voltage of the power supply unit, the output current of the power supply unit, the output voltage of the backup battery unit, the output current of the backup battery unit and the voltage of the backup battery unit; in addition, the control signal judgment and identification subprogram can identify and eliminate the shaking of the charging control signal, the discharging control signal and the checking control signal; if the voltage value of the backup battery unit is lower than a preset voltage value (such as 11.2V), the boost circuit of the bidirectional flow charge-discharge control circuit can be controlled to start working, and meanwhile, the output of the bypass discharge circuit is closed. The switch tube Q2, the switch tube Q4, the inductor L1 and the resistor R1 can form a bidirectional flowing charge and discharge control circuit. Assuming that the bidirectional flow charge-discharge control circuit works in a 12V discharge boosting mode from the backup battery unit, the switching tube Q2 and the switching tube Q4 can be controlled by adjusting the duty ratios of the PWM signal 1 and the PWM signal 2 to ensure that the output voltage of the backup battery unit is constant at 11.5V. If the charging control signal is received and the power supply unit supplies power normally, the charging control subroutine is entered if the charging voltage and the charging current set value received by the power supply unit are valid. In addition, according to the voltage sampling value of the backup battery unit, assuming that the bidirectional flow charge-discharge control circuit works in a charge voltage reduction mode from 12V to the backup battery unit, the switching tube Q2 and the switching tube Q4 are controlled by adjusting the duty ratios of the PWM signal 1 and the PWM signal 2 to realize pre-charge (low current charge), constant current charge and constant voltage charge of the backup battery unit. And finally, if the received verification control signal is valid and the charging control signal and the discharging control signal are invalid, entering a verification control subprogram, and if the received verification control signal is invalid, exiting the verification control subprogram.
It should be noted that, during charging, discharging and checking, the backup battery unit itself will determine the charging, discharging and checking functions, and if the charging, discharging and checking functions are normal, it will jump to the system management bus subprogram; such as charging, discharging, checking for functional abnormality, an abnormality determination and repair subroutine is entered, and a functional abnormality log of the backup battery unit is recorded.
In a specific implementation, by receiving a control signal of a storage system, a signal type of the control signal is determined according to the control signal, so that the control signal is processed correspondingly according to the signal type. There can be targeted processing of different control signals. The voltage of the backup battery unit is monitored, and the frequency modulation and the phase modulation are combined during charging, so that the pre-charging (low-current charging), the constant-current charging and the constant-voltage charging of the backup battery unit are realized, the charging precision is ensured, the seamless switching of the discharging of the bypass discharging circuit and the discharging of the booster circuit of the bidirectional flow charging and discharging control circuit is realized during the discharging of the backup battery unit, the constant-voltage output during the discharging is realized, and the current-sharing control of different backup battery unit modules is realized.
In the embodiment of the invention, a power supply framework of a storage system comprises a power supply unit and a backup battery unit, and further comprises a hot plug protection module, a bidirectional flow charge-discharge control circuit and a bypass discharge circuit, wherein the bidirectional flow charge-discharge control circuit comprises a voltage reduction circuit and a voltage boost circuit; wherein: when the power supply unit supplies power normally, the power supply unit supplies power to the storage system through the hot plug protection module; when the backup battery unit needs to be charged, the power supply unit charges the backup battery unit through the voltage reduction circuit; when the power supply unit supplies power abnormally, the backup battery unit discharges through the bypass discharge circuit to enable the backup battery unit to supply power for the storage system; when the discharging voltage for discharging by the bypass discharging circuit is lower than a preset boosting threshold value, the backup battery unit is discharged through the boosting circuit. In the embodiment of the invention, the charging and discharging of the backup battery unit are controlled and managed through the voltage reduction circuit and the voltage boosting circuit of the bidirectional flow charging and discharging control circuit, so that the stability and the reliability of power supply of the storage system are improved, and meanwhile, the power supply link of the storage system is simplified through the bidirectional flow charging and discharging control circuit.
In addition, by receiving the control signal of the storage system and judging the signal type of the control signal according to the control signal, the control signal is correspondingly processed according to the signal type, different control signals can be processed in a targeted mode, frequency modulation and phase modulation are combined during charging by monitoring the voltage of the backup battery unit, pre-charging (low-current charging), constant-current charging and constant-voltage charging of the backup battery unit are achieved, charging accuracy is guaranteed, discharging of a bypass discharging circuit and seamless switching of discharging of a boosting circuit of a bidirectional flow charging and discharging control circuit are achieved during discharging of the backup battery unit, constant-voltage output during discharging is achieved, and current-sharing control of different backup battery unit modules is achieved.
It should be noted that for simplicity of description, the method embodiments are shown as a series of combinations of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
In addition, an embodiment of the present invention further provides an electronic device, including: the processor, the memory, and the computer program stored in the memory and capable of running on the processor, when being executed by the processor, implement each process of the above-mentioned standby power control method embodiment, and can achieve the same technical effect, and are not described herein again to avoid repetition.
FIG. 6 is a schematic structural diagram of a computer-readable storage medium provided in an embodiment of the present invention;
the embodiment of the present invention further provides a computer-readable storage medium 601, where a computer program is stored on the computer-readable storage medium 601, and when the computer program is executed by a processor, the computer program implements each process of the embodiment of the standby power control method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium 601 is, for example, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
The electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, a power supply 711, and the like. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 7 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 710; in addition, the uplink data is transmitted to the base station. Generally, the radio frequency unit 701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio unit 701 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 702, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 may provide audio output related to a specific function performed by the electronic apparatus 700 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
The input unit 704 is used to receive audio or video signals. The input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processor 7041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 706. The image frames processed by the graphic processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via the radio unit 701 or the network module 702. The microphone 7042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 701 in case of a phone call mode.
The electronic device 700 also includes at least one sensor 705, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 7061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 7061 and/or a backlight when the electronic device 700 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 705 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 706 is used to display information input by the user or information provided to the user. The Display unit 706 may include a Display panel 7061, and the Display panel 7061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 707 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 7071 (e.g., operations by a user on or near the touch panel 7071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 7071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 710, receives a command from the processor 710, and executes the command. In addition, the touch panel 7071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 707 may include other input devices 7072 in addition to the touch panel 7071. In particular, the other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation on or near the touch panel 7071, the touch operation is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Although in fig. 7, the touch panel 7071 and the display panel 7061 are implemented as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 708 is an interface for connecting an external device to the electronic apparatus 700. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 708 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 700 or may be used to transmit data between the electronic apparatus 700 and an external device.
The memory 709 may be used to store software programs as well as various data. The memory 709 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 709 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 710 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 709 and calling data stored in the memory 709, thereby monitoring the whole electronic device. Processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The electronic device 700 may further comprise a power supply 711 (such as a battery) for supplying power to various components, and preferably, the power supply 711 may be logically connected to the processor 710 through a power management system, so as to realize functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 700 includes some functional modules that are not shown, and are not described in detail herein.
It should be noted that, in this document, 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 component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one type of logical functional division, and other divisions may be realized in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (21)

1. A power supply architecture of a storage system comprises a power supply unit and a backup battery unit, and is characterized by further comprising a hot plug protection module, a bidirectional flow charge and discharge control circuit and a bypass discharge circuit; the bidirectional flow charge-discharge control circuit comprises a voltage reduction circuit and a voltage boosting circuit; wherein:
when the power supply unit supplies power normally, the power supply unit supplies power to the storage system through the hot plug protection module; when the backup battery unit needs to be charged, the power supply unit charges the backup battery unit through the voltage reduction circuit;
when the power supply unit supplies power abnormally, the backup battery unit discharges through the bypass discharge circuit to enable the backup battery unit to supply power for the storage system; when the discharging voltage of the bypass discharging circuit is lower than a preset boosting threshold value, the backup battery unit discharges through the boosting circuit.
2. The power architecture of the storage system according to claim 1, wherein the bypass discharge circuit is formed by a switching tube, the switching tube including a bypass diode and a switching tube body; the power supply architecture further comprises a control module; wherein:
when a power supply link of the power supply unit is abnormal, the backup battery unit discharges through the bypass diode so as to supply power to the storage system;
when the control module detects that a power supply link of the power supply unit is abnormal, the switching tube body is controlled to be conducted, so that the backup battery unit is switched to the switching tube body to supply power to the storage system.
3. The power supply architecture of the storage system according to claim 2, wherein the control module includes a sampling module and a bypass intelligent control circuit, the sampling module is configured to detect whether a power supply link of the power supply unit is abnormal; wherein:
when the sampling module detects that a power supply link of the power supply unit is abnormal, the bypass intelligent control circuit controls the switch tube body to be conducted so that the backup battery unit is switched to the switch tube body to supply power to the storage system.
4. The power architecture of a storage system according to claim 3,
when the bypass intelligent control circuit judges that the power supply state of the power supply unit is abnormal in advance, the switch tube body is controlled to be conducted, so that the backup battery unit supplies power to the storage system through the switch tube body.
5. The power architecture of the memory system according to claim 3, wherein the bypass intelligent control circuit comprises a resistor, a capacitor, a transistor and a controller, the resistor is a first resistor and a second resistor, the capacitor is a first capacitor, and wherein:
the first resistor is connected with the first capacitor in parallel, two ends of the first resistor are respectively connected with the base electrode and the emitting electrode of the triode, and two ends of the second resistor are respectively connected with the base electrode of the triode and the controller.
6. The power architecture of the memory system of claim 2, wherein the control module comprises a hysteresis comparator; the hysteresis comparator is used for controlling the switch tube body to be conducted when the output voltage of the power supply unit is lower than a preset reference voltage, so that the backup battery unit is switched to the switch tube body to supply power to the storage system.
7. The power architecture of the memory system according to claim 6, wherein the hysteretic comparator comprises an integrated chip, resistors, a bypass diode and a capacitor, wherein the resistors are a third resistor, a fourth resistor, a fifth resistor, a sixth resistor and a seventh resistor, and the capacitor is a second capacitor, wherein:
the anode of the bypass diode is connected with the third resistor, the cathode of the bypass diode is respectively connected with the fourth resistor, the fifth resistor and the sixth resistor, the third resistor is respectively connected with the second capacitor and the seventh resistor, and the seventh resistor is connected with the integrated chip.
8. The power architecture of the storage system according to any one of claims 2-7, wherein the power architecture further comprises: and the push-pull output circuit is arranged on a control branch circuit between the control module and the switch tube body.
9. The power architecture of the storage system of claim 1, wherein the bypass discharge circuit is connected in parallel with the bidirectional flow charge-discharge control circuit.
10. The power architecture of the storage system according to claim 1, wherein the power supply unit comprises a first power supply unit and a second power supply unit; the power supply unit is provided with an OR logic control circuit, and the OR logic control circuit is used for normally supplying power to the storage system through the second power supply unit when a power supply link of the first power supply unit is abnormal.
11. The power architecture of the memory system according to claim 4, wherein the power state of the power supply unit at least comprises a present output voltage of the power supply unit, a present output current of the power supply unit, and a critical component temperature.
12. A power backup control method for a storage system, applied to a power supply architecture of the storage system according to any one of claims 1 to 11, wherein the power supply architecture of the storage system comprises a power supply unit and a backup battery unit, and the power supply architecture further comprises a hot plug protection module, a bidirectional flow charge and discharge control circuit and a bypass discharge circuit; the bidirectional flow charge-discharge control circuit comprises a voltage reduction circuit and a voltage boosting circuit; the method comprises the following steps:
when the power supply unit supplies power normally, the power supply unit supplies power to the storage system through the hot plug protection module; when the backup battery unit needs to be charged, the power supply unit charges the backup battery unit through the voltage reduction circuit;
when the power supply unit supplies power abnormally, the backup battery unit discharges through the bypass discharge circuit to enable the backup battery unit to supply power for the storage system; when the discharging voltage of the bypass discharging circuit is lower than a preset boosting threshold value, the backup battery unit is discharged through the boosting circuit.
13. The method of claim 12, further comprising:
receiving a control signal of the storage system;
judging the signal type of the control signal according to the control signal;
and processing the control signal according to the signal type.
14. The method of claim 13, wherein the signal type of the control signal comprises a charging control signal, and wherein processing the control signal according to the signal type comprises:
when the signal type of the control signal is the charging control signal, determining that a power supply link of the power supply unit is normal;
sampling the voltage of the backup battery unit to obtain a voltage sampling value corresponding to the voltage of the backup battery unit;
and adjusting the duty ratio of the PWM signal of the charging control signal according to the voltage sampling value so as to charge the backup battery unit.
15. The method of claim 13, wherein the signal type of the control signal comprises a discharge control signal, and wherein processing the control signal according to the signal type comprises:
when the signal type of the control signal is the discharge control signal, judging that a power supply link of the power supply unit is abnormal;
sampling the voltage of the backup battery unit to obtain a voltage sampling value corresponding to the voltage of the backup battery unit;
and when the voltage sampling value is smaller than a preset boosting threshold value, switching to a boosting circuit of the bidirectional flow charge-discharge control circuit to discharge and closing the bypass discharge circuit.
16. The method of claim 15, wherein after the step-up circuit that switches to the bidirectional flow charge and discharge control circuit discharges and shuts down the bypass discharge circuit when the voltage sample is less than a preset step-up threshold, the method further comprises:
and adjusting the duty ratio of a PWM signal of a charging control signal in the control signal according to a voltage sampling value corresponding to the voltage of the backup battery unit so as to keep the output voltage of the backup battery unit as a constant voltage.
17. The method according to any one of claims 13-16, wherein the signal type of the control signal comprises a check control signal, the power supply architecture is provided with a check control subroutine, and the processing the control signal according to the signal type comprises:
when the signal type of the control signal is the verification control signal, judging that a charging control signal and a discharging control signal of the control signal are in an invalid state;
and inputting the verification control signal into the verification control subprogram, verifying whether the standby power capacity of the backup battery unit meets the standby power requirement of the storage system, and correcting the sampling error of the backup battery unit.
18. The method of claim 13, wherein prior to said receiving control signals for said storage system, said method further comprises:
receiving a control instruction of the storage system;
and setting the circuit parameters of the backup battery unit according to the control instruction.
19. The method according to claim 13, wherein the power architecture is further provided with a system management bus subroutine, and the system management bus subroutine is used for querying the power supply state of the power supply unit.
20. An electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
the memory is used for storing a computer program;
the processor, when executing a program stored on the memory, implementing the method of any one of claims 12-19.
21. A computer-readable storage medium having instructions stored thereon, which when executed by one or more processors, cause the processors to perform the method of any one of claims 12-19.
CN202310219520.0A 2023-03-08 2023-03-08 Power supply architecture of storage system and standby power control method thereof Pending CN115933852A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310219520.0A CN115933852A (en) 2023-03-08 2023-03-08 Power supply architecture of storage system and standby power control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310219520.0A CN115933852A (en) 2023-03-08 2023-03-08 Power supply architecture of storage system and standby power control method thereof

Publications (1)

Publication Number Publication Date
CN115933852A true CN115933852A (en) 2023-04-07

Family

ID=86558019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310219520.0A Pending CN115933852A (en) 2023-03-08 2023-03-08 Power supply architecture of storage system and standby power control method thereof

Country Status (1)

Country Link
CN (1) CN115933852A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116736961A (en) * 2023-08-15 2023-09-12 苏州浪潮智能科技有限公司 Power supply control method, device, equipment and medium of unified storage system
CN117917851A (en) * 2024-03-15 2024-04-23 无锡力芯微电子股份有限公司 Direct current boost circuit with bypass direct-pass function

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106787154A (en) * 2017-02-24 2017-05-31 郑州云海信息技术有限公司 A kind of stand-by power source device
CN107394841A (en) * 2017-07-25 2017-11-24 郑州云海信息技术有限公司 A kind of storage device and its standby electric method for charging batteries and control device
CN109428385A (en) * 2017-08-29 2019-03-05 中兴通讯股份有限公司 Power transfer system and method
CN109842289A (en) * 2017-11-28 2019-06-04 华为终端有限公司 Increasing apparatus and step-up method
CN113078712A (en) * 2021-04-02 2021-07-06 广东美电贝尔科技集团股份有限公司 Storage battery charging and discharging protection system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106787154A (en) * 2017-02-24 2017-05-31 郑州云海信息技术有限公司 A kind of stand-by power source device
CN107394841A (en) * 2017-07-25 2017-11-24 郑州云海信息技术有限公司 A kind of storage device and its standby electric method for charging batteries and control device
CN109428385A (en) * 2017-08-29 2019-03-05 中兴通讯股份有限公司 Power transfer system and method
CN109842289A (en) * 2017-11-28 2019-06-04 华为终端有限公司 Increasing apparatus and step-up method
CN113078712A (en) * 2021-04-02 2021-07-06 广东美电贝尔科技集团股份有限公司 Storage battery charging and discharging protection system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116736961A (en) * 2023-08-15 2023-09-12 苏州浪潮智能科技有限公司 Power supply control method, device, equipment and medium of unified storage system
CN116736961B (en) * 2023-08-15 2024-01-12 苏州浪潮智能科技有限公司 Power supply control method, device, equipment and medium of unified storage system
CN117917851A (en) * 2024-03-15 2024-04-23 无锡力芯微电子股份有限公司 Direct current boost circuit with bypass direct-pass function
CN117917851B (en) * 2024-03-15 2024-05-28 无锡力芯微电子股份有限公司 Direct current boost circuit with bypass direct-pass function

Similar Documents

Publication Publication Date Title
CN108899952B (en) Multi-battery charging and discharging device and mobile terminal
CN115933852A (en) Power supply architecture of storage system and standby power control method thereof
EP3930138B1 (en) Charging control circuit, terminal device and control method
US10638429B2 (en) Terminal device with a power supply control during emergency communication
CN107546808B (en) Charging identification circuit, identification method and terminal equipment
WO2017161587A1 (en) Power supply circuit for load, and terminal
CN107834640B (en) Charging method and terminal
CN108461834B (en) Battery pack structure, mobile terminal and charge-discharge control method
WO2018129976A1 (en) Charging control method, apparatus and system, storage medium, and terminal
CN109217409B (en) Charging method and device and electronic equipment
CN111257786A (en) Working current self-checking circuit and method and electronic equipment
CN106532876B (en) Power supply control method and device and computer equipment
CN109687922B (en) Signal monitoring method and device of wireless network, storage medium and mobile terminal
CN111432387A (en) Many-to-many switching module, multi-machine wireless communication system and communication method thereof
CN111404242A (en) Charging method, charging device, storage medium and mobile terminal
CN108874111B (en) Battery over-discharge protection control method and mobile terminal
CN110994052B (en) Method and device for prolonging battery endurance, storage medium and terminal equipment
CN111308303B (en) Method and device for detecting radio frequency power amplifier of mobile terminal
CN109672242B (en) Terminal charging control method and device and storage medium
CN112542867A (en) Mobile terminal power supply control method and device, terminal equipment and storage medium
CN112596600A (en) Screen unlocking method and device, storage medium and mobile terminal
CN107749751B (en) Mobile terminal power supply system and mobile terminal
CN111355836A (en) Flashlight control method and device, storage medium and mobile terminal
CN112256610B (en) Connection control method, system, storage medium and mobile terminal
CN108808871B (en) Wireless charging receiving end, wireless charging method and mobile terminal

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20230407

RJ01 Rejection of invention patent application after publication