A solid state hard disk controller

By integrating the SRAM cache unit in the solid-state drive controller, the high cost and size problems caused by external DRAM are solved, enabling a smaller and more economical solid-state drive design while maintaining efficient data transmission performance.

CN110413233BActive Publication Date: 2024-10-29HANGZHOU DIANZI UNIV
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN201910682417.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-07-26
Publication Date
2024-10-29
Estimated Expiration
2039-07-26

AI Technical Summary

Technical Problem

Existing solid-state drives rely on external DRAM, resulting in high costs and inability to reduce size.

Method used

Use SRAM to replace DRAM, and integrate the cache unit inside the solid-state drive controller. It is connected to the cache unit through the CPU, main control interface controller and flash memory controller, and uses the AXI bus for data transmission to ensure high bandwidth for data storage to FLASH. .

Benefits of technology

Reduces hardware costs, shrinks the size of solid-state drives, maintains data transmission performance, and simplifies PCB layout and design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110413233B_ABST
    Figure CN110413233B_ABST
Patent Text Reader

Abstract

The present invention discloses a solid state drive controller, which is integrated and packaged as a single chip, and at least includes a CPU, a main control interface controller, a flash memory controller and a cache unit, wherein the CPU is connected to the main control interface controller, the flash memory controller and the cache unit, and is used to control the operation of the solid state drive controller; the main control interface controller is connected to an external host, and is used to transmit data with the external host; the cache unit uses SRAM, and is used to cache data received by the main control interface controller; the flash memory controller is connected to FLASH, and is used to store data in the cache unit into FLASH. Compared with the prior art, the present invention proposes a new SSD main control cache architecture, which uses SRAM to replace DRAM, and integrates the cache into the main control chip, thereby optimizing the system structure of the chip, optimizing the layout and wiring of the PCB and reducing the size to a certain extent, and greatly reducing the hardware cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of memory technology, and in particular to a solid state hard disk controller. Background Art

[0002] Solid-state drives (SSDs) have become the mainstream storage devices and are widely used in data storage in various fields. Figure 1 As shown, the solid state drive controller (SSD controller) is an integrated package chip (ASIC), which is provided with a host interface controller, a flash memory controller and a DRAM controller. The host interface controller (HostInterface Controller) is used as a front end to interact with the host, and the interface can be PCEI, SATA, SAS and other interfaces; the flash memory controller (Flash Controller) is used as a back end to interact with the flash memory (FLASH) and complete data encoding and decoding and ECC verification. In addition, there is a DRAM controller that is interconnected with the independently packaged DRAM through the AXI bus for data caching.

[0003] In the above architecture, DRAM is externally connected to the SSD controller via PCB wiring. Data is transmitted through the host interface, and the DRAM controller then applies to the CPU for permission to transmit the bus, and then writes the data to the corresponding address of DRAM, and notifies the flash controller. The flash controller takes the data out of DRAM and stores it in FLASH, thus completing the data storage process. Since the interface bandwidth of DRAM is generally larger than the data transmission bandwidth, it can continuously receive and process the read and write data of the host interface at full speed.

[0004] However, DRAM is expensive, usually more expensive than the integrated packaged SSD controller chip, which undoubtedly increases the hardware cost of SSD. At the same time, since DRAM and chips use completely different processes, it is impossible to integrate them into the chip. Therefore, in the design of SSD, the PCB needs to reserve space for DRAM, and the main controller needs to design an interface for external DRAM, which makes it impossible to further reduce the size of SSD.

[0005] Therefore, in view of the defects of the prior art, it is necessary to propose a technical solution to solve the technical problems existing in the prior art. Summary of the invention

[0006] In view of this, it is indeed necessary to provide a solid-state drive controller that adopts the idea of ​​replacing DRAM with SRAM and integrates the cache unit inside the solid-state drive controller, thereby completely getting rid of the system's dependence on DRAM. There is no need for external DRAM in the solid-state drive design, and the size of the solid-state drive can be further reduced and the cost can be reduced.

[0007] In order to solve the technical problems existing in the prior art, the technical solution of the present invention is as follows:

[0008] A solid state hard disk controller is integrated and packaged as a single chip, comprising at least a CPU, a main control interface controller, a flash memory controller and a cache unit, wherein:

[0009] The CPU is connected to the main control interface controller, the flash memory controller and the cache unit, and is used to control the operation of the solid state drive controller;

[0010] The host interface controller is connected to an external host and is used for data transmission with the external host;

[0011] The cache unit adopts SRAM to cache the data received by the master interface controller;

[0012] The flash memory controller is connected to FLASH and is used to store the data in the cache unit into FLASH.

[0013] As a further improvement, a cache controller is further provided, which is connected to the CPU, the host interface controller, the flash memory controller and the cache unit, and is used to control the cache unit according to the instructions of the CPU.

[0014] As a further improvement, an AXI bus is used between the cache controller and the cache unit.

[0015] As a further improvement, the bandwidth of the cache unit is at least twice the data input bandwidth of the host interface.

[0016] As a further improvement, the bandwidth of the cache unit is 4 GB / s.

[0017] As a further improvement, the main control interface controller adopts a PCEI, SATA or SAS interface.

[0018] Compared with the prior art, the present invention proposes a new SSD master control cache architecture, which uses SRAM to replace the DRAM module and integrates the cache into the master control chip, thereby optimizing the system structure of the chip and simplifying the original three modules of master control, DRAM, and FLASH into two modules of master control and FLASH. It optimizes the layout and wiring of the PCB and reduces its size to a certain extent, greatly reducing the hardware cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 The figure is a block diagram of the architecture of a solid state drive in the prior art.

[0020] Figure 2The figure is a principle block diagram of the solid state hard disk controller of the present invention.

[0021] Figure 3 The schematic diagram of a solid state drive controller according to another embodiment of the present invention is shown in FIG.

[0022] The following specific embodiments will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION

[0023] The technical solution provided by the present invention will be further described below in conjunction with the accompanying drawings.

[0024] In the prior art, SSDs must use DRAM during operation, which increases the cost of solid-state drives. To address this technical defect, the present invention proposes a new SSD master cache architecture. Figure 2 , which is a principle block diagram of the solid state drive controller of the present invention, the solid state drive controller is integrated and packaged as a single chip, which includes at least a CPU, a main control interface controller, a flash memory controller and a cache unit, wherein,

[0025] The CPU is connected to the main control interface controller, the flash memory controller and the cache unit, and is used to control the operation of the solid state drive controller;

[0026] The main control interface controller adopts an interface such as PCEI, SATA or SAS to connect to an external host for data transmission with the external host;

[0027] The cache unit adopts SRAM to cache the data received by the master interface controller;

[0028] The flash memory controller is connected to FLASH and is used to store the data in the cache unit into FLASH.

[0029] In the above technical solution, SRAM is used to replace DRAM. Since SRAM and the main control chip adopt the same process, the cache can be integrated into the main control chip, and there is no need to add external DRAM in the solid-state hard drive design.

[0030] See also Figure 3 , which is a principle block diagram of a solid state drive controller according to another embodiment of the present invention, further includes a cache controller, which is connected to the CPU, the master interface controller, the flash memory controller and the cache unit, and is used to control the cache unit according to the instructions of the CPU. The cache unit can be more conveniently controlled by the cache controller, and the specific control mechanism is as follows:

[0031] Assuming that the bandwidth of the cache unit is 4GB / s, the write rate of the host interface is 1GB / s, and the data is transmitted from the host interface, the host interface controller is responsible for decoding and verifying the incoming data, and then notifies the cache unit controller that there is data to be transmitted. The cache unit controller applies to the CPU for the right to use the system bus. After the cache unit controller obtains the right to use the system bus, it directly stores the data to be transmitted into the cache unit and notifies the flash memory controller, and then the flash memory controller directly takes out the data from the cache unit and writes it into FLASH. Since the bandwidth of the cache unit is greater than 2 times the data transmission bandwidth of the host interface, this design will not reduce the data transmission performance of the hard disk. The well-simplified design and layout and wiring work reduce the design cost.

[0032] In a preferred embodiment, a cache unit structure is used to replace DRAM and the same high-speed AXI bus structure as the existing DRAM is used. The cache unit design is integrated inside the main control chip during design, and the same AXI transmission bus as DRAM is simulated in the SOC for mutual communication. The secondary cache unit has the same data bandwidth and data processing speed as DRAM. Due to the use of the AXI bus structure, the storage capacity can be expanded by connecting to an external DRAM through the bus, thereby eliminating the interface circuit of the external DRAM part and replacing the external DRAM with a cache unit, while maintaining compatibility with the original architecture.

[0033] The above embodiments are only used to help understand the method and core idea of ​​the present invention. It should be noted that, for those skilled in the art, several improvements and modifications can be made to the present invention without departing from the principles of the present invention, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.

[0034] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A solid state hard disk controller, characterized in that: The solid state drive controller is integrated and packaged as a single chip, which includes at least a CPU, a host interface controller, a flash memory controller and a cache unit, wherein: The CPU is connected to the main control interface controller, the flash memory controller and the cache unit, and is used to control the operation of the solid state drive controller; The host interface controller is connected to an external host and is used for data transmission with the external host; The cache unit adopts SRAM to cache the data received by the master interface controller; The flash memory controller is connected to FLASH and is used to store the data in the cache unit into FLASH; A cache controller is also provided, which is connected to the CPU, the master interface controller, the flash memory controller and the cache unit, and is used to control the cache unit according to the instructions of the CPU; an AXI bus is used between the cache controller and the cache unit, wherein an AXI bus identical to a DRAM is simulated in the chip; the bandwidth of the cache unit is at least twice the data input bandwidth of the host interface.

2. The solid state drive controller according to claim 1, wherein: The bandwidth of the cache unit is 4 GB / s.

3. The solid state drive controller according to claim 1, wherein: The main control interface controller adopts PCEI, SATA or SAS interface.

Citation Information

Patent Citations

  • Storage controller

    CN104035897A

  • A reconfigurable computing storage fusion flash memory control system

    CN109947694A

  • Solid state disk controller

    CN210155650U