DATA STORAGE DEVICE

- Google

A data storage device may include a first memory board having multiple memory chips and a controller board that is arranged and configured to operably connect to the first memory board. The controller board may include an interface to a host and a controller that is arranged and configured to control command processing for multiple different types of memory chips, automatically recognize a type of the memory chips on the first memory board, receive commands from the host using the interface, and execute the commands using the memory chips.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description
CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation application of U.S. application Ser. No. 12/537,704, filed Aug. 7, 2009, and titled, “Data Storage Device Capable of Recognizing and Controlling Multiple Types of Memory Chips,” which claims the benefit of U.S. Provisional Application No. 61/167,709, filed Apr. 8, 2009, and titled “Data Storage Device” and U.S. Provisional Application No. 61/187,835, filed Jun. 17, 2009, and titled “Partitioning and Striping in a Flash Memory Data Storage Device,” all of which are hereby incorporated by reference in entirety.

TECHNICAL FIELD

This description relates to a data storage device.

BACKGROUND

Data storage devices may be used to store data. A data storage device may be used with a computing device to provide for the data storage needs of the computing device. In certain instances, it may be desirable to store large amounts of data on a data storage device. Also, it may be desirable to execute commands quickly to read data and to write data to the data storage device.

SUMMARY

This document describes a data storage device that includes one or more memory boards, where each of the memory boards includes multiple flash memory chips. The data storage device includes a controller board to which the memory boards operably connect. The data storage device may be configured to communicate with a host using an interface to receive commands from the host and to process those commands using the flash memory chips. For example, the host may send and the controller board may receive commands to read, write, copy and erase blocks of data using the flash memory chips.

In one exemplary implementation, the controller includes a field-programmable gate array (FPGA) controller and the interface between the host and the controller board may be a high speed interface such as, for example, a peripheral component interconnect express (PCIe) interface. In this manner, the data storage device may include high storage volumes and may be configured to achieve high performance and high speeds of data transfer between the host and the flash memory chips.

In one exemplary implementation, the data storage device may be configured with two memory boards with each of the memory boards including multiple flash memory chips. The data storage device, including the controller board and two memory boards, may be configured in a disk drive form such that the data storage device fits in an on-board drive slot of a computing device. For instance, the data storage device may be configured to fit in an on-board drive slot of a server to provide data storage capacity for the server. The data storage device may be configured to be removable such that it may be removed easily from the computing device and inserted in the on-board drive slot of a different computing device.

Also, the data storage device may be modular such that the memory boards may be disconnected from the controller board and replaced with other memory boards, where the other memory boards also may include multiple flash memory chips. The controller on the controller board may be configurable to recognize that one or more of the memory boards have been disconnected and replaced with other memory boards. The controller may be configured to recognize this type of swap-out of memory boards and may process commands between the host and the other memory boards. In this manner, the controller board may continue to be used even if one or more of the memory boards are no longer usable. An unusable memory board may be disconnected from the controller board and may be replaced by another memory board while still using the same controller board and the same components on the controller board.

In one exemplary implementation, the data storage device may be configurable to handle different types of flash memory chips. For example, the controller on the controller board may be configured to recognize and to operate with different types of flash memory chips on the memory boards. For instance, the controller may be a FPGA controller that is configured to recognize different types of flash memory chips including, for example, single-level cell (SLC) flash memory chips, multi-level cell (MLC) flash memory chips, NAND flash memory chips, NOR flash memory chips, and other types of flash memory chips. The controller may be configured to recognize flash memory chips from different flash memory chip vendors. The controller may be configured to recognize the different types of flash memory chips and to execute commands from the host using the flash memory chips by translating the commands based on the type of flash memory chips on the memory boards. Thus, the host is not required to translate commands or to send different commands because of the type of flash memory chip. The controller may be configured to translate the commands from the host to the native commands for the particular type of flash memory chips.

In this manner, the same controller board having the same controller may be used with memory boards having different types of flash memory chips. For instance, a first memory board and a second memory board may be connected to the controller board and each of the boards may include SLC NAND flash memory chips manufactured by a one vendor. The first memory board and the second memory board may be disconnected and replaced with two other memory boards, where the other memory boards include MLC NAND flash memory chips manufactured by a different vendor. The controller may be configured to automatically recognize the flash memory chips on the other memory boards and to execute commands from the host using the flash memory chips on the other memory boards. In this manner, the data storage device may be tailored and configured with different flash memory chips on the memory boards depending on the characteristics of the application or applications on the host and depending on the desired features of the data storage device by the application or applications on the host.

In other exemplary implementations, each of the memory boards may include memory devices other than flash memory chips. For example, each of the memory boards may include multiple dynamic random access memory (DRAM) chips. In the same manner as described above with respect to the flash memory chips, the data storage device may be configurable to handle different types of DRAM chips. For example, the controller on the controller board may be configured to recognize and to operate with different types of DRAM chips on the memory boards. One memory board of DRAM chips may be removed from the data storage device and replace with a memory board having a different type of DRAM chips. The controller may execute commands from the host using the different type of DRAM chips by translating the commands based on the type of DRAM chips on the memory board. In other exemplary implementations, the memory boards may include other types of memory devices including, for example, phase change memory (PCM) chips and other types of memory devices.

In another exemplary implementation, the controller on the controller board may be configured to recognize and to operate with one type of memory device on the one memory board and, at the same time, operate with a different type of memory device on the other memory board. For example, one of the memory boards may include flash memory chips and another memory board may include DRAM chips.

In one exemplary implementation, the data storage device may be configurable to handle flash memory chips having different voltages. For example, the controller on the controller board may be configured to recognize and to operate with flash memory chips having different voltages on the memory boards. For instance, the controller may sense the voltage of the flash memory chips and configure power control circuitry to supply the required voltage. For instance, the controller may be a FPGA controller that is configured to sense the voltage of the flash memory chips on the memory board and to configure a power module on the controller board to supply the appropriate voltage to the flash memory chips based on the sensed voltage. The controller may be configured to sense the voltage of the flash memory chips and to execute commands from the host using the flash memory chips without having to translate the commands based on the voltage of flash memory chips on the memory boards.

In this manner, the same controller board having the same controller may be used with memory boards having flash memory chips with different voltages. For instance, a first memory board and a second memory board may be connected to the controller board and each of the boards may include flash memory chips that operate at a first voltage. The first memory board and the second memory board may be disconnected and replaced with two other memory boards, where the other memory boards include flash memory chips that operate at a second voltage, where the second voltage differs from the first voltage. The controller may be configured to automatically sense the second voltage of the flash memory chips on the other memory boards, to configure the power module to operate at the second voltage and to execute commands from the host using the flash memory chips on the other memory boards. In this manner, the data storage device may be tailored and configured with different flash memory chips on the other memory boards depending on the characteristics of the application or applications on the host and depending on the desired features of the data storage device by the application or applications on the host.

The use of a single controller board having a single controller that is on a separate board from the flash memory chips, which are on the memory boards, enables flexibility in configuring the data storage device. For instance, the use of a single controller board having a single controller on the board that is configured to recognize and operate with different types of flash memory chips and/or recognize and operate with flash memory chips having different voltages enables the data storage device to be designed using different flash memory chip technologies. Also, a particular flash memory chip technology may be selected and used on the memory boards based on the type of application on the host that will be interfacing with the data storage device. Also, as flash memory chip technologies may change, the same controller board and controller may be used with the different flash memory chips on the memory boards by swapping out the memory boards. In this manner, the controller board having the controller and other components may be considered a universal controller board and controller that are configurable to accept multiple different types of flash memory chips on the memory boards.

In one general aspect, a data storage device may include a first memory board including multiple memory chips and a controller board that is arranged and configured to operably connect to the first memory board. The controller board may include an interface to a host and a controller that is arranged and configured to control command processing for multiple different types of memory chips, automatically recognize a type of the memory chips on the first memory board, receive commands from the host using the interface, and execute the commands using the memory chips.

Implementations may include one or more of the following features. For example, the controller may be a field programmable gate array (FPGA) controller. The controller may be arranged and configured to automatically recognize the type of the memory chips on the first memory board upon power up of the first memory board and the controller board. The controller may be arranged and configured to control command processing for multiple different types of memory chips, automatically recognize the type of the memory chips on the first memory board, receive commands from the host using the interface, and execute the commands using the memory chips by translating the commands based on the type of the memory chips on the first memory board.

The controller may be arranged and configured to control command processing for multiple different types of memory chips and to automatically recognize the type of the memory chips on the first memory board including memory chips manufactured by different vendors. The controller may be arranged and configured to control command processing for multiple different types of memory chips and to automatically recognize the type of the memory chips on the first memory board including single-level cell (SLC) NAND flash memory chips and multi-level cell (MLC) NAND flash memory chips.

The data storage device may include a second memory board comprising multiple memory chips where the controller board is arranged and configured to operably connect to the second memory board. The controller may be arranged and configured to control command processing for multiple different types of memory chips, automatically recognize the type of the memory chips on the second memory board, receive commands from the host using the interface, and execute the commands using the memory chips on both the first memory board and the second memory board.

The data storage device may include a third memory board having multiple memory chips and a fourth memory board having multiple memory chips, where the controller board is arranged and configured to disconnect from the first memory board and the second memory board and to operably connect to the third memory board and the fourth memory board. The controller may be arranged and configured to control command processing for multiple different types of memory chips, automatically recognize the type of the memory chips on the third memory board and on the fourth memory board, where the type of the memory chips on the third memory board and the fourth memory board are a same type and the type of the memory chips on the third memory board and the fourth memory board are a different type from the memory chips on the first memory board and the second memory board, receive commands from the host using the interface and execute the commands using the memory chips on both the third memory board and the fourth memory board.

In one exemplary implementation, the memory chips may include dynamic random access memory (DRAM) chips. In another exemplary implementation, the memory chips may include phase change memory (PCM) chips. In another exemplary implementation, the memory chips may include flash memory chips. The flash memory chips may be NAND flash memory chips, the interface may be a PCI-e interface and the controller may be a field programmable gate array (FPGA) controller.

In another general aspect, a computing device may include a host and a data storage device. The data storage device may include a first memory board including multiple memory chips and a controller board that is arranged and configured to operably connect to the first memory board. The controller board may include an interface to the host and a controller that is arranged and configured to control command processing for multiple different types of memory chips, automatically recognize a type of the memory chips on the first memory board, receive commands from the host using the interface, and execute the commands using the memory chips. Implementations may include one or more of the features discussed above and below.

In another general aspect, a method may include receiving power at a controller board, where the controller board includes an interface to a host and a controller, the controller being configured to control command processing for multiple different types of memory chips. The method may include querying a first memory board for one or more characteristics of multiple memory chips secured to the first memory board, automatically recognizing a type of the memory chips on the first memory board based on the one or more characteristics of the memory chips, receiving commands from the host using the interface and executing the commands using the memory chips.

Implementations may include one or more of the following features. For example, executing the commands using the memory chips may include executing the commands using the memory chips by translating the commands based on the type of the memory chips on the first memory board.

In one implementation, automatically recognizing the type of the memory chips may include automatically recognizing the type of the memory chips on the first memory board including memory chips manufactured by different vendors. Automatically recognizing the type of the memory chips may include automatically recognizing the type of the memory chips on the first memory board including single-level cell (SLC) flash memory chips and multi-level cell (MLC) flash memory chips.

The method may include connecting a second memory board to the controller board, where the second memory board includes multiple memory chips and automatically recognizing a type of the memory chips on the second memory board, where executing the commands using the memory chips includes executing the commands using the memory chips on both the first memory board and the second memory board.

The method also may include disconnecting the first memory board and the second memory board from the controller board, connecting a third memory board and a fourth memory board to the controller board, where the third memory board and the fourth memory board each include multiple memory chips. The method may include automatically recognizing a type of the memory chips on the third memory board and on the fourth memory board, where the type of the memory chips on the third memory board and the fourth memory board are a same type and the type of the memory chips on the third memory board and the fourth memory board are a different type from the memory chips on the first memory board and the second memory board, where executing the commands using the memory chips includes executing the commands using the memory chips on both the third memory board and the fourth memory board.

In one exemplary implementation, the memory chips may include dynamic random access memory (DRAM) chips. In another exemplary implementation, the memory chips may include phase change memory (PCM) chips. In another exemplary implementation, the memory chips may include flash memory chips. The flash memory chips may be NAND flash memory chips, the interface may be a PCI-e interface and the controller may be a field programmable gate array (FPGA) controller.

The details of one or more implementations are set forth in the accompanying drawings and the description below. Other features will be apparent from the description and drawings, and from the claims.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is an exemplary block diagram of a data storage device.

FIG. 2 is an exemplary perspective block diagram of the printed circuit boards of the data storage device.

FIG. 3 is an exemplary block diagram of exemplary computing devices for use with the data storage device of FIG. 1.

FIG. 4 is an exemplary block diagram of a controller.

FIG. 5 is an exemplary flowchart illustrating an example assembly of the data storage device of FIG. 1.

FIG. 6 is an exemplary block diagram of an example implementation of the data storage device of FIG. 1.

FIG. 7 is an exemplary flowchart illustrating example operations of the data storage device of FIG. 1.

FIG. 8 is an exemplary flowchart illustrating example operations of the data storage device of FIG. 1.

DETAILED DESCRIPTION

This document describes an apparatus, system(s) and techniques for data storage. Such a data storage apparatus may include a controller board having a controller that may be used with one or more different memory boards, with each of the memory boards having multiple flash memory chips. The data storage apparatus may communicate with a host using an interface on the controller board. In this manner, the controller on the controller board may be configured to receive commands from the host using the interface and to execute those commands using the flash memory chips on the memory boards.

FIG. 1 is a block diagram of a data storage device 100. The data storage device 100 may include a controller board 102 and one or more memory boards 104a and 104b. The data storage device 100 may communicate with a host 106 over an interface 108. The interface 108 may be between the host 106 and the controller board 102. The controller board 102 may include a controller 110, a DRAM 111, multiple channels 112, a power module 114, and a memory module 116. The memory boards 104a and 104b may include multiple flash memory chips 118a and 118b on each of the memory boards. The memory boards 104a and 104b also may include a memory device 120a and 120b.

In general, the data storage device 100 may be configured to store data on the flash memory chips 118a and 118b. The host 106 may write data to and read data from the flash memory chips 118a and 118b, as well as cause other operations to be performed with respect to the flash memory chips 118a and 118b. The reading and writing of data between the host 106 and the flash memory chips 118a and 118b, as well as the other operations, may be processed through and controlled by the controller 110 on the controller board 102. The controller 110 may receive commands from the host 106 and cause those commands to be executed using the flash memory chips 118a and 118b on the memory boards 104a and 104b. The communication between the host 106 and the controller 110 may be through the interface 108. The controller 110 may communicate with the flash memory chips 118a and 118b using the channels 112.

The controller board 102 may include DRAM 111. The DRAM 111 may be operably coupled to the controller 110 and may be used to store information. For example, the DRAM 111 may be used to store logical address to physical address maps and bad block information. The DRAM 111 also may be configured to function as a buffer between the host 106 and the flash memory chips 118a and 118b.

In one exemplary implementation, the controller board 102 and each of the memory boards 104a and 104b are physically separate printed circuit boards (PCBs). The memory board 104a may be on one PCB that is operably connected to the controller board 102 PCB. For example, the memory board 104a may be physically and/or electrically connected to the controller board 102. Similarly, the memory board 104b may be a separate PCB from the memory board 104a and may be operably connected to the controller board 102 PCB. For example, the memory board 104b may be physically and/or electrically connected to the controller board 102.

The memory boards 104a and 104b each may be separately disconnected and removable from the controller board 102. For example, the memory board 104a may be disconnected from the controller board 102 and replaced with another memory board (not shown), where the other memory board is operably connected to controller board 102. In this example, either or both of the memory boards 104a and 104b may be swapped out with other memory boards such that the other memory boards may operate with the same controller board 102 and controller 110.

In one exemplary implementation, the controller board 102 and each of the memory boards 104a and 104b may be physically connected in a disk drive form factor. The disk drive form factor may include different sizes such as, for example, a 3.5″ disk drive form factor and a 2.5″ disk drive form factor.

In one exemplary implementation, the controller board 102 and each of the memory board 104a and 104b may be electrically connected using a high density ball grid array (BGA) connector. Other variants of BGA connectors may be used including, for example, a fine ball grid array (FBGA) connector, an ultra fine ball grid array (UBGA) connector and a micro ball grid array (MBGA) connector. Other types of electrical connection means also may be used.

In one exemplary implementation, the controller board 102, which is its own PCB, may be located physically between each of the memory boards 104a and 104b, which are on their own separate PCBs. Referring also to FIG. 2, the data storage device 100 may include the memory board 104a on one PCB, the controller board 102 on a second PCB, and the memory board 104b on a third PCB. The memory board 104a includes multiple flash memory chips 118a and the memory board 104b includes multiple flash memory chips 118b. The controller board 102 includes the controller 110 and the interface 108 to the host (not shown), as well as other components (not shown).

In the example illustrated by FIG. 2, the memory board 104a may be operably connected to the controller board 102 and located on one side 220a of the controller board 102. For instance, the memory board 104a may be connected to a top side 220a of the controller board 102. The memory board 104b may be operably connected to the controller board 102 and located on a second side 220b of the controller board 102. For instance, the memory board 104b may be connected to a bottom side 220b of the controller board 102.

Other physical and/or electrical connection arrangements between the memory boards 104a and 104b and the controller board 102 are possible. FIG. 2 merely illustrates one exemplary arrangement. For example, the data storage device 100 may include more than two memory board such as three memory boards, four memory boards or more memory boards, where all of the memory boards are connected to a single controller board. In this manner, the data storage device may still be configured in a disk drive form factor. Also, the memory boards may be connected to the controller board in other arrangements such as, for instance, the controller board on the top and the memory cards on the bottom or the controller board on the bottom and the memory cards on the top.

The data storage device 100 may be arranged and configured to cooperate with a computing device. In one exemplary implementation, the controller board 102 and the memory boards 104a and 104b may be arranged and configured to fit within a drive bay of a computing device. Referring to FIG. 3, two exemplary computing devices are illustrated, namely a server 330 and a server 340. The servers 330 and 340 may be arranged and configured to provide various different types of computing services. The servers 330 and 340 may include a host (e.g., host 106 of FIG. 1) that includes computer program products having instructions that cause one or more processors in the servers 330 and 340 to provide computing services. The type of server may be dependent on one or more application programs that are operating on the server. For instance, the servers 330 and 340 may be application servers, web servers, email servers, search servers, streaming media servers, e-commerce servers, file transfer protocol (FTP) servers, other types of servers or combinations of these servers. The server 330 may be configured to be a rack-mounted server that operates within a server rack. The server 340 may be configured to be a stand-alone server that operates independent of a server rack. Even though the server 340 is not within a server rack, it may be configured to operate with other servers and may be operably connected to other servers. Servers 330 and 340 are meant to illustrate example computing devices and other computing devices, including other types of servers, may be used.

In one exemplary implementation, the data storage device 100 of FIGS. 1 and 2 may be sized to fit within a drive bay 335 of the server 330 of the drive bay 345 of the server 340 to provide data storage functionality for the servers 330 and 340. For instance, the data storage device 100 may be sized to a 3.5″ disk drive form factor to fit in the drive bays 335 and 345. The data storage device 100 also may be configured to other sizes. The data storage device 100 may operably connect and communicate with the servers 330 and 340 using the interface 108. In this manner, the host may communicate commands to the controller board 102 using the interface 108 and the controller 110 may execute the commands using the flash memory chips 118a and 118b on the memory boards 104a and 104b.

Referring back to FIG. 1, the interface 108 may include a high speed interface between the controller 110 and the host 106. The high speed interface may enable for fast transfers of data between the host 106 and the flash memory chips 118a and 118b. In one exemplary implementation, the high speed interface may include a PCIe interface. For instance, the PCIe interface may be a PCIe x4 interface or a PCIe x8 interface. The PCIe interface 108 may include a PCIe connector cable assembly to the host 106. Other high speed interfaces, connectors and connector assemblies also may be used.

In one exemplary implementation, the communication between the controller board 102 and the flash memory chips 118a and 118b on the memory boards 104a and 104b may be arranged and configured into multiple channels 112. Each of the channels 112 may communicate with one or more flash memory chips 118a and 118b. The controller 110 may be configured such that commands received from the host 106 may be executed by the controller 110 using each of the channels 112 simultaneously or at least substantially simultaneously. In this manner, multiple commands may be executed simultaneously on different channels 112, which may improve throughput of the data storage device 100.

In the example of FIG. 1, twenty (20) channels 112 are illustrated. The completely solid lines illustrate the ten (10) channels between the controller 110 and the flash memory chips 118a on the memory board 104a. The mixed solid and dashed lines illustrate the ten (10) channels between the controller 110 and the flash memory chips 118b on the memory board 104b. As illustrated in FIG. 1, each of the channels 112 may support multiple flash memory chips. For instance, each of the channels 112 may support up to 32 flash memory chips. In one exemplary implementation, each of the 20 channels may be configured to support and communicate with 6 flash memory chips. In this example, each of the memory boards 104a and 104b would include 60 flash memory chips each. Depending on the type and the number of the flash memory chips 118a and 118b, the data storage 100 device may be configured to store up to and including multiple terabytes of data.

The controller 110 may include a microcontroller, a FPGA controller, other types of controllers, or combinations of these controllers. In one exemplary implementation, the controller 110 is a microcontroller. The microcontroller may be implemented in hardware, software, or a combination of hardware and software. For example, the microcontroller may be loaded with a computer program product from memory (e.g., memory module 116) including instructions that, when executed, may cause the microcontroller to perform in a certain manner. The microcontroller may be configured to receive commands from the host 106 using the interface 108 and to execute the commands. For instance, the commands may include commands to read, write, copy and erase blocks of data using the flash memory chips 118a and 118b, as well as other commands.

In another exemplary implementation, the controller 110 is a FPGA controller. The FPGA controller may be implemented in hardware, software, or a combination of hardware and software. For example, the FPGA controller may be loaded with firmware from memory (e.g., memory module 116) including instructions that, when executed, may cause the FPGA controller to perform in a certain manner. The FPGA controller may be configured to receive commands from the host 106 using the interface 108 and to execute the commands. For instance, the commands may include commands to read, write, copy and erase blocks of data using the flash memory chips 118a and 118b, as well as other commands.

In one exemplary implementation, the FPGA controller may support multiple interfaces 108 with the host 106. For instance, the FPGA controller may be configured to support multiple PCIe x4 or PCIe x8 interfaces with the host 106.

The memory module 116 may be configured to store data, which may be loaded to the controller 110. For instance, the memory module 116 may be configured to store one or more images for the FPGA controller, where the images include firmware for use by the FPGA controller. The memory module 116 may interface with the host 106 to communicate with the host 106. The memory module 116 may interface directly with the host 106 and/or may interface indirectly with the host 106 through the controller 110. For example, the host 106 may communicate one or more images of firmware to the memory module 116 for storage. In one exemplary implementation, the memory module 116 includes an electrically erasable programmable read-only memory (EEPROM). The memory module 116 also may include other types of memory modules.

The power module 114 may be configured to receive power (Vin), to perform any conversions of the received power and to output an output power (Vout). The power module 114 may receive power (Vin) from the host 106 or from another source. The power module 114 may provide power (Vout) to the controller board 102 and the components on the controller board 102, including the controller 110. The power module 114 also may provide power (Vout) to the memory boards 104a and 104b and the components on the memory boards 104a and 104b, including the flash memory chips 118a and 118b.

In one exemplary implementation, the power module 114 may include one or more direct current (DC) to DC converters. The DC to DC converters may be configured to receive a power in (Vin) and to convert the power to one or more different voltage levels (Vout). For example, the power module 114 may be configured to receive +12 V (Vin) and to convert the power to 3.3 v, 1.2 v, or 1.8 v and to supply the power out (Vout) to the controller board 102 and to the memory boards 104a and 104b.

The memory boards 104a and 104b may be configured to handle different types of flash memory chips 118a and 118b. In one exemplary implementation, the flash memory chips 118a and the flash memory chips 118b may be the same type of flash memory chips including requiring the same voltage from the power module 114 and being from the same flash memory chip vendor. The terms vendor and manufacturer are used interchangeably throughout this document.

In another exemplary implementation, the flash memory chips 118a on the memory board 104a may be a different type of flash memory chip from the flash memory chips 118b on the memory board 104b. For example, the memory board 104a may include SLC NAND flash memory chips and the memory board 104b may include MLC NAND flash memory chips. In another example, the memory board 104a may include flash memory chips from one flash memory chip manufacturer and the memory board 104b may include flash memory chips from a different flash memory chip manufacturer. The flexibility to have all the same type of flash memory chips or to have different types of flash memory chips enables the data storage device 100 to be tailored to different applications being used by the host 106.

In another exemplary implementation, the memory boards 104a and 104b may include different types of flash memory chips on the same memory board. For example, the memory board 104a may include both SLC NAND chips and MLC NAND chips on the same PCB. Similarly, the memory board 104b may include both SLC NAND chips and MLC NAND chips. In this manner, the data storage device 100 may be advantageously tailored to meet the specifications of the host 106.

In another exemplary implementation, the memory board 104a and 104b may include other types of memory devices, including non-flash memory chips. For instance, the memory boards 104a and 104b may include random access memory (RAM) such as, for instance, dynamic RAM (DRAM) and static RAM (SRAM) as well as other types of RAM and other types of memory devices. In one exemplary implementation, the both of the memory boards 104a and 104b may include RAM. In another exemplary implementation, one of the memory boards may include RAM and the other memory board may include flash memory chips. Also, one of the memory boards may include both RAM and flash memory chips.

The memory modules 120a and 120b on the memory boards 104a and 104b may be used to store information related to the flash memory chips 118a and 118b, respectively. In one exemplary implementation, the memory modules 120a and 120b may store device characteristics of the flash memory chips. The device characteristics may include whether the chips are SLC chips or MLC chips, whether the chips are NAND or NOR chips, a number of chip selects, a number of blocks, a number of pages per block, a number of bytes per page and a speed of the chips.

In one exemplary implementation, the memory modules 120a and 120b may include serial EEPROMs. The EEPROMs may store the device characteristics. The device characteristics may be compiled once for any given type of flash memory chip and the appropriate EEPROM image may be generated with the device characteristics. When the memory boards 104a and 104b are operably connected to the controller board 102, then the device characteristics may be read from the EEPROMs such that the controller 110 may automatically recognize the types of flash memory chips 118a and 118b that the controller 110 is controlling. Additionally, the device characteristics may be used to configure the controller 110 to the appropriate parameters for the specific type or types of flash memory chips 118a and 118b.

As discussed above, the controller 110 may include a FPGA controller. Referring to FIG. 4, an exemplary block diagram of a FPGA controller 410 is illustrated. The FPGA controller may be configured to operate in the manner described above with respect to controller 110 of FIG. 1. The FPGA controller 410 may include multiple channel controllers 450 to connect the multiple channels 112 to the flash memory chips 418. The flash memory chips 418 are illustrated as multiple flash memory chips that connect to each of the channel controllers 450. The flash memory chips 418 are representative of the flash memory chips 118a and 118b of FIG. 1, which are on the separate memory boards 104a and 104b of FIG. 1. The separate memory boards are not shown in the example of FIG. 4. The FPGA controller 410 may include a PCIe interface module 408, a bi-directional direct memory access (DMA) controller 452, a dynamic random access memory (DRAM) controller 454, a command processor/queue 456 and an information and configuration interface module 458.

Information may be communicated with a host (e.g., host 106 of FIG. 1) using an interface. In this example, FIG. 4, the FPGA controller 410 includes a PCIe interface to communicate with the host and a PCIe interface module 408. The PCIe interface module 408 may be arranged and configured to receive commands from the host and to send commands to the host. The PCIe interface module 408 may provide data flow control between the host and the data storage device. The PCIe interface module 408 may enable high speed transfers of data between the host and the controller 410 and ultimately the flash memory chips 418. In one exemplary implementation, the PCIe interface and the PCIe interface module 408 may include a 64-bit bus.

The bi-directional DMA controller 452 may be configured to interface with the PCIe interface 408, the command processor/queue 456 and each of the channel controllers 450. The bi-directional DMA controller 452 enables bi-directional direct memory access between the host and the flash memory chips 418.

The DRAM controller 454 may be arranged and configured to control the translation of logical to physical addresses. For example, the DRAM controller 454 may assist the command processor/queue 456 with the translation of the logical addresses used by the host and the actual physical addresses in the flash memory chips 418 related to data being written to or read from the flash memory chips 418. A logical address received from the host may be translated to a physical address for a location in one of the flash memory chips 418. Similarly, a physical address for a location in one of the flash memory chips 418 may be translated to a logical address and communicated to the host.

The command processor/queue 456 may be arranged and configured to receive the commands from the host through the PCIe interface module 408 and to control the execution of the commands through the channel controllers 450. The command processor/queue 456 may maintain a queue for a number of commands to be executed. In this manner, multiple commands may be executed simultaneously and each of the channels 112 may be used simultaneously or at least substantially simultaneously.

The command processor/queue 456 may be configured to process commands for different channels 112 out of order and preserve per-channel command ordering. For instance, commands that are received from the host and that are designated for different channels may be processed out of order by the command processor/queue 456. In this manner, the channels may be kept busy. Commands that are received from the host for processing on the same channel may be processed in the order that the commands were received from the host by the command processor/queue 456. In one exemplary implementation, the command processor/queue 456 may be configured to maintain a list of commands received from the host in an oldest-first sorted list to ensure timely execution of the commands.

The channel controllers 450 may be arranged and configured to process commands from the command processor/queue 456. Each of the channel controllers 450 may be configured to process commands for multiple flash memory chips 418. In one exemplary implementation, each of the channel controllers 450 may be configured to process commands for up to and including 32 flash memory chips 418.

The channel controllers 450 may be configured to process the commands from the command processor/queue 456 in order as designated by the command processor/queue 456. Examples of the commands that may be processed include, but are not limited to, reading a flash page, programming a flash page, copying a flash page, erasing a flash block, reading a flash block's metadata, mapping a flash memory chip's bad blocks, and resetting a flash memory chip.

The information and configuration interface module 458 may be arranged and configured to interface with a memory module (e.g., memory module 116 of FIG. 1) to receive configuration information for the FPGA controller 410. For example, the information and configuration interface module 458 may receive one or more images from the memory module to provide firmware to the FPGA controller 410. Modifications to the images and to the firmware may be provided by the host to the controller 410 through the information and configuration interface module 458. Modifications received through the information and configuration interface module 458 may be applied to any of the components of the controller 410 including, for example, the PCIe interface module 408, the bi-directional DMA controller 452, the DRAM controller 454, the command processor/queue 456 and the channel controllers 450. The information and configuration interface module 458 may include one or more registers, which may be modified as necessary by instructions from the host.

The FPGA controller 410 may be arranged and configured to cooperate and process commands in conjunction with the host. The FPGA controller 410 may perform or at least assist in performing error correction, bad block management, logical to physical mapping, garbage collection, wear levelling, partitioning and low level formatting related to the flash memory chips 418.

Referring to FIG. 5, a process 500 for assembling a data storage device is illustrated. Process 500 may include securing multiple flash memory chips to a first memory board (510) and securing multiple flash memory chips to a second memory board (520). For example, referring also to FIG. 1, multiple flash memory chips 118a may be secured to the memory board 104a and multiple flash memory chips 118b may be secured to the memory board 104b. The memory boards 104a and 104b may be printed circuit boards (PCBs) to which the flash memory chips 118a and 118b are attached, respectively. The amount of storage capacity of each of the memory boards 104a and 104b individually and collectively may depend on the type and number of flash memory chips 118a and 118b secured to the memory boards 104a and 104b. The flash memory chips 118a and 118b may be arranged into one or more channels such that a single channel may control the command processing for multiple flash memory chips, as discussed above.

The flash memory chips 118a and 118b may be a same type of flash memory chip or the flash memory chips on memory board 104a may be different from the flash memory chips on memory board 104b. Also, the memory boards 104a and 104b may include a different number of flash memory chips on each of the memory boards. For example, memory board 104a may include 60 flash memory chips and memory board 104b may include 80 flash memory chips, where the flash memory chips on memory board 104a may either be the same type or a different type of flash memory chip from the flash memory chips on the memory board 104b.

Process 500 may include attaching a high speed interface and a controller to a controller board (530), operably connecting the first memory board to the controller (540) and operably connecting the second memory board to the controller board, where the first memory board and the second memory board are each separately removable from the controller board (550). For example, an interface 108 may be a high speed interface and may be attached to the controller board 102 (530). A controller 110 may be attached to the controller board 102. The controller board 102 may be a PCB to which the high speed interface and the controller are attached.

The memory board 104a may be operably connected to the controller board 102 (540) and the memory board 104b may be operably connected to the controller board (550). The memory board 104a is a separate and distinct memory board from the memory board 104b and each of the memory boards 104a and 104b may be separately removable from the controller board 102. Together, the assembled controller board 102 and two memory boards 104a and 104b may form a data storage device 100.

In one exemplary implementation, the memory boards 104a and 104b may be disconnected from the controller board 102 and may be replaced with two other memory boards having flash memory chips attached to the other memory boards. The other flash memory boards may include a same type of flash memory chips as the flash memory chips 118a and 118b on the memory boards 104a and 104b or the other flash memory boards may include a different type of flash memory chips. The other flash memory boards also may include a different number of flash memory chips than the memory boards 104a and 104b.

In one exemplary implementation, the assembled data storage device 100, including the memory boards 104a and 104b connected to the controller board 102, may form a drive bay form factor that is configured to fit in a drive bay of a computing device. For example, referring to FIGS. 2 and 3, the data storage device 100 of FIG. 2 may be configured to fit in a drive bay slot of a computing device such as, for instance, the drive bay slot 335 of server 330 or the drive bay slot 345 of server 340.

Referring to FIG. 6, an exemplary implementation of the data storage device 100 of FIG. 1 is illustrated as data storage device 600. The data storage device 600 may include a controller board 102 that includes a PCIe interface 608 with the host 106, a FPGA controller 610, the DRAM 611, DC to DC converters 614 and an EEPROM 616. The data storage device also may include memory boards 104a and 104b having flash memory chips 618a and 618b, respectively. In one implementation, the flash memory chips 618a and 618b are NAND flash memory chips. As in FIG. 1, the FPGA controller 610 may control the flash memory chips 618a and 618b using multiple channels 112, where each of the multiple channels 112 may control one or more of the flash memory chips 618a and 618b.

Referring back to FIG. 1, the controller 110 (including as examples the FPGA controller 410 of FIG. 4 and the FPGA controller 610 of FIG. 6) may be arranged and configured to control command processing for multiple different types of flash memory chips 118a and 118b, automatically recognize a type of the flash memory chips 118a and 118b on the flash memory boards 104a and 104b and execute received commands using the different types of flash memory chips 118a and 118b. The controller 110 may be configured to process commands for different types of flash memory chips by translating the commands to the native flash memory chip commands. The host is not required to take into account the native flash memory chip commands, because the controller takes the host commands and, if needed, converts the host commands to the native flash memory chip commands. For instance a read command received from the host is able to be processed by the controller 110 without the host having to translate the read command into another command so that it can operate on flash memory chips from a specific vendor.

Referring to FIG. 7, a process 700 illustrates that the controller 110 may be configured to automatically recognize and operate with different types of flash memory chips. Process 700 includes receiving power at a controller board, where the controller board includes an interface to a host and a controller (710). The controller may be configured to control command processing for multiple different types of flash memory chips (710). For example, the controller board 102 may receive power (Vin) at the power module 114. In one exemplary implementation, the power module 114 may include one or more DC to DC converters (e.g., DC to DC converter 614 of FIG. 6). The controller board 102 may include an interface 108 and a controller 110. The controller 110 may be configured to control command processing for multiple different types of flash memory chips 118a and 118b.

Process 700 may include querying a first memory board for one or more characteristics of multiple flash memory chips secured to a first memory board (720). In one exemplary implementation, the controller 110 may be configured to query the memory module 120a for the device characteristics of the flash memory chips 118a secured to the memory board 104a (720). The device characteristics may include, for example, may include whether the chips are SLC chips or MLC chips, whether the chips are NAND or NOR chips, a number of chip selects, a number of blocks, a number of pages per block, a number of bytes per page and a speed of the chips. The memory module 120a may include a serial EEPROM (e.g., EEPROM 620a of FIG. 6).

In another exemplary implementation, the controller 110 may be configured to query the flash memory chips 118a directly. For instance, the controller 110 may be configured to query the device ID page of each of the flash memory chips 118a to determine the device characteristics.

Process 700 may include automatically recognizing a type of the flash memory chips on the first memory board based on the one or more characteristics of the flash memory chips (730). For example, the controller 110 may use the device characteristics to automatically recognize the type of the flash memory chips 118a on the memory board 104a. The flash memory chips 118a may be SLC or MLC devices. The flash memory chips 118a may be NAND chips, NOR chips or other types of chips. The flash memory chips 118a also may be from any one of a number of different flash memory manufacturers.

Process 700 may include receiving commands from the host using the interface (740) and executing the commands using the flash memory chips (750). For example, the controller 110 may be configured to receive commands from the host 106 using the interface 108 and to execute the commands using the flash memory chips 118a. In this manner, the controller 110 may be configured to automatically operate with any type of flash memory chip. Upon power up of the data storage device 100, the controller may determine what type of flash memory chips are on the memory boards and then begin operating with those memory boards to execute commands received from the host.

In one exemplary implementation, the controller 110 may receive one or more configuration updates based on the type of flash memory chips that are determined to be present on the memory boards. For example, the controller 110 may determine that a particular type of flash memory chip is being used on one of the memory boards and this information may be reported back to the host. The host 106 may communicate one or more configuration updates to the controller 110, where the controller 110 may receive and process these updates at the information and configuration interface module 458 of FIG. 4.

In one exemplary implementation, the controller 110 may be configured to automatically recognize different types of flash memory chips on the same memory board. For instance, half of the flash memory chips 118a on the memory board 104a may be SLC NAND flash memory chips and the other half of the flash memory chips 118s on the memory board 104a may be MLC NAND flash memory chips. The controller 110 may be configured to execute commands for both of these types of flash memory chips even on the same memory board.

In another exemplary implementation, the controller 110 may be configured to recognize when two memory boards are removed from the controller board 102 and replaced with new memory boards, which may or may not have a different type of flash memory chips. In this manner, the controller 110 enables great flexibility in tailoring the data storage device 100 to meet the specific application needs of the host 106. Specific types of flash memory chips may be used, including different types of chips on the same memory board and/or different types of chips on each of the memory boards, to meet the desired characteristics needed by the specific application of the host 106.

Referring to FIG. 8, an exemplary process 800 illustrates that the controller is configured to operate with flash memory chips having different voltages. Process 800 may include receiving power at a controller board, where the controller board includes an interface and a controller and the controller includes a power module. The controller is configured to control command processing for multiple flash memory chips having different voltages (810). For example, the controller board 102 may be configured to receive power (Vin) from the host 106 and the controller board may include an interface 108 and a controller 110, whether the controller 110 may include a power module 114. The controller 110 may be configured to control command processing for multiple flash memory chips having different voltages. For instance, the controller 110 may be configured to control flash memory chips that operate at 1.2 v, 1.8 v, 3.3 v or other voltages.

Process 800 includes determining a voltage of flash memory chips on a first memory board (810). For example, the controller 110 may be configured to sense a voltage of the flash memory chips based on signal levels of pins on a connector between the controller board 102 and the memory board 104a. The signal levels (e.g., a grouping of logic highs and/or logic lows) may indicate the voltage needed by the flash memory chips 118a. Process 800 includes configuring the power module to operate at the determined voltage of the flash memory chips (830). For example, the controller 110 may be configured to configure the power module 114 based on the voltage sensed at the pins on the connector between the controller board 102 and the memory board 104a. In one exemplary implementation, the power module 114 includes one or more DC to DC converters (e.g., DC to DC converters 614 of FIG. 6). The power module 114 may be set to operate at the sensed voltage.

Process 800 includes receiving commands from the host using the interface (840) and executing the commands using the flash memory chips (850). For example, the controller 110 may be configured to receive commands from the host 106 using the interface 108 and to execute the commands using the flash memory chips 118a. In this manner, the memory boards 104a and 104b may include chips with the same voltage, where the memory boards 104a and 104b are connected to the controller board 102. The memory boards 104a and 104b may be disconnected from the controller board 102 and replaced with other memory boards that have flash memory chips with a different voltage. The controller 110 is configured to automatically recognize the different voltage needed by the flash memory chips on the other memory boards and to configure the power module 114 to operate at the different voltage level.

Implementations of the various techniques described herein may be implemented in digital electronic circuitry, or in computer hardware, firmware, software, or in combinations of them. Implementations may be implemented as a computer program product, i.e., a computer program tangibly embodied in an information carrier, e.g., in a machine-readable storage device, for execution by, or to control the operation of, data processing apparatus, e.g., a programmable processor, a computer, or multiple computers. A computer program, such as the computer program(s) described above, can be written in any form of programming language, including compiled or interpreted languages, and can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. A computer program can be deployed to be executed on one computer or on multiple computers at one site or distributed across multiple sites and interconnected by a communication network.

Method steps may be performed by one or more programmable processors executing a computer program to perform functions by operating on input data and generating output. Method steps also may be performed by, and an apparatus may be implemented as, special purpose logic circuitry, e.g., a FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit).

Processors suitable for the execution of a computer program include, by way of example, both general and special purpose microprocessors, and any one or more processors of any kind of digital computer. Generally, a processor will receive instructions and data from a read-only memory or a random access memory or both. Elements of a computer may include at least one processor for executing instructions and one or more memory devices for storing instructions and data. Generally, a computer also may include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto-optical disks, or optical disks. Information carriers suitable for embodying computer program instructions and data include all forms of non-volatile memory, including by way of example semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices; magnetic disks, e.g., internal hard disks or removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks. The processor and the memory may be supplemented by, or incorporated in special purpose logic circuitry.

To provide for interaction with a user, implementations may be implemented on a computer having a display device, e.g., a cathode ray tube (CRT) or liquid crystal display (LCD) monitor, for displaying information to the user and a keyboard and a pointing device, e.g., a mouse or a trackball, by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback, e.g., visual feedback, auditory feedback, or tactile feedback; and input from the user can be received in any form, including acoustic, speech, or tactile input.

Implementations may be implemented in a computing system that includes a back-end component, e.g., as a data server, or that includes a middleware component, e.g., an application server, or that includes a front-end component, e.g., a client computer having a graphical user interface or a Web browser through which a user can interact with an implementation, or any combination of such back-end, middleware, or front-end components. Components may be interconnected by any form or medium of digital data communication, e.g., a communication network. Examples of communication networks include a local area network (LAN) and a wide area network (WAN), e.g., the Internet.

While certain features of the described implementations have been illustrated as described herein, many modifications, substitutions, changes and equivalents will now occur to those skilled in the art. It is, therefore, to be understood that the appended claims are intended to cover all such modifications and changes as fall within the scope of the embodiments.

Claims

1. A data storage device comprising:

a first board comprising a plurality of single-level cell (SLC) NAND memory chips;
a second board that is operably coupled to the first board, wherein the second board comprises a field programmable gate array (FPGA) controller that is arranged and configured to control memory operations for the plurality of SLC NAND memory chips and the second board is a physically different board than the first board; and
a peripheral component interconnect express (PCIe) interface that is operably coupled to the second board and that is arranged and configured to provide an interface between a host and the FPGA controller to enable the FPGA controller to communicate directly with the host over the PCIe interface.

2. The data storage device of claim 1 wherein the PCIe express interface comprises a PCIe x4 interface.

3. The data storage device of claim 1 wherein the PCIe express interface comprises a PCIe x8 interface.

4. The data storage device of claim 1 further comprising a third board comprising a plurality of SLC NAND memory chips that is operably coupled to the second board, wherein the third board is a physically different board than the first board and the second board.

5. The data storage device of claim 4 wherein:

the first board includes at least 12 SLC NAND memory chips; and
the third board includes at least 12 SLC NAND memory chips.

6. The data storage device of claim 4 wherein:

the first board includes at least 24 SLC NAND memory chips; and
the third board includes at least 24 SLC NAND memory chips.

7. The data storage device of claim 1 wherein the controller is arranged and configured to automatically recognize the type of the SLC NAND memory chips on the first board upon power up of the first board and the second board.

8. A data storage device comprising:

a first board comprising a plurality of multi-level cell (MLC) NAND memory chips;
a second board that is operably coupled to the first board, wherein the second board comprises a field programmable gate array (FPGA) controller that is arranged and configured to control memory operations for the plurality of MLC NAND memory chips and the second board is a physically different board than the first board; and
a peripheral component interconnect express (PCIe) interface that is operably coupled to the second board and that is arranged and configured to provide an interface between a host and the FPGA controller to enable the FPGA controller to communicate directly with the host over the PCIe interface.

9. The data storage device of claim 8 wherein the PCIe express interface comprises a PCIe x4 interface.

10. The data storage device of claim 8 wherein the PCIe express interface comprises a PCIe x8 interface.

11. The data storage device of claim 8 further comprising a third board comprising a plurality of MLC NAND memory chips that is operably coupled to the second board, wherein the third board is a physically different board than the first board and the second board.

12. The data storage device of claim 11 wherein:

the first board includes at least 12 MLC NAND memory chips; and
the third board includes at least 12 MLC NAND memory chips.

13. The data storage device of claim 11 wherein:

the first board includes at least 24 MLC NAND memory chips; and
the third board includes at least 24 MLC NAND memory chips.

14. The data storage device of claim 8 wherein the controller is arranged and configured to automatically recognize the type of the MLC NAND memory chips on the first board upon power up of the first board and the second board.

15. A data storage device comprising:

a first board comprising a plurality of single-level cell (SLC) NAND memory chips manufactured by a first manufacturer;
a second board that is operably coupled to the first board, wherein the second board comprises a field programmable gate array (FPGA) controller that is arranged and configured to control memory operations for the plurality of SLC NAND memory chips and the second board is a physically different board than the first board;
a peripheral component interconnect express (PCIe) interface that is operably coupled to the second board and that is arranged and configured to provide an interface between a host and the FPGA controller to enable the FPGA controller to communicate directly with the host over the PCIe interface; and
a third board comprising a plurality of SLC NAND memory chips manufactured by a second manufacturer, wherein the second manufacturer is different than the first manufacturer and the third board is configured to replace the first board and couple to the second board when the first board is disconnected from the second board.

16. The data storage device of claim 15 wherein the PCIe express interface comprises a PCIe x4 interface.

17. The data storage device of claim 15 wherein the PCIe express interface comprises a PCIe x8 interface.

18. A data storage device comprising:

a first board comprising a plurality of multi-level cell (MLC) NAND memory chips manufactured by a first manufacturer;
a second board that is operably coupled to the first board, wherein the second board comprises a field programmable gate array (FPGA) controller that is arranged and configured to control memory operations for the plurality of MLC NAND memory chips and the second board is a physically different board than the first board;
a peripheral component interconnect express (PCIe) interface that is operably coupled to the second board and that is arranged and configured to provide an interface between a host and the FPGA controller to enable the FPGA controller to communicate directly with the host over the PCIe interface; and
a third board comprising a plurality of MLC NAND memory chips manufactured by a second manufacturer, wherein the second manufacturer is different than the first manufacturer and the third board is configured to replace the first board and couple to the second board when the first board is disconnected from the second board.

19. The data storage device of claim 18 wherein the PCIe express interface comprises a PCIe x4 interface.

20. The data storage device of claim 18 wherein the PCIe express interface comprises a PCIe x8 interface.

Patent History
Publication number: 20140047172
Type: Application
Filed: Oct 21, 2013
Publication Date: Feb 13, 2014
Applicant: GOOGLE INC. (Mountain View, CA)
Inventors: Robert S. Sprinkle (San Jose, CA), Andrew T. Swing (Los Gatos, CA), Albert T. Borchers (Aptos, CA)
Application Number: 14/059,061
Classifications
Current U.S. Class: Programmable Read Only Memory (prom, Eeprom, Etc.) (711/103)
International Classification: G06F 12/02 (20060101);