Solid state disk and power-off control method

Through the coordinated operation of the main control chip and the voltage management module, the solid-state drive (SSD) achieves rapid power-down and highly stable backup power functions, solving the problem of unstable NAND flash operation caused by incomplete power-down voltage in existing technologies and ensuring the reliability of the SSD.

CN119049527APending Publication Date: 2024-11-29BIWIN STORAGE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411143920.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

Existing solid-state drives (SSDs) do not have a complete power-down voltage when power is off, which causes instability in the NAND flash memory and may lead to problems with proper disk recognition during repeated power-on and power-off operations, resulting in poor reliability.

Method used

The system employs a combination of a main control chip, a backup power module, a step-down module, and multiple voltage management modules. By detecting the external power supply voltage, it controls the backup power module to store backup power, and when a threshold voltage is detected, it supplies power to the main control chip and flash memory. After data storage is completed, it drives the voltage management module to discharge, thereby achieving rapid power-down.

Benefits of technology

This achieves a complete power-down of the solid-state drive, ensuring that the NAND flash works stably when powered on again, and avoiding reliability issues caused by excessively long power-down times.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119049527A_ABST
    Figure CN119049527A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of solid state disk power-off storage, and discloses a solid state disk and a power-off control method. The solid state disk comprises a main control chip, a flash memory, a standby power module, a voltage reduction module and a plurality of voltage management modules, the main control chip controls and is connected with the control end of each voltage management module and is used for being connected with an external power supply through a voltage detection pin of the main control chip so as to detect the power supply voltage of the external power supply; the standby power module is used for being electrically connected with an external power supply to store standby electric energy, and controlling the standby electric energy to supply power to the main control chip through the voltage reduction module and supply power to the flash memory through the voltage management modules when it is detected that the power supply voltage is smaller than a preset threshold voltage, so that the main control chip stores current storage data into the flash memory after power failure; and the main control chip is used for sending a discharging instruction to each voltage management module after the power-down storage is completed, and driving each voltage management module to discharge, so that the quick power-down of the solid state disk is realized. The solid state disk can be completely powered off and is high in stability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of solid state hard disk power-off storage technology, and in particular to a solid state hard disk and a power-off control method. Background Art

[0002] Industrial-grade or enterprise-grade solid-state disks (Solid State Disk or Solid State Drive, SSD for short) need to have a PLP (Power Loss Protection) backup power function, and the circuit design has many backup power capacitors. When the power is off, these capacitors have the function of delaying the power outage and saving data. When the SSD loses power, the voltages on the SSD will drop to a relatively low voltage quickly, such as <0.5V. Under low voltage conditions, the chips on the SSD can no longer work normally and no longer consume power. The remaining residual voltage of each voltage will be slowly discharged through discrete devices such as capacitors on the link, and will eventually drop to 0V. The more capacitors connected to the power supply, the longer the slow discharge time will be.

[0003] Some NAND FLASH require the power-off voltage to be low enough. For example, many models of FLASH of a certain brand require the power-off voltage to drop to ≤100mV. Otherwise, the NAND FLASH will not work stably after powering on again. In addition, when the SSD is repeatedly powered on and off, if the power-off time is short, the disk recognition may not work properly, and the SSD will work unstably and have poor reliability. Summary of the invention

[0004] In view of this, the embodiments of the present application provide a solid-state hard disk and a power-off control method that can be completely powered off, has high stability, and has a backup power function.

[0005] In a first aspect, an embodiment of the present application provides a solid-state hard disk, including: a main control chip, a flash memory, a backup power module, a voltage reduction module and a plurality of voltage management modules;

[0006] The main control chip controls the control terminals connected to the voltage management modules respectively, and is used to connect to an external power source through its voltage detection pin to detect the power supply voltage of the external power source;

[0007] The backup power module is used to electrically connect to the external power supply to store backup power, and when it is detected that the power supply voltage is less than a preset threshold voltage, control the backup power to supply power to the main control chip through the voltage reduction module, and supply power to the flash memory through each voltage management module, so that the main control chip can store the currently stored data into the flash memory after power failure;

[0008] The main control chip is used to send a discharge instruction to each of the voltage management modules after completing the power-off storage, so as to drive each of the voltage management modules to discharge and realize the rapid power-off of the solid state drive.

[0009] In some embodiments, the backup power module is also used to receive the power supply voltage when the power supply voltage is greater than the threshold voltage, control the power supply voltage to charge the energy storage capacitor of the backup power module, and control the power supply voltage to power the main control chip and the flash memory respectively through the step-down module and the multiple voltage management modules.

[0010] In some embodiments, the voltage management module includes a voltage conversion unit and a discharge control unit;

[0011] The main control chip is specifically used for:

[0012] During normal reading and writing operation, a second signal is sent to the corresponding control end of the discharge control unit and the control end of the voltage conversion unit through each IO interface thereof, so as to control the discharge control unit to be in a non-discharging state and control the voltage conversion unit to output a supply voltage;

[0013] After completing the power-off storage, a shutdown signal is sent to the corresponding voltage conversion unit through its own IO interfaces, and an opening signal is sent to the discharge control unit, so that the output voltage of the voltage conversion unit is discharged through the discharge control unit until the discharge is completed.

[0014] In some embodiments, the flash memory includes a core voltage interface unit and an IO interface unit; the multiple voltage management modules include at least 2 voltage management modules; the main control chip includes at least 2 IO interfaces;

[0015] The backup power module supplies power to the core voltage interface unit and the IO voltage interface unit of the flash memory through each of the voltage management modules;

[0016] The main control chip controls the control end of each voltage conversion unit and the control end of the discharge control unit respectively through the corresponding IO interface;

[0017] The input interface of the voltage conversion unit is connected to the backup power module, and the output interface is connected to the corresponding voltage interface unit in the flash memory;

[0018] The input interface of the discharge control unit is connected to the output interface of the voltage conversion unit.

[0019] In some embodiments, the voltage conversion unit includes a DCDC conversion chip, a first resistor and a second resistor; the DCDC conversion chip includes an input pin, an enable pin, an output pin and a feedback pin;

[0020] The feedback pin is connected to the series node of the first resistor and the second resistor; the other end of the second resistor is used for grounding; the other end of the first resistor is combined with the output pin and connected as the output end of the voltage conversion unit to connect the corresponding voltage interface unit in the flash memory; the enable pin is connected to the corresponding IO interface in the main control chip through the control end of the voltage conversion unit; the input pin serves as the input end of the voltage conversion unit and is connected to the output end of the backup power module.

[0021] In some embodiments, the step-down modules all include a DCDC conversion chip, a first resistor, a second resistor, a third resistor, and a filter capacitor; the DCDC conversion chip includes an input pin, an enable pin, an output pin, and a feedback pin;

[0022] The feedback pin is connected to the series node of the first resistor and the second resistor; the other end of the second resistor is used for grounding; the other end of the first resistor is combined with the output pin and connected as the output end of the buck module, and connected to the corresponding voltage interface unit in the flash memory;

[0023] The enable pin is connected to the series node of the third resistor and the filter capacitor; the other end of the filter capacitor is used for grounding; the other end of the third resistor and the input pin are combined and connected as the input end of the step-down module, and connected to the output end of the backup power module.

[0024] In some embodiments, the discharge control unit uses a dual MOS tube switch device; the discharge control unit also includes a high voltage input terminal;

[0025] The dual MOS transistor switch device comprises a first MOS transistor, a second MOS transistor, a first resistor, a second resistor and a third resistor;

[0026] One end of the first resistor is connected to the gate of the first MOS transistor, and the other end is connected to the source of the first MOS transistor;

[0027] The gate of the first MOS tube is connected to the IO interface corresponding to the main control chip as the control end of the discharge control unit; the source of the first MOS tube is connected to the output end of the buck module as the high voltage input end of the discharge control unit; the drain of the first MOS tube is grounded through the second resistor;

[0028] The gate of the second MOS tube is connected to the series node of the drain of the first MOS tube and the second resistor, the drain is used for grounding, and the source is connected to one end of the third resistor; the other end of the third resistor serves as the input end of the discharge control unit to connect the output end of the corresponding voltage conversion unit.

[0029] In some embodiments, the main control chip is specifically used for:

[0030] When reading and writing data normally, control each IO interface to send a high level to the enable pin of the corresponding DCDC conversion chip to drive the DCDC conversion chip to convert the power output from the backup power module and output the target voltage through the output end of the voltage conversion unit;

[0031] After the power-off storage is completed, a low level is sent to the enable pin of the corresponding DCDC conversion chip through each IO interface to stop the corresponding DCDC conversion chip from working, thereby stopping the output end of the voltage conversion unit from outputting the target voltage.

[0032] In some embodiments, the main control chip is also connected to the backup power module via an I2C interface, and is used to read the backup power status of the backup power module via the I2C interface.

[0033] In a second aspect, an embodiment of the present application provides a power-off control method for a solid-state hard disk, which is applicable to a control chip in a solid-state hard disk provided in the first aspect of the present application, and the method includes:

[0034] Detecting the power supply voltage of the external power supply;

[0035] After the power-off storage is completed, a discharge instruction is sent to each voltage management module to drive each voltage management module to discharge, thereby realizing rapid power-off of the solid state drive.

[0036] The embodiments of the present application have the following beneficial effects:

[0037] The present application sets up multiple voltage management modules to quickly discharge the flash memory. The main control chip controls the control terminals connected to each of the voltage management modules respectively, and is used to connect an external power supply through its voltage detection pin to detect the power supply voltage of the external power supply. The backup power module is used to electrically connect the external power supply to store backup power, and when it is detected that the power supply voltage is less than the preset threshold voltage, the backup power is controlled to power the main control chip through the step-down module, and the flash memory is powered through each voltage management module, so that the main control chip executes the current storage data to be stored in the flash memory after power failure; the main control chip is used to send a discharge instruction to each of the voltage management modules after completing the power-off storage, so as to drive each of the voltage management modules to discharge, and realize the rapid power-off of the solid-state hard disk. As a result, the present application can be a solid-state hard disk that is completely powered off, has high stability, and has a backup power function. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0039] Figure 1 A structural diagram of a solid state hard disk according to an embodiment of the present application is shown;

[0040] Figure 2 A circuit diagram of a backup power module in a solid-state hard disk in an embodiment of the present application is shown;

[0041] Figure 3 A circuit diagram of a voltage conversion unit in a solid state drive according to an embodiment of the present application is shown;

[0042] Figure 4 A circuit diagram of a voltage reduction module in a solid-state hard disk according to an embodiment of the present application is shown;

[0043] Figure 5 A circuit diagram of a discharge control unit in a solid state hard disk according to an embodiment of the present application is shown;

[0044] Figure 6 A circuit diagram of a solid state hard disk according to an embodiment of the present application is shown;

[0045] Figure 7 A flow chart of a power-off control method for a solid-state hard disk according to an embodiment of the present application is shown.

[0046] Description of main component symbols:

[0047] 100-main control chip; 200-flash memory; 300-backup power module; 400-voltage reduction module; 500-voltage management module. DETAILED DESCRIPTION

[0048] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.

[0049] The components of the embodiments of the present application generally described and shown in the drawings herein may be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0050] Hereinafter, the terms "including", "having" and their cognates that can be used in various embodiments of the present application are intended only to indicate specific features, numbers, steps, operations, elements, components or a combination of the foregoing items, and should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components or a combination of the foregoing items or increasing the possibility of one or more features, numbers, steps, operations, elements, components or a combination of the foregoing items. In addition, the terms "first", "second", "third" and the like are only used to distinguish descriptions and cannot be understood as indicating or implying relative importance.

[0051] Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as those generally understood by those skilled in the art to which the various embodiments of the present application belong. The terms (such as those defined in generally used dictionaries) will be interpreted as having the same meanings as the contextual meanings in the relevant technical field and will not be interpreted as having idealized meanings or overly formal meanings unless clearly defined in the various embodiments of the present application.

[0052] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0053] The existing NAND FLASH power-off voltage is not complete. For example, after the solid state drive is powered off, the voltage is still greater than 100mV, resulting in unstable operation of the NAND FLASH when it is powered on again. In addition, the existing NAND FLASH power-off time is relatively long, resulting in the problem of not being able to recognize the disk normally when the SSD is repeatedly powered on and off, and the reliability is poor. Therefore, the present application provides a solid state drive and a power-off control method to solve the above problems.

[0054] The solid state drive is described below in conjunction with some specific embodiments.

[0055] Figure 1 A structural diagram of a solid state drive according to an embodiment of the present application is shown. Exemplarily, the solid state drive comprises: a main control chip 100 , a flash memory 200 , a backup power module 300 , a voltage reduction module 400 and a plurality of voltage management modules 500 .

[0056] The main control chip 100 controls the control terminals connected to the voltage management modules 500 respectively, and is used to connect to an external power source through its voltage detection pin to detect the power supply voltage VIN of the external power source. For example, the main control chip 100 controls the control terminals connected to the voltage management modules 500 through various IO interfaces. The voltage detection pin VDT ​​is used for the main control chip 100 to detect the state of the power supply voltage VIN.

[0057] Furthermore, the main control chip 100 is also connected to the backup power module 300 via an I2C interface, and is used to read the backup power status of the backup power module 300 via the I2C interface.

[0058] The backup power module 300 is used to electrically connect to the external power supply to store backup power, and when it is detected that the power supply voltage is lower than a preset threshold voltage, controls the backup power to supply power to the main control chip 100 through the step-down module 400, and supplies power to the flash memory 200 through each voltage management module 500, so that the main control chip 100 can store the currently stored data into the flash memory 200 after power failure.

[0059] The main control chip 100 is used to send a discharge instruction to each of the voltage management modules 500 after completing the power-off storage, so as to drive each of the voltage management modules 500 to discharge, thereby realizing the rapid power-off of the solid state drive.

[0060] Furthermore, the backup power module 300 is also used to receive the power supply voltage when the power supply voltage is greater than the threshold voltage, control the power supply voltage to charge the energy storage capacitor of the backup power module 300, and control the power supply voltage to supply power to the main control chip 100 and the flash memory 200 through the step-down module 400 and the multiple voltage management modules 500. It can be understood that the PLP backup power module 300 is connected to a large capacitor C, which is charged to a higher voltage V_STR and used as backup power; the output end of the PLP backup power module 300 outputs the POUT voltage.

[0061] For example, Figure 2 As shown, the PLP backup power module 300 (backup power module 300) uses SGM41664 of SGMICRO as the PLP control chip. The PLP backup power module 300 has the following main functions: (1) a wide voltage input range of 2.6V to 16V; (2) supports adjustable boost output up to 36V; (3) has overvoltage protection and overcurrent protection functions; (4) has an I2C interface to communicate with the main control chip 100; (5) has adjustable soft start and delayed start functions.

[0062] Figure 3 The working process of the backup power circuit corresponding to the PLP backup power module 300 is as follows:

[0063] The external power supply inputs the power supply voltage VIN to the input end of the backup power module 300, and the backup power module 300 outputs the POUT voltage. The boosted backup power voltage of the backup power module 300 is V_STR. The current backup power circuit configuration is for the input of the power supply voltage VIN of 5V, and the OVP pin is pulled up to the power supply voltage VIN, which is configured as a 5V overvoltage protection state. During normal operation, the input end of the backup power module 300 inputs a 5V voltage, and the SGM41664 turns on the internal switch tube and outputs a 5V voltage from the BUS pin to power the rear-end load. At the same time, the V_STR voltage is boosted to 24.6V, and the high voltage energy is stored in large capacitors C99 and C100. When the external power supply is powered off, the SGM41664 detects that the power supply voltage VIN at its input end is lower than the threshold voltage, and shuts off the channel for the power supply voltage VIN to flow to its output end. At the same time, the high voltage V_STR is converted to a lower POUT voltage and continues to be output to power the SSD hardware system to ensure that the data is completed and written to the NAND FLASH for preservation.

[0064] Furthermore, the voltage management module 500 includes a voltage conversion unit and a discharge control unit.

[0065] The main control chip 100 is specifically used for:

[0066] During normal reading and writing operation, the second signal is sent to the corresponding control end of the discharge control unit and the control end of the voltage conversion unit through each IO interface thereof, so as to control the discharge control unit to be in a non-discharging state and control the voltage conversion unit to output a supply voltage. The second signal is a high level.

[0067] After the power-off storage is completed, a shutdown signal is sent to the corresponding voltage conversion unit through its own IO interfaces and an opening signal is sent to the discharge control unit, so that the output voltage of the voltage conversion unit is discharged through the discharge control unit until the discharge is completed. Exemplarily, after the power-off storage is completed, a first signal is sent to the control end of the corresponding discharge control unit and the control end of the voltage conversion unit through its own IO interfaces to control the output voltage of the voltage conversion unit to be transmitted to the ground through the discharge control unit, thereby stopping the power supply to the flash memory 200 and stopping the voltage conversion unit from outputting the power supply voltage. The first signal is a low level.

[0068] Furthermore, the flash memory 200 includes a core voltage interface unit and an IO voltage interface unit. The multiple voltage management modules 500 include two voltage management modules 500; and the main control chip 100 includes two IO interfaces.

[0069] The backup power module 300 supplies power to the core voltage interface unit and the IO voltage interface unit of the flash memory 200 through the voltage management modules 500. It can be understood that the backup power module 300 supplies power to the core voltage interface unit and the IO voltage interface unit of the flash memory 200 through two voltage management modules 500 in a one-to-one correspondence.

[0070] The main control chip 100 controls the control end of each voltage conversion unit and the control end of the discharge control unit respectively through corresponding IO interfaces.

[0071] The input interface of the voltage conversion unit is connected to the backup power module 300 , and the output interface is connected to the corresponding voltage interface unit in the flash memory 200 .

[0072] The input interface of the discharge control unit is connected to the output interface of the voltage conversion unit.

[0073] Furthermore, if Figure 3 As shown, the voltage conversion unit includes a DCDC conversion chip, a first resistor and a second resistor; the DCDC conversion chip includes an input pin IN, an enable pin EN, an output pin OUT and a feedback pin FB.

[0074] The feedback pin is connected to the series node of the first resistor RA1 and the second resistor RB1; the other end of the second resistor is used for grounding; the other end of the first resistor is combined with the output pin and connected as the output end of the voltage conversion unit ( Figure 3 The enable pin is connected to the corresponding interface unit in the flash memory 200. For example, the core voltage interface unit of the flash memory 200 is connected. The enable pin is connected to the corresponding interface unit in the flash memory 200 through the control end ( Figure 3 IO1 in the main control chip 100) is connected to the corresponding IO interface; the input pin serves as the input end of the voltage conversion unit ( Figure 3 VCCF) to connect the output end of the backup power module 300.

[0075] Exemplarily, the voltage conversion unit uses the DC / DC conversion chip SY8843 of Silergy Company to form a circuit. The main control chip 100 controls the IO to set the enable pin EN of SY8843 to a high level, and configures the first resistor and the second resistor to different voltage-dividing resistance values ​​to adjust the output voltage of the output end of the voltage conversion unit; the enable pin EN is set to a low level through the IO interface to shut down the output voltage of the output end of the voltage conversion unit.

[0076] Furthermore, if Figure 4 As shown, the buck module 400 includes a DCDC conversion chip, a first resistor R12, a second resistor R13, a third resistor R10 and a filter capacitor C10; the DCDC conversion chip includes an input pin IN, an enable pin EN, an output pin OUT and a feedback pin FB.

[0077] The feedback pin is connected to the series node of the first resistor and the second resistor; the other end of the second resistor is grounded; the other end of the first resistor is combined with the output pin and connected as the output end of the buck module 400 ( Figure 4 VCCIO in the flash memory 200 to connect to the corresponding voltage interface unit.

[0078] The enable pin is connected to the series node of the third resistor and the filter capacitor; the other end of the filter capacitor is used for grounding; the other end of the third resistor and the input pin are combined and connected as the input end of the buck module 400 ( Figure 3 POUT) to connect the output end of the backup power module 300.

[0079] The buck module 400 is a voltage conversion circuit, which uses the DC / DC conversion chip SY8843 of Silergy Company to form a circuit. The enabling of the enable pin EN of SY8843 is controlled by adjusting the third resistor and the filter capacitor. When powered on, the voltage POUT is charged through the RC composed of the third resistor and the filter capacitor. When the voltage on the filter capacitor reaches the threshold voltage of the enable pin EN of SY8843, the buck module 400 is controlled to output the VCCIO voltage; when powered off, when the voltage on the filter capacitor drops below the threshold voltage of the enable pin EN of SY8843, the buck module 400 is controlled to shut off the VCCIO voltage.

[0080] Furthermore, the discharge control unit adopts a dual MOS tube switch device; the discharge control unit also includes a high voltage input terminal.

[0081] like Figure 5 As shown, the dual MOS transistor switch device includes a first MOS transistor Q1, a second MOS transistor Q2, a first resistor R1, a second resistor R2 and a third resistor R3.

[0082] One end of the first resistor is connected to the gate of the first MOS transistor, and the other end is connected to the source of the first MOS transistor.

[0083] The gate of the first MOS tube serves as the control terminal of the discharge control unit ( Figure 5 IO1) is connected to the IO interface corresponding to the main control chip 100; the source of the first MOS tube serves as the high voltage input terminal ( Figure 5 VCCIO) is connected to the output end of the step-down module 400; the drain of the first MOS tube is grounded through the second resistor.

[0084] The gate of the second MOS tube is connected to the series node of the drain of the first MOS tube and the second resistor, the drain is used for grounding, and the source is connected to one end of the third resistor; the other end of the third resistor serves as the input end of the discharge control unit ( Figure 5 Preferably, the first resistor in the dual MOS switch device is 10KΩ, the second resistor is 10KΩ and the third resistor is 100Ω.

[0085] Furthermore, the main control chip 100 is specifically used for:

[0086] When reading and writing data normally, control each IO interface to send a high level to the enable pin of the corresponding DCDC conversion chip to drive the DCDC conversion chip to convert the power output from the backup power module 300, and output the target voltage through the output end of the voltage conversion unit;

[0087] After the power-off storage is completed, a low level is sent to the enable pin of the corresponding DCDC conversion chip through each IO interface to stop the corresponding DCDC conversion chip from working, thereby stopping the output end of the voltage conversion unit from outputting the target voltage.

[0088] Specifically, the first MOS tube is a PMOS tube, and the second MOS tube is an NMOS tube. The IO interface of the main control chip 100 is connected to the G pole of the PMOS tube, the D pole of the PMOS tube is connected to the G pole of the NMOS tube, and the S pole of the PMOS tube is connected to the output end of the buck module 400 to receive the output voltage of the voltage conversion unit. The D pole of the PMOS tube is grounded through a 10K resistor, and the IO interface is connected to the output end of the buck module 400 through a 10K resistor to obtain the VCCIO voltage. The output voltage of the voltage conversion unit passes through a 100Ω resistor (the resistance value can be adjusted as needed, and the smaller the resistance value, the faster the discharge time) to the S pole of the NMOS tube. During normal operation, the main control chip 100 controls the IO interface to output a high level to the control end of the voltage conversion unit. At this time, the PMOS is in the off state, and the corresponding NMOS tube G is at a low level, and the NMOS is also in the off state; when the power supply voltage is powered off and the main control chip 100 completes data storage to NANDFLASH, the main control chip 100 controls the IO interface to output a low level to the control end of the voltage conversion unit. At this time, the PMOS tube is turned on, and the corresponding NMOS tube G level is pulled up, thereby turning on the NMOS tube, and the output voltage of the voltage conversion unit is connected to the ground through the third resistor and the NMOS tube with extremely small internal resistance, and the output voltage of the voltage conversion unit is quickly pulled down to 0V level. Exemplarily, in an application scenario, such as Figure 6 As shown, the solid-state hard disk of the embodiment of the present application includes: a backup power module 300, a voltage conversion unit 1, a voltage conversion unit 2, a voltage conversion unit 3 (corresponding to a step-down module 400), a discharge control unit 1, a discharge control unit 2, a main control chip 100 and a NAND FLASH (corresponding to a flash memory 200). Among them, the backup power module 300 adopts the SGM41664 control chip, the voltage conversion unit 1, the voltage conversion unit 2 and the voltage conversion unit 3 all adopt the DC / DC voltage conversion chip SY8843, and the discharge control unit 1 and the discharge control unit 2 adopt dual MOS tube switch devices.

[0089] The backup power module 300 is connected to an external power supply, receives a power supply voltage VIN, and provides a POUT voltage to the voltage conversion unit 1, the voltage conversion unit 2, and the voltage conversion unit 3. The voltage conversion unit 3 outputs the VCCIO voltage, and the voltage conversion unit 3 is connected to the GPIO voltage interface unit of the main control chip 100 to power the GPIO (general input output) interface module inside the main control chip 100. The VCCF voltage output by the voltage conversion unit 1 is connected to the core voltage interface unit of the flash memory 200 to power the core voltage of the NAND FLASH. The VCCQ voltage output by the voltage conversion unit 2 powers the IO port of the NAND FLASH. The main control chip 100 controls the connection between the voltage conversion unit 1 and the discharge control unit 1 through the first IO interface, and controls the connection between the voltage conversion unit 2 and the discharge control unit 2 through the second IO interface.

[0090] When the external power supply is normal, the PLP backup power module 300 charges the energy storage capacitor C to a higher voltage V_STR as backup power storage, and the PLP backup power module 300 outputs a POUT voltage substantially equal to the power supply voltage VIN. When the power supply voltage of the external power supply input begins to drop, the PLP backup power module 300 detects that the power supply voltage is lower than the threshold voltage, and immediately shuts off the channel for the power supply voltage VIN to flow to the POUT voltage. The PLP backup power module 300 converts the high voltage V_STR voltage on the energy storage capacitor C into a lower POUT voltage, and continues to output it to power the SSD hardware; at the same time, when the detection pin VDT ​​of the main control chip 100 detects that the power supply voltage is lower than the threshold voltage, the current data is written to the NAND FLASH, and the high power stored in the energy storage capacitor C ensures the time required to complete the data writing to the NAND FLASH. When the data is saved, the main control chip 100 controls IO1 (the first IO interface) to turn off the voltage conversion unit 1 and turn on the discharge control unit 1, and quickly discharges the VCCF voltage output by the voltage conversion unit 1, and quickly pulls it to the 0V level. At the same time, IO2 (the second IO interface) is controlled to turn off the voltage conversion unit 2 and turn on the discharge control unit 2, so that the VCCQ voltage output by the voltage conversion unit 1 is quickly discharged and quickly pulled to the 0V level, completing the fast power-off process of the NAND FLASH power supply voltage. When the NAND FLASH voltage is pulled to the 0V level, the NAND FLASH chip is reset to ensure that the SSD can work stably when powered on again.

[0091] Because the main control chip 100 completes the data preservation process before the POUT voltage or the power supply voltage VIN is powered off, and controls the discharge control unit through the IO interface to quickly discharge the VCCF voltage and the VCCQ voltage, the VCCF voltage and the VCCQ voltage will be powered off before the VCCIO voltage, and during the VCCF voltage and the VCCQ voltage discharge process, the VCCIO voltage always maintains a high voltage, ensuring that the VCCF voltage and the VCCQ voltage completely and thoroughly drop to 0V quickly, completing the NAND FLASH voltage fast discharge process. Therefore, the present application can achieve complete power-off of the NAND FLASH through a backup power circuit and a simple fast power-off discharge control circuit, ensuring that the SSD disk with a backup power function works stably and reliably.

[0092] The present application embodiment provides a method for controlling power-off of a solid state drive. Applicable to the main control chip 100, for example, Figure 7 As shown, the power-off control method of the solid state hard disk includes:

[0093] S100, detecting the power supply voltage of the external power supply.

[0094] S200, after completing the power-off storage, sending a discharge instruction to each voltage management module 500 to drive each voltage management module 500 to discharge, thereby realizing rapid power-off of the solid state drive.

[0095] The method also includes: during normal reading and writing operations, sending a second signal to the corresponding control end of the discharge control unit and the control end of the voltage conversion unit through each of its own IO interfaces to control the discharge control unit to be in a non-discharging state and control the voltage conversion unit to output a supply voltage.

[0096] It can be understood that the device of this embodiment corresponds to the function of the main control chip 100 in the solid state drive of the above embodiment, and the optional items in the above embodiment are also applicable to this embodiment, so they will not be described repeatedly here.

[0097] The embodiment of the present application provides a power-off control device for a solid state drive. Exemplarily, the power-off processing device includes: a detection module, a power-off control module, and a power supply control module.

[0098] The detection module is used to detect the power supply voltage of the external power supply.

[0099] The power-off control module is used to send a discharge instruction to each of the voltage management modules 500 after completing the power-off storage, so as to drive each of the voltage management modules 500 to discharge and realize the rapid power-off of the solid state drive.

[0100] The power supply control module is used to send a second signal to the control end of the corresponding discharge control unit and the control end of the voltage conversion unit through its own IO interfaces during normal reading and writing operations, so as to control the discharge control unit to be in a non-discharging state and control the voltage conversion unit to output a supply voltage.

[0101] It can be understood that the device of this embodiment corresponds to the power-off processing method of the above embodiment, and the options in the above embodiment are also applicable to this embodiment, so they will not be described repeatedly here.

[0102] The present application also provides a terminal device, which exemplarily includes a processor and a memory, wherein the memory stores a computer program, and the processor runs the computer program to enable the terminal device to execute the functions of each module in the above-mentioned power-off control method of the solid-state hard disk or the above-mentioned power-off control device of the solid-state hard disk. Preferably, the terminal device is a main control chip 100.

[0103] Among them, the processor can be an integrated circuit chip with signal processing capabilities. The processor can be a general-purpose processor, including a central processing unit (CPU), a graphics processing unit (GPU) and a network processor (NP), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or at least one of other programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc., which can implement or execute the disclosed methods, steps and logic block diagrams in the embodiments of the present application.

[0104] The memory may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc. The memory is used to store a computer program, and the processor may execute the computer program accordingly after receiving an execution instruction.

[0105] The present application also provides a computer-readable storage medium for storing the computer program used in the above-mentioned terminal device. For example, the computer-readable storage medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0106] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and structure diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in an alternative implementation, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the structure diagram and / or the flow diagram, and the combination of boxes in the structure diagram and / or the flow diagram, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0107] In addition, the functional modules or units in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0108] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a smart phone, a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application.

[0109] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. A solid state hard disk, characterized in that: include: Main control chip, flash memory, backup power module, voltage reduction module and multiple voltage management modules; The main control chip controls the control terminals connected to the voltage management modules respectively, and is used to connect to an external power source through its voltage detection pin to detect the power supply voltage of the external power source; The backup power module is used to electrically connect to the external power supply to store backup power, and when it is detected that the power supply voltage is less than a preset threshold voltage, control the backup power to supply power to the main control chip through the voltage reduction module, and supply power to the flash memory through each voltage management module, so that the main control chip can store the currently stored data into the flash memory after power failure; The main control chip is used to send a discharge instruction to each of the voltage management modules after completing the power-off storage, so as to drive each of the voltage management modules to discharge and realize the rapid power-off of the solid state drive.

2. The solid state drive according to claim 1, wherein: The backup power module is also used to receive the power supply voltage when the power supply voltage is greater than the threshold voltage, control the power supply voltage to charge the energy storage capacitor of the backup power module, and control the power supply voltage to supply power to the main control chip and the flash memory respectively through the step-down module and the multiple voltage management modules.

3. The solid state drive according to claim 1, wherein: The voltage management module includes a voltage conversion unit and a discharge control unit; The main control chip is specifically used for: During normal reading and writing operation, a second signal is sent to the corresponding control end of the discharge control unit and the control end of the voltage conversion unit through each IO interface thereof, so as to control the discharge control unit to be in a non-discharging state and control the voltage conversion unit to output a supply voltage; After completing the power-off storage, a shutdown signal is sent to the corresponding voltage conversion unit through its own IO interfaces, and an opening signal is sent to the discharge control unit, so that the output voltage of the voltage conversion unit is discharged through the discharge control unit until the discharge is completed.

4. The solid state drive according to claim 3, characterized in that: The flash memory includes a core voltage interface unit and an IO voltage interface unit; the multiple voltage management modules include at least 2 voltage management modules; the main control chip includes at least 2 IO interfaces; The backup power module supplies power to the core voltage interface unit and the IO voltage interface unit of the flash memory through each of the voltage management modules; The main control chip controls the control end of each voltage conversion unit and the control end of the discharge control unit respectively through the corresponding IO interface; The input interface of the voltage conversion unit is connected to the backup power module, and the output interface is connected to the corresponding voltage interface unit in the flash memory; The input interface of the discharge control unit is connected to the output interface of the voltage conversion unit.

5. The solid state drive according to claim 3, characterized in that: The voltage conversion unit includes a DCDC conversion chip, a first resistor and a second resistor; the DCDC conversion chip includes an input pin, an enable pin, an output pin and a feedback pin; The feedback pin is connected to the series node of the first resistor and the second resistor; the other end of the second resistor is used for grounding; the other end of the first resistor is combined with the output pin and connected as the output end of the voltage conversion unit to connect the corresponding voltage interface unit in the flash memory; the enable pin is connected to the corresponding IO interface in the main control chip through the control end of the voltage conversion unit; the input pin serves as the input end of the voltage conversion unit and is connected to the output end of the backup power module.

6. The solid state drive according to claim 3, characterized in that: The step-down modules all include a DCDC conversion chip, a first resistor, a second resistor, a third resistor and a filter capacitor; the DCDC conversion chip includes an input pin, an enable pin, an output pin and a feedback pin; The feedback pin is connected to the series node of the first resistor and the second resistor; the other end of the second resistor is used for grounding; the other end of the first resistor is combined with the output pin and connected as the output end of the buck module, and connected to the corresponding voltage interface unit in the flash memory; The enable pin is connected to the series node of the third resistor and the filter capacitor; the other end of the filter capacitor is used for grounding; the other end of the third resistor and the input pin are combined and connected as the input end of the step-down module, and connected to the output end of the backup power module.

7. The solid state drive according to claim 3, characterized in that: The discharge control unit adopts a dual MOS tube switch device; the discharge control unit also includes a high voltage input terminal; The dual MOS transistor switch device comprises a first MOS transistor, a second MOS transistor, a first resistor, a second resistor and a third resistor; One end of the first resistor is connected to the gate of the first MOS transistor, and the other end is connected to the source of the first MOS transistor; The gate of the first MOS tube is connected to the IO interface corresponding to the main control chip as the control end of the discharge control unit; the source of the first MOS tube is connected to the output end of the buck module as the high voltage input end of the discharge control unit; the drain of the first MOS tube is grounded through the second resistor; The gate of the second MOS tube is connected to the series node of the drain of the first MOS tube and the second resistor, the drain is used for grounding, and the source is connected to one end of the third resistor; the other end of the third resistor serves as the input end of the discharge control unit to connect the output end of the corresponding voltage conversion unit.

8. The solid state drive according to claim 6, wherein: The main control chip is specifically used for: When reading and writing data normally, control each IO interface to send a high level to the enable pin of the corresponding DCDC conversion chip to drive the DCDC conversion chip to convert the power output from the backup power module and output the target voltage through the output end of the voltage conversion unit; After the power-off storage is completed, a low level is sent to the enable pin of the corresponding DCDC conversion chip through each IO interface to stop the corresponding DCDC conversion chip from working, thereby stopping the output end of the voltage conversion unit from outputting the target voltage.

9. The solid state hard disk according to any one of claims 1 to 8, characterized in that: The main control chip is also connected to the backup power module via an I2C interface, and is used to read the backup power status of the backup power module via the I2C interface.

10. A method for controlling power-off of a solid state hard disk, characterized in that: The control chip in the solid state drive according to any one of claims 1 to 9, the method comprising: Detecting the power supply voltage of the external power supply; After the power-off storage is completed, a discharge instruction is sent to each voltage management module to drive each voltage management module to discharge, thereby realizing rapid power-off of the solid state drive.