Power supply control circuit, method and apparatus for storage system, and storage medium

By using the signal processing module and driver module in the power supply control circuit of the storage system, the control signal of the hot-swappable device is adjusted according to the conduction time, which solves the problem of low adaptability of the power supply conduction speed and improves the adaptability and efficiency of the system. .

WO2024183393A1PCT designated stage expired Publication Date: 2024-09-12INSPUR SUZHOU INTELLIGENT TECH CO LTD

Patent Information

Application Number
PCT/CN2023/139270
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-08
Filing Date
2023-12-15
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

The power supply conduction speed of the storage system has low adaptability and cannot effectively adapt to the needs of different working conditions.

Method used

Introduce the signal processing module and driver module into the power supply control circuit of the storage system. According to the target conduction time of the hot-swap device, it is decided whether the output control signal is the initial hot-swap signal or the target hot-swap signal. Through the signal processing module and the driver The connection and disconnection of the module adjusts the conduction speed of the hot-swappable device.

Benefits of technology

It improves the adaptability of the power supply conduction speed of the storage system, shortens the opening time of the server power supply module branch, speeds up the conduction when needed, and slows down the conduction to adapt to different working scenarios, thereby enhancing the flexibility and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023139270_12092024_PF_FP_ABST
    Figure CN2023139270_12092024_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present application are a power supply control circuit, method and apparatus for a storage system, and a non-volatile readable storage medium. The control circuit comprises: a signal processing module and a driving module, wherein a first input end of the signal processing module is connected to an initial output end of a hot-swapping control chip deployed in a storage system; a first output end of the signal processing module is connected to a second input end of the driving module; a second output end of the driving module is connected to a control end of a hot-swapping device deployed in the storage system; and the initial output end is further connected to the control end. By means of the present application, the problem of the adaptability for the power supply conduction speed of a storage system being low is solved, and thus the effect of improving the adaptability for the power supply conduction speed of the storage system is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Power supply control circuit, method, device and storage medium for storage system

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to a Chinese patent application filed with the Patent Office of China on March 8, 2023, with application number 2023102182234, entitled “Power supply control circuit, method, device and storage medium for storage system”, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The embodiments of the present application relate to the technical field of storage devices, and more specifically, to a power supply control circuit, method, device, and non-volatile readable storage medium of a storage system. Background Art

[0004] Storage systems are a crucial component of computers. They enable the writing and reading of information (programs and data) necessary for computer operation, thus enabling the computer's information storage function. In the era of big data, higher demands are being placed on the reliability of storage systems, particularly their power supply speed.

[0005] Currently, to improve the fault recovery capabilities and scalability of storage systems, storage device components such as PSUs (Power Supply Units), hard drives, and fiber optic cards are increasingly supporting hot-swap functionality. The hot-swap function allows users to remove and replace damaged hard drives, power supplies, or boards without shutting down the system or disconnecting the power, thereby improving the system's timely disaster recovery capabilities, scalability, and flexibility. Current storage systems control the storage system's backup power supply by sending instructions to hot-swap devices via a hot-swap control chip. The on-time of the hot-swap devices deployed in the storage system determines the storage system's power on-speed. However, the current control method for hot-swap devices has a fixed on-time, and the adaptability of the storage system's power on-speed to meet the needs of different operating states of the storage system, such as testing whether the power supply function is normal, is very low.

[0006] With respect to the problem of low adaptability of power supply conduction speed of storage systems in related technologies, no effective solution has been proposed yet.

[0007] Summary of the Invention

[0008] Embodiments of the present application provide a power supply control circuit, method, device, and non-volatile readable storage medium for a storage system, to at least address the problem of low adaptability of the power supply conduction speed of the storage system in the related art.

[0009] According to an embodiment of the present application, a power supply control circuit for a storage system is provided, characterized by comprising: a signal processing module and a driver module, wherein a first input end of the signal processing module is connected to an initial output end of a hot-swap control chip deployed in the storage system, a first output end of the signal processing module is connected to a second input end of the driver module, a second output end of the driver module is connected to a control end of a hot-swap device deployed in the storage system, and the initial output end is also connected to the control end;

[0010] When the target on-time of the hot-swap device is less than or equal to the time threshold, the driving module conducts the connection between the second input terminal and the second output terminal, the initial output terminal outputs the initial hot-swap signal to the first input terminal, the signal processing module converts the initial hot-swap signal into a target hot-swap signal, the first output terminal outputs the target hot-swap signal to the second input terminal, and the second output terminal outputs the target hot-swap signal to the control terminal, wherein the target hot-swap signal is greater than the initial hot-swap signal; and the hot-swap device controls the server power supply module deployed in the storage system to supply power to the storage system in response to the target hot-swap signal.

[0011] When the target on-time of the hot-swap device is greater than the time threshold, the driving module cuts off the connection between the second input terminal and the second output terminal, and the initial output terminal outputs an initial hot-swap signal to the control terminal; the hot-swap device responds to the initial hot-swap signal to control the server power supply module to supply power to the storage system.

[0012] In an exemplary embodiment, the signal processing module includes: a voltage amplification circuit and a current conversion circuit, wherein:

[0013] The input end of the voltage amplifier circuit is connected to the initial output end as the first input end, the output end of the voltage amplifier circuit is connected to the input end of the current conversion circuit, and the output end of the current conversion circuit is connected to the second input end as the first output end;

[0014] The voltage amplifying circuit amplifies the voltage of the input initial hot plug signal to obtain a voltage amplified signal; the current converting circuit converts the voltage amplified signal into a current amplified signal as a target hot plug signal for output.

[0015] In an exemplary embodiment, the voltage amplification circuit includes: a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, and a first operational amplifier, wherein:

[0016] The first end of the first resistor and the first end of the second resistor are commonly connected to the initial output terminal, the second end of the first resistor and the first end of the third resistor are commonly connected to the control terminal, the second end of the second resistor and the first end of the fourth resistor are commonly connected to the inverting input terminal of the first operational amplifier, the second end of the fourth resistor is grounded, the second end of the third resistor and the first end of the fifth resistor are commonly connected to the non-inverting input terminal of the first operational amplifier, and the second end of the fifth resistor and the output terminal of the first operational amplifier are commonly connected to the input terminal of the current conversion circuit.

[0017] In an exemplary embodiment, the second resistor and the third resistor have the same resistance value, the fourth resistor and the fifth resistor have the same resistance value, and the resistance ratio of the second resistor to the fourth resistor is used to control the amplification factor of the voltage amplifier circuit.

[0018] In an exemplary embodiment, the voltage amplifying circuit further includes: a diode, wherein a cathode of the diode is connected to the initial output terminal, and an anode of the diode is connected to the control terminal.

[0019] In an exemplary embodiment, the current conversion circuit includes: a sixth resistor, a seventh resistor, a second operational amplifier, and a first MOS tube (Metal-Oxide-Semiconductor Field-Effect Transistor, MOSFET, metal-oxide-semiconductor field-effect transistor), wherein:

[0020] The first end of the sixth resistor and the first end of the seventh resistor are commonly connected to the inverting input terminal of the second operational amplifier, the second end of the sixth resistor is grounded, the second end of the seventh resistor is connected to the source of the first MOS transistor, the non-inverting input terminal of the second operational amplifier is connected to the output terminal of the voltage amplifier circuit, the output terminal of the second operational amplifier is connected to the gate of the first MOS transistor, and the drain of the first MOS transistor is connected to the second input terminal.

[0021] In an exemplary embodiment, the driving module includes: a current mirror circuit and a charge pump circuit, wherein:

[0022] The third input terminal of the mirror current circuit is connected to the first output terminal as the second input terminal, the fourth input terminal of the mirror current circuit is connected to the output terminal of the charge pump circuit, the output terminal of the mirror current circuit is connected to the control terminal as the second output terminal, and the input terminal of the charge pump circuit is connected to the server power supply module;

[0023] The charge pump circuit controls the output of the charge pump signal; when the mirror current circuit receives the charge pump signal from the fourth input terminal, the mirror current circuit connects the third input terminal to the output terminal of the mirror current circuit; when the charge pump signal is not received from the fourth input terminal, the mirror current circuit disconnects the third input terminal from the output terminal of the mirror current circuit;

[0024] In an exemplary embodiment, the current mirror circuit includes: a first transistor and a second transistor, wherein:

[0025] The emitter of the first transistor is connected to the first output end, the base of the first transistor is connected to the base of the second transistor, the collector of the first transistor and the collector of the second transistor are commonly connected to the output end of the charge pump circuit, and the emitter of the second transistor is connected to the control end.

[0026] In an exemplary embodiment, the charge pump circuit includes: a third transistor, a fourth transistor, an eighth resistor, a ninth resistor, and a charge pump, wherein:

[0027] The collector of the third transistor is connected to the collector of the second transistor, the emitter of the third transistor and the first end of the ninth resistor are commonly connected to the output end of the charge pump, the first end of the eighth resistor and the second end of the ninth resistor are commonly connected to the base of the third transistor, the second end of the eighth resistor is connected to the collector of the fourth transistor, the emitter of the fourth transistor is grounded, and the input end of the charge pump is connected to the server power supply module;

[0028] The charge pump doubles the output voltage of the server power supply module and transmits it to the emitter of the third transistor and the ninth resistor;

[0029] The base of the fourth transistor controls the charge pump signal by controlling the on and off of the fourth transistor and the third transistor, wherein when the fourth transistor and the third transistor are both turned on, the output end of the charge pump circuit generates a charge pump signal, and when the fourth transistor or the third transistor is turned off, the output end of the charge pump circuit does not generate a charge pump signal.

[0030] In an exemplary embodiment, the driving module further includes: a processor, wherein:

[0031] The processor is connected to the base of the fourth transistor;

[0032] The processor is configured to send a first enable signal to the base of the fourth transistor when the target turn-on time is less than or equal to a time threshold, wherein the first enable signal is used to turn on the fourth transistor; and to send a second enable signal to the base of the fourth transistor when the target turn-on time is greater than the time threshold, wherein the second enable signal is used to turn off the fourth transistor.

[0033] In an exemplary embodiment, the processor is further configured to:

[0034] Check the operating status of the storage system;

[0035] When the operating state is a test state, determining that the target on-time is less than or equal to a time threshold, wherein the test state is used to indicate that the storage system is performing a backup power test;

[0036] In a case where the operation state is a working state, it is determined that the target on-time is greater than a time threshold, wherein the working state is used to indicate that the storage system is working.

[0037] According to an embodiment of the present application, a power supply control method for a storage system is provided, comprising:

[0038] detecting a target on-time of a hot-swappable device deployed in the storage system, wherein the hot-swappable device is configured to control a server power supply module deployed in the storage system to supply power to the storage system in response to a target control signal inputted from a control terminal of the hot-swappable device;

[0039] Determine a target control signal according to a target on-time and an initial hot-swap signal output by a hot-swap control chip deployed in the storage system;

[0040] Send the target control signal to the control terminal.

[0041] In an exemplary embodiment, determining a target control signal according to a target on-time and an initial hot-swap signal output by a hot-swap control chip deployed in a storage system includes:

[0042] When the target on-time is greater than the time threshold, determining the initial hot plug signal as the target control signal;

[0043] When the target on-time is less than or equal to the time threshold, the initial hot plug signal is converted to obtain a target control signal, wherein the target control signal is greater than the initial hot plug signal.

[0044] In an exemplary embodiment, performing signal conversion on an initial hot plug signal to obtain a target control signal includes:

[0045] amplifying the voltage of the initial hot plug signal to obtain a voltage amplified signal;

[0046] The voltage amplified signal is converted into a current amplified signal to obtain a target hot plug signal as a target control signal.

[0047] In an exemplary embodiment, amplifying the voltage of the initial hot plug signal to obtain a voltage amplified signal includes:

[0048] Determine the voltage amplification factor based on the target on-time;

[0049] The initial hot plug signal is voltage-amplified according to the voltage amplification factor to obtain a voltage-amplified signal.

[0050] In an exemplary embodiment, determining a target control signal according to a target on-time and an initial hot-swap signal output by a hot-swap control chip deployed in a storage system includes:

[0051] Control the hot-swap control chip to output an initial hot-swap signal;

[0052] According to the relationship between the target on-time and the time threshold, the signal processing module is controlled to be turned on or off, wherein the signal processing module is connected between the hot-swap control chip and the control end, and the hot-swap control chip is also connected to the control end. When the signal processing module is turned on, the initial hot-swap signal is converted into the target control signal through the signal processing module. When the signal processing module is turned off, the initial hot-swap signal is the target control signal.

[0053] In an exemplary embodiment, controlling the signal processing module to be turned on or off according to the relationship between the target on-time and the time threshold includes:

[0054] When the target on-time is less than or equal to the time threshold, the control signal processing module is turned on;

[0055] When the target on-time is greater than the time threshold, the signal processing module is controlled to be turned off.

[0056] In an exemplary embodiment, detecting a target on-time of a hot-swap device deployed in a storage system includes:

[0057] Check the operating status of the storage system;

[0058] When the operating state is a test state, determining that the target on-time is less than or equal to a time threshold, wherein the test state is used to indicate that the storage system is performing a backup power test;

[0059] In a case where the operation state is a working state, it is determined that the target on-time is greater than a time threshold, wherein the working state is used to indicate that the storage system is working.

[0060] In an exemplary embodiment, a power supply control method for a storage system is applied to a power supply control circuit of the storage system, wherein the power supply control circuit includes a signal processing module and a driving module, wherein a first input end of the signal processing module is connected to an initial output end of a hot-swap control chip, a first output end of the signal processing module is connected to a second input end of the driving module, a second output end of the driving module is connected to a control end of a hot-swap device, and the initial output end is also connected to the control end, and the driving module is used to cut off the connection between the second input end and the second output end when a target on-time is greater than a time threshold, and the driving module is also used to turn on the connection between the second input end and the second output end when a target on-time is less than or equal to a time threshold, and the power supply control circuit is used to convert the initial hot-swap signal through the signal processing module when the target on-time is less than or equal to the time threshold.

[0061] In an exemplary embodiment, detecting the operating status of a storage system includes:

[0062] Check whether the server power supply module is turned on;

[0063] If it is detected that the server power supply module is not turned on, check whether the storage system is in the power-on state;

[0064] When detecting that the storage system is in a powered-on state, determining that the operating state is a working state;

[0065] When it is detected that the storage system is in a non-startup state, the operation state is determined to be a test state.

[0066] According to an embodiment of the present application, a power supply control device for a storage system is provided, comprising:

[0067] a detection module configured to detect a target on-time of a hot-swappable device deployed in the storage system, wherein the hot-swappable device is configured to control a server power supply module deployed in the storage system to supply power to the storage system in response to a target control signal inputted from a control terminal of the hot-swappable device;

[0068] A determination module is configured to determine a target control signal according to a target on-time and an initial hot-swap signal output by a hot-swap control chip deployed in the storage system;

[0069] The sending module is configured to send the target control signal to the control end.

[0070] According to an embodiment of the present application, a computer non-volatile readable storage medium is further provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0071] According to an embodiment of the present application, an electronic device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any of the above method embodiments.

[0072] Through the present application, a signal processing module and a driver module are added to the power supply control circuit of the storage system. The control signal output to the hot-swappable device is determined to be the initial hot-swappable signal or the target hot-swappable signal based on the target on-time of the hot-swappable device. When the target on-time is less than or equal to the time threshold, the connection between the second input terminal and the second output terminal of the driver module is connected so that the signal processing module is connected to the hot-swappable device, and the hot-swappable device is controlled by the target hot-swappable signal, thereby accelerating the conduction of the hot-swappable device, shortening the time for the server power supply module branch to be turned on, and improving the power supply conduction speed of the storage system. When the target on-time is greater than the time threshold, the connection between the second input terminal and the second output terminal of the driver module is disconnected so that the signal processing module is disconnected from the hot-swappable device, and the hot-swappable device is controlled by the initial hot-swappable signal, thereby slowing down the conduction of the hot-swappable device and increasing the time for the server power supply module branch to be turned on, so that the control of the hot-swappable device can adapt to various working scenarios and working requirements of the storage system. Therefore, the problem of low adaptability of the power supply conduction speed of the storage system is solved, thereby achieving the effect of improving the adaptability of the power supply conduction speed of the storage system. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] FIG1 is a first schematic diagram of an optional power supply control circuit of a storage system according to an embodiment of the present application;

[0074] FIG2 is a schematic diagram of a power supply control circuit of a storage system according to an optional embodiment of the present application;

[0075] FIG3 is a second schematic diagram of an optional power supply control circuit of a storage system according to an embodiment of the present application;

[0076] FIG4 is a third schematic diagram of an optional power supply control circuit of a storage system according to an embodiment of the present application;

[0077] FIG5 is a fourth schematic diagram of an optional power supply control circuit of a storage system according to an embodiment of the present application;

[0078] FIG6 is a schematic diagram of a signal processing module according to an optional embodiment of the present application;

[0079] FIG7 is a fifth schematic diagram of an optional power supply control circuit of a storage system according to an embodiment of the present application;

[0080] FIG8 is a schematic diagram of a driving module according to an optional embodiment of the present application;

[0081] FIG9 is a power supply control circuit diagram of a storage system according to an optional embodiment of the present application;

[0082] 10 is a hardware structure block diagram of a mobile terminal of a power supply control method for a storage system according to an embodiment of the present application;

[0083] FIG11 is a flowchart of an optional power supply control method for a storage system according to an embodiment of the present application;

[0084] FIG12 is a second flowchart of an optional power supply control method for a storage system according to an embodiment of the present application;

[0085] FIG13 is a structural block diagram of a power supply control device for a storage system according to an embodiment of the present application. DETAILED DESCRIPTION

[0086] The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0087] It should be noted that the terms "first", "second", etc. in the description and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0088] In this embodiment, a power supply control circuit of a storage system is provided. FIG1 is a schematic diagram of an optional power supply control circuit of a storage system according to an embodiment of the present application. As shown in FIG1 , the power supply control circuit of the storage system includes: a signal processing module 102 and a driving module 104, wherein:

[0089] A first input terminal of the signal processing module 102 is connected to an initial output terminal of a hot-swap control chip 106 deployed in the storage system, a first output terminal of the signal processing module 102 is connected to a second input terminal of the driver module 104, a second output terminal of the driver module 104 is connected to a control terminal of a hot-swap device 108 deployed in the storage system, and the initial output terminal is also connected to the control terminal;

[0090] When the target on-time of the hot-swap device 108 is less than or equal to the time threshold, the driver module 104 connects the second input terminal to the second output terminal, the initial output terminal outputs the initial hot-swap signal to the first input terminal, the signal processing module 102 converts the initial hot-swap signal into a target hot-swap signal, the first output terminal outputs the target hot-swap signal to the second input terminal, and the second output terminal outputs the target hot-swap signal to the control terminal, wherein the target hot-swap signal is greater than the initial hot-swap signal; the hot-swap device 108 controls the server power supply module 110 deployed in the storage system to supply power to the storage system in response to the target hot-swap signal;

[0091] When the target on-time of the hot-swap device 108 is greater than the time threshold, the driving module 104 cuts off the connection between the second input terminal and the second output terminal, and the initial output terminal outputs an initial hot-swap signal to the control terminal; the hot-swap device 108 responds to the initial hot-swap signal to control the server power supply module 110 to power the storage system.

[0092] Through the above structure, a signal processing module and a driver module are added to the power supply control circuit of the storage system. The control signal output to the hot-swappable device is determined to be the initial hot-swappable signal or the target hot-swappable signal based on the target on-time of the hot-swappable device. When the target on-time is less than or equal to the time threshold, the connection between the second input terminal and the second output terminal of the driver module is connected, so that the signal processing module is connected to the hot-swappable device, and the hot-swappable device is controlled by the target hot-swappable signal, thereby accelerating the conduction of the hot-swappable device, shortening the time for the server power supply module branch to be turned on, and improving the power supply conduction speed of the storage system. When the target on-time is greater than the time threshold, the connection between the second input terminal and the second output terminal of the driver module is disconnected, so that the signal processing module is disconnected from the hot-swappable device, and the hot-swappable device is controlled by the initial hot-swappable signal, thereby slowing down the conduction of the hot-swappable device, increasing the time for the server power supply module branch to be turned on, and enabling the control of the hot-swappable device to adapt to various working scenarios and working requirements of the storage system. Therefore, the problem of low adaptability of the power supply conduction speed of the storage system is solved, thereby achieving the effect of improving the adaptability of the power supply conduction speed of the storage system.

[0093] Optionally, in this embodiment, the signal processing module may be, but is not limited to, a combination of one or several circuits, and may also be, but is not limited to, a chip or processor that can implement a signal amplification function.

[0094] Optionally, in this embodiment, the case where the target on-time is greater than the time threshold may be, but is not limited to, the case where the storage system to be controlled is in a normal working state, and the case where the target on-time is less than the time threshold may be, but is not limited to, the case where the storage system to be controlled is in a backup power test state.

[0095] In an optional embodiment, a comparison of a power supply control circuit of a storage system is provided. Figure 2 is a schematic diagram of the power supply control circuit of a storage system according to an optional embodiment of the present application. As shown in Figure 2, the power supply control circuit of the current storage system can be of the following structure: the hot-swap control chip is TPS24741, which includes two functions: one is that after the hot-swap control chip receives the enable signal Hotswap_EN and becomes high, it sends a slow-start drive signal Hotswap_DRV to drive an external MOS tube (Metal-Oxide-Semiconductor Field-Effect Transistor, MOSFET) to slowly open, so as to avoid the PSU output voltage being directly added to the downstream capacitor during power-on to generate a large surge current; the second is that the chip sends an anti-backflow drive signal ORing_DRV to drive the external MOS tube to open when the PSU output voltage is higher than the BBU (Battery Backup Unit) output voltage, and close when the PSU output voltage is lower than the BBU output voltage, so as to prevent the BBU output voltage from backflowing to the PSU side.

[0096] During specific operating conditions requiring high power supply turn-on speed, such as a 1s power-off test, the existing storage system power supply circuit operates as follows: the enable signal Hotswap_EN is pulled low, disabling the Hotswap drive signal, while the BBU_EN is pulled high to enable BBU discharge. During this period, the combined voltage P12V_AUX is provided by the BBU. If the BBU module is suddenly removed during this period, the CPLD (Complex Programmable Logic Device) detects the BBU's absence and immediately pulls Hotswap_EN high, attempting to turn on the Hotswap MOSFET, switching the system to the PSU for power. However, the drive signal Hotswap_DRV only draws 30uA. For example, the commonly used CSD16415 power MOSFET requires a total gate charge of 21nC to fully turn on the MOSFET when Vgs (gate-source voltage) rises to 4.5V. This requires at least 0.7ms to fully turn on the MOSFET at 30uA. At this time, the BBU module is unplugged and the PSU branch has not been opened. The system power supply cannot be maintained by relying solely on the motherboard capacitor, causing the system to crash.

[0097] In this optional embodiment, the power supply control circuit of the storage system can be the following structure: the hot-swap control chip is TPS24741, which includes the following functions: one is to determine the working status of the storage system, for example: if the storage system is in the power-on state, the hot-swap control chip receives the enable signal Hotswap_EN and becomes high, while keeping the enable signal TURBO_EN at a low level, and then sends a slow start drive signal Hotswap_DRV to drive the external MOS tube to slowly open, thereby slowing down the conduction of the hot-swap device, increasing the time for the server power supply module branch to be turned on, and avoiding the PSU output voltage being directly added to the downstream capacitor during power-on to generate a large surge current; if the storage system is in a 1-second power-off test state, the hot-swap control chip receives the enable signal Hotswap_EN and becomes high, and immediately pulls up the enable signal TURBO_EN, thereby speeding up the conduction of the hot-swap device, shortening the time for the server power supply module branch to be turned on, and improving the power supply conduction speed of the storage system. Secondly, the chip sends an anti-backflow drive signal ORing_DRV to drive the external MOS tube to turn on when the PSU output voltage is higher than the BBU output voltage, and to turn off when the PSU output voltage is lower than the BBU output voltage, to prevent the BBU output voltage from flowing back to the PSU side.

[0098] Optionally, in this embodiment, it is possible but not limited to adding a signal processing module and a driver module on the basis of the current power supply control circuit of the storage system, and determining different hot-swappable device control logics according to different working states of the storage system, such as: when the storage system is in the power-on startup state, the connection between the second input terminal and the second output terminal of the driver module is disconnected, so that the signal processing module is disconnected from the hot-swappable device, and the hot-swappable device is controlled by the initial hot-swappable signal, thereby delaying the conduction of the hot-swappable device, suppressing surge current, and avoiding triggering overcurrent protection or even sparking; when the storage system is in the 1-second power-off test state, the connection between the second input terminal and the second output terminal of the driver module is connected, so that the signal processing module is connected to the hot-swappable device, and the hot-swappable device is controlled by the target hot-swappable signal, thereby accelerating the conduction of the hot-swappable device, shortening the time for the server power supply module PSU branch to be turned on, and avoiding the system power failure and downtime caused by unplugging the BBU module during the 1-second power-off test, thereby achieving the effect of improving the adaptability of the power supply conduction speed of the storage system.

[0099] In an exemplary embodiment, FIG3 is a second schematic diagram of a power supply control circuit of an optional storage system according to an embodiment of the present application. As shown in FIG3 , the signal processing module 102 includes: a voltage amplification circuit 302 and a current conversion circuit 304, wherein:

[0100] The input terminal of the voltage amplifier circuit 302 is connected to the initial output terminal as the first input terminal, the output terminal of the voltage amplifier circuit 302 is connected to the input terminal of the current conversion circuit 304, and the output terminal of the current conversion circuit 304 is connected to the second input terminal as the first output terminal;

[0101] The voltage amplifying circuit 302 amplifies the voltage of the input initial hot plug signal to obtain a voltage amplified signal; the current converting circuit 304 converts the voltage amplified signal into a current amplified signal as the target hot plug signal for output.

[0102] Optionally, in this embodiment, the connection order of the current conversion circuit and the voltage amplification circuit is not limited. It can be that the current is amplified first and then the amplified current is converted into voltage, or it can be that the voltage is amplified first and then the amplified voltage is converted into current.

[0103] In an exemplary embodiment, FIG4 is a third schematic diagram of a power supply control circuit of an optional storage system according to an embodiment of the present application. As shown in FIG4 , the voltage amplification circuit 302 includes: a first resistor (R3), a second resistor (R4), a third resistor (R5), a fourth resistor (R6), a fifth resistor (R7), and a first operational amplifier (OPA1), wherein:

[0104] The first end of the first resistor (R3) and the first end of the second resistor (R4) are commonly connected to the initial output end, the second end of the first resistor (R3) and the first end of the third resistor (R5) are commonly connected to the control end, the second end of the second resistor (R4) and the first end of the fourth resistor (R6) are commonly connected to the inverting input end of the first operational amplifier (OPA1), the second end of the fourth resistor (R6) is grounded, the second end of the third resistor (R5) and the first end of the fifth resistor (R7) are commonly connected to the non-inverting input end of the first operational amplifier, and the second end of the fifth resistor (R7) and the output end of the first operational amplifier (OPA1) are commonly connected to the input end of the current conversion circuit.

[0105] Optionally, in this embodiment, the first operational amplifier may, but is not limited to, function to output an amplified voltage.

[0106] In an exemplary embodiment, the second resistor and the third resistor have the same resistance value, the fourth resistor and the fifth resistor have the same resistance value, and the resistance ratio of the second resistor to the fourth resistor is used to control the amplification factor of the voltage amplifier circuit.

[0107] Optionally, in this embodiment, R4 (second resistor) = R5 (third resistor) = 10k, R6 (fourth resistor) = R7 (fifth resistor) = 100k can be selected but is not limited to, then the amplification factor A of the current amplifier circuit is A = 10.

[0108] In an exemplary embodiment, the voltage amplifying circuit further includes: a diode, wherein a cathode of the diode is connected to the initial output terminal, and an anode of the diode is connected to the control terminal.

[0109] Optionally, in this embodiment, the role of the diode D1 is to maintain the fast shutdown capability of the hot-swap MOS tube Q4. When the hot-swap control chip TPS24741 detects overcurrent and overvoltage protection, it generates a sink current of up to 1A through Hotswap_DRV, and pulls down the VGS of Q4 through the diode D1, causing Q4 to be quickly turned off, thereby protecting the MOS tube and the subsequent circuit.

[0110] In an exemplary embodiment, FIG5 is a fourth schematic diagram of a power supply control circuit of an optional storage system according to an embodiment of the present application. As shown in FIG5 , the current conversion circuit 304 includes: a sixth resistor (R8), a seventh resistor (R9), a second operational amplifier (OPA2) and a first MOS transistor (Q1), wherein:

[0111] The first end of the sixth resistor (R8) and the first end of the seventh resistor (R9) are commonly connected to the inverting input terminal of the second operational amplifier (OPA2); the second end of the sixth resistor (R8) is grounded; the second end of the seventh resistor (R9) is connected to the source of the first MOS transistor (Q1); the non-inverting input terminal of the second operational amplifier (OPA2) is connected to the output terminal of the voltage amplifier circuit 302; the output terminal of the second operational amplifier (OPA2) is connected to the gate of the first MOS transistor (Q1); and the drain of the first MOS transistor (Q1) is connected to the second input terminal.

[0112] In an optional embodiment, a voltage amplifier circuit and a current conversion circuit are provided. FIG6 is a schematic diagram of a signal processing module according to an optional embodiment of the present application. As shown in FIG6 , the voltage amplifier circuit can be a differential amplifier circuit composed of a sampling resistor R3, an operational amplifier opa1, and resistors R4, R5, R6, and R7. The hot-swap control chip TPS24741 outputs the Hotswap_DRV signal to drive the gate of the hot-swap MOS tube Q4 through resistor R3. Since Hotswap_DRV has a driving capability of only 30uA, R3 is selected as 1k, and a voltage difference of 30mV will be generated across the resistor. If this voltage difference is too large, it will affect the driving voltage, and if it is too small, it will cause a decrease in sampling accuracy. A few tens of mV is a more appropriate choice. The amplification factor of the differential amplifier circuit is marked as A. Generally, R4=R5 and R6=R7 are set. The amplification factor A can be determined by selecting the ratio of R4 to R6. The output Vout_opa1 of op amp opa1 is fed to the non-inverting input of op amp opa2. Opa2, along with resistors R8 and R9 and MOS transistor Q1, forms a current conversion circuit. Its purpose is to generate a current of Vout_opa1 / R8 at the drain of Q1, with the current directed from the drain to the source. Its operating principle is that when the voltage at the non-inverting input of op amp opa2 is greater than the voltage at the inverting input, the output voltage Vout_opa2 increases, thereby increasing Q1's Vgs (gate-source voltage), increasing Q1's on-state current. All of Q1's on-state current flows through R8, raising the voltage at opa2's inverting input, ultimately forming negative feedback. Similarly, when the voltage at the non-inverting input of op amp opa2 is less than the voltage at the inverting input, the op amp output adjusts the voltage across R8, causing the voltage at the inverting input to drop, thus forming negative feedback.

[0113] In an exemplary embodiment, FIG7 is a schematic diagram of a fifth power supply control circuit of an optional storage system according to an embodiment of the present application. As shown in FIG7 , the driving module 104 includes: a mirror current circuit 702 and a charge pump circuit 704, wherein:

[0114] The third input terminal of the current mirror circuit 702 is connected to the first output terminal as the second input terminal, the fourth input terminal of the current mirror circuit 702 is connected to the output terminal of the charge pump circuit 704, the output terminal of the current mirror circuit 702 is connected to the control terminal as the second output terminal, and the input terminal of the charge pump circuit 704 is connected to the server power supply module 110;

[0115] The charge pump circuit 704 controls the output of the charge pump signal. When the current mirror circuit 702 receives the charge pump signal from the fourth input terminal, it connects the third input terminal to the output terminal of the current mirror circuit 702. When the current mirror circuit 702 does not receive the charge pump signal from the fourth input terminal, it disconnects the third input terminal from the output terminal of the current mirror circuit 702.

[0116] In an exemplary embodiment, the current mirror circuit 702 includes a first transistor and a second transistor, wherein:

[0117] The emitter of the first transistor is connected to the first output terminal, the base of the first transistor is connected to the base of the second transistor, the collector of the first transistor and the collector of the second transistor are commonly connected to the output terminal of the charge pump circuit 704, and the emitter of the second transistor is connected to the control terminal.

[0118] In an exemplary embodiment, the charge pump circuit 704 includes: a third transistor, a fourth transistor, an eighth resistor, a ninth resistor, and a charge pump, wherein:

[0119] The collector of the third transistor is connected to the collector of the second transistor, the emitter of the third transistor and the first end of the ninth resistor are commonly connected to the output end of the charge pump, the first end of the eighth resistor and the second end of the ninth resistor are commonly connected to the base of the third transistor, the second end of the eighth resistor is connected to the collector of the fourth transistor, the emitter of the fourth transistor is grounded, and the input end of the charge pump is connected to the server power supply module 110;

[0120] The charge pump doubles the output voltage of the server power supply module 110 and transmits the doubled voltage to the emitter of the third transistor and the ninth resistor;

[0121] The base of the fourth transistor controls the charge pump signal by controlling the on and off of the fourth transistor and the third transistor, wherein when both the fourth transistor and the third transistor are turned on, the output end of the charge pump circuit 704 generates a charge pump signal, and when the fourth transistor or the third transistor is turned off, the output end of the charge pump circuit 704 does not generate a charge pump signal.

[0122] In an optional embodiment, a mirror current circuit and a charge pump circuit are provided. FIG8 is a schematic diagram of a driver module according to an optional embodiment of the present application. As shown in FIG8 , the mirror current circuit can be a mirror current source composed of two NPN transistors Q2 and Q3. The current of Q1 flows entirely through Q2, and the same amount of current also flows through Q3. This current ultimately drives the gate of the hot-swap MOS transistor Q4, greatly shortening the turn-on time of the hot-swap MOS transistor. The charge pump circuit can be composed of a charge pump U2Charge pump, a PNP transistor Q12, an NPN transistor Q13, and voltage divider resistors R1 and R2. The charge pump U2Charge pump (charge pump) doubles the input voltage PSU_12V and outputs P24V_BOOT.

[0123] In an exemplary embodiment, the driver module 104 further includes a processor, wherein:

[0124] The processor is connected to the base of the fourth transistor;

[0125] The processor is configured to send a first enable signal to the base of the fourth transistor when the target turn-on time is less than or equal to a time threshold, wherein the first enable signal is used to turn on the fourth transistor; and to send a second enable signal to the base of the fourth transistor when the target turn-on time is greater than the time threshold, wherein the second enable signal is used to turn off the fourth transistor.

[0126] Optionally, in this embodiment, the signal processor may include, but is not limited to: CPLD (Complex Programmable Logic Device), DSP (Digital Signal Processing), CPU (Central Processing Unit), control chip, etc.

[0127] In an exemplary embodiment, the processor is further configured to: detect the operating status of the storage system; when the operating status is a test status, determine that the target on-time is less than or equal to a time threshold, wherein the test status is used to indicate that the storage system is undergoing a backup power test; when the operating status is a working status, determine that the target on-time is greater than the time threshold, wherein the working status is used to indicate that the storage system is working.

[0128] Optionally, in this embodiment, the processor is taken as a CPLD as an example. The CPLD is used to distinguish the operating states of the storage system: the power-on startup (i.e., working state) and the 1s power-off test (i.e., test state) control logic. During the 1s power-off test, the CPLD enables the current amplification function, accelerates the conduction of the hot-swappable MOS tube, shortens the time for the PSU branch to be turned on, and avoids the system power failure and downtime caused by unplugging the BBU module during the 1s power-off test; during the power-on startup, the CPLD turns off the current amplification function, delays the conduction of the hot-swappable MOS tube, suppresses the inrush current, and avoids triggering overcurrent protection or even sparking.

[0129] In the above optional embodiment, a power supply control circuit for a storage system is provided. FIG9 is a power supply control circuit diagram of a storage system according to an optional embodiment of the present application. As shown in FIG9 , when the BBU is accidentally unplugged during the system's 1s power-off test, the PSU branch needs to be quickly turned on. The CPLD sends an enable signal TURBO_EN at a high level, driving Q5 to turn on. After passing through a voltage divider resistor, the Vbe (the voltage between transistors B) of the PNP transistor Q12 is negatively biased, thereby turning it on. P24V_BOOT supplies power to the mirror current sources Q2 and Q3. Q3 uses the amplified current to drive the hot-swappable MOS transistor Q4, causing Q4 to turn on quickly and avoid system downtime.

[0130] Optionally, in this embodiment, the driving current of Q3 is calculated as follows:

[0131] In the above formula, P represents the amplification factor of the differential amplifier circuit. For example, if R4=R5=10k, R6=R7=100k, then P=10. If R3 is 1k and R8 is 200 ohms, then the amplification factor of the entire current amplifier unit is 50, i Q3 The current is 1.5mA. Taking CSD16415 as an example, Q4 is turned on. When Vgs rises to 4.5V, the total gate charge required to fully turn on the MOS tube is 21nC. It is calculated that it only takes 14us for the MOS tube to turn on, which greatly shortens the turn-on time of the PSU branch and avoids the system crash caused by accidental unplugging of the BBU during the 1s power-off test.

[0132] When the motherboard is turned on, the hot-swap MOS tube Q4 needs to be turned on slowly to suppress the inrush current. The CPLD pulls the enable signal TURBO_EN low, Q12 is turned off, and U2 cuts off the power supply to the mirror current source. At this time, only the Hotswap_DRV signal drives the MOS tube Q4 through the resistor R3 with a driving current of 30uA. The smaller driving current prolongs the turn-on time of the MOS tube, and the speed at which the filter capacitor voltage at P12V_AUX is filled from 0V to 12V slows down, thereby reducing the charging current (i.e., inrush current) and avoiding triggering overcurrent protection or even sparking.

[0133] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 10 is a hardware structure block diagram of a mobile terminal of a power supply control method of a storage system in an embodiment of the present application. As shown in Figure 10, the mobile terminal may include one or more (only one is shown in Figure 10) processors 1002 (the processor 1002 may include but is not limited to a microprocessor MCU (Micro Control Unit, micro control unit) or a programmable logic device FPGA (Field Programmable Gate Array, field editable gate array) and a memory 1004 configured to store data, wherein the above-mentioned mobile terminal may also include a transmission device 1006 and an input and output device 1008 configured to implement a communication function. It can be understood by those skilled in the art that the structure shown in Figure 10 is only for illustration and does not limit the structure of the above-mentioned mobile terminal. For example, the mobile terminal may also include more or fewer components than those shown in Figure 10, or have a configuration different from that shown in Figure 10.

[0134] The memory 1004 can be configured to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the power supply control method of the storage system in the embodiment of the present application. The processor 1002 executes various functional applications and data processing by running the computer program stored in the memory 1004, that is, implementing the above method. The memory 1004 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1004 may include a memory remotely located relative to the processor 1002, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0135] Transmission device 1006 is configured to receive or transmit data via a network. A specific example of the aforementioned network may include a wireless network provided by the mobile terminal's communications provider. In one embodiment, transmission device 1006 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, transmission device 1006 may be a radio frequency (RF) module configured to communicate with the Internet wirelessly.

[0136] In this embodiment, a power supply control method for a storage system is provided. FIG11 is a flowchart of an optional power supply control method for a storage system according to an embodiment of the present application. As shown in FIG11 , the flowchart includes the following steps:

[0137] Step S1102 , detecting a target on-time of a hot-swappable device deployed in the storage system, wherein the hot-swappable device is configured to control a server power supply module deployed in the storage system to supply power to the storage system in response to a target control signal inputted from a control terminal of the hot-swappable device;

[0138] Step S1104, determining a target control signal according to the target on-time and an initial hot-swap signal output by a hot-swap control chip deployed in the storage system;

[0139] Step S1106: Send the target control signal to the control end.

[0140] Through the above steps, a signal processing module and a driver module are added to the power supply control circuit of the storage system. The control signal output to the hot-swappable device is determined to be the initial hot-swappable signal or the target hot-swappable signal according to the target on-time of the hot-swappable device. When the target on-time is less than or equal to the time threshold, the connection between the second input terminal and the second output terminal of the driver module is connected so that the signal processing module is connected to the hot-swappable device, and the hot-swappable device is controlled by the target hot-swappable signal, thereby accelerating the conduction of the hot-swappable device, shortening the time for the server power supply module branch to be turned on, and improving the power supply conduction speed of the storage system. When the target on-time is greater than the time threshold, the connection between the second input terminal and the second output terminal of the driver module is disconnected so that the signal processing module is disconnected from the hot-swappable device, and the hot-swappable device is controlled by the initial hot-swappable signal, thereby slowing down the conduction of the hot-swappable device, increasing the time for the server power supply module branch to be turned on, and enabling the control of the hot-swappable device to adapt to various working scenarios and working requirements of the storage system. Therefore, the problem of low adaptability of the power supply conduction speed of the storage system is solved, thereby achieving the effect of improving the adaptability of the power supply conduction speed of the storage system.

[0141] The power supply control method of the storage system can be applied to, but is not limited to, the signal processor.

[0142] Optionally, in this embodiment, the signal processor may include, but is not limited to, a DSP (Digital Signal Processing), a CPU (Central Processing Unit), a control chip, and the like.

[0143] In the technical solution provided in step S1102 above, the hot-swappable device may be, but is not limited to, a hot-swappable MOS tube, a USB (Universal Serial Bus) hot-swappable device, etc. The storage system may be, but is not limited to, a random access memory, a read-only memory, a cache memory, or a physical storage device such as a memory stick or a TF card (TransFlash Card).

[0144] In an exemplary embodiment, the target on-time of a hot-swappable device deployed in a storage system can be detected in the following manner, but is not limited to: detecting the operating status of the storage system; when the operating status is a test status, determining that the target on-time is less than or equal to a time threshold, wherein the test status is used to indicate that the storage system is undergoing a backup power test; when the operating status is a working status, determining that the target on-time is greater than the time threshold, wherein the working status is used to indicate that the storage system is working.

[0145] Optionally, in this embodiment, the time threshold may be, but is not limited to, determined according to the type of the storage system to be controlled. Different types of storage systems may have different set time thresholds.

[0146] In an exemplary embodiment, the operating status of the storage system can be detected in the following ways, but is not limited to: detecting whether the server power supply module is turned on; if it is detected that the server power supply module is not turned on, detecting whether the storage system is in the power-on state; if it is detected that the storage system is in the power-on state, determining that the operating status is the working state; if it is detected that the storage system is not in the power-on state, determining that the operating status is the testing state.

[0147] Optionally, in this embodiment, if the server power supply module is turned on, then the operating status of the storage system can be determined by detecting its power-on status.

[0148] In the technical solution provided in the above step S1104, the target amplification factor of the initial hot plug signal can be determined according to, but not limited to, the target conduction time and the initial hot plug signal output by the hot plug control chip deployed in the storage system, thereby determining the target control signal according to the target amplification factor.

[0149] Optionally, in this embodiment, the hot-swap control chip may be, but is not limited to, a DSP (Digital Signal Processing), a CPU (Central Processing Unit), a control chip, and the like.

[0150] In an exemplary embodiment, the target control signal can be determined based on the target on-time and the initial hot plug signal output by the hot plug control chip deployed in the storage system in the following manner, but is not limited to: when the target on-time is greater than a time threshold, the initial hot plug signal is determined as the target control signal; when the target on-time is less than or equal to the time threshold, the initial hot plug signal is converted to obtain the target control signal, wherein the target control signal is greater than the initial hot plug signal.

[0151] Optionally, in this embodiment, when the target on-time is greater than the time threshold, the target control signal does not need to be amplified to speed up the turn-on of the hot-swap device, and the target control signal is the initial hot-swap signal. When the target on-time is less than the time threshold, the target control signal needs to be greater than the initial hot-swap signal to speed up the turn-on of the hot-swap device.

[0152] In an exemplary embodiment, the initial hot plug signal can be converted into a target control signal by, but not limited to, the following methods: amplifying the voltage of the initial hot plug signal to obtain a voltage amplified signal; converting the voltage amplified signal into a current amplified signal to obtain a target hot plug signal as the target control signal.

[0153] Optionally, in this embodiment, the order of performing signal conversion on the initial hot plug signal is not limited. The order may be to first amplify the voltage of the initial hot plug signal to obtain a voltage-amplified signal, and then convert the voltage-amplified signal into a current-amplified signal to obtain a target hot plug signal as the target control signal. Alternatively, the order may be to first amplify the current of the initial hot plug signal to obtain a current-amplified signal, and then convert the current-amplified signal into a voltage-amplified signal to obtain a target hot plug signal as the target control signal.

[0154] In an exemplary embodiment, the voltage of the initial hot plug signal can be amplified in the following manner, but is not limited to: determining a voltage amplification factor according to a target on-time; and amplifying the initial hot plug signal according to the voltage amplification factor to obtain a voltage amplified signal.

[0155] Optionally, in this embodiment, the voltage amplification factor may be, but is not limited to, adjusted according to parameters of circuit elements deployed in the signal control module.

[0156] In an exemplary embodiment, the target control signal can be determined based on the target on-time and the initial hot-swap signal output by the hot-swap control chip deployed in the storage system in the following manner, but is not limited to: controlling the hot-swap control chip to output the initial hot-swap signal; and controlling the signal processing module to be turned on or off based on the relationship between the target on-time and the time threshold, wherein the signal processing module is connected between the hot-swap control chip and the control end, and the hot-swap control chip is also connected to the control end. When the signal processing module is turned on, the initial hot-swap signal is converted by the signal processing module to obtain the target control signal. When the signal processing module is turned off, the initial hot-swap signal is the target control signal.

[0157] Optionally, in this embodiment, the selection of the hot plug signal can be controlled by, but is not limited to, controlling the on or off of the signal processing module. If the signal processing module is on, the signal processing module can perform its hot plug signal conversion function and convert the initial hot plug signal into a target control signal to control the conduction of the hot plug device. If the signal processing module is off, the initial hot plug signal is directly used as the target control signal to control the conduction of the hot plug device.

[0158] In an exemplary embodiment, the signal processing module can be controlled to be turned on or off according to the relationship between the target on-time and the time threshold in the following manner, but is not limited to: when the target on-time is less than or equal to the time threshold, the signal processing module is controlled to be turned on; when the target on-time is greater than the time threshold, the signal processing module is controlled to be turned off.

[0159] Optionally, in this embodiment, the relationship between the target on-time and the time threshold may be, but is not limited to, determined according to the working state of the storage system to be controlled.

[0160] In an optional embodiment, an optional power supply control process for a storage system is provided. FIG12 is a flowchart of a second power supply control method for a storage system according to an embodiment of the present application. As shown in FIG12 , first, the CPLD detects whether the current PSU branch is turned on. If the current PSU branch is not turned on, it determines whether the current state is power-on or during a 1s power-off test. If the current PSU branch is powered on, the CPLD controls the current amplification function to be turned off when the PSU branch is turned on. The CPLD pulls up the Hotswap_EN signal while keeping TURBO_EN at a low level. Q5 is turned off, Q12 is turned off, and the path for the charge pump to supply power to the mirror current source is turned off. The slow-start drive signal Hotswap_DRV charges the gate of Q4 through resistor R3 with a current of 30uA, so that the hot-swappable MOS tube Q4 is slowly turned on to avoid excessive surge current. Taking CSD16415 as an example, when Vgs rises to 4.5V, the total gate charge required to fully turn on the MOS tube is 21nC, and it takes 0.7ms for the MOS tube to turn on.

[0161] If the CPLD determines that the current state is during a 1s power-off test, and detects that the BBU is unplugged or receives a test end command from the CPU, it immediately pulls the Hotswap_EN signal high and simultaneously pulls TURBO_EN high, turning on Q5. This, through the voltage divider resistors R1 and R2, causes the Vbe of Q12 to be negative, turning it on. This activates the charge pump's path to supply power to the mirror current source. The 30µA current in Hotswap_DRV is amplified 50 times to 1.5mA, which then charges the gate of Q4, quickly turning on the hot-swap MOSFET Q4. For example, the CSD16415 takes 14µs to turn on. This time is sufficient for the filter capacitor on the downstream P12V_AUX to maintain system power, preventing system downtime. Once the PSU branch is fully open, Q4's gate voltage is maintained solely by Hotswap_DRV, eliminating the need for the current amplification unit. Therefore, after a 100ms delay, TURBO_EN is pulled low to reset the signal and simultaneously disable the BBU discharge enable.

[0162] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a non-volatile readable storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.

[0163] This embodiment also provides a power supply control device for a storage system. This device is configured to implement the aforementioned embodiments and alternative implementations. Details already described will not be repeated. As used below, the term "module" may refer to a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.

[0164] FIG13 is a structural block diagram of a power supply control device for a storage system according to an embodiment of the present application. As shown in FIG13 , the device includes:

[0165] a detection module 1302 configured to detect a target on-time of a hot-swappable device deployed in the storage system, wherein the hot-swappable device is configured to control a server power supply module deployed in the storage system to supply power to the storage system in response to a target control signal inputted from a control terminal of the hot-swappable device;

[0166] The determination module 1304 is configured to determine a target control signal according to a target on-time and an initial hot-swap signal output by a hot-swap control chip deployed in the storage system;

[0167] The sending module 1306 is configured to send the target control signal to the control end.

[0168] Through the above-mentioned device, a signal processing module and a driver module are added to the power supply control circuit of the storage system. The control signal output to the hot-swappable device is determined to be the initial hot-swappable signal or the target hot-swappable signal based on the target on-time of the hot-swappable device. When the target on-time is less than or equal to the time threshold, the connection between the second input terminal and the second output terminal of the driver module is connected, so that the signal processing module is connected to the hot-swappable device, and the hot-swappable device is controlled by the target hot-swappable signal, thereby accelerating the conduction of the hot-swappable device, shortening the time for the server power supply module branch to be turned on, and improving the power supply conduction speed of the storage system. When the target on-time is greater than the time threshold, the connection between the second input terminal and the second output terminal of the driver module is disconnected, so that the signal processing module is disconnected from the hot-swappable device, and the hot-swappable device is controlled by the initial hot-swappable signal, thereby slowing down the conduction of the hot-swappable device, increasing the time for the server power supply module branch to be turned on, and enabling the control of the hot-swappable device to adapt to various working scenarios and working requirements of the storage system. Therefore, the problem of low adaptability of the power supply conduction speed of the storage system is solved, thereby achieving the effect of improving the adaptability of the power supply conduction speed of the storage system.

[0169] In an exemplary embodiment, the determining module includes:

[0170] a first determining unit configured to determine the initial hot plug signal as a target control signal when the target on-time is greater than a time threshold;

[0171] The conversion unit is configured to perform signal conversion on the initial hot plug signal to obtain a target control signal when the target on-time is less than or equal to the time threshold, wherein the target control signal is greater than the initial hot plug signal.

[0172] In an exemplary embodiment, the conversion unit is configured to:

[0173] amplifying the voltage of the initial hot plug signal to obtain a voltage amplified signal;

[0174] The voltage amplified signal is converted into a current amplified signal to obtain a target hot plug signal as a target control signal.

[0175] In an exemplary embodiment, the conversion unit is configured to:

[0176] Determine the voltage amplification factor based on the target on-time;

[0177] The initial hot plug signal is voltage-amplified according to the voltage amplification factor to obtain a voltage-amplified signal.

[0178] In an exemplary embodiment, the determining module further includes:

[0179] A first control unit is configured to control the hot-swap control chip to output an initial hot-swap signal;

[0180] The second control unit is configured to control the opening or closing of the signal processing module according to the relationship between the target conduction time and the time threshold, wherein the signal processing module is connected between the hot plug control chip and the control end, and the hot plug control chip is also connected to the control end. When the signal processing module is turned on, the initial hot plug signal is converted into the target control signal through the signal processing module; when the signal processing module is turned off, the initial hot plug signal is the target control signal.

[0181] In an exemplary embodiment, the second control unit is configured to:

[0182] When the target on-time is less than or equal to the time threshold, the control signal processing module is turned on;

[0183] When the target on-time is greater than the time threshold, the signal processing module is controlled to be turned off.

[0184] In an exemplary embodiment, the detection module further includes:

[0185] a detection unit configured to detect an operating status of the storage system;

[0186] a second determining unit configured to determine, when the operating state is a test state, whether the target on-time is less than or equal to a time threshold, wherein the test state is configured to indicate that the storage system is performing a backup power test;

[0187] The third determining unit is configured to determine, when the operation state is a working state, that the target on-time is greater than a time threshold, wherein the working state is configured to indicate that the storage system is working.

[0188] In an exemplary embodiment, the detection unit is configured to:

[0189] Check whether the server power supply module is turned on;

[0190] If it is detected that the server power supply module is not turned on, check whether the storage system is in the power-on state;

[0191] When detecting that the storage system is in a powered-on state, determining that the operating state is a working state;

[0192] When it is detected that the storage system is in a non-startup state, the operation state is determined to be a test state.

[0193] It should be noted that the above modules can be implemented through software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0194] An embodiment of the present application further provides a computer non-volatile readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0195] In an exemplary embodiment, the above-mentioned computer non-volatile readable storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.

[0196] An embodiment of the present application further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0197] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0198] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail here.

[0199] Obviously, those skilled in the art should understand that the modules or steps of the present application described above can be implemented using a general-purpose computing device, they can be concentrated on a single computing device, or distributed across a network composed of multiple computing devices, they can be implemented using program code executable by the computing device, and thus, they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be performed in a different order than herein, or they can be fabricated into separate integrated circuit modules, or multiple modules or steps can be fabricated into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.

[0200] The above are merely optional embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may be subject to various modifications and variations. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A power supply control circuit for a storage system, characterized in that: include: Signal processing module and driving module, wherein, The first input end of the signal processing module is connected to the initial output end of the hot-swap control chip deployed in the storage system, the first output end of the signal processing module is connected to the second input end of the driving module, the second output end of the driving module is connected to the control end of the hot-swap device deployed in the storage system, and the initial output end is also connected to the control end; In the case where the target on-time of the hot-swap device is less than or equal to the time threshold, the driving module turns on the connection between the second input terminal and the second output terminal, the initial output terminal outputs an initial hot-swap signal to the first input terminal, the signal processing module converts the initial hot-swap signal into a target hot-swap signal, the first output terminal outputs the target hot-swap signal to the second input terminal, and the second output terminal outputs the target hot-swap signal to the control terminal, wherein the target hot-swap signal is greater than the initial hot-swap signal; the hot-swap device controls the server power supply module deployed in the storage system to supply power to the storage system in response to the target hot-swap signal; When the target on-time of the hot-swap device is greater than a time threshold, the driving module cuts off the connection between the second input terminal and the second output terminal, and the initial output terminal outputs the initial hot-swap signal to the control terminal; the hot-swap device controls the server power supply module to supply power to the storage system in response to the initial hot-swap signal.

2. The power supply control circuit of the storage system according to claim 1, characterized in that: The signal processing module includes: a voltage amplification circuit and a current conversion circuit, wherein: The input end of the voltage amplifier circuit is connected to the initial output end as the first input end, the output end of the voltage amplifier circuit is connected to the input end of the current conversion circuit, and the output end of the current conversion circuit is connected to the second input end as the first output end; The voltage amplifying circuit amplifies the voltage of the input initial hot plug signal to obtain a voltage amplified signal; the current converting circuit converts the voltage amplified signal into a current amplified signal as the target hot plug signal for output.

3. The power supply control circuit of the storage system according to claim 2, characterized in that: The voltage amplification circuit includes: a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor and a first operational amplifier, wherein: The first end of the first resistor and the first end of the second resistor are commonly connected to the initial output terminal, the second end of the first resistor and the first end of the third resistor are commonly connected to the control terminal, the second end of the second resistor and the first end of the fourth resistor are commonly connected to the inverting input terminal of the first operational amplifier, the second end of the fourth resistor is grounded, the second end of the third resistor and the first end of the fifth resistor are commonly connected to the non-inverting input terminal of the first operational amplifier, and the second end of the fifth resistor and the output terminal of the first operational amplifier are commonly connected to the input terminal of the current conversion circuit.

4. The power supply control circuit of the storage system according to claim 3, characterized in that: The second resistor has the same resistance value as the third resistor, the fourth resistor has the same resistance value as the fifth resistor, and the resistance ratio of the second resistor to the fourth resistor is used to control the amplification factor of the voltage amplifier circuit.

5. The power supply control circuit of the storage system according to claim 3, characterized in that: The voltage amplification circuit further includes: a diode, wherein: The cathode of the diode is connected to the initial output terminal, and the anode of the diode is connected to the control terminal.

6. The power supply control circuit of the storage system according to claim 2, characterized in that: The current conversion circuit includes: a sixth resistor, a seventh resistor, a second operational amplifier and a first metal oxide semi-field effect transistor (MOS), wherein: The first end of the sixth resistor and the first end of the seventh resistor are commonly connected to the inverting input terminal of the second operational amplifier, the second end of the sixth resistor is grounded, and the second end of the seventh resistor is connected to the inverting input terminal of the first MOS tube. The source is connected, the non-inverting input terminal of the second operational amplifier is connected to the output terminal of the voltage amplifier circuit, the output terminal of the second operational amplifier is connected to the gate of the first MOS tube, and the drain of the first MOS tube is connected to the second input terminal.

7. The power supply control circuit of the storage system according to claim 1, characterized in that: The driving module includes: a mirror current circuit and a charge pump circuit, wherein: The third input end of the mirror current circuit is connected to the first output end as the second input end, the fourth input end of the mirror current circuit is connected to the output end of the charge pump circuit, the output end of the mirror current circuit is connected to the control end as the second output end, and the input end of the charge pump circuit is connected to the server power supply module; The charge pump circuit controls the output of the charge pump signal; when the mirror current circuit receives the charge pump signal from the fourth input terminal, the connection between the third input terminal and the output terminal of the mirror current circuit is turned on; when the charge pump signal is not received from the fourth input terminal, the connection between the third input terminal and the output terminal of the mirror current circuit is turned off.

8. The power supply control circuit of the storage system according to claim 7, characterized in that: The mirror current circuit comprises: a first triode and a second triode, wherein: The emitter of the first transistor is connected to the first output end, the base of the first transistor is connected to the base of the second transistor, the collector of the first transistor and the collector of the second transistor are commonly connected to the output end of the charge pump circuit, and the emitter of the second transistor is connected to the control end.

9. The power supply control circuit of the storage system according to claim 8, characterized in that: The charge pump circuit includes: a third triode, a fourth triode, an eighth resistor, a ninth resistor and a charge pump, wherein: The collector of the third triode is connected to the collector of the second triode, the emitter of the third triode and the first end of the ninth resistor are commonly connected to the output end of the charge pump, the first end of the eighth resistor and the second end of the ninth resistor are commonly connected to the base of the third triode, the second end of the eighth resistor is connected to the collector of the fourth triode, the emitter of the fourth triode is grounded, and the input end of the charge pump is connected to the server power supply module; The charge pump doubles the output voltage of the server power supply module and transmits the doubled voltage to the emitter of the third transistor and the ninth resistor; The base of the fourth transistor controls the charge pump signal by controlling the on and off of the fourth transistor and the third transistor, wherein when the fourth transistor and the third transistor are both turned on, the output end of the charge pump circuit generates the charge pump signal, and when the fourth transistor or the third transistor is turned off, the output end of the charge pump circuit does not generate the charge pump signal.

10. The power supply control circuit of the storage system according to claim 9, characterized in that: The driving module further includes: a processor, wherein: The processor is connected to the base of the fourth transistor; The processor is configured to send a first enable signal to the base of the fourth transistor when the target turn-on time is less than or equal to the time threshold, wherein the first enable signal is used to turn on the fourth transistor; and to send a second enable signal to the base of the fourth transistor when the target turn-on time is greater than the time threshold, wherein the second enable signal is used to turn off the fourth transistor.

11. The power supply control circuit of the storage system according to claim 10, characterized in that: The processor is further configured to: Detecting the operating status of the storage system; In a case where the operating state is a test state, determining that the target on-time is less than or equal to the time threshold, wherein the test state is used to indicate that the storage system is undergoing a backup power test; In a case where the operating state is a working state, it is determined that the target on-time is greater than the time threshold, wherein the working state is used to indicate that the storage system is working.

12. A power supply control method for a storage system, characterized in that: include: Detecting a target on-time of a hot-swap device deployed in a storage system, wherein the hot-swap device is configured to control a server power supply module deployed in the storage system to supply power to the storage system in response to a target control signal inputted from a control end of the hot-swap device; Determine the target control signal according to the target on-time and an initial hot-swap signal output by a hot-swap control chip deployed in the storage system; The target control signal is sent to the control end.

13. The method according to claim 12, characterized in that The determining the target control signal according to the target on-time and an initial hot-swap signal output by a hot-swap control chip deployed in the storage system comprises: In a case where the target on-time is greater than a time threshold, determining the initial hot plug signal as the target control signal; When the target on-time is less than or equal to the time threshold, the initial hot plug signal is converted to obtain the target control signal, wherein the target control signal is greater than the initial hot plug signal.

14. The method according to claim 13, characterized in that The power supply control method of the storage system is applied to the power supply control circuit of the storage system, the power supply control circuit includes a signal processing module and a driving module, the first input end of the signal processing module is connected to the initial output end of the hot-swap control chip, the first output end of the signal processing module is connected to the second input end of the driving module, the second output end of the driving module is connected to the control end of the hot-swap device, and the initial output end is also connected to the control end. The driving module is used to cut off the connection between the second input end and the second output end when the target on-time is greater than the time threshold, and the driving module is also used to turn on the connection between the second input end and the second output end when the target on-time is less than or equal to the time threshold. The power supply control circuit is used to convert the initial hot-swap signal through the signal processing module when the target on-time is less than or equal to the time threshold.

15. The method according to claim 14, characterized in that The performing signal conversion on the initial hot plug signal to obtain the target control signal includes: amplifying the voltage of the initial hot plug signal to obtain a voltage amplified signal; The voltage amplified signal is converted into a current amplified signal to obtain a target hot plug signal as the target control signal.

16. The method according to claim 15, characterized in that The step of amplifying the voltage of the initial hot plug signal to obtain a voltage amplified signal includes: Determining a voltage amplification factor according to the target on-time; The initial hot plug signal is voltage-amplified according to the voltage amplification factor to obtain the voltage-amplified signal.

17. The method according to claim 12, characterized in that The determining the target control signal according to the target on-time and an initial hot-swap signal output by a hot-swap control chip deployed in the storage system comprises: Controlling the hot-swap control chip to output the initial hot-swap signal; According to the relationship between the target on-time and the time threshold, the signal processing module is controlled to be turned on or off, wherein the signal processing module is connected between the hot-swap control chip and the control end, and the hot-swap control chip is also connected to the control end. When the signal processing module is turned on, the initial hot-swap signal is converted by the signal processing module to obtain the target control signal. When the signal processing module is turned off, the initial hot-swap signal is the target control signal.

18. The method according to claim 17, characterized in that According to the relationship between the target on-time and the time threshold, controlling the signal processing module to be turned on or off includes: When the target on-time is less than or equal to the time threshold, controlling the signal processing module to be turned on; When the target on-time is greater than a time threshold, the signal processing module is controlled to be turned off.

19. The method according to claim 12, characterized in that The detecting the target on-time of the hot-swap device deployed in the storage system includes: Detecting the operating status of the storage system; In a case where the operating state is a test state, determining that the target on-time is less than or equal to a time threshold, wherein the test state is used to indicate that the storage system is undergoing a backup power test; In a case where the operating state is a working state, it is determined that the target on-time is greater than the time threshold, wherein the working state is used to indicate that the storage system is working.

20. The method according to claim 19, characterized in that The detecting the operating status of the storage system includes: Detecting whether the server power supply module is turned on; When it is detected that the server power supply module is not turned on, detecting whether the storage system is in a powered-on state; When detecting that the storage system is in a powered-on state, determining that the operating state is a working state; When it is detected that the storage system is in a non-startup state, it is determined that the operation state is a test state.

21. A power supply control device for a storage system, characterized in that: include: A detection module is configured to detect a target on-time of a hot-swappable device deployed in a storage system, wherein the hot-swappable device is configured to control a server power supply module deployed in the storage system to supply power to the storage system in response to a target control signal input from a control end of the hot-swappable device; A determination module is configured to determine the target control signal according to the target on-time and an initial hot-swap signal output by a hot-swap control chip deployed in the storage system; The sending module is configured to send the target control signal to the control end.

22. A computer non-volatile readable storage medium, characterized in that: The computer non-volatile readable storage medium stores a computer program, wherein the computer program implements the steps of the method described in any one of claims 12 to 20 when executed by a processor.

23. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method described in any one of claims 12 to 20 are implemented.

Citation Information

Patent Citations

  • Hot-swappable module power supply device, method and system

    CN106774772A

  • Parallel power supply output power equalization control system capable of capturing conduction time

    CN107222090A

  • Hot-plug slow start circuit and hot-plug device

    CN110890783A

  • Power supply control circuit, method and device of storage system and storage medium

    CN115933851A

  • RF energy harvesting system

    US20190305606A1

Cited By

  • Host transceiver circuit and communication system

    CN119210931A

  • Universal serial bus (USB) flash disk hot plug protection self-adaptive current regulation and control system

    CN119994816A

  • Emergency power supply circuit of controller and energy storage power supply

    CN120377464A

  • Power supply switching circuit

    CN121124315A